fakir/examples/high_order.fk

4 lines
82 B
Plaintext
Raw Normal View History

2023-09-22 11:27:13 +00:00
($ add (-> (x) (+ 1 x)))
($ twice (-> (f x) (f (f x))))
(assert= 6 (twice add 4))