view tests/optionM.ur @ 1544:a99b743a3087

Basis.mkMonad
author Adam Chlipala <adam@chlipala.net>
date Fri, 19 Aug 2011 15:23:01 -0400
parents
children
line wrap: on
line source
fun main () : transaction page = return <xml>{[x <- Some 1;
                                               y <- Some 2;
                                               return (x + y)]}</xml>