How can I convert [(char,Int)] to a String of the Int in the second component gives the number of repetitions of the character in the first component? For examp
[(char,Int)]
Hugs> map (\(c,n) -> replicate n c) [('a',9), ('b',10)] ["aaaaaaaaa","bbbbbbbbbb"]
or
map (uncurry $ flip replicate)