Age | Commit message (Collapse) | Author |
|
Signed-off-by: Rich Hickey <richhickey@gmail.com>
|
|
|
|
|
|
|
|
|
|
Signed-off-by: Rich Hickey <richhickey@gmail.com>
|
|
get/count/nth/function-call, with thread safety check
|
|
|
|
(let [a 42 b 21] (new [supers] this {:volatile [a]} (foo [] ... (set! a 13) ...)))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Signed-off-by: Chouser <chouser@n01se.net>
|
|
Signed-off-by: Chouser <chouser@n01se.net>
|
|
Signed-off-by: Chouser <chouser@n01se.net>
|
|
Fixes #134
Signed-off-by: Chouser <chouser@n01se.net>
|
|
|
|
|
|
|
|
|
|
vector factory fns in terms of MutableVector
|
|
ArrayIndexOutOfBoundsException
|
|
|
|
mutable,immutable,conj!,pop!,assoc!,get!,nth!
|
|
|
|
|
|
|
|
|
|
|
|
Signed-off-by: Chouser <chouser@n01se.net>
|
|
Signed-off-by: Chouser <chouser@n01se.net>
|
|
|
|
|
|
|
|
metadata on arglist
|
|
|
|
Signed-off-by: Chouser <chouser@n01se.net>
|
|
|
|
|
|
|
|
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
|
|
|
|
|