
7 Aug
2003
7 Aug
'03
1:27 p.m.
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 | ==================================================