scalaz.std.effect.sql.Statement.scala Maven / Gradle / Ivy
package scalaz
package std.effect.sql
import effect.{IO, Resource}
import java.sql.Statement
trait StatementInstances {
implicit val statementResource: Resource[Statement] = new Resource[Statement] {
def close(r: Statement) = IO(r.close)
}
}
object statement extends StatementInstances
© 2015 - 2025 Weber Informatics LLC | Privacy Policy