mirror of
https://github.com/correl/elm.git
synced 2024-12-18 11:06:17 +00:00
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:
parent
575ff1875c
commit
233e7f0d4d
1 changed files with 3 additions and 0 deletions
|
@ -1 +1,4 @@
|
|||
module WordCount exposing (..)
|
||||
|
||||
|
||||
wordCount : String -> Dict String Int
|
||||
|
|
Loading…
Reference in a new issue