Merge pull request #393 from frwdrik/patch-1

Fix docstring of add-clause-before
This commit is contained in:
Sean Corfield 2022-03-19 22:28:36 +00:00 committed by GitHub
commit fe17b51e9a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -67,7 +67,7 @@
(defn- add-clause-before
"Low-level helper just to insert a new clause.
If the clause is already in the list, remove it."
If the clause is already in the list, this moves it to the end."
[order clause before]
(let [clauses (set order)
order (if (contains? clauses clause)