mirror of
https://github.com/anoma/juvix.git
synced 2024-12-15 10:03:22 +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
12 lines
180 B
Plaintext
12 lines
180 B
Plaintext
module Data.Pair;
|
|
|
|
inductive Pair (A : Type) (B : Type) {
|
|
mkPair : A → B → Pair A B;
|
|
};
|
|
|
|
fst : (A : Type) → (B : Type) → Pair A B → A;
|
|
fst _ _ (mkPair a b) := a;
|
|
|
|
|
|
end;
|