Thread overview
[Issue 15471] Show example of associative array initialization in documentation
Dec 23, 2015
bb.temp@gmx.com
Dec 24, 2015
Mark Isaacson
Jan 04, 2016
Mark Isaacson
Jan 05, 2016
Mark Isaacson
Mar 21, 2020
Basile-z
December 23, 2015
https://issues.dlang.org/show_bug.cgi?id=15471

bb.temp@gmx.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bb.temp@gmx.com

--- Comment #1 from bb.temp@gmx.com ---
(In reply to Mark Isaacson from comment #0)
> We need an example of how to initialize associative arrays in the documentation at http://dlang.org/spec/hash-map.html
> 
> I look this up fairly frequently and it's just not readily searchable. Eventually I'll try to find time to fix this myself, but, it may be a while.

Since there already a paragraph named "Runtime Initialization of Immutable AAs" I assume you speak about the 'AssocArrayLiteral' construct. Currently there's only a description in the grammar:

http://dlang.org/spec/grammar.html#KeyValuePairs

--
December 24, 2015
https://issues.dlang.org/show_bug.cgi?id=15471

--- Comment #2 from Mark Isaacson <markisaa@umich.edu> ---
Yep, we're on the same page. Personally I find it difficult to decipher the grammar. I'm sure that page is a barrier to new users. So yeah, the request would be to get an example of that, a little code block, somewhere on http://dlang.org/spec/hash-map.html

--
January 04, 2016
https://issues.dlang.org/show_bug.cgi?id=15471

Mark Isaacson <markisaa@umich.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|nobody@puremagic.com        |markisaa@umich.edu

--- Comment #3 from Mark Isaacson <markisaa@umich.edu> ---
https://github.com/D-Programming-Language/dlang.org/pull/1180

--
January 05, 2016
https://issues.dlang.org/show_bug.cgi?id=15471

--- Comment #4 from github-bugzilla@puremagic.com ---
Commit pushed to master at https://github.com/D-Programming-Language/dlang.org

https://github.com/D-Programming-Language/dlang.org/commit/6eed593864fc4530539851d7e44138c42f04a7e6 Merge pull request #1180 from markisaa/issue_15471

Issue 15471: Associative Arrays: add example of static initialization

--
January 05, 2016
https://issues.dlang.org/show_bug.cgi?id=15471

Mark Isaacson <markisaa@umich.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--
March 19, 2016
https://issues.dlang.org/show_bug.cgi?id=15471

--- Comment #5 from github-bugzilla@puremagic.com ---
Commit pushed to stable at https://github.com/D-Programming-Language/dlang.org

https://github.com/D-Programming-Language/dlang.org/commit/6eed593864fc4530539851d7e44138c42f04a7e6 Merge pull request #1180 from markisaa/issue_15471

--
March 21, 2020
https://issues.dlang.org/show_bug.cgi?id=15471

Basile-z <b2.temp@gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|b2.temp@gmx.com             |

--