From 4e448a843c494a0ea16869e0243233aaba539498 Mon Sep 17 00:00:00 2001 From: Rich Hickey Date: Tue, 8 Jun 2010 08:20:38 -0400 Subject: added missing :imports for Writer type hints --- src/main/clojure/clojure/contrib/dataflow.clj | 3 ++- src/main/clojure/clojure/contrib/datalog/database.clj | 3 ++- src/main/clojure/clojure/contrib/datalog/rules.clj | 11 ++++++----- 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 -- cgit v1.2.3-18-g5258