| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
Data.Possible
Documentation
Constructors
| HaveNull | |
| MissingData | |
| HaveData a |
Instances
| Monad Possible Source # | |
| Functor Possible Source # | |
| MonadFail Possible Source # | |
Defined in Data.Possible | |
| Applicative Possible Source # | |
| Show a => Show (Possible a) Source # | |
| Generic (Possible a) Source # | |
| type Rep (Possible a) Source # | |
Defined in Data.Possible type Rep (Possible a) = D1 (MetaData "Possible" "Data.Possible" "possible-0.1.0.6-6KccxYPsF4X5bP4An68hYs" False) (C1 (MetaCons "HaveNull" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "MissingData" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "HaveData" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 a)))) | |
isPossibleData :: Possible a -> Bool Source #
isPossibleMissing :: Possible a -> Bool Source #
isPossibleNull :: Possible a -> Bool Source #
fromHaveData :: Possible a -> a Source #