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

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.