Where did you see the first :require? I can't find it in the code sample.

> one deriving from:
> (:require ...
>             [io.pedestal.app.render.push.templates :as templates]
> ...)

Thanks,
Greg

--
Sent from my mobile device.
Please do not email me anything that you are not comfortable also sharing with 
the NSA.

On Jul 4, 2013, at 7:41 AM, gianluca torta <giato...@gmail.com> wrote:

> Hi,
> 
> I am pretty new to clojure and trying to learn a lot from this great list
> 
> anyway, looking at the code you point to, it seems that the name "templates" 
> has two roles:
> one deriving from:
> (:require ...
>             [io.pedestal.app.render.push.templates :as templates]
> ...)
> one deriving from:
> (def templates (html-templates/hello-world-templates))
> 
> looks like the one used for calling add-template etc. is the first one
> 
> hth
> 
> -Gianluca
> 
> -- 
> -- 
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with your 
> first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to