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.
This commit is contained in:
Erik Simmler 2016-06-18 14:39:47 -04:00
parent 575ff1875c
commit 233e7f0d4d

View file

@ -1 +1,4 @@
module WordCount exposing (..)
wordCount : String -> Dict String Int