Issue Details (XML | Word | Printable)

Key: BOO-446
Type: Improvement Improvement
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Arron Washington
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Boo

Apply explode operator to non varargs parameters

Created: 17/Aug/05 06:25 PM   Updated: 20/May/08 09:09 AM
Component/s: Compiler
Affects Version/s: 0.5.6
Fix Version/s: 0.8.3

Time Tracking:
Not Specified


 Description  « Hide
Allow for functionality like,

def foo(a, b):
print a, b
vars = (1, 2)
foo(*vars)
#prints 1, 2

Also allow for functionality like:

def foo(a, b, *args):
print "${a}, ${b} were simple arguments"
print "${join(args)} were variable arguments!"
vars = (1, 2, 3, 4)
foo(*vars)
#prints 1, 2 were simple arguments
#print 3, 4 were variable arguments!



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.