aboutsummaryrefslogtreecommitdiff
path: root/src/clojure
AgeCommit message (Collapse)Author
2009-01-29Fixed partition-by to work on vectors, arrays or ranges (generally when ↵Christophe Grand
(identical? (rest s) (rest s)) returns false).
2009-01-29test-clojure.reader: fix some number tests for current clojure and added ↵scgilardi
some. all pass currently
2009-01-29apply_macro.clj: added new (evil) libStuart Sierra
2009-01-28Added combinatorics.clj, which contains efficient implementations of a ↵Mark Engelberg
number of common combinatorial functions, such as permutations, combinations, subsets, cartesian-product, and more. Also, commented out similar functions in lazy_seqs.clj with Stephen C. Gilardi's permission to avoid duplication with these newer, faster functions.
2009-01-26json/read.clj: eliminated reflection, fixed int/char typecast bugStuart Sierra
2009-01-26Moved print_json.clj to json/write.clj; added json/read.clj.Stuart Sierra
2009-01-26sql.internal: with-query-results clearer error message when code needs ↵scgilardi
updating from query as sql string to query as vector containing sql string and params
2009-01-26print_json.clj: added new lib, a JSON generatorStuart Sierra
2009-01-26stream-utils: use new fn interface to stream itersKonrad Hinsen
2009-01-26Fixed issue 5: updated code from Craig McDanielscgilardi
2009-01-25added :dir and :env to shell-outStuart Halloway
2009-01-25added test_contrib.clj, similar test_clojure.cljStuart Halloway
added test_clojure, test_contrib, and test tasks to build.xml
2009-01-25New module clojure.contrib.stream-utilsKonrad Hinsen
2009-01-25Monads: new writer monad, enhanced maybe-t transformer, new sequence-t ↵Konrad Hinsen
transformer
2009-01-25math: remove 'mod' (was added to Clojure svn rev 1227)Chouser
2009-01-22New module accumulators.clj (with example and entry in build.xml)Konrad Hinsen
2009-01-21test_is.clj: lots of new documentationStuart Sierra
2009-01-21test_is.clj: new assertion "(is (thrown-with-msg? class re ...))"Stuart Sierra
2009-01-21sql: simplify transaction* furtherscgilardi
2009-01-21sql: in transaction*, separate simple nested case from outermost casescgilardi
2009-01-21sql: correct docs for transact(*) regarding rollback-onlyscgilardi
2009-01-21sql.internal: extract get-connection code into its own functionscgilardi
2009-01-21repl-utils/source: fix for package names that include dashes.Chouser
2009-01-21sql: improve conditional for loading driver classscgilardi
2009-01-21repl-utils/show: Add support for regex and predicate filters.Chouser
2009-01-21sql: add :datasource as a way to specify a database to with-connectionscgilardi
2009-01-20template.clj: added checks for valid template expressionsStuart Sierra
2009-01-19sql: provide find-connection, returns current connection or nilscgilardi
2009-01-19sql: fix updating of :rollback-onlyscgilardi
2009-01-19add server_socket.clj from Craig McDaniel, addresses issue 4scgilardi
2009-01-19sql: restore rollback flag to its default after transaction completesscgilardi
2009-01-18sql: add support for rollback-only to transaction, only wrap the outermost ↵scgilardi
transaction's exception with an exception with message 'transaction rolled back'
2009-01-18def.clj: update defalias to use only supported clojure calls/reader macrosscgilardi
2009-01-18sql: wrap transaction* in io! to disallow interleaving stm transactions with ↵scgilardi
sql transactions
2009-01-18Added doc strings to multimethods in math.clj.Mark Engelberg
2009-01-18Added math.clj, which contains several math functions that are considered ↵Mark Engelberg
standard in Scheme implementations, adapted to Clojure's numeric tower when relevant, using Java's Math library for doubles. Also added a math folder, which contains tests.clj (test cases for math.clj).
2009-01-17walk.clj: added macroexpand-all, a simple demonstration of a walking functionStuart Sierra
2009-01-17Removed reflection warnings.Christophe Grand
2009-01-17Fixed path problem when opening local javadocs on Windows.Christophe Grand
See http://groups.google.com/group/clojure/browse_thread/thread/35949c7b483ecf23#
2009-01-16test_is.clj: Regained fancy error reports for functional predicates.Stuart Sierra
This time does not break tests using macros or Java method calls. Can also now test unbound vars.
2009-01-16test_is/tests.clj: added regular expression testsStuart Sierra
2009-01-16test_is.clj: documentation and code organizationStuart Sierra
2009-01-16test_is.clj: fixed bug that broke tests if first element wasn't a functionStuart Sierra
Reported by Stuart Halloway. Still want to recover the fancier error reporting when the first element IS a function, but need a way to test *at compile time* if something is a function.
2009-01-16test_is/tests.clj: added test using anonymous #() functionsStuart Sierra
2009-01-16test_is/tests.clj: added test for Java method call (to be fixed)Stuart Sierra
2009-01-15test_is/tests.clj: unit tests for clojure.contrib.test-is (finally)Stuart Sierra
2009-01-15test_is.clj: added test-all-vars, more generic assert-expr for predicatesStuart Sierra
2009-01-15test_is.clj: print stack traces for exceptionsStuart Sierra
2009-01-14sql: execute batch updates within a transaction for all-or-nothing behavior, ↵scgilardi
return a seq (instead of a vector) from do-commands, do-prepared so the entire set of results doesn't need to be realized unless it's interesting
2009-01-14sql: add update-or-insert-values & test for it, refine doc strings, remove ↵scgilardi
unnecessary uses of apply