diff options
Diffstat (limited to 'symbol.lisp')
-rw-r--r-- | symbol.lisp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/symbol.lisp b/symbol.lisp new file mode 100644 index 0000000..3585976 --- /dev/null +++ b/symbol.lisp @@ -0,0 +1,9 @@ +(in-package #:symbol) + +(defun normalize (sym expression) + (nsubst-if sym + (lambda (x) + (and (symbolp x) + (string-equal (symbol-name x) + (symbol-name sym)))) + expression)) |