DynamoDS/Dynamo — pull request #2029 by ke-yu (2014-07-24 04:34:06+00:00)
Title: Fix nested List.Map

This submission is to fix [MAGN-4009 Nested List.Map doesn't work] (http://adsk-oss.myjetbrains.com/youtrack/issue/MAGN-4009#)

It is because ``List.Map(list, f(x))`` is mapped to function ``__Map(functionObject, params)``, notice two functions' parameters are in reverse order, so when ``List.Map()`` is partially applied, the parameter position should be reversed as well, i.e., 0 -> 1 and 1 -> 0.

Test case TestNestedListMap added.

Result:

![listmap](https://cloud.githubusercontent.com/assets/2600379/3683699/a7e826d8-12eb-11e4-9507-277ff2a6531c.png)