Files
RustAst/examples/hof.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

11 lines
191 B
Plaintext

;; Higher-Order Function Example
;; Benchmark: 86ns
;; Benchmark-Repeat: 23023
;; Output: 25
(do
(def apply (fn [f x] (f x)))
(def square (fn [x] (* x x)))
(apply square 5)
)