On Tue, Jun 22, 2010 at 9:43 AM, Kevin Jardine <[email protected]> wrote:
>
> The latest heist then installed and so I'm back to debugging my code.
> Replacing MyMonad [Node] with Splice MyMonad appears to be working (at least 
> more of my code is now compiling).

Hi Kevin,

I don't have a complete picture of what you're doing, but this sounds
like the right change.  The only way to get out of TemplateMonad is by
getting a ByteString with renderTemplate.  We did this intentionally
to make sure doctypes get handled properly.  So when you're outside
TemplateMonad, ByteStrings are the only thing you can get.  If you
need to actually work with Nodes, then you have to do that inside
TemplateMonad.
_______________________________________________
Snap mailing list
[email protected]
http://mailman-mail5.webfaction.com/listinfo/snap

Reply via email to