refer-clojure

78 views
Skip to first unread message

Brian Craft

unread,
May 31, 2013, 10:16:27 PM5/31/13
to clojure...@googlegroups.com
Trying to get edn.clj to load, it aborts like so:

clojure.lang.cljexceptions.CompilerException: Compiler Exception <module 'clojure.core' from '/inside/home/craft/clojurepy/lib/python2.7/site-packages/clojure/core.clj'> does not define refer-clojure

Presumably this is from the (ns) call at the top of edn.clj:

(ns ^{:doc "edn reading."
      :author "Rich Hickey"}
  clojure.edn
  (:refer-clojure :exclude [read read-string]))


Is this an unimplemented feature of ns in clojurepy?

Antony Lee

unread,
May 31, 2013, 10:33:15 PM5/31/13
to clojure-py-dev
Which version do you use?  Running the current HEAD, the import fails because clojure.lang.EdnReader is not defined, but refer-clojure is not an issue (it is defined on line 2807 of core.clj).


2013/5/31 Brian Craft <craft...@gmail.com>

--
You received this message because you are subscribed to the Google Groups "clojure-py-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clojure-py-de...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Brian Craft

unread,
May 31, 2013, 11:44:34 PM5/31/13
to clojure...@googlegroups.com, anton...@berkeley.edu
Whatever is in pypi. Looks like 0.2.4?

Antony Lee

unread,
Jun 1, 2013, 1:52:57 AM6/1/13
to clojure-py-dev
That version is way out of date, you should grab the current HEAD of github instead.


2013/5/31 Brian Craft <craft...@gmail.com>
Reply all
Reply to author
Forward
0 new messages