carbaj0
02/13/2022, 5:51 AMcarbaj0
02/13/2022, 5:54 AMcarbaj0
02/13/2022, 6:06 AMcarbaj0
02/13/2022, 6:12 AMEitherEffect<Error,A>
instead of EitherEffect<Error,*>
would be a right solution?raulraja
02/13/2022, 11:57 AMcarbaj0
02/13/2022, 3:36 PMSatyam Agarwal
02/17/2022, 10:51 AMsimon.vergauwen
02/17/2022, 11:54 AMBut limitation that we cant pass multiple parameters in with makes the start of program nasty.This is planned afaik, but it's not been implemented in the current preview.
simon.vergauwen
02/17/2022, 11:55 AMit brings repetition to all the functions using itThere is some repetition, yes, but I don't see this as a bad thing perse. You only need to add the receivers the function actually uses, so it's similar to effect handlers or final tagless in Haskell/Scala.
Tower Guidev2
02/18/2022, 8:42 AMraulraja
02/18/2022, 9:55 AM-Xcontext-receivers
and also the same in the IDE Kotlin settings, for some reason in my case the IDE its not picking the setting from Gradle.Tower Guidev2
02/18/2022, 10:50 AMsimon.vergauwen
02/20/2022, 9:45 AM2021.3.2
.Tower Guidev2
02/21/2022, 8:23 AMIntelliJ IDEA 2021.3.2 (Community Edition)
Build #IC-213.6777.52, built on January 28, 2022
and Kotlin plugin version...simon.vergauwen
02/21/2022, 9:26 AM-Xcontext-receivers
flag.
Can you try the repo I linked in my blogpost, that is working for me with the setup you're using. https://github.com/nomisRev/context-receivers-blogsimon.vergauwen
02/21/2022, 9:26 AM