What is Haskell\'s equivalent of
string str = string.Format(\"{0} {1}\",10,20); // C#
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