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

Trust any defined specs when inferring #5

Open
olivergeorge opened this issue Apr 26, 2017 · 2 comments
Open

Trust any defined specs when inferring #5

olivergeorge opened this issue Apr 26, 2017 · 2 comments

Comments

@olivergeorge
Copy link

Just a thought. Relates to map-of vs keys issue.

Perhaps the spec inferring process could be passed a set of known specs (spec registry) and work on a "validate if present, fill in the blanks if not" manner.

Benefits here would be:

  • Allows fleshing out incomplete specs
  • Mechanism to inform the spec analysis (stepping over tricky things like map-of vs keys)
@stathissideris
Copy link
Owner

That's an interesting thought, I hadn't considered using the existing specs to help with inference and taking them into account. It's probably in the "advanced" category of features for now (more basic stuff is higher priority), but definitely worth taking into account.

@frenchy64
Copy link

This paper might bring some inspiration.

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

3 participants