September 03, 2011 [phobos] [D-Programming-Language/phobos] fce7b7: add more unittests for std.functional.curry | ||||
---|---|---|---|---|
| ||||
Branch: refs/heads/master Home: https://github.com/D-Programming-Language/phobos Commit: fce7b7602bfc39b6f7a868dc4a8710948c997e46 https://github.com/D-Programming-Language/phobos/commit/fce7b7602bfc39b6f7a868dc4a8710948c997e46 Author: dawg <dawg at dawgfoto.de> Date: 2011-09-03 (Sat, 03 Sep 2011) Changed paths: M std/functional.d Log Message: ----------- add more unittests for std.functional.curry - deactivated failing specs for now Commit: 93a07bb067bb1d9142178afa6feaa2d3a7c14e48 https://github.com/D-Programming-Language/phobos/commit/93a07bb067bb1d9142178afa6feaa2d3a7c14e48 Author: dawg <dawg at dawgfoto.de> Date: 2011-09-03 (Sat, 03 Sep 2011) Changed paths: M std/functional.d Log Message: ----------- the template constraint can't access the calling frame - thus the alias arg can't be used - moved the check into curry and provided an error message if it fails - fixes most of the failing template curry tests Commit: 10df09a290398008c6a633a79fda37697a6142a3 https://github.com/D-Programming-Language/phobos/commit/10df09a290398008c6a633a79fda37697a6142a3 Author: dawg <dawg at dawgfoto.de> Date: 2011-09-03 (Sat, 03 Sep 2011) Changed paths: M std/functional.d Log Message: ----------- allow to curry nary functions - previously one could only curry binary functions - especially allow to bind unary function parameters Commit: 2415243b0c306136c097b3954ae30386494c0b96 https://github.com/D-Programming-Language/phobos/commit/2415243b0c306136c097b3954ae30386494c0b96 Author: dawg <dawg at dawgfoto.de> Date: 2011-09-03 (Sat, 03 Sep 2011) Changed paths: M std/functional.d Log Message: ----------- ctfe doesn't seem to have function pointers yet - added reference to another dmd bug Commit: 95260cddef2fbd64ca9c108dc54897dd9412f805 https://github.com/D-Programming-Language/phobos/commit/95260cddef2fbd64ca9c108dc54897dd9412f805 Author: David Simcha <dsimcha at gmail.com> Date: 2011-09-03 (Sat, 03 Sep 2011) Changed paths: M std/functional.d Log Message: ----------- Merge pull request #234 from dawgfoto/master fix and enhance std.functional.curry to work as advertised Compare: https://github.com/D-Programming-Language/phobos/compare/8feb80a...95260cd |
Copyright © 1999-2021 by the D Language Foundation