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