Files
RustAst/examples/currying.myc
T
2026-02-22 00:43:39 +01:00

8 lines
145 B
Plaintext

;; Benchmark: 1.1us
;; Benchmark-Repeat: 1814
;; Output: 42
(do
(def f (fn [a] (fn [b] (fn [c] (+ a (+ b c))))))
(((f 10) 12) 20)
)