HCoop
/
bpt
/
portal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Links to list all transactions; debit/credit columns
[bpt/portal.git]
/
util.sml
diff --git
a/util.sml
b/util.sml
index
07793bb
..
9c269c1
100644
(file)
--- a/
util.sml
+++ b/
util.sml
@@
-32,6
+32,9
@@
fun add (r1 : real, r2) = r1 + r2
fun sub (r1 : real, r2) = r1 - r2
fun mult (r1, r2) = real r1 * r2
+fun lt (r1 : real, r2) = r1 < r2
+fun ge (r1 : real, r2) = r1 >= r2
+
fun isIdent ch = Char.isLower ch orelse Char.isDigit ch orelse ch = #"-"
fun validHost s =