It is sometimes necessary to create a function which is an exact copy of
another function. Or sometimes it is necessary to introduce a few
variations, while carrying all the other aspects. Because of function
attributes, parameter storage classes and user-defined attributes, this
requires building a string mixin. In addition, the mixed-in code must refer
only to local names, if it is to work across module boundaires.
This module facilitates the creation of such mixins.
Return a Function object that captures all the aspects of Fun, using the
value of localSymbol to represent the return and parameter types, and the
UDAs.
It is sometimes necessary to create a function which is an exact copy of another function. Or sometimes it is necessary to introduce a few variations, while carrying all the other aspects. Because of function attributes, parameter storage classes and user-defined attributes, this requires building a string mixin. In addition, the mixed-in code must refer only to local names, if it is to work across module boundaires.
This module facilitates the creation of such mixins.