Re: Type hinting generated functions

2013-04-16 Thread dannyg
Thanks Allan ill try it tonight -- -- 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

Re: Type hinting generated functions

2013-04-15 Thread Alan Malloy
If all the functions you want to generate accept doubles, you can just modify str-sym to include a (with-meta (symbol ...) {:tag 'double}) and it should generate exactly the code in your hand-written version. As an aside, there's no reason for str-sym to be a macro: it should just be a function