On Tue, Oct 15, 2013 at 2:41 PM, AntC <[email protected]> wrote:
> - (What I was hoping for but didn't get.)
> No compiler flag to suppress creating selector functions.
> This would have allowed records to be declared re-using the same name;
> but left it entirely to the developer as to how to access them.
>
Does that mean that this won't work:
module M where
data T1 = C1 { f :: Int }
data T2 = C2 { f :: Int }
?
-- Johan
_______________________________________________
ghc-devs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/ghc-devs