Explorer

definy.unresolved-hashes

description
The hashes that are not in the resolution cache entries, in order
type
Fn(hashes: List<String>, resolutions: List<@definy.resolution-cache-entry>) -> List<String>
expression
fn(hashes$0, resolutions$1) =>
  let resolution_index$2 = @definy.resolution-index(resolutions: $1);
  @core.list-fold(
    T: String,
    A: List<String>,
    reducer: fn(acc$3, item$4) =>
      match @definy.resolution-for(resolutions: $2, content_hash: $4) {
        #some(_) =>
          $3,
        #none(_) =>
          @core.list-append(list: $3, item: $4)
      },
    init: [],
    xs: $0
  )
visibility
public
definy.unresolved-hashes (project definy, branch main, snapshot l0VFjJZP174d8CbZWFoujAGTYjgsQu4uTq5uWCZaXgo)
id: k7W7-Ofg9-bAEQtyhcexz9S1XC1HSL0DyLlUQDcstq4
content hash: S9YgJnKZBATVS6ZkdY7HAhi-u5L2tiPuWx7A2f1BDx4