This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-08-19
Channels
- # admin-announcements (2)
- # beginners (25)
- # boot (93)
- # cider (2)
- # clara (2)
- # cljs-dev (63)
- # cljsjs (3)
- # cljsrn (38)
- # clojure (142)
- # clojure-austin (1)
- # clojure-brasil (2)
- # clojure-czech (1)
- # clojure-dev (7)
- # clojure-greece (1)
- # clojure-russia (170)
- # clojure-spec (11)
- # clojure-uk (65)
- # clojurescript (46)
- # clojurex (1)
- # code-reviews (3)
- # cursive (11)
- # datomic (35)
- # euroclojure (6)
- # events (2)
- # flambo (2)
- # hoplon (115)
- # instaparse (11)
- # jobs (21)
- # jobs-rus (3)
- # lambdaisland (2)
- # off-topic (17)
- # om (35)
- # onyx (161)
- # planck (1)
- # protorepl (7)
- # random (1)
- # re-frame (31)
- # reagent (19)
- # ring-swagger (21)
- # rum (5)
- # spacemacs (3)
- # specter (25)
- # test-check (20)
- # testing (7)
- # untangled (2)
- # yada (50)
It’ll have to be compiled down to runnable js. http://lukevanderhart.com/2011/09/30/using-javascript-and-clojurescript.html goes over it pretty well (although not specific to es6 code)
@jm: I am currently using google-closure library style JS, pretty similar to this project - https://github.com/gfredericks/goog-integer
It looks like the closure compiler has native support for typed ES6, so I was hoping I could slap a comment at the top of the file or something and it would do its thing.
@jm: Here https://groups.google.com/d/msg/closure-compiler-discuss/5EVAw6oO2BI/kJfMJwnTKBEJ
@xcthulhu thanks, I’m not aware of any support for it, sorry I can’t be much help. Discussion in https://groups.google.com/forum/#!topic/closure-compiler-discuss/5YJJu5BEndQ might be relevant, sounds like they may have moved focus.
@mfikes does Planck repl have interop with OSX libs like through Obj-C ?
@octo221 No. All of the Obj-C code that interoperates with low-level stuff is essentially hard-coded.
@lvh In addition, JSC ships with Ubuntu 16.04 Desktop, and the Planck 2.0 alpha makes use of it.
Hey all, with the new macro stuff, I was hoping to be able to use (:require [clojure.core.async :refer [go]])
but that still seems not to work in cljs 1.9.216
@timgilbert: macro inference only works when the macros/non-macros namespaces are the same
Ah. Any plans to unify this interface between clojure/clojurescript?
In your case you still need to require-macros cljs.core.async.macros
@timgilbert needs to be fixed in core.async, but a pretty huge breaking change
I see, thanks @dnolen. I'll file a ticket just to have a place for discussion
@timgilbert I would check first it doesn’t already exist of course
I didn't see it in an initial scan of JIRA but I'll look a bit more closely
ClojureScript 1.9.225 released https://groups.google.com/d/msg/clojurescript/MF8QfYkIDOs/HsIu7iKEDQAJ
Ah, there is an existing issue about combining cljs.core.async.macros
and cljs.core.async
: http://dev.clojure.org/jira/browse/ASYNC-119
I'll add a note to that ticket about the latest developments
@timgilbert I suspected as much
I believe the macros could be moved without breaking the API: macros can be moved to the main namespace and then the macros namespace could have wrappers (not sure what to call these) for compatiblity
Yeah, I just added a note to that effect on the ticket
@juhoteperi not a bad idea, somebody should submit a patch for that
@dnolen: Just working on it
Aaand I think I got it working
The change will be breaking if the user is using same alias with both macros and normal ns, but that was already deemed unsupported, so I don't think that is a problem
I guess most are using :refer
with core.async macros
And patch attached 🙂
@juhoteperi: sweet!
I'm using secretary for routing, and I want to link to a certain element, like https://github.com/clojure/clojurescript#getting-started I've had no luck so far, any tips?
@curlyfry: The keyword you're probably looking for is "fragment" (the bit after the hash in a url). It looks like there's an open PR in secretary about fragment handling: https://github.com/gf3/secretary/pull/84
Hmm, I guess that's more about parsing them though...
@timgilbert: Thanks, but yeah, still not making much progress