kowainik / tomland

🏝 Bidirectional TOML serialization
https://kowainik.github.io/posts/2019-01-14-tomland
Mozilla Public License 2.0
120 stars 39 forks source link

Reimplement custom State #311

Closed vrom911 closed 4 years ago

vrom911 commented 4 years ago

Now we don't have Reader anymore and the only thing that is blocking DerivingVia feature for generics is State. We can try to reimplement the custom one and see how it works for us.

chshersh commented 4 years ago

As a bonus side-effect (and a proof-of-the-approach): we can implement diwrap using just coerce