Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
`topSort` doesn't know that the result of `scc` has no cycles #152
A mild annoyance. Often you want to topologically sort your SCCs after condensing them. Indeed, part of the point is to get rid of cycles so your topological sort is well-defined!
changed the title
`topoSort` doesn't know that the result of `scc` has no cycles
Nov 30, 2018
Although heavyweight, phantom type parameters can bring other benefits too. We could use them for capturing all these graph variations in a uniform way:
So, in principle I'm ready to consider phantom types as a possible solution.
referenced this issue
Dec 4, 2018
@chessai Thanks, indeed!