Like
writerToIOFinal. but right-associates uses of
<>.
This asymptotically improves performance if the time complexity of
<> for the
Monoid depends only on the size of the
first argument.
You should always use this instead of
writerToIOFinal if the
monoid is a list, such as
String.
Beware: Effects that aren't interpreted in terms of
IO
will have local state semantics in regards to
Writer effects
interpreted this way. See
Final.