[Haskell-cafe] Problems with iteratees

wren ng thornton wren at freegeek.org
Thu Feb 3 09:01:54 CET 2011

On 2/2/11 11:25 PM, Maciej Wos wrote:
> I think the problem is that the iteratee you give to I.convStream
> always returns Just [something] while you should return Nothing on
> EOF.

That makes sense for the hanging problem (which I only noticed during 
debugging). Though I still get the the same error message when running 
the whole program...

> On Thu, Feb 3, 2011 at 10:06 AM, wren ng thornton<wren at freegeek.org>  wrote:
>> When I put this all together, the process is killed with:
>>     control message: Just (Err "endOfInput")
>> Data.Iteratee.Base.run is the origin of the "control message:" part of the
>> error, but I don't know where (Err "endOfInput") is coming from since
>> Data.Iteratee.Base only uses (Err "EOF") or (Err "Divergent Iteratee"). I
>> believe runGetEnumeratee is where the problem is, though it could also be
>> the use site or something in one of the libraries. Any help would be
>> appreciated.

Live well,

More information about the Haskell-Cafe mailing list