[elm-discuss] Re: [ANN] Ellie - the Elm platform in the browser

2017-02-13 Thread art yerkes
That's really fantastic work. Congratulations. On Monday, February 13, 2017 at 8:08:45 AM UTC-8, Luke Westby wrote: > > Hey friends! > > I made this so you can share and run Elm stuff from the browser with full > access to ports, external JS, css, and all the community packages. > >

[elm-discuss] Re: Redirecting to another page on a button click

2017-02-13 Thread Joe Marty
I know this is an old post, but it still ranks pretty high in Google, so I thought I'd post the newer solution: http://package.elm-lang.org/packages/elm-lang/navigation/2.1.0/Navigation#load On Monday, October 5, 2015 at 5:30:37 PM UTC-5, Matthew Walton wrote: > > I've looked around and all

Re: [elm-discuss] Starting Elm, need help understanding -> syntax

2017-02-13 Thread Max Goldstein
Yes, exactly, functions always take exactly one argument and return exactly one result. A few caveats, though. Either that argument or result can be a tuple or record that holds multiple values. And the result may itself be a function, hence currying. -- You received this message because

[elm-discuss] Re: Seeking feedback: What Elm and Rust teach us about the future

2017-02-13 Thread Kasey Speakman
It would not require a macro system. The compiler already generates co/decs for type aliases passed through ports. But this is specific to the port keyword and not available for other purposes like using the Http module. On Friday, February 10, 2017 at 2:08:51 PM UTC-6, OvermindDL1 wrote: > >

Re: [elm-discuss] Starting Elm, need help understanding -> syntax

2017-02-13 Thread Will Tian
Yep, that makes perfect sense. I did not realize that in Elm all functions take exactly one argument and return a result -- 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

Re: [elm-discuss] Starting Elm, need help understanding -> syntax

2017-02-13 Thread Eduardo Cuducos
Hi Will, If you think about currying it starts to make more sense — at least that worked for me: In add = x + y, for example, add 2 + 40 actually returns 42 (an Int) but add 2 returns function that takes one argument (Int -> Int). In other words: add

[elm-discuss] Starting Elm, need help understanding -> syntax

2017-02-13 Thread Will Tian
Hi, I am having trouble understanding the -> syntax in elm. For example if we have the function: plusTwo x = x + 2 it's type definition will be as follows: : number -> number this is pretty straight forward however, if we have the function add x y = x + y its type definition is: :

[elm-discuss] Re: [ANN] Ellie - the Elm platform in the browser

2017-02-13 Thread Rex van der Spuy
Totally awesome and wonderful -- 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

[elm-discuss] [ANN] Ellie - the Elm platform in the browser

2017-02-13 Thread Luke Westby
Hey friends! I made this so you can share and run Elm stuff from the browser with full access to ports, external JS, css, and all the community packages. https://www.humblespark.com/ellie-announcement/ If you have any questions for me or any feedback on how it works you can share it in this