Free monad over a free functor of SQLOutputOp; abstractly, a computation that consumes
a java.sql.SQLOutput
and produces a value of type A
.
Syntax for SQLOutputIO
.
Sum type of primitive operations over a java.sql.SQLOutput
.
Capture instance for SQLOutputIO.
Catchable instance for SQLOutputIO.
Module of constructors for SQLOutputOp
.
Lift a SQLOutputIO[A] into an exception-capturing SQLOutputIO[Throwable \/ A].
Non-strict unit for capturing effects.
Natural transformation from SQLOutputOp
to Kleisli
for the given M
, consuming a java.sql.SQLOutput
.
Lift a different type of program that has a default Kleisli interpreter.
Backdoor for arbitrary computations on the underlying SQLOutput.
Natural transformation from SQLOutputIO
to M
, given a java.sql.SQLOutput
.
Natural transformation from SQLOutputIO
to Kleisli
for the given M
, consuming a java.sql.SQLOutput
.
Algebra and free monad for primitive operations over a
java.sql.SQLOutput
. This is a low-level API that exposes lifecycle-managed JDBC objects directly and is intended mainly for library developers. End users will prefer a safer, higher-level API such as that provided in thedoobie.hi
package.SQLOutputIO
is a free monad that must be run via an interpreter, most commonly via natural transformation of its underlying algebraSQLOutputOp
to another monad viaFree#foldMap
.The library provides a natural transformation to
Kleisli[M, SQLOutput, A]
for any exception-trapping (Catchable
) and effect-capturing (Capture
) monadM
. Such evidence is provided forTask
,IO
, and stdlibFuture
; andtransK[M]
is provided as syntax.