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:
> vigalc...@ubuntu:~/FTP/Haskell/Swish-0.2.1$ runhaskell Setup.hs configure
> Setup.hs: swish.cabal:24: Parse of field 'exposed-modules' failed.
> vigalc...@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

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to