This is ghc5.00/Sparc, running with the following command line
/usr/local/pub-bkb/ghc/ghc-5.00/bin/ghc -c CVSHigh.hs -package concurrent -package
data -package net -package posix -package text -package util -package lang
-i.:/home/ger/uni/util:/home/ger/uni/concurrency:/home/ger/uni/reactor:/home/ger/uni/server:/home/ger/uni/htk:/home/ger/uni/davinci:/home/ger/uni/graphs:/home/ger/uni/tools:/home/ger/uni/cvs:/home/ger/uni/types
-fglasgow-exts -fallow-overlapping-instances -fallow-undecidable-instances -cpp
-ddump-hi-diffs -H25M -recomp -fwarn-deprecations -Onot -DDEBUG -fasm
The first lines of CVSHigh.hs are:
> {-# This module encapsulates the basic CVS functionality we need,
> calling CVSBasic to issue the commands, looking at the output,
> and returning what we need to know in a Haskell-friendly form.
> #-}
> module CVSHigh(
(The complete module is attached)
The file compiles OK, but to my surprise, I cannot find CVSHigh.hi.
Further investigation reveals that instead I have "encapsulates.hi"
(also attached). It looks as if GHC chooses the name "encapsulates"
from the comment. Indeed if I change "encapsulates" to "wraps"
I get wraps.hi. However if I replace "This module e" by "E", sanity
returns.
So er what exactly is going on please? I thought that unless a comment
began with something like OPTIONS or INLINE it would be treated as
a "real" comment.
CVSHigh.hs
encapsulates.hi