clojure:ensure

Last commit made on 2009-07-03
Get this branch:
git clone -b ensure https://git.launchpad.net/clojure

Branch merges

Branch information

Name:
ensure
Repository:
lp:clojure

Recent commits

9617434... by Rich Hickey <email address hidden>

support overlapping ensures with no retry, refs #143

c4a5cd2... by Rich Hickey <email address hidden>

fix compile-time NPE on set! of non-existent field, fixes #142

88cb269... by Rich Hickey <email address hidden>

in defn, propagate pre/post conditions written as map trailing arglist to metadata on arglist

6201f5e... by Rich Hickey <email address hidden>

added ref min/max history control - refs #138

5e34989... by Stephen C. Gilardi

Test reading of numbers like "1." and "1.e3". Fixes #117

Signed-off-by: Chouser <email address hidden>

169290b... by Rich Hickey <email address hidden>

made copyright notices uniform

24a3497... by Rich Hickey <email address hidden>

changed test target to "test"

61676af... by Rich Hickey <email address hidden>

Merge branch 'gtic' of git://github.com/stuarthalloway/clojure into gtic

0ac4828... by Rich Hickey <email address hidden>

:pre and :post conditions as metadata on arglist, or map following arglist
conditions are predicate exprs in a vector
return value of fn is bound to % for :post
(defn foo [x y]
  {:pre [(even? x) (< x y)]
   :post [(> % 3)]}
  (* x y))
add *assert*, default true, when not true asserts are no-ops
*assert* is bound in repl

ff26acc... by Rich Hickey <email address hidden>

allow %s not in #(), yields as-is symbol