From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel Colascione Newsgroups: gmane.emacs.tangents Subject: Re: The poor state of documentation of pcase like things. Date: Sun, 3 Jan 2016 06:10:34 -0800 Message-ID: <56892BDA.6060103@dancol.org> References: <20151216202605.GA3752@acm.fritz.box> <87io3m60bq.fsf@web.de> <877fk1nnk0.fsf@web.de> <8760zlue3j.fsf@gmail.com> <87vb7kajgv.fsf@web.de> <83y4c9ag06.fsf@gnu.org> <87bn95m9eg.fsf@fencepost.gnu.org> <5686CDFB.2010105@dancol.org> <83fuygcs5g.fsf@gnu.org> <56886E32.70305@yandex.ru> <83si2f9ve4.fsf@gnu.org> <56889EC3.3040108@yandex.ru> <877fjrkpdf.fsf@fencepost.gnu.org> <56892334.4000106@yandex.ru> <8760zakb7q.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="63kok4A81rsaiwP3p4c37UwWMX3b8dqKL" X-Trace: ger.gmane.org 1451830265 3477 80.91.229.3 (3 Jan 2016 14:11:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 3 Jan 2016 14:11:05 +0000 (UTC) Cc: michael_heerdegen@web.de, Eli Zaretskii , emacs-tangents@gnu.org To: David Kastrup , Dmitry Gutov Original-X-From: emacs-tangents-bounces+get-emacs-tangents=m.gmane.org@gnu.org Sun Jan 03 15:10:48 2016 Return-path: Envelope-to: get-emacs-tangents@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 1aFjMt-0002sB-Ly for get-emacs-tangents@m.gmane.org; Sun, 03 Jan 2016 15:10:47 +0100 Original-Received: from localhost ([::1]:41753 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aFjMs-00071h-T9 for get-emacs-tangents@m.gmane.org; Sun, 03 Jan 2016 09:10:46 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35256) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aFjMq-00071Q-3P for emacs-tangents@gnu.org; Sun, 03 Jan 2016 09:10:45 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aFjMm-0003VK-Ts for emacs-tangents@gnu.org; Sun, 03 Jan 2016 09:10:44 -0500 Original-Received: from dancol.org ([96.126.100.184]:49952) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aFjMm-0003V8-Nn for emacs-tangents@gnu.org; Sun, 03 Jan 2016 09:10:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dancol.org; s=x; h=Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:Cc:References:To:Subject; bh=S0fPTbrmprWUiM3Z07J6e9bb+AeglPC+NHR0j3hT+uc=; b=PzdQpfVpYryHGr0d1vMEc7VmX3ILMedjHf4wEkJAbelHz6OYq831bvZtPHjaBx8EZRI9slUHn8zRoLO1lW4T1FTU8qPOyQdtnDgykAWYZM3a5fsueA9d/26Hl5prrGK7eq+Bykn6FKg8qepFam9yBk+uZcD7LXO+bUPY49SRRCp/qLXa3i00IuiZWrmmFjmMX3UjBG7eAV1gfNTtMDjMvN56EfRxvVSM4mnXXexOkcaLqOmBLp5N7g0j3Vkxz50OCYW/KdeI9zN4HjucUuWDI6OwwylwiGaFd70CS6R1zWqs9pULJxTg3fRQRF9Zgz/8gyhUMyxyty55tZJp3tj0kw==; Original-Received: from c-67-161-115-4.hsd1.wa.comcast.net ([67.161.115.4] helo=[192.168.1.210]) by dancol.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84) (envelope-from ) id 1aFjMk-0004zZ-ET; Sun, 03 Jan 2016 06:10:38 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 In-Reply-To: <8760zakb7q.fsf@fencepost.gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 96.126.100.184 X-BeenThere: emacs-tangents@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-tangents-bounces+get-emacs-tangents=m.gmane.org@gnu.org Original-Sender: emacs-tangents-bounces+get-emacs-tangents=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.tangents:62 Archived-At: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --63kok4A81rsaiwP3p4c37UwWMX3b8dqKL Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 01/03/2016 06:07 AM, David Kastrup wrote: > Dmitry Gutov writes: >=20 >> On 01/03/2016 11:02 AM, David Kastrup wrote: >> >>> Uh what? Whether pcase does not help with simple cases should have >>> little bearing on whether it helps with more complex cases. >> >> But it does. It takes less code, >=20 > You mean, less input. A side effect of a more expressive system. >> and follows the common design of pattern matching, which isn't hard to= >> understand and internalize. >=20 > And yet Emacs has more than just regexp operations for dealing with > strings, and most string operations are carried out without reverting t= o > regexps. >=20 >> In the more complex cases, the syntax may have some thorns, >=20 > Then it's not doing a good job of reducing complexity. If it requires > me to use quasiquote for stuff that contains neither unquote nor > unquote-splicing (and has no sensible interpretation of unquote-splicin= g > in connection with its own use of quasiquote anyway), it does a bad > human interfacing job. Why do I need to quote self-quoting expressions= > at all? And why do self-quoting symbols differ in meaning when precede= d > by quasiquote? In Lisp, `nil is equivalent to nil . That's not what > pcase sees, I think. I find pcase quite readable; it's not going away. Honestly, I also found the existing documentation completely adequate. --63kok4A81rsaiwP3p4c37UwWMX3b8dqKL Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCAAGBQJWiSvaAAoJEN4WImmbpWBlKtUP/1hzjGzdCbIenjvGKV1B2t7J wu7X9vN6dX1hWgLpUzPYW7KblALfMGX4NoUklpCIfnpTaEs86iHdvWs1e54WhrQe /o2ey3C+6Ytq5OqMSvk/D4r3hTE1J4tqSKUPkZE+UVFcQp3jnpuVvBcjiywjTBSW /uc3v2LwY4ZhRgG97Xz5IvB0y8gif2LWTVsGh24BhiFRqKXBydqNMEvhL2Cy8I+d nlnesmMnP4hOkFV538eh/Otq8IOTKgH2hWW+TLUmpjv6Qm8h+T7+M0Kev5teFWmV SXT/HPG/QEAPor7QASppoc6Sjy7FAfZujslSmZl686ixH7V/D3Lb1yhhE6xurpkc FMahHzaxYgJ3M10GRoBZGpyaQgtSbixGSizfwoqzc9zbrCY8+1ViG2Om8nukTtgE WN2VmoAQ4UO3ENmmgpSPeX4KL5bGGIo0bTeg6BUL0P0fcZvzE05bAMCIfaqmb6Kf nSd/5ARKV3pE4lLIffcrKO7DXXJfbIkzeX/2lfQSEHeCZzHUq/G3XCkx2SevAm8F uXnnXp1hEnqPoz5yDs0UFao/LjKc0fZR0+jBqXPO/vRtdqg+NSTiO9V/WBLTRLVu K4eGHOcOBJQHxPogrYUJ6Mj58IOhWcI5gzi39hrT3x5FpB4fQFkwWEWZBYSUoWi6 0lTLNgPcbSgeX5y1+XHC =vzKh -----END PGP SIGNATURE----- --63kok4A81rsaiwP3p4c37UwWMX3b8dqKL--