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