Valentin
10/01/2025, 6:49 PMYoussef Shoaib [MOD]
10/01/2025, 6:58 PMValentin
10/01/2025, 7:03 PMYoussef Shoaib [MOD]
10/01/2025, 7:04 PMeffekt directory
More recently, I've been working on HKT support for KotlinValentin
10/01/2025, 7:07 PMYoussef Shoaib [MOD]
10/01/2025, 7:12 PMinline fun, and it's effect polymorphic!
I haven't started this yet, but I believe that capture checking (like in Scala) can guarantee effect safety here.
I have an effect-safe version already using @RestrictsSuspension and higher-rank polymorphism (like runST in Haskell if you're familiar with that), but it's annoying since Kotlin doesn't deal super well with existential types. Maybe a compiler plugin could make it easier...Valentin
10/01/2025, 7:35 PMRiccardo Cardin
10/02/2025, 6:12 AM