
9 Feb
2010
9 Feb
'10
11:50 a.m.
From: Edward Kmett
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