digitalmars.D.learn - byKeyValue does not exist for associative arrays
- Bayan Rafeh (8/8) Jan 24 2015 Apparently byKeyValue does not exist for associative arrays,
- ketmar (2/12) Jan 24 2015 it exists... in current git head. ;-)=
- Bayan Rafeh (3/16) Jan 24 2015 I thought the Arch repositories would be a little more up to
- Jonathan M Davis via Digitalmars-d-learn (8/26) Jan 24 2015 I'd be very surprised if they contained anything but an official release
- H. S. Teoh via Digitalmars-d-learn (8/35) Jan 24 2015 [...]
Apparently byKeyValue does not exist for associative arrays, should it? void main() { int[string] a; a.byKeyValue(); //Error: byKeyValue doesn't exist. } If it shouldn't could someone remove it from the documentation? http://dlang.org/hash-map.html
Jan 24 2015
On Sat, 24 Jan 2015 11:17:03 +0000, Bayan Rafeh wrote:Apparently byKeyValue does not exist for associative arrays, should it? =20 void main() { int[string] a; a.byKeyValue(); //Error: byKeyValue doesn't exist. } =20 If it shouldn't could someone remove it from the documentation? =20 http://dlang.org/hash-map.htmlit exists... in current git head. ;-)=
Jan 24 2015
On Saturday, 24 January 2015 at 11:18:57 UTC, ketmar wrote:On Sat, 24 Jan 2015 11:17:03 +0000, Bayan Rafeh wrote:I thought the Arch repositories would be a little more up to date. Thanks :)Apparently byKeyValue does not exist for associative arrays, should it? void main() { int[string] a; a.byKeyValue(); //Error: byKeyValue doesn't exist. } If it shouldn't could someone remove it from the documentation? http://dlang.org/hash-map.htmlit exists... in current git head. ;-)
Jan 24 2015
On Saturday, January 24, 2015 12:05:10 Bayan Rafeh via Digitalmars-d-learn wrote:On Saturday, 24 January 2015 at 11:18:57 UTC, ketmar wrote:I'd be very surprised if they contained anything but an official release unless the package was labeled as a git build, so if something is in git head but not yet in an official release, then it's not likely to be in the arch repo. My guess would be that the online docs inadvertently contain more up-to-date information than the most recent release, so the problem is with the docs. - Jonathan M DavisOn Sat, 24 Jan 2015 11:17:03 +0000, Bayan Rafeh wrote:I thought the Arch repositories would be a little more up to date. Thanks :)Apparently byKeyValue does not exist for associative arrays, should it? void main() { int[string] a; a.byKeyValue(); //Error: byKeyValue doesn't exist. } If it shouldn't could someone remove it from the documentation? http://dlang.org/hash-map.htmlit exists... in current git head. ;-)
Jan 24 2015
On Sat, Jan 24, 2015 at 04:32:43PM -0800, Jonathan M Davis via Digitalmars-d-learn wrote:On Saturday, January 24, 2015 12:05:10 Bayan Rafeh via Digitalmars-d-learn wrote:[...] This brings up a very important issue: versioning the docs. Not just Phobos docs, which are already versioned, but the language docs as well. I'll bring this up in the main D forum. T -- Three out of two people have difficulties with fractions. -- Dirk EddelbuettelOn Saturday, 24 January 2015 at 11:18:57 UTC, ketmar wrote:I'd be very surprised if they contained anything but an official release unless the package was labeled as a git build, so if something is in git head but not yet in an official release, then it's not likely to be in the arch repo. My guess would be that the online docs inadvertently contain more up-to-date information than the most recent release, so the problem is with the docs.On Sat, 24 Jan 2015 11:17:03 +0000, Bayan Rafeh wrote:I thought the Arch repositories would be a little more up to date. Thanks :)Apparently byKeyValue does not exist for associative arrays, should it? void main() { int[string] a; a.byKeyValue(); //Error: byKeyValue doesn't exist. } If it shouldn't could someone remove it from the documentation? http://dlang.org/hash-map.htmlit exists... in current git head. ;-)
Jan 24 2015