Utils.Containers.Internal.StrictPair

Safe Haskell Safe
Language Haskell98

Description

A strict pair

data StrictPair a b Source

The same as a regular Haskell pair, but

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

Constructors

!a :*: !b infixr 1

toPair :: StrictPair a b -> (a, b) Source

Convert a strict pair to a standard pair.

© The University of Glasgow and others
Licensed under a BSD-style license (see top of the page).
https://downloads.haskell.org/~ghc/8.10.2/docs/html/libraries/containers-0.6.2.1/Utils-Containers-Internal-StrictPair.html