lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]



Haskell has a syntax for this:
http://www.haskell.org/ghc/docs/latest/html/users_guide/syntax-extns.html#record-puns

Clearly, Haskell is awesome :)

Thanks Isaac.

-Sven

PS: I'm not certain I like the name though.  "Record Puns" doesn't give you much clue about what the syntax does. But it's still good to know there is, in fact, a precedent.