On Wed, Jun 27, 2007 at 05:07:54PM -0500, Jon Cast wrote:
> I discovered this trick the other day, and didn't remember seeing it anywhere 
> as a cond implementation:
> 
> head $
>   [ e1 | cond1 ] ++
>   [ e2 | cond2 ] ++
>   [ e3 | cond3 ]

Cool!
Thanks for sharing it.

All the best,
andrea
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to