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 *
Save my name, email, and website in this browser for the next time I comment.