This project is mirrored from https://github.com/hvr/parsec.
Pull mirroring updated .
- Sep 18, 2020
-
-
Vladislav Zavialov authored
-
- May 23, 2020
-
-
Ben Gamari authored
-
- Apr 13, 2020
-
-
This adds INLINABLE pragmas to most exported combinators, which enables cross-module specialization of the Stream constraint (which can in turn enable further optimizations). This improves performance of these combinators in scenarios where GHC chooses not to inline them, since they may still be specialized instead. This change is primarily in response to a performance regression discovered by the GHC performance test suite when running haddock (since haddock uses parsec). The full discussion is available here: ghc/ghc!3041 The gist is that, without these pragmas, performance relies too heavily on inlining heuristics working out in our favor, and subtle changes in the optimizer can cause regressions. The GHC performance tests suggest this patch reliably reduces runtime of haddock on base by 7–9% and allocation by 3–5%. Pretty good for doing something so simple!
-
- Nov 14, 2019
-
-
- Jul 02, 2019
-
-
Herbert Valerio Riedel authored
It's an obsolete warning for GHC 8.8+
-
Herbert Valerio Riedel authored
Also add `@since` annotations for `parseFromFile`
-
-
This rewording makes it clear that `alphaNum` and `letter` refer to the Unicode domain whereas the `digit` parser refers to the digits contained in the ASCII subset. Addresses #98
-
-
Adding two sentences from the abstract to the header documentation for Perm. This makes it so that you don't have to hunt down the paper to understand exactly what a permutation means
-
- Jun 27, 2019
-
-
- Jun 13, 2019
-
-
Fixes #106.
-
- Dec 18, 2018
-
-
Herbert Valerio Riedel authored
-
- Aug 11, 2018
-
-
Herbert Valerio Riedel authored
...and update Travis CI
-
- Apr 19, 2018
-
-
Herbert Valerio Riedel authored
-
- Apr 16, 2018
-
-
Herbert Valerio Riedel authored
This reverts commit cd7a8e7a.
-
Herbert Valerio Riedel authored
-
- Mar 04, 2018
-
-
Herbert Valerio Riedel authored
Motivated by lib:Cabal-2.2
-
- Feb 05, 2018
-
-
Herbert Valerio Riedel authored
This is the first version whose `SafeHaskell` properties have become an intentional part of the API contract; previous versions were merely accidentally safe-inferred (or not depending on various factors; in other words, this was a fragile property). If you rely on `SafeHaskell` to consider module imports from `parsec` *safe*, this is the first version of `parsec` which actually guarantees a well-defined state. Support for GHC 7.0, GHC 7.2, and GHC 7.4.1 has been dropped, consequently the support window starts with GHC 7.4.2. This addresses #88
-
- Feb 03, 2018
-
-
Herbert Valerio Riedel authored
-
- Dec 31, 2017
-
-
Herbert Valerio Riedel authored
re #63
-
`parserTrace label` is an impure function, implemented with "Debug.Trace" that prints to the console the remaining parser state at the time it is invoked. It is intended to be used for debugging parsers by inspecting their intermediate states. These are simple yet helpful helpers for debugging Parsec parsers. Closes #63
-
- Dec 30, 2017
-
-
Herbert Valerio Riedel authored
-
Herbert Valerio Riedel authored
This is a provisional measure until `notFollowedBy` gets fixed. See #3 for more details
-
Herbert Valerio Riedel authored
-
Herbert Valerio Riedel authored
Fixes #58
-
Herbert Valerio Riedel authored
-
Herbert Valerio Riedel authored
Closes #68
-
Herbert Valerio Riedel authored
This also makes sure we use the same method implementations for `Applicative`/`Monad` across all supported GHC versions. The space leaks started being observable with GHC 7.6; GHC 7.4 didn't seem to show the space leak. Fixes #37
-
Herbert Valerio Riedel authored
-
Herbert Valerio Riedel authored
-
Herbert Valerio Riedel authored
-
`<>` does monoidal append of parse results instead of discarding previous parser's results. In case of `base < 4.9`, `semigroups` becomes a dependency Closes #82
-
Herbert Valerio Riedel authored
-
Herbert Valerio Riedel authored
This makes it more uniform with the test-suite source folder organisation, and makes sure the lib source doesn't accidentally leak into the test-suite component.
-
Herbert Valerio Riedel authored
-
Herbert Valerio Riedel authored
-
Herbert Valerio Riedel authored
-
- Oct 21, 2017
-
-