recordz/3

"recordz(+ K, T,- R" )

Makes term T the last record under key K and unifies R with its reference.