I am also trying to write a macro but am not able to figure out how to get the
clojurescript symbols inside the clj file that I am writing the macros in.
What do I need to :require in my clj file to access js-obj?
Regards,
Kashyap
On Saturday, February 22, 2014 10:21:46 PM UTC+5:30, David Nolen
On Sunday, February 23, 2014 10:25:32 PM UTC+5:30, Brandon Bloom wrote:
> > What do I need to :require in my clj file to access js-obj?
>
> Unfortunately, you need to use fully qualified symbols with syntax quote. The
> reader resolves them in the Clojure environment, not the ClojureScript
> env
Hi,
Is there a way to invoke JS functions, the names of which are generated
dynamically. For example -
(def my-invoke [f & ps]
(let [ fname (str "js/" f)]
((symbol fname) ps)))
How can I make the above work?
Regards,
Kashyap
--
Note that posts from new members are moderated - please
are defined,
> if you're trying to get them from a closure I don't have any immediate ideas,
> but that would smell bad to me. You could put them in a single namespace
> (some object), and then use 'aget' to retrieve them.
>
>
>
>
>
> On Mon, Feb 2
Hi,
I got a little confused today when I checked out the version of javascript on
my chrome browser and found 1.7. What is the correlation between this number
and the ecmascript version number?
If I understand right, destructuring/macros/namespaces are supposed to be in
ES6 - does that mean that
Hi,
I'd like to understand how clojure works. I'd like to do that through
clojurescript.
What would be a good starting point to understand how clojurescript works?
I presume cljs/cljs/reader.cljs would be a good start - is this the code that
take "cljs" text and convert into clojure data structu
lyzer/compiler https://github.com/swannodette/hello-cljsc.
>
>
>
> David
>
>
>
> On Sun, Mar 9, 2014 at 10:23 AM, Kashyap CK wrote:
>
> Hi,
>
> I'd like to understand how clojure works. I'd like to do that through
> clojurescript.
&
Hi,
I find using mies conveniest. Does it bring be the latest and greatest
Clojurescritpt though?
Regards,
Kashyap
--
Note that posts from new members are moderated - please be patient with your
first post.
---
You received this message because you are subscribed to the Google Groups
"Cloju
Hi,
I tried the following -
1. lein new mies test-project
2. cd test-project
3. edit scripts\repl.cljs as follows -
(require
'[cljs.repl :as repl]
'[cljs.repl.browser :as browser]
'[cljs.repl.node :as node])
;(repl/repl (node/repl-env))
(cljs.repl/repl (browser/repl-env)
:watch "src"
:
Hi,
I picked up the example shown here
-
http://dimagog.github.io/blog/clojure/clojurescript/2013/07/12/making-http-requests-from-clojurescript-with-core.async/
to send HTTP requests from cljs. However, I am unsure how to add custom
headers to the request.
(defn GET [url]
(let [ch (chan 1)]
Got the answer. It was the "cross site scripting" interference. Things
worked as expected when I used electron.
Regards,
Kashyap
On Sunday, February 4, 2018 at 4:04:20 PM UTC-8, Kashyap CK wrote:
>
> Hi,
> I picked up the example shown here -
> http://dimagog.
Hi,
I am trying to build a javascript library to deal with the protocol details
of a server. The goal is to create a library that does all the dirty work
of handshake and reconnect logic and exposes a "stream" to the user of the
library that can be read from and written to.
In the past I have
t.
>
>- Video: https://skillsmatter.com/skillscasts/8843-clojure-bytes#video
>- Blog post: https://juxt.pro/blog/posts/advanced-martian.html
>- Github: https://github.com/oliyh/martian
>
>
>
>
> On Fri, Oct 26, 2018 at 8:13 AM Kashyap CK > wrote:
>
>
[Apologies for cross-posting - but I realize that Clojurescript group may
be a better place for this query than the Clojure group :) ]
Hi all,
I am attempting to use core.async to poll a service -
https://gist.github.com/ckkashyap/c8423dcfc3a3f28b67e18ae76cc13f53
Broadly, I need to hit the
Thank you Moe ... just what I was looking for.
On Tuesday, November 13, 2018 at 9:25:42 AM UTC-8, Moe Aboulkheir wrote:
>
> On Tue, Nov 13, 2018 at 5:23 PM Moe Aboulkheir > wrote:
>
>>
>> - Contrast https://clojure.github.io/core.async/#clojure.core.async/put!
>> w/ your use of (go (>! x))
>>
>
I was trying to dabble with eval and found the same thing - is there a
newer way to do eval in cljs?
On Friday, March 30, 2018 at 10:30:54 PM UTC-7, Richard Davies wrote:
>
> Ok so I've deleted my project's out and .cpcache directories and my ~/.m2
> directory just in case there was something be
16 matches
Mail list logo