title: Haskell String-> Int Type Conversion
body: <p>I'm taking my first few steps in Haskell, and I'm trying to convert a string to an integer, but I'm not managing. I've looked at similar questions and I'm still not sure.</p>
  
  <p>All I want to do is convert, e.g. <code>'6'</code> or <code>"271"</code> to integers, that is, <code>6</code> or <code>271</code> respectively. How do I do this?</p>
  
  <p>The analogue would be that in Python, I could do this easily: e.g.<code>int("2723")</code> would get the job done.</p>