packages feed

polyglot-0.1.1.0: src/Utils/Maybe.hs

module Utils.Maybe where


cond :: Bool -> a -> Maybe a
cond x y = if x then Just y else Nothing