Ah! I was passing `apply` a list who's first element was a symbol, rather
than the function itself.
Got it. Thanks Ambrose and Ben!
On Wednesday, March 18, 2015 at 5:10:45 PM UTC-4, Ambrose Bonnaire-Sergeant
wrote:
>
> [vector] is a vector with the vector predicate.
>
> '(vector) is a vector w
[vector] is a vector with the vector predicate.
'(vector) is a vector with the symbol 'vector.
`(~vector) is similar to what [vector] gives you.
On Wed, Mar 18, 2015 at 5:01 PM, John Gabriele wrote:
> I see that you can pass extra args to `apply` --- between the func and the
> coll args --- an
Because symbols can only take one argument:
('vector :a) ---> nil
('vector :a :i :x) ---> the exception you saw.
On Wed, Mar 18, 2015 at 2:01 PM, John Gabriele wrote:
> I see that you can pass extra args to `apply` --- between the func and the
> coll args --- and `apply` will prepend the extras