megaparsec-time 0.1.0.0 → 0.1.0.1
raw patch · 3 files changed
+7/−2 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- CHANGELOG.md +2/−0
- megaparsec-time.cabal +1/−1
- src/Text/Megaparsec/Time.hs +4/−1
CHANGELOG.md view
@@ -1,5 +1,7 @@ Changelog +## [1.0.1](https://github.com/drlkf/megaparsec-time/compare/1.0.0...1.0.1) (2025-07-28)+ # 1.0.0 (2025-07-28)
megaparsec-time.cabal view
@@ -5,7 +5,7 @@ -- see: https://github.com/sol/hpack name: megaparsec-time-version: 0.1.0.0+version: 0.1.0.1 synopsis: Parsers and utilities for the Megaparsec library. description: Common parsers and utilities to use with the Megaparsec library. category: Parsing
src/Text/Megaparsec/Time.hs view
@@ -7,6 +7,8 @@ -- License : GPL-3 -- Maintainer : drlkf@drlkf.net -- Stability : experimental+--+-- Parsers for types related to time to use with 'megaparsec'. module Text.Megaparsec.Time ( -- * Types. DayResult,@@ -60,7 +62,8 @@ -- the current day, or a 'DayOfWeek'. type DayResult = Either Int DayOfWeek --- | Parse a tuple containing a day or not, and a 'TimeOfDay'.+-- | Parse a tuple containing a day or not, and a 'TimeOfDay', separated with a+-- space. dateParser :: Ord e => Parsec e String (Maybe DayResult, TimeOfDay)