fst

Extract the first component of a pair.
Extract the first component of a strict pair.
Extract the first component of a pair.
First of a tuple
Helper function for accessing the first field of a Pair
Extract the fst component of a pair.
Not on Stackage, so not searched. Finite state transducers
Returns first element of tuple type (with kind *) or type-level tuple (with kind (k1, k2), marked by prefix quote).
>>> :kind! Maybe (Fst '(Int, Text))
Maybe (Fst '(Int, Text)) :: *
= Maybe Int
>>> :kind! Maybe (Fst (Int, Text))
Maybe (Fst (Int, Text)) :: *
= Maybe Int
Project the first component of a type-level tuple.
>>> :kind! Fst '(Bool, Char)
Fst '(Bool, Char) :: *
= Bool
Create a new simple unit identifier from a FastString. Internally, this is primarily used to specify wired-in unit identifiers.