all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andrea Corallo via "Emacs development discussions." <emacs-devel@gnu.org>
To: "Mattias Engdegård" <mattiase@acm.org>
Cc: Stefan Monnier <monnier@iro.umontreal.ca>,  emacs-devel@gnu.org
Subject: Re: master 0cbcc62: 'assoc' is not side-effect-free; constprop its pure subset
Date: Sun, 01 Nov 2020 09:47:04 +0000	[thread overview]
Message-ID: <xjfmu01flyf.fsf@sdf.org> (raw)
In-Reply-To: <AC6F3AD5-96E4-4210-ADC8-02B1CEA597C4@acm.org> ("Mattias Engdegård"'s message of "Sun, 1 Nov 2020 10:39:33 +0100")

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	other threads:[~2020-11-01  9:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20201031133156.28415.87445@vcs0.savannah.gnu.org>
     [not found] ` <20201031133158.04C1220A1C@vcs0.savannah.gnu.org>
2020-10-31 15:06   ` master 0cbcc62: 'assoc' is not side-effect-free; constprop its pure subset Stefan Monnier
2020-11-01  9:39     ` Mattias Engdegård
2020-11-01  9:47       ` Andrea Corallo via Emacs development discussions. [this message]
2020-11-01 12:56         ` Mattias Engdegård
2020-11-01 14:07           ` Stefan Monnier
2020-11-02  5:40             ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=xjfmu01flyf.fsf@sdf.org \
    --to=emacs-devel@gnu.org \
    --cc=akrl@sdf.org \
    --cc=mattiase@acm.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.