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

Moduleghc-9.10.3GHC2021

GHC.Utils.Containers.Internal.StrictPair

A strict pair

  • 1 type
  • 1 value
  • Packageghc-9.10.3
  • 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.