Skip to content

Added an emap method to Read#2362

Merged
jatcwang merged 2 commits intotypelevel:mainfrom
felix-hedenstrom:added-read-emap
Jan 27, 2026
Merged

Added an emap method to Read#2362
jatcwang merged 2 commits intotypelevel:mainfrom
felix-hedenstrom:added-read-emap

Conversation

@felix-hedenstrom
Copy link
Contributor

I was looking into extending the neotype integration with doobie and wanted to map a Read where the map might fail. The solution I came up with forced me to add throwing code in the interop layer. I would like it if doobie had the capability to do this as part of Read so it had feature parity with Get.

What do you think about this?

@felix-hedenstrom
Copy link
Contributor Author

Here is my PR for neotype for context kitlangton/neotype#402

Copy link
Collaborator

@jatcwang jatcwang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks this is a good addition!

@jatcwang jatcwang merged commit 606cc5b into typelevel:main Jan 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants