Questions about the Vavr functional programming library (formerly known as Javaslang).
Vavr (formerly known as Javaslang) is an open-source, functional component library for Java 8+.
Vavr provides immutable collections and the necessary functions and control structures to operate on these values. Most Vavr data structures are purely functional, i.e. they are both immutable and persistent. Operations that appear to modify a purely functional data structure do not alter the underlying data, but instead create a new version (and, in Vavr, a new Java object); references to the old version remain valid.
(For efficiency, persistent data structures are generally implemented so as to share as much state between versions as possible.)
See Also: