mirror of
https://github.com/anoma/juvix.git
synced 2024-12-14 17:32:00 +03:00
3fbc9c7c55
Closes #1644 #1635
11 lines
173 B
Plaintext
11 lines
173 B
Plaintext
module Data.Pair;
|
|
|
|
type 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;
|