add Data.Bool.ifThenElse

Henning Thielemann lemming at henning-thielemann.de
Mon Feb 28 13:13:54 CET 2011


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.



More information about the Libraries mailing list