
25 Jun
2008
25 Jun
'08
2:58 p.m.
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