Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFC] Codecs for items in order of their appearance #328

Open
chshersh opened this issue May 27, 2020 · 0 comments
Open

[RFC] Codecs for items in order of their appearance #328

chshersh opened this issue May 27, 2020 · 0 comments
Labels
codec Conversion between TOML and custom user data types question Further information is requested

Comments

@chshersh
Copy link
Contributor

After using tomland on non-trivial use-cases, @vrom911 and I realized, that sometimes it's desirable to parse TOML items in order of their appearance. In tomland we have an intermediate data type, that represents such TOML, we only to write codecs for it. But I want to avoid is to duplicate all codecs for this new representation. So we may want to introduce a module like Toml.Codec.Sequential with some bridge codecs.

@chshersh chshersh added question Further information is requested codec Conversion between TOML and custom user data types labels May 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
codec Conversion between TOML and custom user data types question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant