diff options
author | Adam Chlipala <adamc@hcoop.net> | 2009-05-23 10:14:51 -0400 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2009-05-23 10:14:51 -0400 |
commit | 5232b7e45cf55208a0a3ea41395bb9f87d06dd21 (patch) | |
tree | 8afc65ee353c134c317e06064d25e94328af4c3b /src/settings.sml | |
parent | cabd451f495af6f122b77c61903cc17ee7832d71 (diff) |
Change monoization of monads to allow partial applications of operations
Diffstat (limited to 'src/settings.sml')
-rw-r--r-- | src/settings.sml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/settings.sml b/src/settings.sml index bdadb318..9dc6e414 100644 --- a/src/settings.sml +++ b/src/settings.sml @@ -148,7 +148,8 @@ val jsFuncsBase = basisM [("alert", "alert"), ("attrifyString", "escape"), ("attrifyInt", "ts"), ("attrifyFloat", "ts"), - ("attrifyBool", "bs")] + ("attrifyBool", "bs"), + ("boolToString", "ts")] val jsFuncs = ref jsFuncsBase fun setJsFuncs ls = jsFuncs := foldl (fn ((k, v), m) => M.insert (m, k, v)) jsFuncsBase ls fun jsFunc x = M.find (!jsFuncs, x) |