add Data.Bool.ifThenElse
Antoine Latter
aslatter at gmail.com
Mon Feb 28 13:40:58 CET 2011
On Mon, Feb 28, 2011 at 6:13 AM, Henning Thielemann
<lemming at henning-thielemann.de> wrote:
>
> If I activate RebindableSyntax in GHC-7.0, I have to provide a function
> named ifThenElse. How about a default implementation in Data.Bool that is
> equivalent to classical if-then-else? So far, I only use RebindableSyntax
> for overloaded number literals.
>
This would also add 'ifThenElse' to the Prelude, correct?
> _______________________________________________
> Libraries mailing list
> Libraries at haskell.org
> http://www.haskell.org/mailman/listinfo/libraries
>
More information about the Libraries
mailing list