Files
RustAst/examples/tuple-struct.myc
T
Michael Schimmel c256a8a992 Refactor: Use generic Define bound kind
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.
2026-02-25 10:45:36 +01:00

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"]])
)