Creates a new `HigherOrderSignature` from a given type signature and volatility.
(type_signature: HigherOrderTypeSignature, volatility: Volatility)
| 103 | impl HigherOrderSignature { |
| 104 | /// Creates a new `HigherOrderSignature` from a given type signature and volatility. |
| 105 | pub fn new(type_signature: HigherOrderTypeSignature, volatility: Volatility) -> Self { |
| 106 | HigherOrderSignature { |
| 107 | type_signature, |
| 108 | volatility, |
| 109 | lambda_parameters_max_iterations: LAMBDA_PARAMETERS_MAX_ITERATIONS, |
| 110 | } |
| 111 | } |
| 112 | |
| 113 | /// User-defined coercion rules for the function. |
| 114 | pub fn user_defined(volatility: Volatility) -> Self { |
nothing calls this directly
no test coverage detected