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

Add types to stitch #158

Open
mlb2251 opened this issue Nov 25, 2022 · 0 comments
Open

Add types to stitch #158

mlb2251 opened this issue Nov 25, 2022 · 0 comments

Comments

@mlb2251
Copy link
Owner

mlb2251 commented Nov 25, 2022

  • typecheck at the end. Maybe do it as an assertion because if it failed that might indicate that some of our pruning is pruning wrong. I dont think abstractions should ever mis typecheck
  • typecheck the input programs as well ofc
  • allow for not giving types as input at all ofc, bc sometimes you might have arbitrary constants or not want to write one or want variadic functions or whatever.
  • but when types are provided, it allows you to eta-longify if desired
  • types through the json instead of a rust file? idk
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

No branches or pull requests

1 participant