Summary Files Commits Branches @commit @diff @stats
path: root / src
diff options
context:
space:
mode:
Commit59eec134ac0fc3cb3ab7ecfd32b0be006d346591 (patch)
Author
 Syndamia <kamen@syndamia.com>
2022-12-06 11:48:20 +0200
Committer
 Syndamia <kamen@syndamia.com>
2022-12-06 11:48:20 +0200
Files87fbb05a27285b6f6aaf267c09109102fa33a534 /src
senzill-59eec134ac0fc3cb3ab7ecfd32b0be006d346591.tar
senzill-59eec134ac0fc3cb3ab7ecfd32b0be006d346591.tar.gz
senzill-59eec134ac0fc3cb3ab7ecfd32b0be006d346591.zip
Parent5d8fe8033f493c2df59f75ac862b725b8a244d78 (diff)
[asd] Fixed packages configuration v0.1
2 files changed, 23 insertions, 2 deletions
-rw-r--r--src/math.lisp4
-rw-r--r--src/packages.lisp21
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"))