Created
January 29, 2018 05:07
-
-
Save Whateverable/290ed9fd294916e8ab999998a01ba81f 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 Regex @rxs = (rx/3/, rx/2/); my @L = (1 .. 23); sub search(Mu $r where Regex) { grep $r, :v, @L }; say search( one(@rxs) ); |
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) | |
Constraint type check failed in binding to parameter '$r'; expected anonymous constraint to be met but got Junction (one(rx/3/, rx/2/)) | |
in sub search at /tmp/Po_uqxvVAe line 1 | |
in block <unit> at /tmp/Po_uqxvVAe line 1 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment