defn, def, etc are what I mean by "defining macros". 

On Monday, August 8, 2016 at 5:19:04 PM UTC-4, fah...@gmail.com wrote:
>
> Oh...   'bar' and 'make-step' count as macros? My intent was that they're 
> ordinary functions that return functions. Am I mistaken? Or does the issue 
> you referred to apply to using defining *functions and macros *as 
> non-top-level forms?
>
> (defn bar [] (fn ([x] (inc x))))
>
> (defn make-step [some-args]
>   (fn ([other-args]
>        (some-body using-both-args))))
>
>
>

-- 
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/d/optout.

Reply via email to