096f166153
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.
11 lines
191 B
Plaintext
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)
|
|
)
|