This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-08-05
Channels
- # admin-announcements (2)
- # beginners (20)
- # boot (13)
- # cider (36)
- # cljs-dev (11)
- # clojure (31)
- # clojure-berlin (3)
- # clojure-czech (2)
- # clojure-dev (2)
- # clojure-japan (9)
- # clojure-russia (16)
- # clojurebridge (3)
- # clojurescript (182)
- # cursive (8)
- # datascript (2)
- # datomic (35)
- # editors (33)
- # hoplon (18)
- # ldnclj (11)
- # off-topic (6)
- # re-frame (3)
- # reagent (39)
I know there's a better way to conditionally include a map entry in a map.. say:
{:a 1 (when (pred?) :b) (when (pred?) 2)}
I think some people have an assoc-if or something like that
hey that points to a blog I wrote that I don't remember writing :)
Hi, so if I develop a web app in clojure, where do you usually host it (for free?) I've been hosting my java webapps in openshift which provides containers like jetty or tomcat
Heroku has solid Clojure support
And a free tier
https://devcenter.heroku.com/articles/getting-started-with-clojure#introduction
thanks!
In ClojureScript what is the most idiomatic way to access a nested values?
(aget js/e.target.files 0)
(aget (.-files (.-target e)) 0)
(aget (.. js/e -target -files) 0)
I think it’s just
(aget js/e target files 0)
@einherjarThanks @surreal.analysis I couldn’t get that to work though. I looked though some code on GitHub and I’ve seen all three used. I guess it doesn’t matter as long as I’m consistent, they look like they all compile down into the same thing.