Credit to Alan for creating these examples.
here are some great code snippet examples that I have reworked slightly using hindent and hlint in order to see 'standard' Haskell. The files modified have received attention and have been slightly mod'd such that they are obvious by date. I use geany (under Linux) for compilation often and then try to process them in the cabal repl. Often there are missing dependencies and I need to learn how to fix this issue... A standard practise these days for me is to add the line {-# OPTIONS_GHC -fwarn-missing-signatures #-} to confirm my understanding of signatures.