[elm-discuss] What is the recommended way to clear a form on submit?

2017-06-18 Thread Mario Sangiorgio
I'm working on an application that has several forms, one for getting the user credential and some other to let the user insert some data. Having forms in multiple pages is somehow more difficult than it should because of two known issues, both described here

[elm-discuss] Re: Where for local functions

2017-06-18 Thread Igor Bukanov
In Idris the let is used for local variables while the where is for local functions. This strikes me as a very nice solution for a functional strict language. It separates the strict expressions that must be calculated before the main expressions from function helpers that may or may not be

[elm-discuss] Re: Where for local functions

2017-06-18 Thread Francesco Orsenigo
Hi Igor, my understanding is that `where` has not been implemented and will not be implemented to 1) keep the syntax lean and 2) ensure a consistent coding style. I don't think Elm should have a `where` clause. Coming from Haskell and physics, I instinctively liked the `where` syntax better,

Re: [elm-discuss] Mysterious failure to find packages during compilation

2017-06-18 Thread Ilias Van Peer
Yeah, this could be caused by "conflicting packages" - seems like you may have been using a different package that has a dependency on `elm-community/json-extra`, which uses the same module names as (and supersedes) `elm-community/elm-json-extra`. Op zondag 18 juni 2017 05:08:38 UTC+2 schreef

[elm-discuss] Where for local functions

2017-06-18 Thread Igor Bukanov
Hello, past discussions about adding the where clause to Elm typically suggested to use it as syntax sugar for the let. As far understand, this is how things are done in Haskell. Moreover, using the where is very natural there as syntax order follows the lazy evaluation strategy making it