News for hackers. Stuff that matters.
Re:I think I've solved the Haskell records problem by joelwilliamson on Sunday January 18, 2015 @10:28PM (#8910142)
recordval.fieldname would have the same syntax as function composition func1.func2

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.

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!
Re:I think I've solved the Haskell records problem by wcbeard10 on Sunday January 18, 2015 @10:33PM (#8910159)
That was my intuition as well, but doesn't seem to explain why we can still use the syntax with modules (i.e., Set.map), unless the capitalized module name makes all the difference.
Re:I think I've solved the Haskell records problem by jozefg on Sunday January 18, 2015 @10:37PM (#8910168)
It does, it's ambiguous to have `Constructor.fun` for this reason.