cli-utils-4.1.0
LicenseBSD3
Maintainertbidne@gmail.com
Safe HaskellNone
LanguageHaskell2010

Common.RefinedUtils

Description

Exports utility functions for working with Refined.

Synopsis

Documentation

type RNonNegative a = Refined NonNegative a Source #

Alias for Refined NonNegative

type RPositive a = Refined Positive a Source #

Alias for Refined Positive

unsafeRef :: Predicate p x => x -> Refined p x Source #

Unsafe version of refine that uses throw when x does not satisfy the predicate p.

module Refined