diff options
| author | Syndamia <kamen@syndamia.com> | 2022-12-07 18:22:43 +0200 |
|---|---|---|
| committer | Syndamia <kamen@syndamia.com> | 2022-12-07 18:22:43 +0200 |
| commit | afb024163e4fee81a6a6af903abcbae2de82f2d3 (patch) | |
| tree | b292c81db20c1e91bea92f96b91b2da6d686c00f | |
| parent | c305c5979e77184276dbcd691e1b8bc5772130d2 (diff) | |
| download | senzill-afb024163e4fee81a6a6af903abcbae2de82f2d3.tar senzill-afb024163e4fee81a6a6af903abcbae2de82f2d3.tar.gz senzill-afb024163e4fee81a6a6af903abcbae2de82f2d3.zip | |
[math] Updated op= to use funcall instead of apply
| -rw-r--r-- | src/math.lisp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math.lisp b/src/math.lisp index 89ccb0a..39eaa6c 100644 --- a/src/math.lisp +++ b/src/math.lisp @@ -6,7 +6,7 @@ (defmacro op= (operation value &rest others) "Executes operation on all values and stores result in first argument" - `(setf ,value (apply ,operation ,value ',others))) + `(setf ,value (funcall ,operation ,value ,@others))) (defmacro += (value &rest numbers) "Sums all numbers and stores result in name (first argument)" |
