1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-02 23:43:01 +03:00
juvix/tests/negative/Internal/LazyBuiltin.juvix

16 lines
209 B
Plaintext
Raw Normal View History

module LazyBuiltin;
builtin bool
type Bool :=
| true : Bool
| false : Bool;
builtin bool-if
if : {A : Type} -> Bool -> A -> A -> A
| true x _ := x
| false _ x := x;
f : Bool -> Bool
| x := if x;