Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 269 Bytes

force.md

File metadata and controls

10 lines (7 loc) · 269 Bytes

force

(force x)

The value of the delay x, running its body the first time; any other value is answered itself. As a value a one-argument function.

(println (force (delay (+ 1 2))) (force 5) (map force [(delay :a) :b])) ; 3 5 (:a :b)