All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.iteratee.files.modules.package.scala Maven / Gradle / Ivy

package io.iteratee.files

import cats.effect.{ IO, Sync }
import io.iteratee.modules.{ EnumerateeModule, EnumeratorErrorModule, IterateeErrorModule, Module }

package modules {
  final object io extends IOModule

  trait IOModule
      extends FileModule[IO]
      with Module[IO]
      with EnumerateeModule[IO]
      with EnumeratorErrorModule[IO, Throwable]
      with IterateeErrorModule[IO, Throwable] {
    type M[f[_]] = Sync[f]

    protected val F: Sync[IO] = IO.ioEffect
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy