[elm-discuss] Re: The way forward for Elm Arrays

2017-06-11 Thread Evan
Very interesting, thank you for sharing! I wanted to add a couple notes and ideas that I've had separately. Syntax I was formerly somewhat keen on having special syntax for other collections. For example, OCaml allows you to say [| 1, 2, 3 |] to create an array. Hassan made a really nice prop

[elm-discuss] Re: The way forward for Elm Arrays

2017-06-11 Thread Evan
Oh, and a few more notes. I recently did two pull requests on a framework comparison benchmark to improve the Elm implementation: - Start using lazy - This made the Elm version significantly faster than before. - Get rid

[elm-discuss] Re: The way forward for Elm Arrays

2017-06-11 Thread Robin Heggelund Hansen
Excellent points. I'll take a look at the links you posted. Maybe there's something in there I can't help but pursue :) mandag 12. juni 2017 07.24.10 UTC+2 skrev Evan følgende: > > Oh, and a few more notes. I recently did two pull requests on a framework > comparison benchmark to improve the Elm

[elm-discuss] Re: The way forward for Elm Arrays

2017-06-12 Thread Robert Woodhead
Maybe I'm missing something, but wouldn't this be a situation where a little syntactic sugar in the compiler would make the medicine go down? For example, let's say that := meant "assign with conversion" in Elm. In the expression: a := b the compiler knows the types of a and b, and it knows if

[elm-discuss] Re: The way forward for Elm Arrays

2017-06-12 Thread Robin Heggelund Hansen
Folks, please stay on topic. If you want to have a discussion regarding special syntax for the different collection types, please start a new thread. mandag 12. juni 2017 23.52.25 UTC+2 skrev Robert Woodhead følgende: > > Maybe I'm missing something, but wouldn't this be a situation where a > l

[elm-discuss] Re: The way forward for Elm Arrays

2017-06-12 Thread Matthieu Pizenberg
On Monday, June 12, 2017 at 7:15:59 AM UTC+8, Robin Heggelund Hansen wrote: > > I've been doing some thinking on how to improve Arrays in Elm. > Thanks alot for this work on an alternative array implementation! It's awesome! It's one of some challenges to use elm for my needs (scientific program

Re: [elm-discuss] Re: The way forward for Elm Arrays

2017-06-11 Thread Peter Damoc
On Mon, Jun 12, 2017 at 8:08 AM, Evan wrote: > Syntax > > I was formerly somewhat keen on having special syntax for other > collections. For example, OCaml allows you to say [| 1, 2, 3 |] to create > an array. Hassan made a really nice proposal >