mirror of
https://github.com/correl/elm.git
synced 2024-12-23 11:15:00 +00:00
390 B
390 B
First, execute the following:
$ 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
:
module BobExample where
responseFor : String -> String
responseFor statement = undefined