[phobos] [D-Programming-Language/phobos] cf1aa9: fix issue 9959 - Add functional pattern matching f...

GitHub via phobos phobos at puremagic.com
Tue Sep 16 07:15:11 PDT 2014


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/phobos
  Commit: cf1aa96bc443eea5a7067d9066a6033c3b424fd8
      https://github.com/D-Programming-Language/phobos/commit/cf1aa96bc443eea5a7067d9066a6033c3b424fd8
  Author: IdanArye <idanarye at gmail.com>
  Date:   2014-08-18 (Mon, 18 Aug 2014)

  Changed paths:
    M std/algorithm.d

  Log Message:
  -----------
  fix issue 9959 - Add functional pattern matching for object references

Add the function std.algorithm.castSwitch, which chooses a delegate
based on the class of an object and run that delegate with that object.


  Commit: 575b4aec7f2e901056548dc209f3d15951714c05
      https://github.com/D-Programming-Language/phobos/commit/575b4aec7f2e901056548dc209f3d15951714c05
  Author: H. S. Teoh <hsteoh at quickfur.ath.cx>
  Date:   2014-09-16 (Tue, 16 Sep 2014)

  Changed paths:
    M std/algorithm.d

  Log Message:
  -----------
  Merge pull request #1266 from idanarye/add-functional-pattern-matching-for-object-references

fix issue 9959 - Add functional pattern matching for object references


Compare: https://github.com/D-Programming-Language/phobos/compare/c0c79efccdd8...575b4aec7f2e


More information about the phobos mailing list