On Jun 27, 5:53 am, Meikel Brandmeyer wrote:
> Hi,
>
> Am 26.06.2009 um 20:41 schrieb Four of Seventeen:
>
> > (defn- foo [args] body)
>
> > (defmacro bar [args] body)
> > `(foo ~some-args (fn [~more-args] ~...@body)))
>
> > and it complained that foo was not public when I invoked bar from
> > o
Hi,
Am 26.06.2009 um 20:41 schrieb Four of Seventeen:
(defn- foo [args] body)
(defmacro bar [args] body)
`(foo ~some-args (fn [~more-args] ~...@body)))
and it complained that foo was not public when I invoked bar from
outside its home namespace.
Yes. foo must be public in macros used by ot
This is odd. Doing a clean & build made this go away. After I did
that, load-file also worked, and using the first workaround (let [x
foo]) at that.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To p
I had code something like this:
(defn- foo [args] body)
(defmacro bar [args] body)
`(foo ~some-args (fn [~more-args] ~...@body)))
and it complained that foo was not public when I invoked bar from
outside its home namespace.
OK, easy workaround, I thought:
(defmacro bar [args] body)
(let [