hpqtypes-1.2.3: Haskell bindings to libpqtypes
Database.PostgreSQL.PQTypes.Fold
Synopsis
foldLeftM :: forall m row acc. (MonadBase IO m, MonadDB m, FromRow row) => (acc -> row -> m acc) -> acc -> m acc Source
Fold the result set of rows from left to right.
foldRightM :: forall m row acc. (MonadBase IO m, MonadDB m, FromRow row) => (row -> acc -> m acc) -> acc -> m acc Source
Fold the result set of rows from right to left.