Zulip Chat Archive
Stream: general
Topic: parentheses optional in `structure`
Eric Wieser (May 07 2021 at 08:48):
I was surprised to find this is legal:
structure foo α (x : α) :=
(y : α)
structure bar x > 0 :=
(hlt : x < 10)
Is it an accident that this syntax is allowed for structure
but seemingly forbidden for inductive
?
Last updated: Dec 20 2023 at 11:08 UTC