mirror of
https://github.com/anoma/juvix.git
synced 2024-12-11 08:25:46 +03:00
803d2008d9
* remove ≔ from the language and replace it by := * revert accidental changes in juvix input mode * update stdlib submodule * rename ℕ by Nat in the tests and examples * fix shell tests
17 lines
206 B
Plaintext
17 lines
206 B
Plaintext
module M;
|
|
|
|
inductive Bool {
|
|
false : Bool;
|
|
true : Bool;
|
|
};
|
|
|
|
inductive Pair (A : Type) (B : Type) {
|
|
mkPair : A → B → Pair A B;
|
|
};
|
|
|
|
f : _ → _;
|
|
f (mkPair false true) := true;
|
|
f true := false;
|
|
|
|
end;
|