Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Printing at compile time - Modular
M
Modular
•
2y ago
Aziz
Printing at compile time
How to print at compile time
? Something that looks like the following code
, which currently does not compile
:
fn
main
()
:
alias n
=
99
print[
"Compiling with n = "
, n]()
fn
main
()
:
alias n
=
99
print[
"Compiling with n = "
, n]()
Modular
Join
This server is the home of the MAX and Mojo community! Join us to chat about all things Modular.
20,199
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Compile time facilities
M
Modular / questions
17mo ago
Compile Time UUID
M
Modular / questions
2y ago
Compile time properties?
M
Modular / questions
3y ago
Compile time `U8`
M
Modular / questions
3y ago