
10 Mar
2012
10 Mar
'12
12:30 p.m.
A name space in Haskell is a module, and GHC only allows one module per
file.
So I would put these in a separate file, or do manual namespacing using
prefixes, as in "colorRed".
On Mar 10, 2012 11:14 AM, "Ovidiu Deac"
What are you trying to gain here by having the color namespace?
I want to avoid polluting the global namespace and to avoid name collisions.
As I said, the example with the colours wasn't probably a good one.
Let me change the question: How can I create a sub-namespace in the same file?
_______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners