You said you were working on the next article where you will explore all the approaches you know. Are there any existing resources you recommend for Effect Descriptors and Monads in prod/test development in the mean time?
Comments
Log in with your Bluesky account to leave a comment
There's precious little info on effect systems in Swift community 😔 the largest resource on monadic effects is @pointfree.co and TCA that makes great use of them. Our own architecture at Amex uses effect descriptors, but it's not OSS. The Elm Architecture is the closest resource I know on that.
My article is almost finished and it goes into great detail on various effect systems in Swift, including monadic effects and effect descriptors. I go from first principles, how continuation-passing style gives rise to unidirectional architectures, and how we could possible go back to direct style.
I primarily draw info from Scala community that has a wealth of info on effect systems. Swift and Scala are closely positioned in this field, both being capable FP langs with expressive type systems, and both being impure, requiring good effect systems and disciplines to control side effects.
Comments