On Sat, Jun 22, 2013 at 04:26:14AM -0500, Brian Lewis wrote:
> Say you write
> data Callback = Error ... | ...
[...]
> 
> Then, later, you write
> data Error = ...
[...]
> 
> They're both good names, but there's a conflict.

What do you mean by a conflict?  That's fine as far as the compiler is
concerned because constructors live in a different namespace from types.

If you meant it will be too confusing for the programmer that's fair enough.

Tom

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to