This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-09-13
Channels
- # aws-lambda (21)
- # beginners (8)
- # boot (67)
- # braveandtrue (2)
- # cider (12)
- # cljs-dev (38)
- # cljsjs (87)
- # cljsrn (11)
- # clojure (307)
- # clojure-austin (29)
- # clojure-finland (1)
- # clojure-italy (9)
- # clojure-russia (19)
- # clojure-spec (71)
- # clojure-uk (33)
- # clojurescript (109)
- # clojutre (1)
- # core-async (2)
- # cursive (24)
- # datomic (11)
- # devops (5)
- # ethereum (5)
- # figwheel (2)
- # hoplon (25)
- # ipfs (1)
- # jobs (1)
- # luminus (17)
- # off-topic (1)
- # om (38)
- # om-next (3)
- # onyx (166)
- # other-lisps (1)
- # proton (5)
- # re-frame (15)
- # reagent (45)
- # ring (2)
- # spacemacs (6)
- # specter (12)
- # untangled (58)
- # yada (23)
@seancorfield et al - Thanks. I rebooted, did all the things again, and it worked. Very strange. I probably fat-fingered something on the first go.
NP. Glad it worked after a few incantations š
So Iām still in the very beginning of learning Clojure but I just wanted to know if I want to eventually do some web dev do I have to learn javascript first
@dorianc.b I've worked in web dev for years and I've mostly managed to avoid learning JS š I think JS is a horrible language but there are plenty of compile-to-JS alternatives these days so you can avoid the "assembler of the web"...
Looking for the best way to use values held in a vector as individual arguments to a function. For example, I have a data structure that has the values of my default square location and shape. How do I pass the individual elements in the vector to the function that draws the shape, which takes individual arguments?
(def default-square [ 10 10 20 20 5])
(q/rect x y width height corner-angle)
In the example, q/rect is a quil function that draws a rectangle shape@jr0cket Use apply
https://clojuredocs.org/clojure.core/apply
(apply q/rect default-square)