packages feed

haskell-src-exts-1.24.0: tests/examples/TypeOperatorAsVariable.hs.parser.golden

ParseOk
  ( Module
      SrcSpanInfo
        { srcInfoSpan =
            SrcSpan "tests/examples/TypeOperatorAsVariable.hs" 1 1 6 1
        , srcInfoPoints =
            [ SrcSpan "tests/examples/TypeOperatorAsVariable.hs" 1 1 1 1
            , SrcSpan "tests/examples/TypeOperatorAsVariable.hs" 3 1 3 1
            , SrcSpan "tests/examples/TypeOperatorAsVariable.hs" 3 1 3 1
            , SrcSpan "tests/examples/TypeOperatorAsVariable.hs" 3 1 3 1
            , SrcSpan "tests/examples/TypeOperatorAsVariable.hs" 5 1 5 1
            , SrcSpan "tests/examples/TypeOperatorAsVariable.hs" 6 1 6 1
            , SrcSpan "tests/examples/TypeOperatorAsVariable.hs" 6 1 6 1
            ]
        }
      Nothing
      [ LanguagePragma
          SrcSpanInfo
            { srcInfoSpan =
                SrcSpan "tests/examples/TypeOperatorAsVariable.hs" 1 1 1 31
            , srcInfoPoints =
                [ SrcSpan "tests/examples/TypeOperatorAsVariable.hs" 1 1 1 13
                , SrcSpan "tests/examples/TypeOperatorAsVariable.hs" 1 28 1 31
                ]
            }
          [ Ident
              SrcSpanInfo
                { srcInfoSpan =
                    SrcSpan "tests/examples/TypeOperatorAsVariable.hs" 1 14 1 27
                , srcInfoPoints = []
                }
              "TypeOperators"
          ]
      ]
      []
      [ TypeDecl
          SrcSpanInfo
            { srcInfoSpan =
                SrcSpan "tests/examples/TypeOperatorAsVariable.hs" 3 1 3 17
            , srcInfoPoints =
                [ SrcSpan "tests/examples/TypeOperatorAsVariable.hs" 3 1 3 5
                , SrcSpan "tests/examples/TypeOperatorAsVariable.hs" 3 13 3 14
                ]
            }
          (DHApp
             SrcSpanInfo
               { srcInfoSpan =
                   SrcSpan "tests/examples/TypeOperatorAsVariable.hs" 3 6 3 12
               , srcInfoPoints = []
               }
             (DHead
                SrcSpanInfo
                  { srcInfoSpan =
                      SrcSpan "tests/examples/TypeOperatorAsVariable.hs" 3 6 3 7
                  , srcInfoPoints = []
                  }
                (Ident
                   SrcSpanInfo
                     { srcInfoSpan =
                         SrcSpan "tests/examples/TypeOperatorAsVariable.hs" 3 6 3 7
                     , srcInfoPoints = []
                     }
                   "T"))
             (UnkindedVar
                SrcSpanInfo
                  { srcInfoSpan =
                      SrcSpan "tests/examples/TypeOperatorAsVariable.hs" 3 8 3 12
                  , srcInfoPoints =
                      [ SrcSpan "tests/examples/TypeOperatorAsVariable.hs" 3 8 3 9
                      , SrcSpan "tests/examples/TypeOperatorAsVariable.hs" 3 9 3 11
                      , SrcSpan "tests/examples/TypeOperatorAsVariable.hs" 3 11 3 12
                      ]
                  }
                (Symbol
                   SrcSpanInfo
                     { srcInfoSpan =
                         SrcSpan "tests/examples/TypeOperatorAsVariable.hs" 3 9 3 11
                     , srcInfoPoints = []
                     }
                   "~>")))
          (TyCon
             SrcSpanInfo
               { srcInfoSpan =
                   SrcSpan "tests/examples/TypeOperatorAsVariable.hs" 3 15 3 17
               , srcInfoPoints =
                   [ SrcSpan "tests/examples/TypeOperatorAsVariable.hs" 3 15 3 16
                   , SrcSpan "tests/examples/TypeOperatorAsVariable.hs" 3 16 3 17
                   ]
               }
             (Special
                SrcSpanInfo
                  { srcInfoSpan =
                      SrcSpan "tests/examples/TypeOperatorAsVariable.hs" 3 15 3 17
                  , srcInfoPoints =
                      [ SrcSpan "tests/examples/TypeOperatorAsVariable.hs" 3 15 3 16
                      , SrcSpan "tests/examples/TypeOperatorAsVariable.hs" 3 16 3 17
                      ]
                  }
                (UnitCon
                   SrcSpanInfo
                     { srcInfoSpan =
                         SrcSpan "tests/examples/TypeOperatorAsVariable.hs" 3 15 3 17
                     , srcInfoPoints =
                         [ SrcSpan "tests/examples/TypeOperatorAsVariable.hs" 3 15 3 16
                         , SrcSpan "tests/examples/TypeOperatorAsVariable.hs" 3 16 3 17
                         ]
                     })))
      , TypeDecl
          SrcSpanInfo
            { srcInfoSpan =
                SrcSpan "tests/examples/TypeOperatorAsVariable.hs" 5 1 5 14
            , srcInfoPoints =
                [ SrcSpan "tests/examples/TypeOperatorAsVariable.hs" 5 1 5 5
                , SrcSpan "tests/examples/TypeOperatorAsVariable.hs" 5 10 5 11
                ]
            }
          (DHead
             SrcSpanInfo
               { srcInfoSpan =
                   SrcSpan "tests/examples/TypeOperatorAsVariable.hs" 5 6 5 9
               , srcInfoPoints = []
               }
             (Ident
                SrcSpanInfo
                  { srcInfoSpan =
                      SrcSpan "tests/examples/TypeOperatorAsVariable.hs" 5 6 5 9
                  , srcInfoPoints = []
                  }
                "Foo"))
          (TyCon
             SrcSpanInfo
               { srcInfoSpan =
                   SrcSpan "tests/examples/TypeOperatorAsVariable.hs" 5 12 5 14
               , srcInfoPoints =
                   [ SrcSpan "tests/examples/TypeOperatorAsVariable.hs" 5 12 5 13
                   , SrcSpan "tests/examples/TypeOperatorAsVariable.hs" 5 13 5 14
                   ]
               }
             (Special
                SrcSpanInfo
                  { srcInfoSpan =
                      SrcSpan "tests/examples/TypeOperatorAsVariable.hs" 5 12 5 14
                  , srcInfoPoints =
                      [ SrcSpan "tests/examples/TypeOperatorAsVariable.hs" 5 12 5 13
                      , SrcSpan "tests/examples/TypeOperatorAsVariable.hs" 5 13 5 14
                      ]
                  }
                (UnitCon
                   SrcSpanInfo
                     { srcInfoSpan =
                         SrcSpan "tests/examples/TypeOperatorAsVariable.hs" 5 12 5 14
                     , srcInfoPoints =
                         [ SrcSpan "tests/examples/TypeOperatorAsVariable.hs" 5 12 5 13
                         , SrcSpan "tests/examples/TypeOperatorAsVariable.hs" 5 13 5 14
                         ]
                     })))
      ]
  , []
  )