Mercurial > urweb
comparison src/sql.sml @ 2247:565da55a4e18
Fix NONE capitalization typo.
author | Ziv Scully <ziv@mit.edu> |
---|---|
date | Sun, 02 Aug 2015 18:37:24 -0700 |
parents | 27899da8780b |
children | f81f1930c5d6 |
comparison
equal
deleted
inserted
replaced
2246:4769b27aa436 | 2247:565da55a4e18 |
---|---|
307 | 307 |
308 (* For sqlcache, we only care that we can do string equality on injected Mono | 308 (* For sqlcache, we only care that we can do string equality on injected Mono |
309 expressions, so accept any expression without modifying it. *) | 309 expressions, so accept any expression without modifying it. *) |
310 val sqlifySqlcache = | 310 val sqlifySqlcache = |
311 fn Exp e :: chs => SOME (e, chs) | 311 fn Exp e :: chs => SOME (e, chs) |
312 | _ => None | 312 | _ => NONE |
313 | 313 |
314 fun constK s = wrap (const s) (fn () => s) | 314 fun constK s = wrap (const s) (fn () => s) |
315 | 315 |
316 val funcName = altL [constK "COUNT", | 316 val funcName = altL [constK "COUNT", |
317 constK "MIN", | 317 constK "MIN", |