Tuple. Array with 2 elements.
applyToSecond :: (a -> b) -> (t, a) -> (t, b)
There's gotta be an official name for this. Applies function f to the second element in a tuple.
first :: (a, b) -> a
The type of the first element in the tuple.
The first element in a tuple.
Returns the second element in a tuple.
second :: ( (a, b) -> b)
thirst :: (a, b, c) -> a
Returns the first element in a thruple.
threcond :: (a, b, c) -> b
Like second. But for thruples.
thruple :: a -> b -> c -> (a, b, c)
Create a thruple given three values.
tuple :: a -> b -> (a, b)
Create a tuple given two values.
Generated using TypeDoc
Thruple. Array with 3 elements