Created
December 11, 2019 03:17
-
-
Save Whateverable/6d10cd5fa2fd2a581f0a088439270059 to your computer and use it in GitHub Desktop.
evalable6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
my @stuff = (1..14); my $start = 0; my $end = @stuff.elems - 5; my @conds = (* >= $start); @conds.push: * < $end if $end; say .toggle(:off, |@conds) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(exit code 1) | |
Cannot resolve caller toggle(Any:U: WhateverCode:D, WhateverCode:D, :off); none of these signatures match: | |
(Any:D: Callable:D \condition, :$off!, *%_) | |
(Any:D: Callable:D \condition, *%_) | |
(Any:D: *@conditions, :$off, *%_) | |
in block <unit> at /tmp/U02Cy8HkYv line 1 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment