[elm-discuss] Re: Elm Jobs Board

2016-11-18 Thread Pavan Rikhi
There's sometimes some Elm jobs up here: https://functionaljobs.com/

On Sunday, July 31, 2016 at 7:34:40 AM UTC-4, Andre Bolle wrote:
>
> Is there a place where people can advertise and look for Elm jobs?
>
> Andre
>

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


Re: [elm-discuss] Elm Http regression with requests for binary resources

2016-11-18 Thread Nick H
I don't have a workaround. But it sound like it's worth opening a bug report


On Fri, Nov 18, 2016 at 2:14 PM, John Watson  wrote:

> You mean just set the Accept header on the request to audio/midi?  No,
> exactly the same problem, I'm afraid.
>
> On Friday, 18 November 2016 17:22:59 UTC, Nick H wrote:
>>
>> Does anything different happen if you use a MIDI mimetype, like
>> "audio/midi"?
>>
>> On Fri, Nov 18, 2016 at 5:33 AM, John Watson  wrote:
>>
>>> I have a small MIDI
>>> 
>>> file.  With Elm 0.17 (evancz/elm-http) I had been able to use the
>>> 'overrideMimeType hack'  to tunnel the file through HTTP as if it were
>>> text.  Here's a gist
>>> .
>>> This hack no longer works
>>> 
>>> in Elm 0.18 (where I have followed suggestions from elm-dev on slack simply
>>> to use an appropriate Accept header).  What seems to happen is that
>>> characters and 8-bit numbers come across unscathed but binary values larger
>>> than 255 do not.  This is evident in the MIDI sample from byte 23 where the
>>> decoded result differs from the 0.17 version.
>>>
>>> Can anybody suggest an alternative workaround?
>>>
>>> --
>>> 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...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
> 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.
>

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


Re: [elm-discuss] Can't install native package using elm-github-install

2016-11-18 Thread Nick H
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 Elm Discuss <
elm-discuss@googlegroups.com> wrote:

> 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/published but they have to be
>> whitelisted.
>> Their use is discouraged outside of the web-platform that the official
>> elm-lang org is implementing.
>>
>> elm-github-install is designed for the brave rebels who want to
>> collaborate on non-whitelisted Native modules.
>>
>> To my knowledge, port modules were never designed to be shared.
>>
>
> I understand and support the reasons for the above. Ok, so when it says it
> can be used to share native modules it does not mean ports.
>
> 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 solution
> to this using out messages, or perhaps Elm will eventually develop some
> sort of pub/sub messaging mechanism that I could use instead.
>
> I'm only wanting to share this code accross my own projects - i don't
> think it is really usable by others in its current state.
>
> I think I will put all the code I want to share in its own folder, and
> share that accross projects as a git submodule. Not the ideal solution but
> better than the alternative of cut and paste coding.
>
> --
> 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.
>

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


Re: [elm-discuss] Elm Http regression with requests for binary resources

2016-11-18 Thread Nick H
Does anything different happen if you use a MIDI mimetype, like
"audio/midi"?

On Fri, Nov 18, 2016 at 5:33 AM, John Watson  wrote:

> I have a small MIDI
> 
> file.  With Elm 0.17 (evancz/elm-http) I had been able to use the
> 'overrideMimeType hack'  to tunnel the file through HTTP as if it were
> text.  Here's a gist
> .
> This hack no longer works
> 
> in Elm 0.18 (where I have followed suggestions from elm-dev on slack simply
> to use an appropriate Accept header).  What seems to happen is that
> characters and 8-bit numbers come across unscathed but binary values larger
> than 255 do not.  This is evident in the MIDI sample from byte 23 where the
> decoded result differs from the 0.17 version.
>
> Can anybody suggest an alternative workaround?
>
> --
> 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.
>

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


Re: [elm-discuss] Can't install native package using elm-github-install

2016-11-18 Thread OvermindDL1

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 solution 
> to this using out messages, or perhaps Elm will eventually develop some 
> sort of pub/sub messaging mechanism that I could use instead.
>

It has that, they are called subscriptions.  ^.^

Subscriptions link to an Effect Module, you can make your own subscriptions 
via making an effect module (with potentially native module code used by it 
as well to properly hide all the internals). 

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


[elm-discuss] Elm Http regression with requests for binary resources

2016-11-18 Thread John Watson
I have a small MIDI 

 
file.  With Elm 0.17 (evancz/elm-http) I had been able to use the 
'overrideMimeType hack'  to tunnel the file through HTTP as if it were 
text.  Here's a gist 
. 
This hack no longer works 
 
in Elm 0.18 (where I have followed suggestions from elm-dev on slack simply 
to use an appropriate Accept header).  What seems to happen is that 
characters and 8-bit numbers come across unscathed but binary values larger 
than 255 do not.  This is evident in the MIDI sample from byte 23 where the 
decoded result differs from the 0.17 version.

