view tests/formFields.ur @ 1885:8297968cf7ef

Rename ListPair.map2 to ListPair.mp
author Adam Chlipala <adam@chlipala.net>
date Mon, 04 Nov 2013 08:38:20 -0500
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>