cyclops-react v10.1.0 Release Notes
Release Date: 2018-11-27 // over 5 years ago-
Cyclops 10.1.0
Whatβs new Cyclops 10.1.0
- Generic pure functional programming with a new Do notation
- takeWhileInclusive, takeUntilInclusive, dropWhileInclusive, dropUntilInclusive operators on ReactiveSeq
- π Type class performance improvements for Seq, Vector, LazySeq, IO, Publishers, Iterables and more
π Bug fixes
- π Spouts amb operator fixed
- β± Spouts schedule Stream operator fix
- Completable types no longer block on reactive-streams subscriptions
- π Deprecations (internal methods and misnamed types)
Do Notation Examples
Do.forEach(OptionInstances::monad) .\_\_(some(10)) .\_\_(some(5)) .yield((a,b)-\>a+b)
π· Tagless Final
Do.forEach(monad) .\_of(amount) .\_\_(this::debit) .\_\_(\_1(this::credit)) .yield(\_\_23(Tuple::tuple)) .fold(fn);
Algebra
interface AccountAlgebra\<W\> { Higher\<W,Account\> debit(Account account, double amount); Higher\<W, Account\> credit(Account account, double amount); }
π Changelog
π Check out the features delivered and bugs fixed -
Dependency changes
Agrona to 0.9.27
π Reactor to 3.2.3.RELEASE
RxJava 2 to 2.2.4Modules
- cyclops - Persistent data structures and control types
- cyclops-futurestream - Parrallel asynchronous streaming
- cyclops-reactive-collections - Fast, non-blocking, asynchronous extensions for JDK and Persistent Collections
- cyclops-anyM - Higher kinded abstractions for working with any Java Monad type.
- cyclops-pure - Higher kinded type classes for pure functional programming in Java
- cyclops-reactor-integration - Reactive collections and AnyM integrations with Reactor.
- cyclops-rxjava2-integration - Reactive collections and AnyM integrations with Rx Java 2.
- cyclops-jackson-integration - Jackson databindings for Cyclops persistent data structures and control types.
Get cyclops X
Gradle
Cyclops
compile 'com.oath.cyclops:cyclops:10.1.0β
Cyclops AnyM
compile 'com.oath.cyclops:cyclops-anym:10.1.0β
Cyclops Futurestream
compile 'com.oath.cyclops:cyclops-futurestream:10.1.0β
Cyclops Pure
compile 'com.oath.cyclops:cyclops-pure:10.1.0β
Cyclops Reactive Collections
compile 'com.oath.cyclops:cyclops-reactive-collections:10.1.0β
Cyclops Reactor Integration
compile 'com.oath.cyclops:cyclops-reactor-integration:10.1.0'
Cyclops RxJava2 Integration
compile 'com.oath.cyclops:cyclops-rx2-integration:10.1.0'
Cyclops Jackson Integration
compile 'com.oath.cyclops:cyclops-jackson-integration:10.1.0'
Maven
Cyclops
\<dependency\> \<groupId\>com.oath.cyclops\</groupId\> \<artifactId\>cyclops\</artifactId\> \<version\>10.1.0\</version\> \</dependency\>
Cyclops AnyM
\<dependency\> \<groupId\>com.oath.cyclops\</groupId\> \<artifactId\>cyclops-anym\</artifactId\> \<version\>10.1.0\</version\> \</dependency\>
Cyclops Futurestream
\<dependency\> \<groupId\>com.oath.cyclops\</groupId\> \<artifactId\>cyclops-anym\</artifactId\> \<version\>10.1.0\</version\> \</dependency\>
Cyclops Pure
\<dependency\> \<groupId\>com.oath.cyclops\</groupId\> \<artifactId\>cyclops-pure\</artifactId\> \<version\>10.1.0\</version\> \</dependency\>
Cyclops Reactive Collections
\<dependency\> \<groupId\>com.oath.cyclops\</groupId\> \<artifactId\>cyclops-reactive-collections\</artifactId\> \<version\>10.1.0\</version\> \</dependency\>
Cyclops Reactor Integration
\<dependency\> \<groupId\>com.oath.cyclops\</groupId\> \<artifactId\>cyclops-reactor-integration\</artifactId\> \<version\>10.1.0\</version\> \</dependency\>
Cyclops RxJava2 Integration
\<dependency\> \<groupId\>com.oath.cyclops\</groupId\> \<artifactId\>cyclops-rx2-integration\</artifactId\> \<version\>10.1.0\</version\> \</dependency\>
Cyclops Jackson Integration
\<dependency\> \<groupId\>com.oath.cyclops\</groupId\> \<artifactId\>cyclops-jackson-integration\</artifactId\> \<version\>10.1.0\</version\> \</dependency\>
License
cyclops-react is licensed under the Apache 2.0 license.