I have this function where i compress a string
compression :: String -> [(Char,Int)]
compression str = map (\lt -> (head lt, length lt)) (group str)
I've tried to edit this into it's reverse
EXAMPLE:
revcompression [('a', 2), ('b', 3), ('c', 4), ('b', 1)] == "aabbbccccb"
Can anyone edit the first one into the reverse?