I'm just starting to learn Elm today, and I'm just trying to run a simple 'hello, world!' tutorial which I found online. I'm using a Mac with OS10.12 and I'm sure I've updated Node correctly but I keep getting the following error:
module Main exposing (..)
import Html exposing (text)
main =
text "Hello, World!"
parse error on input ‘exposing’
|
1 | module Main exposing (..)
| ^^^^^^^^
[Finished in 0.3s with exit code 1]
I'm using Sublime text editor and I'm pretty sure I read all the install and setup instructions properly, the problem I'm having is that if I don't include that top line 'module Main exposing (..)' then the build command automatically includes that line and then throws this parsing error. How do I fix this, and why does the builder automatically add a line it doesn't like?