Adding record of examples in haddock.
Adding haddock to compiler module.