Mercurial > urweb
view tests/num.ur @ 506:65d8541c130b
Fusing writes with recursive function calls
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Tue, 25 Nov 2008 10:05:44 -0500 |
parents | fe8f75f7e130 |
children |
line wrap: on
line source
fun main () : transaction page = return <xml><body> {[ -1 ]}, {[ 1 + 1 ]}, {[ 9 - 3 ]}, {[ 9 * 3 ]}, {[ 9 / 3 ]}, {[ 9 % 3 ]}<br/> {[ -1.1 ]}, {[ 1.0 + 1.1 ]}, {[ 9.1 - 3.0 ]}, {[ 9.1 * 3.0 ]}, {[ 9.1 / 3.0 ]}, {[ 9.1 % 3.0 ]}<br/> </body></xml>