Mercurial > urweb
view tests/echoBlob.ur @ 1069:757397bb9609
Fix lexing of string literals in XML; treat EError as impure in MonoReduce
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Sat, 12 Dec 2009 14:51:10 -0500 |
parents | f7e2026dd5ae |
children |
line wrap: on
line source
fun echo r = returnBlob (fileData r.Data) (blessMime (fileMimeType r.Data)) fun main () = return <xml><body> <form> <upload{#Data}/> <submit action={echo}/> </form> </body></xml>