File tree 1 file changed +0
-11
lines changed
1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change 22
22
# :cst-source-range ; FUNCTION
23
23
# :literal-value ; TYPE
24
24
# :literal-equal ; FUNCTION
25
- # :maphash-values-new ; FUNCTION
26
25
# :take ; FUNCTION
27
26
# :drop ; FUNCTION
28
27
# :find-package ; FUNCTION
141
140
#+ sbcl (declare (sb-ext :muffle-conditions sb-ext :code-deletion-note))
142
141
(coalton-bug " This error was expected to be unreachable in the Coalton source code." )))
143
142
144
- (defun maphash-values-new (function table)
145
- " Map across the values of a hash-table. Returns a new hash-table with unchanged keys."
146
- (declare (type function function)
147
- (type hash-table table))
148
- (let ((new (make-hash-table )))
149
- (loop :for k :being :the :hash-keys :of table
150
- :for v :being :the :hash-values :of table
151
- :do (setf (gethash k new) (funcall function v)))
152
- new))
153
-
154
143
(defun required (name)
155
144
" A function to call as a slot initializer when it's required."
156
145
(declare (type symbol name))
You can’t perform that action at this time.
0 commit comments