Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Updating README with type/rec descrips

  • Loading branch information...
commit 85583b5b1d534ff504c2c7e9ab708b6a0a48b760 1 parent 6c5aa94
Fogus fogus authored

Showing 1 changed file with 6 additions and 4 deletions. Show diff stats Hide diff stats

  1. +6 4 README.md
10 README.md
Source Rendered
@@ -68,6 +68,7 @@ Example
68 68 (use '[trammel.core :only (defconstrainedtype)])
69 69
70 70 (defconstrainedtype Foo [a b]
  71 + "Foo type fields are expected to hold only numbers."
71 72 [(every? number? [a b])])
72 73
73 74 (->Foo 1 2)
@@ -86,7 +87,7 @@ Getting
86 87 Modify your [Leiningen](http://github.com/technomancy/leiningen) dependencies to include Trammel:
87 88
88 89 ```clojure
89   - :dependencies [[trammel "0.5.0"] ...]
  90 + :dependencies [[trammel "0.7.0-SNAPSHOT"] ...]
90 91 ```
91 92
92 93 ### Maven
@@ -97,7 +98,7 @@ Add the following to your `pom.xml` file:
97 98 <dependency>
98 99 <groupId>trammel</groupId>
99 100 <artifactId>trammel</artifactId>
100   - <version>0.5.0</version>
  101 + <version>0.7.0-SNAPSHOT</version>
101 102 </dependency>
102 103 ```
103 104
@@ -108,7 +109,7 @@ Trammel is in its infancy but I think that I have a nice springboard for experim
108 109
109 110 - Better error messages
110 111 - Distinct pre and post exceptions
111   - - Study the heck out of everything Bertrand Meyer ever wrote (in progress)
  112 + - Study the heck out of everything Bertrand Meyer and Walter Bright ever wrote (in progress)
112 113 - `defconstraint` -- with ability to relax requires and tighten ensures
113 114 - Study the heck out of Racket Scheme (in progress)
114 115 - Modify macros to also allow regular Clojure constraint maps
@@ -117,8 +118,9 @@ Trammel is in its infancy but I think that I have a nice springboard for experim
117 118 - Allow other stand-alones: true/false, numbers, characters, regexes
118 119 - Make `provide-contracts` more amenable to REPL use
119 120 - Generate a Foo? function (in progress)
  121 + - Marrying test.generative with Trammel
120 122
121   -If you have any ideas or interesting references then I would be happy to discuss.
  123 +If you have any ideas or interesting references then I would be happy to discuss at me -the-at-sign- fogus -the-single-period- me.
122 124
123 125 References
124 126 ----------

0 comments on commit 85583b5

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