[cvs-nhc98] cvs commit: nhc98/src/prelude/FFI CTypes.h
CTypes.hs CTypesExtra.hs
Malcolm Wallace
Malcolm.Wallace at cs.york.ac.uk
Tue Jun 15 06:22:50 EDT 2004
> > * Reverted most of my attempt to make CTypes* conform to the FFI spec: I
> > can't
> > manage to compile any Bit instances at this stage, neither Data.Bits
> > nor NHC.SizedTypes is available. There must be some way to teach this
> > to nhc98 by hand first => Malcolm?
>
> I'll think about it. Possibly all of nhc98's FFI libraries need to
> move into a separate package, so they can depend on package base.
Actually, the simplest way to do it is to add the instances of
Data.Bits.Bits directly to Foreign.C.Types, which I have now done.
Regards,
Malcolm
More information about the Cvs-nhc98
mailing list