title: Create List of Strings in Haskell
body: <p>I am making the pilgrimage from Java to Haskell. Broadly speaking, I get the main concepts behind Haskell. Reading all the tutorials and books 'makes sense' but I am getting stuck writing my own code from scratch.</p>
  
  <p>I want to create 1000 files on the file system with names</p>
  
  <p>"myfile_1.txt" ... "myfile_1000.txt"</p>
  
  <p>and each containing some dummy text.</p>
  
  <p>so far I have worked out the whole IO thing, and realise I need to build a list of Strings 1000 elements long. So I have:</p>
  
  <pre><code>buildNamesList :: [] -&gt; []
  buildNamesList ???
  </code></pre>
  
  <p>Once I have the List I can call the writefile method on each element. What I can't figure out is how to add a number to the end of a String to get each fileName because I can't have an int i = 0, i ++ construct in Haskell.</p>
  
  <p>I am a bit out of my depth here, would appreciate some guidance, thanks</p>