This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

what does 'thunk' mean?



In the guile docs, thunk is used to denote a procedure that takes no 
arguments.

Some books use thunks for that what we call promise, rationalizing that 
originally thunk is a fancy past participle of think (like drink-drunk),
because when a promise is forced, it has been already thought about.
Others believe that 'thunk' emulates the noise that old computers made
when pushing a procedure on a stack.
Yet others mention that it abbreviates 'THe-fUNCtion'.
Anyone here know it better?
--
Klaus Schilling