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

Attachment: signature.asc
Description: Digital signature

_______________________________________________
darcs-users mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-users

Reply via email to