Can anybody suggest an alternative workaround?  

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


[elm-discuss] Re: Ho to work with the DOM of element where Elm is 'embed'ed.

2016-11-18 Thread Wouter In t Velt
I tried this once with the idea to have some sort of "Elm is initializing" 
static HTML, to be replaced after my elm app loaded and ran.
So for me this behavior wasn't what I needed at the time.
(By now my elm app loads and runs in 1600ms first load, and 250ms with 
caching, so fortunately don't need the Loading screen anymore)

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


Re: [elm-discuss] Can't install native package using elm-github-install

2016-11-18 Thread 'Rupert Smith' via Elm Discuss
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/published but they have to be 
> whitelisted.  
> Their use is discouraged outside of the web-platform that the official 
> elm-lang org is implementing.  
>
> elm-github-install is designed for the brave rebels who want to 
> collaborate on non-whitelisted Native modules.  
>
> To my knowledge, port modules were never designed to be shared. 
>

I understand and support the reasons for the above. Ok, so when it says it 
can be used to share native modules it does not mean ports.

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 solution 
to this using out messages, or perhaps Elm will eventually develop some 
sort of pub/sub messaging mechanism that I could use instead.

I'm only wanting to share this code accross my own projects - i don't think 
it is really usable by others in its current state.

I think I will put all the code I want to share in its own folder, and 
share that accross projects as a git submodule. Not the ideal solution but 
better than the alternative of cut and paste coding.

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


Re: [elm-discuss] Issue a command after view update

2016-11-18 Thread Wouter In t Velt
Op vrijdag 18 november 2016 11:22:51 UTC+1 schreef Tim Bezhashvyly:
>
> That's the issue. By the time load command is sent the HTML markup must be 
> already present at the page. 
>

I am not to familiar with Google maps integration, but it looks like the 
actual update of the map in the DOM is done in javascript, not in Elm.
The value is sent to elm and stored in the model, but elm doesn't really do 
anything with this data.

I suspect that the Time command won't work, because it is made immediately, 
and gives results immediately. It does not wait for DOM to be rendered. So 
probably javascript will give you a (not so helpful) error.

If you want to make sure that something is in the DOM, you could look 
at 
http://package.elm-lang.org/packages/elm-lang/animation-frame/1.0.1/AnimationFrame.
Which works with subscriptions. And feeds to your model only after every 
DOM update.
This would require a bit more to setup. Something like:

   - add a variable like `mapState` in the model that has the map state, 
   e.g. `type MapState = NoMapHere | Loading | Rendered`
   - in your init function, set the value to `mapState = Loading`
   - in your subscriptions, subscribe to `AnimationFrame.times` only if 
   your mapState is `Loading`, and let it produce a `Tick`
   - in your update function, your `Tick` update should a) do `mapState = 
   Rendered` (canceling your subscription) and b) send the loadMap command out

With a button, it is easier: if you render the button together with your 
gmap, you can be sure that the load is only called if the gmap is rendered. 
The button can only be clicked if it is in the DOM, which means the map 
must also be in the DOM.

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


Re: [elm-discuss] Maybe oneOf

2016-11-18 Thread John Watson
Of course - for some reason folds had completely escaped my mind.  Thanks, 
Janis.

On Friday, 18 November 2016 11:26:11 UTC, Janis Voigtländer wrote:
>
> 2016-11-18 12:19 GMT+01:00 John Watson :
>
>  It is interesting to me that Maybe.Extra's or 
>> 
>>  
>> function is documented (quite readably) like this:
>>
>> ```elm
>> Just 4 `or` Just 5 == Just 4
>> ```
>>
>> but, of course, backticks have just been consigned to oblivion.
>>
> Well, see https://github.com/elm-community/maybe-extra/issues/28.
>
> About your question how to write something with more than two values to be 
> “or”ed: How about using List.foldl or List.foldr with Maybe.Extra.or as 
> the combining function, and your three or more values put into a list?
>
> Or, of course, use |> and either Maybe.Extra.or or Maybe.Extra.orElse.
> ​
>

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


Re: [elm-discuss] Maybe oneOf

2016-11-18 Thread Janis Voigtländer
2016-11-18 12:19 GMT+01:00 John Watson :

 It is interesting to me that Maybe.Extra's or
> 
> function is documented (quite readably) like this:
>
> ```elm
> Just 4 `or` Just 5 == Just 4
> ```
>
> but, of course, backticks have just been consigned to oblivion.
>
Well, see https://github.com/elm-community/maybe-extra/issues/28.

