A simpler ORF

Joachim Breitner mail at joachim-breitner.de
Thu Jan 29 08:22:16 UTC 2015


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 at Node {left = l, right = r}
now.

(Hardly important, but nice for consistency.)

Greetings,
Joachim


-- 
Joachim “nomeata” Breitner
  mail at joachim-breitner.dehttp://www.joachim-breitner.de/
  Jabber: nomeata at joachim-breitner.de  • GPG-Key: 0xF0FBF51F
  Debian Developer: nomeata at debian.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20150129/195011ab/attachment.sig>


More information about the ghc-devs mailing list