summaryrefslogtreecommitdiff
path: root/libstd/intparse.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2014-01-02 10:14:06 -0500
committerOri Bernstein <ori@eigenstate.org>2014-01-02 10:14:06 -0500
commit6e418753ce132f10cb25e2cd4679159c50fba931 (patch)
treea6ea41a4bc56258ca7cf1f742a6fff916ddfc2a5 /libstd/intparse.myr
parent14346a4d8913a81c2c62e18ba150f6b770d5731d (diff)
downloadmc-6e418753ce132f10cb25e2cd4679159c50fba931.tar.gz
Add generic comparator functions.
Also, make 'strcmp' usable with 'std.sort'
Diffstat (limited to 'libstd/intparse.myr')
-rw-r--r--libstd/intparse.myr4
1 files changed, 2 insertions, 2 deletions
diff --git a/libstd/intparse.myr b/libstd/intparse.myr
index 28d859c..9739cab 100644
--- a/libstd/intparse.myr
+++ b/libstd/intparse.myr
@@ -1,9 +1,9 @@
use "die.use"
-use "strcmp.use"
+use "fmt.use"
+use "hasprefix.use"
use "option.use"
use "types.use"
use "utf.use"
-use "fmt.use"
pkg std =
generic intparsebase : (s : byte[:], base : int -> option(@a::(tcint,tcnum,tctest)))