lub-0.1.2: information operators: least upper bound (lub) and greatest lower bound (glb)

Data.Laxer

Description

Some lazier operations. See http://conal.net/blog/posts/lazier-functional-programming-part-2/

eitherL :: (HasLub c, HasGlb c) => (a -> c) -> (b -> c) -> Either a b -> cSource

condL :: (HasLub a, HasGlb a) => a -> a -> Bool -> aSource