Module
Data.Undefinable 
- Package
- undefinable
- Repository
- purerl/purescript-undefinable
This module defines a representation for undefined.
#Undefinable Source
data Undefinable :: Type -> TypeThis type constructor defines a representation for a value that may or may not be undefined.
Instances
- (Show a) => Show (Undefinable a)
- (Eq a) => Eq (Undefinable a)
- (Ord a) => Ord (Undefinable a)
#toMaybe Source
toMaybe :: forall value. Undefinable value -> Maybe valueTakes undefined to Nothing and a value to Just value.
#toUndefinable Source
toUndefinable :: forall value. Maybe value -> Undefinable valueTakes Nothing to undefined and Just value to value.
- Modules
- Data.Undefinable