HCoop
/
hcoop
/
zz_old
/
portal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
In unmigrated members view, list balances and count number that are negative
[hcoop/zz_old/portal.git]
/
balance.sml
diff --git
a/balance.sml
b/balance.sml
index
5b0c684
..
1d639da
100644
(file)
--- a/
balance.sml
+++ b/
balance.sml
@@
-103,4
+103,6
@@
fun sumOwnedBalances () =
[amt] => C.realFromSql amt
| _ => raise Fail "sumOwnedBalance: no rows"
+fun isNegative (bal : balance) = #amount bal < 0.0
+
end