1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-14 17:32:00 +03:00
juvix/tests/positive/MiniC/Lib/Data/Pair.juvix

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;