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?


> 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.

Continue reading with meaning 2:   "Later generalized into: an expression,
frozen together with its environment, for later evaluation if and when
needed (similar to what in techspeak is called a `closure'). The process
of unfreezing these thunks is called `forcing'."

In other words:  a procedure that takes no arguments.

	--Per Bothner
Cygnus Solutions     bothner@cygnus.com     http://www.cygnus.com/~bothner