You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The first example in the README errors when trying to compile it (Elm 0.15.1). This part in particular:
main : Element
main = runDisplay tests
Leads to the following:
## ERRORS in AppTest.elm #######################################################
-- NAMING ERROR ---------------------------------------------------- AppTest.elm
Cannot find type `Element`
14| main : Element
^^^^^^^
I was able to get it working by removing the type annotation, however I don't know enough Elm to be able to figure out what's going wrong - I guess there's a missing import?
The text was updated successfully, but these errors were encountered:
What is going on is that Graphics.Element used to be a default import in every Elm program, but as of Elm 0.15 it isn't. The simplest ways to get this example working again are either remove the type signature (as you did), or to add this line to the imports at the top of the file: import Graphics.Element exposing (..)
Anyway, I am going through the documentation shortly and expect to rewrite it somewhat.
The documentation has been updated, but there's currently issue #32 which is blocking this from working. We have a fix in the works there and then this will be OK.
Hey,
The first example in the README errors when trying to compile it (Elm 0.15.1). This part in particular:
Leads to the following:
I was able to get it working by removing the type annotation, however I don't know enough Elm to be able to figure out what's going wrong - I guess there's a missing import?
The text was updated successfully, but these errors were encountered: