diff options
author | Juan Manuel Tomás <jtomas1815@gmail.com> | 2025-06-23 02:23:36 -0300 |
---|---|---|
committer | Juan Manuel Tomás <jtomas1815@gmail.com> | 2025-06-23 02:23:36 -0300 |
commit | 97f8b6d2a990fe2e93704460fcdf08701616d7e4 (patch) | |
tree | dec4638301655b0f6a7dea9ed8765a02f1eb94e2 /symbol.lisp | |
parent | bb4b2bc484ed1d827d707a5a50b234d6994af90c (diff) | |
download | utils-97f8b6d2a990fe2e93704460fcdf08701616d7e4.tar.gz utils-97f8b6d2a990fe2e93704460fcdf08701616d7e4.zip |
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)) |