Re: How to separate code into different files

2010-04-12 Thread Meikel Brandmeyer
Hi, On Apr 11, 4:36 pm, Nurullah Akkaya wrote: > (ns tubes.core >   (:use :reload-all tubes.plugins.a)) Please note, that :reload-all is not necessarily a good idea in standard code. You should use it only for debugging. Sincerely Meikel -- You received this message because you are subscribe

Re: How to separate code into different files

2010-04-11 Thread Nurullah Akkaya
Assuming you have the following file structure, src/ src/tubes/ src/tubes/core.clj src/tubes/download.clj src/tubes/plugins/a.clj Now to use plugin a from core, (ns tubes.core (:use :reload-all tubes.plugins.a)) or to use download module from within plugin a, (ns tubes.plugin.a (:use :rel

How to separate code into different files

2010-04-11 Thread -r
Hi all, I am a total newbie to Clojure. This is just my second day. I was wondering how you split code into different files and use them in clojure. For example if i have 2 folders dir1 and dir2 and dir1 has file1.clj and dir 2 has file2.clj, how to call a function in file2 from file1. How to loa