view tests/crypt.ur @ 2201:1091227f535a

Unnest properly in presence of kind polymorphism
author Adam Chlipala <adam@chlipala.net>
date Sun, 20 Dec 2015 13:41:35 -0500
parents a5bfed32d4f7
children
line wrap: on
line source
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>