Using a partially applied function for printing.