And yes, happy is up-to-date, perhaps too much so.
I get various mismatch errors.  For example % is used in ParseIFace.hs, but GHC can't
find it.  When I tried getting rid of that, I got other messages:
ParseIface.hs:5633:
    Couldn't match `EncodedFS' against `[Char]'
        Expected type: EncodedFS
        Inferred type: [Char]
    In the first argument of `HappyAbsSyn54', namely `(("!"))'
    In the right-hand side of an equation for `reduction':
        HappyAbsSyn54 (("!"))

ParseIface.hs:5639:
    Couldn't match `EncodedFS' against `[Char]'
        Expected type: EncodedFS
        Inferred type: [Char]
    In the first argument of `HappyAbsSyn54', namely `(("as"))'
    In the right-hand side of an equation for `reduction':
        HappyAbsSyn54 (("as"))

ParseIface.hs:5645:
    Couldn't match `EncodedFS' against `[Char]'
        Expected type: EncodedFS
        Inferred type: [Char]
    In the first argument of `HappyAbsSyn54', namely `(("qualified"))'
    In the right-hand side of an equation for `reduction':
        HappyAbsSyn54 (("qualified"))

ParseIface.hs:5651:
    Couldn't match `EncodedFS' against `[Char]'
        Expected type: EncodedFS
        Inferred type: [Char]
    In the first argument of `HappyAbsSyn54', namely `(("hiding"))'
    In the right-hand side of an equation for `reduction':
        HappyAbsSyn54 (("hiding"))

ParseIface.hs:5657:
    Couldn't match `EncodedFS' against `[Char]'
        Expected type: EncodedFS
        Inferred type: [Char]
    In the first argument of `HappyAbsSyn54', namely `(("forall"))'
    In the right-hand side of an equation for `reduction':
        HappyAbsSyn54 (("forall"))

ParseIface.hs:5663:
    Couldn't match `EncodedFS' against `[Char]'
        Expected type: EncodedFS
        Inferred type: [Char]
    In the first argument of `HappyAbsSyn54', namely `(("foreign"))'
    In the right-hand side of an equation for `reduction':
        HappyAbsSyn54 (("foreign"))

ParseIface.hs:5669:
    Couldn't match `EncodedFS' against `[Char]'
        Expected type: EncodedFS
        Inferred type: [Char]
    In the first argument of `HappyAbsSyn54', namely `(("export"))'
    In the right-hand side of an equation for `reduction':
        HappyAbsSyn54 (("export"))

ParseIface.hs:5675:
    Couldn't match `EncodedFS' against `[Char]'
        Expected type: EncodedFS
        Inferred type: [Char]
    In the first argument of `HappyAbsSyn54', namely `(("label"))'
    In the right-hand side of an equation for `reduction':
        HappyAbsSyn54 (("label"))

ParseIface.hs:5681:
    Couldn't match `EncodedFS' against `[Char]'
        Expected type: EncodedFS
        Inferred type: [Char]
    In the first argument of `HappyAbsSyn54', namely `(("dynamic"))'
    In the right-hand side of an equation for `reduction':
        HappyAbsSyn54 (("dynamic"))

ParseIface.hs:5687:
    Couldn't match `EncodedFS' against `[Char]'
        Expected type: EncodedFS
        Inferred type: [Char]
    In the first argument of `HappyAbsSyn54', namely `(("unsafe"))'
    In the right-hand side of an equation for `reduction':
        HappyAbsSyn54 (("unsafe"))

ParseIface.hs:5982:
    Couldn't match `FastString.FastString' against `[Char]'
        Expected type: FastString.FastString
        Inferred type: [Char]
    In the second argument of `==', namely `("*")'
    In the predicate expression: happy_var_1 == ("*")

ParseIface.hs:6312:
    Couldn't match `FastString.FastString' against `String'
        Expected type: FastString.FastString
        Inferred type: String
    In the first argument of `UfCCallOp', namely `happy_var_2'
    In the first argument of `HappyAbsSyn92', namely
        `(let (is_dyn, is_casm, may_gc) = happy_var_1
          in UfCCallOp happy_var_2 is_dyn is_casm may_gc)'

ParseIface.hs:6597:
    Couldn't match `String' against `FastString.FastString'
        Expected type: String
        Inferred type: FastString.FastString
    In the first argument of `HappyAbsSyn105', namely `(happy_var_1)'
    In the right-hand side of an equation for `reduction':
        HappyAbsSyn105 (happy_var_1)

ParseIface.hs:6604:
    Couldn't match `String' against `FastString.FastString'
        Expected type: String
        Inferred type: FastString.FastString
    In the first argument of `HappyAbsSyn105', namely `(happy_var_1)'
    In the right-hand side of an equation for `reduction':
        HappyAbsSyn105 (happy_var_1)

ParseIface.hs:6611:
    Couldn't match `String' against `FastString.FastString'
        Expected type: String
        Inferred type: FastString.FastString
    In the first argument of `HappyAbsSyn105', namely `(happy_var_1)'
    In the right-hand side of an equation for `reduction':
        HappyAbsSyn105 (happy_var_1)

ParseIface.hs:6618:
    Couldn't match `String' against `FastString.FastString'
        Expected type: String
        Inferred type: FastString.FastString
    In the first argument of `HappyAbsSyn105', namely `(happy_var_1)'
    In the right-hand side of an equation for `reduction':
        HappyAbsSyn105 (happy_var_1)

Compilation had errors

Reply via email to