This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
Im a little bit new to clojure myself, but using (nth vector2 %1)
instead of (vector2 %1)
fixes it
@sllyq: OK, thanks. Just a little confused about how apply works in Clojure… so used to JS apply
It obiously does the same as your function, just threw it out there because it makes more sense to me this way. You can write whichever way you want it