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

Various type rep improvements #40

Open
4 of 16 tasks
jmanuel1 opened this issue Nov 9, 2024 · 0 comments
Open
4 of 16 tasks

Various type rep improvements #40

jmanuel1 opened this issue Nov 9, 2024 · 0 comments

Comments

@jmanuel1
Copy link
Owner

jmanuel1 commented Nov 9, 2024

  • TODO: Remove generic type responsibility from this class [py_function] Take generics responsibility out of PythonFunctionType #41
  • Separate overloaded type responsibility from py_function https://github.com/jmanuel1/concat/tree/separate-py-function-and-overloading
  • Get mypy to accept comparison of kinds
    • FIXME: Not a total order, using total_ordering might be very unsound. [Kind]
  • [-] Represent mutually recursive types as fixpoints
    • [-] Distinguish between sequences (stacks), tuples, and variable arguments
  • Rename _Function to StackEffect
  • Use WHNF reduction
  • Use visitor pattern for constraints
  • Mutable substitutions and vars?
  • Other todos
    • If equality is implemented separately from subsumption, use indices for alpha equivalence instead of substitutions
  • Internal intersection type?
    • Use it for subtyping?
  • Split concat.typecheck.types into modules
  • Move types defined in Python to stubs
  • Use the argument types in py_function and make them accurate to Python, or remove them
  • make type equality (is it really an equality?) a testing utility, because I think it's only used from tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant