This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-03-03
Channels
- # admin-announcements (2)
- # beginners (18)
- # boot (118)
- # cider (12)
- # cljs-dev (12)
- # cljsrn (24)
- # clojure (142)
- # clojure-art (4)
- # clojure-bangladesh (3)
- # clojure-ireland (1)
- # clojure-italy (7)
- # clojure-norway (4)
- # clojure-poland (207)
- # clojure-russia (101)
- # clojurescript (108)
- # clojurewerkz (2)
- # core-async (6)
- # css (8)
- # data-science (23)
- # datomic (31)
- # devcards (2)
- # emacs (8)
- # funcool (25)
- # hoplon (34)
- # immutant (78)
- # ldnclj (7)
- # lein-figwheel (4)
- # leiningen (6)
- # luminus (35)
- # off-topic (1)
- # om (119)
- # onyx (43)
- # parinfer (29)
- # proton (11)
- # re-frame (25)
- # remote-jobs (1)
- # slack-help (1)
- # spacemacs (3)
- # yada (10)
@seancorfield: Thanks!
this may be a bit gnarly for #C053AK3F9, but... is there a way to write a macro that includes ~
in the output? what I want the output to be the literal map: {:username ~username :password ~password}
(so that the variables get unquoted when the map gets evaluated)
Hi. I have a dict m
like this: {:scope_identity() 9}
. Is there a way to write keyword literals with parentheses or do I have to do (get m (keyword "scope_identity()"))
?
@polymeris: I suppose, more fundamentally, is “keywords are like symbols” aspect, which would imply that parens are not allowed at all.
FWIW, you can also do (symbol "scope_identity()”)
, which doesn’t imply that it is legal
@polymeris: does m
always only have one key and you just want the value from that?
I am not completely sure, @seancorfield
@camilo legal or not, calling with keyword is the most clear to me. Alternatively, you could convert the keywords in the map to strings.
@polymeris: (sorry, my last comment referenced the wrong user)
having some issues with cljs-ajax requests, my error-handler isn't executing when the server responds with a 401...any insight?
the success case works?
i'm not sure actually hah, let me check...
hmmm a 500 triggers it
yeah i think i had that same thing... error is 5xx ...