Name resolution for Haskell.