Files
pplus-library/mojo/probes/print-list.mojo
T
alexm 568474d52f
Test (in pplus-core) / in-core (push) Failing after 28m44s
Initial commit
2026-11-12 22:23:48 -05:00

9 lines
204 B
Mojo

# probe: can a List be printed, and how do its elements look?
def main():
var nums = [1, 2, 3]
print(nums)
var words = ["a", "b"]
print(words)
var empty = List[Int]()
print(empty)