Thanks for the link to the new documentation.

> That's how one hints a non-primitive return type; that's been the case for a 
> long time now.

I know, but haven't needed it; I guess it's for Java interop.

> hinting arg vectors in order to indicate function return types is a 
> syntactically poor choice
> In any case, the syntactic position of function return type hints should be 
> consistent regardless of the "category" of return type

I can see the inconsistency but for multiple arity/body functions
that's not a bad place to put it. My suggestion would be to extend
(declare) à la maclisp and keep the actual fn clean of hints (at least
the signature).
http://bitsavers.trailing-edge.com/pdf/mit/ai/aim/AIM-421.pdf

-- 
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

Reply via email to