On Mar 9, 8:59 am, jshore <jonathan.sh...@gmail.com> wrote:
> I suspect that on recursion a will become an object again and will
> then need to be downcasted again as well.   Would be nice to be able
> to do:
>
> (defn fib [#^int v]
>         (if (< v 2)
>                 v
>                 (+ (fib (- v 1)) (fib (- v 2)))))
>
> and just have it "work".

This is planned for the future.  But it's quite complicated to
implement, so it may take a while.

-SS

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