[Haskell-cafe] parsec - source position information

Christopher Done chrisdone at googlemail.com
Thu Apr 7 17:27:29 CEST 2011


On 7 April 2011 17:22, Ozgur Akgun <ozgurakgun at gmail.com> wrote:
>
> Is there a way to get source position[1] information from parsec while
> defining a
> parser? It surely knows about source positions, as they are used while
> reporting a parsing error.
>

http://hackage.haskell.org/packages/archive/parsec/3.0.0/doc/html/Text-Parsec-Prim.html#v:getPosition
<http://hackage.haskell.org/packages/archive/parsec/3.0.0/doc/html/Text-Parsec-Prim.html#v:getPosition>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20110407/ebe69293/attachment.htm>


More information about the Haskell-Cafe mailing list