Skip to content

Commit

Permalink
Update name of utf8FromNat
Browse files Browse the repository at this point in the history
  • Loading branch information
paulcadman committed Jul 31, 2024
1 parent fd4bde2 commit 43f4fd5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Compilation/positive/test078.juvix
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ builtin uint8
axiom UInt8 : Type;

builtin uint8-from-nat
axiom fromNat : Nat -> UInt8;
axiom uint8FromNat : Nat -> UInt8;

builtin uint8-to-nat
axiom toNat : UInt8 -> Nat;

instance
UInt8FromNaturalI : FromNatural UInt8 :=
mkFromNatural@{
fromNat
fromNat := uint8FromNat
};

n1 : UInt8 := fromNat 1;
Expand Down

0 comments on commit 43f4fd5

Please sign in to comment.