History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: BOO-961
Type: New Feature New Feature
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Cedric Vivier
Reporter: Avishay Lavie
Votes: 0
Watchers: 0
Operations

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

Shorthand syntax for IEnumerable of T

Created: 07/Feb/08 01:42 PM   Updated: 01/May/08 08:54 AM
Component/s: Parser
Affects Version/s: None
Fix Version/s: 0.8.2

Time Tracking:
Not Specified

Issue Links:
Duplicate
 


 Description  « Hide
Since IEnumerables are starting to be as common as arrays, if not more so, I think it would be very productive to provide a shorthand syntax for IEnumerable of some type. For example:
def DoStuffWithStrings(strings as string*):
  pass

Instead of:

def DoStuffWithStrings(strings as IEnumerable of string):
  pass


 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Cedric Vivier - 01/May/08 08:54 AM
landed in rev. 2931