bools-0.0.0: Functions for dealing with bools
Data.Bools
Description
Functions for dealing with bools.
Synopsis
bool :: a -> a -> Bool -> aSource
bool false true p = if p then true else false
cond :: (a -> b) -> (a -> b) -> (a -> Bool) -> a -> bSource
cond false true p v = if p v then true v else false v
module Data.Bool