It imports only typeclass instances from the module. Using -Wall GHC issues a warning for imported modules, but from which definitions are not used:
foo.hs:1:1: Warning: The import of `M' is redundant except perhaps to import instances from `M' To import instances alone, use: import M()
An empty import list blocks this warning and serves as documentation of the purpose of the import.
ehird
source share