-- You received this message because you are subscribed to the Google Groups "Haskell Server Pages" group.
To post to this group, send email to haskell-server-pages@googlegroups.com.
To unsubscribe from this group, send email to haskell-server-pages+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/haskell-server-pages?hl=en.
> Where the attribute value is in the XMLGenT monad. (This is very useful when
> using web-routes).
> But, we can't because there is no suitable instance. This patch adds an
> instance,
>> instance (EmbedAsAttr m (Attr a v), TypeCastM m1 m) => EmbedAsAttr m (Attr
>> a (XMLGenT m1 v))
> (Thanks goes to Sergey Mironov for figuring this out).
> - jeremy
> --
> You received this message because you are subscribed to the Google Groups
> "Haskell Server Pages" group.
> To post to this group, send email to haskell-server-pages@googlegroups.com.
> To unsubscribe from this group, send email to
> haskell-server-pages+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/haskell-server-pages?hl=en.
-- You received this message because you are subscribed to the Google Groups "Haskell Server Pages" group.
To post to this group, send email to haskell-server-pages@googlegroups.com.
To unsubscribe from this group, send email to haskell-server-pages+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/haskell-server-pages?hl=en.
> But, we can't because there is no suitable instance. This patch adds an
> instance,
>> instance (EmbedAsAttr m (Attr a v), TypeCastM m1 m) => EmbedAsAttr m (Attr
>> a (XMLGenT m1 v))
I thought this instance was already included, it's a clear oversight
that it isn't. Patch applied, thanks!
Cheers,
/Niklas
-- You received this message because you are subscribed to the Google Groups "Haskell Server Pages" group.
To post to this group, send email to haskell-server-pages@googlegroups.com.
To unsubscribe from this group, send email to haskell-server-pages+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/haskell-server-pages?hl=en.
>> But, we can't because there is no suitable instance. This patch
>> adds an
>> instance,
>>> instance (EmbedAsAttr m (Attr a v), TypeCastM m1 m) => EmbedAsAttr
>>> m (Attr
>>> a (XMLGenT m1 v))
> I thought this instance was already included, it's a clear oversight
> that it isn't. Patch applied, thanks!
> Cheers,
> /Niklas
> -- > You received this message because you are subscribed to the Google
> Groups "Haskell Server Pages" group.
> To post to this group, send email to haskell-server-pages@googlegroups.com > .
> To unsubscribe from this group, send email to haskell-server-pages+unsubscribe@googlegroups.com > .
> For more options, visit this group at http://groups.google.com/group/haskell-server-pages?hl=en > .
-- You received this message because you are subscribed to the Google Groups "Haskell Server Pages" group.
To post to this group, send email to haskell-server-pages@googlegroups.com.
To unsubscribe from this group, send email to haskell-server-pages+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/haskell-server-pages?hl=en.
> instance (XMLGen m, EmbedAsAttr m a) => EmbedAsAttr m (XMLGenT m a) where
> asAttr ma = ma >>= asAttr
> But that is not quite the same. But is close enough to perhaps may you think
> you covered this issue :)
I think you're spot on. :)
/Niklas
-- You received this message because you are subscribed to the Google Groups "Haskell Server Pages" group.
To post to this group, send email to haskell-server-pages@googlegroups.com.
To unsubscribe from this group, send email to haskell-server-pages+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/haskell-server-pages?hl=en.