Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fix up the example map

  • Loading branch information...
commit bf677428c9de5adf2c59a749b368d995b22fedd1 1 parent ed04bf2
Paul deGrandis authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  src/sterling/example.clj
2  src/sterling/example.clj
@@ -37,7 +37,7 @@
37 37 ;{:clojure.core.specs/type :defspec,
38 38 ; :clojure.core.specs/f #<core$inc clojure.core$inc@6d6a8bf0>,
39 39 ; :clojure.core.specs/args [x],
40   - ; :clojure.core.specs/ext {:constraints [{:doc "The input is non-negative and always returns a positive number", :pre (not (neg? x)
  40 + ; :clojure.core.specs/ext {:constraints [{:doc "The input is non-negative and always returns a positive number",
41 41 ; :pre (not (neg? x)), :post (pos? %)}]
42 42 ; :typed [[Number -> Any]]},
43 43 ; :clojure.core.specs/doc "A simple spec for non-negative inc"}

0 comments on commit bf67742

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