first steps in improving modularity - moving classname resolution tow…
…ards consumer in: new, static calls, class literals and import. Note import is now a macro (but tolerant of quotes for backwards compatibility)
steps in improving modularity - moving classname resolution towards c…
…onsumer in: ns - wraps require and use calls in with-loading-context
get rid of root classloader. Establish dynamic context classloader fo…
…r repl thread. Default true for *use-context-classloader*
parse "1." and "1.e3" as legal floats. Refs #117
Signed-off-by: Chouser <chouser@n01se.net>
add an optional encoding argument to slurp. Fixes #125
Signed-off-by: Chouser <chouser@n01se.net>
Bring documentation for 'require up to date
Signed-off-by: Chouser <chouser@n01se.net>
add optional pad argument to partition. Fixes #120
Signed-off-by: Chouser <chouser@n01se.net>
Add a call to Agent.shutdown() at the end of clojure.lang.Compile/mai…
…n Refs #124 Signed-off-by: Chouser <chouser@n01se.net>
core: make every? return false instead of nil
Refs #71 Signed-off-by: Chouser <chouser@n01se.net>
test libraries moved over tests moved over build broken (next commits will break dependencies)
- clojure.contrib to clojure - clojure.test-is to test
:pre and :post conditions as metadata on arglist, or map following ar…
…glist
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 replTest reading of numbers like "1." and "1.e3". Fixes #117
Signed-off-by: Chouser <chouser@n01se.net>