[cvs-nhc98] patch applied (hat): When a newtype is exported abstractly, e.g. CInt(), write the

Malcolm Wallace Malcolm.Wallace at cs.york.ac.uk
Tue Oct 10 07:27:20 EDT 2006


Fri Jun 18 15:46:20 PDT 2004  malcolm
  * When a newtype is exported abstractly, e.g. CInt(), write the
  constructor and renamed type into the interface file regardless.
  This is because FFI'd code (and eventually, deriving clauses) need
  to know the original type.  (Fixes uses IEsome and IEsel to ensure
  that constructor is not actually visible to an importing module,
  but can still be re-exported.)

    M ./src/compiler98/IExtract.hs -1 +6
    M ./src/compiler98/Info.hs -1 +5
    M ./src/compiler98/RenameLib.hs -4 +5


More information about the Cvs-nhc98 mailing list