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

Colin Paul Adams colin at colina.demon.co.uk
Sun May 17 04:17:11 EDT 2009


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


More information about the Haskell-Cafe mailing list