Skip to content(if available)orjump to list(if available)

Incant – add magic spells to your code

marcus_holmes

I'm curious how the hallucination-free guarantee works? Does it only guarantee that the output is a subset of the input?

In the case of the male names, if I include a gender-neutral name like "Sam" does that include it because it is a male name, or exclude it because it is a female name? Can I set this to be inclusive or exclusive?

Looks interesting, though. Nice work.

kinduff

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...

marcus_holmes

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