Also, while I am bothering all of you seasoned Elm pros, I just started using Array today because I needed to access numbered elements in a list.
It took me a while before I "discovered" Array, rather than List. I noticed that on the javascript comparison page (http://elm-lang.org/docs/from-javascript) there *isn't* a comparison between JS arrays and Elm Lists and Arrays. I think there should be one there, and it should show things like: -----------------------------|-------------------------------------------- var myarray = [1,2,3] | myarray = Array.fromList [1,2,3] myarray[2] === 3 | Array.get 2 myarray == 3 -----------------------------|-------------------------------------------- That would have saved me some utterly pointless hacking with picking apart lists in order to get individual items before I realized Array exists. Regards, James -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
