Skip to content

v8.3.0 of cyclops : Sum Types (Eithers), Higher Kinded Types and Type Classes

Compare
Choose a tag to compare
@johnmcclean johnmcclean released this 25 Nov 23:22
· 319 commits to master since this release

8.3.0 Release of Cyclops

Javadoc enhancements for the 8.3.0 release

Issues and PRs for 8.3.0

Overview of 8.3.0

3 new modules

cyclops-sum-types

Introduces 3 new data structures - Either. Either3 and Either 4. All are totally lazy ‘right’ biased union or Either types. Like Xor (an eager sum type) they inherit from ApplicativeFunctor, Filterable, Foldable, Functor, MonadicValue1, To, Value,Visitable and Zippable.

cyclops-higherkindedtypes

Introduces derive4j as a dependency and defines ‘type constructors’ for JDK types. All cyclops integration modules import cyclops-higherkindedtypes and we provide Higher Kinded Type encodings for the types in those libraries (e.g. FunctionalJava, JavaSlang, Guava, Reactor, RxJava). HKT encodings are HighJ compatible and we also provide a set of type classes in cyclops-typeclasses

cyclops-typeclasses

Defines a set of type classess (Functor, Applicative, Monad, Traversable etc) and Instances for JDK and cyclops-react types. Each third party integration module provides their own type class instances.

I

Getting Cyclops 8.3.0

MODULE_NAMES : 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.3.0’

Maven

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

Javadoc

http://www.javadoc.io/doc/com.aol.cyclops/cyclops-rx/8.3.0
http://www.javadoc.io/doc/com.aol.cyclops/cyclops-reactor/8.3.0
http://www.javadoc.io/doc/com.aol.cyclops/cyclops-javaslang/8.3.0
http://www.javadoc.io/doc/com.aol.cyclops/cyclops-functionaljava/8.3.0
http://www.javadoc.io/doc/com.aol.cyclops/cyclops-guava/8.3.0
http://www.javadoc.io/doc/com.aol.cyclops/cyclops-sum-types/8.3.0
http://www.javadoc.io/doc/com.aol.cyclops/cyclops-higherkindedtypes/8.3.0
http://www.javadoc.io/doc/com.aol.cyclops/cyclops-typeclassess/8.3.0 (note the misspelling which will be fixed in 8.3.1 - the extra s at the end).