All Unkept

Haskell regex problem - help needed!

by Luke Plant
Posted in: Haskell  —  November 21, 2008 at 07:14 PM

I need some help! I did someone a good deed on a blog the other day, so I'm swallowing my pride and asking for a random kind deed from someone who knows something.

While trying to compile this snippet, I get this compilation error - a complaint about a missing instance.

This occurs with:

  • GHC 6.8.2
  • Various packages installed system wide (ubuntu 8.04 packages) and locally (using cabal --user --prefix=$HOME/local)
  • bytestring- or anything later

If I revert to the bytestring that comes with my system, , the error goes away. Having finally looked at the differences between and, which are tiny, and do not include any differences when it comes to the definition of typeclass instances, it seems clear that this isn't really the problem, but something else very funny is going on. But I do not have the first what.

I was just coping with it by sticking with bytestring-, but I won't be able to do that forever...

Do I have to rebuild all the packages in my system or something evil? Any ideas?

Thanks in advance!

Comments §

blog comments powered by Disqus