March 09, 2013 [phobos] [D-Programming-Language/phobos] c45e75: Use Lambdas and UFCS in std.algorithm examples. | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/phobos Commit: c45e75a97a2dbc8f5eda6d93f3f0c5776e473bd4 https://github.com/D-Programming-Language/phobos/commit/c45e75a97a2dbc8f5eda6d93f3f0c5776e473bd4 Author: cjoan <chadjoan@gmail.com> Date: 2013-03-07 (Thu, 07 Mar 2013) Changed paths: M std/algorithm.d Log Message: ----------- Use Lambdas and UFCS in std.algorithm examples. Better represent Lambda syntax and UFCS in the map/filter/reduce examples in std.algorithm. Commit: 2b67c97066f683f7f851ca36687b83577de787c4 https://github.com/D-Programming-Language/phobos/commit/2b67c97066f683f7f851ca36687b83577de787c4 Author: cjoan <chadjoan@gmail.com> Date: 2013-03-08 (Fri, 08 Mar 2013) Changed paths: M std/algorithm.d Log Message: ----------- Use approxEqual for doubles in some examples. Replaced a few instances of doubles being compared with == in std.algorithm's examples. They are now compared with approxEqual. This should encourage better practices, since floating point numbers can experience rounding errors that would make direct equality checks fail in situations where they are expected to work. Commit: fd11cb3c970ef6e12e9d625a2c775013203c4c93 https://github.com/D-Programming-Language/phobos/commit/fd11cb3c970ef6e12e9d625a2c775013203c4c93 Author: Andrej Mitrovic <andrej.mitrovich@gmail.com> Date: 2013-03-09 (Sat, 09 Mar 2013) Changed paths: M std/algorithm.d Log Message: ----------- Merge pull request #1190 from chadjoan/patch-4 Use Lambdas and UFCS in std.algorithm examples. Compare: https://github.com/D-Programming-Language/phobos/compare/b4f5c4f6dd8e...fd11cb3c970e |
Copyright © 1999-2021 by the D Language Foundation