Permalink
Browse files

Fix up the example map

  • Loading branch information...
1 parent ed04bf2 commit bf677428c9de5adf2c59a749b368d995b22fedd1 @ohpauleez committed Mar 12, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/sterling/example.clj
View
@@ -37,7 +37,7 @@
;{:clojure.core.specs/type :defspec,
; :clojure.core.specs/f #<core$inc clojure.core$inc@6d6a8bf0>,
; :clojure.core.specs/args [x],
- ; :clojure.core.specs/ext {:constraints [{:doc "The input is non-negative and always returns a positive number", :pre (not (neg? x)
+ ; :clojure.core.specs/ext {:constraints [{:doc "The input is non-negative and always returns a positive number",
; :pre (not (neg? x)), :post (pos? %)}]
; :typed [[Number -> Any]]},
; :clojure.core.specs/doc "A simple spec for non-negative inc"}

0 comments on commit bf67742

Please sign in to comment.