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 19:09:21 +0100

On Tue 17 Nov 2020 at 18:38, Michael Heerdegen <michael_heerdegen@web.de> wrote:
>> a test predicate usually takes at least one argument
>
> I do not speak about tests involving an argument but rather things like
> `something-is-the-case-but-it-takes-long-to-find-out-p' that are often
> comfortably defined as a thunk if the result may matter at several
> places.

interesting

i am struggling to imagine a use-case

why would you delay such boolean value in a thunk?

to avoid computing the value in case it is not used at all?

when something-is-the-case how can it take long to find out?  why it
cannot be substituted with t at think-time?



reply via email to

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