[web-devel] mkToForm

Michael Snoyman michael at snoyman.com
Mon Jun 13 21:08:58 CEST 2011

I personally haven't been using mkToForm at all, and haven't had a
chance to migrate it into the newest version of yesod-form, though
it's on my TODO list. When I do so, I'll be sure to add a test to
ensure that it's actually working properly. Thanks for reporting the


On Sun, Jun 12, 2011 at 9:37 PM, Alexander Dunlap
<alexander.dunlap at gmail.com> wrote:
> 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