shirok/Gauche — pull request #22 by rui314 (2013-10-19 03:03:40+00:00)
Title: Fix bug that topological-sort did not detect cycle

The previous implementation of cycle detection does not always work because
there's at least one node with no incoming edge does not mean that there's
no cycle in the graph.