Mercurial > urweb
annotate tests/vlad1.ur @ 1881:a5b08bdfa450
New header file scheme to support FFI code in either of C or C++ [based on suggestion by Ron de Bruijn]
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Fri, 11 Oct 2013 17:15:28 -0400 |
parents | 609ab3947a08 |
children |
rev | line source |
---|---|
adamc@1047 | 1 fun row (label : string) : xbody = <xml> |
adamc@1047 | 2 {[label]} |
adamc@1047 | 3 </xml> |
adamc@1047 | 4 fun main () = return (row "asdf") |
adamc@1047 | 5 |