This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-04-11
Channels
- # admin-announcements (2)
- # beginners (53)
- # boot (151)
- # cider (11)
- # cljs-dev (60)
- # cljsrn (36)
- # clojure (71)
- # clojure-austin (13)
- # clojure-berlin (2)
- # clojure-czech (11)
- # clojure-dev (35)
- # clojure-dusseldorf (2)
- # clojure-france (6)
- # clojure-japan (9)
- # clojure-russia (183)
- # clojure-uk (18)
- # clojurescript (155)
- # cursive (6)
- # datomic (25)
- # euroclojure (6)
- # funcool (6)
- # hoplon (229)
- # instaparse (10)
- # jobs (9)
- # leiningen (5)
- # off-topic (70)
- # om (29)
- # onyx (18)
- # planck (1)
- # proton (5)
- # re-frame (8)
- # reagent (32)
- # untangled (4)
Any reason why running -main
from the repl would behave differently than running from the jar given that the project’s :main
is that -main
’s namespace?
@puhrez: Different compilation settings? Different settings in dev profile than in uberjar profile? Different application configuration used?
There are a lot of possibilities, it is hard to guess whats going on without specific errors or whatever is going wrong for you
its like, my -main maps over a set of messages publishing each to a notification service (AWS SNS), but it doesn’t seem like it’s mapping at all during jar execution
ya i don’t have any different profiles in my project.clj or my profiles.clj that would affect compilation
Hm, I dont think the :omit-source is important here, just left it in there for completeness. Good luck
hmm, also just noticed that i didn’t get a compilation error despite only of my dependencies not being the project.clj...
(let [my-set (get-set input)]
(println "doing blah to" (count my-set) "things")
(map blah my-set) (println "Done"))
(sorry for the shitty formatting) but basically with that last println the map was being skipped over
@puhrez: map is lazy and will not evaluate until you force it to in some or the other way
What is the best way to get started with Clojure?
It depends: I’d say that Living Clojure (http://shop.oreilly.com/product/0636920034292.do) is a really good book for beginners.
https://notamonadtutorial.com/how-to-earn-your-clojure-white-belt-7e7db68a71e5 was incredibly helpful for me
I also found quite interesting the interactive implementation of Game of Life in Clojure: https://github.com/kolman/GoL-Clojure - definitely not a tutorial but it’s really cool to see Clojure in action
Any practical tutorial ?
@abhishekamralkar: did you look at http://www.braveclojure.com/?
Yes I am reading it
@abhishekamralkar: https://github.com/functional-koans/clojure-koans this is useful for practice
Oh okay. I think there’s a book called “Clojure Applied” or something like that. It’s not aimed at complete beginners I guess
Okay Thanks!
Also I was thinking to start with small project in Clojure so that I can use it scratch my head thinking like Clojurian.
This is Great!
Cool. Thanks for sharing.
have any of you used meteor with clojurescript?