One small thing - you need a vector around the whole ns piece:
(ns foo
(:use [com.foo.bar :only [baz quxx]]))
But yes, this is fully supported. The recommended way of doing this since
1.4 is to use :require/:refer instead, but the effect is the same:
(ns foo
(:require [com.foo.bar :refer [ba
(ns foo
(:use com.foo.bar :only [baz quxx]))
is totally supported by the ns macro.
Reid
On 06/07/2014 12:53 AM, Glen Rubin wrote:
> My namespace currently looks like this:
>
>
> (ns providence.core
> (:gen-class)
> (:use seesaw.chooser)
> (:use seesaw.core)
> (:use clojure.java.shell))
My namespace currently looks like this:
(ns providence.core
(:gen-class)
(:use seesaw.chooser)
(:use seesaw.core)
(:use clojure.java.shell))
However, I only use sh from java.shell choose-file from seesaw.chooser and
alert from seesaw.core.
How do I import these single functions from th