RE: Error Interpreting Main with API

2008-04-22 Thread Simon Peyton-Jones
| The GHC API is behaving just like --make: it links the program if you | have a Main module. To ask it not to link, you want to do the same as | '--make -c', which in the GHC API means setting the ghcLink field of | DynFlags to NoLink. | | Thanks, this has solved the problem I was having. I

RE: Error Interpreting Main with API

2008-04-22 Thread C.M.Brown
Hi Simon, Yes I do, please! Would you feel up to doing so? I'm sure Simon'd check your text for veracity! I have modified the wiki, and added a new section under initialisation: http://www.haskell.org/haskellwiki/GHC/As_a_library Would it also be appropriate to modify that wiki page to

instance export decls

2008-04-22 Thread Serge D. Mechveliani
Dear GHC developers, people, Do you agree that there exists such a problem for a programmer as recalling exported instances? Have Haskell and/or GHC some constructs and tools to help the programmer to recall the exported instances for a module? Could GHC support the instance export messages