Zulip Chat Archive

Stream: lean4

Topic: Codegen parameter names


Mac (Nov 18 2021 at 05:21):

Is there any convenient way to recover the parameter names of declaration after it has been compiled? (e.g., from a IR.Decl?) Or would one have to construct a mapping from an IR.Param to some higher-level representation of the declaration?

Mac (Nov 18 2021 at 06:06):

In particular, my use case is getting the names of parameters of a constant declaration.


Last updated: Dec 20 2023 at 11:08 UTC