diff options
| author | Syndamia <kamen@syndamia.com> | 2022-12-06 11:48:20 +0200 |
|---|---|---|
| committer | Syndamia <kamen@syndamia.com> | 2022-12-06 11:48:20 +0200 |
| commit | 59eec134ac0fc3cb3ab7ecfd32b0be006d346591 (patch) | |
| tree | 87fbb05a27285b6f6aaf267c09109102fa33a534 /src | |
| parent | 5d8fe8033f493c2df59f75ac862b725b8a244d78 (diff) | |
| download | senzill-0.1.tar senzill-0.1.tar.gz senzill-0.1.zip | |
[asd] Fixed packages configurationv0.1
Diffstat (limited to 'src')
| -rw-r--r-- | src/math.lisp | 4 | ||||
| -rw-r--r-- | src/packages.lisp | 21 |
2 files changed, 23 insertions, 2 deletions
diff --git a/src/math.lisp b/src/math.lisp index 832c87c..89ccb0a 100644 --- a/src/math.lisp +++ b/src/math.lisp @@ -12,7 +12,7 @@ "Sums all numbers and stores result in name (first argument)" `(op= '+ ,value ,@numbers)) -(defmacro ++_ (value) +(defmacro ++1 (value) "Adds increments value by one" `(+= ,value 1)) @@ -24,7 +24,7 @@ "Decrements value by one" `(-= ,value 1)) -(defmacro /= (value &rest numbers) +(defmacro //= (value &rest numbers) "Divides all numbers and stores result in name (first argument)" `(op= '/ ,value ,@numbers)) diff --git a/src/packages.lisp b/src/packages.lisp new file mode 100644 index 0000000..441101d --- /dev/null +++ b/src/packages.lisp @@ -0,0 +1,21 @@ +(in-package :cl) + +(defpackage senzill.math + (:use :cl) + (:export :% + :+= + :++1 + :-= + :-- + ://= + :*= + :^ + :avg) + (:documentation "Math functions")) + +(defpackage senzill.collections + (:use :cl) + (:export :push-back + :pop-back + :slice) + (:documentation "List functions")) |
