[ library(hash) | The ECLiPSe Libraries | Reference Manual | Alphabetic Index ]

# hash_next(+Iter, -Key, -Value, -Iter)

Get the next Key - Value pair according to the iterator

Iter
  Hash table iterator structure
Key
  A ground term (output)
Value
  A term (output)
Iter
  Hash table iterator structure (output)

### Modes and Determinism

- hash_next(+, -, -, -) is semidet

### Fail Conditions

No further entries left in this iteration

## See Also

hash_iter / 2, hash_last / 1, hash_list / 3