{"id":54598,"library":"vavr","title":"Vavr","description":"An object-functional language extension for Java 8+, providing persistent collections, functional control structures, and more.","status":"active","version":"1.0.1","language":"java","source_language":null,"source_url":"https://github.com/vavr-io/vavr","tags":["functional","collections","vavr","java"],"install":[{"cmd":"<dependency>\n  <groupId>io.vavr</groupId>\n  <artifactId>vavr</artifactId>\n  <version>1.0.1</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'io.vavr:vavr:1.0.1'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"List","correct":"io.vavr.collection.List"}],"quickstart":{"code":"import io.vavr.collection.List;\n\npublic class Example {\n    public static void main(String[] args) {\n        List<Integer> numbers = List.of(1, 2, 3, 4, 5);\n        int sum = numbers.filter(n -> n % 2 == 0).sum().intValue();\n        System.out.println(\"Sum of evens: \" + sum);\n    }\n}","lang":"java","description":"Creates a Vavr List, filters even numbers, and computes their sum."},"warnings":[{"fix":"Check the Vavr documentation for experimental API stability before using in production.","message":"Vavr 1.0.x requires Java 8+ but some features (like Pattern Matching) are experimental.","severity":"gotcha","affected_versions":">=1.0.0"}],"env_vars":null,"search_vec":"'8':10 'collect':13,20 'control':15 'extens':7 'function':5,14,19 'java':9,22 'languag':6 'object':4 'object-funct':3 'persist':12 'provid':11 'structur':16 'vavr':1,21","created_at":"2026-06-15T09:15:35.499293+00:00","updated_at":"2026-06-15T09:15:35.499293+00:00","problems":[],"ecosystem":"maven","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://vavr.io","github":"https://github.com/vavr-io/vavr","docs":"https://appdoc.app/artifact/io.vavr/vavr/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}