Anonymous committed aa3d7ad

depend on clj-argutil

Comments (0)

Files changed (1)


 (ns org.bituf.dbserver-util
   "Functions to start and stop embedded database servers."
+  (:use org.bituf.clj-argutil)
 (defn msg
   (println (format "\n*** %s ***" (str s))))
-(defn as-vector
-  "Convert anything to a vector and return the result"
-  [anything]
-  (if (vector? anything) anything
-    (if (or (seq? anything) (set? anything)) (into [] anything)
-      (if (map? anything) (into [] (vals anything))
-        [anything]))))
 (defn start-derby-server
   "Start the Derby database server on a network port. The default host is
   localhost and the default port is 1527.