[web-devel] Interpolating url does not work

vagif.verdi at gmail.com vagif.verdi at gmail.com
Sun Mar 20 03:26:27 CET 2011

I have 2 handles defined in a separate module. Both handles are in the same 
When i interpolate one into the template of the other i get an error "Not in 

But both handles work ok, If i do not interpolate, i can hit manually both of 

Handle denied as 
getFormR :: Int -> Handler RepHtml

I interpolate it like this:

<a href=@{FormR 11}>

and get error: Not in scope: data constructor `FormR'

Most likely i am missing something obvious. But cannot figure it out.

Vagif Verdi

More information about the web-devel mailing list