The doc doesn't claim that :as works with use. But it works well with require :
user> (ns foo (:require [clojure.contrib.zip-filter :as zf])) HTH, -- Laurent 2009/3/24 Tom Emerson <tremer...@gmail.com> > > Hi all, > > I'm getting an error I don't quite understand. Starting Clojure > (r1329) and entering > > user> (ns foo (:use [clojure.contrib.zip-filter :as zf])) > > I get an exception, > > java.lang.IllegalStateException: descendants already refers to: > #'clojure.core/descendants in namespace: foo (NO_SOURCE_FILE:0) > [Thrown class clojure.lang.Compiler$CompilerException] > > I notice that in zip_filter.clj the namespace declaration contains > > (:refer-clojure :exclude (descendants ancestors)) > > Do I need to do this as well if I'm going to use zip-filter? It looks > like I do, though this isn't (explicitly) documented. > > Thanks for any clarification. > > -tree > > -- > Tom Emerson > tremer...@gmail.com > http://treerex.blogspot.com/ > > > > --~--~---------~--~----~------------~-------~--~----~ 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 clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---