Added localExample from Real World Haskell page 432