Status update on overloaded records work?
Edward Kmett
ekmett at gmail.com
Tue Oct 15 23:13:07 UTC 2013
That *will* work under Adam's scheme.
-Edward
On Tue, Oct 15, 2013 at 6:02 PM, Johan Tibell <johan.tibell at gmail.com>wrote:
> On Tue, Oct 15, 2013 at 2:41 PM, AntC <anthony_clayden at clear.net.nz>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
> ghc-devs at haskell.org
> http://www.haskell.org/mailman/listinfo/ghc-devs
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20131015/e007611b/attachment.html>
More information about the ghc-devs
mailing list