3 ms·
Really interesting article. Maybe not a good idea as a language feature, but certainly an interesting one. This is my new favorite typo: (defmacaron . lef
by munificent 4y ago
Really interesting article. Maybe not a good idea as a language feature, but certainly an interesting one.
This is my new favorite typo:
(defmacaron . lefts [key & rights]
~(,;(drop-last lefts)
(get ,(last lefts) ,(keyword key))
,;rights))
We're working on a macro proposal for Dart and I wonder if users would like them more if we called them "macarons".
- Graziano_M 4y agoI noticed that as well, but it's not a typo: https://github.com/ianthehenry/macaroni/blob/master/src/init.janet#L20 https://github.com/ianthehenry/macaroni/blob/master/src/init...
- ianthehenry 4y agoOh whoops! That’s what I called them in my prototype so I didn’t shadow Janet’s built-ins. Forgot to update that one when I copied it to the blog post :)
- gumby 4y agoI am diabetic so no, I could not use this feature.