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."

http://www.haskell.org/onlinereport/intro.html

Martijn.
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to