[Swift-user] Expanding arrays in app function command lines

Mihael Hategan hategan at mcs.anl.gov
Wed Jan 28 10:40:19 CST 2009


On Wed, 2009-01-28 at 07:59 -0800, Ben Clifford wrote:
> It's not really a tuple in say the Haskell sense- in those, the number of elements is statically defined and are more like anonymous structures where the elements are named by position.

That's not the issue. I wasn't looking at it from a type validation
perspective. We're already doing implicit type coercion there. I wanted
some way to make it clear that '"-a" array' will not likely result in
what the user expects (i.e. one argument after "-a").




More information about the Swift-user mailing list