listToMaybe package:invertible

Convert between (the head of) a (singleton) list and Maybe (see listToMaybe). (invert maybeToList)