On Fri, Nov 14, 2008 at 10:26 AM, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
>
> No, it doesn't work.  The same error message is displayed.

Make sure you have a clean namespace, that you haven't already
"refer"ed load into 'a.  This works for me on Clojure SVN revision
1099:

In file a.clj:
(ns a
  (:refer-clojure :exclude (load))
  (:use [clojure.contrib.mmap :only (mmap)]
        [clojure.contrib.zip-filter :exclude (descendants ancestors)]))

(defn load [] 'my-load)

Then load that in a fresh REPL, and:
user=> (in-ns 'a)
#<Namespace a>
a=> (load)
my-load
a=> (doc mmap)
-------------------------
clojure.contrib.mmap/mmap
([f])
  Memory-map the file named f.  Returns a ByteBuffer.
nil
a=> (doc children)
-------------------------
clojure.contrib.zip-filter/children
([loc])
  Returns a lazy sequence of all immediate children of location loc,
  left-to-right.
nil

--Chouser

--~--~---------~--~----~------------~-------~--~----~
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
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to