PDB parser in Haskell