Created
February 1, 2017 10:39
-
-
Save samcv/d633ebd66fb5eeda88c71e2492d7217b 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
proto sub infix:<unicmp>(|) is pure { * } | |
multi sub infix:<unicmp>(Str:D \a, Str:D \b) returns Order:D { | |
ORDER( | |
nqp::unicmp_s( | |
nqp::unbox_s(a), nqp::unbox_s(b), 7,0,0)) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment