No I do not process it using lhs2tex. I just compile literate haskell
code. The necessity of preprocessing kills the entire idea of having
literate source. I just feed lhs files to ghc and everything works
fine except code coverage.
On 30.01.2009, at 5:35, Robin Green wrote:
Have you tr
Have you tried processing the file with lhs2tex first, to unlit it? (Or
is that what you are doing? It's unclear from your email.)
--
Robin
On Fri, 30 Jan 2009 16:02:08 +0300
Pavel Perikov wrote:
> Hi, list!
>
> I have a file:
>
> \begin{code}
> module Main where
> import MyModule
>
> main=d
Hi, list!
I have a file:
\begin{code}
module Main where
import MyModule
main=do
print "hello"
\end{code}
MyModule is in MyModule.lhs
when building with
ghc -o main -fhpc --make Main.lhs
I get perfectly working code, but MyModule.mix lacks any usable
coverage information:
Mix "./MyMod