self(auto)- documenting encoders and decoders
Go to file
Tom Sydney Kerckhove 29e697c308 matchChoicesCodec
2021-10-27 22:34:11 +02:00
.github Trying to set up CI 2021-10-24 19:21:59 +02:00
autodocodec matchChoicesCodec 2021-10-27 22:34:11 +02:00
autodocodec-aeson clearer tests 2021-10-27 21:51:21 +02:00
autodocodec-yaml Value Codec 2021-10-27 18:19:34 +02:00
nix test failure 2021-10-24 19:34:17 +02:00
.gitignore trying a thing 2021-10-20 17:59:50 +02:00
.hlint.yaml Got tests to pass 2021-10-26 23:51:13 +02:00
ci.nix Trying to set up CI 2021-10-24 19:21:59 +02:00
default.nix Trying to set up CI 2021-10-24 19:21:59 +02:00
LICENSE trying a thing 2021-10-24 19:29:57 +02:00
README.md something that roundtrips 2021-10-20 18:23:55 +02:00
shell.nix test failure 2021-10-24 19:34:17 +02:00
stack.yaml tests pass 2021-10-27 02:28:29 +02:00

Autodocodec

Autodocodec is short for "self(auto)- documenting encoder and decoder".

Goals:

  • Correct-by-construction encoding and decoding, without generating code.
  • Generate automatically-correct documentation from code.
  • Fun but not important: Be able to provide instances without depending on aeson and/or yaml.
  • Would be nice: support for recursive types.