On Sat, Jun 19, 2010 at 4:10 PM, Michał Marczyk
<michal.marc...@gmail.com> wrote:
> (defn fact [n]
>  (loop [n n r 1]
>    (if (zero? n)
>      r
>      (recur (dec n) (* r n)))))

Thanks for posting this surprisingly simple example of something that
looks like it should work, but wouldn't under the current proposal.
Really demonstrates how even for straightforward programs you would
have to do a certain amount of "type flow" analysis to verify that it
will compile.

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