RE: Combining Module Interfaces

2001-12-10 Thread Simon Peyton-Jones
Yakeley [mailto:[EMAIL PROTECTED]] | Sent: 07 December 2001 22:03 | To: GHC List | Subject: Combining Module Interfaces | | | Is there a way to combine interfaces into a single file? | | If I have modules A and B, I want to create a module C with all the | exported definitions of A and B such

Combining Module Interfaces

2001-12-07 Thread Ashley Yakeley
Is there a way to combine interfaces into a single file? If I have modules A and B, I want to create a module C with all the exported definitions of A and B such that I can compile against C.hi file without needing the A.hi and B.hi files. I tried this: module C (module A,module B) where