perhaps

Bulat Ziganshin bulat.ziganshin at gmail.com
Mon Aug 14 10:46:47 EDT 2006


Hello Udo,

Monday, August 14, 2006, 4:22:55 PM, you wrote:

> Now is

>     toBool :: Silliness -> Bool

> equivalent to isSilly or to isSensible?  See, the gain in readability
> is... uhm... questionable.

yes, you are right. 'and' is useless, not because we can't reimplement
it in more general way but because 'and sillyThings' don't have
obvious meaning. (all (==Silly) sillyThings) is the right readable
way




-- 
Best regards,
 Bulat                            mailto:Bulat.Ziganshin at gmail.com



More information about the Libraries mailing list