Quick tip: indent 4 spaces to get code formatting.
Re:Motivation – Keli Language
by a1369209993 on Monday August 31, 2020 @07:01PM
(#24336737)
Actually it's only 2 spaces.
Like this.
Not this.
``` ourReportAccumulatorFunc :: Monad m => m a -> m a -> m a ourReportAccumulatorFunc = blah
ourFunc :: (Foldable t, Monad m) => t (m a) -> m a ourFunc = foldr ourReportAccumulatorFunc someUnitValue ```
Why do you think a fold would be hundreds of lines outside of the business logic?