view tests/sqlprecision.ur @ 2183:74c762002352

Allow duplicate 'file' directives if paths normalize to same value
author Adam Chlipala <adam@chlipala.net>
date Sun, 18 Oct 2015 16:03:56 -0400
parents 2f33d9a51765
children
line wrap: on
line source
table t : { N : float }

fun insert r =
    dml (INSERT INTO t (N) VALUES ({[readError r.N]}));
    return <xml/>

fun main () = return <xml><body>
  <form>
    <textbox{#N}/>
    <submit action={insert}/>
  </form>
</body></xml>