brittany-0.12.0.0: Haskell source code formatter

Language.Haskell.Brittany.Internal.PreludeUtils

Contents

traceFunctionWith :: String -> (a -> String) -> (b -> String) -> (a -> b) -> a -> b Source #

(<&!>) :: Monad m => m a -> (a -> b) -> m b Source #

putStrErrLn :: String -> IO () Source #

putStrErr :: String -> IO () Source #

printErr :: Show a => a -> IO () Source #

errorIf :: Bool -> a -> a Source #

errorIfNote :: Maybe String -> a -> a Source #

(<&>) :: Functor f => f a -> (a -> b) -> f b infixl 4 Source #

(.>) :: (a -> b) -> (b -> c) -> a -> c infixl 9 Source #

evaluateDeep :: NFData a => a -> IO a Source #

Methods

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

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

return :: a -> Maybe a #

fail :: String -> Maybe a #

pure :: a -> Maybe a #

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

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

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

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

empty :: Maybe a #

(<|>) :: Maybe a -> Maybe a -> Maybe a #

some :: Maybe a -> Maybe [a] #

many :: Maybe a -> Maybe [a] #