Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

pxsl-tools, hxq, warp-static #68

Closed
LeifW opened this Issue Mar 26, 2012 · 2 comments

Comments

Projects
None yet
2 participants
Member

LeifW commented Mar 26, 2012

package requests

Owner

magthe commented Apr 1, 2012

HXQ doesn't seem to be compilable with GHC 7.4 as is:

Preprocessing library HXQ-0.19.0...

src/Text/XML/HXQ/XQuery.hs:1:1:
    Ambiguous module name `Prelude':
      it was found in multiple packages: base haskell98-2.0.0.1

warp-static requires an earlier version of data-default.

This means these two won't be added until it's fixed upstream or I receive a patch.

@magthe magthe closed this in 9fd657f Apr 1, 2012

Member

LeifW commented Apr 30, 2012

On HXQ:
It fails to build with an error much as the one described here, "Ambiguous Prelude between haskell98 and base":
http://hackage.haskell.org/trac/ghc/ticket/4958
They say having a package depend on both base and haskell98 isn't supported anymore.
So, just by removing haskell98 from the .cabal file, and changing some imports of Char and List to Data.Char and Data.List, HXQ compiles again. I could provided patches for this. I emailed the author, and he said he will make those changes in the next release, which "...may not come soon. Interest in XQuery (and XML) has faded the last few years".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment