Fork me on GitHub
Drew Verlee05:11:55

i'm doing the clojure koans and i feel like the tests aren't very informative:

(= "Bambi eats veggies." (diet {:species "deer", :name "Bambi", :age 1, :eater :herbivore})) {:line 29}, compiling:(/home/drew/education/clojure/koans/clojure-koans/src/koans/10_runtime_polymorphism.clj:17:1)
is there a way to improve this? One step would be if it told me what the result was (eval the expression on the right).


Just stumbled into this...


don't think I've seen it on any of the getting started resources I've seen around.


thought I'd share. simple_smile


i’m working with a medium-sized file. should i be reading and operating and writing on it lazily or should i just make things easier for myself and work on it all in-memory? all my previous js/node experience is telling me never to block, to consume as streams etc but i’m not sure that makes the most sense in clojure


artcommacode: depends on your environment. I would do the easy way until thats no longer possible


ordnungswidrig: thanks, i guess that’s pretty much what i was expecting/hoping to hear


@lucaska: I just had compass --watch running in the background independently of Figwheel.


This one line of code had me pulling my hair out for an hour 😔 (require [figwheel-sidecar.repl :as r] [figwheel-sidecar.repl-api :as ra])


@gary: Are you missing the single-quotes?

(require '[figwheel-sidecar.repl :as r]
         '[figwheel-sidecar.repl-api :as ra])


@boz that is correct. my require statement was in an ns declaration and then I pulled it out on its own. I've been bitten by this careless mistake before. maybe if I publicly humiliate myself it will stick in my head this time


@gary: lol … yeah, know the feeling! all too well! simple_smile