From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: pcase-setq Date: Mon, 12 Oct 2015 20:59:40 -0400 Message-ID: References: <87wpyaet7r.fsf@web.de> <87y4iqh7x0.fsf@web.de> <87oajmld49.fsf@gnu.org> <87oajlyif9.fsf@gnu.org> <87a8v53wll.fsf@web.de> <87k2qsxr73.fsf_-_@web.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1444698014 25673 80.91.229.3 (13 Oct 2015 01:00:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 13 Oct 2015 01:00:14 +0000 (UTC) Cc: emacs-devel@gnu.org To: Michael Heerdegen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 13 03:00:06 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Zlnwg-0006lg-UV for ged-emacs-devel@m.gmane.org; Tue, 13 Oct 2015 03:00:03 +0200 Original-Received: from localhost ([::1]:59781 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zlnwg-0000Np-2N for ged-emacs-devel@m.gmane.org; Mon, 12 Oct 2015 21:00:02 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49239) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZlnwQ-0000Li-OR for emacs-devel@gnu.org; Mon, 12 Oct 2015 20:59:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZlnwN-0005ij-Cf for emacs-devel@gnu.org; Mon, 12 Oct 2015 20:59:46 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:3179) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZlnwN-0005iX-99 for emacs-devel@gnu.org; Mon, 12 Oct 2015 20:59:43 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0AsEwA731xV/xWhxEVcgxCEAoVVuzcJh0sEAgKBPDkUAQEBAQEBAYEKQQWDXQEBAwFWIwULCzQSFBgNJIg3CM8jAQEBBwIBH4s6hQUHhC0BBLM/gUUjhBQigngBAQE X-IPAS-Result: A0AsEwA731xV/xWhxEVcgxCEAoVVuzcJh0sEAgKBPDkUAQEBAQEBAYEKQQWDXQEBAwFWIwULCzQSFBgNJIg3CM8jAQEBBwIBH4s6hQUHhC0BBLM/gUUjhBQigngBAQE X-IronPort-AV: E=Sophos;i="5.13,465,1427774400"; d="scan'208";a="169360036" Original-Received: from 69-196-161-21.dsl.teksavvy.com (HELO fmsmemgm.homelinux.net) ([69.196.161.21]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 12 Oct 2015 20:59:42 -0400 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id ECBF1AE668; Mon, 12 Oct 2015 20:59:40 -0400 (EDT) In-Reply-To: <87k2qsxr73.fsf_-_@web.de> (Michael Heerdegen's message of "Mon, 12 Oct 2015 13:27:12 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:191416 Archived-At: > Hello, (@Stefan I hope you don't mind I CC'd you the second time today) > I think a useful addition could be `pcase-setq' as an alternative to > `destructuring-bind'. I'm not sure I understand: "an alternative to destructuring-bind" sounds like what pcase-let provides. `pcase-setq' would be more like merging pcase and setf. > AFAIU it should not be hard to implement it - similarly to `pcase--let*' > I guess. I don't think it's easy, actually. But yes, that would be a useful addition. Stefan