Elementary source code to build upon.
Simplification of a function (uncons comes with GHC 7.10.1)