Zulip Chat Archive

Stream: general

Topic: noncomputable variable


Mario Carneiro (Jun 12 2021 at 06:12):

More random parser facts:

private noncomputable mutual variable x :  -- not an error

In fact, the modifiers here are not unused; from the code it seems like the declaration modifiers will be propagated to nested definitions. I challenge anyone to find an example of a variable declaration that compiles differently depending on the modifiers

Mario Carneiro (Jun 12 2021 at 06:52):

apparently square bracket args aren't parsed like the other kinds:

variables [P Q : ] -- parse error

Last updated: Dec 20 2023 at 11:08 UTC