[Haskell-cafe] Iteratee, parsec & co.
John Lato
jwlato at gmail.com
Tue Feb 9 11:50:52 EST 2010
> From: Edward Kmett <ekmett at gmail.com>
>
> 3. Why Seek FileOffset is error message?
>>
>
> I'm not quite sure what you're asking here.
One of the infelicities of iteratee-0.3 is that it defines a data type:
> data ErrMsg = Err String
> | Seek FileOffset
> deriving (Show, Eq)
I believe this is what the OP is referring to. Oleg originally
implemented seek using IORefs; I wanted to try this and didn't know if
it would work so I used a minimal implementation. I've decided this
is the correct approach, but the details need to be tweaked a bit.
Cheers,
John
More information about the Haskell-Cafe
mailing list