[web-devel] Re: [Haskell-cafe] Google Summer of Code: BlazeHTML RFC

Jasper Van der Jeugt jaspervdj at gmail.com
Thu May 27 04:48:54 EDT 2010


Hey Bas,

> How about also providing an enumerator back-end?
> http://hackage.haskell.org/packages/archive/iteratee/0.3.5/doc/html/Data-Iteratee-Base.html#t%3AEnumeratorGM
>
> Then your library can integrate more easily with the snap framework:
> http://snapframework.com

Sure, I can do that. But I already tested integration with the snap
framework, the best path here seems to call the `writeLBS` function
from the snap framework on the `L.ByteString` that BlazeHtml produces
(`writeLBS` internally uses an enumerator).

Kind regards,
Jasper Van der Jeugt

On Thu, May 27, 2010 at 10:38 AM, Bas van Dijk <v.dijk.bas at gmail.com> wrote:
> Q14: Do you see any problems with respect to integrating BlazeHtml in
> your favourite web-framework/server?
>
> How about also providing an enumerator back-end?
> http://hackage.haskell.org/packages/archive/iteratee/0.3.5/doc/html/Data-Iteratee-Base.html#t%3AEnumeratorGM
>
> Then your library can integrate more easily with the snap framework:
> http://snapframework.com
>
> Regards,
>
> Bas
>


More information about the web-devel mailing list