projects
/
jscl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c88585
)
Fix INTERN
author
David Vazquez
<davazp@gmail.com>
Mon, 17 Dec 2012 18:37:22 +0000
(18:37 +0000)
committer
David Vazquez
<davazp@gmail.com>
Mon, 17 Dec 2012 18:37:22 +0000
(18:37 +0000)
test.lisp
patch
|
blob
|
history
diff --git
a/test.lisp
b/test.lisp
index
20edcbf
..
0529823
100644
(file)
--- a/
test.lisp
+++ b/
test.lisp
@@
-55,7
+55,10
@@
(defvar *package* (new))
(defun intern (name)
- (set *package* name (make-symbol name)))
+ (let ((s (get *package* name)))
+ (if s
+ s
+ (set *package* name (make-symbol name)))))
(defun find-symbol (name)
(get *package* name))