[Haskell-cafe] Troubles with HStringTemplate (compilation/runtime errors)
allbery.b at gmail.com
Sun Jun 21 12:12:38 UTC 2015
On Sun, Jun 21, 2015 at 7:34 AM, Ilya Seleznev <itsuart at gmail.com> wrote:
> Problem is - it didn't do that before. What even more confusing, older
> project uses same approach, compiles (same machine, same compiler) and
> works just fine!
> I've exhausted all means to fix the problem that I could think off:
> - Adding 'instance Template.ToSElem Foo' allows code to compile but it
> doesn't work and prints message in console like this:
> Main.hs:30:10-29: No instance nor default method for class operation
This makes me think you have multiple versions of that package around and
your new project has managed to use both, such that it finds an instance in
the wrong version of the package which will not be considered compatible
with the instance it is looking for.
brandon s allbery kf8nh sine nomine associates
allbery.b at gmail.com ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe