mirror of
https://github.com/anoma/juvix.git
synced 2024-12-13 19:49:20 +03:00
3fbc9c7c55
Closes #1644 #1635
14 lines
187 B
Plaintext
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;
|