Commit graph

1 commit

Author SHA1 Message Date
tpoindex
b19ab5180b 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-14 20:21:06 +02:00