leanprover-community / mathlib

  • Home
  • Zulip archive
  • API documentation
  • Lean web editor
  • Links

Zulip Chat Archive

Stream: lean4

Topic: Expanding macros from IO


Eric Wieser (Mar 26 2024 at 17:34):

Is there a recommended way to run a MacroM from IO? The example I have in mind is reading in a source file, parsing it, expanding a macro, stringifying it, then writing it back out.

Eric Wieser (Mar 26 2024 at 17:35):

(the monad map does not show MacroM at all)


Last updated: May 02 2025 at 03:31 UTC

Theme Simple by wildflame © 2016 Powered by jekyll