This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-08-29
Channels
- # admin-announcements (2)
- # beginners (20)
- # boot (139)
- # cider (6)
- # clara (1)
- # cljs-dev (7)
- # cljsrn (4)
- # clojure (160)
- # clojure-berlin (1)
- # clojure-canada (6)
- # clojure-gamedev (1)
- # clojure-japan (7)
- # clojure-russia (14)
- # clojure-spec (90)
- # clojure-uk (10)
- # clojurescript (73)
- # clojutre (1)
- # conf-proposals (8)
- # crypto (67)
- # cursive (9)
- # datomic (6)
- # editors-rus (1)
- # events (1)
- # figwheel (6)
- # funcool (2)
- # hoplon (19)
- # instaparse (37)
- # kekkonen (4)
- # lein-figwheel (2)
- # leiningen (5)
- # luminus (1)
- # off-topic (1)
- # om (10)
- # onyx (60)
- # protorepl (2)
- # re-frame (81)
- # reagent (10)
- # ring-swagger (15)
- # rum (6)
- # specter (17)
- # test-check (10)
- # uncomplicate (31)
- # untangled (12)
- # yada (6)
very minor feature request: When refactoring a 'folder' to a new name the files all get moved but the namespaces don't get updated... it would be nice if it did (search replace is fine though)
@danielcompton Here's an example
The bluebird Promise library, which provides an alternative implementation of the native Promise object, comes with a few helper functions
One of which is called promisifyAll()
which is a utility function to run against any other object (usually APIs), it will then add new functions onto the object (mutating them, but it shouldn't be a problem to not mutate) so that for each method
which accepts a callback, you get a new methodAsync
which returns a Promise.
It's a handy feature.
Sure, but in most Clojure code I’ve seen, something like core.async would be used instead.
I think I’m vigorously agreeing with you. Full JS resolution would be hard (impossible?), but that tends not to be as big a problem, as idiomatic CLJS mostly doesn’t do the stuff that would be hard to resolve.
@timothypratley: Yes, moving things around correctly will be the next refactoring I add.
ooo great 🙂