protolude-0.1.7: A sensible set of defaults for writing custom Preludes.
Protolude
module Base
identity :: a -> a Source #
map :: Functor f => (a -> b) -> f a -> f b Source #
(&) :: a -> (a -> b) -> b infixl 1 Source #
uncons :: [a] -> Maybe (a, [a]) Source #
unsnoc :: [x] -> Maybe ([x], x) Source #
applyN :: Int -> (a -> a) -> a -> a Source #
print :: (MonadIO m, Show a) => a -> m () Source #
throwIO :: (MonadIO m, Exception e) => e -> m a Source #
throwTo :: (MonadIO m, Exception e) => ThreadId -> e -> m () Source #
show :: (Show a, StringConv String b) => a -> b Source #
type LText = Text Source #
type LByteString = ByteString Source #