data-accessor-0.2.3.1: Utilities for accessing and manipulating fields of records
Safe HaskellSafe-Inferred
LanguageHaskell98

Data.Accessor.Tuple

Synopsis

Example accessors for the pair type

first :: T (a, b) a Source #

Access to the first value of a pair.

second :: T (a, b) b Source #

Access to the second value of a pair.

first3 :: T (a, b, c) a Source #

Access to the first value of a triple.

second3 :: T (a, b, c) b Source #

Access to the second value of a triple.

third3 :: T (a, b, c) c Source #

Access to the third value of a triple.