[darcs-devel] darcs patch: Start converting FastPackedString into a Data.ByteString wrapper.

David Roundy droundy at darcs.net
Mon Feb 4 16:30:49 UTC 2008


On Sun, Feb 03, 2008 at 11:57:00PM +0000, Eric Y. Kow wrote:
> Again me pretending to be darcs send.
> 
> WARNING: This is still broken!
> 
> Note: I just went in a replaced things willy-nilly.  Tests still fail,
> but I'm hoping this could be the start of something useful.  Hoping
> that Data.ByteString performs better than our FastPackedString for
> darcs needs.
> 
> This doesn't work yet, but maybe you can do something with it?
> 
> Sun Feb  3 23:51:11 GMT 2008  Eric Kow <E.Y.Kow at brighton.ac.uk>
>   * Start converting FastPackedString into a Data.ByteString wrapper.

Alas, this is rather more broken than I'm likely to want to deal with at
this stage:  I get

src/FastPackedString.hs:146:17:
    Could not find module `Data.ByteString.Internal':
      Use -v to see a list of the files searched for.

presumably because I don't have bytestring installed.  I think a more
cautious approach would be in order, allowing us to optionally compile with
bytestring, using our existing code as a fallback.

At a minimum, we probaly can't use the bytestring lines or unlines.

Thanks for the contribution Eric, but I don't think this is something I can
take up right now.  Is anyone else interested? I could help with the
configure.ac work if someone expects to have time to do the actual
conversion.
-- 
David Roundy
Department of Physics
Oregon State University
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.osuosl.org/pipermail/darcs-devel/attachments/20080204/5952b377/attachment.pgp 


More information about the darcs-devel mailing list