<div dir="ltr"><div>They are writer monads for sure, but WriterT does not subsume them. If a typeclass method has type Writer w a, it does not allow GeneralizedNewtypeDeriving on it due to the type roles.</div><div><br></div><div>I don't really have any idea how instance warnings should look like.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">2019年4月7日(日) 17:58 Henning Thielemann <<a href="mailto:lemming@henning-thielemann.de" target="_blank">lemming@henning-thielemann.de</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
On Sun, 7 Apr 2019, Fumiaki Kinoshita wrote:<br>
<br>
> I removed Foldable/Traversable instances from the patch with reluctance. I'd still like to add these instances:<br>
> <br>
> Functor ((,,) a b)<br>
> (Monoid a, Monoid b) => Applicative ((,,) a b)<br>
> (Monoid a, Monoid b) => Monad ((,,) a b)<br>
> Functor ((,,,) a b c)<br>
> (Monoid a, Monoid b, Monoid c) => Applicative ((,,,) a b c)<br>
> (Monoid a, Monoid b, Monoid c) => Monad ((,,,) a b c)<br>
<br>
Still duplicates to the Writer monad.<br>
<br>
How about extending the patch by the long needed instance warnings? :-)</blockquote></div></div>