emacs-devel
[Top][All Lists]
Advanced

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

Re: master 0cbcc62: 'assoc' is not side-effect-free; constprop its pure


From: Andrea Corallo
Subject: Re: master 0cbcc62: 'assoc' is not side-effect-free; constprop its pure subset
Date: Sun, 01 Nov 2020 09:47:04 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Mattias Engdegård <mattiase@acm.org> writes:

> 31 okt. 2020 kl. 16.06 skrev Stefan Monnier <monnier@iro.umontreal.ca>:
>
>> Oh, indeed: nasty.  `assoc` *was* side-effect-free until it grew its new
>> `testfn` argument.
>
> We do have a number of functions that are pure or side-effect-free
> unless given certain arguments. I suppose we could design a system
> that encompasses these cases. Certainly wouldn't mind algebraic effect
> types!

Hi Mattias,

just ot mention, would be nice if we design this to be accessible so we
can use it in the native compiler as well maintaining it just in one
place.

  Andrea



reply via email to

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