Created
December 3, 2017 18:01
-
-
Save CurtTilmes/bdea88eb5b4a9eec24a797ef9a4ba732 to your computer and use it in GitHub Desktop.
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
sub myfunc(%h) { | |
die "a must be an Int" unless %h<a> ~~ Int; | |
die "b must be a Str" unless %h<b> ~~ Str; | |
die "c must be a Rat" unless %h<c> ~~ Rat; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment