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

Duplicated types NamedX #60

Open
ggazzi opened this issue Jul 27, 2017 · 0 comments
Open

Duplicated types NamedX #60

ggazzi opened this issue Jul 27, 2017 · 0 comments

Comments

@ggazzi
Copy link
Member

ggazzi commented Jul 27, 2017

Types with the following structure occur in several modules. Indeed, some of those types are exactly the same (NamedRule is a common example.)

type NamedX = (String, X)

This indicates a need for associating names to various entities of the system. Although this is not necessary in theory, it is important for usability. We should make an effort to include names in all necessary entities. While we're at it, we should probably use Text instead of String for names, which should greatly reduce memory consumption.

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