Support for coercing basic data types.
Provides:
- coercion protocols which define
asInt,asStringand so on - implementations of these protocols for foundation data types
- a
Converterprotocol which can take anAnyobject and turn it into a known type using the coercion protocols - subscript operators for Dictionary which look up a key by type:
asInt:,asString:etc, performing coercion where possible