5f4e7e241dd8de81a5533eb7ff2a87e050417a6d
[ghc.git] / testsuite / tests / generics / GenDerivOutput1_1.stderr
1
2 ==================== Derived instances ====================
3 Derived class instances:
4   instance GHC.Generics.Generic1 CanDoRep1_1.Dd where
5     GHC.Generics.from1 x
6       = GHC.Generics.M1
7           (case x of
8              CanDoRep1_1.D0d
9                -> GHC.Generics.L1 (GHC.Generics.M1 GHC.Generics.U1)
10              CanDoRep1_1.D1d g1 g2
11                -> GHC.Generics.R1
12                     (GHC.Generics.M1
13                        ((GHC.Generics.:*:)
14                           (GHC.Generics.M1 (GHC.Generics.Par1 g1))
15                           (GHC.Generics.M1 (GHC.Generics.Rec1 g2)))))
16     GHC.Generics.to1 (GHC.Generics.M1 x)
17       = case x of
18           (GHC.Generics.L1 (GHC.Generics.M1 GHC.Generics.U1))
19             -> CanDoRep1_1.D0d
20           (GHC.Generics.R1 (GHC.Generics.M1 ((GHC.Generics.:*:) (GHC.Generics.M1 g1)
21                                                                 (GHC.Generics.M1 g2))))
22             -> CanDoRep1_1.D1d
23                  (GHC.Generics.unPar1 g1) (GHC.Generics.unRec1 g2)
24   
25   instance GHC.Generics.Generic (CanDoRep1_1.Dd a) where
26     GHC.Generics.from x
27       = GHC.Generics.M1
28           (case x of
29              CanDoRep1_1.D0d
30                -> GHC.Generics.L1 (GHC.Generics.M1 GHC.Generics.U1)
31              CanDoRep1_1.D1d g1 g2
32                -> GHC.Generics.R1
33                     (GHC.Generics.M1
34                        ((GHC.Generics.:*:)
35                           (GHC.Generics.M1 (GHC.Generics.K1 g1))
36                           (GHC.Generics.M1 (GHC.Generics.K1 g2)))))
37     GHC.Generics.to (GHC.Generics.M1 x)
38       = case x of
39           (GHC.Generics.L1 (GHC.Generics.M1 GHC.Generics.U1))
40             -> CanDoRep1_1.D0d
41           (GHC.Generics.R1 (GHC.Generics.M1 ((GHC.Generics.:*:) (GHC.Generics.M1 (GHC.Generics.K1 g1))
42                                                                 (GHC.Generics.M1 (GHC.Generics.K1 g2)))))
43             -> CanDoRep1_1.D1d g1 g2
44   
45   instance GHC.Generics.Generic (CanDoRep1_1.Dc a) where
46     GHC.Generics.from x
47       = GHC.Generics.M1
48           (case x of
49              CanDoRep1_1.D0c
50                -> GHC.Generics.L1 (GHC.Generics.M1 GHC.Generics.U1)
51              CanDoRep1_1.D1c g1 g2
52                -> GHC.Generics.R1
53                     (GHC.Generics.M1
54                        ((GHC.Generics.:*:)
55                           (GHC.Generics.M1 (GHC.Generics.K1 g1))
56                           (GHC.Generics.M1 (GHC.Generics.K1 g2)))))
57     GHC.Generics.to (GHC.Generics.M1 x)
58       = case x of
59           (GHC.Generics.L1 (GHC.Generics.M1 GHC.Generics.U1))
60             -> CanDoRep1_1.D0c
61           (GHC.Generics.R1 (GHC.Generics.M1 ((GHC.Generics.:*:) (GHC.Generics.M1 (GHC.Generics.K1 g1))
62                                                                 (GHC.Generics.M1 (GHC.Generics.K1 g2)))))
63             -> CanDoRep1_1.D1c g1 g2
64   
65   instance GHC.Generics.Generic1 CanDoRep1_1.Db where
66     GHC.Generics.from1 x
67       = GHC.Generics.M1
68           (case x of
69              CanDoRep1_1.D0b
70                -> GHC.Generics.L1 (GHC.Generics.M1 GHC.Generics.U1)
71              CanDoRep1_1.D1b g1 g2
72                -> GHC.Generics.R1
73                     (GHC.Generics.M1
74                        ((GHC.Generics.:*:)
75                           (GHC.Generics.M1 (GHC.Generics.Par1 g1))
76                           (GHC.Generics.M1 (GHC.Generics.Rec1 g2)))))
77     GHC.Generics.to1 (GHC.Generics.M1 x)
78       = case x of
79           (GHC.Generics.L1 (GHC.Generics.M1 GHC.Generics.U1))
80             -> CanDoRep1_1.D0b
81           (GHC.Generics.R1 (GHC.Generics.M1 ((GHC.Generics.:*:) (GHC.Generics.M1 g1)
82                                                                 (GHC.Generics.M1 g2))))
83             -> CanDoRep1_1.D1b
84                  (GHC.Generics.unPar1 g1) (GHC.Generics.unRec1 g2)
85   
86   instance GHC.Generics.Generic (CanDoRep1_1.Da a) where
87     GHC.Generics.from x
88       = GHC.Generics.M1
89           (case x of
90              CanDoRep1_1.D0 -> GHC.Generics.L1 (GHC.Generics.M1 GHC.Generics.U1)
91              CanDoRep1_1.D1 g1 g2
92                -> GHC.Generics.R1
93                     (GHC.Generics.M1
94                        ((GHC.Generics.:*:)
95                           (GHC.Generics.M1 (GHC.Generics.K1 g1))
96                           (GHC.Generics.M1 (GHC.Generics.K1 g2)))))
97     GHC.Generics.to (GHC.Generics.M1 x)
98       = case x of
99           (GHC.Generics.L1 (GHC.Generics.M1 GHC.Generics.U1))
100             -> CanDoRep1_1.D0
101           (GHC.Generics.R1 (GHC.Generics.M1 ((GHC.Generics.:*:) (GHC.Generics.M1 (GHC.Generics.K1 g1))
102                                                                 (GHC.Generics.M1 (GHC.Generics.K1 g2)))))
103             -> CanDoRep1_1.D1 g1 g2
104   
105   instance GHC.Generics.Generic1 CanDoRep1_1.Da where
106     GHC.Generics.from1 x
107       = GHC.Generics.M1
108           (case x of
109              CanDoRep1_1.D0 -> GHC.Generics.L1 (GHC.Generics.M1 GHC.Generics.U1)
110              CanDoRep1_1.D1 g1 g2
111                -> GHC.Generics.R1
112                     (GHC.Generics.M1
113                        ((GHC.Generics.:*:)
114                           (GHC.Generics.M1 (GHC.Generics.Par1 g1))
115                           (GHC.Generics.M1 (GHC.Generics.Rec1 g2)))))
116     GHC.Generics.to1 (GHC.Generics.M1 x)
117       = case x of
118           (GHC.Generics.L1 (GHC.Generics.M1 GHC.Generics.U1))
119             -> CanDoRep1_1.D0
120           (GHC.Generics.R1 (GHC.Generics.M1 ((GHC.Generics.:*:) (GHC.Generics.M1 g1)
121                                                                 (GHC.Generics.M1 g2))))
122             -> CanDoRep1_1.D1 (GHC.Generics.unPar1 g1) (GHC.Generics.unRec1 g2)
123   
124   instance GHC.Generics.Generic (CanDoRep1_1.Db a) where
125     GHC.Generics.from x
126       = GHC.Generics.M1
127           (case x of
128              CanDoRep1_1.D0b
129                -> GHC.Generics.L1 (GHC.Generics.M1 GHC.Generics.U1)
130              CanDoRep1_1.D1b g1 g2
131                -> GHC.Generics.R1
132                     (GHC.Generics.M1
133                        ((GHC.Generics.:*:)
134                           (GHC.Generics.M1 (GHC.Generics.K1 g1))
135                           (GHC.Generics.M1 (GHC.Generics.K1 g2)))))
136     GHC.Generics.to (GHC.Generics.M1 x)
137       = case x of
138           (GHC.Generics.L1 (GHC.Generics.M1 GHC.Generics.U1))
139             -> CanDoRep1_1.D0b
140           (GHC.Generics.R1 (GHC.Generics.M1 ((GHC.Generics.:*:) (GHC.Generics.M1 (GHC.Generics.K1 g1))
141                                                                 (GHC.Generics.M1 (GHC.Generics.K1 g2)))))
142             -> CanDoRep1_1.D1b g1 g2
143   
144   instance GHC.Generics.Generic1 CanDoRep1_1.Dc where
145     GHC.Generics.from1 x
146       = GHC.Generics.M1
147           (case x of
148              CanDoRep1_1.D0c
149                -> GHC.Generics.L1 (GHC.Generics.M1 GHC.Generics.U1)
150              CanDoRep1_1.D1c g1 g2
151                -> GHC.Generics.R1
152                     (GHC.Generics.M1
153                        ((GHC.Generics.:*:)
154                           (GHC.Generics.M1 (GHC.Generics.Par1 g1))
155                           (GHC.Generics.M1 (GHC.Generics.Rec1 g2)))))
156     GHC.Generics.to1 (GHC.Generics.M1 x)
157       = case x of
158           (GHC.Generics.L1 (GHC.Generics.M1 GHC.Generics.U1))
159             -> CanDoRep1_1.D0c
160           (GHC.Generics.R1 (GHC.Generics.M1 ((GHC.Generics.:*:) (GHC.Generics.M1 g1)
161                                                                 (GHC.Generics.M1 g2))))
162             -> CanDoRep1_1.D1c
163                  (GHC.Generics.unPar1 g1) (GHC.Generics.unRec1 g2)
164   
165
166 Derived type family instances:
167   type GHC.Generics.Rep1 CanDoRep1_1.Dd = GHC.Generics.D1
168                                             ('GHC.Generics.MetaData
169                                                "Dd" "CanDoRep1_1" "main" 'GHC.Types.False)
170                                             (GHC.Generics.C1
171                                                ('GHC.Generics.MetaCons
172                                                   "D0d" 'GHC.Generics.PrefixI 'GHC.Types.False)
173                                                GHC.Generics.U1
174                                              GHC.Generics.:+: GHC.Generics.C1
175                                                                 ('GHC.Generics.MetaCons
176                                                                    "D1d"
177                                                                    'GHC.Generics.PrefixI
178                                                                    'GHC.Types.True)
179                                                                 (GHC.Generics.S1
180                                                                    ('GHC.Generics.MetaSel
181                                                                       ('GHC.Base.Just "d11d")
182                                                                       'GHC.Generics.NoSourceUnpackedness
183                                                                       'GHC.Generics.NoSourceStrictness
184                                                                       'GHC.Generics.DecidedLazy)
185                                                                    GHC.Generics.Par1
186                                                                  GHC.Generics.:*: GHC.Generics.S1
187                                                                                     ('GHC.Generics.MetaSel
188                                                                                        ('GHC.Base.Just
189                                                                                           "d12d")
190                                                                                        'GHC.Generics.NoSourceUnpackedness
191                                                                                        'GHC.Generics.NoSourceStrictness
192                                                                                        'GHC.Generics.DecidedLazy)
193                                                                                     (GHC.Generics.Rec1
194                                                                                        CanDoRep1_1.Dd)))
195   type GHC.Generics.Rep (CanDoRep1_1.Dd a) = GHC.Generics.D1
196                                                ('GHC.Generics.MetaData
197                                                   "Dd" "CanDoRep1_1" "main" 'GHC.Types.False)
198                                                (GHC.Generics.C1
199                                                   ('GHC.Generics.MetaCons
200                                                      "D0d" 'GHC.Generics.PrefixI 'GHC.Types.False)
201                                                   GHC.Generics.U1
202                                                 GHC.Generics.:+: GHC.Generics.C1
203                                                                    ('GHC.Generics.MetaCons
204                                                                       "D1d"
205                                                                       'GHC.Generics.PrefixI
206                                                                       'GHC.Types.True)
207                                                                    (GHC.Generics.S1
208                                                                       ('GHC.Generics.MetaSel
209                                                                          ('GHC.Base.Just "d11d")
210                                                                          'GHC.Generics.NoSourceUnpackedness
211                                                                          'GHC.Generics.NoSourceStrictness
212                                                                          'GHC.Generics.DecidedLazy)
213                                                                       (GHC.Generics.Rec0 a)
214                                                                     GHC.Generics.:*: GHC.Generics.S1
215                                                                                        ('GHC.Generics.MetaSel
216                                                                                           ('GHC.Base.Just
217                                                                                              "d12d")
218                                                                                           'GHC.Generics.NoSourceUnpackedness
219                                                                                           'GHC.Generics.NoSourceStrictness
220                                                                                           'GHC.Generics.DecidedLazy)
221                                                                                        (GHC.Generics.Rec0
222                                                                                           (CanDoRep1_1.Dd
223                                                                                              a))))
224   type GHC.Generics.Rep (CanDoRep1_1.Dc a) = GHC.Generics.D1
225                                                ('GHC.Generics.MetaData
226                                                   "Dc" "CanDoRep1_1" "main" 'GHC.Types.False)
227                                                (GHC.Generics.C1
228                                                   ('GHC.Generics.MetaCons
229                                                      "D0c" 'GHC.Generics.PrefixI 'GHC.Types.False)
230                                                   GHC.Generics.U1
231                                                 GHC.Generics.:+: GHC.Generics.C1
232                                                                    ('GHC.Generics.MetaCons
233                                                                       "D1c"
234                                                                       'GHC.Generics.PrefixI
235                                                                       'GHC.Types.True)
236                                                                    (GHC.Generics.S1
237                                                                       ('GHC.Generics.MetaSel
238                                                                          ('GHC.Base.Just "d11c")
239                                                                          'GHC.Generics.NoSourceUnpackedness
240                                                                          'GHC.Generics.NoSourceStrictness
241                                                                          'GHC.Generics.DecidedLazy)
242                                                                       (GHC.Generics.Rec0 a)
243                                                                     GHC.Generics.:*: GHC.Generics.S1
244                                                                                        ('GHC.Generics.MetaSel
245                                                                                           ('GHC.Base.Just
246                                                                                              "d12c")
247                                                                                           'GHC.Generics.NoSourceUnpackedness
248                                                                                           'GHC.Generics.NoSourceStrictness
249                                                                                           'GHC.Generics.DecidedLazy)
250                                                                                        (GHC.Generics.Rec0
251                                                                                           (CanDoRep1_1.Dc
252                                                                                              a))))
253   type GHC.Generics.Rep1 CanDoRep1_1.Db = GHC.Generics.D1
254                                             ('GHC.Generics.MetaData
255                                                "Db" "CanDoRep1_1" "main" 'GHC.Types.False)
256                                             (GHC.Generics.C1
257                                                ('GHC.Generics.MetaCons
258                                                   "D0b" 'GHC.Generics.PrefixI 'GHC.Types.False)
259                                                GHC.Generics.U1
260                                              GHC.Generics.:+: GHC.Generics.C1
261                                                                 ('GHC.Generics.MetaCons
262                                                                    "D1b"
263                                                                    'GHC.Generics.PrefixI
264                                                                    'GHC.Types.True)
265                                                                 (GHC.Generics.S1
266                                                                    ('GHC.Generics.MetaSel
267                                                                       ('GHC.Base.Just "d11b")
268                                                                       'GHC.Generics.NoSourceUnpackedness
269                                                                       'GHC.Generics.NoSourceStrictness
270                                                                       'GHC.Generics.DecidedLazy)
271                                                                    GHC.Generics.Par1
272                                                                  GHC.Generics.:*: GHC.Generics.S1
273                                                                                     ('GHC.Generics.MetaSel
274                                                                                        ('GHC.Base.Just
275                                                                                           "d12b")
276                                                                                        'GHC.Generics.NoSourceUnpackedness
277                                                                                        'GHC.Generics.NoSourceStrictness
278                                                                                        'GHC.Generics.DecidedLazy)
279                                                                                     (GHC.Generics.Rec1
280                                                                                        CanDoRep1_1.Db)))
281   type GHC.Generics.Rep (CanDoRep1_1.Da a) = GHC.Generics.D1
282                                                ('GHC.Generics.MetaData
283                                                   "Da" "CanDoRep1_1" "main" 'GHC.Types.False)
284                                                (GHC.Generics.C1
285                                                   ('GHC.Generics.MetaCons
286                                                      "D0" 'GHC.Generics.PrefixI 'GHC.Types.False)
287                                                   GHC.Generics.U1
288                                                 GHC.Generics.:+: GHC.Generics.C1
289                                                                    ('GHC.Generics.MetaCons
290                                                                       "D1"
291                                                                       'GHC.Generics.PrefixI
292                                                                       'GHC.Types.True)
293                                                                    (GHC.Generics.S1
294                                                                       ('GHC.Generics.MetaSel
295                                                                          ('GHC.Base.Just "d11a")
296                                                                          'GHC.Generics.NoSourceUnpackedness
297                                                                          'GHC.Generics.NoSourceStrictness
298                                                                          'GHC.Generics.DecidedLazy)
299                                                                       (GHC.Generics.Rec0 a)
300                                                                     GHC.Generics.:*: GHC.Generics.S1
301                                                                                        ('GHC.Generics.MetaSel
302                                                                                           ('GHC.Base.Just
303                                                                                              "d12a")
304                                                                                           'GHC.Generics.NoSourceUnpackedness
305                                                                                           'GHC.Generics.NoSourceStrictness
306                                                                                           'GHC.Generics.DecidedLazy)
307                                                                                        (GHC.Generics.Rec0
308                                                                                           (CanDoRep1_1.Da
309                                                                                              a))))
310   type GHC.Generics.Rep1 CanDoRep1_1.Da = GHC.Generics.D1
311                                             ('GHC.Generics.MetaData
312                                                "Da" "CanDoRep1_1" "main" 'GHC.Types.False)
313                                             (GHC.Generics.C1
314                                                ('GHC.Generics.MetaCons
315                                                   "D0" 'GHC.Generics.PrefixI 'GHC.Types.False)
316                                                GHC.Generics.U1
317                                              GHC.Generics.:+: GHC.Generics.C1
318                                                                 ('GHC.Generics.MetaCons
319                                                                    "D1"
320                                                                    'GHC.Generics.PrefixI
321                                                                    'GHC.Types.True)
322                                                                 (GHC.Generics.S1
323                                                                    ('GHC.Generics.MetaSel
324                                                                       ('GHC.Base.Just "d11a")
325                                                                       'GHC.Generics.NoSourceUnpackedness
326                                                                       'GHC.Generics.NoSourceStrictness
327                                                                       'GHC.Generics.DecidedLazy)
328                                                                    GHC.Generics.Par1
329                                                                  GHC.Generics.:*: GHC.Generics.S1
330                                                                                     ('GHC.Generics.MetaSel
331                                                                                        ('GHC.Base.Just
332                                                                                           "d12a")
333                                                                                        'GHC.Generics.NoSourceUnpackedness
334                                                                                        'GHC.Generics.NoSourceStrictness
335                                                                                        'GHC.Generics.DecidedLazy)
336                                                                                     (GHC.Generics.Rec1
337                                                                                        CanDoRep1_1.Da)))
338   type GHC.Generics.Rep (CanDoRep1_1.Db a) = GHC.Generics.D1
339                                                ('GHC.Generics.MetaData
340                                                   "Db" "CanDoRep1_1" "main" 'GHC.Types.False)
341                                                (GHC.Generics.C1
342                                                   ('GHC.Generics.MetaCons
343                                                      "D0b" 'GHC.Generics.PrefixI 'GHC.Types.False)
344                                                   GHC.Generics.U1
345                                                 GHC.Generics.:+: GHC.Generics.C1
346                                                                    ('GHC.Generics.MetaCons
347                                                                       "D1b"
348                                                                       'GHC.Generics.PrefixI
349                                                                       'GHC.Types.True)
350                                                                    (GHC.Generics.S1
351                                                                       ('GHC.Generics.MetaSel
352                                                                          ('GHC.Base.Just "d11b")
353                                                                          'GHC.Generics.NoSourceUnpackedness
354                                                                          'GHC.Generics.NoSourceStrictness
355                                                                          'GHC.Generics.DecidedLazy)
356                                                                       (GHC.Generics.Rec0 a)
357                                                                     GHC.Generics.:*: GHC.Generics.S1
358                                                                                        ('GHC.Generics.MetaSel
359                                                                                           ('GHC.Base.Just
360                                                                                              "d12b")
361                                                                                           'GHC.Generics.NoSourceUnpackedness
362                                                                                           'GHC.Generics.NoSourceStrictness
363                                                                                           'GHC.Generics.DecidedLazy)
364                                                                                        (GHC.Generics.Rec0
365                                                                                           (CanDoRep1_1.Db
366                                                                                              a))))
367   type GHC.Generics.Rep1 CanDoRep1_1.Dc = GHC.Generics.D1
368                                             ('GHC.Generics.MetaData
369                                                "Dc" "CanDoRep1_1" "main" 'GHC.Types.False)
370                                             (GHC.Generics.C1
371                                                ('GHC.Generics.MetaCons
372                                                   "D0c" 'GHC.Generics.PrefixI 'GHC.Types.False)
373                                                GHC.Generics.U1
374                                              GHC.Generics.:+: GHC.Generics.C1
375                                                                 ('GHC.Generics.MetaCons
376                                                                    "D1c"
377                                                                    'GHC.Generics.PrefixI
378                                                                    'GHC.Types.True)
379                                                                 (GHC.Generics.S1
380                                                                    ('GHC.Generics.MetaSel
381                                                                       ('GHC.Base.Just "d11c")
382                                                                       'GHC.Generics.NoSourceUnpackedness
383                                                                       'GHC.Generics.NoSourceStrictness
384                                                                       'GHC.Generics.DecidedLazy)
385                                                                    GHC.Generics.Par1
386                                                                  GHC.Generics.:*: GHC.Generics.S1
387                                                                                     ('GHC.Generics.MetaSel
388                                                                                        ('GHC.Base.Just
389                                                                                           "d12c")
390                                                                                        'GHC.Generics.NoSourceUnpackedness
391                                                                                        'GHC.Generics.NoSourceStrictness
392                                                                                        'GHC.Generics.DecidedLazy)
393                                                                                     (GHC.Generics.Rec1
394                                                                                        CanDoRep1_1.Dc)))
395
396