
Hello, http://cvs.haskell.org/Hugs/pages/libraries/base/Foreign-C-Types.html .. I want to look at the actual code for these C types so that I can see how the instances of Storable for each type are coded so e.g. I can see how sizeOf/allignment are coded. Thanks, Vasili

On Feb 12, 2008, at 14:24 , Galchin Vasili wrote:
http://cvs.haskell.org/Hugs/pages/libraries/base/Foreign-C- Types.html .. I want to look at the actual code for these C types so that I can see how the instances of Storable for each type are coded so e.g. I can see how sizeOf/allignment are coded.
I followed links from http://haskell.org to find the Hugs development wiki ( http://hackage.haskell.org/trac/hugs ) and found a "browse source code" link: http://darcs.haskell.org/darcsweb/darcsweb.cgi? r=hugs98;a=summary The bad news is that this returns a (very pretty...) Python error. Eep? -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH

On 2/12/08, Galchin Vasili
Hello,
http://cvs.haskell.org/Hugs/pages/libraries/base/Foreign-C-Types.html .. I want to look at the actual code for these C types so that I can see how the instances of Storable for each type are coded so e.g. I can see how sizeOf/allignment are coded.
I've written a small example that might be of help: http://therning.org/magnus/archives/315 /M
participants (3)
-
Brandon S. Allbery KF8NH
-
Galchin Vasili
-
Magnus Therning