Functional Programming in Kotlin with Kategory
summary
Kategory is a Kotlin library that ports Typelevel Scala ideas (cats) and ships ready-to-use datatypes (Option, Try, Either, IO/effects) with lawful instances and tests. It implements monadic comprehensions using coroutines, an applicative/cartesian builder, stack-safety via trampolines/free, cancellation and thread-context switching, and generated optics (lenses/prisms) via annotations. Higher-kinded types are emulated with an HK interface and codegen; type classes use a global registry plus inline/reified lookup today, and a language proposal aims to replace that.
AI-written summary · about
chapters (5)
- 0:00Start
- 11:53Comprehensions - Exception
- 12:48Comprehensions - Stack-Safe
- 13:59Monad Comprehensions - Cancellable
- 19:47Transforming immutable data
related talks
34mKategory: Functional Data Types & Abstraction for Kotlin
39mKotlin for the Pragmatic Functionalist
41mArchitectures Using Functional Programming Concepts
34mFunctional Programming in Kotlin for AndroidDevs
39mFunctional Programming in Kotlin with Λrrow
48mKotlin & Functional Programming: pick the best, skip the rest
43mFunctional approach to Android architecture using Kotlin
52mCategory Theory Through Functional Programming (part 1/3)
