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

Kind checking of primitives wrong? #711

Closed
yav opened this issue May 4, 2020 · 0 comments
Closed

Kind checking of primitives wrong? #711

yav opened this issue May 4, 2020 · 0 comments
Assignees

Comments

@yav
Copy link
Member

yav commented May 4, 2020

In the Prelude we have the primitive for fin declared with the wrong kind:

/** Assert that a numeric type is a proper natural number (not 'inf'). */
primitive type fin : * -> Prop

(show be fin : # -> Prop)

Surprisingly this does not lead a whole lot of errors in Cryptol, meaning that we are not checking the kinds correctly.

@yav yav self-assigned this May 5, 2020
@yav yav closed this as completed in c3eca4f May 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant