Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!--
A new scriv changelog fragment.

Uncomment the section that is right (remove the HTML comment wrapper).
For top level release notes, leave all the headers commented out.
-->

<!--
### Breaking

- A bullet item for the Breaking category.


### Non-Breaking

- bugfix `runAnnotatedDecoderWithChannel`
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ import Control.Monad.Class.MonadFork
import Control.Monad.Class.MonadThrow
import Control.Tracer (Tracer (..), contramap, traceWith)
import Data.Functor.Identity (Identity (..))
import Data.Maybe (maybeToList)


-- $intro
Expand Down Expand Up @@ -327,7 +326,7 @@ runAnnotatedDecoderWithChannel
-> DecodeStep bytes failure m (bytes -> a)
-> m (Either failure (a, Maybe bytes))

runAnnotatedDecoderWithChannel Channel{recv} bs0 = go (maybeToList bs0) bs0
runAnnotatedDecoderWithChannel Channel{recv} = go []
where
go :: [bytes]
-> Maybe bytes
Expand Down