aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Hickey <richhickey@gmail.com>2010-06-08 08:20:38 -0400
committerRich Hickey <richhickey@gmail.com>2010-06-08 08:20:38 -0400
commit4e448a843c494a0ea16869e0243233aaba539498 (patch)
tree45d1eb07b895ad438a0c82c6271c715f2f45c139
parent4fe738db417cbea76450e04223fdcc9ed0b2c053 (diff)
added missing :imports for Writer type hints
-rw-r--r--src/main/clojure/clojure/contrib/dataflow.clj3
-rw-r--r--src/main/clojure/clojure/contrib/datalog/database.clj3
-rw-r--r--src/main/clojure/clojure/contrib/datalog/rules.clj11
3 files changed, 10 insertions, 7 deletions
diff --git a/src/main/clojure/clojure/contrib/dataflow.clj b/src/main/clojure/clojure/contrib/dataflow.clj
index 894942be..95ffc59f 100644
--- a/src/main/clojure/clojure/contrib/dataflow.clj
+++ b/src/main/clojure/clojure/contrib/dataflow.clj
@@ -24,7 +24,8 @@
dependency-list
get-neighbors)])
(:use [clojure.walk :only (postwalk)])
- (:use [clojure.contrib.except :only (throwf)]))
+ (:use [clojure.contrib.except :only (throwf)])
+ (:import java.io.Writer))
;;; Chief Data Structures
diff --git a/src/main/clojure/clojure/contrib/datalog/database.clj b/src/main/clojure/clojure/contrib/datalog/database.clj
index aba41df9..931011e9 100644
--- a/src/main/clojure/clojure/contrib/datalog/database.clj
+++ b/src/main/clojure/clojure/contrib/datalog/database.clj
@@ -18,7 +18,8 @@
(:use clojure.contrib.datalog.util)
(:use clojure.contrib.def)
(:use [clojure.set :only (union intersection difference)])
- (:use [clojure.contrib.except :only (throwf)]))
+ (:use [clojure.contrib.except :only (throwf)])
+ (:import java.io.Writer))
(defstruct relation
diff --git a/src/main/clojure/clojure/contrib/datalog/rules.clj b/src/main/clojure/clojure/contrib/datalog/rules.clj
index bcfe5c4c..e0ca338f 100644
--- a/src/main/clojure/clojure/contrib/datalog/rules.clj
+++ b/src/main/clojure/clojure/contrib/datalog/rules.clj
@@ -15,12 +15,13 @@
(ns clojure.contrib.datalog.rules
- (use clojure.contrib.datalog.util)
- (use clojure.contrib.datalog.literals
+ (:use clojure.contrib.datalog.util)
+ (:use clojure.contrib.datalog.literals
clojure.contrib.datalog.database)
- (use [clojure.set :only (union intersection difference)])
- (use [clojure.contrib.set :only (subset?)])
- (use [clojure.contrib.except :only (throwf)]))
+ (:use [clojure.set :only (union intersection difference)])
+ (:use [clojure.contrib.set :only (subset?)])
+ (:use [clojure.contrib.except :only (throwf)])
+ (:import java.io.Writer))
(defstruct datalog-rule