4 ms·
This would work but run a bit afoul of global instance canonicity.
by tel 12y ago
This would work but run a bit afoul of global instance canonicity.
- evincarofautumn 12y agoHow so? I think they mean as a syntactic feature, not having parameterised modules.
- tel 12y agoWhat happens if you define an instance inside of a nested module? When does it become available?
- dllthomas 12y agoI'd like to just see a per-project uniqueness check on used instances.
- eru 12y agoYes, 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.)