vavr
vavr copied to clipboard
vʌvr (formerly called Javaslang) is a non-commercial, non-profit object-functional library that runs with Java 8+. It aims to reduce the lines of code and increase code quality.
Very similar to the concept of left joining in a relational database, this method allows joining 2 Seq's based on keys that are extracted from each element.
I like `Option.when()`. I would also like `Either.when()`. Please consider it. I would add it myself, but I don't have the energy right now. I might try later. ``` Either.when(boolean...
I'm at best an Advanced Beginner, so maybe this is something simple that I merely need to learn. I am aggregating information for nested collections using `flatMap()`. I later want...
Vavr version is currently affected by CVE-2020-15250 vulnerability https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-15250. JUnit4 from version 4.7 and before 4.13.1 is the dependency that brings the vulnerability, bumping the version may fix the issue.
I am wondering if we can merge two collections to tuples if and only if the elements have something in common: ```java // (tuple(1, 1), tuple(2, 2)) Seq.of(1, 2, 4).innerJoin(Seq.of(1,...
I am currently evaluating vavr as a replacement for Java 8 Streams. While processing batches of events we always want to keep the last value unique by some key. The...
Hi there, I am having a kind of issue or misusage, when I do something like: ```java Future.fromCompletableFuture(sendDocumentUploadedEvent(event)) .onSuccess(result -> validateUpload(event, timestamps)) // throws exception .get(); ``` if any exceptions...
So far this is work-in-progress PR: tests failing, no documentation, etc.
I am really enjoying using `Validation` class provided by vavr library. But sometimes it is tedious to build validating logic for common use cases in Java. Right now main use-case...