1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-14 17:32:00 +03:00
juvix/tests/positive/BuiltinsBool.juvix

14 lines
187 B
Plaintext
Raw Normal View History

module BuiltinsBool;
builtin bool
type Bool :=
true : Bool
| false : Bool;
builtin bool-if
if : {A : Type} → Bool → A → A → A;
if true t _ := t;
if false _ e := e;
end;