yjtools-0.6: some tools for Monad, List, Tuple and so on.

Data.Function.Tools

Documentation

const2 :: a -> b -> c -> aSource

applyWhen :: Bool -> (a -> a) -> a -> aSource

apply2way :: (a -> b -> c) -> (d -> a) -> (d -> b) -> d -> cSource