help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Too many permutations computed


From: tpeplt
Subject: Re: Too many permutations computed
Date: Fri, 04 Aug 2023 17:45:26 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)

Emanuel Berg <incal@dataswamp.org> writes:

> tpeplt wrote:
>
>> (if (evenp h) [...]
>
> Maybe that is a local function?
>
> But if you replace that with
>
>   (zerop (/ h 2))
>
> it works as you say.

‘evenp’ is a local function?

C-h f evenp =>

evenp is an alias for ‘cl-evenp’ in ‘cl.el’.

(evenp INTEGER)

Return t if INTEGER is even.

  This function is obsolete since 27.1;
  use ‘cl-evenp’ instead.
  This function does not change global state, including the match data.

--



reply via email to

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