reroot-right ( value prio left right -- heap )


Vocabulary
persistent.heaps.private

Inputs
valuean object
prioan object
leftan object
rightan object


Outputs
heapan object


Definition


:: reroot-right ( value prio left right -- heap )
right value>> right prio>> left value prio right left>>
right right>> sift-down <branch> ;