Mercurial > urweb
annotate tests/blog.ur @ 1824:216e92b39fc1
Paranoid inlining prevention for FFI types at the Core level; less paranoid inlining promotion for passive values at the Mono level
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Wed, 19 Sep 2012 18:01:22 -0400 |
parents | 787d4931fb07 |
children |
rev | line source |
---|---|
adamc@453 | 1 fun main wrap = |
adamc@453 | 2 let |
adamc@453 | 3 fun edit id = |
adamc@453 | 4 let |
adamc@453 | 5 val r = 0 |
adamc@453 | 6 fun save () = <xml/> |
adamc@453 | 7 in |
adamc@453 | 8 wrap (save ()) |
adamc@453 | 9 end |
adamc@453 | 10 in |
adamc@453 | 11 edit 0 |
adamc@453 | 12 end |
adamc@453 | 13 |
adamc@453 | 14 fun wrap (inside : xbody) = return <xml/> |
adamc@453 | 15 |
adamc@453 | 16 val main () = main wrap |