mirror of
https://github.com/anoma/juvix.git
synced 2024-11-30 14:13:27 +03:00
3fbc9c7c55
Closes #1644 #1635
16 lines
156 B
Plaintext
16 lines
156 B
Plaintext
-- global variables
|
|
|
|
type Unit {
|
|
unit : Unit;
|
|
};
|
|
|
|
def x := 3 + 4;
|
|
|
|
def f := \y x;
|
|
|
|
def g := \y \z x;
|
|
|
|
write (f unit) >>
|
|
write (g unit unit) >>
|
|
write "\n"
|