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]

Re: what does 'thunk' mean?


On Fri, Jan 29, 1999 at 12:49:05PM +0100, Klaus Schilling wrote:
 
> In the guile docs, thunk is used to denote a procedure that takes no 
> arguments.

My recollection of a thunk from _Scheme and the Art of Programming_ is
that a thunk is a procedure that is called for effect only (no return
value).  You mean guile uses the term differently? 

http://www.netmeg.net/jargon/terms/t/thunk.html

seems to support this, as it claims that a thunk is a procedure (that does
accept args) that instead of returning a value will place it in a known
location in memory.

-- 
Peter C. Norton                      Time comes into it. / Say it.  Say it.
spacey@pobox.com                   | The Universe is made of stories,  
http://spacey.static.inch.com      | not of atoms. 
                                   |
                                     Muriel Rukeyser "The Speed of Darkness"