About your question how to write something with more than two values to be
“or”ed: How about using List.foldl or List.foldr with Maybe.Extra.or as the
combining function, and your three or more values put into a list?

Or, of course, use |> and either Maybe.Extra.or or Maybe.Extra.orElse.
​

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


Re: [elm-discuss] Maybe oneOf

2016-11-18 Thread John Watson
Thanks for pointing this out.  It is interesting to me that Maybe.Extra's or 

 
function is documented (quite readably) like this:

```elm
Just 4 `or` Just 5 == Just 4
```

but, of course, backticks have just been consigned to oblivion.  In my 
case, I have three Maybes and I need a strict function that returns the 
first value that is actually populated (or else Nothing).  What is 
idiomatic Elm these days for doing this sort of thing:

```elm
   or Just 4 (or Just 5 Just 6)
```



On Friday, 18 November 2016 10:25:09 UTC, Janis Voigtländer wrote:
>
> See 
> https://github.com/elm-lang/core/commit/5f43ad84532bd4d462edf5c1ec22b7a62352a2db
>  
> and the comments there.
> ​
>
> 2016-11-18 10:51 GMT+01:00 John Watson :
>
>> Maybe oneOf 
>>  
>> has vanished in 0.18.  Is it intended that it will crop up somewhere in 
>> some other library or is there some sort of problem with it that I haven't 
>> tumbled to?
>>
>> -- 
>> 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...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

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


Re: [elm-discuss] Can't install native package using elm-github-install

2016-11-18 Thread Peter Damoc
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-platform that the official
elm-lang org is implementing.

elm-github-install is designed for the brave rebels who want to collaborate
on non-whitelisted Native modules.

To my knowledge, port modules were never designed to be shared.




On Fri, Nov 18, 2016 at 12:53 PM, 'Rupert Smith' via Elm Discuss <
elm-discuss@googlegroups.com> wrote:

> 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 elm-package.json:
>
> "rupertlssmith/elm-auth" : "0.0.1 <= v < 1.0.0",
>
> I run elm-github-install, and it downloads into elm-stuff just fine.
>
> However, when I then run elm-make it complains:
>
> "You are trying to publish `port module Auth` which
> is defined in: elm-stuff/packages/rupertlssmith/elm-auth/0.0.1/
> src/Auth.elm
>
> Modules with ports cannot be published..."
>
> But I am not trying to publish it, just build it. Its also strange,
> because this Auth code was part of this projects source code before I
> lifted it out into a separate project. So elm-make will build the code with
> ports from source just fine, but not build it when the ports are in a
> dependency module.
>
> Am I overlooking something? Seems like elm-github-install does not make it
> possible to re-use native modules after all.
>
> --
> 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.
>



-- 
There is NO FATE, we are the creators.
blog: http://damoc.ro/

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


Re: [elm-discuss] Return of Http.url function

2016-11-18 Thread Eduardo Cuducos
I totally agree that Http.url very useful…

People more engaged in elm-dev: are there any chance to include it in a
later version of elm-lang/http? Was this even discussed?

Many thanks,
On Fri, 18 Nov 2016 at 07:57 Andrey N. Ronin  wrote:

> Hi, folks!
>
> I offen used *Http.url* function from* evancz/http *for building query
> strings, but after upgrade to 0.18 to my regret I found that there is no
> such function in the* elm-lang/http*. I know there are many libraries
> with similar functionality, I had to use one of them sporto/erl
>  and despite the
> fact that it is a great library, I consider that such functionality must be
> in core of *elm-lang/http* package. Since now we have query string parser
> in *evancz/url-parser* in most cases when dealing with a URL that will be
> enough and no need for additional dependencies and don't need to wait until
> they are updated after new version of Elm appears. That do you think?
>
> --
> 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.
>

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


[elm-discuss] Can't install native package using elm-github-install

2016-11-18 Thread 'Rupert Smith' via Elm Discuss
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 elm-package.json:

"rupertlssmith/elm-auth" : "0.0.1 <= v < 1.0.0",

I run elm-github-install, and it downloads into elm-stuff just fine.

However, when I then run elm-make it complains:

"You are trying to publish `port module Auth` which
is defined in: elm-stuff/packages/rupertlssmith/elm-auth/0.0.1/src/Auth.elm

Modules with ports cannot be published..."

But I am not trying to publish it, just build it. Its also strange, because 
this Auth code was part of this projects source code before I lifted it out 
into a separate project. So elm-make will build the code with ports from 
source just fine, but not build it when the ports are in a dependency 
module.

Am I overlooking something? Seems like elm-github-install does not make it 
possible to re-use native modules after all.

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


Re: [elm-discuss] Maybe oneOf

2016-11-18 Thread Janis Voigtländer
See
https://github.com/elm-lang/core/commit/5f43ad84532bd4d462edf5c1ec22b7a62352a2db
and the comments there.
​

