Re: [elm-discuss] Is it possible to create a circular reference in Elm?

2017-03-16 Thread agjf . tucker
> I'd wanted to take advantage of this a while back with an Elm->Rust compiler, that just used Rc (reference counting) for everything, so there's no garbage collection. I guess this is also interesting because (as I understand it) it's the lack of garbage collection in WebAssembly that disquali

Re: [elm-discuss] Html.Attributes.selected in Html.select

2017-02-27 Thread agjf . tucker
Hi! It's good of you to post your findings from the MDN docs. But currently, for me (Mac/Chrome/Safari), the fact is that select *does* seem to fire onInput. Even earlier, when I initially posted my problem, I think onInput was firing. I had convinced myself that the issue was with the sel

Re: [elm-discuss] Html.Attributes.selected in Html.select

2017-02-27 Thread agjf . tucker
Hi! It's good of you to post your findings from the MDN docs. But currently, for my setup (Mac/Chrome/Safari), the fact is that select *does* seem to fire onInput. Even when I posted my problem earlier I think onInput was firing. I had convinced myself that the issue was with the selected a

[elm-discuss] Html.Attributes.selected in Html.select

2017-02-27 Thread agjf . tucker
I have been trying to use Html.select (the drop-down menu). Unfortunately the selected attribute doesn't seem to work for me. Some context: I am attempting the exercises at the bottom of https://guide.elm-lang.org/architecture/effects/http.html. As new topics are entered in the input box, th

[elm-discuss] Re: can't understand compiler error

2017-02-25 Thread agjf . tucker
I just did this exercise too! My solution was to perform the validation from the update function and to save the error messages in the model. On Saturday, 25 February 2017 06:55:06 UTC, Anurup Mitra wrote: > > Dear Alex, > > This is very elegant indeed! I am bowled over by the simplicity of it a