Skip to content

Instantly share code, notes, and snippets.

@ccapndave
Created December 1, 2015 00:06
Show Gist options
  • Save ccapndave/373b99152472db44df54 to your computer and use it in GitHub Desktop.
Save ccapndave/373b99152472db44df54 to your computer and use it in GitHub Desktop.
-- PORT ERROR -------- ././app/assets/javascripts/Component/SchoolSearch/API.elm
This module has ports, but ports can only appear in the main module.
98| port theOutboundPort : Signal Value
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Ports in library code would create hidden dependencies where importing a
module could bring in constraints not captured in the public API. Furthermore,
if the module is imported twice, do we send values out the port twice?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment