Problem 28.a Solution

Could it be any simpler?

sortByListLengths : List (List a) -> List (List a) 
sortByListLengths xs = 
    List.sortBy List.length xs

Back to problem

results matching ""

    No results matching ""