view tests/listpair.ur @ 1978:c5143edaf3c7

Declare datetimeDayOfWeek in urweb_cpp.h.
author Patrick Hurst <phurst@mit.edu>
date Mon, 09 Dec 2013 20:41:24 -0500
parents 8297968cf7ef
children
line wrap: on
line source
val x = 1 :: 2 :: []
val y = 3 :: 4 :: []

fun main () : transaction page = return <xml>
  {[ListPair.mp plus x y]}
</xml>