Explorer

core.eval-hash-index-buckets

description
The buckets from bucket to size - 1 of list_hash_index in the evaluator
type
Fn(items: List<@core.value>, field: String, size: Number, bucket: Number, accum: List<@core.value>) -> List<@core.value>
expression
fn(items$0, field$1, size$2, bucket$3, accum$4) =>
  match @core.less-than(left: $3, right: $2) {
    true =>
      @core.eval-hash-index-buckets(
        items: $0,
        field: $1,
        size: $2,
        bucket: @core.plus(left: $3, right: 1),
        accum: @core.list-append(
          list: $4,
          item: #list(@core.eval-hash-index-bucket(items: $0, field: $1, size: $2, bucket: $3, index: 0, accum: []))
        )
      ),
    false =>
      $4
  }
visibility
public
core.eval-hash-index-buckets (project definy, branch auto-release, snapshot oiQgPqhJm-TbM4kexXeRHBaJB_tS7gwBSewII64P-44)
id: U2vLKuPGuWL4k9zu61jEsE__qAo1zp2VVBdT-cyplTU
content hash: 8PM_F41PjI9t44-oLoqWiMDYCwkRlBw-C6pgSzIoIHw