summaryrefslogtreecommitdiff
path: root/tests/fromStringErr.ur
blob: 77fc8a20e97f56c3b750e207296a3e109663512b (plain)
1
2
3
4
5
6
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>