Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
The best way to understand lenses is to implement it yourself. It's best if you do it in a language you're entirely comfortable in, not necessarily an FP language. For example, here's an implementation in JavaScript. And that guy also has a lot of resources on how he wrote it.
That just gave me another reason to try to create my own version of the Arrow library in Kotlin! I didn't really like the names given to some of the types there. 😅 This can also serve as a way for me to learn Optics and the FX side of the library too! (And maybe I can even try my hand at implementing persistent data structures!)
Related posts
- Arrow: Functional Companion to Kotlin's Standard Library
- FP Architecture
- What are the best library options for Functional Programming in Java?
- Is there any KEEP for adding support to something like F# computation expressions to Kotlin?
- Kotlin for someone who learned in this order: assembler, C++, scheme, C#, Java, JS