Created
January 29, 2018 05:07
Star
You must be signed in to star a gist
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