We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Syntactic sugar for (lambda () ...). It creates a function of no arguments from the expressions.
(def x (cell 0)) (def incrementer (thunk x.inc! (say x.get))) (incrementer) ; 1 (incrementer) ; 2 (incrementer) ; 3