Registry / utility / arrow-core-jvm

arrow-core-jvm

JSON →
library2.2.2javamavenunverified

The core library of Arrow, a functional companion for Kotlin providing data types and abstractions for functional programming.

<dependency> <groupId>io.arrow-kt</groupId> <artifactId>arrow-core-jvm</artifactId> <version>2.2.2</version> </dependency>
INSTALL
IMPORT
SIG · ARROW-CORE-JVM
A
arrow-core-jvm
utilityjavav2.2.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Either
arrow.core.Either

Shows usage of Either for error handling.

import arrow.core.Either fun divide(a: Int, b: Int): Either<String, Int> = if (b == 0) Either.Left("Division by zero") else Either.Right(a / b) fun main() { val result = divide(10, 2) result.fold( { println("Error: $it") }, { println("Result: $it") } ) }
Debug
Known issues
breakingArrow 2.x has breaking changes from 1.x, including package restructuring and removal of some data types.
fix
Refer to the migration guide at https://arrow-kt.io/learn/quickstart/migration/.
affects: >=2.0.0
Upgrade
Version history
2.2.2latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
17 hits · last 30 days
node
14
OpenAI (training)
2
Meta
1
Resources
arrow-core-jvm — mvn dependency:get arrow-core-jvm · libregistry