weblocks
weblocks copied to clipboard
Continuations don't work in some cases
This code works well
(do-page
(make-widget
(lambda (&rest args)
(with-html
(render-link
(lambda (&rest args)
(answer (first (widget-children (root-widget)))))
"back")))))
And this does not
(do-page
(lambda (&rest args)
(with-html
(render-link
(lambda (&rest args)
(answer (first (widget-children (root-widget)))))
"back"))))
The difference is "make-widget"