Skip to content

Commit

Permalink
inline
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszcz committed Oct 6, 2023
1 parent 28fcb36 commit 071349d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Stdlib/Data/Int.juvix
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ ordIntI : Ord Int := mkOrd Int.compare;
instance
showIntI : Show Int := mkShow intToString;

{-# specialize: true #-}
{-# specialize: true, inline: true #-}
instance
naturalIntI : Natural Int :=
mkNatural@{
Expand All @@ -40,7 +40,7 @@ naturalIntI : Natural Int :=
fromNat := ofNat;
};

{-# specialize: true #-}
{-# specialize: true, inline: true #-}
instance
integralIntI : Integral Int :=
mkIntegral@{
Expand Down
2 changes: 1 addition & 1 deletion Stdlib/Data/Nat.juvix
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ ordNatI : Ord Nat := mkOrd Nat.compare;
instance
showNatI : Show Nat := mkShow natToString;

{-# specialize: true #-}
{-# specialize: true, inline: true #-}
instance
naturalNatI : Natural Nat :=
mkNatural@{
Expand Down

0 comments on commit 071349d

Please sign in to comment.