summaryrefslogtreecommitdiff
path: root/core.fnl
diff options
context:
space:
mode:
authorAndrey Orst <andreyorst@gmail.com>2020-10-30 22:06:00 +0300
committerAndrey Orst <andreyorst@gmail.com>2020-10-30 22:06:00 +0300
commit7f006094a4a82cc267e687d040c15b59b149415c (patch)
tree3d9b9a2ae62605d347e48b77370b4d421cd48405 /core.fnl
parentfe9c621140eedabecee11d6ff29f7e63fa747e15 (diff)
fix(core): add docstrings and improve tests
Also add editorconfig script
Diffstat (limited to 'core.fnl')
-rw-r--r--core.fnl4
1 files changed, 2 insertions, 2 deletions
diff --git a/core.fnl b/core.fnl
index 9f6f5aa..e004d72 100644
--- a/core.fnl
+++ b/core.fnl
@@ -380,8 +380,8 @@ oppisite truth value."
(when-some [tbl (seq tbl)]
(reduce -consj [] tbl)))
-(fn& core.inc [x] (+ x 1))
-(fn& core.dec [x] (- x 1))
+(fn* core.inc "Increase number by one" [x] (+ x 1))
+(fn* core.dec "Decrease number by one" [x] (- x 1))
(fn* core.assoc
"Associate key `k' with value `v' in `tbl'."