Re: ghc-pkg info

2002-04-22 Thread Ashley Yakeley
At 2002-04-21 12:52, Sven Panne wrote: It would be nice if ghc-pkg had options to display the value of $libdir or at least the given conf file. [...] I had *major* pains with this for the upcoming HOpenGL release, too. :-P Right. I need to find the location of Rts.h. Ideally, I would do

RE: -fspecialize-all or the like?

2002-04-22 Thread Simon Peyton-Jones
Actually, GHC does automatically specialise for all types at which the function is called in that module, but it doesn't do it across modules. Why not? Because it compiles bottom-up, whereas the specialisation info is really top-down. Have often thought that we could spit out specialisation

RE: ANNOUNCE: GHC 5.03.20020410 snapshot released

2002-04-22 Thread Simon Peyton-Jones
| Do I have to hoist the forall quantifiers in bla - forall a | . blub myself? At least, the code typechecks then. Sigh. I forgot to make the forall-hoisting feature apply recursively when I added the rank-N stuff. It's a 2 line change to make it so, but it is a change. Workaround: do the

misplaces SPECIALISE

2002-04-22 Thread Hal Daume III
/nfs/isd/hdaume/projects/NLP/Trie.lhs:162: Misplaced SPECIALISE instance pragma: {-# SPECIALIZE instance {Binary (Trie Token Double)} #-} Failed, modules loaded: NLP.NLPPrelude, Util.BinUtil, Util.Binary, NLP.HashMap, Util.ShrinkString, Util.FastMutInt, NLP.Util. what does that mean?