[Haskell-cafe] Cabal "addressibility" problem

Malcolm Wallace Malcolm.Wallace at cs.york.ac.uk
Mon Jun 8 05:18:34 EDT 2009


"Vasili I. Galchin" <vigalchin at gmail.com> wrote:

> Executable         GraphPartitionTest
>    Main-Is:        Swish.HaskellRDF.GraphPartitionTest.hs
>    Other-modules:  Swish.HaskellRDF.GraphPartition
>                    Swish.HaskellRDF.GraphClass
>                    Swish.HaskellUtils.ListHelpers
>                    Swish.HaskellUtils.TestHelpers

The "Main-Is:" line is wrong: it should be:

>    Main-Is:        Swish/HaskellRDF/GraphPartitionTest.hs

That is, it should name a filepath (usings slashes), not a module (using
dots).

Regards,
    Malcolm


More information about the Haskell-Cafe mailing list