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
  m...@joachim-breitner.de • http://www.joachim-breitner.de/
  Jabber: nome...@joachim-breitner.de  • GPG-Key: 0xF0FBF51F
  Debian Developer: nome...@debian.org

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

_______________________________________________
ghc-devs mailing list
ghc-devs@haskell.org
http://www.haskell.org/mailman/listinfo/ghc-devs

Reply via email to