mirror of
https://github.com/correl/elm.git
synced 2025-01-11 11:05:26 +00:00
17 lines
390 B
Markdown
17 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
|
||
|
```
|