3 ms·
I wonder how they combine rest args with keyword args. Here's how I do this in my arc macros: (paginate '/search' 10 ;; optional keyword args nex
by akkartik 17y ago
I wonder how they combine rest args with keyword args. Here's how I do this in my arc macros:
(paginate '/search' 10
;; optional keyword args
nextcopy "Next →" prevcopy "← Prev"
:do
;; body
(preprocess docs)
(each doc (cut docs start-index end-index)
(render-doc doc)))
More details: http://arclanguage.org/item?id=10692 http://arclanguage.org/item?id=10692