view tests/timestamp.ur @ 2262:34ad83d9b729

Fix recording bugs to do with nesting and buffer reallocation. Stop MonoFooify printing spurious errors.
author Ziv Scully <ziv@mit.edu>
date Wed, 07 Oct 2015 08:58:08 -0400
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 :: [])})