Grammar 0 $accept: gk_start $end 1 gk_start: gk_prog 2 gk_prog: gk_module 3 gk_module: gk_f gk_CLASS gk_id gk_exports gk_imports gk_CBEG gk_f ag_topdecl_star gk_j gk_j 4 gk_exports: gk_f ag_export_star gk_j 5 | gk_EXPORT_EVERYTHING 6 gk_export: gk_id 7 gk_imports: gk_f ag_import_star gk_j 8 gk_import: gk_id 9 gk_type_class: gk_f gk_TYPE_CLASS ag_context_opt gk_type gk_f ag_type_class_decl_star gk_j gk_j 10 gk_topdecl: gk_decl 11 | gk_data 12 | gk_type_synonym 13 | gk_newtype 14 | gk_instance 15 | gk_type_class 16 gk_type_class_decl: gk_type_signature 17 | gk_decl 18 gk_type_signature: gk_f gk_TYSIG gk_name gk_ret_type_and_params gk_j 19 gk_instance: gk_f gk_INSTANCE gk_id gk_simpletype gk_decls gk_j 20 gk_newtype: gk_f gk_NEWTYPE gk_simpletype gk_type ag_deriving_opt gk_j 21 gk_deriving: gk_DERIVING gk_f ag_id_non_plus gk_j 22 gk_id_non: gk_id 23 gk_type_synonym: gk_f gk_TYPE_SYNONYM gk_simpletype gk_type gk_j 24 gk_data: gk_f gk_DATA gk_simpletype gk_constrs ag_deriving_opt gk_j 25 gk_simpletype: gk_f ag_id_non_plus gk_j 26 gk_constrs: gk_f ag_constr_star gk_j 27 gk_field_type_and_param: gk_f gk_param gk_type gk_j 28 gk_type_and_param: gk_f gk_param gk_type gk_j 29 gk_constr: gk_positional_constructor 30 | gk_field_label_constructor 31 gk_field_label_constructor: gk_f gk_type_ctor gk_FIELD gk_f ag_field_type_and_param_star gk_j gk_j 32 gk_decls: ag_decl_star 33 gk_context: gk_CONTEXT gk_f ag_a_context_plus gk_j 34 gk_a_context: gk_f gk_id gk_id gk_j 35 gk_ret_type_and_params: ag_context_opt gk_type gk_f ag_type_and_param_star gk_j 36 gk_decl: gk_f gk_FUN gk_name gk_ret_type_and_params gk_expr gk_j 37 | gk_f gk_FUN gk_name gk_NO_SIG gk_ret_type_and_params gk_expr gk_j 38 gk_name: gk_id 39 gk_positional_constructor: gk_f gk_type_ctor ag_typepls_opt gk_j 40 | gk_f gk_TUPLE ag_type_plus gk_j 41 gk_pattern: gk_f gk_pattern_ctor ag_pattern_star gk_j 42 | gk_f gk_pattern_ctor gk_FPAT gk_f ag_fpat_star gk_j gk_j 43 | gk_f gk_PTUPLE ag_pattern_plus gk_j 44 | gk_f gk_PLIST ag_pattern_plus gk_j 45 | gk_f gk_PCHAR gk_astring gk_j 46 | gk_f gk_PSTRING gk_astring gk_j 47 | gk_f gk_AS gk_id gk_pattern gk_j 48 gk_pattern_ctor: gk_id 49 | gk_CONS 50 | gk_NIL 51 gk_fpat: gk_f gk_id gk_pattern gk_j 52 gk_type: gk_f gk_FN gk_ret_type_and_params gk_j 53 | gk_UNIT 54 | gk_positional_constructor 55 gk_typepls: ag_paren_type_plus 56 gk_paren_type: gk_type 57 | gk_f gk_STRICT gk_type gk_j 58 | gk_f gk_GENERIC gk_id gk_j 59 gk_type_ctor: gk_id 60 | gk_LIST 61 | gk_NONDET 62 gk_param: gk_id 63 gk_qastring: gk_astring 64 gk_expr: gk_id 65 | gk_MCONS 66 | gk_f gk_PIPE ag_expr_star gk_j 67 | gk_f gk_CC ag_expr_star gk_j 68 | gk_qastring 69 | gk_f gk_LIT gk_astring gk_j 70 | gk_f gk_TY gk_type gk_expr gk_j 71 | gk_f gk_expr ag_expr_star gk_j 72 | gk_f gk_DO ag_stmt_star gk_j 73 | gk_f gk_CASE gk_expr ag_alt_star gk_j 74 | gk_f gk_WHERE gk_expr ag_decl_star gk_j 75 | gk_f gk_CFD gk_id ag_assignments_star gk_j 76 | gk_f gk_COMPOSE ag_expr_plus gk_j 77 | gk_f gk_MLIST ag_expr_star gk_j 78 | gk_f gk_CONS_LIST ag_expr_star gk_j 79 | gk_f gk_MTUPLE ag_expr_star gk_j 80 | gk_NOTHING 81 gk_assignments: gk_f gk_id gk_expr gk_j 82 gk_stmt: gk_expr 83 | gk_f gk_HEXTOKEN__3A3D gk_id gk_expr gk_j 84 gk_alt: gk_f gk_pattern gk_expr gk_j 85 ag_a_context_plus: ag_a_context_star gk_a_context 86 ag_a_context_star: /* empty */ 87 | ag_a_context_star gk_a_context 88 ag_alt_star: /* empty */ 89 | ag_alt_star gk_alt 90 ag_assignments_star: /* empty */ 91 | ag_assignments_star gk_assignments 92 ag_constr_star: /* empty */ 93 | ag_constr_star gk_constr 94 ag_context_opt: /* empty */ 95 | gk_context 96 ag_decl_star: /* empty */ 97 | ag_decl_star gk_decl 98 ag_deriving_opt: /* empty */ 99 | gk_deriving 100 ag_export_star: /* empty */ 101 | ag_export_star gk_export 102 ag_expr_plus: ag_expr_star gk_expr 103 ag_expr_star: /* empty */ 104 | ag_expr_star gk_expr 105 ag_field_type_and_param_star: /* empty */ 106 | ag_field_type_and_param_star gk_field_type_and_param 107 ag_fpat_star: /* empty */ 108 | ag_fpat_star gk_fpat 109 ag_id_non_plus: ag_id_non_star gk_id_non 110 ag_id_non_star: /* empty */ 111 | ag_id_non_star gk_id_non 112 ag_import_star: /* empty */ 113 | ag_import_star gk_import 114 ag_paren_type_plus: ag_paren_type_star gk_paren_type 115 ag_paren_type_star: /* empty */ 116 | ag_paren_type_star gk_paren_type 117 ag_pattern_plus: ag_pattern_star gk_pattern 118 ag_pattern_star: /* empty */ 119 | ag_pattern_star gk_pattern 120 ag_stmt_star: /* empty */ 121 | ag_stmt_star gk_stmt 122 ag_topdecl_star: /* empty */ 123 | ag_topdecl_star gk_topdecl 124 ag_type_and_param_star: /* empty */ 125 | ag_type_and_param_star gk_type_and_param 126 ag_type_class_decl_star: /* empty */ 127 | ag_type_class_decl_star gk_type_class_decl 128 ag_type_plus: ag_type_star gk_type 129 ag_type_star: /* empty */ 130 | ag_type_star gk_type 131 ag_typepls_opt: /* empty */ 132 | gk_typepls Terminals, with rules where they appear $end (0) 0 error (256) gk_id (258) 3 6 8 19 22 34 38 47 48 51 58 59 62 64 75 81 83 gk_f (259) 3 4 7 9 18 19 20 21 23 24 25 26 27 28 31 33 34 35 36 37 39 40 41 42 43 44 45 46 47 51 52 57 58 66 67 69 70 71 72 73 74 75 76 77 78 79 81 83 84 gk_j (260) 3 4 7 9 18 19 20 21 23 24 25 26 27 28 31 33 34 35 36 37 39 40 41 42 43 44 45 46 47 51 52 57 58 66 67 69 70 71 72 73 74 75 76 77 78 79 81 83 84 gk_astring (261) 45 46 63 69 gk_AS (262) 47 gk_CASE (263) 73 gk_CBEG (264) 3 gk_CC (265) 67 gk_CFD (266) 75 gk_CLASS (267) 3 gk_COMPOSE (268) 76 gk_CONS (269) 49 gk_CONS_LIST (270) 78 gk_CONTEXT (271) 33 gk_DATA (272) 24 gk_DERIVING (273) 21 gk_DO (274) 72 gk_EXPORT_EVERYTHING (275) 5 gk_FIELD (276) 31 gk_FN (277) 52 gk_FPAT (278) 42 gk_FUN (279) 36 37 gk_GENERIC (280) 58 gk_HEXTOKEN__3A3D (281) 83 gk_INSTANCE (282) 19 gk_LIST (283) 60 gk_LIT (284) 69 gk_MCONS (285) 65 gk_MLIST (286) 77 gk_MTUPLE (287) 79 gk_NEWTYPE (288) 20 gk_NIL (289) 50 gk_NONDET (290) 61 gk_NOTHING (291) 80 gk_NO_SIG (292) 37 gk_PCHAR (293) 45 gk_PIPE (294) 66 gk_PLIST (295) 44 gk_PSTRING (296) 46 gk_PTUPLE (297) 43 gk_STRICT (298) 57 gk_TUPLE (299) 40 gk_TY (300) 70 gk_TYPE_CLASS (301) 9 gk_TYPE_SYNONYM (302) 23 gk_TYSIG (303) 18 gk_UNIT (304) 53 gk_WHERE (305) 74 Nonterminals, with rules where they appear $accept (51) on left: 0 gk_start (52) on left: 1, on right: 0 gk_prog (53) on left: 2, on right: 1 gk_module (54) on left: 3, on right: 2 gk_exports (55) on left: 4 5, on right: 3 gk_export (56) on left: 6, on right: 101 gk_imports (57) on left: 7, on right: 3 gk_import (58) on left: 8, on right: 113 gk_type_class (59) on left: 9, on right: 15 gk_topdecl (60) on left: 10 11 12 13 14 15, on right: 123 gk_type_class_decl (61) on left: 16 17, on right: 127 gk_type_signature (62) on left: 18, on right: 16 gk_instance (63) on left: 19, on right: 14 gk_newtype (64) on left: 20, on right: 13 gk_deriving (65) on left: 21, on right: 99 gk_id_non (66) on left: 22, on right: 109 111 gk_type_synonym (67) on left: 23, on right: 12 gk_data (68) on left: 24, on right: 11 gk_simpletype (69) on left: 25, on right: 19 20 23 24 gk_constrs (70) on left: 26, on right: 24 gk_field_type_and_param (71) on left: 27, on right: 106 gk_type_and_param (72) on left: 28, on right: 125 gk_constr (73) on left: 29 30, on right: 93 gk_field_label_constructor (74) on left: 31, on right: 30 gk_decls (75) on left: 32, on right: 19 gk_context (76) on left: 33, on right: 95 gk_a_context (77) on left: 34, on right: 85 87 gk_ret_type_and_params (78) on left: 35, on right: 18 36 37 52 gk_decl (79) on left: 36 37, on right: 10 17 97 gk_name (80) on left: 38, on right: 18 36 37 gk_positional_constructor (81) on left: 39 40, on right: 29 54 gk_pattern (82) on left: 41 42 43 44 45 46 47, on right: 47 51 84 117 119 gk_pattern_ctor (83) on left: 48 49 50, on right: 41 42 gk_fpat (84) on left: 51, on right: 108 gk_type (85) on left: 52 53 54, on right: 9 20 23 27 28 35 56 57 70 128 130 gk_typepls (86) on left: 55, on right: 132 gk_paren_type (87) on left: 56 57 58, on right: 114 116 gk_type_ctor (88) on left: 59 60 61, on right: 31 39 gk_param (89) on left: 62, on right: 27 28 gk_qastring (90) on left: 63, on right: 68 gk_expr (91) on left: 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80, on right: 36 37 70 71 73 74 81 82 83 84 102 104 gk_assignments (92) on left: 81, on right: 91 gk_stmt (93) on left: 82 83, on right: 121 gk_alt (94) on left: 84, on right: 89 ag_a_context_plus (95) on left: 85, on right: 33 ag_a_context_star (96) on left: 86 87, on right: 85 87 ag_alt_star (97) on left: 88 89, on right: 73 89 ag_assignments_star (98) on left: 90 91, on right: 75 91 ag_constr_star (99) on left: 92 93, on right: 26 93 ag_context_opt (100) on left: 94 95, on right: 9 35 ag_decl_star (101) on left: 96 97, on right: 32 74 97 ag_deriving_opt (102) on left: 98 99, on right: 20 24 ag_export_star (103) on left: 100 101, on right: 4 101 ag_expr_plus (104) on left: 102, on right: 76 ag_expr_star (105) on left: 103 104, on right: 66 67 71 77 78 79 102 104 ag_field_type_and_param_star (106) on left: 105 106, on right: 31 106 ag_fpat_star (107) on left: 107 108, on right: 42 108 ag_id_non_plus (108) on left: 109, on right: 21 25 ag_id_non_star (109) on left: 110 111, on right: 109 111 ag_import_star (110) on left: 112 113, on right: 7 113 ag_paren_type_plus (111) on left: 114, on right: 55 ag_paren_type_star (112) on left: 115 116, on right: 114 116 ag_pattern_plus (113) on left: 117, on right: 43 44 ag_pattern_star (114) on left: 118 119, on right: 41 117 119 ag_stmt_star (115) on left: 120 121, on right: 72 121 ag_topdecl_star (116) on left: 122 123, on right: 3 123 ag_type_and_param_star (117) on left: 124 125, on right: 35 125 ag_type_class_decl_star (118) on left: 126 127, on right: 9 127 ag_type_plus (119) on left: 128, on right: 40 ag_type_star (120) on left: 129 130, on right: 128 130 ag_typepls_opt (121) on left: 131 132, on right: 39 state 0 0 $accept: . gk_start $end gk_f shift, and go to state 1 gk_start go to state 2 gk_prog go to state 3 gk_module go to state 4 state 1 3 gk_module: gk_f . gk_CLASS gk_id gk_exports gk_imports gk_CBEG gk_f ag_topdecl_star gk_j gk_j gk_CLASS shift, and go to state 5 state 2 0 $accept: gk_start . $end $end shift, and go to state 6 state 3 1 gk_start: gk_prog . $default reduce using rule 1 (gk_start) state 4 2 gk_prog: gk_module . $default reduce using rule 2 (gk_prog) state 5 3 gk_module: gk_f gk_CLASS . gk_id gk_exports gk_imports gk_CBEG gk_f ag_topdecl_star gk_j gk_j gk_id shift, and go to state 7 state 6 0 $accept: gk_start $end . $default accept state 7 3 gk_module: gk_f gk_CLASS gk_id . gk_exports gk_imports gk_CBEG gk_f ag_topdecl_star gk_j gk_j gk_f shift, and go to state 8 gk_EXPORT_EVERYTHING shift, and go to state 9 gk_exports go to state 10 state 8 4 gk_exports: gk_f . ag_export_star gk_j $default reduce using rule 100 (ag_export_star) ag_export_star go to state 11 state 9 5 gk_exports: gk_EXPORT_EVERYTHING . $default reduce using rule 5 (gk_exports) state 10 3 gk_module: gk_f gk_CLASS gk_id gk_exports . gk_imports gk_CBEG gk_f ag_topdecl_star gk_j gk_j gk_f shift, and go to state 12 gk_imports go to state 13 state 11 4 gk_exports: gk_f ag_export_star . gk_j 101 ag_export_star: ag_export_star . gk_export gk_id shift, and go to state 14 gk_j shift, and go to state 15 gk_export go to state 16 state 12 7 gk_imports: gk_f . ag_import_star gk_j $default reduce using rule 112 (ag_import_star) ag_import_star go to state 17 state 13 3 gk_module: gk_f gk_CLASS gk_id gk_exports gk_imports . gk_CBEG gk_f ag_topdecl_star gk_j gk_j gk_CBEG shift, and go to state 18 state 14 6 gk_export: gk_id . $default reduce using rule 6 (gk_export) state 15 4 gk_exports: gk_f ag_export_star gk_j . $default reduce using rule 4 (gk_exports) state 16 101 ag_export_star: ag_export_star gk_export . $default reduce using rule 101 (ag_export_star) state 17 7 gk_imports: gk_f ag_import_star . gk_j 113 ag_import_star: ag_import_star . gk_import gk_id shift, and go to state 19 gk_j shift, and go to state 20 gk_import go to state 21 state 18 3 gk_module: gk_f gk_CLASS gk_id gk_exports gk_imports gk_CBEG . gk_f ag_topdecl_star gk_j gk_j gk_f shift, and go to state 22 state 19 8 gk_import: gk_id . $default reduce using rule 8 (gk_import) state 20 7 gk_imports: gk_f ag_import_star gk_j . $default reduce using rule 7 (gk_imports) state 21 113 ag_import_star: ag_import_star gk_import . $default reduce using rule 113 (ag_import_star) state 22 3 gk_module: gk_f gk_CLASS gk_id gk_exports gk_imports gk_CBEG gk_f . ag_topdecl_star gk_j gk_j $default reduce using rule 122 (ag_topdecl_star) ag_topdecl_star go to state 23 state 23 3 gk_module: gk_f gk_CLASS gk_id gk_exports gk_imports gk_CBEG gk_f ag_topdecl_star . gk_j gk_j 123 ag_topdecl_star: ag_topdecl_star . gk_topdecl gk_f shift, and go to state 24 gk_j shift, and go to state 25 gk_type_class go to state 26 gk_topdecl go to state 27 gk_instance go to state 28 gk_newtype go to state 29 gk_type_synonym go to state 30 gk_data go to state 31 gk_decl go to state 32 state 24 9 gk_type_class: gk_f . gk_TYPE_CLASS ag_context_opt gk_type gk_f ag_type_class_decl_star gk_j gk_j 19 gk_instance: gk_f . gk_INSTANCE gk_id gk_simpletype gk_decls gk_j 20 gk_newtype: gk_f . gk_NEWTYPE gk_simpletype gk_type ag_deriving_opt gk_j 23 gk_type_synonym: gk_f . gk_TYPE_SYNONYM gk_simpletype gk_type gk_j 24 gk_data: gk_f . gk_DATA gk_simpletype gk_constrs ag_deriving_opt gk_j 36 gk_decl: gk_f . gk_FUN gk_name gk_ret_type_and_params gk_expr gk_j 37 | gk_f . gk_FUN gk_name gk_NO_SIG gk_ret_type_and_params gk_expr gk_j gk_DATA shift, and go to state 33 gk_FUN shift, and go to state 34 gk_INSTANCE shift, and go to state 35 gk_NEWTYPE shift, and go to state 36 gk_TYPE_CLASS shift, and go to state 37 gk_TYPE_SYNONYM shift, and go to state 38 state 25 3 gk_module: gk_f gk_CLASS gk_id gk_exports gk_imports gk_CBEG gk_f ag_topdecl_star gk_j . gk_j gk_j shift, and go to state 39 state 26 15 gk_topdecl: gk_type_class . $default reduce using rule 15 (gk_topdecl) state 27 123 ag_topdecl_star: ag_topdecl_star gk_topdecl . $default reduce using rule 123 (ag_topdecl_star) state 28 14 gk_topdecl: gk_instance . $default reduce using rule 14 (gk_topdecl) state 29 13 gk_topdecl: gk_newtype . $default reduce using rule 13 (gk_topdecl) state 30 12 gk_topdecl: gk_type_synonym . $default reduce using rule 12 (gk_topdecl) state 31 11 gk_topdecl: gk_data . $default reduce using rule 11 (gk_topdecl) state 32 10 gk_topdecl: gk_decl . $default reduce using rule 10 (gk_topdecl) state 33 24 gk_data: gk_f gk_DATA . gk_simpletype gk_constrs ag_deriving_opt gk_j gk_f shift, and go to state 40 gk_simpletype go to state 41 state 34 36 gk_decl: gk_f gk_FUN . gk_name gk_ret_type_and_params gk_expr gk_j 37 | gk_f gk_FUN . gk_name gk_NO_SIG gk_ret_type_and_params gk_expr gk_j gk_id shift, and go to state 42 gk_name go to state 43 state 35 19 gk_instance: gk_f gk_INSTANCE . gk_id gk_simpletype gk_decls gk_j gk_id shift, and go to state 44 state 36 20 gk_newtype: gk_f gk_NEWTYPE . gk_simpletype gk_type ag_deriving_opt gk_j gk_f shift, and go to state 40 gk_simpletype go to state 45 state 37 9 gk_type_class: gk_f gk_TYPE_CLASS . ag_context_opt gk_type gk_f ag_type_class_decl_star gk_j gk_j gk_CONTEXT shift, and go to state 46 $default reduce using rule 94 (ag_context_opt) gk_context go to state 47 ag_context_opt go to state 48 state 38 23 gk_type_synonym: gk_f gk_TYPE_SYNONYM . gk_simpletype gk_type gk_j gk_f shift, and go to state 40 gk_simpletype go to state 49 state 39 3 gk_module: gk_f gk_CLASS gk_id gk_exports gk_imports gk_CBEG gk_f ag_topdecl_star gk_j gk_j . $default reduce using rule 3 (gk_module) state 40 25 gk_simpletype: gk_f . ag_id_non_plus gk_j $default reduce using rule 110 (ag_id_non_star) ag_id_non_plus go to state 50 ag_id_non_star go to state 51 state 41 24 gk_data: gk_f gk_DATA gk_simpletype . gk_constrs ag_deriving_opt gk_j gk_f shift, and go to state 52 gk_constrs go to state 53 state 42 38 gk_name: gk_id . $default reduce using rule 38 (gk_name) state 43 36 gk_decl: gk_f gk_FUN gk_name . gk_ret_type_and_params gk_expr gk_j 37 | gk_f gk_FUN gk_name . gk_NO_SIG gk_ret_type_and_params gk_expr gk_j gk_CONTEXT shift, and go to state 46 gk_NO_SIG shift, and go to state 54 $default reduce using rule 94 (ag_context_opt) gk_context go to state 47 gk_ret_type_and_params go to state 55 ag_context_opt go to state 56 state 44 19 gk_instance: gk_f gk_INSTANCE gk_id . gk_simpletype gk_decls gk_j gk_f shift, and go to state 40 gk_simpletype go to state 57 state 45 20 gk_newtype: gk_f gk_NEWTYPE gk_simpletype . gk_type ag_deriving_opt gk_j gk_f shift, and go to state 58 gk_UNIT shift, and go to state 59 gk_positional_constructor go to state 60 gk_type go to state 61 state 46 33 gk_context: gk_CONTEXT . gk_f ag_a_context_plus gk_j gk_f shift, and go to state 62 state 47 95 ag_context_opt: gk_context . $default reduce using rule 95 (ag_context_opt) state 48 9 gk_type_class: gk_f gk_TYPE_CLASS ag_context_opt . gk_type gk_f ag_type_class_decl_star gk_j gk_j gk_f shift, and go to state 58 gk_UNIT shift, and go to state 59 gk_positional_constructor go to state 60 gk_type go to state 63 state 49 23 gk_type_synonym: gk_f gk_TYPE_SYNONYM gk_simpletype . gk_type gk_j gk_f shift, and go to state 58 gk_UNIT shift, and go to state 59 gk_positional_constructor go to state 60 gk_type go to state 64 state 50 25 gk_simpletype: gk_f ag_id_non_plus . gk_j gk_j shift, and go to state 65 state 51 109 ag_id_non_plus: ag_id_non_star . gk_id_non 111 ag_id_non_star: ag_id_non_star . gk_id_non gk_id shift, and go to state 66 gk_id_non go to state 67 state 52 26 gk_constrs: gk_f . ag_constr_star gk_j $default reduce using rule 92 (ag_constr_star) ag_constr_star go to state 68 state 53 24 gk_data: gk_f gk_DATA gk_simpletype gk_constrs . ag_deriving_opt gk_j gk_DERIVING shift, and go to state 69 $default reduce using rule 98 (ag_deriving_opt) gk_deriving go to state 70 ag_deriving_opt go to state 71 state 54 37 gk_decl: gk_f gk_FUN gk_name gk_NO_SIG . gk_ret_type_and_params gk_expr gk_j gk_CONTEXT shift, and go to state 46 $default reduce using rule 94 (ag_context_opt) gk_context go to state 47 gk_ret_type_and_params go to state 72 ag_context_opt go to state 56 state 55 36 gk_decl: gk_f gk_FUN gk_name gk_ret_type_and_params . gk_expr gk_j gk_id shift, and go to state 73 gk_f shift, and go to state 74 gk_astring shift, and go to state 75 gk_MCONS shift, and go to state 76 gk_NOTHING shift, and go to state 77 gk_qastring go to state 78 gk_expr go to state 79 state 56 35 gk_ret_type_and_params: ag_context_opt . gk_type gk_f ag_type_and_param_star gk_j gk_f shift, and go to state 58 gk_UNIT shift, and go to state 59 gk_positional_constructor go to state 60 gk_type go to state 80 state 57 19 gk_instance: gk_f gk_INSTANCE gk_id gk_simpletype . gk_decls gk_j $default reduce using rule 96 (ag_decl_star) gk_decls go to state 81 ag_decl_star go to state 82 state 58 39 gk_positional_constructor: gk_f . gk_type_ctor ag_typepls_opt gk_j 40 | gk_f . gk_TUPLE ag_type_plus gk_j 52 gk_type: gk_f . gk_FN gk_ret_type_and_params gk_j gk_id shift, and go to state 83 gk_FN shift, and go to state 84 gk_LIST shift, and go to state 85 gk_NONDET shift, and go to state 86 gk_TUPLE shift, and go to state 87 gk_type_ctor go to state 88 state 59 53 gk_type: gk_UNIT . $default reduce using rule 53 (gk_type) state 60 54 gk_type: gk_positional_constructor . $default reduce using rule 54 (gk_type) state 61 20 gk_newtype: gk_f gk_NEWTYPE gk_simpletype gk_type . ag_deriving_opt gk_j gk_DERIVING shift, and go to state 69 $default reduce using rule 98 (ag_deriving_opt) gk_deriving go to state 70 ag_deriving_opt go to state 89 state 62 33 gk_context: gk_CONTEXT gk_f . ag_a_context_plus gk_j $default reduce using rule 86 (ag_a_context_star) ag_a_context_plus go to state 90 ag_a_context_star go to state 91 state 63 9 gk_type_class: gk_f gk_TYPE_CLASS ag_context_opt gk_type . gk_f ag_type_class_decl_star gk_j gk_j gk_f shift, and go to state 92 state 64 23 gk_type_synonym: gk_f gk_TYPE_SYNONYM gk_simpletype gk_type . gk_j gk_j shift, and go to state 93 state 65 25 gk_simpletype: gk_f ag_id_non_plus gk_j . $default reduce using rule 25 (gk_simpletype) state 66 22 gk_id_non: gk_id . $default reduce using rule 22 (gk_id_non) state 67 109 ag_id_non_plus: ag_id_non_star gk_id_non . 111 ag_id_non_star: ag_id_non_star gk_id_non . gk_id reduce using rule 111 (ag_id_non_star) $default reduce using rule 109 (ag_id_non_plus) state 68 26 gk_constrs: gk_f ag_constr_star . gk_j 93 ag_constr_star: ag_constr_star . gk_constr gk_f shift, and go to state 94 gk_j shift, and go to state 95 gk_constr go to state 96 gk_field_label_constructor go to state 97 gk_positional_constructor go to state 98 state 69 21 gk_deriving: gk_DERIVING . gk_f ag_id_non_plus gk_j gk_f shift, and go to state 99 state 70 99 ag_deriving_opt: gk_deriving . $default reduce using rule 99 (ag_deriving_opt) state 71 24 gk_data: gk_f gk_DATA gk_simpletype gk_constrs ag_deriving_opt . gk_j gk_j shift, and go to state 100 state 72 37 gk_decl: gk_f gk_FUN gk_name gk_NO_SIG gk_ret_type_and_params . gk_expr gk_j gk_id shift, and go to state 73 gk_f shift, and go to state 74 gk_astring shift, and go to state 75 gk_MCONS shift, and go to state 76 gk_NOTHING shift, and go to state 77 gk_qastring go to state 78 gk_expr go to state 101 state 73 64 gk_expr: gk_id . $default reduce using rule 64 (gk_expr) state 74 66 gk_expr: gk_f . gk_PIPE ag_expr_star gk_j 67 | gk_f . gk_CC ag_expr_star gk_j 69 | gk_f . gk_LIT gk_astring gk_j 70 | gk_f . gk_TY gk_type gk_expr gk_j 71 | gk_f . gk_expr ag_expr_star gk_j 72 | gk_f . gk_DO ag_stmt_star gk_j 73 | gk_f . gk_CASE gk_expr ag_alt_star gk_j 74 | gk_f . gk_WHERE gk_expr ag_decl_star gk_j 75 | gk_f . gk_CFD gk_id ag_assignments_star gk_j 76 | gk_f . gk_COMPOSE ag_expr_plus gk_j 77 | gk_f . gk_MLIST ag_expr_star gk_j 78 | gk_f . gk_CONS_LIST ag_expr_star gk_j 79 | gk_f . gk_MTUPLE ag_expr_star gk_j gk_id shift, and go to state 73 gk_f shift, and go to state 74 gk_astring shift, and go to state 75 gk_CASE shift, and go to state 102 gk_CC shift, and go to state 103 gk_CFD shift, and go to state 104 gk_COMPOSE shift, and go to state 105 gk_CONS_LIST shift, and go to state 106 gk_DO shift, and go to state 107 gk_LIT shift, and go to state 108 gk_MCONS shift, and go to state 76 gk_MLIST shift, and go to state 109 gk_MTUPLE shift, and go to state 110 gk_NOTHING shift, and go to state 77 gk_PIPE shift, and go to state 111 gk_TY shift, and go to state 112 gk_WHERE shift, and go to state 113 gk_qastring go to state 78 gk_expr go to state 114 state 75 63 gk_qastring: gk_astring . $default reduce using rule 63 (gk_qastring) state 76 65 gk_expr: gk_MCONS . $default reduce using rule 65 (gk_expr) state 77 80 gk_expr: gk_NOTHING . $default reduce using rule 80 (gk_expr) state 78 68 gk_expr: gk_qastring . $default reduce using rule 68 (gk_expr) state 79 36 gk_decl: gk_f gk_FUN gk_name gk_ret_type_and_params gk_expr . gk_j gk_j shift, and go to state 115 state 80 35 gk_ret_type_and_params: ag_context_opt gk_type . gk_f ag_type_and_param_star gk_j gk_f shift, and go to state 116 state 81 19 gk_instance: gk_f gk_INSTANCE gk_id gk_simpletype gk_decls . gk_j gk_j shift, and go to state 117 state 82 32 gk_decls: ag_decl_star . 97 ag_decl_star: ag_decl_star . gk_decl gk_f shift, and go to state 118 $default reduce using rule 32 (gk_decls) gk_decl go to state 119 state 83 59 gk_type_ctor: gk_id . $default reduce using rule 59 (gk_type_ctor) state 84 52 gk_type: gk_f gk_FN . gk_ret_type_and_params gk_j gk_CONTEXT shift, and go to state 46 $default reduce using rule 94 (ag_context_opt) gk_context go to state 47 gk_ret_type_and_params go to state 120 ag_context_opt go to state 56 state 85 60 gk_type_ctor: gk_LIST . $default reduce using rule 60 (gk_type_ctor) state 86 61 gk_type_ctor: gk_NONDET . $default reduce using rule 61 (gk_type_ctor) state 87 40 gk_positional_constructor: gk_f gk_TUPLE . ag_type_plus gk_j $default reduce using rule 129 (ag_type_star) ag_type_plus go to state 121 ag_type_star go to state 122 state 88 39 gk_positional_constructor: gk_f gk_type_ctor . ag_typepls_opt gk_j gk_j reduce using rule 131 (ag_typepls_opt) $default reduce using rule 115 (ag_paren_type_star) gk_typepls go to state 123 ag_paren_type_plus go to state 124 ag_paren_type_star go to state 125 ag_typepls_opt go to state 126 state 89 20 gk_newtype: gk_f gk_NEWTYPE gk_simpletype gk_type ag_deriving_opt . gk_j gk_j shift, and go to state 127 state 90 33 gk_context: gk_CONTEXT gk_f ag_a_context_plus . gk_j gk_j shift, and go to state 128 state 91 85 ag_a_context_plus: ag_a_context_star . gk_a_context 87 ag_a_context_star: ag_a_context_star . gk_a_context gk_f shift, and go to state 129 gk_a_context go to state 130 state 92 9 gk_type_class: gk_f gk_TYPE_CLASS ag_context_opt gk_type gk_f . ag_type_class_decl_star gk_j gk_j $default reduce using rule 126 (ag_type_class_decl_star) ag_type_class_decl_star go to state 131 state 93 23 gk_type_synonym: gk_f gk_TYPE_SYNONYM gk_simpletype gk_type gk_j . $default reduce using rule 23 (gk_type_synonym) state 94 31 gk_field_label_constructor: gk_f . gk_type_ctor gk_FIELD gk_f ag_field_type_and_param_star gk_j gk_j 39 gk_positional_constructor: gk_f . gk_type_ctor ag_typepls_opt gk_j 40 | gk_f . gk_TUPLE ag_type_plus gk_j gk_id shift, and go to state 83 gk_LIST shift, and go to state 85 gk_NONDET shift, and go to state 86 gk_TUPLE shift, and go to state 87 gk_type_ctor go to state 132 state 95 26 gk_constrs: gk_f ag_constr_star gk_j . $default reduce using rule 26 (gk_constrs) state 96 93 ag_constr_star: ag_constr_star gk_constr . $default reduce using rule 93 (ag_constr_star) state 97 30 gk_constr: gk_field_label_constructor . $default reduce using rule 30 (gk_constr) state 98 29 gk_constr: gk_positional_constructor . $default reduce using rule 29 (gk_constr) state 99 21 gk_deriving: gk_DERIVING gk_f . ag_id_non_plus gk_j $default reduce using rule 110 (ag_id_non_star) ag_id_non_plus go to state 133 ag_id_non_star go to state 51 state 100 24 gk_data: gk_f gk_DATA gk_simpletype gk_constrs ag_deriving_opt gk_j . $default reduce using rule 24 (gk_data) state 101 37 gk_decl: gk_f gk_FUN gk_name gk_NO_SIG gk_ret_type_and_params gk_expr . gk_j gk_j shift, and go to state 134 state 102 73 gk_expr: gk_f gk_CASE . gk_expr ag_alt_star gk_j gk_id shift, and go to state 73 gk_f shift, and go to state 74 gk_astring shift, and go to state 75 gk_MCONS shift, and go to state 76 gk_NOTHING shift, and go to state 77 gk_qastring go to state 78 gk_expr go to state 135 state 103 67 gk_expr: gk_f gk_CC . ag_expr_star gk_j $default reduce using rule 103 (ag_expr_star) ag_expr_star go to state 136 state 104 75 gk_expr: gk_f gk_CFD . gk_id ag_assignments_star gk_j gk_id shift, and go to state 137 state 105 76 gk_expr: gk_f gk_COMPOSE . ag_expr_plus gk_j $default reduce using rule 103 (ag_expr_star) ag_expr_plus go to state 138 ag_expr_star go to state 139 state 106 78 gk_expr: gk_f gk_CONS_LIST . ag_expr_star gk_j $default reduce using rule 103 (ag_expr_star) ag_expr_star go to state 140 state 107 72 gk_expr: gk_f gk_DO . ag_stmt_star gk_j $default reduce using rule 120 (ag_stmt_star) ag_stmt_star go to state 141 state 108 69 gk_expr: gk_f gk_LIT . gk_astring gk_j gk_astring shift, and go to state 142 state 109 77 gk_expr: gk_f gk_MLIST . ag_expr_star gk_j $default reduce using rule 103 (ag_expr_star) ag_expr_star go to state 143 state 110 79 gk_expr: gk_f gk_MTUPLE . ag_expr_star gk_j $default reduce using rule 103 (ag_expr_star) ag_expr_star go to state 144 state 111 66 gk_expr: gk_f gk_PIPE . ag_expr_star gk_j $default reduce using rule 103 (ag_expr_star) ag_expr_star go to state 145 state 112 70 gk_expr: gk_f gk_TY . gk_type gk_expr gk_j gk_f shift, and go to state 58 gk_UNIT shift, and go to state 59 gk_positional_constructor go to state 60 gk_type go to state 146 state 113 74 gk_expr: gk_f gk_WHERE . gk_expr ag_decl_star gk_j gk_id shift, and go to state 73 gk_f shift, and go to state 74 gk_astring shift, and go to state 75 gk_MCONS shift, and go to state 76 gk_NOTHING shift, and go to state 77 gk_qastring go to state 78 gk_expr go to state 147 state 114 71 gk_expr: gk_f gk_expr . ag_expr_star gk_j $default reduce using rule 103 (ag_expr_star) ag_expr_star go to state 148 state 115 36 gk_decl: gk_f gk_FUN gk_name gk_ret_type_and_params gk_expr gk_j . $default reduce using rule 36 (gk_decl) state 116 35 gk_ret_type_and_params: ag_context_opt gk_type gk_f . ag_type_and_param_star gk_j $default reduce using rule 124 (ag_type_and_param_star) ag_type_and_param_star go to state 149 state 117 19 gk_instance: gk_f gk_INSTANCE gk_id gk_simpletype gk_decls gk_j . $default reduce using rule 19 (gk_instance) state 118 36 gk_decl: gk_f . gk_FUN gk_name gk_ret_type_and_params gk_expr gk_j 37 | gk_f . gk_FUN gk_name gk_NO_SIG gk_ret_type_and_params gk_expr gk_j gk_FUN shift, and go to state 34 state 119 97 ag_decl_star: ag_decl_star gk_decl . $default reduce using rule 97 (ag_decl_star) state 120 52 gk_type: gk_f gk_FN gk_ret_type_and_params . gk_j gk_j shift, and go to state 150 state 121 40 gk_positional_constructor: gk_f gk_TUPLE ag_type_plus . gk_j gk_j shift, and go to state 151 state 122 128 ag_type_plus: ag_type_star . gk_type 130 ag_type_star: ag_type_star . gk_type gk_f shift, and go to state 58 gk_UNIT shift, and go to state 59 gk_positional_constructor go to state 60 gk_type go to state 152 state 123 132 ag_typepls_opt: gk_typepls . $default reduce using rule 132 (ag_typepls_opt) state 124 55 gk_typepls: ag_paren_type_plus . $default reduce using rule 55 (gk_typepls) state 125 114 ag_paren_type_plus: ag_paren_type_star . gk_paren_type 116 ag_paren_type_star: ag_paren_type_star . gk_paren_type gk_f shift, and go to state 153 gk_UNIT shift, and go to state 59 gk_positional_constructor go to state 60 gk_type go to state 154 gk_paren_type go to state 155 state 126 39 gk_positional_constructor: gk_f gk_type_ctor ag_typepls_opt . gk_j gk_j shift, and go to state 156 state 127 20 gk_newtype: gk_f gk_NEWTYPE gk_simpletype gk_type ag_deriving_opt gk_j . $default reduce using rule 20 (gk_newtype) state 128 33 gk_context: gk_CONTEXT gk_f ag_a_context_plus gk_j . $default reduce using rule 33 (gk_context) state 129 34 gk_a_context: gk_f . gk_id gk_id gk_j gk_id shift, and go to state 157 state 130 85 ag_a_context_plus: ag_a_context_star gk_a_context . 87 ag_a_context_star: ag_a_context_star gk_a_context . gk_f reduce using rule 87 (ag_a_context_star) $default reduce using rule 85 (ag_a_context_plus) state 131 9 gk_type_class: gk_f gk_TYPE_CLASS ag_context_opt gk_type gk_f ag_type_class_decl_star . gk_j gk_j 127 ag_type_class_decl_star: ag_type_class_decl_star . gk_type_class_decl gk_f shift, and go to state 158 gk_j shift, and go to state 159 gk_type_class_decl go to state 160 gk_type_signature go to state 161 gk_decl go to state 162 state 132 31 gk_field_label_constructor: gk_f gk_type_ctor . gk_FIELD gk_f ag_field_type_and_param_star gk_j gk_j 39 gk_positional_constructor: gk_f gk_type_ctor . ag_typepls_opt gk_j gk_FIELD shift, and go to state 163 gk_j reduce using rule 131 (ag_typepls_opt) $default reduce using rule 115 (ag_paren_type_star) gk_typepls go to state 123 ag_paren_type_plus go to state 124 ag_paren_type_star go to state 125 ag_typepls_opt go to state 126 state 133 21 gk_deriving: gk_DERIVING gk_f ag_id_non_plus . gk_j gk_j shift, and go to state 164 state 134 37 gk_decl: gk_f gk_FUN gk_name gk_NO_SIG gk_ret_type_and_params gk_expr gk_j . $default reduce using rule 37 (gk_decl) state 135 73 gk_expr: gk_f gk_CASE gk_expr . ag_alt_star gk_j $default reduce using rule 88 (ag_alt_star) ag_alt_star go to state 165 state 136 67 gk_expr: gk_f gk_CC ag_expr_star . gk_j 104 ag_expr_star: ag_expr_star . gk_expr gk_id shift, and go to state 73 gk_f shift, and go to state 74 gk_j shift, and go to state 166 gk_astring shift, and go to state 75 gk_MCONS shift, and go to state 76 gk_NOTHING shift, and go to state 77 gk_qastring go to state 78 gk_expr go to state 167 state 137 75 gk_expr: gk_f gk_CFD gk_id . ag_assignments_star gk_j $default reduce using rule 90 (ag_assignments_star) ag_assignments_star go to state 168 state 138 76 gk_expr: gk_f gk_COMPOSE ag_expr_plus . gk_j gk_j shift, and go to state 169 state 139 102 ag_expr_plus: ag_expr_star . gk_expr 104 ag_expr_star: ag_expr_star . gk_expr gk_id shift, and go to state 73 gk_f shift, and go to state 74 gk_astring shift, and go to state 75 gk_MCONS shift, and go to state 76 gk_NOTHING shift, and go to state 77 gk_qastring go to state 78 gk_expr go to state 170 state 140 78 gk_expr: gk_f gk_CONS_LIST ag_expr_star . gk_j 104 ag_expr_star: ag_expr_star . gk_expr gk_id shift, and go to state 73 gk_f shift, and go to state 74 gk_j shift, and go to state 171 gk_astring shift, and go to state 75 gk_MCONS shift, and go to state 76 gk_NOTHING shift, and go to state 77 gk_qastring go to state 78 gk_expr go to state 167 state 141 72 gk_expr: gk_f gk_DO ag_stmt_star . gk_j 121 ag_stmt_star: ag_stmt_star . gk_stmt gk_id shift, and go to state 73 gk_f shift, and go to state 172 gk_j shift, and go to state 173 gk_astring shift, and go to state 75 gk_MCONS shift, and go to state 76 gk_NOTHING shift, and go to state 77 gk_qastring go to state 78 gk_expr go to state 174 gk_stmt go to state 175 state 142 69 gk_expr: gk_f gk_LIT gk_astring . gk_j gk_j shift, and go to state 176 state 143 77 gk_expr: gk_f gk_MLIST ag_expr_star . gk_j 104 ag_expr_star: ag_expr_star . gk_expr gk_id shift, and go to state 73 gk_f shift, and go to state 74 gk_j shift, and go to state 177 gk_astring shift, and go to state 75 gk_MCONS shift, and go to state 76 gk_NOTHING shift, and go to state 77 gk_qastring go to state 78 gk_expr go to state 167 state 144 79 gk_expr: gk_f gk_MTUPLE ag_expr_star . gk_j 104 ag_expr_star: ag_expr_star . gk_expr gk_id shift, and go to state 73 gk_f shift, and go to state 74 gk_j shift, and go to state 178 gk_astring shift, and go to state 75 gk_MCONS shift, and go to state 76 gk_NOTHING shift, and go to state 77 gk_qastring go to state 78 gk_expr go to state 167 state 145 66 gk_expr: gk_f gk_PIPE ag_expr_star . gk_j 104 ag_expr_star: ag_expr_star . gk_expr gk_id shift, and go to state 73 gk_f shift, and go to state 74 gk_j shift, and go to state 179 gk_astring shift, and go to state 75 gk_MCONS shift, and go to state 76 gk_NOTHING shift, and go to state 77 gk_qastring go to state 78 gk_expr go to state 167 state 146 70 gk_expr: gk_f gk_TY gk_type . gk_expr gk_j gk_id shift, and go to state 73 gk_f shift, and go to state 74 gk_astring shift, and go to state 75 gk_MCONS shift, and go to state 76 gk_NOTHING shift, and go to state 77 gk_qastring go to state 78 gk_expr go to state 180 state 147 74 gk_expr: gk_f gk_WHERE gk_expr . ag_decl_star gk_j $default reduce using rule 96 (ag_decl_star) ag_decl_star go to state 181 state 148 71 gk_expr: gk_f gk_expr ag_expr_star . gk_j 104 ag_expr_star: ag_expr_star . gk_expr gk_id shift, and go to state 73 gk_f shift, and go to state 74 gk_j shift, and go to state 182 gk_astring shift, and go to state 75 gk_MCONS shift, and go to state 76 gk_NOTHING shift, and go to state 77 gk_qastring go to state 78 gk_expr go to state 167 state 149 35 gk_ret_type_and_params: ag_context_opt gk_type gk_f ag_type_and_param_star . gk_j 125 ag_type_and_param_star: ag_type_and_param_star . gk_type_and_param gk_f shift, and go to state 183 gk_j shift, and go to state 184 gk_type_and_param go to state 185 state 150 52 gk_type: gk_f gk_FN gk_ret_type_and_params gk_j . $default reduce using rule 52 (gk_type) state 151 40 gk_positional_constructor: gk_f gk_TUPLE ag_type_plus gk_j . $default reduce using rule 40 (gk_positional_constructor) state 152 128 ag_type_plus: ag_type_star gk_type . 130 ag_type_star: ag_type_star gk_type . gk_j reduce using rule 128 (ag_type_plus) $default reduce using rule 130 (ag_type_star) state 153 39 gk_positional_constructor: gk_f . gk_type_ctor ag_typepls_opt gk_j 40 | gk_f . gk_TUPLE ag_type_plus gk_j 52 gk_type: gk_f . gk_FN gk_ret_type_and_params gk_j 57 gk_paren_type: gk_f . gk_STRICT gk_type gk_j 58 | gk_f . gk_GENERIC gk_id gk_j gk_id shift, and go to state 83 gk_FN shift, and go to state 84 gk_GENERIC shift, and go to state 186 gk_LIST shift, and go to state 85 gk_NONDET shift, and go to state 86 gk_STRICT shift, and go to state 187 gk_TUPLE shift, and go to state 87 gk_type_ctor go to state 88 state 154 56 gk_paren_type: gk_type . $default reduce using rule 56 (gk_paren_type) state 155 114 ag_paren_type_plus: ag_paren_type_star gk_paren_type . 116 ag_paren_type_star: ag_paren_type_star gk_paren_type . gk_j reduce using rule 114 (ag_paren_type_plus) $default reduce using rule 116 (ag_paren_type_star) state 156 39 gk_positional_constructor: gk_f gk_type_ctor ag_typepls_opt gk_j . $default reduce using rule 39 (gk_positional_constructor) state 157 34 gk_a_context: gk_f gk_id . gk_id gk_j gk_id shift, and go to state 188 state 158 18 gk_type_signature: gk_f . gk_TYSIG gk_name gk_ret_type_and_params gk_j 36 gk_decl: gk_f . gk_FUN gk_name gk_ret_type_and_params gk_expr gk_j 37 | gk_f . gk_FUN gk_name gk_NO_SIG gk_ret_type_and_params gk_expr gk_j gk_FUN shift, and go to state 34 gk_TYSIG shift, and go to state 189 state 159 9 gk_type_class: gk_f gk_TYPE_CLASS ag_context_opt gk_type gk_f ag_type_class_decl_star gk_j . gk_j gk_j shift, and go to state 190 state 160 127 ag_type_class_decl_star: ag_type_class_decl_star gk_type_class_decl . $default reduce using rule 127 (ag_type_class_decl_star) state 161 16 gk_type_class_decl: gk_type_signature . $default reduce using rule 16 (gk_type_class_decl) state 162 17 gk_type_class_decl: gk_decl . $default reduce using rule 17 (gk_type_class_decl) state 163 31 gk_field_label_constructor: gk_f gk_type_ctor gk_FIELD . gk_f ag_field_type_and_param_star gk_j gk_j gk_f shift, and go to state 191 state 164 21 gk_deriving: gk_DERIVING gk_f ag_id_non_plus gk_j . $default reduce using rule 21 (gk_deriving) state 165 73 gk_expr: gk_f gk_CASE gk_expr ag_alt_star . gk_j 89 ag_alt_star: ag_alt_star . gk_alt gk_f shift, and go to state 192 gk_j shift, and go to state 193 gk_alt go to state 194 state 166 67 gk_expr: gk_f gk_CC ag_expr_star gk_j . $default reduce using rule 67 (gk_expr) state 167 104 ag_expr_star: ag_expr_star gk_expr . $default reduce using rule 104 (ag_expr_star) state 168 75 gk_expr: gk_f gk_CFD gk_id ag_assignments_star . gk_j 91 ag_assignments_star: ag_assignments_star . gk_assignments gk_f shift, and go to state 195 gk_j shift, and go to state 196 gk_assignments go to state 197 state 169 76 gk_expr: gk_f gk_COMPOSE ag_expr_plus gk_j . $default reduce using rule 76 (gk_expr) state 170 102 ag_expr_plus: ag_expr_star gk_expr . 104 ag_expr_star: ag_expr_star gk_expr . gk_j reduce using rule 102 (ag_expr_plus) $default reduce using rule 104 (ag_expr_star) state 171 78 gk_expr: gk_f gk_CONS_LIST ag_expr_star gk_j . $default reduce using rule 78 (gk_expr) state 172 66 gk_expr: gk_f . gk_PIPE ag_expr_star gk_j 67 | gk_f . gk_CC ag_expr_star gk_j 69 | gk_f . gk_LIT gk_astring gk_j 70 | gk_f . gk_TY gk_type gk_expr gk_j 71 | gk_f . gk_expr ag_expr_star gk_j 72 | gk_f . gk_DO ag_stmt_star gk_j 73 | gk_f . gk_CASE gk_expr ag_alt_star gk_j 74 | gk_f . gk_WHERE gk_expr ag_decl_star gk_j 75 | gk_f . gk_CFD gk_id ag_assignments_star gk_j 76 | gk_f . gk_COMPOSE ag_expr_plus gk_j 77 | gk_f . gk_MLIST ag_expr_star gk_j 78 | gk_f . gk_CONS_LIST ag_expr_star gk_j 79 | gk_f . gk_MTUPLE ag_expr_star gk_j 83 gk_stmt: gk_f . gk_HEXTOKEN__3A3D gk_id gk_expr gk_j gk_id shift, and go to state 73 gk_f shift, and go to state 74 gk_astring shift, and go to state 75 gk_CASE shift, and go to state 102 gk_CC shift, and go to state 103 gk_CFD shift, and go to state 104 gk_COMPOSE shift, and go to state 105 gk_CONS_LIST shift, and go to state 106 gk_DO shift, and go to state 107 gk_HEXTOKEN__3A3D shift, and go to state 198 gk_LIT shift, and go to state 108 gk_MCONS shift, and go to state 76 gk_MLIST shift, and go to state 109 gk_MTUPLE shift, and go to state 110 gk_NOTHING shift, and go to state 77 gk_PIPE shift, and go to state 111 gk_TY shift, and go to state 112 gk_WHERE shift, and go to state 113 gk_qastring go to state 78 gk_expr go to state 114 state 173 72 gk_expr: gk_f gk_DO ag_stmt_star gk_j . $default reduce using rule 72 (gk_expr) state 174 82 gk_stmt: gk_expr . $default reduce using rule 82 (gk_stmt) state 175 121 ag_stmt_star: ag_stmt_star gk_stmt . $default reduce using rule 121 (ag_stmt_star) state 176 69 gk_expr: gk_f gk_LIT gk_astring gk_j . $default reduce using rule 69 (gk_expr) state 177 77 gk_expr: gk_f gk_MLIST ag_expr_star gk_j . $default reduce using rule 77 (gk_expr) state 178 79 gk_expr: gk_f gk_MTUPLE ag_expr_star gk_j . $default reduce using rule 79 (gk_expr) state 179 66 gk_expr: gk_f gk_PIPE ag_expr_star gk_j . $default reduce using rule 66 (gk_expr) state 180 70 gk_expr: gk_f gk_TY gk_type gk_expr . gk_j gk_j shift, and go to state 199 state 181 74 gk_expr: gk_f gk_WHERE gk_expr ag_decl_star . gk_j 97 ag_decl_star: ag_decl_star . gk_decl gk_f shift, and go to state 118 gk_j shift, and go to state 200 gk_decl go to state 119 state 182 71 gk_expr: gk_f gk_expr ag_expr_star gk_j . $default reduce using rule 71 (gk_expr) state 183 28 gk_type_and_param: gk_f . gk_param gk_type gk_j gk_id shift, and go to state 201 gk_param go to state 202 state 184 35 gk_ret_type_and_params: ag_context_opt gk_type gk_f ag_type_and_param_star gk_j . $default reduce using rule 35 (gk_ret_type_and_params) state 185 125 ag_type_and_param_star: ag_type_and_param_star gk_type_and_param . $default reduce using rule 125 (ag_type_and_param_star) state 186 58 gk_paren_type: gk_f gk_GENERIC . gk_id gk_j gk_id shift, and go to state 203 state 187 57 gk_paren_type: gk_f gk_STRICT . gk_type gk_j gk_f shift, and go to state 58 gk_UNIT shift, and go to state 59 gk_positional_constructor go to state 60 gk_type go to state 204 state 188 34 gk_a_context: gk_f gk_id gk_id . gk_j gk_j shift, and go to state 205 state 189 18 gk_type_signature: gk_f gk_TYSIG . gk_name gk_ret_type_and_params gk_j gk_id shift, and go to state 42 gk_name go to state 206 state 190 9 gk_type_class: gk_f gk_TYPE_CLASS ag_context_opt gk_type gk_f ag_type_class_decl_star gk_j gk_j . $default reduce using rule 9 (gk_type_class) state 191 31 gk_field_label_constructor: gk_f gk_type_ctor gk_FIELD gk_f . ag_field_type_and_param_star gk_j gk_j $default reduce using rule 105 (ag_field_type_and_param_star) ag_field_type_and_param_star go to state 207 state 192 84 gk_alt: gk_f . gk_pattern gk_expr gk_j gk_f shift, and go to state 208 gk_pattern go to state 209 state 193 73 gk_expr: gk_f gk_CASE gk_expr ag_alt_star gk_j . $default reduce using rule 73 (gk_expr) state 194 89 ag_alt_star: ag_alt_star gk_alt . $default reduce using rule 89 (ag_alt_star) state 195 81 gk_assignments: gk_f . gk_id gk_expr gk_j gk_id shift, and go to state 210 state 196 75 gk_expr: gk_f gk_CFD gk_id ag_assignments_star gk_j . $default reduce using rule 75 (gk_expr) state 197 91 ag_assignments_star: ag_assignments_star gk_assignments . $default reduce using rule 91 (ag_assignments_star) state 198 83 gk_stmt: gk_f gk_HEXTOKEN__3A3D . gk_id gk_expr gk_j gk_id shift, and go to state 211 state 199 70 gk_expr: gk_f gk_TY gk_type gk_expr gk_j . $default reduce using rule 70 (gk_expr) state 200 74 gk_expr: gk_f gk_WHERE gk_expr ag_decl_star gk_j . $default reduce using rule 74 (gk_expr) state 201 62 gk_param: gk_id . $default reduce using rule 62 (gk_param) state 202 28 gk_type_and_param: gk_f gk_param . gk_type gk_j gk_f shift, and go to state 58 gk_UNIT shift, and go to state 59 gk_positional_constructor go to state 60 gk_type go to state 212 state 203 58 gk_paren_type: gk_f gk_GENERIC gk_id . gk_j gk_j shift, and go to state 213 state 204 57 gk_paren_type: gk_f gk_STRICT gk_type . gk_j gk_j shift, and go to state 214 state 205 34 gk_a_context: gk_f gk_id gk_id gk_j . $default reduce using rule 34 (gk_a_context) state 206 18 gk_type_signature: gk_f gk_TYSIG gk_name . gk_ret_type_and_params gk_j gk_CONTEXT shift, and go to state 46 $default reduce using rule 94 (ag_context_opt) gk_context go to state 47 gk_ret_type_and_params go to state 215 ag_context_opt go to state 56 state 207 31 gk_field_label_constructor: gk_f gk_type_ctor gk_FIELD gk_f ag_field_type_and_param_star . gk_j gk_j 106 ag_field_type_and_param_star: ag_field_type_and_param_star . gk_field_type_and_param gk_f shift, and go to state 216 gk_j shift, and go to state 217 gk_field_type_and_param go to state 218 state 208 41 gk_pattern: gk_f . gk_pattern_ctor ag_pattern_star gk_j 42 | gk_f . gk_pattern_ctor gk_FPAT gk_f ag_fpat_star gk_j gk_j 43 | gk_f . gk_PTUPLE ag_pattern_plus gk_j 44 | gk_f . gk_PLIST ag_pattern_plus gk_j 45 | gk_f . gk_PCHAR gk_astring gk_j 46 | gk_f . gk_PSTRING gk_astring gk_j 47 | gk_f . gk_AS gk_id gk_pattern gk_j gk_id shift, and go to state 219 gk_AS shift, and go to state 220 gk_CONS shift, and go to state 221 gk_NIL shift, and go to state 222 gk_PCHAR shift, and go to state 223 gk_PLIST shift, and go to state 224 gk_PSTRING shift, and go to state 225 gk_PTUPLE shift, and go to state 226 gk_pattern_ctor go to state 227 state 209 84 gk_alt: gk_f gk_pattern . gk_expr gk_j gk_id shift, and go to state 73 gk_f shift, and go to state 74 gk_astring shift, and go to state 75 gk_MCONS shift, and go to state 76 gk_NOTHING shift, and go to state 77 gk_qastring go to state 78 gk_expr go to state 228 state 210 81 gk_assignments: gk_f gk_id . gk_expr gk_j gk_id shift, and go to state 73 gk_f shift, and go to state 74 gk_astring shift, and go to state 75 gk_MCONS shift, and go to state 76 gk_NOTHING shift, and go to state 77 gk_qastring go to state 78 gk_expr go to state 229 state 211 83 gk_stmt: gk_f gk_HEXTOKEN__3A3D gk_id . gk_expr gk_j gk_id shift, and go to state 73 gk_f shift, and go to state 74 gk_astring shift, and go to state 75 gk_MCONS shift, and go to state 76 gk_NOTHING shift, and go to state 77 gk_qastring go to state 78 gk_expr go to state 230 state 212 28 gk_type_and_param: gk_f gk_param gk_type . gk_j gk_j shift, and go to state 231 state 213 58 gk_paren_type: gk_f gk_GENERIC gk_id gk_j . $default reduce using rule 58 (gk_paren_type) state 214 57 gk_paren_type: gk_f gk_STRICT gk_type gk_j . $default reduce using rule 57 (gk_paren_type) state 215 18 gk_type_signature: gk_f gk_TYSIG gk_name gk_ret_type_and_params . gk_j gk_j shift, and go to state 232 state 216 27 gk_field_type_and_param: gk_f . gk_param gk_type gk_j gk_id shift, and go to state 201 gk_param go to state 233 state 217 31 gk_field_label_constructor: gk_f gk_type_ctor gk_FIELD gk_f ag_field_type_and_param_star gk_j . gk_j gk_j shift, and go to state 234 state 218 106 ag_field_type_and_param_star: ag_field_type_and_param_star gk_field_type_and_param . $default reduce using rule 106 (ag_field_type_and_param_star) state 219 48 gk_pattern_ctor: gk_id . $default reduce using rule 48 (gk_pattern_ctor) state 220 47 gk_pattern: gk_f gk_AS . gk_id gk_pattern gk_j gk_id shift, and go to state 235 state 221 49 gk_pattern_ctor: gk_CONS . $default reduce using rule 49 (gk_pattern_ctor) state 222 50 gk_pattern_ctor: gk_NIL . $default reduce using rule 50 (gk_pattern_ctor) state 223 45 gk_pattern: gk_f gk_PCHAR . gk_astring gk_j gk_astring shift, and go to state 236 state 224 44 gk_pattern: gk_f gk_PLIST . ag_pattern_plus gk_j $default reduce using rule 118 (ag_pattern_star) ag_pattern_plus go to state 237 ag_pattern_star go to state 238 state 225 46 gk_pattern: gk_f gk_PSTRING . gk_astring gk_j gk_astring shift, and go to state 239 state 226 43 gk_pattern: gk_f gk_PTUPLE . ag_pattern_plus gk_j $default reduce using rule 118 (ag_pattern_star) ag_pattern_plus go to state 240 ag_pattern_star go to state 238 state 227 41 gk_pattern: gk_f gk_pattern_ctor . ag_pattern_star gk_j 42 | gk_f gk_pattern_ctor . gk_FPAT gk_f ag_fpat_star gk_j gk_j gk_FPAT shift, and go to state 241 $default reduce using rule 118 (ag_pattern_star) ag_pattern_star go to state 242 state 228 84 gk_alt: gk_f gk_pattern gk_expr . gk_j gk_j shift, and go to state 243 state 229 81 gk_assignments: gk_f gk_id gk_expr . gk_j gk_j shift, and go to state 244 state 230 83 gk_stmt: gk_f gk_HEXTOKEN__3A3D gk_id gk_expr . gk_j gk_j shift, and go to state 245 state 231 28 gk_type_and_param: gk_f gk_param gk_type gk_j . $default reduce using rule 28 (gk_type_and_param) state 232 18 gk_type_signature: gk_f gk_TYSIG gk_name gk_ret_type_and_params gk_j . $default reduce using rule 18 (gk_type_signature) state 233 27 gk_field_type_and_param: gk_f gk_param . gk_type gk_j gk_f shift, and go to state 58 gk_UNIT shift, and go to state 59 gk_positional_constructor go to state 60 gk_type go to state 246 state 234 31 gk_field_label_constructor: gk_f gk_type_ctor gk_FIELD gk_f ag_field_type_and_param_star gk_j gk_j . $default reduce using rule 31 (gk_field_label_constructor) state 235 47 gk_pattern: gk_f gk_AS gk_id . gk_pattern gk_j gk_f shift, and go to state 208 gk_pattern go to state 247 state 236 45 gk_pattern: gk_f gk_PCHAR gk_astring . gk_j gk_j shift, and go to state 248 state 237 44 gk_pattern: gk_f gk_PLIST ag_pattern_plus . gk_j gk_j shift, and go to state 249 state 238 117 ag_pattern_plus: ag_pattern_star . gk_pattern 119 ag_pattern_star: ag_pattern_star . gk_pattern gk_f shift, and go to state 208 gk_pattern go to state 250 state 239 46 gk_pattern: gk_f gk_PSTRING gk_astring . gk_j gk_j shift, and go to state 251 state 240 43 gk_pattern: gk_f gk_PTUPLE ag_pattern_plus . gk_j gk_j shift, and go to state 252 state 241 42 gk_pattern: gk_f gk_pattern_ctor gk_FPAT . gk_f ag_fpat_star gk_j gk_j gk_f shift, and go to state 253 state 242 41 gk_pattern: gk_f gk_pattern_ctor ag_pattern_star . gk_j 119 ag_pattern_star: ag_pattern_star . gk_pattern gk_f shift, and go to state 208 gk_j shift, and go to state 254 gk_pattern go to state 255 state 243 84 gk_alt: gk_f gk_pattern gk_expr gk_j . $default reduce using rule 84 (gk_alt) state 244 81 gk_assignments: gk_f gk_id gk_expr gk_j . $default reduce using rule 81 (gk_assignments) state 245 83 gk_stmt: gk_f gk_HEXTOKEN__3A3D gk_id gk_expr gk_j . $default reduce using rule 83 (gk_stmt) state 246 27 gk_field_type_and_param: gk_f gk_param gk_type . gk_j gk_j shift, and go to state 256 state 247 47 gk_pattern: gk_f gk_AS gk_id gk_pattern . gk_j gk_j shift, and go to state 257 state 248 45 gk_pattern: gk_f gk_PCHAR gk_astring gk_j . $default reduce using rule 45 (gk_pattern) state 249 44 gk_pattern: gk_f gk_PLIST ag_pattern_plus gk_j . $default reduce using rule 44 (gk_pattern) state 250 117 ag_pattern_plus: ag_pattern_star gk_pattern . 119 ag_pattern_star: ag_pattern_star gk_pattern . gk_f reduce using rule 119 (ag_pattern_star) $default reduce using rule 117 (ag_pattern_plus) state 251 46 gk_pattern: gk_f gk_PSTRING gk_astring gk_j . $default reduce using rule 46 (gk_pattern) state 252 43 gk_pattern: gk_f gk_PTUPLE ag_pattern_plus gk_j . $default reduce using rule 43 (gk_pattern) state 253 42 gk_pattern: gk_f gk_pattern_ctor gk_FPAT gk_f . ag_fpat_star gk_j gk_j $default reduce using rule 107 (ag_fpat_star) ag_fpat_star go to state 258 state 254 41 gk_pattern: gk_f gk_pattern_ctor ag_pattern_star gk_j . $default reduce using rule 41 (gk_pattern) state 255 119 ag_pattern_star: ag_pattern_star gk_pattern . $default reduce using rule 119 (ag_pattern_star) state 256 27 gk_field_type_and_param: gk_f gk_param gk_type gk_j . $default reduce using rule 27 (gk_field_type_and_param) state 257 47 gk_pattern: gk_f gk_AS gk_id gk_pattern gk_j . $default reduce using rule 47 (gk_pattern) state 258 42 gk_pattern: gk_f gk_pattern_ctor gk_FPAT gk_f ag_fpat_star . gk_j gk_j 108 ag_fpat_star: ag_fpat_star . gk_fpat gk_f shift, and go to state 259 gk_j shift, and go to state 260 gk_fpat go to state 261 state 259 51 gk_fpat: gk_f . gk_id gk_pattern gk_j gk_id shift, and go to state 262 state 260 42 gk_pattern: gk_f gk_pattern_ctor gk_FPAT gk_f ag_fpat_star gk_j . gk_j gk_j shift, and go to state 263 state 261 108 ag_fpat_star: ag_fpat_star gk_fpat . $default reduce using rule 108 (ag_fpat_star) state 262 51 gk_fpat: gk_f gk_id . gk_pattern gk_j gk_f shift, and go to state 208 gk_pattern go to state 264 state 263 42 gk_pattern: gk_f gk_pattern_ctor gk_FPAT gk_f ag_fpat_star gk_j gk_j . $default reduce using rule 42 (gk_pattern) state 264 51 gk_fpat: gk_f gk_id gk_pattern . gk_j gk_j shift, and go to state 265 state 265 51 gk_fpat: gk_f gk_id gk_pattern gk_j . $default reduce using rule 51 (gk_fpat)