
27 Nov
2009
27 Nov
'09
6:42 a.m.
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.