cvs commit: fptools/libraries/base/include CTypes.h fptools/libraries/base/Foreign Storable.hs fptools/libraries/base/Foreign/ C Types.hs

Alastair Reid alastair@reid-consulting-uk.ltd.uk
04 Sep 2002 18:25:16 +0100


> GHC can derive arbitrary instances for newtypes, so derive Storable
> for the types in Foreign.C.Types, rather than using CPP trickery to
> define the instances.
  
That's a pretty cool feature - wonder if one of the Hugs typesystem
hackers could add at least a limited form of it to Hugs.

A
_______________________________________________
Cvs-libraries mailing list
Cvs-libraries@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-libraries