mirror of
https://github.com/anoma/juvix.git
synced 2024-12-16 10:56:14 +03:00
3b3ea45da9
* Renaming MiniJuvix to Juvix * Make Ormolu happy * Make Hlint happy * Remove redundant imports * Fix shell tests and add target ci to our Makefile * Make pre-commit happy
19 lines
250 B
Plaintext
19 lines
250 B
Plaintext
module Data.Bool;
|
|
|
|
open import Data.String;
|
|
|
|
inductive Bool {
|
|
true : Bool;
|
|
false : Bool;
|
|
};
|
|
|
|
not : Bool → Bool;
|
|
not true ≔ false;
|
|
not false ≔ true;
|
|
|
|
boolToStr : Bool → String;
|
|
boolToStr true ≔ "true";
|
|
boolToStr false ≔ "false";
|
|
|
|
end;
|