scalaz.std.effect.Closeable.scala Maven / Gradle / Ivy
package scalaz
package std.effect
import effect.Resource
import java.io.Closeable
trait CloseableInstances {
implicit def closeableResource[A <: Closeable]: Resource[A] =
Resource.resourceFromCloseable
}
object closeable extends CloseableInstances
© 2015 - 2025 Weber Informatics LLC | Privacy Policy