Zulip Chat Archive
Stream: general
Topic: Using config vs optConfig in language documentation
Michael Rothgang (Jul 03 2025 at 08:58):
I just stumbled upon this blob of the language reference --- using "old" config syntax. These days, I'd rather wrote simp +contextualthan simp (config := {contextual := true}). What are opinions here, is a PR changing this welcome?
Robin Arnez (Jul 03 2025 at 09:00):
Yeah this should probably show more modern syntax
Robin Arnez (Jul 03 2025 at 09:01):
For reference, here is the source: https://github.com/leanprover/lean4/blob/ff130a25a21dcd3b3d2c9ae6fcbd21def22287ee/src/Init/MetaTypes.lean#L141-L146
Michael Rothgang (Jul 03 2025 at 12:42):
Thanks! PR at lean4#9174
Last updated: Dec 20 2025 at 21:32 UTC