view tests/formFields.ur @ 2203:39faa4a037f4

ML half of initial prototype. (Doesn't compile because there's no C yet.)
author Ziv Scully <ziv@mit.edu>
date Tue, 25 Mar 2014 02:04:06 -0400
parents 69daa6d70299
children
line wrap: on
line source
fun main (pb : postBody) : transaction page = return <xml><body>
  {List.mapX (fn (n, v) => <xml><li>{[n]} = {[v]}</li></xml>) (postFields pb)}
</body></xml>