Hi,

Derek: Yes, I was slowly coming round to the idea of the third option.
It does mean that if you want to change the deferredness of a field,
you have to change the type, which is a substantial alteration.


David:
> Is there any reason not to just write all lazy fields of variable size
>  in a deferred manner?

I completely hadn't though of this! You will loose a bit of time, for
example reading fields which were previously not deferred will require
a file seek, but the effort/thought/efficiency trade-off is good. I
think I will go with this.

Thanks

Neil
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to