[Haskell-cafe] Problem building HXT

ln gusnieslu at student.gu.se
Tue Apr 8 12:09:23 EDT 2008


Neil Mitchell schrieb:
> Hi
>
>   
>>  You got it right. The issue is that in TagSoup.hs there is a line like 'parseTagsOptions (options { foo =...}'. That's invalid syntax AFAIK;
>>     
>
> It's just record syntax, which is very handy.
>
>   
>> more importantly, it's using functions from ndm's TagSoup library. TagSoup, with version 0.5, renamed the Options type to ParseOptions (we know the '(options {...' stuff is intended to be ParseOptions because parseTagsOptions handily comes with an explicit type signature).
>>
>>     
>
> I thought this might be version skew. The released TagSoup on Hackage
> should still have options, not parseOptions - which is only in the
> darcs version. If you install tagsoup from Hackage you should be fine.
>
> Thanks
>
> Neil
>   
Hey,

thanks a lot for your advice. I fixed it by editing the TagSoup.hs file,
it worked perfectly afterwards.

Lukas


More information about the Haskell-Cafe mailing list