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

Adding Standalone Kind Signatures to functions #578

Open
Anton-Latukha opened this issue May 23, 2020 · 0 comments
Open

Adding Standalone Kind Signatures to functions #578

Anton-Latukha opened this issue May 23, 2020 · 0 comments
Labels
good first issue Suggested for someone who is not yet familiar with the codebase

Comments

@Anton-Latukha
Copy link
Collaborator

Anton-Latukha commented May 23, 2020

Not far ago the third semantic level of Haskell was provided with ability to give standalone kind signatures.

-> GHC manual

In the future Haskell would move away from CUSK to a more rigorous kind/types algorithm, moving away from CUSK would allow more easily do some complex things in the code. And all that means that the proper standalone kind signatures in the future would be more needed/expected to be in the code.

Kind signatures are simple to construct and provide, they are considered towards good coding style, it would help a type system, which in place would help a bit, developers. Kind signatures would be very useful to rely on and allow developers to be able to go into more type level programming features.

Bigger code signatures would be compensated by outshine/literate structuring and the ability to wrap the code.

To newcomers - providing kind signature allows to read through the chunks of the code what would introduce them to the project. And in the process - they would at the same provide useful work to make code style of the project better and more robust.

+====

For more information:

-> GHC proposal
-> Good explanations and documentation in the implementation

@Anton-Latukha Anton-Latukha added the good first issue Suggested for someone who is not yet familiar with the codebase label May 23, 2020
@Anton-Latukha Anton-Latukha changed the title Adding KindSignatures to all exported funcitons, to all module scope functions Adding Standalone Kind Signatures to all exported funcitons, to all module scope functions May 23, 2020
@Anton-Latukha Anton-Latukha changed the title Adding Standalone Kind Signatures to all exported funcitons, to all module scope functions Adding Standalone Kind Signatures to funcitons Mar 17, 2021
@Anton-Latukha Anton-Latukha changed the title Adding Standalone Kind Signatures to funcitons Adding Standalone Kind Signatures to functions Nov 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Suggested for someone who is not yet familiar with the codebase
Projects
None yet
Development

No branches or pull requests

1 participant