We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Potentially lots of useful information can be given with a fail node.
Simple pattern comprehensiveness warnings can be given, for example
(match [x] [1] 1)
This pattern matrix can fall through.
Might give warning:
Warning: Non-comprehensive pattern matrix
Done
If a fail node is reached, could report on how the match got to that point.
(let [x 1 y 2 z 3] (match [x y z] [1 3 3] 1))
Could give error:
No match found: No match for {y 3}, successful matches: {x 1, z 3}
Decent messages for Seq patterns that are gensymed will be more challenging.
Some useful information to report:
cond
It would be useful to show the origin of the expanded occurances in error messages.
This would make following long lists easier, for example.