Permalink
Browse files

Playing with reader literals

  • Loading branch information...
1 parent d749593 commit 111301584640fd14194aac49b015be9de0a7676e @fogus fogus committed May 24, 2012
Showing with 11 additions and 1 deletion.
  1. +1 −1 project.clj
  2. +7 −0 src/main/clojure/clojure/core/contracts/impl/readers.clj
  3. +3 −0 src/main/clojure/data_readers.clj
View
@@ -1,5 +1,5 @@
(defproject core.contracts "0.0.1"
- :description ""
+ :description "Contracts programming for Clojure."
:dependencies [[org.clojure/clojure "1.5.0-alpha1"]
[org.clojure/core.unify "0.5.2"]]
:dev-dependencies [[lein-clojars "0.5.0-SNAPSHOT"]
@@ -0,0 +1,7 @@
+(ns clojure.core.contracts.impl.readers)
+
+(defn read-constraints
+ [form]
+ {:pre []
+ :post []})
+
@@ -0,0 +1,3 @@
+{contract clojure.core.contracts.impl.readers/read-constraints
+ fun clojure.core/identity
+ invariants clojure.core/identity}

0 comments on commit 1113015

Please sign in to comment.