Zulip Chat Archive

Stream: lean4

Topic: Parameterised Blocks/Modules?


Ellis Kesterton (Aug 05 2023 at 14:38):

Is there any feature in Lean4 that would allow me to parameterise a bunch of definitions by the same type, in the style of Agda modules or Idris parameter blocks? The "variable" construct does not quite do what I want, since within the scope of the variable I must keep instantiating my types with the variables.


Last updated: Dec 20 2023 at 11:08 UTC