https://kotlinlang.org logo
#functional
Title
# functional
a

Asq

05/07/2021, 3:19 PM
I'm a newcomer to Kotlin and to its slack channel. Is there already a library of functional data structures (besides arrow) for the language? https://github.com/xrpn/immutable-kotlin was part of my dues to getting to know functional kotlin. These are algebraic sum type data structures, including (among the rest) a functional heap and a functional red-black tree.
j

Jannis

05/07/2021, 4:08 PM
Arrow does datatypes that are useful for fp, however they don't do collections. Check out https://github.com/Kotlin/kotlinx.collections.immutable for map/set/lists, they aren't perfect imo but pretty good for most use
6 Views