[Haskell-cafe] namespaces for values, types, and classes

Martijn van Steenbergen martijn at van.steenbergen.nl
Fri Nov 27 06:42:42 EST 2009

Sebastian Fischer wrote:
> Does anyone know why types and values are in separate namespaces but 
> classes and types are not?

Good question. I don't know the answer, but it is interesting to note 
that the report explicitly mentions this decision (but provides no reason):

"An identifier must not be used as the name of a type constructor and a 
class in the same scope."



More information about the Haskell-Cafe mailing list