ChrisK ha scritto:
Manlio Perillo wrote:
Hi.

I have some doubts about the runGetState function in the binary package.
The signature is:
runGetState :: Get a -> LBS -> Int64 -> (a, LBS, Int64)


however the Int64 "input parameter" is not documented.
What value should I pass?
How will be used?

> [...]

hackage has the code at
http://hackage.haskell.org/packages/archive/binary/0.5.0.1/doc/html/src/Data-Binary-Get.html#runGetState

Yes, and I have read the code, as the first thing.
And (after some testing) I figured out how it works.

However I wanted to be sure I understand it, since, as I have written, IMHO it is not clearly documented; and I can't see how it can be useful, there are no usage examples.

> [...]



Thanks  Manlio Perillo
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to