You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know if this has been discussed before, but what do people think about having an IsString instance for WidgetT site IO ()? Every String can trivially be promoted to a widget via:
toWidget . toHtml . pack
This instance would be helpful to me in certain situations (and while I'm at it, an IsString instance for MarkupM () but that isn't part of yesod). Does anyone else think this is a good idea, or do you guys see this kind of thing as harmful/confusing?
The text was updated successfully, but these errors were encountered:
I don't know if this has been discussed before, but what do people think about having an
IsString
instance forWidgetT site IO ()
? EveryString
can trivially be promoted to a widget via:This instance would be helpful to me in certain situations (and while I'm at it, an
IsString
instance forMarkupM ()
but that isn't part of yesod). Does anyone else think this is a good idea, or do you guys see this kind of thing as harmful/confusing?The text was updated successfully, but these errors were encountered: