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