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

Consider using Vinyl records #8

Open
scott-fleischman opened this issue Jun 10, 2015 · 0 comments
Open

Consider using Vinyl records #8

scott-fleischman opened this issue Jun 10, 2015 · 0 comments
Labels

Comments

@scott-fleischman
Copy link
Owner

I find myself modifying the open-ended Token type by stripping marks, removing case and other similar operations. It caused a lot of runtime issues that would have been better caught at type-checking time.

@jonsterling's Vinyl records may be useful here to encode marks as separate records and be more precise in type signatures about which marks are expected to be present or not present without having to specify a new Token record type for every combination of marks that we need.

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

No branches or pull requests

1 participant