Friday, January 2, 2009

Idiom: obtaining property values from built-in lists

Example: CountryData[#,"LifeExpectancy"]& /@ CountryData[]

This type of idiom appears frequently in the Mma What's New pages.

An explanation of this appears here.

Roger Williams
Franklin Laboratory

No comments:

Post a Comment