Custom monad using
If you do not mind using a nested monad-transformer stack, eg.
OpaleyeT (ReaderT AppEnv) IO, you can also look at the opaleye-trans package.
At the time of writing these docs, the
opaleye-trans package had not been updated to the latest version of Opaleye. Please investigate this before using it.
module UsingOpaleyeTrans where import Opaleye main :: IO () = _todomain