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

Typespec support documentation #92

Closed
baldwindavid opened this issue May 31, 2022 · 3 comments
Closed

Typespec support documentation #92

baldwindavid opened this issue May 31, 2022 · 3 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@baldwindavid
Copy link

It's nice to see projects like Gradient, TypeCheck, and Norm developing to improve the ability to check types in Elixir. Fairly early on in the development of TypeCheck I added a page that broke down the current status of support for the typespecs. This is mostly just Elixir's typespec documentation with checkmarks next to what is/isn't supported. At this point, most of it is supported in some way:
https://hexdocs.pm/type_check/comparing-typecheck-and-elixir-typespecs.html

Would it be useful to have something similar for this project? I am excited about both projects, but they go at the problem in completely different ways. Perhaps it also be helpful to compare and contrast the projects at some point.

@erszcz
Copy link
Member

erszcz commented Jun 1, 2022

The idea is great and if you could invest some time to start such a breakdown page it would be absolutely awesome! 🤩

@erszcz erszcz added documentation Improvements or additions to documentation enhancement New feature or request labels Jun 1, 2022
@erszcz
Copy link
Member

erszcz commented Jun 1, 2022

That might be quite an effort, though, so it's completely understandable if you cannot afford the time.

Another perspective at feature completeness is consideration of what language constructs are already covered by the type checker. Alas, neither Gradient nor Gradualizer have such documentation available so far - the only documentation (of this aspect) is the implementation. Recently we had some issues touching this aspect such as #85, #73, or #84 that you raised.

@baldwindavid
Copy link
Author

Cool, if I get a chance, I may take a crack at it. I'm still very much a noob of gradient/gradualizer so it probably wouldn't be imminent. I do know that the TypeCheck creator will also be talking soon about some of the tradeoffs between TypeCheck, Gradualizer, and Dialyzer... https://www.elixirconf.eu/talks/typecheck-effortless-runtime-type-checking/ - Maybe that helps inform some of the documentation.

@baldwindavid baldwindavid closed this as not planned Won't fix, can't repro, duplicate, stale Nov 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants