procedure disp(deck)
   static fresh, suits, denoms
   initial {
      fresh := &ucase || &lcase
      suits := repl("C",13) || repl("D",13) || repl("H",13) ||
         repl("S",13)
      denoms := repl("A23456789TJQK",4)
      }
   write(map(deck,fresh,suits))	# suits
   write(map(deck,fresh,denoms))	# denominations
end
