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 071349d commit 9970a3f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Stdlib/Data/Int.juvix
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@ import Stdlib.Data.Int.Ord as Int;
builtin int-to-string
axiom intToString : Int -> String;

{-# inline: true #-}
instance
eqIntI : Eq Int := mkEq (Int.==);

{-# inline: true #-}
instance
ordIntI : Ord Int := mkOrd Int.compare;

Expand Down
2 changes: 2 additions & 0 deletions Stdlib/Data/Nat.juvix
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,11 @@ axiom natToString : Nat -> String;
builtin string-to-nat
axiom stringToNat : String -> Nat;

{-# inline: true #-}
instance
eqNatI : Eq Nat := mkEq (Nat.==);

{-# inline: true #-}
instance
ordNatI : Ord Nat := mkOrd Nat.compare;

Expand Down

0 comments on commit 9970a3f

Please sign in to comment.