lazy note
matthewleon opened this issue · comments
Matthew Leon commented
Would love to see a lazy note
, in the spirit purescript-maybe
's lazy functions (maybe'
and fromMaybe'
)
note' :: forall a b. (Unit -> a) -> Maybe b -> Either a b
Gary Burgess commented
Seems reasonable to me!