summaryrefslogtreecommitdiff
path: root/testsuite/tests/generics/GenDerivOutput.stderr
blob: 3e1f1751780784505f843d4f16cb51cc76c8a486 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232

==================== Derived instances ====================
Derived class instances:
  instance GHC.Generics.Generic (GenDerivOutput.List a) where
    GHC.Generics.from x
      = GHC.Generics.M1
          (case x of
             GenDerivOutput.Nil
               -> GHC.Generics.L1 (GHC.Generics.M1 GHC.Generics.U1)
             GenDerivOutput.Cons g1 g2
               -> GHC.Generics.R1
                    (GHC.Generics.M1
                       ((GHC.Generics.:*:)
                          (GHC.Generics.M1 (GHC.Generics.K1 g1))
                          (GHC.Generics.M1 (GHC.Generics.K1 g2)))))
    GHC.Generics.to (GHC.Generics.M1 x)
      = case x of
          (GHC.Generics.L1 (GHC.Generics.M1 GHC.Generics.U1))
            -> GenDerivOutput.Nil
          (GHC.Generics.R1 (GHC.Generics.M1 ((GHC.Generics.:*:) (GHC.Generics.M1 (GHC.Generics.K1 g1))
                                                                (GHC.Generics.M1 (GHC.Generics.K1 g2)))))
            -> GenDerivOutput.Cons g1 g2
  
  instance GHC.Generics.Generic1 GenDerivOutput.List where
    GHC.Generics.from1 x
      = GHC.Generics.M1
          (case x of
             GenDerivOutput.Nil
               -> GHC.Generics.L1 (GHC.Generics.M1 GHC.Generics.U1)
             GenDerivOutput.Cons g1 g2
               -> GHC.Generics.R1
                    (GHC.Generics.M1
                       ((GHC.Generics.:*:)
                          (GHC.Generics.M1 (GHC.Generics.Par1 g1))
                          (GHC.Generics.M1 (GHC.Generics.Rec1 g2)))))
    GHC.Generics.to1 (GHC.Generics.M1 x)
      = case x of
          (GHC.Generics.L1 (GHC.Generics.M1 GHC.Generics.U1))
            -> GenDerivOutput.Nil
          (GHC.Generics.R1 (GHC.Generics.M1 ((GHC.Generics.:*:) (GHC.Generics.M1 g1)
                                                                (GHC.Generics.M1 g2))))
            -> GenDerivOutput.Cons
                 (GHC.Generics.unPar1 g1) (GHC.Generics.unRec1 g2)
  
  instance GHC.Base.Functor GenDerivOutput.List where
    GHC.Base.fmap f GenDerivOutput.Nil = GenDerivOutput.Nil
    GHC.Base.fmap f (GenDerivOutput.Cons a1 a2)
      = GenDerivOutput.Cons (f a1) (GHC.Base.fmap f a2)
  
  instance GHC.Generics.Generic (GenDerivOutput.Rose a) where
    GHC.Generics.from x
      = GHC.Generics.M1
          (case x of
             GenDerivOutput.Empty
               -> GHC.Generics.L1 (GHC.Generics.M1 GHC.Generics.U1)
             GenDerivOutput.Rose g1 g2
               -> GHC.Generics.R1
                    (GHC.Generics.M1
                       ((GHC.Generics.:*:)
                          (GHC.Generics.M1 (GHC.Generics.K1 g1))
                          (GHC.Generics.M1 (GHC.Generics.K1 g2)))))
    GHC.Generics.to (GHC.Generics.M1 x)
      = case x of
          (GHC.Generics.L1 (GHC.Generics.M1 GHC.Generics.U1))
            -> GenDerivOutput.Empty
          (GHC.Generics.R1 (GHC.Generics.M1 ((GHC.Generics.:*:) (GHC.Generics.M1 (GHC.Generics.K1 g1))
                                                                (GHC.Generics.M1 (GHC.Generics.K1 g2)))))
            -> GenDerivOutput.Rose g1 g2
  
  instance GHC.Generics.Generic1 GenDerivOutput.Rose where
    GHC.Generics.from1 x
      = GHC.Generics.M1
          (case x of
             GenDerivOutput.Empty
               -> GHC.Generics.L1 (GHC.Generics.M1 GHC.Generics.U1)
             GenDerivOutput.Rose g1 g2
               -> GHC.Generics.R1
                    (GHC.Generics.M1
                       ((GHC.Generics.:*:)
                          (GHC.Generics.M1 (GHC.Generics.Par1 g1))
                          (GHC.Generics.M1
                             ((GHC.Base..)
                                GHC.Generics.Comp1 (GHC.Base.fmap GHC.Generics.Rec1) g2)))))
    GHC.Generics.to1 (GHC.Generics.M1 x)
      = case x of
          (GHC.Generics.L1 (GHC.Generics.M1 GHC.Generics.U1))
            -> GenDerivOutput.Empty
          (GHC.Generics.R1 (GHC.Generics.M1 ((GHC.Generics.:*:) (GHC.Generics.M1 g1)
                                                                (GHC.Generics.M1 g2))))
            -> GenDerivOutput.Rose
                 (GHC.Generics.unPar1 g1)
                 ((GHC.Base..)
                    (GHC.Base.fmap GHC.Generics.unRec1) GHC.Generics.unComp1 g2)
  

