modular/modular

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

Open

#5,838 创建于 2026年1月24日

在 GitHub 查看
 (4 评论) (3 反应) (0 负责人)Mojo (2,832 fork)github user discovery
enhancementgood first issuemojomojo-stdlib

仓库指标

Star
 (26,262 star)
PR 合并指标
 (平均合并 6分钟) (30 天内合并 1 个 PR)

描述

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?

...

贡献者指南