Arrow Core includes types such as Either, Validated and many extensions to Iterable that can be used when implementing error handling patterns. Core also includes the base continuation effects system, which includes patterns to remove callbacks and enables controlled effects in direct syntax. Some applications of the effect system reduce boilerplate and enable direct syntax including monad comprehensions and computation expressions. Arrow Fx is a next-generation Typed FP Effects Library that makes tracked effectful programming first class in Kotlin built on top of Kotlin’s suspend system and KotlinX Coroutines Arrow Fx is a functional companion to KotlinX Coroutines augmenting its api with well known functional operators making it easier to compose async and concurrent programs. The library brings purity, referential transparency, and direct imperative syntax to typed FP in Kotlin, and is a fun and easy tool for creating Typed Pure Functional Programs.
Features
- Functional companion to Kotlin's Standard Library
- Functional Effects Framework companion to KotlinX Coroutines
- Deep access and transformations over immutable data
- Metaprogramming library for Kotlin compiler plugins
- Make sure to have the latest version of JDK 1.8 (or higher) installed
- Arrow supports Android starting on API 21 and up