This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-11-25
Channels
- # admin-announcements (3)
- # beginners (165)
- # boot (123)
- # cider (106)
- # clara (1)
- # cljsrn (20)
- # clojure (199)
- # clojure-canada (2)
- # clojure-dev (3)
- # clojure-poland (29)
- # clojure-russia (7)
- # clojure-taiwan (2)
- # clojurescript (487)
- # cursive (25)
- # datavis (89)
- # datomic (26)
- # gorilla (2)
- # hoplon (15)
- # ldnclj (12)
- # lein-figwheel (9)
- # leiningen (2)
- # liberator (1)
- # off-topic (25)
- # om (380)
- # onyx (26)
- # parinfer (52)
- # portland-or (12)
- # re-frame (28)
- # reagent (132)
hello, does anyone has explanation why in this koan https://github.com/functional-koans/clojure-koans/blob/master/src/koans/23_meta.clj . Cursive says that Giant cannot be resolved in line 13
that looks like a typo to me and it should be lower-case giants
well, I guess it depends on the intent of the koans writer in this case. hard for me to say for sure.
I think the reason you are probably seeing different things is because meditations is a macro that is delaying evaluation and that will confuse some editor environments
the "Giants" in that line is a symbol, which you notice is quoted in line 5
what was your solution?
I certainly think that is the intent of the koan :)
I think it's confusing at a glance why this works - the reader macro ^{:division "West"} is being applied to the symbol after it Giants and then quoting (prior to that whole thing) is being applied to avoid evaluation of Giants, which is an undefined symbol
I suspect Cursive is seeing the (undefined) symbol without properly accounting for the context of the quote prior to the reader macro somehow
not sure about LT
@roelof: understanding macros is hard, so Cursive can't understand any and all macro. Did you try just evaluating even though Cursive says it can't resolve the symbol? It's just a warning that Curisve can't find it in the index (because it can't understand any and all macro), but I think you can run it anyway if you know it's correct.