<div dir="ltr">2015-10-07 9:35 GMT+02:00 Herbert Valerio Riedel <span dir="ltr"><<a href="mailto:hvr@gnu.org" target="_blank">hvr@gnu.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Btw, I've also seen the trick below, in which you use the aliased `A.`<br>prefix just once so GHC considers the import non-redundant, and don't<br>have to suffer from prefixed operators in the style of `A.<*>`.<br><br>Is this any better? [...]<br></blockquote><div><br></div><div>While not perfect, it's much better than having to fiddle around with Prelude imports. Although there's the slight danger that somebody else (or the author 1 year later) looks at the code and has a WTF-moment... ;-) To be honest, while it's somehow obvious how it works when you read it, I've never seen that trick. Perhaps stuff like this belongs into some general "Porting Guide", along with its alternatives. It's general enough that it should not be buried in some AMP/FTP/return/... transitioning guide.</div><div><br></div><div>Cheers,</div><div>   S.</div></div>