Test.Hspec.Attoparsec

Equality-based combinator

shouldParse

Predicate-based combinator

parseSatisfies

Inspecting the result

shouldSucceedOn

shouldFailOn

Inspecting unconsumed input

leavesUnconsumed

The Source class, connecting parsers and inputs

class Source parser string string' result

The Leftover class, letting us inspect unconsumed input

class Leftover r s