core.count-functions-in-arms
- description
- count plus the functions in the bodies of the match arms from index
- type
Fn(items: List<@core.match-arm>, index: Number, count: Number) -> Number
- expression
fn(items$0, index$1, count$2) => match @core.list-get(list: $0, index: $1) { #none(_) => $2, #some(item$3) => @core.count-functions-in-arms( items: $0, index: @core.plus(left: $1, right: 1), count: @core.count-functions-acc(expr: $3.body, count: $2) ) }
- visibility
- public
core.count-functions-in-arms (project definy, branch main, snapshot CfIAXM725tR74SWd4aoTUz4-JJQfqnllblZbQ2Sv204) id: zyHFWZ2faOeDcE_o0xwRxCN2P1_3S4Yqy0JzmFuo2Ns content hash: _qqzCJognNIT-TtKivUIBn7vnDKyEDgo-VYzD2Bf06o