Skip to content

Instantly share code, notes, and snippets.

View manuel-mauky's full-sized avatar

Manuel Mauky manuel-mauky

View GitHub Profile
/**
* ```
* Does JDK8's Optional class satisfy the Monad laws?
* =================================================
* 1. Left identity: true
* 2. Right identity: true
* 3. Associativity: true
*
* Yes, it does.
* ```