2 ms·
The problem with StrictData is that you need to convince every library in your dependency graph to switch to it, or provide strict versions of the data structur
by kccqzy 2y ago
The problem with StrictData is that you need to convince every library in your dependency graph to switch to it, or provide strict versions of the data structures. Common container types like Map and Set do this. Your typical library implementing a domain-specific functionality does not.
- tome 2y agoYup, that's right. Libraries can expose the wrong thing, or just space leak internally. Here's an example: https://github.com/mrkkrp/megaparsec/issues/486 https://github.com/mrkkrp/megaparsec/issues/486