Skip to content

Commit 0c32608

Browse files
committed
metadata wip
1 parent ac501f4 commit 0c32608

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

content/reference/metadata.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,10 @@ Modify or reset the metadata respectively for a namespace/var/ref/agent/atom.
8282
In addition to with-meta, there are a number of reader macros (<<reader#macrochars,The Reader: Macro Characters>>) for applying metadata to the expression following it at read-time:
8383

8484
* `^{:doc "How it works!"}` - adds the metadata map to the metadata of the next value read
85-
* `^:dynamic` - like `^{:dynamic true}`
85+
* `^:keyword` - adds the metdata `^{:dynamic true}`
8686
* `^String` - like `^{:tag java.lang.String}`
8787
* `^"java.lang.String"` - like `^{:tag java.lang.String}`
88+
* `^[String long _]` - like `^{:arg-tags [String long _]}`
8889

8990
The `:tag` key is used to hint an objects type to the Clojure compiler. See <<java_interop#typehints,Java Interop: Type Hints>> for more information and a complete list of special type hints.
9091

0 commit comments

Comments
 (0)