Add non-broken haskell syntax

The previous version would screw up when importing only instances from a
module, eg:

    import SomeModule()