HORIZON HASKELLDocslts/ghc-9.14.x99ffbb82026-10-19Search packagesCtrl K
Theme: |

GHC 9.14.1 · lts/ghc-9.14.x · 99ffbb8 · 2026-10-19

Modulesop-extras-0.4.1.1Haskell2010

Data.SOP.InPairs

Intended for qualified import

import           Data.SOP.InPairs (InPairs(..))
import qualified Data.SOP.InPairs as InPairs
Contents
  1. InPairs
  2. Convenience constructors
  3. SOP-like operators
  4. Requiring
  5. Composing
Synopsis

InPairs

Convenience constructors

valuemk3 :: f x y -> f y z -> InPairs f '[x, y, z]
#

SOP-like operators

valuehcmap
  1. :: All c xs
  2. => proxy c
  3. -> forall (x :: k) (y :: k). (c x, c y) => f x y -> g x y
  4. -> InPairs f xs
  5. -> InPairs g xs
#

Requiring

Composing

newtypenewtype Fn2 (f :: k -> Type) (x :: k) (y :: k)
#

Constructors