[Issue 3098] std.algorithm.reduce example can not compile

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Aug 27 23:44:23 PDT 2009


http://d.puremagic.com/issues/show_bug.cgi?id=3098


Andrei Alexandrescu <andrei at metalanguage.com> changed:

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




--- Comment #1 from Andrei Alexandrescu <andrei at metalanguage.com>  2009-08-27 23:44:22 PDT ---
Fixed documentation:

- r = reduce!("a + b", "a + b * b")(0.0, 0.0, a);
+ r = reduce!("a + b", "a + b * b")(tuple(0.0, 0.0), a);

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list