packages feed

ghc-parser 0.1.6.0 → 0.1.7.0

raw patch · 2 files changed

+44/−1 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

ghc-parser.cabal view
@@ -2,7 +2,7 @@ -- documentation, see http://haskell.org/cabal/users-guide/  name:                ghc-parser-version:             0.1.6.0+version:             0.1.7.0 synopsis:            Haskell source parser from GHC. -- description: homepage:            https://github.com/gibiansky/IHaskell@@ -22,6 +22,7 @@   HaskellParser76.y.pp   HaskellParser782.y.pp   HaskellParser783.y.pp+  src-7.10/Language/Haskell/GHC/HappyParser.hs  library   build-tools:         happy, cpphs
+ src-7.10/Language/Haskell/GHC/HappyParser.hs view
@@ -0,0 +1,42 @@+module Language.Haskell.GHC.HappyParser+    ( fullStatement+    , fullImport+    , fullDeclaration+    , fullExpression+    , fullTypeSignature+    , fullModule+    ) where++import Parser+import SrcLoc++-- compiler/hsSyn+import HsSyn++-- compiler/utils+import OrdList++-- compiler/parser+import RdrHsSyn+import Lexer++-- compiler/basicTypes+import RdrName++fullStatement :: P (Maybe (LStmt RdrName (LHsExpr RdrName)))+fullStatement = parseStmt++fullImport :: P (LImportDecl RdrName)+fullImport = parseImport++fullDeclaration :: P (OrdList (LHsDecl RdrName))+fullDeclaration = parseDeclaration++fullExpression :: P (LHsExpr RdrName)+fullExpression = parseExpression++fullTypeSignature :: P (Located (OrdList (LHsDecl RdrName)))+fullTypeSignature = parseTypeSignature++fullModule :: P (Located (HsModule RdrName))+fullModule = parseModule