[Haskell-cafe] Two questions regarding Alex/Parsec
Niels Aan de Brugh
nielsadb at gmail.com
Wed Jun 25 14:58:18 EDT 2008
On Wed, 2008-06-25 at 20:17 +0200, Niels Aan de Brugh wrote:
> By the way, does anyone know the answer to my original question?
> Especially the first one (Alex' AlexPosn vs. Parsec's SourcePos) is
> worrying me somewhat.
To answer my own question: as it turns out I was using an old version of
Parsec (2.1.0, the one that comes with Ubuntu Linux). A newer version of
Parsec (3.0.0) adds a newPos function in Text.Parsec.Pos that trivially
constructs a new SourcePos.
Regards,
Niels
More information about the Haskell-Cafe
mailing list