We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The introduction to the chapter on structures says,
Remember that a non-recursive inductive type that contains only one constructor is called a structure or record.
This appears to need further qualification. Consider the following, which cannot be expressed as a structure:
variable (α β : Type) (f : β → α → α) inductive Foo : α → α → Prop | bar (b : β) (a : α) : Foo a (f b a)
Zulip discussion
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The introduction to the chapter on structures says,
This appears to need further qualification. Consider the following, which cannot be expressed as a structure:
Zulip discussion
The text was updated successfully, but these errors were encountered: