On Friday, 2 October 2020 at 20:38:50 UTC+1 Bost wrote:

> I have a problem with `def` in macros. I'd like to create a bunch of 
> following definitions:
>
> Also possible to do without macros:
(defn def-stuff [xs] (for [x xs] (intern *ns* (symbol x) (upper-case x))))
This seems to work for me, if anyone knows why it's not right, I'd love to 
hear.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/clojure/8446fc8c-4f41-4718-a9ce-deeea9f16d18n%40googlegroups.com.

Reply via email to