Explorer

core.count-functions-in-expressions

description
count plus the functions in the expressions from index (core.count-functions-acc)
type
Fn(items: List<@core.expression>, 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-expressions(
        items: $0,
        index: @core.plus(left: $1, right: 1),
        count: @core.count-functions-acc(expr: $3, count: $2)
      )
  }
visibility
public
core.count-functions-in-expressions (project definy, branch main, snapshot CfIAXM725tR74SWd4aoTUz4-JJQfqnllblZbQ2Sv204)
id: vhQl30WFOM6c-E6C4NRQ4J8FYWNVpD5kAK-h_lphJ10
content hash: TrM3p_QIer23ORD2xfv-En1tXpIkUwAyTSsQYZF1HUo