On Tuesday, November 22, 2016 at 4:59:22 AM UTC, Gusztáv Szikszai wrote:
>
> I think you are looking for something like this:
> https://github.com/gdotdesign/elm-ui/blob/master/source/Ui/Helpers/Emitter.elm
>
> It's a pure Elm pub / sub effects module (and possibly the most minimal
> example of
On Tuesday, November 22, 2016 at 4:59:22 AM UTC, Gusztáv Szikszai wrote:
>
> I think you are looking for something like this:
> https://github.com/gdotdesign/elm-ui/blob/master/source/Ui/Helpers/Emitter.elm
>
> It's a pure Elm pub / sub effects module (and possibly the most minimal
> example of
On Tuesday, November 22, 2016 at 10:32:22 AM UTC, Gusztáv Szikszai wrote:
>
> Yes, that is perfect for my use case, thanks. This should be added to the
>> official packages?
>>
>
> This kind of messaging is not encouraged (sending things around the
> program), so It probably will not be added t
>
> Yes, that is perfect for my use case, thanks. This should be added to the
> official packages?
>
This kind of messaging is not encouraged (sending things around the
program), so It probably will not be added to the official packages.
That is, I provide the name of the channel and it retur
On Tuesday, November 22, 2016 at 4:59:22 AM UTC, Gusztáv Szikszai wrote:
>
> I think you are looking for something like this:
> https://github.com/gdotdesign/elm-ui/blob/master/source/Ui/Helpers/Emitter.elm
>
> It's a pure Elm pub / sub effects module (and possibly the most minimal
> example of
I think you are looking for something like
this:
https://github.com/gdotdesign/elm-ui/blob/master/source/Ui/Helpers/Emitter.elm
It's a pure Elm pub / sub effects module (and possibly the most minimal
example of an effect module).
On Monday, November 21, 2016 at 11:54:50 PM UTC+1, Rupert Smith
On Friday, November 18, 2016 at 3:50:51 PM UTC, OvermindDL1 wrote:
>
>
> On Friday, November 18, 2016 at 5:18:27 AM UTC-7, Rupert Smith wrote:
>>
>> I found using a port to enable global communication with the Auth module
>> from anywhere in my application (any time you get a 401 or 403 you invoke
On Friday, November 18, 2016 at 3:50:51 PM UTC, OvermindDL1 wrote:
>
>
> On Friday, November 18, 2016 at 5:18:27 AM UTC-7, Rupert Smith wrote:
>>
>> I found using a port to enable global communication with the Auth module
>> from anywhere in my application (any time you get a 401 or 403 you invoke
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
> th
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.
On Fri, Nov 18, 2016 at 4:18 AM, 'Rupert Smith' via
On Friday, November 18, 2016 at 5:18:27 AM UTC-7, Rupert Smith wrote:
>
> I found using a port to enable global communication with the Auth module
> from anywhere in my application (any time you get a 401 or 403 you invoke
> 'unauthed') to be quite convenient. Perhaps I might find a better solut
On Friday, November 18, 2016 at 11:17:23 AM UTC, Peter Damoc wrote:
>
> There are two approaches to interacting with JS:
> 1. ports
> 2. Native
>
> modules with ports cannot be packaged/published and are designed to be
> used ONLY in the final product
> modules with Native code can be packaged/
There are two approaches to interacting with JS:
1. ports
2. Native
modules with ports cannot be packaged/published and are designed to be used
ONLY in the final product
modules with Native code can be packaged/published but they have to be
whitelisted.
Their use is discouraged outside of the web-
https://github.com/gdotdesign/elm-github-install
One of the reasons for this existing is to be able to share native modules
outside of the official packages. My Auth code uses ports, I extracted it
into a github project here:
https://github.com/rupertlssmith/elm-auth
Then referenced it in my e
14 matches
Mail list logo