Explorer

core.call-argument-from

description
core.call-argument searching from the index
type
Fn(arguments: List<Record{name: String, value: @core.expression}>, name: String, index: Number) -> @core.expression
expression
fn(arguments$0, name$1, index$2) =>
  match @core.list-get(list: $0, index: $2) {
    #none(_) =>
      #hole({probe: false}),
    #some(item$1004) =>
      let argument$3 = $1004;
      match @core.equal(left: $3.name, right: $1) {
        true =>
          $3.value,
        false =>
          @core.call-argument-from(arguments: $0, name: $1, index: @core.plus(left: $2, right: 1))
      }
  }
visibility
public
core.call-argument-from (project definy, branch auto-release, snapshot oiQgPqhJm-TbM4kexXeRHBaJB_tS7gwBSewII64P-44)
id: k2xxP24LqKPQo6Bctc_Ew5kL6wQHxNE0HrIC285_kSs
content hash: UPq_Q0F4acaKGvVSJ-phYiXz7p4qCuUxoF655LqxyE8