[Haskell-cafe] cabal parse problems

Daniel Fischer daniel.is.fischer at web.de
Wed May 6 19:18:38 EDT 2009


Am Donnerstag 07 Mai 2009 01:05:40 schrieb Vasili I. Galchin:
> Hello,
>
>      I am trying to cabalize a package (swish .. semantic web) but am
> running into parse error:
> vigalchin at ubuntu:~/FTP/Haskell/Swish-0.2.1$ runhaskell Setup.hs configure
> Setup.hs: swish.cabal:24: Parse of field 'exposed-modules' failed.
> vigalchin at ubuntu:~/FTP/Haskell/Swish-0.2.1$
>
>
> Below: is a fragment from my .cabal file. Line #24 starts with
> "Exposed-modules:"
> .....
> .....
> .....
> Data-Files:          README
>
> Exposed-modules:     Swish.HaskellRDF.BuiltInDatatypes,
>                      Swish.HaskellRDF.BuiltInMap,
>                      Swish.HaskellRDF.BuiltInMapTest,
>                      Swish.HaskellRDF.BuiltInRules,
>                      Swish.HaskellRDF.ClassRestrictionRule,
>                      Swish.HaskellRDF.ClassRestrictionRuleTest,
>                      Swish.HaskellRDF.Datatype,
>                      Swish.HaskellRDF.GraphClass,
>                      Swish.HaskellRDF.GraphMatch,
>
> Any ideas why I am getting parse error? Pretty vague error message!

Idea:

The syntax of the value depends on the field. Field types include:

token , filename , directory

    Either a sequence of one or more non-space non-comma characters, or a quoted string in 
Haskell 98 lexical syntax. Unless otherwise stated, relative filenames and directories are 
interpreted from the package root directory.

Don't use commas.

>
> Kind regards,
>
> Vasili



More information about the Haskell-Cafe mailing list