summaryrefslogtreecommitdiff
path: root/doc/macros.md
diff options
context:
space:
mode:
authorAndrey Listopadov <andreyorst@gmail.com>2022-09-07 22:50:27 +0300
committerAndrey Listopadov <andreyorst@gmail.com>2022-09-07 22:50:27 +0300
commit75a3214d5b04cbd3ca4ca1ce2f07d9ea0da952b1 (patch)
tree38008494c68824ebca42e73b4c53a66fa88183f9 /doc/macros.md
parent825cd9f936a8890d3ccb1719173af76b9b4e161a (diff)
update docs
Diffstat (limited to 'doc/macros.md')
-rw-r--r--doc/macros.md8
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/macros.md b/doc/macros.md
index bac17f9..6e93a10 100644
--- a/doc/macros.md
+++ b/doc/macros.md
@@ -35,10 +35,12 @@ Function signature:
Function signature:
```
-(def ...)
+(def ([name initializer]) ([meta name initializer]))
```
-**Undocumented**
+Name binding macro similar to `local` but acts in terms of current
+namespace set with the `ns` macro, unless `:private` was passed before
+the binding name.
## `defmethod`
Function signature:
@@ -294,7 +296,7 @@ Function signature:
(ns name commentary requirements)
```
-**Undocumented**
+Namespace declaration macro.
## `time`
Function signature: