Re:I think I've solved the Haskell records problem
by yummyfajitas on Sunday January 18, 2015 @10:41PM
(#8910172)
One could simply choose an alternate symbol, e.g. record~>fieldname (which is similar to C++). I admit choosing a symbol in Haskell is a bit harder, since most of the easy ones are already taken.
Re:I think I've solved the Haskell records problem
by chongli on Monday January 19, 2015 @04:31AM
(#8911131)
Yes and Haskell allows arbitrary user-defined operators. Once the genie is out of that bottle it's hard to put it back inside!
Since you should know the type of the first argument to '.', it is possible to disambiguate, but it would be a pretty significant corner case in the grammar.