Text.RE.ZeInternals.Types.Poss

data Poss a Source #

Constructors

Defined in Text.RE.ZeInternals.Types.Poss

Methods

(>>=) :: Poss a -> (a -> Poss b) -> Poss b #

(>>) :: Poss a -> Poss b -> Poss b #

return :: a -> Poss a #

fmap :: (a -> b) -> Poss a -> Poss b #

(<$) :: a -> Poss b -> Poss a #

fail :: String -> Poss a #

pure :: a -> Poss a #

(<*>) :: Poss (a -> b) -> Poss a -> Poss b #

liftA2 :: (a -> b -> c) -> Poss a -> Poss b -> Poss c #

(*>) :: Poss a -> Poss b -> Poss b #

(<*) :: Poss a -> Poss b -> Poss a #

(==) :: Poss a -> Poss a -> Bool #

(/=) :: Poss a -> Poss a -> Bool #

compare :: Poss a -> Poss a -> Ordering #

(<) :: Poss a -> Poss a -> Bool #

(<=) :: Poss a -> Poss a -> Bool #

(>) :: Poss a -> Poss a -> Bool #

(>=) :: Poss a -> Poss a -> Bool #

max :: Poss a -> Poss a -> Poss a #

min :: Poss a -> Poss a -> Poss a #

showsPrec :: Int -> Poss a -> ShowS #

show :: Poss a -> String #

showList :: [Poss a] -> ShowS #

poss :: (String -> b) -> (a -> b) -> Poss a -> b Source #

poss2either :: Poss a -> Either String a Source #