Skip to content

Conventions around docstrings? #554

Answered by eliaslfox
ornamentist asked this question in Help!
Discussion options

You must be logged in to vote

We try not to in the standard library. Coalton's stdlib docs get fed into a markdown generator, that only shows type signatures. See the docs here. Because parameter names aren't visible in type signatures we try not to reference them in docstrings.

We do use backtics for types because those look pretty in markdown.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ornamentist
Comment options

@stylewarning
Comment options

Answer selected by eliaslfox
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help!
Labels
None yet
3 participants