1ParseOk
2  ( Module
3      SrcSpanInfo
4        { srcInfoSpan =
5            SrcSpan "tests/examples/PatternSynonymImport.hs" 1 1 6 1
6        , srcInfoPoints =
7            [ SrcSpan "tests/examples/PatternSynonymImport.hs" 1 1 1 1
8            , SrcSpan "tests/examples/PatternSynonymImport.hs" 3 1 3 1
9            , SrcSpan "tests/examples/PatternSynonymImport.hs" 3 1 3 1
10            , SrcSpan "tests/examples/PatternSynonymImport.hs" 5 1 5 1
11            , SrcSpan "tests/examples/PatternSynonymImport.hs" 6 1 6 1
12            , SrcSpan "tests/examples/PatternSynonymImport.hs" 6 1 6 1
13            ]
14        }
15      (Just
16         (ModuleHead
17            SrcSpanInfo
18              { srcInfoSpan =
19                  SrcSpan "tests/examples/PatternSynonymImport.hs" 3 1 3 46
20              , srcInfoPoints =
21                  [ SrcSpan "tests/examples/PatternSynonymImport.hs" 3 1 3 7
22                  , SrcSpan "tests/examples/PatternSynonymImport.hs" 3 41 3 46
23                  ]
24              }
25            (ModuleName
26               SrcSpanInfo
27                 { srcInfoSpan =
28                     SrcSpan "tests/examples/PatternSynonymImport.hs" 3 8 3 12
29                 , srcInfoPoints = []
30                 }
31               "Main")
32            Nothing
33            (Just
34               (ExportSpecList
35                  SrcSpanInfo
36                    { srcInfoSpan =
37                        SrcSpan "tests/examples/PatternSynonymImport.hs" 3 13 3 40
38                    , srcInfoPoints =
39                        [ SrcSpan "tests/examples/PatternSynonymImport.hs" 3 13 3 14
40                        , SrcSpan "tests/examples/PatternSynonymImport.hs" 3 25 3 26
41                        , SrcSpan "tests/examples/PatternSynonymImport.hs" 3 39 3 40
42                        ]
43                    }
44                  [ EAbs
45                      SrcSpanInfo
46                        { srcInfoSpan =
47                            SrcSpan "tests/examples/PatternSynonymImport.hs" 3 14 3 25
48                        , srcInfoPoints =
49                            [ SrcSpan "tests/examples/PatternSynonymImport.hs" 3 14 3 21 ]
50                        }
51                      (PatternNamespace
52                         SrcSpanInfo
53                           { srcInfoSpan =
54                               SrcSpan "tests/examples/PatternSynonymImport.hs" 3 14 3 21
55                           , srcInfoPoints = []
56                           })
57                      (UnQual
58                         SrcSpanInfo
59                           { srcInfoSpan =
60                               SrcSpan "tests/examples/PatternSynonymImport.hs" 3 22 3 25
61                           , srcInfoPoints = []
62                           }
63                         (Ident
64                            SrcSpanInfo
65                              { srcInfoSpan =
66                                  SrcSpan "tests/examples/PatternSynonymImport.hs" 3 22 3 25
67                              , srcInfoPoints = []
68                              }
69                            "Foo"))
70                  , EAbs
71                      SrcSpanInfo
72                        { srcInfoSpan =
73                            SrcSpan "tests/examples/PatternSynonymImport.hs" 3 27 3 39
74                        , srcInfoPoints =
75                            [ SrcSpan "tests/examples/PatternSynonymImport.hs" 3 27 3 34 ]
76                        }
77                      (PatternNamespace
78                         SrcSpanInfo
79                           { srcInfoSpan =
80                               SrcSpan "tests/examples/PatternSynonymImport.hs" 3 27 3 34
81                           , srcInfoPoints = []
82                           })
83                      (UnQual
84                         SrcSpanInfo
85                           { srcInfoSpan =
86                               SrcSpan "tests/examples/PatternSynonymImport.hs" 3 35 3 39
87                           , srcInfoPoints =
88                               [ SrcSpan "tests/examples/PatternSynonymImport.hs" 3 35 3 36
89                               , SrcSpan "tests/examples/PatternSynonymImport.hs" 3 36 3 38
90                               , SrcSpan "tests/examples/PatternSynonymImport.hs" 3 38 3 39
91                               ]
92                           }
93                         (Symbol
94                            SrcSpanInfo
95                              { srcInfoSpan =
96                                  SrcSpan "tests/examples/PatternSynonymImport.hs" 3 36 3 38
97                              , srcInfoPoints = []
98                              }
99                            ":>"))
100                  ]))))
101      [ LanguagePragma
102          SrcSpanInfo
103            { srcInfoSpan =
104                SrcSpan "tests/examples/PatternSynonymImport.hs" 1 1 1 33
105            , srcInfoPoints =
106                [ SrcSpan "tests/examples/PatternSynonymImport.hs" 1 1 1 13
107                , SrcSpan "tests/examples/PatternSynonymImport.hs" 1 30 1 33
108                ]
109            }
110          [ Ident
111              SrcSpanInfo
112                { srcInfoSpan =
113                    SrcSpan "tests/examples/PatternSynonymImport.hs" 1 14 1 29
114                , srcInfoPoints = []
115                }
116              "PatternSynonyms"
117          ]
118      ]
119      [ ImportDecl
120          { importAnn =
121              SrcSpanInfo
122                { srcInfoSpan =
123                    SrcSpan "tests/examples/PatternSynonymImport.hs" 5 1 5 39
124                , srcInfoPoints =
125                    [ SrcSpan "tests/examples/PatternSynonymImport.hs" 5 1 5 7 ]
126                }
127          , importModule =
128              ModuleName
129                SrcSpanInfo
130                  { srcInfoSpan =
131                      SrcSpan "tests/examples/PatternSynonymImport.hs" 5 8 5 11
132                  , srcInfoPoints = []
133                  }
134                "Foo"
135          , importQualified = False
136          , importSrc = False
137          , importSafe = False
138          , importPkg = Nothing
139          , importAs = Nothing
140          , importSpecs =
141              Just
142                (ImportSpecList
143                   SrcSpanInfo
144                     { srcInfoSpan =
145                         SrcSpan "tests/examples/PatternSynonymImport.hs" 5 12 5 39
146                     , srcInfoPoints =
147                         [ SrcSpan "tests/examples/PatternSynonymImport.hs" 5 12 5 13
148                         , SrcSpan "tests/examples/PatternSynonymImport.hs" 5 24 5 25
149                         , SrcSpan "tests/examples/PatternSynonymImport.hs" 5 38 5 39
150                         ]
151                     }
152                   False
153                   [ IAbs
154                       SrcSpanInfo
155                         { srcInfoSpan =
156                             SrcSpan "tests/examples/PatternSynonymImport.hs" 5 13 5 24
157                         , srcInfoPoints =
158                             [ SrcSpan "tests/examples/PatternSynonymImport.hs" 5 13 5 20
159                             , SrcSpan "tests/examples/PatternSynonymImport.hs" 5 21 5 24
160                             ]
161                         }
162                       (PatternNamespace
163                          SrcSpanInfo
164                            { srcInfoSpan =
165                                SrcSpan "tests/examples/PatternSynonymImport.hs" 5 13 5 20
166                            , srcInfoPoints =
167                                [ SrcSpan "tests/examples/PatternSynonymImport.hs" 5 13 5 20 ]
168                            })
169                       (Ident
170                          SrcSpanInfo
171                            { srcInfoSpan =
172                                SrcSpan "tests/examples/PatternSynonymImport.hs" 5 21 5 24
173                            , srcInfoPoints = []
174                            }
175                          "Foo")
176                   , IAbs
177                       SrcSpanInfo
178                         { srcInfoSpan =
179                             SrcSpan "tests/examples/PatternSynonymImport.hs" 5 26 5 38
180                         , srcInfoPoints =
181                             [ SrcSpan "tests/examples/PatternSynonymImport.hs" 5 26 5 33
182                             , SrcSpan "tests/examples/PatternSynonymImport.hs" 5 34 5 38
183                             ]
184                         }
185                       (PatternNamespace
186                          SrcSpanInfo
187                            { srcInfoSpan =
188                                SrcSpan "tests/examples/PatternSynonymImport.hs" 5 26 5 33
189                            , srcInfoPoints =
190                                [ SrcSpan "tests/examples/PatternSynonymImport.hs" 5 26 5 33 ]
191                            })
192                       (Symbol
193                          SrcSpanInfo
194                            { srcInfoSpan =
195                                SrcSpan "tests/examples/PatternSynonymImport.hs" 5 34 5 38
196                            , srcInfoPoints =
197                                [ SrcSpan "tests/examples/PatternSynonymImport.hs" 5 34 5 35
198                                , SrcSpan "tests/examples/PatternSynonymImport.hs" 5 35 5 37
199                                , SrcSpan "tests/examples/PatternSynonymImport.hs" 5 37 5 38
200                                ]
201                            }
202                          ":>")
203                   ])
204          }
205      ]
206      []
207  , []
208  )
209