From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philipp Stephani Newsgroups: gmane.emacs.bugs Subject: bug#42147: 28.0.50; pure vs side-effect-free, missing optimizations? Date: Sat, 25 Jul 2020 23:39:05 +0200 Message-ID: References: <3A9CC2A3-8307-47B2-8D80-795C0AF020E1@acm.org> <0433A879-C98D-4B1A-B85C-A15DA9289099@acm.org> <1621669100.2102667.1593639091621@mail.yahoo.com> <33C2E2C8-16A6-47A9-B3A4-8A5F43648E04@acm.org> <51FE77F3-CA05-459A-9601-9E1EEBC1E2FE@acm.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8288"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= , Paul Eggert , Andrea Corallo , 42147@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jul 25 23:40:25 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jzRu5-00024d-H8 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 25 Jul 2020 23:40:25 +0200 Original-Received: from localhost ([::1]:51150 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jzRu4-0006nB-K3 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 25 Jul 2020 17:40:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34470) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jzRti-0006fF-SG for bug-gnu-emacs@gnu.org; Sat, 25 Jul 2020 17:40:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39735) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jzRti-00010V-I7 for bug-gnu-emacs@gnu.org; Sat, 25 Jul 2020 17:40:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jzRti-0004Th-FN for bug-gnu-emacs@gnu.org; Sat, 25 Jul 2020 17:40:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Philipp Stephani Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 25 Jul 2020 21:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42147 X-GNU-PR-Package: emacs Original-Received: via spool by 42147-submit@debbugs.gnu.org id=B42147.159571316517163 (code B ref 42147); Sat, 25 Jul 2020 21:40:02 +0000 Original-Received: (at 42147) by debbugs.gnu.org; 25 Jul 2020 21:39:25 +0000 Original-Received: from localhost ([127.0.0.1]:51281 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jzRt7-0004Sl-4O for submit@debbugs.gnu.org; Sat, 25 Jul 2020 17:39:25 -0400 Original-Received: from mail-ot1-f65.google.com ([209.85.210.65]:40267) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jzRt4-0004SX-HS for 42147@debbugs.gnu.org; Sat, 25 Jul 2020 17:39:23 -0400 Original-Received: by mail-ot1-f65.google.com with SMTP id c25so9639892otf.7 for <42147@debbugs.gnu.org>; Sat, 25 Jul 2020 14:39:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=33/9NFnKyM36ZdBctpAEvEBHkWNm/4ofh9SdZrC/yKk=; b=lsTuyzXxm4IlvMOQqv/y3xR4M5nRtTHYyvFQaJNGitoGOAz6elKw1XjZLKPbQU0Zp0 Grh9nd2RHAcQnu1qv6EwobH5ZbDbjB9ZtV7kYFitgFsvLIN9lJvryG+xm3n6FUM1ULL3 dQAMRHVgUzPgob8dkipls5UxfDpn2l/SISn7wgDWXGTi/aM12iOrZ7+ClY6Kj42x7zgL afeDPTaSkFHunu1eCy6N/rqSY+iTqHoXBmfTHc215yvY26Fk1Ba7lv7kTD5nVFYr6lS3 3pkax5v9l3cOHfNFrCM7W8PmMxSW5F6VdmMAEdCV416agLZF2GECNNaFIcYY0l3Tw77Q nuCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=33/9NFnKyM36ZdBctpAEvEBHkWNm/4ofh9SdZrC/yKk=; b=NM1xmY/hnGT15kdafTVcfqgMRjtr+wUFvogwxjKfJB9sF0qgle8q2I99hWrS3diAM8 fIb1Xg80epjCimbt7rxd9+k7/Opgv1RC2lRm166H5bLgkFNuVCRS9Zm/w5igFGNM7cJr 2oC0aKn1HWqUo52PEtwcN9XclNhQfQg6X2IP9boloUfDO9xJMGwrc8yaWHt54bOWl5qm r0KVNXQZnYhQWrtMeUi03ETlkhwTyV/jLrhvX2PHH3Ga1PFAeIoIkR1o+/m12B6VQm51 teb4G/HcbpIzDWXgIHJiiOpY/Gb3uKSqCKW73xwPKroHa05L73JsgrqDP7vMtuMYrNAK kE2A== X-Gm-Message-State: AOAM530ywo4jOnLEmOxDE6UlCLcl8fYG+ZNRJSgGmi14LU/f9W1GDH78 XVk+3f4jxYLZ2nYaPYnVbhy9AxtXIkshbZLPjYk= X-Google-Smtp-Source: ABdhPJx7rAzM/PAQ+hoFdvP3X+XXGFV64JAxdHI+JEkeGWzapWCGdeQ2LCYUB6ftyhj5HouwdHWdrzy37hGT3Gb9/BA= X-Received: by 2002:a9d:2203:: with SMTP id o3mr13648477ota.149.1595713156809; Sat, 25 Jul 2020 14:39:16 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:183555 Archived-At: Am Sa., 25. Juli 2020 um 23:29 Uhr schrieb Stefan Monnier : > > > There are also some functions declared 'pure' that appear to have side > > effects: kbd, package-get-version > > Which side-effects are you thinking of? > I wouldn't know about side effects, but `kbd' is definitely not pure by the "homomorphism w.r.t. eql" definition as it takes a string argument.