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

Convert internal types to records #12

Open
rkha opened this issue Nov 25, 2016 · 0 comments
Open

Convert internal types to records #12

rkha opened this issue Nov 25, 2016 · 0 comments
Assignees

Comments

@rkha
Copy link
Owner

rkha commented Nov 25, 2016

Representing Pokemon in massive tuples of ints is just silly and makes any attempt to rework infrastructure a nightmare because the typechecker won't tell you that you forgot to swap two ints in one or two places.

Convert internal representations of Pokemon to records, and possibly for output types too (e.g. power ups would return {dust : int, candy : int}.

@rkha rkha added this to the v1 code completion milestone Nov 25, 2016
@rkha rkha self-assigned this Nov 25, 2016
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