Omer Kudat
unread,Oct 18, 2011, 5:52:09 AM10/18/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Clojure
Hi all,
I've started to teach myself clojure recently, so apologies for a
potentially stupid question.
I'm using clojure-1.3.0.jar, downloaded very recently. I would like to
use clojure.string/split-lines, but I cannot access the namespace.
I've tried:
(import 'clojure.string)
(import 'string)
and
(:require [clojure.string :as str]))
The last one is from the documentation in the string.clj file embedded
in the jar. They all throw either a "java.lang.ClassNotFoundException:
clojure.string" or a "java.lang.Exception: No namespace:
clojure.string".
Calling (all-ns) gives me a list of namespaces which does not include
string, and (find-ns) doesn't find clojure.string either.
Not sure what I'm doing wrong. Any pieces of wisdom?
Omer