hat-2.9.4: The Haskell tracer, generating and viewing Haskell execution traces
Hat.Data.Maybe
data Maybe a Source #
Constructors
Instances
Methods
(!>>=) :: RefSrcPos -> RefExp -> R (Fun (Maybe a) (Fun (Fun a (Maybe b)) (Maybe b))) Source #
(|>>=) :: R (Fun (Maybe a) (Fun (Fun a (Maybe b)) (Maybe b))) Source #
(!>>) :: RefSrcPos -> RefExp -> R (Fun (Maybe a) (Fun (Maybe b) (Maybe b))) Source #
(|>>) :: R (Fun (Maybe a) (Fun (Maybe b) (Maybe b))) Source #
greturn :: RefSrcPos -> RefExp -> R (Fun a (Maybe a)) Source #
sreturn :: R (Fun a (Maybe a)) Source #
gfail :: RefSrcPos -> RefExp -> R (Fun String (Maybe a)) Source #
sfail :: R (Fun String (Maybe a)) Source #
gfmap :: RefSrcPos -> RefExp -> R (Fun (Fun a b) (Fun (Maybe a) (Maybe b))) Source #
sfmap :: R (Fun (Fun a b) (Fun (Maybe a) (Maybe b))) Source #
gmzero :: RefSrcPos -> RefExp -> R (Maybe a) Source #
smzero :: R (Maybe a) Source #
gmplus :: RefSrcPos -> RefExp -> R (Fun (Maybe a) (Fun (Maybe a) (Maybe a))) Source #
smplus :: R (Fun (Maybe a) (Fun (Maybe a) (Maybe a))) Source #
wrapVal :: RefSrcPos -> Maybe a -> RefExp -> R (Maybe a) Source #
gshowsPrec :: RefSrcPos -> RefExp -> R (Fun Int (Fun (Maybe a) ShowS)) Source #
sshowsPrec :: R (Fun Int (Fun (Maybe a) ShowS)) Source #
gshow :: RefSrcPos -> RefExp -> R (Fun (Maybe a) String) Source #
sshow :: R (Fun (Maybe a) String) Source #
gshowList :: RefSrcPos -> RefExp -> R (Fun (List (Maybe a)) ShowS) Source #
sshowList :: R (Fun (List (Maybe a)) ShowS) Source #
greadsPrec :: RefSrcPos -> RefExp -> R (Fun Int (ReadS (Maybe a))) Source #
sreadsPrec :: R (Fun Int (ReadS (Maybe a))) Source #
greadList :: RefSrcPos -> RefExp -> R (ReadS (List (Maybe a))) Source #
sreadList :: R (ReadS (List (Maybe a))) Source #
gcompare :: RefSrcPos -> RefExp -> R (Fun (Maybe a) (Fun (Maybe a) Ordering)) Source #
scompare :: R (Fun (Maybe a) (Fun (Maybe a) Ordering)) Source #
(!<) :: RefSrcPos -> RefExp -> R (Fun (Maybe a) (Fun (Maybe a) Bool)) Source #
(!<=) :: RefSrcPos -> RefExp -> R (Fun (Maybe a) (Fun (Maybe a) Bool)) Source #
(!>=) :: RefSrcPos -> RefExp -> R (Fun (Maybe a) (Fun (Maybe a) Bool)) Source #
(!>) :: RefSrcPos -> RefExp -> R (Fun (Maybe a) (Fun (Maybe a) Bool)) Source #
(|<) :: R (Fun (Maybe a) (Fun (Maybe a) Bool)) Source #
(|<=) :: R (Fun (Maybe a) (Fun (Maybe a) Bool)) Source #
(|>=) :: R (Fun (Maybe a) (Fun (Maybe a) Bool)) Source #
(|>) :: R (Fun (Maybe a) (Fun (Maybe a) Bool)) Source #
gmax :: RefSrcPos -> RefExp -> R (Fun (Maybe a) (Fun (Maybe a) (Maybe a))) Source #
gmin :: RefSrcPos -> RefExp -> R (Fun (Maybe a) (Fun (Maybe a) (Maybe a))) Source #
smax :: R (Fun (Maybe a) (Fun (Maybe a) (Maybe a))) Source #
smin :: R (Fun (Maybe a) (Fun (Maybe a) (Maybe a))) Source #
(!==) :: RefSrcPos -> RefExp -> R (Fun (Maybe a) (Fun (Maybe a) Bool)) Source #
(!/=) :: RefSrcPos -> RefExp -> R (Fun (Maybe a) (Fun (Maybe a) Bool)) Source #
(|==) :: R (Fun (Maybe a) (Fun (Maybe a) Bool)) Source #
(|/=) :: R (Fun (Maybe a) (Fun (Maybe a) Bool)) Source #
aNothing :: RefAtom Source #
aJust :: RefAtom Source #
gmaybe :: RefSrcPos -> RefExp -> R (Fun b (Fun (Fun a b) (Fun (Maybe a) b))) Source #
amaybe :: RefAtom Source #
hmaybe :: R b -> R (Fun a b) -> R (Maybe a) -> RefExp -> R b Source #
gisJust :: RefSrcPos -> RefExp -> R (Fun (Maybe a) Bool) Source #
aisJust :: RefAtom Source #
hisJust :: R (Maybe a) -> RefExp -> R Bool Source #
gisNothing :: RefSrcPos -> RefExp -> R (Fun (Maybe a) Bool) Source #
gfromJust :: RefSrcPos -> RefExp -> R (Fun (Maybe a) a) Source #
afromJust :: RefAtom Source #
hfromJust :: R (Maybe a) -> RefExp -> R a Source #
gfromMaybe :: RefSrcPos -> RefExp -> R (Fun a (Fun (Maybe a) a)) Source #
afromMaybe :: RefAtom Source #
hfromMaybe :: R a -> R (Maybe a) -> RefExp -> R a Source #
glistToMaybe :: RefSrcPos -> RefExp -> R (Fun (List a) (Maybe a)) Source #
alistToMaybe :: RefAtom Source #
hlistToMaybe :: R (List a) -> RefExp -> R (Maybe a) Source #
gmaybeToList :: RefSrcPos -> RefExp -> R (Fun (Maybe a) (List a)) Source #
amaybeToList :: RefAtom Source #
hmaybeToList :: R (Maybe a) -> RefExp -> R (List a) Source #
gcatMaybes :: RefSrcPos -> RefExp -> R (Fun (List (Maybe a)) (List a)) Source #
acatMaybes :: RefAtom Source #
hcatMaybes :: R (List (Maybe a)) -> RefExp -> R (List a) Source #
gmapMaybe :: RefSrcPos -> RefExp -> R (Fun (Fun a (Maybe b)) (Fun (List a) (List b))) Source #
amapMaybe :: RefAtom Source #
hmapMaybe :: R (Fun a (Maybe b)) -> RefExp -> R (Fun (List a) (List b)) Source #