On 4/2/11 17:40 , Niclas Hedhman wrote:
Gang,
1.3.RC5 is in progress of uploading the artifacts. Should be done in
~2 hours (or less).
The small things I have done includes;
- fixing a couple of versions,
- generate<repository> in POMs
- enabled EntityViewer, Envisage and library-rest to be disted.
- deleted some redundant+ignored tests
- @Ignore on the ValueCompositeBasicsTest
These changes sit in the release_1.3 branch, but will be merged back later.
As usual, any help in finding any problems with these, is greatly appreciated.
Good stuff!
Inspired by some other functional toolkits I have also expanded the
Iterables utility, in particular there's now a "last()" function that
returns the last item in an Iterator.
When combined with "map" you can now do "folding", or "reducing" of a
series of values. Example:
assertThat( last( map( longSum(), iterable( 1, 2L, 3F, 4D ) ) ),
equalTo( 10L ) );
This will take the list of numbers, apply the function longSum() (as an
instance) to all, and return the last value returned, which is 10L.
/Rickard
_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev