[Haskell-cafe] Conduit versions of wai and warp?

Michael Snoyman michael at snoyman.com
Thu Jan 19 05:26:19 CET 2012


On Thu, Jan 19, 2012 at 5:22 AM, Erik de Castro Lopo
<mle+hs at mega-nerd.com> wrote:
> Michael Snoyman wrote:
>
>> However, WAI and Warp are mostly ready now, just
>> needing a bit more testing. If people want to give me some feedback on
>> the readiness of them, and would like them released earlier, I'm
>> definitely flexible.
>>
>> Meanwhile: yes, the Github version is conduit-based.
>
> Michael,
>
> I'm having some trouble getting the right set of dependencies for
> Conduit versions of wai and warp. At the moment I'm stuck on
> asn1-data; every version I can find of that seems to depend on
> enumerator.
>
> Is there a simple recipe somewhere for build conduit versions of
> wai and warp?
>
> Cheers,
> Erik

We can still have a conduit-based version of WAI and Warp, even if an
underlying package uses enumerator. The enumerator usage from
asn1-data doesn't leak into WAI or Warp at all[1]. We could ask
Vincent to consider moving over to attoparsec-conduit instead, but I
don't think there's any strong need for this.

Michael

[1] In fact, asn1-data isn't even a dependency for WAI or Warp, though
it is for http-conduit



More information about the Haskell-Cafe mailing list