c256a8a992
This commit consolidates `DefLocal` and `DefGlobal` into a single `Define` bound kind. This simplifies the AST and makes it more consistent. It also introduces `DeclarationKind` to differentiate between variable and parameter definitions.
14 lines
251 B
Plaintext
14 lines
251 B
Plaintext
;; Benchmark: 962ns
|
|
;; Benchmark-Repeat: 2089
|
|
(do
|
|
(def pipe (fn [conf]
|
|
(do
|
|
(def [str s] conf)
|
|
(def [f ss] s)
|
|
["Symbol:" str "field:" f "id:" ss]
|
|
)
|
|
)
|
|
)
|
|
|
|
(pipe ["btc" [:close "cls"]])
|
|
) |