list/tuple/array duck typing in hist constructor