[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: The poor state of documentation of pcase like things.
From: |
Drew Adams |
Subject: |
RE: The poor state of documentation of pcase like things. |
Date: |
Sat, 2 Jan 2016 18:49:45 -0800 (PST) |
> cl-case is more restricted, yes, but I thought this discussion was about
> how pcase is worse than cond.
I don't think so. To me, this discussion is about whether to use `pcase':
* Only when it really offers something,
* All the time, everywhere,
* Or something in between (what?).
> > I kinda liked pcase at first, but the more I see of the pcase language,
> > the more sceptical I get. I'm beginning to wonder whether the whole
> > thing is a misfeature that should be replaced with several separate
> > operators.
>
> You mean pattern matching? A lot of language and library designers would
> disagree with you.
Decomposition pattern-matching. Use it when it helps.
Literal "pattern" matching does not require `pcase'. Should
`pcase' be used for such mundane cases anyway, since it can be?
That's the question that I think is being discussed. Whether
wholesale replacement of `cond', `case', `if', etc. by `pcase'
is a good idea, just because it could do the job.
- Re: The poor state of documentation of pcase like things., (continued)
- Re: The poor state of documentation of pcase like things., David Kastrup, 2016/01/03
- Re: The poor state of documentation of pcase like things., Michael Heerdegen, 2016/01/03
- Re: The poor state of documentation of pcase like things., John Wiegley, 2016/01/04
- Re: The poor state of documentation of pcase like things., Dmitry Gutov, 2016/01/02
- Re: The poor state of documentation of pcase like things., Lars Magne Ingebrigtsen, 2016/01/02
- Re: The poor state of documentation of pcase like things., Dmitry Gutov, 2016/01/02
- RE: The poor state of documentation of pcase like things.,
Drew Adams <=
- Re: The poor state of documentation of pcase like things., David Kastrup, 2016/01/03
- Re: The poor state of documentation of pcase like things., Michael Heerdegen, 2016/01/02
- RE: The poor state of documentation of pcase like things., Drew Adams, 2016/01/02
- Re: The poor state of documentation of pcase like things., Noam Postavsky, 2016/01/02
- Re: The poor state of documentation of pcase like things., Dmitry Gutov, 2016/01/02
- Re: The poor state of documentation of pcase like things., John Wiegley, 2016/01/02
- RE: The poor state of documentation of pcase like things., Drew Adams, 2016/01/02
- Re: The poor state of documentation of pcase like things., Eli Zaretskii, 2016/01/02
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Re: The poor state of documentation of pcase like things., David Kastrup, 2016/01/03
- Re: The poor state of documentation of pcase like things., Dmitry Gutov, 2016/01/03