emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: thunk.el: Document that thunk-force == funcall?


From: Tomas Hlavaty
Subject: Re: thunk.el: Document that thunk-force == funcall?
Date: Wed, 18 Nov 2020 23:21:24 +0100

On Wed 18 Nov 2020 at 04:04, "Alfred M. Szmidt" <ams@gnu.org> wrote:
>    a test predicate usually takes at least one argument
>
> And returns a value -- something which thunks also do not.

that doesn't seem right, thunks can and do return value:

https://en.wikipedia.org/wiki/Thunk

   Thunks are primarily used to delay a calculation until its result is
   needed, or to insert operations at the beginning or end of the other
   subroutine. They have many other applications in compiler code
   generation and modular programming.

   The term originated as a humorous, incorrect, past participle of
   "think". That is, a "thunk value" becomes available after its
   calculation routine is thought through, or executed.[1]



reply via email to

[Prev in Thread] Current Thread [Next in Thread]