Commit graph

1 commit

Author SHA1 Message Date
tpoindex
912b3f2491 maybe monad and friends
maybe - return a tuple of (Nothing) or (Just,value)
maybemap - apply map function when maybe has a value and wrap in another maybe; else when nothing return nothing
maybevalue - return value of maybe; else when nothing return optional default args
2019-09-11 22:47:39 -06:00