view tests/activeEmpty.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 9356e8f91ea4
children
line wrap: on
line source
fun main () : transaction page = return <xml><body>
  <active code={alert "Howdy, neighbor!"; return <xml/>}/>
  <hr/>
  <active code={return <xml>This one <b>ain't</b> empty.</xml>}/>
</body></xml>