Clojure, like most lisps, is designed around a REPL. So the highest compilation 
unit isn't a file, but a top level definition like defn or defmacro. 

While the comparison isn't perfect, compilation in a lot of lisps is a lot like 
piping a file into an active REPL, at least from a user's perspective.  

--Ashton

Sent from my iPhone

> On Dec 7, 2014, at 7:29 AM, gvim <gvi...@gmail.com> wrote:
> 
> Considering Clojure has a compile phase why is it more dependent on function 
> definition order than scripting languages like Perl? My naive assumption is 
> that one of the benefits of a compile phase is that every definition is 
> defined ahead of runtime.
> 
> gvim
> 
> -- 
> 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.

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