Derived type family instances:
  type GHC.Generics.Rep (GenDerivOutput.List a) = GHC.Generics.D1
                                                    ('GHC.Generics.MetaData
                                                       "List"
                                                       "GenDerivOutput"
                                                       "main"
                                                       'GHC.Types.False)
                                                    (GHC.Generics.C1
                                                       ('GHC.Generics.MetaCons
                                                          "Nil"
                                                          'GHC.Generics.PrefixI
                                                          'GHC.Types.False)
                                                       GHC.Generics.U1
                                                     GHC.Generics.:+: GHC.Generics.C1
                                                                        ('GHC.Generics.MetaCons
                                                                           "Cons"
                                                                           'GHC.Generics.PrefixI
                                                                           'GHC.Types.True)
                                                                        (GHC.Generics.S1
                                                                           ('GHC.Generics.MetaSel
                                                                              ('GHC.Base.Just
                                                                                 "element")
                                                                              'GHC.Generics.NoSourceUnpackedness
                                                                              'GHC.Generics.NoSourceStrictness
                                                                              'GHC.Generics.DecidedLazy)
                                                                           (GHC.Generics.Rec0 a)
                                                                         GHC.Generics.:*: GHC.Generics.S1
                                                                                            ('GHC.Generics.MetaSel
                                                                                               ('GHC.Base.Just
                                                                                                  "rest")
                                                                                               'GHC.Generics.NoSourceUnpackedness
                                                                                               'GHC.Generics.NoSourceStrictness
                                                                                               'GHC.Generics.DecidedLazy)
                                                                                            (GHC.Generics.Rec0
                                                                                               (GenDerivOutput.List
                                                                                                  a))))
  type GHC.Generics.Rep1 GenDerivOutput.List = GHC.Generics.D1
                                                 ('GHC.Generics.MetaData
                                                    "List" "GenDerivOutput" "main" 'GHC.Types.False)
                                                 (GHC.Generics.C1
                                                    ('GHC.Generics.MetaCons
                                                       "Nil" 'GHC.Generics.PrefixI 'GHC.Types.False)
                                                    GHC.Generics.U1
                                                  GHC.Generics.:+: GHC.Generics.C1
                                                                     ('GHC.Generics.MetaCons
                                                                        "Cons"
                                                                        'GHC.Generics.PrefixI
                                                                        'GHC.Types.True)
                                                                     (GHC.Generics.S1
                                                                        ('GHC.Generics.MetaSel
                                                                           ('GHC.Base.Just
                                                                              "element")
                                                                           'GHC.Generics.NoSourceUnpackedness
                                                                           'GHC.Generics.NoSourceStrictness
                                                                           'GHC.Generics.DecidedLazy)
                                                                        GHC.Generics.Par1
                                                                      GHC.Generics.:*: GHC.Generics.S1
                                                                                         ('GHC.Generics.MetaSel
                                                                                            ('GHC.Base.Just
                                                                                               "rest")
                                                                                            'GHC.Generics.NoSourceUnpackedness
                                                                                            'GHC.Generics.NoSourceStrictness
                                                                                            'GHC.Generics.DecidedLazy)
                                                                                         (GHC.Generics.Rec1
                                                                                            GenDerivOutput.List)))
  type GHC.Generics.Rep (GenDerivOutput.Rose a) = GHC.Generics.D1
                                                    ('GHC.Generics.MetaData
                                                       "Rose"
                                                       "GenDerivOutput"
                                                       "main"
                                                       'GHC.Types.False)
                                                    (GHC.Generics.C1
                                                       ('GHC.Generics.MetaCons
                                                          "Empty"
                                                          'GHC.Generics.PrefixI
                                                          'GHC.Types.False)
                                                       GHC.Generics.U1
                                                     GHC.Generics.:+: GHC.Generics.C1
                                                                        ('GHC.Generics.MetaCons
                                                                           "Rose"
                                                                           'GHC.Generics.PrefixI
                                                                           'GHC.Types.False)
                                                                        (GHC.Generics.S1
                                                                           ('GHC.Generics.MetaSel
                                                                              'GHC.Base.Nothing
                                                                              'GHC.Generics.NoSourceUnpackedness
                                                                              'GHC.Generics.NoSourceStrictness
                                                                              'GHC.Generics.DecidedLazy)
                                                                           (GHC.Generics.Rec0 a)
                                                                         GHC.Generics.:*: GHC.Generics.S1
                                                                                            ('GHC.Generics.MetaSel
                                                                                               'GHC.Base.Nothing
                                                                                               'GHC.Generics.NoSourceUnpackedness
                                                                                               'GHC.Generics.NoSourceStrictness
                                                                                               'GHC.Generics.DecidedLazy)
                                                                                            (GHC.Generics.Rec0
                                                                                               (GenDerivOutput.List
                                                                                                  (GenDerivOutput.Rose
                                                                                                     a)))))
  type GHC.Generics.Rep1 GenDerivOutput.Rose = GHC.Generics.D1
                                                 ('GHC.Generics.MetaData
                                                    "Rose" "GenDerivOutput" "main" 'GHC.Types.False)
                                                 (GHC.Generics.C1
                                                    ('GHC.Generics.MetaCons
                                                       "Empty"
                                                       'GHC.Generics.PrefixI
                                                       'GHC.Types.False)
                                                    GHC.Generics.U1
                                                  GHC.Generics.:+: GHC.Generics.C1
                                                                     ('GHC.Generics.MetaCons
                                                                        "Rose"
                                                                        'GHC.Generics.PrefixI
                                                                        'GHC.Types.False)
                                                                     (GHC.Generics.S1
                                                                        ('GHC.Generics.MetaSel
                                                                           'GHC.Base.Nothing
                                                                           'GHC.Generics.NoSourceUnpackedness
                                                                           'GHC.Generics.NoSourceStrictness
                                                                           'GHC.Generics.DecidedLazy)
                                                                        GHC.Generics.Par1
                                                                      GHC.Generics.:*: GHC.Generics.S1
                                                                                         ('GHC.Generics.MetaSel
                                                                                            'GHC.Base.Nothing
                                                                                            'GHC.Generics.NoSourceUnpackedness
                                                                                            'GHC.Generics.NoSourceStrictness
                                                                                            'GHC.Generics.DecidedLazy)
                                                                                         (GenDerivOutput.List
                                                                                          GHC.Generics.:.: GHC.Generics.Rec1
                                                                                                             GenDerivOutput.Rose)))



==================== Filling in method body ====================
GHC.Base.Functor [GenDerivOutput.List]
  GHC.Base.<$ = GHC.Base.$dm<$ @GenDerivOutput.List