HORIZON HASKELLDocslts/ghc-9.14.x7a6c33e2026-10-12Search packagesCtrl K
Theme: |

GHC 9.14.1 · lts/ghc-9.14.x · 7a6c33e · 2026-10-12

Modulerefined-0.8.2Haskell2010

Refined.Unsafe

This module exposes unsafe refinements. An unsafe refinement is one which either does not make the guarantee of totality in construction of the Refined value or does not perform a check of the refinement predicate. It is recommended only to use this when you can manually prove that the refinement predicate holds.

Contents
  1. Refined
  2. Creation
  3. Coercion
Synopsis
  • Packagerefined-0.8.2
  • Exports6
  • LanguageHaskell2010
  • LicenceMIT
  • SourceUnsafe.hs
newtypenewtype Refined (p :: k) x

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

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

Creation

Coercion