From: JP M. <jpm...@gm...> - 2011-03-14 22:18:33
|
Yes, I had started looking at it and did the same thing as you (play around with list-tries, ghc-syb-utils, etc). Have you notified the maintainers of these packages so they can upload GHC7-compatible versions of the packages onto Hackage? Thanks very much for your efforts! I think the best way to proceed for you is to put your changes in Scion on github in a fork from mine, so then I can pull them in when everything is ok. JP On Mon, Mar 14, 2011 at 10:45 PM, Alejandro Serrano Mena <tr...@gm...> wrote: > I've been working on it for the last couple of days. I first tried to remove > the bounds on GHC. I also upgraded some of the versions of the packages, and > had to rebuild "list-tries" and "ghc-syb-utils" to remove the compile-time > dependence on GHC 6.12 and use GHC 7.0. > After adding some new instances of Search and tweaking things a bit, Scion > is compiling. However, I think it is not going to work yet, because the type > HsWrapper used in scion/lib/Inspect/TypeOf.hs has changed significantly from > version 6.12 > [http://www.haskell.org/ghc/docs/6.12.3/html/libraries/ghc-6.12.3/HsBinds.html#t:HsWrapper] > to version 7.0.2 > [http://www.haskell.org/ghc/docs/7.0.2/html/libraries/ghc-7.0.2/HsBinds.html#t:HsWrapper], > and I don't know how to make it work. > Is there any place where I can commit the new code so more people can take a > look at it and try to make it work? I think that for somebody who knows the > GHC internals, it will be matter of a second. > In any case, I've taking care of adding all the new things between > conditional compilation directive for GHC 7, and to change the Cabal file so > differences between 6.12 and 7.0 are taken care (for example, exporting > 'syb' in 7.0 instead of 'ghc-syb' in 6.12). > Thanks in advance > > 2011/3/11 JP Moresmau <jpm...@gm...> >> >> Yes, now that there's a new haskell platform available we should >> support it. What you can do is extract the scion code, tweak the >> scion.cabal file to remove the upper bound on GHC, and see if it >> builds. Then use the generated exe in the Scion preferences. >> >> JP >> >> On Fri, Mar 11, 2011 at 1:50 PM, Alejandro Serrano Mena >> <tr...@gm...> wrote: >> > Hello, >> > I've been using EclipseFP for several months. Yesterday, a new Haskell >> > Platform package was uploaded, which includes GHC 7.0.2 as the default >> > compiler. >> > I've tried to use the new Platform in my EclipseFP installation [Eclipse >> > Helios, Mac OS X 10.6] but the scion-server refuses to compile because >> > of a >> > dependency on GHC < 6.13. I've looked at the new ghc API package and >> > seems >> > very close to the old one, and I think all of the dependencies on scion >> > are >> > built correctly in GHC 7 according to Hackage. >> > Is there any idea on how to add support for GHC 7? If so, I wouldn't >> > mind >> > helping tweakening some files... >> > Thanks in advance >> > >> > ------------------------------------------------------------------------------ >> > Colocation vs. Managed Hosting >> > A question and answer guide to determining the best fit >> > for your organization - today and in the future. >> > http://p.sf.net/sfu/internap-sfd2d >> > _______________________________________________ >> > eclipsefp-develop mailing list >> > ecl...@li... >> > https://lists.sourceforge.net/lists/listinfo/eclipsefp-develop >> > >> > >> >> >> >> -- >> JP Moresmau >> http://jpmoresmau.blogspot.com/ > > -- JP Moresmau http://jpmoresmau.blogspot.com/ |