This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-11-26
Channels
- # admin-announcements (70)
- # aws (1)
- # beginners (17)
- # boot (37)
- # business (1)
- # cider (2)
- # cljs-dev (56)
- # cljsrn (6)
- # clojure (151)
- # clojure-germany (1)
- # clojure-nl (5)
- # clojure-poland (5)
- # clojure-russia (34)
- # clojure-taiwan (1)
- # clojurescript (289)
- # clojurex (2)
- # cursive (16)
- # datavis (3)
- # datomic (12)
- # editors (10)
- # emacs (3)
- # hoplon (17)
- # ldnclj (5)
- # lein-figwheel (12)
- # leiningen (1)
- # liberator (1)
- # off-topic (23)
- # om (116)
- # onyx (39)
- # parinfer (44)
- # portland-or (1)
- # reagent (34)
- # yada (6)
@dnolen I asked this question before but do you have an example of how/why :static-fns
is not suited for a REPL environment? I'm trying to break it but can't
I thought it might have to do with arity, but I’d also be interested in how changing arity breaks it.
or which optimization do you mean? since it is the REPL there isn't really anything to optimize?
well should the compiler not prevent static linking for something marked ^:dynamic
in all cases?
I'm just trying to understand :static-fns
since I have it enabled always and always dismissed it as a REPL thing
the reason we added it was just that it creates strange behavior for people used to the dynamic aspects of Clojure
Uncaught TypeError: (intermediate value)(intermediate value)(...) is not a function
is also the weirdest error I have seen
ok nvm works in my repl too .. just need to include cljs.core before trying to eval it
@thheller: “switching a top level definition from a fn to an object (which implements IFn) can cause problems” (from https://groups.google.com/forum/m/#!topic/clojure/c3ho-Y8o6Wg)