Question: In Haskell language 7.runLengthDecode:: [(Int, Char)] -> String Write a function that takes the output of runLengthEncode and returns the original string. Examples runLengthDecode [(1,'h'),
In Haskell language
![In Haskell language 7.runLengthDecode:: [(Int, Char)] -> String Write a function that](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f2d82007d07_07166f2d81fa1b2b.jpg)
7.runLengthDecode:: [(Int, Char)] -> String Write a function that takes the output of runLengthEncode and returns the original string. Examples runLengthDecode [(1,'h'), (5,'i')] >runLengthDecode $ runLengthEncode "whhhhaaaaat?" Permitted functions: (++),(),replicate
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
