Skip to content

v8.4.1 of cyclops adds an Either5 and various performance enhancements for working with collections

Compare
Choose a tag to compare
@johnmcclean johnmcclean released this 06 Dec 14:55
· 260 commits to master since this release

8.4.1 Release of Cyclops

Issues and PRs for 8.4.1

Enhancements in 8.4.1

Sum types

  1. Either5 added
  2. Native for comprehensions added (forEach2-4)
  3. applyAny, consumeAny fluent method execution

Collection performance

  1. Cross-thread lazy collection materialization has spin locking
  2. plusLoop operators to append directly to Scala collections in a loop

Overview of 8.4.0

Cyclops 8.4.1 offers a smorgasord of Lazy Extended Persistent collections, choose between PCollections, Scala, Clojure, Dexx and JavaSlang for your Lazy eXtended Persistent Collections with a common interface across them all.

cyclops-scala

Use Scala Persistent Collections directly from Java, without the pain of $colon.$colon.$plus syntax and canBuildFrom complexity.

e.g.

ScalaPVector.of(1,2,3)
            .map(i->i*2)
            .plus(5);

ScalaPVector.empty()
            .onEmptySwitch(() -> ScalaPVectorX.of(1, 2, 3);

Interoperate with Collections from Clojure, PCollections, Dexx and JavaSlang

ScalaPPStack.of(1,2,3)
            .flatMap(i->ClojurePVector.range(0,i)
            .plus(5);

Getting Cyclops 8.4.1

MODULE_NAMES : cyclops-scala, cyclops-clojure, cyclops-dexx, cyclops-rx, cyclops-reactor, cyclops-guava, cyclops-functionaljava, cyclops-javaslang, cyclops-sum-types, cyclops-higherkindedtypes, cyclops-typeclasses

Gradle

       compile 'com.aol.cyclops:MODULE_NAME:8.4.1’

Maven

     <dependency>
           <groupId>com.aol.cyclops</groupId>
           <artifactId>MODULE_NAME</artifactId>
           <version>8.4.1</version>
     </dependency>

Javadoc

http://www.javadoc.io/doc/com.aol.cyclops/cyclops-scala/8.4.1
http://www.javadoc.io/doc/com.aol.cyclops/cyclops-clojure/8.4.1
http://www.javadoc.io/doc/com.aol.cyclops/cyclops-dexx/8.4.1
http://www.javadoc.io/doc/com.aol.cyclops/cyclops-rx/8.4.1
http://www.javadoc.io/doc/com.aol.cyclops/cyclops-reactor/8.4.1
http://www.javadoc.io/doc/com.aol.cyclops/cyclops-javaslang/8.4.1
http://www.javadoc.io/doc/com.aol.cyclops/cyclops-functionaljava/8.4.1
http://www.javadoc.io/doc/com.aol.cyclops/cyclops-guava/8.4.1
http://www.javadoc.io/doc/com.aol.cyclops/cyclops-sum-types/8.4.1
http://www.javadoc.io/doc/com.aol.cyclops/cyclops-higherkindedtypes/8.4.1
http://www.javadoc.io/doc/com.aol.cyclops/cyclops-typeclasses/8.4.1