D-YAML
D-YAML copied to clipboard
Unclear API for `Emitter` constructor
https://github.com/dlang-community/D-YAML/blob/57c725ab57d5dd5f6348cd0b5256cc4e11b8376b/source/dyaml/emitter.d#L158-L180
@WebFreak remarked that (on L176):
why are the given in values ignored in other cases? shouldn't this rather be using contracts?
The parameters in question are not documented either.
I have absolutely no idea... but I believe this library was either a pyyaml port or inspired by it, so the answer might be found there.