When I require libraries from the ns form I get :
test> (ns test (:require '(clojure.contrib [logging :as log] [sql :as sql]) ))
lib names inside prefix lists must not contain periods
[Thrown class java.lang.Exception]
When I use the require function it works as expected.
test> (require '(clojure.contrib [logging :as log] [sql :as sql]) )
nil
The documentation for ns refers to the documentation of the require function but as they behave differently this is a bit confusing.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…