
12 Jun
2011
12 Jun
'11
2:37 p.m.
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