summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/std/cmp.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/cmp.myr b/lib/std/cmp.myr
index 15d2f98..f99c3fe 100644
--- a/lib/std/cmp.myr
+++ b/lib/std/cmp.myr
@@ -10,7 +10,7 @@ pkg std =
`After
;;
- generic numcmp : (a : @a, b : @a -> order)
+ generic numcmp : (a : @a, b : @a -> order) :: numeric @a
const strcmp : (a : byte[:], b : byte[:] -> order)
const strncmp : (a : byte[:], b : byte[:], n : size -> order)
const strcasecmp : (a : byte[:], b : byte[:] -> order)