From 9315a8d0ea8a9c4506530d48a187154dddbc85e5 Mon Sep 17 00:00:00 2001 From: Adithya Kumar Date: Fri, 29 Aug 2025 21:39:59 +0530 Subject: [PATCH 1/2] Support the latest commit of streamly --- examples/DateTimeParser.hs | 4 ++-- stack.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/DateTimeParser.hs b/examples/DateTimeParser.hs index d83e9c7..6d90d22 100644 --- a/examples/DateTimeParser.hs +++ b/examples/DateTimeParser.hs @@ -152,7 +152,7 @@ _foldBreakDateTime arr = do _parseBreakDateTime :: Array Char -> IO Int _parseBreakDateTime arr = do let s = StreamK.fromStream $ Stream.fromPure arr - p = Array.parserK . Parser.fromFold + p = Array.toParserK . Parser.fromFold (Right year, s1) <- Array.parseBreak (p $ decimal 4) s (_, s2) <- Array.parseBreak (p $ char '-') s1 (Right month, s3) <- Array.parseBreak (p $ decimal 2) s2 @@ -179,7 +179,7 @@ _parseKDateTime arr = do where - p = Array.parserK + p = Array.toParserK dateParser = do year <- p $ Parser.decimal <* Parser.char '-' diff --git a/stack.yaml b/stack.yaml index a855891..6dadc01 100644 --- a/stack.yaml +++ b/stack.yaml @@ -6,9 +6,9 @@ extra-deps: #- streamly-0.10.0 #- fusion-plugin-0.2.6 - git: https://github.com/composewell/streamly - commit: 4aa7ae215f64cf98f7b3c175d3a8c47c8bd3177e + commit: c7048326486e537908f9e6b7529f0d783014b7d9 - git: https://github.com/composewell/streamly - commit: 4aa7ae215f64cf98f7b3c175d3a8c47c8bd3177e + commit: c7048326486e537908f9e6b7529f0d783014b7d9 subdirs: - core - git: https://github.com/composewell/streamly-fsevents From eb0d8ea17bd569d3c7aff53439d42d241c193cec Mon Sep 17 00:00:00 2001 From: Adithya Kumar Date: Fri, 29 Aug 2025 21:28:46 +0530 Subject: [PATCH 2/2] Bump examples to the next major version --- Changelog.md | 4 ++++ streamly-examples.cabal | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Changelog.md b/Changelog.md index efc90a0..85a5e56 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,5 +1,9 @@ # Changelog +## 0.3.0 (Sep 2025) + +* Support streamly-0.11.0 and streamly-core-0.3.0 + ## 0.2.0 (Dec 2023) * Support streamly-0.10.0 and streamly-core-0.2.0 diff --git a/streamly-examples.cabal b/streamly-examples.cabal index 66c5a64..069e02c 100644 --- a/streamly-examples.cabal +++ b/streamly-examples.cabal @@ -1,6 +1,6 @@ cabal-version: 2.2 name: streamly-examples -version: 0.2.0 +version: 0.3.0 license: Apache-2.0 license-file: LICENSE author: Composewell Technologies