Hi, I am trying to create outgoing (Elm -> JS) port, so far everything works as expected with this code:
port portName : String -> Cmd msg But when I try to create port without parameters port portName : Cmd msg it doesen't provide helpful message Port `portName` has an invalid type. > 4| port portName : Cmd msg ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ You are saying it should be: > Platform.Cmd.Cmd msg > But you need to use the particular format described here: <http://guide.elm-lang.org/effect_managers/> > Detected errors in 1 module. -- 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 elm-discuss+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.