wordOccurrences :: String -> Occurrences
join :: String -> [String] -> String
sentenceOccurrences :: Sentence -> Occurrences
Adding unit tests
foldl1' is strict
No longer needed case
pointfree style
Intermediary commit
combinations -> [a] -> [[a]]
Extract a addOcc function
combinations :: Occurrences -> [Occurrences]
reformatting
Extract tests into their own module
Using foldl'
intercalate :: [a] -> [[a]] -> [a]
substract :: Occurences -> Occurences -> Occurences
Improve complexity of substract function
sentenceAnagrams