mirror of
https://github.com/anoma/juvix.git
synced 2024-11-29 21:32:43 +03:00
change order of Bool constructors
This commit is contained in:
parent
379c2ec11f
commit
3285b4cb69
@ -3,5 +3,5 @@ module Juvix.Builtin.V1.Bool;
|
||||
--- Inductive definition of booleans.
|
||||
builtin bool
|
||||
type Bool :=
|
||||
| true
|
||||
| false;
|
||||
| false
|
||||
| true;
|
||||
|
@ -50,7 +50,7 @@ instance Pretty BuiltinPrim where
|
||||
builtinConstructors :: BuiltinInductive -> [BuiltinConstructor]
|
||||
builtinConstructors = \case
|
||||
BuiltinNat -> [BuiltinNatZero, BuiltinNatSuc]
|
||||
BuiltinBool -> [BuiltinBoolTrue, BuiltinBoolFalse]
|
||||
BuiltinBool -> [BuiltinBoolFalse, BuiltinBoolTrue]
|
||||
BuiltinInt -> [BuiltinIntOfNat, BuiltinIntNegSuc]
|
||||
BuiltinList -> [BuiltinListNil, BuiltinListCons]
|
||||
BuiltinMaybe -> [BuiltinMaybeNothing, BuiltinMaybeJust]
|
||||
|
Loading…
Reference in New Issue
Block a user