Indentation sensitive parsing combinators for Parsec and Trifecta

Stackage Nightly 2016-02-29:
Latest on Hackage:0.3.2

See all snapshots indentation appears in

BSD3 licensed by Michael D. Adams <>

Indentation sensitive parsing combinators for Parsec and Trifecta.

This package provides both the Parsec and Trifecta combinators. It is mainly useful for backward compatability with older versions of indentation. Individual backends are available in the indentation-parsec and indentation-trifecta packages.


Michael D. Adams and Ömer S. Ağacan. Indentation-sensitive parsing for Parsec. In Proceedings of the 2014 ACM SIGPLAN Symposium on Haskell, Haskell ’14, pages 121–132. ACM, New York, NY, USA, September 2014. ISBN 978-1-4503-3041-1. doi:10.1145/2633357.2633369.



  • Bump indentation-trifecta dependency to 0.0.2 (supports trifecta-1.7)
  • Bump base bounds to support GHC 8.2.1


  • Bump indentation-trifecta dependency to 0.0.1 (supports trifecta-1.6)

  • Hyperlink Haddock of re-exported modules to the other packages.


  • Broke package up into indentation-core, indentation-parsec and indentation-trifecta packages. This package is now solely for backward compatability.

  • Support GHC 8.0.1 (release candidate 2)

  • Bump base dep to allow 4.8.* Builds with ghc-7.10.1


  • Export ‘Token’ from ‘Text.Trifecta.Indentation’

    • Add new testcase
  • Re-export ‘Text.Parser.Indentation.Implementation.IndentationState’ from ‘Text.Trifecta.Indentation’

  • Add (simple) tests for Parsec and Trifecta.

  • Allow building with parsec >= 3.1.7 and trifecta >= 1.5
comments powered byDisqus