elm/exercises/isogram
2017-10-11 20:22:46 -04:00
..
tests skip all tests after the first 2017-10-10 21:36:08 -04:00
elm-package.json Elm: isograms 2017-10-10 21:10:32 -04:00
Isogram.elm Elm: isograms 2017-10-10 21:10:32 -04:00
Isogram.example.elm use isAlpha definition from the upcoming elm-lang core 2017-10-11 20:22:46 -04:00
package.json Elm: isograms 2017-10-10 21:10:32 -04:00
README.md Elm: isograms 2017-10-10 21:10:32 -04:00

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.