Added `maybe`.

  I didn't write this, but the copyright is intact.

  I updated the code to run with warnings/strictness, although it
 is so minimal I needn't have bothered.