Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Documentation
data ExecutionResult a Source #
Instances
Monad ExecutionResult Source # | |
Defined in Data.JSONPath.ExecutionResult (>>=) :: ExecutionResult a -> (a -> ExecutionResult b) -> ExecutionResult b # (>>) :: ExecutionResult a -> ExecutionResult b -> ExecutionResult b # return :: a -> ExecutionResult a # fail :: String -> ExecutionResult a # | |
Functor ExecutionResult Source # | |
Defined in Data.JSONPath.ExecutionResult fmap :: (a -> b) -> ExecutionResult a -> ExecutionResult b # (<$) :: a -> ExecutionResult b -> ExecutionResult a # | |
Applicative ExecutionResult Source # | |
Defined in Data.JSONPath.ExecutionResult pure :: a -> ExecutionResult a # (<*>) :: ExecutionResult (a -> b) -> ExecutionResult a -> ExecutionResult b # liftA2 :: (a -> b -> c) -> ExecutionResult a -> ExecutionResult b -> ExecutionResult c # (*>) :: ExecutionResult a -> ExecutionResult b -> ExecutionResult b # (<*) :: ExecutionResult a -> ExecutionResult b -> ExecutionResult a # |
concatResults :: [ExecutionResult a] -> ExecutionResult a Source #
appendResults :: ExecutionResult a -> ExecutionResult a -> ExecutionResult a Source #
maybeToResult :: String -> Maybe a -> ExecutionResult a Source #
resultToEither :: ExecutionResult a -> Either String [a] Source #
excludeErrors :: [ExecutionResult a] -> [a] Source #