pretty-show 1.6.12 → 1.6.13
raw patch · 5 files changed
+4090/−651 lines, 5 filesdep ~pretty-show
Dependency ranges changed: pretty-show
Files
- CHANGELOG +4/−1
- Text/Show/Parser.hs +2363/−0
- Text/Show/Parser.y +4/−0
- dist/build/Text/Show/Parser.hs +1717/−648
- pretty-show.cabal +2/−2
CHANGELOG view
@@ -1,5 +1,8 @@+Changes in 1.6.13+ * Parse things like <function> and <Function> as constructors+ Changes in 1.6.12- * Tread reserved operators as infix constructors (best effort kind of thing)+ * Treat reserved operators as infix constructors (best effort kind of thing) Changes in 1.6.11 * Add `pPrint`, which is `putStrLn . ppShow`
+ Text/Show/Parser.hs view
@@ -0,0 +1,2363 @@+{-# OPTIONS_GHC -w #-}+-- We use these options because Happy generates code with a lot of warnings.+{-# LANGUAGE Trustworthy #-}+module Text.Show.Parser (parseValue) where++import Text.Show.Value+import Language.Haskell.Lexer+import Control.Applicative(Applicative(..))+import Control.Monad (ap)++-- parser produced by Happy Version 1.19.5++data HappyAbsSyn t12 t13 t14 t15 t16 t17 t18 t19 t20 t21 t22 t23 t24 t25 t26 t27 t28 t29 t30 t31+ = HappyTerminal (PosToken)+ | HappyErrorToken Int+ | HappyAbsSyn4 (Value)+ | HappyAbsSyn5 ((String,Value))+ | HappyAbsSyn8 (String)+ | HappyAbsSyn10 ((Name,Value))+ | HappyAbsSyn11 ([Value])+ | HappyAbsSyn12 t12+ | HappyAbsSyn13 t13+ | HappyAbsSyn14 t14+ | HappyAbsSyn15 t15+ | HappyAbsSyn16 t16+ | HappyAbsSyn17 t17+ | HappyAbsSyn18 t18+ | HappyAbsSyn19 t19+ | HappyAbsSyn20 t20+ | HappyAbsSyn21 t21+ | HappyAbsSyn22 t22+ | HappyAbsSyn23 t23+ | HappyAbsSyn24 t24+ | HappyAbsSyn25 t25+ | HappyAbsSyn26 t26+ | HappyAbsSyn27 t27+ | HappyAbsSyn28 t28+ | HappyAbsSyn29 t29+ | HappyAbsSyn30 t30+ | HappyAbsSyn31 t31++action_0 (33) = happyShift action_12+action_0 (37) = happyShift action_13+action_0 (39) = happyShift action_14+action_0 (42) = happyShift action_15+action_0 (45) = happyShift action_16+action_0 (46) = happyShift action_17+action_0 (47) = happyShift action_18+action_0 (48) = happyShift action_19+action_0 (49) = happyShift action_20+action_0 (50) = happyShift action_21+action_0 (53) = happyShift action_22+action_0 (54) = happyShift action_23+action_0 (4) = happyGoto action_24+action_0 (6) = happyGoto action_3+action_0 (7) = happyGoto action_4+action_0 (8) = happyGoto action_5+action_0 (12) = happyGoto action_6+action_0 (14) = happyGoto action_7+action_0 (15) = happyGoto action_8+action_0 (16) = happyGoto action_9+action_0 (17) = happyGoto action_10+action_0 (22) = happyGoto action_11+action_0 _ = happyFail++action_1 (33) = happyShift action_12+action_1 (37) = happyShift action_13+action_1 (39) = happyShift action_14+action_1 (42) = happyShift action_15+action_1 (45) = happyShift action_16+action_1 (46) = happyShift action_17+action_1 (47) = happyShift action_18+action_1 (48) = happyShift action_19+action_1 (49) = happyShift action_20+action_1 (50) = happyShift action_21+action_1 (53) = happyShift action_22+action_1 (54) = happyShift action_23+action_1 (4) = happyGoto action_2+action_1 (6) = happyGoto action_3+action_1 (7) = happyGoto action_4+action_1 (8) = happyGoto action_5+action_1 (12) = happyGoto action_6+action_1 (14) = happyGoto action_7+action_1 (15) = happyGoto action_8+action_1 (16) = happyGoto action_9+action_1 (17) = happyGoto action_10+action_1 (22) = happyGoto action_11+action_1 _ = happyFail++action_2 (43) = happyShift action_25+action_2 _ = happyFail++action_3 (44) = happyShift action_44+action_3 (55) = happyShift action_45+action_3 (56) = happyShift action_46+action_3 (57) = happyShift action_47+action_3 (5) = happyGoto action_40+action_3 (9) = happyGoto action_41+action_3 (13) = happyGoto action_42+action_3 (23) = happyGoto action_43+action_3 _ = happyReduce_2++action_4 _ = happyReduce_47++action_5 (35) = happyShift action_39+action_5 _ = happyReduce_10++action_6 _ = happyReduce_5++action_7 _ = happyReduce_18++action_8 _ = happyReduce_19++action_9 _ = happyReduce_23++action_10 _ = happyReduce_22++action_11 (33) = happyShift action_12+action_11 (37) = happyShift action_13+action_11 (39) = happyShift action_14+action_11 (42) = happyShift action_15+action_11 (45) = happyShift action_16+action_11 (46) = happyShift action_17+action_11 (47) = happyShift action_18+action_11 (48) = happyShift action_19+action_11 (49) = happyShift action_20+action_11 (50) = happyShift action_21+action_11 (53) = happyShift action_22+action_11 (54) = happyShift action_23+action_11 (7) = happyGoto action_38+action_11 (8) = happyGoto action_5+action_11 (14) = happyGoto action_7+action_11 (15) = happyGoto action_8+action_11 (16) = happyGoto action_9+action_11 (17) = happyGoto action_10+action_11 _ = happyReduce_34++action_12 (33) = happyShift action_12+action_12 (37) = happyShift action_13+action_12 (39) = happyShift action_14+action_12 (42) = happyShift action_15+action_12 (45) = happyShift action_16+action_12 (46) = happyShift action_17+action_12 (47) = happyShift action_18+action_12 (48) = happyShift action_19+action_12 (49) = happyShift action_20+action_12 (50) = happyShift action_21+action_12 (51) = happyShift action_34+action_12 (52) = happyShift action_35+action_12 (53) = happyShift action_22+action_12 (54) = happyShift action_23+action_12 (55) = happyShift action_36+action_12 (56) = happyShift action_37+action_12 (4) = happyGoto action_32+action_12 (6) = happyGoto action_3+action_12 (7) = happyGoto action_4+action_12 (8) = happyGoto action_5+action_12 (11) = happyGoto action_33+action_12 (12) = happyGoto action_6+action_12 (14) = happyGoto action_7+action_12 (15) = happyGoto action_8+action_12 (16) = happyGoto action_9+action_12 (17) = happyGoto action_10+action_12 (22) = happyGoto action_11+action_12 _ = happyReduce_32++action_13 (33) = happyShift action_12+action_13 (37) = happyShift action_13+action_13 (39) = happyShift action_14+action_13 (42) = happyShift action_15+action_13 (45) = happyShift action_16+action_13 (46) = happyShift action_17+action_13 (47) = happyShift action_18+action_13 (48) = happyShift action_19+action_13 (49) = happyShift action_20+action_13 (50) = happyShift action_21+action_13 (53) = happyShift action_22+action_13 (54) = happyShift action_23+action_13 (4) = happyGoto action_29+action_13 (6) = happyGoto action_3+action_13 (7) = happyGoto action_4+action_13 (8) = happyGoto action_5+action_13 (12) = happyGoto action_6+action_13 (14) = happyGoto action_7+action_13 (15) = happyGoto action_8+action_13 (16) = happyGoto action_9+action_13 (17) = happyGoto action_10+action_13 (19) = happyGoto action_30+action_13 (20) = happyGoto action_31+action_13 (22) = happyGoto action_11+action_13 _ = happyReduce_43++action_14 (49) = happyShift action_27+action_14 (53) = happyShift action_28+action_14 _ = happyFail++action_15 (33) = happyShift action_12+action_15 (37) = happyShift action_13+action_15 (39) = happyShift action_14+action_15 (42) = happyShift action_15+action_15 (45) = happyShift action_16+action_15 (46) = happyShift action_17+action_15 (47) = happyShift action_18+action_15 (48) = happyShift action_19+action_15 (49) = happyShift action_20+action_15 (50) = happyShift action_21+action_15 (53) = happyShift action_22+action_15 (54) = happyShift action_23+action_15 (7) = happyGoto action_26+action_15 (8) = happyGoto action_5+action_15 (14) = happyGoto action_7+action_15 (15) = happyGoto action_8+action_15 (16) = happyGoto action_9+action_15 (17) = happyGoto action_10+action_15 _ = happyFail++action_16 _ = happyReduce_11++action_17 _ = happyReduce_12++action_18 _ = happyReduce_13++action_19 _ = happyReduce_14++action_20 _ = happyReduce_20++action_21 _ = happyReduce_21++action_22 _ = happyReduce_16++action_23 _ = happyReduce_17++action_24 (43) = happyShift action_25+action_24 (58) = happyAccept+action_24 _ = happyFail++action_25 (33) = happyShift action_12+action_25 (37) = happyShift action_13+action_25 (39) = happyShift action_14+action_25 (42) = happyShift action_15+action_25 (45) = happyShift action_16+action_25 (46) = happyShift action_17+action_25 (47) = happyShift action_18+action_25 (48) = happyShift action_19+action_25 (49) = happyShift action_20+action_25 (50) = happyShift action_21+action_25 (53) = happyShift action_22+action_25 (54) = happyShift action_23+action_25 (6) = happyGoto action_71+action_25 (7) = happyGoto action_4+action_25 (8) = happyGoto action_5+action_25 (12) = happyGoto action_6+action_25 (14) = happyGoto action_7+action_25 (15) = happyGoto action_8+action_25 (16) = happyGoto action_9+action_25 (17) = happyGoto action_10+action_25 (22) = happyGoto action_11+action_25 _ = happyFail++action_26 _ = happyReduce_15++action_27 (40) = happyShift action_70+action_27 _ = happyFail++action_28 (40) = happyShift action_69+action_28 _ = happyFail++action_29 (41) = happyShift action_68+action_29 (43) = happyShift action_25+action_29 (21) = happyGoto action_64+action_29 (25) = happyGoto action_65+action_29 (27) = happyGoto action_66+action_29 (30) = happyGoto action_67+action_29 _ = happyReduce_46++action_30 (38) = happyShift action_63+action_30 _ = happyFail++action_31 _ = happyReduce_42++action_32 (34) = happyShift action_61+action_32 (41) = happyShift action_62+action_32 (43) = happyShift action_25+action_32 _ = happyFail++action_33 (34) = happyShift action_60+action_33 _ = happyFail++action_34 (34) = happyShift action_59+action_34 _ = happyFail++action_35 (34) = happyShift action_58+action_35 _ = happyFail++action_36 (34) = happyShift action_57+action_36 _ = happyFail++action_37 (34) = happyShift action_56+action_37 _ = happyFail++action_38 _ = happyReduce_48++action_39 (49) = happyShift action_55+action_39 (10) = happyGoto action_52+action_39 (18) = happyGoto action_53+action_39 (24) = happyGoto action_54+action_39 _ = happyReduce_41++action_40 _ = happyReduce_49++action_41 (33) = happyShift action_12+action_41 (37) = happyShift action_13+action_41 (39) = happyShift action_14+action_41 (42) = happyShift action_15+action_41 (45) = happyShift action_16+action_41 (46) = happyShift action_17+action_41 (47) = happyShift action_18+action_41 (48) = happyShift action_19+action_41 (49) = happyShift action_20+action_41 (50) = happyShift action_21+action_41 (53) = happyShift action_22+action_41 (54) = happyShift action_23+action_41 (6) = happyGoto action_51+action_41 (7) = happyGoto action_4+action_41 (8) = happyGoto action_5+action_41 (12) = happyGoto action_6+action_41 (14) = happyGoto action_7+action_41 (15) = happyGoto action_8+action_41 (16) = happyGoto action_9+action_41 (17) = happyGoto action_10+action_41 (22) = happyGoto action_11+action_41 _ = happyFail++action_42 _ = happyReduce_3++action_43 (44) = happyShift action_44+action_43 (55) = happyShift action_45+action_43 (56) = happyShift action_46+action_43 (57) = happyShift action_47+action_43 (5) = happyGoto action_50+action_43 (9) = happyGoto action_41+action_43 _ = happyReduce_35++action_44 (53) = happyShift action_48+action_44 (54) = happyShift action_49+action_44 _ = happyFail++action_45 _ = happyReduce_26++action_46 _ = happyReduce_27++action_47 _ = happyReduce_30++action_48 (44) = happyShift action_83+action_48 _ = happyFail++action_49 (44) = happyShift action_82+action_49 _ = happyFail++action_50 _ = happyReduce_50++action_51 _ = happyReduce_4++action_52 (41) = happyShift action_81+action_52 (26) = happyGoto action_77+action_52 (28) = happyGoto action_78+action_52 (29) = happyGoto action_79+action_52 (31) = happyGoto action_80+action_52 _ = happyReduce_54++action_53 (36) = happyShift action_76+action_53 _ = happyFail++action_54 _ = happyReduce_40++action_55 (32) = happyShift action_75+action_55 _ = happyFail++action_56 _ = happyReduce_37++action_57 _ = happyReduce_36++action_58 _ = happyReduce_38++action_59 _ = happyReduce_39++action_60 _ = happyReduce_8++action_61 _ = happyReduce_6++action_62 (33) = happyShift action_12+action_62 (37) = happyShift action_13+action_62 (39) = happyShift action_14+action_62 (42) = happyShift action_15+action_62 (45) = happyShift action_16+action_62 (46) = happyShift action_17+action_62 (47) = happyShift action_18+action_62 (48) = happyShift action_19+action_62 (49) = happyShift action_20+action_62 (50) = happyShift action_21+action_62 (53) = happyShift action_22+action_62 (54) = happyShift action_23+action_62 (4) = happyGoto action_29+action_62 (6) = happyGoto action_3+action_62 (7) = happyGoto action_4+action_62 (8) = happyGoto action_5+action_62 (12) = happyGoto action_6+action_62 (14) = happyGoto action_7+action_62 (15) = happyGoto action_8+action_62 (16) = happyGoto action_9+action_62 (17) = happyGoto action_10+action_62 (20) = happyGoto action_74+action_62 (22) = happyGoto action_11+action_62 _ = happyFail++action_63 _ = happyReduce_7++action_64 _ = happyReduce_44++action_65 _ = happyReduce_58++action_66 _ = happyReduce_45++action_67 (41) = happyShift action_68+action_67 (25) = happyGoto action_73+action_67 _ = happyReduce_55++action_68 (33) = happyShift action_12+action_68 (37) = happyShift action_13+action_68 (39) = happyShift action_14+action_68 (42) = happyShift action_15+action_68 (45) = happyShift action_16+action_68 (46) = happyShift action_17+action_68 (47) = happyShift action_18+action_68 (48) = happyShift action_19+action_68 (49) = happyShift action_20+action_68 (50) = happyShift action_21+action_68 (53) = happyShift action_22+action_68 (54) = happyShift action_23+action_68 (4) = happyGoto action_72+action_68 (6) = happyGoto action_3+action_68 (7) = happyGoto action_4+action_68 (8) = happyGoto action_5+action_68 (12) = happyGoto action_6+action_68 (14) = happyGoto action_7+action_68 (15) = happyGoto action_8+action_68 (16) = happyGoto action_9+action_68 (17) = happyGoto action_10+action_68 (22) = happyGoto action_11+action_68 _ = happyFail++action_69 _ = happyReduce_25++action_70 _ = happyReduce_24++action_71 _ = happyReduce_1++action_72 (43) = happyShift action_25+action_72 _ = happyReduce_52++action_73 _ = happyReduce_59++action_74 _ = happyReduce_33++action_75 (33) = happyShift action_12+action_75 (37) = happyShift action_13+action_75 (39) = happyShift action_14+action_75 (42) = happyShift action_15+action_75 (45) = happyShift action_16+action_75 (46) = happyShift action_17+action_75 (47) = happyShift action_18+action_75 (48) = happyShift action_19+action_75 (49) = happyShift action_20+action_75 (50) = happyShift action_21+action_75 (53) = happyShift action_22+action_75 (54) = happyShift action_23+action_75 (4) = happyGoto action_86+action_75 (6) = happyGoto action_3+action_75 (7) = happyGoto action_4+action_75 (8) = happyGoto action_5+action_75 (12) = happyGoto action_6+action_75 (14) = happyGoto action_7+action_75 (15) = happyGoto action_8+action_75 (16) = happyGoto action_9+action_75 (17) = happyGoto action_10+action_75 (22) = happyGoto action_11+action_75 _ = happyFail++action_76 _ = happyReduce_9++action_77 _ = happyReduce_51++action_78 _ = happyReduce_60++action_79 _ = happyReduce_53++action_80 (41) = happyShift action_81+action_80 (28) = happyGoto action_85+action_80 _ = happyReduce_57++action_81 (49) = happyShift action_55+action_81 (10) = happyGoto action_84+action_81 _ = happyFail++action_82 _ = happyReduce_29++action_83 _ = happyReduce_28++action_84 _ = happyReduce_56++action_85 _ = happyReduce_61++action_86 (43) = happyShift action_25+action_86 _ = happyReduce_31++happyReduce_1 = happySpecReduce_3 4 happyReduction_1+happyReduction_1 (HappyAbsSyn4 happy_var_3)+ _+ (HappyAbsSyn4 happy_var_1)+ = HappyAbsSyn4+ (Ratio happy_var_1 happy_var_3+ )+happyReduction_1 _ _ _ = notHappyAtAll ++happyReduce_2 = happySpecReduce_1 4 happyReduction_2+happyReduction_2 (HappyAbsSyn4 happy_var_1)+ = HappyAbsSyn4+ (happy_var_1+ )+happyReduction_2 _ = notHappyAtAll ++happyReduce_3 = happySpecReduce_2 4 happyReduction_3+happyReduction_3 (HappyAbsSyn13 happy_var_2)+ (HappyAbsSyn4 happy_var_1)+ = HappyAbsSyn4+ (InfixCons happy_var_1 happy_var_2+ )+happyReduction_3 _ _ = notHappyAtAll ++happyReduce_4 = happySpecReduce_2 5 happyReduction_4+happyReduction_4 (HappyAbsSyn4 happy_var_2)+ (HappyAbsSyn8 happy_var_1)+ = HappyAbsSyn5+ ((happy_var_1,happy_var_2)+ )+happyReduction_4 _ _ = notHappyAtAll ++happyReduce_5 = happySpecReduce_1 6 happyReduction_5+happyReduction_5 (HappyAbsSyn12 happy_var_1)+ = HappyAbsSyn4+ (mkValue happy_var_1+ )+happyReduction_5 _ = notHappyAtAll ++happyReduce_6 = happySpecReduce_3 7 happyReduction_6+happyReduction_6 _+ (HappyAbsSyn4 happy_var_2)+ _+ = HappyAbsSyn4+ (happy_var_2+ )+happyReduction_6 _ _ _ = notHappyAtAll ++happyReduce_7 = happySpecReduce_3 7 happyReduction_7+happyReduction_7 _+ (HappyAbsSyn19 happy_var_2)+ _+ = HappyAbsSyn4+ (List happy_var_2+ )+happyReduction_7 _ _ _ = notHappyAtAll ++happyReduce_8 = happySpecReduce_3 7 happyReduction_8+happyReduction_8 _+ (HappyAbsSyn11 happy_var_2)+ _+ = HappyAbsSyn4+ (Tuple happy_var_2+ )+happyReduction_8 _ _ _ = notHappyAtAll ++happyReduce_9 = happyReduce 4 7 happyReduction_9+happyReduction_9 (_ `HappyStk`+ (HappyAbsSyn18 happy_var_3) `HappyStk`+ _ `HappyStk`+ (HappyAbsSyn8 happy_var_1) `HappyStk`+ happyRest)+ = HappyAbsSyn4+ (Rec happy_var_1 happy_var_3+ ) `HappyStk` happyRest++happyReduce_10 = happySpecReduce_1 7 happyReduction_10+happyReduction_10 (HappyAbsSyn8 happy_var_1)+ = HappyAbsSyn4+ (Con happy_var_1 []+ )+happyReduction_10 _ = notHappyAtAll ++happyReduce_11 = happySpecReduce_1 7 happyReduction_11+happyReduction_11 (HappyTerminal ((IntLit, (_,happy_var_1))))+ = HappyAbsSyn4+ (Integer happy_var_1+ )+happyReduction_11 _ = notHappyAtAll ++happyReduce_12 = happySpecReduce_1 7 happyReduction_12+happyReduction_12 (HappyTerminal ((FloatLit, (_,happy_var_1))))+ = HappyAbsSyn4+ (Float happy_var_1+ )+happyReduction_12 _ = notHappyAtAll ++happyReduce_13 = happySpecReduce_1 7 happyReduction_13+happyReduction_13 (HappyTerminal ((StringLit, (_,happy_var_1))))+ = HappyAbsSyn4+ (String happy_var_1+ )+happyReduction_13 _ = notHappyAtAll ++happyReduce_14 = happySpecReduce_1 7 happyReduction_14+happyReduction_14 (HappyTerminal ((CharLit, (_,happy_var_1))))+ = HappyAbsSyn4+ (Char happy_var_1+ )+happyReduction_14 _ = notHappyAtAll ++happyReduce_15 = happySpecReduce_2 7 happyReduction_15+happyReduction_15 (HappyAbsSyn4 happy_var_2)+ _+ = HappyAbsSyn4+ (Neg happy_var_2+ )+happyReduction_15 _ _ = notHappyAtAll ++happyReduce_16 = happySpecReduce_1 8 happyReduction_16+happyReduction_16 (HappyTerminal ((Conid, (_,happy_var_1))))+ = HappyAbsSyn8+ (happy_var_1+ )+happyReduction_16 _ = notHappyAtAll ++happyReduce_17 = happySpecReduce_1 8 happyReduction_17+happyReduction_17 (HappyTerminal ((Qconid, (_,happy_var_1))))+ = HappyAbsSyn8+ (happy_var_1+ )+happyReduction_17 _ = notHappyAtAll ++happyReduce_18 = happySpecReduce_1 8 happyReduction_18+happyReduction_18 (HappyAbsSyn14 happy_var_1)+ = HappyAbsSyn8+ (happy_var_1+ )+happyReduction_18 _ = notHappyAtAll ++happyReduce_19 = happySpecReduce_1 8 happyReduction_19+happyReduction_19 (HappyAbsSyn15 happy_var_1)+ = HappyAbsSyn8+ (happy_var_1+ )+happyReduction_19 _ = notHappyAtAll ++happyReduce_20 = happySpecReduce_1 8 happyReduction_20+happyReduction_20 (HappyTerminal ((Varid, (_,happy_var_1))))+ = HappyAbsSyn8+ (happy_var_1+ )+happyReduction_20 _ = notHappyAtAll ++happyReduce_21 = happySpecReduce_1 8 happyReduction_21+happyReduction_21 (HappyTerminal ((Qvarid, (_,happy_var_1))))+ = HappyAbsSyn8+ (happy_var_1+ )+happyReduction_21 _ = notHappyAtAll ++happyReduce_22 = happySpecReduce_1 8 happyReduction_22+happyReduction_22 (HappyAbsSyn17 happy_var_1)+ = HappyAbsSyn8+ (happy_var_1+ )+happyReduction_22 _ = notHappyAtAll ++happyReduce_23 = happySpecReduce_1 8 happyReduction_23+happyReduction_23 (HappyAbsSyn16 happy_var_1)+ = HappyAbsSyn8+ (happy_var_1+ )+happyReduction_23 _ = notHappyAtAll ++happyReduce_24 = happySpecReduce_3 8 happyReduction_24+happyReduction_24 _+ _+ (HappyTerminal happy_var_1)+ = HappyAbsSyn8+ ("<" ++ happy_var_1 ++ ">"+ )+happyReduction_24 _ _ _ = notHappyAtAll ++happyReduce_25 = happySpecReduce_3 8 happyReduction_25+happyReduction_25 _+ _+ (HappyTerminal happy_var_1)+ = HappyAbsSyn8+ ("<" ++ happy_var_1 ++ ">"+ )+happyReduction_25 _ _ _ = notHappyAtAll ++happyReduce_26 = happySpecReduce_1 9 happyReduction_26+happyReduction_26 (HappyTerminal ((Consym, (_,happy_var_1))))+ = HappyAbsSyn8+ (happy_var_1+ )+happyReduction_26 _ = notHappyAtAll ++happyReduce_27 = happySpecReduce_1 9 happyReduction_27+happyReduction_27 (HappyTerminal ((Qconsym, (_,happy_var_1))))+ = HappyAbsSyn8+ (happy_var_1+ )+happyReduction_27 _ = notHappyAtAll ++happyReduce_28 = happySpecReduce_3 9 happyReduction_28+happyReduction_28 _+ (HappyTerminal ((Conid, (_,happy_var_2))))+ _+ = HappyAbsSyn8+ (backtick happy_var_2+ )+happyReduction_28 _ _ _ = notHappyAtAll ++happyReduce_29 = happySpecReduce_3 9 happyReduction_29+happyReduction_29 _+ (HappyTerminal ((Qconid, (_,happy_var_2))))+ _+ = HappyAbsSyn8+ (backtick happy_var_2+ )+happyReduction_29 _ _ _ = notHappyAtAll ++happyReduce_30 = happySpecReduce_1 9 happyReduction_30+happyReduction_30 (HappyTerminal ((Reservedop, (_,happy_var_1))))+ = HappyAbsSyn8+ (happy_var_1+ )+happyReduction_30 _ = notHappyAtAll ++happyReduce_31 = happySpecReduce_3 10 happyReduction_31+happyReduction_31 (HappyAbsSyn4 happy_var_3)+ _+ (HappyTerminal ((Varid, (_,happy_var_1))))+ = HappyAbsSyn10+ ((happy_var_1,happy_var_3)+ )+happyReduction_31 _ _ _ = notHappyAtAll ++happyReduce_32 = happySpecReduce_0 11 happyReduction_32+happyReduction_32 = HappyAbsSyn11+ ([]+ )++happyReduce_33 = happySpecReduce_3 11 happyReduction_33+happyReduction_33 (HappyAbsSyn20 happy_var_3)+ _+ (HappyAbsSyn4 happy_var_1)+ = HappyAbsSyn11+ (happy_var_1 : happy_var_3+ )+happyReduction_33 _ _ _ = notHappyAtAll ++happyReduce_34 = happySpecReduce_1 12 happyReduction_34+happyReduction_34 (HappyAbsSyn22 happy_var_1)+ = HappyAbsSyn12+ (reverse happy_var_1+ )+happyReduction_34 _ = notHappyAtAll ++happyReduce_35 = happySpecReduce_1 13 happyReduction_35+happyReduction_35 (HappyAbsSyn23 happy_var_1)+ = HappyAbsSyn13+ (reverse happy_var_1+ )+happyReduction_35 _ = notHappyAtAll ++happyReduce_36 = happySpecReduce_3 14 happyReduction_36+happyReduction_36 _+ (HappyTerminal ((Consym, (_,happy_var_2))))+ _+ = HappyAbsSyn14+ ("(" ++ happy_var_2 ++ ")"+ )+happyReduction_36 _ _ _ = notHappyAtAll ++happyReduce_37 = happySpecReduce_3 15 happyReduction_37+happyReduction_37 _+ (HappyTerminal ((Qconsym, (_,happy_var_2))))+ _+ = HappyAbsSyn15+ ("(" ++ happy_var_2 ++ ")"+ )+happyReduction_37 _ _ _ = notHappyAtAll ++happyReduce_38 = happySpecReduce_3 16 happyReduction_38+happyReduction_38 _+ (HappyTerminal ((Qvarsym, (_,happy_var_2))))+ _+ = HappyAbsSyn16+ ("(" ++ happy_var_2 ++ ")"+ )+happyReduction_38 _ _ _ = notHappyAtAll ++happyReduce_39 = happySpecReduce_3 17 happyReduction_39+happyReduction_39 _+ (HappyTerminal ((Varsym, (_,happy_var_2))))+ _+ = HappyAbsSyn17+ ("(" ++ happy_var_2 ++ ")"+ )+happyReduction_39 _ _ _ = notHappyAtAll ++happyReduce_40 = happySpecReduce_1 18 happyReduction_40+happyReduction_40 (HappyAbsSyn24 happy_var_1)+ = HappyAbsSyn18+ (happy_var_1+ )+happyReduction_40 _ = notHappyAtAll ++happyReduce_41 = happySpecReduce_0 18 happyReduction_41+happyReduction_41 = HappyAbsSyn18+ ([]+ )++happyReduce_42 = happySpecReduce_1 19 happyReduction_42+happyReduction_42 (HappyAbsSyn20 happy_var_1)+ = HappyAbsSyn19+ (happy_var_1+ )+happyReduction_42 _ = notHappyAtAll ++happyReduce_43 = happySpecReduce_0 19 happyReduction_43+happyReduction_43 = HappyAbsSyn19+ ([]+ )++happyReduce_44 = happySpecReduce_2 20 happyReduction_44+happyReduction_44 (HappyAbsSyn21 happy_var_2)+ (HappyAbsSyn4 happy_var_1)+ = HappyAbsSyn20+ (happy_var_1 : happy_var_2+ )+happyReduction_44 _ _ = notHappyAtAll ++happyReduce_45 = happySpecReduce_1 21 happyReduction_45+happyReduction_45 (HappyAbsSyn27 happy_var_1)+ = HappyAbsSyn21+ (happy_var_1+ )+happyReduction_45 _ = notHappyAtAll ++happyReduce_46 = happySpecReduce_0 21 happyReduction_46+happyReduction_46 = HappyAbsSyn21+ ([]+ )++happyReduce_47 = happySpecReduce_1 22 happyReduction_47+happyReduction_47 (HappyAbsSyn4 happy_var_1)+ = HappyAbsSyn22+ ([happy_var_1]+ )+happyReduction_47 _ = notHappyAtAll ++happyReduce_48 = happySpecReduce_2 22 happyReduction_48+happyReduction_48 (HappyAbsSyn4 happy_var_2)+ (HappyAbsSyn22 happy_var_1)+ = HappyAbsSyn22+ (happy_var_2 : happy_var_1+ )+happyReduction_48 _ _ = notHappyAtAll ++happyReduce_49 = happySpecReduce_1 23 happyReduction_49+happyReduction_49 (HappyAbsSyn5 happy_var_1)+ = HappyAbsSyn23+ ([happy_var_1]+ )+happyReduction_49 _ = notHappyAtAll ++happyReduce_50 = happySpecReduce_2 23 happyReduction_50+happyReduction_50 (HappyAbsSyn5 happy_var_2)+ (HappyAbsSyn23 happy_var_1)+ = HappyAbsSyn23+ (happy_var_2 : happy_var_1+ )+happyReduction_50 _ _ = notHappyAtAll ++happyReduce_51 = happySpecReduce_2 24 happyReduction_51+happyReduction_51 (HappyAbsSyn26 happy_var_2)+ (HappyAbsSyn10 happy_var_1)+ = HappyAbsSyn24+ (happy_var_1 : happy_var_2+ )+happyReduction_51 _ _ = notHappyAtAll ++happyReduce_52 = happySpecReduce_2 25 happyReduction_52+happyReduction_52 (HappyAbsSyn4 happy_var_2)+ _+ = HappyAbsSyn25+ (happy_var_2+ )+happyReduction_52 _ _ = notHappyAtAll ++happyReduce_53 = happySpecReduce_1 26 happyReduction_53+happyReduction_53 (HappyAbsSyn29 happy_var_1)+ = HappyAbsSyn26+ (happy_var_1+ )+happyReduction_53 _ = notHappyAtAll ++happyReduce_54 = happySpecReduce_0 26 happyReduction_54+happyReduction_54 = HappyAbsSyn26+ ([]+ )++happyReduce_55 = happySpecReduce_1 27 happyReduction_55+happyReduction_55 (HappyAbsSyn30 happy_var_1)+ = HappyAbsSyn27+ (reverse happy_var_1+ )+happyReduction_55 _ = notHappyAtAll ++happyReduce_56 = happySpecReduce_2 28 happyReduction_56+happyReduction_56 (HappyAbsSyn10 happy_var_2)+ _+ = HappyAbsSyn28+ (happy_var_2+ )+happyReduction_56 _ _ = notHappyAtAll ++happyReduce_57 = happySpecReduce_1 29 happyReduction_57+happyReduction_57 (HappyAbsSyn31 happy_var_1)+ = HappyAbsSyn29+ (reverse happy_var_1+ )+happyReduction_57 _ = notHappyAtAll ++happyReduce_58 = happySpecReduce_1 30 happyReduction_58+happyReduction_58 (HappyAbsSyn25 happy_var_1)+ = HappyAbsSyn30+ ([happy_var_1]+ )+happyReduction_58 _ = notHappyAtAll ++happyReduce_59 = happySpecReduce_2 30 happyReduction_59+happyReduction_59 (HappyAbsSyn25 happy_var_2)+ (HappyAbsSyn30 happy_var_1)+ = HappyAbsSyn30+ (happy_var_2 : happy_var_1+ )+happyReduction_59 _ _ = notHappyAtAll ++happyReduce_60 = happySpecReduce_1 31 happyReduction_60+happyReduction_60 (HappyAbsSyn28 happy_var_1)+ = HappyAbsSyn31+ ([happy_var_1]+ )+happyReduction_60 _ = notHappyAtAll ++happyReduce_61 = happySpecReduce_2 31 happyReduction_61+happyReduction_61 (HappyAbsSyn28 happy_var_2)+ (HappyAbsSyn31 happy_var_1)+ = HappyAbsSyn31+ (happy_var_2 : happy_var_1+ )+happyReduction_61 _ _ = notHappyAtAll ++happyNewToken action sts stk [] =+ action 58 58 notHappyAtAll (HappyState action) sts stk []++happyNewToken action sts stk (tk:tks) =+ let cont i = action i i tk (HappyState action) sts stk tks in+ case tk of {+ (Reservedop, (_,"=")) -> cont 32;+ (Special, (_,"(")) -> cont 33;+ (Special, (_,")")) -> cont 34;+ (Special, (_,"{")) -> cont 35;+ (Special, (_,"}")) -> cont 36;+ (Special, (_,"[")) -> cont 37;+ (Special, (_,"]")) -> cont 38;+ (Special, (_,"<")) -> cont 39;+ (Special, (_,">")) -> cont 40;+ (Special, (_,",")) -> cont 41;+ (Varsym, (_,"-")) -> cont 42;+ (Varsym, (_,"%")) -> cont 43;+ (Special, (_,"`")) -> cont 44;+ (IntLit, (_,happy_dollar_dollar)) -> cont 45;+ (FloatLit, (_,happy_dollar_dollar)) -> cont 46;+ (StringLit, (_,happy_dollar_dollar)) -> cont 47;+ (CharLit, (_,happy_dollar_dollar)) -> cont 48;+ (Varid, (_,happy_dollar_dollar)) -> cont 49;+ (Qvarid, (_,happy_dollar_dollar)) -> cont 50;+ (Varsym, (_,happy_dollar_dollar)) -> cont 51;+ (Qvarsym, (_,happy_dollar_dollar)) -> cont 52;+ (Conid, (_,happy_dollar_dollar)) -> cont 53;+ (Qconid, (_,happy_dollar_dollar)) -> cont 54;+ (Consym, (_,happy_dollar_dollar)) -> cont 55;+ (Qconsym, (_,happy_dollar_dollar)) -> cont 56;+ (Reservedop, (_,happy_dollar_dollar)) -> cont 57;+ _ -> happyError' (tk:tks)+ }++happyError_ 58 tk tks = happyError' tks+happyError_ _ tk tks = happyError' (tk:tks)++happyThen :: () => Maybe a -> (a -> Maybe b) -> Maybe b+happyThen = ((>>=))+happyReturn :: () => a -> Maybe a+happyReturn = (return)+happyThen1 m k tks = ((>>=)) m (\a -> k a tks)+happyReturn1 :: () => a -> b -> Maybe a+happyReturn1 = \a tks -> (return) a+happyError' :: () => [(PosToken)] -> Maybe a+happyError' = happyError++parseValue tks = happySomeParser where+ happySomeParser = happyThen (happyParse action_0 tks) (\x -> case x of {HappyAbsSyn4 z -> happyReturn z; _other -> notHappyAtAll })++happySeq = happyDontSeq+++backtick :: String -> String+backtick s = "`" ++ s ++ "`"++happyError :: [PosToken] -> Maybe a+happyError ((_,(p,_)) : _) = Nothing -- error ("Parser error at: " ++ show p)+happyError [] = Nothing -- error ("Parser error at EOF")++mkValue :: [Value] -> Value+mkValue [v] = v+mkValue (Con x [] : vs) = Con x vs+mkValue vs = Con "" vs+{-# LINE 1 "templates/GenericTemplate.hs" #-}+{-# LINE 1 "templates/GenericTemplate.hs" #-}+{-# LINE 1 "<built-in>" #-}+{-# LINE 1 "<command-line>" #-}+{-# LINE 8 "<command-line>" #-}+# 1 "/usr/include/stdc-predef.h" 1 3 4++# 17 "/usr/include/stdc-predef.h" 3 4++++++++++++++++++++++++++++++++++++++++++++{-# LINE 8 "<command-line>" #-}+{-# LINE 1 "/home/diatchki/tools/ghc-8.0.1/lib/ghc-8.0.1/include/ghcversion.h" #-}++++++++++++++++++{-# LINE 8 "<command-line>" #-}+{-# LINE 1 "/tmp/ghc17608_0/ghc_2.h" #-}+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++{-# LINE 8 "<command-line>" #-}+{-# LINE 1 "templates/GenericTemplate.hs" #-}+-- Id: GenericTemplate.hs,v 1.26 2005/01/14 14:47:22 simonmar Exp ++{-# LINE 13 "templates/GenericTemplate.hs" #-}++{-# LINE 46 "templates/GenericTemplate.hs" #-}+++++++++{-# LINE 67 "templates/GenericTemplate.hs" #-}++{-# LINE 77 "templates/GenericTemplate.hs" #-}++{-# LINE 86 "templates/GenericTemplate.hs" #-}++infixr 9 `HappyStk`+data HappyStk a = HappyStk a (HappyStk a)++-----------------------------------------------------------------------------+-- starting the parse++happyParse start_state = happyNewToken start_state notHappyAtAll notHappyAtAll++-----------------------------------------------------------------------------+-- Accepting the parse++-- If the current token is (1), it means we've just accepted a partial+-- parse (a %partial parser). We must ignore the saved token on the top of+-- the stack in this case.+happyAccept (1) tk st sts (_ `HappyStk` ans `HappyStk` _) =+ happyReturn1 ans+happyAccept j tk st sts (HappyStk ans _) = + (happyReturn1 ans)++-----------------------------------------------------------------------------+-- Arrays only: do the next action++{-# LINE 155 "templates/GenericTemplate.hs" #-}++-----------------------------------------------------------------------------+-- HappyState data type (not arrays)++++newtype HappyState b c = HappyState+ (Int -> -- token number+ Int -> -- token number (yes, again)+ b -> -- token semantic value+ HappyState b c -> -- current state+ [HappyState b c] -> -- state stack+ c)++++-----------------------------------------------------------------------------+-- Shifting a token++happyShift new_state (1) tk st sts stk@(x `HappyStk` _) =+ let i = (case x of { HappyErrorToken (i) -> i }) in+-- trace "shifting the error token" $+ new_state i i tk (HappyState (new_state)) ((st):(sts)) (stk)++happyShift new_state i tk st sts stk =+ happyNewToken new_state ((st):(sts)) ((HappyTerminal (tk))`HappyStk`stk)++-- happyReduce is specialised for the common cases.++happySpecReduce_0 i fn (1) tk st sts stk+ = happyFail (1) tk st sts stk+happySpecReduce_0 nt fn j tk st@((HappyState (action))) sts stk+ = action nt j tk st ((st):(sts)) (fn `HappyStk` stk)++happySpecReduce_1 i fn (1) tk st sts stk+ = happyFail (1) tk st sts stk+happySpecReduce_1 nt fn j tk _ sts@(((st@(HappyState (action))):(_))) (v1`HappyStk`stk')+ = let r = fn v1 in+ happySeq r (action nt j tk st sts (r `HappyStk` stk'))++happySpecReduce_2 i fn (1) tk st sts stk+ = happyFail (1) tk st sts stk+happySpecReduce_2 nt fn j tk _ ((_):(sts@(((st@(HappyState (action))):(_))))) (v1`HappyStk`v2`HappyStk`stk')+ = let r = fn v1 v2 in+ happySeq r (action nt j tk st sts (r `HappyStk` stk'))++happySpecReduce_3 i fn (1) tk st sts stk+ = happyFail (1) tk st sts stk+happySpecReduce_3 nt fn j tk _ ((_):(((_):(sts@(((st@(HappyState (action))):(_))))))) (v1`HappyStk`v2`HappyStk`v3`HappyStk`stk')+ = let r = fn v1 v2 v3 in+ happySeq r (action nt j tk st sts (r `HappyStk` stk'))++happyReduce k i fn (1) tk st sts stk+ = happyFail (1) tk st sts stk+happyReduce k nt fn j tk st sts stk+ = case happyDrop (k - ((1) :: Int)) sts of+ sts1@(((st1@(HappyState (action))):(_))) ->+ let r = fn stk in -- it doesn't hurt to always seq here...+ happyDoSeq r (action nt j tk st1 sts1 r)++happyMonadReduce k nt fn (1) tk st sts stk+ = happyFail (1) tk st sts stk+happyMonadReduce k nt fn j tk st sts stk =+ case happyDrop k ((st):(sts)) of+ sts1@(((st1@(HappyState (action))):(_))) ->+ let drop_stk = happyDropStk k stk in+ happyThen1 (fn stk tk) (\r -> action nt j tk st1 sts1 (r `HappyStk` drop_stk))++happyMonad2Reduce k nt fn (1) tk st sts stk+ = happyFail (1) tk st sts stk+happyMonad2Reduce k nt fn j tk st sts stk =+ case happyDrop k ((st):(sts)) of+ sts1@(((st1@(HappyState (action))):(_))) ->+ let drop_stk = happyDropStk k stk++++++ new_state = action++ in+ happyThen1 (fn stk tk) (\r -> happyNewToken new_state sts1 (r `HappyStk` drop_stk))++happyDrop (0) l = l+happyDrop n ((_):(t)) = happyDrop (n - ((1) :: Int)) t++happyDropStk (0) l = l+happyDropStk n (x `HappyStk` xs) = happyDropStk (n - ((1)::Int)) xs++-----------------------------------------------------------------------------+-- Moving to a new state after a reduction++{-# LINE 256 "templates/GenericTemplate.hs" #-}+happyGoto action j tk st = action j j tk (HappyState action)+++-----------------------------------------------------------------------------+-- Error recovery ((1) is the error token)++-- parse error if we are in recovery and we fail again+happyFail (1) tk old_st _ stk@(x `HappyStk` _) =+ let i = (case x of { HappyErrorToken (i) -> i }) in+-- trace "failing" $ + happyError_ i tk++{- We don't need state discarding for our restricted implementation of+ "error". In fact, it can cause some bogus parses, so I've disabled it+ for now --SDM++-- discard a state+happyFail (1) tk old_st (((HappyState (action))):(sts)) + (saved_tok `HappyStk` _ `HappyStk` stk) =+-- trace ("discarding state, depth " ++ show (length stk)) $+ action (1) (1) tk (HappyState (action)) sts ((saved_tok`HappyStk`stk))+-}++-- Enter error recovery: generate an error token,+-- save the old token and carry on.+happyFail i tk (HappyState (action)) sts stk =+-- trace "entering error recovery" $+ action (1) (1) tk (HappyState (action)) sts ( (HappyErrorToken (i)) `HappyStk` stk)++-- Internal happy errors:++notHappyAtAll :: a+notHappyAtAll = error "Internal Happy error\n"++-----------------------------------------------------------------------------+-- Hack to get the typechecker to accept our action functions++++++++-----------------------------------------------------------------------------+-- Seq-ing. If the --strict flag is given, then Happy emits +-- happySeq = happyDoSeq+-- otherwise it emits+-- happySeq = happyDontSeq++happyDoSeq, happyDontSeq :: a -> b -> b+happyDoSeq a b = a `seq` b+happyDontSeq a b = b++-----------------------------------------------------------------------------+-- Don't inline any functions from the template. GHC has a nasty habit+-- of deciding to inline happyGoto everywhere, which increases the size of+-- the generated parser quite a bit.++{-# LINE 322 "templates/GenericTemplate.hs" #-}+{-# NOINLINE happyShift #-}+{-# NOINLINE happySpecReduce_0 #-}+{-# NOINLINE happySpecReduce_1 #-}+{-# NOINLINE happySpecReduce_2 #-}+{-# NOINLINE happySpecReduce_3 #-}+{-# NOINLINE happyReduce #-}+{-# NOINLINE happyMonadReduce #-}+{-# NOINLINE happyGoto #-}+{-# NOINLINE happyFail #-}++-- end of Happy Template.
Text/Show/Parser.y view
@@ -16,6 +16,8 @@ '}' { (Special, (_,"}")) } '[' { (Special, (_,"[")) } ']' { (Special, (_,"]")) }+ '<' { (Varsym, (_,"<")) }+ '>' { (Varsym, (_,">")) } ',' { (Special, (_,",")) } '-' { (Varsym, (_,"-")) } '%' { (Varsym, (_,"%")) }@@ -78,6 +80,8 @@ | QVARID { $1 } | prefix(VARSYM) { $1 } | prefix(QVARSYM) { $1 }+ | '<' VARID '>' { "<" ++ $2 ++ ">" } -- note: looses space+ | '<' CONID '>' { "<" ++ $2 ++ ">" } -- ditto infixcon :: { String } : CONSYM { $1 }
dist/build/Text/Show/Parser.hs view
@@ -196,654 +196,1723 @@ happyActOffsets :: HappyAddr-happyActOffsets = HappyA# "\x15\x00\x15\x00\x5b\x00\xb2\x00\x00\x00\x60\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x15\x00\xff\xff\x15\x00\x15\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0e\x00\x15\x00\x00\x00\x12\x00\x5c\x00\x00\x00\x53\x00\x59\x00\x50\x00\x4f\x00\x48\x00\x47\x00\x00\x00\x35\x00\x00\x00\x15\x00\x00\x00\xb2\x00\x0b\x00\x00\x00\x00\x00\x00\x00\x38\x00\x37\x00\x00\x00\x00\x00\x39\x00\x34\x00\x00\x00\x33\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x15\x00\x00\x00\x00\x00\x00\x00\x00\x00\x2a\x00\x15\x00\x00\x00\x27\x00\x00\x00\x00\x00\x15\x00\x00\x00\x00\x00\x00\x00\x00\x00\x28\x00\x1c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x1e\x00\x00\x00"#--happyGotoOffsets :: HappyAddr-happyGotoOffsets = HappyA# "\x91\x00\x80\x00\x00\x00\x9f\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xcc\x00\x4d\x00\x2b\x00\xc1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb4\x00\x00\x00\xc9\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xa6\x00\x00\x00\xa3\x00\x00\x00\x18\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xee\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x3c\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf5\xff\x6f\x00\x00\x00\x00\x00\x00\x00\x00\x00\x5e\x00\x00\x00\x00\x00\x00\x00\x00\x00\xeb\xff\xfc\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"#--happyDefActions :: HappyAddr-happyDefActions = HappyA# "\x00\x00\x00\x00\x00\x00\xfd\xff\xd2\xff\xf5\xff\xfa\xff\xed\xff\xec\xff\xe8\xff\xe9\xff\xdf\xff\xe1\xff\xd6\xff\x00\x00\xf4\xff\xf3\xff\xf2\xff\xf1\xff\xeb\xff\xea\xff\xef\xff\xee\xff\x00\x00\x00\x00\xf0\xff\xd3\xff\x00\x00\xd7\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xd1\xff\xd8\xff\xd0\xff\x00\x00\xfc\xff\xde\xff\x00\x00\xe7\xff\xe6\xff\xe3\xff\x00\x00\x00\x00\xcf\xff\xfb\xff\xcb\xff\x00\x00\xd9\xff\x00\x00\xdc\xff\xdd\xff\xdb\xff\xda\xff\xf7\xff\xf9\xff\x00\x00\xf8\xff\xd5\xff\xc7\xff\xd4\xff\xca\xff\x00\x00\xfe\xff\xcd\xff\xc6\xff\xe0\xff\x00\x00\xf6\xff\xce\xff\xc5\xff\xcc\xff\xc8\xff\x00\x00\xe4\xff\xe5\xff\xc9\xff\xc4\xff\xe2\xff"#--happyCheck :: HappyAddr-happyCheck = HappyA# "\xff\xff\x02\x00\x06\x00\x18\x00\x16\x00\x06\x00\x18\x00\x19\x00\x09\x00\x1b\x00\x15\x00\x0c\x00\x0d\x00\x0e\x00\x0f\x00\x10\x00\x11\x00\x12\x00\x13\x00\x14\x00\x15\x00\x16\x00\x17\x00\x02\x00\x0a\x00\x01\x00\x08\x00\x06\x00\x0a\x00\x05\x00\x09\x00\x14\x00\x15\x00\x0c\x00\x0d\x00\x0e\x00\x0f\x00\x10\x00\x11\x00\x19\x00\x0a\x00\x14\x00\x15\x00\x00\x00\x10\x00\x02\x00\x03\x00\x04\x00\x08\x00\x0a\x00\x08\x00\x08\x00\x01\x00\x0a\x00\x0b\x00\x0c\x00\x0d\x00\x05\x00\x0f\x00\x10\x00\x00\x00\x12\x00\x02\x00\x03\x00\x04\x00\x08\x00\x0b\x00\x0b\x00\x08\x00\x10\x00\x0a\x00\x0b\x00\x0c\x00\x0d\x00\x03\x00\x03\x00\x10\x00\x00\x00\x12\x00\x02\x00\x03\x00\x04\x00\x03\x00\x03\x00\x07\x00\x08\x00\x03\x00\x0a\x00\x0b\x00\x0c\x00\x0d\x00\x08\x00\x03\x00\x0a\x00\x00\x00\x12\x00\x02\x00\x03\x00\x04\x00\x07\x00\x04\x00\x0a\x00\x08\x00\xff\xff\x0a\x00\x0b\x00\x0c\x00\x0d\x00\xff\xff\xff\xff\xff\xff\x00\x00\x12\x00\x02\x00\x03\x00\x04\x00\xff\xff\xff\xff\xff\xff\x08\x00\xff\xff\x0a\x00\x0b\x00\x0c\x00\x0d\x00\xff\xff\xff\xff\xff\xff\x00\x00\x12\x00\x02\x00\x03\x00\x04\x00\xff\xff\xff\xff\xff\xff\x08\x00\xff\xff\x0a\x00\x0b\x00\x0c\x00\x0d\x00\xff\xff\xff\xff\xff\xff\x00\x00\x12\x00\x02\x00\x03\x00\x04\x00\xff\xff\xff\xff\xff\xff\x08\x00\xff\xff\x0a\x00\x0b\x00\x0c\x00\x0d\x00\xff\xff\x01\x00\xff\xff\xff\xff\x12\x00\x05\x00\x02\x00\x03\x00\x04\x00\x09\x00\xff\xff\xff\xff\x08\x00\x06\x00\x0a\x00\x0b\x00\x0c\x00\x0d\x00\xff\xff\x13\x00\xff\xff\x0e\x00\x12\x00\x02\x00\x03\x00\x04\x00\xff\xff\x14\x00\xff\xff\x08\x00\x0b\x00\x0a\x00\x0b\x00\x0c\x00\x0d\x00\xff\xff\xff\xff\x03\x00\x04\x00\x12\x00\xff\xff\x16\x00\x17\x00\x18\x00\x0a\x00\x0b\x00\x0c\x00\x0d\x00\x03\x00\x04\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\x0a\x00\x0b\x00\x0c\x00\x0d\x00\x11\x00\xff\xff\xff\xff\xff\xff\x15\x00\xff\xff\x17\x00\xff\xff\xff\xff\x1a\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff"#--happyTable :: HappyAddr-happyTable = HappyA# "\x00\x00\x0d\x00\x4f\x00\x50\x00\x48\x00\x0e\x00\x49\x00\x4a\x00\x0f\x00\x4b\x00\x44\x00\x10\x00\x11\x00\x12\x00\x13\x00\x14\x00\x15\x00\x20\x00\x21\x00\x16\x00\x17\x00\x22\x00\x23\x00\x0d\x00\x19\x00\x2f\x00\x42\x00\x0e\x00\x19\x00\x26\x00\x0f\x00\x2e\x00\x2f\x00\x10\x00\x11\x00\x12\x00\x13\x00\x14\x00\x15\x00\xff\xff\x19\x00\x16\x00\x17\x00\x1a\x00\x35\x00\x03\x00\x04\x00\x05\x00\x4d\x00\x19\x00\x42\x00\x06\x00\x47\x00\x07\x00\x08\x00\x09\x00\x0a\x00\x48\x00\x1b\x00\x1c\x00\x1a\x00\x0b\x00\x03\x00\x04\x00\x05\x00\x4d\x00\x4e\x00\x4f\x00\x06\x00\x35\x00\x07\x00\x08\x00\x09\x00\x0a\x00\x36\x00\x37\x00\x45\x00\x1d\x00\x0b\x00\x03\x00\x04\x00\x05\x00\x38\x00\x39\x00\x1e\x00\x06\x00\x3b\x00\x07\x00\x08\x00\x09\x00\x0a\x00\x3c\x00\x3a\x00\x19\x00\x51\x00\x0b\x00\x03\x00\x04\x00\x05\x00\x3d\x00\x25\x00\x19\x00\x06\x00\x00\x00\x07\x00\x08\x00\x09\x00\x0a\x00\x00\x00\x00\x00\x00\x00\x43\x00\x0b\x00\x03\x00\x04\x00\x05\x00\x00\x00\x00\x00\x00\x00\x06\x00\x00\x00\x07\x00\x08\x00\x09\x00\x0a\x00\x00\x00\x00\x00\x00\x00\x02\x00\x0b\x00\x03\x00\x04\x00\x05\x00\x00\x00\x00\x00\x00\x00\x06\x00\x00\x00\x07\x00\x08\x00\x09\x00\x0a\x00\x00\x00\x00\x00\x00\x00\x17\x00\x0b\x00\x03\x00\x04\x00\x05\x00\x00\x00\x00\x00\x00\x00\x06\x00\x00\x00\x07\x00\x08\x00\x09\x00\x0a\x00\x00\x00\x25\x00\x00\x00\x00\x00\x0b\x00\x26\x00\x30\x00\x04\x00\x05\x00\x27\x00\x00\x00\x00\x00\x06\x00\x31\x00\x07\x00\x08\x00\x09\x00\x0a\x00\x00\x00\x28\x00\x00\x00\x32\x00\x0b\x00\x42\x00\x04\x00\x05\x00\x00\x00\x33\x00\x00\x00\x06\x00\x2a\x00\x07\x00\x08\x00\x09\x00\x0a\x00\x00\x00\x00\x00\x19\x00\x05\x00\x0b\x00\x00\x00\x2b\x00\x2c\x00\x2d\x00\x07\x00\x08\x00\x09\x00\x0a\x00\x23\x00\x05\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x07\x00\x08\x00\x09\x00\x0a\x00\x3d\x00\x00\x00\x00\x00\x00\x00\x3e\x00\x00\x00\x3f\x00\x00\x00\x00\x00\x40\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"#--happyReduceArr = Happy_Data_Array.array (1, 59) [- (1 , happyReduce_1),- (2 , happyReduce_2),- (3 , happyReduce_3),- (4 , happyReduce_4),- (5 , happyReduce_5),- (6 , happyReduce_6),- (7 , happyReduce_7),- (8 , happyReduce_8),- (9 , happyReduce_9),- (10 , happyReduce_10),- (11 , happyReduce_11),- (12 , happyReduce_12),- (13 , happyReduce_13),- (14 , happyReduce_14),- (15 , happyReduce_15),- (16 , happyReduce_16),- (17 , happyReduce_17),- (18 , happyReduce_18),- (19 , happyReduce_19),- (20 , happyReduce_20),- (21 , happyReduce_21),- (22 , happyReduce_22),- (23 , happyReduce_23),- (24 , happyReduce_24),- (25 , happyReduce_25),- (26 , happyReduce_26),- (27 , happyReduce_27),- (28 , happyReduce_28),- (29 , happyReduce_29),- (30 , happyReduce_30),- (31 , happyReduce_31),- (32 , happyReduce_32),- (33 , happyReduce_33),- (34 , happyReduce_34),- (35 , happyReduce_35),- (36 , happyReduce_36),- (37 , happyReduce_37),- (38 , happyReduce_38),- (39 , happyReduce_39),- (40 , happyReduce_40),- (41 , happyReduce_41),- (42 , happyReduce_42),- (43 , happyReduce_43),- (44 , happyReduce_44),- (45 , happyReduce_45),- (46 , happyReduce_46),- (47 , happyReduce_47),- (48 , happyReduce_48),- (49 , happyReduce_49),- (50 , happyReduce_50),- (51 , happyReduce_51),- (52 , happyReduce_52),- (53 , happyReduce_53),- (54 , happyReduce_54),- (55 , happyReduce_55),- (56 , happyReduce_56),- (57 , happyReduce_57),- (58 , happyReduce_58),- (59 , happyReduce_59)- ]--happy_n_terms = 26 :: Int-happy_n_nonterms = 28 :: Int--happyReduce_1 = happySpecReduce_3 0# happyReduction_1-happyReduction_1 happy_x_3- happy_x_2- happy_x_1- = case happyOut4 happy_x_1 of { happy_var_1 -> - case happyOut6 happy_x_3 of { happy_var_3 -> - happyIn4- (Ratio happy_var_1 happy_var_3- )}}--happyReduce_2 = happySpecReduce_1 0# happyReduction_2-happyReduction_2 happy_x_1- = case happyOut6 happy_x_1 of { happy_var_1 -> - happyIn4- (happy_var_1- )}--happyReduce_3 = happySpecReduce_2 0# happyReduction_3-happyReduction_3 happy_x_2- happy_x_1- = case happyOut6 happy_x_1 of { happy_var_1 -> - case happyOut13 happy_x_2 of { happy_var_2 -> - happyIn4- (InfixCons happy_var_1 happy_var_2- )}}--happyReduce_4 = happySpecReduce_2 1# happyReduction_4-happyReduction_4 happy_x_2- happy_x_1- = case happyOut9 happy_x_1 of { happy_var_1 -> - case happyOut6 happy_x_2 of { happy_var_2 -> - happyIn5- ((happy_var_1,happy_var_2)- )}}--happyReduce_5 = happySpecReduce_1 2# happyReduction_5-happyReduction_5 happy_x_1- = case happyOut12 happy_x_1 of { happy_var_1 -> - happyIn6- (mkValue happy_var_1- )}--happyReduce_6 = happySpecReduce_3 3# happyReduction_6-happyReduction_6 happy_x_3- happy_x_2- happy_x_1- = case happyOut4 happy_x_2 of { happy_var_2 -> - happyIn7- (happy_var_2- )}--happyReduce_7 = happySpecReduce_3 3# happyReduction_7-happyReduction_7 happy_x_3- happy_x_2- happy_x_1- = case happyOut19 happy_x_2 of { happy_var_2 -> - happyIn7- (List happy_var_2- )}--happyReduce_8 = happySpecReduce_3 3# happyReduction_8-happyReduction_8 happy_x_3- happy_x_2- happy_x_1- = case happyOut11 happy_x_2 of { happy_var_2 -> - happyIn7- (Tuple happy_var_2- )}--happyReduce_9 = happyReduce 4# 3# happyReduction_9-happyReduction_9 (happy_x_4 `HappyStk`- happy_x_3 `HappyStk`- happy_x_2 `HappyStk`- happy_x_1 `HappyStk`- happyRest)- = case happyOut8 happy_x_1 of { happy_var_1 -> - case happyOut18 happy_x_3 of { happy_var_3 -> - happyIn7- (Rec happy_var_1 happy_var_3- ) `HappyStk` happyRest}}--happyReduce_10 = happySpecReduce_1 3# happyReduction_10-happyReduction_10 happy_x_1- = case happyOut8 happy_x_1 of { happy_var_1 -> - happyIn7- (Con happy_var_1 []- )}--happyReduce_11 = happySpecReduce_1 3# happyReduction_11-happyReduction_11 happy_x_1- = case happyOutTok happy_x_1 of { ((IntLit, (_,happy_var_1))) -> - happyIn7- (Integer happy_var_1- )}--happyReduce_12 = happySpecReduce_1 3# happyReduction_12-happyReduction_12 happy_x_1- = case happyOutTok happy_x_1 of { ((FloatLit, (_,happy_var_1))) -> - happyIn7- (Float happy_var_1- )}--happyReduce_13 = happySpecReduce_1 3# happyReduction_13-happyReduction_13 happy_x_1- = case happyOutTok happy_x_1 of { ((StringLit, (_,happy_var_1))) -> - happyIn7- (String happy_var_1- )}--happyReduce_14 = happySpecReduce_1 3# happyReduction_14-happyReduction_14 happy_x_1- = case happyOutTok happy_x_1 of { ((CharLit, (_,happy_var_1))) -> - happyIn7- (Char happy_var_1- )}--happyReduce_15 = happySpecReduce_2 3# happyReduction_15-happyReduction_15 happy_x_2- happy_x_1- = case happyOut7 happy_x_2 of { happy_var_2 -> - happyIn7- (Neg happy_var_2- )}--happyReduce_16 = happySpecReduce_1 4# happyReduction_16-happyReduction_16 happy_x_1- = case happyOutTok happy_x_1 of { ((Conid, (_,happy_var_1))) -> - happyIn8- (happy_var_1- )}--happyReduce_17 = happySpecReduce_1 4# happyReduction_17-happyReduction_17 happy_x_1- = case happyOutTok happy_x_1 of { ((Qconid, (_,happy_var_1))) -> - happyIn8- (happy_var_1- )}--happyReduce_18 = happySpecReduce_1 4# happyReduction_18-happyReduction_18 happy_x_1- = case happyOut14 happy_x_1 of { happy_var_1 -> - happyIn8- (happy_var_1- )}--happyReduce_19 = happySpecReduce_1 4# happyReduction_19-happyReduction_19 happy_x_1- = case happyOut15 happy_x_1 of { happy_var_1 -> - happyIn8- (happy_var_1- )}--happyReduce_20 = happySpecReduce_1 4# happyReduction_20-happyReduction_20 happy_x_1- = case happyOutTok happy_x_1 of { ((Varid, (_,happy_var_1))) -> - happyIn8- (happy_var_1- )}--happyReduce_21 = happySpecReduce_1 4# happyReduction_21-happyReduction_21 happy_x_1- = case happyOutTok happy_x_1 of { ((Qvarid, (_,happy_var_1))) -> - happyIn8- (happy_var_1- )}--happyReduce_22 = happySpecReduce_1 4# happyReduction_22-happyReduction_22 happy_x_1- = case happyOut17 happy_x_1 of { happy_var_1 -> - happyIn8- (happy_var_1- )}--happyReduce_23 = happySpecReduce_1 4# happyReduction_23-happyReduction_23 happy_x_1- = case happyOut16 happy_x_1 of { happy_var_1 -> - happyIn8- (happy_var_1- )}--happyReduce_24 = happySpecReduce_1 5# happyReduction_24-happyReduction_24 happy_x_1- = case happyOutTok happy_x_1 of { ((Consym, (_,happy_var_1))) -> - happyIn9- (happy_var_1- )}--happyReduce_25 = happySpecReduce_1 5# happyReduction_25-happyReduction_25 happy_x_1- = case happyOutTok happy_x_1 of { ((Qconsym, (_,happy_var_1))) -> - happyIn9- (happy_var_1- )}--happyReduce_26 = happySpecReduce_3 5# happyReduction_26-happyReduction_26 happy_x_3- happy_x_2- happy_x_1- = case happyOutTok happy_x_2 of { ((Conid, (_,happy_var_2))) -> - happyIn9- (backtick happy_var_2- )}--happyReduce_27 = happySpecReduce_3 5# happyReduction_27-happyReduction_27 happy_x_3- happy_x_2- happy_x_1- = case happyOutTok happy_x_2 of { ((Qconid, (_,happy_var_2))) -> - happyIn9- (backtick happy_var_2- )}--happyReduce_28 = happySpecReduce_1 5# happyReduction_28-happyReduction_28 happy_x_1- = case happyOutTok happy_x_1 of { ((Reservedop, (_,happy_var_1))) -> - happyIn9- (happy_var_1- )}--happyReduce_29 = happySpecReduce_3 6# happyReduction_29-happyReduction_29 happy_x_3- happy_x_2- happy_x_1- = case happyOutTok happy_x_1 of { ((Varid, (_,happy_var_1))) -> - case happyOut4 happy_x_3 of { happy_var_3 -> - happyIn10- ((happy_var_1,happy_var_3)- )}}--happyReduce_30 = happySpecReduce_0 7# happyReduction_30-happyReduction_30 = happyIn11- ([]- )--happyReduce_31 = happySpecReduce_3 7# happyReduction_31-happyReduction_31 happy_x_3- happy_x_2- happy_x_1- = case happyOut4 happy_x_1 of { happy_var_1 -> - case happyOut20 happy_x_3 of { happy_var_3 -> - happyIn11- (happy_var_1 : happy_var_3- )}}--happyReduce_32 = happySpecReduce_1 8# happyReduction_32-happyReduction_32 happy_x_1- = case happyOut22 happy_x_1 of { happy_var_1 -> - happyIn12- (reverse happy_var_1- )}--happyReduce_33 = happySpecReduce_1 9# happyReduction_33-happyReduction_33 happy_x_1- = case happyOut23 happy_x_1 of { happy_var_1 -> - happyIn13- (reverse happy_var_1- )}--happyReduce_34 = happySpecReduce_3 10# happyReduction_34-happyReduction_34 happy_x_3- happy_x_2- happy_x_1- = case happyOutTok happy_x_2 of { ((Consym, (_,happy_var_2))) -> - happyIn14- ("(" ++ happy_var_2 ++ ")"- )}--happyReduce_35 = happySpecReduce_3 11# happyReduction_35-happyReduction_35 happy_x_3- happy_x_2- happy_x_1- = case happyOutTok happy_x_2 of { ((Qconsym, (_,happy_var_2))) -> - happyIn15- ("(" ++ happy_var_2 ++ ")"- )}--happyReduce_36 = happySpecReduce_3 12# happyReduction_36-happyReduction_36 happy_x_3- happy_x_2- happy_x_1- = case happyOutTok happy_x_2 of { ((Qvarsym, (_,happy_var_2))) -> - happyIn16- ("(" ++ happy_var_2 ++ ")"- )}--happyReduce_37 = happySpecReduce_3 13# happyReduction_37-happyReduction_37 happy_x_3- happy_x_2- happy_x_1- = case happyOutTok happy_x_2 of { ((Varsym, (_,happy_var_2))) -> - happyIn17- ("(" ++ happy_var_2 ++ ")"- )}--happyReduce_38 = happySpecReduce_1 14# happyReduction_38-happyReduction_38 happy_x_1- = case happyOut24 happy_x_1 of { happy_var_1 -> - happyIn18- (happy_var_1- )}--happyReduce_39 = happySpecReduce_0 14# happyReduction_39-happyReduction_39 = happyIn18- ([]- )--happyReduce_40 = happySpecReduce_1 15# happyReduction_40-happyReduction_40 happy_x_1- = case happyOut20 happy_x_1 of { happy_var_1 -> - happyIn19- (happy_var_1- )}--happyReduce_41 = happySpecReduce_0 15# happyReduction_41-happyReduction_41 = happyIn19- ([]- )--happyReduce_42 = happySpecReduce_2 16# happyReduction_42-happyReduction_42 happy_x_2- happy_x_1- = case happyOut4 happy_x_1 of { happy_var_1 -> - case happyOut21 happy_x_2 of { happy_var_2 -> - happyIn20- (happy_var_1 : happy_var_2- )}}--happyReduce_43 = happySpecReduce_1 17# happyReduction_43-happyReduction_43 happy_x_1- = case happyOut27 happy_x_1 of { happy_var_1 -> - happyIn21- (happy_var_1- )}--happyReduce_44 = happySpecReduce_0 17# happyReduction_44-happyReduction_44 = happyIn21- ([]- )--happyReduce_45 = happySpecReduce_1 18# happyReduction_45-happyReduction_45 happy_x_1- = case happyOut7 happy_x_1 of { happy_var_1 -> - happyIn22- ([happy_var_1]- )}--happyReduce_46 = happySpecReduce_2 18# happyReduction_46-happyReduction_46 happy_x_2- happy_x_1- = case happyOut22 happy_x_1 of { happy_var_1 -> - case happyOut7 happy_x_2 of { happy_var_2 -> - happyIn22- (happy_var_2 : happy_var_1- )}}--happyReduce_47 = happySpecReduce_1 19# happyReduction_47-happyReduction_47 happy_x_1- = case happyOut5 happy_x_1 of { happy_var_1 -> - happyIn23- ([happy_var_1]- )}--happyReduce_48 = happySpecReduce_2 19# happyReduction_48-happyReduction_48 happy_x_2- happy_x_1- = case happyOut23 happy_x_1 of { happy_var_1 -> - case happyOut5 happy_x_2 of { happy_var_2 -> - happyIn23- (happy_var_2 : happy_var_1- )}}--happyReduce_49 = happySpecReduce_2 20# happyReduction_49-happyReduction_49 happy_x_2- happy_x_1- = case happyOut10 happy_x_1 of { happy_var_1 -> - case happyOut26 happy_x_2 of { happy_var_2 -> - happyIn24- (happy_var_1 : happy_var_2- )}}--happyReduce_50 = happySpecReduce_2 21# happyReduction_50-happyReduction_50 happy_x_2- happy_x_1- = case happyOut4 happy_x_2 of { happy_var_2 -> - happyIn25- (happy_var_2- )}--happyReduce_51 = happySpecReduce_1 22# happyReduction_51-happyReduction_51 happy_x_1- = case happyOut29 happy_x_1 of { happy_var_1 -> - happyIn26- (happy_var_1- )}--happyReduce_52 = happySpecReduce_0 22# happyReduction_52-happyReduction_52 = happyIn26- ([]- )--happyReduce_53 = happySpecReduce_1 23# happyReduction_53-happyReduction_53 happy_x_1- = case happyOut30 happy_x_1 of { happy_var_1 -> - happyIn27- (reverse happy_var_1- )}--happyReduce_54 = happySpecReduce_2 24# happyReduction_54-happyReduction_54 happy_x_2- happy_x_1- = case happyOut10 happy_x_2 of { happy_var_2 -> - happyIn28- (happy_var_2- )}--happyReduce_55 = happySpecReduce_1 25# happyReduction_55-happyReduction_55 happy_x_1- = case happyOut31 happy_x_1 of { happy_var_1 -> - happyIn29- (reverse happy_var_1- )}--happyReduce_56 = happySpecReduce_1 26# happyReduction_56-happyReduction_56 happy_x_1- = case happyOut25 happy_x_1 of { happy_var_1 -> - happyIn30- ([happy_var_1]- )}--happyReduce_57 = happySpecReduce_2 26# happyReduction_57-happyReduction_57 happy_x_2- happy_x_1- = case happyOut30 happy_x_1 of { happy_var_1 -> - case happyOut25 happy_x_2 of { happy_var_2 -> - happyIn30- (happy_var_2 : happy_var_1- )}}--happyReduce_58 = happySpecReduce_1 27# happyReduction_58-happyReduction_58 happy_x_1- = case happyOut28 happy_x_1 of { happy_var_1 -> - happyIn31- ([happy_var_1]- )}--happyReduce_59 = happySpecReduce_2 27# happyReduction_59-happyReduction_59 happy_x_2- happy_x_1- = case happyOut31 happy_x_1 of { happy_var_1 -> - case happyOut28 happy_x_2 of { happy_var_2 -> - happyIn31- (happy_var_2 : happy_var_1- )}}--happyNewToken action sts stk [] =- happyDoAction 25# notHappyAtAll action sts stk []--happyNewToken action sts stk (tk:tks) =- let cont i = happyDoAction i tk action sts stk tks in- case tk of {- (Reservedop, (_,"=")) -> cont 1#;- (Special, (_,"(")) -> cont 2#;- (Special, (_,")")) -> cont 3#;- (Special, (_,"{")) -> cont 4#;- (Special, (_,"}")) -> cont 5#;- (Special, (_,"[")) -> cont 6#;- (Special, (_,"]")) -> cont 7#;- (Special, (_,",")) -> cont 8#;- (Varsym, (_,"-")) -> cont 9#;- (Varsym, (_,"%")) -> cont 10#;- (Special, (_,"`")) -> cont 11#;- (IntLit, (_,happy_dollar_dollar)) -> cont 12#;- (FloatLit, (_,happy_dollar_dollar)) -> cont 13#;- (StringLit, (_,happy_dollar_dollar)) -> cont 14#;- (CharLit, (_,happy_dollar_dollar)) -> cont 15#;- (Varid, (_,happy_dollar_dollar)) -> cont 16#;- (Qvarid, (_,happy_dollar_dollar)) -> cont 17#;- (Varsym, (_,happy_dollar_dollar)) -> cont 18#;- (Qvarsym, (_,happy_dollar_dollar)) -> cont 19#;- (Conid, (_,happy_dollar_dollar)) -> cont 20#;- (Qconid, (_,happy_dollar_dollar)) -> cont 21#;- (Consym, (_,happy_dollar_dollar)) -> cont 22#;- (Qconsym, (_,happy_dollar_dollar)) -> cont 23#;- (Reservedop, (_,happy_dollar_dollar)) -> cont 24#;- _ -> happyError' (tk:tks)- }--happyError_ 25# tk tks = happyError' tks-happyError_ _ tk tks = happyError' (tk:tks)--happyThen :: () => Maybe a -> (a -> Maybe b) -> Maybe b-happyThen = ((>>=))-happyReturn :: () => a -> Maybe a-happyReturn = (return)-happyThen1 m k tks = ((>>=)) m (\a -> k a tks)-happyReturn1 :: () => a -> b -> Maybe a-happyReturn1 = \a tks -> (return) a-happyError' :: () => [(PosToken)] -> Maybe a-happyError' = happyError--parseValue tks = happySomeParser where- happySomeParser = happyThen (happyParse 0# tks) (\x -> happyReturn (happyOut4 x))--happySeq = happyDontSeq---backtick :: String -> String-backtick s = "`" ++ s ++ "`"--happyError :: [PosToken] -> Maybe a-happyError ((_,(p,_)) : _) = Nothing -- error ("Parser error at: " ++ show p)-happyError [] = Nothing -- error ("Parser error at EOF")--mkValue :: [Value] -> Value-mkValue [v] = v-mkValue (Con x [] : vs) = Con x vs-mkValue vs = Con "" vs-{-# LINE 1 "templates/GenericTemplate.hs" #-}-{-# LINE 1 "templates/GenericTemplate.hs" #-}-{-# LINE 1 "<built-in>" #-}-{-# LINE 1 "<command-line>" #-}-{-# LINE 11 "<command-line>" #-}-# 1 "/usr/include/stdc-predef.h" 1 3 4--# 17 "/usr/include/stdc-predef.h" 3 4-------------------------------------------{-# LINE 11 "<command-line>" #-}-{-# LINE 1 "/home/diatchki/tools/ghc-7.10.3/lib/ghc-7.10.3/include/ghcversion.h" #-}+happyActOffsets = HappyA# "\x17\x00\x17\x00\x66\x00\xb4\x00\x00\x00\x6d\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x17\x00\xff\xff\x17\x00\x22\x00\x17\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x00\x17\x00\x00\x00\x70\x00\x6f\x00\x3b\x00\x69\x00\x00\x00\x5d\x00\x68\x00\x65\x00\x5e\x00\x5c\x00\x54\x00\x00\x00\x48\x00\x00\x00\x17\x00\x00\x00\xb4\x00\xed\xff\x00\x00\x00\x00\x00\x00\x42\x00\x41\x00\x00\x00\x00\x00\x4c\x00\x44\x00\x00\x00\x45\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x17\x00\x00\x00\x00\x00\x00\x00\x00\x00\x33\x00\x17\x00\x00\x00\x00\x00\x00\x00\x29\x00\x00\x00\x00\x00\x17\x00\x00\x00\x00\x00\x00\x00\x00\x00\x2c\x00\x12\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0f\x00\x00\x00"#++happyGotoOffsets :: HappyAddr+happyGotoOffsets = HappyA# "\x95\x00\x84\x00\x00\x00\xa3\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xd0\x00\x51\x00\x2f\x00\x00\x00\xc5\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb8\x00\x00\x00\x00\x00\x00\x00\xf1\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xaa\x00\x00\x00\xa7\x00\x00\x00\x2b\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x40\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00\x73\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x62\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf4\xff\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"#++happyDefActions :: HappyAddr+happyDefActions = HappyA# "\x00\x00\x00\x00\x00\x00\xfd\xff\xd0\xff\xf5\xff\xfa\xff\xed\xff\xec\xff\xe8\xff\xe9\xff\xdd\xff\xdf\xff\xd4\xff\x00\x00\x00\x00\xf4\xff\xf3\xff\xf2\xff\xf1\xff\xeb\xff\xea\xff\xef\xff\xee\xff\x00\x00\x00\x00\xf0\xff\x00\x00\x00\x00\xd1\xff\x00\x00\xd5\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xcf\xff\xd6\xff\xce\xff\x00\x00\xfc\xff\xdc\xff\x00\x00\xe5\xff\xe4\xff\xe1\xff\x00\x00\x00\x00\xcd\xff\xfb\xff\xc9\xff\x00\x00\xd7\xff\x00\x00\xda\xff\xdb\xff\xd9\xff\xd8\xff\xf7\xff\xf9\xff\x00\x00\xf8\xff\xd3\xff\xc5\xff\xd2\xff\xc8\xff\x00\x00\xe6\xff\xe7\xff\xfe\xff\xcb\xff\xc4\xff\xde\xff\x00\x00\xf6\xff\xcc\xff\xc3\xff\xca\xff\xc6\xff\x00\x00\xe2\xff\xe3\xff\xc7\xff\xc2\xff\xe0\xff"#++happyCheck :: HappyAddr+happyCheck = HappyA# "\xff\xff\x02\x00\x11\x00\x16\x00\x17\x00\x06\x00\x15\x00\x08\x00\x17\x00\x06\x00\x0b\x00\x1a\x00\x18\x00\x0e\x00\x0f\x00\x10\x00\x11\x00\x12\x00\x13\x00\x14\x00\x15\x00\x16\x00\x17\x00\x18\x00\x19\x00\x02\x00\x15\x00\x0c\x00\x0c\x00\x06\x00\x16\x00\x08\x00\x18\x00\x19\x00\x0b\x00\x1b\x00\x12\x00\x0e\x00\x0f\x00\x10\x00\x11\x00\x12\x00\x13\x00\x1b\x00\x01\x00\x16\x00\x17\x00\x00\x00\x05\x00\x02\x00\x03\x00\x04\x00\x12\x00\x0c\x00\x0a\x00\x08\x00\x16\x00\x0a\x00\x0b\x00\x0c\x00\x0d\x00\x0a\x00\x0f\x00\x10\x00\x00\x00\x12\x00\x02\x00\x03\x00\x04\x00\x0a\x00\x01\x00\x0c\x00\x08\x00\x05\x00\x0a\x00\x0b\x00\x0c\x00\x0d\x00\x0d\x00\x0d\x00\x10\x00\x00\x00\x12\x00\x02\x00\x03\x00\x04\x00\x0a\x00\x03\x00\x07\x00\x08\x00\x12\x00\x0a\x00\x0b\x00\x0c\x00\x0d\x00\x03\x00\x03\x00\x03\x00\x00\x00\x12\x00\x02\x00\x03\x00\x04\x00\x0a\x00\x03\x00\x0c\x00\x08\x00\x03\x00\x0a\x00\x0b\x00\x0c\x00\x0d\x00\x07\x00\x04\x00\x0c\x00\x00\x00\x12\x00\x02\x00\x03\x00\x04\x00\x09\x00\x09\x00\xff\xff\x08\x00\xff\xff\x0a\x00\x0b\x00\x0c\x00\x0d\x00\xff\xff\xff\xff\xff\xff\x00\x00\x12\x00\x02\x00\x03\x00\x04\x00\xff\xff\xff\xff\xff\xff\x08\x00\xff\xff\x0a\x00\x0b\x00\x0c\x00\x0d\x00\xff\xff\xff\xff\xff\xff\x00\x00\x12\x00\x02\x00\x03\x00\x04\x00\xff\xff\xff\xff\xff\xff\x08\x00\xff\xff\x0a\x00\x0b\x00\x0c\x00\x0d\x00\xff\xff\x01\x00\xff\xff\xff\xff\x12\x00\x05\x00\x02\x00\x03\x00\x04\x00\x09\x00\xff\xff\xff\xff\x08\x00\x06\x00\x0a\x00\x0b\x00\x0c\x00\x0d\x00\xff\xff\x13\x00\xff\xff\x0e\x00\x12\x00\x02\x00\x03\x00\x04\x00\xff\xff\x14\x00\xff\xff\x08\x00\x0d\x00\x0a\x00\x0b\x00\x0c\x00\x0d\x00\xff\xff\xff\xff\x03\x00\x04\x00\x12\x00\xff\xff\x18\x00\x19\x00\x1a\x00\x0a\x00\x0b\x00\x0c\x00\x0d\x00\x03\x00\x04\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\x0a\x00\x0b\x00\x0c\x00\x0d\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff"#++happyTable :: HappyAddr+happyTable = HappyA# "\x00\x00\x0d\x00\x40\x00\x31\x00\x32\x00\x0e\x00\x41\x00\x0f\x00\x42\x00\x54\x00\x10\x00\x43\x00\x55\x00\x11\x00\x12\x00\x13\x00\x14\x00\x15\x00\x16\x00\x23\x00\x24\x00\x17\x00\x18\x00\x25\x00\x26\x00\x0d\x00\x49\x00\x1a\x00\x1a\x00\x0e\x00\x4d\x00\x0f\x00\x4e\x00\x4f\x00\x10\x00\x50\x00\x38\x00\x11\x00\x12\x00\x13\x00\x14\x00\x15\x00\x16\x00\xff\xff\x32\x00\x17\x00\x18\x00\x1d\x00\x29\x00\x03\x00\x04\x00\x05\x00\x1c\x00\x1a\x00\x52\x00\x06\x00\x1d\x00\x07\x00\x08\x00\x09\x00\x0a\x00\x45\x00\x1e\x00\x1f\x00\x1d\x00\x0b\x00\x03\x00\x04\x00\x05\x00\x45\x00\x4c\x00\x1a\x00\x06\x00\x4d\x00\x07\x00\x08\x00\x09\x00\x0a\x00\x53\x00\x54\x00\x4a\x00\x20\x00\x0b\x00\x03\x00\x04\x00\x05\x00\x52\x00\x39\x00\x21\x00\x06\x00\x38\x00\x07\x00\x08\x00\x09\x00\x0a\x00\x3a\x00\x3e\x00\x3b\x00\x56\x00\x0b\x00\x03\x00\x04\x00\x05\x00\x3f\x00\x3c\x00\x1a\x00\x06\x00\x3d\x00\x07\x00\x08\x00\x09\x00\x0a\x00\x40\x00\x28\x00\x1a\x00\x48\x00\x0b\x00\x03\x00\x04\x00\x05\x00\x46\x00\x47\x00\x00\x00\x06\x00\x00\x00\x07\x00\x08\x00\x09\x00\x0a\x00\x00\x00\x00\x00\x00\x00\x02\x00\x0b\x00\x03\x00\x04\x00\x05\x00\x00\x00\x00\x00\x00\x00\x06\x00\x00\x00\x07\x00\x08\x00\x09\x00\x0a\x00\x00\x00\x00\x00\x00\x00\x18\x00\x0b\x00\x03\x00\x04\x00\x05\x00\x00\x00\x00\x00\x00\x00\x06\x00\x00\x00\x07\x00\x08\x00\x09\x00\x0a\x00\x00\x00\x28\x00\x00\x00\x00\x00\x0b\x00\x29\x00\x33\x00\x04\x00\x05\x00\x2a\x00\x00\x00\x00\x00\x06\x00\x34\x00\x07\x00\x08\x00\x09\x00\x0a\x00\x00\x00\x2b\x00\x00\x00\x35\x00\x0b\x00\x47\x00\x04\x00\x05\x00\x00\x00\x36\x00\x00\x00\x06\x00\x2d\x00\x07\x00\x08\x00\x09\x00\x0a\x00\x00\x00\x00\x00\x1a\x00\x05\x00\x0b\x00\x00\x00\x2e\x00\x2f\x00\x30\x00\x07\x00\x08\x00\x09\x00\x0a\x00\x26\x00\x05\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x07\x00\x08\x00\x09\x00\x0a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"#++happyReduceArr = Happy_Data_Array.array (1, 61) [+ (1 , happyReduce_1),+ (2 , happyReduce_2),+ (3 , happyReduce_3),+ (4 , happyReduce_4),+ (5 , happyReduce_5),+ (6 , happyReduce_6),+ (7 , happyReduce_7),+ (8 , happyReduce_8),+ (9 , happyReduce_9),+ (10 , happyReduce_10),+ (11 , happyReduce_11),+ (12 , happyReduce_12),+ (13 , happyReduce_13),+ (14 , happyReduce_14),+ (15 , happyReduce_15),+ (16 , happyReduce_16),+ (17 , happyReduce_17),+ (18 , happyReduce_18),+ (19 , happyReduce_19),+ (20 , happyReduce_20),+ (21 , happyReduce_21),+ (22 , happyReduce_22),+ (23 , happyReduce_23),+ (24 , happyReduce_24),+ (25 , happyReduce_25),+ (26 , happyReduce_26),+ (27 , happyReduce_27),+ (28 , happyReduce_28),+ (29 , happyReduce_29),+ (30 , happyReduce_30),+ (31 , happyReduce_31),+ (32 , happyReduce_32),+ (33 , happyReduce_33),+ (34 , happyReduce_34),+ (35 , happyReduce_35),+ (36 , happyReduce_36),+ (37 , happyReduce_37),+ (38 , happyReduce_38),+ (39 , happyReduce_39),+ (40 , happyReduce_40),+ (41 , happyReduce_41),+ (42 , happyReduce_42),+ (43 , happyReduce_43),+ (44 , happyReduce_44),+ (45 , happyReduce_45),+ (46 , happyReduce_46),+ (47 , happyReduce_47),+ (48 , happyReduce_48),+ (49 , happyReduce_49),+ (50 , happyReduce_50),+ (51 , happyReduce_51),+ (52 , happyReduce_52),+ (53 , happyReduce_53),+ (54 , happyReduce_54),+ (55 , happyReduce_55),+ (56 , happyReduce_56),+ (57 , happyReduce_57),+ (58 , happyReduce_58),+ (59 , happyReduce_59),+ (60 , happyReduce_60),+ (61 , happyReduce_61)+ ]++happy_n_terms = 28 :: Int+happy_n_nonterms = 28 :: Int++happyReduce_1 = happySpecReduce_3 0# happyReduction_1+happyReduction_1 happy_x_3+ happy_x_2+ happy_x_1+ = case happyOut4 happy_x_1 of { happy_var_1 -> + case happyOut6 happy_x_3 of { happy_var_3 -> + happyIn4+ (Ratio happy_var_1 happy_var_3+ )}}++happyReduce_2 = happySpecReduce_1 0# happyReduction_2+happyReduction_2 happy_x_1+ = case happyOut6 happy_x_1 of { happy_var_1 -> + happyIn4+ (happy_var_1+ )}++happyReduce_3 = happySpecReduce_2 0# happyReduction_3+happyReduction_3 happy_x_2+ happy_x_1+ = case happyOut6 happy_x_1 of { happy_var_1 -> + case happyOut13 happy_x_2 of { happy_var_2 -> + happyIn4+ (InfixCons happy_var_1 happy_var_2+ )}}++happyReduce_4 = happySpecReduce_2 1# happyReduction_4+happyReduction_4 happy_x_2+ happy_x_1+ = case happyOut9 happy_x_1 of { happy_var_1 -> + case happyOut6 happy_x_2 of { happy_var_2 -> + happyIn5+ ((happy_var_1,happy_var_2)+ )}}++happyReduce_5 = happySpecReduce_1 2# happyReduction_5+happyReduction_5 happy_x_1+ = case happyOut12 happy_x_1 of { happy_var_1 -> + happyIn6+ (mkValue happy_var_1+ )}++happyReduce_6 = happySpecReduce_3 3# happyReduction_6+happyReduction_6 happy_x_3+ happy_x_2+ happy_x_1+ = case happyOut4 happy_x_2 of { happy_var_2 -> + happyIn7+ (happy_var_2+ )}++happyReduce_7 = happySpecReduce_3 3# happyReduction_7+happyReduction_7 happy_x_3+ happy_x_2+ happy_x_1+ = case happyOut19 happy_x_2 of { happy_var_2 -> + happyIn7+ (List happy_var_2+ )}++happyReduce_8 = happySpecReduce_3 3# happyReduction_8+happyReduction_8 happy_x_3+ happy_x_2+ happy_x_1+ = case happyOut11 happy_x_2 of { happy_var_2 -> + happyIn7+ (Tuple happy_var_2+ )}++happyReduce_9 = happyReduce 4# 3# happyReduction_9+happyReduction_9 (happy_x_4 `HappyStk`+ happy_x_3 `HappyStk`+ happy_x_2 `HappyStk`+ happy_x_1 `HappyStk`+ happyRest)+ = case happyOut8 happy_x_1 of { happy_var_1 -> + case happyOut18 happy_x_3 of { happy_var_3 -> + happyIn7+ (Rec happy_var_1 happy_var_3+ ) `HappyStk` happyRest}}++happyReduce_10 = happySpecReduce_1 3# happyReduction_10+happyReduction_10 happy_x_1+ = case happyOut8 happy_x_1 of { happy_var_1 -> + happyIn7+ (Con happy_var_1 []+ )}++happyReduce_11 = happySpecReduce_1 3# happyReduction_11+happyReduction_11 happy_x_1+ = case happyOutTok happy_x_1 of { ((IntLit, (_,happy_var_1))) -> + happyIn7+ (Integer happy_var_1+ )}++happyReduce_12 = happySpecReduce_1 3# happyReduction_12+happyReduction_12 happy_x_1+ = case happyOutTok happy_x_1 of { ((FloatLit, (_,happy_var_1))) -> + happyIn7+ (Float happy_var_1+ )}++happyReduce_13 = happySpecReduce_1 3# happyReduction_13+happyReduction_13 happy_x_1+ = case happyOutTok happy_x_1 of { ((StringLit, (_,happy_var_1))) -> + happyIn7+ (String happy_var_1+ )}++happyReduce_14 = happySpecReduce_1 3# happyReduction_14+happyReduction_14 happy_x_1+ = case happyOutTok happy_x_1 of { ((CharLit, (_,happy_var_1))) -> + happyIn7+ (Char happy_var_1+ )}++happyReduce_15 = happySpecReduce_2 3# happyReduction_15+happyReduction_15 happy_x_2+ happy_x_1+ = case happyOut7 happy_x_2 of { happy_var_2 -> + happyIn7+ (Neg happy_var_2+ )}++happyReduce_16 = happySpecReduce_1 4# happyReduction_16+happyReduction_16 happy_x_1+ = case happyOutTok happy_x_1 of { ((Conid, (_,happy_var_1))) -> + happyIn8+ (happy_var_1+ )}++happyReduce_17 = happySpecReduce_1 4# happyReduction_17+happyReduction_17 happy_x_1+ = case happyOutTok happy_x_1 of { ((Qconid, (_,happy_var_1))) -> + happyIn8+ (happy_var_1+ )}++happyReduce_18 = happySpecReduce_1 4# happyReduction_18+happyReduction_18 happy_x_1+ = case happyOut14 happy_x_1 of { happy_var_1 -> + happyIn8+ (happy_var_1+ )}++happyReduce_19 = happySpecReduce_1 4# happyReduction_19+happyReduction_19 happy_x_1+ = case happyOut15 happy_x_1 of { happy_var_1 -> + happyIn8+ (happy_var_1+ )}++happyReduce_20 = happySpecReduce_1 4# happyReduction_20+happyReduction_20 happy_x_1+ = case happyOutTok happy_x_1 of { ((Varid, (_,happy_var_1))) -> + happyIn8+ (happy_var_1+ )}++happyReduce_21 = happySpecReduce_1 4# happyReduction_21+happyReduction_21 happy_x_1+ = case happyOutTok happy_x_1 of { ((Qvarid, (_,happy_var_1))) -> + happyIn8+ (happy_var_1+ )}++happyReduce_22 = happySpecReduce_1 4# happyReduction_22+happyReduction_22 happy_x_1+ = case happyOut17 happy_x_1 of { happy_var_1 -> + happyIn8+ (happy_var_1+ )}++happyReduce_23 = happySpecReduce_1 4# happyReduction_23+happyReduction_23 happy_x_1+ = case happyOut16 happy_x_1 of { happy_var_1 -> + happyIn8+ (happy_var_1+ )}++happyReduce_24 = happySpecReduce_3 4# happyReduction_24+happyReduction_24 happy_x_3+ happy_x_2+ happy_x_1+ = case happyOutTok happy_x_2 of { ((Varid, (_,happy_var_2))) -> + happyIn8+ ("<" ++ happy_var_2 ++ ">"+ )}++happyReduce_25 = happySpecReduce_3 4# happyReduction_25+happyReduction_25 happy_x_3+ happy_x_2+ happy_x_1+ = case happyOutTok happy_x_2 of { ((Conid, (_,happy_var_2))) -> + happyIn8+ ("<" ++ happy_var_2 ++ ">"+ )}++happyReduce_26 = happySpecReduce_1 5# happyReduction_26+happyReduction_26 happy_x_1+ = case happyOutTok happy_x_1 of { ((Consym, (_,happy_var_1))) -> + happyIn9+ (happy_var_1+ )}++happyReduce_27 = happySpecReduce_1 5# happyReduction_27+happyReduction_27 happy_x_1+ = case happyOutTok happy_x_1 of { ((Qconsym, (_,happy_var_1))) -> + happyIn9+ (happy_var_1+ )}++happyReduce_28 = happySpecReduce_3 5# happyReduction_28+happyReduction_28 happy_x_3+ happy_x_2+ happy_x_1+ = case happyOutTok happy_x_2 of { ((Conid, (_,happy_var_2))) -> + happyIn9+ (backtick happy_var_2+ )}++happyReduce_29 = happySpecReduce_3 5# happyReduction_29+happyReduction_29 happy_x_3+ happy_x_2+ happy_x_1+ = case happyOutTok happy_x_2 of { ((Qconid, (_,happy_var_2))) -> + happyIn9+ (backtick happy_var_2+ )}++happyReduce_30 = happySpecReduce_1 5# happyReduction_30+happyReduction_30 happy_x_1+ = case happyOutTok happy_x_1 of { ((Reservedop, (_,happy_var_1))) -> + happyIn9+ (happy_var_1+ )}++happyReduce_31 = happySpecReduce_3 6# happyReduction_31+happyReduction_31 happy_x_3+ happy_x_2+ happy_x_1+ = case happyOutTok happy_x_1 of { ((Varid, (_,happy_var_1))) -> + case happyOut4 happy_x_3 of { happy_var_3 -> + happyIn10+ ((happy_var_1,happy_var_3)+ )}}++happyReduce_32 = happySpecReduce_0 7# happyReduction_32+happyReduction_32 = happyIn11+ ([]+ )++happyReduce_33 = happySpecReduce_3 7# happyReduction_33+happyReduction_33 happy_x_3+ happy_x_2+ happy_x_1+ = case happyOut4 happy_x_1 of { happy_var_1 -> + case happyOut20 happy_x_3 of { happy_var_3 -> + happyIn11+ (happy_var_1 : happy_var_3+ )}}++happyReduce_34 = happySpecReduce_1 8# happyReduction_34+happyReduction_34 happy_x_1+ = case happyOut22 happy_x_1 of { happy_var_1 -> + happyIn12+ (reverse happy_var_1+ )}++happyReduce_35 = happySpecReduce_1 9# happyReduction_35+happyReduction_35 happy_x_1+ = case happyOut23 happy_x_1 of { happy_var_1 -> + happyIn13+ (reverse happy_var_1+ )}++happyReduce_36 = happySpecReduce_3 10# happyReduction_36+happyReduction_36 happy_x_3+ happy_x_2+ happy_x_1+ = case happyOutTok happy_x_2 of { ((Consym, (_,happy_var_2))) -> + happyIn14+ ("(" ++ happy_var_2 ++ ")"+ )}++happyReduce_37 = happySpecReduce_3 11# happyReduction_37+happyReduction_37 happy_x_3+ happy_x_2+ happy_x_1+ = case happyOutTok happy_x_2 of { ((Qconsym, (_,happy_var_2))) -> + happyIn15+ ("(" ++ happy_var_2 ++ ")"+ )}++happyReduce_38 = happySpecReduce_3 12# happyReduction_38+happyReduction_38 happy_x_3+ happy_x_2+ happy_x_1+ = case happyOutTok happy_x_2 of { ((Qvarsym, (_,happy_var_2))) -> + happyIn16+ ("(" ++ happy_var_2 ++ ")"+ )}++happyReduce_39 = happySpecReduce_3 13# happyReduction_39+happyReduction_39 happy_x_3+ happy_x_2+ happy_x_1+ = case happyOutTok happy_x_2 of { ((Varsym, (_,happy_var_2))) -> + happyIn17+ ("(" ++ happy_var_2 ++ ")"+ )}++happyReduce_40 = happySpecReduce_1 14# happyReduction_40+happyReduction_40 happy_x_1+ = case happyOut24 happy_x_1 of { happy_var_1 -> + happyIn18+ (happy_var_1+ )}++happyReduce_41 = happySpecReduce_0 14# happyReduction_41+happyReduction_41 = happyIn18+ ([]+ )++happyReduce_42 = happySpecReduce_1 15# happyReduction_42+happyReduction_42 happy_x_1+ = case happyOut20 happy_x_1 of { happy_var_1 -> + happyIn19+ (happy_var_1+ )}++happyReduce_43 = happySpecReduce_0 15# happyReduction_43+happyReduction_43 = happyIn19+ ([]+ )++happyReduce_44 = happySpecReduce_2 16# happyReduction_44+happyReduction_44 happy_x_2+ happy_x_1+ = case happyOut4 happy_x_1 of { happy_var_1 -> + case happyOut21 happy_x_2 of { happy_var_2 -> + happyIn20+ (happy_var_1 : happy_var_2+ )}}++happyReduce_45 = happySpecReduce_1 17# happyReduction_45+happyReduction_45 happy_x_1+ = case happyOut27 happy_x_1 of { happy_var_1 -> + happyIn21+ (happy_var_1+ )}++happyReduce_46 = happySpecReduce_0 17# happyReduction_46+happyReduction_46 = happyIn21+ ([]+ )++happyReduce_47 = happySpecReduce_1 18# happyReduction_47+happyReduction_47 happy_x_1+ = case happyOut7 happy_x_1 of { happy_var_1 -> + happyIn22+ ([happy_var_1]+ )}++happyReduce_48 = happySpecReduce_2 18# happyReduction_48+happyReduction_48 happy_x_2+ happy_x_1+ = case happyOut22 happy_x_1 of { happy_var_1 -> + case happyOut7 happy_x_2 of { happy_var_2 -> + happyIn22+ (happy_var_2 : happy_var_1+ )}}++happyReduce_49 = happySpecReduce_1 19# happyReduction_49+happyReduction_49 happy_x_1+ = case happyOut5 happy_x_1 of { happy_var_1 -> + happyIn23+ ([happy_var_1]+ )}++happyReduce_50 = happySpecReduce_2 19# happyReduction_50+happyReduction_50 happy_x_2+ happy_x_1+ = case happyOut23 happy_x_1 of { happy_var_1 -> + case happyOut5 happy_x_2 of { happy_var_2 -> + happyIn23+ (happy_var_2 : happy_var_1+ )}}++happyReduce_51 = happySpecReduce_2 20# happyReduction_51+happyReduction_51 happy_x_2+ happy_x_1+ = case happyOut10 happy_x_1 of { happy_var_1 -> + case happyOut26 happy_x_2 of { happy_var_2 -> + happyIn24+ (happy_var_1 : happy_var_2+ )}}++happyReduce_52 = happySpecReduce_2 21# happyReduction_52+happyReduction_52 happy_x_2+ happy_x_1+ = case happyOut4 happy_x_2 of { happy_var_2 -> + happyIn25+ (happy_var_2+ )}++happyReduce_53 = happySpecReduce_1 22# happyReduction_53+happyReduction_53 happy_x_1+ = case happyOut29 happy_x_1 of { happy_var_1 -> + happyIn26+ (happy_var_1+ )}++happyReduce_54 = happySpecReduce_0 22# happyReduction_54+happyReduction_54 = happyIn26+ ([]+ )++happyReduce_55 = happySpecReduce_1 23# happyReduction_55+happyReduction_55 happy_x_1+ = case happyOut30 happy_x_1 of { happy_var_1 -> + happyIn27+ (reverse happy_var_1+ )}++happyReduce_56 = happySpecReduce_2 24# happyReduction_56+happyReduction_56 happy_x_2+ happy_x_1+ = case happyOut10 happy_x_2 of { happy_var_2 -> + happyIn28+ (happy_var_2+ )}++happyReduce_57 = happySpecReduce_1 25# happyReduction_57+happyReduction_57 happy_x_1+ = case happyOut31 happy_x_1 of { happy_var_1 -> + happyIn29+ (reverse happy_var_1+ )}++happyReduce_58 = happySpecReduce_1 26# happyReduction_58+happyReduction_58 happy_x_1+ = case happyOut25 happy_x_1 of { happy_var_1 -> + happyIn30+ ([happy_var_1]+ )}++happyReduce_59 = happySpecReduce_2 26# happyReduction_59+happyReduction_59 happy_x_2+ happy_x_1+ = case happyOut30 happy_x_1 of { happy_var_1 -> + case happyOut25 happy_x_2 of { happy_var_2 -> + happyIn30+ (happy_var_2 : happy_var_1+ )}}++happyReduce_60 = happySpecReduce_1 27# happyReduction_60+happyReduction_60 happy_x_1+ = case happyOut28 happy_x_1 of { happy_var_1 -> + happyIn31+ ([happy_var_1]+ )}++happyReduce_61 = happySpecReduce_2 27# happyReduction_61+happyReduction_61 happy_x_2+ happy_x_1+ = case happyOut31 happy_x_1 of { happy_var_1 -> + case happyOut28 happy_x_2 of { happy_var_2 -> + happyIn31+ (happy_var_2 : happy_var_1+ )}}++happyNewToken action sts stk [] =+ happyDoAction 27# notHappyAtAll action sts stk []++happyNewToken action sts stk (tk:tks) =+ let cont i = happyDoAction i tk action sts stk tks in+ case tk of {+ (Reservedop, (_,"=")) -> cont 1#;+ (Special, (_,"(")) -> cont 2#;+ (Special, (_,")")) -> cont 3#;+ (Special, (_,"{")) -> cont 4#;+ (Special, (_,"}")) -> cont 5#;+ (Special, (_,"[")) -> cont 6#;+ (Special, (_,"]")) -> cont 7#;+ (Varsym, (_,"<")) -> cont 8#;+ (Varsym, (_,">")) -> cont 9#;+ (Special, (_,",")) -> cont 10#;+ (Varsym, (_,"-")) -> cont 11#;+ (Varsym, (_,"%")) -> cont 12#;+ (Special, (_,"`")) -> cont 13#;+ (IntLit, (_,happy_dollar_dollar)) -> cont 14#;+ (FloatLit, (_,happy_dollar_dollar)) -> cont 15#;+ (StringLit, (_,happy_dollar_dollar)) -> cont 16#;+ (CharLit, (_,happy_dollar_dollar)) -> cont 17#;+ (Varid, (_,happy_dollar_dollar)) -> cont 18#;+ (Qvarid, (_,happy_dollar_dollar)) -> cont 19#;+ (Varsym, (_,happy_dollar_dollar)) -> cont 20#;+ (Qvarsym, (_,happy_dollar_dollar)) -> cont 21#;+ (Conid, (_,happy_dollar_dollar)) -> cont 22#;+ (Qconid, (_,happy_dollar_dollar)) -> cont 23#;+ (Consym, (_,happy_dollar_dollar)) -> cont 24#;+ (Qconsym, (_,happy_dollar_dollar)) -> cont 25#;+ (Reservedop, (_,happy_dollar_dollar)) -> cont 26#;+ _ -> happyError' (tk:tks)+ }++happyError_ 27# tk tks = happyError' tks+happyError_ _ tk tks = happyError' (tk:tks)++happyThen :: () => Maybe a -> (a -> Maybe b) -> Maybe b+happyThen = ((>>=))+happyReturn :: () => a -> Maybe a+happyReturn = (return)+happyThen1 m k tks = ((>>=)) m (\a -> k a tks)+happyReturn1 :: () => a -> b -> Maybe a+happyReturn1 = \a tks -> (return) a+happyError' :: () => [(PosToken)] -> Maybe a+happyError' = happyError++parseValue tks = happySomeParser where+ happySomeParser = happyThen (happyParse 0# tks) (\x -> happyReturn (happyOut4 x))++happySeq = happyDontSeq+++backtick :: String -> String+backtick s = "`" ++ s ++ "`"++happyError :: [PosToken] -> Maybe a+happyError ((_,(p,_)) : _) = Nothing -- error ("Parser error at: " ++ show p)+happyError [] = Nothing -- error ("Parser error at EOF")++mkValue :: [Value] -> Value+mkValue [v] = v+mkValue (Con x [] : vs) = Con x vs+mkValue vs = Con "" vs+{-# LINE 1 "templates/GenericTemplate.hs" #-}+{-# LINE 1 "templates/GenericTemplate.hs" #-}+{-# LINE 1 "<built-in>" #-}+{-# LINE 1 "<command-line>" #-}+{-# LINE 11 "<command-line>" #-}+# 1 "/usr/include/stdc-predef.h" 1 3 4++# 17 "/usr/include/stdc-predef.h" 3 4++++++++++++++++++++++++++++++++++++++++++++{-# LINE 11 "<command-line>" #-}+{-# LINE 1 "/home/diatchki/tools/ghc-8.0.1/lib/ghc-8.0.1/include/ghcversion.h" #-}++++++++++++++++++{-# LINE 11 "<command-line>" #-}+{-# LINE 1 "/tmp/ghc17638_0/ghc_2.h" #-}+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
pretty-show.cabal view
@@ -1,5 +1,5 @@ name: pretty-show-version: 1.6.12+version: 1.6.13 category: Text synopsis: Tools for working with derived `Show` instances and generic@@ -59,7 +59,7 @@ hs-source-dirs: bin build-depends: base >= 4.5 && < 5,- pretty-show == 1.6.12+ pretty-show == 1.6.13 ghc-options: -Wall source-repository head