Putting answer here in case somebody searching for formatting libraries in Haskell on StackOverflow. There's type-safe and fast formatting library called fmt now. With it you can write code like this:
> "There are "+|n|+" million bicycles in "+|city|+"."