Files
RustAst/examples/closure.myc
Michael Schimmel d1b8d03604 Update benchmark and repeat counts
This commit updates the benchmark and repeat counts for various example
files. These changes reflect potential performance improvements or
variations observed during testing.
2026-03-03 18:55:31 +01:00

13 lines
193 B
Plaintext

;; Closure Scope Test
;; Benchmark: 416ns
;; Benchmark-Repeat: 4848
;; Output: 15
(do
(def make-adder (fn [x]
(fn [y] (+ x y))))
(def add5 (make-adder 5))
(add5 10)
)