Question: pls using haskell haskell haskell haskell haskell haskell haskell to write the following code. 11. 4pts) Sort a list of Strings by length of the

pls using haskell haskell haskell haskell haskell haskell haskell to write the following code.

11. 4pts) Sort a list of Strings by length of the first word in the strings (if the strings have more than one word)

5pts) Pack repeats in a list of Chars into separate lists, resulting in a sorted list of lists: E.g.,

['a', 'a', 'a', 'a', 'b', 'c', 'c', 'a', 'a', 'd', 'e', 'e', 'e', 'e'] becomes ["aaaaaa","b","cc","d","eeee"] 

Use whatever techniques you know so far. (Note, this is a modified version of an online problem, so solutions to that problem, should you Google it, won't work here).

Thank you

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!