From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.devel Subject: Re: The poor state of documentation of pcase like things. Date: Sat, 19 Dec 2015 17:04:12 +0100 Message-ID: <87y4cqs9vn.fsf@web.de> References: <20151216202605.GA3752@acm.fritz.box> <87fuyytq6b.fsf@web.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1450541090 10482 80.91.229.3 (19 Dec 2015 16:04:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 19 Dec 2015 16:04:50 +0000 (UTC) Cc: emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 19 17:04:41 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 1aAJzs-0004hE-TT for ged-emacs-devel@m.gmane.org; Sat, 19 Dec 2015 17:04:41 +0100 Original-Received: from localhost ([::1]:37772 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aAJzs-0008UZ-3L for ged-emacs-devel@m.gmane.org; Sat, 19 Dec 2015 11:04:40 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35080) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aAJze-0008UT-HZ for emacs-devel@gnu.org; Sat, 19 Dec 2015 11:04:27 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aAJzZ-0000Ew-Ie for emacs-devel@gnu.org; Sat, 19 Dec 2015 11:04:26 -0500 Original-Received: from mout.web.de ([212.227.15.3]:65105) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aAJzZ-0000Es-9U for emacs-devel@gnu.org; Sat, 19 Dec 2015 11:04:21 -0500 Original-Received: from drachen.dragon ([90.186.0.107]) by smtp.web.de (mrweb001) with ESMTPSA (Nemesis) id 0MCIYT-1a1DAa3SS1-0095Hd; Sat, 19 Dec 2015 17:04:14 +0100 In-Reply-To: <87fuyytq6b.fsf@web.de> (Michael Heerdegen's message of "Sat, 19 Dec 2015 16:26:52 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-Provags-ID: V03:K0:pPR1PXKc993XHsxDJHEQw6ujhXamuziigaa75RmkugGOHLW2reA vFmOeTZASCqf//Z1m01aC+pIqHwXg70DGk+/xkY+GIUBlc7jyOVPHcJLhNOCJJBEFoyO5zc wv1n2fw1hfTwdsg0BpurDMSp4YgxQlvEPcoDyQMjwLG+wH09AUPjY8gNAfwO4EEPijTzBub 2dlDzPoWdU0Df+F57LY9A== X-UI-Out-Filterresults: notjunk:1;V01:K0:HPypGg0iHGk=:jjcHgWUqZlDNcM+U2w64Ir 3CxuhWOL57eJcI/t1wbLJHbfVf7IGhx6pA8U7fQpOvaUpGFje576jy0M27To3h0PXZr1uMh9m NCxKZL2zPGJ/ptte5VfeJ/oDgFNtWHEv4aCcP+/X/2R6n7zD/pJTSuIVqB9KjHUrMw29sG2yu bmsQVBIz5Vtj7DEWJ2PowKz7iL2RIHAKofngj4t7XytrtB9uCRq72hFRDuVULxS1qgWpZpvse W4SU4gKURldUxefXmdfIZEaKLdSkMqHGOVcLMCLNtwHaIN3tb9On6OL4u2MvUudyQmHvsMSoM z9xiOUtDP4RldJZMdDKTv745jI5PtRyT4nZeF4aDDhycGQYdzlUVanG855PXjAszFHPU2ESqG 2vV1+mLhD3hiZMxUgPMYrZL0YigUt/JlRuGo74x6E4RG5lei6sTZBuRG6+7agltiVyxUZILoZ WY5cMM8H8JRYX4okWjlcpx0ZQsrmglquKC/qwHVvksXk6UdJaSru8cYQiXcSlMUQFCdjgaR8V R1mtTRAxquOwoPeRDXYOAe+SNNbDAHdyA9dsmxR6qekoetG0Sg6npw+or4CmzsYCseWasCWbX voAKyAIC1lvJ7gQUf0R/+7G3xBPMkwYeDcXb+2r/gtOXUvpdjnBevJNWYGT0342Fn1NLlS1Vs UIstDFsCCeu1UmO6G8rOwAHZ921ycogAukDcHPiLNnxZail78773rZno4mO38z4QUz3y3y8s8 OWaqNkncamY/CRWoLo+WYCjdnyPDsXp0oBymNg7+vHD3i8y4kxjFr+hcQ81Z5ZLK4Zng34lL X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.15.3 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:196509 Archived-At: Michael Heerdegen writes: > As far as I understand how Stefan used to work, most of the semantics of > most of the pcase derivatives, like `pcase-let', are not yet 100% fixed, > we are not yet sure how useful we are, or if they may later be better be > replaced by other forms that are more general, etc. BTW1, there is also a (not PATTERN) pattern form that already works but is not yet optimized, thus fully undocumented. BTW2, I discussed with Stefan the semantics of a `pcase-setq', and how it could be connected with generalized variables. BTW3, we were not yet all agreed how the semantics of `pcase-dolist' should be when the pattern doesn't match (currently, AFAIK, it loops nonetheless). Similarly for pcase-let and pcase-lambda. For some of these forms, we do not yet know how useful they are. Just some examples of open questions that shows that some stuff is still a bit of work in progress. Michael.