d4ba6547d8a1

Fix up docstring
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Sat, 26 Mar 2016 19:21:05 +0000
parents fcec9e0c9c67
children a9bdea1a9564
branches/tags (none)
files src/wam/topological-sort.lisp

Changes

--- a/src/wam/topological-sort.lisp	Sat Mar 26 19:19:07 2016 +0000
+++ b/src/wam/topological-sort.lisp	Sat Mar 26 19:21:05 2016 +0000
@@ -9,11 +9,10 @@
 
   `elements` should be a sequence of elements to be sorted.
 
-  `constraints` should be a list of `(element . element)` conses where
-  `(foo . bar)` means that element `foo` must precede `bar` in the result.
+  `constraints` should be a list of `(key . key)` conses where `(foo . bar)`
+  means element `foo` must precede `bar` in the result.
 
-  `key` will be used to turn items in `elements` into the items in
-  `constraints`.
+  `key` will be used to turn items in `elements` into the keys in `constraints`.
 
   `key-test` is the equality predicate for keys.