[elm-discuss] Re: Text box value displays inconsistently

2017-06-25 Thread Fabian Kirchner
If you replace the else branch with [ p [] [] ] this problem does not seem to happen. I guess, the reason could be the following: In your version, if model.on is True, we get in total [ p [] [ text "On: ", input [ type_ "checkbox", onClick Toggle ] [] ] , p [] [ text "Foo: ", input [ value

[elm-discuss] Re: Rails integrations issues

2017-06-25 Thread Fabian Kirchner
You mean, the webpacker gem should create an example elm-app using the folderstructure I tried? On Saturday, 24 June 2017 13:41:51 UTC+2, Max Goldstein wrote: > > Assuming that works as described, you should think about sending a PR > upstream. -- You received this message because you are

Re: [elm-discuss] Passing whole state to each view function

2017-06-25 Thread Mark Hamburg
Thanks for the term "referentially equivalent". It's a nice counterpart to "referentially transparent". (Long-time LISPers would know these as "EQ" v "EQUAL".) Mark On Sat, Jun 24, 2017 at 8:52 PM, Max Goldstein wrote: > Great points, Mark! > > I came across this