Skip to content

Files

Latest commit

 

History

History

word-count

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Word Count

Write a program that given a phrase can count the occurrences of each word in that phrase.

For example for the input "olly olly in come free"

olly: 2
in: 1
come: 1
free: 1

Getting Started

To get started, please see docs on exercism.io:

http://exercism.io/languages/elm

Source

This is a classic toy problem, but we were reminded of it by seeing it in the Go Tour.

Submitting Incomplete Problems

It's possible to submit an incomplete solution so you can see how others have completed the exercise.