miniblog.
← Back to all posts
Aug 26, 2017 at 20:51
Dash.el has destructuring -lambda, which is hugely underrated. (-map (-lambda ((fst snd)) snd) pairs) is a lovely way of extracting items!
Wilfred Hughes
Related Posts
Jun 27, 2014 at 20:02
Exciting to see list destructuring being developed for dash.el! #emacs
Add functions -setq and -let. by rejeep · Pull Request #67 · magnars/dash.el
Hey, Sometimes I work with key/value lists and I have to do: (let ((list '((foo "0.0.1") (bar "0.0.2") (baz "0.0.3") (qux "0...
Wilfred Hughes
Shared words: destructuring, Dash, el Score: 76.5
Sep 8, 2016 at 01:35
I think I use anaphoric macros more than any other kind. Macro hygiene has its place, but --map in dash is so darn readable.
Wilfred Hughes
Shared words: Dash, map Score: 25.3
Feb 11, 2010 at 23:25
for i in map(print,([''.join(list(map(lambda x: chr(ord(x)%26+65), x))) for x in 'ERRABUGLCZERUGBANZGFHW'[::-1].split('Z')])): pass
Wilfred Hughes
Shared words: lambda, map Score: 23.5