Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
tel
on Jan 19, 2015
|
parent
|
context
|
favorite
| on:
I think I've solved the Haskell records problem
This would work but run a bit afoul of global instance canonicity.
evincarofautumn
on Jan 19, 2015
[–]
How so? I think they mean as a syntactic feature, not having parameterised modules.
eru
on Jan 20, 2015
|
parent
|
next
[–]
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.)
tel
on Jan 19, 2015
|
parent
|
prev
[–]
What happens if you define an instance inside of a nested module? When does it become available?
dllthomas
on Jan 19, 2015
|
root
|
parent
[–]
I'd like to just see a per-project uniqueness check on used instances.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: