precis-0.3.1: Diff Cabal packages.

Precis.Utils

Description

Utils

type H a = [a] -> [a]Source

snocH :: H a -> a -> H aSource

toListH :: H a -> [a]Source

onSuccess :: Monad m => Either a b -> (b -> m c) -> m (Either a c)Source

onSuccessM :: Monad m => m (Either a b) -> (b -> m c) -> m (Either a c)Source