core.type-match-parameter-named
- description
- core.type-match-parameter over the function parameters or type arguments at the same positions
- type
Fn( patterns: List<Record{name: String, type: @core.type-ast}>, actuals: List<Record{name: String, type: @core.type-ast}>, name: String, index: Number ) -> Union{#none, #some(@core.type-ast)}- expression
fn(patterns$0, actuals$1, name$2, index$3) => match @core.list-get(list: $0, index: $3) { #none(_) => #none, #some(pattern_item$4) => match @core.list-get(list: $1, index: $3) { #none(_) => #none, #some(actual_item$5) => match @core.type-match-parameter(pattern: $4.type, actual: $5.type, name: $2) { #some(found$6) => #some($6), _ => @core.type-match-parameter-named(patterns: $0, actuals: $1, name: $2, index: @core.plus(left: $3, right: 1)) } } }
- visibility
- public
core.type-match-parameter-named (project definy, branch auto-release, snapshot oiQgPqhJm-TbM4kexXeRHBaJB_tS7gwBSewII64P-44) id: NdED9stOjKbbgopUdi_cRzl0YUlcLg2ITaWAfhDNHcQ content hash: oyaCy4e8POHWBdgLSkhi06k_eEKtsRgxBVydXdTxCEA