On 01/28/2015 01:47 PM, Stefan Scott Alexander wrote:
I'm not sure if it's complaining about the type of the new functions which I added:

fun pageWithLogout pg =
   pg' <- pg;
   return <xml>
            {pg'}
            <p><a link={logout()}>Logout</a></p>
          </xml>

I think the problem here is just that you are using <p> not inside a <body>.

_______________________________________________
Ur mailing list
[email protected]
http://www.impredicative.com/cgi-bin/mailman/listinfo/ur

Reply via email to