Parsec as a Dependency?

Ian Lynagh igloo at
Mon Jun 11 07:52:43 EDT 2007

On Mon, Jun 11, 2007 at 01:16:58PM +0200, Marc Weber wrote:
> If this happens may I propose having a look at my small parsec patch
> allowing arbitrary token types not only chars ?

I'm a bit confused as to what your patch does; parsec already supports
arbitrary token types, doesn't it? e.g.

    parse :: GenParser tok () a -> SourceName -> [tok] -> Either ParseError a

works with any token type tok.


More information about the cabal-devel mailing list