Re: [elm-discuss] Improve Elm docs.

2016-07-15 Thread Michael B
Yeah, Elm records are arguably more similar to Python's "named tuples" than Python's dicts or objects. They aren't so commonly used though. https://docs.python.org/3/library/collections.html#collections.namedtuple -- You received this message because you are subscribed to the Google Groups "Elm

Re: [elm-discuss] Improve Elm docs.

2016-07-13 Thread Joey Eremondi
Key-value pairs is a misnomer. Records are name-value pairs, the same way that you can give names to members of a Python objects. So while the docs need to be fixed, I think the use of the term "key-value" pair is the problem. In Python, you can do myObject.foo, but not myObject."foo" or myObject.

Re: [elm-discuss] Improve Elm docs.

2016-07-13 Thread Nir Galon
Thank you very much! On Thursday, July 14, 2016 at 8:55:09 AM UTC+3, Janis Voigtländer wrote: > > I would appreciate any help on how to find the source code so I can do a > PR and fix this. > > https://github.com/evancz/guide.elm-lang.org > ​ > > 2016-07-14 7:20 GMT+02:00 Nir Galon >: > >> Hi, >>

Re: [elm-discuss] Improve Elm docs.

2016-07-13 Thread Nir Galon
This is true, but I think in the docs, they are talk about the way of thinking of the records and not the access part. Because if this is the case we can say it's also similar to java object, we also access their variables with the dot notation. And PHP and C++ are a bit similar, but instead of a

Re: [elm-discuss] Improve Elm docs.

2016-07-13 Thread Janis Voigtländer
I would appreciate any help on how to find the source code so I can do a PR and fix this. https://github.com/evancz/guide.elm-lang.org ​ 2016-07-14 7:20 GMT+02:00 Nir Galon : > Hi, > I'm a Python developer, and I"m just getting into elm. > I start by reading the documentation and I notice an err

Re: [elm-discuss] Improve Elm docs.

2016-07-13 Thread Peter Damoc
Hi Nir and welcome to Elm, I also come from Python and I consider the statement to be correct. Please notice that the word "similar" is used not "exactly". For accessing purposes, Elm records behave similar enough to python objects. If I have a python object with the fields "name" and "surname" I

[elm-discuss] Improve Elm docs.

2016-07-13 Thread Nir Galon
Hi, I'm a Python developer, and I"m just getting into elm. I start by reading the documentation and I notice an error in core_language page. I try to find the website source code and do a PR, but with no success (found the website source code, but t