view tests/optionM.ur @ 1655:b694f9153faa

Adapt Monoize serialization to handle freshly created variant types
author Adam Chlipala <adam@chlipala.net>
date Mon, 02 Jan 2012 16:54:18 -0500
parents a99b743a3087
children
line wrap: on
line source
fun main () : transaction page = return <xml>{[x <- Some 1;
                                               y <- Some 2;
                                               return (x + y)]}</xml>