1
1
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:
Rob Rix 2018-06-25 15:52:27 -04:00
parent 1ac4b8d006
commit abc872af86

View File

@ -28,7 +28,7 @@ simplify :: Ord vertex => Graph vertex -> Graph vertex
simplify (Graph graph) = Graph (G.simplify graph)
-- | Sort a graphs vertices by the number of in-edges.
-- | Sort a graphs vertices topologically.
--
-- >>> topologicalSort (Class.path "ab")
-- ['b' :| "",'a' :| ""]