Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created October 28, 2016 02:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Whateverable/e0ce811ab7e1be965e7b74efcaa34396 to your computer and use it in GitHub Desktop.
Save Whateverable/e0ce811ab7e1be965e7b74efcaa34396 to your computer and use it in GitHub Desktop.
bisectable6
sub infix:<j>{$^l.comb.tail eq $^r.comb.head??(|$l,$r)!!|@};say [Xj] <te tt>,<fg et>,<wd td>; # usually you'll do this
Bisecting: 1135 revisions left to test after this (roughly 10 steps)
[42e72a491e863b7888fd1c1a86b8e86c3583449e] /STATEMENT_LIST/stmts/ sequential-map
»»»»» Testing 42e72a491e863b7888fd1c1a86b8e86c3583449e
»»»»» Script output:
((te et td))
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
((te et td))
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 6d97bad13f1a159d592d9ca8751b098ea74b8c50
»»»»» Script output:
((te et td))
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
((te et td))
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing e46da6b8f49dad5af35632c0a5ceb80b6ba8f124
»»»»» Script output:
((te et td))
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
((te et td))
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing faea193ec9563f8425a2a59cc4190068adb41c6e
»»»»» Script output:
Use of Nil in string context
in sub infix:<j> at /tmp/AZts5nYuTG line 1
Use of Nil in string context
in sub infix:<j> at /tmp/AZts5nYuTG line 1
Use of Nil in string context
in sub infix:<j> at /tmp/AZts5nYuTG line 1
Use of Nil in string context
in sub infix:<j> at /tmp/AZts5nYuTG line 1
Use of Nil in string context
in sub infix:<j> at /tmp/AZts5nYuTG line 1
Use of Nil in string context
in sub infix:<j> at /tmp/AZts5nYuTG line 1
((te et td))
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
((te et td))
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 222d16b0b94911fdedb06ee6ad817d0f14b9c05c
»»»»» Script output:
Use of Nil in string context
in sub infix:<j> at /tmp/AZts5nYuTG line 1
Use of Nil in string context
in sub infix:<j> at /tmp/AZts5nYuTG line 1
Use of Nil in string context
in sub infix:<j> at /tmp/AZts5nYuTG line 1
Use of Nil in string context
in sub infix:<j> at /tmp/AZts5nYuTG line 1
Use of Nil in string context
in sub infix:<j> at /tmp/AZts5nYuTG line 1
Use of Nil in string context
in sub infix:<j> at /tmp/AZts5nYuTG line 1
((te et td))
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
((te et td))
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing e12ebb928647c3552c11a0096b29c1e0f3c3d5b2
»»»»» Script output:
Use of Nil in string context
in sub infix:<j> at /tmp/AZts5nYuTG line 1
Use of Nil in string context
in sub infix:<j> at /tmp/AZts5nYuTG line 1
Use of Nil in string context
in sub infix:<j> at /tmp/AZts5nYuTG line 1
Use of Nil in string context
in sub infix:<j> at /tmp/AZts5nYuTG line 1
Use of Nil in string context
in sub infix:<j> at /tmp/AZts5nYuTG line 1
Use of Nil in string context
in sub infix:<j> at /tmp/AZts5nYuTG line 1
((te et td))
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
((te et td))
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 4b1864bf17a47e6b28138630e6c7f922fa0c3ffb
»»»»» Script output:
((te et td))
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
((te et td))
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing e9409ccbec46ae9075d759c98cac6f993a939fc6
»»»»» Script output:
Use of Nil in string context
in sub infix:<j> at /tmp/AZts5nYuTG line 1
Use of Nil in string context
in sub infix:<j> at /tmp/AZts5nYuTG line 1
Use of Nil in string context
in sub infix:<j> at /tmp/AZts5nYuTG line 1
Use of Nil in string context
in sub infix:<j> at /tmp/AZts5nYuTG line 1
Use of Nil in string context
in sub infix:<j> at /tmp/AZts5nYuTG line 1
Use of Nil in string context
in sub infix:<j> at /tmp/AZts5nYuTG line 1
((te et td))
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
((te et td))
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 8be36b1228c8b1b455e00ea1e8e69c8d72598424
»»»»» Script output:
Use of Nil in string context
in sub infix:<j> at /tmp/AZts5nYuTG line 1
Use of Nil in string context
in sub infix:<j> at /tmp/AZts5nYuTG line 1
Use of Nil in string context
in sub infix:<j> at /tmp/AZts5nYuTG line 1
Use of Nil in string context
in sub infix:<j> at /tmp/AZts5nYuTG line 1
Use of Nil in string context
in sub infix:<j> at /tmp/AZts5nYuTG line 1
Use of Nil in string context
in sub infix:<j> at /tmp/AZts5nYuTG line 1
((te et td))
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
((te et td))
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 77a7a4e475277fc38e136a6d96b305a64350702a
»»»»» Script output:
((te et td))
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
((te et td))
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 96df2d7148cef0c8243bd7a2a1b66b8c22e356eb
»»»»» Script output:
Use of Nil in string context
in sub infix:<j> at /tmp/AZts5nYuTG line 1
Use of Nil in string context
in sub infix:<j> at /tmp/AZts5nYuTG line 1
Use of Nil in string context
in sub infix:<j> at /tmp/AZts5nYuTG line 1
Use of Nil in string context
in sub infix:<j> at /tmp/AZts5nYuTG line 1
Use of Nil in string context
in sub infix:<j> at /tmp/AZts5nYuTG line 1
Use of Nil in string context
in sub infix:<j> at /tmp/AZts5nYuTG line 1
((te et td))
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
((te et td))
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
96df2d7148cef0c8243bd7a2a1b66b8c22e356eb is the first new commit
commit 96df2d7148cef0c8243bd7a2a1b66b8c22e356eb
Author: Elizabeth Mattijsen <liz@dijkmat.nl>
Date: Mon Sep 19 22:28:43 2016 +0200
Make .head/.tail act like .roll/.pick
As in not returning a list, but just a single item. As suggested by
ugexe++
:040000 040000 fe1eac3b989fd1020f07982e978080588d83552a 5e7d316486aabf5c8667b6ce649f037481694856 M src
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment