This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-10-09
Channels
- # aleph (9)
- # bangalore-clj (1)
- # beginners (3)
- # boot (58)
- # cider (19)
- # cljs-dev (5)
- # cljsrn (31)
- # clojure (35)
- # clojure-greece (1)
- # clojure-poland (4)
- # clojure-russia (1)
- # clojure-spec (65)
- # clojure-uk (1)
- # clojurescript (41)
- # data-science (2)
- # datascript (6)
- # devcards (3)
- # emacs (2)
- # hoplon (10)
- # liberator (3)
- # numerical-computing (1)
- # off-topic (1)
- # om (18)
- # onyx (17)
- # parinfer (1)
- # planck (1)
- # re-frame (13)
- # specter (7)
- # uncomplicate (1)
- # untangled (4)
- # vim (1)
- # yada (2)
Hello folks! A newbie question, if I have a vec of vecs and want to conj to only the first vec, how should I go about? Sample:
[[1 2] [4 6] [42]] -> [[1 2 3] [4 6] [42]]
I tried FIRST but it navigates to the first element in each vector I believe (but I am trying again)
I could stop here and do the conj in the transform function only to the first, but there might be a better way 😄
oh, found...it is specter/VAL
what I am looking for
uhm..no probably my original idea to do it in the transform function is good for now, but I am open for suggestions
@richiardiandrea (setval [FIRST END] [3] [[1 2] [4 6] [42]] )
oh ok tnx !