Accumulating within monadic contexts without folds