Hi,

I'm trying to define an "incoming port" that will *only be called once* 
when the app starts. I read some tutorials 
(http://danielbachler.de/2016/02/26/ports-in-elm.html) and it says I can 
define a "non-signal" type port to do this. However, I get this error:

8| port graphName : String
   ^^^^^^^^^^^^^^^^^^^^^^^
You are saying it should be:

    String

But you need to use the particular format described here:
<http://guide.elm-lang.org/effect_managers/>

But I didn't find any useful information in the provided links.

Any help would be appreciated.

-- Wei

-- 
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