Skip to content

Commit 6be5453

Browse files
committed
negative_sets: improve desc. of map-remove-right
1 parent fd6db8a commit 6be5453

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/math/sets/negative_sets.clj

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,9 @@
205205

206206
;; ## Implementation of Set Operations
207207

208-
;; Define a bonus operation: map-remove with the arguments flipped. As shown in
209-
;; the table, this is needed for the negative-negative case of difference:
208+
;; Define a bonus operation: `map-remove-right` which is just `map-remove` with
209+
;; the arguments flipped. As shown in the table, this is needed once per set
210+
;; operation:
210211
(defn map-remove-right
211212
"Remove B's keys that are also in A."
212213
[a b]

0 commit comments

Comments
 (0)