Explorer

core.compile-add-record-keys

description
Adds the keys of record items, from index, to the list of distinct strings
type
Fn(strings: List<String>, items: List<Record{key: String, value: @core.expression}>, index: Number) -> List<String>
expression
fn(strings$0, items$1, index$2) =>
  match @core.list-get(list: $1, index: $2) {
    #none(_) =>
      $0,
    #some(item$1003) =>
      @core.compile-add-record-keys(
        strings: @core.compile-add-string(strings: $0, value: $1003.key),
        items: $1,
        index: @core.plus(left: $2, right: 1)
      )
  }
visibility
public
core.compile-add-record-keys (project definy, branch auto-release, snapshot oiQgPqhJm-TbM4kexXeRHBaJB_tS7gwBSewII64P-44)
id: 9MnI54PsYW2GuBOfz-AvFffKqbi-erRB6g8qGw37tFQ
content hash: _MpvOLUumUDl1lMvyJ3F7sPyo5jSM-u7GnmB9bDrSuI