diff tests/crypt.ur @ 1397:a5bfed32d4f7

Patch from Vladimir Shabanov to support crypt under OS X
author Adam Chlipala <adam@chlipala.net>
date Sun, 16 Jan 2011 10:38:03 -0500
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/crypt.ur	Sun Jan 16 10:38:03 2011 -0500
@@ -0,0 +1,7 @@
+fun cryptIt r = return <xml><body>
+  {[crypt r.Pass "AB"]}
+</body></xml>
+
+fun main () = return <xml><body>
+  <form><textbox{#Pass}/> <submit action={cryptIt}/></form>
+</body></xml>