2016-11-18 10:51 GMT+01:00 John Watson :

> Maybe oneOf
> 
> has vanished in 0.18.  Is it intended that it will crop up somewhere in
> some other library or is there some sort of problem with it that I haven't
> tumbled to?
>
> --
> 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.
>

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


[elm-discuss] Maybe oneOf

2016-11-18 Thread Jacky See
from the commit message it says

"oneOf is weird in a strict language because it will definitely do all
the work. Would be good to have a use case that seems legitimate before
adding this back."

https://github.com/elm-lang/core/commit/5f43ad84532bd4d462edf5c1ec22b7a62352a2db

Personally, I have several use of Maybe.oneOf for deciding what item to 
highlight, but not sure if it's a common use case.

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


Re: [elm-discuss] Issue a command after view update

2016-11-18 Thread Tim Bezhashvyly
In any case, if you want to render a google map on button click, the setup 
could be:

>
>- add a Msg called LoadButtonClicked or something, and add a button in 
>your view which triggers this (with onClick)
>- in your update function, add a handler for LoadButtonClicked that 
>returns a model + the load command
>
>
That's the issue. By the time load command is sent the HTML markup must be 
already present at the page. 

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


[elm-discuss] Return of Http.url function

2016-11-18 Thread Andrey N. Ronin
Hi, folks!

In the *evancz/elm-http* package i offen use Http.url function for building 
query string, but after upgrade to 0.18 to my regret I found that this 
function is no longer exist in new *elm-lang/http*. I know, where are many 
library out there with similar functionality, I had to use one of them 
sporto/erl , 
despite the fact that it seems to me an excellent library, i think building 
query string must be core function for *elm-lang/http*. Especially that now 
we have query parser in new *evancz/url-parser*, i think in most cases that 
eliminates the need for additional dependencies, so no need to wait they 
upgrade then new Elm version appears. That do you think?


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


[elm-discuss] Return of Http.url function

2016-11-18 Thread Andrey N. Ronin
Hi, folks!

I offen used *Http.url* function from* evancz/http *for building query 
strings, but after upgrade to 0.18 to my regret I found that there is no 
such function in the* elm-lang/http*. I know there are many libraries with 
similar functionality, I had to use one of them sporto/erl 
 and despite the 
fact that it is a great library, I consider that such functionality must be 
in core of *elm-lang/http* package. Since now we have query string parser 
in *evancz/url-parser* in most cases when dealing with a URL that will be 
enough and no need for additional dependencies and don't need to wait until 
they are updated after new version of Elm appears. That do you think?

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


[elm-discuss] Maybe oneOf

2016-11-18 Thread John Watson
Maybe oneOf 
 has 
vanished in 0.18.  Is it intended that it will crop up somewhere in some 
other library or is there some sort of problem with it that I haven't 
tumbled to?

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


[elm-discuss] Re: Ho to work with the DOM of element where Elm is 'embed'ed.

2016-11-18 Thread 'Rupert Smith' via Elm Discuss
On Thursday, November 17, 2016 at 5:30:29 PM UTC, Wouter In t Velt wrote:
>
> I tried that in 0.17, and the embedded elm stuff was placed after the last 
> existing child of the node where I embedded elm.
>
> So:
>
> 
>   
>   
> ... Elm stuff
>   
> 
>

I think that might make things even simpler for me. Thanks. 

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


Re: [elm-discuss] dependency problem with upgrading to 0.18

2016-11-18 Thread Nick H
I am looking at the github page for that project, and it's elm-package.json

says something different:

"dependencies": {
"elm-lang/core": "4.0.0 <= v < 5.0.0"
},
"elm-version": "0.17.0 <= v < 0.18.0"

I don't know why this is different from what you are seeing.

On Thu, Nov 17, 2016 at 9:32 PM, Martin DeMello 
wrote:

> elm-update ran successfully, but elm-make fails with
>
> $ elm-make
> Problem in dependency tortus/elm-array-2d 2.0.1
>
> The elm-package.json constraints of 'tortus/elm-array-2d' are probably
> letting too much stuff through. Definitely open an issue on the relevant
> github
> repo to get this fixed and save other people from this pain.
>
> However, I checked tortus/elm-array-2d out independently and it built fine
> against 0.18; its elm-package.json looks fine too (and is pretty minimal).
>
> "dependencies": {
> "elm-lang/core": "5.0.0 <= v < 6.0.0"
> },
> "elm-version": "0.18.0 <= v < 0.19.0"
>
> Any idea how to debug this? The error message is pretty opaque and none of
> the google hits for when this arose in earlier version bumps were helpful.
>
> martin
>
> --
> 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.
>

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