Mercurial > urweb
view tests/formFields.ur @ 2235:0aae15c2a05a
Refactored a lot and fixed an and/or swap, but still not good on current test.
author | Ziv Scully <ziv@mit.edu> |
---|---|
date | Mon, 29 Jun 2015 01:33:47 -0700 |
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>