Simple dependency injection example in Haskell.