Hoogle Search
Within LTS Haskell 24.28 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
construct Construct Converts a format for serialized streams of type s so it works for streams of type t instead
>>> testParse (mapSerialized ByteString.unpack ByteString.pack byte) [1,2,3] Right [(1,[2,3])]
-
construct Construct Converts a format for in-memory values of type a so it works for values of type b instead.
>>> testParse (mapValue (read @Int) show $ takeCharsWhile1 isDigit) "012 34" Right [(12," 34")] >>> testSerialize (mapValue read show $ takeCharsWhile1 isDigit) 12 Right "12"
-
construct Construct.Classes Converts a parser accepting one input stream type to another just like mapParserInput, except the argument functions can return Nothing to indicate they need more input.
-
construct Construct.Classes Converts a parser accepting one input stream type to another. The functions forth and back must be inverses of each other and they must distribute through <>:
f (s1 <> s2) == f s1 <> f s2
mapAndUnzipM :: Applicative m => (a -> m (b, c)) -> [a] -> m ([b], [c])control-monad-free Control.Monad.Free The mapAndUnzipM function maps its first argument over a list, returning the result as a pair of lists. This function is mainly used with complicated data structures or a state monad.
mapFree :: (Functor f, Functor g) => (f (Free g a) -> g (Free g a)) -> Free f a -> Free g acontrol-monad-free Control.Monad.Free No documentation available.
-
control-monad-free Control.Monad.Free No documentation available.
-
control-monad-free Control.Monad.Free No documentation available.
-
control-monad-free Control.Monad.Free No documentation available.
-
control-monad-free Control.Monad.Free No documentation available.