main function should take command-line arguments

Bug #550735 reported by Matt Giuca
6
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.

Matt Giuca (mgiuca)
Changed in mars:
status: Confirmed → Triaged
Revision history for this message
Matt Giuca (mgiuca) wrote :

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.

Changed in mars:
importance: Medium → Wishlist
milestone: 0.3 → none
Matt Giuca (mgiuca)
Changed in mars:
milestone: none → 0.4
Matt Giuca (mgiuca)
Changed in mars:
milestone: 1.0 → 1.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.