Raymond Toy pushed to branch issue-240-set-diff-with-hash-table at cmucl / cmucl
Commits: bc7826a7 by Raymond Toy at 2023-06-19T14:26:19-07:00 Fix typo in set-difference
The early exist for when list2 is empty had a typo with `list` instead of `list2`.
- - - - -
1 changed file:
- src/code/list.lisp
Changes:
===================================== src/code/list.lisp ===================================== @@ -863,7 +863,7 @@ (if (and testp notp) (error "Test and test-not both supplied.")) ;; Quick exit - (when (null list) + (when (null list2) (return-from set-difference list1))
(multiple-value-bind (hashtable shorter-list)
View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/bc7826a734123f627eccc4ff...