From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Mark Oteiza Newsgroups: gmane.emacs.devel Subject: Re: pure-fns in byte-opt.el Date: Tue, 25 Jul 2017 21:00:00 -0400 Message-ID: <20170726010000.GA14292@holos.localdomain> References: <20170725020650.GA12601@holos.localdomain> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed X-Trace: blaine.gmane.org 1501030847 31192 195.159.176.226 (26 Jul 2017 01:00:47 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 26 Jul 2017 01:00:47 +0000 (UTC) User-Agent: Mutt/1.8.3 (2017-05-23) Cc: emacs-devel@gnu.org To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 26 03:00:40 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1daAgp-0007hI-7S for ged-emacs-devel@m.gmane.org; Wed, 26 Jul 2017 03:00:39 +0200 Original-Received: from localhost ([::1]:35215 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1daAgu-0005E0-Na for ged-emacs-devel@m.gmane.org; Tue, 25 Jul 2017 21:00:44 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50453) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1daAgJ-0005CV-SE for emacs-devel@gnu.org; Tue, 25 Jul 2017 21:00:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1daAgG-0006sV-SR for emacs-devel@gnu.org; Tue, 25 Jul 2017 21:00:07 -0400 Original-Received: from mail-qk0-x22f.google.com ([2607:f8b0:400d:c09::22f]:33127) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1daAgG-0006og-Kh for emacs-devel@gnu.org; Tue, 25 Jul 2017 21:00:04 -0400 Original-Received: by mail-qk0-x22f.google.com with SMTP id k2so40074707qkf.0 for ; Tue, 25 Jul 2017 18:00:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=udel-edu.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=KyfJIQCouBVOCPON2uIwwskLGmgLUbABbVWfmzlwK3A=; b=JfRLvx9U/moSYf1Ri86qTNflRGcE9Bb8mcslk7sOjZ6h/ZSyleroX6xlp6hhTFkpFE sJDGJ1IdGwvE/Vs1MdxPmvE7WzbJK4EJN1HxprMcPhrtqpuN/57IOc4qvaPRdX8B0Xy9 7hSTRtYkzJ/x4oDKWKaCfpskHkiJpGYIXKWFspXAuthEVuzMf5PizuMZMbt9ypeYIstZ I/CpztTsglccj9ZZFRwzdaALlQxoAf3BeUGA/VurxFszQ7Z7n/mATLXcdMxHIRxlJ12e cIAUwbWA831RVMObXnNCQyJ6ZXwC4Q5XVJw8XlUvtYQwf49nXzNKx4UqW/ejuzGcnah1 j+gQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=KyfJIQCouBVOCPON2uIwwskLGmgLUbABbVWfmzlwK3A=; b=cGFpHvNuFMLWUcOVP3nXWPX6JPJ5Fy+ZImMBSC/w4SIVSYk6QYw+IkGAufbl67DYAn hMQUS14Xy/D2EQ4CyCV3Vu/DPNO3Y2AyW7KBH+/mIwqqA5wTHUpEV743HFtQ5jCUK9Av kin8cTqqzt0ZYoEVEIyPD2olBcEP32gNigHFqXhVk9EYlo7SHTmYMpnu3nmFx2cOl6+3 W8A+luzAgH82hxvRxj7CWn2ug1hMGGZ2Mc3XBjIa6J29XIVpP4YBOWlv/uwmZIXv0+en HZgoRxXaZwrBPQsoQ2xGzTY8wLOkYgBQJjsVnKWKfwvAzqAgB8JPas6qUEzNXdW1wJp6 RCAg== X-Gm-Message-State: AIVw113HmBxFgjB6pdSU6LsJOnKRmLMypwjyDwEr/0xz6I4cUUPl8h34 vdra67ETlHEYyX5K54DghA== X-Received: by 10.55.113.197 with SMTP id m188mr28590768qkc.227.1501030801918; Tue, 25 Jul 2017 18:00:01 -0700 (PDT) Original-Received: from holos.localdomain (pool-173-64-125-158.bltmmd.fios.verizon.net. [173.64.125.158]) by smtp.gmail.com with ESMTPSA id i8sm10733868qtb.40.2017.07.25.18.00.00 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 25 Jul 2017 18:00:01 -0700 (PDT) Original-Received: by holos.localdomain (Postfix, from userid 1000) id 937D66BB97; Tue, 25 Jul 2017 21:00:00 -0400 (EDT) Content-Disposition: inline In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c09::22f X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:217031 Archived-At: On 25/07/17 at 10:14am, Andreas Schwab wrote: >On Jul 24 2017, Mark Oteiza wrote: > >> I was curious about what other functions might be pure and could be >> added to this list. While I seem to have guessed correctly on some, >> I am perplexed why adding string-to-char breaks things: > >Strings are not immutable. Right, thanks. Elisp lacks immutable strings, and string literals aren't eq. Marking string-to-char would result in sexps turning into string literals--I just don't know what's happening in bootstrap. The "listp" in the error makes me wonder if the byte compiler is perhaps turning a quoted form into a string.