Yes, that works. Thank you for the hard work. On Fri, Dec 17, 2010 at 7:37 AM, Sterling Clover <s.clo...@gmail.com> wrote: > Sorry. I've had the patch sitting around but have been too busy/otherwise > occupied to push it. This gave me the necessary kick in the posterior. > HStringTemplate 0.6.6 is now on Hackage, and should work properly with ghc 7, > I think. > > Cheers, > Sterl. > > > On Dec 16, 2010, at 6:21 PM, Magicloud Magiclouds wrote: > >> On Thu, Dec 16, 2010 at 9:15 PM, Antoine Latter <aslat...@gmail.com> wrote: >>> Hi there, >>> >>> The only version of template haskell which will work is the version >>> that the compiler was built against. So if you're working with ghc-7, >>> it is 2.5 or nothing. >>> >>> Why doesn't HStringTemplate work with 2.5.0.0? What error were you getting? >>> >>> Antoine >>> >>> On Thu, Dec 16, 2010 at 6:23 AM, Magicloud Magiclouds >>> <magicloud.magiclo...@gmail.com> wrote: >>>> Hi, >>>> I am trying to make happstack work in my box, which is using ghc 7. >>>> While compiling HStringTemplate, which I did a little modification >>>> to make it work, I found that it does not work with >>>> template-haskell-2.5.0.0. I changed it to use >>>> template-haskell-2.4.0.1. This step worked fine. >>>> Then I got another error: >>>> $ cabal install >>>> Resolving dependencies... >>>> Configuring syb-with-class-0.6.1.1... >>>> Preprocessing library syb-with-class-0.6.1.1... >>>> Building syb-with-class-0.6.1.1... >>>> [1 of 4] Compiling Data.Generics.SYB.WithClass.Context ( >>>> Data/Generics/SYB/WithClass/Context.hs, >>>> dist/build/Data/Generics/SYB/WithClass/Context.o ) >>>> [2 of 4] Compiling Data.Generics.SYB.WithClass.Basics ( >>>> Data/Generics/SYB/WithClass/Basics.hs, >>>> dist/build/Data/Generics/SYB/WithClass/Basics.o ) >>>> [3 of 4] Compiling Data.Generics.SYB.WithClass.Derive ( >>>> Data/Generics/SYB/WithClass/Derive.hs, >>>> dist/build/Data/Generics/SYB/WithClass/Derive.o ) >>>> >>>> Data/Generics/SYB/WithClass/Derive.hs:23:1: >>>> Bad interface file: >>>> /home/magicloud/.cabal/lib/template-haskell-2.4.0.1/ghc-7.0.1/Language/Haskell/TH.hi >>>> Something is amiss; requested module >>>> template-haskell-2.4.0.1:Language.Haskell.TH differs from name found >>>> in the interface file template-haskell:Language.Haskell.TH >>>> cabal: Error: some packages failed to install: >>>> HStringTemplate-0.6.3 depends on syb-with-class-0.6.1.1 which failed to >>>> install. >>>> syb-with-class-0.6.1.1 failed during the building phase. The exception was: >>>> ExitFailure 1 >>>> >>>> How to resolve this? >>>> -- >>>> 竹密岂妨流水过 >>>> 山高哪阻野云飞 >>>> >>>> _______________________________________________ >>>> Haskell-Cafe mailing list >>>> Haskell-Cafe@haskell.org >>>> http://www.haskell.org/mailman/listinfo/haskell-cafe >>>> >>> >> >> I see. >> The building problem with 2.5.0.0 is >> Language.Haskell.TH.Quote.QuasiQuoter. It changed from 2 params >> constructor to 4 params. And I have no idea how to give the 2 new >> params. >> >> -- >> 竹密岂妨流水过 >> 山高哪阻野云飞 >> >> _______________________________________________ >> Haskell-Cafe mailing list >> Haskell-Cafe@haskell.org >> http://www.haskell.org/mailman/listinfo/haskell-cafe > >
-- 竹密岂妨流水过 山高哪阻野云飞 _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe