cabal install hoogle, then run M-x helm-hoogle