There is a Printf module in GHC.
import Text.Printf
str :: String
str = printf "%d %d" 10 20
however it is probably simpler to just do
str = show 10 ++ " " ++ show 20
There is a Printf module in GHC.
import Text.Printf
str :: String
str = printf "%d %d" 10 20
however it is probably simpler to just do
str = show 10 ++ " " ++ show 20