[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: New jrpc.el JSONRPC library
From: |
Stefan Monnier |
Subject: |
Re: New jrpc.el JSONRPC library |
Date: |
Mon, 21 May 2018 10:42:08 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
> Nice, i didn't know about that. Does it have an equivalent to
> &allow-other-keys and &rest?
It behaves as if &allow-other-keys is always given currently.
As for &rest you can do
(pcase-let* ((`(,first . ,(and rest (map foo bar)))
'(0 (foo . 1) (bar . 2))))
(list first rest foo bar))
=>
(0 ((foo . 1) (bar . 2)) 1 2)
At that point, the readability suffers, tho.
-- Stefan
- Re: New jrpc.el JSONRPC library, (continued)
- Re: New jrpc.el JSONRPC library, Aaron Ecay, 2018/05/21
- Re: New jrpc.el JSONRPC library, João Távora, 2018/05/21
- Re: New jrpc.el JSONRPC library, Aaron Ecay, 2018/05/21
- Re: New jrpc.el JSONRPC library, João Távora, 2018/05/21
- Re: New jrpc.el JSONRPC library, Aaron Ecay, 2018/05/23
- Re: New jrpc.el JSONRPC library, Stefan Monnier, 2018/05/23
- Re: New jrpc.el JSONRPC library, João Távora, 2018/05/23
- Re: New jrpc.el JSONRPC library, Stefan Monnier, 2018/05/23
- Re: New jrpc.el JSONRPC library,
Stefan Monnier <=
- Re: New jrpc.el JSONRPC library, Philipp Stephani, 2018/05/24
- Re: New jrpc.el JSONRPC library, João Távora, 2018/05/24
Re: [ELPA] New package: eglot, Stefan Monnier, 2018/05/12