precis-0.5.0: Diff Cabal packages.

Portabilityto be determined.
Stabilityhighly unstable
MaintainerStephen Tetley <stephen.tetley@gmail.com>

Precis.Utils.ControlOperators

Description

ALL NAMES PROVISIONAL...

Synopsis

Documentation

elaborate :: e -> Maybe a -> Either e aSource

firstSuccess :: Monad m => (a -> m (Maybe b)) -> [a] -> m (Maybe b)Source

Apply the function to the list

valid :: Monad m => (a -> m Bool) -> a -> m (Maybe a)Source

validE :: Monad m => ex -> (a -> m Bool) -> a -> m (Either ex a)Source