A nice article, starting with harmless maps and flatMaps in Kotlin and ending with functors and monads, hopefully without scaring the reader:

https://blog.akquinet.de/2025/02/28/the-map-and-flatmap-patterns/#writing-our-own-mappable-and-flatmappable-types

#fp #functionalprogramming #kotlin #arrowkt

The “map” and “flatMap” Patterns

We investigate the “map” and “flatMap” methods on different parameterised types (List, Option, Either) and look for what they have in common.

akquinet - Blog
An IMHO excellent and thorough article about error handling in @kotlin with the functional Either-approach from #arrowkt
https://blog.akquinet.de/2024/09/14/handling-errors-functionally-with-either/
Handling Errors Functionally with Either – A Detailed Guide

We discuss the advantages of the functional approach to error handling using the abstract data type “Either”, as opposed to the classic Exception-based approach. The advantages of the f…

akquinet - Blog

The new 1.2.3 version of #ArrowKt is finally here! With new modules, many new features, read all about it https://arrow-kt.io/community/blog/2024/02/28/arrow-1-2-3/.

Thank you everyone involved, and kudos to the 8 new contributors! #Kotlin

2.x.x will become the new main branch!! (Expect alpha releases soon!)

Arrow 1.2.3 release | Arrow

We are happy to announce the availability of version 1.2.3 of the Arrow collection of libraries.

Two weeks ago I published a post about a functional modeling approach to event sourcing. This week I'd like to dig deeper into an example implementation in Kotlin.

https://dev.to/jakub_zalas/functional-event-sourcing-example-in-kotlin-3245

#functionalprogramming #eventsourcing #kotlin #arrowkt #ddd #dddesign

Functional event sourcing example in Kotlin

Last time we discussed a functional modeling approach to event sourcing. Let's now consider an...

DEV Community

#ArrowKt Optics exposes a nice DSL to work with immutable data to avoid deeply nested copies in an elegant way without any of the complexities of the underlying mechanism.

I hope to one day see something like this in #kotlin itself!

In the previous post, we looked at the benefits of a domain model implemented in a purely functional code.

This time, we’ll consider how it might work in practice by applying the event sourcing pattern to a functional domain model.

As it turns out the two go very well together.

Read more in my latest post “Functional event sourcing”: https://dev.to/jakub_zalas/functional-event-sourcing-1ea5

#eventsourcing #fp #functionalprogramming #ddd #kotlin #arrow #ArrowKt

Functional event sourcing

In the previous post, we looked at the benefits of a domain model implemented in a purely functional...

DEV Community

#ArrowKt wants to support #kotlin by building DEV & EAP versions, and producing/testing experimental targets like #wasm.

We need your help! There is 12 days left in #hacktoberfest, and 77 open issues so far towards this goal!

Check them out here: https://github.com/arrow-kt/arrow/issues?q=is%3Aopen+is%3Aissue+label%3Ahacktoberfest

Issues · arrow-kt/arrow

Λrrow - Functional companion to Kotlin's Standard Library - Issues · arrow-kt/arrow

GitHub
Interesting talk about functional programming using Kotlin and Arrow.kt https://www.youtube.com/watch?v=g79A6HmbW5M #Kotlin #FunctionalProgramming #Arrowkt
Building applications with Kotlin and Arrow.kt in style

YouTube

I had an awesome time with Anton Arhipov at the webinar!

I think quite some interesting content on #kotlin with #JetBrains #Ktor, #SqlDelight, #ArrowKt, etc

We build an entire feature live, and discussed context receivers!

The repo in discussing can be found here (participating #hacktoberfest): https://github.com/nomisRev/ktor-arrow-example

https://www.youtube.com/watch?v=g79A6HmbW5M

GitHub - nomisRev/ktor-arrow-example: Real World implementation - "The mother of all demo apps". Written in Kotlin, with Ktor, Arrow, SqlDelight, KotlinX Serialization, etc.

Real World implementation - "The mother of all demo apps". Written in Kotlin, with Ktor, Arrow, SqlDelight, KotlinX Serialization, etc. - GitHub - nomisRev/ktor-arrow-example: Real World ...

GitHub

Are you ready for #Hacktoberfest!?

I've prepared my #JetBrains #Ktor #ArrowKt
example with #SqlDelight
#testcontainers and #kotest in #Kotlin with 19 issues for hacktoberfest!

I'll be giving personal guidance to everyone wanting to learn, and contribute.

https://github.com/nomisRev/ktor-arrow-example

GitHub - nomisRev/ktor-arrow-example: Real World implementation - "The mother of all demo apps". Written in Kotlin, with Ktor, Arrow, SqlDelight, KotlinX Serialization, etc.

Real World implementation - "The mother of all demo apps". Written in Kotlin, with Ktor, Arrow, SqlDelight, KotlinX Serialization, etc. - GitHub - nomisRev/ktor-arrow-example: Real World ...

GitHub