Be more explicit not importing Haste and Haste.App together. Fixes #244.
Import BasicTypes when building with GHC 7.6.