Hacker News new | ask | show | jobs
by kinduff 373 days ago
There is a filter for `createFilter` [1] and there is a throw if the index of the array doesn't exist for `createSelector` [2]. Maybe this is what the author refers to as hallucination-free, but falls pretty short.

[1]: https://github.com/montyanderson/incant/blob/master/mod.ts#L...

[2]: https://github.com/montyanderson/incant/blob/master/mod.ts#L...

1 comments

Yeah, so it's just guaranteeing that the output is a subset of the inputs, thanks for the clarification.