mirror of
https://github.com/github/semantic.git
synced 2024-12-20 05:11:44 +03:00
Correct the docs for topologicalSort.
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
This commit is contained in:
parent
1ac4b8d006
commit
abc872af86
@ -28,7 +28,7 @@ simplify :: Ord vertex => Graph vertex -> Graph vertex
|
||||
simplify (Graph graph) = Graph (G.simplify graph)
|
||||
|
||||
|
||||
-- | Sort a graph’s vertices by the number of in-edges.
|
||||
-- | Sort a graph’s vertices topologically.
|
||||
--
|
||||
-- >>> topologicalSort (Class.path "ab")
|
||||
-- ['b' :| "",'a' :| ""]
|
||||
|
Loading…
Reference in New Issue
Block a user