A print side-effect for a list of ints