because not exist an instance like this `object : ...
# arrow
c
because not exist an instance like this
object : FxSyntax<ForIO> by IO.fx() { }
s
Copy code
interface RequestOperations<F> : Async<F> {
    fun GetDto.get(): Kind<F, List<Items>> =
        effect {
            requestAll()
        }.continueOn(main)

  companion object {
    operator <F> invoke(AS: Async<F>): RequestOperations<F> = object : RequestOperations<F> by AS { }
  }
}

fun main() {
  RequestOperations(IO.async()).get()
    .fix().unsafeRunSync()
    .let(::println)
}