Record syntax for pattern synonyms

Brandon Allbery allbery.b at
Tue Aug 11 13:42:23 UTC 2015

On Tue, Aug 11, 2015 at 9:11 AM, Richard Eisenberg <eir at>

> I haven't tried to do it, but I imagine you could do some cool lens-like
> constructs with proper (ab)use of this feature.

Seems likely given that generalizing record update was the original impetus
for lenses. :)

brandon s allbery kf8nh                               sine nomine associates
allbery.b at                                  ballbery at
unix, openafs, kerberos, infrastructure, xmonad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the ghc-devs mailing list