1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-01 00:04:58 +03:00
juvix/tests/negative/Internal/LazyBuiltin.juvix
2023-07-11 17:22:07 +02:00

16 lines
209 B
Plaintext

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;