Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/robertjlooby/elm-koans
A set of koans for learning Elm
https://github.com/robertjlooby/elm-koans
Last synced: about 2 months ago
JSON representation
A set of koans for learning Elm
- Host: GitHub
- URL: https://github.com/robertjlooby/elm-koans
- Owner: robertjlooby
- License: mit
- Created: 2015-01-30T03:51:00.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2019-11-08T12:32:58.000Z (about 5 years ago)
- Last Synced: 2024-07-31T17:16:48.236Z (5 months ago)
- Language: Elm
- Size: 151 KB
- Stars: 234
- Watchers: 10
- Forks: 60
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-by-example - Elm Koans: A set of koans for learning Elm
- Awesome-BigData - Elm Koans - Practice exercises for learning Elm. (Learn)
README
# Elm Koans
## Instructions
* Get [Elm](http://elm-lang.org/install) version 0.19.1
* Make sure you have version 0.19.1 with `elm --version`
* Clone this repo
* Run the tests using one of the following methods:
* **In the browser with automatic refreshing (preferred)**
* `npm install -g elm-live`
* `elm-live Main.elm`
* Visit [http://localhost:8000](http://localhost:8000)
* **In the browser (requires refreshing after editing files)**
* `elm reactor`
* Visit [http://localhost:8000/Main.elm](http://localhost:8000/Main.elm)
* **In the terminal**
* `npm install -g elm-test`
* `elm-test`
* Note this will produce a LOT of output, so you'll probably want to `elm-test | head -n20` to just see the first couple failing tests
* Use any editor to change the source files and make the tests pass. If you're not using `elm-live` you'll need to refresh your browser after making changes.
* Placeholder values are denoted as `x____replace me____x` and will need to be replaced to make the tests pass