Hi,

Am Mittwoch, den 28.01.2015, 21:15 -0800 schrieb Iavor Diatchki:

> https://ghc.haskell.org/trac/ghc/wiki/Records/OverloadedRecordFields/Simple
>
> Let me know what you think!

a small Optional Extension. If you allow 
        Node { n | left = l, right = r}
as an expression, then it would make sense to allow
        Node { n | left = l, right = r}
as a pattern as well, meaning the same thing as
        n@Node {left = l, right = r}
now.

(Hardly important, but nice for consistency.)

Greetings,
Joachim


-- 
Joachim “nomeata” Breitner
  [email protected]http://www.joachim-breitner.de/
  Jabber: [email protected]  • GPG-Key: 0xF0FBF51F
  Debian Developer: [email protected]

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
ghc-devs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/ghc-devs

Reply via email to