
24 Feb
2009
24 Feb
'09
9:31 a.m.
On Tue, 2009-02-24 at 13:42 +0100, Christian Maeder wrote:
Ok, so perhaps we should split the API into two, in the way you suggest above. I'll try that and see how it looks. [...]
Ok, I've applied your patch with a slight variation. See the haddocks: http://haskell.org/~duncan/tar/docs/ Basically it's split into Codec.Archive.Tar for the high level bits of the api you suggested and Codec.Archive.Tar.Entry for the details of what an Entry is, how to construct one etc. Hopefully the documentation makes that split clear. I've exported fileType :: Entry -> FileType data FileType = ... from the high level api, rather than adding isNormalFile :: Entry -> Bool Thanks again for the feedback. Duncan