Free monad over a free functor of ClobOp; abstractly, a computation that consumes
a java.sql.Clob
and produces a value of type A
.
Syntax for ClobIO
.
Sum type of primitive operations over a java.sql.Clob
.
Capture instance for ClobIO.
Catchable instance for ClobIO.
Module of constructors for ClobOp
.
Module of constructors for ClobOp
. These are rarely useful outside of the implementation;
prefer the smart constructors provided by the clob
module.
Monad instance for ClobIO (can't be inferred).
Lift a ClobIO[A] into an exception-capturing ClobIO[Throwable \/ A].
Non-strict unit for capturing effects.
Natural transformation from ClobOp
to Kleisli
for the given M
, consuming a java.sql.Clob
.
Backdoor for arbitrary computations on the underlying Clob.
Natural transformation from ClobIO
to M
, given a java.sql.Clob
.
Natural transformation from ClobIO
to Kleisli
for the given M
, consuming a java.sql.Clob
.
Algebra and free monad for primitive operations over a
java.sql.Clob
. 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.ClobIO
is a free monad that must be run via an interpreter, most commonly via natural transformation of its underlying algebraClobOp
to another monad viaFree.runFC
.The library provides a natural transformation to
Kleisli[M, Clob, 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.