Top "Parsec" questions

Parsec is an industrial-strength, monadic parser combinator library for Haskell.

Parse XML in Haskell

I'm trying to get data from a webpage that serves a XML file periodically with stock market quotes (sample data). …

xml parsing haskell parsec
What are the benefits of applicative parsing over monadic parsing?

There seems to be a consensus that you should use Parsec as an applicative rather than a monad. What are …

haskell monads parsec applicative
Parsec vs Yacc/Bison/Antlr: Why and when to use Parsec?

I'm new to Haskell and Parsec. After reading Chapter 16 Using Parsec of Real World Haskell, a question appeared in my …

haskell parsec
attoparsec or parsec in haskell

I have to parse some files and convert them to some predefined datatypes. Haskell seems to be providing two packages …

haskell parsec attoparsec
Full parser examples with parsec?

I'm trying to make a parser for a simple functional language, a bit like Caml, but I seem to be …

haskell parsec
Can parser combinators be made efficient?

Around 6 years ago, I benchmarked my own parser combinators in OCaml and found that they were ~5× slower than the parser …

haskell f# parser-generator parser-combinators parsec
ghc-7.10: Non type-variable argument (Use FlexibleContexts to permit this)

I was trying to use ghc-7.10 (RC 2) and got this message in a number of cases, e.g., src/Text/…

haskell ghc parsec