[Template-haskell] RE: Templates in ghc-6.0 & --make
Simon Peyton-Jones
simonpj@microsoft.com
Fri, 6 Jun 2003 15:52:11 +0100
[redirecting to template Haskell. Are you on that list, Christoph?]
Excellent point below. The dependency tracker assumes that if the type
of an imported thing is unchanged, you don't need to recompile. But
here it's a change in the *value* of an imported thing that should force
recompilation.
Sigh. Don't hold your breath for a fix!
Simon
| -----Original Message-----
| From: glasgow-haskell-bugs-admin@haskell.org
[mailto:glasgow-haskell-bugs-admin@haskell.org] On
| Behalf Of Ch. A. Herrmann
| Sent: 05 June 2003 12:21
| To: glasgow-haskell-bugs@haskell.org
| Subject: Templates in ghc-6.0 & --make
|=20
| Hi,
|=20
| first, many thanks to the implementors
| for releasing Template Haskell.
|=20
| A little flaw which can be observed with the
| example Printf/Main from the web users guide.
|=20
| Changing in "Printf.hs" the parse function
| to deliver a different format is not
| recognized by the dependency tracker of
| ghc --make
| causing Main.hs to be skipped in the compilation,
| but metaprogramming is supposed to change the
| code of Main.hs.
|=20
| Many thanks in advance
| --
| Dr. Christoph Herrmann
| Teaching and Research Assistant
| University of Passau, Germany
| http://www.fmi.uni-passau.de/~herrmann
|=20
| _______________________________________________
| Glasgow-haskell-bugs mailing list
| Glasgow-haskell-bugs@haskell.org
| http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs