1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-02 10:47:32 +03:00
juvix/tests/positive/BuiltinsBool.juvix
2024-07-02 10:03:06 +02:00

12 lines
181 B
Plaintext

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