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

Built-in data constructors and type aliases should be hardcoded #8

Open
raxod502 opened this issue May 21, 2020 · 0 comments
Open

Built-in data constructors and type aliases should be hardcoded #8

raxod502 opened this issue May 21, 2020 · 0 comments

Comments

@raxod502
Copy link
Member

Currently, all Kalyn programs must define their own instances of a number of types and type aliases, including Bool, String, List, etc. If these declarations are not imported into every module (even those which do not use them), compilation fails. Furthermore, if the declarations are incorrect, then Kalyn is no longer type-safe. Instead, all types and data constructors that appear in the signatures of primitives should be provided automatically by the compiler and imported automatically into each module.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant