setupPromote f
This defines promotion from one ring to another as the application of a ring map. After calling setupPromote, any operation that is given an element of the source of f but expects an element of the target of f will automatically promote it by applying f.
|
|
|
|
|
|
The object setupPromote is a method function.