utility-ht-0.0.3: Various small helper functions for Lists, Maybes, Tuples, Functions
Data.Maybe.HT
Synopsis
toMaybe :: Bool -> a -> Maybe aSource
Returns Just if the precondition is fulfilled.
Just