Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

NthPortal
Copy link
Contributor

Remove unsound KindTransformer instance for StateT.

Add KindTransformer instance for WriterT.

Lighten context bound on KindTransformer instance for Resource
from MonadCancelThrow to MonadCancel.

Remove unsound `KindTransformer` instance for `StateT`.

Add `KindTransformer` instance for `WriterT`.

Lighten context bound on `KindTransformer` instance for `Resource`
from `MonadCancelThrow` to `MonadCancel`.
@NthPortal NthPortal requested a review from iRevive May 28, 2025 16:41
@NthPortal NthPortal added breaking The changes are semantically or binary breaking module:core Features and improvements to core module labels May 28, 2025
@mergify mergify bot added the tracing Improvements to tracing module label May 28, 2025
@NthPortal
Copy link
Contributor Author

@iRevive this one should be pretty straightforward I think. technically breaking because it removes the StateT instance, but that wasn't sound anyway so... yeah. I didn't bother adding tests for KindTransformer outside the context of Tracer as we're hopefully moving it out soon, but if we somehow end up keeping it here, the laws are already written and can be added easily later

@NthPortal NthPortal merged commit 7e16b18 into typelevel:main Jun 7, 2025
11 checks passed
@NthPortal NthPortal deleted the KindTransformer-fixes/PR branch June 7, 2025 11:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking The changes are semantically or binary breaking module:core Features and improvements to core module tracing Improvements to tracing module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants