zio-codec
zio-codec copied to clipboard
High-performance codecs for ZIO applications
[](https://renovatebot.com) Welcome to [Renovate](https://togithub.com/renovatebot/renovate)! This is an onboarding PR to help you understand and configure settings before regular Pull Requests begin. 🚦 To activate Renovate, merge this Pull Request....
A sum type requires a fallible deconstructor and infallible constructor for each term. Or more if we want totality checking at compile-time.
Connects #5 More preparation, less JVM instructions, same result. What does it tell? 🤔
Equiv should have subtypes that witness equality between nested tuples and "case classes" of arity up to 22. More details and a prototype in a different project can be found...
Use `CharCodecModule` to experiment with.
1. I think it should be ```scala Read(min: Int, max: Int) ``` in `CodecVM` 2. The use case ```scala case Read(min, max) => ``` to be implemented in `def interpret`...
Given appropriate `Equiv` (see #18), it is not necessary to allocate nested eithers, but rather, one can go direct from the parse data to the target structure. See [here](https://github.com/spartanz/parserz/issues/75) for...
This work is explored (and code is available as PR) in parserz repo https://github.com/spartanz/parserz/issues/75