Zulip Chat Archive

Stream: lean4

Topic: How can I use expr inside syntax `(..)?


Juneyoung Lee (Feb 14 2024 at 17:38):

Hi all, I have a naive question about metaprogramming.
Given some x:Lean.Expr, how can I use it inside syntax e.g., (tactic| .. x ..)?

Marcus Rossel (Feb 14 2024 at 17:39):

docs4#Lean.Expr.toSyntax

Juneyoung Lee (Feb 14 2024 at 17:42):

Oops, I mistakenly posted this at the general stream. Moving this thread to a different stream (lean4) is disabled, however. :/

Juneyoung Lee (Feb 14 2024 at 17:47):

Thanks!

Notification Bot (Feb 14 2024 at 17:55):

This topic was moved here from #general > How can I use expr inside syntax `(..)? by Kyle Miller.


Last updated: May 02 2025 at 03:31 UTC