mkT Extend the identity function with a type-specific transformation.
The function created by mkT ext behaves like the identity function on all
arguments which cannot be cast to type b, and like the function ext otherwise.
The name mkT is short for "make transformation".
Examples
mkT not TrueFalse
mkT not 'a''a'