2008 · 12 citations · 11 references
Language StudiesComputer ScienceNatural Language ProcessingProgramming LanguagesSyntaxParsingSyntactic AnalysisSyntactic ComplexitySyntactic ParsingSyntax AnalysisSyntax ParsingCompositionality PrinciplesExpression ParsingOperatorsParser DesignParsing AlgorithmsParsing ComplexityParsing TheoryTop-down Parsing
The Haskell definition and implementation of read is far from perfect. In the first place read is not able to handle the associativities defined for infix operators. Furthermore, it puts constraints on the way show is defined, and especially forces it to generate far more parentheses than expected. Lastly, it may give rise to exponential parsing times. All this is due to the compositionality requirement for read functions, which imposes a top-down parsing strategy.
11
Template meta-programming for Haskell
Tim Sheard, Simon Peyton Jones · 2002 · 548 citations
Applicative programming with effects
Conor McBride, Ross Paterson · Journal of Functional Programming · 2007 · 402 citations · Full text
Ralf Lämmel, Simon Peyton Jones · 2003 · 350 citations
Simple unification-based type inference for GADTs
Simon Peyton Jones, Dimitrios Vytiniotis, Stephanie Weirich et al. · 2006 · 336 citations
Ralf Lämmel, Simon Peyton Jones · ACM SIGPLAN Notices · 2004 · 95 citations