Files
RustAst/examples/hof.myc
T
Michael Schimmel 096f166153 Update benchmark numbers
These changes update the benchmark numbers and repeat counts in the
example files. The benchmark results have slightly varied, and these
updates reflect the most recent measurements.
2026-02-28 16:02:38 +01:00

11 lines
191 B
Plaintext

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