1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-13 19:49:20 +03:00
juvix/tests/positive/BuiltinsBool.juvix

14 lines
187 B
Plaintext

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;