packages feed

dhscanner-ast 1.1.1 → 1.1.2

raw patch · 2 files changed

+2/−1 lines, 2 filesPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

API changes (from Hackage documentation)

+ Ast: [filename] :: Root -> FilePath
- Ast: Root :: [Stmt] -> Root
+ Ast: Root :: FilePath -> [Stmt] -> Root

Files

dhscanner-ast.cabal view
@@ -22,7 +22,7 @@     and models both of them as plain sequential code blocks. Every file has exactly one ast that represents it.
     Non Haskell parogrammers note: The ast is /immutable/ (like everything else in Haskell ...)
 
-version:            1.1.1
+version:            1.1.2
 license:            GPL-3.0-only
 license-file:       LICENSE
 author:             OrenGitHub
src/Ast.hs view
@@ -69,6 +69,7 @@ data Root
    = Root
      {
+         filename :: FilePath,
          stmts :: [ Stmt ]
      }
      deriving ( Show, Eq, Ord, Generic, ToJSON, FromJSON )