diff options
author | Ori Bernstein <ori@eigenstate.org> | 2014-01-02 10:14:06 -0500 |
---|---|---|
committer | Ori Bernstein <ori@eigenstate.org> | 2014-01-02 10:14:06 -0500 |
commit | 6e418753ce132f10cb25e2cd4679159c50fba931 (patch) | |
tree | a6ea41a4bc56258ca7cf1f742a6fff916ddfc2a5 /libstd/intparse.myr | |
parent | 14346a4d8913a81c2c62e18ba150f6b770d5731d (diff) | |
download | mc-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.myr | 4 |
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))) |