HCoop
/
hcoop
/
portal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Roll call system, and update forms to method=post
[hcoop/portal.git]
/
util.sml
diff --git
a/util.sml
b/util.sml
index
801044e
..
9ac38d0
100644
(file)
--- a/
util.sml
+++ b/
util.sml
@@
-30,7
+30,7
@@
fun makeSet f items =
fun neg (r : real) = ~r
fun add (r1 : real, r2) = r1 + r2
fun neg (r : real) = ~r
fun add (r1 : real, r2) = r1 + r2
-fun isIdent ch = Char.isLower ch orelse Char.isDigit ch
+fun isIdent ch = Char.isLower ch orelse Char.isDigit ch
orelse ch = #"-"
fun validHost s =
size s > 0 andalso size s < 20 andalso List.all isIdent (String.explode s)
fun validHost s =
size s > 0 andalso size s < 20 andalso List.all isIdent (String.explode s)