As recently came up in discussion:
Does JDK8’s Optional class satisfy the Monad laws?
Yes, it appears that it does.
Please see this gist for the details!
Your email address will not be published. Required fields are marked *
This site uses Akismet to reduce spam. Learn how your comment data is processed.