Adapt test output to reflect better -ddump-deriv output
[ghc.git] / testsuite / tests / generics / GenDerivOutput.stderr
1
2 ==================== Derived instances ====================
3 Derived instances:
4   instance GHC.Generics.Generic (GenDerivOutput.List a) where
5     GHC.Generics.from GenDerivOutput.Nil
6       = GHC.Generics.M1
7           (GHC.Generics.L1 (GHC.Generics.M1 GHC.Generics.U1))
8     GHC.Generics.from (GenDerivOutput.Cons g1 g2)
9       = GHC.Generics.M1
10           (GHC.Generics.R1
11              (GHC.Generics.M1
12                 ((GHC.Generics.:*:)
13                    (GHC.Generics.M1 (GHC.Generics.K1 g1))
14                    (GHC.Generics.M1 (GHC.Generics.K1 g2)))))
15     GHC.Generics.to
16       (GHC.Generics.M1 (GHC.Generics.L1 (GHC.Generics.M1 GHC.Generics.U1)))
17       = GenDerivOutput.Nil
18     GHC.Generics.to
19       (GHC.Generics.M1 (GHC.Generics.R1 (GHC.Generics.M1 (GHC.Generics.:*: (GHC.Generics.M1 (GHC.Generics.K1 g1))
20                                                                            (GHC.Generics.M1 (GHC.Generics.K1 g2))))))
21       = GenDerivOutput.Cons g1 g2
22   
23   instance GHC.Generics.Datatype GenDerivOutput.D1List where
24     GHC.Generics.datatypeName _ = "List"
25     GHC.Generics.moduleName _ = "GenDerivOutput"
26   
27   instance GHC.Generics.Constructor GenDerivOutput.C1_0List where
28     GHC.Generics.conName _ = "Nil"
29   
30   instance GHC.Generics.Constructor GenDerivOutput.C1_1List where
31     GHC.Generics.conName _ = "Cons"
32     GHC.Generics.conIsRecord _ = GHC.Types.True
33   
34   instance GHC.Generics.Selector GenDerivOutput.S1_1_0List where
35     GHC.Generics.selName _ = "element"
36   
37   instance GHC.Generics.Selector GenDerivOutput.S1_1_1List where
38     GHC.Generics.selName _ = "rest"
39   
40
41 Generic representation:
42   
43   Generated datatypes for meta-information:
44     GenDerivOutput.D1List
45     GenDerivOutput.C1_0List
46     GenDerivOutput.C1_1List
47     GenDerivOutput.S1_1_0List
48     GenDerivOutput.S1_1_1List
49   
50   Representation types:
51     type GHC.Generics.Rep (GenDerivOutput.List a) = GHC.Generics.D1
52                                                       GenDerivOutput.D1List
53                                                       (GHC.Generics.C1
54                                                          GenDerivOutput.C1_0List GHC.Generics.U1
55                                                        GHC.Generics.:+: GHC.Generics.C1
56                                                                           GenDerivOutput.C1_1List
57                                                                           (GHC.Generics.S1
58                                                                              GenDerivOutput.S1_1_0List
59                                                                              (GHC.Generics.Par0 a)
60                                                                            GHC.Generics.:*: GHC.Generics.S1
61                                                                                               GenDerivOutput.S1_1_1List
62                                                                                               (GHC.Generics.Rec0
63                                                                                                  (GenDerivOutput.List
64                                                                                                     a))))