[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Sweeter Emacs Lisp
From: |
Stefan Monnier |
Subject: |
Re: Sweeter Emacs Lisp |
Date: |
Mon, 15 Jul 2013 03:04:09 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
>> ;; clojure.core/if-let
>> ;; ([bindings then] [bindings then else & oldform])
>> ;; Macro
>> ;; bindings => binding-form test
>> ;; If test is true, evaluates then with binding-form bound to the value of
>> ;; test, if not, yields else
We get pretty close with
(pcase TEST
(`nil ELSE)
(BINDING-FORM THEN))
-- Stefan
- Re: Sweeter Emacs Lisp, (continued)
Re: Sweeter Emacs Lisp, Miles Bader, 2013/07/15
Re: Sweeter Emacs Lisp, Josh, 2013/07/14
Re: Sweeter Emacs Lisp,
Stefan Monnier <=
Re: Sweeter Emacs Lisp, Stefan Monnier, 2013/07/16
Re: Sweeter Emacs Lisp, Andreas Schwab, 2013/07/14
Re: Sweeter Emacs Lisp, Miles Bader, 2013/07/15