data-accessor-0.2.2.6: Utilities for accessing and manipulating fields of records

Safe HaskellSafe-Inferred

Data.Accessor.Tuple

Contents

Synopsis

Example accessors for the pair type

first :: T (a, b) aSource

Access to the first value of a pair.

second :: T (a, b) bSource

Access to the second value of a pair.

first3 :: T (a, b, c) aSource

Access to the first value of a triple.

second3 :: T (a, b, c) bSource

Access to the second value of a triple.

third3 :: T (a, b, c) cSource

Access to the third value of a triple.