On Friday, November 18, 2016 at 5:45:03 PM UTC, Nick H wrote:
>
> What if you just removed the port declarations from your package? That's 
> only a few lines of code, and nothing else seems to depend on them (except 
> a little Util function). The rest of your work could even be published to 
> the package manager.
>

The ports are invoked from those util functions, yes. Nothing is using them 
in the code that I put on github, but they are used from the codebase this 
was extracted from. The idea is that 'login', 'logout', 'refresh' and 
'unauthed' can be invoked from anywhere in the application. I pulled out 
this bit of code from one application, because now I want to re-use it in 
another. 

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