News for hackers. Stuff that matters.
Re:I think I've solved the Haskell records problem by tel on Monday January 19, 2015 @07:40AM (#8911628)
This would work but run a bit afoul of global instance canonicity.
Re:I think I've solved the Haskell records problem by evincarofautumn on Monday January 19, 2015 @08:36AM (#8911837)
How so? I think they mean as a syntactic feature, not having parameterised modules.
Re:I think I've solved the Haskell records problem by eru on Monday January 19, 2015 @07:48PM (#8914913)
Yes, just a syntactic feature, as transparent sugar standing in for an extra file. (Though I haven't thought the whole thing through more than that.)
Re:I think I've solved the Haskell records problem by tel on Monday January 19, 2015 @09:17AM (#8911965)
What happens if you define an instance inside of a nested module? When does it become available?
Re:I think I've solved the Haskell records problem by dllthomas on Monday January 19, 2015 @01:06PM (#8913056)
I'd like to just see a per-project uniqueness check on used instances.