view tests/optionM.ur @ 2225:6262dabc08d6

Simplify example.
author Ziv Scully <ziv@mit.edu>
date Fri, 27 Mar 2015 11:19:15 -0400
parents a99b743a3087
children
line wrap: on
line source
fun main () : transaction page = return <xml>{[x <- Some 1;
                                               y <- Some 2;
                                               return (x + y)]}</xml>