Zulip Chat Archive
Stream: metaprogramming / tactics
Topic: Calling CommandElabM from MetaM
Eric Wieser (Oct 22 2024 at 19:56):
Is it possible to jump monads in this direction? The motivation is to be able to generate a Command
term, then elaborate it in some discarded environment to check that it round-trips to the expected object.
Kyle Miller (Oct 22 2024 at 20:03):
Yes, liftCommandElabM
. It has some bugs, though there is a PR (lean4#5800)
Eric Wieser (Oct 22 2024 at 20:26):
Added to the monad map, thanks!
Last updated: May 02 2025 at 03:31 UTC