Hi,
I'm experimenting with a preprocessor to automatically generate test
drivers[1]. The result depends on the existence of other files on the
disk. When files are added or removed, the test driver has to be
regenerated.
Ideally ghc would just always recompile that single file (akin to make's
Hello Simon,
You can use Template Haskell's addDependentFile to register a
dependency on external files.
http://hackage.haskell.org/packages/archive/template-haskell/2.7.0.0/doc/html/Language-Haskell-TH-Syntax.html#v:addDependentFile
You can also put -fforce-recomp in an OPTIONS_GHC pragma to
Hi Etienne,
thanks for your reply.
You can use Template Haskell's addDependentFile to register a
dependency on external files.
http://hackage.haskell.org/packages/archive/template-haskell/2.7.0.0/doc/html/Language-Haskell-TH-Syntax.html#v:addDependentFile
That's interesting. But from what
Mikhail's original question was about loading interface files for entire
packages with mmap.
As a wild thought experiment, if GHC had a saved-heaps capability, I
believe that would avoid the Unique issues with mmap'ing individual data
structures that Simon mentioned. How about if each
On 16 May 2012 19:05, Ian Lynagh ig...@earth.li wrote:
We are pleased to announce the first release candidate for GHC 7.4.2:
http://www.haskell.org/ghc/dist/7.4.2-rc1/
Thanks!
I did a test scratch build on Fedora 18, which should also work on
Fedora 17 which will be released soon.