Skip to content

Commit

Permalink
builtin pair
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszcz committed Jul 10, 2024
1 parent 0b24d16 commit 5f0e487
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Stdlib/Data/Pair/Base.juvix
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import Stdlib.Data.Fixity open;
syntax operator , pair;

--- Inductive pair. I.e. a tuple with two components.
builtin pair
type Pair (A B : Type) := , : A → B → Pair A B;

--- Converts a function of two arguments to a function with a product argument.
Expand Down

0 comments on commit 5f0e487

Please sign in to comment.