Explorer

core.count-functions-in-call-arguments

description
count plus the functions in the values of the call arguments from index
type
Fn(items: List<Record{name: String, value: @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-call-arguments(
        items: $0,
        index: @core.plus(left: $1, right: 1),
        count: @core.count-functions-acc(expr: $3.value, count: $2)
      )
  }
visibility
public
core.count-functions-in-call-arguments (project definy, branch main, snapshot CfIAXM725tR74SWd4aoTUz4-JJQfqnllblZbQ2Sv204)
id: XEAjV4kX-2bouNCBHsLTN9wpYXOdKIBuxp6wEsjwjFo
content hash: flSA2m4YWOjEmt5Sx3PdAuAFd696sH3IYIzZqMym32s