mirror of
https://github.com/anoma/juvix.git
synced 2024-12-13 19:49:20 +03:00
098c256da8
Co-authored-by: Paul Cadman <git@paulcadman.dev>
17 lines
217 B
Plaintext
17 lines
217 B
Plaintext
module LetShadow;
|
|
type Nat :=
|
|
| zero : Nat
|
|
| suc : Nat → Nat;
|
|
|
|
type Unit :=
|
|
| unit : Unit;
|
|
|
|
t : Nat;
|
|
t :=
|
|
case unit
|
|
| x :=
|
|
let
|
|
x : Nat := suc zero;
|
|
in x;
|
|
end;
|