Re: import functions from different .clj files

2014-07-12 Thread Mike Fikes
I think the root cause is that you need to follow the directory name and 
filename conventions. For example clojure.java.jdbc is in a 
clojure/java/jdbc.clj file

  
 
https://github.com/clojure/java.jdbc/blob/master/src/main/clojure/clojure/java/jdbc.clj


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


Re: import functions from different .clj files

2014-07-12 Thread sorin cristea

 I want to do something like when you import a file from a clojure package, 
for example the case of jdbc, you wrote* (:require [clojure.java.jdbc :as 
sql])* than you call functions from clojure jdbc with statement 
(sql/fc-name..)

 but seams that this not working in case you have two .clj files or I do 
something wrong.




On Saturday, July 12, 2014 7:15:56 PM UTC+3, Mike Fikes wrote:
>
> And alternatively you could declare the first namespace as being 
> a.b.c.fileB

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