<div class="gmail_quote">On Mon, Feb 28, 2011 at 7:40 AM, Antoine Latter <span dir="ltr"><<a href="mailto:aslatter@gmail.com">aslatter@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Mon, Feb 28, 2011 at 6:13 AM, Henning Thielemann<br>
<<a href="mailto:lemming@henning-thielemann.de">lemming@henning-thielemann.de</a>> wrote:<br>
><br>
> If I activate RebindableSyntax in GHC-7.0, I have to provide a function<br>
> named ifThenElse. How about a default implementation in Data.Bool that is<br>
> equivalent to classical if-then-else? So far, I only use RebindableSyntax<br>
> for overloaded number literals.<br>
><br>
<br>
</div>This would also add 'ifThenElse' to the Prelude, correct?</blockquote><div><br></div><div>Not necessarily. The prelude exports subsets of many modules. (e.g. Data.Functor includes (<$), etc.)</div><div><br>
</div><div>-Edward KmettĀ </div></div>