You can use proteus with a while loop and be as imperative as you like, 
however, I think the point of 4clojure is to learn the functional approach 
to solving problems(I do not really advocate one over the other honestly; 
multiparadigm ftw)

On Thursday, March 20, 2014 4:35:14 PM UTC-4, Andy Smith wrote:
>
> Also from the proteus link, i read 'these variables cannot escape the 
> local scope; if passed into a function or closed over', which is a problem 
> with code such as in my example I suppose.
>
> I wasnt trying to avoid the functional approach but just being devils 
> advocate. Thanks for your comments.
>
> P.S. This forum is great. Although I keep asking dumb newbie questions, 
> everyone still gives helpful replies, Thanks all...
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to