This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-06-19
Channels
- # beginners (17)
- # boot (7)
- # cider (1)
- # cljsrn (4)
- # clojure (22)
- # clojure-austin (19)
- # clojure-canada (1)
- # clojure-dusseldorf (1)
- # clojure-greece (3)
- # clojure-russia (19)
- # clojure-spec (46)
- # clojure-uk (23)
- # clojurescript (17)
- # core-async (7)
- # cursive (13)
- # dirac (66)
- # kekkonen (1)
- # lein-figwheel (2)
- # om (1)
- # onyx (2)
- # re-frame (1)
- # reagent (1)
- # specter (2)
wtf is happening here?
(let [abc 1 abc 2 abc 3](println abc abc abc)) ;; => 1 2 3 nil
Ah @vijaykiran already posted it, sorry, didn't read ๐
๐ context: https://www.reddit.com/r/ProgrammerHumor/comments/4on81i/til_c_allows_u200b_zero_width_space_in_identifiers/
I remember having copied code which just would not compile. After retyping it, it worked, must have been something similar. I wonder what happens if SO started randomly inserting stuff like that into their solutions ๐
is there an example of a reasonably complete clojure.spec for defn form? Working on a macro that is supposed to look and work very similar to defn
I heard the plan is to implement specs for most of clojure.core but that workโs not really started yet, right?
I started it a month ago :)
I have a defn spec with full support for destructuring but not ready to release it yet
does anyone know how to embed an incanter graphic in the jupyter notebook?
I'm using clj-http to download some json and want to use convert it to edn. Why isn't this returning the body as edn?
(client/get "
Aha, I had to add cheshire as an optional dependency, warning would have been nice ๐
What's the problem with this code?
(first '( (do (println "Processing 1") 1) (do (println "Processing 2") 2)))
I would expect it to print out "Processing 1" and returning the value 1, but it doesn't
@jorgedfbranco: using '
is the same as using quote
which suppresses evaluation of all forms within
so it will literally return you the list '(do (println "Processing 1") 1) with do
and println
being symbols
if you eval
the return it will print and return 1
I wanted to use some sort of a lazy list/sequence
but vectors are strict