hylang/hy — pull request #230 by Willyfrog (2013-07-07 00:09:19+00:00)
Title: Remove parenthesis from kwapply caller, added lapply

kwapply's syntax felt a bit weird having to add extra parens to a call e.g. (I put some extra space to make it clear to the ones I refer):
(kwapply ( (fn [a b] (+ a b)) ) {"a" 1 "b" 2})
I believe this should be:
(kwapply (fn [a b] (+ a b)) {"a" 1 "b" 2})

But this change will break existing code.

With basically the same syntax is lapply (any better name for this? It's late around here and I lack imagination :P)
(lapply (fn [a b] (+ a b)) [1 2])

I also modified the tests, and made similar ones for lapply