From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel Colascione Newsgroups: gmane.emacs.devel Subject: Re: A protest against pcase, pcase-let, pcase-let* Date: Wed, 01 Apr 2015 00:46:17 -0700 Message-ID: <551BA249.9020205@dancol.org> References: <20150331180029.GF2871@acm.fritz.box> <551AF4AA.3040300@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="utNviKt5qm0GlPvXSQV80RBN8uDwNKdvq" X-Trace: ger.gmane.org 1427874421 26947 80.91.229.3 (1 Apr 2015 07:47:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 1 Apr 2015 07:47:01 +0000 (UTC) To: Dmitry Gutov , Alan Mackenzie , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 01 09:46:54 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 1YdDMQ-0002Ij-AO for ged-emacs-devel@m.gmane.org; Wed, 01 Apr 2015 09:46:50 +0200 Original-Received: from localhost ([::1]:41955 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YdDMJ-00032p-JJ for ged-emacs-devel@m.gmane.org; Wed, 01 Apr 2015 03:46:43 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58597) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YdDMG-00032g-9l for emacs-devel@gnu.org; Wed, 01 Apr 2015 03:46:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YdDMA-0005L0-5c for emacs-devel@gnu.org; Wed, 01 Apr 2015 03:46:40 -0400 Original-Received: from dancol.org ([2600:3c01::f03c:91ff:fedf:adf3]:46332) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YdDM9-0005Hh-Rb for emacs-devel@gnu.org; Wed, 01 Apr 2015 03:46:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dancol.org; s=x; h=Content-Type:In-Reply-To:References:Subject:To:MIME-Version:From:Date:Message-ID; bh=mk12qdwcH+NhG2VUrPY3YP8EWpUT1Q7iowHoFi2N9eo=; b=jWe9U63xs5YwFqRVHlfejtC8lusNL8u/FNc5U3Qd7UJwE4c0T7lO/jsze1wdcppNPpoQHhcTToqn9fju7/WA0Vcp0KGvryYAs7kOw2MtWgdxsXCIk0ueigm7e6XwuWYDXd7hIiFATar2+FWl/Frw+Uv0bOe/4hzc+04xL2kuEgaSCmToxAsGBuy7yUs7Wi6ezIp6LLtN/bFBmmdb02rqU57iXqOQ+v8Krk5bGKGzOjbKBMZ5enGJUD3AAf2tuppB9OWlFflmCAZ3d99I0XF+k1JtSl6jTBSCwMRiUA4+WeT4ohORZDnVEPgc9tJ1KmL3T4U9GhxdZUKS9Tve81g5Jw==; Original-Received: from [166.177.250.187] (helo=[192.168.1.206]) by dancol.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84) (envelope-from ) id 1YdDM1-0002VU-Rt; Wed, 01 Apr 2015 00:46:25 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 In-Reply-To: <551AF4AA.3040300@yandex.ru> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2600:3c01::f03c:91ff:fedf:adf3 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:184696 Archived-At: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --utNviKt5qm0GlPvXSQV80RBN8uDwNKdvq Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 03/31/2015 12:25 PM, Dmitry Gutov wrote: > On 03/31/2015 09:00 PM, Alan Mackenzie wrote: >=20 >> OK, maybe pcase itself has a page in the elisp manual, but this page i= s >> very difficult to understand, certainly for me. I have attempted quit= e >> a lot of times to make sense of it, and failed. >=20 > I think it's pretty nice. It provides pattern matching, as well as > destructuring (something that previously required the use of cl-lib), i= n > a concise and performant way. >=20 > The docs can look a bit dense at first, but after reading them carefull= y > and experimenting a bit, I'm sure most people can get a hang of it. pcase is really an excellent tool. The documentation is better for reference than for learning how to use it, though. Good thing Emacs is full of pcase examples now. --utNviKt5qm0GlPvXSQV80RBN8uDwNKdvq 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 iQIcBAEBCAAGBQJVG6JJAAoJEN4WImmbpWBlC6oP+gJt7ze/lw5x9xFHEcqLydFl 8LM5li4/nv0KCsdTvj9XbRN0Y448SUAUVzDhvyNHNh2QDMoFQ6iQxE6badzlL3wM llDBejTxnQfq1oGQXQPZknneLUr0TMZBeRo5MdINdHPJKPYPfDJx4ZDJlVbV07Ow N5Ib7JsQjW5up1ii2Krr2eYvHyp2Y4I3kERuZTMWoMGwxyDjj2ixSBTynrKsm9Ga +fs42bM8X0C8pCcad0eJ+blZ0BgiMWDpytB4GwVoBZ0caCfG3VUY3MYNdqYpFTZq x/dsz9/ecmw/4uh9lRKIvLUQFP7DyUK8UAtYHG7IjlITZnQIulWAvAspznSNeWwo yq8Pf8o4HwIiIR4AJ5wiCY6nKQZ7s1rqxrMzeC3OOcmsDkizcXupYAF+00NLtV9x t5qsMQrnqJ5V1DWWmXKJaN3UT8Hi4Kpx8K1ehmnVZe1UZjClrKjXFWgUxYr0qrYo bqC/+KYyeu+nNo5ibL/B73vXdr0bkmrFITee1BSbSZak/PZT9REb2e6ota9mQ6MH nlcO4ox5WAN3e7Xi3znrwjesmkdI21Ygnmu5LStxkAAMeDoT5fiQVJ5S8Qz5wWWe Wa78KMTTovgC5YwN13+h+kxcfx7VKbFxy1f5FY97mxz+tnA/MvYHsQqleP7kQw57 1cimo5kfCxl45zPbnevP =N+9G -----END PGP SIGNATURE----- --utNviKt5qm0GlPvXSQV80RBN8uDwNKdvq--