
24 Apr
2003
24 Apr
'03
8:27 a.m.
| How would one implement an CStringLen-style type that | [...]
Take a look at:
http://www.cs.chalmers.se/Cs/Grundutb/Kurser/afp/Lab2/Chunk.hs
Is that what you want?
Only one comment: use mallocForeignPtr and it'll go a lot faster with GHC! Cheers, Simon