[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Add shell-quasiquote.
From: |
Artur Malabarba |
Subject: |
Re: [PATCH] Add shell-quasiquote. |
Date: |
Sat, 17 Oct 2015 18:23:04 +0100 |
+ (if (and (consp form)
+ (eq '\, (car form))
+ (consp (cdr form))
+ (null (cddr form)))
+ (cadr form)))
There's nothing wrong with this code. But, just FYI, here's what it would look like with pcase (assuming I didn't mess up writing this on my phone).
(pcase form
((`\, x) x))
Re: [PATCH] Add shell-quasiquote., Random832, 2015/10/17
Re: [PATCH] Add shell-quasiquote.,
Artur Malabarba <=
Re: [PATCH] Add shell-quasiquote., Taylan Ulrich Bayırlı/Kammer, 2015/10/19
- Re: [PATCH] Add shell-quasiquote., David Kastrup, 2015/10/19
- Re: [PATCH] Add shell-quasiquote., Taylan Ulrich Bayırlı/Kammer, 2015/10/19
- Re: [PATCH] Add shell-quasiquote., Random832, 2015/10/19
- Re: [PATCH] Add shell-quasiquote., Taylan Ulrich Bayırlı/Kammer, 2015/10/19
- Re: [PATCH] Add shell-quasiquote., Paul Eggert, 2015/10/19
- Re: [PATCH] Add shell-quasiquote., Taylan Ulrich Bayırlı/Kammer, 2015/10/19
- Re: [PATCH] Add shell-quasiquote., Paul Eggert, 2015/10/19