view tests/timestamp.ur @ 2247:565da55a4e18

Fix NONE capitalization typo.
author Ziv Scully <ziv@mit.edu>
date Sun, 02 Aug 2015 18:37:24 -0700
parents 690638bd9fef
children
line wrap: on
line source
table t : { A : time }

fun many ls =
    case ls of
        [] => (WHERE TRUE)
      | tm :: ls' => (WHERE t.A = {[tm]} AND {many ls'})

task initialize = fn () =>
                     tm <- now;
                     dml (DELETE FROM t WHERE {many (tm :: [])})