Arrow是适用于Kotlin的函数式编程库,是由两个现有流行库(kategory和funKTionale)合并而成。虽然Kotlin为函数式编程提供了构建模块,但Arrow为应用程序开发人员准备了随时可用的高级抽象包。它提供数据类型、类型类、作用(Effects)、Optics和其他函数式编程模式,并且可以与流行库相集成。我们对于Arrow最初的好印象如今已经在生产环境的应用构建中得到了印证。
Arrow is a functional programming library for Kotlin, created by merging two existing popular libraries (kategory and funKTionale). While Kotlin provides building blocks for functional programming, Arrow delivers a package of ready-to-use higher-level abstractions for application developers. It provides data types, type classes, effects, optics and other functional programming patterns as well as integrations with popular libraries. With Arrow, existing libraries are unified, which should go a long way to avoid fractured communities in this space.