mirror of
https://github.com/anoma/juvix.git
synced 2024-12-02 10:47:32 +03:00
12 lines
181 B
Plaintext
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;
|