HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Modulecontainers-0.7Haskell2010

Utils.Containers.Internal.StrictPair

A strict pair

  • 1 type
  • 1 value
  • Packagecontainers-0.7
  • Exports2
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceStrictPair.hs
datadata StrictPair a b
#

The same as a regular Haskell pair, but

(x :*: _|_) = (_|_ :*: y) = _|_

Constructors

  • a :*: binfixr 1
valuetoPair :: StrictPair a b -> (a, b)
#

Convert a strict pair to a standard pair.