Re: [elm-discuss] Newbie program not working correctly

2017-06-23 Thread Casper Bollen
Of course, thanks! On Friday, June 23, 2017 at 1:37:08 PM UTC+2, Peter Damoc wrote: > > Hi Casper, > > Just force an empty value when the age is 0 > Like this: > https://ellie-app.com/3yrgPqxp52ha1/0 > > > On Fri, Jun 23, 2017 at 12:08 PM, Casper Bollen > wrote: > >> I

Re: [elm-discuss] Newbie program not working correctly

2017-06-23 Thread Peter Damoc
Hi Casper, Just force an empty value when the age is 0 Like this: https://ellie-app.com/3yrgPqxp52ha1/0 On Fri, Jun 23, 2017 at 12:08 PM, Casper Bollen wrote: > I wrote a small program as a newbie project in Elm: https://ellie-app.com/ > 3ynWqjPcP87a1/0. > > In this program

[elm-discuss] Re: Rails integrations issues

2017-06-23 Thread Fabian Kirchner
Hi Peco, I recently ran into the same issue. What I did was create a seperate directory for my elm app inside app/javascript (next to the packs folder where the example Main.elm was inside) and only put the javascript file which initializes elm into the folder app/javascript/packs. You then

Re: [elm-discuss] Rails integrations issues

2017-06-23 Thread N H
Can you expand a bit what you mean by "all elm files are compiled"? Every file needs to be compiled in order for Elm to generate the right javascript. On 22 June 2017 at 13:06, Peco Danajlovski wrote: > Hi, > > I am a RoR developer who recently started to learn Elm. I have a

[elm-discuss] Wildlife Photography: Capturing Portraits of Your Favorite Animals | Konsta Punkka | Skillshare

2017-06-23 Thread Mads Flensted-Urech
https://www.skillshare.com/classes/Wildlife-Photography-Capturing-Portraits-of-Your-Favorite-Animals/621973088?utm_source=Facebook_medium=video_term=post_campaign=2016-07-21-video-konsta-spotlight -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group.

[elm-discuss] Newbie program not working correctly

2017-06-23 Thread Casper Bollen
I wrote a small program as a newbie project in Elm: https://ellie-app.com/3ynWqjPcP87a1/0. In this program I calculate the correct input field according to the value in the model: view : Model -> Html Msg view model = let toInput attrs = input attrs [] ageInput