sjl/cl-digraph

Suggest that topological-sort signal a meaningful condition.

psilord opened this issue · 4 comments

Could you add a meaningful and real condition for when the topological-sort fails when it detects a cycle such that it tells me the cycle it found in the condition?

Currently, I have to check for the ERROR condition and that contains all kinds of other things that could have happened during execution and is much larger of a domain that just a cycle.

Thank you!

Looks great thank you!

I believe the documentation might be wrong. The name of the condition is digraph:topological-sort-cycle not digraph:topological-sort-cycle-error.

sjl commented

Fixed docs example in 133aae8