Introduces utilities for working with types: SetReplaceObjectType, SetReplaceObjectQ, $SetReplaceTypes and $SetReplaceProperties.
Some of these already did exist as package scope utilities, but they could be helpful for users especially when dealing with functions such as SetReplaceTypeConvert.
Comments
617 needs to be merged first.
Examples
Examples below do not work directly because they use fake types. In order to try them out, do something like
Changes
SetReplaceObjectType
,SetReplaceObjectQ
,$SetReplaceTypes
and$SetReplaceProperties
.SetReplaceTypeConvert
.Comments
617 needs to be merged first.
Examples
Examples below do not work directly because they use fake types. In order to try them out, do something like
and then evaluate the definitions (line 15 to 79) from
typeSystem.wlt
.You can now use new utilities:
This change is