module Fear

Constants

Error
IllegalStateException
MatchError
NoSuchElementError
None

The only instance of NoneClass @api private

PatternSyntaxError
Unit

Represents lack of value. It's typically returned when function completed without a value.

@example

if user.valid?
  Fear.right(Fear::Unit)
else
  Fear.left(user.errors)
end

@example

def sent_notifications(user)
  # ...
  Fear::Unit
end
VERSION