(ref-min-history ref) (ref-min-history ref n)
Gets the min-history of a ref, or sets it and returns the ref