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

Data.Function.Tools

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

const3 :: a -> b -> c -> d -> aSource

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

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

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