From 6ca65ea238e3c6db3fb875119c341267549562f6 Mon Sep 17 00:00:00 2001 From: Brent Yorgey Date: Sat, 28 Oct 2023 21:19:46 -0500 Subject: [PATCH] Move `Text.Megaparsec.State` into `exposed-modules` --- CHANGELOG.md | 6 ++++++ megaparsec.cabal | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5a37abcd..6d22d920 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ *Megaparsec follows [SemVer](https://semver.org/).* +## Megaparsec 9.6.1 + +* Exposed `Text.Megaparsec.State`, so that the new functions (`initialState` + and `initialPosState`) can be actually imported from it. [PR + 549](https://github.com/mrkkrp/megaparsec/pull/549). + ## Megaparsec 9.6.0 * Added the functions `initialState` and `initialPosState` to diff --git a/megaparsec.cabal b/megaparsec.cabal index 4c6a726d..e9e81aad 100644 --- a/megaparsec.cabal +++ b/megaparsec.cabal @@ -46,13 +46,13 @@ library Text.Megaparsec.Error.Builder Text.Megaparsec.Internal Text.Megaparsec.Pos + Text.Megaparsec.State Text.Megaparsec.Stream other-modules: Text.Megaparsec.Class Text.Megaparsec.Common Text.Megaparsec.Lexer - Text.Megaparsec.State default-language: Haskell2010 build-depends: