view tests/nomangle.ur @ 2244:e4a7e3cd6f11

Use uniform representation of comparisons for better simplification.
author Ziv Scully <ziv@mit.edu>
date Mon, 20 Jul 2015 23:25:44 -0700
parents f55b0e45422f
children
line wrap: on
line source
table foo : { Bar : int, Baz : string }
  PRIMARY KEY Baz

fun main () : transaction page =
    rs <- queryX1 (SELECT foo.Bar FROM foo WHERE foo.Baz = 'Hi')
          (fn r => <xml>{[r.Bar]}</xml>);
    return <xml><body>{rs}</body></xml>