sS shorten_str(O o) { ret shorten(str(o)); } sS shorten_str(O o, int max) { ret shorten(str(o), max); } sS shorten_str(int max, O o) { ret shorten_str(o, max); }