.. | ||
tests | ||
elm-package.json | ||
Isogram.elm | ||
Isogram.example.elm | ||
package.json | ||
README.md |
Isogram
Determine if a word or phrase is an isogram.
An isogram (also known as a "nonpattern word") is a word or phrase without a repeating letter, however spaces and hyphens are allowed to appear multiple times.
Examples of isograms:
- lumberjacks
- background
- downstream
- six-year-old
The word isograms, however, is not an isogram, because the s repeats.
Elm Installation
Refer to the Exercism help page for Elm installation and learning resources.
Writing the Code
The first time you start an exercise, you'll need to ensure you have the appropriate dependencies installed.
$ npm install
Execute the tests with:
$ npm test
Automatically run tests again when you save changes:
$ npm run watch
As you work your way through the test suite, be sure to remove the skip <|
calls from each test until you get them all passing!
Source
Wikipedia https://en.wikipedia.org/wiki/Isogram
Submitting Incomplete Solutions
It's possible to submit an incomplete solution so you can see how others have completed the exercise.