summaryrefslogtreecommitdiff
path: root/doc/cljlib.md
diff options
context:
space:
mode:
authorAndrey Orst <andreyorst@gmail.com>2020-11-17 20:43:37 +0300
committerAndrey Orst <andreyorst@gmail.com>2020-11-17 20:43:37 +0300
commit8a136eaa444f4569fced95fb175ca41b1e8e9b94 (patch)
tree65a3b02ff65150cb2f2e5656b98ab832be39f421 /doc/cljlib.md
parent5753537138f6a0c71ddb6a8d9770b7cb13c1bd3f (diff)
feature: major overhaul of documentation, and some housekeeping
- remove(macros): `fn+` as it seem impractical, and `fn*` can be used instead - rename(def, defonce): `:dynamic` to `:mutable` as dynamic implies dynamic scoping which is not feature of Lua. - doc: generated documentation for macro module.
Diffstat (limited to 'doc/cljlib.md')
-rw-r--r--doc/cljlib.md8
1 files changed, 3 insertions, 5 deletions
diff --git a/doc/cljlib.md b/doc/cljlib.md
index 34e764e..1bf82ac 100644
--- a/doc/cljlib.md
+++ b/doc/cljlib.md
@@ -17,7 +17,7 @@ This example is mapping an anonymous `function` over a table,
producing new table and concatenating it with `" "`.
However this library also provides Fennel-specific set of
-[macros](./cljlib-macros.md), that provides additional facilites like
+[macros](./cljlib-macros.md), that provides additional facilities like
`fn*` or `defmulti` which extend the language allowing writing code
that looks and works mostly like Clojure.
@@ -31,7 +31,7 @@ brackets).
Functions, which signatures look like `(foo ([x]) ([x y]) ([x y &
zs]))`, it is a multi-arity function, which accepts either one, two,
or three-or-more arguments. Each `([...])` represents different body
-of a function which is choosed by checking amount of arguments passed
+of a function which is chosen by checking amount of arguments passed
to the function. See [Clojure's doc section on multi-arity
functions](https://clojure.org/guides/learn/functions#_multi_arity_functions).
@@ -128,7 +128,7 @@ Function signature:
```
Apply `f` to the argument list formed by prepending intervening
-arguments to `args`, adn `f` must support variadic amount of
+arguments to `args`, and `f` must support variadic amount of
arguments.
### Examples
@@ -756,8 +756,6 @@ Reduce sequence of numbers with [`add`](#add)
;; => 20
```
-
-
## `reduce-kv`
Function signature: