all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>,
	Philipp Stephani <p.stephani2@gmail.com>
Cc: Leo Liu <sdl.web@gmail.com>, 20268@debbugs.gnu.org
Subject: bug#20268: 25.0.50; pcase-lambda broken
Date: Wed, 8 Apr 2015 13:31:55 -0700 (PDT)	[thread overview]
Message-ID: <6814e575-e76b-4ef5-92a5-ce2c947beeb6@default> (raw)
In-Reply-To: <jwviod6pgvs.fsf-monnier+emacsbugs@gnu.org>

> I.e. the code you'd have written without pcase-let would have been
> 
>       (let ((a (foo))
>             (b (car foo))
>             (c (nth 2 foo)))
> 
> which would naturally turn into a pattern like `(,b ,_ ,c)

Just out of curiosity, what was the reason we didn't go in the
direction of Common Lisp's `destructuring-bind' etc., which would
let you write just (a b c) instead of `(,b ,_ ,c)?





  reply	other threads:[~2015-04-08 20:31 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-07  7:42 bug#20268: 25.0.50; pcase-lambda broken Leo Liu
2015-04-08  1:01 ` Leo Liu
2015-04-08 14:35   ` Stefan Monnier
2015-04-08  2:14 ` Stefan Monnier
2015-04-08 13:22   ` Andy Moreton
2015-04-08 15:08   ` Philipp Stephani
2015-04-08 19:25     ` Stefan Monnier
2015-04-08 20:31       ` Drew Adams [this message]
2015-04-08 21:29         ` Stefan Monnier
2015-04-08 22:21           ` Drew Adams
2022-02-08  7:52   ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6814e575-e76b-4ef5-92a5-ce2c947beeb6@default \
    --to=drew.adams@oracle.com \
    --cc=20268@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=p.stephani2@gmail.com \
    --cc=sdl.web@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.