elm/exercises/word-count/WordCount.elm
Erik Simmler 233e7f0d4d Add a type signature for the wordCount function
Since the test converts wordCount’s output with Dict.toList, the required type may not be immediately apparent to an early learner.
2016-06-18 14:39:47 -04:00

4 lines
71 B
Elm

module WordCount exposing (..)
wordCount : String -> Dict String Int