Just one import to access Javaslang

With Javaslang 2.0.0 we introduced javaslang.API, the best way to use language-level constructs like the pattern matching API and for-comprehensions. import static javaslang. »

The agonizing death of an astronaut

The questions pile up, which is why Some(null) is allowed in Javaslang. "Isn't Option meant to make computations null-safe?" "How can that be?" For example »

Redundancy of the Java language

(Note: the original title of this blog post was "For-Comprehensions In-Depth" but this post is more than a description of another Javaslang feature. I want to »

Idiomatic Javaslang: The For-Comprehension

Rahel L├╝thy gave a great example on how to simplify Java code by using Javaslang's For-Comprehension. The example was introduced by Kelsey Gilmore-Innis, Idiomatic Scala: The »