[darcs-users] darcs patch: Info.lhs, OldDate.lhs: push bytestring d... (and 3 more)
gwern0 at gmail.com
gwern0 at gmail.com
Sat Apr 26 04:24:53 UTC 2008
Thu Apr 24 20:27:39 EDT 2008 gwern0 at gmail.com
* Info.lhs, OldDate.lhs: push bytestring down the hierarchy
We don't want unpackPS/packString high up in the call hierarchy; we want those functions being called only at the very site or definition they are needed.
Unfortunately, we can't completely ByteString'ify OldDate.lhs, although I've given a sketch how to make it more bytestringy.
Sat Apr 26 00:04:47 EDT 2008 gwern0 at gmail.com
* FastPackedString, OldFastPackedString.hs: add in 'allPS' definition
This is a missing list utility function; for FPS.hs, it's the usual wrapping, while I copy the Bytestring version (swapping 'unsafePeformIO' for 'inplacePerformIO') into OldFPS. This will be a useful function for the next patch.
Sat Apr 26 00:07:57 EDT 2008 gwern0 at gmail.com
* OldDate.lhs: with allPS defined, we can define parseDate as more bytestringy
Sat Apr 26 00:23:24 EDT 2008 gwern0 at gmail.com
* refactor some of parseDate in OldDate.lhs
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-darcs-patch
Size: 30645 bytes
Desc: A darcs patch for your repository!
Url : http://lists.osuosl.org/pipermail/darcs-users/attachments/20080426/87cb1ef8/attachment-0001.bin
More information about the darcs-users
mailing list