pzol / monadic

helps dealing with exceptional situations, it comes from the sphere of functional programming and bringing the goodies I have come to love in Scala to my ruby projects
MIT License
229 stars 20 forks source link

Nothing will return the argument exactly as is if given issue #9 #15

Closed sdbondi closed 2 years ago

sdbondi commented 8 years ago
Maybe(nil)._ == Nothing
Maybe(nil)._('') == ''
Maybe(nil)._(nil) == nil