tomland icon indicating copy to clipboard operation
tomland copied to clipboard

[RFC] 'tomlExample' function

Open chshersh opened this issue 5 years ago • 0 comments

It would be nice to have a function where you give it a Codec and you get TOML example for this function.

I guess a simple (but will require to change a lot of code) solution would be to add an extra field codecExample of type a to the Codec type. Alternative solution: implement some typeclass like TomlSchema.

chshersh avatar May 06 '20 22:05 chshersh