Free monad over a free functor of LargeObjectOp; abstractly, a computation that consumes
a org.postgresql.largeobject.LargeObject
and produces a value of type A
.
Syntax for LargeObjectIO
.
Sum type of primitive operations over a org.postgresql.largeobject.LargeObject
.
Catchable instance for LargeObjectIO.
Module of constructors for LargeObjectOp
.
Module of constructors for LargeObjectOp
. These are rarely useful outside of the implementation;
prefer the smart constructors provided by the largeobject
module.
Suspendable instance for LargeObjectIO.
Suspendable instance for LargeObjectIO.
Lift a LargeObjectIO[A] into an exception-capturing LargeObjectIO[Throwable \/ A].
Non-strict unit for capturing effects.
Natural transformation from LargeObjectOp
to Kleisli
for the given M
, consuming a org.postgresql.largeobject.LargeObject
.
Algebra and free monad for primitive operations over a
org.postgresql.largeobject.LargeObject
. 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.LargeObjectIO
is a free monad that must be run via an interpreter, most commonly via natural transformation of its underlying algebraLargeObjectOp
to another monad viaFree#foldMap
.The library provides a natural transformation to
Kleisli[M, LargeObject, 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.