[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#17623: 24.4.50; incorrect example for `apply-partially' in (elisp) `
From: |
Eli Zaretskii |
Subject: |
bug#17623: 24.4.50; incorrect example for `apply-partially' in (elisp) `Calling Functions' |
Date: |
Sat, 28 Jun 2014 19:55:10 +0300 |
> From: Michael Heerdegen <michael_heerdegen@web.de>
> Date: Sat, 28 Jun 2014 17:53:15 +0200
> Cc: 17623@debbugs.gnu.org
>
> BTW, the second sentence here from (info "(elisp) Calling Functions") is
> confusing too wrt what it says about arguments.
>
> ,----------------------------------------------------------------------
> | The act of fixing some of the function’s arguments is
> | called "partial application" of the function(1). The result is a new
> | function that accepts the rest of arguments and calls the original
> | function with all the arguments combined.
> `----------------------------------------------------------------------
>
> IMHO we should be more clearer about arguments, but then we can keep the
> 1+ example. I think it would be more important to say that
> `apply-partially` is most useful in combination with functionals, as it
> is explained later on that info page. That the result accepts any
> number of arguments is more kind of an implementation detail.
Sorry, I don't understand this critique. Perhaps if you suggested an
alternative wording, it would become clear what is it that confused
you about the current text.
Thanks.
- bug#17623: 24.4.50; incorrect example for `apply-partially' in (elisp) `Calling Functions', Michael Heerdegen, 2014/06/27
- bug#17623: 24.4.50; incorrect example for `apply-partially' in (elisp) `Calling Functions', Drew Adams, 2014/06/27
- bug#17623: 24.4.50; incorrect example for `apply-partially' in (elisp) `Calling Functions', Michael Heerdegen, 2014/06/28
- bug#17623: 24.4.50; incorrect example for `apply-partially' in (elisp) `Calling Functions',
Eli Zaretskii <=
- bug#17623: 24.4.50; incorrect example for `apply-partially' in (elisp) `Calling Functions', Michael Heerdegen, 2014/06/28
- bug#17623: 24.4.50; incorrect example for `apply-partially' in (elisp) `Calling Functions', Eli Zaretskii, 2014/06/28
- bug#17623: 24.4.50; incorrect example for `apply-partially' in (elisp) `Calling Functions', Drew Adams, 2014/06/28
- bug#17623: 24.4.50; incorrect example for `apply-partially' in (elisp) `Calling Functions', Michael Heerdegen, 2014/06/28
- bug#17623: 24.4.50; incorrect example for `apply-partially' in (elisp) `Calling Functions', Eli Zaretskii, 2014/06/29
- bug#17623: 24.4.50; incorrect example for `apply-partially' in (elisp) `Calling Functions', Stefan Monnier, 2014/06/29