Check out fugue: <a href="https:&#x2F;&#x2F;bitbucket.org&#x2F;atlassian&#x2F;fugue" rel="nofollow">https:&#x2F;&#x2F;bitbucket.org&#x2F;atlassian&#x2F;fugue</a> -- a proper monadic Option and more. :) (Full disclosure: I&#x27;m an Atlassian and I know&#x2F;&lt;3 the people who write it, but I also use it a fuckton in my own code.)