Affects Version/s: None
Fix Version/s: None
While working on a project I found a somewhat strange behaviour. I reworked the problem in some simple predicate. Let's take this predicate foobad.
When running (l/run* [?f] (foobad 0)) it produces this error:
#<Error: No protocol method ISeqable.-seq defined for type number: 0>
Because 0 is not an instance of Array it should not be entering that conde clause where it tries (seq 0).
With this workaround we get a normal behaviour:
Running (l/run* [?f] (foo 0)) gives us (), which is what we expect.
While 0 is clearly not an instance of Array that conde clause is still executed resulting in previous error.