make sample compile

hi, i fixed up the imports in the sample so that it compiles (at least on ghc 7.6.2)