[darcs-users] index format

Eric Kow kowey at darcs.net
Mon Jun 8 15:21:14 UTC 2009


On Mon, Jun 08, 2009 at 16:17:11 +0100, Eric Kow wrote:
> Alternatively, we could have a version used by createItem without the
> dirlen field and a general version which takes a mandatory field.  I
> don't know if this would lead to something ugly though.

In case that came out as being completely nonsensical, I meant
a version of the peekItem function, not the Item record
(also s/field/argument/)

peekItemCreate :: ForeignPtr () -> Int -> IO Item

peekItem :: ForeignPtr () -> Int -> Int -> IO Item
 -- which uses peekItemCreate

But maybe that is just ugly.

-- 
Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow>
PGP Key ID: 08AC04F9
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.osuosl.org/pipermail/darcs-users/attachments/20090608/bf07eb97/attachment.pgp>


More information about the darcs-users mailing list