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: Tue, 17 Nov 2020 18:08:26 +0100

On Tue 17 Nov 2020 at 16:17, Michael Heerdegen <michael_heerdegen@web.de> wrote:
> thunks are functions.

thunks take no arguments (at least the definition i know)

> The background: because thunks are functions, one is allowed (and it is
> useful) to directly pass them to higher order functions e.g. as a test
> predicate,

a test predicate usually takes at least one argument

thus a thunk cannot be used as a test predicate



reply via email to

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