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: Alfred M. Szmidt
Subject: Re: thunk.el: Document that thunk-force == funcall?
Date: Wed, 18 Nov 2020 04:04:23 -0500

   > 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

And returns a value -- something which thunks also do not.

   thus a thunk cannot be used as a test predicate





reply via email to

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