Skip to content

Old Wiki Home

John McClean edited this page Jul 5, 2018 · 1 revision

See FutureStreams below for more advanced - infinite lazy Streams of Futures with a huge range of extended operators

AnyM is a functor for Monads, with two monadic sub-types. AnyMValue a monad for monadic values. AnyMSeq a monad for non-scalar monads.

AnyM Refresher

Related : For Comprehensions in Scala

Compose your own

See also

All cyclops-react data types implement Reactive Streams Publisher (e.g. extended collections, AnyM, Xor, Ior, Try, Maybe, FutureW, ReactiveSeq, LazyFutureStream and more).

ReactiveSeq & LazyFutureStream extend jooλ's Seq. Extended Collections implement jooλ Collection API.

cyclops-react Types are defined in the types package and sub-packages

Using the cyclops-react Do builder. In general prefer using com.aol.cyclops.control.For to the lower level Do. Do is useful for building your own For Comprehension interpreter (see For intro.

[monad,applicative, functor, unit, monadPlus based on HKT]

Integrations include

  1. AnyM support
  2. For comprehension support
  3. Higher Kinded Type encodings for 3rd party libraries
  4. Lazy / faster collections by taking advantage of strengths of each library
Clone this wiki locally