self(auto)- documenting encoders and decoders
Go to file
2021-10-30 11:34:16 +02:00
.github Trying to set up CI 2021-10-24 19:21:59 +02:00
autodocodec optionalFieldWithDefault 2021-10-30 11:34:16 +02:00
autodocodec-aeson something is going wrong with numbers 2021-10-30 02:32:53 +02:00
autodocodec-api-usage optionalFieldWithDefault 2021-10-30 11:34:16 +02:00
autodocodec-yaml move all tests to the api usage module 2021-10-30 00:34:47 +02:00
nix Refactor api usage tests into separate package 2021-10-30 00:29:59 +02:00
.gitignore trying a thing 2021-10-20 17:59:50 +02:00
.hlint.yaml a finite recursive schema 2021-10-29 19:56:07 +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 Refactor api usage tests into separate package 2021-10-30 00:29:59 +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.