Std.Tuple
10 public declarations
- curry
fn((A, B)) -> C -> A -> B -> CA pair-taking function applied to two arguments, the inverse of `uncurry`.
- duplicate
T -> (T, T)A value paired with itself.
- first
(A, B) -> AThe first member of a pair.
- mapBoth
(A, A) -> fn(A) -> B -> (B, B)Both members transformed by the same function.
- mapFirst
(A, B) -> fn(A) -> C -> (C, B)A pair with its first member transformed.
- mapSecond
(A, B) -> fn(B) -> C -> (A, C)A pair with its second member transformed.
- of
A -> B -> (A, B)A pair built from two values.
- second
(A, B) -> BThe second member of a pair.
- swap
(A, B) -> (B, A)A pair with its members exchanged.
- uncurry
fn(A, B) -> C -> (A, B) -> CA two-argument function applied to a pair, so a function written for two
