printf

Text.Printfモジュールにあります (http://cvs.haskell.org/Hugs/pages/libraries/base/Text-Printf.html).