pufuwozu/roy — Issue #24: Multiple declarations of type constructor allowed in same scope
Author: eegg
Created: 2011-11-30 13:42:47+00:00
State: open

Given

data Tree = Foo
data Tree = Bar

I get the JS

data Tree = Foo
data Tree = Bar

In Haskell, this gives the complaint:

ERROR line 2 - Multiple declarations of type constructor "Tree"

See http://codepad.org/Pk15r2Bz