title: attoparsec or parsec in haskell
body: <p>I have to parse some files and convert them to some predefined datatypes.</p>
  
  <p>Haskell seems to be providing two packages for that:</p>
  
  <ol>
  <li><a href="http://hackage.haskell.org/package/attoparsec" rel="noreferrer">attoparsec</a></li>
  <li><a href="http://hackage.haskell.org/package/parsec" rel="noreferrer">parsec</a></li>
  </ol>
  
  <p>What is the difference between the two of them and which one is better suited for parsing a text file according to some rules?</p>