title: parse error on input 'let' Haskell
body: <p>I want to store each character from string in list  which i have read from file.so i am doing recursion over list of string called "st" and i="0" to get one string at a time and i am calling this function from my main but i am getting parse error on let and i cant get it. can you figure it out??</p>
  
  <pre><code>get' st i=do
  
  if i&lt;(length st)
  
  then print(st!!i)
  
  let j=0
  
  let j=i
  
  let i=j+1
  
  get' st i
  
  else
  
  print ("hi")
  </code></pre>