HORIZON HASKELLDocslts/ghc-9.14.xb2f3bfd2026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · b2f3bfd · 2026-10-11

Moduleghc-9.14.1GHC2021

GHC.Utils.Containers.Internal.StrictPair

A strict pair

  • 1 type
  • 1 value
  • Packageghc-9.14.1
  • Exports2
  • LanguageGHC2021
  • 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.