Skip to content

Commit

Permalink
Fixed map conforming (closes #2)
Browse files Browse the repository at this point in the history
  • Loading branch information
tonsky committed Sep 14, 2016
1 parent cf87962 commit 4dbb75b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Add this to your project.clj:
```clj
:dependencies [
[org.clojure/clojure "1.8.0"]
[clojure-future-spec "1.9.0-alpha12"]
[clojure-future-spec "1.9.0-alpha12-1"]
]
```

Expand Down
2 changes: 1 addition & 1 deletion project.clj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(defproject clojure-future-spec "1.9.0-alpha12"
(defproject clojure-future-spec "1.9.0-alpha12-1"
:description "Backport of clojure.spec for Clojure 1.8"
:url "https://github.com/tonsky/clojure-future-spec"
:license {:name "Eclipse Public License"
Expand Down
2 changes: 1 addition & 1 deletion src/clojure/spec.clj
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,7 @@
(conform* [_ m]
(if (keys-pred m)
(let [reg (registry)]
(loop [ret m, [[k v] & ks :as keys] m]
(loop [ret m, [[k v] & ks :as keys] (seq m)]
(if keys
(let [sname (keys->specnames k)]
(if-let [s (get reg sname)]
Expand Down

0 comments on commit 4dbb75b

Please sign in to comment.