modular/modular

[Feature Request] [stdlib] Prettier `SIMD` scalar printing

Open

#5,838 opened on Jan 24, 2026

View on GitHub
 (4 comments) (3 reactions) (0 assignees)Mojo (2,832 forks)github user discovery
enhancementgood first issuemojomojo-stdlib

Repository metrics

Stars
 (26,262 stars)
PR merge metrics
 (Avg merge 6m) (1 merged PR in 30d)

Description

Review Mojo's priorities

What is your request?

After the change making UInt an alias for Scalar[DType.uindex] printing any collection of UInt gives e.g. [SIMD[DType.uindex, 1](1), ...]. I think we should make the printing of scalars use the aliases that we have, since IMO this introduces too much visual noise when debugging for no apparent benefit beyond making a parser for this a bit simpler. IMO it's a change that will be worth it.

What is your motivation for this change?

...

Any other details?

...

Contributor guide