Hi Janis,

I thought it might be a compiler issue, so I updated Elm to the latest 0.17 
version on my Mac OSX.

It has fixed the first syntax error but now issues me with the following:

-- SYNTAX PROBLEM --------- elm-stuff/packages/elm-lang/core/3.0.0/src/Array
.elm

I ran into something unexpected when parsing your code!

2|     ( Array

^

I am looking for one of the following things:


something like `exposing (..)` which replaced `where` in 0.17

whitespace

This error was also issued to me when using the example Todo MVC source 
file?

A bit puzzling... Do you think the problem runs deeper or it's something to 
do with my own machine set up? 


On Friday, 10 June 2016 18:55:01 UTC+1, Janis Voigtländer wrote:
>
> Using the wrong Elm compiler version? Which one is it that you call?
>
> Am 10.06.2016 um 19:48 schrieb OJD <[email protected] <javascript:>>:
>
> Hello everyone,
>
> Just wondering if anyone else is stumbling along the same problems as me...
>
> I was playing around with the Todo MVC 'Todo.elm' file earlier and when I 
> executed the following build command:
>
> elm-make Todo.elm --output elm.js
>
> I received the following Syntax error...? 
>
> Even if I use the original file from the Github repository 
> <https://github.com/evancz/elm-todomvc/blob/master/Todo.elm>, I get the 
> same error below:
>
> -- SYNTAX PROBLEM ----------------------------------------------------- 
> Todo.elm
>
>
> It looks like the keyword `module` is being used as a variable.
>
>
> 1│ port module Todo exposing (..)
>
>
> Rename it to something else.
>
>
> Detected errors in 1 module.
>
>
> I tried to rename the module to something else like application, but I 
> had no luck?
>
>
> Is this something to do with a recent update to the core Elm architecture 
> or something else? 
>
>
> Any information or advice on how to find an alternative work around would 
> be greatly appreciated.
>
>
> Cheers.
>
>
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Elm Discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] <javascript:>.
> For more options, visit https://groups.google.com/d/optout.
>
>

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to