Explorer

core.compile-collect-part-strings

description
core.compile-collect-strings of the expressions of parts, from index
type
Fn(
  parts: List<Record{id: String, expression: @core.expression}>,
  index: Number,
  strings: List<String>
) -> List<String>
expression
fn(parts$0, index$1, strings$2) =>
  match @core.list-get(list: $0, index: $1) {
    #none(_) =>
      $2,
    #some(item$1003) =>
      @core.compile-collect-part-strings(
        parts: $0,
        index: @core.plus(left: $1, right: 1),
        strings: @core.compile-collect-strings(expr: $1003.expression, strings: $2)
      )
  }
visibility
public
core.compile-collect-part-strings (project definy, branch main, snapshot CfIAXM725tR74SWd4aoTUz4-JJQfqnllblZbQ2Sv204)
id: 17OI8o_bYsMuzithwICoiUAsAqvjC8dLBjzL2_DNk2g
content hash: p3heYtv_QNwmYiNDNY4MXik0uqf47hmZD8XEc40xyqU