nb_beam_peek/4

nb_beam_peek(+ Beam, - Key, - Value)* )

Key- Value is the element with smallest Key in the beam Beam. Fail if the beam is empty.