Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce the attribute #[doc(...)] for doc comments #42

Merged
merged 37 commits into from
Sep 30, 2021

Conversation

gfngfn
Copy link
Owner

@gfngfn gfngfn commented Sep 9, 2021

#[doc(```
  `map f [v_1, …, v_n]` applies function `f` to each `v_i` in the given order,
  and builds the list [f v_1, …, f v_n] with the results produced by `f`.
```)]
val map<$a, $b> : fun(fun($a) -> $b, list<$a>) -> list<$b>

@gfngfn
Copy link
Owner Author

gfngfn commented Sep 23, 2021

Although they have not been perfect yet, documents generated by DocumentGenerator came to be somewhat satisfactory:

sesterl_doc_screen_shot

source: https://github.com/gfngfn/sesterl_stdlib/blob/2765531d386c78bf6e40e319951e1b3efb3221af/src/Stdlib.sest

@gfngfn gfngfn merged commit 3e40272 into master Sep 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant