[phobos] [D-Programming-Language/phobos] d9e1a5: Added std.range.Sequence slicing (Issue 7896)

GitHub noreply at github.com
Sun Sep 16 19:17:28 PDT 2012


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/phobos
  Commit: d9e1a501ecba84426ddde161dce7408e719a1a8b
      https://github.com/D-Programming-Language/phobos/commit/d9e1a501ecba84426ddde161dce7408e719a1a8b
  Author: Daniel Cousens <daniel350 at bigpond.com>
  Date:   2012-08-12 (Sun, 12 Aug 2012)

  Changed paths:
    M std/range.d

  Log Message:
  -----------
  Added std.range.Sequence slicing (Issue 7896)

See http://d.puremagic.com/issues/show_bug.cgi?id=7896 for more information.


  Commit: 475d6e12eb2e69f085d894793b73d776c3c38e83
      https://github.com/D-Programming-Language/phobos/commit/475d6e12eb2e69f085d894793b73d776c3c38e83
  Author: Daniel Cousens <daniel350 at bigpond.com>
  Date:   2012-08-13 (Mon, 13 Aug 2012)

  Changed paths:
    M std/range.d

  Log Message:
  -----------
  Removed const from Sequence.opSlice()

Also fixed stylistic issues.


  Commit: f30dc0d44ada874791507d463d36d28bd9fc947d
      https://github.com/D-Programming-Language/phobos/commit/f30dc0d44ada874791507d463d36d28bd9fc947d
  Author: Daniel Cousens <daniel350 at bigpond.com>
  Date:   2012-08-13 (Mon, 13 Aug 2012)

  Changed paths:
    M std/range.d

  Log Message:
  -----------
  Switched from ulong to size_t (failing tests)


  Commit: c9ad0e98190e8d0a44953482a56a0dcfcf4eb624
      https://github.com/D-Programming-Language/phobos/commit/c9ad0e98190e8d0a44953482a56a0dcfcf4eb624
  Author: Daniel Cousens <daniel350 at bigpond.com>
  Date:   2012-08-15 (Wed, 15 Aug 2012)

  Changed paths:
    M std/range.d

  Log Message:
  -----------
  Changed take() to takeExactly()

As Sequence is an infinite range, it's guaranteed that there will be more than the number of elements requested, so takeExactly will work just fine, and it has the advantage of having length.


  Commit: 696256c76bfc8b0886716ed8023a3c4dd12a32fc
      https://github.com/D-Programming-Language/phobos/commit/696256c76bfc8b0886716ed8023a3c4dd12a32fc
  Author: Daniel Cousens <daniel350 at bigpond.com>
  Date:   2012-08-20 (Mon, 20 Aug 2012)

  Changed paths:
    M std/range.d

  Log Message:
  -----------
  Shortened unittest to use drop() instead of sequential popFront


  Commit: cf18f2823dc3e91a99998dae483280fd40d93cdd
      https://github.com/D-Programming-Language/phobos/commit/cf18f2823dc3e91a99998dae483280fd40d93cdd
  Author: Daniel Cousens <daniel350 at bigpond.com>
  Date:   2012-08-20 (Mon, 20 Aug 2012)

  Changed paths:
    M std/range.d

  Log Message:
  -----------
  Added unittest to show relative slicing behaviour more clearly.


  Commit: 74929477ab2a06ac45ddf573d283dbe1fcbed193
      https://github.com/D-Programming-Language/phobos/commit/74929477ab2a06ac45ddf573d283dbe1fcbed193
  Author: Daniel Cousens <daniel350 at bigpond.com>
  Date:   2012-09-05 (Wed, 05 Sep 2012)

  Changed paths:
    M std/range.d

  Log Message:
  -----------
  Changed static slicing to relative slicing.


  Commit: 1b645ba717aadf175b93ab344394284008ff5d7d
      https://github.com/D-Programming-Language/phobos/commit/1b645ba717aadf175b93ab344394284008ff5d7d
  Author: Andrei Alexandrescu <andrei at erdani.com>
  Date:   2012-09-16 (Sun, 16 Sep 2012)

  Changed paths:
    M std/range.d

  Log Message:
  -----------
  Merge pull request #748 from RommelVR/master

Added std.range.Sequence slicing (Issue 7896)


Compare: https://github.com/D-Programming-Language/phobos/compare/1bd44a7549b8...1b645ba717aa


More information about the phobos mailing list