20080213 Release
http://sourceforge.net/project/showfiles.php?group_id=137961
Many significant new features, including first-class namespaces,
pervasive abstract destructuring binding, list comprehensions, var
metadata, regex literals and more! Browse through the site for
details:
http://clojure.sourceforge.net/
There is some renaming/removing in this release:
Folded strcat functionality into str
Removed export, *exports*, unintern, unimport
Renamed ns-exports to ns-publics
Made fn and let macros, which, by the end of boot.clj, do
destructuring, as do all macros which emit them.
Removed thisfn, use (fn name [] ...)
boot.clj is now loaded from .jar, no longer from command line.
Renamed eql? to =, compares numbers without regard for type.
Renamed struct to struct-map
Changelist:
renamed :sigs to :arglists, added pr*-str fns, with-out-str
added re-find, re-matcher
added :sigs metadata
added field names to error messages
added re-groups and use in re-seq and re-matches
added re-seq, re-matches, nth support for matcher
added compiled regex literals via #"pattern"
renamed fn and let special ops to fn* and let*. Made fn and let
macros, which, by the end of boot.clj, do destructuring, as do all
macros which emit them.
added nth support for Map.Entry
changed strcat to str
added assoc/dissoc/conj support for beans
folded strcat into str
added :else to collection-tag
removed export
added when-first, lazy-cat
fixed for so bindings can nest, e.g. (for [x xs y (f x)]...
made meta return nil on non-IObjs
added prstr, assert, test
renamed ns-exports ns-publics
var metadata support
added seq support and inspector support for Java Maps
added bean, which creates a live read-only map of an object's
javabeans properties
added default handling of equals, toString and hashCode in implement
fixed maybeClass when passed Class
moved boot.clj load to RT.init()
added destructuring
added get and contains support for strings and arrays, treating as
associative, keyed by index, like vectors
added string? symbol? map? vector? seq? nthrest
prevent access to non-exported macro from other ns
added count, nth support for strings, Java Collections and arrays,
get and contains? support for Java Maps
added optional anonymous function name binding (fn name [args] ...)
added seq calls to for
added list comprehensions (for)
fixed subvec assoc at end
simplified cycle
got rid of thisfn
simplified, now includes .clj files in jar
simple inspector support
new constant handling
added first-class namespaces
added array-map
rename != not=
added ns- prefix to refers et al
added ns-unmap
made = use equiv for Numbers
added emit to xml.clj
fixed boolean return in proxy handler
coerce all Boolean false returns to Boolean.FALSE
renamed struct to struct-map, construct to struct. Added to-set and
distinct
made make-proxy use Compiler's classloader as parent
made DynamicClassLoader no-arg ctor use Compiler's classloader as
parent
added construct, resultset-seq, keyword fn, vars in namespace tables
fixed BigNum.equals
added pr support for \r in strings
fixed *warn-on-reflection* access
Thanks to all for your feedback!
Rich