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

Modulerefined-0.8.2Haskell2010

Refined.Unsafe.Type

This module exports the Refined type with its constructor. This is very risky! In particular, the Coercible instances will be visible throughout the importing module. It is usually better to build the necessary coercions locally using the utilities in Refined.Unsafe, but in some cases it may be more convenient to write a separate module that imports this one and exports some large coercion.

  • 1 type
  • Packagerefined-0.8.2
  • Exports1
  • LanguageHaskell2010
  • LicenceMIT
  • SourceType.hs
newtypenewtype Refined (p :: k) x
#

A refinement type, which wraps a value of type x.

Constructors

Instances13Lift, Foldable, Eq, Ord, Read, Show, …