data-extra-2.3.0: Extra utilities for working on Data.* types.

Safe HaskellSafe-Inferred

Data.Bool.Extra

Description

Extra functions for dealing with Bool.

Synopsis

Documentation

bool :: (a -> b) -> (a -> b) -> (a -> Bool) -> a -> bSource

An if/else condition on the given value.