Introduces new Prepared statement type as well as new functions prepare and prepare_ to construct Prepared statements in a MonadPQ. This generalizes and factors out of executePrepared from earlier.
Prepared has many instances, notably Functor, Profunctor, Traversing, Category and Arrow.
The PR also adds MonadFix, Alternative and MonadPlus instances to PQ.
Introduces new
Prepared
statement type as well as new functionsprepare
andprepare_
to constructPrepared
statements in aMonadPQ
. This generalizes and factors out ofexecutePrepared
from earlier.Prepared
has many instances, notablyFunctor
,Profunctor
,Traversing
,Category
andArrow
.The PR also adds
MonadFix
,Alternative
andMonadPlus
instances toPQ
.