Re: green-card in cvs does not compile [low priority]
Thu, 8 Mar 2001 15:53:19 +0100, Sigbjorn Finne <[EMAIL PROTECTED]> pisze: > Happy 1.9 (and later) imposes a restriction on the possible types > a monadic lexer can have, What restriction? -- __("< Marcin Kowalczyk * [EMAIL PROTECTED] http://qrczak.ids.net.pl/ \__/ ^^ SYGNATURA ZASTÊPCZA QRCZAK ___ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: green-card in cvs does not compile [low priority]
[EMAIL PROTECTED] writes: > > There seems to be a problem in the gc parser in the cvs (updated two > minutes ago; see the output below). I am using ghc-4.08.1 and > happy1.9. I do not need gc myself at the moment, but I am happy to > try any magic spells you give me in case it's a problem with my > setting (which strikes me as unlikely, though). Thanks, I've been meaning to check in a fix for this for a while. Happy 1.9 (and later) imposes a restriction on the possible types a monadic lexer can have, which causes a problem for GC's state-based lexer. I've just committed a fix - should work with pre and post happy-1.9. --sigbjorn ___ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
green-card in cvs does not compile [low priority]
Hi all, There seems to be a problem in the gc parser in the cvs (updated two minutes ago; see the output below). I am using ghc-4.08.1 and happy1.9. I do not need gc myself at the moment, but I am happy to try any magic spells you give me in case it's a problem with my setting (which strikes me as unlikely, though). enjoy, Matthias make[1]: Entering directory `/home/fis/src/cvs/fptools/green-card' [everything goes smoothly here...] /home/gamma/bin/ghc -ldl -fvia-C -fglasgow-exts -package text -package data -package util -O -H10m -Onot -cpp -DBEGIN_GHC_ONLY='-}' -DEND_GHC_ONLY='{-' -c Parse.hs -o Parse.o -osuf o Parse.hs:307: Couldn't match `HappyAbsSyn' against `[Decl]' Expected type: HappyReduction Inferred type: Int -> Token -> HappyState Token ([HappyAbsSyn] -> LexM [Decl]) -> [HappyState Token ([HappyAbsSyn] -> LexM [Decl])] -> [HappyAbsSyn] -> LexM [Decl] In the application `happyShift action_6' In the right-hand side of an equation for `action_0': happyShift action_6 Parse.hs:328: Couldn't match `HappyAbsSyn' against `[Decl]' Expected type: HappyReduction Inferred type: Int -> Token -> HappyState Token ([HappyAbsSyn] -> LexM [Decl]) -> [HappyState Token ([HappyAbsSyn] -> LexM [Decl])] -> [HappyAbsSyn] -> LexM [Decl] In the application `happyShift action_6' In the right-hand side of an equation for `action_3': happyShift action_6 Parse.hs:346: Couldn't match `HappyAbsSyn' against `[Decl]' Expected type: HappyReduction Inferred type: Int -> Token -> HappyState Token ([HappyAbsSyn] -> LexM [Decl]) -> [HappyState Token ([HappyAbsSyn] -> LexM [Decl])] -> [HappyAbsSyn] -> LexM [Decl] In the application `happyShift action_32' In the right-hand side of an equation for `action_5': happyShift action_32 Parse.hs:350: Couldn't match `HappyAbsSyn' against `[Decl]' Expected type: HappyReduction Inferred type: Int -> Token -> HappyState Token ([HappyAbsSyn] -> LexM [Decl]) -> [HappyState Token ([HappyAbsSyn] -> LexM [Decl])] -> [HappyAbsSyn] -> LexM [Decl] In the application `happyShift action_30' In the right-hand side of an equation for `action_6': happyShift action_30 Parse.hs:354: Couldn't match `HappyAbsSyn' against `[Decl]' Expected type: HappyReduction Inferred type: Int -> Token -> HappyState Token ([HappyAbsSyn] -> LexM [Decl]) -> [HappyState Token ([HappyAbsSyn] -> LexM [Decl])] -> [HappyAbsSyn] -> LexM [Decl] In the application `happyShift action_27' In the right-hand side of an equation for `action_7': happyShift action_27 Parse.hs:364: Couldn't match `HappyAbsSyn' against `[Decl]' Expected type: HappyReduction Inferred type: Int -> Token -> HappyState Token ([HappyAbsSyn] -> LexM [Decl]) -> [HappyState Token ([HappyAbsSyn] -> LexM [Decl])] -> [HappyAbsSyn] -> LexM [Decl] In the application `happyShift action_17' In the right-hand side of an equation for `action_8': happyShift action_17 Parse.hs:371: Couldn't match `HappyAbsSyn' against `[Decl]' Expected type: HappyReduction Inferred type: Int -> Token -> HappyState Token ([HappyAbsSyn] -> LexM [Decl]) -> [HappyState Token ([HappyAbsSyn] -> LexM [Decl])] -> [HappyAbsSyn] -> LexM [Decl] In the application `happyShift action_21' In the right-hand side of an equation for `action_10': happyShift action_21 Parse.hs:374: Couldn't match `HappyAbsSyn' against `[Decl]' Expected type: HappyReduction Inferred type: Int -> Token -> HappyState Token ([HappyAbsSyn] -> LexM [Decl]) -> [HappyState Token ([HappyAbsSyn] -> LexM [Decl])] -> [HappyAbsSyn] -> LexM [Decl] In the application `happyShift action_17' In the right-hand side of an equation for `action_11': happyShift action_17 Parse.hs:379: Couldn't ma