I found the way, so I want to share the tip with others here (
https://gist.github.com/philoskim/1d61574f69902c102d1a3c5c9112c6ba ).
2018년 4월 5일 목요일 오후 5시 23분 44초 UTC+9, Philos Kim 님의 말:
>
> I ran the follwoing code in the figwheel REPL and the result is an empty
> list.
>
> How can I enumerate
I ran the follwoing code in the figwheel REPL and the result is an empty
list.
How can I enumerate the ClojureScript macros?
dev:cljs.user=> (->> (ns-publics 'cljs.core)
vals
(filter #(get (meta %) :macro)))
()
Thanks in advance.
--
You received thi
let the
application decide.
On Wednesday, 3 December 2014, Hoang Minh Thang wrote:
> Hi all, how do I add custom reader macros in Clojurescript (like
> data_readers.clj in Clojure)? I want to deliver them in libraries.
>
> --
> You received this message because you are subscribe
Hi all, how do I add custom reader macros in Clojurescript (like
data_readers.clj in Clojure)? I want to deliver them in libraries.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroup
Hi Kevin,
That message means that Clojure can't find the file containing your macros
on the classpath. Looking at it, you appear to have the macro file in your
src-cljs directory. I've never used ClojureScript, but maybe that should be
in your src directory since it's Clojure and not ClojureScript
I'm currently building a project in clojurescript where I need to create
some macros. And I don't manage to get it to work.
What I'm currently doing is comparable with what you did in core.logic for
clojurescript:
https://github.com/clojure/core.logic/tree/master/src/main/clojure/cljs/core/logic
You can reference macros defined in *clojure* files that are on your
classpath like this:
(ns my.namespace
(:require-macros [my.macros :as my])
The ClojureScript compiler will use these macros to expand your
ClojureScript source.
Works great.
David
On Tue, Sep 13, 2011 at 6:31 PM, Timothy Ba
Hi,
2011/9/14 Timothy Baldridge
> While working with ClojureScript I came across a interesting question.
> When compiling cljs files, how does Clojure handle macros? Normally
> macros are run at compile-time, but in this case the compile-time
> platform is completely different than the run time
While working with ClojureScript I came across a interesting question.
When compiling cljs files, how does Clojure handle macros? Normally
macros are run at compile-time, but in this case the compile-time
platform is completely different than the run time platform. My guess
is that the compiler ass