Pass input from an enumerator to an Attoparsec parser