HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Modulehxt-9.3.1.22Haskell2010

Data.Function.Selector

  • 1 type
  • 3 classes
  • 5 values
  • Packagehxt-9.3.1.22
  • Exports9
  • LanguageHaskell2010
  • LicenceMIT
  • SourceSelector.hs
datadata Selector s a
#

A Selector is a pair of an access function and a modifying function for reading and updating parts of a composite type

Constructors

Instances1Category
classclass Comp1 s a | s -> a where
#

Selectors for pairs and 3-tuples: comp1, comp2, comp3, this can be extended to n-tuples

Methods

Instances2Comp1
  • Comp1 (a, b) aDefined in hxt-9.3.1.22 · Data.Function.Selector
  • Comp1 (a, b, c) aDefined in hxt-9.3.1.22 · Data.Function.Selector
classclass Comp2 s a | s -> a where
#

Methods

Instances2Comp2
  • Comp2 (a, b) bDefined in hxt-9.3.1.22 · Data.Function.Selector
  • Comp2 (a, b, c) bDefined in hxt-9.3.1.22 · Data.Function.Selector
classclass Comp3 s a | s -> a where
#

Methods

Instances1Comp3
  • Comp3 (a, b, c) cDefined in hxt-9.3.1.22 · Data.Function.Selector