Question: IMPORTANT! Use Haskell Write a function that maps a list of Strings that may have multiple words to Strings with only the first word left.

IMPORTANT! Use Haskell

Write a function that maps a list of Strings that may have multiple words to Strings with only the first word left. E.g. ["Today is Thursday", "Banquet", "unreal games"] becomes ["Today", "Banquet", "unreal"].

Write a function that takes a two-dimensional matrix of Strings and transforms all empty strings to "0".

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

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"] 

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!