Re: [Haskell-cafe] Can't install happs-tutorial because syb-with-class fails to install

2009-05-17 Thread Colin Paul Adams
False alarm. It compiles OK with ghc 6.10.3.
The failure was with ghc 6.11.20090404.
-- 
Colin Adams
Preston Lancashire
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Can't install happs-tutorial because syb-with-class fails to install

2009-05-17 Thread Colin Paul Adams
Data/Generics/SYB/WithClass/Derive.hs:187:26:
Couldn't match expected type `Pred' against inferred type `Type'
  Expected type: PredQ
  Inferred type: TypeQ
In the first argument of `map', namely `dataCxt'
In the first argument of `(++)', namely `map dataCxt dataCxtTypes'

Data/Generics/SYB/WithClass/Derive.hs:198:36:
Couldn't match expected type `Pred' against inferred type `Type'
  Expected type: Q Pred
  Inferred type: TypeQ
In the expression: conT 'Data `appT` typ
In the first argument of `map', namely
`(\ typ -> conT 'Data `appT` typ)'

Data/Generics/SYB/WithClass/Derive.hs:227:38:
Couldn't match expected type `Name'
   against inferred type `TyVarBndr'
  Expected type: [Name]
  Inferred type: [TyVarBndr]
In the expression: ps
In the first argument of `return', namely `(n, ps, map conA cs)'
cabal: Error: some packages failed to install:
syb-with-class-0.5.1 failed during the building phase. The exception was:
exit: ExitFailure 1

-- 
Colin Adams
Preston Lancashire
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe