[web-devel] mkToForm

Alexander Dunlap alexander.dunlap at gmail.com
Sun Jun 12 20:37:46 CEST 2011


Hi,

Is mkToForm still supported in the current Yesod? It seems like things
are breaking with the conversion of everything to Text. If you don't
have OverloadedStrings enabled, the compiler complains that the string
literals generated by mkToForm are not Text-compatible, but if you do
have OverloadedSrings enabled, the compiler complains about toHtml ""
being ambiguous. Is there a good solution to this or is it recommended
to no longer use mkToForm - in that case, what is the easiest way to
replace it?

Thanks,
Alex



More information about the web-devel mailing list