+1. I would love to see a one-file story.

Stu

> On Dec 10, 2008, at 1:50 PM, Stephen C. Gilardi wrote:
>
>> - I think init.clj and repl-init.clj would be good additions to  
>> what we have now. I'll be happy to write the code if it's welcome.
>
> Alternatively, we could make those hooks be functions that one can  
> (optionally) define in user.clj. The platform entry point would call  
> them if they exist:
>
>       (ns user)
>
>       (defn init
>         []
>         (set! *compile-path* "my/compiled/clojure"))
>
>       (defn repl-init
>         []
>         (set! *print-length* 100)
>         (set! *print-level* 10)
>         (println "Hiya, pal!"))
>
> I like that because it would make for a unified story and single  
> file to worry about for all these initializations.
>
> --Steve
>


--~--~---------~--~----~------------~-------~--~----~
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
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to