1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-11 08:25:46 +03:00
juvix/tests/negative/265/M.juvix
janmasrovira 803d2008d9
remove ≔ from the language and replace it by := (#1563)
* 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
2022-09-30 10:55:32 +10:00

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;