elm-lang / elm-platform

Bundle of all core development tools for Elm
BSD 3-Clause "New" or "Revised" License
762 stars 125 forks source link

Clarifications about ports in 0.17 #151

Closed kitofr closed 6 years ago

kitofr commented 8 years ago

Add section about port modules and explain how to add one to a project, and what happens if you don't. Try to clarify how to upgrade outgoing ports and where to call them.

eeue56 commented 8 years ago

@evancz quite a few people getting confused by this (seems like the compiler hint doesn't help enough, this would be handy)

despairblue commented 8 years ago

Thanks, that helped a bit. Still trying to figure out how to import that module (I cannot find module 'Ports') and after that how to use an incoming port to initialize the app.

despairblue commented 8 years ago

Oh, by looking at elm-todomvc I figured out what was expected of me :smile:

I really thought I have to make a module called Ports and import it.

evancz commented 6 years ago

I think it's too late. Sorry I did not update this sooner. @eeue56, can you reach out to me in other channels if you think there's something serious. Enough random people ping my @ that it is too much noise to respond to reliably.