leanprover-community / mathlib

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

Zulip Chat Archive

Stream: lean4

Topic: Set variables at compile-time via compiler CLI


Ricardo Prado Cunha (Sep 23 2024 at 02:02):

Is there any way to set values via the compiler CLI that I can query in the program at compile-time? I'm looking for something like gcc/clang's -D flag or rustc's --cfg flag.


Last updated: May 02 2025 at 03:31 UTC

Theme Simple by wildflame © 2016 Powered by jekyll