Mercurial > urweb
view tests/fromStringErr.ur @ 1650:1bfd793e7eb8
Add dynamic content before running its scripts, to get IDs in scope; fix generation of Postgres queries with blobs
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Thu, 29 Dec 2011 16:08:34 -0500 |
parents | df02b09ff1ed |
children |
line wrap: on
line source
fun main () : transaction page = return <html><body> 3 = {cdata (show _ (readError _ "3" : int))}<br/> 12.12 = {cdata (show _ (readError _ "12.12" : float))}<br/> Hi = {cdata (show _ (readError _ "Hi" : string))}<br/> True = {cdata (show _ (readError _ "True" : bool))}<br/> </body></html>