mirror of
https://github.com/correl/elm.git
synced 2025-01-11 11:05:26 +00:00
16 lines
390 B
Markdown
16 lines
390 B
Markdown
First, execute the following:
|
|
```bash
|
|
$ elm-reactor
|
|
```
|
|
Then go to `localhost:8000` in your browser and navigate to your test file.
|
|
|
|
## Making Your First Elm Module
|
|
|
|
To create a module that can be loaded with `import BobExample exposing (responseFor)`, put this code in `BobExample.elm`:
|
|
|
|
```elm
|
|
module BobExample where
|
|
|
|
responseFor : String -> String
|
|
responseFor statement = undefined
|
|
```
|