HI && TypeCast

Iavor Diatchki diatchki@cse.ogi.edu
Thu, 07 Aug 2003 17:27:58 +0000


hello,

this is not supposed to be serious :-)

Sebastian Sylvan wrote:
> ...
> List comprehensions are overrated =)
> 
> How about this:
> 
>  concatMap ( (':':) . (:[]) . fst ) [('d',3),('f',3)]  
> 

or even better:

[('d',3),('f',3)] >>=  (':':) . return . fst


bye
iavor


-- 
==================================================
| Iavor S. Diatchki, Ph.D. student               |
| Department of Computer Science and Engineering |
| School of OGI at OHSU                          |
| http://www.cse.ogi.edu/~diatchki               |
==================================================