projects
/
jscl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'hashtables'
[jscl.git]
/
src
/
hash-table.lisp
diff --git
a/src/hash-table.lisp
b/src/hash-table.lisp
index
2488d1b
..
0641ca8
100644
(file)
--- a/
src/hash-table.lisp
+++ b/
src/hash-table.lisp
@@
-99,3
+99,10
@@
,g!new-value)
`(gethash ,g!new-value ,g!key ,g!hash-table) ; accessing form
)))
+
+
+(defun remhash (key hash-table)
+ (let ((obj (caddr hash-table))
+ (hash (funcall (cadr hash-table) key)))
+ (prog1 (in hash obj)
+ (delete-property hash obj))))