Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created January 26, 2020 18:15
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/285991893013f795788c8078f67f1bee to your computer and use it in GitHub Desktop.
Save Whateverable/285991893013f795788c8078f67f1bee to your computer and use it in GitHub Desktop.
bisectable6
my&f={@^m.rotor((1,0 X++@m div$^n)Zxx@m%$n,$n)};{say f([1,2,3,4,5],2); CATCH { default { say .message } } };say f([1,2,3,4,5],2)
Bisecting: 5511 revisions left to test after this (roughly 13 steps)
[0ffff8596cc03144bbe5b30e0775772bda2742c8] Run S17-promise/lock-async.t
»»»»» Testing 0ffff8596cc03144bbe5b30e0775772bda2742c8
»»»»» Script output:
This Seq has already been iterated, and its values consumed
(you might solve this by adding .cache on usages of the Seq, or
by assigning the Seq into an array)
((1 2 3) (4 5))
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
((1 2 3) (4 5))
((1 2 3) (4 5))
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing acece7b2f7a8614c40d832a76ff67be2a71d851a
»»»»» Script output:
((1 2 3) (4 5))
((1 2 3) (4 5))
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
((1 2 3) (4 5))
((1 2 3) (4 5))
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 37316f822005e88080774c09986e32183042887f
»»»»» Script output:
((1 2 3) (4 5))
((1 2 3) (4 5))
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
((1 2 3) (4 5))
((1 2 3) (4 5))
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 239c505ea53b6cf4c9844373e99775b8e679cfc4
»»»»» Script output:
This Seq has already been iterated, and its values consumed
(you might solve this by adding .cache on usages of the Seq, or
by assigning the Seq into an array)
((1 2 3) (4 5))
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
((1 2 3) (4 5))
((1 2 3) (4 5))
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing abb9b26f09c26f7f2661df4d04ac408da6053601
»»»»» Script output:
This Seq has already been iterated, and its values consumed
(you might solve this by adding .cache on usages of the Seq, or
by assigning the Seq into an array)
((1 2 3) (4 5))
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
((1 2 3) (4 5))
((1 2 3) (4 5))
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing f3f99b3ac43bb94fe5eb955fb441fe7d1e97071a
»»»»» Script output:
This Seq has already been iterated, and its values consumed
(you might solve this by adding .cache on usages of the Seq, or
by assigning the Seq into an array)
((1 2 3) (4 5))
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
((1 2 3) (4 5))
((1 2 3) (4 5))
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 3f7d1334dc97871449b846708dce52ad4ef39c2b
»»»»» Script output:
This Seq has already been iterated, and its values consumed
(you might solve this by adding .cache on usages of the Seq, or
by assigning the Seq into an array)
((1 2 3) (4 5))
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
((1 2 3) (4 5))
((1 2 3) (4 5))
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 858a3d50fda4716cc00dea4329fdbd9087c38bd5
»»»»» Script output:
((1 2 3) (4 5))
((1 2 3) (4 5))
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
((1 2 3) (4 5))
((1 2 3) (4 5))
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 5e6b38789aeac32adc09c1977c8d2ac7251659f8
»»»»» Script output:
This Seq has already been iterated, and its values consumed
(you might solve this by adding .cache on usages of the Seq, or
by assigning the Seq into an array)
((1 2 3) (4 5))
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
((1 2 3) (4 5))
((1 2 3) (4 5))
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 701dab3cb80bfc4fc9bae2825c7355c007b48364
»»»»» Script output:
((1 2 3) (4 5))
((1 2 3) (4 5))
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
((1 2 3) (4 5))
((1 2 3) (4 5))
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing c13d89b3e65ff78f3ae0dda62b36d82ea7beb6c5
»»»»» Script output:
((1 2 3) (4 5))
((1 2 3) (4 5))
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
((1 2 3) (4 5))
((1 2 3) (4 5))
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing f4cbdb64bce81d9663726d6a9da52af8b709a630
»»»»» Script output:
((1 2 3) (4 5))
((1 2 3) (4 5))
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
((1 2 3) (4 5))
((1 2 3) (4 5))
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing f2af3db16db84947fa83fdad8696352c840b9eca
»»»»» Script output:
((1 2 3) (4 5))
((1 2 3) (4 5))
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
((1 2 3) (4 5))
((1 2 3) (4 5))
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
5e6b38789aeac32adc09c1977c8d2ac7251659f8 is the first new commit
commit 5e6b38789aeac32adc09c1977c8d2ac7251659f8
Author: Zoffix Znet <cpan@zoffix.com>
Date: Fri May 5 13:46:00 2017 +0000
Reify until lazy when making a flat slurpy
Fixes RT#128201: https://rt.perl.org/Ticket/Display.html?id=128201
The hang in the ticket is due to .map/.join in .gist not seeing
.is-lazy of the original arg. So when making a slurpy, we reify
$!todo until lazy, so that if we have lazy stuff, we set is lazy for
slurpy's iterator.
:040000 040000 a9003c56340a5ff9861894ee609ef643f0ca79da 3b959ca30ec575c0ea362c3d1a4d533677f85214 M src
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment