main function should take command-line arguments
Bug #550735 reported by
Matt Giuca
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mars |
Triaged
|
Wishlist
|
Matt Giuca |
Bug Description
The current type signature for Mars main functions is () -> Int. It should be possible to define main functions of type Array(Array(Int)) -> Int, which will then receive command-line arguments as an array of strings.
Changed in mars: | |
status: | Confirmed → Triaged |
Changed in mars: | |
milestone: | none → 0.4 |
Changed in mars: | |
milestone: | 1.0 → 1.1 |
To post a comment you must log in.
This won't be very useful until bug #595762 is fixed (add file operations, not just stdin and stdout). De-milestoning and setting priority to wishlist.