Skip to content
John McClean edited this page Jul 5, 2018 · 247 revisions

Cyclops X wiki

This is a work in progress. For cyclops-react 2 wiki see here

Getting started

Add cyclops X as a dependency to your project

compile 'com.oath.cyclops:cyclops:x.y.z'

Persistent Collections

The cyclops.data package contains a range of persistent (immutable shared memory) collections.

Lists

Core Lists

Interface ImmutableList

  1. Seq - a persistent linked list
  2. NonEmptyList - a persistent linked list with a least one value
  3. LazySeq - a lazy persistent linked list (like Stream in Scala or Vavr)
  4. IntMap - a persistent 'arraylist' type list backed by a PatriciaTrie
  5. Vector - a persistent 'arraylist' type list backed by a bit mapped array trie

Special Lists / List Like Data Structures

  1. LazyString
  2. HList
  3. Zipper
  4. DifferenceList

Clone this wiki locally