Skip to content
Browse files

clojure 1.3

  • Loading branch information...
1 parent 5aa0aa0 commit fdda2ae62e0399ac9ed05e2b4a7c710e53e1f4aa @jkk committed
Showing with 4 additions and 5 deletions.
  1. +2 −4 project.clj
  2. +2 −1 src/loom/graph.clj
View
6 project.clj
@@ -1,6 +1,4 @@
-(defproject jkkramer/loom "0.1.0"
+(defproject jkkramer/loom "0.2.0"
:description "Graph library for Clojure"
:author "Justin Kramer"
- :dependencies [[org.clojure/clojure "1.2.0"]]
- :dev-dependencies [[swank-clojure "1.3.0-SNAPSHOT"]]
- :jvm-opts ["-Xmx1g" "-server"])
+ :dependencies [[org.clojure/clojure "1.3.0"]])
View
3 src/loom/graph.clj
@@ -71,7 +71,8 @@ on adjacency lists."
(defrecord SimpleWeightedGraph [nodeset adj])
(defrecord SimpleWeightedDigraph [nodeset adj in])
-(def ^{:doc "Weight used when none is given for edges in weighted graphs"}
+(def ^{:dynamic true
+ :doc "Weight used when none is given for edges in weighted graphs"}
*default-weight* 1)
(def default-graph-impls

0 comments on commit fdda2ae

Please sign in to comment.
Something went wrong with that request. Please try again.