[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Elisp function that performs numeric computations
From: |
Sergey Organov |
Subject: |
Re: Elisp function that performs numeric computations |
Date: |
Fri, 21 Jan 2022 20:13:19 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Emanuel Berg via Users list for the GNU Emacs text editor
<help-gnu-emacs@gnu.org> writes:
> Sergey Organov wrote:
>
>>> (defun organov (dep top rep)
>>> (if (<= dep top)
>>> dep
>>> (+ rep
>>> (mod (1- (- dep top))
>>> (1+ (- top rep)) ))))
>>
>> Nice, thanks! Didn't know me could be cut to such a brief
>> definition though :)
>
> Heh, but here it actually becomes longer than yours!
Heh, but mine has not been called "organov", so it didn't cut *me*, and
then yours did, and now I'm sitting here feeling being much shorter than
I was only yesterday :)
-- Sergey Organov
- Elisp function that performs numeric computations, fatiparty, 2022/01/19
- Message not available
- Elisp function that performs numeric computations, fatiparty, 2022/01/19
- Re: Elisp function that performs numeric computations, tomas, 2022/01/19
- Re: Elisp function that performs numeric computations, Marcin Borkowski, 2022/01/19
- Elisp function that performs numeric computations, fatiparty, 2022/01/19
- Re: Elisp function that performs numeric computations, Sergey Organov, 2022/01/20
- Elisp function that performs numeric computations, fatiparty, 2022/01/21
- Re: Elisp function that performs numeric computations, Emanuel Berg, 2022/01/21
- Re: Elisp function that performs numeric computations, Sergey Organov, 2022/01/21
- Re: Elisp function that performs numeric computations, Emanuel Berg, 2022/01/21
- Re: Elisp function that performs numeric computations,
Sergey Organov <=
- Elisp function that performs numeric computations, fatiparty, 2022/01/21
- Re: Elisp function that performs numeric computations, Emanuel Berg, 2022/01/21
- Elisp function that performs numeric computations, fatiparty, 2022/01/21
- Message not available
- Elisp function that performs numeric computations, fatiparty, 2022/01/20
- Re: Elisp function that performs numeric computations, Manuel Giraud, 2022/01/19
- Re: Elisp function that performs numeric computations, Eduardo Ochs, 2022/01/19
Re: Elisp function that performs numeric computations, Michael Heerdegen, 2022/01/19