diff --git a/AGENTS.md b/AGENTS.md
new file mode 100644
--- /dev/null
+++ b/AGENTS.md
@@ -0,0 +1,173 @@
+## General guidelines
+
+See `HACKING.md`.
+
+## Docs and comments
+
+When you write docs in source code most of them must be a single sentence
+that conveys the essence of the thing you are documenting. Do not be afraid
+to use precise technical terms. Prefer them strongly to multi-word plain
+English formulations. Each sentence after the first one needs justification
+to be included—it must be important and non-trivial information.
+
+Do not write line comments that explain what is going on inside the code,
+unless the point they convey is truly important and non-trivial. Code should
+dominate comments, not the other way around.
+
+Instead of writing in Claudisms, try to write in a style that is already
+used in the codebase.
+
+Write lines that are no longer than 76 characters, if possible. The same
+applies to commit messages and especially commit headers—they always have to
+be under 76 characters.
+
+## Code
+
+Give every function you add or change a one-sentence Haddock. A function of
+several arguments gets a `-- |` line before each of them; a function of one
+argument, such as `gathered :: HsModule GhcPs -> Gathered`, gets none.
+Bindings in a `where` take no comments.
+
+Use one word for one concept across a module's name, its types and
+functions, the docs, commit messages and the changelog. Grep for the word
+before you take it, so that it does not already mean something else.
+
+`Tilia.Doc` is the interface to documents, and only it imports
+`Tilia.Doc.Internal`; renderers build documents with
+`Tilia.Doc.Combinators`. Let the layout combinators (`layoutFrom`,
+`layoutAcross`, a `variant` inside them) decide layout by how something was
+written rather than checking spans. To say where a token was written, give
+it a region (`keywordAt`, `located`); a `fence` scopes comments. Prefer
+giving the renderer a region to adding a layout primitive or a combinator.
+
+Fix the CPP support in the merge or the machinery around it, never with a
+pass that rewrites the merged document, and never by checking for directives
+in rendering code. Putting back what no configuration prints (conditionals,
+directives, comments, and the empty lines written between conditionals) is
+that machinery.
+
+Export a record whole, as `T (..)`.
+
+## Fixities
+
+Resolve an import's fixities only among the build plan's library units,
+matched by package name and version, through their exposed modules; the
+project's own modules count only for the project's own imports. A module
+several of the plan's packages hold is read from the first of them, and
+no more of GHC's package machinery is modelled. Do not model which
+`ghc-pkg` a run should ask, visibility per component, or cache keys finer
+than a package's identity.
+
+Fix a fixity finding only where a real project, from a Hackage scan or a
+user's report, shows a false decline or a wrong fixity, and only within
+these rules; document anything else as a limitation.
+
+## Checking your implementations
+
+Before declaring something done, ask yourself the question: is this the
+simplest and irreducible implementation of this logic? Are
+simplifications/ablations possible that make the solution more elegant?
+
+Before fixing a defect, decide whether it is an oversight, a case the
+existing machinery misses, or a mismatch between the design and real code,
+which no local fix cures without leaving the shapes next to it broken.
+Correct an oversight in the way the machinery already works, and meet a
+mismatch with a principled redesign rather than an ad-hoc fix. Try the
+shapes next to the one you fix, not only its reduction.
+
+Where the smallest fix for a rare shape adds a primitive, a constructor or a
+pipeline stage, report its size and ask before building it: declining such a
+module is an acceptable outcome.
+
+## Commits and pull requests
+
+Make one commit per cause, with its vendored example. Its title, in the
+imperative and under 76 characters, names the feature that changes and the
+effect a user sees, not the mechanism: "Do not report a comment carried on
+under the last import as lost" for a fix to `--check-ast`. The body says
+what went wrong and why, what the change does, where the problem was found,
+and what it costs in the benchmarks.
+
+## Audits
+
+When asked to perform an audit of the codebase it means that you should scan
+it for redundant or obsolete fragments (both in code and documentation), as
+well as potential bugs and design flaws. Fan out agents as necessary to
+accomplish this.
+
+## Hackage scans
+
+A Hackage scan runs Tilia over packages nobody has reviewed and looks for
+what it gets wrong. Unless told otherwise:
+
+1. **Pick 100 packages** as a seeded random sample of the packages whose
+   latest release is from the last two years. Take at most two of any
+   generated family (`amazonka-`, `gogol-`, `stratosphere-`) and leave out
+   packages that need `pkg-config` or a `Configure` build. Give the seed in
+   the report.
+2. **Build the binary from `origin/master`** and copy it out of
+   `dist-newstyle`, so that switching branches does not change what is
+   being tested. Name its commit in the report.
+3. **Run outside the development shell**, with only the system's GHC and
+   Cabal on `PATH` and an `XDG_CACHE_HOME` of the scan's own. What Tilia
+   decides depends on the packages `ghc-pkg` sees, and the development
+   shell sees far more of them than a user's machine does.
+4. **Fetch each package with `cabal get`** and give it a `cabal.project`
+   with `packages: .` and `allow-newer: all`. Where that leaves no build
+   plan, try again with `packages: .` alone.
+5. **Format a copy of each package** with `tilia inplace --check-ast
+   --check-idempotence`. Append two empty lines to every `.hs` file first:
+   Tilia ends what it writes with exactly one newline, so the files that
+   lost the padding are the ones it formatted, and the rest go back as they
+   were. Then `tilia check --check-ast --check-idempotence` over the result
+   must find nothing to change.
+
+Read the results in this order:
+
+- **Failed checks**, exit 27 (the program changed), 28 (not idempotent) or
+  29 (an exception), are defects.
+- **Declines**, sorted by cause. A parse error in a configuration that no
+  run of cpp produces is a defect, while a macro standing for syntax, such
+  as `CALLCONV`, is a known decline. A fixity said to differ between two
+  modules, or a module that "could not be read", is often a component
+  Cabal did not plan, such as a benchmark or a `buildable: False` one.
+- **Screens of each output against its input.** Look for:
+  - a different number of directives;
+  - words that grew, which is copied code, mostly from the CPP merge;
+  - words that shrank, which is lost code;
+  - words that changed branch, with the conditionals paired in order;
+  - new lines over 120 columns;
+  - lone keywords or punctuation on a line.
+
+  Known normalisations show up here too: one extension per `LANGUAGE`
+  pragma, pragma keywords in capitals, and merged imports.
+- **The diffs**, split into hunks that only move line breaks and spaces and
+  hunks that change the text. Read every hunk that changes the text against
+  the input; comments must stay where they were written.
+
+Reduce each candidate to a few lines in a one-module package outside this
+repository, where Tilia's own `.cabal` file does not apply. Format it twice
+with `tilia for-editor`, which reports a decline on standard error only.
+
+Before calling it a defect, check that it is none of these:
+- intended: a vendored example shows it, the changelog describes it, or an
+  issue was closed as not planned;
+- known: look through `gh issue list --state all`;
+- being fixed in an open PR.
+
+Also check whether it is a regression by trying a binary from before the
+latest commits. Verify fixity findings with a fresh cache, since the cache
+is not keyed by Tilia's version.
+
+Present the findings before filing anything, most serious first:
+1. changed or broken code;
+2. wrong fixities;
+3. copied code;
+4. false declines;
+5. moved comments;
+6. the cosmetic.
+
+Say what was checked and what is intended. An issue states the problem in
+one sentence, gives the input and what it "comes out as", and ends with
+"Found in `package-version` `path`". Run every claim in the issue before
+posting it, and quote output exactly as it was printed.
diff --git a/CHANGELOG.md b/CHANGELOG.md
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,334 @@
+## Tilia 0.2.0.0
+
+### Settings
+
+* A project can change how Tilia formats it in a `tilia.toml` file in its
+  root. [Issue 346], [PR 425].
+* A construct written on one line that runs past the column limit is broken
+  over several lines where possible. The limit is 80 unless `column-limit`
+  sets another, as in `column-limit = 100`. [Issue 309], [issue 346].
+* With `indentation = 4`, each level of nesting is indented by 4 columns
+  rather than two, and 2 and 4 are the only values it takes. [PR 398].
+* With `leading-commas = true` every construct that separates its parts with
+  commas puts each comma at the start of a line when broken. A record
+  field's Haddock then goes under it as `-- ^`, and the section headings and
+  the Haddocks among the items of an export list line up with the items.
+  [Issue 353].
+* With `leading-arrows = true`, a type broken over several lines puts each
+  `::`, `=>` and `->` in it, and the `.` of a `forall`, at the start of a
+  line, and an argument's Haddock goes under it as `-- ^`. [Issue 380].
+
+### Turning formatting off
+
+* Formatting can be turned off by placing `{- TILIA_OFF -}` and `{-
+  TILIA_ON -}` around code regions that should not be formatted.
+  [Issue 310].
+
+### Layout
+
+* One-line top-level declarations of one kind written together stay
+  together, and so do pragmas written together. [Issue 284], [issue 347].
+* A pragma stays next to the declaration it names, and a signature next to
+  its binding across a directive. [PR 390], [PR 393], [PR 476], [PR 501].
+* Where `UnicodeSyntax` is in force, symbols that have Unicode forms come
+  out in them. [Issue 350].
+* A context of one constraint written on one line loses the parentheses it
+  does not need. [PR 493].
+* A `where` written after a class, an instance or a GADT declaration with
+  nothing under it stays. [Issue 517].
+* A block of an expression, such as a `do`, a `case` or a `let`, written
+  between braces keeps them, and one written without them gets none.
+  [Issue 447], [PR 494], [PR 502], [PR 520], [PR 524].
+* More of what is written beside an `=`, a `<-` or a keyword stays there, in
+  type synonyms, rules, type family equations, data declarations, pattern
+  synonyms, GADT signatures and implicit parameter bindings. [PR 428],
+  [PR 460], [PR 464], [PR 465], [PR 470], [PR 474], [PR 495], [PR 497].
+* Pragmas come out more evenly: `DEPRECATED` and `WARNING` line up with what
+  they are on, `MINIMAL` alternatives one under another, `CTYPE` in
+  capitals, options one space apart, and header pragmas sorted where their
+  order does not matter. [Issue 415], [issue 417], [PR 428], [issue 431],
+  [issue 434], [issue 453], [PR 541].
+* `NOINLINE` pragmas, `SPECIALISE NOINLINE` among them, keep the spelling
+  they are written with, `NOINLINE` or `NOTINLINE`. [PR 590].
+* Header pragmas that name an edition keep the order they were written in,
+  an options pragma naming one with `-X` among them, since GHC compiles a
+  module under the edition named last. [PR 590].
+* In arrow notation, a chain of commands is laid out as a chain of
+  expressions is. [PR 422], [PR 428].
+* The body of a lambda or an alternative whose patterns span several lines
+  goes one step in from where they begin, and an instance head broken after
+  `instance` puts its `where` on a line of its own. [PR 469], [PR 575].
+* A record that is a data declaration's only constructor is laid out as one
+  of several is: lined up after an `=` that begins a line, with its braces
+  one step in from it. [PR 581].
+* In a chain of operators broken over lines, a tighter chain written first
+  puts its operators a step further in than the looser ones after it where
+  a tighter chain follows one of them, as that chain does, unless a block
+  leads it. [PR 588].
+* A block after `$!`, `seq` or any other operator of fixity `infixr 0`
+  begins on the line of the equation, as one after `$` does. [PR 591].
+* Several layouts that did not parse, or that GHC read as another program,
+  are no longer printed. [PR 428], [PR 522], [PR 548], [PR 549],
+  [PR 591], [PR 597].
+
+### Imports
+
+* Imports of a project's own modules come after the others, as a group of
+  their own. [Issue 349].
+* `import safe` parses wherever a Safe Haskell mode is in force. [PR 556].
+* An import that a conditional continues is folded with no other import of
+  its module and sorts the same in every configuration, rather than being
+  copied into each branch. [PR 606].
+* A comment written above, beside or under an import folded into another
+  stays with the import it is folded into, and a `#define` written between
+  the two formats in one pass. [PR 606].
+
+### Comments
+
+* Comments stay where they were written in many more places: inside `()`,
+  after an opening bracket, around a context's parentheses and a `deriving`
+  clause, after commas and operators that end a line, under constructors
+  and fields, and under the last declaration of a module. [PR 364],
+  [PR 386], [Issue 443], [PR 462], [PR 499], [PR 550], [PR 552], [PR 555],
+  [PR 567], [PR 568], [issue 570], [PR 573].
+* Haddocks on constructors, fields and arguments come out right in one pass,
+  and a Haddock no longer runs into the one above it. [Issue 407],
+  [PR 424], [PR 461], [PR 548].
+* A divider, a comment of three dashes or more and nothing else, stays
+  right above a Haddock and right under a module's Haddock rather than
+  being held off it by an empty line. [PR 596].
+* A comment no longer runs into a Haddock moved right above it, and is held
+  off a Haddock by an empty line only where the two come out next to each
+  other. [PR 604].
+* A remark no longer comes out after a block comment written after it on
+  its line. [PR 608].
+* An empty line written under a short line, such as a `do` or a `let` on a
+  line of its own, a closing bracket or the end of a quasi-quotation, stays
+  above the comment or the binding under it. [PR 615].
+
+### Conditional compilation
+
+* Where the branches of a conditional each write their own version of part
+  of a construct, each branch keeps what it needs to parse. [PR 388],
+  [PR 463], [PR 472], [PR 505], [PR 523], [PR 525], [PR 527], [PR 554],
+  [PR 567], [PR 575].
+* A comma, an operator or an `=` that every configuration has no longer
+  stands alone on a line next to a conditional: it goes into each branch
+  with what it joins, or at the end of the line before. [PR 579].
+* A class or an instance keeps its head outside the conditionals its
+  members or its `where` are behind, and each conditional where it was
+  written. [PR 506], [PR 508], [issue 517], [issue 518], [issue 519].
+* A record constructor that every configuration has stays outside a
+  conditional adding constructors after it. [PR 581].
+* An operator and its operand behind a conditional with another argument
+  after them no longer leave an empty conditional, one more each time the
+  module is formatted. [PR 582].
+* A macro use ending a block above a comment stays in the block, and a
+  directive written above a leading bar or comma stays above it. [PR 593].
+* A conditional that switches an extension no longer changes the program in
+  its other configurations. [PR 436], [PR 468], [PR 498], [PR 526].
+* Conditionals asking one question in different spellings, or about the
+  operating system or the architecture, no longer have a module declined.
+  [PR 467], [PR 556].
+* A conditional some of whose branches the answer to a pragma's
+  conditional rules out, such as `#if defined(A)` / `#elif defined(C)`
+  beside a pragma behind `#if defined(A) || defined(B)`, no longer has a
+  module declined. [PR 612].
+* Macros, lines joined with a backslash and lines of comments that look
+  like directives are read as cpp reads them. [PR 521], [PR 531], [PR 547].
+* Comments and empty lines around conditionals stay where they were
+  written, and a conditional around a pragma stays whole. [PR 436],
+  [PR 475], [PR 507], [PR 546], [PR 548], [PR 550], [PR 557].
+* A module that CPP would read otherwise than Tilia does is declined.
+  [PR 536], [PR 539], [PR 546], [PR 548].
+* A module with many conditionals in one construct is no longer refused as
+  having too many configurations. [PR 436], [PR 477].
+
+### Operators and fixities
+
+* Fixities are read from literate modules, from Haskell files a module
+  includes, under the names `mixins` give, and from the package a
+  package-qualified import names. [PR 551], [PR 574].
+* Import lists are read as GHC reads them: a `T (..)` by namespace, a type
+  synonym's `(..)` as naming the synonym alone, and a name listed on its own
+  as coming from that import. [PR 551], [PR 572].
+* An operator whose fixity cannot be settled for certain has the module
+  declined, rather than being formatted as `infixl 9`. [PR 423], [PR 574].
+* Fixities are read only from installed packages whose name and version
+  the build plan has, and a dependency's imports from its own package and
+  the plan's, never from the project's own modules, such as a `Prelude`
+  of its own. [PR 592].
+* A `module X` export hands on the operators of a module imported
+  qualified as `X` that another import of it brings in unqualified, as GHC
+  does, rather than leaving them as `infixl 9`. [PR 605].
+* A conditional on a macro that a component's `cpp-options` define is
+  settled by the flags the build plan gives, a macro they define only under
+  a condition the plan rules out being undefined. An imported module is
+  read only in the branches a build takes, and an operator of a branch no
+  build takes is no longer declined where its import cannot be read.
+  [PR 618].
+* Fixities are read from a module as cpp expands the macros it defines, so
+  one that stands for declarations or for a precedence no longer leaves the
+  module unread. [PR 618].
+
+### Projects and tools
+
+* A flag takes the value the build plan gives it, and the packages
+  `cabal.project.local` adds belong to the project. [PR 391], [PR 392].
+* A build plan solved for another compiler, or naming a package that has
+  moved, is solved again. [PR 423].
+* `--check-ast` reads a module that uses CPP as cpp hands it to GHC, and no
+  longer reports two harmless changes to Haddocks. [PR 531], [PR 556].
+* `--check-ast` no longer reports a comment beside the `where` of a module
+  header as lost or gained where the module has no imports. [PR 590].
+* Each kind of failure exits with a code of its own, so every code but 2,
+  3 and 6 has changed since 0.1.4.0. A program that formatting changed now
+  exits with 27, formatting that is not idempotent with 28, and an
+  exception with 29. [PR 372], [PR 425], [PR 536].
+* A mistyped flag or command exits with 64, as a target that names no
+  component does, rather than with 1, which `check` exits with where a
+  file would change. A project whose `cabal.project` or `.cabal` files
+  cannot be read exits with 4 from every command, rather than with 64 from
+  `check` and `inplace`. [PR 595].
+* An entry of `packages` or `optional-packages` written as a Haskell
+  string, as in `"my dir"`, is read as Cabal reads it, rather than as a
+  name with the quotes in it, which named no directory. [PR 595].
+* `for-editor` prints a module that `.tiliaignore` excludes as it was read
+  before it sets the project up, so the module comes back even where the
+  project has no build plan or its `tilia.toml` cannot be used. [PR 595].
+* A `.cabal` file that cannot be read or does not parse, such as a fixture
+  of a test, no longer hides the package that declares a module under it.
+  [PR 595].
+* What Tilia lists about a target that names no component, or about a file
+  that does not parse, is indented under what it says, as was meant.
+  [PR 595].
+* `check` and `inplace` run from a directory inside the project name each
+  file relative to the project's root, in diffs and in what they say about
+  it, as `git diff` does, so that `git apply` takes a diff there, rather
+  than naming a file outside the directory by its absolute path. [PR 595].
+
+### Performance
+
+* Modules with many Haddocks or long chains of operators format in time
+  linear in their length. [PR 421], [PR 422].
+* Modules with conditionals format faster. [PR 436], [PR 477], [PR 530].
+* Dependencies full of conditionals are read faster, and `--check-ast` uses
+  several cores. [PR 423], [PR 457].
+
+[Issue 284]: https://github.com/mrkkrp/tilia/issues/284
+[Issue 309]: https://github.com/mrkkrp/tilia/issues/309
+[Issue 310]: https://github.com/mrkkrp/tilia/issues/310
+[Issue 346]: https://github.com/mrkkrp/tilia/issues/346
+[Issue 347]: https://github.com/mrkkrp/tilia/issues/347
+[Issue 349]: https://github.com/mrkkrp/tilia/issues/349
+[Issue 350]: https://github.com/mrkkrp/tilia/issues/350
+[Issue 353]: https://github.com/mrkkrp/tilia/issues/353
+[PR 364]: https://github.com/mrkkrp/tilia/pull/364
+[PR 372]: https://github.com/mrkkrp/tilia/pull/372
+[Issue 380]: https://github.com/mrkkrp/tilia/issues/380
+[PR 386]: https://github.com/mrkkrp/tilia/pull/386
+[PR 388]: https://github.com/mrkkrp/tilia/pull/388
+[PR 390]: https://github.com/mrkkrp/tilia/pull/390
+[PR 391]: https://github.com/mrkkrp/tilia/pull/391
+[PR 392]: https://github.com/mrkkrp/tilia/pull/392
+[PR 393]: https://github.com/mrkkrp/tilia/pull/393
+[PR 398]: https://github.com/mrkkrp/tilia/pull/398
+[Issue 407]: https://github.com/mrkkrp/tilia/issues/407
+[Issue 415]: https://github.com/mrkkrp/tilia/issues/415
+[Issue 417]: https://github.com/mrkkrp/tilia/issues/417
+[PR 421]: https://github.com/mrkkrp/tilia/pull/421
+[PR 422]: https://github.com/mrkkrp/tilia/pull/422
+[PR 423]: https://github.com/mrkkrp/tilia/pull/423
+[PR 424]: https://github.com/mrkkrp/tilia/pull/424
+[PR 425]: https://github.com/mrkkrp/tilia/pull/425
+[PR 428]: https://github.com/mrkkrp/tilia/pull/428
+[Issue 431]: https://github.com/mrkkrp/tilia/issues/431
+[Issue 434]: https://github.com/mrkkrp/tilia/issues/434
+[PR 436]: https://github.com/mrkkrp/tilia/pull/436
+[Issue 443]: https://github.com/mrkkrp/tilia/issues/443
+[Issue 447]: https://github.com/mrkkrp/tilia/issues/447
+[Issue 453]: https://github.com/mrkkrp/tilia/issues/453
+[PR 457]: https://github.com/mrkkrp/tilia/pull/457
+[PR 460]: https://github.com/mrkkrp/tilia/pull/460
+[PR 461]: https://github.com/mrkkrp/tilia/pull/461
+[PR 462]: https://github.com/mrkkrp/tilia/pull/462
+[PR 463]: https://github.com/mrkkrp/tilia/pull/463
+[PR 464]: https://github.com/mrkkrp/tilia/pull/464
+[PR 465]: https://github.com/mrkkrp/tilia/pull/465
+[PR 467]: https://github.com/mrkkrp/tilia/pull/467
+[PR 468]: https://github.com/mrkkrp/tilia/pull/468
+[PR 469]: https://github.com/mrkkrp/tilia/pull/469
+[PR 470]: https://github.com/mrkkrp/tilia/pull/470
+[PR 472]: https://github.com/mrkkrp/tilia/pull/472
+[PR 474]: https://github.com/mrkkrp/tilia/pull/474
+[PR 475]: https://github.com/mrkkrp/tilia/pull/475
+[PR 476]: https://github.com/mrkkrp/tilia/pull/476
+[PR 477]: https://github.com/mrkkrp/tilia/pull/477
+[PR 493]: https://github.com/mrkkrp/tilia/pull/493
+[PR 494]: https://github.com/mrkkrp/tilia/pull/494
+[PR 495]: https://github.com/mrkkrp/tilia/pull/495
+[PR 497]: https://github.com/mrkkrp/tilia/pull/497
+[PR 498]: https://github.com/mrkkrp/tilia/pull/498
+[PR 499]: https://github.com/mrkkrp/tilia/pull/499
+[PR 501]: https://github.com/mrkkrp/tilia/pull/501
+[PR 502]: https://github.com/mrkkrp/tilia/pull/502
+[PR 505]: https://github.com/mrkkrp/tilia/pull/505
+[PR 506]: https://github.com/mrkkrp/tilia/pull/506
+[PR 507]: https://github.com/mrkkrp/tilia/pull/507
+[PR 508]: https://github.com/mrkkrp/tilia/pull/508
+[Issue 517]: https://github.com/mrkkrp/tilia/issues/517
+[Issue 518]: https://github.com/mrkkrp/tilia/issues/518
+[Issue 519]: https://github.com/mrkkrp/tilia/issues/519
+[PR 520]: https://github.com/mrkkrp/tilia/pull/520
+[PR 521]: https://github.com/mrkkrp/tilia/pull/521
+[PR 522]: https://github.com/mrkkrp/tilia/pull/522
+[PR 523]: https://github.com/mrkkrp/tilia/pull/523
+[PR 524]: https://github.com/mrkkrp/tilia/pull/524
+[PR 525]: https://github.com/mrkkrp/tilia/pull/525
+[PR 526]: https://github.com/mrkkrp/tilia/pull/526
+[PR 527]: https://github.com/mrkkrp/tilia/pull/527
+[PR 530]: https://github.com/mrkkrp/tilia/pull/530
+[PR 531]: https://github.com/mrkkrp/tilia/pull/531
+[PR 536]: https://github.com/mrkkrp/tilia/pull/536
+[PR 539]: https://github.com/mrkkrp/tilia/pull/539
+[PR 541]: https://github.com/mrkkrp/tilia/pull/541
+[PR 546]: https://github.com/mrkkrp/tilia/pull/546
+[PR 547]: https://github.com/mrkkrp/tilia/pull/547
+[PR 548]: https://github.com/mrkkrp/tilia/pull/548
+[PR 549]: https://github.com/mrkkrp/tilia/pull/549
+[PR 550]: https://github.com/mrkkrp/tilia/pull/550
+[PR 551]: https://github.com/mrkkrp/tilia/pull/551
+[PR 552]: https://github.com/mrkkrp/tilia/pull/552
+[PR 554]: https://github.com/mrkkrp/tilia/pull/554
+[PR 555]: https://github.com/mrkkrp/tilia/pull/555
+[PR 556]: https://github.com/mrkkrp/tilia/pull/556
+[PR 557]: https://github.com/mrkkrp/tilia/pull/557
+[PR 567]: https://github.com/mrkkrp/tilia/pull/567
+[PR 568]: https://github.com/mrkkrp/tilia/pull/568
+[Issue 570]: https://github.com/mrkkrp/tilia/issues/570
+[PR 572]: https://github.com/mrkkrp/tilia/pull/572
+[PR 573]: https://github.com/mrkkrp/tilia/pull/573
+[PR 574]: https://github.com/mrkkrp/tilia/pull/574
+[PR 575]: https://github.com/mrkkrp/tilia/pull/575
+[PR 579]: https://github.com/mrkkrp/tilia/pull/579
+[PR 581]: https://github.com/mrkkrp/tilia/pull/581
+[PR 582]: https://github.com/mrkkrp/tilia/pull/582
+[PR 588]: https://github.com/mrkkrp/tilia/pull/588
+[PR 590]: https://github.com/mrkkrp/tilia/pull/590
+[PR 591]: https://github.com/mrkkrp/tilia/pull/591
+[PR 592]: https://github.com/mrkkrp/tilia/pull/592
+[PR 593]: https://github.com/mrkkrp/tilia/pull/593
+[PR 595]: https://github.com/mrkkrp/tilia/pull/595
+[PR 596]: https://github.com/mrkkrp/tilia/pull/596
+[PR 597]: https://github.com/mrkkrp/tilia/pull/597
+[PR 604]: https://github.com/mrkkrp/tilia/pull/604
+[PR 605]: https://github.com/mrkkrp/tilia/pull/605
+[PR 606]: https://github.com/mrkkrp/tilia/pull/606
+[PR 608]: https://github.com/mrkkrp/tilia/pull/608
+[PR 612]: https://github.com/mrkkrp/tilia/pull/612
+[PR 615]: https://github.com/mrkkrp/tilia/pull/615
+[PR 618]: https://github.com/mrkkrp/tilia/pull/618
+
 ## Tilia 0.1.4.0
 
 * An import is resolved first among the modules of the importing file's own
@@ -669,7 +1000,7 @@
 ### Imports
 
 An import list written on one line stays on one line. Imports of one module
-are merged only where together they cannot bring in more than they did
+are folded only where together they cannot bring in more than they did
 apart: imports hiding different names stay apart, and so does a name in a
 `hiding` list from the same name with its own parentheses. Sorting the
 imports leaves the empty line under the module header and a heading comment
diff --git a/HACKING.md b/HACKING.md
--- a/HACKING.md
+++ b/HACKING.md
@@ -9,8 +9,8 @@
 ```
 
 All tests are in one test suite and there are a fair number of them. On my
-machine the full test suite passes in 140 seconds, but it may be different
-for you, so isolating a subset of the test suite may be helpful:
+machine the full test suite passes in about 200 seconds, but it may be
+different for you, so isolating a subset of the test suite may be helpful:
 
 ```console
 $ cabal test --test-options='--match "Tilia.Fixity"'
@@ -22,15 +22,45 @@
 repository.
 
 The Hackage corpus is exercised in order to ensure that every module
-formats, that its AST is preserved, and that formatting it is idempotent.
-The results are recorded in `corpora/hackage/hackage.manifest`. Next to it,
-`hackage.report` explains the failing cases. The manifest and the report can
-be updated like this:
+formats, that its AST is preserved, and that formatting it is idempotent,
+both with the `defaultSettings` and with `alternativeSettings`, which differ
+from the defaults in every setting but the column limit. The results with
+the defaults are recorded in `corpora/hackage/hackage.manifest`, and those
+with the alternative settings in `hackage.manifest'`. Next to them,
+`hackage.report` and `hackage.report'` explain the failing cases. The
+manifests and the reports can be updated like this:
 
 ```console
-$ TILIA_CORPUS_ACCEPT=1 cabal test
+$ TILIA_HACKAGE_ACCEPT=1 cabal test
 ```
 
+Each example of our own in `corpora/vendored` comes with what it formats to,
+`name-out.hs`, and, where the alternative settings give something else,
+`name-out'.hs` with what they give. Each module in `corpora/column-limit`
+comes with what it formats to at each column limit `N` that the collection
+has outputs for, `name-out-N.hs`. These can be written again, and written
+for a new example or module, like this:
+
+```console
+$ TILIA_VENDORED_ACCEPT=1 cabal test
+```
+
+Only examples that format and pass every check will write output files. A
+`name-out'.hs` that happens to be the same as `name-out.hs` is not written.
+
+To see what a change does to a corpus before accepting it, run:
+
+```console
+$ ./compare-corpus.py
+```
+
+It formats the Hackage corpus at `origin/master` and in the working tree and
+writes `dist-newstyle/corpus-comparison.html`, a page with every module
+whose output differs, under each settings. Another revision to compare with
+can be given as the first argument. `--corpus` can be passed to select a
+corpus: the options are `hackage` (the default), `tilia`,
+`ghc-9.14.1-testsuite`, or `all`.
+
 Finally, Tilia formats itself, so make sure to run this command before you
 open a PR:
 
@@ -38,6 +68,27 @@
 $ nix run .#format
 ```
 
+## Settings
+
+Every setting Tilia takes has to be orthogonal to every other one. A setting
+A is orthogonal to a setting B if enabling them together introduces no new
+bugs and makes no bugs disappear in comparison to A and B being in force
+separately. This is what lets the tests cover the settings without a
+combinatorial explosion: the corpora are formatted with `defaultSettings`
+and with `alternativeSettings`, which change every setting but the column
+limit at once, and a bug of any combination of those settings is then a bug
+of `alternativeSettings` as well.
+
+A nightly job checks that this holds. Since master passes the whole suite
+with `defaultSettings` and `alternativeSettings`, the job runs it with every
+combination of those settings in their place and fails where any of them
+fails. Our own examples hold expected outputs for those two alone, so with
+the rest they get only the AST and idempotence checks. To run it yourself:
+
+```console
+$ TILIA_ORTHOGONALITY=1 cabal test
+```
+
 ## Benchmarks
 
 The benchmarks format a fixed sample of the Hackage corpus, check what most
@@ -128,7 +179,7 @@
    `keyedNames`, its `primops` in `primopFixities`, and whatever the series
    changed in the layout that `hiFile`, `payload`, `pointer`, and `fixity`
    read. GHC's `GHC.Iface.Binary` and `GHC.Unit.Module.ModIface`, compared
-   between the two series, show what changed. Tilia passes interface it
+   between the two series, show what changed. Tilia passes interfaces it
    cannot decode to `ghc --show-iface`, which works but costs a process per
    interface. The tests fail until every interface of the project's
    dependencies decodes and agrees with `ghc --show-iface` where the two are
@@ -173,9 +224,9 @@
    $ ./generate-boot-fixities.py --ghc /path/to/ghc-9.16.1/bin/ghc
    ```
 
-5. Record the Hackage corpus again with `TILIA_CORPUS_ACCEPT=1 cabal test`
-   and review every change to `hackage.manifest` and `hackage.report`: a
-   module that changes its outcome or its digest is now parsed differently.
+5. Record the Hackage corpus again with `TILIA_HACKAGE_ACCEPT=1 cabal test`
+   and review every change to its manifests and reports: a module that
+   changes its outcome or its digest is now parsed differently.
 6. The cache keeps summaries of local modules by the version of
    `ghc-lib-parser` that read them, but what it learned about dependencies
    is kept regardless of it. If the new parser reads the sources of
diff --git a/README.md b/README.md
--- a/README.md
+++ b/README.md
@@ -1,10 +1,12 @@
 # Tilia
 
+*In memory of Alexander Esgen [@amesgen](https://github.com/amesgen)*
+
 * [Getting started](#getting-started)
-* [Editor integration](#editor-integration)
+* [Settings](#settings)
+* [Magic comments](#magic-comments)
 * [Excluding files](#excluding-files)
-* [Formatting operator chains](#formatting-operator-chains)
-* [Formatting CPP](#formatting-cpp)
+* [Editor integration](#editor-integration)
 * [Comparison with other formatters](#comparison-with-other-formatters)
 * [Suggested setup per use-case](#suggested-setup-per-use-case)
 * [Contribution](#contribution)
@@ -16,7 +18,7 @@
 * Use `ghc-lib-parser` for parsing, thus achieving correct parsing at all
   times.
 * Let single vs multiline layout be influenced by the input.
-* Admit no configuration.
+* Admit as little configuration as possible.
 * Ensure high-quality formatting of comments.
 * Provide first-class support for CPP.
 * Guarantee inference of operator fixity with absolute precision at all
@@ -37,9 +39,9 @@
 
 `COMPONENT` may be omitted and in that case it defaults to `all`. To be
 precise, the kind of component we are talking about is exactly Cabal's
-notion of component: libraries, foreign libraries, executables, test
-suites, and benchmarks.
-For example, in the case of Tilia itself the valid choices are:
+notion of component: libraries, foreign libraries, executables, test suites,
+and benchmarks. For example, in the case of Tilia itself the valid choices
+are:
 
 * `all`
 * `tilia`, the package, which means every component of it
@@ -67,8 +69,8 @@
 not part of the project and will not be visited. Within a package, only the
 modules a component declares get formatted: its `exposed-modules`,
 `other-modules`, `signatures`, and `main-is`, in every conditional branch,
-found under its `hs-source-dirs` as `.hs`, `.hs-boot`, or `.hsig` files.
-A `Setup.hs` next to a package's `.cabal` file is formatted too.
+found under its `hs-source-dirs` as `.hs`, `.hs-boot`, or `.hsig` files. A
+`Setup.hs` next to a package's `.cabal` file is formatted too.
 
 If there is no build plan yet, or it is older than the `.cabal` and
 `cabal.project` files, or it says nothing about a component you asked for,
@@ -101,39 +103,61 @@
   declined.
 * `--must-not-decline` turns declined files into failures.
 
-## Editor integration
+## Settings
 
-Tilia offers a dedicated command for editor integrations:
+A project can change how Tilia formats it in a `tilia.toml` file in its
+root: the directory holding its `cabal.project`, or its `.cabal` file where
+it has no `cabal.project`. Here is an example that tweaks every available
+setting:
 
-```console
-$ tilia for-editor FILE < buffer.hs
+```toml
+# Use indentation step 4.
+indentation = 4
+# Break what runs past column 100 rather than 80.
+column-limit = 100
+# Start each line of a broken list with its comma.
+leading-commas = true
+# Start each line of a broken type with its arrow.
+leading-arrows = true
 ```
 
-It reads a module from standard input and formats it as if it were the
-contents of `FILE` (a path): the project, the extensions in force, and the
-dependencies are found by walking upwards from `FILE` rather than from the
-working directory. `FILE` need not exist, but it has to be under the
-`hs-source-dirs` of a component. The formatted module goes to standard
-output. A module that is declined or excluded (see below), is returned
-unchanged, and a failure exits with a non-zero status and prints nothing to
-standard output, so an editor keeps its buffer as it is. The module is
-always formatted as a whole; there is no formatting of a selected range.
+The file is TOML, restricted to lines of `key = value` where a value is
+`true`, `false`, or a whole number, and to `#` comments.
 
-For example, with [conform.nvim](https://github.com/stevearc/conform.nvim):
+| Setting          | Values                 | Default |
+| ---------------- | ---------------------- | ------- |
+| `indentation`    | 2 or 4                 | 2       |
+| `column-limit`   | a whole number above 0 | 80      |
+| `leading-commas` | `true` or `false`      | `false` |
+| `leading-arrows` | `true` or `false`      | `false` |
 
-```lua
-require("conform").setup({
-  formatters = {
-    tilia = { command = "tilia", args = { "for-editor", "$FILENAME" }, stdin = true },
-  },
-  formatters_by_ft = { haskell = { "tilia" } },
-})
-```
+## Magic comments
 
-A program that would rather call Tilia as a library, such as a language
-server plugin, can use `editorSession` and `formatBuffer` from
-`Tilia.Editor`, which is what `for-editor` runs.
+The lines from a `{- TILIA_OFF -}` to the next `{- TILIA_ON -}` are left
+exactly as written, and so is everything below a `{- TILIA_OFF -}` which is
+not followed by `{- TILIA_ON -}`. Each of these magic comments can only be
+placed on a line of its own between top-level declarations, and the code
+around them is formatted as usual. A `{- TILIA_OFF -}` above all of a
+module's code, with no `{- TILIA_ON -}` after it, leaves the whole module as
+written, whether or not Tilia could format it. Tilia declines a module whose
+magic comments stand anywhere else, or when the regions of code they
+encompass contain a CPP directive.
 
+Because Tilia respects grouping of declarations and can format CPP just like
+ordinary Haskell, you normally should not need magic comments at all. They
+are only useful for exceptional cases, e.g. if you deal with in-code tabular
+data and want to preserve an arrangement such as this:
+
+```haskell
+{- TILIA_OFF -}
+patterns =
+    -- name          warp  weft  twist
+    [ ("herringbone", [ 3,    2,    4 ])
+    , ("houndstooth", [ 2,    3,    5 ])
+    ]
+{- TILIA_ON -}
+```
+
 ## Excluding files
 
 You can tell Tilia to skip certain files and/or directories by listing them
@@ -158,69 +182,102 @@
 pattern in a deeper file wins over one above it, and a file whose directory
 is excluded cannot be re-included.
 
-## Formatting operator chains
+## Editor integration
 
-There is nothing you need to know about it or do to make it work. It will
-just happen, no matter where your operators come from: Hackage, Nix, private
-repos, or the modules of the project you are formatting.
+Tilia offers a dedicated command for editor integrations:
 
-## Formatting CPP
+```console
+$ tilia for-editor FILE < buffer.hs
+```
 
-CPP is a first-class formattable object to Tilia. Any Haskell syntactically
-enclosed in a conditional branch will format, and it does not even need to
-be self-contained valid Haskell on its own, as long as every configuration
-of the module is a valid Haskell module. A module with too many
-configurations to format, or with something cpp passes on to GHC, such as a
-line marker, is declined and left as it is.
+It reads a module from standard input and formats it as if it were the
+contents of `FILE` (a path): the project, the extensions in force, and the
+dependencies are found by walking upwards from `FILE` rather than from the
+working directory. `FILE` need not exist, but it has to be under the
+`hs-source-dirs` of a component. The formatted module goes to standard
+output. A module that is declined or excluded (see above) is returned
+unchanged, and a failure exits with a non-zero status and prints nothing to
+standard output, so an editor keeps its buffer as it is. The module is
+always formatted as a whole; there is no formatting of a selected range.
 
-## Comparison with other formatters
+For example, with [conform.nvim](https://github.com/stevearc/conform.nvim):
 
-### Ormolu
+```lua
+require("conform").setup({
+  formatters = {
+    tilia = { command = "tilia", args = { "for-editor", "$FILENAME" }, stdin = true },
+  },
+  formatters_by_ft = { haskell = { "tilia" } },
+})
+```
 
-* Ormolu formats operator chains by consulting a hardcoded library of
-  operator fixities which it builds partly by running a rudimentary
-  analysis over some hand-picked packages and partly by consuming a Hoogle
-  dump. That hardcoded fixity library is built during development and then
-  bundled into the executable. The library is necessarily both incomplete
-  and prone to going out of date. Furthermore, Ormolu does not
-  automatically account for custom operators that occur in the code it is
-  asked to format. For that you need to write `.ormolu` files in which you
-  redeclare the fixities of your custom operators and any relevant
-  re-exports. Tilia guarantees resolution of operator fixities
-  automatically at all times.
-* Ormolu's CPP support is rudimentary. It splits the input file into
-  sections that must be parseable on their own, then preserves CPP
-  conditional blocks verbatim. First, the requirement for the sections to
-  be parseable on their own is only sometimes satisfied—CPP directives
-  tend to fall at arbitrary points in the code, which makes Ormolu choke.
-  Second, preserving CPP conditional blocks verbatim is not good enough.
-  For example, if Ormolu re-indents the surrounding code and the CPP
-  conditional block stays as it was, the result is broken code.
-* Ormolu has a very different CLI focused on explicit file names, so that
-  its users find themselves running invocations like
-  `ormolu -i $(git ls-files '*.hs' '*.hs-boot')`. Tilia focuses on Cabal
-  components, which is arguably better ergonomics.
-* Ormolu supports magic comments `{- ORMOLU_DISABLE -}` and
-  `{- ORMOLU_ENABLE -}` while Tilia has no equivalent to those. The
-  comments were introduced to work around the weaknesses of Ormolu's CPP
-  support as well as its inability to respect grouping of certain types of
-  definitions that the users wanted to preserve. Tilia both respects
-  grouping in more situations and has first-class support for CPP, so
-  these comments are not needed.
-* Ormolu can be asked to format regions in a file with `--start-line` and
-  `--end-line` options. Tilia has no such functionality since it operates
-  at a higher level (Cabal components or whole projects), which is aligned
-  with the current trends in software development.
-* Ormolu is self-contained and makes no assumption about tools on the
-  system where it is run. Tilia needs Cabal: it shells out to it and may
-  download packages, unless the build plan is given with `--build-plan`
-  and downloads are ruled out with `--no-downloads`. Ormolu does none of
-  this, which may be an advantage in some situations.
+A program that would rather call Tilia as a library, such as a language
+server plugin, can use `editorSession` and `formatBuffer` from
+`Tilia.Editor`, which is what `for-editor` runs.
 
+Tilia also has an HLS plugin. The most interesting feature of this plugin is
+that it sources fixity info directly from the GHC session HLS already has.
+In this mode of operation it is just as precise, but also significantly
+faster because it does not need to work out fixities on its own.
+
+## Comparison with other formatters
+
 ### Fourmolu
 
-* Fourmolu is a configurable fork of Ormolu which shares the same
-  architecture, strengths, and weaknesses.
+* Fourmolu formats operator chains by consulting a hardcoded library of
+  operator fixities which it builds partly by running a rudimentary analysis
+  over some hand-picked packages and partly by consuming a Hoogle dump. That
+  hardcoded fixity library is built during development and then bundled into
+  the executable. The library is necessarily both incomplete and prone to
+  going out of date. Furthermore, Fourmolu does not automatically account
+  for custom operators that occur in the code it is asked to format. For
+  that you need to add `fixities` in `fourmolu.yaml` where you redeclare the
+  fixities of your custom operators and any relevant re-exports. Tilia
+  performs resolution of operator fixities automatically and needs no
+  hand-holding.
+* Fourmolu's CPP support is rudimentary. It splits the input file into
+  sections that must be parseable on their own, then preserves CPP
+  conditional blocks verbatim. First, the requirement for the sections to be
+  parseable on their own is only sometimes satisfied—CPP directives tend to
+  fall at arbitrary points in the code, which makes Fourmolu choke. Second,
+  preserving CPP conditional blocks verbatim is not good enough. For
+  example, if Fourmolu re-indents the surrounding code and the CPP
+  conditional block stays as it was, the result is broken code. Tilia
+  handles CPP as a first-class formattable object and is capable of
+  formatting 99% of Hackage.
+* Fourmolu has a very different CLI focused on explicit file names, so that
+  its users find themselves running invocations like `fourmolu -i $(git
+  ls-files '*.hs' '*.hs-boot')`. Tilia focuses on Cabal components, which is
+  arguably better ergonomics.
+* Fourmolu can be asked to format regions in a file with `--start-line` and
+  `--end-line` options. Tilia has no such functionality since it operates at
+  a higher level (Cabal components or whole projects), which is aligned with
+  the current trends in software development.
+* Fourmolu is self-contained and makes no assumption about tools on the
+  system where it is run. Tilia needs Cabal: it shells out to it and may
+  download packages, unless the build plan is given with `--build-plan` and
+  downloads are ruled out with `--no-downloads`. Fourmolu does none of this,
+  which may be an advantage in some situations.
+* Fourmolu is much more configurable.
+* With `respectful: true`, its default, Fourmolu keeps together any
+  declarations written without an empty line between them unless one has a
+  Haddock, so a function spanning several lines stays glued to a data
+  declaration under it. With `respectful: false` it puts an empty line
+  between every two, a run of fixity declarations included. Tilia takes the
+  middle course: one-line declarations of one kind written together stay
+  together, while a declaration spanning several lines or having a Haddock,
+  and declarations of different kinds, get an empty line between them.
+* Tilia implements a number of layout improvements over Fourmolu: e.g.
+  recognizing `let`/`in` chains and printing them nicely instead of letting
+  them “explode”.
+* Tilia breaks excessively long lines automatically. This feature is always
+  on and is not known to introduce any problems with idempotence, whereas
+  Fourmolu warns that setting its `column-limit` option may break
+  idempotence.
+* Tilia separates third-party and first-party imports with a blank line.
+  This is analogous to `import-grouping: by-scope`, except Tilia takes all
+  packages in your `cabal.project` to be first-party, not only the current
+  package that is being formatted.
 
 ## Suggested setup per use-case
 
diff --git a/app/Main.hs b/app/Main.hs
--- a/app/Main.hs
+++ b/app/Main.hs
@@ -15,8 +15,11 @@
 import Data.Version (showVersion)
 import GHC.IO.Encoding (TextEncoding (textEncodingName))
 import Options.Applicative
-import Paths_tilia (version)
-import System.Directory (getCurrentDirectory, makeRelativeToCurrentDirectory)
+import System.Directory
+  ( getCurrentDirectory,
+    makeRelativeToCurrentDirectory,
+    setCurrentDirectory,
+  )
 import System.Exit (ExitCode (..))
 import System.Exit qualified
 import System.IO
@@ -29,10 +32,13 @@
     stdin,
     stdout,
   )
-import Tilia.Cabal.Project (ProjectRoot, findProjectRoot)
+
+import Paths_tilia (version)
+import Tilia.Cabal.Project (ProjectRoot (..), findProjectRoot)
 import Tilia.Cabal.Target
   ( Component,
     Target,
+    TargetProblem (NoSuchTarget),
     componentsOfTarget,
     describeTargetProblem,
     filesOfComponents,
@@ -41,7 +47,7 @@
 import Tilia.Editor (editorSession, formatBuffer)
 import Tilia.Fixity.Debug (renderFixityNotes)
 import Tilia.Format
-  ( FormatError (NoProject, Unreadable),
+  ( FormatError (NoOwnModules, NoProject, Unreadable),
     Session,
     describeFormatError,
     fixityNotesOf,
@@ -49,6 +55,7 @@
     newSession,
     planSourceFor,
   )
+import Tilia.Ignore (isIgnoredInProject)
 import Tilia.Palette (Color (Bad), Palette, paletteFor)
 import Tilia.Parser (ghcLibParserVersion)
 import Tilia.Run
@@ -86,10 +93,14 @@
       outcomes <$ printReport putUtf8 (stdinReport err input outcomes)
   exitWith cmd outcomes
 
--- | Format the files of the components a target asks for.
+-- | Format the files of the components a target asks for from the root of
+-- their project, naming them relative to it as @git diff@ names files.
 formatComponents ::
+  -- | The palette of standard error.
   Palette ->
+  -- | The command line options.
   Opts ->
+  -- | The target, as written on the command line.
   Maybe String ->
   IO [(FilePath, Outcome)]
 formatComponents palette opts@Opts{..} target = do
@@ -99,9 +110,6 @@
         (die usageExitCode palette)
         pure
         (maybe (parseTarget "all") parseTarget target)
-  files <-
-    traverse makeRelativeToCurrentDirectory
-      =<< filesOfComponents root components
   planSource <- planSourceFor optBuildPlan (pure components)
   session <-
     newSession
@@ -113,13 +121,21 @@
       optCheckIdempotence
       optDebugFixity
       >>= either (dieFormatting palette) pure
+  setCurrentDirectory (prPath root)
+  files <-
+    traverse makeRelativeToCurrentDirectory
+      =<< filesOfComponents root components
   formatWith palette opts session (`runOver` files)
 
--- | Format the module read from standard input as the given file, and say
--- what became of it, together with the module as it was read.
+-- | Format the module read from standard input as the given file, unless
+-- the project's @.tiliaignore@ files exclude it, and say what became of it,
+-- together with the module as it was read.
 formatStdin ::
+  -- | The palette of standard error.
   Palette ->
+  -- | The command line options.
   Opts ->
+  -- | The file.
   FilePath ->
   IO (Text, [(FilePath, Outcome)])
 formatStdin palette opts@Opts{..} file = do
@@ -127,20 +143,26 @@
   case asUtf8 input of
     Left why -> pure ("", [(file, Failed (Unreadable file why))])
     Right before -> do
+      excluded <-
+        maybe (pure False) ((`isIgnoredInProject` file) . prPath)
+          =<< findProjectRoot file
       outcomes <-
-        editorSession
-          file
-          optBuildPlan
-          optUseCache
-          optDownload
-          optCheckAst
-          optCheckIdempotence
-          optDebugFixity
-          >>= \case
-            Left e -> pure [(file, Failed e)]
-            Right session ->
-              formatWith palette opts session $ \s ->
-                pure . (file,) <$> formatBuffer s file before
+        if excluded
+          then pure [(file, Unchanged)]
+          else
+            editorSession
+              file
+              optBuildPlan
+              optUseCache
+              optDownload
+              optCheckAst
+              optCheckIdempotence
+              optDebugFixity
+              >>= \case
+                Left e -> pure [(file, Failed e)]
+                Right session ->
+                  formatWith palette opts session $ \s ->
+                    pure . (file,) <$> formatBuffer s file before
       pure (before, outcomes)
 
 -- | Format with a session and print how it settled fixities, counting a
@@ -215,14 +237,21 @@
 
 -- | Every component the target asks for, and the project they were found
 -- in, which is where the run's settings are read from as well.
-componentsFor :: Palette -> Target -> IO (ProjectRoot, [Component])
+componentsFor ::
+  -- | The palette of standard error.
+  Palette ->
+  -- | The target.
+  Target ->
+  IO (ProjectRoot, [Component])
 componentsFor palette target =
   findProjectRoot "." >>= \case
     Nothing -> dieFormatting palette . NoProject =<< getCurrentDirectory
     Just root ->
       componentsOfTarget root target >>= \case
-        Left problem ->
+        Left problem@NoSuchTarget{} ->
           die usageExitCode palette (describeTargetProblem problem)
+        Left problem ->
+          dieFormatting palette (NoOwnModules (prPath root) problem)
         Right components ->
           pure (root, components)
 
@@ -275,12 +304,14 @@
     optMustNotDecline :: Choice "mustNotDecline"
   }
 
+-- | The command line, which a usage error leaves under 'usageExitCode'.
 optsParserInfo :: ParserInfo Opts
 optsParserInfo =
   info (helper <*> versionOption <*> optsParser) . mconcat $
     [ fullDesc,
       progDesc "Format Haskell source code",
-      header "tilia — a formatter for Haskell source code"
+      header "tilia — a formatter for Haskell source code",
+      failureCode usageExitCode
     ]
   where
     versionOption =
diff --git a/bench/Main.hs b/bench/Main.hs
--- a/bench/Main.hs
+++ b/bench/Main.hs
@@ -48,6 +48,7 @@
 import System.Info (fullCompilerVersion)
 import Text.Printf (printf)
 import Text.Read (readMaybe)
+
 import Tilia.Bench.Cases
 import Tilia.Bench.Fixity
 import Tilia.Bench.Measure
@@ -104,7 +105,7 @@
       measuring Format s (subjectFormat s) (subjectSource s)
     checking <- case (subjectCheck s, out) of
       (Just check, Just printed) ->
-        pure . snd <$> measuring Check s check printed
+        pure . snd <$> measuring Check s (pure . check) printed
       _ -> pure []
     pure (formatting : checking)
   ended <- withFixityBenchmarks $ \(resolving, interfaces) -> do
@@ -497,12 +498,12 @@
         zip (fmap fst both) [change' old new | (old, new) <- retired]
       Nothing ->
         [(k, change' old new) | (k, ((old, _), (new, _))) <- both]
-    change' :: (Integral a) => a -> a -> Double
+    change' :: Integral a => a -> a -> Double
     change' old new = change (fromIntegral old) (fromIntegral new)
 
 -- | How much a quantity moved from the first value to the second, as the
 -- report writes it.
-against :: (Integral a) => a -> a -> String
+against :: Integral a => a -> a -> String
 against old new =
   printf "(%+.2f%%)" (change (fromIntegral old) (fromIntegral new))
 
diff --git a/bench/Tilia/Bench/Cases.hs b/bench/Tilia/Bench/Cases.hs
--- a/bench/Tilia/Bench/Cases.hs
+++ b/bench/Tilia/Bench/Cases.hs
@@ -1,5 +1,7 @@
 {-# LANGUAGE LambdaCase #-}
+{-# LANGUAGE OverloadedLabels #-}
 {-# LANGUAGE OverloadedStrings #-}
+{-# LANGUAGE PatternSynonyms #-}
 
 -- | What the benchmarks of formatting measure: formatting a fixed sample of
 -- the Hackage corpus and checking what that printed, and formatting modules
@@ -15,18 +17,23 @@
 where
 
 import Data.ByteString qualified as BS
+import Data.Choice (isTrue, pattern Don't)
+import Data.Map.Strict (Map)
 import Data.Map.Strict qualified as Map
+import Data.Set (Set)
+import Data.Set qualified as Set
 import Data.Text (Text)
 import Data.Text qualified as T
 import Data.Text.Encoding (decodeUtf8')
 import Data.Traversable (for)
+
 import Tilia.Corpus (Example (..))
 import Tilia.Cpp (usesCpp)
-import Tilia.Format (rewritten)
-import Tilia.Parser (parseModule)
+import Tilia.Format (AstCheck (..), rewritten)
+import Tilia.Parser (ParserConfig (..), parseModule)
 import Tilia.Pragma (Defaults)
-import Tilia.TestConfig (formatCppExample, printExample)
-import Tilia.TestUtils (effectiveExtensionsFor, parserConfigFor)
+import Tilia.Settings (Settings, alternativeSettings, defaultSettings)
+import Tilia.TestConfig (defaultsFor, effectiveExtensionsFor, formatExample)
 
 -- | What part of a run a benchmark measures.
 data Stage
@@ -68,7 +75,7 @@
     -- | The module.
     subjectSource :: Text,
     -- | Format it, or 'Nothing' where it is declined.
-    subjectFormat :: Text -> Maybe Text,
+    subjectFormat :: Text -> IO (Maybe Text),
     -- | Check what formatting it printed, giving what changed, where it is
     -- checked.
     subjectCheck :: Maybe (Text -> Maybe Text)
@@ -118,38 +125,54 @@
     "text-2.1.4/src/Data/Text/Internal/Fusion/CaseMapping.hs"
   ]
 
+-- | The corpus modules also formatted with 'alternativeSettings', under
+-- @alternative/@: ones full of what those settings print otherwise, lists,
+-- records and signatures.
+alternatively :: [FilePath]
+alternatively =
+  [ "aeson-2.3.1.0/src/Data/Aeson/KeyMap.hs",
+    "servant-server-0.20.3.0/src/Servant/Server/Internal.hs",
+    "swagger2-2.9.1/src/Data/Swagger/Internal.hs"
+  ]
+
 -- | The modules of the corpus measured, or which one the corpus does not
 -- have.
 corpusSubjects :: [Example] -> IO (Either Text [Subject])
 corpusSubjects examples =
   sequence
     <$> for
-      (fmap (,True) checked <> fmap (,False) formattedOnly)
-      (uncurry load)
+      ( fmap ("",defaultSettings,True,) checked
+          <> fmap ("",defaultSettings,False,) formattedOnly
+          <> fmap ("alternative/",alternativeSettings,False,) alternatively
+      )
+      load
   where
     byName = Map.fromList [(exampleName e, e) | e <- examples]
-    load name isChecked = case Map.lookup name byName of
+    load (prefix, settings, isChecked, name) = case Map.lookup name byName of
       Nothing -> pure (Left ("the corpus has no " <> T.pack name))
       Just example -> do
         bytes <- BS.readFile (exampleInput example)
         pure $ case decodeUtf8' bytes of
           Left _ -> Left (T.pack name <> " is not valid UTF-8")
           Right source ->
-            Right $
-              subjectOf
-                (exampleExtensions example)
-                isChecked
-                (T.pack name)
-                source
+            let subject =
+                  subjectOf
+                    settings
+                    (exampleExtensions example)
+                    (exampleOwnModules example)
+                    isChecked
+                    (T.pack name)
+                    source
+             in Right subject{subjectName = prefix <> subjectName subject}
 
 -- | Modules made to stress one part of the formatter each.
 syntheticSubjects :: [Subject]
 syntheticSubjects =
-  [ subjectOf Nothing False "synthetic/comments" commented,
-    subjectOf Nothing False "synthetic/imports" imported,
-    subjectOf Nothing False "synthetic/conditionals" conditional,
-    subjectOf Nothing False "synthetic/nesting" nested,
-    subjectOf Nothing False "synthetic/long-line" long
+  [ synthetic Map.empty "synthetic/comments" commented,
+    synthetic own "synthetic/imports" imported,
+    synthetic Map.empty "synthetic/conditionals" conditional,
+    synthetic Map.empty "synthetic/nesting" nested,
+    synthetic Map.empty "synthetic/long-line" long
   ]
   where
     commented =
@@ -172,6 +195,7 @@
                m <- numbers 250
              ]
           <> ["", "x :: Int", "x = 1"]
+    own = Map.fromList [("M" <> m, Set.singleton "imported") | m <- numbers 50]
     conditional =
       T.unlines $
         ["{-# LANGUAGE CPP #-}", "module Conditional where", ""]
@@ -187,6 +211,9 @@
               ]
             | n <- numbers 24
             ]
+          <> ["chained :: [Int]", "chained ="]
+          <> ["  let x = " <> n <> " in x :" | n <- numbers 12]
+          <> ["#ifdef FLAG", "  0 :", "#endif", "  []"]
     nested =
       T.unlines
         [ "module Nested where",
@@ -211,36 +238,51 @@
     deeper n e =
       "case x of { " <> n <> " -> (" <> e <> "); _ -> x + " <> n <> " }"
     numbers k = fmap (T.pack . show) [1 :: Int .. k]
+    synthetic ownModules = subjectOf defaultSettings Nothing ownModules False
 
 -- | A module to format, and to check what that printed where it is
 -- checked.
-subjectOf :: Maybe Defaults -> Bool -> Text -> Text -> Subject
-subjectOf package isChecked name source =
+subjectOf ::
+  -- | What to format it with.
+  Settings ->
+  -- | What the package around it puts in force, if it is a module of one.
+  Maybe Defaults ->
+  -- | The modules the package around it declares, each with the package's
+  -- name.
+  Map Text (Set Text) ->
+  -- | Whether to check what formatting it printed.
+  Bool ->
+  -- | Its name in the corpus, or the stress it makes.
+  Text ->
+  -- | The module.
+  Text ->
   Subject
+subjectOf settings package ownModules isChecked name source =
+  Subject
     { subjectName = name,
       subjectSource = source,
-      subjectFormat = formatted package path,
+      subjectFormat =
+        fmap (either (const Nothing) Just)
+          . formatExample (Don't #check) settings package ownModules path,
       subjectCheck =
         if isChecked
-          then Just (fst . rewritten parser cpp path (source, tree))
+          then
+            Just
+              ( fst
+                  . rewritten
+                    parser
+                    EachCppBranch
+                    extensions
+                    path
+                    (source, tree)
+              )
           else Nothing
     }
   where
     path = T.unpack name
-    parser = parserConfigFor package
-    cpp = usesCpp (effectiveExtensionsFor package source) source
+    parser = ParserConfig (defaultsFor package)
+    extensions = effectiveExtensionsFor package source
+    cpp = usesCpp extensions source
     tree
-      | cpp = Nothing
+      | isTrue cpp = Nothing
       | otherwise = either (const Nothing) Just (parseModule parser path source)
-
--- | What formatting a module prints, as the corpus does it, or 'Nothing'
--- where it is declined.
-formatted :: Maybe Defaults -> FilePath -> Text -> Maybe Text
-formatted package path source
-  | usesCpp (effectiveExtensionsFor package source) source =
-      either (const Nothing) Just (formatCppExample package path source)
-  | otherwise =
-      either
-        (const Nothing)
-        (Just . printExample package source)
-        (parseModule (parserConfigFor package) path source)
diff --git a/bench/Tilia/Bench/Fixity.hs b/bench/Tilia/Bench/Fixity.hs
--- a/bench/Tilia/Bench/Fixity.hs
+++ b/bench/Tilia/Bench/Fixity.hs
@@ -32,6 +32,7 @@
 import System.FilePath ((<.>), (</>))
 import System.Process (getCurrentPid)
 import Text.Printf (printf)
+
 import Tilia.Bench.Cases (Benchmark (..), Stage (..))
 import Tilia.Cabal.Package (newPackageReader)
 import Tilia.Cabal.Plan
@@ -193,7 +194,7 @@
         BuildPlan
           { bpCompiler = "ghc-9.10.3",
             bpPackages =
-              [PlanPackage n v PreExisting [] | (n, v) <- dependencies]
+              [PlanPackage n v PreExisting [] mempty | (n, v) <- dependencies]
                 <> fmap fst tarballs
           }
       fetched release = corpus </> release <.> "tar.gz"
@@ -208,10 +209,13 @@
       cache <- cacheUnder (dir </> "cache")
       interfaces <- interfacesOf decoded
       let reading kept modules = do
-            packageReader <- newPackageReader (plannedCompiler plan) []
-            resolver <- newResolverWith [FromSource] kept [] tarballs packageReader plan
+            packageReader <-
+              newPackageReader (plannedCompiler plan) (plannedFlags plan) []
+            resolver <-
+              newResolverWith [FromSource] kept [] tarballs packageReader plan
             pure $ do
-              answers <- traverse (askModule resolver Nothing) modules
+              answers <-
+                traverse (askModule resolver Nothing . (Nothing,)) modules
               length <$> evaluate (force answers)
       packages <- for toResolve $ \release -> do
         modules <- fromMaybe [] <$> packageModules (tarballOf release)
@@ -246,7 +250,7 @@
 planned :: String -> PlanPackage
 planned release =
   let (name, version) = T.breakOnEnd "-" (T.pack release)
-   in PlanPackage (T.dropEnd 1 name) version PreExisting []
+   in PlanPackage (T.dropEnd 1 name) version PreExisting [] mempty
 
 -- | A cache of fixities in a directory.
 cacheUnder :: FilePath -> IO Cache
diff --git a/bench/Tilia/Bench/Measure.hs b/bench/Tilia/Bench/Measure.hs
--- a/bench/Tilia/Bench/Measure.hs
+++ b/bench/Tilia/Bench/Measure.hs
@@ -59,7 +59,7 @@
   -- | How many runs to measure.
   Int ->
   -- | The work.
-  (Text -> a) ->
+  (Text -> IO a) ->
   -- | Force everything the work computed.
   (a -> Int) ->
   -- | Its input.
@@ -70,7 +70,7 @@
   where
     set = do
       fresh <- evaluate (T.copy input)
-      pure (evaluate (work fresh))
+      pure (work fresh)
 
 -- | Run a piece of work once to warm up and then the given number of times,
 -- each time as a setup that is not measured gives it, and give what the run
diff --git a/bench/Tilia/Bench/Record.hs b/bench/Tilia/Bench/Record.hs
--- a/bench/Tilia/Bench/Record.hs
+++ b/bench/Tilia/Bench/Record.hs
@@ -18,6 +18,7 @@
 import Data.Text qualified as T
 import Data.Word (Word64)
 import Text.Read (readMaybe)
+
 import Tilia.Utils (readUtf8File, writeUtf8File)
 
 -- | The bytes each benchmark allocated and the instructions it retired, by
diff --git a/bench/bench.record b/bench/bench.record
--- a/bench/bench.record
+++ b/bench/bench.record
@@ -29,94 +29,97 @@
 interfaces 78bbcc544104eadc
 
 # stage      allocated  instructions  benchmark
-check        262394328     555231347  Agda-2.8.0/src/full/Agda/Syntax/Translation/ConcreteToAbstract.hs
-check        397446832     830954176  ShellCheck-0.11.0/src/ShellCheck/Analytics.hs
-check        241179344     427994023  aeson-2.3.1.0/src/Data/Aeson/KeyMap.hs
-check        189525056     491514771  blaze-html-0.9.2.0/src/Text/Blaze/Html5/Attributes.hs
-check         61117160     123909455  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Transformations/Alt.hs
-check         80917320     165175283  distributed-process-0.7.8/src/Control/Distributed/Process/Node.hs
-check        122847376     257559652  esqueleto-3.6.0.3/test/PostgreSQL/Test.hs
-check        494145192     876441840  haxl-2.5.1.1/Haxl/Core/Monad.hs
-check        208630016     436314494  idris-1.3.4/src/Idris/Elab/Term.hs
-check        313497704     525197526  lifted-base-0.2.3.12/Control/Exception/Lifted.hs
-check         58885096     124278628  megaparsec-9.8.1/Text/Megaparsec/Internal.hs
-check         78865104     169302733  optparse-applicative-0.19.0.0/tests/test.hs
-check         49900040      86256621  pandoc-3.10.2/src/Text/Pandoc/Class/PandocPure.hs
-check        155279368     326065024  pandoc-3.10.2/src/Text/Pandoc/Readers/Markdown.hs
-check        208221512     424247665  pandoc-3.10.2/src/Text/Pandoc/Writers/Powerpoint/Output.hs
-check        171071104     350069884  purescript-0.15.15/src/Language/PureScript/Errors.hs
-check         83717864     174927701  purescript-0.15.15/src/Language/PureScript/TypeChecker/Types.hs
-check         75850352     154401932  recursion-schemes-5.2.3/src/Data/Functor/Foldable.hs
-check         87843760     182442615  servant-server-0.20.3.0/src/Servant/Server/Internal.hs
-check         96642800     186847776  swagger2-2.9.1/src/Data/Swagger/Internal.hs
-check        100410968     185782213  text-2.1.4/tests/Tests/Properties/Folds.hs
-check         59225512     125094901  time-1.16.0.1/test/main/Test/Format/ParseTime.hs
-check         65691176     131935007  tls-2.4.3/Network/TLS/Extension.hs
-check        316481920     699896481  unpacked-containers-0/src/Map/Internal.hs
-check        429238096     806439773  vector-0.13.2.0/src/Data/Vector/Generic.hs
-check         68487400     140877072  xmonad-0.18.1/src/XMonad/Operations.hs
-decode        25986560      42986706  base-4.22.0.0
-decode         6162184       7405780  bytestring-0.12.2.0
-decode         9617160      11823599  containers-0.8
-decode        60341752      75721656  ghc-internal-9.1401.0
-decode         5048664       9492955  template-haskell-2.24.0.0
-decode         6427528       6910066  text-2.1.3
-format       556595184    1024297945  Agda-2.8.0/src/full/Agda/Syntax/Translation/ConcreteToAbstract.hs
-format      3854465456    7712722586  QuickCheck-2.18.0.0/src/Test/QuickCheck/Arbitrary.hs
-format       862511712    1567214479  ShellCheck-0.11.0/src/ShellCheck/Analytics.hs
-format       295473128     517227235  aeson-2.3.1.0/src/Data/Aeson/KeyMap.hs
-format       164675032     294608279  blaze-html-0.9.2.0/src/Text/Blaze/Html5/Attributes.hs
-format       113853464     207448636  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Transformations/Alt.hs
-format       170106856     312154128  distributed-process-0.7.8/src/Control/Distributed/Process/Node.hs
-format       296607832     538709571  esqueleto-3.6.0.3/test/PostgreSQL/Test.hs
-format       759369024    1508706632  haxl-2.5.1.1/Haxl/Core/Monad.hs
-format       483251128     868494716  idris-1.3.4/src/Idris/Elab/Term.hs
-format      1316303056    2664117713  lens-5.3.6/src/Control/Lens/Wrapped.hs
-format       373374296     680947697  lifted-base-0.2.3.12/Control/Exception/Lifted.hs
-format       110841232     208652611  megaparsec-9.8.1/Text/Megaparsec/Internal.hs
-format       143598656     262285835  optparse-applicative-0.19.0.0/tests/test.hs
-format        53015136      93114333  pandoc-3.10.2/src/Text/Pandoc/Class/PandocPure.hs
-format       360710120     655868610  pandoc-3.10.2/src/Text/Pandoc/Readers/Markdown.hs
-format       443773152     810435549  pandoc-3.10.2/src/Text/Pandoc/Writers/Powerpoint/Output.hs
-format       356368584     653553524  purescript-0.15.15/src/Language/PureScript/Errors.hs
-format       149847256     273651638  purescript-0.15.15/src/Language/PureScript/TypeChecker/Types.hs
-format       122975344     214196977  recursion-schemes-5.2.3/src/Data/Functor/Foldable.hs
-format       164898304     299829497  servant-server-0.20.3.0/src/Servant/Server/Internal.hs
-format       167353792     307352666  swagger2-2.9.1/src/Data/Swagger/Internal.hs
-format       646295808    1317931248  synthetic/comments
-format       103182688     220701758  synthetic/conditionals
-format        76881520     114863718  synthetic/imports
-format        19981040      49830507  synthetic/long-line
-format        97023824     207242378  synthetic/nesting
-format       793907888    1488797446  text-2.1.4/src/Data/Text/Internal/Fusion/CaseMapping.hs
-format       198569872     352095273  text-2.1.4/tests/Tests/Properties/Folds.hs
-format       125558376     227176081  time-1.16.0.1/test/main/Test/Format/ParseTime.hs
-format       128855712     237558926  tls-2.4.3/Network/TLS/Extension.hs
-format       986781016    1895559558  unordered-containers-0.2.21/Data/HashMap/Internal.hs
-format       486456840     864325592  unpacked-containers-0/src/Map/Internal.hs
-format       534644928    1002665230  vector-0.13.2.0/src/Data/Vector/Generic.hs
-format       132456840     239250934  xmonad-0.18.1/src/XMonad/Operations.hs
-recall         5035568       9104334  aeson-2.3.1.0
-recall         2206256       4115511  conduit-1.3.6.1
-recall         1750872       2949239  free-5.2
-recall        10419728      22711949  lens-5.3.6
-recall         1827984       3292762  megaparsec-9.8.1
-recall         2163752       3809556  mtl-2.3.2
-recall         1352776       2495420  optics-0.4.2.1
-recall         1560720       3029138  pandoc-types-1.23.1.2
-recall         2341464       4133432  semigroupoids-6.0.2
-recall         3245280       5631070  servant-0.20.3.0
-recall         5115360       8248496  text-2.1.4
-recall         4017336       7192306  vector-0.13.2.0
-resolve     1716508320    2903065195  aeson-2.3.1.0
-resolve      415521608     666133331  conduit-1.3.6.1
-resolve      455618520     731997671  free-5.2
-resolve     2779443504    4747264065  lens-5.3.6
-resolve      200991232     324227373  megaparsec-9.8.1
-resolve      210145040     336012772  mtl-2.3.2
-resolve       63439952      98654952  optics-0.4.2.1
-resolve       71737424     113796838  pandoc-types-1.23.1.2
-resolve      124790624     202262598  semigroupoids-6.0.2
-resolve      199289360     317418805  servant-0.20.3.0
-resolve     1092843928    1794267358  text-2.1.4
-resolve     2278152904    3740045561  vector-0.13.2.0
+check        254588800     528168361  Agda-2.8.0/src/full/Agda/Syntax/Translation/ConcreteToAbstract.hs
+check        401338832     832352588  ShellCheck-0.11.0/src/ShellCheck/Analytics.hs
+check        233268080     409093689  aeson-2.3.1.0/src/Data/Aeson/KeyMap.hs
+check        136216504     230611817  blaze-html-0.9.2.0/src/Text/Blaze/Html5/Attributes.hs
+check         61331744     123721540  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Transformations/Alt.hs
+check         80779776     163205330  distributed-process-0.7.8/src/Control/Distributed/Process/Node.hs
+check        123095880     257288707  esqueleto-3.6.0.3/test/PostgreSQL/Test.hs
+check        475671464     829248685  haxl-2.5.1.1/Haxl/Core/Monad.hs
+check        209083664     435188710  idris-1.3.4/src/Idris/Elab/Term.hs
+check        304495584     502614703  lifted-base-0.2.3.12/Control/Exception/Lifted.hs
+check         57385680     120745569  megaparsec-9.8.1/Text/Megaparsec/Internal.hs
+check         79500536     169491544  optparse-applicative-0.19.0.0/tests/test.hs
+check         49165200      84796972  pandoc-3.10.2/src/Text/Pandoc/Class/PandocPure.hs
+check        152918304     321435678  pandoc-3.10.2/src/Text/Pandoc/Readers/Markdown.hs
+check        205986968     418130403  pandoc-3.10.2/src/Text/Pandoc/Writers/Powerpoint/Output.hs
+check        175855688     353849309  purescript-0.15.15/src/Language/PureScript/Errors.hs
+check         84359232     172617233  purescript-0.15.15/src/Language/PureScript/TypeChecker/Types.hs
+check         70030424     130695826  recursion-schemes-5.2.3/src/Data/Functor/Foldable.hs
+check         85224024     169625673  servant-server-0.20.3.0/src/Servant/Server/Internal.hs
+check         93102784     176519529  swagger2-2.9.1/src/Data/Swagger/Internal.hs
+check        100098360     184880617  text-2.1.4/tests/Tests/Properties/Folds.hs
+check         59670672     125299817  time-1.16.0.1/test/main/Test/Format/ParseTime.hs
+check         65273104     130847465  tls-2.4.3/Network/TLS/Extension.hs
+check        271965848     519484857  unpacked-containers-0/src/Map/Internal.hs
+check        399175152     686881814  vector-0.13.2.0/src/Data/Vector/Generic.hs
+check         66363704     134927912  xmonad-0.18.1/src/XMonad/Operations.hs
+decode        25753416      42450786  base-4.22.0.0
+decode         6156104       7432493  bytestring-0.12.2.0
+decode         9584944      11755410  containers-0.8
+decode        60043768      76247508  ghc-internal-9.1401.0
+decode         4944480       9246885  template-haskell-2.24.0.0
+decode         6421312       6898984  text-2.1.3
+format       517282840     979863575  Agda-2.8.0/src/full/Agda/Syntax/Translation/ConcreteToAbstract.hs
+format      2282236040    4583795342  QuickCheck-2.18.0.0/src/Test/QuickCheck/Arbitrary.hs
+format       786976240    1487532094  ShellCheck-0.11.0/src/ShellCheck/Analytics.hs
+format       311409704     607226277  aeson-2.3.1.0/src/Data/Aeson/KeyMap.hs
+format       310628304     606336319  alternative/aeson-2.3.1.0/src/Data/Aeson/KeyMap.hs
+format       160387944     303305078  alternative/servant-server-0.20.3.0/src/Servant/Server/Internal.hs
+format       161542304     301184104  alternative/swagger2-2.9.1/src/Data/Swagger/Internal.hs
+format       171295896     288703801  blaze-html-0.9.2.0/src/Text/Blaze/Html5/Attributes.hs
+format       107664504     203525750  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Transformations/Alt.hs
+format       155638976     296444294  distributed-process-0.7.8/src/Control/Distributed/Process/Node.hs
+format       274004072     521688947  esqueleto-3.6.0.3/test/PostgreSQL/Test.hs
+format       633172144    1274745859  haxl-2.5.1.1/Haxl/Core/Monad.hs
+format       440627536     828298594  idris-1.3.4/src/Idris/Elab/Term.hs
+format       956695216    1941906876  lens-5.3.6/src/Control/Lens/Wrapped.hs
+format       326605240     614994353  lifted-base-0.2.3.12/Control/Exception/Lifted.hs
+format       105168232     203565381  megaparsec-9.8.1/Text/Megaparsec/Internal.hs
+format       146567288     284391034  optparse-applicative-0.19.0.0/tests/test.hs
+format        60016712     120100577  pandoc-3.10.2/src/Text/Pandoc/Class/PandocPure.hs
+format       325412304     613414153  pandoc-3.10.2/src/Text/Pandoc/Readers/Markdown.hs
+format       411731912     779111147  pandoc-3.10.2/src/Text/Pandoc/Writers/Powerpoint/Output.hs
+format       336907824     643014170  purescript-0.15.15/src/Language/PureScript/Errors.hs
+format       151346376     291441324  purescript-0.15.15/src/Language/PureScript/TypeChecker/Types.hs
+format       118812328     214847485  recursion-schemes-5.2.3/src/Data/Functor/Foldable.hs
+format       159324112     300585560  servant-server-0.20.3.0/src/Servant/Server/Internal.hs
+format       159522968     299053553  swagger2-2.9.1/src/Data/Swagger/Internal.hs
+format       626104320    1160340927  synthetic/comments
+format       155207200     362470494  synthetic/conditionals
+format        98980504     202398480  synthetic/imports
+format        21443464      56601844  synthetic/long-line
+format       104686824     236248009  synthetic/nesting
+format       785958808    1486258466  text-2.1.4/src/Data/Text/Internal/Fusion/CaseMapping.hs
+format       188147552     403660684  text-2.1.4/tests/Tests/Properties/Folds.hs
+format       124015640     236998344  time-1.16.0.1/test/main/Test/Format/ParseTime.hs
+format       115672288     219713431  tls-2.4.3/Network/TLS/Extension.hs
+format       834271864    1666508703  unordered-containers-0.2.21/Data/HashMap/Internal.hs
+format       462404904     839650950  unpacked-containers-0/src/Map/Internal.hs
+format       497988216     968757043  vector-0.13.2.0/src/Data/Vector/Generic.hs
+format       125479144     236359528  xmonad-0.18.1/src/XMonad/Operations.hs
+recall         4996488       9128245  aeson-2.3.1.0
+recall         2175128       4113046  conduit-1.3.6.1
+recall         1730200       2974512  free-5.2
+recall        10347240      22684091  lens-5.3.6
+recall         1799720       3300150  megaparsec-9.8.1
+recall         2144248       3844789  mtl-2.3.2
+recall         1333568       2518420  optics-0.4.2.1
+recall         1520104       3000442  pandoc-types-1.23.1.2
+recall         2328376       4174921  semigroupoids-6.0.2
+recall         3328784       5945517  servant-0.20.3.0
+recall         5099664       8333649  text-2.1.4
+recall         4032728       7330419  vector-0.13.2.0
+resolve     1554752216    2641519619  aeson-2.3.1.0
+resolve      408356456     655863600  conduit-1.3.6.1
+resolve      448579480     723306769  free-5.2
+resolve     1597623040    2801718686  lens-5.3.6
+resolve      195788160     316083578  megaparsec-9.8.1
+resolve      206779440     332698669  mtl-2.3.2
+resolve       56208336      86953086  optics-0.4.2.1
+resolve       71180232     113999073  pandoc-types-1.23.1.2
+resolve      123318872     200676955  semigroupoids-6.0.2
+resolve      194035808     309442132  servant-0.20.3.0
+resolve      971082104    1585636336  text-2.1.4
+resolve     1905658552    3134104503  vector-0.13.2.0
diff --git a/corpora/column-limit/conditionals-out'-100.hs b/corpora/column-limit/conditionals-out'-100.hs
new file mode 100644
--- /dev/null
+++ b/corpora/column-limit/conditionals-out'-100.hs
@@ -0,0 +1,101 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE MagicHash #-}
+{-# LANGUAGE QuantifiedConstraints #-}
+{-# LANGUAGE RankNTypes #-}
+{-# LANGUAGE TypeAbstractions #-}
+{-# LANGUAGE TypeFamilies #-}
+{-# LANGUAGE TypeOperators #-}
+{-# LANGUAGE UnboxedTuples #-}
+
+-- Conditionals each of whose branches writes a head that breaks at lower
+-- limits, and a conditional context in front of a type that breaks.
+module Loom.Conditionals (decimal, step, anyDigit, report, runFrame, MonadTrans, ApplyTyCon) where
+
+import Control.Monad.ST (ST, runST)
+import Terminal.Buffer (Buffer, freeze, shrink)
+#if defined(ASSERTS)
+import GHC.Stack (HasCallStack)
+#endif
+
+decimal :: Int -> String -> Int
+decimal acc input = case input of
+    [] -> acc
+    w : rest -> case w of
+#if MIN_VERSION_base(4,16,0)
+        c
+            | isDigitCharacter c
+            , notTooLarge acc -> case multiplyTheAccumulatorByTenSafely acc (digitValueOf c) of
+                Just next -> decimal next rest
+#else
+        c
+            | isDigit c
+            , notTooLarge acc -> case multiplyByTen acc (digitToInt c) of
+                Just next -> decimal next rest
+#endif
+                Nothing -> acc
+
+step :: Int -> Char -> Int
+step acc c
+#if MIN_VERSION_base(4,16,0)
+    | isDigitCharacter c
+    , notTooLarge acc = case multiplyTheAccumulatorByTenSafely acc (digitValueOf c) of
+        Just next -> next
+#else
+    | isDigit c
+    , notTooLarge acc = case multiplyByTen acc (digitToInt c) of
+        Just next -> next
+#endif
+        Nothing -> acc
+    | otherwise = acc
+
+anyDigit :: Word# -> Addr# -> Result
+anyDigit acc s = case indexWord8OffAddr# s 0# of
+#if MIN_VERSION_base(4,16,0)
+    w
+        | 1# <- leWord8# (wordToWord8# 0x30##) w
+        , 1# <- leWord8# w (wordToWord8# 0x39##) -> case timesWord2# acc 10## of
+#else
+    w
+        | 1# <- leWord# 0x30## w
+        , 1# <- leWord# w 0x39## -> case timesWord2# acc 10## of
+#endif
+            (# 0##, r #) -> OK r
+            _ -> Overflow
+    _ -> Fail
+
+report :: Handle -> Status -> IO ()
+report h status
+#ifdef mingw32_HOST_OS
+    | isFailure status = do
+        hPutStrLn h "failed"
+#else
+    | isFailure status
+    , colour = do
+        hPutStrLn h "\ESC[31mfailed\ESC[0m"
+#endif
+        hFlush h
+    | otherwise = pure ()
+
+runFrame ::
+#if defined(ASSERTS)
+    HasCallStack =>
+#endif
+    (forall s. (Buffer s -> Int -> ST s Buffer) -> ST s Buffer) -> Buffer
+runFrame act = runST (act (\buffer used -> shrink buffer used >> freeze buffer))
+
+class
+#if __GLASGOW_HASKELL__ >= 806
+    (forall m. Monad m => Monad (t m)) => MonadTrans t where
+#else
+    MonadTrans t where
+#endif
+    lift :: Monad m => m a -> t m a
+
+type family
+#if __GLASGOW_HASKELL__ >= 910
+    ApplyTyCon @k1 @k2 @unmatchable_fun :: (k1 -> k2) -> (k1 ~> unmatchable_fun)
+#else
+    ApplyTyCon :: (k1 -> k2) -> (k1 ~> unmatchable_fun)
+#endif
+    where
+    ApplyTyCon = ApplyTyConAux1
diff --git a/corpora/column-limit/conditionals-out'-120.hs b/corpora/column-limit/conditionals-out'-120.hs
new file mode 100644
--- /dev/null
+++ b/corpora/column-limit/conditionals-out'-120.hs
@@ -0,0 +1,101 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE MagicHash #-}
+{-# LANGUAGE QuantifiedConstraints #-}
+{-# LANGUAGE RankNTypes #-}
+{-# LANGUAGE TypeAbstractions #-}
+{-# LANGUAGE TypeFamilies #-}
+{-# LANGUAGE TypeOperators #-}
+{-# LANGUAGE UnboxedTuples #-}
+
+-- Conditionals each of whose branches writes a head that breaks at lower
+-- limits, and a conditional context in front of a type that breaks.
+module Loom.Conditionals (decimal, step, anyDigit, report, runFrame, MonadTrans, ApplyTyCon) where
+
+import Control.Monad.ST (ST, runST)
+import Terminal.Buffer (Buffer, freeze, shrink)
+#if defined(ASSERTS)
+import GHC.Stack (HasCallStack)
+#endif
+
+decimal :: Int -> String -> Int
+decimal acc input = case input of
+    [] -> acc
+    w : rest -> case w of
+#if MIN_VERSION_base(4,16,0)
+        c
+            | isDigitCharacter c
+            , notTooLarge acc -> case multiplyTheAccumulatorByTenSafely acc (digitValueOf c) of
+                Just next -> decimal next rest
+#else
+        c
+            | isDigit c
+            , notTooLarge acc -> case multiplyByTen acc (digitToInt c) of
+                Just next -> decimal next rest
+#endif
+                Nothing -> acc
+
+step :: Int -> Char -> Int
+step acc c
+#if MIN_VERSION_base(4,16,0)
+    | isDigitCharacter c
+    , notTooLarge acc = case multiplyTheAccumulatorByTenSafely acc (digitValueOf c) of
+        Just next -> next
+#else
+    | isDigit c
+    , notTooLarge acc = case multiplyByTen acc (digitToInt c) of
+        Just next -> next
+#endif
+        Nothing -> acc
+    | otherwise = acc
+
+anyDigit :: Word# -> Addr# -> Result
+anyDigit acc s = case indexWord8OffAddr# s 0# of
+#if MIN_VERSION_base(4,16,0)
+    w
+        | 1# <- leWord8# (wordToWord8# 0x30##) w
+        , 1# <- leWord8# w (wordToWord8# 0x39##) -> case timesWord2# acc 10## of
+#else
+    w
+        | 1# <- leWord# 0x30## w
+        , 1# <- leWord# w 0x39## -> case timesWord2# acc 10## of
+#endif
+            (# 0##, r #) -> OK r
+            _ -> Overflow
+    _ -> Fail
+
+report :: Handle -> Status -> IO ()
+report h status
+#ifdef mingw32_HOST_OS
+    | isFailure status = do
+        hPutStrLn h "failed"
+#else
+    | isFailure status
+    , colour = do
+        hPutStrLn h "\ESC[31mfailed\ESC[0m"
+#endif
+        hFlush h
+    | otherwise = pure ()
+
+runFrame ::
+#if defined(ASSERTS)
+    HasCallStack =>
+#endif
+    (forall s. (Buffer s -> Int -> ST s Buffer) -> ST s Buffer) -> Buffer
+runFrame act = runST (act (\buffer used -> shrink buffer used >> freeze buffer))
+
+class
+#if __GLASGOW_HASKELL__ >= 806
+    (forall m. Monad m => Monad (t m)) => MonadTrans t where
+#else
+    MonadTrans t where
+#endif
+    lift :: Monad m => m a -> t m a
+
+type family
+#if __GLASGOW_HASKELL__ >= 910
+    ApplyTyCon @k1 @k2 @unmatchable_fun :: (k1 -> k2) -> (k1 ~> unmatchable_fun)
+#else
+    ApplyTyCon :: (k1 -> k2) -> (k1 ~> unmatchable_fun)
+#endif
+    where
+    ApplyTyCon = ApplyTyConAux1
diff --git a/corpora/column-limit/conditionals-out'-40.hs b/corpora/column-limit/conditionals-out'-40.hs
new file mode 100644
--- /dev/null
+++ b/corpora/column-limit/conditionals-out'-40.hs
@@ -0,0 +1,158 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE MagicHash #-}
+{-# LANGUAGE QuantifiedConstraints #-}
+{-# LANGUAGE RankNTypes #-}
+{-# LANGUAGE TypeAbstractions #-}
+{-# LANGUAGE TypeFamilies #-}
+{-# LANGUAGE TypeOperators #-}
+{-# LANGUAGE UnboxedTuples #-}
+
+-- Conditionals each of whose branches writes a head that breaks at lower
+-- limits, and a conditional context in front of a type that breaks.
+module Loom.Conditionals
+    ( decimal
+    , step
+    , anyDigit
+    , report
+    , runFrame
+    , MonadTrans
+    , ApplyTyCon
+    )
+where
+
+import Control.Monad.ST (ST, runST)
+import Terminal.Buffer
+    ( Buffer
+    , freeze
+    , shrink
+    )
+#if defined(ASSERTS)
+import GHC.Stack (HasCallStack)
+#endif
+
+decimal :: Int -> String -> Int
+decimal acc input = case input of
+    [] -> acc
+    w : rest -> case w of
+#if MIN_VERSION_base(4,16,0)
+        c
+            | isDigitCharacter c
+            , notTooLarge acc -> case multiplyTheAccumulatorByTenSafely
+                acc
+                (digitValueOf c) of
+                Just next ->
+                    decimal next rest
+#else
+        c
+            | isDigit c
+            , notTooLarge acc -> case multiplyByTen
+                acc
+                (digitToInt c) of
+                Just next ->
+                    decimal next rest
+#endif
+                Nothing -> acc
+
+step :: Int -> Char -> Int
+step acc c
+#if MIN_VERSION_base(4,16,0)
+    | isDigitCharacter c
+    , notTooLarge acc = case multiplyTheAccumulatorByTenSafely
+        acc
+        (digitValueOf c) of
+        Just next -> next
+#else
+    | isDigit c
+    , notTooLarge acc = case multiplyByTen
+        acc
+        (digitToInt c) of
+        Just next -> next
+#endif
+        Nothing -> acc
+    | otherwise = acc
+
+anyDigit :: Word# -> Addr# -> Result
+anyDigit acc s = case indexWord8OffAddr#
+    s
+    0# of
+#if MIN_VERSION_base(4,16,0)
+    w
+        | 1# <-
+            leWord8#
+                (wordToWord8# 0x30##)
+                w
+        , 1# <-
+            leWord8#
+                w
+                (wordToWord8# 0x39##) -> case timesWord2#
+            acc
+            10## of
+#else
+    w
+        | 1# <- leWord# 0x30## w
+        , 1# <- leWord# w 0x39## -> case timesWord2#
+            acc
+            10## of
+#endif
+            (# 0##, r #) -> OK r
+            _ -> Overflow
+    _ -> Fail
+
+report :: Handle -> Status -> IO ()
+report h status
+#ifdef mingw32_HOST_OS
+    | isFailure status = do
+        hPutStrLn h "failed"
+#else
+    | isFailure status
+    , colour = do
+        hPutStrLn
+            h
+            "\ESC[31mfailed\ESC[0m"
+#endif
+        hFlush h
+    | otherwise = pure ()
+
+runFrame ::
+#if defined(ASSERTS)
+    HasCallStack =>
+#endif
+    ( forall s
+       . ( Buffer s
+           -> Int
+           -> ST s Buffer
+         )
+      -> ST s Buffer
+    )
+    -> Buffer
+runFrame act =
+    runST
+        ( act
+            ( \buffer used ->
+                shrink buffer used
+                    >> freeze buffer
+            )
+        )
+
+class
+#if __GLASGOW_HASKELL__ >= 806
+    (forall m. Monad m => Monad (t m))
+    => MonadTrans t
+    where
+#else
+    MonadTrans t where
+#endif
+    lift :: Monad m => m a -> t m a
+
+type family
+#if __GLASGOW_HASKELL__ >= 910
+    ApplyTyCon @k1 @k2 @unmatchable_fun
+        :: (k1 -> k2)
+        -> (k1 ~> unmatchable_fun)
+#else
+    ApplyTyCon
+        :: (k1 -> k2)
+        -> (k1 ~> unmatchable_fun)
+#endif
+    where
+    ApplyTyCon = ApplyTyConAux1
diff --git a/corpora/column-limit/conditionals-out'-60.hs b/corpora/column-limit/conditionals-out'-60.hs
new file mode 100644
--- /dev/null
+++ b/corpora/column-limit/conditionals-out'-60.hs
@@ -0,0 +1,132 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE MagicHash #-}
+{-# LANGUAGE QuantifiedConstraints #-}
+{-# LANGUAGE RankNTypes #-}
+{-# LANGUAGE TypeAbstractions #-}
+{-# LANGUAGE TypeFamilies #-}
+{-# LANGUAGE TypeOperators #-}
+{-# LANGUAGE UnboxedTuples #-}
+
+-- Conditionals each of whose branches writes a head that breaks at lower
+-- limits, and a conditional context in front of a type that breaks.
+module Loom.Conditionals
+    ( decimal
+    , step
+    , anyDigit
+    , report
+    , runFrame
+    , MonadTrans
+    , ApplyTyCon
+    )
+where
+
+import Control.Monad.ST (ST, runST)
+import Terminal.Buffer (Buffer, freeze, shrink)
+#if defined(ASSERTS)
+import GHC.Stack (HasCallStack)
+#endif
+
+decimal :: Int -> String -> Int
+decimal acc input = case input of
+    [] -> acc
+    w : rest -> case w of
+#if MIN_VERSION_base(4,16,0)
+        c
+            | isDigitCharacter c
+            , notTooLarge acc -> case multiplyTheAccumulatorByTenSafely
+                acc
+                (digitValueOf c) of
+                Just next -> decimal next rest
+#else
+        c
+            | isDigit c
+            , notTooLarge acc -> case multiplyByTen
+                acc
+                (digitToInt c) of
+                Just next -> decimal next rest
+#endif
+                Nothing -> acc
+
+step :: Int -> Char -> Int
+step acc c
+#if MIN_VERSION_base(4,16,0)
+    | isDigitCharacter c
+    , notTooLarge acc = case multiplyTheAccumulatorByTenSafely
+        acc
+        (digitValueOf c) of
+        Just next -> next
+#else
+    | isDigit c
+    , notTooLarge acc = case multiplyByTen
+        acc
+        (digitToInt c) of
+        Just next -> next
+#endif
+        Nothing -> acc
+    | otherwise = acc
+
+anyDigit :: Word# -> Addr# -> Result
+anyDigit acc s = case indexWord8OffAddr# s 0# of
+#if MIN_VERSION_base(4,16,0)
+    w
+        | 1# <- leWord8# (wordToWord8# 0x30##) w
+        , 1# <- leWord8# w (wordToWord8# 0x39##) -> case timesWord2#
+            acc
+            10## of
+#else
+    w
+        | 1# <- leWord# 0x30## w
+        , 1# <- leWord# w 0x39## -> case timesWord2#
+            acc
+            10## of
+#endif
+            (# 0##, r #) -> OK r
+            _ -> Overflow
+    _ -> Fail
+
+report :: Handle -> Status -> IO ()
+report h status
+#ifdef mingw32_HOST_OS
+    | isFailure status = do
+        hPutStrLn h "failed"
+#else
+    | isFailure status
+    , colour = do
+        hPutStrLn h "\ESC[31mfailed\ESC[0m"
+#endif
+        hFlush h
+    | otherwise = pure ()
+
+runFrame ::
+#if defined(ASSERTS)
+    HasCallStack =>
+#endif
+    ( forall s
+       . (Buffer s -> Int -> ST s Buffer) -> ST s Buffer
+    )
+    -> Buffer
+runFrame act =
+    runST
+        ( act
+            ( \buffer used ->
+                shrink buffer used >> freeze buffer
+            )
+        )
+
+class
+#if __GLASGOW_HASKELL__ >= 806
+    (forall m. Monad m => Monad (t m)) => MonadTrans t where
+#else
+    MonadTrans t where
+#endif
+    lift :: Monad m => m a -> t m a
+
+type family
+#if __GLASGOW_HASKELL__ >= 910
+    ApplyTyCon @k1 @k2 @unmatchable_fun
+        :: (k1 -> k2) -> (k1 ~> unmatchable_fun)
+#else
+    ApplyTyCon :: (k1 -> k2) -> (k1 ~> unmatchable_fun)
+#endif
+    where
+    ApplyTyCon = ApplyTyConAux1
diff --git a/corpora/column-limit/conditionals-out-100.hs b/corpora/column-limit/conditionals-out-100.hs
new file mode 100644
--- /dev/null
+++ b/corpora/column-limit/conditionals-out-100.hs
@@ -0,0 +1,101 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE MagicHash #-}
+{-# LANGUAGE QuantifiedConstraints #-}
+{-# LANGUAGE RankNTypes #-}
+{-# LANGUAGE TypeAbstractions #-}
+{-# LANGUAGE TypeFamilies #-}
+{-# LANGUAGE TypeOperators #-}
+{-# LANGUAGE UnboxedTuples #-}
+
+-- Conditionals each of whose branches writes a head that breaks at lower
+-- limits, and a conditional context in front of a type that breaks.
+module Loom.Conditionals (decimal, step, anyDigit, report, runFrame, MonadTrans, ApplyTyCon) where
+
+import Control.Monad.ST (ST, runST)
+import Terminal.Buffer (Buffer, freeze, shrink)
+#if defined(ASSERTS)
+import GHC.Stack (HasCallStack)
+#endif
+
+decimal :: Int -> String -> Int
+decimal acc input = case input of
+  [] -> acc
+  w : rest -> case w of
+#if MIN_VERSION_base(4,16,0)
+    c
+      | isDigitCharacter c,
+        notTooLarge acc -> case multiplyTheAccumulatorByTenSafely acc (digitValueOf c) of
+          Just next -> decimal next rest
+#else
+    c
+      | isDigit c,
+        notTooLarge acc -> case multiplyByTen acc (digitToInt c) of
+          Just next -> decimal next rest
+#endif
+          Nothing -> acc
+
+step :: Int -> Char -> Int
+step acc c
+#if MIN_VERSION_base(4,16,0)
+  | isDigitCharacter c,
+    notTooLarge acc = case multiplyTheAccumulatorByTenSafely acc (digitValueOf c) of
+      Just next -> next
+#else
+  | isDigit c,
+    notTooLarge acc = case multiplyByTen acc (digitToInt c) of
+      Just next -> next
+#endif
+      Nothing -> acc
+  | otherwise = acc
+
+anyDigit :: Word# -> Addr# -> Result
+anyDigit acc s = case indexWord8OffAddr# s 0# of
+#if MIN_VERSION_base(4,16,0)
+  w
+    | 1# <- leWord8# (wordToWord8# 0x30##) w,
+      1# <- leWord8# w (wordToWord8# 0x39##) -> case timesWord2# acc 10## of
+#else
+  w
+    | 1# <- leWord# 0x30## w,
+      1# <- leWord# w 0x39## -> case timesWord2# acc 10## of
+#endif
+        (# 0##, r #) -> OK r
+        _ -> Overflow
+  _ -> Fail
+
+report :: Handle -> Status -> IO ()
+report h status
+#ifdef mingw32_HOST_OS
+  | isFailure status = do
+      hPutStrLn h "failed"
+#else
+  | isFailure status,
+    colour = do
+      hPutStrLn h "\ESC[31mfailed\ESC[0m"
+#endif
+      hFlush h
+  | otherwise = pure ()
+
+runFrame ::
+#if defined(ASSERTS)
+  HasCallStack =>
+#endif
+  (forall s. (Buffer s -> Int -> ST s Buffer) -> ST s Buffer) -> Buffer
+runFrame act = runST (act (\buffer used -> shrink buffer used >> freeze buffer))
+
+class
+#if __GLASGOW_HASKELL__ >= 806
+  (forall m. Monad m => Monad (t m)) => MonadTrans t where
+#else
+  MonadTrans t where
+#endif
+  lift :: Monad m => m a -> t m a
+
+type family
+#if __GLASGOW_HASKELL__ >= 910
+  ApplyTyCon @k1 @k2 @unmatchable_fun :: (k1 -> k2) -> (k1 ~> unmatchable_fun)
+#else
+  ApplyTyCon :: (k1 -> k2) -> (k1 ~> unmatchable_fun)
+#endif
+  where
+  ApplyTyCon = ApplyTyConAux1
diff --git a/corpora/column-limit/conditionals-out-120.hs b/corpora/column-limit/conditionals-out-120.hs
new file mode 100644
--- /dev/null
+++ b/corpora/column-limit/conditionals-out-120.hs
@@ -0,0 +1,101 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE MagicHash #-}
+{-# LANGUAGE QuantifiedConstraints #-}
+{-# LANGUAGE RankNTypes #-}
+{-# LANGUAGE TypeAbstractions #-}
+{-# LANGUAGE TypeFamilies #-}
+{-# LANGUAGE TypeOperators #-}
+{-# LANGUAGE UnboxedTuples #-}
+
+-- Conditionals each of whose branches writes a head that breaks at lower
+-- limits, and a conditional context in front of a type that breaks.
+module Loom.Conditionals (decimal, step, anyDigit, report, runFrame, MonadTrans, ApplyTyCon) where
+
+import Control.Monad.ST (ST, runST)
+import Terminal.Buffer (Buffer, freeze, shrink)
+#if defined(ASSERTS)
+import GHC.Stack (HasCallStack)
+#endif
+
+decimal :: Int -> String -> Int
+decimal acc input = case input of
+  [] -> acc
+  w : rest -> case w of
+#if MIN_VERSION_base(4,16,0)
+    c
+      | isDigitCharacter c,
+        notTooLarge acc -> case multiplyTheAccumulatorByTenSafely acc (digitValueOf c) of
+          Just next -> decimal next rest
+#else
+    c
+      | isDigit c,
+        notTooLarge acc -> case multiplyByTen acc (digitToInt c) of
+          Just next -> decimal next rest
+#endif
+          Nothing -> acc
+
+step :: Int -> Char -> Int
+step acc c
+#if MIN_VERSION_base(4,16,0)
+  | isDigitCharacter c,
+    notTooLarge acc = case multiplyTheAccumulatorByTenSafely acc (digitValueOf c) of
+      Just next -> next
+#else
+  | isDigit c,
+    notTooLarge acc = case multiplyByTen acc (digitToInt c) of
+      Just next -> next
+#endif
+      Nothing -> acc
+  | otherwise = acc
+
+anyDigit :: Word# -> Addr# -> Result
+anyDigit acc s = case indexWord8OffAddr# s 0# of
+#if MIN_VERSION_base(4,16,0)
+  w
+    | 1# <- leWord8# (wordToWord8# 0x30##) w,
+      1# <- leWord8# w (wordToWord8# 0x39##) -> case timesWord2# acc 10## of
+#else
+  w
+    | 1# <- leWord# 0x30## w,
+      1# <- leWord# w 0x39## -> case timesWord2# acc 10## of
+#endif
+        (# 0##, r #) -> OK r
+        _ -> Overflow
+  _ -> Fail
+
+report :: Handle -> Status -> IO ()
+report h status
+#ifdef mingw32_HOST_OS
+  | isFailure status = do
+      hPutStrLn h "failed"
+#else
+  | isFailure status,
+    colour = do
+      hPutStrLn h "\ESC[31mfailed\ESC[0m"
+#endif
+      hFlush h
+  | otherwise = pure ()
+
+runFrame ::
+#if defined(ASSERTS)
+  HasCallStack =>
+#endif
+  (forall s. (Buffer s -> Int -> ST s Buffer) -> ST s Buffer) -> Buffer
+runFrame act = runST (act (\buffer used -> shrink buffer used >> freeze buffer))
+
+class
+#if __GLASGOW_HASKELL__ >= 806
+  (forall m. Monad m => Monad (t m)) => MonadTrans t where
+#else
+  MonadTrans t where
+#endif
+  lift :: Monad m => m a -> t m a
+
+type family
+#if __GLASGOW_HASKELL__ >= 910
+  ApplyTyCon @k1 @k2 @unmatchable_fun :: (k1 -> k2) -> (k1 ~> unmatchable_fun)
+#else
+  ApplyTyCon :: (k1 -> k2) -> (k1 ~> unmatchable_fun)
+#endif
+  where
+  ApplyTyCon = ApplyTyConAux1
diff --git a/corpora/column-limit/conditionals-out-40.hs b/corpora/column-limit/conditionals-out-40.hs
new file mode 100644
--- /dev/null
+++ b/corpora/column-limit/conditionals-out-40.hs
@@ -0,0 +1,149 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE MagicHash #-}
+{-# LANGUAGE QuantifiedConstraints #-}
+{-# LANGUAGE RankNTypes #-}
+{-# LANGUAGE TypeAbstractions #-}
+{-# LANGUAGE TypeFamilies #-}
+{-# LANGUAGE TypeOperators #-}
+{-# LANGUAGE UnboxedTuples #-}
+
+-- Conditionals each of whose branches writes a head that breaks at lower
+-- limits, and a conditional context in front of a type that breaks.
+module Loom.Conditionals
+  ( decimal,
+    step,
+    anyDigit,
+    report,
+    runFrame,
+    MonadTrans,
+    ApplyTyCon,
+  )
+where
+
+import Control.Monad.ST (ST, runST)
+import Terminal.Buffer
+  ( Buffer,
+    freeze,
+    shrink,
+  )
+#if defined(ASSERTS)
+import GHC.Stack (HasCallStack)
+#endif
+
+decimal :: Int -> String -> Int
+decimal acc input = case input of
+  [] -> acc
+  w : rest -> case w of
+#if MIN_VERSION_base(4,16,0)
+    c
+      | isDigitCharacter c,
+        notTooLarge acc -> case multiplyTheAccumulatorByTenSafely
+          acc
+          (digitValueOf c) of
+          Just next -> decimal next rest
+#else
+    c
+      | isDigit c,
+        notTooLarge acc -> case multiplyByTen
+          acc
+          (digitToInt c) of
+          Just next -> decimal next rest
+#endif
+          Nothing -> acc
+
+step :: Int -> Char -> Int
+step acc c
+#if MIN_VERSION_base(4,16,0)
+  | isDigitCharacter c,
+    notTooLarge acc = case multiplyTheAccumulatorByTenSafely
+      acc
+      (digitValueOf c) of
+      Just next -> next
+#else
+  | isDigit c,
+    notTooLarge acc = case multiplyByTen
+      acc
+      (digitToInt c) of
+      Just next -> next
+#endif
+      Nothing -> acc
+  | otherwise = acc
+
+anyDigit :: Word# -> Addr# -> Result
+anyDigit acc s = case indexWord8OffAddr#
+  s
+  0# of
+#if MIN_VERSION_base(4,16,0)
+  w
+    | 1# <-
+        leWord8# (wordToWord8# 0x30##) w,
+      1# <-
+        leWord8# w (wordToWord8# 0x39##) -> case timesWord2#
+        acc
+        10## of
+#else
+  w
+    | 1# <- leWord# 0x30## w,
+      1# <- leWord# w 0x39## -> case timesWord2#
+        acc
+        10## of
+#endif
+        (# 0##, r #) -> OK r
+        _ -> Overflow
+  _ -> Fail
+
+report :: Handle -> Status -> IO ()
+report h status
+#ifdef mingw32_HOST_OS
+  | isFailure status = do
+      hPutStrLn h "failed"
+#else
+  | isFailure status,
+    colour = do
+      hPutStrLn
+        h
+        "\ESC[31mfailed\ESC[0m"
+#endif
+      hFlush h
+  | otherwise = pure ()
+
+runFrame ::
+#if defined(ASSERTS)
+  HasCallStack =>
+#endif
+  ( forall s.
+    (Buffer s -> Int -> ST s Buffer) ->
+    ST s Buffer
+  ) ->
+  Buffer
+runFrame act =
+  runST
+    ( act
+        ( \buffer used ->
+            shrink buffer used
+              >> freeze buffer
+        )
+    )
+
+class
+#if __GLASGOW_HASKELL__ >= 806
+  (forall m. Monad m => Monad (t m)) =>
+  MonadTrans t
+  where
+#else
+  MonadTrans t where
+#endif
+  lift :: Monad m => m a -> t m a
+
+type family
+#if __GLASGOW_HASKELL__ >= 910
+  ApplyTyCon @k1 @k2 @unmatchable_fun ::
+    (k1 -> k2) ->
+    (k1 ~> unmatchable_fun)
+#else
+  ApplyTyCon ::
+    (k1 -> k2) ->
+    (k1 ~> unmatchable_fun)
+#endif
+  where
+  ApplyTyCon = ApplyTyConAux1
diff --git a/corpora/column-limit/conditionals-out-60.hs b/corpora/column-limit/conditionals-out-60.hs
new file mode 100644
--- /dev/null
+++ b/corpora/column-limit/conditionals-out-60.hs
@@ -0,0 +1,128 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE MagicHash #-}
+{-# LANGUAGE QuantifiedConstraints #-}
+{-# LANGUAGE RankNTypes #-}
+{-# LANGUAGE TypeAbstractions #-}
+{-# LANGUAGE TypeFamilies #-}
+{-# LANGUAGE TypeOperators #-}
+{-# LANGUAGE UnboxedTuples #-}
+
+-- Conditionals each of whose branches writes a head that breaks at lower
+-- limits, and a conditional context in front of a type that breaks.
+module Loom.Conditionals
+  ( decimal,
+    step,
+    anyDigit,
+    report,
+    runFrame,
+    MonadTrans,
+    ApplyTyCon,
+  )
+where
+
+import Control.Monad.ST (ST, runST)
+import Terminal.Buffer (Buffer, freeze, shrink)
+#if defined(ASSERTS)
+import GHC.Stack (HasCallStack)
+#endif
+
+decimal :: Int -> String -> Int
+decimal acc input = case input of
+  [] -> acc
+  w : rest -> case w of
+#if MIN_VERSION_base(4,16,0)
+    c
+      | isDigitCharacter c,
+        notTooLarge acc -> case multiplyTheAccumulatorByTenSafely
+          acc
+          (digitValueOf c) of
+          Just next -> decimal next rest
+#else
+    c
+      | isDigit c,
+        notTooLarge acc -> case multiplyByTen
+          acc
+          (digitToInt c) of
+          Just next -> decimal next rest
+#endif
+          Nothing -> acc
+
+step :: Int -> Char -> Int
+step acc c
+#if MIN_VERSION_base(4,16,0)
+  | isDigitCharacter c,
+    notTooLarge acc = case multiplyTheAccumulatorByTenSafely
+      acc
+      (digitValueOf c) of
+      Just next -> next
+#else
+  | isDigit c,
+    notTooLarge acc = case multiplyByTen acc (digitToInt c) of
+      Just next -> next
+#endif
+      Nothing -> acc
+  | otherwise = acc
+
+anyDigit :: Word# -> Addr# -> Result
+anyDigit acc s = case indexWord8OffAddr# s 0# of
+#if MIN_VERSION_base(4,16,0)
+  w
+    | 1# <- leWord8# (wordToWord8# 0x30##) w,
+      1# <- leWord8# w (wordToWord8# 0x39##) -> case timesWord2#
+        acc
+        10## of
+#else
+  w
+    | 1# <- leWord# 0x30## w,
+      1# <- leWord# w 0x39## -> case timesWord2# acc 10## of
+#endif
+        (# 0##, r #) -> OK r
+        _ -> Overflow
+  _ -> Fail
+
+report :: Handle -> Status -> IO ()
+report h status
+#ifdef mingw32_HOST_OS
+  | isFailure status = do
+      hPutStrLn h "failed"
+#else
+  | isFailure status,
+    colour = do
+      hPutStrLn h "\ESC[31mfailed\ESC[0m"
+#endif
+      hFlush h
+  | otherwise = pure ()
+
+runFrame ::
+#if defined(ASSERTS)
+  HasCallStack =>
+#endif
+  ( forall s.
+    (Buffer s -> Int -> ST s Buffer) -> ST s Buffer
+  ) ->
+  Buffer
+runFrame act =
+  runST
+    ( act
+        ( \buffer used ->
+            shrink buffer used >> freeze buffer
+        )
+    )
+
+class
+#if __GLASGOW_HASKELL__ >= 806
+  (forall m. Monad m => Monad (t m)) => MonadTrans t where
+#else
+  MonadTrans t where
+#endif
+  lift :: Monad m => m a -> t m a
+
+type family
+#if __GLASGOW_HASKELL__ >= 910
+  ApplyTyCon @k1 @k2 @unmatchable_fun ::
+    (k1 -> k2) -> (k1 ~> unmatchable_fun)
+#else
+  ApplyTyCon :: (k1 -> k2) -> (k1 ~> unmatchable_fun)
+#endif
+  where
+  ApplyTyCon = ApplyTyConAux1
diff --git a/corpora/column-limit/conditionals.hs b/corpora/column-limit/conditionals.hs
new file mode 100644
--- /dev/null
+++ b/corpora/column-limit/conditionals.hs
@@ -0,0 +1,102 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE MagicHash #-}
+{-# LANGUAGE QuantifiedConstraints #-}
+{-# LANGUAGE RankNTypes #-}
+{-# LANGUAGE TypeAbstractions #-}
+{-# LANGUAGE TypeFamilies #-}
+{-# LANGUAGE TypeOperators #-}
+{-# LANGUAGE UnboxedTuples #-}
+
+-- Conditionals each of whose branches writes a head that breaks at lower
+-- limits, and a conditional context in front of a type that breaks.
+module Loom.Conditionals
+  (decimal, step, anyDigit, report, runFrame, MonadTrans, ApplyTyCon)
+where
+
+import Control.Monad.ST (ST, runST)
+import Terminal.Buffer (Buffer, freeze, shrink)
+
+#if defined(ASSERTS)
+import GHC.Stack (HasCallStack)
+#endif
+
+decimal :: Int -> String -> Int
+decimal acc input = case input of
+  [] -> acc
+  w : rest -> case w of
+#if MIN_VERSION_base(4,16,0)
+    c | isDigitCharacter c
+      , notTooLarge acc
+      -> case multiplyTheAccumulatorByTenSafely acc (digitValueOf c) of
+          Just next -> decimal next rest
+#else
+    c | isDigit c
+      , notTooLarge acc
+      -> case multiplyByTen acc (digitToInt c) of
+          Just next -> decimal next rest
+#endif
+          Nothing -> acc
+
+step :: Int -> Char -> Int
+step acc c
+#if MIN_VERSION_base(4,16,0)
+  | isDigitCharacter c
+  , notTooLarge acc = case multiplyTheAccumulatorByTenSafely acc (digitValueOf c) of
+      Just next -> next
+#else
+  | isDigit c
+  , notTooLarge acc = case multiplyByTen acc (digitToInt c) of
+      Just next -> next
+#endif
+      Nothing -> acc
+  | otherwise = acc
+
+anyDigit :: Word# -> Addr# -> Result
+anyDigit acc s = case indexWord8OffAddr# s 0# of
+#if MIN_VERSION_base(4,16,0)
+    w | 1# <- leWord8# (wordToWord8# 0x30##) w
+      , 1# <- leWord8# w (wordToWord8# 0x39##)
+      -> case timesWord2# acc 10## of
+#else
+    w | 1# <- leWord# 0x30## w
+      , 1# <- leWord# w 0x39##
+      -> case timesWord2# acc 10## of
+#endif
+          (# 0##, r #) -> OK r
+          _ -> Overflow
+    _ -> Fail
+
+report :: Handle -> Status -> IO ()
+report h status
+#ifdef mingw32_HOST_OS
+  | isFailure status
+  = do
+      hPutStrLn h "failed"
+#else
+  | isFailure status, colour
+  = do
+      hPutStrLn h "\ESC[31mfailed\ESC[0m"
+#endif
+      hFlush h
+  | otherwise = pure ()
+
+runFrame ::
+#if defined(ASSERTS)
+  (HasCallStack) =>
+#endif
+  (forall s. (Buffer s -> Int -> ST s Buffer) -> ST s Buffer) -> Buffer
+runFrame act  =  runST (act (\buffer used -> shrink buffer used >> freeze buffer))
+
+#if __GLASGOW_HASKELL__ >= 806
+class (forall m. Monad m => Monad (t m)) => MonadTrans t where
+#else
+class MonadTrans t where
+#endif
+  lift :: (Monad m) => m a -> t m a
+
+#if __GLASGOW_HASKELL__ >= 910
+type family ApplyTyCon @k1 @k2 @unmatchable_fun :: (k1 -> k2) -> (k1 ~> unmatchable_fun) where
+#else
+type family ApplyTyCon :: (k1 -> k2) -> (k1 ~> unmatchable_fun) where
+#endif
+  ApplyTyCon = ApplyTyConAux1
diff --git a/corpora/column-limit/declarations-out'-100.hs b/corpora/column-limit/declarations-out'-100.hs
new file mode 100644
--- /dev/null
+++ b/corpora/column-limit/declarations-out'-100.hs
@@ -0,0 +1,44 @@
+-- Declarations of every kind that breaks, each written on one line, between
+-- 90 and 120 columns wide.
+module Loom.Declarations where
+
+import Data.Map.Strict
+    ( Map
+    , adjust
+    , alter
+    , delete
+    , empty
+    , findWithDefault
+    , fromList
+    , insert
+    , toList
+    )
+
+data Fibre
+    = Cotton
+    | Wool
+    | Silk
+    | Linen
+    | Hemp
+    | Jute
+    | Ramie
+    | Bamboo
+    | Alpaca
+    | Mohair
+    | Cashmere
+
+data Loom = Loom{loomName :: String, loomWarp :: [Thread], loomWeft :: [Thread], loomTension :: Int}
+
+class (Ord thread, Show thread, Hashable thread, Monoid (Spool thread)) => Threadable thread where
+    spin :: thread -> Spool thread
+
+instance (Ord thread, Show thread, Hashable thread) => Threadable (Warp thread Cotton) where
+    spin = spinWarp
+
+weave :: (Ord thread, Show colour) => Map thread colour -> thread -> colour -> Either String Int
+weave = undefined
+
+tension, shuttleCount, spoolLength, beamWidth, beamDepth, warpCount, weftCount :: Loom -> Int
+
+shade colour | isDyed colour && saturationOf colour > threshold && lightnessOf colour < 50 = Dark
+shade colour = Light
diff --git a/corpora/column-limit/declarations-out'-120.hs b/corpora/column-limit/declarations-out'-120.hs
new file mode 100644
--- /dev/null
+++ b/corpora/column-limit/declarations-out'-120.hs
@@ -0,0 +1,23 @@
+-- Declarations of every kind that breaks, each written on one line, between
+-- 90 and 120 columns wide.
+module Loom.Declarations where
+
+import Data.Map.Strict (Map, adjust, alter, delete, empty, findWithDefault, fromList, insert, toList)
+
+data Fibre = Cotton | Wool | Silk | Linen | Hemp | Jute | Ramie | Bamboo | Alpaca | Mohair | Cashmere
+
+data Loom = Loom{loomName :: String, loomWarp :: [Thread], loomWeft :: [Thread], loomTension :: Int}
+
+class (Ord thread, Show thread, Hashable thread, Monoid (Spool thread)) => Threadable thread where
+    spin :: thread -> Spool thread
+
+instance (Ord thread, Show thread, Hashable thread) => Threadable (Warp thread Cotton) where
+    spin = spinWarp
+
+weave :: (Ord thread, Show colour) => Map thread colour -> thread -> colour -> Either String Int
+weave = undefined
+
+tension, shuttleCount, spoolLength, beamWidth, beamDepth, warpCount, weftCount :: Loom -> Int
+
+shade colour | isDyed colour && saturationOf colour > threshold && lightnessOf colour < 50 = Dark
+shade colour = Light
diff --git a/corpora/column-limit/declarations-out'-40.hs b/corpora/column-limit/declarations-out'-40.hs
new file mode 100644
--- /dev/null
+++ b/corpora/column-limit/declarations-out'-40.hs
@@ -0,0 +1,78 @@
+-- Declarations of every kind that breaks, each written on one line, between
+-- 90 and 120 columns wide.
+module Loom.Declarations where
+
+import Data.Map.Strict
+    ( Map
+    , adjust
+    , alter
+    , delete
+    , empty
+    , findWithDefault
+    , fromList
+    , insert
+    , toList
+    )
+
+data Fibre
+    = Cotton
+    | Wool
+    | Silk
+    | Linen
+    | Hemp
+    | Jute
+    | Ramie
+    | Bamboo
+    | Alpaca
+    | Mohair
+    | Cashmere
+
+data Loom = Loom
+    { loomName :: String
+    , loomWarp :: [Thread]
+    , loomWeft :: [Thread]
+    , loomTension :: Int
+    }
+
+class
+    ( Ord thread
+    , Show thread
+    , Hashable thread
+    , Monoid (Spool thread)
+    )
+    => Threadable thread
+    where
+    spin :: thread -> Spool thread
+
+instance
+    ( Ord thread
+    , Show thread
+    , Hashable thread
+    )
+    => Threadable (Warp thread Cotton)
+    where
+    spin = spinWarp
+
+weave
+    :: (Ord thread, Show colour)
+    => Map thread colour
+    -> thread
+    -> colour
+    -> Either String Int
+weave = undefined
+
+tension
+    , shuttleCount
+    , spoolLength
+    , beamWidth
+    , beamDepth
+    , warpCount
+    , weftCount :: Loom -> Int
+
+shade colour
+    | isDyed colour
+        && saturationOf colour
+            > threshold
+        && lightnessOf colour < 50 =
+        Dark
+shade colour = Light
diff --git a/corpora/column-limit/declarations-out'-60.hs b/corpora/column-limit/declarations-out'-60.hs
new file mode 100644
--- /dev/null
+++ b/corpora/column-limit/declarations-out'-60.hs
@@ -0,0 +1,74 @@
+-- Declarations of every kind that breaks, each written on one line, between
+-- 90 and 120 columns wide.
+module Loom.Declarations where
+
+import Data.Map.Strict
+    ( Map
+    , adjust
+    , alter
+    , delete
+    , empty
+    , findWithDefault
+    , fromList
+    , insert
+    , toList
+    )
+
+data Fibre
+    = Cotton
+    | Wool
+    | Silk
+    | Linen
+    | Hemp
+    | Jute
+    | Ramie
+    | Bamboo
+    | Alpaca
+    | Mohair
+    | Cashmere
+
+data Loom = Loom
+    { loomName :: String
+    , loomWarp :: [Thread]
+    , loomWeft :: [Thread]
+    , loomTension :: Int
+    }
+
+class
+    ( Ord thread
+    , Show thread
+    , Hashable thread
+    , Monoid (Spool thread)
+    )
+    => Threadable thread
+    where
+    spin :: thread -> Spool thread
+
+instance
+    (Ord thread, Show thread, Hashable thread)
+    => Threadable (Warp thread Cotton)
+    where
+    spin = spinWarp
+
+weave
+    :: (Ord thread, Show colour)
+    => Map thread colour
+    -> thread
+    -> colour
+    -> Either String Int
+weave = undefined
+
+tension
+    , shuttleCount
+    , spoolLength
+    , beamWidth
+    , beamDepth
+    , warpCount
+    , weftCount :: Loom -> Int
+
+shade colour
+    | isDyed colour
+        && saturationOf colour > threshold
+        && lightnessOf colour < 50 =
+        Dark
+shade colour = Light
diff --git a/corpora/column-limit/declarations-out-100.hs b/corpora/column-limit/declarations-out-100.hs
new file mode 100644
--- /dev/null
+++ b/corpora/column-limit/declarations-out-100.hs
@@ -0,0 +1,44 @@
+-- Declarations of every kind that breaks, each written on one line, between
+-- 90 and 120 columns wide.
+module Loom.Declarations where
+
+import Data.Map.Strict
+  ( Map,
+    adjust,
+    alter,
+    delete,
+    empty,
+    findWithDefault,
+    fromList,
+    insert,
+    toList,
+  )
+
+data Fibre
+  = Cotton
+  | Wool
+  | Silk
+  | Linen
+  | Hemp
+  | Jute
+  | Ramie
+  | Bamboo
+  | Alpaca
+  | Mohair
+  | Cashmere
+
+data Loom = Loom{loomName :: String, loomWarp :: [Thread], loomWeft :: [Thread], loomTension :: Int}
+
+class (Ord thread, Show thread, Hashable thread, Monoid (Spool thread)) => Threadable thread where
+  spin :: thread -> Spool thread
+
+instance (Ord thread, Show thread, Hashable thread) => Threadable (Warp thread Cotton) where
+  spin = spinWarp
+
+weave :: (Ord thread, Show colour) => Map thread colour -> thread -> colour -> Either String Int
+weave = undefined
+
+tension, shuttleCount, spoolLength, beamWidth, beamDepth, warpCount, weftCount :: Loom -> Int
+
+shade colour | isDyed colour && saturationOf colour > threshold && lightnessOf colour < 50 = Dark
+shade colour = Light
diff --git a/corpora/column-limit/declarations-out-120.hs b/corpora/column-limit/declarations-out-120.hs
new file mode 100644
--- /dev/null
+++ b/corpora/column-limit/declarations-out-120.hs
@@ -0,0 +1,23 @@
+-- Declarations of every kind that breaks, each written on one line, between
+-- 90 and 120 columns wide.
+module Loom.Declarations where
+
+import Data.Map.Strict (Map, adjust, alter, delete, empty, findWithDefault, fromList, insert, toList)
+
+data Fibre = Cotton | Wool | Silk | Linen | Hemp | Jute | Ramie | Bamboo | Alpaca | Mohair | Cashmere
+
+data Loom = Loom{loomName :: String, loomWarp :: [Thread], loomWeft :: [Thread], loomTension :: Int}
+
+class (Ord thread, Show thread, Hashable thread, Monoid (Spool thread)) => Threadable thread where
+  spin :: thread -> Spool thread
+
+instance (Ord thread, Show thread, Hashable thread) => Threadable (Warp thread Cotton) where
+  spin = spinWarp
+
+weave :: (Ord thread, Show colour) => Map thread colour -> thread -> colour -> Either String Int
+weave = undefined
+
+tension, shuttleCount, spoolLength, beamWidth, beamDepth, warpCount, weftCount :: Loom -> Int
+
+shade colour | isDyed colour && saturationOf colour > threshold && lightnessOf colour < 50 = Dark
+shade colour = Light
diff --git a/corpora/column-limit/declarations-out-40.hs b/corpora/column-limit/declarations-out-40.hs
new file mode 100644
--- /dev/null
+++ b/corpora/column-limit/declarations-out-40.hs
@@ -0,0 +1,77 @@
+-- Declarations of every kind that breaks, each written on one line, between
+-- 90 and 120 columns wide.
+module Loom.Declarations where
+
+import Data.Map.Strict
+  ( Map,
+    adjust,
+    alter,
+    delete,
+    empty,
+    findWithDefault,
+    fromList,
+    insert,
+    toList,
+  )
+
+data Fibre
+  = Cotton
+  | Wool
+  | Silk
+  | Linen
+  | Hemp
+  | Jute
+  | Ramie
+  | Bamboo
+  | Alpaca
+  | Mohair
+  | Cashmere
+
+data Loom = Loom
+  { loomName :: String,
+    loomWarp :: [Thread],
+    loomWeft :: [Thread],
+    loomTension :: Int
+  }
+
+class
+  ( Ord thread,
+    Show thread,
+    Hashable thread,
+    Monoid (Spool thread)
+  ) =>
+  Threadable thread
+  where
+  spin :: thread -> Spool thread
+
+instance
+  ( Ord thread,
+    Show thread,
+    Hashable thread
+  ) =>
+  Threadable (Warp thread Cotton)
+  where
+  spin = spinWarp
+
+weave ::
+  (Ord thread, Show colour) =>
+  Map thread colour ->
+  thread ->
+  colour ->
+  Either String Int
+weave = undefined
+
+tension,
+  shuttleCount,
+  spoolLength,
+  beamWidth,
+  beamDepth,
+  warpCount,
+  weftCount :: Loom -> Int
+
+shade colour
+  | isDyed colour
+      && saturationOf colour > threshold
+      && lightnessOf colour < 50 =
+      Dark
+shade colour = Light
diff --git a/corpora/column-limit/declarations-out-60.hs b/corpora/column-limit/declarations-out-60.hs
new file mode 100644
--- /dev/null
+++ b/corpora/column-limit/declarations-out-60.hs
@@ -0,0 +1,71 @@
+-- Declarations of every kind that breaks, each written on one line, between
+-- 90 and 120 columns wide.
+module Loom.Declarations where
+
+import Data.Map.Strict
+  ( Map,
+    adjust,
+    alter,
+    delete,
+    empty,
+    findWithDefault,
+    fromList,
+    insert,
+    toList,
+  )
+
+data Fibre
+  = Cotton
+  | Wool
+  | Silk
+  | Linen
+  | Hemp
+  | Jute
+  | Ramie
+  | Bamboo
+  | Alpaca
+  | Mohair
+  | Cashmere
+
+data Loom = Loom
+  { loomName :: String,
+    loomWarp :: [Thread],
+    loomWeft :: [Thread],
+    loomTension :: Int
+  }
+
+class
+  ( Ord thread,
+    Show thread,
+    Hashable thread,
+    Monoid (Spool thread)
+  ) =>
+  Threadable thread
+  where
+  spin :: thread -> Spool thread
+
+instance
+  (Ord thread, Show thread, Hashable thread) =>
+  Threadable (Warp thread Cotton)
+  where
+  spin = spinWarp
+
+weave ::
+  (Ord thread, Show colour) =>
+  Map thread colour -> thread -> colour -> Either String Int
+weave = undefined
+
+tension,
+  shuttleCount,
+  spoolLength,
+  beamWidth,
+  beamDepth,
+  warpCount,
+  weftCount :: Loom -> Int
+
+shade colour
+  | isDyed colour
+      && saturationOf colour > threshold
+      && lightnessOf colour < 50 =
+      Dark
+shade colour = Light
diff --git a/corpora/column-limit/declarations.hs b/corpora/column-limit/declarations.hs
new file mode 100644
--- /dev/null
+++ b/corpora/column-limit/declarations.hs
@@ -0,0 +1,23 @@
+-- Declarations of every kind that breaks, each written on one line, between
+-- 90 and 120 columns wide.
+module Loom.Declarations where
+
+import Data.Map.Strict (Map, adjust, alter, delete, empty, findWithDefault, fromList, insert, toList)
+
+data Fibre = Cotton | Wool | Silk | Linen | Hemp | Jute | Ramie | Bamboo | Alpaca | Mohair | Cashmere
+
+data Loom = Loom {loomName :: String, loomWarp :: [Thread], loomWeft :: [Thread], loomTension :: Int}
+
+class (Ord thread, Show thread, Hashable thread, Monoid (Spool thread)) => Threadable thread where
+  spin :: thread -> Spool thread
+
+instance (Ord thread, Show thread, Hashable thread) => Threadable (Warp thread Cotton) where
+  spin = spinWarp
+
+weave :: (Ord thread, Show colour) => Map thread colour -> thread -> colour -> Either String Int
+weave = undefined
+
+tension, shuttleCount, spoolLength, beamWidth, beamDepth, warpCount, weftCount :: Loom -> Int
+
+shade colour | isDyed colour && saturationOf colour > threshold && lightnessOf colour < 50 = Dark
+shade colour = Light
diff --git a/corpora/column-limit/expressions-out'-100.hs b/corpora/column-limit/expressions-out'-100.hs
new file mode 100644
--- /dev/null
+++ b/corpora/column-limit/expressions-out'-100.hs
@@ -0,0 +1,35 @@
+-- Expressions of every kind that breaks, each written on one line, between
+-- 90 and 120 columns wide.
+module Loom.Expressions where
+
+weave threads thread colour =
+    summarise (findWithDefault colour thread threads) (count threads) (tension threads)
+
+looms = [Loom "warp" 120 Cotton, Loom "weft" 80 Wool, Loom "tapestry" 200 Silk, Loom "rug" 90 Jute]
+
+counts = (countWarp defaultLoom, countWeft defaultLoom, countSelvedge defaultLoom, shuttleCount)
+
+defaultLoom =
+    Loom{loomName = "workshop", loomWarp = [], loomWeft = [], loomTension = 3, loomWidth = 120}
+
+restrung loom =
+    loom{loomWeft = respool (loomWeft loom) (spoolLength defaultLoom) (twistOf defaultLoom)}
+
+shuttle loom = if loomWidth loom > shuttleReach then throwFromBothSides loom else throwOnce loom
+
+shade colour = case colour of Dyed dye -> saturationOf dye; Bleached -> 0; Plain -> defaultShade
+
+tightened spun =
+    map (adjustTension tension) spun
+        ++ map (adjustTension (tension + 1)) (reverse spun)
+        ++ leftovers
+
+tension loom = let threads = loomWarp loom in sum (map threadTension threads) `div` length threads
+
+rethreader = \loom -> rewind (reverse (loomWarp loom)) (loomTension loom + 3) (spoolsOf defaultLoom)
+
+bobbins threads = do spun <- spinAll threads (twistOf defaultLoom); tighten spun; pure (length spun)
+
+spools looms = [spool | loom <- looms, spool <- loomSpools loom, spoolLength spool > minimumLength]
+
+beam loom = pure $ arrangeOnBeam (reverse (loomWarp loom)) (beamWidth defaultLoom) (beamDepth loom)
diff --git a/corpora/column-limit/expressions-out'-120.hs b/corpora/column-limit/expressions-out'-120.hs
new file mode 100644
--- /dev/null
+++ b/corpora/column-limit/expressions-out'-120.hs
@@ -0,0 +1,29 @@
+-- Expressions of every kind that breaks, each written on one line, between
+-- 90 and 120 columns wide.
+module Loom.Expressions where
+
+weave threads thread colour = summarise (findWithDefault colour thread threads) (count threads) (tension threads)
+
+looms = [Loom "warp" 120 Cotton, Loom "weft" 80 Wool, Loom "tapestry" 200 Silk, Loom "rug" 90 Jute]
+
+counts = (countWarp defaultLoom, countWeft defaultLoom, countSelvedge defaultLoom, shuttleCount)
+
+defaultLoom = Loom{loomName = "workshop", loomWarp = [], loomWeft = [], loomTension = 3, loomWidth = 120}
+
+restrung loom = loom{loomWeft = respool (loomWeft loom) (spoolLength defaultLoom) (twistOf defaultLoom)}
+
+shuttle loom = if loomWidth loom > shuttleReach then throwFromBothSides loom else throwOnce loom
+
+shade colour = case colour of Dyed dye -> saturationOf dye; Bleached -> 0; Plain -> defaultShade
+
+tightened spun = map (adjustTension tension) spun ++ map (adjustTension (tension + 1)) (reverse spun) ++ leftovers
+
+tension loom = let threads = loomWarp loom in sum (map threadTension threads) `div` length threads
+
+rethreader = \loom -> rewind (reverse (loomWarp loom)) (loomTension loom + 3) (spoolsOf defaultLoom)
+
+bobbins threads = do spun <- spinAll threads (twistOf defaultLoom); tighten spun; pure (length spun)
+
+spools looms = [spool | loom <- looms, spool <- loomSpools loom, spoolLength spool > minimumLength]
+
+beam loom = pure $ arrangeOnBeam (reverse (loomWarp loom)) (beamWidth defaultLoom) (beamDepth loom)
diff --git a/corpora/column-limit/expressions-out'-40.hs b/corpora/column-limit/expressions-out'-40.hs
new file mode 100644
--- /dev/null
+++ b/corpora/column-limit/expressions-out'-40.hs
@@ -0,0 +1,99 @@
+-- Expressions of every kind that breaks, each written on one line, between
+-- 90 and 120 columns wide.
+module Loom.Expressions where
+
+weave threads thread colour =
+    summarise
+        ( findWithDefault
+            colour
+            thread
+            threads
+        )
+        (count threads)
+        (tension threads)
+
+looms =
+    [ Loom "warp" 120 Cotton
+    , Loom "weft" 80 Wool
+    , Loom "tapestry" 200 Silk
+    , Loom "rug" 90 Jute
+    ]
+
+counts =
+    ( countWarp defaultLoom
+    , countWeft defaultLoom
+    , countSelvedge defaultLoom
+    , shuttleCount
+    )
+
+defaultLoom =
+    Loom
+        { loomName = "workshop"
+        , loomWarp = []
+        , loomWeft = []
+        , loomTension = 3
+        , loomWidth = 120
+        }
+
+restrung loom =
+    loom
+        { loomWeft =
+            respool
+                (loomWeft loom)
+                ( spoolLength
+                    defaultLoom
+                )
+                (twistOf defaultLoom)
+        }
+
+shuttle loom =
+    if loomWidth loom > shuttleReach
+        then throwFromBothSides loom
+        else throwOnce loom
+
+shade colour = case colour of
+    Dyed dye -> saturationOf dye
+    Bleached -> 0
+    Plain -> defaultShade
+
+tightened spun =
+    map (adjustTension tension) spun
+        ++ map
+            ( adjustTension
+                (tension + 1)
+            )
+            (reverse spun)
+        ++ leftovers
+
+tension loom =
+    let threads = loomWarp loom
+     in sum (map threadTension threads)
+            `div` length threads
+
+rethreader = \loom ->
+    rewind
+        (reverse (loomWarp loom))
+        (loomTension loom + 3)
+        (spoolsOf defaultLoom)
+
+bobbins threads = do
+    spun <-
+        spinAll
+            threads
+            (twistOf defaultLoom)
+    tighten spun
+    pure (length spun)
+
+spools looms =
+    [ spool
+    | loom <- looms
+    , spool <- loomSpools loom
+    , spoolLength spool > minimumLength
+    ]
+
+beam loom =
+    pure $
+        arrangeOnBeam
+            (reverse (loomWarp loom))
+            (beamWidth defaultLoom)
+            (beamDepth loom)
diff --git a/corpora/column-limit/expressions-out'-60.hs b/corpora/column-limit/expressions-out'-60.hs
new file mode 100644
--- /dev/null
+++ b/corpora/column-limit/expressions-out'-60.hs
@@ -0,0 +1,85 @@
+-- Expressions of every kind that breaks, each written on one line, between
+-- 90 and 120 columns wide.
+module Loom.Expressions where
+
+weave threads thread colour =
+    summarise
+        (findWithDefault colour thread threads)
+        (count threads)
+        (tension threads)
+
+looms =
+    [ Loom "warp" 120 Cotton
+    , Loom "weft" 80 Wool
+    , Loom "tapestry" 200 Silk
+    , Loom "rug" 90 Jute
+    ]
+
+counts =
+    ( countWarp defaultLoom
+    , countWeft defaultLoom
+    , countSelvedge defaultLoom
+    , shuttleCount
+    )
+
+defaultLoom =
+    Loom
+        { loomName = "workshop"
+        , loomWarp = []
+        , loomWeft = []
+        , loomTension = 3
+        , loomWidth = 120
+        }
+
+restrung loom =
+    loom
+        { loomWeft =
+            respool
+                (loomWeft loom)
+                (spoolLength defaultLoom)
+                (twistOf defaultLoom)
+        }
+
+shuttle loom =
+    if loomWidth loom > shuttleReach
+        then throwFromBothSides loom
+        else throwOnce loom
+
+shade colour = case colour of
+    Dyed dye -> saturationOf dye
+    Bleached -> 0
+    Plain -> defaultShade
+
+tightened spun =
+    map (adjustTension tension) spun
+        ++ map (adjustTension (tension + 1)) (reverse spun)
+        ++ leftovers
+
+tension loom =
+    let threads = loomWarp loom
+     in sum (map threadTension threads) `div` length threads
+
+rethreader = \loom ->
+    rewind
+        (reverse (loomWarp loom))
+        (loomTension loom + 3)
+        (spoolsOf defaultLoom)
+
+bobbins threads = do
+    spun <- spinAll threads (twistOf defaultLoom)
+    tighten spun
+    pure (length spun)
+
+spools looms =
+    [ spool
+    | loom <- looms
+    , spool <- loomSpools loom
+    , spoolLength spool > minimumLength
+    ]
+
+beam loom =
+    pure $
+        arrangeOnBeam
+            (reverse (loomWarp loom))
+            (beamWidth defaultLoom)
+            (beamDepth loom)
diff --git a/corpora/column-limit/expressions-out-100.hs b/corpora/column-limit/expressions-out-100.hs
new file mode 100644
--- /dev/null
+++ b/corpora/column-limit/expressions-out-100.hs
@@ -0,0 +1,33 @@
+-- Expressions of every kind that breaks, each written on one line, between
+-- 90 and 120 columns wide.
+module Loom.Expressions where
+
+weave threads thread colour =
+  summarise (findWithDefault colour thread threads) (count threads) (tension threads)
+
+looms = [Loom "warp" 120 Cotton, Loom "weft" 80 Wool, Loom "tapestry" 200 Silk, Loom "rug" 90 Jute]
+
+counts = (countWarp defaultLoom, countWeft defaultLoom, countSelvedge defaultLoom, shuttleCount)
+
+defaultLoom =
+  Loom{loomName = "workshop", loomWarp = [], loomWeft = [], loomTension = 3, loomWidth = 120}
+
+restrung loom =
+  loom{loomWeft = respool (loomWeft loom) (spoolLength defaultLoom) (twistOf defaultLoom)}
+
+shuttle loom = if loomWidth loom > shuttleReach then throwFromBothSides loom else throwOnce loom
+
+shade colour = case colour of Dyed dye -> saturationOf dye; Bleached -> 0; Plain -> defaultShade
+
+tightened spun =
+  map (adjustTension tension) spun ++ map (adjustTension (tension + 1)) (reverse spun) ++ leftovers
+
+tension loom = let threads = loomWarp loom in sum (map threadTension threads) `div` length threads
+
+rethreader = \loom -> rewind (reverse (loomWarp loom)) (loomTension loom + 3) (spoolsOf defaultLoom)
+
+bobbins threads = do spun <- spinAll threads (twistOf defaultLoom); tighten spun; pure (length spun)
+
+spools looms = [spool | loom <- looms, spool <- loomSpools loom, spoolLength spool > minimumLength]
+
+beam loom = pure $ arrangeOnBeam (reverse (loomWarp loom)) (beamWidth defaultLoom) (beamDepth loom)
diff --git a/corpora/column-limit/expressions-out-120.hs b/corpora/column-limit/expressions-out-120.hs
new file mode 100644
--- /dev/null
+++ b/corpora/column-limit/expressions-out-120.hs
@@ -0,0 +1,29 @@
+-- Expressions of every kind that breaks, each written on one line, between
+-- 90 and 120 columns wide.
+module Loom.Expressions where
+
+weave threads thread colour = summarise (findWithDefault colour thread threads) (count threads) (tension threads)
+
+looms = [Loom "warp" 120 Cotton, Loom "weft" 80 Wool, Loom "tapestry" 200 Silk, Loom "rug" 90 Jute]
+
+counts = (countWarp defaultLoom, countWeft defaultLoom, countSelvedge defaultLoom, shuttleCount)
+
+defaultLoom = Loom{loomName = "workshop", loomWarp = [], loomWeft = [], loomTension = 3, loomWidth = 120}
+
+restrung loom = loom{loomWeft = respool (loomWeft loom) (spoolLength defaultLoom) (twistOf defaultLoom)}
+
+shuttle loom = if loomWidth loom > shuttleReach then throwFromBothSides loom else throwOnce loom
+
+shade colour = case colour of Dyed dye -> saturationOf dye; Bleached -> 0; Plain -> defaultShade
+
+tightened spun = map (adjustTension tension) spun ++ map (adjustTension (tension + 1)) (reverse spun) ++ leftovers
+
+tension loom = let threads = loomWarp loom in sum (map threadTension threads) `div` length threads
+
+rethreader = \loom -> rewind (reverse (loomWarp loom)) (loomTension loom + 3) (spoolsOf defaultLoom)
+
+bobbins threads = do spun <- spinAll threads (twistOf defaultLoom); tighten spun; pure (length spun)
+
+spools looms = [spool | loom <- looms, spool <- loomSpools loom, spoolLength spool > minimumLength]
+
+beam loom = pure $ arrangeOnBeam (reverse (loomWarp loom)) (beamWidth defaultLoom) (beamDepth loom)
diff --git a/corpora/column-limit/expressions-out-40.hs b/corpora/column-limit/expressions-out-40.hs
new file mode 100644
--- /dev/null
+++ b/corpora/column-limit/expressions-out-40.hs
@@ -0,0 +1,95 @@
+-- Expressions of every kind that breaks, each written on one line, between
+-- 90 and 120 columns wide.
+module Loom.Expressions where
+
+weave threads thread colour =
+  summarise
+    ( findWithDefault
+        colour
+        thread
+        threads
+    )
+    (count threads)
+    (tension threads)
+
+looms =
+  [ Loom "warp" 120 Cotton,
+    Loom "weft" 80 Wool,
+    Loom "tapestry" 200 Silk,
+    Loom "rug" 90 Jute
+  ]
+
+counts =
+  ( countWarp defaultLoom,
+    countWeft defaultLoom,
+    countSelvedge defaultLoom,
+    shuttleCount
+  )
+
+defaultLoom =
+  Loom
+    { loomName = "workshop",
+      loomWarp = [],
+      loomWeft = [],
+      loomTension = 3,
+      loomWidth = 120
+    }
+
+restrung loom =
+  loom
+    { loomWeft =
+        respool
+          (loomWeft loom)
+          (spoolLength defaultLoom)
+          (twistOf defaultLoom)
+    }
+
+shuttle loom =
+  if loomWidth loom > shuttleReach
+    then throwFromBothSides loom
+    else throwOnce loom
+
+shade colour = case colour of
+  Dyed dye -> saturationOf dye
+  Bleached -> 0
+  Plain -> defaultShade
+
+tightened spun =
+  map (adjustTension tension) spun
+    ++ map
+      (adjustTension (tension + 1))
+      (reverse spun)
+    ++ leftovers
+
+tension loom =
+  let threads = loomWarp loom
+   in sum (map threadTension threads)
+        `div` length threads
+
+rethreader = \loom ->
+  rewind
+    (reverse (loomWarp loom))
+    (loomTension loom + 3)
+    (spoolsOf defaultLoom)
+
+bobbins threads = do
+  spun <-
+    spinAll
+      threads
+      (twistOf defaultLoom)
+  tighten spun
+  pure (length spun)
+
+spools looms =
+  [ spool
+  | loom <- looms,
+    spool <- loomSpools loom,
+    spoolLength spool > minimumLength
+  ]
+
+beam loom =
+  pure $
+    arrangeOnBeam
+      (reverse (loomWarp loom))
+      (beamWidth defaultLoom)
+      (beamDepth loom)
diff --git a/corpora/column-limit/expressions-out-60.hs b/corpora/column-limit/expressions-out-60.hs
new file mode 100644
--- /dev/null
+++ b/corpora/column-limit/expressions-out-60.hs
@@ -0,0 +1,85 @@
+-- Expressions of every kind that breaks, each written on one line, between
+-- 90 and 120 columns wide.
+module Loom.Expressions where
+
+weave threads thread colour =
+  summarise
+    (findWithDefault colour thread threads)
+    (count threads)
+    (tension threads)
+
+looms =
+  [ Loom "warp" 120 Cotton,
+    Loom "weft" 80 Wool,
+    Loom "tapestry" 200 Silk,
+    Loom "rug" 90 Jute
+  ]
+
+counts =
+  ( countWarp defaultLoom,
+    countWeft defaultLoom,
+    countSelvedge defaultLoom,
+    shuttleCount
+  )
+
+defaultLoom =
+  Loom
+    { loomName = "workshop",
+      loomWarp = [],
+      loomWeft = [],
+      loomTension = 3,
+      loomWidth = 120
+    }
+
+restrung loom =
+  loom
+    { loomWeft =
+        respool
+          (loomWeft loom)
+          (spoolLength defaultLoom)
+          (twistOf defaultLoom)
+    }
+
+shuttle loom =
+  if loomWidth loom > shuttleReach
+    then throwFromBothSides loom
+    else throwOnce loom
+
+shade colour = case colour of
+  Dyed dye -> saturationOf dye
+  Bleached -> 0
+  Plain -> defaultShade
+
+tightened spun =
+  map (adjustTension tension) spun
+    ++ map (adjustTension (tension + 1)) (reverse spun)
+    ++ leftovers
+
+tension loom =
+  let threads = loomWarp loom
+   in sum (map threadTension threads) `div` length threads
+
+rethreader = \loom ->
+  rewind
+    (reverse (loomWarp loom))
+    (loomTension loom + 3)
+    (spoolsOf defaultLoom)
+
+bobbins threads = do
+  spun <- spinAll threads (twistOf defaultLoom)
+  tighten spun
+  pure (length spun)
+
+spools looms =
+  [ spool
+  | loom <- looms,
+    spool <- loomSpools loom,
+    spoolLength spool > minimumLength
+  ]
+
+beam loom =
+  pure $
+    arrangeOnBeam
+      (reverse (loomWarp loom))
+      (beamWidth defaultLoom)
+      (beamDepth loom)
diff --git a/corpora/column-limit/expressions.hs b/corpora/column-limit/expressions.hs
new file mode 100644
--- /dev/null
+++ b/corpora/column-limit/expressions.hs
@@ -0,0 +1,29 @@
+-- Expressions of every kind that breaks, each written on one line, between
+-- 90 and 120 columns wide.
+module Loom.Expressions where
+
+weave threads thread colour = summarise (findWithDefault colour thread threads) (count threads) (tension threads)
+
+looms = [Loom "warp" 120 Cotton, Loom "weft" 80 Wool, Loom "tapestry" 200 Silk, Loom "rug" 90 Jute]
+
+counts = (countWarp defaultLoom, countWeft defaultLoom, countSelvedge defaultLoom, shuttleCount)
+
+defaultLoom = Loom {loomName = "workshop", loomWarp = [], loomWeft = [], loomTension = 3, loomWidth = 120}
+
+restrung loom = loom {loomWeft = respool (loomWeft loom) (spoolLength defaultLoom) (twistOf defaultLoom)}
+
+shuttle loom = if loomWidth loom > shuttleReach then throwFromBothSides loom else throwOnce loom
+
+shade colour = case colour of Dyed dye -> saturationOf dye; Bleached -> 0; Plain -> defaultShade
+
+tightened spun = map (adjustTension tension) spun ++ map (adjustTension (tension + 1)) (reverse spun) ++ leftovers
+
+tension loom = let threads = loomWarp loom in sum (map threadTension threads) `div` length threads
+
+rethreader = \loom -> rewind (reverse (loomWarp loom)) (loomTension loom + 3) (spoolsOf defaultLoom)
+
+bobbins threads = do spun <- spinAll threads (twistOf defaultLoom); tighten spun; pure (length spun)
+
+spools looms = [spool | loom <- looms, spool <- loomSpools loom, spoolLength spool > minimumLength]
+
+beam loom = pure $ arrangeOnBeam (reverse (loomWarp loom)) (beamWidth defaultLoom) (beamDepth loom)
diff --git a/corpora/column-limit/nesting-out'-100.hs b/corpora/column-limit/nesting-out'-100.hs
new file mode 100644
--- /dev/null
+++ b/corpora/column-limit/nesting-out'-100.hs
@@ -0,0 +1,24 @@
+-- Constructs nested in one another, which a narrow column limit breaks
+-- level after level.
+module Loom.Nesting where
+
+woven =
+    weave
+        (selvedge (threadsOf loom) (edgeWidth loom))
+        (twill [warpOf loom, weftOf loom] (Just (tensionOf loom)))
+
+table =
+    [ (warpName loom, [threadColour thread | thread <- loomWarp loom])
+    | loom <- looms
+    , isActive loom
+    ]
+
+report loom = case loomState loom of
+    Idle since -> describeIdle since (loomName loom)
+    Busy job -> describeJob job
+
+settings =
+    Settings
+        { loomSize = (loomWidth defaultLoom, loomDepth defaultLoom)
+        , loomDyes = [Indigo, Madder, Weld]
+        }
diff --git a/corpora/column-limit/nesting-out'-120.hs b/corpora/column-limit/nesting-out'-120.hs
new file mode 100644
--- /dev/null
+++ b/corpora/column-limit/nesting-out'-120.hs
@@ -0,0 +1,11 @@
+-- Constructs nested in one another, which a narrow column limit breaks
+-- level after level.
+module Loom.Nesting where
+
+woven = weave (selvedge (threadsOf loom) (edgeWidth loom)) (twill [warpOf loom, weftOf loom] (Just (tensionOf loom)))
+
+table = [(warpName loom, [threadColour thread | thread <- loomWarp loom]) | loom <- looms, isActive loom]
+
+report loom = case loomState loom of Idle since -> describeIdle since (loomName loom); Busy job -> describeJob job
+
+settings = Settings{loomSize = (loomWidth defaultLoom, loomDepth defaultLoom), loomDyes = [Indigo, Madder, Weld]}
diff --git a/corpora/column-limit/nesting-out'-40.hs b/corpora/column-limit/nesting-out'-40.hs
new file mode 100644
--- /dev/null
+++ b/corpora/column-limit/nesting-out'-40.hs
@@ -0,0 +1,41 @@
+-- Constructs nested in one another, which a narrow column limit breaks
+-- level after level.
+module Loom.Nesting where
+
+woven =
+    weave
+        ( selvedge
+            (threadsOf loom)
+            (edgeWidth loom)
+        )
+        ( twill
+            [warpOf loom, weftOf loom]
+            (Just (tensionOf loom))
+        )
+
+table =
+    [ ( warpName loom
+      , [ threadColour thread
+        | thread <- loomWarp loom
+        ]
+      )
+    | loom <- looms
+    , isActive loom
+    ]
+
+report loom = case loomState loom of
+    Idle since ->
+        describeIdle
+            since
+            (loomName loom)
+    Busy job -> describeJob job
+
+settings =
+    Settings
+        { loomSize =
+            ( loomWidth defaultLoom
+            , loomDepth defaultLoom
+            )
+        , loomDyes =
+            [Indigo, Madder, Weld]
+        }
diff --git a/corpora/column-limit/nesting-out'-60.hs b/corpora/column-limit/nesting-out'-60.hs
new file mode 100644
--- /dev/null
+++ b/corpora/column-limit/nesting-out'-60.hs
@@ -0,0 +1,30 @@
+-- Constructs nested in one another, which a narrow column limit breaks
+-- level after level.
+module Loom.Nesting where
+
+woven =
+    weave
+        (selvedge (threadsOf loom) (edgeWidth loom))
+        ( twill
+            [warpOf loom, weftOf loom]
+            (Just (tensionOf loom))
+        )
+
+table =
+    [ ( warpName loom
+      , [threadColour thread | thread <- loomWarp loom]
+      )
+    | loom <- looms
+    , isActive loom
+    ]
+
+report loom = case loomState loom of
+    Idle since -> describeIdle since (loomName loom)
+    Busy job -> describeJob job
+
+settings =
+    Settings
+        { loomSize =
+            (loomWidth defaultLoom, loomDepth defaultLoom)
+        , loomDyes = [Indigo, Madder, Weld]
+        }
diff --git a/corpora/column-limit/nesting-out-100.hs b/corpora/column-limit/nesting-out-100.hs
new file mode 100644
--- /dev/null
+++ b/corpora/column-limit/nesting-out-100.hs
@@ -0,0 +1,21 @@
+-- Constructs nested in one another, which a narrow column limit breaks
+-- level after level.
+module Loom.Nesting where
+
+woven =
+  weave
+    (selvedge (threadsOf loom) (edgeWidth loom))
+    (twill [warpOf loom, weftOf loom] (Just (tensionOf loom)))
+
+table =
+  [(warpName loom, [threadColour thread | thread <- loomWarp loom]) | loom <- looms, isActive loom]
+
+report loom = case loomState loom of
+  Idle since -> describeIdle since (loomName loom)
+  Busy job -> describeJob job
+
+settings =
+  Settings
+    { loomSize = (loomWidth defaultLoom, loomDepth defaultLoom),
+      loomDyes = [Indigo, Madder, Weld]
+    }
diff --git a/corpora/column-limit/nesting-out-120.hs b/corpora/column-limit/nesting-out-120.hs
new file mode 100644
--- /dev/null
+++ b/corpora/column-limit/nesting-out-120.hs
@@ -0,0 +1,11 @@
+-- Constructs nested in one another, which a narrow column limit breaks
+-- level after level.
+module Loom.Nesting where
+
+woven = weave (selvedge (threadsOf loom) (edgeWidth loom)) (twill [warpOf loom, weftOf loom] (Just (tensionOf loom)))
+
+table = [(warpName loom, [threadColour thread | thread <- loomWarp loom]) | loom <- looms, isActive loom]
+
+report loom = case loomState loom of Idle since -> describeIdle since (loomName loom); Busy job -> describeJob job
+
+settings = Settings{loomSize = (loomWidth defaultLoom, loomDepth defaultLoom), loomDyes = [Indigo, Madder, Weld]}
diff --git a/corpora/column-limit/nesting-out-40.hs b/corpora/column-limit/nesting-out-40.hs
new file mode 100644
--- /dev/null
+++ b/corpora/column-limit/nesting-out-40.hs
@@ -0,0 +1,38 @@
+-- Constructs nested in one another, which a narrow column limit breaks
+-- level after level.
+module Loom.Nesting where
+
+woven =
+  weave
+    ( selvedge
+        (threadsOf loom)
+        (edgeWidth loom)
+    )
+    ( twill
+        [warpOf loom, weftOf loom]
+        (Just (tensionOf loom))
+    )
+
+table =
+  [ ( warpName loom,
+      [ threadColour thread
+      | thread <- loomWarp loom
+      ]
+    )
+  | loom <- looms,
+    isActive loom
+  ]
+
+report loom = case loomState loom of
+  Idle since ->
+    describeIdle since (loomName loom)
+  Busy job -> describeJob job
+
+settings =
+  Settings
+    { loomSize =
+        ( loomWidth defaultLoom,
+          loomDepth defaultLoom
+        ),
+      loomDyes = [Indigo, Madder, Weld]
+    }
diff --git a/corpora/column-limit/nesting-out-60.hs b/corpora/column-limit/nesting-out-60.hs
new file mode 100644
--- /dev/null
+++ b/corpora/column-limit/nesting-out-60.hs
@@ -0,0 +1,30 @@
+-- Constructs nested in one another, which a narrow column limit breaks
+-- level after level.
+module Loom.Nesting where
+
+woven =
+  weave
+    (selvedge (threadsOf loom) (edgeWidth loom))
+    ( twill
+        [warpOf loom, weftOf loom]
+        (Just (tensionOf loom))
+    )
+
+table =
+  [ ( warpName loom,
+      [threadColour thread | thread <- loomWarp loom]
+    )
+  | loom <- looms,
+    isActive loom
+  ]
+
+report loom = case loomState loom of
+  Idle since -> describeIdle since (loomName loom)
+  Busy job -> describeJob job
+
+settings =
+  Settings
+    { loomSize =
+        (loomWidth defaultLoom, loomDepth defaultLoom),
+      loomDyes = [Indigo, Madder, Weld]
+    }
diff --git a/corpora/column-limit/nesting.hs b/corpora/column-limit/nesting.hs
new file mode 100644
--- /dev/null
+++ b/corpora/column-limit/nesting.hs
@@ -0,0 +1,11 @@
+-- Constructs nested in one another, which a narrow column limit breaks
+-- level after level.
+module Loom.Nesting where
+
+woven = weave (selvedge (threadsOf loom) (edgeWidth loom)) (twill [warpOf loom, weftOf loom] (Just (tensionOf loom)))
+
+table = [(warpName loom, [threadColour thread | thread <- loomWarp loom]) | loom <- looms, isActive loom]
+
+report loom = case loomState loom of Idle since -> describeIdle since (loomName loom); Busy job -> describeJob job
+
+settings = Settings {loomSize = (loomWidth defaultLoom, loomDepth defaultLoom), loomDyes = [Indigo, Madder, Weld]}
diff --git a/corpora/column-limit/written-across-lines-out'-100.hs b/corpora/column-limit/written-across-lines-out'-100.hs
new file mode 100644
--- /dev/null
+++ b/corpora/column-limit/written-across-lines-out'-100.hs
@@ -0,0 +1,23 @@
+-- Constructs written across lines, each with one line that only the of, =
+-- or , ending it takes past 100 columns.
+module Loom.Across where
+
+tension loom = case lookupTension (warpBeamOf loom) (clothBeamOf loom) (tensionTableOfTheLoom loom) of
+    Just t -> t
+    Nothing -> defaultTension
+
+beat loom
+    | hasWarp loom
+        && hasWeft loom
+        && tensionOf loom > minimumTension
+        && isReady loom
+        && isWound loom =
+        Beaten
+    | otherwise = Loose
+
+cloth =
+    Cloth
+        { clothThreading =
+            threadingFromShafts (shaftsOf defaultLoom) (warpEndsOf defaultLoom) [1 .. 16]
+        , clothTreadling = []
+        }
diff --git a/corpora/column-limit/written-across-lines-out'-120.hs b/corpora/column-limit/written-across-lines-out'-120.hs
new file mode 100644
--- /dev/null
+++ b/corpora/column-limit/written-across-lines-out'-120.hs
@@ -0,0 +1,18 @@
+-- Constructs written across lines, each with one line that only the of, =
+-- or , ending it takes past 100 columns.
+module Loom.Across where
+
+tension loom = case lookupTension (warpBeamOf loom) (clothBeamOf loom) (tensionTableOfTheLoom loom) of
+    Just t -> t
+    Nothing -> defaultTension
+
+beat loom
+    | hasWarp loom && hasWeft loom && tensionOf loom > minimumTension && isReady loom && isWound loom =
+        Beaten
+    | otherwise = Loose
+
+cloth =
+    Cloth
+        { clothThreading = threadingFromShafts (shaftsOf defaultLoom) (warpEndsOf defaultLoom) [1 .. 16]
+        , clothTreadling = []
+        }
diff --git a/corpora/column-limit/written-across-lines-out'-40.hs b/corpora/column-limit/written-across-lines-out'-40.hs
new file mode 100644
--- /dev/null
+++ b/corpora/column-limit/written-across-lines-out'-40.hs
@@ -0,0 +1,30 @@
+-- Constructs written across lines, each with one line that only the of, =
+-- or , ending it takes past 100 columns.
+module Loom.Across where
+
+tension loom = case lookupTension
+    (warpBeamOf loom)
+    (clothBeamOf loom)
+    (tensionTableOfTheLoom loom) of
+    Just t -> t
+    Nothing -> defaultTension
+
+beat loom
+    | hasWarp loom
+        && hasWeft loom
+        && tensionOf loom
+            > minimumTension
+        && isReady loom
+        && isWound loom =
+        Beaten
+    | otherwise = Loose
+
+cloth =
+    Cloth
+        { clothThreading =
+            threadingFromShafts
+                (shaftsOf defaultLoom)
+                (warpEndsOf defaultLoom)
+                [1 .. 16]
+        , clothTreadling = []
+        }
diff --git a/corpora/column-limit/written-across-lines-out'-60.hs b/corpora/column-limit/written-across-lines-out'-60.hs
new file mode 100644
--- /dev/null
+++ b/corpora/column-limit/written-across-lines-out'-60.hs
@@ -0,0 +1,29 @@
+-- Constructs written across lines, each with one line that only the of, =
+-- or , ending it takes past 100 columns.
+module Loom.Across where
+
+tension loom = case lookupTension
+    (warpBeamOf loom)
+    (clothBeamOf loom)
+    (tensionTableOfTheLoom loom) of
+    Just t -> t
+    Nothing -> defaultTension
+
+beat loom
+    | hasWarp loom
+        && hasWeft loom
+        && tensionOf loom > minimumTension
+        && isReady loom
+        && isWound loom =
+        Beaten
+    | otherwise = Loose
+
+cloth =
+    Cloth
+        { clothThreading =
+            threadingFromShafts
+                (shaftsOf defaultLoom)
+                (warpEndsOf defaultLoom)
+                [1 .. 16]
+        , clothTreadling = []
+        }
diff --git a/corpora/column-limit/written-across-lines-out-100.hs b/corpora/column-limit/written-across-lines-out-100.hs
new file mode 100644
--- /dev/null
+++ b/corpora/column-limit/written-across-lines-out-100.hs
@@ -0,0 +1,18 @@
+-- Constructs written across lines, each with one line that only the of, =
+-- or , ending it takes past 100 columns.
+module Loom.Across where
+
+tension loom = case lookupTension (warpBeamOf loom) (clothBeamOf loom) (tensionTableOfTheLoom loom) of
+  Just t -> t
+  Nothing -> defaultTension
+
+beat loom
+  | hasWarp loom && hasWeft loom && tensionOf loom > minimumTension && isReady loom && isWound loom =
+      Beaten
+  | otherwise = Loose
+
+cloth =
+  Cloth
+    { clothThreading = threadingFromShafts (shaftsOf defaultLoom) (warpEndsOf defaultLoom) [1 .. 16],
+      clothTreadling = []
+    }
diff --git a/corpora/column-limit/written-across-lines-out-120.hs b/corpora/column-limit/written-across-lines-out-120.hs
new file mode 100644
--- /dev/null
+++ b/corpora/column-limit/written-across-lines-out-120.hs
@@ -0,0 +1,18 @@
+-- Constructs written across lines, each with one line that only the of, =
+-- or , ending it takes past 100 columns.
+module Loom.Across where
+
+tension loom = case lookupTension (warpBeamOf loom) (clothBeamOf loom) (tensionTableOfTheLoom loom) of
+  Just t -> t
+  Nothing -> defaultTension
+
+beat loom
+  | hasWarp loom && hasWeft loom && tensionOf loom > minimumTension && isReady loom && isWound loom =
+      Beaten
+  | otherwise = Loose
+
+cloth =
+  Cloth
+    { clothThreading = threadingFromShafts (shaftsOf defaultLoom) (warpEndsOf defaultLoom) [1 .. 16],
+      clothTreadling = []
+    }
diff --git a/corpora/column-limit/written-across-lines-out-40.hs b/corpora/column-limit/written-across-lines-out-40.hs
new file mode 100644
--- /dev/null
+++ b/corpora/column-limit/written-across-lines-out-40.hs
@@ -0,0 +1,29 @@
+-- Constructs written across lines, each with one line that only the of, =
+-- or , ending it takes past 100 columns.
+module Loom.Across where
+
+tension loom = case lookupTension
+  (warpBeamOf loom)
+  (clothBeamOf loom)
+  (tensionTableOfTheLoom loom) of
+  Just t -> t
+  Nothing -> defaultTension
+
+beat loom
+  | hasWarp loom
+      && hasWeft loom
+      && tensionOf loom > minimumTension
+      && isReady loom
+      && isWound loom =
+      Beaten
+  | otherwise = Loose
+
+cloth =
+  Cloth
+    { clothThreading =
+        threadingFromShafts
+          (shaftsOf defaultLoom)
+          (warpEndsOf defaultLoom)
+          [1 .. 16],
+      clothTreadling = []
+    }
diff --git a/corpora/column-limit/written-across-lines-out-60.hs b/corpora/column-limit/written-across-lines-out-60.hs
new file mode 100644
--- /dev/null
+++ b/corpora/column-limit/written-across-lines-out-60.hs
@@ -0,0 +1,29 @@
+-- Constructs written across lines, each with one line that only the of, =
+-- or , ending it takes past 100 columns.
+module Loom.Across where
+
+tension loom = case lookupTension
+  (warpBeamOf loom)
+  (clothBeamOf loom)
+  (tensionTableOfTheLoom loom) of
+  Just t -> t
+  Nothing -> defaultTension
+
+beat loom
+  | hasWarp loom
+      && hasWeft loom
+      && tensionOf loom > minimumTension
+      && isReady loom
+      && isWound loom =
+      Beaten
+  | otherwise = Loose
+
+cloth =
+  Cloth
+    { clothThreading =
+        threadingFromShafts
+          (shaftsOf defaultLoom)
+          (warpEndsOf defaultLoom)
+          [1 .. 16],
+      clothTreadling = []
+    }
diff --git a/corpora/column-limit/written-across-lines.hs b/corpora/column-limit/written-across-lines.hs
new file mode 100644
--- /dev/null
+++ b/corpora/column-limit/written-across-lines.hs
@@ -0,0 +1,18 @@
+-- Constructs written across lines, each with one line that only the of, =
+-- or , ending it takes past 100 columns.
+module Loom.Across where
+
+tension loom = case lookupTension (warpBeamOf loom) (clothBeamOf loom) (tensionTableOfTheLoom loom) of
+  Just t -> t
+  Nothing -> defaultTension
+
+beat loom
+  | hasWarp loom && hasWeft loom && tensionOf loom > minimumTension && isReady loom && isWound loom =
+      Beaten
+  | otherwise = Loose
+
+cloth =
+  Cloth
+    { clothThreading = threadingFromShafts (shaftsOf defaultLoom) (warpEndsOf defaultLoom) [1 .. 16],
+      clothTreadling = []
+    }
diff --git a/corpora/hackage/hackage.manifest b/corpora/hackage/hackage.manifest
--- a/corpora/hackage/hackage.manifest
+++ b/corpora/hackage/hackage.manifest
@@ -1,5281 +1,5386 @@
 # What each example of this corpus does today, one line each.
-# Generated: run the test suite with TILIA_CORPUS_ACCEPT=1.
-# See Tilia.Corpus.Manifest for what the outcomes mean, and the
-# matching .report for why each example that is not `formatted` is
-# not.
-
-formatted       8deb10445c00  Agda-2.8.0/src/agda-mode/Main.hs
-formatted       a2e019984c92  Agda-2.8.0/src/data/MAlonzo/src/MAlonzo/RTE.hs
-formatted       4e3f28ed5e54  Agda-2.8.0/src/data/MAlonzo/src/MAlonzo/RTE/Float.hs
-formatted       124cef969fcd  Agda-2.8.0/src/full/Agda/Benchmarking.hs
-formatted       75d05e127240  Agda-2.8.0/src/full/Agda/Compiler/Backend.hs
-formatted       98789e7a7f39  Agda-2.8.0/src/full/Agda/Compiler/Backend/Base.hs
-formatted       b8be5cf3b8d8  Agda-2.8.0/src/full/Agda/Compiler/Builtin.hs
-formatted       ef45f44548b6  Agda-2.8.0/src/full/Agda/Compiler/CallCompiler.hs
-formatted       bd5e60f6485f  Agda-2.8.0/src/full/Agda/Compiler/Common.hs
-formatted       208bfb85e2b8  Agda-2.8.0/src/full/Agda/Compiler/JS/Compiler.hs
-formatted       778777e97e31  Agda-2.8.0/src/full/Agda/Compiler/JS/Pretty.hs
-formatted       f3ee347549c0  Agda-2.8.0/src/full/Agda/Compiler/JS/Substitution.hs
-formatted       716643be2984  Agda-2.8.0/src/full/Agda/Compiler/JS/Syntax.hs
-formatted       aa25bd2f6330  Agda-2.8.0/src/full/Agda/Compiler/MAlonzo/Coerce.hs
-formatted       6fd2cae24e11  Agda-2.8.0/src/full/Agda/Compiler/MAlonzo/Compiler.hs
-formatted       a5e37499e9c4  Agda-2.8.0/src/full/Agda/Compiler/MAlonzo/Encode.hs
-formatted       be07bfaffa2e  Agda-2.8.0/src/full/Agda/Compiler/MAlonzo/HaskellTypes.hs
-formatted       aa62f795f1b2  Agda-2.8.0/src/full/Agda/Compiler/MAlonzo/Misc.hs
-formatted       3102bb30026e  Agda-2.8.0/src/full/Agda/Compiler/MAlonzo/Pragmas.hs
-formatted       76490fc3bd40  Agda-2.8.0/src/full/Agda/Compiler/MAlonzo/Pretty.hs
-formatted       92ef6a29a48a  Agda-2.8.0/src/full/Agda/Compiler/MAlonzo/Primitives.hs
-formatted       cd156da2fa25  Agda-2.8.0/src/full/Agda/Compiler/MAlonzo/Strict.hs
-formatted       c378a2b833ad  Agda-2.8.0/src/full/Agda/Compiler/ToTreeless.hs
-formatted       0abe92b8f16f  Agda-2.8.0/src/full/Agda/Compiler/Treeless/AsPatterns.hs
-formatted       1ef5a4fa98a1  Agda-2.8.0/src/full/Agda/Compiler/Treeless/Builtin.hs
-formatted       ce128b9cab5e  Agda-2.8.0/src/full/Agda/Compiler/Treeless/Compare.hs
-formatted       3f7ef773d4c9  Agda-2.8.0/src/full/Agda/Compiler/Treeless/EliminateDefaults.hs
-formatted       33e35d69d40c  Agda-2.8.0/src/full/Agda/Compiler/Treeless/EliminateLiteralPatterns.hs
-formatted       1ef7b3a1de25  Agda-2.8.0/src/full/Agda/Compiler/Treeless/Erase.hs
-formatted       4bf71aa72967  Agda-2.8.0/src/full/Agda/Compiler/Treeless/Erase.hs-boot
-formatted       6cefe9037318  Agda-2.8.0/src/full/Agda/Compiler/Treeless/GuardsToPrims.hs
-formatted       8722e737dadc  Agda-2.8.0/src/full/Agda/Compiler/Treeless/Identity.hs
-formatted       f933510f2058  Agda-2.8.0/src/full/Agda/Compiler/Treeless/NormalizeNames.hs
-formatted       43adb2681389  Agda-2.8.0/src/full/Agda/Compiler/Treeless/Pretty.hs
-formatted       9e9ffec9fb88  Agda-2.8.0/src/full/Agda/Compiler/Treeless/Pretty.hs-boot
-formatted       4795b9a43709  Agda-2.8.0/src/full/Agda/Compiler/Treeless/Simplify.hs
-formatted       80fddf5d858f  Agda-2.8.0/src/full/Agda/Compiler/Treeless/Subst.hs
-formatted       83543a8ec338  Agda-2.8.0/src/full/Agda/Compiler/Treeless/Uncase.hs
-formatted       9bc8388d8beb  Agda-2.8.0/src/full/Agda/Compiler/Treeless/Unused.hs
-formatted       3985ec175c5f  Agda-2.8.0/src/full/Agda/ImpossibleTest.hs
-formatted       4bfae407a40f  Agda-2.8.0/src/full/Agda/Interaction/AgdaTop.hs
-formatted       f35eb355b24e  Agda-2.8.0/src/full/Agda/Interaction/Base.hs
-formatted       aa368d2e3109  Agda-2.8.0/src/full/Agda/Interaction/BasicOps.hs
-formatted       816c519a07e6  Agda-2.8.0/src/full/Agda/Interaction/BuildLibrary.hs
-formatted       eb4048782016  Agda-2.8.0/src/full/Agda/Interaction/Command.hs
-formatted       e4f2d0d2088e  Agda-2.8.0/src/full/Agda/Interaction/CommandLine.hs
-formatted       f2285f3b69f7  Agda-2.8.0/src/full/Agda/Interaction/EmacsCommand.hs
-formatted       555155a56d86  Agda-2.8.0/src/full/Agda/Interaction/EmacsTop.hs
-formatted       05a9823fff57  Agda-2.8.0/src/full/Agda/Interaction/ExitCode.hs
-formatted       e06156bc2afa  Agda-2.8.0/src/full/Agda/Interaction/FindFile.hs
-formatted       3170eb1921b4  Agda-2.8.0/src/full/Agda/Interaction/Highlighting/Common.hs
-formatted       1fb0462a1b45  Agda-2.8.0/src/full/Agda/Interaction/Highlighting/Dot.hs
-formatted       712b081948e2  Agda-2.8.0/src/full/Agda/Interaction/Highlighting/Dot/Backend.hs
-formatted       fffa70657044  Agda-2.8.0/src/full/Agda/Interaction/Highlighting/Dot/Base.hs
-formatted       773365a6b3e4  Agda-2.8.0/src/full/Agda/Interaction/Highlighting/Emacs.hs
-formatted       4f4d736f1b38  Agda-2.8.0/src/full/Agda/Interaction/Highlighting/FromAbstract.hs
-formatted       5731f6a6b8ee  Agda-2.8.0/src/full/Agda/Interaction/Highlighting/Generate.hs
-formatted       8bc140b18e62  Agda-2.8.0/src/full/Agda/Interaction/Highlighting/Generate.hs-boot
-formatted       9a3fde618f2b  Agda-2.8.0/src/full/Agda/Interaction/Highlighting/HTML.hs
-formatted       3838841067f3  Agda-2.8.0/src/full/Agda/Interaction/Highlighting/HTML/Backend.hs
-formatted       b81dd0529773  Agda-2.8.0/src/full/Agda/Interaction/Highlighting/HTML/Base.hs
-formatted       d36037cbeadf  Agda-2.8.0/src/full/Agda/Interaction/Highlighting/JSON.hs
-formatted       b5bb035e43f1  Agda-2.8.0/src/full/Agda/Interaction/Highlighting/LaTeX.hs
-formatted       66192a19e174  Agda-2.8.0/src/full/Agda/Interaction/Highlighting/LaTeX/Backend.hs
-formatted       3a2b726078ee  Agda-2.8.0/src/full/Agda/Interaction/Highlighting/LaTeX/Base.hs
-formatted       a58ba6711ffc  Agda-2.8.0/src/full/Agda/Interaction/Highlighting/Precise.hs
-formatted       c9f5864c0103  Agda-2.8.0/src/full/Agda/Interaction/Highlighting/Range.hs
-formatted       0054edf8b9e6  Agda-2.8.0/src/full/Agda/Interaction/Highlighting/Vim.hs
-formatted       8d662a022f04  Agda-2.8.0/src/full/Agda/Interaction/Imports.hs
-formatted       65e8798f3384  Agda-2.8.0/src/full/Agda/Interaction/Imports.hs-boot
-formatted       5fb45c984979  Agda-2.8.0/src/full/Agda/Interaction/InteractionTop.hs
-formatted       ab70c667f336  Agda-2.8.0/src/full/Agda/Interaction/JSON.hs
-formatted       7b100611f331  Agda-2.8.0/src/full/Agda/Interaction/JSONTop.hs
-formatted       3f98c0496647  Agda-2.8.0/src/full/Agda/Interaction/Library.hs
-formatted       c3133651352b  Agda-2.8.0/src/full/Agda/Interaction/Library/Base.hs
-formatted       485f6f0b6ae7  Agda-2.8.0/src/full/Agda/Interaction/Library/Parse.hs
-formatted       0406dc3c1480  Agda-2.8.0/src/full/Agda/Interaction/MakeCase.hs
-formatted       dccaf3f6ab13  Agda-2.8.0/src/full/Agda/Interaction/Monad.hs
-formatted       c831a742f557  Agda-2.8.0/src/full/Agda/Interaction/Options.hs
-formatted       f6cdf934d690  Agda-2.8.0/src/full/Agda/Interaction/Options/Base.hs
-formatted       4b4c5936e1ee  Agda-2.8.0/src/full/Agda/Interaction/Options/Errors.hs
-formatted       e44ed789f5f9  Agda-2.8.0/src/full/Agda/Interaction/Options/HasOptions.hs
-formatted       434d46226886  Agda-2.8.0/src/full/Agda/Interaction/Options/Help.hs
-formatted       6232bdb1c435  Agda-2.8.0/src/full/Agda/Interaction/Options/Lenses.hs
-formatted       707b648ee12c  Agda-2.8.0/src/full/Agda/Interaction/Options/Types.hs
-formatted       d2262440b729  Agda-2.8.0/src/full/Agda/Interaction/Options/Warnings.hs
-formatted       60c929f054dc  Agda-2.8.0/src/full/Agda/Interaction/Output.hs
-formatted       c31d0076c1f8  Agda-2.8.0/src/full/Agda/Interaction/Response.hs
-formatted       cfbad8bc01b8  Agda-2.8.0/src/full/Agda/Interaction/Response/Base.hs
-formatted       150002ef2df6  Agda-2.8.0/src/full/Agda/Interaction/SearchAbout.hs
-partly-checked  d0ed5f54b1c0  Agda-2.8.0/src/full/Agda/Main.hs
-formatted       af91d1da1775  Agda-2.8.0/src/full/Agda/Mimer/Mimer.hs
-formatted       43b9c484bd7b  Agda-2.8.0/src/full/Agda/Mimer/Options.hs
-formatted       f2a33cd8871c  Agda-2.8.0/src/full/Agda/Syntax/Abstract.hs
-formatted       8d168f823b1f  Agda-2.8.0/src/full/Agda/Syntax/Abstract/Name.hs
-formatted       dd887ede87e8  Agda-2.8.0/src/full/Agda/Syntax/Abstract/Pattern.hs
-formatted       8f9f098701be  Agda-2.8.0/src/full/Agda/Syntax/Abstract/PatternSynonyms.hs
-formatted       3f1f9a03363a  Agda-2.8.0/src/full/Agda/Syntax/Abstract/Pretty.hs
-formatted       965e3c3c1a0e  Agda-2.8.0/src/full/Agda/Syntax/Abstract/UsedNames.hs
-formatted       0153c0e39ee1  Agda-2.8.0/src/full/Agda/Syntax/Abstract/Views.hs
-formatted       854c09aa8868  Agda-2.8.0/src/full/Agda/Syntax/Builtin.hs
-formatted       838765fe3265  Agda-2.8.0/src/full/Agda/Syntax/Common.hs
-formatted       067fd4d97790  Agda-2.8.0/src/full/Agda/Syntax/Common/Aspect.hs
-formatted       24ed1641ef0b  Agda-2.8.0/src/full/Agda/Syntax/Common/KeywordRange.hs
-formatted       6d4e6b605a89  Agda-2.8.0/src/full/Agda/Syntax/Common/Pretty.hs
-formatted       0b01caf3aafb  Agda-2.8.0/src/full/Agda/Syntax/Common/Pretty/ANSI.hs
-formatted       2ede9edea241  Agda-2.8.0/src/full/Agda/Syntax/Concrete.hs
-formatted       cf0c0006689d  Agda-2.8.0/src/full/Agda/Syntax/Concrete/Attribute.hs
-formatted       8a621f4f4558  Agda-2.8.0/src/full/Agda/Syntax/Concrete/Definitions.hs
-formatted       e399ad1f7e1d  Agda-2.8.0/src/full/Agda/Syntax/Concrete/Definitions/Errors.hs
-formatted       c538200bb820  Agda-2.8.0/src/full/Agda/Syntax/Concrete/Definitions/Monad.hs
-formatted       7b8c167c0685  Agda-2.8.0/src/full/Agda/Syntax/Concrete/Definitions/Types.hs
-formatted       961ee2376643  Agda-2.8.0/src/full/Agda/Syntax/Concrete/Fixity.hs
-formatted       d906da5f87a7  Agda-2.8.0/src/full/Agda/Syntax/Concrete/Generic.hs
-formatted       6a2db093db8c  Agda-2.8.0/src/full/Agda/Syntax/Concrete/Glyph.hs
-formatted       485e43824ae2  Agda-2.8.0/src/full/Agda/Syntax/Concrete/Name.hs
-formatted       f59e5588b7f1  Agda-2.8.0/src/full/Agda/Syntax/Concrete/Operators.hs
-formatted       82dd5e1542ef  Agda-2.8.0/src/full/Agda/Syntax/Concrete/Operators/Parser.hs
-formatted       d052bdb98637  Agda-2.8.0/src/full/Agda/Syntax/Concrete/Operators/Parser/Monad.hs
-formatted       a3120d3e7051  Agda-2.8.0/src/full/Agda/Syntax/Concrete/Pattern.hs
-formatted       34a7cccaef81  Agda-2.8.0/src/full/Agda/Syntax/Concrete/Pretty.hs
-formatted       db8fd8405ab1  Agda-2.8.0/src/full/Agda/Syntax/DoNotation.hs
-formatted       0fa4ef8ac984  Agda-2.8.0/src/full/Agda/Syntax/Fixity.hs
-formatted       f53d6a38a8a5  Agda-2.8.0/src/full/Agda/Syntax/IdiomBrackets.hs
-formatted       da4470987e03  Agda-2.8.0/src/full/Agda/Syntax/Info.hs
-formatted       1bb665a03c97  Agda-2.8.0/src/full/Agda/Syntax/Internal.hs
-formatted       30fb29552f53  Agda-2.8.0/src/full/Agda/Syntax/Internal/Blockers.hs
-formatted       0c3da8bec4ce  Agda-2.8.0/src/full/Agda/Syntax/Internal/Defs.hs
-formatted       6e15d2b4f3c4  Agda-2.8.0/src/full/Agda/Syntax/Internal/Elim.hs
-formatted       59acbea17d71  Agda-2.8.0/src/full/Agda/Syntax/Internal/Generic.hs
-formatted       ff9aafebc54f  Agda-2.8.0/src/full/Agda/Syntax/Internal/MetaVars.hs
-formatted       0da6abb2c898  Agda-2.8.0/src/full/Agda/Syntax/Internal/Names.hs
-formatted       70a2a49f93c0  Agda-2.8.0/src/full/Agda/Syntax/Internal/Pattern.hs
-formatted       4f0688215ae9  Agda-2.8.0/src/full/Agda/Syntax/Internal/SanityCheck.hs
-formatted       60dbf2e32cdd  Agda-2.8.0/src/full/Agda/Syntax/Internal/Univ.hs
-formatted       e3342124f921  Agda-2.8.0/src/full/Agda/Syntax/Literal.hs
-formatted       1f5db6f08b8e  Agda-2.8.0/src/full/Agda/Syntax/Notation.hs
-formatted       5441d15e6659  Agda-2.8.0/src/full/Agda/Syntax/Parser.hs
-formatted       38e524b350d0  Agda-2.8.0/src/full/Agda/Syntax/Parser/Alex.hs
-formatted       b58b3e60f482  Agda-2.8.0/src/full/Agda/Syntax/Parser/Comments.hs
-formatted       7fe22339886b  Agda-2.8.0/src/full/Agda/Syntax/Parser/Helpers.hs
-formatted       0131f3ce9187  Agda-2.8.0/src/full/Agda/Syntax/Parser/Layout.hs
-formatted       700549be6fd6  Agda-2.8.0/src/full/Agda/Syntax/Parser/Layout.hs-boot
-formatted       2e1b70194e94  Agda-2.8.0/src/full/Agda/Syntax/Parser/LexActions.hs
-formatted       a5d57cb1b6b9  Agda-2.8.0/src/full/Agda/Syntax/Parser/LexActions.hs-boot
-formatted       cf610e4bbf57  Agda-2.8.0/src/full/Agda/Syntax/Parser/Literate.hs
-formatted       7eb92ce94825  Agda-2.8.0/src/full/Agda/Syntax/Parser/LookAhead.hs
-formatted       dd8c9bc90890  Agda-2.8.0/src/full/Agda/Syntax/Parser/Monad.hs
-formatted       6b041886ce39  Agda-2.8.0/src/full/Agda/Syntax/Parser/StringLiterals.hs
-formatted       d018d2c7e144  Agda-2.8.0/src/full/Agda/Syntax/Parser/Tokens.hs
-formatted       852250f6def7  Agda-2.8.0/src/full/Agda/Syntax/Position.hs
-formatted       d16539c2a462  Agda-2.8.0/src/full/Agda/Syntax/Position.hs-boot
-formatted       b1dd8bfd3111  Agda-2.8.0/src/full/Agda/Syntax/Reflected.hs
-formatted       cddc9daac015  Agda-2.8.0/src/full/Agda/Syntax/Scope/Base.hs
-formatted       6916a745cef4  Agda-2.8.0/src/full/Agda/Syntax/Scope/Flat.hs
-formatted       73b6757a8957  Agda-2.8.0/src/full/Agda/Syntax/Scope/Monad.hs
-formatted       d3a3db0834c5  Agda-2.8.0/src/full/Agda/Syntax/TopLevelModuleName.hs
-formatted       f40939e29708  Agda-2.8.0/src/full/Agda/Syntax/TopLevelModuleName/Boot.hs
-formatted       5f0097e8b8e9  Agda-2.8.0/src/full/Agda/Syntax/Translation/AbstractToConcrete.hs
-formatted       6d2218e4d2e4  Agda-2.8.0/src/full/Agda/Syntax/Translation/ConcreteToAbstract.hs
-formatted       43297193ba42  Agda-2.8.0/src/full/Agda/Syntax/Translation/InternalToAbstract.hs
-formatted       8c2de5355091  Agda-2.8.0/src/full/Agda/Syntax/Translation/ReflectedToAbstract.hs
-formatted       9b8f52d7ab07  Agda-2.8.0/src/full/Agda/Syntax/Treeless.hs
-formatted       4a91d7b905d8  Agda-2.8.0/src/full/Agda/Termination/CallGraph.hs
-formatted       77f2933710d7  Agda-2.8.0/src/full/Agda/Termination/CallMatrix.hs
-formatted       ebc4ce14c917  Agda-2.8.0/src/full/Agda/Termination/CutOff.hs
-formatted       acff803c8b23  Agda-2.8.0/src/full/Agda/Termination/Monad.hs
-formatted       64b40e96a86a  Agda-2.8.0/src/full/Agda/Termination/Order.hs
-formatted       3d6943fd6805  Agda-2.8.0/src/full/Agda/Termination/RecCheck.hs
-formatted       5d2396bcde51  Agda-2.8.0/src/full/Agda/Termination/Semiring.hs
-formatted       3e1e5a066751  Agda-2.8.0/src/full/Agda/Termination/SparseMatrix.hs
-formatted       109612b2572f  Agda-2.8.0/src/full/Agda/Termination/TermCheck.hs
-formatted       ed0ea780ef94  Agda-2.8.0/src/full/Agda/Termination/Termination.hs
-formatted       9ce4d907acfa  Agda-2.8.0/src/full/Agda/TheTypeChecker.hs
-formatted       f0d75a71448d  Agda-2.8.0/src/full/Agda/TypeChecking/Abstract.hs
-formatted       e757073d2d4e  Agda-2.8.0/src/full/Agda/TypeChecking/CheckInternal.hs
-formatted       2d6bbce1312f  Agda-2.8.0/src/full/Agda/TypeChecking/CheckInternal.hs-boot
-formatted       32a35663e792  Agda-2.8.0/src/full/Agda/TypeChecking/CompiledClause.hs
-formatted       06edf6d2d765  Agda-2.8.0/src/full/Agda/TypeChecking/CompiledClause/Compile.hs
-formatted       6b8cf4277b16  Agda-2.8.0/src/full/Agda/TypeChecking/CompiledClause/Compile.hs-boot
-formatted       a141f28ffb17  Agda-2.8.0/src/full/Agda/TypeChecking/CompiledClause/Match.hs
-formatted       3142e5d8c639  Agda-2.8.0/src/full/Agda/TypeChecking/CompiledClause/Match.hs-boot
-formatted       8daa667ddddd  Agda-2.8.0/src/full/Agda/TypeChecking/Constraints.hs
-formatted       47ac61419563  Agda-2.8.0/src/full/Agda/TypeChecking/Constraints.hs-boot
-formatted       f5ba1ae3a7b9  Agda-2.8.0/src/full/Agda/TypeChecking/Conversion.hs
-formatted       cc3a6f5cf005  Agda-2.8.0/src/full/Agda/TypeChecking/Conversion.hs-boot
-formatted       8bb452c258d1  Agda-2.8.0/src/full/Agda/TypeChecking/Conversion/Pure.hs
-formatted       867428e9a9a1  Agda-2.8.0/src/full/Agda/TypeChecking/Coverage.hs
-formatted       5d7955ebba8b  Agda-2.8.0/src/full/Agda/TypeChecking/Coverage/Cubical.hs
-formatted       c9a4679ec19e  Agda-2.8.0/src/full/Agda/TypeChecking/Coverage/Match.hs
-formatted       833e9295f84f  Agda-2.8.0/src/full/Agda/TypeChecking/Coverage/SplitClause.hs
-formatted       50e4c607d3c4  Agda-2.8.0/src/full/Agda/TypeChecking/Coverage/SplitTree.hs
-formatted       de7edd5dabfe  Agda-2.8.0/src/full/Agda/TypeChecking/Datatypes.hs
-formatted       bf771aa7c583  Agda-2.8.0/src/full/Agda/TypeChecking/Datatypes.hs-boot
-formatted       70b7181d282e  Agda-2.8.0/src/full/Agda/TypeChecking/DeadCode.hs
-formatted       59bd9e3da33e  Agda-2.8.0/src/full/Agda/TypeChecking/DiscrimTree.hs
-formatted       c17cb27af1b5  Agda-2.8.0/src/full/Agda/TypeChecking/DiscrimTree/Types.hs
-formatted       ee105b08c0e0  Agda-2.8.0/src/full/Agda/TypeChecking/DisplayForm.hs
-formatted       2c03c6d0d27b  Agda-2.8.0/src/full/Agda/TypeChecking/DropArgs.hs
-formatted       c4bcc3ec3efc  Agda-2.8.0/src/full/Agda/TypeChecking/Empty.hs
-formatted       546e2690c8bd  Agda-2.8.0/src/full/Agda/TypeChecking/Empty.hs-boot
-formatted       d66d78d15813  Agda-2.8.0/src/full/Agda/TypeChecking/Errors.hs
-formatted       4d637dbd29d8  Agda-2.8.0/src/full/Agda/TypeChecking/Errors.hs-boot
-formatted       aaf8e5a6f74a  Agda-2.8.0/src/full/Agda/TypeChecking/Errors/Names.hs
-formatted       fa9468d1b394  Agda-2.8.0/src/full/Agda/TypeChecking/EtaContract.hs
-formatted       6d6bab698a5f  Agda-2.8.0/src/full/Agda/TypeChecking/Forcing.hs
-formatted       aeb088bda6b4  Agda-2.8.0/src/full/Agda/TypeChecking/Free.hs
-formatted       57cc39115f0c  Agda-2.8.0/src/full/Agda/TypeChecking/Free/Lazy.hs
-formatted       e10225542a24  Agda-2.8.0/src/full/Agda/TypeChecking/Free/Precompute.hs
-formatted       ed93d677a9dd  Agda-2.8.0/src/full/Agda/TypeChecking/Free/Reduce.hs
-formatted       dda08728d05b  Agda-2.8.0/src/full/Agda/TypeChecking/Functions.hs
-formatted       9fc3cf57b64a  Agda-2.8.0/src/full/Agda/TypeChecking/Generalize.hs
-formatted       e7eb98a27abe  Agda-2.8.0/src/full/Agda/TypeChecking/IApplyConfluence.hs
-formatted       87b0399276b5  Agda-2.8.0/src/full/Agda/TypeChecking/Implicit.hs
-formatted       d835876f5a10  Agda-2.8.0/src/full/Agda/TypeChecking/Injectivity.hs
-formatted       32f96c636db2  Agda-2.8.0/src/full/Agda/TypeChecking/Inlining.hs
-formatted       38effe4219d6  Agda-2.8.0/src/full/Agda/TypeChecking/InstanceArguments.hs
-formatted       daede539773d  Agda-2.8.0/src/full/Agda/TypeChecking/InstanceArguments.hs-boot
-formatted       e3ca55cde230  Agda-2.8.0/src/full/Agda/TypeChecking/Irrelevance.hs
-formatted       f5e2359204d8  Agda-2.8.0/src/full/Agda/TypeChecking/Irrelevance.hs-boot
-formatted       d83d2056a267  Agda-2.8.0/src/full/Agda/TypeChecking/Level.hs
-formatted       4df75f041db4  Agda-2.8.0/src/full/Agda/TypeChecking/Level.hs-boot
-formatted       443b56fdd0d7  Agda-2.8.0/src/full/Agda/TypeChecking/Level/Solve.hs
-formatted       ae0893a4561e  Agda-2.8.0/src/full/Agda/TypeChecking/LevelConstraints.hs
-formatted       07c423dfa0e3  Agda-2.8.0/src/full/Agda/TypeChecking/Lock.hs
-formatted       00b8f5e75aa7  Agda-2.8.0/src/full/Agda/TypeChecking/Lock.hs-boot
-formatted       b1629098648f  Agda-2.8.0/src/full/Agda/TypeChecking/MetaVars.hs
-formatted       52101179c5b2  Agda-2.8.0/src/full/Agda/TypeChecking/MetaVars.hs-boot
-formatted       e1fc76d1f4fb  Agda-2.8.0/src/full/Agda/TypeChecking/MetaVars/Mention.hs
-formatted       9825c48e7a9c  Agda-2.8.0/src/full/Agda/TypeChecking/MetaVars/Occurs.hs
-formatted       d47e8c206217  Agda-2.8.0/src/full/Agda/TypeChecking/Modalities.hs
-formatted       1fd16a038ff2  Agda-2.8.0/src/full/Agda/TypeChecking/Monad.hs
-formatted       0ed8f798da0a  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Base.hs
-formatted       9ab4cf397957  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Base/Types.hs
-formatted       7860b2253820  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Base/Warning.hs
-formatted       56ab8bfd7ea3  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Benchmark.hs
-formatted       384a0401d298  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Builtin.hs
-formatted       6b2e93e4eef0  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Builtin.hs-boot
-formatted       d3627bb3ef79  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Caching.hs
-formatted       ceeedfc93ba5  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Closure.hs
-formatted       c94a9adc6e79  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Constraints.hs
-formatted       868d2a157e43  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Context.hs
-formatted       aa421afb353b  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Context.hs-boot
-formatted       93f76be51b99  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Debug.hs
-formatted       07c8440dbd10  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Debug.hs-boot
-formatted       2b0eabe8c79e  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Env.hs
-formatted       46512cb4f780  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Imports.hs
-formatted       7d9f46715dba  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/MetaVars.hs
-formatted       894d39f81e58  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/MetaVars.hs-boot
-formatted       a46ae335e8c2  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Modality.hs
-formatted       bbf8f13a117e  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Mutual.hs
-formatted       75455d5fea54  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Open.hs
-formatted       dbde98a0370f  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Options.hs
-formatted       2b144a9f6ada  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Options.hs-boot
-formatted       a266ccade893  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Pure.hs
-formatted       f549f9160d1c  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Pure.hs-boot
-formatted       77c9a4fc8fbb  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Signature.hs
-formatted       691ffa6dc30c  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Signature.hs-boot
-formatted       93624d713c05  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/SizedTypes.hs
-formatted       ede0f3649b77  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/State.hs
-formatted       63e1167a5c2e  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Statistics.hs
-formatted       49a778fb5b1f  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Trace.hs
-formatted       9fd81672bd87  Agda-2.8.0/src/full/Agda/TypeChecking/Names.hs
-formatted       5519525e6548  Agda-2.8.0/src/full/Agda/TypeChecking/Opacity.hs
-formatted       d26ddecf1923  Agda-2.8.0/src/full/Agda/TypeChecking/Opacity.hs-boot
-formatted       ec77f6d2c4ee  Agda-2.8.0/src/full/Agda/TypeChecking/Patterns/Abstract.hs
-formatted       0f6e0c168a7c  Agda-2.8.0/src/full/Agda/TypeChecking/Patterns/Internal.hs
-formatted       3bed5c67293b  Agda-2.8.0/src/full/Agda/TypeChecking/Patterns/Match.hs
-formatted       5ee7033010bf  Agda-2.8.0/src/full/Agda/TypeChecking/Patterns/Match.hs-boot
-formatted       469500f3dcdc  Agda-2.8.0/src/full/Agda/TypeChecking/Polarity.hs
-formatted       2f5659c12840  Agda-2.8.0/src/full/Agda/TypeChecking/Polarity.hs-boot
-formatted       2901072a89fa  Agda-2.8.0/src/full/Agda/TypeChecking/Positivity.hs
-formatted       5626959a260d  Agda-2.8.0/src/full/Agda/TypeChecking/Positivity/Occurrence.hs
-formatted       fc17ec29d60f  Agda-2.8.0/src/full/Agda/TypeChecking/Pretty.hs
-formatted       7c15c0f77e82  Agda-2.8.0/src/full/Agda/TypeChecking/Pretty.hs-boot
-formatted       9a154e2294df  Agda-2.8.0/src/full/Agda/TypeChecking/Pretty/Call.hs
-formatted       f5434869778b  Agda-2.8.0/src/full/Agda/TypeChecking/Pretty/Call.hs-boot
-formatted       544fac378a4f  Agda-2.8.0/src/full/Agda/TypeChecking/Pretty/Constraint.hs
-formatted       4c2edd49d675  Agda-2.8.0/src/full/Agda/TypeChecking/Pretty/Constraint.hs-boot
-formatted       73740eefae14  Agda-2.8.0/src/full/Agda/TypeChecking/Pretty/Warning.hs
-formatted       bf4e737ce041  Agda-2.8.0/src/full/Agda/TypeChecking/Pretty/Warning.hs-boot
-formatted       3d893370c964  Agda-2.8.0/src/full/Agda/TypeChecking/Primitive.hs
-formatted       3c8fe98419dd  Agda-2.8.0/src/full/Agda/TypeChecking/Primitive.hs-boot
-formatted       da2381c955f4  Agda-2.8.0/src/full/Agda/TypeChecking/Primitive/Base.hs
-formatted       449b06119ca8  Agda-2.8.0/src/full/Agda/TypeChecking/Primitive/Cubical.hs
-formatted       2ea530f280a4  Agda-2.8.0/src/full/Agda/TypeChecking/Primitive/Cubical/Base.hs
-formatted       34da472277ef  Agda-2.8.0/src/full/Agda/TypeChecking/Primitive/Cubical/Base.hs-boot
-formatted       caff936ed890  Agda-2.8.0/src/full/Agda/TypeChecking/Primitive/Cubical/Glue.hs
-formatted       3a30d149c7d5  Agda-2.8.0/src/full/Agda/TypeChecking/Primitive/Cubical/HCompU.hs
-formatted       b94623fcbae3  Agda-2.8.0/src/full/Agda/TypeChecking/ProjectionLike.hs
-formatted       21d019305ce5  Agda-2.8.0/src/full/Agda/TypeChecking/ProjectionLike.hs-boot
-formatted       2505bf50d757  Agda-2.8.0/src/full/Agda/TypeChecking/Quote.hs
-formatted       134651a3168e  Agda-2.8.0/src/full/Agda/TypeChecking/ReconstructParameters.hs
-formatted       2d7e0d93add3  Agda-2.8.0/src/full/Agda/TypeChecking/RecordPatterns.hs
-formatted       2ea1183d053a  Agda-2.8.0/src/full/Agda/TypeChecking/Records.hs
-formatted       65b1d93597cd  Agda-2.8.0/src/full/Agda/TypeChecking/Records.hs-boot
-formatted       c04a8dcdb87f  Agda-2.8.0/src/full/Agda/TypeChecking/Reduce.hs
-formatted       82cb10489996  Agda-2.8.0/src/full/Agda/TypeChecking/Reduce.hs-boot
-formatted       902d61b8794a  Agda-2.8.0/src/full/Agda/TypeChecking/Reduce/Fast.hs
-formatted       2158647025d5  Agda-2.8.0/src/full/Agda/TypeChecking/Reduce/Fast.hs-boot
-formatted       8290b6f13ee3  Agda-2.8.0/src/full/Agda/TypeChecking/Reduce/Monad.hs
-formatted       4138b13a5df5  Agda-2.8.0/src/full/Agda/TypeChecking/Rewriting.hs
-formatted       0158a552c77f  Agda-2.8.0/src/full/Agda/TypeChecking/Rewriting.hs-boot
-formatted       b3f48345a2ca  Agda-2.8.0/src/full/Agda/TypeChecking/Rewriting/Clause.hs
-formatted       e53d93353f66  Agda-2.8.0/src/full/Agda/TypeChecking/Rewriting/Confluence.hs
-formatted       ffa8c612942d  Agda-2.8.0/src/full/Agda/TypeChecking/Rewriting/NonLinMatch.hs
-formatted       cf2803dfe738  Agda-2.8.0/src/full/Agda/TypeChecking/Rewriting/NonLinPattern.hs
-formatted       7683fca856bf  Agda-2.8.0/src/full/Agda/TypeChecking/Rules/Application.hs
-formatted       8094c6b9ca8d  Agda-2.8.0/src/full/Agda/TypeChecking/Rules/Application.hs-boot
-formatted       4853a993b081  Agda-2.8.0/src/full/Agda/TypeChecking/Rules/Builtin.hs
-formatted       bb96b8d55347  Agda-2.8.0/src/full/Agda/TypeChecking/Rules/Builtin/Coinduction.hs
-formatted       48f627566132  Agda-2.8.0/src/full/Agda/TypeChecking/Rules/Builtin/Coinduction.hs-boot
-formatted       228af35d2d09  Agda-2.8.0/src/full/Agda/TypeChecking/Rules/Data.hs
-formatted       89ea7a6db701  Agda-2.8.0/src/full/Agda/TypeChecking/Rules/Data.hs-boot
-formatted       ff0e9314023a  Agda-2.8.0/src/full/Agda/TypeChecking/Rules/Decl.hs
-formatted       c3dda6e649e5  Agda-2.8.0/src/full/Agda/TypeChecking/Rules/Decl.hs-boot
-formatted       c8f646cea7d3  Agda-2.8.0/src/full/Agda/TypeChecking/Rules/Def.hs
-formatted       aa2e722e924d  Agda-2.8.0/src/full/Agda/TypeChecking/Rules/Def.hs-boot
-formatted       fed954351c6b  Agda-2.8.0/src/full/Agda/TypeChecking/Rules/Display.hs
-formatted       5291aa3ee0df  Agda-2.8.0/src/full/Agda/TypeChecking/Rules/LHS.hs
-formatted       6773a3880c72  Agda-2.8.0/src/full/Agda/TypeChecking/Rules/LHS/Implicit.hs
-formatted       da382d16a0bc  Agda-2.8.0/src/full/Agda/TypeChecking/Rules/LHS/Problem.hs
-formatted       faf2b455193b  Agda-2.8.0/src/full/Agda/TypeChecking/Rules/LHS/ProblemRest.hs
-formatted       6a42cd7f2ae2  Agda-2.8.0/src/full/Agda/TypeChecking/Rules/LHS/Unify.hs
-formatted       d3a352c1c4d9  Agda-2.8.0/src/full/Agda/TypeChecking/Rules/LHS/Unify/LeftInverse.hs
-formatted       dea533ec809b  Agda-2.8.0/src/full/Agda/TypeChecking/Rules/LHS/Unify/Types.hs
-formatted       2fe7b7e43894  Agda-2.8.0/src/full/Agda/TypeChecking/Rules/Record.hs
-formatted       31facbc5e0fe  Agda-2.8.0/src/full/Agda/TypeChecking/Rules/Term.hs
-formatted       ccd5b1bd7f62  Agda-2.8.0/src/full/Agda/TypeChecking/Rules/Term.hs-boot
-formatted       1750e7e26332  Agda-2.8.0/src/full/Agda/TypeChecking/Serialise.hs
-formatted       3c2ae59cbddd  Agda-2.8.0/src/full/Agda/TypeChecking/Serialise/Base.hs
-formatted       0b03fe8ecc8f  Agda-2.8.0/src/full/Agda/TypeChecking/Serialise/Instances.hs
-formatted       6c20bf188f6d  Agda-2.8.0/src/full/Agda/TypeChecking/Serialise/Instances/Abstract.hs
-formatted       36d52dce312e  Agda-2.8.0/src/full/Agda/TypeChecking/Serialise/Instances/Common.hs
-formatted       d11e2e781bb4  Agda-2.8.0/src/full/Agda/TypeChecking/Serialise/Instances/Compilers.hs
-formatted       2eef55954bfb  Agda-2.8.0/src/full/Agda/TypeChecking/Serialise/Instances/Errors.hs
-formatted       abbb853d7207  Agda-2.8.0/src/full/Agda/TypeChecking/Serialise/Instances/Highlighting.hs
-formatted       ca74c3e9270b  Agda-2.8.0/src/full/Agda/TypeChecking/Serialise/Instances/Internal.hs
-formatted       205f6ec21316  Agda-2.8.0/src/full/Agda/TypeChecking/SizedTypes.hs
-formatted       b681d54f057a  Agda-2.8.0/src/full/Agda/TypeChecking/SizedTypes/Pretty.hs
-formatted       ba347b83ea94  Agda-2.8.0/src/full/Agda/TypeChecking/SizedTypes/Solve.hs
-formatted       322db41fd343  Agda-2.8.0/src/full/Agda/TypeChecking/SizedTypes/Syntax.hs
-formatted       904a4e241e74  Agda-2.8.0/src/full/Agda/TypeChecking/SizedTypes/Utils.hs
-formatted       0be08dcf3e01  Agda-2.8.0/src/full/Agda/TypeChecking/SizedTypes/WarshallSolver.hs
-formatted       dace03972057  Agda-2.8.0/src/full/Agda/TypeChecking/Sort.hs
-formatted       e672d69282fb  Agda-2.8.0/src/full/Agda/TypeChecking/Substitute.hs
-formatted       ed6f3c6c04cb  Agda-2.8.0/src/full/Agda/TypeChecking/Substitute/Class.hs
-formatted       2656f0d28fba  Agda-2.8.0/src/full/Agda/TypeChecking/Substitute/DeBruijn.hs
-formatted       bdddf47208eb  Agda-2.8.0/src/full/Agda/TypeChecking/SyntacticEquality.hs
-formatted       64e7a1aa36eb  Agda-2.8.0/src/full/Agda/TypeChecking/Telescope.hs
-formatted       d94c0d202dfc  Agda-2.8.0/src/full/Agda/TypeChecking/Telescope.hs-boot
-formatted       a311599b882a  Agda-2.8.0/src/full/Agda/TypeChecking/Telescope/Path.hs
-formatted       065cd440ceef  Agda-2.8.0/src/full/Agda/TypeChecking/Unquote.hs
-formatted       9b905968b1f4  Agda-2.8.0/src/full/Agda/TypeChecking/Warnings.hs
-formatted       49c35730acfc  Agda-2.8.0/src/full/Agda/TypeChecking/With.hs
-formatted       b02f16e6d20a  Agda-2.8.0/src/full/Agda/Utils/AffineHole.hs
-formatted       ae5ced9ae20f  Agda-2.8.0/src/full/Agda/Utils/Applicative.hs
-formatted       7fe48d6127fe  Agda-2.8.0/src/full/Agda/Utils/AssocList.hs
-formatted       0f294429e9ba  Agda-2.8.0/src/full/Agda/Utils/Bag.hs
-formatted       ede5e2261435  Agda-2.8.0/src/full/Agda/Utils/Benchmark.hs
-formatted       19e137bd74e4  Agda-2.8.0/src/full/Agda/Utils/BiMap.hs
-formatted       09925de009a1  Agda-2.8.0/src/full/Agda/Utils/BoolSet.hs
-formatted       66c20e52ae54  Agda-2.8.0/src/full/Agda/Utils/Boolean.hs
-formatted       880aa8847616  Agda-2.8.0/src/full/Agda/Utils/CallStack.hs
-formatted       c39e106918fe  Agda-2.8.0/src/full/Agda/Utils/CallStack/Base.hs
-formatted       dfecf0fc01d4  Agda-2.8.0/src/full/Agda/Utils/CallStack/Pretty.hs
-formatted       eeedf1a4e3da  Agda-2.8.0/src/full/Agda/Utils/Char.hs
-formatted       2b8eb290abc6  Agda-2.8.0/src/full/Agda/Utils/Cluster.hs
-formatted       b2757fa5ae2f  Agda-2.8.0/src/full/Agda/Utils/Either.hs
-formatted       5c0f9924f59f  Agda-2.8.0/src/full/Agda/Utils/Empty.hs
-formatted       284145f1db7f  Agda-2.8.0/src/full/Agda/Utils/Environment.hs
-formatted       e2b0e8db2604  Agda-2.8.0/src/full/Agda/Utils/Fail.hs
-formatted       7ba92e89857d  Agda-2.8.0/src/full/Agda/Utils/Favorites.hs
-formatted       73363066a6a3  Agda-2.8.0/src/full/Agda/Utils/FileId.hs
-formatted       fe8be2258052  Agda-2.8.0/src/full/Agda/Utils/FileName.hs
-formatted       e5f5fbd21c99  Agda-2.8.0/src/full/Agda/Utils/Float.hs
-formatted       671c1e2678b7  Agda-2.8.0/src/full/Agda/Utils/Function.hs
-formatted       6c4961888023  Agda-2.8.0/src/full/Agda/Utils/Functor.hs
-formatted       026b04b8661e  Agda-2.8.0/src/full/Agda/Utils/GetOpt.hs
-formatted       873df66a7304  Agda-2.8.0/src/full/Agda/Utils/Graph/AdjacencyMap/Unidirectional.hs
-formatted       989ea83c378b  Agda-2.8.0/src/full/Agda/Utils/Graph/TopSort.hs
-formatted       db38367e7a17  Agda-2.8.0/src/full/Agda/Utils/Hash.hs
-formatted       8328694f97ac  Agda-2.8.0/src/full/Agda/Utils/HashTable.hs
-formatted       019e9637b9b0  Agda-2.8.0/src/full/Agda/Utils/Haskell/Syntax.hs
-formatted       e861d8cbd7ce  Agda-2.8.0/src/full/Agda/Utils/IArray.hs
-formatted       8d53e1639c43  Agda-2.8.0/src/full/Agda/Utils/IO.hs
-formatted       ddd200e851ab  Agda-2.8.0/src/full/Agda/Utils/IO/Binary.hs
-formatted       c62ffb044eae  Agda-2.8.0/src/full/Agda/Utils/IO/Directory.hs
-formatted       44ca6943bebd  Agda-2.8.0/src/full/Agda/Utils/IO/TempFile.hs
-formatted       51a9c4ed68e8  Agda-2.8.0/src/full/Agda/Utils/IO/UTF8.hs
-formatted       d938f94198a6  Agda-2.8.0/src/full/Agda/Utils/IORef.hs
-formatted       695329a3bad9  Agda-2.8.0/src/full/Agda/Utils/Impossible.hs
-formatted       e5520ad27268  Agda-2.8.0/src/full/Agda/Utils/IndexedList.hs
-formatted       89c592a4472e  Agda-2.8.0/src/full/Agda/Utils/IntSet/Infinite.hs
-formatted       37f9f2b34f7d  Agda-2.8.0/src/full/Agda/Utils/Lens.hs
-formatted       89e41b43691d  Agda-2.8.0/src/full/Agda/Utils/Lens/Examples.hs
-formatted       1b92693f68b2  Agda-2.8.0/src/full/Agda/Utils/List.hs
-formatted       45ca9f9f3bb8  Agda-2.8.0/src/full/Agda/Utils/List1.hs
-formatted       3bd635eb52aa  Agda-2.8.0/src/full/Agda/Utils/List1.hs-boot
-formatted       3514de48df05  Agda-2.8.0/src/full/Agda/Utils/List2.hs
-formatted       7c751813fa31  Agda-2.8.0/src/full/Agda/Utils/ListT.hs
-formatted       169903934617  Agda-2.8.0/src/full/Agda/Utils/Map.hs
-formatted       8c9045bc776a  Agda-2.8.0/src/full/Agda/Utils/Map1.hs
-formatted       6e06ef12a477  Agda-2.8.0/src/full/Agda/Utils/Maybe.hs
-formatted       f52b8f698d5f  Agda-2.8.0/src/full/Agda/Utils/Maybe/Strict.hs
-formatted       fde8defcff6d  Agda-2.8.0/src/full/Agda/Utils/Memo.hs
-formatted       ae784faa4e52  Agda-2.8.0/src/full/Agda/Utils/Monad.hs
-formatted       4f8109a5fa85  Agda-2.8.0/src/full/Agda/Utils/Monoid.hs
-formatted       92bb2192c3b2  Agda-2.8.0/src/full/Agda/Utils/Null.hs
-formatted       4fd8ca5748d3  Agda-2.8.0/src/full/Agda/Utils/POMonoid.hs
-formatted       bb186d0604db  Agda-2.8.0/src/full/Agda/Utils/Parser/MemoisedCPS.hs
-formatted       c2d2ccfc3558  Agda-2.8.0/src/full/Agda/Utils/PartialOrd.hs
-formatted       e9d2279e6e65  Agda-2.8.0/src/full/Agda/Utils/Permutation.hs
-formatted       fda572184491  Agda-2.8.0/src/full/Agda/Utils/ProfileOptions.hs
-formatted       49a18a2c6aec  Agda-2.8.0/src/full/Agda/Utils/RangeMap.hs
-formatted       5039e6e9abfe  Agda-2.8.0/src/full/Agda/Utils/SemiRing.hs
-formatted       9aa281a4615c  Agda-2.8.0/src/full/Agda/Utils/Semigroup.hs
-formatted       fdb04073ce98  Agda-2.8.0/src/full/Agda/Utils/Set1.hs
-formatted       f45ad8f08443  Agda-2.8.0/src/full/Agda/Utils/Singleton.hs
-formatted       18c4a0bbe326  Agda-2.8.0/src/full/Agda/Utils/Size.hs
-formatted       f8b306deacdf  Agda-2.8.0/src/full/Agda/Utils/SmallSet.hs
-formatted       21babb4b50a9  Agda-2.8.0/src/full/Agda/Utils/String.hs
-formatted       57a8a5b9fa29  Agda-2.8.0/src/full/Agda/Utils/Suffix.hs
-formatted       736b26cda8bc  Agda-2.8.0/src/full/Agda/Utils/Three.hs
-formatted       ebc104ac11d6  Agda-2.8.0/src/full/Agda/Utils/Time.hs
-formatted       28100c97a54a  Agda-2.8.0/src/full/Agda/Utils/Trie.hs
-formatted       1711e06969b5  Agda-2.8.0/src/full/Agda/Utils/Tuple.hs
-formatted       db9dcb1b8f66  Agda-2.8.0/src/full/Agda/Utils/TypeLevel.hs
-formatted       c8c672126225  Agda-2.8.0/src/full/Agda/Utils/TypeLits.hs
-formatted       8d8d3b50eebc  Agda-2.8.0/src/full/Agda/Utils/Unsafe.hs
-formatted       67386f8634f6  Agda-2.8.0/src/full/Agda/Utils/Update.hs
-formatted       383866b27bb0  Agda-2.8.0/src/full/Agda/Utils/VarSet.hs
-formatted       ef7d967b9bdc  Agda-2.8.0/src/full/Agda/Utils/WithDefault.hs
-formatted       fe0ca6de293d  Agda-2.8.0/src/full/Agda/Utils/Zipper.hs
-formatted       86e923a357db  Agda-2.8.0/src/main/Main.hs
-formatted       61f76fd386b5  Agda-2.8.0/src/setup/Agda/Setup.hs
-formatted       57e71e771600  Agda-2.8.0/src/setup/Agda/Setup/DataFiles.hs
-formatted       7a631dd4456c  Agda-2.8.0/src/setup/Agda/Setup/EmacsMode.hs
-formatted       acb74e0db7a5  Agda-2.8.0/src/setup/Agda/Version.hs
-formatted       5164a4006c26  Agda-2.8.0/src/setup/Agda/VersionCommit.hs
-formatted       90cd663d9426  HUnit-1.6.2.0/examples/Example.hs
-formatted       9b1cac4b6c09  HUnit-1.6.2.0/src/Test/HUnit.hs
-formatted       e35d465aa045  HUnit-1.6.2.0/src/Test/HUnit/Base.hs
-formatted       cb7ff16c7dc4  HUnit-1.6.2.0/src/Test/HUnit/Lang.hs
-formatted       f9959d10adae  HUnit-1.6.2.0/src/Test/HUnit/Terminal.hs
-formatted       c1c1d4fdc273  HUnit-1.6.2.0/src/Test/HUnit/Text.hs
-formatted       358e8e211fe4  HUnit-1.6.2.0/tests/HUnitTestExtended.hs
-formatted       2277de61adab  HUnit-1.6.2.0/tests/HUnitTests.hs
-formatted       6f374a392385  HUnit-1.6.2.0/tests/TerminalTest.hs
-formatted       72a2225868af  QuickCheck-2.18.0.0/examples/Heap.hs
-formatted       dc35ff44492c  QuickCheck-2.18.0.0/examples/Heap_Program.hs
-formatted       0abcf73779e5  QuickCheck-2.18.0.0/examples/Heap_ProgramAlgebraic.hs
-formatted       07c41d7ee959  QuickCheck-2.18.0.0/examples/Lambda.hs
-formatted       ac5fe5532ade  QuickCheck-2.18.0.0/examples/Merge.hs
-formatted       75a2f3be476e  QuickCheck-2.18.0.0/examples/Set.hs
-formatted       598740b3d57c  QuickCheck-2.18.0.0/examples/Simple.hs
-partly-checked  9da7c6c96a36  QuickCheck-2.18.0.0/src/Test/QuickCheck.hs
-formatted       02ad02d885d3  QuickCheck-2.18.0.0/src/Test/QuickCheck/All.hs
-partly-checked  2c029612a111  QuickCheck-2.18.0.0/src/Test/QuickCheck/Arbitrary.hs
-formatted       b394fbd4debb  QuickCheck-2.18.0.0/src/Test/QuickCheck/Compat.hs
-partly-checked  06fafd04e06a  QuickCheck-2.18.0.0/src/Test/QuickCheck/Exception.hs
-formatted       24dc2fbcd085  QuickCheck-2.18.0.0/src/Test/QuickCheck/Features.hs
-partly-checked  a3b6ef716829  QuickCheck-2.18.0.0/src/Test/QuickCheck/Function.hs
-formatted       41b71e19969f  QuickCheck-2.18.0.0/src/Test/QuickCheck/Gen.hs
-formatted       0488daa21096  QuickCheck-2.18.0.0/src/Test/QuickCheck/Gen/Unsafe.hs
-formatted       27b454ea364e  QuickCheck-2.18.0.0/src/Test/QuickCheck/Modifiers.hs
-formatted       09230f4d022f  QuickCheck-2.18.0.0/src/Test/QuickCheck/Monadic.hs
-formatted       a94b9d13da2f  QuickCheck-2.18.0.0/src/Test/QuickCheck/Monoids.hs
-formatted       0c4f8c706edf  QuickCheck-2.18.0.0/src/Test/QuickCheck/Poly.hs
-formatted       3c937d9861f1  QuickCheck-2.18.0.0/src/Test/QuickCheck/Property.hs
-formatted       d248979763fb  QuickCheck-2.18.0.0/src/Test/QuickCheck/Random.hs
-formatted       67a6c49f2d76  QuickCheck-2.18.0.0/src/Test/QuickCheck/State.hs
-formatted       d6690aaf2529  QuickCheck-2.18.0.0/src/Test/QuickCheck/Test.hs
-formatted       a4f1f65a7f1e  QuickCheck-2.18.0.0/src/Test/QuickCheck/Text.hs
-formatted       19879ee226c1  QuickCheck-2.18.0.0/tests/CollectDataTypes.hs
-formatted       da3fb75adccf  QuickCheck-2.18.0.0/tests/DiscardRatio.hs
-formatted       5408e5e13bd3  QuickCheck-2.18.0.0/tests/GCoArbitraryExample.hs
-formatted       8dd012261272  QuickCheck-2.18.0.0/tests/GShrinkExample.hs
-formatted       5f4c2707cfc6  QuickCheck-2.18.0.0/tests/Generators.hs
-formatted       057887c409bc  QuickCheck-2.18.0.0/tests/Misc.hs
-formatted       414efdc48918  QuickCheck-2.18.0.0/tests/MonadFix.hs
-formatted       85ad2d1decbe  QuickCheck-2.18.0.0/tests/Monoids.hs
-formatted       eae30fa51b1b  QuickCheck-2.18.0.0/tests/RunCollectDataTypes.hs
-formatted       6cff09f61b57  QuickCheck-2.18.0.0/tests/Split.hs
-formatted       da1fe583377c  QuickCheck-2.18.0.0/tests/Strictness.hs
-formatted       224bf6e7655c  QuickCheck-2.18.0.0/tests/Terminal.hs
-formatted       398a0f17171d  QuickCheck-2.18.0.0/tests/WithProgress.hs
-formatted       5bd7a41e0fb6  ShellCheck-0.11.0/shellcheck.hs
-formatted       e1956a0e51a1  ShellCheck-0.11.0/src/ShellCheck/AST.hs
-formatted       c37d63683cf0  ShellCheck-0.11.0/src/ShellCheck/ASTLib.hs
-formatted       24b51a720cfe  ShellCheck-0.11.0/src/ShellCheck/Analytics.hs
-formatted       a37e7d6ad771  ShellCheck-0.11.0/src/ShellCheck/Analyzer.hs
-formatted       0df96a3d2318  ShellCheck-0.11.0/src/ShellCheck/AnalyzerLib.hs
-formatted       3308afd69855  ShellCheck-0.11.0/src/ShellCheck/CFG.hs
-formatted       82bc11b18b11  ShellCheck-0.11.0/src/ShellCheck/CFGAnalysis.hs
-formatted       b5fd9efb82ac  ShellCheck-0.11.0/src/ShellCheck/Checker.hs
-formatted       8b1eac1d2cfc  ShellCheck-0.11.0/src/ShellCheck/Checks/Commands.hs
-formatted       4499e00fdc51  ShellCheck-0.11.0/src/ShellCheck/Checks/ControlFlow.hs
-formatted       0cbfece4e54b  ShellCheck-0.11.0/src/ShellCheck/Checks/Custom.hs
-formatted       91595d726c47  ShellCheck-0.11.0/src/ShellCheck/Checks/ShellSupport.hs
-formatted       360f25cce88b  ShellCheck-0.11.0/src/ShellCheck/Data.hs
-formatted       49275e17f1a3  ShellCheck-0.11.0/src/ShellCheck/Debug.hs
-formatted       31071ad483d6  ShellCheck-0.11.0/src/ShellCheck/Fixer.hs
-formatted       1c5c142bbc8c  ShellCheck-0.11.0/src/ShellCheck/Formatter/CheckStyle.hs
-formatted       13b3c15a19bc  ShellCheck-0.11.0/src/ShellCheck/Formatter/Diff.hs
-formatted       78112453fad7  ShellCheck-0.11.0/src/ShellCheck/Formatter/Format.hs
-formatted       d90b451f113e  ShellCheck-0.11.0/src/ShellCheck/Formatter/GCC.hs
-formatted       b5dba8eeaa1e  ShellCheck-0.11.0/src/ShellCheck/Formatter/JSON.hs
-formatted       fb9c03a6a335  ShellCheck-0.11.0/src/ShellCheck/Formatter/JSON1.hs
-formatted       a381122da904  ShellCheck-0.11.0/src/ShellCheck/Formatter/Quiet.hs
-formatted       ede5712d5ab7  ShellCheck-0.11.0/src/ShellCheck/Formatter/TTY.hs
-formatted       a601aea10041  ShellCheck-0.11.0/src/ShellCheck/Interface.hs
-formatted       2cfa8339411e  ShellCheck-0.11.0/src/ShellCheck/Parser.hs
-formatted       41e45f4ec82e  ShellCheck-0.11.0/src/ShellCheck/Prelude.hs
-formatted       0b6a2ca650ea  ShellCheck-0.11.0/src/ShellCheck/Regex.hs
-formatted       d7f66e7f3a00  ShellCheck-0.11.0/test/shellcheck.hs
-formatted       f11704872a0d  adjunctions-4.4.4/HLint.hs
-formatted       b76eebd88dde  adjunctions-4.4.4/src/Control/Comonad/Representable/Store.hs
-formatted       de45dcce87b3  adjunctions-4.4.4/src/Control/Comonad/Trans/Adjoint.hs
-formatted       6acf5c42f6f3  adjunctions-4.4.4/src/Control/Monad/Representable/Reader.hs
-formatted       a638921f9e27  adjunctions-4.4.4/src/Control/Monad/Representable/State.hs
-formatted       090896034199  adjunctions-4.4.4/src/Control/Monad/Trans/Adjoint.hs
-formatted       e1817af58b0a  adjunctions-4.4.4/src/Control/Monad/Trans/Contravariant/Adjoint.hs
-formatted       e1065b4a8220  adjunctions-4.4.4/src/Control/Monad/Trans/Conts.hs
-formatted       a9be4a7e726b  adjunctions-4.4.4/src/Data/Functor/Adjunction.hs
-formatted       191e78a8f894  adjunctions-4.4.4/src/Data/Functor/Contravariant/Adjunction.hs
-formatted       573a1fcd59fd  adjunctions-4.4.4/src/Data/Functor/Contravariant/Rep.hs
-formatted       28caf428004b  adjunctions-4.4.4/src/Data/Functor/Rep.hs
-formatted       690f4e02bf11  adjunctions-4.4.4/tests/GenericsSpec.hs
-formatted       2fbd14b119a4  adjunctions-4.4.4/tests/Spec.hs
-formatted       5f27aba9dda7  aeson-2.3.1.0/src/Data/Aeson.hs
-formatted       e884d6813fc6  aeson-2.3.1.0/src/Data/Aeson/Decoding.hs
-formatted       93bdee10e02a  aeson-2.3.1.0/src/Data/Aeson/Decoding/ByteString.hs
-formatted       635321399aa4  aeson-2.3.1.0/src/Data/Aeson/Decoding/ByteString/Lazy.hs
-formatted       1d3a54288c25  aeson-2.3.1.0/src/Data/Aeson/Decoding/Conversion.hs
-formatted       f1f142fef403  aeson-2.3.1.0/src/Data/Aeson/Decoding/Internal.hs
-formatted       e972ebea468c  aeson-2.3.1.0/src/Data/Aeson/Decoding/Text.hs
-formatted       709b71ada144  aeson-2.3.1.0/src/Data/Aeson/Decoding/Tokens.hs
-formatted       c6cf8dff7aea  aeson-2.3.1.0/src/Data/Aeson/Encoding.hs
-formatted       96d4e6121b81  aeson-2.3.1.0/src/Data/Aeson/Encoding/Builder.hs
-formatted       15f5cf01a7d9  aeson-2.3.1.0/src/Data/Aeson/Encoding/Internal.hs
-formatted       750b37e9d1fa  aeson-2.3.1.0/src/Data/Aeson/Internal/ByteString.hs
-formatted       7ff60392d6c3  aeson-2.3.1.0/src/Data/Aeson/Internal/Functions.hs
-formatted       e048ffa25767  aeson-2.3.1.0/src/Data/Aeson/Internal/Prelude.hs
-formatted       57e28222c296  aeson-2.3.1.0/src/Data/Aeson/Internal/Scientific.hs
-formatted       6bb6b5229c29  aeson-2.3.1.0/src/Data/Aeson/Internal/TH.hs
-formatted       b61b87ef28b1  aeson-2.3.1.0/src/Data/Aeson/Internal/Text.hs
-formatted       e83337edc6e6  aeson-2.3.1.0/src/Data/Aeson/Internal/Unescape.hs
-formatted       20257ed727b2  aeson-2.3.1.0/src/Data/Aeson/Internal/UnescapeFromText.hs
-formatted       1052e9d7d311  aeson-2.3.1.0/src/Data/Aeson/Key.hs
-formatted       399d3cc81f76  aeson-2.3.1.0/src/Data/Aeson/KeyMap.hs
-formatted       a8f98f92bb33  aeson-2.3.1.0/src/Data/Aeson/Parser/Time.hs
-formatted       34673c7e3119  aeson-2.3.1.0/src/Data/Aeson/QQ/Simple.hs
-formatted       8c47510bfe90  aeson-2.3.1.0/src/Data/Aeson/RFC8785.hs
-formatted       8e47a331bfb8  aeson-2.3.1.0/src/Data/Aeson/TH.hs
-formatted       12a0132d4a2c  aeson-2.3.1.0/src/Data/Aeson/Text.hs
-formatted       d929af4e0687  aeson-2.3.1.0/src/Data/Aeson/Types.hs
-formatted       769fcc14bce2  aeson-2.3.1.0/src/Data/Aeson/Types/Class.hs
-formatted       fc043ebfc291  aeson-2.3.1.0/src/Data/Aeson/Types/FromJSON.hs
-formatted       af543197c845  aeson-2.3.1.0/src/Data/Aeson/Types/Generic.hs
-formatted       a7b6903cad74  aeson-2.3.1.0/src/Data/Aeson/Types/Internal.hs
-formatted       e372019c3433  aeson-2.3.1.0/src/Data/Aeson/Types/ToJSON.hs
-formatted       1916009e9352  aeson-2.3.1.0/tests/CastFloat.hs
-formatted       83937f2ef82e  aeson-2.3.1.0/tests/DataFamilies/Encoders.hs
-formatted       204116ceb7db  aeson-2.3.1.0/tests/DataFamilies/Instances.hs
-formatted       91fe7aa4d3dc  aeson-2.3.1.0/tests/DataFamilies/Properties.hs
-formatted       7f146994b15a  aeson-2.3.1.0/tests/DataFamilies/Types.hs
-formatted       07fde92bf8d1  aeson-2.3.1.0/tests/DoubleToScientific.hs
-formatted       5377988ba287  aeson-2.3.1.0/tests/Encoders.hs
-formatted       5ad9153a88b6  aeson-2.3.1.0/tests/ErrorMessages.hs
-formatted       72fb423455c1  aeson-2.3.1.0/tests/Functions.hs
-formatted       a9d868843992  aeson-2.3.1.0/tests/Instances.hs
-formatted       38b7096d53c4  aeson-2.3.1.0/tests/JSONTestSuite.hs
-formatted       82f27586e194  aeson-2.3.1.0/tests/Options.hs
-formatted       44fab88974f6  aeson-2.3.1.0/tests/PropUtils.hs
-formatted       5c7e1bcf3dd6  aeson-2.3.1.0/tests/Properties.hs
-formatted       7d368ad15e82  aeson-2.3.1.0/tests/PropertyGeneric.hs
-formatted       6e8696681818  aeson-2.3.1.0/tests/PropertyKeys.hs
-formatted       fbd08dc6e050  aeson-2.3.1.0/tests/PropertyQC.hs
-formatted       8225a2de1b48  aeson-2.3.1.0/tests/PropertyRTFunctors.hs
-formatted       ec45061f33d0  aeson-2.3.1.0/tests/PropertyRoundTrip.hs
-formatted       5c1372b7a444  aeson-2.3.1.0/tests/PropertyTH.hs
-formatted       5b4efaf27bc6  aeson-2.3.1.0/tests/RFC8785.hs
-formatted       378b97660503  aeson-2.3.1.0/tests/Regression/Issue1138.hs
-formatted       1cfcacdcaf11  aeson-2.3.1.0/tests/Regression/Issue351.hs
-formatted       f000e9c51f1a  aeson-2.3.1.0/tests/Regression/Issue571.hs
-formatted       650ac09bee0a  aeson-2.3.1.0/tests/Regression/Issue687.hs
-formatted       e5c541d1465a  aeson-2.3.1.0/tests/Regression/Issue967.hs
-formatted       dc258c7824a4  aeson-2.3.1.0/tests/SerializationFormatSpec.hs
-formatted       8eaa36c16021  aeson-2.3.1.0/tests/Tests.hs
-formatted       67cf480b391c  aeson-2.3.1.0/tests/Types.hs
-formatted       27539a7f2ac7  aeson-2.3.1.0/tests/UnitTests.hs
-formatted       f18689008d86  aeson-2.3.1.0/tests/UnitTests/FromJSONKey.hs
-formatted       8fa12a214cda  aeson-2.3.1.0/tests/UnitTests/Hashable.hs
-formatted       2e6e13a2b307  aeson-2.3.1.0/tests/UnitTests/KeyMapInsertWith.hs
-formatted       fc462ed61e50  aeson-2.3.1.0/tests/UnitTests/MonadFix.hs
-formatted       657449faeb93  aeson-2.3.1.0/tests/UnitTests/NoThunks.hs
-formatted       860ac1653916  aeson-2.3.1.0/tests/UnitTests/NullaryConstructors.hs
-formatted       91f9a9590048  aeson-2.3.1.0/tests/UnitTests/OmitNothingFieldsNote.hs
-formatted       11d14533f820  aeson-2.3.1.0/tests/UnitTests/OptionalFields.hs
-formatted       699f022c0cb2  aeson-2.3.1.0/tests/UnitTests/OptionalFields/Common.hs
-formatted       d8f208687b90  aeson-2.3.1.0/tests/UnitTests/OptionalFields/Generics.hs
-formatted       0bea65848d96  aeson-2.3.1.0/tests/UnitTests/OptionalFields/Manual.hs
-formatted       4a6ecc95787f  aeson-2.3.1.0/tests/UnitTests/OptionalFields/TH.hs
-formatted       e93203961852  aeson-2.3.1.0/tests/UnitTests/UTCTime.hs
-formatted       e865ae48f11b  ansi-terminal-1.1.5/Setup.hs
-formatted       075adef817c3  ansi-terminal-1.1.5/app/Example.hs
-formatted       5cffc9cf8231  ansi-terminal-1.1.5/src/System/Console/ANSI.hs
-formatted       820497cc6023  ansi-terminal-1.1.5/unix/System/Console/ANSI/Internal.hs
-formatted       1cc713a3f254  ansi-terminal-1.1.5/win/System/Console/ANSI/Internal.hs
-formatted       1aaa3e2316a9  ansi-terminal-1.1.5/win/System/Console/ANSI/Windows/Foreign.hs
-formatted       e763680dce5b  ansi-terminal-1.1.5/win/System/Console/ANSI/Windows/Win32/Types.hs
-formatted       9e25d9947df5  async-2.2.6/Control/Concurrent/Async.hs
-partly-checked  a1029cf51bc3  async-2.2.6/Control/Concurrent/Async/Internal.hs
-formatted       68777666410b  async-2.2.6/Control/Concurrent/Async/Warden.hs
-formatted       a0f5a7bd29cb  async-2.2.6/Control/Concurrent/Stream.hs
-formatted       e865ae48f11b  async-2.2.6/Setup.hs
-formatted       7f1489b412a3  async-2.2.6/bench/concasync.hs
-formatted       947eb9e17a7c  async-2.2.6/bench/conccancel.hs
-formatted       6fd907018c80  async-2.2.6/bench/race.hs
-formatted       4db35c37a9a6  async-2.2.6/test/test-async.hs
-formatted       9f3238148609  attoparsec-0.14.4/Data/Attoparsec.hs
-formatted       7d88b33f4399  attoparsec-0.14.4/Data/Attoparsec/ByteString.hs
-formatted       00312ec6e47a  attoparsec-0.14.4/Data/Attoparsec/ByteString/Char8.hs
-formatted       0e47afce0362  attoparsec-0.14.4/Data/Attoparsec/ByteString/Internal.hs
-formatted       fcc23ffbbc3d  attoparsec-0.14.4/Data/Attoparsec/ByteString/Lazy.hs
-formatted       220f76f3ce4e  attoparsec-0.14.4/Data/Attoparsec/Char8.hs
-formatted       90be588fbc3a  attoparsec-0.14.4/Data/Attoparsec/Combinator.hs
-formatted       4b9154d41c2a  attoparsec-0.14.4/Data/Attoparsec/Internal.hs
-formatted       dbeb97f732d5  attoparsec-0.14.4/Data/Attoparsec/Internal/Types.hs
-formatted       ea3b710a875e  attoparsec-0.14.4/Data/Attoparsec/Lazy.hs
-formatted       3d8057d5d688  attoparsec-0.14.4/Data/Attoparsec/Number.hs
-formatted       c4be73924922  attoparsec-0.14.4/Data/Attoparsec/Text.hs
-formatted       8419b057d5a4  attoparsec-0.14.4/Data/Attoparsec/Text/Internal.hs
-formatted       b1c4021729a8  attoparsec-0.14.4/Data/Attoparsec/Text/Lazy.hs
-formatted       63d322215a87  attoparsec-0.14.4/Data/Attoparsec/Types.hs
-formatted       8ab300fd67b0  attoparsec-0.14.4/Data/Attoparsec/Zepto.hs
-formatted       ce9c3d80e326  attoparsec-0.14.4/benchmarks/Aeson.hs
-formatted       ea48685480e2  attoparsec-0.14.4/benchmarks/Benchmarks.hs
-formatted       c1f15fa8aa6e  attoparsec-0.14.4/benchmarks/Common.hs
-formatted       baa4df75c7d8  attoparsec-0.14.4/benchmarks/Genome.hs
-formatted       3f8483fc03da  attoparsec-0.14.4/benchmarks/HeadersByteString.hs
-formatted       bb42606c4a8a  attoparsec-0.14.4/benchmarks/HeadersByteString/Atto.hs
-formatted       5a57c6aaa740  attoparsec-0.14.4/benchmarks/HeadersText.hs
-formatted       8fa6e462f95f  attoparsec-0.14.4/benchmarks/Links.hs
-formatted       f582abe3e244  attoparsec-0.14.4/benchmarks/Numbers.hs
-formatted       696be472825c  attoparsec-0.14.4/benchmarks/Sets.hs
-formatted       f19602a9ee09  attoparsec-0.14.4/benchmarks/TextFastSet.hs
-formatted       2b16e18cd8c0  attoparsec-0.14.4/benchmarks/Warp.hs
-formatted       0328e73e6175  attoparsec-0.14.4/benchmarks/warp-3.0.1.1/Network/Wai/Handler/Warp/ReadInt.hs
-formatted       1f7d3a417fb5  attoparsec-0.14.4/benchmarks/warp-3.0.1.1/Network/Wai/Handler/Warp/RequestHeader.hs
-formatted       0d3565bef090  attoparsec-0.14.4/examples/Atto_RFC2616.hs
-formatted       b6861e7aadf8  attoparsec-0.14.4/examples/Parsec_RFC2616.hs
-formatted       8cdf131b10ce  attoparsec-0.14.4/examples/RFC2616.hs
-formatted       ef93830525fb  attoparsec-0.14.4/internal/Data/Attoparsec/ByteString/Buffer.hs
-formatted       f351843a1420  attoparsec-0.14.4/internal/Data/Attoparsec/ByteString/FastSet.hs
-formatted       f21e47830b1f  attoparsec-0.14.4/internal/Data/Attoparsec/Internal/Compat.hs
-formatted       4498fcbfa61f  attoparsec-0.14.4/internal/Data/Attoparsec/Internal/Fhthagn.hs
-formatted       bc12b2ada3b5  attoparsec-0.14.4/internal/Data/Attoparsec/Text/Buffer.hs
-formatted       ecad246a959e  attoparsec-0.14.4/internal/Data/Attoparsec/Text/FastSet.hs
-formatted       ccaeb87485db  attoparsec-0.14.4/tests/QC.hs
-formatted       c4481214d6c0  attoparsec-0.14.4/tests/QC/Buffer.hs
-formatted       ae7fa7b38a4b  attoparsec-0.14.4/tests/QC/ByteString.hs
-formatted       455e4866502a  attoparsec-0.14.4/tests/QC/Combinator.hs
-formatted       2bd326ae7162  attoparsec-0.14.4/tests/QC/Common.hs
-formatted       394bfa5dcceb  attoparsec-0.14.4/tests/QC/IPv6/Internal.hs
-formatted       0692feda416d  attoparsec-0.14.4/tests/QC/IPv6/Types.hs
-formatted       08452f3d9508  attoparsec-0.14.4/tests/QC/Rechunked.hs
-formatted       0bab40e54197  attoparsec-0.14.4/tests/QC/Simple.hs
-formatted       f610227583f7  attoparsec-0.14.4/tests/QC/Text.hs
-formatted       930b366b3b68  attoparsec-0.14.4/tests/QC/Text/FastSet.hs
-formatted       ed6a9f21b67c  attoparsec-0.14.4/tests/QC/Text/Regressions.hs
-formatted       e1ef503cd64b  aws-0.25.3/Aws.hs
-formatted       a3a163b31c63  aws-0.25.3/Aws/Aws.hs
-formatted       316b8d029dee  aws-0.25.3/Aws/Core.hs
-formatted       526f7494fea1  aws-0.25.3/Aws/DynamoDb.hs
-formatted       11c5a36e6111  aws-0.25.3/Aws/DynamoDb/Commands.hs
-formatted       f3cc0daec291  aws-0.25.3/Aws/DynamoDb/Commands/BatchGetItem.hs
-formatted       d547ef2d0b43  aws-0.25.3/Aws/DynamoDb/Commands/BatchWriteItem.hs
-formatted       677a7cdf1061  aws-0.25.3/Aws/DynamoDb/Commands/DeleteItem.hs
-formatted       6e48f7806e5d  aws-0.25.3/Aws/DynamoDb/Commands/GetItem.hs
-formatted       27bb9f414054  aws-0.25.3/Aws/DynamoDb/Commands/PutItem.hs
-formatted       706f861f1b54  aws-0.25.3/Aws/DynamoDb/Commands/Query.hs
-formatted       76d3cbe6ea1b  aws-0.25.3/Aws/DynamoDb/Commands/Scan.hs
-formatted       c6547f406402  aws-0.25.3/Aws/DynamoDb/Commands/Table.hs
-formatted       66dd03e705d8  aws-0.25.3/Aws/DynamoDb/Commands/UpdateItem.hs
-formatted       0779dd9e102b  aws-0.25.3/Aws/DynamoDb/Core.hs
-formatted       7da30757579d  aws-0.25.3/Aws/Ec2/InstanceMetadata.hs
-formatted       64524ea72e53  aws-0.25.3/Aws/Iam.hs
-formatted       749eee8b56a6  aws-0.25.3/Aws/Iam/Commands.hs
-formatted       ad79f5d57197  aws-0.25.3/Aws/Iam/Commands/AddUserToGroup.hs
-formatted       915fd6e3db63  aws-0.25.3/Aws/Iam/Commands/CreateAccessKey.hs
-formatted       bde533108084  aws-0.25.3/Aws/Iam/Commands/CreateGroup.hs
-formatted       71878d688298  aws-0.25.3/Aws/Iam/Commands/CreateUser.hs
-formatted       9e5113cbceb2  aws-0.25.3/Aws/Iam/Commands/DeleteAccessKey.hs
-formatted       69f808dacd5c  aws-0.25.3/Aws/Iam/Commands/DeleteGroup.hs
-formatted       8e3043dbd167  aws-0.25.3/Aws/Iam/Commands/DeleteGroupPolicy.hs
-formatted       7214274b0a75  aws-0.25.3/Aws/Iam/Commands/DeleteUser.hs
-formatted       f49416222f95  aws-0.25.3/Aws/Iam/Commands/DeleteUserPolicy.hs
-formatted       1b4517924917  aws-0.25.3/Aws/Iam/Commands/GetGroupPolicy.hs
-formatted       512be8c8f03d  aws-0.25.3/Aws/Iam/Commands/GetUser.hs
-formatted       52a399c24ce2  aws-0.25.3/Aws/Iam/Commands/GetUserPolicy.hs
-formatted       76b52f1c10e6  aws-0.25.3/Aws/Iam/Commands/ListAccessKeys.hs
-formatted       f147cb58a827  aws-0.25.3/Aws/Iam/Commands/ListGroupPolicies.hs
-formatted       9055a8593cb5  aws-0.25.3/Aws/Iam/Commands/ListGroups.hs
-formatted       d4d566b0d162  aws-0.25.3/Aws/Iam/Commands/ListMfaDevices.hs
-formatted       c2765a268c08  aws-0.25.3/Aws/Iam/Commands/ListUserPolicies.hs
-formatted       81792beec6f5  aws-0.25.3/Aws/Iam/Commands/ListUsers.hs
-formatted       12e4d06eee79  aws-0.25.3/Aws/Iam/Commands/PutGroupPolicy.hs
-formatted       f35205957f88  aws-0.25.3/Aws/Iam/Commands/PutUserPolicy.hs
-formatted       73390f7341bb  aws-0.25.3/Aws/Iam/Commands/RemoveUserFromGroup.hs
-formatted       6471d441fd65  aws-0.25.3/Aws/Iam/Commands/UpdateAccessKey.hs
-formatted       1df52130a26f  aws-0.25.3/Aws/Iam/Commands/UpdateGroup.hs
-formatted       9d554d7c5663  aws-0.25.3/Aws/Iam/Commands/UpdateUser.hs
-formatted       7f6159798a1d  aws-0.25.3/Aws/Iam/Core.hs
-formatted       feab396b426b  aws-0.25.3/Aws/Iam/Internal.hs
-formatted       48b677d290e9  aws-0.25.3/Aws/Network.hs
-formatted       ce77812a32a4  aws-0.25.3/Aws/S3.hs
-formatted       468614525265  aws-0.25.3/Aws/S3/Commands.hs
-formatted       2646f70fe9fa  aws-0.25.3/Aws/S3/Commands/CopyObject.hs
-formatted       5a1be9e435de  aws-0.25.3/Aws/S3/Commands/DeleteBucket.hs
-formatted       b0b859edf946  aws-0.25.3/Aws/S3/Commands/DeleteObject.hs
-formatted       f56508db7ae5  aws-0.25.3/Aws/S3/Commands/DeleteObjectVersion.hs
-formatted       cac44242e0ef  aws-0.25.3/Aws/S3/Commands/DeleteObjects.hs
-formatted       10f682f1d630  aws-0.25.3/Aws/S3/Commands/GetBucket.hs
-formatted       fd9ef9806007  aws-0.25.3/Aws/S3/Commands/GetBucketLocation.hs
-formatted       de0c93616abe  aws-0.25.3/Aws/S3/Commands/GetBucketObjectVersions.hs
-formatted       77560acf62f4  aws-0.25.3/Aws/S3/Commands/GetBucketVersioning.hs
-formatted       09bf54b50d8a  aws-0.25.3/Aws/S3/Commands/GetObject.hs
-formatted       b2f36afa32e0  aws-0.25.3/Aws/S3/Commands/GetService.hs
-formatted       d6ff6d8b8056  aws-0.25.3/Aws/S3/Commands/HeadObject.hs
-formatted       342f7fc5f61d  aws-0.25.3/Aws/S3/Commands/Multipart.hs
-formatted       311a84a6ddb3  aws-0.25.3/Aws/S3/Commands/PutBucket.hs
-formatted       2428bf962e66  aws-0.25.3/Aws/S3/Commands/PutBucketVersioning.hs
-formatted       046379db06b2  aws-0.25.3/Aws/S3/Commands/PutObject.hs
-formatted       bc50203fa9d6  aws-0.25.3/Aws/S3/Commands/RestoreObject.hs
-formatted       691e7d45ad83  aws-0.25.3/Aws/S3/Core.hs
-formatted       e59133632c71  aws-0.25.3/Aws/Ses.hs
-formatted       98906d812790  aws-0.25.3/Aws/Ses/Commands.hs
-formatted       d82f6af0c772  aws-0.25.3/Aws/Ses/Commands/DeleteIdentity.hs
-formatted       81e7c8056065  aws-0.25.3/Aws/Ses/Commands/GetIdentityDkimAttributes.hs
-formatted       ea5078ceaf94  aws-0.25.3/Aws/Ses/Commands/GetIdentityNotificationAttributes.hs
-formatted       d96fd6a7f13d  aws-0.25.3/Aws/Ses/Commands/GetIdentityVerificationAttributes.hs
-formatted       3b484cb8347e  aws-0.25.3/Aws/Ses/Commands/ListIdentities.hs
-formatted       147fb92b671d  aws-0.25.3/Aws/Ses/Commands/SendRawEmail.hs
-formatted       c04b0e5d6ba3  aws-0.25.3/Aws/Ses/Commands/SetIdentityDkimEnabled.hs
-formatted       a32e25c2dc37  aws-0.25.3/Aws/Ses/Commands/SetIdentityFeedbackForwardingEnabled.hs
-formatted       b262146aced4  aws-0.25.3/Aws/Ses/Commands/SetIdentityNotificationTopic.hs
-formatted       2ef608635aeb  aws-0.25.3/Aws/Ses/Commands/VerifyDomainDkim.hs
-formatted       ffb19c08b235  aws-0.25.3/Aws/Ses/Commands/VerifyDomainIdentity.hs
-formatted       de43062d4755  aws-0.25.3/Aws/Ses/Commands/VerifyEmailIdentity.hs
-formatted       a8b78f720f02  aws-0.25.3/Aws/Ses/Core.hs
-formatted       4115c76b6f3d  aws-0.25.3/Aws/SimpleDb.hs
-formatted       0b6040677d6d  aws-0.25.3/Aws/SimpleDb/Commands.hs
-formatted       30e4762ca046  aws-0.25.3/Aws/SimpleDb/Commands/Attributes.hs
-formatted       2f311cda5b86  aws-0.25.3/Aws/SimpleDb/Commands/Domain.hs
-formatted       d6accda5efc3  aws-0.25.3/Aws/SimpleDb/Commands/Select.hs
-formatted       75d5726cf334  aws-0.25.3/Aws/SimpleDb/Core.hs
-formatted       412e7ea774c8  aws-0.25.3/Aws/Sqs.hs
-formatted       346f822a2760  aws-0.25.3/Aws/Sqs/Commands.hs
-formatted       a5744e9dccb8  aws-0.25.3/Aws/Sqs/Commands/Message.hs
-formatted       cf945609c0a3  aws-0.25.3/Aws/Sqs/Commands/Permission.hs
-formatted       a63871aa35df  aws-0.25.3/Aws/Sqs/Commands/Queue.hs
-formatted       6fbdfbc403cf  aws-0.25.3/Aws/Sqs/Commands/QueueAttributes.hs
-formatted       ffc8850066c4  aws-0.25.3/Aws/Sqs/Core.hs
-formatted       edf61ab9d90d  aws-0.25.3/Examples/DynamoDb.hs
-formatted       aa1fdefebee6  aws-0.25.3/Examples/GetObject.hs
-formatted       6a4e3eea6653  aws-0.25.3/Examples/GetObjectGoogle.hs
-formatted       94c0a4242cce  aws-0.25.3/Examples/GetObjectV4.hs
-formatted       5762e0f1fddf  aws-0.25.3/Examples/MultipartTransfer.hs
-formatted       c09c03a39390  aws-0.25.3/Examples/MultipartUpload.hs
-formatted       f8163e1e4473  aws-0.25.3/Examples/NukeBucket.hs
-formatted       34698069cedb  aws-0.25.3/Examples/PutBucketNearLine.hs
-formatted       9ad36fcdaae7  aws-0.25.3/Examples/SimpleDb.hs
-formatted       c31e8b7adbf5  aws-0.25.3/Examples/Sqs.hs
-formatted       e865ae48f11b  aws-0.25.3/Setup.hs
-formatted       354bb309a68c  aws-0.25.3/tests/DynamoDb/Main.hs
-formatted       75daea597c6a  aws-0.25.3/tests/DynamoDb/Utils.hs
-formatted       5886bbdd46c9  aws-0.25.3/tests/S3/Main.hs
-formatted       44336eea1e26  aws-0.25.3/tests/Sqs/Main.hs
-formatted       001f1d1eb163  aws-0.25.3/tests/Utils.hs
-formatted       10172e7983b9  base64-bytestring-1.2.1.0/Data/ByteString/Base64.hs
-formatted       8d1de483b9c4  base64-bytestring-1.2.1.0/Data/ByteString/Base64/Internal.hs
-formatted       20780be77581  base64-bytestring-1.2.1.0/Data/ByteString/Base64/Lazy.hs
-formatted       efdde917444c  base64-bytestring-1.2.1.0/Data/ByteString/Base64/URL.hs
-formatted       4ea9b39db86f  base64-bytestring-1.2.1.0/Data/ByteString/Base64/URL/Lazy.hs
-formatted       e865ae48f11b  base64-bytestring-1.2.1.0/Setup.hs
-formatted       0328dc0c3c7c  base64-bytestring-1.2.1.0/benchmarks/BM.hs
-formatted       e856b328c01f  base64-bytestring-1.2.1.0/tests/Tests.hs
-formatted       d41a83550f57  base64-bytestring-1.2.1.0/utils/Transcode.hs
-formatted       77e2e9cc64d0  bifunctors-5.6.3/src/Data/Biapplicative.hs
-formatted       463448893cde  bifunctors-5.6.3/src/Data/Bifunctor/Biap.hs
-formatted       9705f6a45db6  bifunctors-5.6.3/src/Data/Bifunctor/Biff.hs
-formatted       738f47d063bd  bifunctors-5.6.3/src/Data/Bifunctor/Clown.hs
-formatted       6d43dacbcc13  bifunctors-5.6.3/src/Data/Bifunctor/Fix.hs
-formatted       a1ca106ac715  bifunctors-5.6.3/src/Data/Bifunctor/Flip.hs
-formatted       3ac44f1c96ed  bifunctors-5.6.3/src/Data/Bifunctor/Functor.hs
-formatted       33b8fe550adc  bifunctors-5.6.3/src/Data/Bifunctor/Join.hs
-formatted       bc37198ad9bd  bifunctors-5.6.3/src/Data/Bifunctor/Joker.hs
-formatted       d60de274f1df  bifunctors-5.6.3/src/Data/Bifunctor/Product.hs
-formatted       a4989781f0a5  bifunctors-5.6.3/src/Data/Bifunctor/Sum.hs
-formatted       8ecbbdb05494  bifunctors-5.6.3/src/Data/Bifunctor/TH.hs
-formatted       8a200a94a208  bifunctors-5.6.3/src/Data/Bifunctor/TH/Internal.hs
-formatted       4a12830ba36a  bifunctors-5.6.3/src/Data/Bifunctor/Tannen.hs
-formatted       34520394097f  bifunctors-5.6.3/src/Data/Bifunctor/Wrapped.hs
-formatted       de9492bff0dd  bifunctors-5.6.3/tests/BifunctorSpec.hs
-formatted       2fbd14b119a4  bifunctors-5.6.3/tests/Spec.hs
-formatted       6fd640c12d5f  bifunctors-5.6.3/tests/T89Spec.hs
-formatted       e865ae48f11b  blaze-html-0.9.2.0/Setup.hs
-formatted       59b1e28dc18c  blaze-html-0.9.2.0/src/Text/Blaze/Html.hs
-formatted       1ceaed7998ed  blaze-html-0.9.2.0/src/Text/Blaze/Html/Renderer/Pretty.hs
-formatted       a5a8080ce8a3  blaze-html-0.9.2.0/src/Text/Blaze/Html/Renderer/String.hs
-formatted       850270b61be0  blaze-html-0.9.2.0/src/Text/Blaze/Html/Renderer/Text.hs
-formatted       4dbd824fb533  blaze-html-0.9.2.0/src/Text/Blaze/Html/Renderer/Utf8.hs
-formatted       5e258befef8e  blaze-html-0.9.2.0/src/Text/Blaze/Html4/FrameSet.hs
-formatted       5ab115425aed  blaze-html-0.9.2.0/src/Text/Blaze/Html4/FrameSet/Attributes.hs
-formatted       7517c4bbb05f  blaze-html-0.9.2.0/src/Text/Blaze/Html4/Strict.hs
-formatted       9a73c54deacd  blaze-html-0.9.2.0/src/Text/Blaze/Html4/Strict/Attributes.hs
-formatted       9721ce554a4c  blaze-html-0.9.2.0/src/Text/Blaze/Html4/Transitional.hs
-formatted       75be709205b0  blaze-html-0.9.2.0/src/Text/Blaze/Html4/Transitional/Attributes.hs
-formatted       b2f0979466af  blaze-html-0.9.2.0/src/Text/Blaze/Html5.hs
-formatted       3420ac527327  blaze-html-0.9.2.0/src/Text/Blaze/Html5/Attributes.hs
-formatted       d9f56c685af9  blaze-html-0.9.2.0/src/Text/Blaze/XHtml1/FrameSet.hs
-formatted       09a6f96a1be3  blaze-html-0.9.2.0/src/Text/Blaze/XHtml1/FrameSet/Attributes.hs
-formatted       c7c2fa81d430  blaze-html-0.9.2.0/src/Text/Blaze/XHtml1/Strict.hs
-formatted       086efaea2971  blaze-html-0.9.2.0/src/Text/Blaze/XHtml1/Strict/Attributes.hs
-formatted       2946441f3f2e  blaze-html-0.9.2.0/src/Text/Blaze/XHtml1/Transitional.hs
-formatted       b29187a6e8d9  blaze-html-0.9.2.0/src/Text/Blaze/XHtml1/Transitional/Attributes.hs
-formatted       962f60fb6c39  blaze-html-0.9.2.0/src/Text/Blaze/XHtml5.hs
-formatted       27afcac28ac7  blaze-html-0.9.2.0/src/Text/Blaze/XHtml5/Attributes.hs
-formatted       6a3eeb3e9d8b  blaze-html-0.9.2.0/src/Util/GenerateHtmlCombinators.hs
-formatted       c350d72adcf6  blaze-html-0.9.2.0/src/Util/Sanitize.hs
-formatted       3b0e5b5fbcb0  blaze-html-0.9.2.0/tests/TestSuite.hs
-formatted       e2943235e42d  blaze-html-0.9.2.0/tests/Text/Blaze/Html/Tests.hs
-formatted       9dae0554f33d  blaze-html-0.9.2.0/tests/Text/Blaze/Html/Tests/Util.hs
-formatted       c858d7e158e9  blaze-html-0.9.2.0/tests/Util/Tests.hs
-formatted       e865ae48f11b  blaze-markup-0.8.3.0/Setup.hs
-formatted       ed41f6214fd8  blaze-markup-0.8.3.0/src/Text/Blaze.hs
-formatted       441c6539f94e  blaze-markup-0.8.3.0/src/Text/Blaze/Internal.hs
-formatted       4846f41adc9e  blaze-markup-0.8.3.0/src/Text/Blaze/Renderer/Pretty.hs
-formatted       2e54745ce84a  blaze-markup-0.8.3.0/src/Text/Blaze/Renderer/String.hs
-formatted       8bb5a6b40341  blaze-markup-0.8.3.0/src/Text/Blaze/Renderer/Text.hs
-formatted       0098c6011b82  blaze-markup-0.8.3.0/src/Text/Blaze/Renderer/Utf8.hs
-formatted       c7292f26d075  blaze-markup-0.8.3.0/tests/TestSuite.hs
-formatted       efa997a477e9  blaze-markup-0.8.3.0/tests/Text/Blaze/Tests.hs
-formatted       e6ac9555645c  blaze-markup-0.8.3.0/tests/Text/Blaze/Tests/Util.hs
-formatted       e865ae48f11b  brick-2.13/Setup.hs
-formatted       2eb9ed1b5eff  brick-2.13/programs/AnimationDemo.hs
-formatted       5d807c6bfef9  brick-2.13/programs/AttrDemo.hs
-formatted       efff9829e309  brick-2.13/programs/BorderDemo.hs
-formatted       aef958fe74cd  brick-2.13/programs/CacheDemo.hs
-formatted       095e55ce36f6  brick-2.13/programs/CroppingDemo.hs
-formatted       2bd41626b7f1  brick-2.13/programs/CustomEventDemo.hs
-formatted       74968af52af2  brick-2.13/programs/CustomKeybindingDemo.hs
-formatted       8438ad4ac269  brick-2.13/programs/DialogDemo.hs
-formatted       70a751a6fa70  brick-2.13/programs/DynamicBorderDemo.hs
-formatted       464ea19b0d91  brick-2.13/programs/EditDemo.hs
-formatted       4cce67dc7675  brick-2.13/programs/EditorLineNumbersDemo.hs
-formatted       cb441c25368f  brick-2.13/programs/FileBrowserDemo.hs
-formatted       f42c468e824d  brick-2.13/programs/FillDemo.hs
-formatted       c4c35fd7ec81  brick-2.13/programs/FormDemo.hs
-formatted       ccec85b0d210  brick-2.13/programs/HelloWorldDemo.hs
-formatted       df3c26970095  brick-2.13/programs/LayerDemo.hs
-formatted       f010e64931de  brick-2.13/programs/ListDemo.hs
-formatted       72b3c637e7a9  brick-2.13/programs/ListViDemo.hs
-formatted       79a27a0bcb66  brick-2.13/programs/MouseDemo.hs
-formatted       07bae652c697  brick-2.13/programs/PaddingDemo.hs
-formatted       004a2e91363a  brick-2.13/programs/ProgressBarDemo.hs
-formatted       663c2424c9c5  brick-2.13/programs/ReadmeDemo.hs
-formatted       ae2bca4be4b6  brick-2.13/programs/SuspendAndResumeDemo.hs
-formatted       da922e788566  brick-2.13/programs/TableDemo.hs
-formatted       4475181f29de  brick-2.13/programs/TabularListDemo.hs
-formatted       b7e39f0a8d19  brick-2.13/programs/TailDemo.hs
-formatted       3b76b7057152  brick-2.13/programs/TextWrapDemo.hs
-formatted       4539be6276d5  brick-2.13/programs/ThemeDemo.hs
-formatted       2c64cf0649ba  brick-2.13/programs/ViewportScrollDemo.hs
-formatted       c72281d04a63  brick-2.13/programs/ViewportScrollbarsDemo.hs
-formatted       e2bd645f4c8a  brick-2.13/programs/VisibilityDemo.hs
-formatted       0abc07286e47  brick-2.13/src/Brick.hs
-formatted       4fa9b0a82833  brick-2.13/src/Brick/Animation.hs
-formatted       deb1866c9333  brick-2.13/src/Brick/Animation/Clock.hs
-formatted       91b158ee4b8a  brick-2.13/src/Brick/AttrMap.hs
-formatted       13c109f25eb8  brick-2.13/src/Brick/BChan.hs
-formatted       571007a8c984  brick-2.13/src/Brick/BorderMap.hs
-formatted       7aa4818185b3  brick-2.13/src/Brick/Focus.hs
-formatted       625bef2068d0  brick-2.13/src/Brick/Forms.hs
-formatted       d6c2a2e1b0a0  brick-2.13/src/Brick/Keybindings.hs
-formatted       f2e06c7c9f62  brick-2.13/src/Brick/Keybindings/KeyConfig.hs
-formatted       0d7739277f36  brick-2.13/src/Brick/Keybindings/KeyDispatcher.hs
-formatted       10682f468a33  brick-2.13/src/Brick/Keybindings/KeyEvents.hs
-formatted       20d38a2fef1c  brick-2.13/src/Brick/Keybindings/Normalize.hs
-formatted       422ce68b006b  brick-2.13/src/Brick/Keybindings/Parse.hs
-formatted       500582ecf6a0  brick-2.13/src/Brick/Keybindings/Pretty.hs
-formatted       03d2579eec1e  brick-2.13/src/Brick/Main.hs
-formatted       74d114b85be0  brick-2.13/src/Brick/Themes.hs
-formatted       af2489bd5835  brick-2.13/src/Brick/Types.hs
-formatted       e45b8d9f62c9  brick-2.13/src/Brick/Types/Common.hs
-formatted       6c4a2a56a02a  brick-2.13/src/Brick/Types/EventM.hs
-formatted       680c7fc4c12b  brick-2.13/src/Brick/Types/Internal.hs
-formatted       81c674829568  brick-2.13/src/Brick/Types/TH.hs
-formatted       02b0e53f451c  brick-2.13/src/Brick/Util.hs
-formatted       cba7b18b8f68  brick-2.13/src/Brick/Widgets/Border.hs
-formatted       89894b08f498  brick-2.13/src/Brick/Widgets/Border/Style.hs
-formatted       e3b47970aba1  brick-2.13/src/Brick/Widgets/Center.hs
-formatted       d864d6f5529c  brick-2.13/src/Brick/Widgets/Core.hs
-formatted       2da08c79b932  brick-2.13/src/Brick/Widgets/Dialog.hs
-formatted       c71ef0bf6ec5  brick-2.13/src/Brick/Widgets/Edit.hs
-formatted       b718a3a76032  brick-2.13/src/Brick/Widgets/FileBrowser.hs
-formatted       d879be7d89bd  brick-2.13/src/Brick/Widgets/Internal.hs
-formatted       f35028306876  brick-2.13/src/Brick/Widgets/List.hs
-formatted       45273510047b  brick-2.13/src/Brick/Widgets/ProgressBar.hs
-formatted       891b88a55449  brick-2.13/src/Brick/Widgets/Table.hs
-formatted       4c3f2bfed619  brick-2.13/src/Data/IMap.hs
-formatted       15733bb95234  brick-2.13/tests/List.hs
-formatted       2e6ed8d0e976  brick-2.13/tests/Main.hs
-formatted       073f01c2462e  brick-2.13/tests/Render.hs
-formatted       e0fa5e2b222c  brittany-0.14.0.2/data/Test1.hs
-formatted       a7fed1125f29  brittany-0.14.0.2/data/Test10.hs
-formatted       dd2db552d155  brittany-0.14.0.2/data/Test100.hs
-formatted       3ebccae4d2bf  brittany-0.14.0.2/data/Test101.hs
-formatted       000b618097d0  brittany-0.14.0.2/data/Test102.hs
-formatted       26845ab84f6a  brittany-0.14.0.2/data/Test103.hs
-formatted       25cf4c76ed6b  brittany-0.14.0.2/data/Test104.hs
-formatted       bac120fe0092  brittany-0.14.0.2/data/Test105.hs
-formatted       e29d7ffca93f  brittany-0.14.0.2/data/Test106.hs
-formatted       0b6e06bf2c23  brittany-0.14.0.2/data/Test107.hs
-formatted       eda42fe4d65b  brittany-0.14.0.2/data/Test108.hs
-formatted       9ce1b7bc7832  brittany-0.14.0.2/data/Test109.hs
-formatted       c7d09069af77  brittany-0.14.0.2/data/Test11.hs
-formatted       61661f795457  brittany-0.14.0.2/data/Test110.hs
-formatted       37d78f5961ec  brittany-0.14.0.2/data/Test111.hs
-formatted       1e4bb8275bfb  brittany-0.14.0.2/data/Test112.hs
-formatted       8cda89e87702  brittany-0.14.0.2/data/Test113.hs
-formatted       751bfd56bc69  brittany-0.14.0.2/data/Test114.hs
-formatted       5078888fc5d2  brittany-0.14.0.2/data/Test115.hs
-formatted       3fdf3b074d25  brittany-0.14.0.2/data/Test116.hs
-formatted       15ad0c63e705  brittany-0.14.0.2/data/Test117.hs
-formatted       77f7ec9848cd  brittany-0.14.0.2/data/Test118.hs
-formatted       2a994aca8970  brittany-0.14.0.2/data/Test119.hs
-formatted       624becd3f674  brittany-0.14.0.2/data/Test12.hs
-formatted       5bbfe94a03d4  brittany-0.14.0.2/data/Test120.hs
-formatted       01ac88bcab1a  brittany-0.14.0.2/data/Test121.hs
-formatted       057f0ce3ffb0  brittany-0.14.0.2/data/Test122.hs
-formatted       661f6da49632  brittany-0.14.0.2/data/Test123.hs
-formatted       fb20151cec71  brittany-0.14.0.2/data/Test124.hs
-formatted       dd6fcdfeb27c  brittany-0.14.0.2/data/Test125.hs
-formatted       1b2ef1cfadaa  brittany-0.14.0.2/data/Test126.hs
-formatted       ba626fdd4fa3  brittany-0.14.0.2/data/Test127.hs
-formatted       bec0f8aa554d  brittany-0.14.0.2/data/Test128.hs
-formatted       f712d9c961eb  brittany-0.14.0.2/data/Test129.hs
-formatted       79735ec00a3d  brittany-0.14.0.2/data/Test13.hs
-formatted       f808d5477ba7  brittany-0.14.0.2/data/Test130.hs
-formatted       2372bf2e1670  brittany-0.14.0.2/data/Test131.hs
-formatted       c6526aabb3c3  brittany-0.14.0.2/data/Test132.hs
-formatted       5287afc100b5  brittany-0.14.0.2/data/Test133.hs
-formatted       cbf28cc3de46  brittany-0.14.0.2/data/Test134.hs
-formatted       e9f15a2df4fd  brittany-0.14.0.2/data/Test135.hs
-formatted       d40ccadec39d  brittany-0.14.0.2/data/Test136.hs
-formatted       e8b4564e3bfa  brittany-0.14.0.2/data/Test137.hs
-formatted       ddbd7b880898  brittany-0.14.0.2/data/Test138.hs
-formatted       4ce9b0b36ac2  brittany-0.14.0.2/data/Test139.hs
-formatted       bb31ea72e15c  brittany-0.14.0.2/data/Test14.hs
-formatted       f04daeaa79e9  brittany-0.14.0.2/data/Test140.hs
-formatted       3f2c0367c6f9  brittany-0.14.0.2/data/Test141.hs
-formatted       edb875329172  brittany-0.14.0.2/data/Test142.hs
-formatted       fa53ce7f455d  brittany-0.14.0.2/data/Test143.hs
-formatted       1c5e166b5b3c  brittany-0.14.0.2/data/Test144.hs
-formatted       412dc562e63e  brittany-0.14.0.2/data/Test145.hs
-formatted       6594ac0ac89d  brittany-0.14.0.2/data/Test146.hs
-formatted       0132945dc887  brittany-0.14.0.2/data/Test147.hs
-formatted       0277bb5ca795  brittany-0.14.0.2/data/Test148.hs
-formatted       cbbb9e8ddafa  brittany-0.14.0.2/data/Test149.hs
-formatted       9db344b52a25  brittany-0.14.0.2/data/Test15.hs
-formatted       d29a46b01b30  brittany-0.14.0.2/data/Test150.hs
-formatted       d4d803460298  brittany-0.14.0.2/data/Test151.hs
-formatted       a36d7b2912f5  brittany-0.14.0.2/data/Test152.hs
-formatted       ea0b611491be  brittany-0.14.0.2/data/Test153.hs
-formatted       6607ab7d8924  brittany-0.14.0.2/data/Test154.hs
-formatted       66cbd556135d  brittany-0.14.0.2/data/Test155.hs
-formatted       129e56afdeb6  brittany-0.14.0.2/data/Test156.hs
-formatted       57f3fe7514c4  brittany-0.14.0.2/data/Test157.hs
-formatted       46b61e3c8952  brittany-0.14.0.2/data/Test158.hs
-formatted       d8fde995e15b  brittany-0.14.0.2/data/Test159.hs
-formatted       b65a3702395c  brittany-0.14.0.2/data/Test16.hs
-formatted       424434aeac60  brittany-0.14.0.2/data/Test160.hs
-formatted       756b8d709d75  brittany-0.14.0.2/data/Test161.hs
-formatted       fb931ccfd1e4  brittany-0.14.0.2/data/Test162.hs
-formatted       85db961eab6d  brittany-0.14.0.2/data/Test163.hs
-formatted       7c1bca51eb76  brittany-0.14.0.2/data/Test164.hs
-formatted       1d7b340799de  brittany-0.14.0.2/data/Test165.hs
-formatted       660e2a8d17c4  brittany-0.14.0.2/data/Test166.hs
-formatted       9034e094d375  brittany-0.14.0.2/data/Test167.hs
-formatted       d8056c8b2928  brittany-0.14.0.2/data/Test168.hs
-formatted       cd8fce2bda23  brittany-0.14.0.2/data/Test169.hs
-formatted       bce8e4d3c9ba  brittany-0.14.0.2/data/Test17.hs
-formatted       b9c1ba677274  brittany-0.14.0.2/data/Test170.hs
-formatted       0e3393c84d9e  brittany-0.14.0.2/data/Test171.hs
-formatted       afe61a6d3b7e  brittany-0.14.0.2/data/Test172.hs
-formatted       c651a0d78d61  brittany-0.14.0.2/data/Test173.hs
-formatted       893e9047ccc9  brittany-0.14.0.2/data/Test174.hs
-formatted       44a807f3c420  brittany-0.14.0.2/data/Test175.hs
-formatted       ceb23c285e78  brittany-0.14.0.2/data/Test176.hs
-formatted       2cc15cb26130  brittany-0.14.0.2/data/Test177.hs
-formatted       47771349ee44  brittany-0.14.0.2/data/Test178.hs
-formatted       fe3c3245408d  brittany-0.14.0.2/data/Test179.hs
-formatted       674dab4fdbcb  brittany-0.14.0.2/data/Test18.hs
-formatted       c68cfb31f575  brittany-0.14.0.2/data/Test180.hs
-formatted       e6325e11af38  brittany-0.14.0.2/data/Test181.hs
-formatted       42d9bc7fc2ce  brittany-0.14.0.2/data/Test182.hs
-formatted       a1e86d78ee32  brittany-0.14.0.2/data/Test183.hs
-formatted       88ddfc17a44e  brittany-0.14.0.2/data/Test184.hs
-formatted       f6c7f8ad0585  brittany-0.14.0.2/data/Test185.hs
-formatted       5016aa65eeae  brittany-0.14.0.2/data/Test186.hs
-formatted       1f6812c3d99f  brittany-0.14.0.2/data/Test187.hs
-formatted       a063a95ec0b5  brittany-0.14.0.2/data/Test188.hs
-formatted       67c40f7b42e6  brittany-0.14.0.2/data/Test189.hs
-formatted       1b68494e9013  brittany-0.14.0.2/data/Test19.hs
-formatted       96f1ef06a2f4  brittany-0.14.0.2/data/Test190.hs
-formatted       a063a95ec0b5  brittany-0.14.0.2/data/Test191.hs
-formatted       dc32174d8f9d  brittany-0.14.0.2/data/Test192.hs
-formatted       b35395abfd05  brittany-0.14.0.2/data/Test193.hs
-formatted       4d5ddfd8aaab  brittany-0.14.0.2/data/Test194.hs
-formatted       8bb98e83f59e  brittany-0.14.0.2/data/Test195.hs
-formatted       45232601b2c3  brittany-0.14.0.2/data/Test196.hs
-formatted       bdc233fea9ba  brittany-0.14.0.2/data/Test197.hs
-formatted       9ce65738e093  brittany-0.14.0.2/data/Test198.hs
-formatted       eec0cab9f980  brittany-0.14.0.2/data/Test199.hs
-formatted       31b2046f8a67  brittany-0.14.0.2/data/Test2.hs
-formatted       a7a0e1c03060  brittany-0.14.0.2/data/Test20.hs
-formatted       d2a7653b9ba4  brittany-0.14.0.2/data/Test200.hs
-formatted       585cd696f310  brittany-0.14.0.2/data/Test201.hs
-formatted       8bba3630cd88  brittany-0.14.0.2/data/Test202.hs
-formatted       bad4c6d83d4f  brittany-0.14.0.2/data/Test203.hs
-formatted       4ce40055a31c  brittany-0.14.0.2/data/Test204.hs
-formatted       be6b7a8883f5  brittany-0.14.0.2/data/Test205.hs
-formatted       8e7d7929e338  brittany-0.14.0.2/data/Test206.hs
-formatted       3e6a91618060  brittany-0.14.0.2/data/Test207.hs
-formatted       59f9efb3349d  brittany-0.14.0.2/data/Test208.hs
-formatted       79081f0fe37d  brittany-0.14.0.2/data/Test209.hs
-formatted       b383b15d82f0  brittany-0.14.0.2/data/Test21.hs
-formatted       4f8c82f9b51b  brittany-0.14.0.2/data/Test210.hs
-formatted       210d2b918c18  brittany-0.14.0.2/data/Test211.hs
-formatted       d8fb0486ae8c  brittany-0.14.0.2/data/Test212.hs
-formatted       e75e1dd08970  brittany-0.14.0.2/data/Test213.hs
-formatted       43a86c48e3e0  brittany-0.14.0.2/data/Test214.hs
-formatted       ccd8170ddd1c  brittany-0.14.0.2/data/Test215.hs
-formatted       d9d08f97d6ce  brittany-0.14.0.2/data/Test216.hs
-formatted       ee242f311cec  brittany-0.14.0.2/data/Test217.hs
-formatted       2c1a4f8388c7  brittany-0.14.0.2/data/Test218.hs
-formatted       77521cf0255b  brittany-0.14.0.2/data/Test219.hs
-formatted       df6920225c3e  brittany-0.14.0.2/data/Test22.hs
-formatted       6912b515f3d4  brittany-0.14.0.2/data/Test220.hs
-formatted       7e87f164cb90  brittany-0.14.0.2/data/Test221.hs
-formatted       d7e0783e5c83  brittany-0.14.0.2/data/Test222.hs
-formatted       ac59786a0059  brittany-0.14.0.2/data/Test223.hs
-formatted       f4b2c131b776  brittany-0.14.0.2/data/Test224.hs
-formatted       fc2a39383602  brittany-0.14.0.2/data/Test225.hs
-formatted       0a2523228f93  brittany-0.14.0.2/data/Test226.hs
-formatted       228fee2942c2  brittany-0.14.0.2/data/Test227.hs
-formatted       911d30954d07  brittany-0.14.0.2/data/Test228.hs
-formatted       2f660f4ac662  brittany-0.14.0.2/data/Test229.hs
-formatted       fbc349a18ac2  brittany-0.14.0.2/data/Test23.hs
-formatted       a7a3d4cdb042  brittany-0.14.0.2/data/Test230.hs
-formatted       8213e25c0010  brittany-0.14.0.2/data/Test231.hs
-formatted       cf2c7ac7b851  brittany-0.14.0.2/data/Test232.hs
-formatted       60e66feea926  brittany-0.14.0.2/data/Test233.hs
-formatted       b6113299b5da  brittany-0.14.0.2/data/Test234.hs
-formatted       661c1fe894fb  brittany-0.14.0.2/data/Test235.hs
-formatted       57f09569ac82  brittany-0.14.0.2/data/Test236.hs
-formatted       0dfd55915ad3  brittany-0.14.0.2/data/Test237.hs
-formatted       4bc18bfc8664  brittany-0.14.0.2/data/Test238.hs
-formatted       f1066c5f9396  brittany-0.14.0.2/data/Test239.hs
-formatted       d0c0b62e11ea  brittany-0.14.0.2/data/Test24.hs
-formatted       a51ff778ca0c  brittany-0.14.0.2/data/Test240.hs
-formatted       6f66ff6e7884  brittany-0.14.0.2/data/Test241.hs
-formatted       7526d4749124  brittany-0.14.0.2/data/Test242.hs
-formatted       d600bfded86f  brittany-0.14.0.2/data/Test243.hs
-formatted       19618fd51fab  brittany-0.14.0.2/data/Test244.hs
-formatted       03cd50abedcb  brittany-0.14.0.2/data/Test245.hs
-formatted       676a58886eb0  brittany-0.14.0.2/data/Test246.hs
-formatted       86d72bb559bc  brittany-0.14.0.2/data/Test247.hs
-formatted       15d8e562989b  brittany-0.14.0.2/data/Test248.hs
-formatted       95a821921e97  brittany-0.14.0.2/data/Test249.hs
-formatted       372e384be5d9  brittany-0.14.0.2/data/Test25.hs
-formatted       c8b79c319e1b  brittany-0.14.0.2/data/Test250.hs
-formatted       9e983a1c88d0  brittany-0.14.0.2/data/Test251.hs
-formatted       e25fa77a311d  brittany-0.14.0.2/data/Test252.hs
-formatted       2abc462210d7  brittany-0.14.0.2/data/Test253.hs
-formatted       3dab93bb6c11  brittany-0.14.0.2/data/Test254.hs
-formatted       f91c2de89707  brittany-0.14.0.2/data/Test255.hs
-formatted       fc8afe1bc2d8  brittany-0.14.0.2/data/Test256.hs
-formatted       4b1d0ac4424f  brittany-0.14.0.2/data/Test257.hs
-formatted       a9cbb8a905a0  brittany-0.14.0.2/data/Test258.hs
-formatted       7c0c18756066  brittany-0.14.0.2/data/Test259.hs
-formatted       a9993e322f84  brittany-0.14.0.2/data/Test26.hs
-formatted       bd4ad74e5ad1  brittany-0.14.0.2/data/Test260.hs
-formatted       40147eb0ec0f  brittany-0.14.0.2/data/Test261.hs
-formatted       3821b5d35161  brittany-0.14.0.2/data/Test262.hs
-formatted       fd9a1453387e  brittany-0.14.0.2/data/Test263.hs
-formatted       b7281c5fb795  brittany-0.14.0.2/data/Test264.hs
-formatted       d815db72d171  brittany-0.14.0.2/data/Test265.hs
-formatted       e1e74708d396  brittany-0.14.0.2/data/Test266.hs
-formatted       7a35a02bb934  brittany-0.14.0.2/data/Test267.hs
-formatted       0ca543b36b5d  brittany-0.14.0.2/data/Test268.hs
-formatted       93850bc1adc9  brittany-0.14.0.2/data/Test269.hs
-formatted       b82004f9b520  brittany-0.14.0.2/data/Test27.hs
-formatted       0465690dd788  brittany-0.14.0.2/data/Test270.hs
-formatted       8da0ed8508b1  brittany-0.14.0.2/data/Test271.hs
-formatted       059cb60e3ffb  brittany-0.14.0.2/data/Test272.hs
-formatted       ce7c5a9f7346  brittany-0.14.0.2/data/Test273.hs
-formatted       cf3d3b9f17a4  brittany-0.14.0.2/data/Test274.hs
-formatted       af0ca8a4b396  brittany-0.14.0.2/data/Test275.hs
-formatted       f54d68eb932d  brittany-0.14.0.2/data/Test276.hs
-formatted       5280a70aa08d  brittany-0.14.0.2/data/Test277.hs
-formatted       42b39ee183e6  brittany-0.14.0.2/data/Test278.hs
-formatted       9a6ca39add52  brittany-0.14.0.2/data/Test279.hs
-formatted       35c64cf444f0  brittany-0.14.0.2/data/Test28.hs
-formatted       2c62cf845c15  brittany-0.14.0.2/data/Test280.hs
-formatted       6582acde6803  brittany-0.14.0.2/data/Test281.hs
-formatted       d69c5a291173  brittany-0.14.0.2/data/Test282.hs
-formatted       dad1fa89cc7b  brittany-0.14.0.2/data/Test283.hs
-formatted       61ba8c0a1014  brittany-0.14.0.2/data/Test284.hs
-formatted       dc5e12a45407  brittany-0.14.0.2/data/Test285.hs
-formatted       dc5e12a45407  brittany-0.14.0.2/data/Test286.hs
-formatted       e73001f7bfd5  brittany-0.14.0.2/data/Test287.hs
-formatted       3fdaf4d18a7c  brittany-0.14.0.2/data/Test288.hs
-formatted       8472b4d5d119  brittany-0.14.0.2/data/Test289.hs
-formatted       4b4297a0f4c5  brittany-0.14.0.2/data/Test29.hs
-formatted       af881940fba6  brittany-0.14.0.2/data/Test290.hs
-formatted       6b8b53cb8029  brittany-0.14.0.2/data/Test291.hs
-formatted       afd400f5f5ca  brittany-0.14.0.2/data/Test292.hs
-formatted       dbd53f969525  brittany-0.14.0.2/data/Test293.hs
-formatted       8e4e40c43066  brittany-0.14.0.2/data/Test294.hs
-formatted       5378d8225be8  brittany-0.14.0.2/data/Test295.hs
-formatted       efa089fba7ce  brittany-0.14.0.2/data/Test296.hs
-formatted       f2528253489c  brittany-0.14.0.2/data/Test297.hs
-formatted       a71313de7a74  brittany-0.14.0.2/data/Test298.hs
-formatted       9c7a3513d329  brittany-0.14.0.2/data/Test299.hs
-formatted       e430aa9e3dac  brittany-0.14.0.2/data/Test3.hs
-formatted       b786e0a045c4  brittany-0.14.0.2/data/Test30.hs
-formatted       82411c11ab17  brittany-0.14.0.2/data/Test300.hs
-formatted       6578a96b238b  brittany-0.14.0.2/data/Test301.hs
-formatted       8cee95f91f47  brittany-0.14.0.2/data/Test302.hs
-formatted       01d16f13bc99  brittany-0.14.0.2/data/Test303.hs
-formatted       2f37bef49ce1  brittany-0.14.0.2/data/Test304.hs
-formatted       9d3e8b7bf639  brittany-0.14.0.2/data/Test305.hs
-formatted       20c63b9ecba6  brittany-0.14.0.2/data/Test306.hs
-formatted       348106878578  brittany-0.14.0.2/data/Test307.hs
-formatted       017f020a856d  brittany-0.14.0.2/data/Test308.hs
-formatted       980708cbb4c4  brittany-0.14.0.2/data/Test309.hs
-formatted       b7f73c7d2a34  brittany-0.14.0.2/data/Test31.hs
-formatted       3c2cc10d169b  brittany-0.14.0.2/data/Test310.hs
-formatted       66fcc75686ea  brittany-0.14.0.2/data/Test311.hs
-formatted       611a32da9261  brittany-0.14.0.2/data/Test312.hs
-formatted       e63f0b07266f  brittany-0.14.0.2/data/Test313.hs
-formatted       1801f39045ac  brittany-0.14.0.2/data/Test314.hs
-formatted       3e5aa0cbbf8d  brittany-0.14.0.2/data/Test315.hs
-formatted       77220193f4fd  brittany-0.14.0.2/data/Test316.hs
-formatted       681c70c26bdd  brittany-0.14.0.2/data/Test317.hs
-formatted       c9b19f55338f  brittany-0.14.0.2/data/Test318.hs
-formatted       fa83330d01a6  brittany-0.14.0.2/data/Test319.hs
-formatted       310b7bac3014  brittany-0.14.0.2/data/Test32.hs
-formatted       d911bbdfeb7f  brittany-0.14.0.2/data/Test320.hs
-formatted       1275e28eeb82  brittany-0.14.0.2/data/Test321.hs
-formatted       d51414b5c108  brittany-0.14.0.2/data/Test322.hs
-formatted       e318ac8aa564  brittany-0.14.0.2/data/Test323.hs
-formatted       f018e148e8d5  brittany-0.14.0.2/data/Test324.hs
-formatted       1d0af944da7b  brittany-0.14.0.2/data/Test325.hs
-formatted       5798a680c21f  brittany-0.14.0.2/data/Test326.hs
-formatted       023057e5ea2c  brittany-0.14.0.2/data/Test327.hs
-formatted       2341d88441d5  brittany-0.14.0.2/data/Test328.hs
-formatted       947d63282515  brittany-0.14.0.2/data/Test329.hs
-formatted       786cf111bdad  brittany-0.14.0.2/data/Test33.hs
-formatted       9dd64349f3ea  brittany-0.14.0.2/data/Test330.hs
-formatted       15292e5353c7  brittany-0.14.0.2/data/Test331.hs
-formatted       909ea0b219f8  brittany-0.14.0.2/data/Test332.hs
-formatted       2ad0ebe6ebb0  brittany-0.14.0.2/data/Test333.hs
-formatted       9b7204f946d7  brittany-0.14.0.2/data/Test334.hs
-formatted       10c6d64e6811  brittany-0.14.0.2/data/Test335.hs
-formatted       b2addef5d712  brittany-0.14.0.2/data/Test336.hs
-formatted       571c3cac2376  brittany-0.14.0.2/data/Test337.hs
-formatted       7ab714dc2fd3  brittany-0.14.0.2/data/Test338.hs
-formatted       0b6993151fe2  brittany-0.14.0.2/data/Test339.hs
-formatted       7056ebf6bcea  brittany-0.14.0.2/data/Test34.hs
-formatted       aed8c9d9f03b  brittany-0.14.0.2/data/Test340.hs
-formatted       c93ad9724528  brittany-0.14.0.2/data/Test341.hs
-formatted       1a162378043c  brittany-0.14.0.2/data/Test342.hs
-formatted       237c79a35514  brittany-0.14.0.2/data/Test343.hs
-formatted       5af677fa0a9b  brittany-0.14.0.2/data/Test344.hs
-formatted       abe1b659b346  brittany-0.14.0.2/data/Test345.hs
-formatted       3c1f80fba7f5  brittany-0.14.0.2/data/Test346.hs
-formatted       7f12720f2600  brittany-0.14.0.2/data/Test347.hs
-formatted       264cc0e7cf96  brittany-0.14.0.2/data/Test348.hs
-formatted       03a3efa0a75e  brittany-0.14.0.2/data/Test349.hs
-formatted       b7f73c7d2a34  brittany-0.14.0.2/data/Test35.hs
-formatted       726069a13358  brittany-0.14.0.2/data/Test350.hs
-formatted       a50f8646bfb1  brittany-0.14.0.2/data/Test351.hs
-formatted       849dab5ec39d  brittany-0.14.0.2/data/Test352.hs
-formatted       baedf91b8ccd  brittany-0.14.0.2/data/Test353.hs
-formatted       fcae903dc453  brittany-0.14.0.2/data/Test354.hs
-formatted       2637fe2659d5  brittany-0.14.0.2/data/Test355.hs
-formatted       65798192c40d  brittany-0.14.0.2/data/Test356.hs
-formatted       2cdb94cbf551  brittany-0.14.0.2/data/Test357.hs
-formatted       501e5f69073e  brittany-0.14.0.2/data/Test358.hs
-formatted       86bec0344083  brittany-0.14.0.2/data/Test359.hs
-formatted       987603d032ac  brittany-0.14.0.2/data/Test36.hs
-formatted       15308dc2dd01  brittany-0.14.0.2/data/Test360.hs
-formatted       0b2ad491920b  brittany-0.14.0.2/data/Test361.hs
-formatted       d9da88c7cdef  brittany-0.14.0.2/data/Test362.hs
-formatted       d9831cd6816b  brittany-0.14.0.2/data/Test363.hs
-formatted       1ae4a98bcc4a  brittany-0.14.0.2/data/Test364.hs
-formatted       ce4109a16e55  brittany-0.14.0.2/data/Test365.hs
-formatted       d16eae4aad20  brittany-0.14.0.2/data/Test366.hs
-formatted       b07954dfc9bf  brittany-0.14.0.2/data/Test367.hs
-formatted       45eeef287ee4  brittany-0.14.0.2/data/Test368.hs
-formatted       e61e587a6843  brittany-0.14.0.2/data/Test369.hs
-formatted       f500b3d5f559  brittany-0.14.0.2/data/Test37.hs
-formatted       08718fefbaf6  brittany-0.14.0.2/data/Test370.hs
-formatted       2fc71603e098  brittany-0.14.0.2/data/Test371.hs
-formatted       34177b9d84e3  brittany-0.14.0.2/data/Test372.hs
-formatted       5fa71c232724  brittany-0.14.0.2/data/Test373.hs
-formatted       f5fca966196b  brittany-0.14.0.2/data/Test374.hs
-formatted       a4d64bf7587b  brittany-0.14.0.2/data/Test375.hs
-formatted       14e2ed1f0f63  brittany-0.14.0.2/data/Test376.hs
-formatted       f5a4e0c1e34f  brittany-0.14.0.2/data/Test377.hs
-formatted       bddefc49765b  brittany-0.14.0.2/data/Test378.hs
-formatted       ea19c516bcbf  brittany-0.14.0.2/data/Test379.hs
-formatted       7335e7ca5bd3  brittany-0.14.0.2/data/Test38.hs
-formatted       d2ee555751f5  brittany-0.14.0.2/data/Test380.hs
-formatted       3823e3c2d919  brittany-0.14.0.2/data/Test381.hs
-formatted       80271da1e835  brittany-0.14.0.2/data/Test382.hs
-formatted       ed5f4e8c4709  brittany-0.14.0.2/data/Test383.hs
-formatted       d4963535df46  brittany-0.14.0.2/data/Test384.hs
-formatted       6ced47de66db  brittany-0.14.0.2/data/Test385.hs
-formatted       1570d72029b7  brittany-0.14.0.2/data/Test386.hs
-formatted       1416aa178cdb  brittany-0.14.0.2/data/Test387.hs
-formatted       edfafa8fb3e5  brittany-0.14.0.2/data/Test388.hs
-formatted       4e122b4b2697  brittany-0.14.0.2/data/Test389.hs
-formatted       6c58063d3fab  brittany-0.14.0.2/data/Test39.hs
-formatted       fac1b1c7f0c1  brittany-0.14.0.2/data/Test390.hs
-formatted       edfafa8fb3e5  brittany-0.14.0.2/data/Test391.hs
-formatted       b0d3ee7240ad  brittany-0.14.0.2/data/Test392.hs
-formatted       3742d5df31d3  brittany-0.14.0.2/data/Test393.hs
-formatted       28dd7a32aa13  brittany-0.14.0.2/data/Test394.hs
-formatted       91de5c22d799  brittany-0.14.0.2/data/Test395.hs
-formatted       15521d568177  brittany-0.14.0.2/data/Test396.hs
-formatted       bc632756e066  brittany-0.14.0.2/data/Test397.hs
-formatted       fc2de0dfca48  brittany-0.14.0.2/data/Test398.hs
-formatted       8294327ebf8b  brittany-0.14.0.2/data/Test399.hs
-formatted       c3cdd2cbcecc  brittany-0.14.0.2/data/Test4.hs
-formatted       c8a00284c5f4  brittany-0.14.0.2/data/Test40.hs
-formatted       e55074dcd689  brittany-0.14.0.2/data/Test400.hs
-formatted       4da9e5870180  brittany-0.14.0.2/data/Test401.hs
-formatted       74396290a673  brittany-0.14.0.2/data/Test402.hs
-formatted       d2fafd899e89  brittany-0.14.0.2/data/Test403.hs
-formatted       dede30d772d6  brittany-0.14.0.2/data/Test404.hs
-formatted       899e8af490d3  brittany-0.14.0.2/data/Test405.hs
-formatted       6a318c357310  brittany-0.14.0.2/data/Test406.hs
-formatted       183f062112e1  brittany-0.14.0.2/data/Test407.hs
-formatted       55c58dc8cf59  brittany-0.14.0.2/data/Test408.hs
-formatted       a04dc9525882  brittany-0.14.0.2/data/Test409.hs
-formatted       cdc2db1c8449  brittany-0.14.0.2/data/Test41.hs
-formatted       a59bda637fa1  brittany-0.14.0.2/data/Test410.hs
-formatted       c65e5f1f3ba5  brittany-0.14.0.2/data/Test411.hs
-formatted       462efbd02872  brittany-0.14.0.2/data/Test412.hs
-formatted       4fc4ab30dcc3  brittany-0.14.0.2/data/Test413.hs
-formatted       d9eab58246aa  brittany-0.14.0.2/data/Test414.hs
-formatted       3d11263d426e  brittany-0.14.0.2/data/Test415.hs
-formatted       dbbe7b5f2b24  brittany-0.14.0.2/data/Test416.hs
-formatted       099959230be5  brittany-0.14.0.2/data/Test417.hs
-formatted       056c3c85e1ce  brittany-0.14.0.2/data/Test418.hs
-formatted       bd3660de0717  brittany-0.14.0.2/data/Test419.hs
-formatted       e3f087db5440  brittany-0.14.0.2/data/Test42.hs
-formatted       821fd8910ac5  brittany-0.14.0.2/data/Test420.hs
-formatted       d9b47c23fec6  brittany-0.14.0.2/data/Test421.hs
-formatted       15fe8b3f5a9e  brittany-0.14.0.2/data/Test422.hs
-formatted       cafda87f90a6  brittany-0.14.0.2/data/Test423.hs
-formatted       7fa298da41f9  brittany-0.14.0.2/data/Test424.hs
-formatted       acddf7b49624  brittany-0.14.0.2/data/Test425.hs
-formatted       84cfb756f2f4  brittany-0.14.0.2/data/Test426.hs
-formatted       33c641a7a072  brittany-0.14.0.2/data/Test427.hs
-formatted       19772ef1090c  brittany-0.14.0.2/data/Test428.hs
-formatted       07a30e1c142f  brittany-0.14.0.2/data/Test429.hs
-formatted       6aa1c5a0086b  brittany-0.14.0.2/data/Test43.hs
-formatted       f5d76f5634f5  brittany-0.14.0.2/data/Test430.hs
-formatted       9aae587a1706  brittany-0.14.0.2/data/Test431.hs
-formatted       cab5eb48ea87  brittany-0.14.0.2/data/Test432.hs
-formatted       035c19e15e23  brittany-0.14.0.2/data/Test433.hs
-formatted       54c8c833912d  brittany-0.14.0.2/data/Test434.hs
-formatted       4b85517ecc64  brittany-0.14.0.2/data/Test435.hs
-formatted       ab4c449d67c6  brittany-0.14.0.2/data/Test436.hs
-formatted       9e0a9c4de4a7  brittany-0.14.0.2/data/Test437.hs
-formatted       22f3bbfaab9e  brittany-0.14.0.2/data/Test438.hs
-formatted       27ee3c3a9f1d  brittany-0.14.0.2/data/Test439.hs
-formatted       2369814e00a3  brittany-0.14.0.2/data/Test44.hs
-formatted       f114f80afa88  brittany-0.14.0.2/data/Test440.hs
-formatted       91959f72bf42  brittany-0.14.0.2/data/Test441.hs
-formatted       e100c133e0a6  brittany-0.14.0.2/data/Test442.hs
-formatted       a447fa310286  brittany-0.14.0.2/data/Test443.hs
-formatted       afb74691ba25  brittany-0.14.0.2/data/Test444.hs
-formatted       b04dcb13770d  brittany-0.14.0.2/data/Test445.hs
-formatted       005984004c81  brittany-0.14.0.2/data/Test446.hs
-formatted       519cfd48a90e  brittany-0.14.0.2/data/Test447.hs
-formatted       245fb4545054  brittany-0.14.0.2/data/Test448.hs
-formatted       036f126597a1  brittany-0.14.0.2/data/Test449.hs
-formatted       914e8892ce9f  brittany-0.14.0.2/data/Test45.hs
-formatted       dfae62440755  brittany-0.14.0.2/data/Test450.hs
-formatted       3d8e022d4ea8  brittany-0.14.0.2/data/Test451.hs
-formatted       204a8f956d01  brittany-0.14.0.2/data/Test452.hs
-formatted       3ae152eef9f8  brittany-0.14.0.2/data/Test453.hs
-formatted       dd5c2ba000d9  brittany-0.14.0.2/data/Test454.hs
-formatted       255bf40fcf81  brittany-0.14.0.2/data/Test455.hs
-formatted       186aedf45b55  brittany-0.14.0.2/data/Test456.hs
-formatted       00342a85f4ce  brittany-0.14.0.2/data/Test457.hs
-formatted       4d9ccb4d6155  brittany-0.14.0.2/data/Test458.hs
-formatted       33f453ac627f  brittany-0.14.0.2/data/Test459.hs
-formatted       65a9efd49258  brittany-0.14.0.2/data/Test46.hs
-formatted       dbfa4f771264  brittany-0.14.0.2/data/Test460.hs
-formatted       75bf53838e5c  brittany-0.14.0.2/data/Test461.hs
-formatted       5fde28db6063  brittany-0.14.0.2/data/Test462.hs
-formatted       ff5bcd3737f2  brittany-0.14.0.2/data/Test463.hs
-formatted       e30c0ff394dd  brittany-0.14.0.2/data/Test464.hs
-formatted       82f7c7fb716e  brittany-0.14.0.2/data/Test465.hs
-formatted       f59579bd97ca  brittany-0.14.0.2/data/Test466.hs
-formatted       5909971846f9  brittany-0.14.0.2/data/Test467.hs
-formatted       fe8bf0d3f053  brittany-0.14.0.2/data/Test468.hs
-formatted       79dd70b7320f  brittany-0.14.0.2/data/Test469.hs
-formatted       1983a10a25f3  brittany-0.14.0.2/data/Test47.hs
-formatted       271132ce279b  brittany-0.14.0.2/data/Test470.hs
-formatted       14a056182567  brittany-0.14.0.2/data/Test471.hs
-formatted       cbe652ef0cbb  brittany-0.14.0.2/data/Test472.hs
-formatted       3bf39beb5bf7  brittany-0.14.0.2/data/Test473.hs
-formatted       ac6e5e3c9b28  brittany-0.14.0.2/data/Test474.hs
-formatted       7752938de9c6  brittany-0.14.0.2/data/Test475.hs
-formatted       31b24587972c  brittany-0.14.0.2/data/Test476.hs
-formatted       a87acb3bdeb3  brittany-0.14.0.2/data/Test477.hs
-formatted       d489d082ed14  brittany-0.14.0.2/data/Test478.hs
-formatted       c97e29860d3d  brittany-0.14.0.2/data/Test479.hs
-formatted       00909af2b184  brittany-0.14.0.2/data/Test48.hs
-formatted       0150b83ded52  brittany-0.14.0.2/data/Test480.hs
-formatted       9fd1038ae87c  brittany-0.14.0.2/data/Test481.hs
-formatted       99e73c09fd8f  brittany-0.14.0.2/data/Test482.hs
-formatted       b6e0c157ec82  brittany-0.14.0.2/data/Test483.hs
-formatted       5308cabef2dd  brittany-0.14.0.2/data/Test484.hs
-formatted       3b0850dd8d8d  brittany-0.14.0.2/data/Test485.hs
-formatted       81a1be9769d4  brittany-0.14.0.2/data/Test486.hs
-formatted       e28b3f6dc92a  brittany-0.14.0.2/data/Test487.hs
-formatted       96c5f577a246  brittany-0.14.0.2/data/Test488.hs
-formatted       3455b362a4d8  brittany-0.14.0.2/data/Test489.hs
-formatted       379cdfc91569  brittany-0.14.0.2/data/Test49.hs
-formatted       d2c2b5b45546  brittany-0.14.0.2/data/Test490.hs
-formatted       964f39f9fdd1  brittany-0.14.0.2/data/Test491.hs
-formatted       d469e1b3965b  brittany-0.14.0.2/data/Test492.hs
-formatted       d469e1b3965b  brittany-0.14.0.2/data/Test493.hs
-formatted       1eddc3503b32  brittany-0.14.0.2/data/Test494.hs
-formatted       196d9b015a57  brittany-0.14.0.2/data/Test495.hs
-formatted       00e8a8e9cc86  brittany-0.14.0.2/data/Test496.hs
-formatted       cbeb80fac007  brittany-0.14.0.2/data/Test497.hs
-formatted       326e5653c262  brittany-0.14.0.2/data/Test498.hs
-formatted       46d0f48bc543  brittany-0.14.0.2/data/Test499.hs
-formatted       3bb5ad04d6c9  brittany-0.14.0.2/data/Test5.hs
-formatted       30d139cbecdf  brittany-0.14.0.2/data/Test50.hs
-formatted       bb1de50ba61a  brittany-0.14.0.2/data/Test500.hs
-formatted       46987cddeeb1  brittany-0.14.0.2/data/Test501.hs
-formatted       a26bb5e5e289  brittany-0.14.0.2/data/Test502.hs
-formatted       608441a45ea2  brittany-0.14.0.2/data/Test503.hs
-formatted       2140e03bd530  brittany-0.14.0.2/data/Test504.hs
-formatted       b8d19bd75331  brittany-0.14.0.2/data/Test505.hs
-formatted       7aafe7248e10  brittany-0.14.0.2/data/Test506.hs
-formatted       283db15defde  brittany-0.14.0.2/data/Test507.hs
-formatted       a017d7235dda  brittany-0.14.0.2/data/Test508.hs
-formatted       525ac73a7645  brittany-0.14.0.2/data/Test509.hs
-formatted       bdb9309b69ef  brittany-0.14.0.2/data/Test51.hs
-formatted       be3e1e21b3e7  brittany-0.14.0.2/data/Test510.hs
-formatted       386680696e97  brittany-0.14.0.2/data/Test511.hs
-formatted       c74bbb4b17cf  brittany-0.14.0.2/data/Test512.hs
-formatted       bb9ffbc270ba  brittany-0.14.0.2/data/Test513.hs
-formatted       4babc1db968e  brittany-0.14.0.2/data/Test514.hs
-formatted       4babc1db968e  brittany-0.14.0.2/data/Test515.hs
-formatted       4ded8e9531d5  brittany-0.14.0.2/data/Test516.hs
-formatted       9cdba405b7be  brittany-0.14.0.2/data/Test517.hs
-formatted       6192bf9c4318  brittany-0.14.0.2/data/Test518.hs
-formatted       438975b07785  brittany-0.14.0.2/data/Test519.hs
-formatted       3e9fb57fe53f  brittany-0.14.0.2/data/Test52.hs
-formatted       e0922f030820  brittany-0.14.0.2/data/Test520.hs
-formatted       7a6eceaa78bc  brittany-0.14.0.2/data/Test521.hs
-formatted       cd889668f531  brittany-0.14.0.2/data/Test522.hs
-formatted       5eae819cfab2  brittany-0.14.0.2/data/Test523.hs
-formatted       cdd55a113657  brittany-0.14.0.2/data/Test524.hs
-formatted       948aab2f7cf9  brittany-0.14.0.2/data/Test525.hs
-formatted       74dd57f3e6b2  brittany-0.14.0.2/data/Test526.hs
-formatted       ebc6624271d5  brittany-0.14.0.2/data/Test527.hs
-formatted       6d566659bc06  brittany-0.14.0.2/data/Test528.hs
-formatted       86bb82b0ae12  brittany-0.14.0.2/data/Test529.hs
-formatted       113cb843c235  brittany-0.14.0.2/data/Test53.hs
-formatted       c77ad7418bdb  brittany-0.14.0.2/data/Test530.hs
-formatted       e82e4a69ecaf  brittany-0.14.0.2/data/Test531.hs
-formatted       98d38ba919b8  brittany-0.14.0.2/data/Test532.hs
-formatted       93f0725e6f33  brittany-0.14.0.2/data/Test533.hs
-formatted       2f3eea919721  brittany-0.14.0.2/data/Test534.hs
-formatted       4dfe442efa9f  brittany-0.14.0.2/data/Test535.hs
-formatted       083e49e545b1  brittany-0.14.0.2/data/Test536.hs
-formatted       a93167132f4b  brittany-0.14.0.2/data/Test537.hs
-formatted       76a9d8390ac0  brittany-0.14.0.2/data/Test538.hs
-formatted       cb52a4163a3d  brittany-0.14.0.2/data/Test539.hs
-formatted       3206388ca862  brittany-0.14.0.2/data/Test54.hs
-formatted       32bac85b1c99  brittany-0.14.0.2/data/Test540.hs
-formatted       c1076b4718f2  brittany-0.14.0.2/data/Test55.hs
-formatted       5b5da4a27041  brittany-0.14.0.2/data/Test56.hs
-formatted       7d48cd742ee9  brittany-0.14.0.2/data/Test57.hs
-formatted       09a9442047e7  brittany-0.14.0.2/data/Test58.hs
-formatted       007b3f5499fb  brittany-0.14.0.2/data/Test59.hs
-formatted       d9ed4ebe21ed  brittany-0.14.0.2/data/Test6.hs
-formatted       87e8860858b2  brittany-0.14.0.2/data/Test60.hs
-formatted       7bba808f3304  brittany-0.14.0.2/data/Test61.hs
-formatted       7e7c53e8f5f9  brittany-0.14.0.2/data/Test62.hs
-formatted       38957227fb18  brittany-0.14.0.2/data/Test63.hs
-formatted       d1d477cbcd19  brittany-0.14.0.2/data/Test64.hs
-formatted       abec5eceeaf7  brittany-0.14.0.2/data/Test65.hs
-formatted       7e83cb328466  brittany-0.14.0.2/data/Test66.hs
-formatted       08c924dc75db  brittany-0.14.0.2/data/Test67.hs
-formatted       cb0434807247  brittany-0.14.0.2/data/Test68.hs
-formatted       0edc4bf88879  brittany-0.14.0.2/data/Test69.hs
-formatted       6e4a80a16587  brittany-0.14.0.2/data/Test7.hs
-formatted       c26c8d4af0d4  brittany-0.14.0.2/data/Test70.hs
-formatted       7f9b2bb1df69  brittany-0.14.0.2/data/Test71.hs
-formatted       9d549df4742d  brittany-0.14.0.2/data/Test72.hs
-formatted       05ed72d9e760  brittany-0.14.0.2/data/Test73.hs
-formatted       a54128f146c1  brittany-0.14.0.2/data/Test74.hs
-formatted       29302a244e5c  brittany-0.14.0.2/data/Test75.hs
-formatted       89a2a63deffe  brittany-0.14.0.2/data/Test76.hs
-formatted       7a3ad7569e3d  brittany-0.14.0.2/data/Test77.hs
-formatted       286a50a0eb22  brittany-0.14.0.2/data/Test78.hs
-formatted       bc99bdbbbb1e  brittany-0.14.0.2/data/Test79.hs
-formatted       0a8cec799b2a  brittany-0.14.0.2/data/Test8.hs
-formatted       2f2e96416d6d  brittany-0.14.0.2/data/Test80.hs
-formatted       d1d172867e08  brittany-0.14.0.2/data/Test81.hs
-formatted       f66f9b2381e3  brittany-0.14.0.2/data/Test82.hs
-formatted       4fe035cf193a  brittany-0.14.0.2/data/Test83.hs
-formatted       43e925441c75  brittany-0.14.0.2/data/Test84.hs
-formatted       dddcd81d8e89  brittany-0.14.0.2/data/Test85.hs
-formatted       b34676f3162a  brittany-0.14.0.2/data/Test86.hs
-formatted       847e26a48a11  brittany-0.14.0.2/data/Test87.hs
-formatted       d37afb2bca9c  brittany-0.14.0.2/data/Test88.hs
-formatted       870cc6003dc1  brittany-0.14.0.2/data/Test89.hs
-formatted       cd000b5a236a  brittany-0.14.0.2/data/Test9.hs
-formatted       14a1a4f54ceb  brittany-0.14.0.2/data/Test90.hs
-formatted       583f169ace4c  brittany-0.14.0.2/data/Test91.hs
-formatted       1d30d5458df2  brittany-0.14.0.2/data/Test92.hs
-formatted       21ca73bf65e9  brittany-0.14.0.2/data/Test93.hs
-formatted       2640ff7299cc  brittany-0.14.0.2/data/Test94.hs
-formatted       139f17bd37c8  brittany-0.14.0.2/data/Test95.hs
-formatted       3f35ed17b5d4  brittany-0.14.0.2/data/Test96.hs
-formatted       54dbf9915298  brittany-0.14.0.2/data/Test97.hs
-formatted       25178db879d4  brittany-0.14.0.2/data/Test98.hs
-formatted       52caf5793d73  brittany-0.14.0.2/data/Test99.hs
-formatted       7a5d0ee67b99  brittany-0.14.0.2/source/executable/Main.hs
-formatted       f006bb65ddb6  brittany-0.14.0.2/source/library/Language/Haskell/Brittany.hs
-formatted       7ddd24db972c  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal.hs
-formatted       efd6c420ed12  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Backend.hs
-formatted       b114e1735e96  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/BackendUtils.hs
-formatted       4db6008c162f  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Config.hs
-formatted       442f38348553  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Config/Types.hs
-formatted       3479d640d39c  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Config/Types/Instances.hs
-formatted       0bd9379faeaf  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/ExactPrintUtils.hs
-formatted       5d4339023e83  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/LayouterBasics.hs
-formatted       e6236562836a  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Layouters/DataDecl.hs
-formatted       35d642ea03c9  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Layouters/Decl.hs
-formatted       85310fee66ef  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Layouters/Expr.hs
-formatted       63ac93aa854f  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Layouters/Expr.hs-boot
-formatted       f730e71a6728  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Layouters/IE.hs
-formatted       4647ea64ed39  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Layouters/Import.hs
-formatted       455e49f342e4  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Layouters/Module.hs
-formatted       94a22988945f  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Layouters/Pattern.hs
-formatted       9219767aabaf  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Layouters/Stmt.hs
-formatted       08c3e5d27dd4  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Layouters/Stmt.hs-boot
-formatted       757402eae174  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Layouters/Type.hs
-formatted       8d7327e29615  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Obfuscation.hs
-formatted       0dc2352f4480  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/ParseModule.hs
-formatted       069a6d78e89a  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Prelude.hs
-formatted       1a8db66fd521  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/PreludeUtils.hs
-formatted       a2109c56e3eb  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Transformations/Alt.hs
-formatted       c6217dd1471b  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Transformations/Columns.hs
-formatted       f558625f25b7  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Transformations/Floating.hs
-formatted       7d95cc82a77f  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Transformations/Indent.hs
-formatted       f6a84d0ce013  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Transformations/Par.hs
-formatted       5ea5611a32d7  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Types.hs
-formatted       ad92bdb716e5  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Utils.hs
-formatted       20badc0ca0c8  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Main.hs
-formatted       e425ebfb8e97  brittany-0.14.0.2/source/test-suite/Main.hs
-formatted       e865ae48f11b  capability-0.5.0.1/Setup.hs
-formatted       6772160dec0c  capability-0.5.0.1/examples/CountLog.hs
-formatted       2eb939764385  capability-0.5.0.1/examples/Error.hs
-formatted       c878dfd98c1c  capability-0.5.0.1/examples/Reader.hs
-formatted       cf7788db327f  capability-0.5.0.1/examples/Reflection.hs
-formatted       4ca78b40a428  capability-0.5.0.1/examples/Sink.hs
-formatted       4bd9f1f5ce20  capability-0.5.0.1/examples/State.hs
-formatted       de729285889f  capability-0.5.0.1/examples/Test.hs
-formatted       bc483d61ffa2  capability-0.5.0.1/examples/Test/Common.hs
-formatted       7e4f90ed485c  capability-0.5.0.1/examples/WordCount.hs
-formatted       9a2c6692cf10  capability-0.5.0.1/examples/Writer.hs
-formatted       c7634b7f4e60  capability-0.5.0.1/src/Capability.hs
-formatted       83447b7b7ea5  capability-0.5.0.1/src/Capability/Accessors.hs
-formatted       8d8d36f3f008  capability-0.5.0.1/src/Capability/Constraints.hs
-formatted       f8fc4a2aaee2  capability-0.5.0.1/src/Capability/Derive.hs
-formatted       c41bd87a6a29  capability-0.5.0.1/src/Capability/Error.hs
-formatted       97515747424b  capability-0.5.0.1/src/Capability/Reader.hs
-formatted       89877e765220  capability-0.5.0.1/src/Capability/Reader/Internal/Class.hs
-formatted       d887d9bea232  capability-0.5.0.1/src/Capability/Reader/Internal/Strategies.hs
-formatted       cdf1d99e626f  capability-0.5.0.1/src/Capability/Reflection.hs
-formatted       42f2a624abd3  capability-0.5.0.1/src/Capability/Sink.hs
-formatted       8e57397c62e4  capability-0.5.0.1/src/Capability/Sink/Internal/Class.hs
-formatted       410464877d57  capability-0.5.0.1/src/Capability/Sink/Internal/Strategies.hs
-formatted       d6a811b81394  capability-0.5.0.1/src/Capability/Source.hs
-formatted       b2d52c4c15ca  capability-0.5.0.1/src/Capability/Source/Internal/Class.hs
-formatted       b718392f90a6  capability-0.5.0.1/src/Capability/Source/Internal/Strategies.hs
-formatted       e288db1d616d  capability-0.5.0.1/src/Capability/State.hs
-formatted       9d0280d2e19e  capability-0.5.0.1/src/Capability/State/Internal/Class.hs
-formatted       33420ab9b880  capability-0.5.0.1/src/Capability/State/Internal/Strategies.hs
-formatted       e0fc7f2c44f9  capability-0.5.0.1/src/Capability/State/Internal/Strategies/Common.hs
-formatted       dca34ed58cfd  capability-0.5.0.1/src/Capability/Stream.hs
-formatted       6cd51b2d63f1  capability-0.5.0.1/src/Capability/TypeOf.hs
-formatted       9a266b123a93  capability-0.5.0.1/src/Capability/Writer.hs
-formatted       e865ae48f11b  cassava-0.5.5.0/Setup.hs
-formatted       f8de97e1c58a  cassava-0.5.5.0/examples/IncrementalIndexedBasedDecode.hs
-formatted       b9e7e3d9a0fb  cassava-0.5.5.0/examples/IncrementalNamedBasedEncode.hs
-formatted       a004028b7dc3  cassava-0.5.5.0/examples/IndexBasedDecode.hs
-formatted       03830830ed9e  cassava-0.5.5.0/examples/IndexBasedGeneric.hs
-formatted       f4fb7ce7564b  cassava-0.5.5.0/examples/NamedBasedDecode.hs
-formatted       ecf9a4c54a67  cassava-0.5.5.0/examples/NamedBasedExplicitDecode.hs
-formatted       d51604b7e89f  cassava-0.5.5.0/examples/NamedBasedGeneric.hs
-formatted       9612391bd37b  cassava-0.5.5.0/examples/StreamingIndexBasedDecode.hs
-formatted       efc1fe9896ec  cassava-0.5.5.0/src/Data/Csv.hs
-formatted       817b8cca8d06  cassava-0.5.5.0/src/Data/Csv/Builder.hs
-formatted       38c7c4badf0a  cassava-0.5.5.0/src/Data/Csv/Conversion.hs
-formatted       a4c56813cba7  cassava-0.5.5.0/src/Data/Csv/Conversion/Internal.hs
-formatted       8ec14fcb620f  cassava-0.5.5.0/src/Data/Csv/Encoding.hs
-formatted       8318c12528ce  cassava-0.5.5.0/src/Data/Csv/Incremental.hs
-formatted       be1c60df3b34  cassava-0.5.5.0/src/Data/Csv/Parser.hs
-formatted       014bb9b262b9  cassava-0.5.5.0/src/Data/Csv/Streaming.hs
-formatted       20f42a736b97  cassava-0.5.5.0/src/Data/Csv/Types.hs
-formatted       4a5a0e1a51c9  cassava-0.5.5.0/src/Data/Csv/Util.hs
-formatted       61c26773c418  cassava-0.5.5.0/tests/UnitTests.hs
-formatted       b77256b69093  comonad-5.0.10/examples/History.hs
-formatted       092ab7243a03  comonad-5.0.10/src/Control/Comonad.hs
-formatted       d084cf5c7fa7  comonad-5.0.10/src/Control/Comonad/Env.hs
-formatted       3b8ec012a04c  comonad-5.0.10/src/Control/Comonad/Env/Class.hs
-formatted       0dcf633542eb  comonad-5.0.10/src/Control/Comonad/Hoist/Class.hs
-formatted       4bfafba3ce3b  comonad-5.0.10/src/Control/Comonad/Identity.hs
-formatted       49b438747b63  comonad-5.0.10/src/Control/Comonad/Store.hs
-formatted       cf408da422ba  comonad-5.0.10/src/Control/Comonad/Store/Class.hs
-formatted       2c72a397c339  comonad-5.0.10/src/Control/Comonad/Traced.hs
-formatted       da617308f9a3  comonad-5.0.10/src/Control/Comonad/Traced/Class.hs
-formatted       adbd6d7e0f72  comonad-5.0.10/src/Control/Comonad/Trans/Class.hs
-formatted       26ee25936027  comonad-5.0.10/src/Control/Comonad/Trans/Env.hs
-formatted       c405a550608b  comonad-5.0.10/src/Control/Comonad/Trans/Identity.hs
-formatted       6b990e80a8eb  comonad-5.0.10/src/Control/Comonad/Trans/Store.hs
-formatted       b5fa41e7a2f8  comonad-5.0.10/src/Control/Comonad/Trans/Traced.hs
-formatted       34f425eff98b  comonad-5.0.10/src/Data/Functor/Composition.hs
-formatted       bb9810473d80  conduit-1.3.6.1/benchmarks/optimize-201408.hs
-formatted       f70f6155e62a  conduit-1.3.6.1/benchmarks/unfused.hs
-formatted       20fad0c5aecd  conduit-1.3.6.1/src/Conduit.hs
-formatted       bf88ceabad43  conduit-1.3.6.1/src/Data/Conduit.hs
-formatted       df07505ba4ab  conduit-1.3.6.1/src/Data/Conduit/Combinators.hs
-formatted       f520242138c3  conduit-1.3.6.1/src/Data/Conduit/Combinators/Stream.hs
-formatted       438fcb6d4096  conduit-1.3.6.1/src/Data/Conduit/Combinators/Unqualified.hs
-formatted       8e861a915c2f  conduit-1.3.6.1/src/Data/Conduit/Internal.hs
-formatted       98597865ff40  conduit-1.3.6.1/src/Data/Conduit/Internal/Conduit.hs
-formatted       bbfd28e5b98b  conduit-1.3.6.1/src/Data/Conduit/Internal/Fusion.hs
-formatted       54120af8edce  conduit-1.3.6.1/src/Data/Conduit/Internal/List/Stream.hs
-formatted       5a515cebf8f7  conduit-1.3.6.1/src/Data/Conduit/Internal/Pipe.hs
-formatted       926d89b12351  conduit-1.3.6.1/src/Data/Conduit/Lift.hs
-formatted       e698a877d8f0  conduit-1.3.6.1/src/Data/Conduit/List.hs
-formatted       98630a5362e8  conduit-1.3.6.1/src/Data/Streaming/FileRead.hs
-formatted       9860da5f427f  conduit-1.3.6.1/src/Data/Streaming/Filesystem.hs
-formatted       d9e8dbaa2534  conduit-1.3.6.1/test/Data/Conduit/Extra/ZipConduitSpec.hs
-formatted       3df81ded6599  conduit-1.3.6.1/test/Data/Conduit/StreamSpec.hs
-formatted       ba362e46e616  conduit-1.3.6.1/test/Spec.hs
-formatted       382af08e83eb  conduit-1.3.6.1/test/StreamSpec.hs
-formatted       db2295b8113a  conduit-1.3.6.1/test/doctests.hs
-formatted       915aac4ba0bb  conduit-1.3.6.1/test/main.hs
-formatted       a4a0156cbfff  contravariant-1.5.6/old-src/Data/Functor/Contravariant.hs
-formatted       4ddb460640d4  contravariant-1.5.6/src/Data/Functor/Contravariant/Compose.hs
-formatted       aceb756fa0e3  contravariant-1.5.6/src/Data/Functor/Contravariant/Divisible.hs
-formatted       98e227191284  contravariant-1.5.6/src/Data/Functor/Contravariant/Generic.hs
-formatted       2841bd16822b  criterion-1.6.5.0/Criterion.hs
-formatted       417b9eafad2d  criterion-1.6.5.0/Criterion/Analysis.hs
-formatted       c039ba5918a9  criterion-1.6.5.0/Criterion/EmbeddedData.hs
-formatted       f07714df2d3d  criterion-1.6.5.0/Criterion/IO.hs
-formatted       9cbbe0381e04  criterion-1.6.5.0/Criterion/IO/Printf.hs
-formatted       7f06470ac8f8  criterion-1.6.5.0/Criterion/Internal.hs
-formatted       61563e5b80e1  criterion-1.6.5.0/Criterion/Main.hs
-formatted       a7ae79817c1c  criterion-1.6.5.0/Criterion/Main/Options.hs
-formatted       aab23b74a86d  criterion-1.6.5.0/Criterion/Monad.hs
-formatted       344969265c26  criterion-1.6.5.0/Criterion/Monad/Internal.hs
-formatted       0b58a8342a2c  criterion-1.6.5.0/Criterion/Report.hs
-formatted       ef0e89d5813d  criterion-1.6.5.0/Criterion/Types.hs
-formatted       fb8e29343d89  criterion-1.6.5.0/app/Options.hs
-formatted       1c316429bc18  criterion-1.6.5.0/app/Report.hs
-formatted       2c78e540a92b  criterion-1.6.5.0/examples/BadReadFile.hs
-formatted       bfb4844251ca  criterion-1.6.5.0/examples/Comparison.hs
-formatted       f54fba36e069  criterion-1.6.5.0/examples/ConduitVsPipes.hs
-formatted       a4f8cda29d3c  criterion-1.6.5.0/examples/ExtensibleCLI.hs
-formatted       8f4df570ff4e  criterion-1.6.5.0/examples/Fibber.hs
-formatted       741778047cc1  criterion-1.6.5.0/examples/GoodReadFile.hs
-formatted       e85b2e0c3354  criterion-1.6.5.0/examples/Judy.hs
-formatted       7d1ede331f1f  criterion-1.6.5.0/examples/Maps.hs
-formatted       fbcb8025853e  criterion-1.6.5.0/examples/Overhead.hs
-formatted       3a50edf5477c  criterion-1.6.5.0/examples/Quotes.hs
-formatted       e88811d40513  criterion-1.6.5.0/tests/Cleanup.hs
-formatted       78253dc00e1a  criterion-1.6.5.0/tests/Properties.hs
-formatted       a99e4edb542c  criterion-1.6.5.0/tests/Sanity.hs
-formatted       f8a8d8f2c4ae  criterion-1.6.5.0/tests/Tests.hs
-formatted       1638196fb215  cryptonite-0.30/Crypto/Cipher/AES.hs
-formatted       2240267dad51  cryptonite-0.30/Crypto/Cipher/AES/Primitive.hs
-formatted       5694da9617bf  cryptonite-0.30/Crypto/Cipher/AESGCMSIV.hs
-formatted       17a919edeac4  cryptonite-0.30/Crypto/Cipher/Blowfish.hs
-formatted       98e1845904ad  cryptonite-0.30/Crypto/Cipher/Blowfish/Box.hs
-formatted       23c195272bfd  cryptonite-0.30/Crypto/Cipher/Blowfish/Primitive.hs
-formatted       7ece5bd42232  cryptonite-0.30/Crypto/Cipher/CAST5.hs
-formatted       d0210ba9a96f  cryptonite-0.30/Crypto/Cipher/CAST5/Primitive.hs
-formatted       c818f5ccfd4a  cryptonite-0.30/Crypto/Cipher/Camellia.hs
-formatted       6b6c104480e2  cryptonite-0.30/Crypto/Cipher/Camellia/Primitive.hs
-formatted       dbd216d2f0aa  cryptonite-0.30/Crypto/Cipher/ChaCha.hs
-formatted       bcadafa03089  cryptonite-0.30/Crypto/Cipher/ChaChaPoly1305.hs
-formatted       092e6bcae818  cryptonite-0.30/Crypto/Cipher/DES.hs
-formatted       caebf4013844  cryptonite-0.30/Crypto/Cipher/DES/Primitive.hs
-formatted       f0c4f647a470  cryptonite-0.30/Crypto/Cipher/RC4.hs
-formatted       d59fa1e97895  cryptonite-0.30/Crypto/Cipher/Salsa.hs
-formatted       58b5729d32db  cryptonite-0.30/Crypto/Cipher/TripleDES.hs
-formatted       8aafca6b830e  cryptonite-0.30/Crypto/Cipher/Twofish.hs
-formatted       6b6428c6bd37  cryptonite-0.30/Crypto/Cipher/Twofish/Primitive.hs
-formatted       4e71a359f37d  cryptonite-0.30/Crypto/Cipher/Types.hs
-formatted       9872fb82a680  cryptonite-0.30/Crypto/Cipher/Types/AEAD.hs
-formatted       ea04a762895f  cryptonite-0.30/Crypto/Cipher/Types/Base.hs
-formatted       edc073cff2df  cryptonite-0.30/Crypto/Cipher/Types/Block.hs
-formatted       7c2782316618  cryptonite-0.30/Crypto/Cipher/Types/GF.hs
-formatted       17ceaf6e3360  cryptonite-0.30/Crypto/Cipher/Types/Stream.hs
-formatted       6cdb1c7bd28d  cryptonite-0.30/Crypto/Cipher/Types/Utils.hs
-formatted       f1893d3edfa7  cryptonite-0.30/Crypto/Cipher/Utils.hs
-formatted       20107f92349f  cryptonite-0.30/Crypto/Cipher/XSalsa.hs
-formatted       ae8cf8663bda  cryptonite-0.30/Crypto/ConstructHash/MiyaguchiPreneel.hs
-formatted       4f15b3874982  cryptonite-0.30/Crypto/Data/AFIS.hs
-formatted       37c60fc95ef2  cryptonite-0.30/Crypto/Data/Padding.hs
-formatted       2ba3cd2f51b9  cryptonite-0.30/Crypto/ECC.hs
-formatted       951ccc172449  cryptonite-0.30/Crypto/ECC/Edwards25519.hs
-formatted       26c0fcc08733  cryptonite-0.30/Crypto/ECC/Simple/Prim.hs
-formatted       64fc04cd74ae  cryptonite-0.30/Crypto/ECC/Simple/Types.hs
-formatted       3560b9821c3b  cryptonite-0.30/Crypto/Error.hs
-formatted       10ee398867c8  cryptonite-0.30/Crypto/Error/Types.hs
-formatted       bcc2e2a5ecac  cryptonite-0.30/Crypto/Hash.hs
-formatted       514502d73233  cryptonite-0.30/Crypto/Hash/Algorithms.hs
-formatted       a83eee5ae7b0  cryptonite-0.30/Crypto/Hash/Blake2.hs
-formatted       f99040e35232  cryptonite-0.30/Crypto/Hash/Blake2b.hs
-formatted       9fc6dd4195c9  cryptonite-0.30/Crypto/Hash/Blake2bp.hs
-formatted       aa6fb8816478  cryptonite-0.30/Crypto/Hash/Blake2s.hs
-formatted       5987b76d2285  cryptonite-0.30/Crypto/Hash/Blake2sp.hs
-formatted       36d330a27ffe  cryptonite-0.30/Crypto/Hash/IO.hs
-formatted       527ac917164f  cryptonite-0.30/Crypto/Hash/Keccak.hs
-formatted       988960beff03  cryptonite-0.30/Crypto/Hash/MD2.hs
-formatted       643fd2f5f7f2  cryptonite-0.30/Crypto/Hash/MD4.hs
-formatted       0176320f82f4  cryptonite-0.30/Crypto/Hash/MD5.hs
-formatted       54c369b13f00  cryptonite-0.30/Crypto/Hash/RIPEMD160.hs
-formatted       0cf990ecd2cd  cryptonite-0.30/Crypto/Hash/SHA1.hs
-formatted       6b15758ab087  cryptonite-0.30/Crypto/Hash/SHA224.hs
-formatted       a5a52f418404  cryptonite-0.30/Crypto/Hash/SHA256.hs
-formatted       05629720d732  cryptonite-0.30/Crypto/Hash/SHA3.hs
-formatted       076c9d704bf2  cryptonite-0.30/Crypto/Hash/SHA384.hs
-formatted       d65edf0aeac8  cryptonite-0.30/Crypto/Hash/SHA512.hs
-formatted       94400683916e  cryptonite-0.30/Crypto/Hash/SHA512t.hs
-formatted       9b214034fb00  cryptonite-0.30/Crypto/Hash/SHAKE.hs
-formatted       506e64c190a2  cryptonite-0.30/Crypto/Hash/Skein256.hs
-formatted       da70bee9980a  cryptonite-0.30/Crypto/Hash/Skein512.hs
-formatted       2f8832cc95bb  cryptonite-0.30/Crypto/Hash/Tiger.hs
-formatted       52ca268ecd11  cryptonite-0.30/Crypto/Hash/Types.hs
-formatted       4ea25e04f5c1  cryptonite-0.30/Crypto/Hash/Whirlpool.hs
-formatted       f70544b8e5f8  cryptonite-0.30/Crypto/Internal/Builder.hs
-formatted       98a5de0267ed  cryptonite-0.30/Crypto/Internal/ByteArray.hs
-formatted       f801f423094d  cryptonite-0.30/Crypto/Internal/Compat.hs
-formatted       8d064e9ef0c8  cryptonite-0.30/Crypto/Internal/CompatPrim.hs
-formatted       9ecf7ae42e4a  cryptonite-0.30/Crypto/Internal/DeepSeq.hs
-formatted       4646f54cc944  cryptonite-0.30/Crypto/Internal/Imports.hs
-formatted       4878b8fb8411  cryptonite-0.30/Crypto/Internal/Nat.hs
-formatted       483861a9b72d  cryptonite-0.30/Crypto/Internal/WordArray.hs
-formatted       5786998be3b3  cryptonite-0.30/Crypto/Internal/Words.hs
-formatted       0434f24b7a9f  cryptonite-0.30/Crypto/KDF/Argon2.hs
-formatted       9725e47b1b66  cryptonite-0.30/Crypto/KDF/BCrypt.hs
-formatted       28be07832b83  cryptonite-0.30/Crypto/KDF/BCryptPBKDF.hs
-formatted       7c78160cd13d  cryptonite-0.30/Crypto/KDF/HKDF.hs
-formatted       f25d68c357c2  cryptonite-0.30/Crypto/KDF/PBKDF2.hs
-formatted       3307468c4b5d  cryptonite-0.30/Crypto/KDF/Scrypt.hs
-formatted       489f10db3ff6  cryptonite-0.30/Crypto/MAC/CMAC.hs
-formatted       9dff2956cdea  cryptonite-0.30/Crypto/MAC/HMAC.hs
-formatted       859812024323  cryptonite-0.30/Crypto/MAC/KMAC.hs
-formatted       a54d3189768c  cryptonite-0.30/Crypto/MAC/Poly1305.hs
-formatted       c065c0ae8804  cryptonite-0.30/Crypto/Number/Basic.hs
-partly-checked  27ebb2f56bcc  cryptonite-0.30/Crypto/Number/Compat.hs
-formatted       629f31e714bd  cryptonite-0.30/Crypto/Number/F2m.hs
-formatted       7b62d9f0185b  cryptonite-0.30/Crypto/Number/Generate.hs
-formatted       53fbd1bf4d6c  cryptonite-0.30/Crypto/Number/ModArithmetic.hs
-formatted       3887ba3c7c43  cryptonite-0.30/Crypto/Number/Nat.hs
-formatted       930fa05c486f  cryptonite-0.30/Crypto/Number/Prime.hs
-formatted       2f0cabb85d66  cryptonite-0.30/Crypto/Number/Serialize.hs
-formatted       cfe6a456efe7  cryptonite-0.30/Crypto/Number/Serialize/Internal.hs
-formatted       8f181f9bc069  cryptonite-0.30/Crypto/Number/Serialize/Internal/LE.hs
-formatted       63f76fd57ace  cryptonite-0.30/Crypto/Number/Serialize/LE.hs
-formatted       306914497f38  cryptonite-0.30/Crypto/OTP.hs
-formatted       47ac3109be1c  cryptonite-0.30/Crypto/PubKey/Curve25519.hs
-formatted       ff1bad4fe0ae  cryptonite-0.30/Crypto/PubKey/Curve448.hs
-formatted       3f1c06c77c6a  cryptonite-0.30/Crypto/PubKey/DH.hs
-formatted       61fc8cd02023  cryptonite-0.30/Crypto/PubKey/DSA.hs
-formatted       7e94f82c13ef  cryptonite-0.30/Crypto/PubKey/ECC/DH.hs
-formatted       face3da85363  cryptonite-0.30/Crypto/PubKey/ECC/ECDSA.hs
-formatted       97c5eb3f0754  cryptonite-0.30/Crypto/PubKey/ECC/Generate.hs
-formatted       d4527eb98a84  cryptonite-0.30/Crypto/PubKey/ECC/P256.hs
-formatted       421cbae47c83  cryptonite-0.30/Crypto/PubKey/ECC/Prim.hs
-formatted       65081a388743  cryptonite-0.30/Crypto/PubKey/ECC/Types.hs
-formatted       93205445ab9a  cryptonite-0.30/Crypto/PubKey/ECDSA.hs
-formatted       04ef544fcbc1  cryptonite-0.30/Crypto/PubKey/ECIES.hs
-formatted       ca8ec46db323  cryptonite-0.30/Crypto/PubKey/Ed25519.hs
-formatted       dba822ca565e  cryptonite-0.30/Crypto/PubKey/Ed448.hs
-formatted       365814eb2b58  cryptonite-0.30/Crypto/PubKey/EdDSA.hs
-formatted       e083f4a748a3  cryptonite-0.30/Crypto/PubKey/ElGamal.hs
-formatted       5a0517dd2399  cryptonite-0.30/Crypto/PubKey/Internal.hs
-formatted       83e024783092  cryptonite-0.30/Crypto/PubKey/MaskGenFunction.hs
-formatted       aaafa0f20f26  cryptonite-0.30/Crypto/PubKey/RSA.hs
-formatted       c12317773f47  cryptonite-0.30/Crypto/PubKey/RSA/OAEP.hs
-formatted       e8f1ac1faae8  cryptonite-0.30/Crypto/PubKey/RSA/PKCS15.hs
-formatted       9255a1c6fd3d  cryptonite-0.30/Crypto/PubKey/RSA/PSS.hs
-formatted       8643b6ddea84  cryptonite-0.30/Crypto/PubKey/RSA/Prim.hs
-formatted       7ab3ae862f55  cryptonite-0.30/Crypto/PubKey/RSA/Types.hs
-formatted       a97d7fbec7cf  cryptonite-0.30/Crypto/PubKey/Rabin/Basic.hs
-formatted       3e0ac8c999c0  cryptonite-0.30/Crypto/PubKey/Rabin/Modified.hs
-formatted       a53ee7c1c1a5  cryptonite-0.30/Crypto/PubKey/Rabin/OAEP.hs
-formatted       b578b97afc3e  cryptonite-0.30/Crypto/PubKey/Rabin/RW.hs
-formatted       c0eae64dcf68  cryptonite-0.30/Crypto/PubKey/Rabin/Types.hs
-formatted       1854f69b3828  cryptonite-0.30/Crypto/Random.hs
-formatted       f3902d2c9c96  cryptonite-0.30/Crypto/Random/ChaChaDRG.hs
-formatted       8b31b5a87af9  cryptonite-0.30/Crypto/Random/Entropy.hs
-formatted       f8afb2ba19cc  cryptonite-0.30/Crypto/Random/Entropy/Backend.hs
-formatted       9b0c8653e10a  cryptonite-0.30/Crypto/Random/Entropy/RDRand.hs
-formatted       0c206170779c  cryptonite-0.30/Crypto/Random/Entropy/Source.hs
-formatted       75121bc8d581  cryptonite-0.30/Crypto/Random/Entropy/Unix.hs
-formatted       2b02d2fc4203  cryptonite-0.30/Crypto/Random/Entropy/Unsafe.hs
-declined        -             cryptonite-0.30/Crypto/Random/Entropy/Windows.hs
-formatted       4f4ac464c6e9  cryptonite-0.30/Crypto/Random/EntropyPool.hs
-formatted       762f30275eb4  cryptonite-0.30/Crypto/Random/Probabilistic.hs
-formatted       dd360e4a76e6  cryptonite-0.30/Crypto/Random/SystemDRG.hs
-formatted       3613df3a0846  cryptonite-0.30/Crypto/Random/Types.hs
-formatted       b12c43b64866  cryptonite-0.30/Crypto/System/CPU.hs
-formatted       3f10131f3add  cryptonite-0.30/Crypto/Tutorial.hs
-formatted       e865ae48f11b  cryptonite-0.30/Setup.hs
-formatted       ac276403f523  cryptonite-0.30/benchs/Bench.hs
-formatted       772fcb717c67  cryptonite-0.30/benchs/Number/F2m.hs
-formatted       57d09cf26ff7  cryptonite-0.30/tests/BCrypt.hs
-formatted       e0a9d879663a  cryptonite-0.30/tests/BCryptPBKDF.hs
-formatted       c7c79cd84ee7  cryptonite-0.30/tests/BlockCipher.hs
-formatted       ae1da1712bf7  cryptonite-0.30/tests/ChaCha.hs
-formatted       2ff39a30e968  cryptonite-0.30/tests/ChaChaPoly1305.hs
-formatted       c628564c97aa  cryptonite-0.30/tests/ECC.hs
-formatted       5d886e661761  cryptonite-0.30/tests/ECC/Edwards25519.hs
-formatted       e8de6edaf6ac  cryptonite-0.30/tests/ECDSA.hs
-formatted       27ce811073c1  cryptonite-0.30/tests/Hash.hs
-formatted       e00752436aeb  cryptonite-0.30/tests/Imports.hs
-formatted       beecfeaa8fb1  cryptonite-0.30/tests/KAT_AES.hs
-formatted       810d48314931  cryptonite-0.30/tests/KAT_AES/KATCBC.hs
-formatted       18eaacc22a0b  cryptonite-0.30/tests/KAT_AES/KATCCM.hs
-formatted       44fe15b7084a  cryptonite-0.30/tests/KAT_AES/KATECB.hs
-formatted       82fa19f7ce7a  cryptonite-0.30/tests/KAT_AES/KATGCM.hs
-formatted       615d3d0c3896  cryptonite-0.30/tests/KAT_AES/KATOCB3.hs
-formatted       7ab1f2d998b8  cryptonite-0.30/tests/KAT_AES/KATXTS.hs
-formatted       1e2edc23eab4  cryptonite-0.30/tests/KAT_AESGCMSIV.hs
-formatted       5f71c9d0489d  cryptonite-0.30/tests/KAT_AFIS.hs
-formatted       a29f1f177a83  cryptonite-0.30/tests/KAT_Argon2.hs
-formatted       8415bc362f2c  cryptonite-0.30/tests/KAT_Blowfish.hs
-formatted       05a7dbeb9005  cryptonite-0.30/tests/KAT_CAST5.hs
-formatted       a3584b1b317f  cryptonite-0.30/tests/KAT_CMAC.hs
-formatted       c4f1dbee51d6  cryptonite-0.30/tests/KAT_Camellia.hs
-formatted       6afe12fcf4eb  cryptonite-0.30/tests/KAT_Curve25519.hs
-formatted       6093259a5aa9  cryptonite-0.30/tests/KAT_Curve448.hs
-formatted       8e0eac40b9d6  cryptonite-0.30/tests/KAT_DES.hs
-formatted       3a7902b73bd8  cryptonite-0.30/tests/KAT_Ed25519.hs
-formatted       bbf6a21d5f18  cryptonite-0.30/tests/KAT_Ed448.hs
-formatted       b59a87e7f1e5  cryptonite-0.30/tests/KAT_EdDSA.hs
-formatted       0fa0afdb302b  cryptonite-0.30/tests/KAT_HKDF.hs
-formatted       f0b45b263f2a  cryptonite-0.30/tests/KAT_HMAC.hs
-formatted       ee17a2d47a67  cryptonite-0.30/tests/KAT_KMAC.hs
-formatted       66cf41c37e13  cryptonite-0.30/tests/KAT_MiyaguchiPreneel.hs
-formatted       5161823955d7  cryptonite-0.30/tests/KAT_OTP.hs
-formatted       e23a8a363aff  cryptonite-0.30/tests/KAT_PBKDF2.hs
-formatted       1f0d2812b0a5  cryptonite-0.30/tests/KAT_PubKey.hs
-formatted       c92369374dbb  cryptonite-0.30/tests/KAT_PubKey/DSA.hs
-formatted       743790d1c893  cryptonite-0.30/tests/KAT_PubKey/ECC.hs
-formatted       72827abb8090  cryptonite-0.30/tests/KAT_PubKey/ECDSA.hs
-formatted       0a8edec8bb84  cryptonite-0.30/tests/KAT_PubKey/OAEP.hs
-formatted       6ba37e5828ed  cryptonite-0.30/tests/KAT_PubKey/P256.hs
-formatted       2f24c00b4a7c  cryptonite-0.30/tests/KAT_PubKey/PSS.hs
-formatted       bba8cd12072c  cryptonite-0.30/tests/KAT_PubKey/RSA.hs
-formatted       cd527ad025c4  cryptonite-0.30/tests/KAT_PubKey/Rabin.hs
-formatted       fa1389bb8af8  cryptonite-0.30/tests/KAT_RC4.hs
-formatted       6c174475decc  cryptonite-0.30/tests/KAT_Scrypt.hs
-formatted       36380d994c1c  cryptonite-0.30/tests/KAT_TripleDES.hs
-formatted       88dd0eef74a1  cryptonite-0.30/tests/KAT_Twofish.hs
-formatted       d3ffb4dd724c  cryptonite-0.30/tests/Number.hs
-formatted       9347fc3e6890  cryptonite-0.30/tests/Number/F2m.hs
-formatted       153769199399  cryptonite-0.30/tests/Padding.hs
-formatted       e4b87212dc1f  cryptonite-0.30/tests/Poly1305.hs
-formatted       38c09837971d  cryptonite-0.30/tests/Salsa.hs
-formatted       54065ea7b3f2  cryptonite-0.30/tests/Tests.hs
-formatted       be766d438585  cryptonite-0.30/tests/Utils.hs
-formatted       f7ee48c90ce9  cryptonite-0.30/tests/XSalsa.hs
-formatted       e865ae48f11b  diagrams-core-1.5.1.2/Setup.hs
-formatted       390dfdff3fbc  diagrams-core-1.5.1.2/src/Diagrams/Core.hs
-formatted       5b9f4064740f  diagrams-core-1.5.1.2/src/Diagrams/Core/Compile.hs
-formatted       0c2deef4d97c  diagrams-core-1.5.1.2/src/Diagrams/Core/Envelope.hs
-formatted       c945af86b66d  diagrams-core-1.5.1.2/src/Diagrams/Core/HasOrigin.hs
-formatted       5e6397a73cbf  diagrams-core-1.5.1.2/src/Diagrams/Core/Juxtapose.hs
-formatted       0102accfadbf  diagrams-core-1.5.1.2/src/Diagrams/Core/Measure.hs
-formatted       3f232ced8cd3  diagrams-core-1.5.1.2/src/Diagrams/Core/Names.hs
-formatted       169fec80496d  diagrams-core-1.5.1.2/src/Diagrams/Core/Points.hs
-formatted       f005c45a7335  diagrams-core-1.5.1.2/src/Diagrams/Core/Query.hs
-formatted       5c32f24f7311  diagrams-core-1.5.1.2/src/Diagrams/Core/Style.hs
-formatted       0d93bb9387d4  diagrams-core-1.5.1.2/src/Diagrams/Core/Trace.hs
-formatted       ceb1829b99d5  diagrams-core-1.5.1.2/src/Diagrams/Core/Transform.hs
-formatted       a5ac419d9f46  diagrams-core-1.5.1.2/src/Diagrams/Core/Types.hs
-formatted       a9f71c9c75d0  diagrams-core-1.5.1.2/src/Diagrams/Core/V.hs
-formatted       5cabe7655bac  distributed-process-0.7.8/benchmarks/Channels.hs
-formatted       504953bb1387  distributed-process-0.7.8/benchmarks/Latency.hs
-formatted       e43130036e36  distributed-process-0.7.8/benchmarks/ProcessRing.hs
-formatted       664624ede357  distributed-process-0.7.8/benchmarks/Spawns.hs
-formatted       54738fd746e9  distributed-process-0.7.8/benchmarks/Throughput.hs
-formatted       e7bfb48f27d1  distributed-process-0.7.8/src/Control/Distributed/Process.hs
-formatted       8f3dab3f697b  distributed-process-0.7.8/src/Control/Distributed/Process/Closure.hs
-formatted       9abdf121594b  distributed-process-0.7.8/src/Control/Distributed/Process/Debug.hs
-formatted       c98976ba0493  distributed-process-0.7.8/src/Control/Distributed/Process/Internal/BiMultiMap.hs
-formatted       fe72c6f43347  distributed-process-0.7.8/src/Control/Distributed/Process/Internal/CQueue.hs
-formatted       2946b3a11a2f  distributed-process-0.7.8/src/Control/Distributed/Process/Internal/Closure/BuiltIn.hs
-formatted       a950bf8d3ff9  distributed-process-0.7.8/src/Control/Distributed/Process/Internal/Closure/Explicit.hs
-formatted       8a4e71f45f0a  distributed-process-0.7.8/src/Control/Distributed/Process/Internal/Closure/TH.hs
-formatted       fbf0689c8cf6  distributed-process-0.7.8/src/Control/Distributed/Process/Internal/Messaging.hs
-formatted       c0510eec52c1  distributed-process-0.7.8/src/Control/Distributed/Process/Internal/Primitives.hs
-formatted       c2731aa95425  distributed-process-0.7.8/src/Control/Distributed/Process/Internal/Spawn.hs
-formatted       cd3afabcd890  distributed-process-0.7.8/src/Control/Distributed/Process/Internal/StrictContainerAccessors.hs
-formatted       8a9d9c67b86f  distributed-process-0.7.8/src/Control/Distributed/Process/Internal/StrictList.hs
-formatted       b21182e8f9f2  distributed-process-0.7.8/src/Control/Distributed/Process/Internal/StrictMVar.hs
-formatted       ff8f65da47e4  distributed-process-0.7.8/src/Control/Distributed/Process/Internal/Types.hs
-formatted       d8a70ea27555  distributed-process-0.7.8/src/Control/Distributed/Process/Internal/WeakTQueue.hs
-formatted       b54c3b7901fc  distributed-process-0.7.8/src/Control/Distributed/Process/Management.hs
-formatted       11e628359717  distributed-process-0.7.8/src/Control/Distributed/Process/Management/Internal/Agent.hs
-formatted       39b50d32c5a6  distributed-process-0.7.8/src/Control/Distributed/Process/Management/Internal/Bus.hs
-formatted       5e7aa53931dc  distributed-process-0.7.8/src/Control/Distributed/Process/Management/Internal/Trace/Primitives.hs
-formatted       818907f11c3f  distributed-process-0.7.8/src/Control/Distributed/Process/Management/Internal/Trace/Remote.hs
-formatted       e22725f70cfe  distributed-process-0.7.8/src/Control/Distributed/Process/Management/Internal/Trace/Tracer.hs
-formatted       2b21046051cd  distributed-process-0.7.8/src/Control/Distributed/Process/Management/Internal/Trace/Types.hs
-formatted       07108d12c1fe  distributed-process-0.7.8/src/Control/Distributed/Process/Management/Internal/Types.hs
-formatted       e790ad3384cd  distributed-process-0.7.8/src/Control/Distributed/Process/Node.hs
-formatted       6b86ee01b32a  distributed-process-0.7.8/src/Control/Distributed/Process/Serializable.hs
-formatted       daf3cd1d8b53  distributed-process-0.7.8/src/Control/Distributed/Process/UnsafePrimitives.hs
-formatted       ce7a3d76bb9a  dlist-1.0/Data/DList.hs
-formatted       d276a3077979  dlist-1.0/Data/DList/DNonEmpty.hs
-formatted       3d51b496abb0  dlist-1.0/Data/DList/DNonEmpty/Internal.hs
-partly-checked  7e289a0d3651  dlist-1.0/Data/DList/Internal.hs
-formatted       669ee89127ed  dlist-1.0/Data/DList/Unsafe.hs
-formatted       66e90dad4a5a  dlist-1.0/tests/DListProperties.hs
-formatted       54f0c52fc06b  dlist-1.0/tests/DNonEmptyProperties.hs
-formatted       988c01fea196  dlist-1.0/tests/ImportUnsafe.hs
-formatted       7878296311fe  dlist-1.0/tests/Main.hs
-formatted       4d7411576558  dlist-1.0/tests/OverloadedStrings.hs
-formatted       2393b4a3587d  dlist-1.0/tests/QuickCheckUtil.hs
-formatted       e865ae48f11b  esqueleto-3.6.0.3/Setup.hs
-formatted       fb274a829f01  esqueleto-3.6.0.3/src/Database/Esqueleto.hs
-formatted       99a3554c79c4  esqueleto-3.6.0.3/src/Database/Esqueleto/Experimental.hs
-formatted       f39aad505f10  esqueleto-3.6.0.3/src/Database/Esqueleto/Experimental/From.hs
-formatted       3dc85ea0c84f  esqueleto-3.6.0.3/src/Database/Esqueleto/Experimental/From/CommonTableExpression.hs
-formatted       eb9741d8135b  esqueleto-3.6.0.3/src/Database/Esqueleto/Experimental/From/Join.hs
-formatted       beecd102c083  esqueleto-3.6.0.3/src/Database/Esqueleto/Experimental/From/SqlSetOperation.hs
-formatted       6bfe86eb6141  esqueleto-3.6.0.3/src/Database/Esqueleto/Experimental/ToAlias.hs
-formatted       ed8893f41cd7  esqueleto-3.6.0.3/src/Database/Esqueleto/Experimental/ToAliasReference.hs
-formatted       9f36875401e2  esqueleto-3.6.0.3/src/Database/Esqueleto/Experimental/ToMaybe.hs
-formatted       a736ace7f7d4  esqueleto-3.6.0.3/src/Database/Esqueleto/Internal/ExprParser.hs
-formatted       46c7bdbbee30  esqueleto-3.6.0.3/src/Database/Esqueleto/Internal/Internal.hs
-formatted       8e8a8c378f2b  esqueleto-3.6.0.3/src/Database/Esqueleto/Internal/PersistentImport.hs
-formatted       23c62f207b2d  esqueleto-3.6.0.3/src/Database/Esqueleto/Legacy.hs
-formatted       9cd66d1b3ed2  esqueleto-3.6.0.3/src/Database/Esqueleto/MySQL.hs
-formatted       236ac6325e8b  esqueleto-3.6.0.3/src/Database/Esqueleto/PostgreSQL.hs
-formatted       1b1d21812e48  esqueleto-3.6.0.3/src/Database/Esqueleto/PostgreSQL/JSON.hs
-formatted       df35c8f3b6bf  esqueleto-3.6.0.3/src/Database/Esqueleto/PostgreSQL/JSON/Instances.hs
-formatted       bfa22ec5fd41  esqueleto-3.6.0.3/src/Database/Esqueleto/Record.hs
-formatted       167fa1cef38a  esqueleto-3.6.0.3/src/Database/Esqueleto/SQLite.hs
-formatted       791ffee464be  esqueleto-3.6.0.3/test/Common/Record.hs
-formatted       7db3ef49d34f  esqueleto-3.6.0.3/test/Common/Test.hs
-formatted       07d3054c5606  esqueleto-3.6.0.3/test/Common/Test/CTE.hs
-formatted       1f83d04692e3  esqueleto-3.6.0.3/test/Common/Test/Import.hs
-formatted       c62efabf2305  esqueleto-3.6.0.3/test/Common/Test/Models.hs
-formatted       1e1af0ff65e2  esqueleto-3.6.0.3/test/Common/Test/Select.hs
-formatted       6c403a7dbfd3  esqueleto-3.6.0.3/test/MySQL/Test.hs
-formatted       585ace4874f8  esqueleto-3.6.0.3/test/PostgreSQL/MigrateJSON.hs
-formatted       b9c4d713d02f  esqueleto-3.6.0.3/test/PostgreSQL/Test.hs
-formatted       0e0ef1763885  esqueleto-3.6.0.3/test/SQLite/Test.hs
-formatted       9c274d8e66c1  esqueleto-3.6.0.3/test/Spec.hs
-formatted       2ddfe57b9539  exceptions-0.10.12/src/Control/Monad/Catch.hs
-formatted       95434fcb6957  exceptions-0.10.12/src/Control/Monad/Catch/Pure.hs
-formatted       da6b7265725b  exceptions-0.10.12/tests/Control/Monad/Catch/Tests.hs
-formatted       bba664ba2b8b  exceptions-0.10.12/tests/Tests.hs
-formatted       9ecbe8994d9e  fay-0.24.2.0/Setup.hs
-formatted       ec9eeba0c6a1  fay-0.24.2.0/examples/CodeWorld.hs
-formatted       7cf91d63601f  fay-0.24.2.0/examples/CodeWorldMain.hs
-formatted       2791ee0a9bd2  fay-0.24.2.0/examples/Cont.hs
-formatted       b5088332842e  fay-0.24.2.0/examples/D3TreeSample.hs
-formatted       45fa087c720a  fay-0.24.2.0/examples/FayFromJs.hs
-formatted       d4be2511948d  fay-0.24.2.0/examples/Separated.hs
-formatted       73cbc6340843  fay-0.24.2.0/examples/X.hs
-formatted       89a1e9058dc3  fay-0.24.2.0/examples/Y.hs
-formatted       55d7b8cf115f  fay-0.24.2.0/examples/alert.hs
-formatted       e0b177e5a9f3  fay-0.24.2.0/examples/calc.hs
-formatted       2d60fb67f2de  fay-0.24.2.0/examples/canvaswater.hs
-formatted       97df12f5dfa2  fay-0.24.2.0/examples/console.hs
-formatted       7608e18ca01c  fay-0.24.2.0/examples/data.hs
-formatted       57124dd1aa0e  fay-0.24.2.0/examples/dom.hs
-formatted       a017f7092550  fay-0.24.2.0/examples/jquery.hs
-formatted       19887dc6f70a  fay-0.24.2.0/examples/json.hs
-formatted       db1cb782ccc3  fay-0.24.2.0/examples/node.hs
-formatted       f3df3b020033  fay-0.24.2.0/examples/nqueens.hs
-formatted       615082642614  fay-0.24.2.0/examples/obj.hs
-formatted       a197f077306c  fay-0.24.2.0/examples/oscillator.hs
-formatted       c79a44579d85  fay-0.24.2.0/examples/pat.hs
-formatted       fa732b1a5e66  fay-0.24.2.0/examples/properties.hs
-formatted       7085b02d6471  fay-0.24.2.0/examples/ref.hs
-formatted       55fe2b9f624f  fay-0.24.2.0/examples/showExamples.hs
-formatted       884b6fbdaadc  fay-0.24.2.0/examples/tailrecursive.hs
-formatted       d57685ee2836  fay-0.24.2.0/src/Fay.hs
-formatted       8e1eda45f5a1  fay-0.24.2.0/src/Fay/Compiler.hs
-formatted       5c71e55e06ee  fay-0.24.2.0/src/Fay/Compiler/Decl.hs
-formatted       d4575500ee48  fay-0.24.2.0/src/Fay/Compiler/Defaults.hs
-formatted       891834d5aec2  fay-0.24.2.0/src/Fay/Compiler/Desugar.hs
-formatted       570ca805808c  fay-0.24.2.0/src/Fay/Compiler/Desugar/Name.hs
-formatted       fe53147a7e33  fay-0.24.2.0/src/Fay/Compiler/Desugar/Types.hs
-formatted       85a69bad988d  fay-0.24.2.0/src/Fay/Compiler/Exp.hs
-formatted       c6dd7b9e3183  fay-0.24.2.0/src/Fay/Compiler/FFI.hs
-formatted       69fd6dd80a66  fay-0.24.2.0/src/Fay/Compiler/GADT.hs
-formatted       7ffae636dbe4  fay-0.24.2.0/src/Fay/Compiler/Import.hs
-formatted       95cf95ae99fe  fay-0.24.2.0/src/Fay/Compiler/InitialPass.hs
-formatted       9df7da80e8c4  fay-0.24.2.0/src/Fay/Compiler/Misc.hs
-formatted       e526d58c2637  fay-0.24.2.0/src/Fay/Compiler/ModuleT.hs
-formatted       984b0a80a55e  fay-0.24.2.0/src/Fay/Compiler/Optimizer.hs
-formatted       ce1e364e00bb  fay-0.24.2.0/src/Fay/Compiler/Packages.hs
-formatted       1798f425b036  fay-0.24.2.0/src/Fay/Compiler/Parse.hs
-formatted       dba17f522647  fay-0.24.2.0/src/Fay/Compiler/Pattern.hs
-formatted       7cca783f3fcd  fay-0.24.2.0/src/Fay/Compiler/Prelude.hs
-formatted       0705dae72c12  fay-0.24.2.0/src/Fay/Compiler/PrimOp.hs
-formatted       bec107e6f3d3  fay-0.24.2.0/src/Fay/Compiler/Print.hs
-formatted       da23ccb55970  fay-0.24.2.0/src/Fay/Compiler/QName.hs
-formatted       9fe2fbd3e360  fay-0.24.2.0/src/Fay/Compiler/State.hs
-formatted       fb1831a445cc  fay-0.24.2.0/src/Fay/Compiler/Typecheck.hs
-formatted       631cbd5cb454  fay-0.24.2.0/src/Fay/Config.hs
-formatted       5e21cc38a1e1  fay-0.24.2.0/src/Fay/Convert.hs
-formatted       80d46083d774  fay-0.24.2.0/src/Fay/Exts.hs
-formatted       23a0a09bf5e1  fay-0.24.2.0/src/Fay/Exts/NoAnnotation.hs
-formatted       bd1f234d96c0  fay-0.24.2.0/src/Fay/Exts/Scoped.hs
-formatted       d29776a761a7  fay-0.24.2.0/src/Fay/FFI.hs
-formatted       b21a6a7c7e2f  fay-0.24.2.0/src/Fay/Runtime.hs
-formatted       21ff228b349a  fay-0.24.2.0/src/Fay/Types.hs
-formatted       6654772d79a6  fay-0.24.2.0/src/Fay/Types/CompileError.hs
-formatted       4f7fdfee2a8f  fay-0.24.2.0/src/Fay/Types/CompileResult.hs
-formatted       cea8d04284a4  fay-0.24.2.0/src/Fay/Types/FFI.hs
-formatted       16c62b3f8086  fay-0.24.2.0/src/Fay/Types/Js.hs
-formatted       1165cbb859cc  fay-0.24.2.0/src/Fay/Types/ModulePath.hs
-formatted       ed80698a7cd1  fay-0.24.2.0/src/Fay/Types/Printer.hs
-formatted       6593766b1d2e  fay-0.24.2.0/src/haskell-names/Language/Haskell/Names.hs
-formatted       c40577bbbe78  fay-0.24.2.0/src/haskell-names/Language/Haskell/Names/Annotated.hs
-formatted       2156e3053cf3  fay-0.24.2.0/src/haskell-names/Language/Haskell/Names/Exports.hs
-formatted       2c712ca7ff92  fay-0.24.2.0/src/haskell-names/Language/Haskell/Names/GetBound.hs
-formatted       6f5ea387dca8  fay-0.24.2.0/src/haskell-names/Language/Haskell/Names/GlobalSymbolTable.hs
-formatted       13662130820d  fay-0.24.2.0/src/haskell-names/Language/Haskell/Names/GlobalSymbolTable.hs-boot
-formatted       ea2e30c7db82  fay-0.24.2.0/src/haskell-names/Language/Haskell/Names/Imports.hs
-formatted       bda66c725ce4  fay-0.24.2.0/src/haskell-names/Language/Haskell/Names/LocalSymbolTable.hs
-formatted       2dcb549aaa00  fay-0.24.2.0/src/haskell-names/Language/Haskell/Names/ModuleSymbols.hs
-formatted       81d92815fef2  fay-0.24.2.0/src/haskell-names/Language/Haskell/Names/Open/Base.hs
-formatted       b12db8ba5ce9  fay-0.24.2.0/src/haskell-names/Language/Haskell/Names/Open/Derived.hs
-formatted       d7517cafa993  fay-0.24.2.0/src/haskell-names/Language/Haskell/Names/Open/Instances.hs
-formatted       864c19ccab50  fay-0.24.2.0/src/haskell-names/Language/Haskell/Names/RecordWildcards.hs
-formatted       36ca15cae788  fay-0.24.2.0/src/haskell-names/Language/Haskell/Names/Recursive.hs
-formatted       35f308030af1  fay-0.24.2.0/src/haskell-names/Language/Haskell/Names/ScopeUtils.hs
-formatted       7d8238517a1b  fay-0.24.2.0/src/haskell-names/Language/Haskell/Names/SyntaxUtils.hs
-formatted       cd1075fe28e2  fay-0.24.2.0/src/haskell-names/Language/Haskell/Names/Types.hs
-formatted       a185a50b6e6a  fay-0.24.2.0/src/main/Main.hs
-formatted       b9c869a29067  fay-0.24.2.0/src/tests/Test/CommandLine.hs
-formatted       68c640b352e9  fay-0.24.2.0/src/tests/Test/Compile.hs
-formatted       6fdbf9951c76  fay-0.24.2.0/src/tests/Test/Convert.hs
-formatted       89d594b07db0  fay-0.24.2.0/src/tests/Test/Desugar.hs
-formatted       a3937c4d8bef  fay-0.24.2.0/src/tests/Test/Util.hs
-formatted       198e7e859e4a  fay-0.24.2.0/src/tests/Tests.hs
-formatted       8114602da4c3  fay-0.24.2.0/tests/AllBaseModules.hs
-formatted       e78d25c5a73d  fay-0.24.2.0/tests/AutomaticList.hs
-formatted       779c72fbdb74  fay-0.24.2.0/tests/Bool.hs
-formatted       d5c6ec08c4a5  fay-0.24.2.0/tests/CPP.hs
-formatted       61e542a01350  fay-0.24.2.0/tests/Char.hs
-formatted       7badee2f20a7  fay-0.24.2.0/tests/Compile/CPPMultiLineStrings.hs
-formatted       a5ace073f2a3  fay-0.24.2.0/tests/Compile/CPPTypecheck.hs
-formatted       66d008a435ce  fay-0.24.2.0/tests/Compile/EnumChar.hs
-formatted       79a705007362  fay-0.24.2.0/tests/Compile/ImportRecords.hs
-formatted       ad7ecf9ee4fe  fay-0.24.2.0/tests/Compile/Records.hs
-formatted       9817e9c801a0  fay-0.24.2.0/tests/Compile/StrictWrapper.hs
-formatted       3f10c446d77e  fay-0.24.2.0/tests/Compile/pretty.hs
-formatted       3f10c446d77e  fay-0.24.2.0/tests/Compile/prettyOperators.hs
-formatted       3f10c446d77e  fay-0.24.2.0/tests/Compile/prettyThunks.hs
-formatted       7e5ba819c89a  fay-0.24.2.0/tests/Defined.hs
-formatted       933b5c75c95d  fay-0.24.2.0/tests/DesugarFFI.hs
-formatted       247bf5cdbba0  fay-0.24.2.0/tests/DoLet2.hs
-formatted       8e59e23cdef2  fay-0.24.2.0/tests/DoLet3.hs
-formatted       8506e48ae167  fay-0.24.2.0/tests/Double.hs
-formatted       555ed6125da8  fay-0.24.2.0/tests/Double2.hs
-formatted       940c2db0f038  fay-0.24.2.0/tests/Double3.hs
-formatted       ce51517b312e  fay-0.24.2.0/tests/Double4.hs
-formatted       e7d8f2571cb1  fay-0.24.2.0/tests/Either.hs
-formatted       f00c11dbed60  fay-0.24.2.0/tests/EmptyDataDeclArray.hs
-formatted       7c2bc66a86e6  fay-0.24.2.0/tests/Eq.hs
-formatted       25d8fd9d5d5a  fay-0.24.2.0/tests/ExportEThingAll.hs
-formatted       bea5851db3b4  fay-0.24.2.0/tests/ExportEThingAll_Export.hs
-formatted       b86ba0189dff  fay-0.24.2.0/tests/ExportEThingWith.hs
-formatted       6c639783702a  fay-0.24.2.0/tests/ExportList.hs
-formatted       c70d5951fda8  fay-0.24.2.0/tests/ExportList_A.hs
-formatted       eb351b1cfd3e  fay-0.24.2.0/tests/ExportList_B.hs
-formatted       4736c70718a7  fay-0.24.2.0/tests/ExportList_C.hs
-formatted       41c7f9eb857a  fay-0.24.2.0/tests/ExportList_D.hs
-formatted       b42dad751766  fay-0.24.2.0/tests/ExportQualified_Export.hs
-formatted       e08dc6f4e84b  fay-0.24.2.0/tests/ExportQualified_Import.hs
-formatted       e9617631d536  fay-0.24.2.0/tests/ExportType.hs
-formatted       ba54245a67ef  fay-0.24.2.0/tests/Floating.hs
-formatted       02165869295d  fay-0.24.2.0/tests/FromString.hs
-formatted       fc43945a5277  fay-0.24.2.0/tests/FromString/Dep.hs
-formatted       09e516e107ad  fay-0.24.2.0/tests/FromString/DepDep.hs
-formatted       81bdb91ec92b  fay-0.24.2.0/tests/FromString/FayText.hs
-formatted       3da43a919ebc  fay-0.24.2.0/tests/GADTs_without_records.hs
-formatted       102949714efb  fay-0.24.2.0/tests/GuardWhere.hs
-formatted       4c6803c7f169  fay-0.24.2.0/tests/HidePreludeImport.hs
-formatted       a1408d450caf  fay-0.24.2.0/tests/HidePreludeImport_Import.hs
-formatted       fa5b4cc76a44  fay-0.24.2.0/tests/Hierarchical/Export.hs
-formatted       102307416bcd  fay-0.24.2.0/tests/Hierarchical/RecordDefined.hs
-formatted       920c9acca3b5  fay-0.24.2.0/tests/HierarchicalImport.hs
-formatted       def230ba708f  fay-0.24.2.0/tests/ImplicitPrelude.hs
-formatted       c71809dd7876  fay-0.24.2.0/tests/ImportHiding.hs
-formatted       75f8ddda7df8  fay-0.24.2.0/tests/ImportIThingAll.hs
-formatted       b4c50a46461c  fay-0.24.2.0/tests/ImportList.hs
-formatted       87c5a69d1b76  fay-0.24.2.0/tests/ImportList1/A.hs
-formatted       a25b5782f91c  fay-0.24.2.0/tests/ImportList1/B.hs
-formatted       a9003116e1c9  fay-0.24.2.0/tests/ImportList1/C.hs
-formatted       b5cb6de55974  fay-0.24.2.0/tests/ImportListType.hs
-formatted       69bb47d76aef  fay-0.24.2.0/tests/ImportType.hs
-formatted       440bc41f78be  fay-0.24.2.0/tests/ImportType2.hs
-formatted       5ff8e931a567  fay-0.24.2.0/tests/ImportType2I/A.hs
-formatted       e15dbb9a2720  fay-0.24.2.0/tests/ImportType2I/B.hs
-formatted       9d4bcec16bd7  fay-0.24.2.0/tests/Integer.hs
-formatted       ed2b3650244f  fay-0.24.2.0/tests/Integral.hs
-formatted       dadef2b7cb03  fay-0.24.2.0/tests/Issue215/B.hs
-formatted       eeedb44973d0  fay-0.24.2.0/tests/Issue215A.hs
-formatted       b0a19078b259  fay-0.24.2.0/tests/Js2FayFunc.hs
-formatted       8592007d3db3  fay-0.24.2.0/tests/JsFunctionPassing.hs
-formatted       009642e56a6b  fay-0.24.2.0/tests/LambdaCase.hs
-formatted       47266926fa39  fay-0.24.2.0/tests/LazyOperators.hs
-formatted       ee291ee7e00e  fay-0.24.2.0/tests/List.hs
-formatted       c8021ca9ec3f  fay-0.24.2.0/tests/List2.hs
-formatted       a93b0ff4bcc5  fay-0.24.2.0/tests/ListEq.hs
-formatted       c3daafcf2461  fay-0.24.2.0/tests/MainThunk.hs
-formatted       350d9831d6f8  fay-0.24.2.0/tests/ModuleReExport/ExportsIdentifier.hs
-formatted       25cef8780cae  fay-0.24.2.0/tests/ModuleReExport/ExportsModule.hs
-formatted       9dfef0f7c129  fay-0.24.2.0/tests/ModuleReExports.hs
-formatted       c082d387d888  fay-0.24.2.0/tests/ModuleRecordClash.hs
-formatted       997782df97ba  fay-0.24.2.0/tests/ModuleRecordClash/R.hs
-formatted       53ea9782c8a3  fay-0.24.2.0/tests/ModuleRecordClash2.hs
-formatted       3f2cf09e81b7  fay-0.24.2.0/tests/ModuleRecordClash2_Hello.hs
-formatted       1a83fbebaaf8  fay-0.24.2.0/tests/Monad.hs
-formatted       b3f89d2ed36e  fay-0.24.2.0/tests/Monad2.hs
-formatted       0c9780229637  fay-0.24.2.0/tests/MultiWayIf.hs
-formatted       0e3845c048a2  fay-0.24.2.0/tests/NestedImporting.hs
-formatted       4b3a670722e0  fay-0.24.2.0/tests/NestedImporting/A.hs
-formatted       2a092a0c1f4c  fay-0.24.2.0/tests/NestedImporting2.hs
-formatted       19cbbffb80bc  fay-0.24.2.0/tests/NestedImporting2/A.hs
-formatted       17f211243d54  fay-0.24.2.0/tests/NewtypeImport_Export.hs
-formatted       34ed28dbd073  fay-0.24.2.0/tests/NewtypeImport_Import.hs
-formatted       ad07b3a0d755  fay-0.24.2.0/tests/Nullable.hs
-formatted       f01c35cc494d  fay-0.24.2.0/tests/Num.hs
-formatted       75ea0e91fb04  fay-0.24.2.0/tests/Ord.hs
-formatted       66e4369c7bda  fay-0.24.2.0/tests/PrefixOpPat.hs
-formatted       129023442df5  fay-0.24.2.0/tests/QualifiedImport.hs
-formatted       3298b9301836  fay-0.24.2.0/tests/QualifiedImport/X.hs
-formatted       391559feaa6f  fay-0.24.2.0/tests/QualifiedImport/Y.hs
-formatted       5a73215af899  fay-0.24.2.0/tests/Ratio.hs
-formatted       577c81fcbe39  fay-0.24.2.0/tests/ReExport1.hs
-formatted       97f273a7040d  fay-0.24.2.0/tests/ReExport2.hs
-formatted       9fb50fe15789  fay-0.24.2.0/tests/ReExport3.hs
-formatted       8b077416b2a2  fay-0.24.2.0/tests/ReExportGlobally.hs
-formatted       4b9cbdde2416  fay-0.24.2.0/tests/ReExportGlobally/A.hs
-formatted       b21d1616e152  fay-0.24.2.0/tests/ReExportGloballyExplicit.hs
-formatted       9315bbd88930  fay-0.24.2.0/tests/RealFrac.hs
-formatted       1a6a33c6ac9d  fay-0.24.2.0/tests/RecCon.hs
-formatted       986c34c1b565  fay-0.24.2.0/tests/RecDecl.hs
-formatted       bb55ab6798d0  fay-0.24.2.0/tests/RecordImport2_Export1.hs
-formatted       938433aeb8c8  fay-0.24.2.0/tests/RecordImport2_Export2.hs
-formatted       c044e70c8101  fay-0.24.2.0/tests/RecordImport2_Import.hs
-formatted       9ed1c0f11b4a  fay-0.24.2.0/tests/RecordImport_Export.hs
-formatted       7436f43b45cc  fay-0.24.2.0/tests/RecordImport_Import.hs
-formatted       227a87a9ae8b  fay-0.24.2.0/tests/Sink.hs
-formatted       0d52d0cd7e4b  fay-0.24.2.0/tests/SkipLetTypes.hs
-formatted       79a7eb241171  fay-0.24.2.0/tests/SkipWhereTypes.hs
-formatted       b2f90faa6d96  fay-0.24.2.0/tests/StringForcing.hs
-formatted       78f704c770c1  fay-0.24.2.0/tests/Strings.hs
-formatted       b23a6f00c551  fay-0.24.2.0/tests/T190.hs
-formatted       692f0dae5fb8  fay-0.24.2.0/tests/T190_A.hs
-formatted       8e73afc88ae8  fay-0.24.2.0/tests/T190_B.hs
-formatted       e68acdaf2dfe  fay-0.24.2.0/tests/T190_C.hs
-formatted       7bd1c4fd8478  fay-0.24.2.0/tests/TextOrd.hs
-formatted       f47544b81667  fay-0.24.2.0/tests/Trace.hs
-formatted       c578ce2acbf6  fay-0.24.2.0/tests/TupleCalls.hs
-formatted       d35a3f3c7245  fay-0.24.2.0/tests/TyVarSerialization.hs
-formatted       7d85fb13bd93  fay-0.24.2.0/tests/Var.hs
-formatted       7a2ffc1587f5  fay-0.24.2.0/tests/VarPtr.hs
-formatted       5bcb67338113  fay-0.24.2.0/tests/WhenUnlessRecursion.hs
-formatted       c767b8778a1d  fay-0.24.2.0/tests/asPatternMatch.hs
-formatted       aa05f8bd2bf0  fay-0.24.2.0/tests/automatic.hs
-formatted       83d1d385ae83  fay-0.24.2.0/tests/baseFixities.hs
-formatted       ce58f47bac04  fay-0.24.2.0/tests/basicFunctions.hs
-formatted       33b5a5453ff8  fay-0.24.2.0/tests/case.hs
-formatted       a51f036ac082  fay-0.24.2.0/tests/case2.hs
-formatted       4a4542652251  fay-0.24.2.0/tests/case3.hs
-formatted       e563419849e3  fay-0.24.2.0/tests/caseList.hs
-formatted       6f41ab7df8c9  fay-0.24.2.0/tests/caseWildcard.hs
-formatted       9437474fc565  fay-0.24.2.0/tests/circular.hs
-formatted       3ac360393116  fay-0.24.2.0/tests/curry.hs
-formatted       9bbe8cd8c749  fay-0.24.2.0/tests/cycle.hs
-formatted       d07827315b77  fay-0.24.2.0/tests/do.hs
-formatted       262e4e61e6b8  fay-0.24.2.0/tests/doAssingPatternMatch.hs
-formatted       ad5b707f664a  fay-0.24.2.0/tests/doBindAssign.hs
-formatted       e41cbdd7656a  fay-0.24.2.0/tests/doLet.hs
-formatted       9f8a8d10c1d3  fay-0.24.2.0/tests/emptyMain.hs
-formatted       380eff7dedb9  fay-0.24.2.0/tests/enumFrom.hs
-formatted       05834fe58432  fay-0.24.2.0/tests/error.hs
-formatted       f563902672cb  fay-0.24.2.0/tests/ffiExpr.hs
-formatted       73697f0c099c  fay-0.24.2.0/tests/ffimunging.hs
-formatted       dc67c504a097  fay-0.24.2.0/tests/fix.hs
-formatted       9267690ec8d2  fay-0.24.2.0/tests/fromInteger.hs
-formatted       73a7dce83bdd  fay-0.24.2.0/tests/fromIntegral.hs
-formatted       860a7aed8af3  fay-0.24.2.0/tests/guards.hs
-formatted       8ff7b7e5d80d  fay-0.24.2.0/tests/infixDataConst.hs
-formatted       99c963974ca0  fay-0.24.2.0/tests/ints.hs
-formatted       9ec2af24577b  fay-0.24.2.0/tests/linesAndWords.hs
-formatted       36a10a974013  fay-0.24.2.0/tests/listComprehensions.hs
-formatted       392b79e97d1d  fay-0.24.2.0/tests/listlen.hs
-formatted       9d98dc262b39  fay-0.24.2.0/tests/mutableReference.hs
-formatted       f983711e6f6b  fay-0.24.2.0/tests/nameGen.hs
-formatted       00499901b441  fay-0.24.2.0/tests/namedFieldPuns.hs
-formatted       68fcd666b331  fay-0.24.2.0/tests/negation.hs
-formatted       4c9cf35b4aee  fay-0.24.2.0/tests/newtype.hs
-formatted       36cf37d7cd68  fay-0.24.2.0/tests/newtypeIndirectApp.hs
-formatted       a587812e6602  fay-0.24.2.0/tests/numTheory.hs
-formatted       40bd883716b3  fay-0.24.2.0/tests/nums.hs
-formatted       c27df9670630  fay-0.24.2.0/tests/pats.hs
-formatted       b317cbb85f97  fay-0.24.2.0/tests/patternGuards.hs
-formatted       353e37b5a857  fay-0.24.2.0/tests/patternMatchFail.hs
-formatted       0e69935e45c9  fay-0.24.2.0/tests/patternMatchLet.hs
-formatted       f963663ae2cf  fay-0.24.2.0/tests/patternMatchingTuples.hs
-formatted       41871bce5735  fay-0.24.2.0/tests/recordFunctionPatternMatch.hs
-formatted       6010444abc75  fay-0.24.2.0/tests/recordPatternMatch.hs
-formatted       0dda5fc8df9d  fay-0.24.2.0/tests/recordPatternMatch2.hs
-formatted       63b9091a92a2  fay-0.24.2.0/tests/recordUseBeforeDefine.hs
-formatted       6000e445e696  fay-0.24.2.0/tests/recordWildCards.hs
-formatted       63a19682d7d9  fay-0.24.2.0/tests/records.hs
-formatted       a371f7d8d704  fay-0.24.2.0/tests/recursive.hs
-formatted       9797f8836f3b  fay-0.24.2.0/tests/reservedWords.hs
-formatted       3bdaf5d65328  fay-0.24.2.0/tests/sections.hs
-formatted       19e9c7c69db9  fay-0.24.2.0/tests/seq-fake.hs
-formatted       2ac1dc3c2516  fay-0.24.2.0/tests/seq.hs
-formatted       add7affcb8d6  fay-0.24.2.0/tests/serialization.hs
-formatted       e76961e79030  fay-0.24.2.0/tests/succPred.hs
-formatted       461d16ef4da1  fay-0.24.2.0/tests/tailRecursion.hs
-formatted       b29bc268b713  fay-0.24.2.0/tests/then.hs
-formatted       7b2a525c6d17  fay-0.24.2.0/tests/tupleCon.hs
-formatted       71a59816933e  fay-0.24.2.0/tests/tupleSec.hs
-formatted       c864de89b243  fay-0.24.2.0/tests/unit.hs
-formatted       cfb7dd15a745  fay-0.24.2.0/tests/utf8.hs
-formatted       68905bc32429  fay-0.24.2.0/tests/where.hs
-formatted       6ea0b301c8c4  fay-0.24.2.0/tests/whereBind.hs
-formatted       62b7dd25b5c9  fay-0.24.2.0/tests/whereBind2.hs
-formatted       dd52de0acf94  fay-0.24.2.0/tests/whereBind3.hs
-formatted       3842f9681941  flatparse-0.5.6.1/bench/Attoparsec.hs
-formatted       b150292cdb35  flatparse-0.5.6.1/bench/Bench.hs
-formatted       238be2e5d5b3  flatparse-0.5.6.1/bench/Common.hs
-formatted       008c0e1a942c  flatparse-0.5.6.1/bench/FPBasic.hs
-formatted       de5590d5ade3  flatparse-0.5.6.1/bench/FPStateful.hs
-formatted       691876a14ba8  flatparse-0.5.6.1/bench/Megaparsec.hs
-formatted       4e5c403e7a3b  flatparse-0.5.6.1/bench/Parsec.hs
-formatted       767291fb667b  flatparse-0.5.6.1/bench/ReadInteger.hs
-formatted       bcacec1d3ede  flatparse-0.5.6.1/src/FlatParse/Basic.hs
-formatted       162dda57b01e  flatparse-0.5.6.1/src/FlatParse/Basic/Addr.hs
-formatted       e944703d9644  flatparse-0.5.6.1/src/FlatParse/Basic/Base.hs
-formatted       2f38d187e067  flatparse-0.5.6.1/src/FlatParse/Basic/Bytes.hs
-formatted       a10fb5a46059  flatparse-0.5.6.1/src/FlatParse/Basic/Integers.hs
-formatted       6a3463af4ece  flatparse-0.5.6.1/src/FlatParse/Basic/Parser.hs
-formatted       91f628bd7bbb  flatparse-0.5.6.1/src/FlatParse/Basic/Switch.hs
-formatted       402aaa49becf  flatparse-0.5.6.1/src/FlatParse/Basic/Text.hs
-formatted       fbb54c111b6d  flatparse-0.5.6.1/src/FlatParse/Common/Assorted.hs
-formatted       3022f28f8121  flatparse-0.5.6.1/src/FlatParse/Common/GHCExts.hs
-formatted       c0055f39a562  flatparse-0.5.6.1/src/FlatParse/Common/Numbers.hs
-formatted       b9e95be8021e  flatparse-0.5.6.1/src/FlatParse/Common/Parser.hs
-formatted       1b42e699bc93  flatparse-0.5.6.1/src/FlatParse/Common/Position.hs
-formatted       10cb24214eea  flatparse-0.5.6.1/src/FlatParse/Common/Switch.hs
-formatted       412fc97e8505  flatparse-0.5.6.1/src/FlatParse/Examples/BasicLambda/Lexer.hs
-formatted       2c72cb96232c  flatparse-0.5.6.1/src/FlatParse/Examples/BasicLambda/Parser.hs
-formatted       24e21b400286  flatparse-0.5.6.1/src/FlatParse/Minimal.hs
-formatted       3f356742f6e5  flatparse-0.5.6.1/src/FlatParse/Minimal/Internal.hs
-formatted       1fc3563f3fee  flatparse-0.5.6.1/src/FlatParse/Stateful.hs
-formatted       122b007be519  flatparse-0.5.6.1/src/FlatParse/Stateful/Addr.hs
-formatted       bc3b9c3f288a  flatparse-0.5.6.1/src/FlatParse/Stateful/Base.hs
-formatted       944f11f97db1  flatparse-0.5.6.1/src/FlatParse/Stateful/Bytes.hs
-formatted       68018af3f1d4  flatparse-0.5.6.1/src/FlatParse/Stateful/Integers.hs
-formatted       b48d8164beaa  flatparse-0.5.6.1/src/FlatParse/Stateful/Parser.hs
-formatted       b1441b8d4e2e  flatparse-0.5.6.1/src/FlatParse/Stateful/Switch.hs
-formatted       c4498f63da8b  flatparse-0.5.6.1/src/FlatParse/Stateful/Text.hs
-formatted       1a4004f0ef57  flatparse-0.5.6.1/test/Test.hs
-formatted       b3d258de0403  free-5.2/examples/PerfTH.hs
-formatted       24418bc38fac  free-5.2/examples/RetryTH.hs
-formatted       7641743d0c1f  free-5.2/examples/ValidationForm.hs
-formatted       0fed369b08ea  free-5.2/src/Control/Alternative/Free.hs
-formatted       6cdf81c21164  free-5.2/src/Control/Alternative/Free/Final.hs
-formatted       8b307bae43e5  free-5.2/src/Control/Applicative/Free.hs
-formatted       1593e637f12f  free-5.2/src/Control/Applicative/Free/Fast.hs
-formatted       f23f3f214be8  free-5.2/src/Control/Applicative/Free/Final.hs
-formatted       51e39ca09f78  free-5.2/src/Control/Applicative/Trans/Free.hs
-formatted       dd9069083e98  free-5.2/src/Control/Comonad/Cofree.hs
-formatted       9b0f6d5a4082  free-5.2/src/Control/Comonad/Cofree/Class.hs
-formatted       866a464a9f8d  free-5.2/src/Control/Comonad/Trans/Cofree.hs
-formatted       19144d43e9b1  free-5.2/src/Control/Comonad/Trans/Coiter.hs
-formatted       f6734128b306  free-5.2/src/Control/Monad/Free.hs
-formatted       92f9ffbc940f  free-5.2/src/Control/Monad/Free/Ap.hs
-formatted       93c96d44b956  free-5.2/src/Control/Monad/Free/Church.hs
-formatted       39bf4e33f6e2  free-5.2/src/Control/Monad/Free/Class.hs
-formatted       ff2776be0a4c  free-5.2/src/Control/Monad/Free/TH.hs
-formatted       a51821c826a6  free-5.2/src/Control/Monad/Trans/Free.hs
-formatted       b9554e2bf6b2  free-5.2/src/Control/Monad/Trans/Free/Ap.hs
-formatted       91e1c571caac  free-5.2/src/Control/Monad/Trans/Free/Church.hs
-formatted       d881a98c4458  free-5.2/src/Control/Monad/Trans/Iter.hs
-formatted       56c248be435c  fsnotify-0.4.4.0/Setup.hs
-formatted       389a7e5c2ae0  fsnotify-0.4.4.0/example/Main.hs
-formatted       79850be0460c  fsnotify-0.4.4.0/src/System/FSNotify.hs
-formatted       6305f96f4771  fsnotify-0.4.4.0/src/System/FSNotify/Devel.hs
-formatted       0d0e6f3eaf91  fsnotify-0.4.4.0/src/System/FSNotify/Find.hs
-formatted       b3352b1bac69  fsnotify-0.4.4.0/src/System/FSNotify/Linux.hs
-formatted       625e3b56cc56  fsnotify-0.4.4.0/src/System/FSNotify/Linux/Util.hs
-formatted       4117630a0f98  fsnotify-0.4.4.0/src/System/FSNotify/Listener.hs
-formatted       27f8de9419d7  fsnotify-0.4.4.0/src/System/FSNotify/OSX.hs
-formatted       7469549d73c7  fsnotify-0.4.4.0/src/System/FSNotify/Path.hs
-formatted       519b0f9f9013  fsnotify-0.4.4.0/src/System/FSNotify/Polling.hs
-formatted       a2ef1e22a2f9  fsnotify-0.4.4.0/src/System/FSNotify/Types.hs
-formatted       e0e90401aa05  fsnotify-0.4.4.0/src/System/FSNotify/Win32.hs
-formatted       c7e9311ea071  fsnotify-0.4.4.0/test/FSNotify/Test/EventTests.hs
-partly-checked  e314b5ced2e3  fsnotify-0.4.4.0/test/FSNotify/Test/Util.hs
-formatted       77d07b9cdac3  fsnotify-0.4.4.0/test/Main.hs
-formatted       d207c49e99c4  fsnotify-0.4.4.0/win-src/System/Win32/Notify.hs
-formatted       e865ae48f11b  hakyll-4.17.0.0/Setup.hs
-formatted       0a3f98709f72  hakyll-4.17.0.0/data/example/site.hs
-formatted       116aaa72d476  hakyll-4.17.0.0/lib/Data/List/Extended.hs
-formatted       f638cd45236f  hakyll-4.17.0.0/lib/Data/Yaml/Extended.hs
-formatted       0fcae45b2ba9  hakyll-4.17.0.0/lib/Hakyll.hs
-formatted       26eb24c40060  hakyll-4.17.0.0/lib/Hakyll/Check.hs
-formatted       0442498d286c  hakyll-4.17.0.0/lib/Hakyll/Commands.hs
-formatted       dd7499d469a5  hakyll-4.17.0.0/lib/Hakyll/Core/Compiler.hs
-formatted       e9f89f339007  hakyll-4.17.0.0/lib/Hakyll/Core/Compiler/Internal.hs
-formatted       c7cfc530bd2a  hakyll-4.17.0.0/lib/Hakyll/Core/Compiler/Require.hs
-formatted       10bda89cbe6d  hakyll-4.17.0.0/lib/Hakyll/Core/Configuration.hs
-formatted       9ea9908950b2  hakyll-4.17.0.0/lib/Hakyll/Core/Dependencies.hs
-formatted       558f0d294954  hakyll-4.17.0.0/lib/Hakyll/Core/File.hs
-formatted       c3cd48ba4d35  hakyll-4.17.0.0/lib/Hakyll/Core/Identifier.hs
-formatted       02b568af6a14  hakyll-4.17.0.0/lib/Hakyll/Core/Identifier/Pattern.hs
-formatted       4da1703227de  hakyll-4.17.0.0/lib/Hakyll/Core/Identifier/Pattern/Internal.hs
-formatted       25bce39252d0  hakyll-4.17.0.0/lib/Hakyll/Core/Item.hs
-formatted       ea66b0f47f92  hakyll-4.17.0.0/lib/Hakyll/Core/Item/SomeItem.hs
-formatted       8d06795590b2  hakyll-4.17.0.0/lib/Hakyll/Core/Logger.hs
-formatted       06876ce9052c  hakyll-4.17.0.0/lib/Hakyll/Core/Metadata.hs
-formatted       6e39852547dc  hakyll-4.17.0.0/lib/Hakyll/Core/Provider.hs
-formatted       1de546a3cffb  hakyll-4.17.0.0/lib/Hakyll/Core/Provider/Internal.hs
-formatted       4380c86a9504  hakyll-4.17.0.0/lib/Hakyll/Core/Provider/Metadata.hs
-formatted       0cfbeb9b73ba  hakyll-4.17.0.0/lib/Hakyll/Core/Provider/MetadataCache.hs
-formatted       4d859f3e45b2  hakyll-4.17.0.0/lib/Hakyll/Core/Routes.hs
-formatted       1be73b780ecd  hakyll-4.17.0.0/lib/Hakyll/Core/Rules.hs
-formatted       93257f6a99a8  hakyll-4.17.0.0/lib/Hakyll/Core/Rules/Internal.hs
-formatted       f97472fe3373  hakyll-4.17.0.0/lib/Hakyll/Core/Runtime.hs
-formatted       df1c2bd7e8fb  hakyll-4.17.0.0/lib/Hakyll/Core/Store.hs
-formatted       bdd417b6806c  hakyll-4.17.0.0/lib/Hakyll/Core/UnixFilter.hs
-formatted       acbb971a63bc  hakyll-4.17.0.0/lib/Hakyll/Core/Util/File.hs
-formatted       5cef0dfbc5f6  hakyll-4.17.0.0/lib/Hakyll/Core/Util/Parser.hs
-formatted       3f21bbf445b2  hakyll-4.17.0.0/lib/Hakyll/Core/Util/String.hs
-formatted       a3abc0522132  hakyll-4.17.0.0/lib/Hakyll/Core/Writable.hs
-formatted       89452e47ea7e  hakyll-4.17.0.0/lib/Hakyll/Main.hs
-formatted       6ed09594e890  hakyll-4.17.0.0/lib/Hakyll/Preview/Poll.hs
-formatted       d363dc04f1a7  hakyll-4.17.0.0/lib/Hakyll/Preview/Server.hs
-formatted       90f95798e3c7  hakyll-4.17.0.0/lib/Hakyll/Web/CompressCss.hs
-formatted       671587b91bc7  hakyll-4.17.0.0/lib/Hakyll/Web/Feed.hs
-formatted       e50bf6641fdd  hakyll-4.17.0.0/lib/Hakyll/Web/Html.hs
-formatted       2c80bbb22db0  hakyll-4.17.0.0/lib/Hakyll/Web/Html/RelativizeUrls.hs
-formatted       96d6089c0c79  hakyll-4.17.0.0/lib/Hakyll/Web/Meta/JSONLD.hs
-formatted       a3dbe80d0b45  hakyll-4.17.0.0/lib/Hakyll/Web/Meta/OpenGraph.hs
-formatted       a3b6503b2c4a  hakyll-4.17.0.0/lib/Hakyll/Web/Meta/TwitterCard.hs
-formatted       47b99b2ffc3a  hakyll-4.17.0.0/lib/Hakyll/Web/Paginate.hs
-formatted       b95f8f27cbd7  hakyll-4.17.0.0/lib/Hakyll/Web/Pandoc.hs
-formatted       c168dc9fdb41  hakyll-4.17.0.0/lib/Hakyll/Web/Pandoc/Biblio.hs
-formatted       63c711e3ed6f  hakyll-4.17.0.0/lib/Hakyll/Web/Pandoc/Binary.hs
-formatted       0fc2b889ce48  hakyll-4.17.0.0/lib/Hakyll/Web/Pandoc/FileType.hs
-formatted       d77258d3d120  hakyll-4.17.0.0/lib/Hakyll/Web/Redirect.hs
-formatted       89e848715da3  hakyll-4.17.0.0/lib/Hakyll/Web/Tags.hs
-formatted       07888eef3bb3  hakyll-4.17.0.0/lib/Hakyll/Web/Template.hs
-formatted       61c4714e9090  hakyll-4.17.0.0/lib/Hakyll/Web/Template/Context.hs
-formatted       46295fe0766a  hakyll-4.17.0.0/lib/Hakyll/Web/Template/Internal.hs
-formatted       d367498bf2ae  hakyll-4.17.0.0/lib/Hakyll/Web/Template/Internal/Element.hs
-formatted       7741b1b5c63c  hakyll-4.17.0.0/lib/Hakyll/Web/Template/Internal/Trim.hs
-formatted       270fe0160883  hakyll-4.17.0.0/lib/Hakyll/Web/Template/List.hs
-formatted       73b58eb8d063  hakyll-4.17.0.0/src/Init.hs
-formatted       a98f565dc3bd  hakyll-4.17.0.0/tests/Hakyll/Core/Dependencies/Tests.hs
-formatted       3bf0323ba67d  hakyll-4.17.0.0/tests/Hakyll/Core/Identifier/Tests.hs
-formatted       9de7f44e0478  hakyll-4.17.0.0/tests/Hakyll/Core/Provider/Metadata/Tests.hs
-formatted       7741f8e19a21  hakyll-4.17.0.0/tests/Hakyll/Core/Provider/Tests.hs
-formatted       0a6fac8a3fe5  hakyll-4.17.0.0/tests/Hakyll/Core/Routes/Tests.hs
-formatted       db910a6e5dc7  hakyll-4.17.0.0/tests/Hakyll/Core/Rules/Tests.hs
-formatted       82ed53ac9567  hakyll-4.17.0.0/tests/Hakyll/Core/Runtime/Tests.hs
-formatted       3a05a7e0bc33  hakyll-4.17.0.0/tests/Hakyll/Core/Store/Tests.hs
-formatted       1d5cb288b64e  hakyll-4.17.0.0/tests/Hakyll/Core/UnixFilter/Tests.hs
-formatted       6e4a85499d79  hakyll-4.17.0.0/tests/Hakyll/Core/Util/String/Tests.hs
-formatted       f1ebb50fe01f  hakyll-4.17.0.0/tests/Hakyll/Web/CompressCss/Tests.hs
-formatted       80f74904677f  hakyll-4.17.0.0/tests/Hakyll/Web/Feed/Tests.hs
-formatted       d894df9d2439  hakyll-4.17.0.0/tests/Hakyll/Web/Html/RelativizeUrls/Tests.hs
-formatted       4744c78df9c5  hakyll-4.17.0.0/tests/Hakyll/Web/Html/Tests.hs
-formatted       2a15f11a4a04  hakyll-4.17.0.0/tests/Hakyll/Web/Pandoc/Biblio/Tests.hs
-formatted       2ea236fa5d2a  hakyll-4.17.0.0/tests/Hakyll/Web/Pandoc/FileType/Tests.hs
-formatted       9f03f7b47ce5  hakyll-4.17.0.0/tests/Hakyll/Web/Tags/Tests.hs
-formatted       c56b3b0da4d3  hakyll-4.17.0.0/tests/Hakyll/Web/Template/Context/Tests.hs
-formatted       e2ffd8e19970  hakyll-4.17.0.0/tests/Hakyll/Web/Template/Tests.hs
-formatted       809577082614  hakyll-4.17.0.0/tests/TestSuite.hs
-formatted       d0e8ca390798  hakyll-4.17.0.0/tests/TestSuite/Util.hs
-formatted       66153c16e099  hakyll-4.17.0.0/web/site.hs
-formatted       9226007b6541  hashable-1.5.1.0/Setup.hs
-formatted       ca97ac3a2690  hashable-1.5.1.0/examples/Main.hs
-formatted       eeae7da4f236  hashable-1.5.1.0/src/Data/Hashable.hs
-partly-checked  87f8823c46f6  hashable-1.5.1.0/src/Data/Hashable/Class.hs
-formatted       77b173dc1cff  hashable-1.5.1.0/src/Data/Hashable/FFI.hs
-formatted       d2be5b809f2a  hashable-1.5.1.0/src/Data/Hashable/Generic.hs
-formatted       bef7142e6e4e  hashable-1.5.1.0/src/Data/Hashable/Generic/Instances.hs
-formatted       c9c87bb00bc0  hashable-1.5.1.0/src/Data/Hashable/Imports.hs
-formatted       e6b4c010a36d  hashable-1.5.1.0/src/Data/Hashable/Lifted.hs
-formatted       710bda251742  hashable-1.5.1.0/src/Data/Hashable/LowLevel.hs
-formatted       228c88ef0843  hashable-1.5.1.0/src/Data/Hashable/Mix.hs
-formatted       bd7108c77ca4  hashable-1.5.1.0/src/Data/Hashable/XXH3.hs
-formatted       f74f5b618f9a  hashable-1.5.1.0/tests/Main.hs
-formatted       32ee1e5efc54  hashable-1.5.1.0/tests/Properties.hs
-formatted       aa65b20321d6  hashable-1.5.1.0/tests/Regress.hs
-formatted       468c72120829  hashable-1.5.1.0/tests/xxhash-tests.hs
-formatted       fd56f35a1469  haxl-2.5.1.1/Haxl/Core.hs
-formatted       d1219c0fe211  haxl-2.5.1.1/Haxl/Core/CallGraph.hs
-formatted       df46f7db59bc  haxl-2.5.1.1/Haxl/Core/DataCache.hs
-formatted       23dc644893ba  haxl-2.5.1.1/Haxl/Core/DataSource.hs
-formatted       30d8adb0a3bc  haxl-2.5.1.1/Haxl/Core/Exception.hs
-formatted       270cd401eb34  haxl-2.5.1.1/Haxl/Core/Fetch.hs
-formatted       b4afaa8d717d  haxl-2.5.1.1/Haxl/Core/Flags.hs
-formatted       6116af7c8eab  haxl-2.5.1.1/Haxl/Core/Memo.hs
-formatted       7f70ce88402f  haxl-2.5.1.1/Haxl/Core/Monad.hs
-formatted       19ee0e1d26fe  haxl-2.5.1.1/Haxl/Core/Parallel.hs
-formatted       d03eb9460c3a  haxl-2.5.1.1/Haxl/Core/Profile.hs
-formatted       015cb76495fb  haxl-2.5.1.1/Haxl/Core/RequestStore.hs
-formatted       c0648ec8a2c7  haxl-2.5.1.1/Haxl/Core/Run.hs
-formatted       a8e73c380c33  haxl-2.5.1.1/Haxl/Core/ShowP.hs
-formatted       f2cb25c4ae73  haxl-2.5.1.1/Haxl/Core/StateStore.hs
-formatted       fa6eb029c52a  haxl-2.5.1.1/Haxl/Core/Stats.hs
-formatted       bd368a5862fd  haxl-2.5.1.1/Haxl/Core/Util.hs
-formatted       4d201ce15d28  haxl-2.5.1.1/Haxl/DataSource/ConcurrentIO.hs
-formatted       cf38b55569d1  haxl-2.5.1.1/Haxl/Prelude.hs
-formatted       0bf115c25c25  haxl-2.5.1.1/Setup.hs
-formatted       b30d01a22e96  haxl-2.5.1.1/tests/AdoTests.hs
-formatted       7392cb2bf8df  haxl-2.5.1.1/tests/AllTests.hs
-formatted       29963bfcd43e  haxl-2.5.1.1/tests/BadDataSource.hs
-formatted       3930b8064973  haxl-2.5.1.1/tests/BatchTests.hs
-formatted       a75656cc58b4  haxl-2.5.1.1/tests/Bench.hs
-formatted       c77a8f206311  haxl-2.5.1.1/tests/CoreTests.hs
-formatted       46378c08a2d4  haxl-2.5.1.1/tests/DataCacheTest.hs
-formatted       8120f9ee1106  haxl-2.5.1.1/tests/DataSourceDispatchTests.hs
-formatted       04f8f254da6b  haxl-2.5.1.1/tests/ExampleDataSource.hs
-formatted       962f9962dfb5  haxl-2.5.1.1/tests/ExceptionStackTests.hs
-formatted       329e1c7e0fd4  haxl-2.5.1.1/tests/FullyAsyncTest.hs
-formatted       5b348a1f5fab  haxl-2.5.1.1/tests/LoadCache.hs
-formatted       4c9a496637db  haxl-2.5.1.1/tests/MemoizationTests.hs
-formatted       cd2dd7052af8  haxl-2.5.1.1/tests/MockTAO.hs
-formatted       679224c9d5e5  haxl-2.5.1.1/tests/MonadAsyncTest.hs
-formatted       08f288ec8741  haxl-2.5.1.1/tests/MonadBench.hs
-formatted       be417b8bc52f  haxl-2.5.1.1/tests/OutgoneFetchesTests.hs
-formatted       f760bff6e190  haxl-2.5.1.1/tests/ParallelTests.hs
-formatted       bdcd901d6365  haxl-2.5.1.1/tests/ProfileTests.hs
-formatted       478999c2d1bd  haxl-2.5.1.1/tests/SleepDataSource.hs
-formatted       23f293b1253d  haxl-2.5.1.1/tests/StatsTests.hs
-formatted       0deec7d41cb2  haxl-2.5.1.1/tests/TestBadDataSource.hs
-formatted       8c99d9ddfade  haxl-2.5.1.1/tests/TestExampleDataSource.hs
-formatted       33f33c2b6767  haxl-2.5.1.1/tests/TestMain.hs
-formatted       c0a01d1bb863  haxl-2.5.1.1/tests/TestTypes.hs
-formatted       0cdf14515138  haxl-2.5.1.1/tests/TestUtils.hs
-formatted       19781f6f8677  haxl-2.5.1.1/tests/WorkDataSource.hs
-formatted       b8be7bcaa06e  haxl-2.5.1.1/tests/WriteTests.hs
-formatted       ac2ee89a4ffa  hedgehog-1.7/src/Hedgehog.hs
-formatted       1c094fda6263  hedgehog-1.7/src/Hedgehog/Gen.hs
-formatted       c03c7c6e1080  hedgehog-1.7/src/Hedgehog/Internal/Barbie.hs
-formatted       d9db2ccb4bc7  hedgehog-1.7/src/Hedgehog/Internal/Config.hs
-formatted       7855a4bfe6fc  hedgehog-1.7/src/Hedgehog/Internal/Discovery.hs
-formatted       15b153c4095e  hedgehog-1.7/src/Hedgehog/Internal/Distributive.hs
-formatted       db3d79ebed8e  hedgehog-1.7/src/Hedgehog/Internal/Exception.hs
-formatted       93bc9212bbae  hedgehog-1.7/src/Hedgehog/Internal/Gen.hs
-formatted       82bd44e46c74  hedgehog-1.7/src/Hedgehog/Internal/HTraversable.hs
-formatted       0b6e930c617c  hedgehog-1.7/src/Hedgehog/Internal/Opaque.hs
-formatted       0c41d0d4f087  hedgehog-1.7/src/Hedgehog/Internal/Prelude.hs
-formatted       099ade9775e8  hedgehog-1.7/src/Hedgehog/Internal/Property.hs
-formatted       144a39866885  hedgehog-1.7/src/Hedgehog/Internal/Queue.hs
-formatted       9d14d12ad0b0  hedgehog-1.7/src/Hedgehog/Internal/Range.hs
-formatted       e83fa4c27743  hedgehog-1.7/src/Hedgehog/Internal/Region.hs
-formatted       1f1c1a46ba31  hedgehog-1.7/src/Hedgehog/Internal/Report.hs
-formatted       12a45329d79f  hedgehog-1.7/src/Hedgehog/Internal/Runner.hs
-formatted       fb3eda304e9f  hedgehog-1.7/src/Hedgehog/Internal/Seed.hs
-formatted       8b91f20c13a8  hedgehog-1.7/src/Hedgehog/Internal/Show.hs
-formatted       c446e4f9c366  hedgehog-1.7/src/Hedgehog/Internal/Shrink.hs
-formatted       c083b8dff0b7  hedgehog-1.7/src/Hedgehog/Internal/Source.hs
-formatted       e74cdd8b92d6  hedgehog-1.7/src/Hedgehog/Internal/State.hs
-formatted       8c1393826b50  hedgehog-1.7/src/Hedgehog/Internal/TH.hs
-formatted       79e0eb255f0f  hedgehog-1.7/src/Hedgehog/Internal/Tree.hs
-formatted       42e8fad71904  hedgehog-1.7/src/Hedgehog/Internal/Tripping.hs
-formatted       33c9141eeffd  hedgehog-1.7/src/Hedgehog/Main.hs
-formatted       d71772dad16c  hedgehog-1.7/src/Hedgehog/Range.hs
-formatted       e23ab85e9c05  hedgehog-1.7/test/Test/Hedgehog/Applicative.hs
-formatted       37e6a1383406  hedgehog-1.7/test/Test/Hedgehog/Confidence.hs
-formatted       937e5890d2b0  hedgehog-1.7/test/Test/Hedgehog/Filter.hs
-formatted       6e253dd6a871  hedgehog-1.7/test/Test/Hedgehog/Maybe.hs
-formatted       b90e9af1e67d  hedgehog-1.7/test/Test/Hedgehog/Seed.hs
-formatted       4edd92333a33  hedgehog-1.7/test/Test/Hedgehog/Skip.hs
-formatted       d20ec251ab72  hedgehog-1.7/test/Test/Hedgehog/Text.hs
-formatted       2d3b2e9d7168  hedgehog-1.7/test/Test/Hedgehog/Zip.hs
-formatted       df799f9ffb57  hedgehog-1.7/test/test.hs
-formatted       f6dcbd2ed311  hledger-1.52.1/Hledger/Cli.hs
-formatted       367c43f7a331  hledger-1.52.1/Hledger/Cli/Anchor.hs
-formatted       8da9d899b517  hledger-1.52.1/Hledger/Cli/Anon.hs
-formatted       9dd2718db13b  hledger-1.52.1/Hledger/Cli/CliOptions.hs
-formatted       e5decead5a84  hledger-1.52.1/Hledger/Cli/Commands.hs
-formatted       982029c1f001  hledger-1.52.1/Hledger/Cli/Commands/Accounts.hs
-formatted       17bf0339577c  hledger-1.52.1/Hledger/Cli/Commands/Activity.hs
-formatted       16f8888d5909  hledger-1.52.1/Hledger/Cli/Commands/Add.hs
-formatted       61e6c36c3497  hledger-1.52.1/Hledger/Cli/Commands/Aregister.hs
-formatted       e54ad4de1d4e  hledger-1.52.1/Hledger/Cli/Commands/Balance.hs
-formatted       df62b41123dc  hledger-1.52.1/Hledger/Cli/Commands/Balancesheet.hs
-formatted       2a8714e55f40  hledger-1.52.1/Hledger/Cli/Commands/Balancesheetequity.hs
-formatted       a74be8a824e5  hledger-1.52.1/Hledger/Cli/Commands/Cashflow.hs
-formatted       9f950310dd7f  hledger-1.52.1/Hledger/Cli/Commands/Check.hs
-formatted       d72408ffa321  hledger-1.52.1/Hledger/Cli/Commands/Close.hs
-formatted       e9c489e0f01e  hledger-1.52.1/Hledger/Cli/Commands/Codes.hs
-formatted       075784a0845d  hledger-1.52.1/Hledger/Cli/Commands/Commodities.hs
-formatted       b88eaa5e1e83  hledger-1.52.1/Hledger/Cli/Commands/Demo.hs
-formatted       82dfab8a9677  hledger-1.52.1/Hledger/Cli/Commands/Descriptions.hs
-formatted       3999deea0979  hledger-1.52.1/Hledger/Cli/Commands/Diff.hs
-formatted       b51410797a83  hledger-1.52.1/Hledger/Cli/Commands/Files.hs
-formatted       15d50a6cb01a  hledger-1.52.1/Hledger/Cli/Commands/Help.hs
-formatted       6f60ce8d90d0  hledger-1.52.1/Hledger/Cli/Commands/Import.hs
-formatted       3fc4bde8aaae  hledger-1.52.1/Hledger/Cli/Commands/Incomestatement.hs
-formatted       e795242e76e2  hledger-1.52.1/Hledger/Cli/Commands/Notes.hs
-formatted       7868c26f6945  hledger-1.52.1/Hledger/Cli/Commands/Payees.hs
-formatted       fe56fd581b75  hledger-1.52.1/Hledger/Cli/Commands/Prices.hs
-formatted       177a0e3d59ff  hledger-1.52.1/Hledger/Cli/Commands/Print.hs
-formatted       b3664f32c410  hledger-1.52.1/Hledger/Cli/Commands/Register.hs
-formatted       fe57269eee06  hledger-1.52.1/Hledger/Cli/Commands/Rewrite.hs
-formatted       47c5a107dffd  hledger-1.52.1/Hledger/Cli/Commands/Roi.hs
-formatted       446ba4a560aa  hledger-1.52.1/Hledger/Cli/Commands/Run.hs
-formatted       ea4fee5c5510  hledger-1.52.1/Hledger/Cli/Commands/Setup.hs
-formatted       ebb24201e89a  hledger-1.52.1/Hledger/Cli/Commands/Stats.hs
-formatted       c0d493d6d059  hledger-1.52.1/Hledger/Cli/Commands/Tags.hs
-formatted       1f04a41315cb  hledger-1.52.1/Hledger/Cli/CompoundBalanceCommand.hs
-formatted       48c180b42259  hledger-1.52.1/Hledger/Cli/Conf.hs
-formatted       261d1d375816  hledger-1.52.1/Hledger/Cli/DocFiles.hs
-formatted       e2b8c81fe6ee  hledger-1.52.1/Hledger/Cli/Script.hs
-formatted       387a9a45d1e9  hledger-1.52.1/Hledger/Cli/Utils.hs
-formatted       54a7475ed07e  hledger-1.52.1/Hledger/Cli/Version.hs
-formatted       e865ae48f11b  hledger-1.52.1/Setup.hs
-formatted       5f05220c744b  hledger-1.52.1/app/hledger-cli.hs
-formatted       367217908354  hledger-1.52.1/bench/bench.hs
-formatted       770ce114d693  hledger-1.52.1/test/unittest.hs
-formatted       e865ae48f11b  hlint-3.10/Setup.hs
-formatted       df385b8f4253  hlint-3.10/data/HLint_QuickCheck.hs
-declined        -             hlint-3.10/data/HLint_TypeCheck.hs
-formatted       7f62e2698706  hlint-3.10/data/Test.hs
-formatted       a3cf0d266650  hlint-3.10/src/Apply.hs
-formatted       8114bd9792d9  hlint-3.10/src/CC.hs
-formatted       0b9726856d3e  hlint-3.10/src/CmdLine.hs
-formatted       5ecebf30e886  hlint-3.10/src/Config/Compute.hs
-formatted       76a1b906c927  hlint-3.10/src/Config/Haskell.hs
-formatted       747182f5f5c1  hlint-3.10/src/Config/Read.hs
-formatted       36ef2b52eee9  hlint-3.10/src/Config/Type.hs
-formatted       2318c0eeb167  hlint-3.10/src/Config/Yaml.hs
-formatted       871e24292ba2  hlint-3.10/src/EmbedData.hs
-formatted       17b761cb46a0  hlint-3.10/src/Extension.hs
-formatted       232c5ddbbb9b  hlint-3.10/src/Fixity.hs
-formatted       1c82631c3859  hlint-3.10/src/GHC/All.hs
-formatted       63d81c2c405a  hlint-3.10/src/GHC/Util.hs
-formatted       f8ab552f2009  hlint-3.10/src/GHC/Util/ApiAnnotation.hs
-formatted       c2680a511d29  hlint-3.10/src/GHC/Util/Brackets.hs
-formatted       8cff3984ef92  hlint-3.10/src/GHC/Util/DynFlags.hs
-formatted       7c1f93703a5a  hlint-3.10/src/GHC/Util/FreeVars.hs
-formatted       3d386a403912  hlint-3.10/src/GHC/Util/HsDecl.hs
-formatted       86e7bc3b5850  hlint-3.10/src/GHC/Util/HsExpr.hs
-formatted       d1d6f4c3efc7  hlint-3.10/src/GHC/Util/Scope.hs
-formatted       d8a06089d209  hlint-3.10/src/GHC/Util/SrcLoc.hs
-formatted       57a53e29344b  hlint-3.10/src/GHC/Util/Unify.hs
-formatted       b405492ce03f  hlint-3.10/src/GHC/Util/View.hs
-formatted       6a92057478ff  hlint-3.10/src/HLint.hs
-formatted       9c128d41e9da  hlint-3.10/src/Hint/All.hs
-formatted       92b62ac403c1  hlint-3.10/src/Hint/Bracket.hs
-formatted       e0953eb3c567  hlint-3.10/src/Hint/Comment.hs
-formatted       6ad7311bca93  hlint-3.10/src/Hint/Duplicate.hs
-formatted       63510e8bd4a6  hlint-3.10/src/Hint/Export.hs
-formatted       7bef350e46fd  hlint-3.10/src/Hint/Extensions.hs
-formatted       8499a9dafb7a  hlint-3.10/src/Hint/Fixities.hs
-formatted       aab2b0975534  hlint-3.10/src/Hint/Import.hs
-formatted       7fa5ea0b1e9a  hlint-3.10/src/Hint/Lambda.hs
-formatted       272b8222175a  hlint-3.10/src/Hint/List.hs
-formatted       1601e1e0f2da  hlint-3.10/src/Hint/ListRec.hs
-formatted       3027b7686bbd  hlint-3.10/src/Hint/Match.hs
-formatted       7215f269ef89  hlint-3.10/src/Hint/Monad.hs
-formatted       4d078aac9ede  hlint-3.10/src/Hint/Naming.hs
-formatted       a1a5d9519cee  hlint-3.10/src/Hint/Negation.hs
-formatted       9bd70a7dc4ae  hlint-3.10/src/Hint/NewType.hs
-formatted       f6fa0661942d  hlint-3.10/src/Hint/NumLiteral.hs
-formatted       f9c646cee321  hlint-3.10/src/Hint/Pattern.hs
-formatted       0076ccb5bd1c  hlint-3.10/src/Hint/Pragma.hs
-formatted       5dd8e1ba7821  hlint-3.10/src/Hint/Restrict.hs
-formatted       a55fbaad4a77  hlint-3.10/src/Hint/Smell.hs
-formatted       3308ee100b88  hlint-3.10/src/Hint/Type.hs
-formatted       c433ccccd5d9  hlint-3.10/src/Hint/Unsafe.hs
-formatted       48cd04ad2e02  hlint-3.10/src/HsColour.hs
-formatted       12f5c15a3edb  hlint-3.10/src/Idea.hs
-formatted       576b754ba5d4  hlint-3.10/src/Language/Haskell/HLint.hs
-formatted       7b8846cb4591  hlint-3.10/src/Main.hs
-formatted       fcdf50a5835c  hlint-3.10/src/Parallel.hs
-formatted       cddb107b52b7  hlint-3.10/src/Refact.hs
-formatted       97865215d682  hlint-3.10/src/Report.hs
-formatted       e370044256db  hlint-3.10/src/SARIF.hs
-formatted       3a554bc4caa1  hlint-3.10/src/Summary.hs
-formatted       3b64750323e1  hlint-3.10/src/Test/All.hs
-formatted       63a9906d70b9  hlint-3.10/src/Test/Annotations.hs
-formatted       d9f760fed213  hlint-3.10/src/Test/InputOutput.hs
-formatted       265163b13605  hlint-3.10/src/Test/Util.hs
-formatted       0f5eb69b44dd  hlint-3.10/src/Timing.hs
-formatted       40bafe709540  hlint-3.10/src/Util.hs
-formatted       14f5f9f6c72a  hspec-core-2.11.17/src/GetOpt/Declarative.hs
-formatted       13b54fc56d9e  hspec-core-2.11.17/src/GetOpt/Declarative/Environment.hs
-formatted       ac874aa7540a  hspec-core-2.11.17/src/GetOpt/Declarative/Interpret.hs
-formatted       aed8c8d69571  hspec-core-2.11.17/src/GetOpt/Declarative/Types.hs
-formatted       7963314c7b2d  hspec-core-2.11.17/src/GetOpt/Declarative/Util.hs
-formatted       c59700aebda7  hspec-core-2.11.17/src/Test/Hspec/Core/Annotations.hs
-formatted       aaed3a708e2b  hspec-core-2.11.17/src/Test/Hspec/Core/Clock.hs
-formatted       daebbe191e9f  hspec-core-2.11.17/src/Test/Hspec/Core/Compat.hs
-formatted       f5ded9eab569  hspec-core-2.11.17/src/Test/Hspec/Core/Config.hs
-formatted       b9ed2689f1a4  hspec-core-2.11.17/src/Test/Hspec/Core/Config/Definition.hs
-formatted       93914a41d318  hspec-core-2.11.17/src/Test/Hspec/Core/Config/Options.hs
-formatted       56fd96dcc2e6  hspec-core-2.11.17/src/Test/Hspec/Core/Example.hs
-formatted       78f6f2a2f383  hspec-core-2.11.17/src/Test/Hspec/Core/Example/Location.hs
-formatted       19c90134f072  hspec-core-2.11.17/src/Test/Hspec/Core/Extension.hs
-formatted       b5766e2580e3  hspec-core-2.11.17/src/Test/Hspec/Core/Extension/Config.hs
-formatted       b0c9672ff2ee  hspec-core-2.11.17/src/Test/Hspec/Core/Extension/Config/Type.hs
-formatted       dfaf22b9e266  hspec-core-2.11.17/src/Test/Hspec/Core/Extension/Item.hs
-formatted       61fffea8ad44  hspec-core-2.11.17/src/Test/Hspec/Core/Extension/Option.hs
-formatted       2c1d2b4038d2  hspec-core-2.11.17/src/Test/Hspec/Core/Extension/Spec.hs
-formatted       090871045b95  hspec-core-2.11.17/src/Test/Hspec/Core/Extension/Tree.hs
-formatted       53c4bba788e8  hspec-core-2.11.17/src/Test/Hspec/Core/FailureReport.hs
-formatted       a49d2bd24295  hspec-core-2.11.17/src/Test/Hspec/Core/Format.hs
-formatted       b8b03afd38ee  hspec-core-2.11.17/src/Test/Hspec/Core/Formatters.hs
-formatted       0f6c87760ec2  hspec-core-2.11.17/src/Test/Hspec/Core/Formatters/Diff.hs
-formatted       337da9e04e1d  hspec-core-2.11.17/src/Test/Hspec/Core/Formatters/Internal.hs
-formatted       64062a11578e  hspec-core-2.11.17/src/Test/Hspec/Core/Formatters/Pretty.hs
-formatted       71e26cb11ffa  hspec-core-2.11.17/src/Test/Hspec/Core/Formatters/Pretty/Parser.hs
-formatted       07264fb33ca8  hspec-core-2.11.17/src/Test/Hspec/Core/Formatters/Pretty/Unicode.hs
-formatted       32564aeda195  hspec-core-2.11.17/src/Test/Hspec/Core/Formatters/V1.hs
-formatted       f7f280a9eab8  hspec-core-2.11.17/src/Test/Hspec/Core/Formatters/V1/Free.hs
-formatted       be38872426b7  hspec-core-2.11.17/src/Test/Hspec/Core/Formatters/V1/Internal.hs
-formatted       94d88619a62f  hspec-core-2.11.17/src/Test/Hspec/Core/Formatters/V1/Monad.hs
-formatted       b83d7732b214  hspec-core-2.11.17/src/Test/Hspec/Core/Formatters/V2.hs
-formatted       f3ed1fa624ba  hspec-core-2.11.17/src/Test/Hspec/Core/Hooks.hs
-formatted       d7e33bec18c0  hspec-core-2.11.17/src/Test/Hspec/Core/QuickCheck.hs
-formatted       5cbcf4cb40d4  hspec-core-2.11.17/src/Test/Hspec/Core/QuickCheck/Util.hs
-formatted       1be2d9c4a008  hspec-core-2.11.17/src/Test/Hspec/Core/Runner.hs
-formatted       559e8587e33c  hspec-core-2.11.17/src/Test/Hspec/Core/Runner/Eval.hs
-formatted       45d877a0b59c  hspec-core-2.11.17/src/Test/Hspec/Core/Runner/JobQueue.hs
-formatted       486c3e882e3e  hspec-core-2.11.17/src/Test/Hspec/Core/Runner/PrintSlowSpecItems.hs
-formatted       451fa815b3f7  hspec-core-2.11.17/src/Test/Hspec/Core/Runner/Result.hs
-formatted       d699e2b567f5  hspec-core-2.11.17/src/Test/Hspec/Core/Shuffle.hs
-formatted       929d1248e847  hspec-core-2.11.17/src/Test/Hspec/Core/Spec.hs
-formatted       0aaa70c4113f  hspec-core-2.11.17/src/Test/Hspec/Core/Spec/Monad.hs
-formatted       1b327d112974  hspec-core-2.11.17/src/Test/Hspec/Core/Timer.hs
-formatted       358c754dd8df  hspec-core-2.11.17/src/Test/Hspec/Core/Tree.hs
-formatted       80d2d2b8d380  hspec-core-2.11.17/src/Test/Hspec/Core/Util.hs
-formatted       4030224416bf  hspec-core-2.11.17/test/GetOpt/Declarative/EnvironmentSpec.hs
-formatted       6655e2e71bb3  hspec-core-2.11.17/test/GetOpt/Declarative/UtilSpec.hs
-formatted       aaa94a74898c  hspec-core-2.11.17/test/Helper.hs
-formatted       10aa2070ffb6  hspec-core-2.11.17/test/Mock.hs
-formatted       42263bafabb2  hspec-core-2.11.17/test/Spec.hs
-formatted       409fb8a0b5e3  hspec-core-2.11.17/test/SpecHook.hs
-formatted       ae9de2079048  hspec-core-2.11.17/test/Test/Hspec/Core/AnnotationsSpec.hs
-formatted       1157d1650ac3  hspec-core-2.11.17/test/Test/Hspec/Core/ClockSpec.hs
-formatted       819d29d3431f  hspec-core-2.11.17/test/Test/Hspec/Core/CompatSpec.hs
-formatted       e5db68e3c868  hspec-core-2.11.17/test/Test/Hspec/Core/Config/DefinitionSpec.hs
-formatted       105756fabf5e  hspec-core-2.11.17/test/Test/Hspec/Core/Config/OptionsSpec.hs
-formatted       edfe82f15e2d  hspec-core-2.11.17/test/Test/Hspec/Core/ConfigSpec.hs
-formatted       d3f3063d7de1  hspec-core-2.11.17/test/Test/Hspec/Core/Example/LocationSpec.hs
-formatted       dc7ffd47b78e  hspec-core-2.11.17/test/Test/Hspec/Core/ExampleSpec.hs
-formatted       1a45c62099d0  hspec-core-2.11.17/test/Test/Hspec/Core/FailureReportSpec.hs
-formatted       8992979a0121  hspec-core-2.11.17/test/Test/Hspec/Core/FormatSpec.hs
-formatted       c2d7791f1000  hspec-core-2.11.17/test/Test/Hspec/Core/Formatters/DiffSpec.hs
-formatted       63df1c3fa7b1  hspec-core-2.11.17/test/Test/Hspec/Core/Formatters/InternalSpec.hs
-formatted       2ffb49f5a742  hspec-core-2.11.17/test/Test/Hspec/Core/Formatters/Pretty/ParserSpec.hs
-formatted       afa9ffaa3bf1  hspec-core-2.11.17/test/Test/Hspec/Core/Formatters/Pretty/UnicodeSpec.hs
-formatted       ac2da1dd4d6b  hspec-core-2.11.17/test/Test/Hspec/Core/Formatters/PrettySpec.hs
-formatted       2665482bea3b  hspec-core-2.11.17/test/Test/Hspec/Core/Formatters/V1Spec.hs
-formatted       fdce61371e6b  hspec-core-2.11.17/test/Test/Hspec/Core/Formatters/V2Spec.hs
-formatted       177347d407e1  hspec-core-2.11.17/test/Test/Hspec/Core/HooksSpec.hs
-formatted       4f036cf5daaf  hspec-core-2.11.17/test/Test/Hspec/Core/QuickCheck/UtilSpec.hs
-formatted       775321ce08bf  hspec-core-2.11.17/test/Test/Hspec/Core/Runner/EvalSpec.hs
-formatted       7eadb8336461  hspec-core-2.11.17/test/Test/Hspec/Core/Runner/JobQueueSpec.hs
-formatted       0d283fd19887  hspec-core-2.11.17/test/Test/Hspec/Core/Runner/PrintSlowSpecItemsSpec.hs
-formatted       2781ae88628b  hspec-core-2.11.17/test/Test/Hspec/Core/Runner/ResultSpec.hs
-formatted       b677cdaeef95  hspec-core-2.11.17/test/Test/Hspec/Core/RunnerSpec.hs
-formatted       711af46b8809  hspec-core-2.11.17/test/Test/Hspec/Core/ShuffleSpec.hs
-formatted       109f785c9f28  hspec-core-2.11.17/test/Test/Hspec/Core/SpecSpec.hs
-formatted       ccd964421c9d  hspec-core-2.11.17/test/Test/Hspec/Core/TimerSpec.hs
-formatted       ad44f3bb30b2  hspec-core-2.11.17/test/Test/Hspec/Core/TreeSpec.hs
-formatted       9b07f9624b8d  hspec-core-2.11.17/test/Test/Hspec/Core/UtilSpec.hs
-formatted       e13927dd80dc  hspec-core-2.11.17/vendor/Data/Algorithm/Diff.hs
-partly-checked  c9eef62258f8  hspec-core-2.11.17/vendor/async-2.2.5/Control/Concurrent/Async.hs
-formatted       220d41b7fb0c  hspec-core-2.11.17/vendor/stm-2.5.0.1/Control/Concurrent/STM/TMVar.hs
-formatted       b3d4964504e7  http-client-0.7.19/Data/KeyedPool.hs
-formatted       3e436f1b2afb  http-client-0.7.19/Network/HTTP/Client.hs
-formatted       547642efe2cc  http-client-0.7.19/Network/HTTP/Client/Body.hs
-formatted       d5454cf22a87  http-client-0.7.19/Network/HTTP/Client/Connection.hs
-formatted       b7a129091d84  http-client-0.7.19/Network/HTTP/Client/Cookies.hs
-formatted       d532447f828a  http-client-0.7.19/Network/HTTP/Client/Core.hs
-formatted       7a5aad8e01a5  http-client-0.7.19/Network/HTTP/Client/Headers.hs
-formatted       44b1ad27a89e  http-client-0.7.19/Network/HTTP/Client/Internal.hs
-formatted       e04e09593516  http-client-0.7.19/Network/HTTP/Client/Manager.hs
-formatted       67fd1b56f592  http-client-0.7.19/Network/HTTP/Client/MultipartFormData.hs
-formatted       878a896a4834  http-client-0.7.19/Network/HTTP/Client/Request.hs
-formatted       cf2358330a5c  http-client-0.7.19/Network/HTTP/Client/Response.hs
-formatted       d48abdb1339e  http-client-0.7.19/Network/HTTP/Client/Types.hs
-formatted       ca6a48d5e983  http-client-0.7.19/Network/HTTP/Client/Util.hs
-formatted       076df85ddc10  http-client-0.7.19/Network/HTTP/Proxy.hs
-formatted       e865ae48f11b  http-client-0.7.19/Setup.hs
-formatted       b1d3bc1d8679  http-client-0.7.19/publicsuffixlist/Network/PublicSuffixList/DataStructure.hs
-formatted       245d124b8415  http-client-0.7.19/publicsuffixlist/Network/PublicSuffixList/Lookup.hs
-formatted       765e07adf78d  http-client-0.7.19/publicsuffixlist/Network/PublicSuffixList/Serialize.hs
-formatted       a7f41d1b5ab1  http-client-0.7.19/publicsuffixlist/Network/PublicSuffixList/Types.hs
-formatted       5a31984d56fd  http-client-0.7.19/test-nonet/Network/HTTP/Client/BodySpec.hs
-formatted       329d7775ecfb  http-client-0.7.19/test-nonet/Network/HTTP/Client/ConnectionSpec.hs
-formatted       c152236f3c88  http-client-0.7.19/test-nonet/Network/HTTP/Client/CookieSpec.hs
-formatted       11f71ff1af3c  http-client-0.7.19/test-nonet/Network/HTTP/Client/HeadersSpec.hs
-formatted       37bbc630210e  http-client-0.7.19/test-nonet/Network/HTTP/Client/RequestBodySpec.hs
-formatted       9d193cb0c288  http-client-0.7.19/test-nonet/Network/HTTP/Client/RequestSpec.hs
-formatted       5109990dfcb0  http-client-0.7.19/test-nonet/Network/HTTP/Client/ResponseSpec.hs
-formatted       78f0fd41871c  http-client-0.7.19/test-nonet/Network/HTTP/ClientSpec.hs
-formatted       2fbd14b119a4  http-client-0.7.19/test-nonet/Spec.hs
-formatted       b7ca700fa2e5  http-client-0.7.19/test/Network/HTTP/ClientSpec.hs
-formatted       2fbd14b119a4  http-client-0.7.19/test/Spec.hs
-formatted       13d151556922  http-types-0.12.6/Network/HTTP/Types.hs
-formatted       e7eff6d3c526  http-types-0.12.6/Network/HTTP/Types/Header.hs
-formatted       26f2850b0a92  http-types-0.12.6/Network/HTTP/Types/Method.hs
-formatted       937169187cf1  http-types-0.12.6/Network/HTTP/Types/QueryLike.hs
-formatted       973c6368ae63  http-types-0.12.6/Network/HTTP/Types/Status.hs
-formatted       8393cb3031e8  http-types-0.12.6/Network/HTTP/Types/URI.hs
-formatted       f437cc36b9fa  http-types-0.12.6/Network/HTTP/Types/Version.hs
-formatted       e865ae48f11b  http-types-0.12.6/Setup.hs
-formatted       7d11c2eb808e  http-types-0.12.6/test/Network/HTTP/Types/HeaderSpec.hs
-formatted       1816a6090b5e  http-types-0.12.6/test/Network/HTTP/Types/MethodSpec.hs
-formatted       848ef1c45ded  http-types-0.12.6/test/Network/HTTP/Types/StatusSpec.hs
-formatted       f94b29c98abb  http-types-0.12.6/test/Network/HTTP/Types/URISpec.hs
-formatted       5ac67585c5a1  http-types-0.12.6/test/Network/HTTP/Types/VersionSpec.hs
-formatted       2fbd14b119a4  http-types-0.12.6/test/Spec.hs
-formatted       6d7c004ed36a  http-types-0.12.6/test/doctests.hs
-formatted       a98abaa3cc37  idris-1.3.4/Setup.hs
-formatted       6c39a6764f61  idris-1.3.4/codegen/idris-codegen-c/Main.hs
-formatted       66ce632c5bcb  idris-1.3.4/codegen/idris-codegen-javascript/Main.hs
-formatted       06a7843d0cd6  idris-1.3.4/codegen/idris-codegen-node/Main.hs
-formatted       eaa6467947db  idris-1.3.4/main/Main.hs
-formatted       3fd541795c69  idris-1.3.4/src/IRTS/Bytecode.hs
-formatted       389c860d28b1  idris-1.3.4/src/IRTS/CodegenC.hs
-formatted       9e5812762ec8  idris-1.3.4/src/IRTS/CodegenCommon.hs
-formatted       563f242aebaf  idris-1.3.4/src/IRTS/CodegenJavaScript.hs
-formatted       fd7bb36cb03b  idris-1.3.4/src/IRTS/Compiler.hs
-formatted       4e0f5b2e8aca  idris-1.3.4/src/IRTS/Defunctionalise.hs
-formatted       5147e632c0e4  idris-1.3.4/src/IRTS/DumpBC.hs
-formatted       62c2f906c6c0  idris-1.3.4/src/IRTS/Exports.hs
-formatted       9e44d172890b  idris-1.3.4/src/IRTS/Inliner.hs
-formatted       ca2a16bd8e2f  idris-1.3.4/src/IRTS/JavaScript/AST.hs
-formatted       303007b18f14  idris-1.3.4/src/IRTS/JavaScript/Codegen.hs
-formatted       b171baf09627  idris-1.3.4/src/IRTS/JavaScript/LangTransforms.hs
-formatted       837e1fafadd6  idris-1.3.4/src/IRTS/JavaScript/Name.hs
-formatted       cd5cebdbb649  idris-1.3.4/src/IRTS/JavaScript/PrimOp.hs
-formatted       c8b0770fe027  idris-1.3.4/src/IRTS/JavaScript/Specialize.hs
-formatted       cc4fb2a016e8  idris-1.3.4/src/IRTS/Lang.hs
-formatted       d959abd1dfe4  idris-1.3.4/src/IRTS/LangOpts.hs
-formatted       54ee13488588  idris-1.3.4/src/IRTS/Portable.hs
-formatted       2b9b1428a50f  idris-1.3.4/src/IRTS/Simplified.hs
-formatted       c149d514359b  idris-1.3.4/src/IRTS/System.hs
-formatted       0b84ce237bb8  idris-1.3.4/src/Idris/ASTUtils.hs
-formatted       a8f154205e55  idris-1.3.4/src/Idris/AbsSyntax.hs
-formatted       f6be69b820bf  idris-1.3.4/src/Idris/AbsSyntaxTree.hs
-formatted       9f032fa98b74  idris-1.3.4/src/Idris/Apropos.hs
-formatted       dc91bae3387b  idris-1.3.4/src/Idris/CaseSplit.hs
-formatted       887228791bf4  idris-1.3.4/src/Idris/Chaser.hs
-formatted       a47646c618f2  idris-1.3.4/src/Idris/CmdOptions.hs
-formatted       4da7f931a59f  idris-1.3.4/src/Idris/Colours.hs
-formatted       6890f5a88278  idris-1.3.4/src/Idris/Completion.hs
-formatted       75f2ee4dbe05  idris-1.3.4/src/Idris/Core/Binary.hs
-formatted       70e0c9ec5d29  idris-1.3.4/src/Idris/Core/CaseTree.hs
-formatted       fa5732ba0860  idris-1.3.4/src/Idris/Core/Constraints.hs
-formatted       32e1f1dc7a41  idris-1.3.4/src/Idris/Core/DeepSeq.hs
-formatted       3b956c85cb93  idris-1.3.4/src/Idris/Core/Elaborate.hs
-formatted       d0216dc5a258  idris-1.3.4/src/Idris/Core/Evaluate.hs
-formatted       5c128b375f3d  idris-1.3.4/src/Idris/Core/Execute.hs
-formatted       a0c632cd26d6  idris-1.3.4/src/Idris/Core/ProofState.hs
-formatted       0ccd6a932fe8  idris-1.3.4/src/Idris/Core/ProofTerm.hs
-formatted       cd52f6495e8c  idris-1.3.4/src/Idris/Core/TT.hs
-formatted       86a2b33d069a  idris-1.3.4/src/Idris/Core/Typecheck.hs
-formatted       7872856d0301  idris-1.3.4/src/Idris/Core/Unify.hs
-formatted       01a710f67630  idris-1.3.4/src/Idris/Core/WHNF.hs
-formatted       36e22c48009d  idris-1.3.4/src/Idris/Coverage.hs
-formatted       61677e52356c  idris-1.3.4/src/Idris/DSL.hs
-formatted       04b448aefa16  idris-1.3.4/src/Idris/DataOpts.hs
-formatted       591136fc0c25  idris-1.3.4/src/Idris/DeepSeq.hs
-formatted       2ece0ec01e3c  idris-1.3.4/src/Idris/Delaborate.hs
-formatted       c0a210b99952  idris-1.3.4/src/Idris/Directives.hs
-formatted       d3d91df82106  idris-1.3.4/src/Idris/Docs.hs
-formatted       a485f5642886  idris-1.3.4/src/Idris/Docstrings.hs
-formatted       a1c474156864  idris-1.3.4/src/Idris/Elab/AsPat.hs
-formatted       fc2ff424b9e3  idris-1.3.4/src/Idris/Elab/Clause.hs
-formatted       9e5c2909e062  idris-1.3.4/src/Idris/Elab/Data.hs
-formatted       8513eb951865  idris-1.3.4/src/Idris/Elab/Implementation.hs
-formatted       9349c5236898  idris-1.3.4/src/Idris/Elab/Interface.hs
-formatted       7c5f6b45e740  idris-1.3.4/src/Idris/Elab/Provider.hs
-formatted       432315b423c7  idris-1.3.4/src/Idris/Elab/Quasiquote.hs
-formatted       229f49cf1c9d  idris-1.3.4/src/Idris/Elab/Record.hs
-formatted       187fb9ddcd79  idris-1.3.4/src/Idris/Elab/Rewrite.hs
-formatted       77ebc33633f8  idris-1.3.4/src/Idris/Elab/RunElab.hs
-formatted       711d76a30f2c  idris-1.3.4/src/Idris/Elab/Term.hs
-formatted       43565a6d9bac  idris-1.3.4/src/Idris/Elab/Transform.hs
-formatted       eb98b1329d21  idris-1.3.4/src/Idris/Elab/Type.hs
-formatted       b3e66f72a9ac  idris-1.3.4/src/Idris/Elab/Utils.hs
-formatted       ac9c50ffdaf7  idris-1.3.4/src/Idris/Elab/Value.hs
-formatted       5ce0ed3888f3  idris-1.3.4/src/Idris/ElabDecls.hs
-formatted       ef766f0afd74  idris-1.3.4/src/Idris/Erasure.hs
-formatted       7c4b0ef95bf4  idris-1.3.4/src/Idris/ErrReverse.hs
-formatted       28314a1db8cc  idris-1.3.4/src/Idris/Error.hs
-formatted       21bcb871fca8  idris-1.3.4/src/Idris/Help.hs
-formatted       3698ba4d3817  idris-1.3.4/src/Idris/IBC.hs
-formatted       5964507fe26c  idris-1.3.4/src/Idris/IdeMode.hs
-formatted       e909e2fe452b  idris-1.3.4/src/Idris/IdrisDoc.hs
-formatted       8b7f62814233  idris-1.3.4/src/Idris/Imports.hs
-formatted       3e21520569d8  idris-1.3.4/src/Idris/Info.hs
-formatted       90f54928d9ca  idris-1.3.4/src/Idris/Info/Show.hs
-formatted       eb72f451c8f1  idris-1.3.4/src/Idris/Inliner.hs
-formatted       be060fc86cc8  idris-1.3.4/src/Idris/Interactive.hs
-formatted       5071375a4820  idris-1.3.4/src/Idris/Main.hs
-formatted       be56610644ba  idris-1.3.4/src/Idris/ModeCommon.hs
-formatted       28bd80263c16  idris-1.3.4/src/Idris/Options.hs
-formatted       969e2318f735  idris-1.3.4/src/Idris/Output.hs
-formatted       05a01adec344  idris-1.3.4/src/Idris/Package.hs
-formatted       2a5fae85b8c9  idris-1.3.4/src/Idris/Package/Common.hs
-formatted       90885df148d3  idris-1.3.4/src/Idris/Package/Parser.hs
-formatted       da68c807f135  idris-1.3.4/src/Idris/Parser.hs
-formatted       e4d16cf46f6b  idris-1.3.4/src/Idris/Parser/Data.hs
-formatted       56341a9cef2a  idris-1.3.4/src/Idris/Parser/Expr.hs
-formatted       de7138f89659  idris-1.3.4/src/Idris/Parser/Helpers.hs
-formatted       edc130411af1  idris-1.3.4/src/Idris/Parser/Ops.hs
-formatted       3f33ff4561d4  idris-1.3.4/src/Idris/Parser/Stack.hs
-formatted       d415f9474dc1  idris-1.3.4/src/Idris/PartialEval.hs
-formatted       58ad84ded5d8  idris-1.3.4/src/Idris/Primitives.hs
-formatted       03bf99a63aa4  idris-1.3.4/src/Idris/ProofSearch.hs
-formatted       168d70e142b3  idris-1.3.4/src/Idris/Prover.hs
-formatted       ad0ff1beaf54  idris-1.3.4/src/Idris/Providers.hs
-formatted       c47d07c305a7  idris-1.3.4/src/Idris/REPL.hs
-formatted       d43671c3f627  idris-1.3.4/src/Idris/REPL/Browse.hs
-formatted       586418ee0cf6  idris-1.3.4/src/Idris/REPL/Commands.hs
-formatted       f36f6bde407f  idris-1.3.4/src/Idris/REPL/Parser.hs
-formatted       a35f4ee64226  idris-1.3.4/src/Idris/Reflection.hs
-formatted       434ab5e35b0e  idris-1.3.4/src/Idris/Termination.hs
-formatted       6837e439e7d6  idris-1.3.4/src/Idris/Transforms.hs
-formatted       06befdb6fc0c  idris-1.3.4/src/Idris/TypeSearch.hs
-formatted       528c0d503ddd  idris-1.3.4/src/Idris/Unlit.hs
-formatted       b613b7be20de  idris-1.3.4/src/Idris/WhoCalls.hs
-formatted       7f4a44aa7694  idris-1.3.4/src/Util/DynamicLinker.hs
-formatted       298e72ccbb61  idris-1.3.4/src/Util/Net.hs
-formatted       f47f361e150a  idris-1.3.4/src/Util/Pretty.hs
-formatted       13363649406c  idris-1.3.4/src/Util/ScreenSize.hs
-formatted       963968c021ee  idris-1.3.4/src/Util/System.hs
-formatted       9df5a10ea1fd  idris-1.3.4/test/TestData.hs
-formatted       720af8681b46  idris-1.3.4/test/TestRun.hs
-formatted       e865ae48f11b  intero-0.1.40/Setup.hs
-formatted       621065d3b05d  intero-0.1.40/src/Completion.hs
-formatted       b0784cea4075  intero-0.1.40/src/GhciFind.hs
-partly-checked  c0aea4c4237d  intero-0.1.40/src/GhciInfo.hs
-formatted       e0fd727cd7cd  intero-0.1.40/src/GhciMonad.hs
-formatted       43c5576cb10f  intero-0.1.40/src/GhciTags.hs
-formatted       72999d5c814e  intero-0.1.40/src/GhciTypes.hs
-declined        -             intero-0.1.40/src/InteractiveUI.hs
-formatted       d3b894941b5e  intero-0.1.40/src/Intero/Compat.hs
-partly-checked  c4c4f282d93d  intero-0.1.40/src/Main.hs
-formatted       13b22f1a2f96  intero-0.1.40/src/test/Main.hs
-formatted       4fe73bbfe233  leksah-0.16.2.2/data/leksah-welcome/src/Main.hs
-formatted       1cefb44a49bc  leksah-0.16.2.2/data/leksah-welcome/test/Main.hs
-formatted       34cb8bb8a612  leksah-0.16.2.2/main/Main.hs
-formatted       0d71ef1dc947  leksah-0.16.2.2/src/IDE/BufferMode.hs
-formatted       404f52b9bd79  leksah-0.16.2.2/src/IDE/Build.hs
-formatted       d08cdd390358  leksah-0.16.2.2/src/IDE/Command.hs
-formatted       311f46674981  leksah-0.16.2.2/src/IDE/Command/Print.hs
-formatted       3587f60b8002  leksah-0.16.2.2/src/IDE/Command/VCS.hs
-formatted       4c605686bc49  leksah-0.16.2.2/src/IDE/Command/VCS/Common.hs
-formatted       10b6c6b7bbca  leksah-0.16.2.2/src/IDE/Command/VCS/Common/GUI.hs
-formatted       931de47dcc70  leksah-0.16.2.2/src/IDE/Command/VCS/Common/Helper.hs
-formatted       fa517869ef32  leksah-0.16.2.2/src/IDE/Command/VCS/Common/Workspaces.hs
-formatted       703e291d1e3f  leksah-0.16.2.2/src/IDE/Command/VCS/GIT.hs
-formatted       5bebaffe9dd2  leksah-0.16.2.2/src/IDE/Command/VCS/Mercurial.hs
-formatted       5af0b2acf931  leksah-0.16.2.2/src/IDE/Command/VCS/SVN.hs
-formatted       7b9e3b7c3af1  leksah-0.16.2.2/src/IDE/Command/VCS/Types.hs
-formatted       355e7822fb24  leksah-0.16.2.2/src/IDE/Completion.hs
-formatted       83a32ce3d650  leksah-0.16.2.2/src/IDE/Core/State.hs
-formatted       b8029845c5f6  leksah-0.16.2.2/src/IDE/Core/Types.hs
-formatted       375889d7ec16  leksah-0.16.2.2/src/IDE/Debug.hs
-does-not-parse  -             leksah-0.16.2.2/src/IDE/Find.hs
-formatted       4d3884c63c61  leksah-0.16.2.2/src/IDE/GUIHistory.hs
-formatted       8ac61c496a03  leksah-0.16.2.2/src/IDE/HLint.hs
-formatted       8ddfdb5cd7cb  leksah-0.16.2.2/src/IDE/ImportTool.hs
-formatted       c94ba55b56fd  leksah-0.16.2.2/src/IDE/Keymap.hs
-formatted       3f0638c605cd  leksah-0.16.2.2/src/IDE/LPaste.hs
-formatted       ad760d284046  leksah-0.16.2.2/src/IDE/Leksah.hs
-formatted       cd678b5b6e72  leksah-0.16.2.2/src/IDE/LogRef.hs
-formatted       d41f35d520d8  leksah-0.16.2.2/src/IDE/Metainfo/Provider.hs
-formatted       add30e907a64  leksah-0.16.2.2/src/IDE/NotebookFlipper.hs
-formatted       d441d0417158  leksah-0.16.2.2/src/IDE/OSX.hs
-formatted       749e1f9f6205  leksah-0.16.2.2/src/IDE/Package.hs
-formatted       1d8174da2ad0  leksah-0.16.2.2/src/IDE/Pane/Breakpoints.hs
-formatted       b953df2cafd1  leksah-0.16.2.2/src/IDE/Pane/Errors.hs
-formatted       76f1dfe82863  leksah-0.16.2.2/src/IDE/Pane/Files.hs
-formatted       5174fb1d8807  leksah-0.16.2.2/src/IDE/Pane/Grep.hs
-formatted       6bea42aabf13  leksah-0.16.2.2/src/IDE/Pane/HLint.hs
-formatted       3ca32b10d0e9  leksah-0.16.2.2/src/IDE/Pane/Info.hs
-formatted       ea0f6cc3cdd0  leksah-0.16.2.2/src/IDE/Pane/Log.hs
-formatted       c7b48862410e  leksah-0.16.2.2/src/IDE/Pane/Modules.hs
-formatted       575af73a6da8  leksah-0.16.2.2/src/IDE/Pane/PackageEditor.hs
-formatted       f0501c777408  leksah-0.16.2.2/src/IDE/Pane/PackageFlags.hs
-formatted       b852a84764b6  leksah-0.16.2.2/src/IDE/Pane/Search.hs
-formatted       1833ee2b3dc9  leksah-0.16.2.2/src/IDE/Pane/SourceBuffer.hs
-formatted       17fd33faa199  leksah-0.16.2.2/src/IDE/Pane/Trace.hs
-formatted       42dcc1c61a8c  leksah-0.16.2.2/src/IDE/Pane/Variables.hs
-formatted       402db82d0213  leksah-0.16.2.2/src/IDE/Pane/WebKit/Documentation.hs
-formatted       bf74d49a257b  leksah-0.16.2.2/src/IDE/Pane/WebKit/Inspect.hs
-formatted       36523e19eb43  leksah-0.16.2.2/src/IDE/Pane/WebKit/Output.hs
-formatted       6d01b337aa2d  leksah-0.16.2.2/src/IDE/Pane/Workspace.hs
-formatted       9b92bdd95195  leksah-0.16.2.2/src/IDE/PaneGroups.hs
-formatted       bc4a7202f565  leksah-0.16.2.2/src/IDE/Preferences.hs
-formatted       b428f06dc6a8  leksah-0.16.2.2/src/IDE/Session.hs
-formatted       8fd5bd558558  leksah-0.16.2.2/src/IDE/SourceCandy.hs
-formatted       402da8621309  leksah-0.16.2.2/src/IDE/Statusbar.hs
-formatted       3df2a9c1d21f  leksah-0.16.2.2/src/IDE/SymbolNavigation.hs
-formatted       265b135c829e  leksah-0.16.2.2/src/IDE/TextEditor.hs
-formatted       fc7e53f0e945  leksah-0.16.2.2/src/IDE/TextEditor/Class.hs
-formatted       9467271dc7ec  leksah-0.16.2.2/src/IDE/TextEditor/CodeMirror.hs
-formatted       ead97fbc797b  leksah-0.16.2.2/src/IDE/TextEditor/GtkSourceView.hs
-formatted       02fedce6ee7f  leksah-0.16.2.2/src/IDE/TextEditor/Yi.hs
-formatted       74ead3c637fd  leksah-0.16.2.2/src/IDE/TextEditor/Yi/Config.hs
-formatted       049d901c6e0d  leksah-0.16.2.2/src/IDE/Utils/CabalUtils.hs
-formatted       a1e35678dab5  leksah-0.16.2.2/src/IDE/Utils/DirectoryUtils.hs
-formatted       8c14e6468260  leksah-0.16.2.2/src/IDE/Utils/ExternalTool.hs
-formatted       e7fe8dbc01fb  leksah-0.16.2.2/src/IDE/Utils/GUIUtils.hs
-formatted       681c8db74a16  leksah-0.16.2.2/src/IDE/Utils/ServerConnection.hs
-formatted       c5c3f2775509  leksah-0.16.2.2/src/IDE/Workspaces.hs
-formatted       dde088ae3291  leksah-0.16.2.2/src/IDE/Workspaces/Writer.hs
-formatted       50c9e4996c17  lens-5.3.6/benchmarks/alongside.hs
-formatted       9fb7d388f89d  lens-5.3.6/benchmarks/folds.hs
-formatted       954468d85b1f  lens-5.3.6/benchmarks/plated.hs
-formatted       474a59bad6c3  lens-5.3.6/benchmarks/traversals.hs
-formatted       67948814999e  lens-5.3.6/benchmarks/unsafe.hs
-formatted       6b5d9407288a  lens-5.3.6/examples/Aeson.hs
-formatted       fcea15eace15  lens-5.3.6/examples/Plates.hs
-formatted       6016ef723b2e  lens-5.3.6/examples/Pong.hs
-formatted       1e7ca6c2bac4  lens-5.3.6/examples/Turtle.hs
-formatted       e865ae48f11b  lens-5.3.6/lens-properties/Setup.hs
-formatted       03d5b652be06  lens-5.3.6/lens-properties/src/Control/Lens/Properties.hs
-formatted       458d82357e04  lens-5.3.6/src/Control/Exception/Lens.hs
-formatted       4fb8b462c692  lens-5.3.6/src/Control/Lens.hs
-formatted       dab5fde53fc2  lens-5.3.6/src/Control/Lens/At.hs
-formatted       1a555e9740b2  lens-5.3.6/src/Control/Lens/Combinators.hs
-formatted       45285718981c  lens-5.3.6/src/Control/Lens/Cons.hs
-formatted       087aa6536345  lens-5.3.6/src/Control/Lens/Each.hs
-formatted       db06507f8eb3  lens-5.3.6/src/Control/Lens/Empty.hs
-formatted       afba13ca40b2  lens-5.3.6/src/Control/Lens/Equality.hs
-formatted       e63ce52c62a6  lens-5.3.6/src/Control/Lens/Extras.hs
-formatted       c0712f9f2b0e  lens-5.3.6/src/Control/Lens/Fold.hs
-formatted       1d6b4529afae  lens-5.3.6/src/Control/Lens/Getter.hs
-formatted       be96a32da04a  lens-5.3.6/src/Control/Lens/Indexed.hs
-formatted       f2b77c23d24e  lens-5.3.6/src/Control/Lens/Internal.hs
-formatted       8350be0d02be  lens-5.3.6/src/Control/Lens/Internal/Bazaar.hs
-formatted       77d72de128e9  lens-5.3.6/src/Control/Lens/Internal/ByteString.hs
-formatted       d8ca8cef6fef  lens-5.3.6/src/Control/Lens/Internal/CTypes.hs
-formatted       dfd3f37cd579  lens-5.3.6/src/Control/Lens/Internal/Context.hs
-formatted       a6d8f75d39fc  lens-5.3.6/src/Control/Lens/Internal/Deque.hs
-formatted       4c63a54a8aeb  lens-5.3.6/src/Control/Lens/Internal/Doctest.hs
-formatted       36dfae32602b  lens-5.3.6/src/Control/Lens/Internal/Exception.hs
-formatted       94e9c2ef7d99  lens-5.3.6/src/Control/Lens/Internal/FieldTH.hs
-formatted       8751bf3b6318  lens-5.3.6/src/Control/Lens/Internal/Fold.hs
-formatted       fe2ce335a9fd  lens-5.3.6/src/Control/Lens/Internal/Getter.hs
-formatted       72ecae413405  lens-5.3.6/src/Control/Lens/Internal/Indexed.hs
-formatted       74a115066cae  lens-5.3.6/src/Control/Lens/Internal/Instances.hs
-formatted       a9257a233659  lens-5.3.6/src/Control/Lens/Internal/Iso.hs
-formatted       62616dcfe279  lens-5.3.6/src/Control/Lens/Internal/Level.hs
-formatted       929b3db19b16  lens-5.3.6/src/Control/Lens/Internal/List.hs
-formatted       b107d5717343  lens-5.3.6/src/Control/Lens/Internal/Magma.hs
-formatted       3660c5db758f  lens-5.3.6/src/Control/Lens/Internal/Prelude.hs
-formatted       d033545bb0fa  lens-5.3.6/src/Control/Lens/Internal/Prism.hs
-formatted       9d0a84d65d47  lens-5.3.6/src/Control/Lens/Internal/PrismTH.hs
-formatted       d1e3368088fd  lens-5.3.6/src/Control/Lens/Internal/Profunctor.hs
-formatted       a0cfb7f64915  lens-5.3.6/src/Control/Lens/Internal/Review.hs
-formatted       bd611b570342  lens-5.3.6/src/Control/Lens/Internal/Setter.hs
-formatted       cb94f36001d0  lens-5.3.6/src/Control/Lens/Internal/TH.hs
-formatted       3eb540f212c9  lens-5.3.6/src/Control/Lens/Internal/Zoom.hs
-formatted       4d4a8b86f259  lens-5.3.6/src/Control/Lens/Iso.hs
-formatted       90c89d25de5a  lens-5.3.6/src/Control/Lens/Lens.hs
-formatted       bde563e05b67  lens-5.3.6/src/Control/Lens/Level.hs
-formatted       1b24416ce249  lens-5.3.6/src/Control/Lens/Operators.hs
-formatted       61aef519b850  lens-5.3.6/src/Control/Lens/Plated.hs
-formatted       cd556da34caa  lens-5.3.6/src/Control/Lens/Prism.hs
-formatted       b465099e5056  lens-5.3.6/src/Control/Lens/Profunctor.hs
-formatted       4fa75f887167  lens-5.3.6/src/Control/Lens/Reified.hs
-formatted       6e871d8e4385  lens-5.3.6/src/Control/Lens/Review.hs
-formatted       5f1a95d65c20  lens-5.3.6/src/Control/Lens/Setter.hs
-formatted       fa7936ec3040  lens-5.3.6/src/Control/Lens/TH.hs
-formatted       17d4f9d6b2ac  lens-5.3.6/src/Control/Lens/Traversal.hs
-formatted       3a5cbb2c959c  lens-5.3.6/src/Control/Lens/Tuple.hs
-formatted       181a647a9c7b  lens-5.3.6/src/Control/Lens/Type.hs
-formatted       ff8881502434  lens-5.3.6/src/Control/Lens/Unsound.hs
-partly-checked  dc2e66e1542a  lens-5.3.6/src/Control/Lens/Wrapped.hs
-formatted       2c3a223dec39  lens-5.3.6/src/Control/Lens/Zoom.hs
-formatted       d04fd074c74d  lens-5.3.6/src/Control/Monad/Error/Lens.hs
-formatted       b9bfa6cc2ae6  lens-5.3.6/src/Control/Parallel/Strategies/Lens.hs
-formatted       3580c9fdbe74  lens-5.3.6/src/Control/Seq/Lens.hs
-formatted       ae1408607f92  lens-5.3.6/src/Data/Array/Lens.hs
-formatted       4f2a2066b52a  lens-5.3.6/src/Data/Bits/Lens.hs
-formatted       e1c3ede72b89  lens-5.3.6/src/Data/ByteString/Lazy/Lens.hs
-formatted       fd83b8412797  lens-5.3.6/src/Data/ByteString/Lens.hs
-formatted       a0beda949826  lens-5.3.6/src/Data/ByteString/Strict/Lens.hs
-formatted       e7fc0d3b8334  lens-5.3.6/src/Data/Complex/Lens.hs
-formatted       626272b6276a  lens-5.3.6/src/Data/Data/Lens.hs
-formatted       ae776c45408a  lens-5.3.6/src/Data/Dynamic/Lens.hs
-formatted       9817c7fd06d9  lens-5.3.6/src/Data/HashSet/Lens.hs
-formatted       9b6a7ea1de9a  lens-5.3.6/src/Data/IntSet/Lens.hs
-formatted       afd0c52fb1bb  lens-5.3.6/src/Data/List/Lens.hs
-formatted       c78898aaa504  lens-5.3.6/src/Data/Map/Lens.hs
-formatted       bf33871e79d3  lens-5.3.6/src/Data/Sequence/Lens.hs
-formatted       3b630e1120f0  lens-5.3.6/src/Data/Set/Lens.hs
-formatted       6abbc5ff2a97  lens-5.3.6/src/Data/Text/Lazy/Lens.hs
-formatted       c144e0a2b4d7  lens-5.3.6/src/Data/Text/Lens.hs
-formatted       5ce20871a8d2  lens-5.3.6/src/Data/Text/Strict/Lens.hs
-formatted       a4a006800f1d  lens-5.3.6/src/Data/Tree/Lens.hs
-formatted       bfb9f14912e5  lens-5.3.6/src/Data/Typeable/Lens.hs
-formatted       fa5b2f903156  lens-5.3.6/src/Data/Vector/Generic/Lens.hs
-formatted       4348b84e4ed7  lens-5.3.6/src/Data/Vector/Lens.hs
-formatted       7e80fcd30b07  lens-5.3.6/src/GHC/Generics/Lens.hs
-partly-checked  85462ac66a8d  lens-5.3.6/src/Language/Haskell/TH/Lens.hs
-formatted       6142187a095c  lens-5.3.6/src/Numeric/Lens.hs
-formatted       11d5331927be  lens-5.3.6/src/Numeric/Natural/Lens.hs
-formatted       353cf4551a49  lens-5.3.6/src/System/Exit/Lens.hs
-formatted       5a4f7cf6359b  lens-5.3.6/src/System/FilePath/Lens.hs
-formatted       18c87dbc74ee  lens-5.3.6/src/System/IO/Error/Lens.hs
-formatted       aa93fbb09ce5  lens-5.3.6/tests/BigRecord.hs
-formatted       22c453e7b965  lens-5.3.6/tests/T1024.hs
-formatted       783da428b966  lens-5.3.6/tests/T799.hs
-formatted       735c78d5ee02  lens-5.3.6/tests/T917.hs
-formatted       1d3a1a7a064d  lens-5.3.6/tests/T972.hs
-formatted       1e9429a79aca  lens-5.3.6/tests/doctests.hs
-formatted       a554fa5629d9  lens-5.3.6/tests/hunit.hs
-declined        -             lens-5.3.6/tests/properties.hs
-formatted       4bd3d2baa141  lens-5.3.6/tests/templates.hs
-formatted       1710cd1da159  lifted-base-0.2.3.12/Control/Concurrent/Chan/Lifted.hs
-formatted       9afd73e18f04  lifted-base-0.2.3.12/Control/Concurrent/Lifted.hs
-formatted       61a68e35cd0d  lifted-base-0.2.3.12/Control/Concurrent/MVar/Lifted.hs
-formatted       9e4f63e571b9  lifted-base-0.2.3.12/Control/Concurrent/QSem/Lifted.hs
-formatted       db70a2e6121a  lifted-base-0.2.3.12/Control/Concurrent/QSemN/Lifted.hs
-formatted       e977da901a85  lifted-base-0.2.3.12/Control/Concurrent/SampleVar/Lifted.hs
-formatted       054d7b6af1e4  lifted-base-0.2.3.12/Control/Exception/Lifted.hs
-formatted       22bce56a50cb  lifted-base-0.2.3.12/Data/IORef/Lifted.hs
-formatted       0232c1b3e9de  lifted-base-0.2.3.12/Foreign/Marshal/Utils/Lifted.hs
-formatted       e865ae48f11b  lifted-base-0.2.3.12/Setup.hs
-formatted       577a6034129f  lifted-base-0.2.3.12/System/Timeout/Lifted.hs
-formatted       8186b0308f97  lifted-base-0.2.3.12/bench/bench.hs
-formatted       969f026a4085  lifted-base-0.2.3.12/test/test.hs
-formatted       0331614d7776  megaparsec-9.8.1/Text/Megaparsec.hs
-formatted       aaf0968c72cf  megaparsec-9.8.1/Text/Megaparsec/Byte.hs
-formatted       af93162c0732  megaparsec-9.8.1/Text/Megaparsec/Byte/Binary.hs
-formatted       6daebd54878b  megaparsec-9.8.1/Text/Megaparsec/Byte/Lexer.hs
-formatted       a8f12808d592  megaparsec-9.8.1/Text/Megaparsec/Char.hs
-formatted       fb0aa0491a35  megaparsec-9.8.1/Text/Megaparsec/Char/Lexer.hs
-formatted       9ada7619d986  megaparsec-9.8.1/Text/Megaparsec/Class.hs
-formatted       04c41e5e9d68  megaparsec-9.8.1/Text/Megaparsec/Common.hs
-formatted       516df951af5f  megaparsec-9.8.1/Text/Megaparsec/Debug.hs
-formatted       063bb778990a  megaparsec-9.8.1/Text/Megaparsec/Error.hs
-formatted       6dc9b6ce5897  megaparsec-9.8.1/Text/Megaparsec/Error.hs-boot
-formatted       92e848d5b88d  megaparsec-9.8.1/Text/Megaparsec/Error/Builder.hs
-formatted       ef8c030d6d02  megaparsec-9.8.1/Text/Megaparsec/Internal.hs
-formatted       2d845f6be8a2  megaparsec-9.8.1/Text/Megaparsec/Internal.hs-boot
-formatted       fb54b4f4cab3  megaparsec-9.8.1/Text/Megaparsec/Lexer.hs
-formatted       0db88dbc985e  megaparsec-9.8.1/Text/Megaparsec/Pos.hs
-formatted       4f1b6ce7ca12  megaparsec-9.8.1/Text/Megaparsec/State.hs
-formatted       e5a839627bb9  megaparsec-9.8.1/Text/Megaparsec/Stream.hs
-formatted       5e21ab523a4c  megaparsec-9.8.1/Text/Megaparsec/Unicode.hs
-formatted       882124e5ceb6  megaparsec-9.8.1/bench/memory/Main.hs
-formatted       d8a32e7340de  megaparsec-9.8.1/bench/speed/Main.hs
-formatted       e865ae48f11b  microlens-0.5.0.0/Setup.hs
-partly-checked  37206fb8e023  microlens-0.5.0.0/src/Lens/Micro.hs
-formatted       a33fe5ffd3d9  microlens-0.5.0.0/src/Lens/Micro/Extras.hs
-formatted       3608b82ef46d  microlens-0.5.0.0/src/Lens/Micro/FieldN.hs
-partly-checked  e7bef62398e7  microlens-0.5.0.0/src/Lens/Micro/Internal.hs
-formatted       de09492cc927  microlens-0.5.0.0/src/Lens/Micro/Type.hs
-formatted       9fd4d8759261  mtl-2.3.2/Control/Monad/Accum.hs
-formatted       1c966453ae10  mtl-2.3.2/Control/Monad/Cont.hs
-formatted       3582a87cd07b  mtl-2.3.2/Control/Monad/Cont/Class.hs
-formatted       a1002896353b  mtl-2.3.2/Control/Monad/Error/Class.hs
-formatted       241b9ab5b29e  mtl-2.3.2/Control/Monad/Except.hs
-formatted       fae093b03648  mtl-2.3.2/Control/Monad/Identity.hs
-formatted       8bb64ac32001  mtl-2.3.2/Control/Monad/RWS.hs
-formatted       f59a78122b11  mtl-2.3.2/Control/Monad/RWS/CPS.hs
-formatted       853a42d0a7d0  mtl-2.3.2/Control/Monad/RWS/Class.hs
-formatted       6fedd348f84f  mtl-2.3.2/Control/Monad/RWS/Lazy.hs
-formatted       ddc740ed2ba9  mtl-2.3.2/Control/Monad/RWS/Strict.hs
-formatted       70448da6c08e  mtl-2.3.2/Control/Monad/Reader.hs
-formatted       e43c7f3c3559  mtl-2.3.2/Control/Monad/Reader/Class.hs
-formatted       fda85a3d8a5b  mtl-2.3.2/Control/Monad/Select.hs
-formatted       dbf53d8970a0  mtl-2.3.2/Control/Monad/State.hs
-formatted       a11cb9d9968b  mtl-2.3.2/Control/Monad/State/Class.hs
-formatted       297011983d2c  mtl-2.3.2/Control/Monad/State/Lazy.hs
-formatted       77f07f071154  mtl-2.3.2/Control/Monad/State/Strict.hs
-formatted       4442f9cb2755  mtl-2.3.2/Control/Monad/Trans.hs
-formatted       c315c681e4a7  mtl-2.3.2/Control/Monad/Writer.hs
-formatted       bd34c32bca35  mtl-2.3.2/Control/Monad/Writer/CPS.hs
-formatted       220119ac3010  mtl-2.3.2/Control/Monad/Writer/Class.hs
-formatted       26c1b816de3a  mtl-2.3.2/Control/Monad/Writer/Lazy.hs
-formatted       e5a4e79a643b  mtl-2.3.2/Control/Monad/Writer/Strict.hs
-formatted       e865ae48f11b  mtl-2.3.2/Setup.hs
-formatted       9007a7528d49  optics-0.4.2.1/benchmarks/folds.hs
-formatted       6819e713d7fd  optics-0.4.2.1/benchmarks/traversals.hs
-formatted       379aca047379  optics-0.4.2.1/src/Optics.hs
-formatted       fbb3a44aca1a  optics-0.4.2.1/tests/Optics/Tests.hs
-formatted       41b76dda3069  optics-0.4.2.1/tests/Optics/Tests/Computation.hs
-formatted       2a9b6567f5bf  optics-0.4.2.1/tests/Optics/Tests/Core.hs
-formatted       f99d8cd6ed70  optics-0.4.2.1/tests/Optics/Tests/Eta.hs
-formatted       fa94f2166eef  optics-0.4.2.1/tests/Optics/Tests/Labels/Generic.hs
-formatted       be66017a6045  optics-0.4.2.1/tests/Optics/Tests/Labels/TH.hs
-formatted       1ec08bb9f22e  optics-0.4.2.1/tests/Optics/Tests/Misc.hs
-formatted       9a4b74c6e2a0  optics-0.4.2.1/tests/Optics/Tests/Properties.hs
-partly-checked  5d457e97c466  optics-0.4.2.1/tests/Optics/Tests/Utils.hs
-formatted       e865ae48f11b  optparse-applicative-0.19.0.0/Setup.hs
-formatted       efe055dda734  optparse-applicative-0.19.0.0/src/Options/Applicative.hs
-formatted       86ed36cdbae6  optparse-applicative-0.19.0.0/src/Options/Applicative/Arrows.hs
-formatted       fa5bdd86f120  optparse-applicative-0.19.0.0/src/Options/Applicative/BashCompletion.hs
-formatted       23f732be6b3d  optparse-applicative-0.19.0.0/src/Options/Applicative/Builder.hs
-formatted       b35877965cca  optparse-applicative-0.19.0.0/src/Options/Applicative/Builder/Completer.hs
-formatted       24b9dc042174  optparse-applicative-0.19.0.0/src/Options/Applicative/Builder/Internal.hs
-formatted       dbcd46a4e6a7  optparse-applicative-0.19.0.0/src/Options/Applicative/Common.hs
-formatted       9d9cd51f75af  optparse-applicative-0.19.0.0/src/Options/Applicative/Extra.hs
-formatted       02404b06b751  optparse-applicative-0.19.0.0/src/Options/Applicative/Help.hs
-formatted       5c1b1a0b0e25  optparse-applicative-0.19.0.0/src/Options/Applicative/Help/Chunk.hs
-formatted       45fed0cf69dd  optparse-applicative-0.19.0.0/src/Options/Applicative/Help/Core.hs
-formatted       c6289fc77a0b  optparse-applicative-0.19.0.0/src/Options/Applicative/Help/Levenshtein.hs
-formatted       dbad440603b5  optparse-applicative-0.19.0.0/src/Options/Applicative/Help/Pretty.hs
-formatted       ea64d277c8d8  optparse-applicative-0.19.0.0/src/Options/Applicative/Help/Types.hs
-formatted       0f4de91bc49b  optparse-applicative-0.19.0.0/src/Options/Applicative/Internal.hs
-formatted       cfaae94bf094  optparse-applicative-0.19.0.0/src/Options/Applicative/NonEmpty.hs
-formatted       1b1444725881  optparse-applicative-0.19.0.0/src/Options/Applicative/Types.hs
-formatted       88e47dac52ad  optparse-applicative-0.19.0.0/tests/Examples/Alternatives.hs
-formatted       9cdd4cffe98a  optparse-applicative-0.19.0.0/tests/Examples/Cabal.hs
-formatted       6eb87c31763d  optparse-applicative-0.19.0.0/tests/Examples/Commands.hs
-formatted       3e7e8c6885db  optparse-applicative-0.19.0.0/tests/Examples/Formatting.hs
-formatted       63619af33822  optparse-applicative-0.19.0.0/tests/Examples/Hello.hs
-formatted       515fef001627  optparse-applicative-0.19.0.0/tests/Examples/LongSub.hs
-formatted       c2e700c8f642  optparse-applicative-0.19.0.0/tests/Examples/ParserGroup/AllGrouped.hs
-formatted       f5ab674c163c  optparse-applicative-0.19.0.0/tests/Examples/ParserGroup/Basic.hs
-formatted       dbff3ca47a7d  optparse-applicative-0.19.0.0/tests/Examples/ParserGroup/CommandGroups.hs
-formatted       87c22c856d69  optparse-applicative-0.19.0.0/tests/Examples/ParserGroup/DuplicateCommandGroups.hs
-formatted       ded6a73332cc  optparse-applicative-0.19.0.0/tests/Examples/ParserGroup/Duplicates.hs
-formatted       8ea0fc79c8f6  optparse-applicative-0.19.0.0/tests/Examples/ParserGroup/Nested.hs
-formatted       25bcbf4b701f  optparse-applicative-0.19.0.0/tests/test.hs
-formatted       40d0309b0851  pandoc-3.10.2/benchmark/benchmark-pandoc.hs
-formatted       e9cc6bbe8397  pandoc-3.10.2/src/Text/Pandoc.hs
-formatted       8c46f3c9674c  pandoc-3.10.2/src/Text/Pandoc/App.hs
-formatted       c058b2ade26f  pandoc-3.10.2/src/Text/Pandoc/App/CommandLineOptions.hs
-formatted       0d1b64ebcf3b  pandoc-3.10.2/src/Text/Pandoc/App/Input.hs
-formatted       08f327b1dbbc  pandoc-3.10.2/src/Text/Pandoc/App/Opt.hs
-formatted       3a8ec3e92f62  pandoc-3.10.2/src/Text/Pandoc/App/OutputSettings.hs
-formatted       30536e2da049  pandoc-3.10.2/src/Text/Pandoc/Asciify.hs
-formatted       0798d787f37f  pandoc-3.10.2/src/Text/Pandoc/CSS.hs
-formatted       eb9916b55f28  pandoc-3.10.2/src/Text/Pandoc/CSV.hs
-formatted       425285a86e63  pandoc-3.10.2/src/Text/Pandoc/Char.hs
-formatted       0da11c1d73e3  pandoc-3.10.2/src/Text/Pandoc/Chunks.hs
-formatted       95542a4940a6  pandoc-3.10.2/src/Text/Pandoc/Citeproc.hs
-formatted       9764427f15ce  pandoc-3.10.2/src/Text/Pandoc/Citeproc/BibTeX.hs
-formatted       f4a7c604316e  pandoc-3.10.2/src/Text/Pandoc/Citeproc/CslJson.hs
-formatted       a47804651b9d  pandoc-3.10.2/src/Text/Pandoc/Citeproc/Data.hs
-formatted       b2e977e82e53  pandoc-3.10.2/src/Text/Pandoc/Citeproc/Locator.hs
-formatted       67c0badf53a8  pandoc-3.10.2/src/Text/Pandoc/Citeproc/MetaValue.hs
-formatted       ba128290e789  pandoc-3.10.2/src/Text/Pandoc/Citeproc/Name.hs
-formatted       76559347a97c  pandoc-3.10.2/src/Text/Pandoc/Citeproc/Util.hs
-formatted       1b13d0dc5e1b  pandoc-3.10.2/src/Text/Pandoc/Class.hs
-formatted       121629e38e36  pandoc-3.10.2/src/Text/Pandoc/Class/CommonState.hs
-formatted       9c00e6af7063  pandoc-3.10.2/src/Text/Pandoc/Class/IO.hs
-formatted       554e3fd3f722  pandoc-3.10.2/src/Text/Pandoc/Class/PandocIO.hs
-formatted       c65acaaeb3de  pandoc-3.10.2/src/Text/Pandoc/Class/PandocMonad.hs
-formatted       af26c6ef7be1  pandoc-3.10.2/src/Text/Pandoc/Class/PandocPure.hs
-formatted       0b8f40903d65  pandoc-3.10.2/src/Text/Pandoc/Class/Sandbox.hs
-formatted       e1a80598ff8f  pandoc-3.10.2/src/Text/Pandoc/Data.hs
-formatted       099f3439d138  pandoc-3.10.2/src/Text/Pandoc/Data/BakedIn.hs
-formatted       58434b0c4602  pandoc-3.10.2/src/Text/Pandoc/Emoji.hs
-formatted       232d7de23b73  pandoc-3.10.2/src/Text/Pandoc/Error.hs
-formatted       72ff19ca80f5  pandoc-3.10.2/src/Text/Pandoc/Extensions.hs
-formatted       3bdc8aed022b  pandoc-3.10.2/src/Text/Pandoc/Filter.hs
-formatted       1be979d2afbf  pandoc-3.10.2/src/Text/Pandoc/Filter/Environment.hs
-formatted       3921a2426b07  pandoc-3.10.2/src/Text/Pandoc/Filter/JSON.hs
-formatted       9bf058c6704f  pandoc-3.10.2/src/Text/Pandoc/Format.hs
-formatted       3df0ace70613  pandoc-3.10.2/src/Text/Pandoc/Highlighting.hs
-formatted       834edab63758  pandoc-3.10.2/src/Text/Pandoc/Image.hs
-formatted       f331e86b53d6  pandoc-3.10.2/src/Text/Pandoc/ImageSize.hs
-formatted       f519615c70eb  pandoc-3.10.2/src/Text/Pandoc/Logging.hs
-formatted       198eaaad0ea2  pandoc-3.10.2/src/Text/Pandoc/MIME.hs
-formatted       fc58bac11b5e  pandoc-3.10.2/src/Text/Pandoc/MediaBag.hs
-formatted       e52f385e0fff  pandoc-3.10.2/src/Text/Pandoc/Options.hs
-formatted       c171dffba9a8  pandoc-3.10.2/src/Text/Pandoc/PDF.hs
-formatted       127d7ca8c1db  pandoc-3.10.2/src/Text/Pandoc/Parsing.hs
-formatted       d0bfe0ebb5ca  pandoc-3.10.2/src/Text/Pandoc/Parsing/Capabilities.hs
-formatted       78249fa68c58  pandoc-3.10.2/src/Text/Pandoc/Parsing/Citations.hs
-formatted       50b13251d11e  pandoc-3.10.2/src/Text/Pandoc/Parsing/Future.hs
-formatted       99cc2a7199cc  pandoc-3.10.2/src/Text/Pandoc/Parsing/General.hs
-formatted       ebf243a003b2  pandoc-3.10.2/src/Text/Pandoc/Parsing/GridTable.hs
-formatted       ae35c28522cd  pandoc-3.10.2/src/Text/Pandoc/Parsing/Lists.hs
-formatted       eb8555a8fccb  pandoc-3.10.2/src/Text/Pandoc/Parsing/Math.hs
-formatted       fad3834b08e5  pandoc-3.10.2/src/Text/Pandoc/Parsing/Smart.hs
-formatted       fbd406c6c8a4  pandoc-3.10.2/src/Text/Pandoc/Parsing/State.hs
-formatted       a83effd57b53  pandoc-3.10.2/src/Text/Pandoc/Process.hs
-formatted       5798ce9f1d3b  pandoc-3.10.2/src/Text/Pandoc/Readers.hs
-formatted       91355327396d  pandoc-3.10.2/src/Text/Pandoc/Readers/AsciiDoc.hs
-formatted       fb9989e02f4c  pandoc-3.10.2/src/Text/Pandoc/Readers/BibTeX.hs
-formatted       6df32968e0c9  pandoc-3.10.2/src/Text/Pandoc/Readers/CSV.hs
-formatted       6168a3f9a3ab  pandoc-3.10.2/src/Text/Pandoc/Readers/CommonMark.hs
-formatted       663d47f4276b  pandoc-3.10.2/src/Text/Pandoc/Readers/Creole.hs
-formatted       9a91a657b202  pandoc-3.10.2/src/Text/Pandoc/Readers/CslJson.hs
-formatted       8f06acca3961  pandoc-3.10.2/src/Text/Pandoc/Readers/Djot.hs
-formatted       05fb48bb853d  pandoc-3.10.2/src/Text/Pandoc/Readers/DocBook.hs
-formatted       acd46ae3c358  pandoc-3.10.2/src/Text/Pandoc/Readers/Docx.hs
-formatted       4fb8f147768f  pandoc-3.10.2/src/Text/Pandoc/Readers/Docx/Combine.hs
-formatted       1b010d639304  pandoc-3.10.2/src/Text/Pandoc/Readers/Docx/Fields.hs
-formatted       1182acf4b772  pandoc-3.10.2/src/Text/Pandoc/Readers/Docx/Lists.hs
-formatted       1113793eb414  pandoc-3.10.2/src/Text/Pandoc/Readers/Docx/Parse.hs
-formatted       cdafbece822b  pandoc-3.10.2/src/Text/Pandoc/Readers/Docx/Parse/Styles.hs
-formatted       59a529967b45  pandoc-3.10.2/src/Text/Pandoc/Readers/Docx/Symbols.hs
-formatted       5ca3b138e6d7  pandoc-3.10.2/src/Text/Pandoc/Readers/Docx/Util.hs
-formatted       ad24860bbd96  pandoc-3.10.2/src/Text/Pandoc/Readers/DokuWiki.hs
-formatted       84bb8bb4469c  pandoc-3.10.2/src/Text/Pandoc/Readers/EPUB.hs
-formatted       f3a6089222df  pandoc-3.10.2/src/Text/Pandoc/Readers/EndNote.hs
-formatted       14038d82e889  pandoc-3.10.2/src/Text/Pandoc/Readers/FB2.hs
-formatted       65369113b4e2  pandoc-3.10.2/src/Text/Pandoc/Readers/HTML.hs
-formatted       b968ae9289d6  pandoc-3.10.2/src/Text/Pandoc/Readers/HTML/Parsing.hs
-formatted       7906dc4b5ee7  pandoc-3.10.2/src/Text/Pandoc/Readers/HTML/Table.hs
-formatted       d02eee6a5e0a  pandoc-3.10.2/src/Text/Pandoc/Readers/HTML/TagCategories.hs
-formatted       4fb367cd5dd3  pandoc-3.10.2/src/Text/Pandoc/Readers/HTML/Types.hs
-formatted       eff46e987f16  pandoc-3.10.2/src/Text/Pandoc/Readers/Haddock.hs
-formatted       3d25a4df8c5a  pandoc-3.10.2/src/Text/Pandoc/Readers/Ipynb.hs
-formatted       cc07dc20c65e  pandoc-3.10.2/src/Text/Pandoc/Readers/JATS.hs
-formatted       f20ff0b6f36b  pandoc-3.10.2/src/Text/Pandoc/Readers/Jira.hs
-formatted       43d9623365dd  pandoc-3.10.2/src/Text/Pandoc/Readers/LaTeX.hs
-formatted       9555c9856dcb  pandoc-3.10.2/src/Text/Pandoc/Readers/LaTeX/Citation.hs
-formatted       74ee6d8d6efe  pandoc-3.10.2/src/Text/Pandoc/Readers/LaTeX/Inline.hs
-formatted       c4741ac43b79  pandoc-3.10.2/src/Text/Pandoc/Readers/LaTeX/Lang.hs
-formatted       43b3ffa002c0  pandoc-3.10.2/src/Text/Pandoc/Readers/LaTeX/Macro.hs
-formatted       a15facafa92f  pandoc-3.10.2/src/Text/Pandoc/Readers/LaTeX/Math.hs
-formatted       35684bb01d7e  pandoc-3.10.2/src/Text/Pandoc/Readers/LaTeX/Parsing.hs
-formatted       9d40938ba9d0  pandoc-3.10.2/src/Text/Pandoc/Readers/LaTeX/SIunitx.hs
-formatted       bab24b274f92  pandoc-3.10.2/src/Text/Pandoc/Readers/LaTeX/Table.hs
-formatted       9c0b878a8cae  pandoc-3.10.2/src/Text/Pandoc/Readers/Man.hs
-formatted       01f3ff3cf815  pandoc-3.10.2/src/Text/Pandoc/Readers/Markdown.hs
-formatted       b7b9f1155f1b  pandoc-3.10.2/src/Text/Pandoc/Readers/Mdoc.hs
-formatted       9964d2d17020  pandoc-3.10.2/src/Text/Pandoc/Readers/Mdoc/Lex.hs
-formatted       728f79b431ec  pandoc-3.10.2/src/Text/Pandoc/Readers/Mdoc/Macros.hs
-formatted       1a3b54c227b9  pandoc-3.10.2/src/Text/Pandoc/Readers/Mdoc/Standards.hs
-formatted       157be0b1896b  pandoc-3.10.2/src/Text/Pandoc/Readers/MediaWiki.hs
-formatted       ff97e43c99ad  pandoc-3.10.2/src/Text/Pandoc/Readers/Metadata.hs
-formatted       9f0f39d21fdd  pandoc-3.10.2/src/Text/Pandoc/Readers/Muse.hs
-formatted       b5fdcc7976c0  pandoc-3.10.2/src/Text/Pandoc/Readers/Native.hs
-formatted       07f9f5b9b349  pandoc-3.10.2/src/Text/Pandoc/Readers/ODT.hs
-formatted       4b763e5899cb  pandoc-3.10.2/src/Text/Pandoc/Readers/ODT/Arrows/State.hs
-formatted       978b213b2283  pandoc-3.10.2/src/Text/Pandoc/Readers/ODT/Arrows/Utils.hs
-formatted       bf610e3c1650  pandoc-3.10.2/src/Text/Pandoc/Readers/ODT/Base.hs
-formatted       cee91ffec7f1  pandoc-3.10.2/src/Text/Pandoc/Readers/ODT/ContentReader.hs
-formatted       6f2a41bef1f6  pandoc-3.10.2/src/Text/Pandoc/Readers/ODT/Generic/Fallible.hs
-formatted       3cb13f8a11b2  pandoc-3.10.2/src/Text/Pandoc/Readers/ODT/Generic/Namespaces.hs
-formatted       6d9540eaec43  pandoc-3.10.2/src/Text/Pandoc/Readers/ODT/Generic/SetMap.hs
-formatted       f6c4ec56e4e8  pandoc-3.10.2/src/Text/Pandoc/Readers/ODT/Generic/Utils.hs
-formatted       cea88b9dd60d  pandoc-3.10.2/src/Text/Pandoc/Readers/ODT/Generic/XMLConverter.hs
-formatted       c322898badf2  pandoc-3.10.2/src/Text/Pandoc/Readers/ODT/Namespaces.hs
-formatted       1156ac4adb5d  pandoc-3.10.2/src/Text/Pandoc/Readers/ODT/StyleReader.hs
-formatted       fc024f0c1f5f  pandoc-3.10.2/src/Text/Pandoc/Readers/OOXML/Shared.hs
-formatted       af1d77effb19  pandoc-3.10.2/src/Text/Pandoc/Readers/OPML.hs
-formatted       f0c2a727f84e  pandoc-3.10.2/src/Text/Pandoc/Readers/Org.hs
-formatted       b11790cf298d  pandoc-3.10.2/src/Text/Pandoc/Readers/Org/BlockStarts.hs
-formatted       87d98588269f  pandoc-3.10.2/src/Text/Pandoc/Readers/Org/Blocks.hs
-formatted       3ff195adb2ff  pandoc-3.10.2/src/Text/Pandoc/Readers/Org/DocumentTree.hs
-formatted       0e89e887eae3  pandoc-3.10.2/src/Text/Pandoc/Readers/Org/ExportSettings.hs
-formatted       2cc65319731e  pandoc-3.10.2/src/Text/Pandoc/Readers/Org/Inlines.hs
-formatted       e34a610bde26  pandoc-3.10.2/src/Text/Pandoc/Readers/Org/Meta.hs
-formatted       ddd05cefe687  pandoc-3.10.2/src/Text/Pandoc/Readers/Org/ParserState.hs
-formatted       cddaebd35c79  pandoc-3.10.2/src/Text/Pandoc/Readers/Org/Parsing.hs
-formatted       56b3882f7c5f  pandoc-3.10.2/src/Text/Pandoc/Readers/Org/Shared.hs
-formatted       b88c97613fb0  pandoc-3.10.2/src/Text/Pandoc/Readers/Pod.hs
-formatted       53643fbdc8d6  pandoc-3.10.2/src/Text/Pandoc/Readers/Pptx.hs
-formatted       9f0a1be15c9c  pandoc-3.10.2/src/Text/Pandoc/Readers/Pptx/Parse.hs
-formatted       06b32e0a02bb  pandoc-3.10.2/src/Text/Pandoc/Readers/Pptx/Shapes.hs
-formatted       68136f2cd896  pandoc-3.10.2/src/Text/Pandoc/Readers/Pptx/Slides.hs
-formatted       2a1143e52057  pandoc-3.10.2/src/Text/Pandoc/Readers/Pptx/SmartArt.hs
-formatted       57c12a897562  pandoc-3.10.2/src/Text/Pandoc/Readers/RIS.hs
-formatted       9bf24ffe54d5  pandoc-3.10.2/src/Text/Pandoc/Readers/RST.hs
-formatted       12dbe03639cd  pandoc-3.10.2/src/Text/Pandoc/Readers/RTF.hs
-formatted       d9ba7b2c7b59  pandoc-3.10.2/src/Text/Pandoc/Readers/Roff.hs
-formatted       07cc917bf86a  pandoc-3.10.2/src/Text/Pandoc/Readers/Roff/Escape.hs
-formatted       4f544a701d34  pandoc-3.10.2/src/Text/Pandoc/Readers/TWiki.hs
-formatted       25cccdcbef5d  pandoc-3.10.2/src/Text/Pandoc/Readers/Textile.hs
-formatted       7e7d5f748c66  pandoc-3.10.2/src/Text/Pandoc/Readers/TikiWiki.hs
-formatted       92e7cf81f874  pandoc-3.10.2/src/Text/Pandoc/Readers/Txt2Tags.hs
-formatted       38ba4ac13251  pandoc-3.10.2/src/Text/Pandoc/Readers/Typst.hs
-formatted       571c0f71e243  pandoc-3.10.2/src/Text/Pandoc/Readers/Typst/Math.hs
-formatted       862b8ee41599  pandoc-3.10.2/src/Text/Pandoc/Readers/Typst/Parsing.hs
-formatted       d9474be2d4dd  pandoc-3.10.2/src/Text/Pandoc/Readers/Vimwiki.hs
-formatted       a6c0f74dc4bf  pandoc-3.10.2/src/Text/Pandoc/Readers/XML.hs
-formatted       6da1519e9667  pandoc-3.10.2/src/Text/Pandoc/Readers/Xlsx.hs
-formatted       835a84d727ab  pandoc-3.10.2/src/Text/Pandoc/Readers/Xlsx/Cells.hs
-formatted       da7c96257b3c  pandoc-3.10.2/src/Text/Pandoc/Readers/Xlsx/Parse.hs
-formatted       cec0a64a8f3d  pandoc-3.10.2/src/Text/Pandoc/Readers/Xlsx/Sheets.hs
-formatted       a3abe5c4303a  pandoc-3.10.2/src/Text/Pandoc/RoffChar.hs
-formatted       3b2c2c8b4a58  pandoc-3.10.2/src/Text/Pandoc/Scripting.hs
-formatted       e11dcf0c5f07  pandoc-3.10.2/src/Text/Pandoc/SelfContained.hs
-formatted       9b4ca9cf24ae  pandoc-3.10.2/src/Text/Pandoc/Shared.hs
-formatted       d4b69c2106f2  pandoc-3.10.2/src/Text/Pandoc/Slides.hs
-formatted       f972700afdb1  pandoc-3.10.2/src/Text/Pandoc/Sources.hs
-formatted       4723b914e051  pandoc-3.10.2/src/Text/Pandoc/TeX.hs
-formatted       1af167eb5091  pandoc-3.10.2/src/Text/Pandoc/Templates.hs
-formatted       3742fd06d6d7  pandoc-3.10.2/src/Text/Pandoc/Transforms.hs
-formatted       353cd881b0ba  pandoc-3.10.2/src/Text/Pandoc/Translations.hs
-formatted       062da3b78ef5  pandoc-3.10.2/src/Text/Pandoc/Translations/Types.hs
-formatted       e8b9d88b67b0  pandoc-3.10.2/src/Text/Pandoc/URI.hs
-formatted       4aa82cbc83c8  pandoc-3.10.2/src/Text/Pandoc/UTF8.hs
-formatted       e958a4d78635  pandoc-3.10.2/src/Text/Pandoc/UUID.hs
-formatted       c4b212f4e18f  pandoc-3.10.2/src/Text/Pandoc/Version.hs
-formatted       64127df72dfc  pandoc-3.10.2/src/Text/Pandoc/Writers.hs
-formatted       740042f14295  pandoc-3.10.2/src/Text/Pandoc/Writers/ANSI.hs
-formatted       a5a598c6ebd6  pandoc-3.10.2/src/Text/Pandoc/Writers/AnnotatedTable.hs
-formatted       f6512b24e402  pandoc-3.10.2/src/Text/Pandoc/Writers/AsciiDoc.hs
-formatted       d770fbc4289a  pandoc-3.10.2/src/Text/Pandoc/Writers/BBCode.hs
-formatted       74bebaa57c03  pandoc-3.10.2/src/Text/Pandoc/Writers/BibTeX.hs
-formatted       c3a3e99a6a7b  pandoc-3.10.2/src/Text/Pandoc/Writers/Blaze.hs
-formatted       fd730c859a35  pandoc-3.10.2/src/Text/Pandoc/Writers/ChunkedHTML.hs
-formatted       936b3d7e333a  pandoc-3.10.2/src/Text/Pandoc/Writers/CommonMark.hs
-formatted       4c3d328643fe  pandoc-3.10.2/src/Text/Pandoc/Writers/ConTeXt.hs
-formatted       d9b0707d098c  pandoc-3.10.2/src/Text/Pandoc/Writers/CslJson.hs
-formatted       9f27f448bef2  pandoc-3.10.2/src/Text/Pandoc/Writers/Djot.hs
-formatted       a5d327fae7c4  pandoc-3.10.2/src/Text/Pandoc/Writers/DocBook.hs
-formatted       7bf8f7c3beff  pandoc-3.10.2/src/Text/Pandoc/Writers/Docx.hs
-formatted       61434c17e954  pandoc-3.10.2/src/Text/Pandoc/Writers/Docx/OpenXML.hs
-formatted       47c7fc1f3217  pandoc-3.10.2/src/Text/Pandoc/Writers/Docx/StyleMap.hs
-formatted       9366da9eb866  pandoc-3.10.2/src/Text/Pandoc/Writers/Docx/Table.hs
-formatted       a7b1f18b1b94  pandoc-3.10.2/src/Text/Pandoc/Writers/Docx/Types.hs
-formatted       393f60564bb0  pandoc-3.10.2/src/Text/Pandoc/Writers/DokuWiki.hs
-formatted       34d053463a70  pandoc-3.10.2/src/Text/Pandoc/Writers/EPUB.hs
-formatted       18a7003d6454  pandoc-3.10.2/src/Text/Pandoc/Writers/FB2.hs
-formatted       c4b4f9d5a6e4  pandoc-3.10.2/src/Text/Pandoc/Writers/GridTable.hs
-formatted       98453ee060f9  pandoc-3.10.2/src/Text/Pandoc/Writers/HTML.hs
-formatted       6dff5ff11e27  pandoc-3.10.2/src/Text/Pandoc/Writers/Haddock.hs
-formatted       c124279e4c0c  pandoc-3.10.2/src/Text/Pandoc/Writers/ICML.hs
-formatted       dd0566d62914  pandoc-3.10.2/src/Text/Pandoc/Writers/Ipynb.hs
-formatted       c36a94774899  pandoc-3.10.2/src/Text/Pandoc/Writers/JATS.hs
-formatted       4a683f5d9700  pandoc-3.10.2/src/Text/Pandoc/Writers/JATS/References.hs
-formatted       854a6ee637a9  pandoc-3.10.2/src/Text/Pandoc/Writers/JATS/Table.hs
-formatted       3aae3967440a  pandoc-3.10.2/src/Text/Pandoc/Writers/JATS/Types.hs
-formatted       9cd811748938  pandoc-3.10.2/src/Text/Pandoc/Writers/Jira.hs
-formatted       7688ee789662  pandoc-3.10.2/src/Text/Pandoc/Writers/LaTeX.hs
-formatted       cafc5a3796df  pandoc-3.10.2/src/Text/Pandoc/Writers/LaTeX/Caption.hs
-formatted       a2dbe3145658  pandoc-3.10.2/src/Text/Pandoc/Writers/LaTeX/Citation.hs
-formatted       e89e979a29e1  pandoc-3.10.2/src/Text/Pandoc/Writers/LaTeX/Lang.hs
-formatted       8c164dd5cc9c  pandoc-3.10.2/src/Text/Pandoc/Writers/LaTeX/Notes.hs
-formatted       c117286c3731  pandoc-3.10.2/src/Text/Pandoc/Writers/LaTeX/Table.hs
-formatted       a4eb629d0029  pandoc-3.10.2/src/Text/Pandoc/Writers/LaTeX/Types.hs
-formatted       f86bcaf0241e  pandoc-3.10.2/src/Text/Pandoc/Writers/LaTeX/Util.hs
-formatted       85fcfddb12db  pandoc-3.10.2/src/Text/Pandoc/Writers/Man.hs
-formatted       d09a03d82e74  pandoc-3.10.2/src/Text/Pandoc/Writers/Markdown.hs
-formatted       a7a53336237a  pandoc-3.10.2/src/Text/Pandoc/Writers/Markdown/Inline.hs
-formatted       c57101b9ec66  pandoc-3.10.2/src/Text/Pandoc/Writers/Markdown/Table.hs
-formatted       02c7eb593d88  pandoc-3.10.2/src/Text/Pandoc/Writers/Markdown/Types.hs
-formatted       3d9d722a4e7e  pandoc-3.10.2/src/Text/Pandoc/Writers/Math.hs
-formatted       b64a72014932  pandoc-3.10.2/src/Text/Pandoc/Writers/MediaWiki.hs
-formatted       6390452aa35b  pandoc-3.10.2/src/Text/Pandoc/Writers/Ms.hs
-formatted       80ea597c2f04  pandoc-3.10.2/src/Text/Pandoc/Writers/Muse.hs
-formatted       4acde5355993  pandoc-3.10.2/src/Text/Pandoc/Writers/Native.hs
-formatted       8ef435634695  pandoc-3.10.2/src/Text/Pandoc/Writers/ODT.hs
-formatted       780b39e3c620  pandoc-3.10.2/src/Text/Pandoc/Writers/OOXML.hs
-formatted       4c4123778a13  pandoc-3.10.2/src/Text/Pandoc/Writers/OPML.hs
-formatted       11f3bed781a4  pandoc-3.10.2/src/Text/Pandoc/Writers/OpenDocument.hs
-formatted       4bae1768478d  pandoc-3.10.2/src/Text/Pandoc/Writers/Org.hs
-formatted       74e7486aeef1  pandoc-3.10.2/src/Text/Pandoc/Writers/Powerpoint.hs
-formatted       9b93eaeae21e  pandoc-3.10.2/src/Text/Pandoc/Writers/Powerpoint/Output.hs
-formatted       3cbe72b20538  pandoc-3.10.2/src/Text/Pandoc/Writers/Powerpoint/Presentation.hs
-formatted       c16f99045f8e  pandoc-3.10.2/src/Text/Pandoc/Writers/RST.hs
-formatted       4864c0915868  pandoc-3.10.2/src/Text/Pandoc/Writers/RTF.hs
-formatted       526459d5f74f  pandoc-3.10.2/src/Text/Pandoc/Writers/Roff.hs
-formatted       64258df1d09e  pandoc-3.10.2/src/Text/Pandoc/Writers/Shared.hs
-formatted       6ff714d9bc8d  pandoc-3.10.2/src/Text/Pandoc/Writers/TEI.hs
-formatted       01231d1cd443  pandoc-3.10.2/src/Text/Pandoc/Writers/Texinfo.hs
-formatted       c961b91b586a  pandoc-3.10.2/src/Text/Pandoc/Writers/Textile.hs
-formatted       e65d7bf1c614  pandoc-3.10.2/src/Text/Pandoc/Writers/Txt2Tags.hs
-formatted       ab0ca20ffb33  pandoc-3.10.2/src/Text/Pandoc/Writers/Typst.hs
-formatted       5753a1fc2b52  pandoc-3.10.2/src/Text/Pandoc/Writers/Vimdoc.hs
-formatted       030057adfda6  pandoc-3.10.2/src/Text/Pandoc/Writers/XML.hs
-formatted       159b08d5178c  pandoc-3.10.2/src/Text/Pandoc/Writers/XWiki.hs
-formatted       d353c0adc4a4  pandoc-3.10.2/src/Text/Pandoc/Writers/ZimWiki.hs
-formatted       b9434fb9de0a  pandoc-3.10.2/src/Text/Pandoc/XML.hs
-formatted       29da3381e068  pandoc-3.10.2/src/Text/Pandoc/XMLFormat.hs
-formatted       57155b5f1fa9  pandoc-3.10.2/test/Tests/Command.hs
-formatted       cc2af1e38ce1  pandoc-3.10.2/test/Tests/Helpers.hs
-formatted       b6b7d7a032dd  pandoc-3.10.2/test/Tests/MediaBag.hs
-formatted       58f15e3f067a  pandoc-3.10.2/test/Tests/Old.hs
-formatted       333649c94dd9  pandoc-3.10.2/test/Tests/Readers/Creole.hs
-formatted       c5655e1aeeef  pandoc-3.10.2/test/Tests/Readers/Docx.hs
-formatted       35e25d7a6148  pandoc-3.10.2/test/Tests/Readers/DokuWiki.hs
-formatted       150d1390d716  pandoc-3.10.2/test/Tests/Readers/EPUB.hs
-formatted       0d2db3fa6504  pandoc-3.10.2/test/Tests/Readers/FB2.hs
-formatted       155489214643  pandoc-3.10.2/test/Tests/Readers/HTML.hs
-formatted       a047fe6e2033  pandoc-3.10.2/test/Tests/Readers/JATS.hs
-formatted       3ee2ef6dea11  pandoc-3.10.2/test/Tests/Readers/Jira.hs
-formatted       a0bebbb719e9  pandoc-3.10.2/test/Tests/Readers/LaTeX.hs
-formatted       b7f1456dfbcb  pandoc-3.10.2/test/Tests/Readers/Man.hs
-formatted       67e0bd9ae4b8  pandoc-3.10.2/test/Tests/Readers/Markdown.hs
-formatted       7aec4f85c064  pandoc-3.10.2/test/Tests/Readers/Mdoc.hs
-formatted       725337c69fd0  pandoc-3.10.2/test/Tests/Readers/Muse.hs
-formatted       d850617edb68  pandoc-3.10.2/test/Tests/Readers/ODT.hs
-formatted       4cec297f4fab  pandoc-3.10.2/test/Tests/Readers/Org.hs
-formatted       e5c1db2d073f  pandoc-3.10.2/test/Tests/Readers/Org/Block.hs
-formatted       b4b9cddd5711  pandoc-3.10.2/test/Tests/Readers/Org/Block/CodeBlock.hs
-formatted       8bfbfbb823bf  pandoc-3.10.2/test/Tests/Readers/Org/Block/Figure.hs
-formatted       1db2ce6020c8  pandoc-3.10.2/test/Tests/Readers/Org/Block/Header.hs
-formatted       6040ddbe898e  pandoc-3.10.2/test/Tests/Readers/Org/Block/List.hs
-formatted       3e9d7a83d060  pandoc-3.10.2/test/Tests/Readers/Org/Block/Table.hs
-formatted       2059c719f367  pandoc-3.10.2/test/Tests/Readers/Org/Directive.hs
-formatted       bfd915a68797  pandoc-3.10.2/test/Tests/Readers/Org/Inline.hs
-formatted       c762e1d74166  pandoc-3.10.2/test/Tests/Readers/Org/Inline/Citation.hs
-formatted       b2fb48f770ee  pandoc-3.10.2/test/Tests/Readers/Org/Inline/Note.hs
-formatted       c86aabaf01bb  pandoc-3.10.2/test/Tests/Readers/Org/Inline/Smart.hs
-formatted       06c0169c3199  pandoc-3.10.2/test/Tests/Readers/Org/Meta.hs
-formatted       9f0320fe3803  pandoc-3.10.2/test/Tests/Readers/Org/Shared.hs
-formatted       1eb1a05f4635  pandoc-3.10.2/test/Tests/Readers/Pod.hs
-formatted       ff6bbea7ddc9  pandoc-3.10.2/test/Tests/Readers/Pptx.hs
-formatted       1320e3e7aa2d  pandoc-3.10.2/test/Tests/Readers/RST.hs
-formatted       63d3f17d29f9  pandoc-3.10.2/test/Tests/Readers/RTF.hs
-formatted       aca713b17e29  pandoc-3.10.2/test/Tests/Readers/Txt2Tags.hs
-formatted       d805d2ea3361  pandoc-3.10.2/test/Tests/Readers/Xlsx.hs
-formatted       2692dc26ee41  pandoc-3.10.2/test/Tests/Shared.hs
-formatted       9159eea2487f  pandoc-3.10.2/test/Tests/Writers/AnnotatedTable.hs
-formatted       b21e7e06def4  pandoc-3.10.2/test/Tests/Writers/AsciiDoc.hs
-formatted       70088c61a9f3  pandoc-3.10.2/test/Tests/Writers/BBCode.hs
-formatted       6dcb350b3086  pandoc-3.10.2/test/Tests/Writers/ConTeXt.hs
-formatted       eed62139c6af  pandoc-3.10.2/test/Tests/Writers/DocBook.hs
-formatted       3734475521c2  pandoc-3.10.2/test/Tests/Writers/Docx.hs
-formatted       c93a204195d1  pandoc-3.10.2/test/Tests/Writers/FB2.hs
-formatted       69041cc0bebc  pandoc-3.10.2/test/Tests/Writers/HTML.hs
-formatted       e20190db8973  pandoc-3.10.2/test/Tests/Writers/JATS.hs
-formatted       f691886863f7  pandoc-3.10.2/test/Tests/Writers/Jira.hs
-formatted       9b6e923fe756  pandoc-3.10.2/test/Tests/Writers/LaTeX.hs
-formatted       c301d7bef6ff  pandoc-3.10.2/test/Tests/Writers/Markdown.hs
-formatted       c8345b0f787e  pandoc-3.10.2/test/Tests/Writers/Markua.hs
-formatted       fb4d32e30070  pandoc-3.10.2/test/Tests/Writers/Ms.hs
-formatted       ef0e40bc038b  pandoc-3.10.2/test/Tests/Writers/Muse.hs
-formatted       9309764377bd  pandoc-3.10.2/test/Tests/Writers/Native.hs
-formatted       123f7ce6880c  pandoc-3.10.2/test/Tests/Writers/OOXML.hs
-formatted       3033600cbe42  pandoc-3.10.2/test/Tests/Writers/Org.hs
-formatted       0e4b414e2dea  pandoc-3.10.2/test/Tests/Writers/Plain.hs
-formatted       1b5be67cf1c4  pandoc-3.10.2/test/Tests/Writers/Powerpoint.hs
-formatted       d5d49a829a7e  pandoc-3.10.2/test/Tests/Writers/RST.hs
-formatted       7f7f9e6de407  pandoc-3.10.2/test/Tests/Writers/TEI.hs
-formatted       9286c785c97e  pandoc-3.10.2/test/Tests/Writers/Txt2Tags.hs
-formatted       14edd0465124  pandoc-3.10.2/test/Tests/XML.hs
-formatted       16057c777a9d  pandoc-3.10.2/test/command/3510-src.hs
-formatted       3f023b0abbe3  pandoc-3.10.2/test/command/6466-beg.hs
-formatted       06289f98fcac  pandoc-3.10.2/test/command/6466-end.hs
-formatted       546301610b9b  pandoc-3.10.2/test/command/6466-mid.hs
-formatted       b6f515e00962  pandoc-3.10.2/test/command/6466-whole.hs
-formatted       53aaf2e2c6e0  pandoc-3.10.2/test/test-pandoc.hs
-formatted       2556d5cb9f72  pandoc-3.10.2/xml-light/Text/Pandoc/XML/Light.hs
-formatted       3cd6a981ab05  pandoc-3.10.2/xml-light/Text/Pandoc/XML/Light/Output.hs
-formatted       3f7a60f285f2  pandoc-3.10.2/xml-light/Text/Pandoc/XML/Light/Proc.hs
-formatted       de45363ba4dc  pandoc-3.10.2/xml-light/Text/Pandoc/XML/Light/Types.hs
-formatted       e865ae48f11b  pandoc-types-1.23.1.2/Setup.hs
-formatted       8376040e03f4  pandoc-types-1.23.1.2/benchmark/bench.hs
-formatted       3ae03bf8e37c  pandoc-types-1.23.1.2/src/Text/Pandoc/Arbitrary.hs
-formatted       87ebe529440f  pandoc-types-1.23.1.2/src/Text/Pandoc/Builder.hs
-formatted       2f99ad7040cc  pandoc-types-1.23.1.2/src/Text/Pandoc/Definition.hs
-formatted       42a13347f367  pandoc-types-1.23.1.2/src/Text/Pandoc/Generic.hs
-formatted       8fad29f2adc4  pandoc-types-1.23.1.2/src/Text/Pandoc/JSON.hs
-formatted       a6d367888d28  pandoc-types-1.23.1.2/src/Text/Pandoc/Walk.hs
-formatted       dcf10d45e788  pandoc-types-1.23.1.2/test/Data/String/QQ.hs
-formatted       aa803b05c956  pandoc-types-1.23.1.2/test/test-pandoc-types.hs
-formatted       7474b7e1d4f5  parsec3-1.0.1.8/Setup.hs
-formatted       48d72ad7fc59  parsec3-1.0.1.8/Text/Parsec.hs
-formatted       5c36e0dc2f16  parsec3-1.0.1.8/Text/Parsec/ByteString.hs
-formatted       067f443a7131  parsec3-1.0.1.8/Text/Parsec/ByteString/Lazy.hs
-formatted       5e6bdea20cf6  parsec3-1.0.1.8/Text/Parsec/Char.hs
-formatted       522600ab706d  parsec3-1.0.1.8/Text/Parsec/Combinator.hs
-formatted       fbc0d23649b9  parsec3-1.0.1.8/Text/Parsec/Error.hs
-formatted       7791b03e9f31  parsec3-1.0.1.8/Text/Parsec/Expr.hs
-formatted       156014d6ed26  parsec3-1.0.1.8/Text/Parsec/Language.hs
-formatted       40bf4d018d51  parsec3-1.0.1.8/Text/Parsec/Perm.hs
-formatted       c50efff79fe5  parsec3-1.0.1.8/Text/Parsec/Pos.hs
-formatted       29be56fe440f  parsec3-1.0.1.8/Text/Parsec/Prim.hs
-formatted       c911dc63e8d5  parsec3-1.0.1.8/Text/Parsec/String.hs
-formatted       0442595aeaa8  parsec3-1.0.1.8/Text/Parsec/Text.hs
-formatted       f2bff0c9cc7d  parsec3-1.0.1.8/Text/Parsec/Text/Lazy.hs
-formatted       bb0eeef3f954  parsec3-1.0.1.8/Text/Parsec/Token.hs
-formatted       22b02f116512  parser-combinators-1.3.1/Control/Applicative/Combinators.hs
-formatted       2b483a550d21  parser-combinators-1.3.1/Control/Applicative/Combinators/NonEmpty.hs
-formatted       7d01c0dddfcd  parser-combinators-1.3.1/Control/Applicative/Permutations.hs
-formatted       80eb76464ce8  parser-combinators-1.3.1/Control/Monad/Combinators.hs
-formatted       203c01d41bb8  parser-combinators-1.3.1/Control/Monad/Combinators/Expr.hs
-formatted       f63c3b21684d  parser-combinators-1.3.1/Control/Monad/Combinators/NonEmpty.hs
-formatted       2ce12720b575  parser-combinators-1.3.1/Control/Monad/Permutations.hs
-formatted       4c7a2ed66fb7  persistent-2.18.1.0/Database/Persist.hs
-formatted       af7417196697  persistent-2.18.1.0/Database/Persist/Class.hs
-formatted       a62cb576f4b1  persistent-2.18.1.0/Database/Persist/Class/PersistConfig.hs
-formatted       56f625ad1ea2  persistent-2.18.1.0/Database/Persist/Class/PersistEntity.hs
-formatted       59a8f044a3b1  persistent-2.18.1.0/Database/Persist/Class/PersistField.hs
-formatted       4229d83e727f  persistent-2.18.1.0/Database/Persist/Class/PersistQuery.hs
-formatted       194836df1fd0  persistent-2.18.1.0/Database/Persist/Class/PersistStore.hs
-formatted       c7df1c76c273  persistent-2.18.1.0/Database/Persist/Class/PersistUnique.hs
-formatted       8411f5f4d556  persistent-2.18.1.0/Database/Persist/Compatible.hs
-formatted       40afca283a80  persistent-2.18.1.0/Database/Persist/Compatible/TH.hs
-formatted       88f7099ef25d  persistent-2.18.1.0/Database/Persist/Compatible/Types.hs
-formatted       afd0e0f5df2e  persistent-2.18.1.0/Database/Persist/EntityDef.hs
-formatted       849d0a429195  persistent-2.18.1.0/Database/Persist/EntityDef/Internal.hs
-formatted       e1f19a8d7ad8  persistent-2.18.1.0/Database/Persist/FieldDef.hs
-formatted       ab8743cef9ef  persistent-2.18.1.0/Database/Persist/FieldDef/Internal.hs
-formatted       62ee350971e4  persistent-2.18.1.0/Database/Persist/ImplicitIdDef.hs
-formatted       23219cfb95d9  persistent-2.18.1.0/Database/Persist/ImplicitIdDef/Internal.hs
-formatted       03da4b4e1d1b  persistent-2.18.1.0/Database/Persist/Names.hs
-formatted       bffc2993298b  persistent-2.18.1.0/Database/Persist/PersistValue.hs
-formatted       3b8981721873  persistent-2.18.1.0/Database/Persist/Quasi.hs
-formatted       8181443f0a2e  persistent-2.18.1.0/Database/Persist/Quasi/Internal.hs
-formatted       46a99c7ced31  persistent-2.18.1.0/Database/Persist/Quasi/Internal/ModelParser.hs
-formatted       7c334061474c  persistent-2.18.1.0/Database/Persist/Quasi/Internal/TypeParser.hs
-formatted       21110acf54fd  persistent-2.18.1.0/Database/Persist/Quasi/PersistSettings.hs
-formatted       bd8ed569b227  persistent-2.18.1.0/Database/Persist/Quasi/PersistSettings/Internal.hs
-formatted       a2208d509db2  persistent-2.18.1.0/Database/Persist/Sql.hs
-formatted       246fc7fd8a33  persistent-2.18.1.0/Database/Persist/Sql/Class.hs
-formatted       7df96aa6ca37  persistent-2.18.1.0/Database/Persist/Sql/Internal.hs
-formatted       61627a409445  persistent-2.18.1.0/Database/Persist/Sql/Migration.hs
-formatted       6bb586234ba3  persistent-2.18.1.0/Database/Persist/Sql/Orphan/PersistQuery.hs
-formatted       f92ba225547b  persistent-2.18.1.0/Database/Persist/Sql/Orphan/PersistStore.hs
-formatted       423a6f1ddcbf  persistent-2.18.1.0/Database/Persist/Sql/Orphan/PersistUnique.hs
-formatted       4da2e4b129cc  persistent-2.18.1.0/Database/Persist/Sql/Raw.hs
-formatted       0e7b2ba6e228  persistent-2.18.1.0/Database/Persist/Sql/Run.hs
-formatted       87c15b78e7c4  persistent-2.18.1.0/Database/Persist/Sql/Types.hs
-formatted       9e7bc02b72db  persistent-2.18.1.0/Database/Persist/Sql/Types/Internal.hs
-formatted       4501af7f2e24  persistent-2.18.1.0/Database/Persist/Sql/Util.hs
-formatted       20882da7c4ce  persistent-2.18.1.0/Database/Persist/SqlBackend.hs
-formatted       748cbc69c920  persistent-2.18.1.0/Database/Persist/SqlBackend/Internal.hs
-formatted       47acc3733907  persistent-2.18.1.0/Database/Persist/SqlBackend/Internal/InsertSqlResult.hs
-formatted       4bd5d30fe421  persistent-2.18.1.0/Database/Persist/SqlBackend/Internal/IsolationLevel.hs
-formatted       c8a378801422  persistent-2.18.1.0/Database/Persist/SqlBackend/Internal/MkSqlBackend.hs
-formatted       945521fad6a2  persistent-2.18.1.0/Database/Persist/SqlBackend/Internal/SqlPoolHooks.hs
-formatted       4e0a2509487b  persistent-2.18.1.0/Database/Persist/SqlBackend/Internal/Statement.hs
-formatted       e5985feb4a17  persistent-2.18.1.0/Database/Persist/SqlBackend/Internal/StatementCache.hs
-formatted       8c6a9aceba09  persistent-2.18.1.0/Database/Persist/SqlBackend/SqlPoolHooks.hs
-formatted       22acd1321720  persistent-2.18.1.0/Database/Persist/SqlBackend/StatementCache.hs
-formatted       c43972a3241b  persistent-2.18.1.0/Database/Persist/TH.hs
-formatted       7a8187006d4b  persistent-2.18.1.0/Database/Persist/TH/Internal.hs
-formatted       3eb1ab75fbdf  persistent-2.18.1.0/Database/Persist/Types.hs
-formatted       602702e0f86e  persistent-2.18.1.0/Database/Persist/Types/Base.hs
-formatted       b8189bc0e07d  persistent-2.18.1.0/Database/Persist/Types/SourceSpan.hs
-formatted       1aec50d3544f  persistent-2.18.1.0/bench/Main.hs
-formatted       d4e78e3f895b  persistent-2.18.1.0/bench/Models.hs
-formatted       1e8c8c93c976  persistent-2.18.1.0/test/Database/Persist/ClassSpec.hs
-formatted       6082a8164f41  persistent-2.18.1.0/test/Database/Persist/PersistValueSpec.hs
-formatted       6b7b4611f96f  persistent-2.18.1.0/test/Database/Persist/QuasiSpec.hs
-formatted       519e8fe84f6b  persistent-2.18.1.0/test/Database/Persist/TH/CommentSpec.hs
-formatted       e39700ee9e91  persistent-2.18.1.0/test/Database/Persist/TH/CompositeKeyStyleSpec.hs
-formatted       f9f4014951e3  persistent-2.18.1.0/test/Database/Persist/TH/DiscoverEntitiesSpec.hs
-formatted       c444c6731179  persistent-2.18.1.0/test/Database/Persist/TH/EmbedSpec.hs
-formatted       bf23d25d4982  persistent-2.18.1.0/test/Database/Persist/TH/EntityHaddockSpec.hs
-formatted       6809c758a81d  persistent-2.18.1.0/test/Database/Persist/TH/ForeignRefSpec.hs
-formatted       0c3421ff2893  persistent-2.18.1.0/test/Database/Persist/TH/ImplicitIdColSpec.hs
-formatted       8570d4321968  persistent-2.18.1.0/test/Database/Persist/TH/JsonEncodingSpec.hs
-formatted       8adfe4a4228d  persistent-2.18.1.0/test/Database/Persist/TH/KindEntitiesSpec.hs
-formatted       5aacd109f219  persistent-2.18.1.0/test/Database/Persist/TH/KindEntitiesSpecImports.hs
-formatted       95ba90d362da  persistent-2.18.1.0/test/Database/Persist/TH/MaybeFieldDefsSpec.hs
-formatted       c4b2085e7249  persistent-2.18.1.0/test/Database/Persist/TH/MigrationOnlySpec.hs
-formatted       dbad9d8d922f  persistent-2.18.1.0/test/Database/Persist/TH/MultiBlockSpec.hs
-formatted       b776165f7ac3  persistent-2.18.1.0/test/Database/Persist/TH/MultiBlockSpec/Model.hs
-formatted       baa7f67273ec  persistent-2.18.1.0/test/Database/Persist/TH/NestedSymbolsInTypeSpec.hs
-formatted       f0e370f995e7  persistent-2.18.1.0/test/Database/Persist/TH/NestedSymbolsInTypeSpecImports.hs
-formatted       a12885a494b5  persistent-2.18.1.0/test/Database/Persist/TH/NoFieldSelectorsSpec.hs
-formatted       e227905a242e  persistent-2.18.1.0/test/Database/Persist/TH/OverloadedLabelSpec.hs
-formatted       ad712bcac46e  persistent-2.18.1.0/test/Database/Persist/TH/PersistWith/Model.hs
-formatted       8d58beb8b33c  persistent-2.18.1.0/test/Database/Persist/TH/PersistWith/Model2.hs
-formatted       a7b8dff135f1  persistent-2.18.1.0/test/Database/Persist/TH/PersistWithSpec.hs
-formatted       7b6cf72d5ecc  persistent-2.18.1.0/test/Database/Persist/TH/RequireOnlyPersistImportSpec.hs
-formatted       9a0756832b2d  persistent-2.18.1.0/test/Database/Persist/TH/SharedPrimaryKeyImportedSpec.hs
-formatted       885e1164f19c  persistent-2.18.1.0/test/Database/Persist/TH/SharedPrimaryKeySpec.hs
-formatted       145463b36f4d  persistent-2.18.1.0/test/Database/Persist/TH/SumSpec.hs
-formatted       e6bfe40fd881  persistent-2.18.1.0/test/Database/Persist/TH/ToFromPersistValuesSpec.hs
-formatted       a18bfc6474db  persistent-2.18.1.0/test/Database/Persist/TH/TypeLitFieldDefsSpec.hs
-formatted       4b5eb99e6097  persistent-2.18.1.0/test/Database/Persist/THSpec.hs
-formatted       f9304e426550  persistent-2.18.1.0/test/TemplateTestImports.hs
-formatted       7f05465b25d5  persistent-2.18.1.0/test/main.hs
-formatted       e865ae48f11b  pipes-4.3.16/Setup.hs
-formatted       bc3b140ba83c  pipes-4.3.16/benchmarks/Common.hs
-formatted       e459e4d124d4  pipes-4.3.16/benchmarks/LiftBench.hs
-formatted       d96fb6cefc30  pipes-4.3.16/benchmarks/PreludeBench.hs
-formatted       c033c83ec4cb  pipes-4.3.16/src/Pipes.hs
-formatted       e3dc5b339200  pipes-4.3.16/src/Pipes/Core.hs
-formatted       a6c6ec5a4f4c  pipes-4.3.16/src/Pipes/Internal.hs
-formatted       b0d9eaef316b  pipes-4.3.16/src/Pipes/Lift.hs
-formatted       b21ef8ba8f5d  pipes-4.3.16/src/Pipes/Prelude.hs
-formatted       436224de8a77  pipes-4.3.16/src/Pipes/Tutorial.hs
-formatted       068bd78f1e97  pipes-4.3.16/tests/Main.hs
-formatted       56dca68e0a87  postgrest-9.0.1/Setup.hs
-formatted       772d4f353686  postgrest-9.0.1/main/Main.hs
-formatted       e24d5ee8932f  postgrest-9.0.1/src/PostgREST/App.hs
-formatted       f658b8d95628  postgrest-9.0.1/src/PostgREST/AppState.hs
-formatted       04688f64c4e1  postgrest-9.0.1/src/PostgREST/Auth.hs
-formatted       0abbe3feaa05  postgrest-9.0.1/src/PostgREST/CLI.hs
-formatted       1b3df3371712  postgrest-9.0.1/src/PostgREST/Config.hs
-formatted       9796d49489e0  postgrest-9.0.1/src/PostgREST/Config/Database.hs
-formatted       9632241317fd  postgrest-9.0.1/src/PostgREST/Config/JSPath.hs
-formatted       b719e278251b  postgrest-9.0.1/src/PostgREST/Config/PgVersion.hs
-formatted       6c2ca99e2760  postgrest-9.0.1/src/PostgREST/Config/Proxy.hs
-formatted       65c66f863629  postgrest-9.0.1/src/PostgREST/ContentType.hs
-formatted       9200d4931d04  postgrest-9.0.1/src/PostgREST/Cors.hs
-formatted       9961291af0c6  postgrest-9.0.1/src/PostgREST/DbStructure.hs
-formatted       a0f5c884d319  postgrest-9.0.1/src/PostgREST/DbStructure/Identifiers.hs
-formatted       29d8af69557a  postgrest-9.0.1/src/PostgREST/DbStructure/Proc.hs
-formatted       8670bffe5d4a  postgrest-9.0.1/src/PostgREST/DbStructure/Relationship.hs
-formatted       66c6fb5fc0f5  postgrest-9.0.1/src/PostgREST/DbStructure/Table.hs
-formatted       c35d5cc3a41e  postgrest-9.0.1/src/PostgREST/Error.hs
-formatted       f1b82d17eed8  postgrest-9.0.1/src/PostgREST/GucHeader.hs
-formatted       2c6a7ae61af9  postgrest-9.0.1/src/PostgREST/Logger.hs
-formatted       1dacd910468e  postgrest-9.0.1/src/PostgREST/Middleware.hs
-formatted       17654b363841  postgrest-9.0.1/src/PostgREST/OpenAPI.hs
-formatted       cdec9328f2d4  postgrest-9.0.1/src/PostgREST/Query/QueryBuilder.hs
-formatted       5f8a401dbb67  postgrest-9.0.1/src/PostgREST/Query/SqlFragment.hs
-formatted       5f4cbf20b7f3  postgrest-9.0.1/src/PostgREST/Query/Statements.hs
-formatted       7d83276a4311  postgrest-9.0.1/src/PostgREST/RangeQuery.hs
-formatted       4cecd3055b78  postgrest-9.0.1/src/PostgREST/Request/ApiRequest.hs
-formatted       6ee594640f68  postgrest-9.0.1/src/PostgREST/Request/DbRequestBuilder.hs
-formatted       fc3632173741  postgrest-9.0.1/src/PostgREST/Request/Parsers.hs
-formatted       8e710c5836da  postgrest-9.0.1/src/PostgREST/Request/Preferences.hs
-formatted       1353ba00b6c3  postgrest-9.0.1/src/PostgREST/Request/Types.hs
-formatted       0c839dec485e  postgrest-9.0.1/src/PostgREST/Unix.hs
-formatted       793800bb054f  postgrest-9.0.1/src/PostgREST/Version.hs
-formatted       900b9c705574  postgrest-9.0.1/src/PostgREST/Workers.hs
-formatted       c719f882d27c  postgrest-9.0.1/test/doc/Main.hs
-formatted       8293711c23f6  postgrest-9.0.1/test/spec/Feature/AndOrParamsSpec.hs
-formatted       ff8246e7adcd  postgrest-9.0.1/test/spec/Feature/AsymmetricJwtSpec.hs
-formatted       bac4b7907402  postgrest-9.0.1/test/spec/Feature/AudienceJwtSecretSpec.hs
-formatted       acbe9362314e  postgrest-9.0.1/test/spec/Feature/AuthSpec.hs
-formatted       2fe84a7e70d0  postgrest-9.0.1/test/spec/Feature/BinaryJwtSecretSpec.hs
-formatted       2fb433681c01  postgrest-9.0.1/test/spec/Feature/ConcurrentSpec.hs
-formatted       db553e991f45  postgrest-9.0.1/test/spec/Feature/CorsSpec.hs
-formatted       343d3e3a465e  postgrest-9.0.1/test/spec/Feature/DeleteSpec.hs
-formatted       112082d3da25  postgrest-9.0.1/test/spec/Feature/DisabledOpenApiSpec.hs
-formatted       42728b5ce4a4  postgrest-9.0.1/test/spec/Feature/EmbedDisambiguationSpec.hs
-formatted       f7a7ea3d2a87  postgrest-9.0.1/test/spec/Feature/EmbedInnerJoinSpec.hs
-formatted       a3dddabdb704  postgrest-9.0.1/test/spec/Feature/ExtraSearchPathSpec.hs
-formatted       ff20687cb475  postgrest-9.0.1/test/spec/Feature/HtmlRawOutputSpec.hs
-formatted       2e6a9474e718  postgrest-9.0.1/test/spec/Feature/IgnorePrivOpenApiSpec.hs
-formatted       6fef53a41695  postgrest-9.0.1/test/spec/Feature/InsertSpec.hs
-formatted       6f6ff9c35189  postgrest-9.0.1/test/spec/Feature/JsonOperatorSpec.hs
-formatted       12271bc52ad6  postgrest-9.0.1/test/spec/Feature/LegacyGucsSpec.hs
-formatted       5228aaf9349c  postgrest-9.0.1/test/spec/Feature/MultipleSchemaSpec.hs
-formatted       7bdf0d9b94ab  postgrest-9.0.1/test/spec/Feature/NoJwtSpec.hs
-formatted       a7144a84ab24  postgrest-9.0.1/test/spec/Feature/NonexistentSchemaSpec.hs
-formatted       d10bde3ba967  postgrest-9.0.1/test/spec/Feature/OpenApiSpec.hs
-formatted       1b9c2f6f5c75  postgrest-9.0.1/test/spec/Feature/OptionsSpec.hs
-formatted       89a1589ff0fe  postgrest-9.0.1/test/spec/Feature/ProxySpec.hs
-formatted       4e889783f9ba  postgrest-9.0.1/test/spec/Feature/QueryLimitedSpec.hs
-formatted       05c3032a3ad6  postgrest-9.0.1/test/spec/Feature/QuerySpec.hs
-formatted       06632a6a8e0a  postgrest-9.0.1/test/spec/Feature/RangeSpec.hs
-formatted       7cb746560127  postgrest-9.0.1/test/spec/Feature/RawOutputTypesSpec.hs
-formatted       b4a3ab5a81a9  postgrest-9.0.1/test/spec/Feature/RollbackSpec.hs
-formatted       dc5321d79fb3  postgrest-9.0.1/test/spec/Feature/RootSpec.hs
-formatted       77a649eeb2e6  postgrest-9.0.1/test/spec/Feature/RpcPreRequestGucsSpec.hs
-formatted       88cbb7230a8c  postgrest-9.0.1/test/spec/Feature/RpcSpec.hs
-formatted       73c0ab518a3d  postgrest-9.0.1/test/spec/Feature/SingularSpec.hs
-formatted       be03de84804f  postgrest-9.0.1/test/spec/Feature/UnicodeSpec.hs
-formatted       162dade8a566  postgrest-9.0.1/test/spec/Feature/UpdateSpec.hs
-formatted       eb3b5ebce8b4  postgrest-9.0.1/test/spec/Feature/UpsertSpec.hs
-formatted       7a9dd3383794  postgrest-9.0.1/test/spec/Main.hs
-formatted       f32b163f57d7  postgrest-9.0.1/test/spec/QueryCost.hs
-formatted       c8a3a9772eba  postgrest-9.0.1/test/spec/SpecHelper.hs
-formatted       c136e6235ce2  postgrest-9.0.1/test/spec/TestTypes.hs
-formatted       13abd8b59335  profunctors-5.6.3/src/Data/Profunctor.hs
-formatted       cd53a440a7f3  profunctors-5.6.3/src/Data/Profunctor/Adjunction.hs
-formatted       44ffb6d1bea1  profunctors-5.6.3/src/Data/Profunctor/Cayley.hs
-formatted       43b9af9dbdee  profunctors-5.6.3/src/Data/Profunctor/Choice.hs
-formatted       e75ce088bc39  profunctors-5.6.3/src/Data/Profunctor/Closed.hs
-formatted       1bf9da8132db  profunctors-5.6.3/src/Data/Profunctor/Composition.hs
-formatted       637e91df9ad9  profunctors-5.6.3/src/Data/Profunctor/Mapping.hs
-formatted       59b30aaa8b06  profunctors-5.6.3/src/Data/Profunctor/Monad.hs
-formatted       9cdbefb9ae8d  profunctors-5.6.3/src/Data/Profunctor/Ran.hs
-formatted       75bf7910fd8f  profunctors-5.6.3/src/Data/Profunctor/Rep.hs
-formatted       a405de2f08b4  profunctors-5.6.3/src/Data/Profunctor/Sieve.hs
-formatted       08010efdb1f7  profunctors-5.6.3/src/Data/Profunctor/Strong.hs
-formatted       c581748aad4e  profunctors-5.6.3/src/Data/Profunctor/Traversing.hs
-formatted       1c7fe01f264b  profunctors-5.6.3/src/Data/Profunctor/Types.hs
-formatted       40464db793ac  profunctors-5.6.3/src/Data/Profunctor/Unsafe.hs
-formatted       5f12d0dd1351  profunctors-5.6.3/src/Data/Profunctor/Yoneda.hs
-formatted       f97b976f5a71  purescript-0.15.15/Setup.hs
-formatted       fc25cc9ab507  purescript-0.15.15/app/Command/Bundle.hs
-formatted       d0c2fd344d2b  purescript-0.15.15/app/Command/Compile.hs
-formatted       7219813f0a5c  purescript-0.15.15/app/Command/Docs.hs
-formatted       c06c3f05260e  purescript-0.15.15/app/Command/Docs/Html.hs
-formatted       037036ef66e1  purescript-0.15.15/app/Command/Docs/Markdown.hs
-formatted       60636f418bc5  purescript-0.15.15/app/Command/Graph.hs
-formatted       60131f690f8b  purescript-0.15.15/app/Command/Hierarchy.hs
-formatted       be7dd3becfad  purescript-0.15.15/app/Command/Ide.hs
-formatted       2c3998824b51  purescript-0.15.15/app/Command/Publish.hs
-formatted       a930f15c3b4e  purescript-0.15.15/app/Command/REPL.hs
-formatted       aa128423c4fb  purescript-0.15.15/app/Main.hs
-formatted       8c8cfed900b8  purescript-0.15.15/app/SharedCLI.hs
-formatted       18a85337fa6b  purescript-0.15.15/app/Version.hs
-formatted       e69aed05fabc  purescript-0.15.15/src/Control/Monad/Logger.hs
-formatted       f396208e56b6  purescript-0.15.15/src/Control/Monad/Supply.hs
-formatted       4199e8087c69  purescript-0.15.15/src/Control/Monad/Supply/Class.hs
-formatted       7a4d7979e1c9  purescript-0.15.15/src/Data/Text/PureScript.hs
-formatted       eef5dd037abf  purescript-0.15.15/src/Language/PureScript.hs
-formatted       64c0d4442190  purescript-0.15.15/src/Language/PureScript/AST.hs
-formatted       6857432ccb89  purescript-0.15.15/src/Language/PureScript/AST/Binders.hs
-formatted       31b3dc106302  purescript-0.15.15/src/Language/PureScript/AST/Declarations.hs
-formatted       0368132e2a7c  purescript-0.15.15/src/Language/PureScript/AST/Declarations/ChainId.hs
-formatted       fbdaa45efd39  purescript-0.15.15/src/Language/PureScript/AST/Exported.hs
-formatted       16c598490b8b  purescript-0.15.15/src/Language/PureScript/AST/Literals.hs
-formatted       6dde4019084f  purescript-0.15.15/src/Language/PureScript/AST/Operators.hs
-formatted       7cb50594d1de  purescript-0.15.15/src/Language/PureScript/AST/SourcePos.hs
-formatted       fd740ce393cd  purescript-0.15.15/src/Language/PureScript/AST/Traversals.hs
-formatted       b141c8c10db8  purescript-0.15.15/src/Language/PureScript/AST/Utils.hs
-formatted       afe55109e72f  purescript-0.15.15/src/Language/PureScript/Bundle.hs
-formatted       665ede6abf17  purescript-0.15.15/src/Language/PureScript/CST.hs
-formatted       a5963c5438f8  purescript-0.15.15/src/Language/PureScript/CST/Convert.hs
-formatted       2143990c6781  purescript-0.15.15/src/Language/PureScript/CST/Errors.hs
-formatted       c81c2ecf7ebe  purescript-0.15.15/src/Language/PureScript/CST/Flatten.hs
-formatted       36fe1c70493a  purescript-0.15.15/src/Language/PureScript/CST/Layout.hs
-formatted       7ac157858a86  purescript-0.15.15/src/Language/PureScript/CST/Lexer.hs
-formatted       a08c36743aa3  purescript-0.15.15/src/Language/PureScript/CST/Monad.hs
-formatted       a696e86ab554  purescript-0.15.15/src/Language/PureScript/CST/Positions.hs
-formatted       2df3a82dec66  purescript-0.15.15/src/Language/PureScript/CST/Print.hs
-formatted       c741805ffed3  purescript-0.15.15/src/Language/PureScript/CST/Traversals.hs
-formatted       81c5d151f932  purescript-0.15.15/src/Language/PureScript/CST/Traversals/Type.hs
-formatted       46dd73253c21  purescript-0.15.15/src/Language/PureScript/CST/Types.hs
-formatted       36359ab27c15  purescript-0.15.15/src/Language/PureScript/CST/Utils.hs
-formatted       ebd74707d2df  purescript-0.15.15/src/Language/PureScript/CodeGen.hs
-formatted       9cf1b3de6d73  purescript-0.15.15/src/Language/PureScript/CodeGen/JS.hs
-formatted       f10bc54be3c8  purescript-0.15.15/src/Language/PureScript/CodeGen/JS/Common.hs
-formatted       f81f2f0671e9  purescript-0.15.15/src/Language/PureScript/CodeGen/JS/Printer.hs
-formatted       a69b28f801ea  purescript-0.15.15/src/Language/PureScript/Comments.hs
-formatted       7e1454fed47d  purescript-0.15.15/src/Language/PureScript/Constants/Libs.hs
-formatted       4e84deb1970c  purescript-0.15.15/src/Language/PureScript/Constants/Prim.hs
-formatted       08cf8657b87b  purescript-0.15.15/src/Language/PureScript/Constants/TH.hs
-formatted       0e372eb9e534  purescript-0.15.15/src/Language/PureScript/CoreFn.hs
-formatted       c133879c858f  purescript-0.15.15/src/Language/PureScript/CoreFn/Ann.hs
-formatted       2556afbb3bea  purescript-0.15.15/src/Language/PureScript/CoreFn/Binders.hs
-formatted       08f7f269d88a  purescript-0.15.15/src/Language/PureScript/CoreFn/CSE.hs
-formatted       3a083ba8ee7c  purescript-0.15.15/src/Language/PureScript/CoreFn/Desugar.hs
-formatted       2f90c3840d55  purescript-0.15.15/src/Language/PureScript/CoreFn/Expr.hs
-formatted       17eec7fac664  purescript-0.15.15/src/Language/PureScript/CoreFn/FromJSON.hs
-formatted       83a35a14ab46  purescript-0.15.15/src/Language/PureScript/CoreFn/Laziness.hs
-formatted       083a81cbf5bf  purescript-0.15.15/src/Language/PureScript/CoreFn/Meta.hs
-formatted       2b2d42f479f2  purescript-0.15.15/src/Language/PureScript/CoreFn/Module.hs
-formatted       26edb255fed7  purescript-0.15.15/src/Language/PureScript/CoreFn/Optimizer.hs
-formatted       a01b08124299  purescript-0.15.15/src/Language/PureScript/CoreFn/ToJSON.hs
-formatted       74e775f771b9  purescript-0.15.15/src/Language/PureScript/CoreFn/Traversals.hs
-formatted       63122a31d5b9  purescript-0.15.15/src/Language/PureScript/CoreImp.hs
-formatted       5545c5e53cd1  purescript-0.15.15/src/Language/PureScript/CoreImp/AST.hs
-formatted       07f8248f1a4c  purescript-0.15.15/src/Language/PureScript/CoreImp/Module.hs
-formatted       76a5683510a3  purescript-0.15.15/src/Language/PureScript/CoreImp/Optimizer.hs
-formatted       900e45f47ef2  purescript-0.15.15/src/Language/PureScript/CoreImp/Optimizer/Blocks.hs
-formatted       69950bb1f0de  purescript-0.15.15/src/Language/PureScript/CoreImp/Optimizer/Common.hs
-formatted       1d936757f795  purescript-0.15.15/src/Language/PureScript/CoreImp/Optimizer/Inliner.hs
-formatted       cd70e24b2f0a  purescript-0.15.15/src/Language/PureScript/CoreImp/Optimizer/MagicDo.hs
-formatted       4a46787c4f53  purescript-0.15.15/src/Language/PureScript/CoreImp/Optimizer/TCO.hs
-formatted       c3bcb1230471  purescript-0.15.15/src/Language/PureScript/CoreImp/Optimizer/Unused.hs
-formatted       54228acabdeb  purescript-0.15.15/src/Language/PureScript/Crash.hs
-formatted       d38f4a6a3f33  purescript-0.15.15/src/Language/PureScript/Docs.hs
-formatted       4478d29d0228  purescript-0.15.15/src/Language/PureScript/Docs/AsHtml.hs
-formatted       b2652f6691cc  purescript-0.15.15/src/Language/PureScript/Docs/AsMarkdown.hs
-formatted       a02b1656aca1  purescript-0.15.15/src/Language/PureScript/Docs/Collect.hs
-formatted       4b0e409bc207  purescript-0.15.15/src/Language/PureScript/Docs/Convert.hs
-formatted       d0cd55c3280e  purescript-0.15.15/src/Language/PureScript/Docs/Convert/ReExports.hs
-formatted       9037caf6f0fd  purescript-0.15.15/src/Language/PureScript/Docs/Convert/Single.hs
-formatted       d97124c1ab6a  purescript-0.15.15/src/Language/PureScript/Docs/Css.hs
-formatted       f90d0d26dd2b  purescript-0.15.15/src/Language/PureScript/Docs/Prim.hs
-formatted       edaa27498ded  purescript-0.15.15/src/Language/PureScript/Docs/Render.hs
-formatted       4c98064ffe67  purescript-0.15.15/src/Language/PureScript/Docs/RenderedCode.hs
-formatted       2f9857670eb2  purescript-0.15.15/src/Language/PureScript/Docs/RenderedCode/RenderType.hs
-formatted       c20dd6b6a9df  purescript-0.15.15/src/Language/PureScript/Docs/RenderedCode/Types.hs
-formatted       876b5438b748  purescript-0.15.15/src/Language/PureScript/Docs/Tags.hs
-formatted       5872469a59f7  purescript-0.15.15/src/Language/PureScript/Docs/Types.hs
-formatted       bc381d509404  purescript-0.15.15/src/Language/PureScript/Docs/Utils/MonoidExtras.hs
-formatted       3d05b5f9ca04  purescript-0.15.15/src/Language/PureScript/Environment.hs
-formatted       833858141e1a  purescript-0.15.15/src/Language/PureScript/Errors.hs
-formatted       805b37c2988c  purescript-0.15.15/src/Language/PureScript/Errors/JSON.hs
-formatted       30d65d281400  purescript-0.15.15/src/Language/PureScript/Externs.hs
-formatted       20df6c4b2580  purescript-0.15.15/src/Language/PureScript/Glob.hs
-formatted       a91b6028a053  purescript-0.15.15/src/Language/PureScript/Graph.hs
-formatted       0af324e42f5f  purescript-0.15.15/src/Language/PureScript/Hierarchy.hs
-formatted       281c5e956097  purescript-0.15.15/src/Language/PureScript/Ide.hs
-formatted       4d15e4184a91  purescript-0.15.15/src/Language/PureScript/Ide/CaseSplit.hs
-formatted       881ddb331445  purescript-0.15.15/src/Language/PureScript/Ide/Command.hs
-formatted       9df2facac4b2  purescript-0.15.15/src/Language/PureScript/Ide/Completion.hs
-formatted       beb74c449b74  purescript-0.15.15/src/Language/PureScript/Ide/Error.hs
-formatted       ead51a8cf8b2  purescript-0.15.15/src/Language/PureScript/Ide/Externs.hs
-formatted       846996d62981  purescript-0.15.15/src/Language/PureScript/Ide/Filter.hs
-formatted       3576f2d7de05  purescript-0.15.15/src/Language/PureScript/Ide/Filter/Declaration.hs
-formatted       19c2f9d82289  purescript-0.15.15/src/Language/PureScript/Ide/Filter/Imports.hs
-formatted       d3bf1ba9ac6a  purescript-0.15.15/src/Language/PureScript/Ide/Imports.hs
-formatted       03a7f932c16a  purescript-0.15.15/src/Language/PureScript/Ide/Imports/Actions.hs
-formatted       dae869e09d51  purescript-0.15.15/src/Language/PureScript/Ide/Logging.hs
-formatted       6495efed1636  purescript-0.15.15/src/Language/PureScript/Ide/Matcher.hs
-formatted       fe69a6b2ed2c  purescript-0.15.15/src/Language/PureScript/Ide/Prim.hs
-formatted       ac973f1b2f5a  purescript-0.15.15/src/Language/PureScript/Ide/Rebuild.hs
-formatted       9390668ca723  purescript-0.15.15/src/Language/PureScript/Ide/Reexports.hs
-formatted       40ae0185eda5  purescript-0.15.15/src/Language/PureScript/Ide/SourceFile.hs
-formatted       4badb68aba43  purescript-0.15.15/src/Language/PureScript/Ide/State.hs
-formatted       64c31342d1b6  purescript-0.15.15/src/Language/PureScript/Ide/Types.hs
-formatted       a2547b22a5bd  purescript-0.15.15/src/Language/PureScript/Ide/Usage.hs
-formatted       c5c7f0134f7c  purescript-0.15.15/src/Language/PureScript/Ide/Util.hs
-formatted       a54bd99f9377  purescript-0.15.15/src/Language/PureScript/Interactive.hs
-formatted       ea47006e2013  purescript-0.15.15/src/Language/PureScript/Interactive/Completion.hs
-formatted       17488dfda517  purescript-0.15.15/src/Language/PureScript/Interactive/Directive.hs
-formatted       2ab1349ff2ec  purescript-0.15.15/src/Language/PureScript/Interactive/IO.hs
-formatted       f41f6e5826db  purescript-0.15.15/src/Language/PureScript/Interactive/Message.hs
-formatted       595ebf5e2141  purescript-0.15.15/src/Language/PureScript/Interactive/Module.hs
-formatted       4b81e9100134  purescript-0.15.15/src/Language/PureScript/Interactive/Parser.hs
-formatted       1addaeaf36e0  purescript-0.15.15/src/Language/PureScript/Interactive/Printer.hs
-formatted       6ddd734712d4  purescript-0.15.15/src/Language/PureScript/Interactive/Types.hs
-formatted       1c78dfc40930  purescript-0.15.15/src/Language/PureScript/Label.hs
-formatted       2d0f22fb5805  purescript-0.15.15/src/Language/PureScript/Linter.hs
-formatted       a4813ff2c614  purescript-0.15.15/src/Language/PureScript/Linter/Exhaustive.hs
-formatted       299f2c75ebc4  purescript-0.15.15/src/Language/PureScript/Linter/Imports.hs
-formatted       463c2330ffe1  purescript-0.15.15/src/Language/PureScript/Linter/Wildcards.hs
-formatted       1511cd74f131  purescript-0.15.15/src/Language/PureScript/Make.hs
-formatted       316ef33e238d  purescript-0.15.15/src/Language/PureScript/Make/Actions.hs
-formatted       103c1376e453  purescript-0.15.15/src/Language/PureScript/Make/BuildPlan.hs
-formatted       2ff6ea3e0439  purescript-0.15.15/src/Language/PureScript/Make/Cache.hs
-formatted       5a62260bbc36  purescript-0.15.15/src/Language/PureScript/Make/Monad.hs
-formatted       d32972a1d126  purescript-0.15.15/src/Language/PureScript/ModuleDependencies.hs
-formatted       f525c70bb6b0  purescript-0.15.15/src/Language/PureScript/Names.hs
-formatted       0f9b1ea22f14  purescript-0.15.15/src/Language/PureScript/Options.hs
-formatted       2a2b99ef8171  purescript-0.15.15/src/Language/PureScript/PSString.hs
-formatted       2b26a96d8bcc  purescript-0.15.15/src/Language/PureScript/Pretty.hs
-formatted       c590bb7fdae4  purescript-0.15.15/src/Language/PureScript/Pretty/Common.hs
-formatted       c8ae94e56cbc  purescript-0.15.15/src/Language/PureScript/Pretty/Types.hs
-formatted       e154c175f83f  purescript-0.15.15/src/Language/PureScript/Pretty/Values.hs
-formatted       7afc9764bee9  purescript-0.15.15/src/Language/PureScript/Publish.hs
-formatted       79e26f16154a  purescript-0.15.15/src/Language/PureScript/Publish/BoxesHelpers.hs
-formatted       fd7373c25f32  purescript-0.15.15/src/Language/PureScript/Publish/ErrorsWarnings.hs
-formatted       a7eeb8da714c  purescript-0.15.15/src/Language/PureScript/Publish/Registry/Compat.hs
-formatted       fba7a9e201e6  purescript-0.15.15/src/Language/PureScript/Publish/Utils.hs
-formatted       c4b949fe0d09  purescript-0.15.15/src/Language/PureScript/Renamer.hs
-formatted       9e88be14067d  purescript-0.15.15/src/Language/PureScript/Roles.hs
-formatted       2530d5774295  purescript-0.15.15/src/Language/PureScript/Sugar.hs
-formatted       834b0e83e969  purescript-0.15.15/src/Language/PureScript/Sugar/AdoNotation.hs
-formatted       69ace5e25259  purescript-0.15.15/src/Language/PureScript/Sugar/BindingGroups.hs
-formatted       6aef86a4887f  purescript-0.15.15/src/Language/PureScript/Sugar/CaseDeclarations.hs
-formatted       7efb24168510  purescript-0.15.15/src/Language/PureScript/Sugar/DoNotation.hs
-formatted       b232946c3700  purescript-0.15.15/src/Language/PureScript/Sugar/LetPattern.hs
-formatted       ae52bb36f9ee  purescript-0.15.15/src/Language/PureScript/Sugar/Names.hs
-formatted       b2eab3efd8fe  purescript-0.15.15/src/Language/PureScript/Sugar/Names/Common.hs
-formatted       e317ca567acf  purescript-0.15.15/src/Language/PureScript/Sugar/Names/Env.hs
-formatted       f2e2506cd465  purescript-0.15.15/src/Language/PureScript/Sugar/Names/Exports.hs
-formatted       6955df9dd4c2  purescript-0.15.15/src/Language/PureScript/Sugar/Names/Imports.hs
-formatted       54d278b2a1af  purescript-0.15.15/src/Language/PureScript/Sugar/ObjectWildcards.hs
-formatted       1f8d111ee043  purescript-0.15.15/src/Language/PureScript/Sugar/Operators.hs
-formatted       9db73f9a40a9  purescript-0.15.15/src/Language/PureScript/Sugar/Operators/Binders.hs
-formatted       13722182a0e7  purescript-0.15.15/src/Language/PureScript/Sugar/Operators/Common.hs
-formatted       a5ab8188f154  purescript-0.15.15/src/Language/PureScript/Sugar/Operators/Expr.hs
-formatted       81c3efe7c9f9  purescript-0.15.15/src/Language/PureScript/Sugar/Operators/Types.hs
-formatted       fb9c5b98a9e5  purescript-0.15.15/src/Language/PureScript/Sugar/TypeClasses.hs
-formatted       7d9f317829e0  purescript-0.15.15/src/Language/PureScript/Sugar/TypeClasses/Deriving.hs
-formatted       ecea49da50c6  purescript-0.15.15/src/Language/PureScript/Sugar/TypeDeclarations.hs
-formatted       24e5df024499  purescript-0.15.15/src/Language/PureScript/Traversals.hs
-formatted       ca48c70748fe  purescript-0.15.15/src/Language/PureScript/TypeChecker.hs
-formatted       9b0b916deed1  purescript-0.15.15/src/Language/PureScript/TypeChecker/Deriving.hs
-formatted       6f3315a67e07  purescript-0.15.15/src/Language/PureScript/TypeChecker/Entailment.hs
-formatted       475dea9a3c17  purescript-0.15.15/src/Language/PureScript/TypeChecker/Entailment/Coercible.hs
-formatted       b504bbdc02b8  purescript-0.15.15/src/Language/PureScript/TypeChecker/Entailment/IntCompare.hs
-formatted       3fc4c00e183c  purescript-0.15.15/src/Language/PureScript/TypeChecker/Kinds.hs
-formatted       47e4f5ec9f12  purescript-0.15.15/src/Language/PureScript/TypeChecker/Monad.hs
-formatted       4c2777ae908a  purescript-0.15.15/src/Language/PureScript/TypeChecker/Roles.hs
-formatted       3d9eb14e5345  purescript-0.15.15/src/Language/PureScript/TypeChecker/Skolems.hs
-formatted       c8964442e6c6  purescript-0.15.15/src/Language/PureScript/TypeChecker/Subsumption.hs
-formatted       c5b309590b3d  purescript-0.15.15/src/Language/PureScript/TypeChecker/Synonyms.hs
-formatted       a0db4db50108  purescript-0.15.15/src/Language/PureScript/TypeChecker/TypeSearch.hs
-formatted       69b6eeefd174  purescript-0.15.15/src/Language/PureScript/TypeChecker/Types.hs
-formatted       e88ff7e32a40  purescript-0.15.15/src/Language/PureScript/TypeChecker/Unify.hs
-formatted       2d148264f334  purescript-0.15.15/src/Language/PureScript/TypeClassDictionaries.hs
-formatted       ed3ce891a8d0  purescript-0.15.15/src/Language/PureScript/Types.hs
-formatted       50a45fbad08d  purescript-0.15.15/src/System/IO/UTF8.hs
-formatted       c599f7d8bf58  purescript-0.15.15/tests/Language/PureScript/Ide/CompletionSpec.hs
-formatted       099ba0badfd6  purescript-0.15.15/tests/Language/PureScript/Ide/FilterSpec.hs
-formatted       1033245eef97  purescript-0.15.15/tests/Language/PureScript/Ide/ImportsSpec.hs
-formatted       028f5c10dae7  purescript-0.15.15/tests/Language/PureScript/Ide/MatcherSpec.hs
-formatted       e7c92690fcf3  purescript-0.15.15/tests/Language/PureScript/Ide/RebuildSpec.hs
-formatted       7890facc486a  purescript-0.15.15/tests/Language/PureScript/Ide/ReexportsSpec.hs
-formatted       59d2a1d292e1  purescript-0.15.15/tests/Language/PureScript/Ide/SourceFileSpec.hs
-formatted       8f0a665bd9ba  purescript-0.15.15/tests/Language/PureScript/Ide/StateSpec.hs
-formatted       9864a15e1927  purescript-0.15.15/tests/Language/PureScript/Ide/Test.hs
-formatted       67fe4d589cdb  purescript-0.15.15/tests/Language/PureScript/Ide/UsageSpec.hs
-formatted       0406ed28e812  purescript-0.15.15/tests/Main.hs
-formatted       ed333c67c3b1  purescript-0.15.15/tests/PscIdeSpec.hs
-formatted       a2b0f5e823b9  purescript-0.15.15/tests/TestAst.hs
-formatted       5e98364df884  purescript-0.15.15/tests/TestCompiler.hs
-formatted       c454ba7cc3dd  purescript-0.15.15/tests/TestCoreFn.hs
-formatted       5b562e2e0010  purescript-0.15.15/tests/TestCst.hs
-formatted       d9a9eb37749c  purescript-0.15.15/tests/TestDocs.hs
-formatted       e29c16f400a0  purescript-0.15.15/tests/TestGraph.hs
-formatted       7314022489fa  purescript-0.15.15/tests/TestHierarchy.hs
-formatted       0874e238b9c0  purescript-0.15.15/tests/TestIde.hs
-formatted       4e905fa525a9  purescript-0.15.15/tests/TestMake.hs
-formatted       e782a733be50  purescript-0.15.15/tests/TestPrimDocs.hs
-formatted       d2998d562480  purescript-0.15.15/tests/TestPscPublish.hs
-formatted       e47fc0f000ee  purescript-0.15.15/tests/TestPsci.hs
-formatted       557206f834dc  purescript-0.15.15/tests/TestPsci/CommandTest.hs
-formatted       a139fd3aa0c9  purescript-0.15.15/tests/TestPsci/CompletionTest.hs
-formatted       5fa6ca09e4c4  purescript-0.15.15/tests/TestPsci/EvalTest.hs
-formatted       52ef143912e6  purescript-0.15.15/tests/TestPsci/TestEnv.hs
-formatted       3aaf84c12b48  purescript-0.15.15/tests/TestSourceMaps.hs
-formatted       32a8b25e8a6d  purescript-0.15.15/tests/TestUtils.hs
-formatted       81d9fcab1309  raaz-0.3.11/api/aead/Auth/Implementation.hsig
-formatted       3c30facf2cf7  raaz-0.3.11/api/aead/Cipher/Implementation.hsig
-formatted       faee44cdbcec  raaz-0.3.11/api/aead/Interface.hs
-formatted       a346882029b3  raaz-0.3.11/api/auth/Implementation.hsig
-formatted       64f75c0371bc  raaz-0.3.11/api/auth/Interface.hs
-formatted       29b7f7e93ae5  raaz-0.3.11/api/digest/Implementation.hsig
-formatted       558beb703aff  raaz-0.3.11/api/digest/Interface.hs
-formatted       33dbca109528  raaz-0.3.11/api/encrypt/Implementation.hsig
-formatted       abdae110e56a  raaz-0.3.11/api/encrypt/Interface.hs
-formatted       10d5d9d622cd  raaz-0.3.11/api/random/Entropy.hsig
-formatted       83b376fec166  raaz-0.3.11/api/random/Implementation.hsig
-formatted       ffc859b186af  raaz-0.3.11/api/random/Internal.hs
-formatted       b649659b6718  raaz-0.3.11/api/random/PRGenerator.hs
-formatted       316f45947114  raaz-0.3.11/benchmarks/Main.hs
-formatted       876b405577a3  raaz-0.3.11/benchmarks/internal/Benchmark/CSPRG.hs
-formatted       20cee45b7828  raaz-0.3.11/benchmarks/internal/Benchmark/Primitive.hs
-formatted       1e4c846b4064  raaz-0.3.11/benchmarks/internal/Benchmark/Types.hs
-formatted       9ec4c716a238  raaz-0.3.11/core/Raaz/Core.hs
-formatted       52634a64c590  raaz-0.3.11/core/Raaz/Core/ByteSource.hs
-formatted       a05146df1142  raaz-0.3.11/core/Raaz/Core/Constants.hs
-formatted       97564cea364d  raaz-0.3.11/core/Raaz/Core/CpuSupports.hs
-formatted       b89a1297556b  raaz-0.3.11/core/Raaz/Core/Encode.hs
-formatted       7d4d89c52f5c  raaz-0.3.11/core/Raaz/Core/Encode/Base16.hs
-formatted       1897172e3c60  raaz-0.3.11/core/Raaz/Core/Encode/Base64.hs
-formatted       f8721f54231f  raaz-0.3.11/core/Raaz/Core/Encode/Internal.hs
-formatted       8061d9cd4bc4  raaz-0.3.11/core/Raaz/Core/Memory.hs
-formatted       be5bdc9fc1ae  raaz-0.3.11/core/Raaz/Core/MonoidalAction.hs
-formatted       a44dbacd364d  raaz-0.3.11/core/Raaz/Core/Parse.hs
-formatted       514d08e6f301  raaz-0.3.11/core/Raaz/Core/Parse/Unsafe.hs
-formatted       3d4dcaf4509d  raaz-0.3.11/core/Raaz/Core/Prelude.hs
-formatted       642d73a32500  raaz-0.3.11/core/Raaz/Core/Primitive.hs
-formatted       f026c14b5cef  raaz-0.3.11/core/Raaz/Core/Transfer.hs
-formatted       437bb6bc524e  raaz-0.3.11/core/Raaz/Core/Transfer/Unsafe.hs
-formatted       03cf11da4658  raaz-0.3.11/core/Raaz/Core/Types.hs
-formatted       14f5c5822c66  raaz-0.3.11/core/Raaz/Core/Types/Copying.hs
-formatted       7a6d55f211a6  raaz-0.3.11/core/Raaz/Core/Types/Endian.hs
-formatted       a48c22bbc9bf  raaz-0.3.11/core/Raaz/Core/Types/Equality.hs
-formatted       72aa730843b9  raaz-0.3.11/core/Raaz/Core/Types/Internal.hs
-formatted       c7e28dcd7d70  raaz-0.3.11/core/Raaz/Core/Types/Pointer.hs
-formatted       f9be8525b0e9  raaz-0.3.11/core/Raaz/Core/Types/Tuple.hs
-formatted       d98d94a62e17  raaz-0.3.11/core/Raaz/Core/Util/ByteString.hs
-formatted       aadc37085673  raaz-0.3.11/core/Raaz/Primitive/AEAD/Internal.hs
-formatted       bdf59fdf9536  raaz-0.3.11/core/Raaz/Primitive/Blake2/Internal.hs
-formatted       26f42c9a3385  raaz-0.3.11/core/Raaz/Primitive/ChaCha20/Internal.hs
-formatted       933091143258  raaz-0.3.11/core/Raaz/Primitive/HashMemory.hs
-formatted       2e41cccfd947  raaz-0.3.11/core/Raaz/Primitive/Keyed/Internal.hs
-formatted       11f319d28f77  raaz-0.3.11/core/Raaz/Primitive/Poly1305/Internal.hs
-formatted       662036acbd84  raaz-0.3.11/core/Raaz/Primitive/Sha2/Internal.hs
-formatted       d321e6f120cc  raaz-0.3.11/implementation/Blake2b/CHandWritten.hs
-formatted       c7f7e16ff427  raaz-0.3.11/implementation/Blake2b/CPortable.hs
-formatted       5f5fb27d70c0  raaz-0.3.11/implementation/Blake2s/CHandWritten.hs
-formatted       d4911e2aba2f  raaz-0.3.11/implementation/ChaCha20/CHandWritten.hs
-formatted       fd7ed676bf40  raaz-0.3.11/implementation/ChaCha20/CPortable.hs
-formatted       2f7657c239d7  raaz-0.3.11/implementation/ChaCha20/Random/CPortable.hs
-formatted       e3deac8e5358  raaz-0.3.11/implementation/Poly1305/CPortable.hs
-formatted       340ec557db99  raaz-0.3.11/implementation/Poly1305/Memory.hs
-formatted       720f42375ee4  raaz-0.3.11/implementation/Sha256/CHandWritten.hs
-formatted       c064cc7a8421  raaz-0.3.11/implementation/Sha256/CPortable.hs
-formatted       a59c773526b4  raaz-0.3.11/implementation/Sha512/CHandWritten.hs
-formatted       53529d47a59f  raaz-0.3.11/implementation/Sha512/CPortable.hs
-formatted       e5d101450ea0  raaz-0.3.11/implementation/entropy/arc4random/Entropy.hs
-formatted       fe1af598e9b2  raaz-0.3.11/implementation/entropy/urandom/Entropy.hs
-formatted       0a7a863b87f6  raaz-0.3.11/indef/Implementation.hsig
-formatted       5b5f82999259  raaz-0.3.11/indef/Utils.hs
-formatted       524895081243  raaz-0.3.11/indef/buffer/Buffer.hs
-formatted       cd4684e81d95  raaz-0.3.11/indef/buffer/Context.hs
-formatted       d34b17eeb2fb  raaz-0.3.11/indef/buffer/Implementation.hsig
-formatted       5de45ebd7407  raaz-0.3.11/indef/chacha20/Implementation.hsig
-formatted       496eb8d3a6e9  raaz-0.3.11/indef/chacha20/XChaCha20/Implementation.hs
-formatted       91e1d49fa2ec  raaz-0.3.11/indef/keyed/hash/Implementation.hsig
-formatted       484c54b73764  raaz-0.3.11/indef/keyed/hash/Mac/Implementation.hs
-formatted       fd3b4278ccc5  raaz-0.3.11/libverse/Raaz/Verse/Blake2b/C/Portable.hs
-formatted       44b600e76f74  raaz-0.3.11/libverse/Raaz/Verse/ChaCha20/C/Portable.hs
-formatted       221da1a1ba37  raaz-0.3.11/libverse/Raaz/Verse/Poly1305/C/Portable.hs
-formatted       7ccb752d8b1d  raaz-0.3.11/libverse/Raaz/Verse/Sha256/C/Portable.hs
-formatted       695112ac1280  raaz-0.3.11/libverse/Raaz/Verse/Sha512/C/Portable.hs
-formatted       2fbd14b119a4  raaz-0.3.11/monocypher/tests/Monocypher.hs
-formatted       1d0ec4de7195  raaz-0.3.11/monocypher/tests/Monocypher/Blake2bSpec.hs
-formatted       106d8eed6480  raaz-0.3.11/monocypher/tests/Monocypher/ChaCha20Spec.hs
-formatted       e81070c8d0f4  raaz-0.3.11/monocypher/tests/Monocypher/Sha512Spec.hs
-formatted       309f4011c1b9  raaz-0.3.11/raaz/Raaz.hs
-formatted       e9a09ee4fdff  raaz-0.3.11/raaz/Raaz/Auth.hs
-formatted       5467fc4082bb  raaz-0.3.11/raaz/Raaz/AuthEncrypt.hs
-formatted       6c7dee472711  raaz-0.3.11/raaz/Raaz/AuthEncrypt/Unsafe.hs
-formatted       7a5701480b18  raaz-0.3.11/raaz/Raaz/Digest.hs
-formatted       b154ef8c060a  raaz-0.3.11/raaz/Raaz/Random.hs
-formatted       14ec81125123  raaz-0.3.11/raaz/Raaz/V1/Auth.hs
-formatted       ac72448e6d8d  raaz-0.3.11/raaz/Raaz/V1/AuthEncrypt.hs
-formatted       9c227de3e844  raaz-0.3.11/raaz/Raaz/V1/AuthEncrypt/Unsafe.hs
-formatted       b221e97b02a1  raaz-0.3.11/raaz/Raaz/V1/Digest.hs
-formatted       dfc72506b4ee  raaz-0.3.11/raaz/bin/Command/Checksum.hs
-formatted       6af965bca577  raaz-0.3.11/raaz/bin/Command/Info.hs
-formatted       8b84f490d89a  raaz-0.3.11/raaz/bin/Command/Rand.hs
-formatted       5267a6b74531  raaz-0.3.11/raaz/bin/Main.hs
-formatted       bb0aca2148f4  raaz-0.3.11/raaz/bin/Usage.hs
-formatted       8955f3f595d6  raaz-0.3.11/tests/Raaz/Cipher/ChaCha20Spec.hs
-formatted       66c20297d941  raaz-0.3.11/tests/Raaz/Cipher/XChaCha20Spec.hs
-formatted       f70ba0951ea5  raaz-0.3.11/tests/Raaz/Core/ByteSourceSpec.hs
-formatted       f50f5814ce13  raaz-0.3.11/tests/Raaz/Core/EncodeSpec.hs
-formatted       a5cc6d99aed2  raaz-0.3.11/tests/Raaz/Core/MemorySpec.hs
-formatted       11c7d4db7839  raaz-0.3.11/tests/Raaz/Core/Types/WordSpec.hs
-formatted       b186aa2ce683  raaz-0.3.11/tests/Raaz/Core/Util/ByteStringSpec.hs
-formatted       9d02caada1d9  raaz-0.3.11/tests/Raaz/Digest/Blake2Spec.hs
-formatted       4f62e035aa97  raaz-0.3.11/tests/Raaz/Digest/Sha256Spec.hs
-formatted       ab3342a1c1c3  raaz-0.3.11/tests/Raaz/Digest/Sha512Spec.hs
-formatted       57a10ec0221b  raaz-0.3.11/tests/Raaz/Mac/Poly1305Spec.hs
-formatted       6cdc5c00b3a8  raaz-0.3.11/tests/Raaz/RandomSpec.hs
-formatted       2fbd14b119a4  raaz-0.3.11/tests/Spec.hs
-formatted       b1a4cba13110  raaz-0.3.11/tests/auth/Implementation.hsig
-formatted       ae7499e9f1a2  raaz-0.3.11/tests/auth/Tests/Auth.hs
-formatted       146a3742af4d  raaz-0.3.11/tests/auth/implementation/Auth/Mac/Blake2b.hs
-formatted       1400f8497a4b  raaz-0.3.11/tests/auth/implementation/Auth/Mac/Blake2s.hs
-formatted       f25bf91a517e  raaz-0.3.11/tests/auth/implementation/Auth/Poly1305.hs
-formatted       7123559f7c81  raaz-0.3.11/tests/cipher/Tests/Cipher.hs
-formatted       0c05cee23c2f  raaz-0.3.11/tests/comparative/AuthEncrypt.hs
-formatted       97ef04d16217  raaz-0.3.11/tests/comparative/AuthEncrypt/ChaCha20Poly1305Spec.hs
-formatted       741dc859a7b4  raaz-0.3.11/tests/comparative/Compare.hs
-formatted       5a902c132987  raaz-0.3.11/tests/comparative/Digest.hs
-formatted       9b0b9e470964  raaz-0.3.11/tests/comparative/Digest/Blake2bSpec.hs
-formatted       5e40537778de  raaz-0.3.11/tests/comparative/Digest/Sha256Spec.hs
-formatted       1d23a17f155b  raaz-0.3.11/tests/comparative/Digest/Sha512Spec.hs
-formatted       a5fa5869f401  raaz-0.3.11/tests/comparative/Encrypt.hs
-formatted       43a4a9f511ea  raaz-0.3.11/tests/comparative/Encrypt/ChaCha20Spec.hs
-formatted       2fbd14b119a4  raaz-0.3.11/tests/comparative/Main.hs
-formatted       9a4da070ca55  raaz-0.3.11/tests/core/Tests/Core.hs
-formatted       9b7c1c31e1e0  raaz-0.3.11/tests/core/Tests/Core/Imports.hs
-formatted       c746b6855fd8  raaz-0.3.11/tests/core/Tests/Core/Instances.hs
-formatted       62f66214a824  raaz-0.3.11/tests/core/Tests/Core/Utils.hs
-formatted       bcc780e22f03  raaz-0.3.11/tests/message-digest/Implementation.hsig
-formatted       2bb252395b85  raaz-0.3.11/tests/message-digest/Tests/Digest.hs
-formatted       4a8ac51676df  random-1.3.1/Setup.hs
-formatted       f81df0c89774  random-1.3.1/bench-legacy/BinSearch.hs
-formatted       ec53458f4d57  random-1.3.1/bench-legacy/SimpleRNGBench.hs
-formatted       0584292cc54f  random-1.3.1/bench/Main.hs
-formatted       fc5450bd346c  random-1.3.1/src/System/Random.hs
-formatted       5851806268ea  random-1.3.1/src/System/Random/Array.hs
-formatted       0648347f5df7  random-1.3.1/src/System/Random/GFinite.hs
-formatted       b01bc1443faf  random-1.3.1/src/System/Random/Internal.hs
-formatted       43cf9948fc9c  random-1.3.1/src/System/Random/Seed.hs
-formatted       2b2590d1c67b  random-1.3.1/src/System/Random/Stateful.hs
-formatted       0d72e1db2b6d  random-1.3.1/test-inspection/Spec.hs
-formatted       c6f769b56ab6  random-1.3.1/test-inspection/Spec/Inspection.hs
-formatted       ed91342d3f30  random-1.3.1/test-legacy/Legacy.hs
-formatted       0160098f7cc5  random-1.3.1/test-legacy/Random1283.hs
-formatted       ad6c39289552  random-1.3.1/test-legacy/RangeTest.hs
-formatted       4c1669996d8d  random-1.3.1/test-legacy/T7936.hs
-formatted       398febcc8a6f  random-1.3.1/test-legacy/TestRandomIOs.hs
-formatted       3ef25c06bdfc  random-1.3.1/test-legacy/TestRandomRs.hs
-formatted       170817d6d661  random-1.3.1/test/Spec.hs
-formatted       a65d68fad80b  random-1.3.1/test/Spec/Range.hs
-formatted       e0e7306312ea  random-1.3.1/test/Spec/Run.hs
-formatted       b3fd15d83ccf  random-1.3.1/test/Spec/Seed.hs
-formatted       53b268e9c80a  random-1.3.1/test/Spec/Stateful.hs
-formatted       4ac47a361dee  recursion-schemes-5.2.3/examples/Expr.hs
-formatted       37b2a0b086b3  recursion-schemes-5.2.3/src/Data/Functor/Base.hs
-formatted       a84fbb2dc105  recursion-schemes-5.2.3/src/Data/Functor/Foldable.hs
-formatted       60333913c12d  recursion-schemes-5.2.3/src/Data/Functor/Foldable/TH.hs
-formatted       1581398eb1b5  resourcet-1.3.0/Control/Monad/Trans/Resource.hs
-formatted       ae2967cdb48f  resourcet-1.3.0/Control/Monad/Trans/Resource/Internal.hs
-formatted       80dc65ef0c4a  resourcet-1.3.0/Data/Acquire.hs
-formatted       4a9defd159ee  resourcet-1.3.0/Data/Acquire/Internal.hs
-formatted       27565132aa25  resourcet-1.3.0/UnliftIO/Resource.hs
-formatted       1434a2ae8bde  resourcet-1.3.0/test/main.hs
-formatted       e865ae48f11b  retry-0.9.3.1/Setup.hs
-formatted       89288db2c195  retry-0.9.3.1/src/Control/Retry.hs
-formatted       757a08fbfe9f  retry-0.9.3.1/src/UnliftIO/Retry.hs
-formatted       94b4a78445b3  retry-0.9.3.1/test/Main.hs
-formatted       08af947c789a  retry-0.9.3.1/test/Tests/Control/Retry.hs
-formatted       0b770fc83ef2  retry-0.9.3.1/test/Tests/UnliftIO/Retry.hs
-formatted       e865ae48f11b  safe-exceptions-0.1.7.4/Setup.hs
-formatted       71750c378530  safe-exceptions-0.1.7.4/src/Control/Exception/Safe.hs
-formatted       d65c0e991a57  safe-exceptions-0.1.7.4/test/Control/Exception/SafeSpec.hs
-formatted       2fbd14b119a4  safe-exceptions-0.1.7.4/test/Spec.hs
-formatted       e865ae48f11b  scientific-0.3.8.1/Setup.hs
-formatted       6a2de24bbe1d  scientific-0.3.8.1/bench/bench.hs
-formatted       b51f688e4f66  scientific-0.3.8.1/src/Data/ByteString/Builder/Scientific.hs
-formatted       862aefb94cc9  scientific-0.3.8.1/src/Data/Scientific.hs
-formatted       5837fdbf8485  scientific-0.3.8.1/src/Data/Text/Lazy/Builder/Scientific.hs
-formatted       e18e1762aa10  scientific-0.3.8.1/src/GHC/Integer/Compat.hs
-formatted       70da6923c6d5  scientific-0.3.8.1/src/Utils.hs
-formatted       08267660b11e  scientific-0.3.8.1/test/test.hs
-formatted       e865ae48f11b  scotty-0.30/Setup.hs
-formatted       c9dfe68e2b3d  scotty-0.30/Web/Scotty.hs
-formatted       cc7d56854e51  scotty-0.30/Web/Scotty/Action.hs
-formatted       7865e58f308d  scotty-0.30/Web/Scotty/Body.hs
-formatted       210215898ba8  scotty-0.30/Web/Scotty/Cookie.hs
-formatted       7fbb2c4c4db1  scotty-0.30/Web/Scotty/Internal/Types.hs
-formatted       ccdc72ea4dc8  scotty-0.30/Web/Scotty/Route.hs
-formatted       220c453f0fd9  scotty-0.30/Web/Scotty/Session.hs
-formatted       8ae99d50285d  scotty-0.30/Web/Scotty/Trans.hs
-formatted       e2036cbfa7c2  scotty-0.30/Web/Scotty/Trans/Lazy.hs
-formatted       fe607154f3af  scotty-0.30/Web/Scotty/Trans/Strict.hs
-formatted       6bad8484016a  scotty-0.30/Web/Scotty/Util.hs
-formatted       19a63b08e8cc  scotty-0.30/bench/Main.hs
-formatted       ff18ebd00d97  scotty-0.30/doctest/Main.hs
-formatted       f0b727a58f1f  scotty-0.30/examples/basic.hs
-formatted       128fcbdca77d  scotty-0.30/examples/bodyecho.hs
-formatted       0bfdeec9e9d5  scotty-0.30/examples/cookies.hs
-formatted       e68dfe58dd88  scotty-0.30/examples/exceptions.hs
-formatted       3417d0bd8a35  scotty-0.30/examples/globalstate.hs
-formatted       5d812024dc2a  scotty-0.30/examples/gzip.hs
-formatted       14f88a75023e  scotty-0.30/examples/json_mode.hs
-formatted       d96b13ea35d6  scotty-0.30/examples/middleware.hs
-formatted       dd5796ac98ac  scotty-0.30/examples/nested.hs
-formatted       f424d2128b4a  scotty-0.30/examples/options.hs
-formatted       8b1e46c9aeb7  scotty-0.30/examples/reader.hs
-formatted       6750528250e9  scotty-0.30/examples/session.hs
-formatted       d40e0a8e64ea  scotty-0.30/examples/upload.hs
-formatted       94f10fda97e5  scotty-0.30/examples/urlshortener.hs
-formatted       2fbd14b119a4  scotty-0.30/test/Spec.hs
-formatted       dd9baecda733  scotty-0.30/test/Test/Hspec/Wai/Extra.hs
-formatted       88776873ba4e  scotty-0.30/test/Web/ScottySpec.hs
-formatted       091ccbfea22a  semigroupoids-6.0.2/src/Data/Bifunctor/Apply.hs
-formatted       a420abc361b5  semigroupoids-6.0.2/src/Data/Functor/Alt.hs
-formatted       b091ae1639ae  semigroupoids-6.0.2/src/Data/Functor/Apply.hs
-formatted       4322a16f4eaf  semigroupoids-6.0.2/src/Data/Functor/Bind.hs
-partly-checked  df73e43115ed  semigroupoids-6.0.2/src/Data/Functor/Bind/Class.hs
-formatted       82dabf65525e  semigroupoids-6.0.2/src/Data/Functor/Bind/Trans.hs
-formatted       1a0625f8bf10  semigroupoids-6.0.2/src/Data/Functor/Contravariant/Conclude.hs
-formatted       07df2e2c41cf  semigroupoids-6.0.2/src/Data/Functor/Contravariant/Decide.hs
-formatted       db97dfd12637  semigroupoids-6.0.2/src/Data/Functor/Contravariant/Divise.hs
-formatted       8d9ff323a8d5  semigroupoids-6.0.2/src/Data/Functor/Extend.hs
-formatted       eeeb9b11aa89  semigroupoids-6.0.2/src/Data/Functor/Plus.hs
-formatted       2c9e2b95e1c6  semigroupoids-6.0.2/src/Data/Groupoid.hs
-formatted       ada45a392805  semigroupoids-6.0.2/src/Data/Isomorphism.hs
-formatted       045d35e85b6e  semigroupoids-6.0.2/src/Data/Semigroup/Bifoldable.hs
-formatted       3b69bf2b2c98  semigroupoids-6.0.2/src/Data/Semigroup/Bitraversable.hs
-formatted       bc14896823af  semigroupoids-6.0.2/src/Data/Semigroup/Foldable.hs
-formatted       15d51636f77f  semigroupoids-6.0.2/src/Data/Semigroup/Foldable/Class.hs
-formatted       e46135ea634e  semigroupoids-6.0.2/src/Data/Semigroup/Traversable.hs
-formatted       5db895bd9aed  semigroupoids-6.0.2/src/Data/Semigroup/Traversable/Class.hs
-formatted       f396855efdc4  semigroupoids-6.0.2/src/Data/Semigroupoid.hs
-formatted       b3380ca605a0  semigroupoids-6.0.2/src/Data/Semigroupoid/Categorical.hs
-formatted       dd586be40bf0  semigroupoids-6.0.2/src/Data/Semigroupoid/Dual.hs
-formatted       f1c21cb8613d  semigroupoids-6.0.2/src/Data/Semigroupoid/Ob.hs
-formatted       6c569b65cb14  semigroupoids-6.0.2/src/Data/Semigroupoid/Static.hs
-formatted       9945f77c9069  semigroupoids-6.0.2/src/Data/Traversable/Instances.hs
-formatted       4f91affffbe0  semigroupoids-6.0.2/src/Semigroupoids/Do.hs
-formatted       36cd692fcb55  semigroupoids-6.0.2/src/Semigroupoids/Internal.hs
-formatted       e865ae48f11b  servant-0.20.3.0/Setup.hs
-formatted       6c60dfa14bab  servant-0.20.3.0/src/Servant/API.hs
-formatted       5a93b6c6920b  servant-0.20.3.0/src/Servant/API/Alternative.hs
-formatted       75083035f5f7  servant-0.20.3.0/src/Servant/API/BasicAuth.hs
-formatted       67a0fa186634  servant-0.20.3.0/src/Servant/API/Capture.hs
-formatted       30586810caf1  servant-0.20.3.0/src/Servant/API/ContentTypes.hs
-formatted       b131dd1a95be  servant-0.20.3.0/src/Servant/API/Description.hs
-formatted       3529480c44cb  servant-0.20.3.0/src/Servant/API/Empty.hs
-formatted       f5f890f1b91b  servant-0.20.3.0/src/Servant/API/Experimental/Auth.hs
-formatted       b27583864c6e  servant-0.20.3.0/src/Servant/API/Fragment.hs
-formatted       514122c80af6  servant-0.20.3.0/src/Servant/API/Generic.hs
-formatted       86a01166d6f0  servant-0.20.3.0/src/Servant/API/Header.hs
-formatted       a4120f74a189  servant-0.20.3.0/src/Servant/API/Host.hs
-formatted       28ff37015f45  servant-0.20.3.0/src/Servant/API/HttpVersion.hs
-formatted       ffc36b46d798  servant-0.20.3.0/src/Servant/API/IsSecure.hs
-formatted       9d0d41393a3e  servant-0.20.3.0/src/Servant/API/Modifiers.hs
-formatted       684bc7886ecb  servant-0.20.3.0/src/Servant/API/MultiVerb.hs
-formatted       56acb7471063  servant-0.20.3.0/src/Servant/API/NamedRoutes.hs
-formatted       9ff90737a6ed  servant-0.20.3.0/src/Servant/API/QueryParam.hs
-formatted       c9e33c06dd4d  servant-0.20.3.0/src/Servant/API/QueryString.hs
-formatted       a2969f7ec694  servant-0.20.3.0/src/Servant/API/Range.hs
-formatted       b4ca6686cebd  servant-0.20.3.0/src/Servant/API/Raw.hs
-formatted       bf0e0f5c31f1  servant-0.20.3.0/src/Servant/API/RemoteHost.hs
-formatted       546ee6390b43  servant-0.20.3.0/src/Servant/API/ReqBody.hs
-formatted       d928b8fb5d2c  servant-0.20.3.0/src/Servant/API/ResponseHeaders.hs
-formatted       c67668bb6c05  servant-0.20.3.0/src/Servant/API/ServerSentEvents.hs
-formatted       d944ce6b72bb  servant-0.20.3.0/src/Servant/API/Status.hs
-formatted       d3008fc94481  servant-0.20.3.0/src/Servant/API/Stream.hs
-formatted       2075b4d49a8e  servant-0.20.3.0/src/Servant/API/Sub.hs
-formatted       ff144efc7edd  servant-0.20.3.0/src/Servant/API/TypeErrors.hs
-formatted       201085562ace  servant-0.20.3.0/src/Servant/API/TypeLevel.hs
-formatted       c0878f59a227  servant-0.20.3.0/src/Servant/API/TypeLevel/List.hs
-formatted       9be4a4b0a678  servant-0.20.3.0/src/Servant/API/UVerb.hs
-formatted       46da2eb7f65a  servant-0.20.3.0/src/Servant/API/UVerb/Union.hs
-formatted       abf6188d387f  servant-0.20.3.0/src/Servant/API/Vault.hs
-formatted       99b275626c24  servant-0.20.3.0/src/Servant/API/Verbs.hs
-formatted       deda0b809380  servant-0.20.3.0/src/Servant/API/WithNamedContext.hs
-formatted       c8d1802909fc  servant-0.20.3.0/src/Servant/API/WithResource.hs
-formatted       d97da3f0bb6d  servant-0.20.3.0/src/Servant/Links.hs
-formatted       ff8c792172dc  servant-0.20.3.0/src/Servant/Test/ComprehensiveAPI.hs
-formatted       72397d3bb59f  servant-0.20.3.0/src/Servant/Types/Internal/Response.hs
-formatted       8f2c3fef963c  servant-0.20.3.0/src/Servant/Types/SourceT.hs
-formatted       484ac8b49db2  servant-0.20.3.0/test/Servant/API/ContentTypesSpec.hs
-formatted       092efa81712a  servant-0.20.3.0/test/Servant/API/ResponseHeadersSpec.hs
-formatted       99970f8f87ed  servant-0.20.3.0/test/Servant/API/StreamSpec.hs
-formatted       8039684754dd  servant-0.20.3.0/test/Servant/LinksSpec.hs
-formatted       2fbd14b119a4  servant-0.20.3.0/test/Spec.hs
-formatted       e865ae48f11b  servant-server-0.20.3.0/Setup.hs
-formatted       39ab7e0143c5  servant-server-0.20.3.0/example/greet.hs
-formatted       08e74f5df484  servant-server-0.20.3.0/src/Servant.hs
-formatted       4e5e14480522  servant-server-0.20.3.0/src/Servant/Server.hs
-formatted       a6d416eaa214  servant-server-0.20.3.0/src/Servant/Server/Experimental/Auth.hs
-formatted       d02fe8efeb6c  servant-server-0.20.3.0/src/Servant/Server/Generic.hs
-formatted       76e1bb03861e  servant-server-0.20.3.0/src/Servant/Server/Internal.hs
-formatted       3841500d6a67  servant-server-0.20.3.0/src/Servant/Server/Internal/BasicAuth.hs
-formatted       f03d2f6ed8bf  servant-server-0.20.3.0/src/Servant/Server/Internal/Context.hs
-formatted       270fb8218e92  servant-server-0.20.3.0/src/Servant/Server/Internal/Delayed.hs
-formatted       53d1b4ea8afa  servant-server-0.20.3.0/src/Servant/Server/Internal/DelayedIO.hs
-formatted       5a85be243261  servant-server-0.20.3.0/src/Servant/Server/Internal/ErrorFormatter.hs
-formatted       2d8b6e227464  servant-server-0.20.3.0/src/Servant/Server/Internal/Handler.hs
-formatted       e759d749c842  servant-server-0.20.3.0/src/Servant/Server/Internal/ResponseRender.hs
-formatted       c917f160a6ee  servant-server-0.20.3.0/src/Servant/Server/Internal/RouteResult.hs
-formatted       80a04147d1d7  servant-server-0.20.3.0/src/Servant/Server/Internal/Router.hs
-formatted       c6b1b1f5c4f1  servant-server-0.20.3.0/src/Servant/Server/Internal/RoutingApplication.hs
-formatted       68d2c1ad8a45  servant-server-0.20.3.0/src/Servant/Server/Internal/ServerError.hs
-formatted       a588e8a6002c  servant-server-0.20.3.0/src/Servant/Server/StaticFiles.hs
-formatted       7a929eb5f6c6  servant-server-0.20.3.0/src/Servant/Server/UVerb.hs
-formatted       d43150f68994  servant-server-0.20.3.0/src/Servant/Utils/StaticFiles.hs
-formatted       4d91407009da  servant-server-0.20.3.0/test/Servant/ArbitraryMonadServerSpec.hs
-formatted       d6971ea1d324  servant-server-0.20.3.0/test/Servant/HoistSpec.hs
-formatted       91b965c983ef  servant-server-0.20.3.0/test/Servant/Server/ErrorSpec.hs
-formatted       6e725d0bb23c  servant-server-0.20.3.0/test/Servant/Server/Internal/ContextSpec.hs
-formatted       06840e723cbc  servant-server-0.20.3.0/test/Servant/Server/Internal/RoutingApplicationSpec.hs
-formatted       ed1fb686c7f4  servant-server-0.20.3.0/test/Servant/Server/RouterSpec.hs
-formatted       217323758702  servant-server-0.20.3.0/test/Servant/Server/StaticFilesSpec.hs
-formatted       a48e6f9f028f  servant-server-0.20.3.0/test/Servant/Server/StreamingSpec.hs
-formatted       ffec1b355a67  servant-server-0.20.3.0/test/Servant/Server/UsingContextSpec.hs
-formatted       c68eea536d8f  servant-server-0.20.3.0/test/Servant/Server/UsingContextSpec/TestCombinators.hs
-formatted       7053087a930f  servant-server-0.20.3.0/test/Servant/ServerSpec.hs
-formatted       2fbd14b119a4  servant-server-0.20.3.0/test/Spec.hs
-formatted       e865ae48f11b  shake-0.19.9/Setup.hs
-formatted       1115d98036fa  shake-0.19.9/docs/manual/Shakefile.hs
-formatted       9d11f22fc368  shake-0.19.9/src/Development/Ninja/All.hs
-formatted       3104f3ca6fe0  shake-0.19.9/src/Development/Ninja/Env.hs
-formatted       df84026a633e  shake-0.19.9/src/Development/Ninja/Lexer.hs
-formatted       11197fb7bfd8  shake-0.19.9/src/Development/Ninja/Parse.hs
-formatted       c0a33fcdb116  shake-0.19.9/src/Development/Ninja/Type.hs
-formatted       1e091717f0e4  shake-0.19.9/src/Development/Shake.hs
-formatted       6abc5aa00667  shake-0.19.9/src/Development/Shake/Classes.hs
-formatted       1b4810581680  shake-0.19.9/src/Development/Shake/Command.hs
-formatted       5959e8996e24  shake-0.19.9/src/Development/Shake/Config.hs
-formatted       2ffbbbe7ea76  shake-0.19.9/src/Development/Shake/Database.hs
-formatted       6a9f5286dbbd  shake-0.19.9/src/Development/Shake/FilePath.hs
-formatted       1f7279048342  shake-0.19.9/src/Development/Shake/Forward.hs
-formatted       0f161b15d908  shake-0.19.9/src/Development/Shake/Internal/Args.hs
-formatted       176c017dbbd9  shake-0.19.9/src/Development/Shake/Internal/CmdOption.hs
-formatted       89cf4b51fe66  shake-0.19.9/src/Development/Shake/Internal/CompactUI.hs
-formatted       741e862bf58e  shake-0.19.9/src/Development/Shake/Internal/Core/Action.hs
-formatted       a94401153b61  shake-0.19.9/src/Development/Shake/Internal/Core/Build.hs
-formatted       c03d9bf624a4  shake-0.19.9/src/Development/Shake/Internal/Core/Database.hs
-formatted       3e4afc55b835  shake-0.19.9/src/Development/Shake/Internal/Core/Monad.hs
-formatted       15dda4610803  shake-0.19.9/src/Development/Shake/Internal/Core/Pool.hs
-formatted       72387b89230e  shake-0.19.9/src/Development/Shake/Internal/Core/Rules.hs
-formatted       34e1f3ed18dd  shake-0.19.9/src/Development/Shake/Internal/Core/Run.hs
-formatted       55d80ed15e96  shake-0.19.9/src/Development/Shake/Internal/Core/Storage.hs
-formatted       bfe3604d202f  shake-0.19.9/src/Development/Shake/Internal/Core/Types.hs
-formatted       46848a2a03e2  shake-0.19.9/src/Development/Shake/Internal/Demo.hs
-formatted       1afe6f5f82c8  shake-0.19.9/src/Development/Shake/Internal/Derived.hs
-formatted       419e421f13a6  shake-0.19.9/src/Development/Shake/Internal/Errors.hs
-declined        -             shake-0.19.9/src/Development/Shake/Internal/FileInfo.hs
-formatted       759fa2b54278  shake-0.19.9/src/Development/Shake/Internal/FileName.hs
-formatted       fe798a191c19  shake-0.19.9/src/Development/Shake/Internal/FilePattern.hs
-formatted       1e054a94085b  shake-0.19.9/src/Development/Shake/Internal/History/Bloom.hs
-formatted       01551ed3cbf4  shake-0.19.9/src/Development/Shake/Internal/History/Cloud.hs
-formatted       249ed8efaa13  shake-0.19.9/src/Development/Shake/Internal/History/Network.hs
-formatted       2481e80c7e58  shake-0.19.9/src/Development/Shake/Internal/History/Serialise.hs
-formatted       14a6f9c117dc  shake-0.19.9/src/Development/Shake/Internal/History/Server.hs
-formatted       d90d4f71cadd  shake-0.19.9/src/Development/Shake/Internal/History/Shared.hs
-declined        -             shake-0.19.9/src/Development/Shake/Internal/History/Symlink.hs
-formatted       765062af5b1e  shake-0.19.9/src/Development/Shake/Internal/History/Types.hs
-formatted       1667cc1258cb  shake-0.19.9/src/Development/Shake/Internal/Options.hs
-formatted       15a7f1039c01  shake-0.19.9/src/Development/Shake/Internal/Paths.hs
-formatted       cd695d3ce28f  shake-0.19.9/src/Development/Shake/Internal/Profile.hs
-declined        -             shake-0.19.9/src/Development/Shake/Internal/Progress.hs
-formatted       342442931569  shake-0.19.9/src/Development/Shake/Internal/Resource.hs
-formatted       5733144919c3  shake-0.19.9/src/Development/Shake/Internal/Rules/Default.hs
-formatted       49bcf9520df0  shake-0.19.9/src/Development/Shake/Internal/Rules/Directory.hs
-formatted       8355467730f0  shake-0.19.9/src/Development/Shake/Internal/Rules/File.hs
-formatted       e7921ae8b2dd  shake-0.19.9/src/Development/Shake/Internal/Rules/Files.hs
-formatted       18637b215cdb  shake-0.19.9/src/Development/Shake/Internal/Rules/Oracle.hs
-formatted       b0d13ac0a3a9  shake-0.19.9/src/Development/Shake/Internal/Rules/OrderOnly.hs
-formatted       c9bb8c405fe0  shake-0.19.9/src/Development/Shake/Internal/Rules/Rerun.hs
-formatted       b6e1d27ae046  shake-0.19.9/src/Development/Shake/Internal/Value.hs
-formatted       4f57cc655ba3  shake-0.19.9/src/Development/Shake/Rule.hs
-formatted       72f09acd1481  shake-0.19.9/src/Development/Shake/Util.hs
-formatted       796b5a76fb8c  shake-0.19.9/src/General/Bilist.hs
-formatted       a2e9bfc4e206  shake-0.19.9/src/General/Binary.hs
-formatted       bbd9c27b5570  shake-0.19.9/src/General/Chunks.hs
-formatted       432dccc3b19c  shake-0.19.9/src/General/Cleanup.hs
-declined        -             shake-0.19.9/src/General/EscCodes.hs
-formatted       7652f69a9c07  shake-0.19.9/src/General/Extra.hs
-formatted       6ac31a44af53  shake-0.19.9/src/General/Fence.hs
-declined        -             shake-0.19.9/src/General/FileLock.hs
-formatted       55352d28b4a5  shake-0.19.9/src/General/GetOpt.hs
-formatted       c704d012d9ae  shake-0.19.9/src/General/Ids.hs
-formatted       9126ed0fbd34  shake-0.19.9/src/General/Intern.hs
-formatted       fdae30466e09  shake-0.19.9/src/General/ListBuilder.hs
-formatted       54fa4898327b  shake-0.19.9/src/General/Makefile.hs
-formatted       b7d26aaba50b  shake-0.19.9/src/General/Pool.hs
-formatted       300d27247ce2  shake-0.19.9/src/General/Process.hs
-formatted       0d39543216b1  shake-0.19.9/src/General/Template.hs
-formatted       20e74944695a  shake-0.19.9/src/General/Thread.hs
-formatted       b9b9368bdf92  shake-0.19.9/src/General/Timing.hs
-formatted       f1cfb5928cdc  shake-0.19.9/src/General/TypeMap.hs
-formatted       8d69ed0989cc  shake-0.19.9/src/General/Wait.hs
-formatted       4743f12ee1b5  shake-0.19.9/src/Paths.hs
-formatted       6ee887146e25  shake-0.19.9/src/Run.hs
-formatted       e59791013e00  shake-0.19.9/src/Test.hs
-formatted       8559d6daa99e  shake-0.19.9/src/Test/Basic.hs
-formatted       93ef4d632053  shake-0.19.9/src/Test/Batch.hs
-formatted       9817e09728fc  shake-0.19.9/src/Test/Benchmark.hs
-formatted       72e8b4ab4dea  shake-0.19.9/src/Test/Builtin.hs
-formatted       48ec6eca2417  shake-0.19.9/src/Test/BuiltinOverride.hs
-formatted       10efc06e6c7b  shake-0.19.9/src/Test/C.hs
-formatted       53e433c2fd6d  shake-0.19.9/src/Test/Cache.hs
-formatted       2d7ccbb45ced  shake-0.19.9/src/Test/Cleanup.hs
-formatted       ca28e238b42b  shake-0.19.9/src/Test/CloseFileHandles.hs
-formatted       52e8e06b790c  shake-0.19.9/src/Test/Command.hs
-formatted       5ea96ce5a74d  shake-0.19.9/src/Test/Config.hs
-formatted       1f3180d02ce5  shake-0.19.9/src/Test/Database.hs
-formatted       e8ca948ce33e  shake-0.19.9/src/Test/Digest.hs
-formatted       9b70158e614d  shake-0.19.9/src/Test/Directory.hs
-formatted       1aee80e9930e  shake-0.19.9/src/Test/Docs.hs
-formatted       7425a9004035  shake-0.19.9/src/Test/Errors.hs
-formatted       b698eeb22c5b  shake-0.19.9/src/Test/Existence.hs
-formatted       33dfd1039065  shake-0.19.9/src/Test/FileLock.hs
-formatted       1dd160a81730  shake-0.19.9/src/Test/FilePath.hs
-formatted       19b187c8cbe6  shake-0.19.9/src/Test/FilePattern.hs
-formatted       7f088d1e23e6  shake-0.19.9/src/Test/Files.hs
-formatted       f46b5feb3e77  shake-0.19.9/src/Test/Forward.hs
-formatted       07a41b0c82df  shake-0.19.9/src/Test/History.hs
-formatted       a6278c0f744f  shake-0.19.9/src/Test/Journal.hs
-formatted       441f831d7e39  shake-0.19.9/src/Test/Lint.hs
-formatted       abb6b38a5148  shake-0.19.9/src/Test/Live.hs
-formatted       b1f4f9102098  shake-0.19.9/src/Test/Manual.hs
-formatted       0ea86eab061d  shake-0.19.9/src/Test/Match.hs
-formatted       3358afb343e9  shake-0.19.9/src/Test/Monad.hs
-formatted       30eaa5d85dba  shake-0.19.9/src/Test/Ninja.hs
-formatted       78f51e13afdb  shake-0.19.9/src/Test/Oracle.hs
-formatted       3a29cbe0f415  shake-0.19.9/src/Test/OrderOnly.hs
-formatted       11c7d4112a98  shake-0.19.9/src/Test/Parallel.hs
-formatted       af1e17f9eab1  shake-0.19.9/src/Test/Pool.hs
-formatted       d7b6e41656b0  shake-0.19.9/src/Test/Progress.hs
-formatted       8f84d993fd5b  shake-0.19.9/src/Test/Random.hs
-formatted       2cbfb37c7d59  shake-0.19.9/src/Test/Rebuild.hs
-formatted       685ecba8ab37  shake-0.19.9/src/Test/Reschedule.hs
-formatted       a4beab4d5e04  shake-0.19.9/src/Test/Resources.hs
-formatted       721fa3aeb323  shake-0.19.9/src/Test/Self.hs
-formatted       f64db4b85e97  shake-0.19.9/src/Test/SelfMake.hs
-formatted       ce7a14c40a6c  shake-0.19.9/src/Test/Tar.hs
-formatted       010efc5cef7a  shake-0.19.9/src/Test/Targets.hs
-formatted       2ada3fd9cfe5  shake-0.19.9/src/Test/Thread.hs
-formatted       54ac2eb76326  shake-0.19.9/src/Test/Tup.hs
-formatted       d61d4ca26661  shake-0.19.9/src/Test/Type.hs
-formatted       068337f03a57  shake-0.19.9/src/Test/Unicode.hs
-formatted       312e45ba1b16  shake-0.19.9/src/Test/Util.hs
-formatted       6649fd7b7e4a  shake-0.19.9/src/Test/Verbosity.hs
-formatted       f32aa5af75ac  shake-0.19.9/src/Test/Version.hs
-formatted       e865ae48f11b  singletons-3.0.4/Setup.hs
-partly-checked  030c4775a83c  singletons-3.0.4/src/Data/Singletons.hs
-formatted       c6ea02200969  singletons-3.0.4/src/Data/Singletons/Decide.hs
-formatted       5385ff6312e7  singletons-3.0.4/src/Data/Singletons/ShowSing.hs
-formatted       27ecc95d3298  singletons-3.0.4/src/Data/Singletons/Sigma.hs
-formatted       ed287bbc0444  singletons-3.0.4/tests/ByHand.hs
-formatted       dff1d2757819  singletons-3.0.4/tests/ByHand2.hs
-formatted       92855df34052  singletons-3.0.4/tests/SingletonsTestSuite.hs
-formatted       a7151db2ed5c  split-0.2.5/src/Data/List/Split.hs
-formatted       81873df3b2c6  split-0.2.5/src/Data/List/Split/Internals.hs
-formatted       0476e48b031e  split-0.2.5/test/Properties.hs
-formatted       e865ae48f11b  stack-9.9.9/Setup.hs
-formatted       e865ae48f11b  stack-9.9.9/new-template/Setup.hs
-formatted       76b6ff5a6856  stack-9.9.9/new-template/app/Main.hs
-formatted       b206a21d3b3c  stack-9.9.9/new-template/src/Lib.hs
-formatted       ef8d1c0c14bd  stack-9.9.9/new-template/test/Spec.hs
-formatted       b50eee5c8227  stack-9.9.9/src/Control/Concurrent/Execute.hs
-formatted       de0bbff44bba  stack-9.9.9/src/Data/Aeson/Extended.hs
-formatted       45b24cbb6885  stack-9.9.9/src/Data/Attoparsec/Args.hs
-formatted       6be772a6002d  stack-9.9.9/src/Data/Attoparsec/Combinators.hs
-formatted       e4f1165dc10b  stack-9.9.9/src/Data/Binary/VersionTagged.hs
-formatted       b0799314dce2  stack-9.9.9/src/Data/Maybe/Extra.hs
-formatted       8740a5fcb2ef  stack-9.9.9/src/Data/Set/Monad.hs
-formatted       c08aaa172c8a  stack-9.9.9/src/Network/HTTP/Download.hs
-formatted       f77d8fc87761  stack-9.9.9/src/Network/HTTP/Download/Verified.hs
-formatted       d7a0d294e3c7  stack-9.9.9/src/Options/Applicative/Args.hs
-formatted       0116483c0e39  stack-9.9.9/src/Options/Applicative/Builder/Extra.hs
-formatted       35d5981b158d  stack-9.9.9/src/Path/Find.hs
-formatted       eafb883091d5  stack-9.9.9/src/Path/IO.hs
-formatted       2df07688f5ed  stack-9.9.9/src/Stack/Build.hs
-formatted       bdc4f36f2c62  stack-9.9.9/src/Stack/Build/Cache.hs
-formatted       0897208eeffe  stack-9.9.9/src/Stack/Build/ConstructPlan.hs
-formatted       db82adc28202  stack-9.9.9/src/Stack/Build/Execute.hs
-formatted       696682f442ac  stack-9.9.9/src/Stack/Build/Haddock.hs
-formatted       e0977d49109c  stack-9.9.9/src/Stack/Build/Installed.hs
-formatted       8f851999c795  stack-9.9.9/src/Stack/Build/Source.hs
-formatted       f170a6d78347  stack-9.9.9/src/Stack/Build/Types.hs
-formatted       1f1e5f5c9ec2  stack-9.9.9/src/Stack/BuildPlan.hs
-formatted       8a25795f0c0a  stack-9.9.9/src/Stack/Config.hs
-formatted       db186c830bf3  stack-9.9.9/src/Stack/Constants.hs
-formatted       607b56eb6fc7  stack-9.9.9/src/Stack/Docker.hs
-formatted       07449f4ddba3  stack-9.9.9/src/Stack/Docker/GlobalDB.hs
-formatted       7d15eaae39ff  stack-9.9.9/src/Stack/Dot.hs
-formatted       e3fe02818737  stack-9.9.9/src/Stack/Exec.hs
-formatted       69a1b5e114c2  stack-9.9.9/src/Stack/Fetch.hs
-formatted       7245d6806bca  stack-9.9.9/src/Stack/GhcPkg.hs
-formatted       8e7700c60073  stack-9.9.9/src/Stack/Init.hs
-formatted       9f228f8da7ce  stack-9.9.9/src/Stack/New.hs
-formatted       a4120f7039a7  stack-9.9.9/src/Stack/Package.hs
-formatted       439e5a338ecf  stack-9.9.9/src/Stack/PackageDump.hs
-formatted       131f4c58d4cc  stack-9.9.9/src/Stack/PackageIndex.hs
-formatted       2814387b2b76  stack-9.9.9/src/Stack/Repl.hs
-formatted       766a71919c27  stack-9.9.9/src/Stack/Setup.hs
-formatted       68c48310e4ce  stack-9.9.9/src/Stack/Solver.hs
-formatted       ebbf896669e4  stack-9.9.9/src/Stack/Types.hs
-formatted       6a77fad930d5  stack-9.9.9/src/Stack/Types/BuildPlan.hs
-formatted       a6b384b7378c  stack-9.9.9/src/Stack/Types/Config.hs
-formatted       69401069957e  stack-9.9.9/src/Stack/Types/Docker.hs
-formatted       cd2bb0d685de  stack-9.9.9/src/Stack/Types/FlagName.hs
-formatted       d8f8b074a086  stack-9.9.9/src/Stack/Types/GhcPkgId.hs
-formatted       bd4be7dcc823  stack-9.9.9/src/Stack/Types/Internal.hs
-formatted       863509c942b8  stack-9.9.9/src/Stack/Types/PackageIdentifier.hs
-formatted       88a4f8bd73e5  stack-9.9.9/src/Stack/Types/PackageName.hs
-formatted       cf90354db024  stack-9.9.9/src/Stack/Types/StackT.hs
-formatted       c698b30fdbaf  stack-9.9.9/src/Stack/Types/Version.hs
-formatted       2f4855580908  stack-9.9.9/src/Stack/Upgrade.hs
-formatted       3d5a37bb3efe  stack-9.9.9/src/Stack/Upload.hs
-formatted       85d5e680f53b  stack-9.9.9/src/System/Process/Log.hs
-formatted       015e3efd2d86  stack-9.9.9/src/System/Process/PagerEditor.hs
-formatted       bc60fdf030d4  stack-9.9.9/src/System/Process/Read.hs
-formatted       c40dad9ce8ee  stack-9.9.9/src/System/Process/Run.hs
-formatted       9366d8a339a8  stack-9.9.9/src/main/Main.hs
-formatted       4eec70869c80  stack-9.9.9/src/main/Plugins.hs
-formatted       50b246d28182  stack-9.9.9/src/main/Plugins/Commands.hs
-formatted       65c8c298f7aa  stack-9.9.9/src/test/Spec.hs
-formatted       bbf9464a53ee  stack-9.9.9/src/test/Stack/ArgsSpec.hs
-formatted       41ea23b8880f  stack-9.9.9/src/test/Stack/Build/ExecuteSpec.hs
-formatted       6c14531834d3  stack-9.9.9/src/test/Stack/BuildPlanSpec.hs
-formatted       24a9e21c3c15  stack-9.9.9/src/test/Stack/ConfigSpec.hs
-formatted       2d4cbcc98b0c  stack-9.9.9/src/test/Stack/PackageDumpSpec.hs
-formatted       fd075df62297  stack-9.9.9/src/test/Test.hs
-formatted       53953d153dfa  stack-9.9.9/test/integration/Spec.hs
-formatted       56e4e5258116  statistics-0.16.5.0/Statistics/Autocorrelation.hs
-formatted       bda03074d5aa  statistics-0.16.5.0/Statistics/ConfidenceInt.hs
-formatted       069d7156f594  statistics-0.16.5.0/Statistics/Correlation.hs
-formatted       9ba74f547b39  statistics-0.16.5.0/Statistics/Correlation/Kendall.hs
-formatted       bbd4e3259f36  statistics-0.16.5.0/Statistics/Distribution.hs
-formatted       ae8ad80251ff  statistics-0.16.5.0/Statistics/Distribution/Beta.hs
-formatted       7b32fc5b6cfc  statistics-0.16.5.0/Statistics/Distribution/Binomial.hs
-formatted       23f140cdf9bc  statistics-0.16.5.0/Statistics/Distribution/CauchyLorentz.hs
-formatted       dc30bfda499d  statistics-0.16.5.0/Statistics/Distribution/ChiSquared.hs
-formatted       f4734696df71  statistics-0.16.5.0/Statistics/Distribution/DiscreteUniform.hs
-formatted       cc3d61a22aa0  statistics-0.16.5.0/Statistics/Distribution/Exponential.hs
-formatted       5d35b356cb29  statistics-0.16.5.0/Statistics/Distribution/FDistribution.hs
-formatted       1258f180d7c0  statistics-0.16.5.0/Statistics/Distribution/Gamma.hs
-formatted       97a9584986c7  statistics-0.16.5.0/Statistics/Distribution/Geometric.hs
-formatted       e05ef1359929  statistics-0.16.5.0/Statistics/Distribution/Hypergeometric.hs
-formatted       ca93eabbbf15  statistics-0.16.5.0/Statistics/Distribution/Laplace.hs
-formatted       1e363f04365e  statistics-0.16.5.0/Statistics/Distribution/Lognormal.hs
-formatted       f5cce916fd78  statistics-0.16.5.0/Statistics/Distribution/NegativeBinomial.hs
-formatted       fb17da6ed19d  statistics-0.16.5.0/Statistics/Distribution/Normal.hs
-formatted       1bbb63345a51  statistics-0.16.5.0/Statistics/Distribution/Poisson.hs
-formatted       e7fb38252559  statistics-0.16.5.0/Statistics/Distribution/Poisson/Internal.hs
-formatted       7c5e046a9045  statistics-0.16.5.0/Statistics/Distribution/StudentT.hs
-formatted       b7ab79ca83fb  statistics-0.16.5.0/Statistics/Distribution/Transform.hs
-formatted       1df538a9db1d  statistics-0.16.5.0/Statistics/Distribution/Uniform.hs
-formatted       bd8bb4f92c76  statistics-0.16.5.0/Statistics/Distribution/Weibull.hs
-formatted       a5d3ccd314a5  statistics-0.16.5.0/Statistics/Function.hs
-formatted       4ce5ca3ee348  statistics-0.16.5.0/Statistics/Internal.hs
-formatted       3802c4ce0920  statistics-0.16.5.0/Statistics/Quantile.hs
-formatted       4eb8961889ae  statistics-0.16.5.0/Statistics/Regression.hs
-formatted       535c5c96b342  statistics-0.16.5.0/Statistics/Resampling.hs
-formatted       76d271403a9e  statistics-0.16.5.0/Statistics/Resampling/Bootstrap.hs
-formatted       cc05168e10be  statistics-0.16.5.0/Statistics/Sample.hs
-formatted       24ce2ba6d88a  statistics-0.16.5.0/Statistics/Sample/Histogram.hs
-formatted       cab9e68a7e21  statistics-0.16.5.0/Statistics/Sample/Internal.hs
-formatted       5148550f72c0  statistics-0.16.5.0/Statistics/Sample/KernelDensity.hs
-formatted       57cb926959b9  statistics-0.16.5.0/Statistics/Sample/KernelDensity/Simple.hs
-formatted       bae6889ac8ec  statistics-0.16.5.0/Statistics/Sample/Normalize.hs
-formatted       1242733971ab  statistics-0.16.5.0/Statistics/Sample/Powers.hs
-formatted       5530b1f597e3  statistics-0.16.5.0/Statistics/Test/Bartlett.hs
-formatted       4ba8ec52c2e3  statistics-0.16.5.0/Statistics/Test/ChiSquared.hs
-formatted       4990518d53f6  statistics-0.16.5.0/Statistics/Test/Internal.hs
-formatted       93bdbc32499f  statistics-0.16.5.0/Statistics/Test/KolmogorovSmirnov.hs
-formatted       68068b68b9a0  statistics-0.16.5.0/Statistics/Test/KruskalWallis.hs
-formatted       958fe17b2454  statistics-0.16.5.0/Statistics/Test/Levene.hs
-formatted       537ff3519540  statistics-0.16.5.0/Statistics/Test/MannWhitneyU.hs
-formatted       24eee9104de3  statistics-0.16.5.0/Statistics/Test/StudentT.hs
-formatted       8222073f1e45  statistics-0.16.5.0/Statistics/Test/Types.hs
-formatted       f3c789b5cb44  statistics-0.16.5.0/Statistics/Test/WilcoxonT.hs
-formatted       96689c868795  statistics-0.16.5.0/Statistics/Transform.hs
-formatted       f4cfb5a2aebb  statistics-0.16.5.0/Statistics/Types.hs
-formatted       f071cb4c4814  statistics-0.16.5.0/Statistics/Types/Internal.hs
-formatted       b5402a2dc355  statistics-0.16.5.0/bench-papi/Bench.hs
-formatted       3963835f0889  statistics-0.16.5.0/bench-time/Bench.hs
-formatted       61d4105d3456  statistics-0.16.5.0/benchmark/Main.hs
-formatted       d80f7bf6f96d  statistics-0.16.5.0/examples/kde/KDE.hs
-formatted       dcea40eeb511  statistics-0.16.5.0/tests/Tests/ApproxEq.hs
-formatted       2ae25961f71d  statistics-0.16.5.0/tests/Tests/Correlation.hs
-formatted       ff8bfb187b54  statistics-0.16.5.0/tests/Tests/Distribution.hs
-formatted       23d95813c217  statistics-0.16.5.0/tests/Tests/ExactDistribution.hs
-formatted       299f43f28485  statistics-0.16.5.0/tests/Tests/Function.hs
-formatted       9c5a618f3bf1  statistics-0.16.5.0/tests/Tests/Helpers.hs
-formatted       fec77bb7c2ff  statistics-0.16.5.0/tests/Tests/KDE.hs
-formatted       cf822ef362eb  statistics-0.16.5.0/tests/Tests/Matrix.hs
-formatted       3f54ac156fe8  statistics-0.16.5.0/tests/Tests/Matrix/Types.hs
-formatted       5815fd5a68d5  statistics-0.16.5.0/tests/Tests/NonParametric.hs
-formatted       4d0172724882  statistics-0.16.5.0/tests/Tests/NonParametric/Table.hs
-formatted       65adfee8e313  statistics-0.16.5.0/tests/Tests/Orphanage.hs
-formatted       bc01b981cd07  statistics-0.16.5.0/tests/Tests/Parametric.hs
-formatted       d94da0d75fed  statistics-0.16.5.0/tests/Tests/Quantile.hs
-formatted       4e08d3c82170  statistics-0.16.5.0/tests/Tests/Serialization.hs
-formatted       d60faa0d5f6c  statistics-0.16.5.0/tests/Tests/Transform.hs
-formatted       55f699624c9d  statistics-0.16.5.0/tests/doctest.hs
-formatted       f0e3d45c9159  statistics-0.16.5.0/tests/tests.hs
-formatted       2c4811cee336  stm-2.5.3.1/Control/Concurrent/STM.hs
-formatted       3cda51e9e44e  stm-2.5.3.1/Control/Concurrent/STM/TArray.hs
-formatted       a3a6bd16402a  stm-2.5.3.1/Control/Concurrent/STM/TBQueue.hs
-formatted       643c4c4304ca  stm-2.5.3.1/Control/Concurrent/STM/TChan.hs
-formatted       5de1c73d983a  stm-2.5.3.1/Control/Concurrent/STM/TMVar.hs
-formatted       61a61ef9eccf  stm-2.5.3.1/Control/Concurrent/STM/TQueue.hs
-formatted       0167cfd0c06a  stm-2.5.3.1/Control/Concurrent/STM/TSem.hs
-formatted       6a0ece958ded  stm-2.5.3.1/Control/Concurrent/STM/TVar.hs
-partly-checked  4ed888ed9420  stm-2.5.3.1/Control/Monad/STM.hs
-formatted       6aecb29a12ab  stm-2.5.3.1/Control/Sequential/STM.hs
-formatted       7474b7e1d4f5  stm-2.5.3.1/Setup.hs
-formatted       e290291970ca  stm-2.5.3.1/testsuite/src/Issue17.hs
-formatted       c3343c4d48cb  stm-2.5.3.1/testsuite/src/Issue9.hs
-formatted       9159857aaf7c  stm-2.5.3.1/testsuite/src/Main.hs
-formatted       5a7bdca5eb2f  stm-2.5.3.1/testsuite/src/Stm052.hs
-formatted       9b30ce222d29  stm-2.5.3.1/testsuite/src/Stm064.hs
-formatted       0f86f9b94d82  stm-2.5.3.1/testsuite/src/Stm065.hs
-formatted       0872066614e0  swagger2-2.9.1/Setup.hs
-formatted       e61f805d8652  swagger2-2.9.1/examples/hackage.hs
-formatted       947090f59ec4  swagger2-2.9.1/src/Data/HashMap/Strict/InsOrd/Compat.hs
-formatted       d71d272f220f  swagger2-2.9.1/src/Data/Swagger.hs
-formatted       f496ee0d4d0c  swagger2-2.9.1/src/Data/Swagger/Declare.hs
-formatted       5302fa19a1a8  swagger2-2.9.1/src/Data/Swagger/Internal.hs
-formatted       7dfa5b7b4803  swagger2-2.9.1/src/Data/Swagger/Internal/AesonUtils.hs
-formatted       be2b0df4ab34  swagger2-2.9.1/src/Data/Swagger/Internal/ParamSchema.hs
-formatted       e4da8109511e  swagger2-2.9.1/src/Data/Swagger/Internal/Schema.hs
-formatted       15b94738c187  swagger2-2.9.1/src/Data/Swagger/Internal/Schema/Validation.hs
-formatted       185e997df260  swagger2-2.9.1/src/Data/Swagger/Internal/TypeShape.hs
-formatted       abc8c961e8d8  swagger2-2.9.1/src/Data/Swagger/Internal/Utils.hs
-formatted       cc7b692d5353  swagger2-2.9.1/src/Data/Swagger/Lens.hs
-formatted       69c86ada5be4  swagger2-2.9.1/src/Data/Swagger/Operation.hs
-formatted       385ee16b2de5  swagger2-2.9.1/src/Data/Swagger/Optics.hs
-formatted       b74d3f8d9ea4  swagger2-2.9.1/src/Data/Swagger/ParamSchema.hs
-formatted       19a9a7c3a0de  swagger2-2.9.1/src/Data/Swagger/Schema.hs
-formatted       59f835605e15  swagger2-2.9.1/src/Data/Swagger/Schema/Generator.hs
-formatted       7770e1fe2353  swagger2-2.9.1/src/Data/Swagger/Schema/Validation.hs
-formatted       2fd313eb8746  swagger2-2.9.1/src/Data/Swagger/SchemaOptions.hs
-formatted       9054cc190971  swagger2-2.9.1/test/Data/Swagger/CommonTestTypes.hs
-formatted       88ae3e07f1d6  swagger2-2.9.1/test/Data/Swagger/ParamSchemaSpec.hs
-formatted       ba8d29dd4929  swagger2-2.9.1/test/Data/Swagger/Schema/GeneratorSpec.hs
-formatted       f1eacb0cba50  swagger2-2.9.1/test/Data/Swagger/Schema/ValidationSpec.hs
-formatted       bc07fee39679  swagger2-2.9.1/test/Data/Swagger/SchemaSpec.hs
-formatted       be895fbebcab  swagger2-2.9.1/test/Data/SwaggerSpec.hs
-formatted       2fbd14b119a4  swagger2-2.9.1/test/Spec.hs
-formatted       1534dc51af48  swagger2-2.9.1/test/SpecCommon.hs
-formatted       cc17d35cb01d  swagger2-2.9.1/test/doctests.hs
-formatted       d4738b672bb7  tasty-1.5.4/Control/Concurrent/Async.hs
-formatted       e865ae48f11b  tasty-1.5.4/Setup.hs
-formatted       02df8ffe2eb3  tasty-1.5.4/Test/Tasty.hs
-formatted       da0dd4a5f265  tasty-1.5.4/Test/Tasty/CmdLine.hs
-formatted       3a5fcf3042c0  tasty-1.5.4/Test/Tasty/Core.hs
-formatted       dd00b52edeb7  tasty-1.5.4/Test/Tasty/Ingredients.hs
-formatted       9e13d30f1aac  tasty-1.5.4/Test/Tasty/Ingredients/Basic.hs
-formatted       0e632c2a7445  tasty-1.5.4/Test/Tasty/Ingredients/ConsoleReporter.hs
-formatted       8c6cf8ae3d46  tasty-1.5.4/Test/Tasty/Ingredients/IncludingOptions.hs
-formatted       5435b848bb7e  tasty-1.5.4/Test/Tasty/Ingredients/ListTests.hs
-formatted       1d78b5b7b6d6  tasty-1.5.4/Test/Tasty/Options.hs
-formatted       3423011ddd29  tasty-1.5.4/Test/Tasty/Options/Core.hs
-formatted       d9fbf61e13b4  tasty-1.5.4/Test/Tasty/Options/Env.hs
-formatted       bc3c7e134e5c  tasty-1.5.4/Test/Tasty/Parallel.hs
-formatted       d8b2acdcc674  tasty-1.5.4/Test/Tasty/Patterns.hs
-formatted       0d97fca4d8c9  tasty-1.5.4/Test/Tasty/Patterns/Eval.hs
-formatted       4d5e43449879  tasty-1.5.4/Test/Tasty/Patterns/Expr.hs
-formatted       7095e0ba43dd  tasty-1.5.4/Test/Tasty/Patterns/Parser.hs
-formatted       3b88b836a8da  tasty-1.5.4/Test/Tasty/Patterns/Printer.hs
-formatted       76352e15e8e6  tasty-1.5.4/Test/Tasty/Patterns/Types.hs
-formatted       b2ce3b3d2ba6  tasty-1.5.4/Test/Tasty/Providers.hs
-formatted       1e9dd494aa0d  tasty-1.5.4/Test/Tasty/Providers/ConsoleFormat.hs
-formatted       ff9909ca5604  tasty-1.5.4/Test/Tasty/Run.hs
-formatted       cb5862c8ea8c  tasty-1.5.4/Test/Tasty/Runners.hs
-formatted       a02b4c543c75  tasty-1.5.4/Test/Tasty/Runners/Reducers.hs
-formatted       c621861758e5  tasty-1.5.4/Test/Tasty/Runners/Utils.hs
-formatted       e865ae48f11b  tensorflow-0.2.0.1/Setup.hs
-formatted       fc583182d149  tensorflow-0.2.0.1/src/TensorFlow/Build.hs
-formatted       6a8867b44ef1  tensorflow-0.2.0.1/src/TensorFlow/BuildOp.hs
-formatted       77489c8b8f87  tensorflow-0.2.0.1/src/TensorFlow/ControlFlow.hs
-formatted       4cc5cc869f78  tensorflow-0.2.0.1/src/TensorFlow/Core.hs
-formatted       76a2093eefd8  tensorflow-0.2.0.1/src/TensorFlow/Internal/FFI.hs
-formatted       62d7a0995301  tensorflow-0.2.0.1/src/TensorFlow/Internal/VarInt.hs
-formatted       33a0218dc730  tensorflow-0.2.0.1/src/TensorFlow/Nodes.hs
-formatted       6079d89faf44  tensorflow-0.2.0.1/src/TensorFlow/Output.hs
-formatted       43470d2fc559  tensorflow-0.2.0.1/src/TensorFlow/Session.hs
-formatted       da3a7653404f  tensorflow-0.2.0.1/src/TensorFlow/Tensor.hs
-formatted       3e49e13c010b  tensorflow-0.2.0.1/src/TensorFlow/Types.hs
-formatted       7786d8f90a48  tensorflow-0.2.0.1/tests/FFITest.hs
-formatted       0f5db84dd77b  tensorflow-0.2.0.1/tests/VarIntTest.hs
-formatted       8ae0364c5862  text-2.1.4/benchmarks/haskell/Benchmarks.hs
-formatted       ffe091bc4536  text-2.1.4/benchmarks/haskell/Benchmarks/Builder.hs
-formatted       46dcd64eb8e5  text-2.1.4/benchmarks/haskell/Benchmarks/Concat.hs
-formatted       1e546a146930  text-2.1.4/benchmarks/haskell/Benchmarks/DecodeUtf8.hs
-formatted       41909e2de312  text-2.1.4/benchmarks/haskell/Benchmarks/EncodeUtf8.hs
-formatted       919f36b12c57  text-2.1.4/benchmarks/haskell/Benchmarks/Equality.hs
-formatted       a5d1f5795b29  text-2.1.4/benchmarks/haskell/Benchmarks/FileRead.hs
-formatted       09b54ec2d23a  text-2.1.4/benchmarks/haskell/Benchmarks/FileWrite.hs
-formatted       ad27e899bf04  text-2.1.4/benchmarks/haskell/Benchmarks/FoldLines.hs
-formatted       983d6f9117cd  text-2.1.4/benchmarks/haskell/Benchmarks/Micro.hs
-formatted       78b2688949ff  text-2.1.4/benchmarks/haskell/Benchmarks/Multilang.hs
-formatted       6ee308d7049c  text-2.1.4/benchmarks/haskell/Benchmarks/Programs/BigTable.hs
-formatted       b1d195224e1a  text-2.1.4/benchmarks/haskell/Benchmarks/Programs/Cut.hs
-formatted       2814a67c6d1b  text-2.1.4/benchmarks/haskell/Benchmarks/Programs/Fold.hs
-formatted       2cebf4fe82ba  text-2.1.4/benchmarks/haskell/Benchmarks/Programs/Sort.hs
-formatted       d9f35273ed3a  text-2.1.4/benchmarks/haskell/Benchmarks/Programs/StripTags.hs
-formatted       760d861cf866  text-2.1.4/benchmarks/haskell/Benchmarks/Programs/Throughput.hs
-formatted       021d8145a2fe  text-2.1.4/benchmarks/haskell/Benchmarks/Pure.hs
-formatted       e54e95cc30f1  text-2.1.4/benchmarks/haskell/Benchmarks/ReadNumbers.hs
-formatted       bf7477bd4934  text-2.1.4/benchmarks/haskell/Benchmarks/Replace.hs
-formatted       36cf43ee1086  text-2.1.4/benchmarks/haskell/Benchmarks/Search.hs
-formatted       6630a0ba2adf  text-2.1.4/benchmarks/haskell/Benchmarks/Stream.hs
-formatted       582c824b5ff5  text-2.1.4/benchmarks/haskell/Benchmarks/WordFrequencies.hs
-formatted       352931675b25  text-2.1.4/scripts/ApiCompare.hs
-formatted       227860122661  text-2.1.4/scripts/Arsec.hs
-formatted       eb1cc9cf331c  text-2.1.4/scripts/CaseFolding.hs
-formatted       a0bdad468ca4  text-2.1.4/scripts/CaseMapping.hs
-formatted       57e97be5ba61  text-2.1.4/scripts/SpecialCasing.hs
-formatted       d775bb623580  text-2.1.4/scripts/UnicodeData.hs
-partly-checked  1e55021d157f  text-2.1.4/src/Data/Text.hs
-formatted       d3ff1f08422c  text-2.1.4/src/Data/Text/Array.hs
-formatted       4970b89f4e7e  text-2.1.4/src/Data/Text/Encoding.hs
-formatted       d6231f7ebe99  text-2.1.4/src/Data/Text/Encoding/Error.hs
-formatted       7580816061c0  text-2.1.4/src/Data/Text/Foreign.hs
-formatted       d26ae280631c  text-2.1.4/src/Data/Text/IO.hs
-formatted       8c24fec0de81  text-2.1.4/src/Data/Text/IO/Utf8.hs
-formatted       abda1730fe53  text-2.1.4/src/Data/Text/Internal.hs
-formatted       48c631518261  text-2.1.4/src/Data/Text/Internal/ArrayUtils.hs
-formatted       bc619fb754b4  text-2.1.4/src/Data/Text/Internal/Builder.hs
-formatted       3a05c951a914  text-2.1.4/src/Data/Text/Internal/Builder/Functions.hs
-formatted       f5f871c975a4  text-2.1.4/src/Data/Text/Internal/Builder/Int/Digits.hs
-formatted       ab51e88834e1  text-2.1.4/src/Data/Text/Internal/Builder/RealFloat/Functions.hs
-formatted       7fa192160c9b  text-2.1.4/src/Data/Text/Internal/ByteStringCompat.hs
-formatted       4815054ed2f6  text-2.1.4/src/Data/Text/Internal/Encoding.hs
-formatted       389325b86129  text-2.1.4/src/Data/Text/Internal/Encoding/Fusion.hs
-formatted       88e5c54a218b  text-2.1.4/src/Data/Text/Internal/Encoding/Fusion/Common.hs
-formatted       875961737225  text-2.1.4/src/Data/Text/Internal/Encoding/Utf16.hs
-formatted       48ea4745d7e8  text-2.1.4/src/Data/Text/Internal/Encoding/Utf32.hs
-formatted       26b2c3b56203  text-2.1.4/src/Data/Text/Internal/Encoding/Utf8.hs
-formatted       da5c175cb49c  text-2.1.4/src/Data/Text/Internal/Fusion.hs
-formatted       9ae139203b50  text-2.1.4/src/Data/Text/Internal/Fusion/CaseMapping.hs
-formatted       82caff784f76  text-2.1.4/src/Data/Text/Internal/Fusion/Common.hs
-formatted       a3b0b51a0759  text-2.1.4/src/Data/Text/Internal/Fusion/Size.hs
-formatted       3c7c18d05ebf  text-2.1.4/src/Data/Text/Internal/Fusion/Types.hs
-formatted       54f6c2576b08  text-2.1.4/src/Data/Text/Internal/IO.hs
-formatted       e2bb47936e11  text-2.1.4/src/Data/Text/Internal/IsAscii.hs
-formatted       538632ba614a  text-2.1.4/src/Data/Text/Internal/Lazy.hs
-formatted       24939d0b9b8b  text-2.1.4/src/Data/Text/Internal/Lazy/Encoding/Fusion.hs
-formatted       c627413119e8  text-2.1.4/src/Data/Text/Internal/Lazy/Fusion.hs
-formatted       a3c76abdf09c  text-2.1.4/src/Data/Text/Internal/Lazy/Search.hs
-formatted       e22062ee35e8  text-2.1.4/src/Data/Text/Internal/Measure.hs
-formatted       7635d57189ea  text-2.1.4/src/Data/Text/Internal/PrimCompat.hs
-formatted       634f3b2cbbde  text-2.1.4/src/Data/Text/Internal/Private.hs
-formatted       a41bd3d7edab  text-2.1.4/src/Data/Text/Internal/Read.hs
-formatted       7297075f77b5  text-2.1.4/src/Data/Text/Internal/Reverse.hs
-formatted       9ddb417cbaa3  text-2.1.4/src/Data/Text/Internal/Search.hs
-formatted       67bf06cca611  text-2.1.4/src/Data/Text/Internal/StrictBuilder.hs
-formatted       66ed61ee4282  text-2.1.4/src/Data/Text/Internal/Transformation.hs
-formatted       18ae86a38924  text-2.1.4/src/Data/Text/Internal/Unsafe.hs
-formatted       d3b144e675ef  text-2.1.4/src/Data/Text/Internal/Unsafe/Char.hs
-formatted       8bc67bc79968  text-2.1.4/src/Data/Text/Internal/Validate.hs
-formatted       3597c6a4f1b6  text-2.1.4/src/Data/Text/Internal/Validate/Native.hs
-formatted       530d639cfd22  text-2.1.4/src/Data/Text/Internal/Validate/Simd.hs
-formatted       060b4a7eb0fb  text-2.1.4/src/Data/Text/Lazy.hs
-formatted       38ff2d7cb674  text-2.1.4/src/Data/Text/Lazy/Builder.hs
-formatted       38666af96d86  text-2.1.4/src/Data/Text/Lazy/Builder/Int.hs
-formatted       29e65f5a5a13  text-2.1.4/src/Data/Text/Lazy/Builder/RealFloat.hs
-formatted       a19c3620d230  text-2.1.4/src/Data/Text/Lazy/Encoding.hs
-formatted       ac210eeb3b0e  text-2.1.4/src/Data/Text/Lazy/IO.hs
-formatted       737ca3b98c79  text-2.1.4/src/Data/Text/Lazy/Internal.hs
-formatted       4053796b9111  text-2.1.4/src/Data/Text/Lazy/Read.hs
-formatted       95185ba2e9b4  text-2.1.4/src/Data/Text/Read.hs
-formatted       a764e2fbcaba  text-2.1.4/src/Data/Text/Show.hs
-formatted       ce35262cd7ed  text-2.1.4/src/Data/Text/Unsafe.hs
-formatted       8c35444bb7ce  text-2.1.4/tests/LiteralRuleTest.hs
-formatted       6c129d5c79c5  text-2.1.4/tests/Tests.hs
-formatted       8c9ba4deec7f  text-2.1.4/tests/Tests/Lift.hs
-formatted       eea1f5be128d  text-2.1.4/tests/Tests/Properties.hs
-formatted       22b01cd83996  text-2.1.4/tests/Tests/Properties/Basics.hs
-formatted       4095b24da789  text-2.1.4/tests/Tests/Properties/Builder.hs
-formatted       0da554ece794  text-2.1.4/tests/Tests/Properties/CornerCases.hs
-formatted       f1e8140de487  text-2.1.4/tests/Tests/Properties/Folds.hs
-formatted       05ba3e128127  text-2.1.4/tests/Tests/Properties/Instances.hs
-formatted       c57f3b48eab5  text-2.1.4/tests/Tests/Properties/LowLevel.hs
-formatted       73ce8ac597c8  text-2.1.4/tests/Tests/Properties/Read.hs
-formatted       3429b9447ca6  text-2.1.4/tests/Tests/Properties/Substrings.hs
-formatted       37dbae049e0b  text-2.1.4/tests/Tests/Properties/Text.hs
-formatted       13a8cbedafd1  text-2.1.4/tests/Tests/Properties/Transcoding.hs
-formatted       139bbe092e98  text-2.1.4/tests/Tests/Properties/Validate.hs
-formatted       75f4b0d7a5f3  text-2.1.4/tests/Tests/QuickCheckUtils.hs
-formatted       360188e62bc0  text-2.1.4/tests/Tests/RebindableSyntaxTest.hs
-formatted       939e997260ba  text-2.1.4/tests/Tests/Regressions.hs
-formatted       b7037d3f07cc  text-2.1.4/tests/Tests/ShareEmpty.hs
-formatted       f4e9f36f6be9  text-2.1.4/tests/Tests/SlowFunctions.hs
-formatted       375091fbe743  text-2.1.4/tests/Tests/Utils.hs
-formatted       e865ae48f11b  th-abstraction-0.7.2.0/Setup.hs
-formatted       ebfea5ec7f1c  th-abstraction-0.7.2.0/src/Language/Haskell/TH/Datatype.hs
-formatted       b67b7b9c968e  th-abstraction-0.7.2.0/src/Language/Haskell/TH/Datatype/Internal.hs
-formatted       505471744185  th-abstraction-0.7.2.0/src/Language/Haskell/TH/Datatype/TyVarBndr.hs
-formatted       fad455f51be7  th-abstraction-0.7.2.0/test/Harness.hs
-partly-checked  8dc9c0982773  th-abstraction-0.7.2.0/test/Main.hs
-formatted       cc71d6ab2857  th-abstraction-0.7.2.0/test/Types.hs
-formatted       fd2ff7ad97e3  time-1.16.0.1/Setup.hs
-formatted       125260959da8  time-1.16.0.1/benchmark/Main.hs
-formatted       67b30ed4204b  time-1.16.0.1/lib/Data/Format.hs
-formatted       138e9cb35e13  time-1.16.0.1/lib/Data/Time.hs
-formatted       d808f69809c2  time-1.16.0.1/lib/Data/Time/Calendar.hs
-formatted       0f617301ba5b  time-1.16.0.1/lib/Data/Time/Calendar/CalendarDiffDays.hs
-formatted       e210a7d3456b  time-1.16.0.1/lib/Data/Time/Calendar/Days.hs
-formatted       03412f0b8356  time-1.16.0.1/lib/Data/Time/Calendar/Easter.hs
-formatted       c8f966093a51  time-1.16.0.1/lib/Data/Time/Calendar/Gregorian.hs
-formatted       be538512fc07  time-1.16.0.1/lib/Data/Time/Calendar/Julian.hs
-formatted       625e7b428153  time-1.16.0.1/lib/Data/Time/Calendar/JulianYearDay.hs
-formatted       9ba18c758e02  time-1.16.0.1/lib/Data/Time/Calendar/Month.hs
-formatted       eee4b0761e17  time-1.16.0.1/lib/Data/Time/Calendar/MonthDay.hs
-formatted       fe021b5bb8e1  time-1.16.0.1/lib/Data/Time/Calendar/OrdinalDate.hs
-formatted       025bb4e6307c  time-1.16.0.1/lib/Data/Time/Calendar/Private.hs
-formatted       7d5d5b51baca  time-1.16.0.1/lib/Data/Time/Calendar/Quarter.hs
-formatted       61e7261c13da  time-1.16.0.1/lib/Data/Time/Calendar/Types.hs
-formatted       55892c430b7b  time-1.16.0.1/lib/Data/Time/Calendar/Week.hs
-formatted       8d6d0ff3c8ec  time-1.16.0.1/lib/Data/Time/Calendar/WeekDate.hs
-formatted       c2de888ee84b  time-1.16.0.1/lib/Data/Time/Clock.hs
-formatted       0b01b660df99  time-1.16.0.1/lib/Data/Time/Clock/Internal/AbsoluteTime.hs
-formatted       b17785e460f5  time-1.16.0.1/lib/Data/Time/Clock/Internal/CTimeval.hs
-formatted       fde88246f337  time-1.16.0.1/lib/Data/Time/Clock/Internal/DiffTime.hs
-formatted       130201256efa  time-1.16.0.1/lib/Data/Time/Clock/Internal/NominalDiffTime.hs
-formatted       8ef6afa040bc  time-1.16.0.1/lib/Data/Time/Clock/Internal/POSIXTime.hs
-formatted       7b9c6c7bdb50  time-1.16.0.1/lib/Data/Time/Clock/Internal/SystemTime.hs
-formatted       310750655010  time-1.16.0.1/lib/Data/Time/Clock/Internal/UTCDiff.hs
-formatted       a58732cd7eb8  time-1.16.0.1/lib/Data/Time/Clock/Internal/UTCTime.hs
-formatted       acaedfdab698  time-1.16.0.1/lib/Data/Time/Clock/Internal/UniversalTime.hs
-formatted       cf441f809fdf  time-1.16.0.1/lib/Data/Time/Clock/POSIX.hs
-formatted       6dd6034d73b4  time-1.16.0.1/lib/Data/Time/Clock/System.hs
-formatted       bcae28d3d831  time-1.16.0.1/lib/Data/Time/Clock/TAI.hs
-formatted       b600a5b5c744  time-1.16.0.1/lib/Data/Time/Format.hs
-formatted       6c005f66f0be  time-1.16.0.1/lib/Data/Time/Format/Format/Class.hs
-formatted       200179c37154  time-1.16.0.1/lib/Data/Time/Format/Format/Instances.hs
-formatted       14f4a5f4a56e  time-1.16.0.1/lib/Data/Time/Format/ISO8601.hs
-formatted       76aa49c9292b  time-1.16.0.1/lib/Data/Time/Format/Internal.hs
-formatted       b7ae7592bcb6  time-1.16.0.1/lib/Data/Time/Format/Locale.hs
-formatted       b7301f512161  time-1.16.0.1/lib/Data/Time/Format/Parse.hs
-formatted       05a7f0bf5554  time-1.16.0.1/lib/Data/Time/Format/Parse/Class.hs
-formatted       b579af300eaa  time-1.16.0.1/lib/Data/Time/Format/Parse/Instances.hs
-formatted       4489a4cdab49  time-1.16.0.1/lib/Data/Time/LocalTime.hs
-formatted       93986a8450d1  time-1.16.0.1/lib/Data/Time/LocalTime/Internal/CalendarDiffTime.hs
-formatted       94f381fe1ad1  time-1.16.0.1/lib/Data/Time/LocalTime/Internal/Foreign.hs
-formatted       4c9ff2a8a8a0  time-1.16.0.1/lib/Data/Time/LocalTime/Internal/LocalTime.hs
-formatted       9200ebaf067a  time-1.16.0.1/lib/Data/Time/LocalTime/Internal/TimeOfDay.hs
-formatted       74496e557585  time-1.16.0.1/lib/Data/Time/LocalTime/Internal/TimeZone.hs
-formatted       a8370b544557  time-1.16.0.1/lib/Data/Time/LocalTime/Internal/ZonedTime.hs
-formatted       c365d1aa63cd  time-1.16.0.1/test/ForeignCalls.hs
-formatted       fc8234c946fb  time-1.16.0.1/test/ShowDefaultTZAbbreviations.hs
-formatted       b51274826033  time-1.16.0.1/test/ShowTime.hs
-formatted       921506ceef7c  time-1.16.0.1/test/main/Main.hs
-formatted       4db8ebf798ab  time-1.16.0.1/test/main/Test/AddDiff.hs
-formatted       0ff201c42388  time-1.16.0.1/test/main/Test/Arbitrary.hs
-formatted       a31b50175d67  time-1.16.0.1/test/main/Test/Calendar/AddDays.hs
-formatted       5b09874748fc  time-1.16.0.1/test/main/Test/Calendar/AddDaysRef.hs
-formatted       1f2ab37cb077  time-1.16.0.1/test/main/Test/Calendar/CalendarProps.hs
-formatted       fe6ab3f07aa9  time-1.16.0.1/test/main/Test/Calendar/Calendars.hs
-formatted       ba59184d394c  time-1.16.0.1/test/main/Test/Calendar/CalendarsRef.hs
-formatted       e4ef550ce506  time-1.16.0.1/test/main/Test/Calendar/ClipDates.hs
-formatted       f707c1ddaec1  time-1.16.0.1/test/main/Test/Calendar/ClipDatesRef.hs
-formatted       d031fd80c27f  time-1.16.0.1/test/main/Test/Calendar/ConvertBack.hs
-formatted       168e9526852a  time-1.16.0.1/test/main/Test/Calendar/DayPeriod.hs
-formatted       2b4c5c903e40  time-1.16.0.1/test/main/Test/Calendar/Duration.hs
-formatted       56b1c2b8beea  time-1.16.0.1/test/main/Test/Calendar/Easter.hs
-formatted       3f35f96f7337  time-1.16.0.1/test/main/Test/Calendar/LongWeekYears.hs
-formatted       bdfb9e546ba3  time-1.16.0.1/test/main/Test/Calendar/LongWeekYearsRef.hs
-formatted       b5181d1d6218  time-1.16.0.1/test/main/Test/Calendar/MonthDay.hs
-formatted       c01cb667a9a8  time-1.16.0.1/test/main/Test/Calendar/MonthDayRef.hs
-formatted       fc8caea8866a  time-1.16.0.1/test/main/Test/Calendar/MonthOfYear.hs
-formatted       70ffc80a9b91  time-1.16.0.1/test/main/Test/Calendar/Valid.hs
-formatted       516d424dfa89  time-1.16.0.1/test/main/Test/Calendar/Week.hs
-formatted       96f42a259e5f  time-1.16.0.1/test/main/Test/Calendar/Year.hs
-formatted       868a03b5a657  time-1.16.0.1/test/main/Test/Clock/Conversion.hs
-formatted       5c09197a3ec5  time-1.16.0.1/test/main/Test/Clock/Pattern.hs
-formatted       449c0cf9b9bd  time-1.16.0.1/test/main/Test/Clock/Resolution.hs
-formatted       e5afef596413  time-1.16.0.1/test/main/Test/Clock/TAI.hs
-formatted       56759726b4b9  time-1.16.0.1/test/main/Test/Format/Compile.hs
-formatted       9a5ff5f775a0  time-1.16.0.1/test/main/Test/Format/Format.hs
-formatted       458676174a43  time-1.16.0.1/test/main/Test/Format/ISO8601.hs
-formatted       b9a6b11b9e1e  time-1.16.0.1/test/main/Test/Format/ParseTime.hs
-formatted       87d53b9f2df8  time-1.16.0.1/test/main/Test/LocalTime/CalendarDiffTime.hs
-formatted       3c6fcbef621e  time-1.16.0.1/test/main/Test/LocalTime/Time.hs
-formatted       4c37e59c357b  time-1.16.0.1/test/main/Test/LocalTime/TimeOfDay.hs
-formatted       db61298fae47  time-1.16.0.1/test/main/Test/LocalTime/TimeRef.hs
-formatted       274e9173e128  time-1.16.0.1/test/main/Test/TestUtil.hs
-formatted       41cfd788db10  time-1.16.0.1/test/main/Test/Types.hs
-formatted       2e8ad72db81a  time-1.16.0.1/test/template/Main.hs
-formatted       29972ed619e0  time-1.16.0.1/test/template/Test/TastyWrapper.hs
-formatted       ea580c874e6f  time-1.16.0.1/test/unix/Main.hs
-formatted       9d938426697b  time-1.16.0.1/test/unix/Test/Format/Format.hs
-formatted       21b333187684  time-1.16.0.1/test/unix/Test/LocalTime/TimeZone.hs
-formatted       f627f436f233  time-1.16.0.1/test/unix/Test/TestUtil.hs
-formatted       7917eb9d1f66  tls-2.4.3/Benchmarks/Benchmarks.hs
-formatted       489534a90c4b  tls-2.4.3/Network/TLS.hs
-formatted       7ce1364dcb4a  tls-2.4.3/Network/TLS/Backend.hs
-formatted       f9d4f25241e6  tls-2.4.3/Network/TLS/Cipher.hs
-formatted       a0fa75894b05  tls-2.4.3/Network/TLS/Compression.hs
-formatted       1228f4f8033d  tls-2.4.3/Network/TLS/Context.hs
-formatted       04740f1040b6  tls-2.4.3/Network/TLS/Context/Internal.hs
-formatted       8a2288d2bc96  tls-2.4.3/Network/TLS/Core.hs
-formatted       e1443ef58aff  tls-2.4.3/Network/TLS/Credentials.hs
-formatted       b6cc61acbea0  tls-2.4.3/Network/TLS/Crypto.hs
-formatted       a8fca7835f0d  tls-2.4.3/Network/TLS/Crypto/DH.hs
-formatted       446c8c8a07ed  tls-2.4.3/Network/TLS/Crypto/IES.hs
-formatted       b7e6a0d5aaac  tls-2.4.3/Network/TLS/Crypto/Types.hs
-formatted       025f72c75341  tls-2.4.3/Network/TLS/ErrT.hs
-formatted       427d32e6cdf8  tls-2.4.3/Network/TLS/Error.hs
-formatted       25c2c4064c31  tls-2.4.3/Network/TLS/Extension.hs
-formatted       2be304b6f83e  tls-2.4.3/Network/TLS/Extension.hs-boot
-formatted       49db661a445a  tls-2.4.3/Network/TLS/Extra.hs
-formatted       62633b825876  tls-2.4.3/Network/TLS/Extra/Cipher.hs
-formatted       0ee5bebb0e07  tls-2.4.3/Network/TLS/Extra/CipherCBC.hs
-formatted       5d51d07ab286  tls-2.4.3/Network/TLS/Extra/FFDHE.hs
-formatted       0003b888622d  tls-2.4.3/Network/TLS/Handshake.hs
-formatted       34fa3d5f9250  tls-2.4.3/Network/TLS/Handshake/Certificate.hs
-formatted       e0f2a684c93c  tls-2.4.3/Network/TLS/Handshake/Client.hs
-formatted       9c57a50d7cfc  tls-2.4.3/Network/TLS/Handshake/Client/ClientHello.hs
-formatted       fd3b33b247f9  tls-2.4.3/Network/TLS/Handshake/Client/Common.hs
-formatted       020fe94afa85  tls-2.4.3/Network/TLS/Handshake/Client/ServerHello.hs
-formatted       3f13588f75b3  tls-2.4.3/Network/TLS/Handshake/Client/TLS12.hs
-formatted       5c1bcf1c14e2  tls-2.4.3/Network/TLS/Handshake/Client/TLS13.hs
-formatted       a90b777adf6d  tls-2.4.3/Network/TLS/Handshake/Common.hs
-formatted       c5440404a04f  tls-2.4.3/Network/TLS/Handshake/Common13.hs
-formatted       02f97ef7593d  tls-2.4.3/Network/TLS/Handshake/Control.hs
-formatted       2c0676398aca  tls-2.4.3/Network/TLS/Handshake/Key.hs
-formatted       9dc05a147d3b  tls-2.4.3/Network/TLS/Handshake/Random.hs
-formatted       718a7715d422  tls-2.4.3/Network/TLS/Handshake/Server.hs
-formatted       b75e8a299fbb  tls-2.4.3/Network/TLS/Handshake/Server/ClientHello.hs
-formatted       17ae63748aa2  tls-2.4.3/Network/TLS/Handshake/Server/ClientHello12.hs
-formatted       d664c259f6af  tls-2.4.3/Network/TLS/Handshake/Server/ClientHello13.hs
-formatted       a2f2d3470f0f  tls-2.4.3/Network/TLS/Handshake/Server/Common.hs
-formatted       5c07986ccbf1  tls-2.4.3/Network/TLS/Handshake/Server/ServerHello12.hs
-formatted       d3df4765699c  tls-2.4.3/Network/TLS/Handshake/Server/ServerHello13.hs
-formatted       b29b9f3d0ef7  tls-2.4.3/Network/TLS/Handshake/Server/TLS12.hs
-formatted       dacd920cbf42  tls-2.4.3/Network/TLS/Handshake/Server/TLS13.hs
-formatted       6a8388c49af7  tls-2.4.3/Network/TLS/Handshake/Signature.hs
-formatted       4d5c61b9dc3d  tls-2.4.3/Network/TLS/Handshake/State.hs
-formatted       f55d027db091  tls-2.4.3/Network/TLS/Handshake/State13.hs
-formatted       f907190b60ed  tls-2.4.3/Network/TLS/Handshake/TranscriptHash.hs
-formatted       5e1320c4c161  tls-2.4.3/Network/TLS/HashAndSignature.hs
-formatted       7be5df148925  tls-2.4.3/Network/TLS/Hooks.hs
-formatted       b606b0451a2f  tls-2.4.3/Network/TLS/IO.hs
-formatted       4288557274dd  tls-2.4.3/Network/TLS/IO/Decode.hs
-formatted       a9013006f398  tls-2.4.3/Network/TLS/IO/Encode.hs
-formatted       d7509e6fb8f1  tls-2.4.3/Network/TLS/Imports.hs
-formatted       21e9ce7c3507  tls-2.4.3/Network/TLS/Internal.hs
-formatted       92999e90c6b3  tls-2.4.3/Network/TLS/KeySchedule.hs
-formatted       febba7334e9e  tls-2.4.3/Network/TLS/MAC.hs
-formatted       9955ee0bd505  tls-2.4.3/Network/TLS/Measurement.hs
-formatted       426e8a75af01  tls-2.4.3/Network/TLS/Packet.hs
-formatted       41cbbbe9b09e  tls-2.4.3/Network/TLS/Packet13.hs
-formatted       a14ea5098afd  tls-2.4.3/Network/TLS/Parameters.hs
-formatted       29784d509f48  tls-2.4.3/Network/TLS/PostHandshake.hs
-formatted       8edf9e30c18b  tls-2.4.3/Network/TLS/QUIC.hs
-formatted       360a52dcf151  tls-2.4.3/Network/TLS/RNG.hs
-formatted       805eb6800681  tls-2.4.3/Network/TLS/Record.hs
-formatted       e0fdd96fb4fc  tls-2.4.3/Network/TLS/Record/Decrypt.hs
-formatted       58ae652319fd  tls-2.4.3/Network/TLS/Record/Encrypt.hs
-formatted       3d9c53507eaa  tls-2.4.3/Network/TLS/Record/Layer.hs
-formatted       a66c641fa8a1  tls-2.4.3/Network/TLS/Record/Recv.hs
-formatted       9fa588833e07  tls-2.4.3/Network/TLS/Record/Send.hs
-formatted       500b4c31d912  tls-2.4.3/Network/TLS/Record/State.hs
-formatted       932e2e5f3887  tls-2.4.3/Network/TLS/Record/Types.hs
-formatted       42bed44c3eaa  tls-2.4.3/Network/TLS/Session.hs
-formatted       04bdb49074e5  tls-2.4.3/Network/TLS/State.hs
-formatted       aedfbc85cbbc  tls-2.4.3/Network/TLS/Struct.hs
-formatted       4c783b0d9e9d  tls-2.4.3/Network/TLS/Struct13.hs
-formatted       ea0d39cd9f70  tls-2.4.3/Network/TLS/Types.hs
-formatted       253e29d81f4e  tls-2.4.3/Network/TLS/Types/Cipher.hs
-formatted       e6e9255220bb  tls-2.4.3/Network/TLS/Types/Secret.hs
-formatted       35bf4ee60be8  tls-2.4.3/Network/TLS/Types/Session.hs
-formatted       741cb1c84257  tls-2.4.3/Network/TLS/Types/Version.hs
-formatted       be921f75cb0a  tls-2.4.3/Network/TLS/Util.hs
-formatted       1d021bd7e9a7  tls-2.4.3/Network/TLS/Util/ASN1.hs
-formatted       9d70166f446f  tls-2.4.3/Network/TLS/Util/Serialization.hs
-formatted       32a205e8e871  tls-2.4.3/Network/TLS/Wire.hs
-formatted       5c85b406dea3  tls-2.4.3/Network/TLS/X509.hs
-formatted       e865ae48f11b  tls-2.4.3/Setup.hs
-formatted       45a83b6cde24  tls-2.4.3/test/API.hs
-formatted       0d25f1866c79  tls-2.4.3/test/Arbitrary.hs
-formatted       ba1557ab2831  tls-2.4.3/test/Certificate.hs
-formatted       37c216e39fd1  tls-2.4.3/test/CiphersSpec.hs
-formatted       ae18040b3401  tls-2.4.3/test/ECHSpec.hs
-formatted       a99d04d129f7  tls-2.4.3/test/EncodeSpec.hs
-formatted       a99713b7b244  tls-2.4.3/test/HandshakeSpec.hs
-formatted       23c51f587e8d  tls-2.4.3/test/PipeChan.hs
-formatted       338dcd8056de  tls-2.4.3/test/PubKey.hs
-formatted       9621232ed432  tls-2.4.3/test/Run.hs
-formatted       f2f3550cb17a  tls-2.4.3/test/Session.hs
-formatted       2fbd14b119a4  tls-2.4.3/test/Spec.hs
-formatted       9034972735e8  tls-2.4.3/test/ThreadSpec.hs
-formatted       199e7d71bfb6  tls-2.4.3/util/Client.hs
-formatted       c555911ae465  tls-2.4.3/util/Common.hs
-formatted       7dd3b5f2e44a  tls-2.4.3/util/Imports.hs
-formatted       6e9aa070c533  tls-2.4.3/util/Server.hs
-formatted       fa42557a0faa  tls-2.4.3/util/tls-client.hs
-formatted       0b4839d81970  tls-2.4.3/util/tls-server.hs
-partly-checked  36a6d2f6abb4  transformers-0.6.3.0/Control/Applicative/Backwards.hs
-partly-checked  1e0b5cb5f0b3  transformers-0.6.3.0/Control/Applicative/Lift.hs
-formatted       578b0e3c1682  transformers-0.6.3.0/Control/Monad/Signatures.hs
-partly-checked  903d26036ddf  transformers-0.6.3.0/Control/Monad/Trans/Accum.hs
-formatted       11c4fec8a720  transformers-0.6.3.0/Control/Monad/Trans/Class.hs
-formatted       f620249e716e  transformers-0.6.3.0/Control/Monad/Trans/Cont.hs
-partly-checked  2f38844a0b53  transformers-0.6.3.0/Control/Monad/Trans/Except.hs
-partly-checked  6d8a76ff4396  transformers-0.6.3.0/Control/Monad/Trans/Identity.hs
-partly-checked  992296f3d968  transformers-0.6.3.0/Control/Monad/Trans/Maybe.hs
-formatted       6f7326668607  transformers-0.6.3.0/Control/Monad/Trans/RWS.hs
-formatted       b08c74062e9a  transformers-0.6.3.0/Control/Monad/Trans/RWS/CPS.hs
-partly-checked  bbbde7e4b2ce  transformers-0.6.3.0/Control/Monad/Trans/RWS/Lazy.hs
-partly-checked  99cf9d466187  transformers-0.6.3.0/Control/Monad/Trans/RWS/Strict.hs
-partly-checked  b0dea6ec7a78  transformers-0.6.3.0/Control/Monad/Trans/Reader.hs
-formatted       b58555f08340  transformers-0.6.3.0/Control/Monad/Trans/Select.hs
-formatted       dc729d1936a2  transformers-0.6.3.0/Control/Monad/Trans/State.hs
-partly-checked  79758bb0ea7c  transformers-0.6.3.0/Control/Monad/Trans/State/Lazy.hs
-partly-checked  fa45dc7389ec  transformers-0.6.3.0/Control/Monad/Trans/State/Strict.hs
-formatted       6a9857bbd181  transformers-0.6.3.0/Control/Monad/Trans/Writer.hs
-formatted       84635e677dc4  transformers-0.6.3.0/Control/Monad/Trans/Writer/CPS.hs
-partly-checked  4c4d740d0f11  transformers-0.6.3.0/Control/Monad/Trans/Writer/Lazy.hs
-partly-checked  d70a600a810a  transformers-0.6.3.0/Control/Monad/Trans/Writer/Strict.hs
-partly-checked  14c7f90db739  transformers-0.6.3.0/Data/Functor/Constant.hs
-partly-checked  d6d1f203de5b  transformers-0.6.3.0/Data/Functor/Reverse.hs
-formatted       e865ae48f11b  transformers-0.6.3.0/Setup.hs
-partly-checked  d351ac859585  transformers-0.6.3.0/legacy/pre709/Data/Functor/Identity.hs
-formatted       ee4ba7098a5c  transformers-0.6.3.0/legacy/pre711/Control/Monad/IO/Class.hs
-formatted       7d9fab9a0caf  transformers-0.6.3.0/legacy/pre711/Data/Functor/Classes.hs
-formatted       effc0109229f  transformers-0.6.3.0/legacy/pre711/Data/Functor/Compose.hs
-partly-checked  e96184ffa2ec  transformers-0.6.3.0/legacy/pre711/Data/Functor/Product.hs
-formatted       87f324f0c768  transformers-0.6.3.0/legacy/pre711/Data/Functor/Sum.hs
-formatted       e865ae48f11b  typed-process-0.2.13.0/Setup.hs
-formatted       c1dc4f2d5700  typed-process-0.2.13.0/src/System/Process/Typed.hs
-formatted       b0f50f282c25  typed-process-0.2.13.0/src/System/Process/Typed/Internal.hs
-formatted       2fbd14b119a4  typed-process-0.2.13.0/test/Spec.hs
-formatted       4eb03857d270  typed-process-0.2.13.0/test/System/Process/TypedSpec.hs
-formatted       e865ae48f11b  unliftio-0.2.25.1/Setup.hs
-formatted       86399961b28a  unliftio-0.2.25.1/bench/ConcBench.hs
-formatted       737706872ccf  unliftio-0.2.25.1/src/UnliftIO.hs
-formatted       713d1458fd8d  unliftio-0.2.25.1/src/UnliftIO/Async.hs
-formatted       5463e06f3adf  unliftio-0.2.25.1/src/UnliftIO/Chan.hs
-formatted       d9a38375e7fb  unliftio-0.2.25.1/src/UnliftIO/Concurrent.hs
-partly-checked  c708a2f3ee0e  unliftio-0.2.25.1/src/UnliftIO/Directory.hs
-formatted       402fb486b3cf  unliftio-0.2.25.1/src/UnliftIO/Environment.hs
-formatted       c9305d3c9be9  unliftio-0.2.25.1/src/UnliftIO/Exception.hs
-formatted       945872778744  unliftio-0.2.25.1/src/UnliftIO/Exception/Lens.hs
-formatted       ff1234d6ddbd  unliftio-0.2.25.1/src/UnliftIO/Foreign.hs
-formatted       a64a8ea6c117  unliftio-0.2.25.1/src/UnliftIO/IO.hs
-formatted       04f7d565fc19  unliftio-0.2.25.1/src/UnliftIO/IO/File.hs
-formatted       9cc05dd4f2c0  unliftio-0.2.25.1/src/UnliftIO/IO/File/Posix.hs
-formatted       2688f4b976d8  unliftio-0.2.25.1/src/UnliftIO/IORef.hs
-formatted       ee412983b256  unliftio-0.2.25.1/src/UnliftIO/Internals/Async.hs
-formatted       2e37ab380c8b  unliftio-0.2.25.1/src/UnliftIO/MVar.hs
-formatted       25ab39f4a7d1  unliftio-0.2.25.1/src/UnliftIO/Memoize.hs
-formatted       e32e1ab244cd  unliftio-0.2.25.1/src/UnliftIO/Process.hs
-formatted       f17d64d4c913  unliftio-0.2.25.1/src/UnliftIO/QSem.hs
-formatted       6e50df49a6ba  unliftio-0.2.25.1/src/UnliftIO/QSemN.hs
-formatted       ee3bf4d22673  unliftio-0.2.25.1/src/UnliftIO/STM.hs
-formatted       809c4f4424bb  unliftio-0.2.25.1/src/UnliftIO/Temporary.hs
-formatted       0f5f7167bc7b  unliftio-0.2.25.1/src/UnliftIO/Timeout.hs
-formatted       2fbd14b119a4  unliftio-0.2.25.1/test/Spec.hs
-formatted       970999bb4200  unliftio-0.2.25.1/test/UnliftIO/AsyncSpec.hs
-formatted       dda4d2f1b5ef  unliftio-0.2.25.1/test/UnliftIO/DirectorySpec.hs
-formatted       500e291fb7a1  unliftio-0.2.25.1/test/UnliftIO/ExceptionSpec.hs
-formatted       d4a0864bfc4d  unliftio-0.2.25.1/test/UnliftIO/IO/FileSpec.hs
-formatted       258e4c04879b  unliftio-0.2.25.1/test/UnliftIO/IOSpec.hs
-formatted       68c4411ed8f4  unliftio-0.2.25.1/test/UnliftIO/MemoizeSpec.hs
-formatted       f878ce9da222  unliftio-0.2.25.1/test/UnliftIO/PooledAsyncSpec.hs
-formatted       9e71a44bc71c  unordered-containers-0.2.21/Data/HashMap/Internal.hs
-declined        -             unordered-containers-0.2.21/Data/HashMap/Internal/Array.hs
-formatted       7be08d5816ff  unordered-containers-0.2.21/Data/HashMap/Internal/Debug.hs
-formatted       25f94316b17e  unordered-containers-0.2.21/Data/HashMap/Internal/List.hs
-formatted       1951edac1020  unordered-containers-0.2.21/Data/HashMap/Internal/Strict.hs
-formatted       a4d22b20936f  unordered-containers-0.2.21/Data/HashMap/Lazy.hs
-formatted       b51d84ac0257  unordered-containers-0.2.21/Data/HashMap/Strict.hs
-formatted       d88b52d5dce2  unordered-containers-0.2.21/Data/HashSet.hs
-formatted       3bfd62a86198  unordered-containers-0.2.21/Data/HashSet/Internal.hs
-formatted       e865ae48f11b  unordered-containers-0.2.21/Setup.hs
-formatted       31f2eba3c570  unordered-containers-0.2.21/benchmarks/Benchmarks.hs
-formatted       0ed2a6102dba  unordered-containers-0.2.21/benchmarks/FineGrained.hs
-formatted       b1cc4b50fa0e  unordered-containers-0.2.21/benchmarks/Key/Bytes.hs
-formatted       de9c7b30da36  unordered-containers-0.2.21/benchmarks/Util/ByteString.hs
-formatted       284694c5798b  unordered-containers-0.2.21/benchmarks/Util/Int.hs
-formatted       771e81db1b05  unordered-containers-0.2.21/benchmarks/Util/String.hs
-formatted       2b26017dfa9e  unordered-containers-0.2.21/tests/Main.hs
-formatted       27005a00112e  unordered-containers-0.2.21/tests/Properties.hs
-formatted       88e44fdb6cbd  unordered-containers-0.2.21/tests/Properties/HashMapLazy.hs
-formatted       f2a904c3a89a  unordered-containers-0.2.21/tests/Properties/HashMapStrict.hs
-formatted       2212e9831f16  unordered-containers-0.2.21/tests/Properties/HashSet.hs
-formatted       3584a01b2cdd  unordered-containers-0.2.21/tests/Properties/List.hs
-formatted       54d1a11ab949  unordered-containers-0.2.21/tests/Regressions.hs
-formatted       d8eab8f8ddd4  unordered-containers-0.2.21/tests/Strictness.hs
-formatted       00cf0a5ee0ea  unordered-containers-0.2.21/tests/Util/Key.hs
-formatted       e865ae48f11b  unpacked-containers-0/Setup.hs
-formatted       8523e9d3c669  unpacked-containers-0/example/Int.hs
-formatted       ba3a254765ca  unpacked-containers-0/example/Main.hs
-formatted       941a76a7e532  unpacked-containers-0/src/Key.hsig
-formatted       0ab7b95772b1  unpacked-containers-0/src/Map.hs
-formatted       406fe8b6f676  unpacked-containers-0/src/Map/Internal.hs
-formatted       412fdc3e3871  unpacked-containers-0/src/Map/Internal/Debug.hs
-formatted       88e3acab50fe  unpacked-containers-0/src/Map/Lazy.hs
-formatted       d160eb88e766  unpacked-containers-0/src/Map/Merge/Lazy.hs
-formatted       3401a14fe602  unpacked-containers-0/src/Map/Merge/Strict.hs
-formatted       1da0e231433b  unpacked-containers-0/src/Map/Strict.hs
-formatted       9e8445172242  unpacked-containers-0/src/Map/Strict/Internal.hs
-formatted       bb6c9398369f  unpacked-containers-0/src/Set.hs
-formatted       185a318216e6  unpacked-containers-0/src/Set/Internal.hs
-formatted       867c9afd504a  unpacked-containers-0/utils/Internal/BitQueue.hs
-formatted       bd087fcec914  unpacked-containers-0/utils/Internal/BitUtil.hs
-formatted       1e6457fb908c  unpacked-containers-0/utils/Internal/PtrEquality.hs
-formatted       534c12741bb9  unpacked-containers-0/utils/Internal/State.hs
-formatted       bc7baa228863  unpacked-containers-0/utils/Internal/StrictFold.hs
-formatted       a772ddb0c63d  unpacked-containers-0/utils/Internal/StrictMaybe.hs
-formatted       b7a091ef4c77  unpacked-containers-0/utils/Internal/StrictPair.hs
-formatted       4a8ac51676df  uuid-types-1.0.6.1/Setup.hs
-formatted       e97eca400518  uuid-types-1.0.6.1/src/Data/UUID/Types.hs
-formatted       a09b001e6a41  uuid-types-1.0.6.1/src/Data/UUID/Types/Internal.hs
-formatted       d63508f44841  uuid-types-1.0.6.1/src/Data/UUID/Types/Internal/Builder.hs
-formatted       ed86f094a194  uuid-types-1.0.6.1/tests/TestUUID.hs
-formatted       e865ae48f11b  vector-0.13.2.0/Setup.hs
-formatted       968ccc63cf5c  vector-0.13.2.0/benchlib/Bench/Vector/Algo/AwShCC.hs
-formatted       8a7c35b680c0  vector-0.13.2.0/benchlib/Bench/Vector/Algo/FindIndexR.hs
-formatted       7536358d3c8c  vector-0.13.2.0/benchlib/Bench/Vector/Algo/HybCC.hs
-formatted       31caf6daa18c  vector-0.13.2.0/benchlib/Bench/Vector/Algo/Leaffix.hs
-formatted       c647f14c61cb  vector-0.13.2.0/benchlib/Bench/Vector/Algo/ListRank.hs
-formatted       bbc9ffdd439f  vector-0.13.2.0/benchlib/Bench/Vector/Algo/MutableSet.hs
-formatted       1b5cb401e1ad  vector-0.13.2.0/benchlib/Bench/Vector/Algo/NextPermutation.hs
-formatted       a1d4d3d489b4  vector-0.13.2.0/benchlib/Bench/Vector/Algo/Quickhull.hs
-formatted       cff7efe83577  vector-0.13.2.0/benchlib/Bench/Vector/Algo/Rootfix.hs
-formatted       bc96aa2b8cdf  vector-0.13.2.0/benchlib/Bench/Vector/Algo/Spectral.hs
-formatted       438dab6789ad  vector-0.13.2.0/benchlib/Bench/Vector/Algo/Tridiag.hs
-formatted       ec97bfaffec3  vector-0.13.2.0/benchlib/Bench/Vector/Tasty.hs
-formatted       368deb66d310  vector-0.13.2.0/benchlib/Bench/Vector/TestData/Graph.hs
-formatted       476c4f42945a  vector-0.13.2.0/benchlib/Bench/Vector/TestData/ParenTree.hs
-formatted       6b1b4aea2361  vector-0.13.2.0/benchmarks/Main.hs
-formatted       77ce7d3b1eda  vector-0.13.2.0/internal/GenUnboxTuple.hs
-formatted       50a769358a75  vector-0.13.2.0/src/Data/Vector.hs
-formatted       5524402837b5  vector-0.13.2.0/src/Data/Vector/Fusion/Bundle.hs
-formatted       2da6c234d40e  vector-0.13.2.0/src/Data/Vector/Fusion/Bundle/Monadic.hs
-formatted       281a320dd1fd  vector-0.13.2.0/src/Data/Vector/Fusion/Bundle/Size.hs
-formatted       8b09b3b8c680  vector-0.13.2.0/src/Data/Vector/Fusion/Stream/Monadic.hs
-formatted       b52b6135f86c  vector-0.13.2.0/src/Data/Vector/Fusion/Util.hs
-formatted       314634869762  vector-0.13.2.0/src/Data/Vector/Generic.hs
-formatted       24e087932bf9  vector-0.13.2.0/src/Data/Vector/Generic/Base.hs
-formatted       6b60cf7d78e7  vector-0.13.2.0/src/Data/Vector/Generic/Mutable.hs
-formatted       14ab0fea35a5  vector-0.13.2.0/src/Data/Vector/Generic/Mutable/Base.hs
-formatted       31ef8684e6a5  vector-0.13.2.0/src/Data/Vector/Generic/New.hs
-formatted       1842a6e1d83f  vector-0.13.2.0/src/Data/Vector/Internal/Check.hs
-formatted       707feb375d98  vector-0.13.2.0/src/Data/Vector/Mutable.hs
-formatted       c77c6d8b48f1  vector-0.13.2.0/src/Data/Vector/Primitive.hs
-formatted       7790a579fd85  vector-0.13.2.0/src/Data/Vector/Primitive/Mutable.hs
-formatted       d63a299a6982  vector-0.13.2.0/src/Data/Vector/Storable.hs
-formatted       f3208fa21c31  vector-0.13.2.0/src/Data/Vector/Storable/Internal.hs
-formatted       a312fe3ca55a  vector-0.13.2.0/src/Data/Vector/Storable/Mutable.hs
-formatted       d056b777cb12  vector-0.13.2.0/src/Data/Vector/Strict.hs
-formatted       3bc69095cb4d  vector-0.13.2.0/src/Data/Vector/Strict/Mutable.hs
-formatted       5a349caedbaf  vector-0.13.2.0/src/Data/Vector/Unboxed.hs
-formatted       1e14851054d6  vector-0.13.2.0/src/Data/Vector/Unboxed/Base.hs
-formatted       58ff39d532e3  vector-0.13.2.0/src/Data/Vector/Unboxed/Mutable.hs
-formatted       e68c2d35dfab  vector-0.13.2.0/tests-inspect/Inspect.hs
-formatted       992258e8ec96  vector-0.13.2.0/tests-inspect/Inspect/DerivingVia.hs
-formatted       005977089309  vector-0.13.2.0/tests-inspect/Inspect/DerivingVia/OtherFoo.hs
-formatted       33f7105f6875  vector-0.13.2.0/tests-inspect/main.hs
-formatted       b27a545b7df5  vector-0.13.2.0/tests/Boilerplater.hs
-formatted       9d758ab214f1  vector-0.13.2.0/tests/Main.hs
-formatted       8061fe09f977  vector-0.13.2.0/tests/Tests/Bundle.hs
-formatted       1525be7e0a46  vector-0.13.2.0/tests/Tests/Move.hs
-formatted       43dd4c8d5a9c  vector-0.13.2.0/tests/Tests/Vector/Boxed.hs
-formatted       54a741f726e9  vector-0.13.2.0/tests/Tests/Vector/Primitive.hs
-formatted       9491118bca38  vector-0.13.2.0/tests/Tests/Vector/Property.hs
-formatted       89d6f5f286c7  vector-0.13.2.0/tests/Tests/Vector/Storable.hs
-formatted       cc9e0bc6f8e0  vector-0.13.2.0/tests/Tests/Vector/Strict.hs
-formatted       891ffe33c45c  vector-0.13.2.0/tests/Tests/Vector/Unboxed.hs
-formatted       9a90ef543177  vector-0.13.2.0/tests/Tests/Vector/UnitTests.hs
-formatted       4e35b27641cf  vector-0.13.2.0/tests/Utilities.hs
-formatted       88ed51490944  vector-0.13.2.0/tests/doctests.hs
-formatted       5561dc5bc4a0  vector-algorithms-0.9.1.0/bench/simple/Blocks.hs
-formatted       8f4b8b5057e3  vector-algorithms-0.9.1.0/bench/simple/Main.hs
-formatted       21a195e3ab16  vector-algorithms-0.9.1.0/src/Data/Vector/Algorithms.hs
-formatted       553211019f78  vector-algorithms-0.9.1.0/src/Data/Vector/Algorithms/AmericanFlag.hs
-formatted       862dcd1590b5  vector-algorithms-0.9.1.0/src/Data/Vector/Algorithms/Common.hs
-formatted       a7c93d247f1d  vector-algorithms-0.9.1.0/src/Data/Vector/Algorithms/Heap.hs
-formatted       385f1aecc6ac  vector-algorithms-0.9.1.0/src/Data/Vector/Algorithms/Insertion.hs
-formatted       c2cb20f40fd9  vector-algorithms-0.9.1.0/src/Data/Vector/Algorithms/Intro.hs
-formatted       4a50f751547a  vector-algorithms-0.9.1.0/src/Data/Vector/Algorithms/Merge.hs
-formatted       5d6eea29399a  vector-algorithms-0.9.1.0/src/Data/Vector/Algorithms/Optimal.hs
-formatted       b7b0f718deb2  vector-algorithms-0.9.1.0/src/Data/Vector/Algorithms/Radix.hs
-formatted       47f1d28b6145  vector-algorithms-0.9.1.0/src/Data/Vector/Algorithms/Search.hs
-formatted       0a376532e9cb  vector-algorithms-0.9.1.0/src/Data/Vector/Algorithms/Tim.hs
-formatted       a9ac57f13756  vector-algorithms-0.9.1.0/tests/properties/Optimal.hs
-formatted       b19d49d0db4b  vector-algorithms-0.9.1.0/tests/properties/Properties.hs
-formatted       9afd19dd61b7  vector-algorithms-0.9.1.0/tests/properties/Tests.hs
-formatted       68c72976d14e  vector-algorithms-0.9.1.0/tests/properties/Util.hs
-formatted       a090ecfca870  wai-3.2.5/Network/Wai.hs
-formatted       eebfbcd85364  wai-3.2.5/Network/Wai/Internal.hs
-formatted       76fdb58b6d05  wai-3.2.5/test/Network/WaiSpec.hs
-formatted       2fbd14b119a4  wai-3.2.5/test/Spec.hs
-formatted       6ebbad2d21ce  warp-3.4.15/Network/Wai/Handler/Warp.hs
-formatted       009ccfac9d51  warp-3.4.15/Network/Wai/Handler/Warp/Buffer.hs
-formatted       f910265f50d3  warp-3.4.15/Network/Wai/Handler/Warp/Conduit.hs
-formatted       c978e6eb627c  warp-3.4.15/Network/Wai/Handler/Warp/Counter.hs
-formatted       26b005936471  warp-3.4.15/Network/Wai/Handler/Warp/Date.hs
-formatted       f0898462d96f  warp-3.4.15/Network/Wai/Handler/Warp/FdCache.hs
-formatted       5c8ff344b068  warp-3.4.15/Network/Wai/Handler/Warp/File.hs
-formatted       e56514093065  warp-3.4.15/Network/Wai/Handler/Warp/FileInfoCache.hs
-formatted       73ea52fed850  warp-3.4.15/Network/Wai/Handler/Warp/HTTP1.hs
-formatted       6099d557a8b5  warp-3.4.15/Network/Wai/Handler/Warp/HTTP2.hs
-formatted       a7debda99dd6  warp-3.4.15/Network/Wai/Handler/Warp/HTTP2/File.hs
-formatted       cd7ebbac04db  warp-3.4.15/Network/Wai/Handler/Warp/HTTP2/PushPromise.hs
-formatted       40821f53b1d9  warp-3.4.15/Network/Wai/Handler/Warp/HTTP2/Request.hs
-formatted       831c4440cde7  warp-3.4.15/Network/Wai/Handler/Warp/HTTP2/Response.hs
-formatted       40e59aa92ecc  warp-3.4.15/Network/Wai/Handler/Warp/HTTP2/Types.hs
-formatted       69c55babd99e  warp-3.4.15/Network/Wai/Handler/Warp/HashMap.hs
-formatted       8abbc71d629a  warp-3.4.15/Network/Wai/Handler/Warp/Header.hs
-formatted       a036771b5a25  warp-3.4.15/Network/Wai/Handler/Warp/IO.hs
-formatted       d92af26eb2ec  warp-3.4.15/Network/Wai/Handler/Warp/Imports.hs
-formatted       98f2e1cfdade  warp-3.4.15/Network/Wai/Handler/Warp/Internal.hs
-formatted       e8583e08a2e4  warp-3.4.15/Network/Wai/Handler/Warp/MultiMap.hs
-formatted       ed16ebc20147  warp-3.4.15/Network/Wai/Handler/Warp/PackInt.hs
-formatted       22e5a5d6d3c9  warp-3.4.15/Network/Wai/Handler/Warp/ReadInt.hs
-formatted       e29d1517c375  warp-3.4.15/Network/Wai/Handler/Warp/Request.hs
-formatted       c7905b72682b  warp-3.4.15/Network/Wai/Handler/Warp/RequestHeader.hs
-formatted       9b74f110bcea  warp-3.4.15/Network/Wai/Handler/Warp/Response.hs
-formatted       27cae25ae83a  warp-3.4.15/Network/Wai/Handler/Warp/ResponseHeader.hs
-formatted       0f91ea78f24d  warp-3.4.15/Network/Wai/Handler/Warp/Run.hs
-formatted       47a04a642ad1  warp-3.4.15/Network/Wai/Handler/Warp/SendFile.hs
-formatted       1df580e8094c  warp-3.4.15/Network/Wai/Handler/Warp/Settings.hs
-formatted       bc4925a06045  warp-3.4.15/Network/Wai/Handler/Warp/ShuttingDown.hs
-formatted       de1fe97e941a  warp-3.4.15/Network/Wai/Handler/Warp/Types.hs
-formatted       f1ff20ab87da  warp-3.4.15/Network/Wai/Handler/Warp/Windows.hs
-formatted       2bef9620132e  warp-3.4.15/Network/Wai/Handler/Warp/WithApplication.hs
-formatted       f3a2c7ee7659  warp-3.4.15/bench/Parser.hs
-formatted       8f739e595518  warp-3.4.15/test/BufferSpec.hs
-formatted       6d25fc643699  warp-3.4.15/test/ConduitSpec.hs
-formatted       103842d1ec84  warp-3.4.15/test/ConnectionSpec.hs
-formatted       3f7b8c3f5246  warp-3.4.15/test/EarlyHintsSpec.hs
-formatted       04c0408bb90a  warp-3.4.15/test/ExceptionSpec.hs
-formatted       6da076d7c2ae  warp-3.4.15/test/FdCacheSpec.hs
-formatted       f91844cc6a8f  warp-3.4.15/test/FileSpec.hs
-formatted       0ba618e41ab1  warp-3.4.15/test/GracefulShutdownSpec.hs
-formatted       4d81d4cdb7c7  warp-3.4.15/test/HTTP.hs
-formatted       70bab0349402  warp-3.4.15/test/PackIntSpec.hs
-formatted       c0ed531ac6d7  warp-3.4.15/test/ReadIntSpec.hs
-formatted       203ea20f13bf  warp-3.4.15/test/RequestSpec.hs
-formatted       4ef55f7e523c  warp-3.4.15/test/ResponseHeaderSpec.hs
-formatted       ac591a85b19f  warp-3.4.15/test/ResponseSpec.hs
-formatted       190ad2e064b1  warp-3.4.15/test/RunSpec.hs
-formatted       12d7c8bf7283  warp-3.4.15/test/SendFileSpec.hs
-formatted       56bf11ebdf68  warp-3.4.15/test/ServerStateSpec.hs
-formatted       2fbd14b119a4  warp-3.4.15/test/Spec.hs
-formatted       6239c41d8ad7  warp-3.4.15/test/WithApplicationSpec.hs
-formatted       c61ebeab72e9  warp-3.4.15/test/doctests.hs
-formatted       c3a0978b358e  xmonad-0.18.1/Main.hs
-formatted       ecba01b7187b  xmonad-0.18.1/man/xmonad.hs
-formatted       3b6f53962e81  xmonad-0.18.1/src/XMonad.hs
-formatted       a8a2516e84e9  xmonad-0.18.1/src/XMonad/Config.hs
-formatted       9aa143cf0593  xmonad-0.18.1/src/XMonad/Core.hs
-formatted       678fc26f9299  xmonad-0.18.1/src/XMonad/Layout.hs
-formatted       68ebe2886589  xmonad-0.18.1/src/XMonad/Main.hs
-formatted       fececd53a9f5  xmonad-0.18.1/src/XMonad/ManageHook.hs
-formatted       e11a33d9123d  xmonad-0.18.1/src/XMonad/Operations.hs
-formatted       92d9b2f9aecb  xmonad-0.18.1/src/XMonad/StackSet.hs
-formatted       710ec0764541  xmonad-0.18.1/tests/Instances.hs
-formatted       150f94b8a646  xmonad-0.18.1/tests/Properties.hs
-formatted       b9cbebbac632  xmonad-0.18.1/tests/Properties/Delete.hs
-formatted       2b2b85b4c7fe  xmonad-0.18.1/tests/Properties/Failure.hs
-formatted       2825306e83f9  xmonad-0.18.1/tests/Properties/Floating.hs
-formatted       ae9be34908bc  xmonad-0.18.1/tests/Properties/Focus.hs
-formatted       1418915d6ac8  xmonad-0.18.1/tests/Properties/GreedyView.hs
-formatted       74ca5ec847bb  xmonad-0.18.1/tests/Properties/Insert.hs
-formatted       2d0f361b70f7  xmonad-0.18.1/tests/Properties/Layout/Full.hs
-formatted       af6a26b0fa64  xmonad-0.18.1/tests/Properties/Layout/Tall.hs
-formatted       65709ceae761  xmonad-0.18.1/tests/Properties/Screen.hs
-formatted       13ed9089c892  xmonad-0.18.1/tests/Properties/Shift.hs
-formatted       879d6f9db8a2  xmonad-0.18.1/tests/Properties/Stack.hs
-formatted       ba836152eb5d  xmonad-0.18.1/tests/Properties/StackSet.hs
-formatted       4372dd576612  xmonad-0.18.1/tests/Properties/Swap.hs
-formatted       f6f63b59cfb0  xmonad-0.18.1/tests/Properties/View.hs
-formatted       cd8d73c03759  xmonad-0.18.1/tests/Properties/Workspace.hs
-formatted       4e65334f7f2a  xmonad-0.18.1/tests/Utils.hs
-formatted       0ddb1fa8af3e  yesod-core-1.7.0.0/bench/widget.hs
-formatted       810a9b2932db  yesod-core-1.7.0.0/src/Yesod/Core.hs
-formatted       76a91abab9c7  yesod-core-1.7.0.0/src/Yesod/Core/Class/Breadcrumbs.hs
-formatted       d94322757109  yesod-core-1.7.0.0/src/Yesod/Core/Class/Dispatch.hs
-formatted       4e0e4c27884b  yesod-core-1.7.0.0/src/Yesod/Core/Class/Dispatch/ToParentRoute.hs
-formatted       96d18ec66a91  yesod-core-1.7.0.0/src/Yesod/Core/Class/Handler.hs
-formatted       3b253a2dbaa1  yesod-core-1.7.0.0/src/Yesod/Core/Class/Yesod.hs
-formatted       7b7185683c72  yesod-core-1.7.0.0/src/Yesod/Core/Content.hs
-formatted       bc567e14f9ae  yesod-core-1.7.0.0/src/Yesod/Core/Dispatch.hs
-formatted       180c2fc8e3b6  yesod-core-1.7.0.0/src/Yesod/Core/Handler.hs
-formatted       88d4d8c2323a  yesod-core-1.7.0.0/src/Yesod/Core/Internal.hs
-formatted       212235b50682  yesod-core-1.7.0.0/src/Yesod/Core/Internal/LiteApp.hs
-formatted       b02eb40e75c3  yesod-core-1.7.0.0/src/Yesod/Core/Internal/Request.hs
-formatted       f6b39e51d0e8  yesod-core-1.7.0.0/src/Yesod/Core/Internal/Response.hs
-formatted       356a82e11c3e  yesod-core-1.7.0.0/src/Yesod/Core/Internal/Run.hs
-formatted       da5ec533b3d0  yesod-core-1.7.0.0/src/Yesod/Core/Internal/Session.hs
-formatted       a3a034ad73c8  yesod-core-1.7.0.0/src/Yesod/Core/Internal/TH.hs
-formatted       a4d70c77b953  yesod-core-1.7.0.0/src/Yesod/Core/Internal/Util.hs
-formatted       3c6023c01f8d  yesod-core-1.7.0.0/src/Yesod/Core/Json.hs
-formatted       3d3ea6cd2254  yesod-core-1.7.0.0/src/Yesod/Core/TypeCache.hs
-formatted       69979bd29865  yesod-core-1.7.0.0/src/Yesod/Core/Types.hs
-formatted       38102a09e32a  yesod-core-1.7.0.0/src/Yesod/Core/Types/Content.hs
-formatted       49991219fbf5  yesod-core-1.7.0.0/src/Yesod/Core/Types/ErrorResponse.hs
-formatted       2f42d728713c  yesod-core-1.7.0.0/src/Yesod/Core/Types/HandlerContents.hs
-formatted       eea90c376092  yesod-core-1.7.0.0/src/Yesod/Core/Types/TypedContent.hs
-formatted       abfe32d3eadd  yesod-core-1.7.0.0/src/Yesod/Core/Unsafe.hs
-formatted       1620502b047c  yesod-core-1.7.0.0/src/Yesod/Core/Widget.hs
-formatted       b35c9ac0daff  yesod-core-1.7.0.0/src/Yesod/Routes/Class.hs
-formatted       230bf54c2b5c  yesod-core-1.7.0.0/src/Yesod/Routes/Overlap.hs
-formatted       ca6f61d82ac7  yesod-core-1.7.0.0/src/Yesod/Routes/Parse.hs
-formatted       7bcf63c3b7e5  yesod-core-1.7.0.0/src/Yesod/Routes/TH.hs
-formatted       d14da8f68696  yesod-core-1.7.0.0/src/Yesod/Routes/TH/Dispatch.hs
-formatted       ecd2aee91940  yesod-core-1.7.0.0/src/Yesod/Routes/TH/Internal.hs
-formatted       28cf4bff1605  yesod-core-1.7.0.0/src/Yesod/Routes/TH/ParseRoute.hs
-formatted       fd3fd980369e  yesod-core-1.7.0.0/src/Yesod/Routes/TH/RenderRoute.hs
-formatted       f162f96e2b36  yesod-core-1.7.0.0/src/Yesod/Routes/TH/RouteAttrs.hs
-formatted       d689ca250357  yesod-core-1.7.0.0/src/Yesod/Routes/TH/Types.hs
-formatted       4cf83d0b0f07  yesod-core-1.7.0.0/test/Hierarchy.hs
-formatted       acf61854d2ec  yesod-core-1.7.0.0/test/Hierarchy/Admin.hs
-formatted       38126f8a1ed6  yesod-core-1.7.0.0/test/Hierarchy/Nest.hs
-formatted       a739150f03f1  yesod-core-1.7.0.0/test/Hierarchy/Nest2.hs
-formatted       1998d7e7b6f0  yesod-core-1.7.0.0/test/Hierarchy/Nest2/NestInner.hs
-formatted       6e683051218c  yesod-core-1.7.0.0/test/Hierarchy/Nest3.hs
-formatted       929e2576fe48  yesod-core-1.7.0.0/test/Hierarchy/ResourceTree.hs
-formatted       f70ab72cd608  yesod-core-1.7.0.0/test/Route/DeepAritySpec.hs
-formatted       1a22181a9cf2  yesod-core-1.7.0.0/test/Route/DeepArityTypes.hs
-formatted       6cf89c893af0  yesod-core-1.7.0.0/test/Route/DiscoveryModeSpec.hs
-formatted       ccb5ba6f357d  yesod-core-1.7.0.0/test/Route/FallthroughSpec.hs
-formatted       83547078da44  yesod-core-1.7.0.0/test/Route/FocusLeafConsSpec.hs
-formatted       b96279c392b7  yesod-core-1.7.0.0/test/Route/InlineParseClausesSpec.hs
-formatted       3a68d4c4db75  yesod-core-1.7.0.0/test/Route/InstanceProbeSpec.hs
-formatted       5f762e160869  yesod-core-1.7.0.0/test/Route/InstanceProbeTypes.hs
-formatted       54180e9629d7  yesod-core-1.7.0.0/test/Route/MissingFocusTargetSpec.hs
-formatted       4ca53b8c21db  yesod-core-1.7.0.0/test/Route/MissingFocusTargetTypes.hs
-formatted       c4733044c565  yesod-core-1.7.0.0/test/Route/NestedParseClausesSpec.hs
-formatted       96c9db79de94  yesod-core-1.7.0.0/test/Route/PureQ.hs
-formatted       2b6dc0f5b281  yesod-core-1.7.0.0/test/Route/RenderRouteSpec.hs
-formatted       7c4edfc6aaf4  yesod-core-1.7.0.0/test/Route/RouteAttrSpec.hs
-formatted       9303c7a203b3  yesod-core-1.7.0.0/test/Route/SubDispatchAritySpec.hs
-formatted       9f64037d04f8  yesod-core-1.7.0.0/test/RouteSpec.hs
-formatted       186318ce7e7a  yesod-core-1.7.0.0/test/YesodCoreTest.hs
-formatted       3b947e4eb93d  yesod-core-1.7.0.0/test/YesodCoreTest/Auth.hs
-formatted       6642299a9e79  yesod-core-1.7.0.0/test/YesodCoreTest/BangSeparatorRuntime.hs
-formatted       e22fa3279a0b  yesod-core-1.7.0.0/test/YesodCoreTest/Breadcrumb.hs
-formatted       d238709329bc  yesod-core-1.7.0.0/test/YesodCoreTest/Cache.hs
-formatted       bc94d0ffbb1b  yesod-core-1.7.0.0/test/YesodCoreTest/CleanPath.hs
-formatted       36a004c6a4e3  yesod-core-1.7.0.0/test/YesodCoreTest/Content.hs
-formatted       c32367062763  yesod-core-1.7.0.0/test/YesodCoreTest/Csrf.hs
-formatted       4cf415b23a2b  yesod-core-1.7.0.0/test/YesodCoreTest/ErrorHandling.hs
-formatted       34f03e725295  yesod-core-1.7.0.0/test/YesodCoreTest/ErrorHandling/CustomApp.hs
-formatted       7bf251212b4a  yesod-core-1.7.0.0/test/YesodCoreTest/Exceptions.hs
-formatted       a4440e79281d  yesod-core-1.7.0.0/test/YesodCoreTest/FallthroughDispatch/Resources.hs
-formatted       e4f8f0ea3e72  yesod-core-1.7.0.0/test/YesodCoreTest/FallthroughDispatch/Runtime.hs
-formatted       4d5c1d9a3551  yesod-core-1.7.0.0/test/YesodCoreTest/FallthroughMatrix/FirstFoo.hs
-formatted       948b8bdc1c2f  yesod-core-1.7.0.0/test/YesodCoreTest/FallthroughMatrix/Resources.hs
-formatted       8c70739a50e7  yesod-core-1.7.0.0/test/YesodCoreTest/FallthroughMatrix/Runtime.hs
-formatted       69eb694028b1  yesod-core-1.7.0.0/test/YesodCoreTest/Header.hs
-formatted       58f029383018  yesod-core-1.7.0.0/test/YesodCoreTest/InternalRequest.hs
-formatted       b9334b4bc3fb  yesod-core-1.7.0.0/test/YesodCoreTest/JsAttributes.hs
-formatted       c0d239626dd9  yesod-core-1.7.0.0/test/YesodCoreTest/JsLoader.hs
-formatted       21bf15831aa6  yesod-core-1.7.0.0/test/YesodCoreTest/JsLoaderSites/Bottom.hs
-formatted       d5d77fa729fa  yesod-core-1.7.0.0/test/YesodCoreTest/Json.hs
-formatted       2b74547d4334  yesod-core-1.7.0.0/test/YesodCoreTest/Links.hs
-formatted       ab54e89c96fb  yesod-core-1.7.0.0/test/YesodCoreTest/LiteApp.hs
-formatted       418e263ba672  yesod-core-1.7.0.0/test/YesodCoreTest/Media.hs
-formatted       b7985ba8cf16  yesod-core-1.7.0.0/test/YesodCoreTest/MediaData.hs
-formatted       2e1b831d2b2d  yesod-core-1.7.0.0/test/YesodCoreTest/Meta.hs
-formatted       8bfcf819eb45  yesod-core-1.7.0.0/test/YesodCoreTest/MultiPieceNestedRuntime.hs
-formatted       fb29902bb9c5  yesod-core-1.7.0.0/test/YesodCoreTest/NestedDispatch/InnerR.hs
-formatted       4c9ceb4fb663  yesod-core-1.7.0.0/test/YesodCoreTest/NestedDispatch/NestR.hs
-formatted       4aed48f429ab  yesod-core-1.7.0.0/test/YesodCoreTest/NestedDispatch/Parent0R.hs
-formatted       0f8ca6cd8fe6  yesod-core-1.7.0.0/test/YesodCoreTest/NestedDispatch/Parent0R/Child0R.hs
-formatted       762195ad3d8f  yesod-core-1.7.0.0/test/YesodCoreTest/NestedDispatch/ParentR.hs
-formatted       e8ef84185226  yesod-core-1.7.0.0/test/YesodCoreTest/NestedDispatch/Resources.hs
-formatted       a5347308f9b0  yesod-core-1.7.0.0/test/YesodCoreTest/NestedDispatch/Runtime.hs
-formatted       14c0f6cfed84  yesod-core-1.7.0.0/test/YesodCoreTest/NoOverloadedStrings.hs
-formatted       7624728d5d99  yesod-core-1.7.0.0/test/YesodCoreTest/NoOverloadedStringsSub.hs
-formatted       982dc60b18aa  yesod-core-1.7.0.0/test/YesodCoreTest/ParamDefaultSplit/Data.hs
-formatted       a8472a7588f7  yesod-core-1.7.0.0/test/YesodCoreTest/ParamDefaultSplit/Runtime.hs
-formatted       3b1830a98315  yesod-core-1.7.0.0/test/YesodCoreTest/ParamFallthroughRuntime.hs
-formatted       93933a8e4c0d  yesod-core-1.7.0.0/test/YesodCoreTest/ParamFocusSplit/Resources.hs
-formatted       0d171db106f1  yesod-core-1.7.0.0/test/YesodCoreTest/ParamFocusSplit/Runtime.hs
-formatted       6f7510d0b57c  yesod-core-1.7.0.0/test/YesodCoreTest/ParamFocusSplit/SubR.hs
-formatted       46dbd15fa23d  yesod-core-1.7.0.0/test/YesodCoreTest/ParamNestedNoFallthroughRuntime.hs
-formatted       caf19758a717  yesod-core-1.7.0.0/test/YesodCoreTest/ParamNoExplicitArgs.hs
-formatted       30470908614f  yesod-core-1.7.0.0/test/YesodCoreTest/ParamNoFallthroughRuntime.hs
-formatted       cf6ee78ba4ee  yesod-core-1.7.0.0/test/YesodCoreTest/ParamSubsite/Data.hs
-formatted       179fb9bca0b8  yesod-core-1.7.0.0/test/YesodCoreTest/ParamSubsite/InstanceRuntime.hs
-formatted       3597a9c3f0b7  yesod-core-1.7.0.0/test/YesodCoreTest/ParamSubsite/SplitNested.hs
-formatted       98d7865bd49f  yesod-core-1.7.0.0/test/YesodCoreTest/ParamSubsite/SplitRuntime.hs
-formatted       eb2add72057d  yesod-core-1.7.0.0/test/YesodCoreTest/ParamTopLevelRuntime.hs
-formatted       f991cd7adeb7  yesod-core-1.7.0.0/test/YesodCoreTest/ParameterizedSite.hs
-formatted       fa83ece3173f  yesod-core-1.7.0.0/test/YesodCoreTest/ParameterizedSite/Compat.hs
-formatted       e39ccad26de5  yesod-core-1.7.0.0/test/YesodCoreTest/ParameterizedSite/PolyAny.hs
-formatted       9fd56f7011c4  yesod-core-1.7.0.0/test/YesodCoreTest/ParameterizedSite/PolyShow.hs
-formatted       c9b7c8d2f647  yesod-core-1.7.0.0/test/YesodCoreTest/ParameterizedSite/SubRoute.hs
-formatted       0295cf17281c  yesod-core-1.7.0.0/test/YesodCoreTest/ParameterizedSubData.hs
-formatted       18a74bf9331c  yesod-core-1.7.0.0/test/YesodCoreTest/ParameterizedSubDispatch.hs
-formatted       235413c6bdea  yesod-core-1.7.0.0/test/YesodCoreTest/ParameterizedSubDispatch/Data.hs
-formatted       611119a277d4  yesod-core-1.7.0.0/test/YesodCoreTest/ParameterizedSubDispatchRuntime.hs
-formatted       5ce3614534ad  yesod-core-1.7.0.0/test/YesodCoreTest/ParameterizedSubDispatchRuntime/Data.hs
-formatted       30f807016614  yesod-core-1.7.0.0/test/YesodCoreTest/RawResponse.hs
-formatted       4cc4d0ea318e  yesod-core-1.7.0.0/test/YesodCoreTest/Redirect.hs
-formatted       ddda63d607db  yesod-core-1.7.0.0/test/YesodCoreTest/RenderRouteSpec.hs
-formatted       139e78486aea  yesod-core-1.7.0.0/test/YesodCoreTest/RenderRouteSpec/TH.hs
-formatted       18f4acb4f7f4  yesod-core-1.7.0.0/test/YesodCoreTest/Reps.hs
-formatted       4f0780801c93  yesod-core-1.7.0.0/test/YesodCoreTest/RequestBodySize.hs
-formatted       bf72ad1f5d18  yesod-core-1.7.0.0/test/YesodCoreTest/RuntimeHarness.hs
-formatted       a03f5bc57962  yesod-core-1.7.0.0/test/YesodCoreTest/SplitSubsite/Data.hs
-formatted       df70dd2651a7  yesod-core-1.7.0.0/test/YesodCoreTest/SplitSubsite/NestedR.hs
-formatted       6b2e0c152d09  yesod-core-1.7.0.0/test/YesodCoreTest/SplitSubsite/Runtime.hs
-formatted       a05df238a9e5  yesod-core-1.7.0.0/test/YesodCoreTest/Ssl.hs
-formatted       203d5f3df4f0  yesod-core-1.7.0.0/test/YesodCoreTest/Streaming.hs
-formatted       1bb69ad8619d  yesod-core-1.7.0.0/test/YesodCoreTest/StubLaxSameSite.hs
-formatted       4d3bca26a6db  yesod-core-1.7.0.0/test/YesodCoreTest/StubSslOnly.hs
-formatted       71fb08d5eb96  yesod-core-1.7.0.0/test/YesodCoreTest/StubStrictSameSite.hs
-formatted       7fea39a22dcb  yesod-core-1.7.0.0/test/YesodCoreTest/StubUnsecured.hs
-formatted       65fb43f7be25  yesod-core-1.7.0.0/test/YesodCoreTest/SubSub.hs
-formatted       51df86ac759c  yesod-core-1.7.0.0/test/YesodCoreTest/SubSubData.hs
-formatted       7cd0e7170008  yesod-core-1.7.0.0/test/YesodCoreTest/SubsiteFallthrough/Data.hs
-formatted       d10fd62ff3f7  yesod-core-1.7.0.0/test/YesodCoreTest/SubsiteFallthrough/Nested.hs
-formatted       3b18d5d17513  yesod-core-1.7.0.0/test/YesodCoreTest/SubsiteFallthrough/Runtime.hs
-formatted       440f7a2f5da2  yesod-core-1.7.0.0/test/YesodCoreTest/SubsiteOptsFallthrough/Data.hs
-formatted       9726650eef04  yesod-core-1.7.0.0/test/YesodCoreTest/SubsiteOptsFallthrough/Runtime.hs
-formatted       f8c3fc7e4983  yesod-core-1.7.0.0/test/YesodCoreTest/WaiSubsite.hs
-formatted       f7823af32c7d  yesod-core-1.7.0.0/test/YesodCoreTest/Widget.hs
-formatted       a3265609217d  yesod-core-1.7.0.0/test/YesodCoreTest/YesodTest.hs
-formatted       84b97f6c84a6  yesod-core-1.7.0.0/test/YesodCoreTest/ZeroPieceShadow/FallApp.hs
-formatted       655445cfd3a8  yesod-core-1.7.0.0/test/YesodCoreTest/ZeroPieceShadow/ShadowApp.hs
-formatted       829a6148e881  yesod-core-1.7.0.0/test/YesodCoreTest/ZeroPieceShadowRuntime.hs
-formatted       23bd2996a55a  yesod-core-1.7.0.0/test/test.hs
+# Generated: run the test suite with TILIA_HACKAGE_ACCEPT=1.
+# See Tilia.Corpus.Manifest for what the outcomes mean, and the
+# matching .report for why each example that is not `formatted` is
+# not.
+
+formatted       49631d71aef8  Agda-2.8.0/src/agda-mode/Main.hs
+formatted       a09d85726b60  Agda-2.8.0/src/data/MAlonzo/src/MAlonzo/RTE.hs
+formatted       e1c95f5020f4  Agda-2.8.0/src/data/MAlonzo/src/MAlonzo/RTE/Float.hs
+formatted       25502884f65a  Agda-2.8.0/src/full/Agda/Benchmarking.hs
+formatted       d79a284ce3ec  Agda-2.8.0/src/full/Agda/Compiler/Backend.hs
+formatted       3913402b23db  Agda-2.8.0/src/full/Agda/Compiler/Backend/Base.hs
+formatted       b8be5cf3b8d8  Agda-2.8.0/src/full/Agda/Compiler/Builtin.hs
+formatted       0c8a3d8e190e  Agda-2.8.0/src/full/Agda/Compiler/CallCompiler.hs
+formatted       0e34c3c69a9b  Agda-2.8.0/src/full/Agda/Compiler/Common.hs
+formatted       dc500fd9c11c  Agda-2.8.0/src/full/Agda/Compiler/JS/Compiler.hs
+formatted       73bf3e99e9bf  Agda-2.8.0/src/full/Agda/Compiler/JS/Pretty.hs
+formatted       2bca51d0c7fb  Agda-2.8.0/src/full/Agda/Compiler/JS/Substitution.hs
+formatted       039ec43c5ce2  Agda-2.8.0/src/full/Agda/Compiler/JS/Syntax.hs
+formatted       fee03e2189f2  Agda-2.8.0/src/full/Agda/Compiler/MAlonzo/Coerce.hs
+formatted       24e49118c6e4  Agda-2.8.0/src/full/Agda/Compiler/MAlonzo/Compiler.hs
+formatted       1ccb1c4b018e  Agda-2.8.0/src/full/Agda/Compiler/MAlonzo/Encode.hs
+formatted       c4906415b96d  Agda-2.8.0/src/full/Agda/Compiler/MAlonzo/HaskellTypes.hs
+formatted       6eb39405d27b  Agda-2.8.0/src/full/Agda/Compiler/MAlonzo/Misc.hs
+formatted       14f5dd53f3c1  Agda-2.8.0/src/full/Agda/Compiler/MAlonzo/Pragmas.hs
+formatted       88a1e82b5f74  Agda-2.8.0/src/full/Agda/Compiler/MAlonzo/Pretty.hs
+formatted       b4c7711cb09e  Agda-2.8.0/src/full/Agda/Compiler/MAlonzo/Primitives.hs
+formatted       7809f45ad61e  Agda-2.8.0/src/full/Agda/Compiler/MAlonzo/Strict.hs
+formatted       2bc866734028  Agda-2.8.0/src/full/Agda/Compiler/ToTreeless.hs
+formatted       86231c7c0852  Agda-2.8.0/src/full/Agda/Compiler/Treeless/AsPatterns.hs
+formatted       77654b7ff920  Agda-2.8.0/src/full/Agda/Compiler/Treeless/Builtin.hs
+formatted       561a35d7273e  Agda-2.8.0/src/full/Agda/Compiler/Treeless/Compare.hs
+formatted       804ff01447b7  Agda-2.8.0/src/full/Agda/Compiler/Treeless/EliminateDefaults.hs
+formatted       8d55c9a68322  Agda-2.8.0/src/full/Agda/Compiler/Treeless/EliminateLiteralPatterns.hs
+formatted       89703a014803  Agda-2.8.0/src/full/Agda/Compiler/Treeless/Erase.hs
+formatted       4bf71aa72967  Agda-2.8.0/src/full/Agda/Compiler/Treeless/Erase.hs-boot
+formatted       3cf68021e349  Agda-2.8.0/src/full/Agda/Compiler/Treeless/GuardsToPrims.hs
+formatted       6c3ba9a36f77  Agda-2.8.0/src/full/Agda/Compiler/Treeless/Identity.hs
+formatted       f933510f2058  Agda-2.8.0/src/full/Agda/Compiler/Treeless/NormalizeNames.hs
+formatted       e6f4a71ab1b1  Agda-2.8.0/src/full/Agda/Compiler/Treeless/Pretty.hs
+formatted       9e9ffec9fb88  Agda-2.8.0/src/full/Agda/Compiler/Treeless/Pretty.hs-boot
+formatted       74e93455c9ee  Agda-2.8.0/src/full/Agda/Compiler/Treeless/Simplify.hs
+formatted       a7a83a4fbd95  Agda-2.8.0/src/full/Agda/Compiler/Treeless/Subst.hs
+formatted       ef0e96f715ce  Agda-2.8.0/src/full/Agda/Compiler/Treeless/Uncase.hs
+formatted       a8aa84a42d2b  Agda-2.8.0/src/full/Agda/Compiler/Treeless/Unused.hs
+formatted       f9b2306cd93c  Agda-2.8.0/src/full/Agda/ImpossibleTest.hs
+formatted       298a1727013d  Agda-2.8.0/src/full/Agda/Interaction/AgdaTop.hs
+formatted       85c046e57372  Agda-2.8.0/src/full/Agda/Interaction/Base.hs
+formatted       11610f116b89  Agda-2.8.0/src/full/Agda/Interaction/BasicOps.hs
+formatted       aae00389ebed  Agda-2.8.0/src/full/Agda/Interaction/BuildLibrary.hs
+formatted       bc88e948d2f7  Agda-2.8.0/src/full/Agda/Interaction/Command.hs
+formatted       060a0fac77ff  Agda-2.8.0/src/full/Agda/Interaction/CommandLine.hs
+formatted       ae8f2c0c605d  Agda-2.8.0/src/full/Agda/Interaction/EmacsCommand.hs
+formatted       fd7f87f66bbd  Agda-2.8.0/src/full/Agda/Interaction/EmacsTop.hs
+formatted       05a9823fff57  Agda-2.8.0/src/full/Agda/Interaction/ExitCode.hs
+formatted       ed0151703b68  Agda-2.8.0/src/full/Agda/Interaction/FindFile.hs
+formatted       4bf0ab72f5fd  Agda-2.8.0/src/full/Agda/Interaction/Highlighting/Common.hs
+formatted       1fb0462a1b45  Agda-2.8.0/src/full/Agda/Interaction/Highlighting/Dot.hs
+formatted       dfec1985daed  Agda-2.8.0/src/full/Agda/Interaction/Highlighting/Dot/Backend.hs
+formatted       29a746007907  Agda-2.8.0/src/full/Agda/Interaction/Highlighting/Dot/Base.hs
+formatted       01dd738e3044  Agda-2.8.0/src/full/Agda/Interaction/Highlighting/Emacs.hs
+formatted       13a4d47853b5  Agda-2.8.0/src/full/Agda/Interaction/Highlighting/FromAbstract.hs
+formatted       7b0b5651b4e5  Agda-2.8.0/src/full/Agda/Interaction/Highlighting/Generate.hs
+formatted       8bc140b18e62  Agda-2.8.0/src/full/Agda/Interaction/Highlighting/Generate.hs-boot
+formatted       9a3fde618f2b  Agda-2.8.0/src/full/Agda/Interaction/Highlighting/HTML.hs
+formatted       bd2f8ef840d9  Agda-2.8.0/src/full/Agda/Interaction/Highlighting/HTML/Backend.hs
+formatted       964565d7cc5c  Agda-2.8.0/src/full/Agda/Interaction/Highlighting/HTML/Base.hs
+formatted       144b5e4a5c6d  Agda-2.8.0/src/full/Agda/Interaction/Highlighting/JSON.hs
+formatted       b5bb035e43f1  Agda-2.8.0/src/full/Agda/Interaction/Highlighting/LaTeX.hs
+formatted       a94ee9a4894c  Agda-2.8.0/src/full/Agda/Interaction/Highlighting/LaTeX/Backend.hs
+formatted       a391da814c60  Agda-2.8.0/src/full/Agda/Interaction/Highlighting/LaTeX/Base.hs
+formatted       c7d3fc2d4e61  Agda-2.8.0/src/full/Agda/Interaction/Highlighting/Precise.hs
+formatted       dd7ad58a3050  Agda-2.8.0/src/full/Agda/Interaction/Highlighting/Range.hs
+formatted       272381635f9f  Agda-2.8.0/src/full/Agda/Interaction/Highlighting/Vim.hs
+formatted       577423b5244c  Agda-2.8.0/src/full/Agda/Interaction/Imports.hs
+formatted       35e9a0d21e62  Agda-2.8.0/src/full/Agda/Interaction/Imports.hs-boot
+formatted       e3bd80ecb410  Agda-2.8.0/src/full/Agda/Interaction/InteractionTop.hs
+formatted       178e31185b1f  Agda-2.8.0/src/full/Agda/Interaction/JSON.hs
+formatted       dfcc55e73d3e  Agda-2.8.0/src/full/Agda/Interaction/JSONTop.hs
+formatted       a64b5063f82c  Agda-2.8.0/src/full/Agda/Interaction/Library.hs
+formatted       0a52eeb23c97  Agda-2.8.0/src/full/Agda/Interaction/Library/Base.hs
+formatted       3bf0ba4c41ec  Agda-2.8.0/src/full/Agda/Interaction/Library/Parse.hs
+formatted       d0420a6867f7  Agda-2.8.0/src/full/Agda/Interaction/MakeCase.hs
+formatted       668c82296788  Agda-2.8.0/src/full/Agda/Interaction/Monad.hs
+formatted       c831a742f557  Agda-2.8.0/src/full/Agda/Interaction/Options.hs
+formatted       7de453300958  Agda-2.8.0/src/full/Agda/Interaction/Options/Base.hs
+formatted       48ff24ca28ef  Agda-2.8.0/src/full/Agda/Interaction/Options/Errors.hs
+formatted       b8c44d6ae242  Agda-2.8.0/src/full/Agda/Interaction/Options/HasOptions.hs
+formatted       9df1dd711623  Agda-2.8.0/src/full/Agda/Interaction/Options/Help.hs
+formatted       686072f54b03  Agda-2.8.0/src/full/Agda/Interaction/Options/Lenses.hs
+formatted       aac48adb35f9  Agda-2.8.0/src/full/Agda/Interaction/Options/Types.hs
+formatted       635245e88614  Agda-2.8.0/src/full/Agda/Interaction/Options/Warnings.hs
+formatted       60c929f054dc  Agda-2.8.0/src/full/Agda/Interaction/Output.hs
+formatted       dfb9d2911e31  Agda-2.8.0/src/full/Agda/Interaction/Response.hs
+formatted       f405306dac74  Agda-2.8.0/src/full/Agda/Interaction/Response/Base.hs
+formatted       a985c9516710  Agda-2.8.0/src/full/Agda/Interaction/SearchAbout.hs
+partly-checked  f05dc9272c97  Agda-2.8.0/src/full/Agda/Main.hs
+formatted       89199cd198ba  Agda-2.8.0/src/full/Agda/Mimer/Mimer.hs
+formatted       57395b38d2dc  Agda-2.8.0/src/full/Agda/Mimer/Options.hs
+formatted       5fae35c56bb2  Agda-2.8.0/src/full/Agda/Syntax/Abstract.hs
+formatted       9d30f16474b3  Agda-2.8.0/src/full/Agda/Syntax/Abstract/Name.hs
+formatted       1c79078a5fb9  Agda-2.8.0/src/full/Agda/Syntax/Abstract/Pattern.hs
+formatted       8316d8428308  Agda-2.8.0/src/full/Agda/Syntax/Abstract/PatternSynonyms.hs
+formatted       e3dd5c96d23b  Agda-2.8.0/src/full/Agda/Syntax/Abstract/Pretty.hs
+formatted       f8d4c077cefe  Agda-2.8.0/src/full/Agda/Syntax/Abstract/UsedNames.hs
+formatted       bf6215d3331a  Agda-2.8.0/src/full/Agda/Syntax/Abstract/Views.hs
+formatted       026f0e0360c1  Agda-2.8.0/src/full/Agda/Syntax/Builtin.hs
+formatted       a37d88e45a8a  Agda-2.8.0/src/full/Agda/Syntax/Common.hs
+formatted       cf7769241013  Agda-2.8.0/src/full/Agda/Syntax/Common/Aspect.hs
+formatted       1bda19860ea7  Agda-2.8.0/src/full/Agda/Syntax/Common/KeywordRange.hs
+formatted       117742e72e2b  Agda-2.8.0/src/full/Agda/Syntax/Common/Pretty.hs
+formatted       2e8f5cce7ff0  Agda-2.8.0/src/full/Agda/Syntax/Common/Pretty/ANSI.hs
+formatted       444c70d7cea0  Agda-2.8.0/src/full/Agda/Syntax/Concrete.hs
+formatted       2b7500f763b8  Agda-2.8.0/src/full/Agda/Syntax/Concrete/Attribute.hs
+formatted       e02cbb3e3df7  Agda-2.8.0/src/full/Agda/Syntax/Concrete/Definitions.hs
+formatted       d8e84ff095ee  Agda-2.8.0/src/full/Agda/Syntax/Concrete/Definitions/Errors.hs
+formatted       734c37f3668a  Agda-2.8.0/src/full/Agda/Syntax/Concrete/Definitions/Monad.hs
+formatted       a6a0872609c5  Agda-2.8.0/src/full/Agda/Syntax/Concrete/Definitions/Types.hs
+formatted       7e1f7f1b450f  Agda-2.8.0/src/full/Agda/Syntax/Concrete/Fixity.hs
+formatted       2b367fb2a26b  Agda-2.8.0/src/full/Agda/Syntax/Concrete/Generic.hs
+formatted       781460305ee7  Agda-2.8.0/src/full/Agda/Syntax/Concrete/Glyph.hs
+formatted       f7413daeeabe  Agda-2.8.0/src/full/Agda/Syntax/Concrete/Name.hs
+formatted       3ae6f99075ed  Agda-2.8.0/src/full/Agda/Syntax/Concrete/Operators.hs
+formatted       ac8e63360955  Agda-2.8.0/src/full/Agda/Syntax/Concrete/Operators/Parser.hs
+formatted       6c8b6ee138eb  Agda-2.8.0/src/full/Agda/Syntax/Concrete/Operators/Parser/Monad.hs
+formatted       179a62f15f49  Agda-2.8.0/src/full/Agda/Syntax/Concrete/Pattern.hs
+formatted       612751afbd91  Agda-2.8.0/src/full/Agda/Syntax/Concrete/Pretty.hs
+formatted       ad90c5dcb173  Agda-2.8.0/src/full/Agda/Syntax/DoNotation.hs
+formatted       7652424f8dfb  Agda-2.8.0/src/full/Agda/Syntax/Fixity.hs
+formatted       04cf6802a274  Agda-2.8.0/src/full/Agda/Syntax/IdiomBrackets.hs
+formatted       fbb2e3fa09fb  Agda-2.8.0/src/full/Agda/Syntax/Info.hs
+formatted       5a28198fb715  Agda-2.8.0/src/full/Agda/Syntax/Internal.hs
+formatted       3ad21e691141  Agda-2.8.0/src/full/Agda/Syntax/Internal/Blockers.hs
+formatted       3c91ae179e5a  Agda-2.8.0/src/full/Agda/Syntax/Internal/Defs.hs
+formatted       788ac982bb31  Agda-2.8.0/src/full/Agda/Syntax/Internal/Elim.hs
+formatted       1e92097377ec  Agda-2.8.0/src/full/Agda/Syntax/Internal/Generic.hs
+formatted       7a49bcafebbf  Agda-2.8.0/src/full/Agda/Syntax/Internal/MetaVars.hs
+formatted       b1a568d7db87  Agda-2.8.0/src/full/Agda/Syntax/Internal/Names.hs
+formatted       08b63efabf6a  Agda-2.8.0/src/full/Agda/Syntax/Internal/Pattern.hs
+formatted       defadae25a20  Agda-2.8.0/src/full/Agda/Syntax/Internal/SanityCheck.hs
+formatted       1542623a61e1  Agda-2.8.0/src/full/Agda/Syntax/Internal/Univ.hs
+formatted       9841ee48be14  Agda-2.8.0/src/full/Agda/Syntax/Literal.hs
+formatted       b2348b7f259a  Agda-2.8.0/src/full/Agda/Syntax/Notation.hs
+formatted       f1a729ff8d11  Agda-2.8.0/src/full/Agda/Syntax/Parser.hs
+formatted       ceb999965572  Agda-2.8.0/src/full/Agda/Syntax/Parser/Alex.hs
+formatted       1a034009d16c  Agda-2.8.0/src/full/Agda/Syntax/Parser/Comments.hs
+formatted       b8ecc818f8d0  Agda-2.8.0/src/full/Agda/Syntax/Parser/Helpers.hs
+formatted       5078573423c6  Agda-2.8.0/src/full/Agda/Syntax/Parser/Layout.hs
+formatted       b3fb36074827  Agda-2.8.0/src/full/Agda/Syntax/Parser/Layout.hs-boot
+formatted       938482556ec2  Agda-2.8.0/src/full/Agda/Syntax/Parser/LexActions.hs
+formatted       d5d9a0b66729  Agda-2.8.0/src/full/Agda/Syntax/Parser/LexActions.hs-boot
+formatted       e35e2d6099af  Agda-2.8.0/src/full/Agda/Syntax/Parser/Literate.hs
+formatted       2abaf47afa3e  Agda-2.8.0/src/full/Agda/Syntax/Parser/LookAhead.hs
+formatted       8d09b17d0bd6  Agda-2.8.0/src/full/Agda/Syntax/Parser/Monad.hs
+formatted       08e6e9f4bff2  Agda-2.8.0/src/full/Agda/Syntax/Parser/StringLiterals.hs
+formatted       c64e4c95bed5  Agda-2.8.0/src/full/Agda/Syntax/Parser/Tokens.hs
+formatted       1c2a25229eb0  Agda-2.8.0/src/full/Agda/Syntax/Position.hs
+formatted       d16539c2a462  Agda-2.8.0/src/full/Agda/Syntax/Position.hs-boot
+formatted       8b3b2b12fa20  Agda-2.8.0/src/full/Agda/Syntax/Reflected.hs
+formatted       ee9373ffb5b3  Agda-2.8.0/src/full/Agda/Syntax/Scope/Base.hs
+formatted       6ee1c66bab52  Agda-2.8.0/src/full/Agda/Syntax/Scope/Flat.hs
+formatted       e745e6b0aecc  Agda-2.8.0/src/full/Agda/Syntax/Scope/Monad.hs
+formatted       5fa7d627ccf0  Agda-2.8.0/src/full/Agda/Syntax/TopLevelModuleName.hs
+formatted       289173413106  Agda-2.8.0/src/full/Agda/Syntax/TopLevelModuleName/Boot.hs
+formatted       fad547e92252  Agda-2.8.0/src/full/Agda/Syntax/Translation/AbstractToConcrete.hs
+formatted       45e9b0646b93  Agda-2.8.0/src/full/Agda/Syntax/Translation/ConcreteToAbstract.hs
+formatted       1ccc918a2f39  Agda-2.8.0/src/full/Agda/Syntax/Translation/InternalToAbstract.hs
+formatted       fe5ea40167d5  Agda-2.8.0/src/full/Agda/Syntax/Translation/ReflectedToAbstract.hs
+formatted       2dca160cdc2f  Agda-2.8.0/src/full/Agda/Syntax/Treeless.hs
+formatted       583f2d1ff2bc  Agda-2.8.0/src/full/Agda/Termination/CallGraph.hs
+formatted       df6c4a27e331  Agda-2.8.0/src/full/Agda/Termination/CallMatrix.hs
+formatted       ebc4ce14c917  Agda-2.8.0/src/full/Agda/Termination/CutOff.hs
+formatted       54c290552350  Agda-2.8.0/src/full/Agda/Termination/Monad.hs
+formatted       fa73cde59f4a  Agda-2.8.0/src/full/Agda/Termination/Order.hs
+formatted       93ff045eaf2d  Agda-2.8.0/src/full/Agda/Termination/RecCheck.hs
+formatted       630184dac37b  Agda-2.8.0/src/full/Agda/Termination/Semiring.hs
+formatted       9a52f3ffdb7b  Agda-2.8.0/src/full/Agda/Termination/SparseMatrix.hs
+formatted       307c59cff1a0  Agda-2.8.0/src/full/Agda/Termination/TermCheck.hs
+formatted       29fcc3f9ef83  Agda-2.8.0/src/full/Agda/Termination/Termination.hs
+formatted       9ce4d907acfa  Agda-2.8.0/src/full/Agda/TheTypeChecker.hs
+formatted       a4fb8de5afe2  Agda-2.8.0/src/full/Agda/TypeChecking/Abstract.hs
+formatted       705fdc40fe1b  Agda-2.8.0/src/full/Agda/TypeChecking/CheckInternal.hs
+formatted       0c57d177f1f9  Agda-2.8.0/src/full/Agda/TypeChecking/CheckInternal.hs-boot
+formatted       6dc738ca1546  Agda-2.8.0/src/full/Agda/TypeChecking/CompiledClause.hs
+formatted       3257e2c9b212  Agda-2.8.0/src/full/Agda/TypeChecking/CompiledClause/Compile.hs
+formatted       375fdf7b66e6  Agda-2.8.0/src/full/Agda/TypeChecking/CompiledClause/Compile.hs-boot
+formatted       0765edfa109e  Agda-2.8.0/src/full/Agda/TypeChecking/CompiledClause/Match.hs
+formatted       ca4b9c8448bf  Agda-2.8.0/src/full/Agda/TypeChecking/CompiledClause/Match.hs-boot
+formatted       5e1fda1ed970  Agda-2.8.0/src/full/Agda/TypeChecking/Constraints.hs
+formatted       d00d3643e1b4  Agda-2.8.0/src/full/Agda/TypeChecking/Constraints.hs-boot
+formatted       8b9d2fadbf45  Agda-2.8.0/src/full/Agda/TypeChecking/Conversion.hs
+formatted       ffb9e4d9ba07  Agda-2.8.0/src/full/Agda/TypeChecking/Conversion.hs-boot
+formatted       52eca03934e3  Agda-2.8.0/src/full/Agda/TypeChecking/Conversion/Pure.hs
+formatted       5848de01cba8  Agda-2.8.0/src/full/Agda/TypeChecking/Coverage.hs
+formatted       df67bde1efc2  Agda-2.8.0/src/full/Agda/TypeChecking/Coverage/Cubical.hs
+formatted       125bfce52d27  Agda-2.8.0/src/full/Agda/TypeChecking/Coverage/Match.hs
+formatted       25ad1190369c  Agda-2.8.0/src/full/Agda/TypeChecking/Coverage/SplitClause.hs
+formatted       0ec13926e490  Agda-2.8.0/src/full/Agda/TypeChecking/Coverage/SplitTree.hs
+formatted       4725fe178a60  Agda-2.8.0/src/full/Agda/TypeChecking/Datatypes.hs
+formatted       48981aa4e21f  Agda-2.8.0/src/full/Agda/TypeChecking/Datatypes.hs-boot
+formatted       118d2453fffa  Agda-2.8.0/src/full/Agda/TypeChecking/DeadCode.hs
+formatted       700e5be888c0  Agda-2.8.0/src/full/Agda/TypeChecking/DiscrimTree.hs
+formatted       b540ac69d090  Agda-2.8.0/src/full/Agda/TypeChecking/DiscrimTree/Types.hs
+formatted       53a6fc29fc7a  Agda-2.8.0/src/full/Agda/TypeChecking/DisplayForm.hs
+formatted       3871d4020263  Agda-2.8.0/src/full/Agda/TypeChecking/DropArgs.hs
+formatted       a6199bbffa41  Agda-2.8.0/src/full/Agda/TypeChecking/Empty.hs
+formatted       d61ce8e28ae4  Agda-2.8.0/src/full/Agda/TypeChecking/Empty.hs-boot
+formatted       b8fe2373d8a3  Agda-2.8.0/src/full/Agda/TypeChecking/Errors.hs
+formatted       aae311d4ad0f  Agda-2.8.0/src/full/Agda/TypeChecking/Errors.hs-boot
+formatted       5264a31ef276  Agda-2.8.0/src/full/Agda/TypeChecking/Errors/Names.hs
+formatted       9ffa08837a17  Agda-2.8.0/src/full/Agda/TypeChecking/EtaContract.hs
+formatted       6a0840a519c9  Agda-2.8.0/src/full/Agda/TypeChecking/Forcing.hs
+formatted       3e4b8a9b0e24  Agda-2.8.0/src/full/Agda/TypeChecking/Free.hs
+formatted       a6f3a9d23395  Agda-2.8.0/src/full/Agda/TypeChecking/Free/Lazy.hs
+formatted       64917e53efa7  Agda-2.8.0/src/full/Agda/TypeChecking/Free/Precompute.hs
+formatted       92567bb0292c  Agda-2.8.0/src/full/Agda/TypeChecking/Free/Reduce.hs
+formatted       592682fd16d0  Agda-2.8.0/src/full/Agda/TypeChecking/Functions.hs
+formatted       ac636bc323f8  Agda-2.8.0/src/full/Agda/TypeChecking/Generalize.hs
+formatted       efc71d1e2eb5  Agda-2.8.0/src/full/Agda/TypeChecking/IApplyConfluence.hs
+formatted       d3a0dc6138ac  Agda-2.8.0/src/full/Agda/TypeChecking/Implicit.hs
+formatted       2e2a36e211bb  Agda-2.8.0/src/full/Agda/TypeChecking/Injectivity.hs
+formatted       0a66bebe6b65  Agda-2.8.0/src/full/Agda/TypeChecking/Inlining.hs
+formatted       9897b644d970  Agda-2.8.0/src/full/Agda/TypeChecking/InstanceArguments.hs
+formatted       6b87bbf0b047  Agda-2.8.0/src/full/Agda/TypeChecking/InstanceArguments.hs-boot
+formatted       6c44708b4896  Agda-2.8.0/src/full/Agda/TypeChecking/Irrelevance.hs
+formatted       f5e2359204d8  Agda-2.8.0/src/full/Agda/TypeChecking/Irrelevance.hs-boot
+formatted       1aa2ee1746a6  Agda-2.8.0/src/full/Agda/TypeChecking/Level.hs
+formatted       ae9854316d38  Agda-2.8.0/src/full/Agda/TypeChecking/Level.hs-boot
+formatted       1a21ccdff55f  Agda-2.8.0/src/full/Agda/TypeChecking/Level/Solve.hs
+formatted       dffb0ae8f09f  Agda-2.8.0/src/full/Agda/TypeChecking/LevelConstraints.hs
+formatted       cb225ecb671e  Agda-2.8.0/src/full/Agda/TypeChecking/Lock.hs
+formatted       b172927a4ef0  Agda-2.8.0/src/full/Agda/TypeChecking/Lock.hs-boot
+formatted       37bfb261b84d  Agda-2.8.0/src/full/Agda/TypeChecking/MetaVars.hs
+formatted       04e90b6bec23  Agda-2.8.0/src/full/Agda/TypeChecking/MetaVars.hs-boot
+formatted       6c602b7a185c  Agda-2.8.0/src/full/Agda/TypeChecking/MetaVars/Mention.hs
+formatted       3587695861f2  Agda-2.8.0/src/full/Agda/TypeChecking/MetaVars/Occurs.hs
+formatted       8a934b2ef2b0  Agda-2.8.0/src/full/Agda/TypeChecking/Modalities.hs
+formatted       1fd16a038ff2  Agda-2.8.0/src/full/Agda/TypeChecking/Monad.hs
+formatted       9c27bbd083b4  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Base.hs
+formatted       23c81d6e4b9a  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Base/Types.hs
+formatted       e6b697de6666  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Base/Warning.hs
+formatted       0dd0d6449f7d  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Benchmark.hs
+formatted       2bd028e22e06  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Builtin.hs
+formatted       b2201516f147  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Builtin.hs-boot
+formatted       000d4964fe83  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Caching.hs
+formatted       504fff6c7294  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Closure.hs
+formatted       e3b94e7372db  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Constraints.hs
+formatted       fb5abc4def33  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Context.hs
+formatted       67fec5f301ce  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Context.hs-boot
+formatted       ae0b81e3f412  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Debug.hs
+formatted       07c8440dbd10  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Debug.hs-boot
+formatted       b30b43bef0d1  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Env.hs
+formatted       5774014dd963  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Imports.hs
+formatted       e39fbd20d6be  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/MetaVars.hs
+formatted       8fa685a60e76  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/MetaVars.hs-boot
+formatted       32ad69bbe420  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Modality.hs
+formatted       91823531730d  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Mutual.hs
+formatted       ce925ca2ba17  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Open.hs
+formatted       1668cf403bf9  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Options.hs
+formatted       343b1e2a68aa  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Options.hs-boot
+formatted       2b7667015169  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Pure.hs
+formatted       96d523ec19a5  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Pure.hs-boot
+formatted       7e83bd2b5472  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Signature.hs
+formatted       2df3170152a2  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Signature.hs-boot
+formatted       bb25b2e1d060  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/SizedTypes.hs
+formatted       95c4f97f1329  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/State.hs
+formatted       16978c9359cb  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Statistics.hs
+formatted       daa85562c1a5  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Trace.hs
+formatted       438e5f482a7d  Agda-2.8.0/src/full/Agda/TypeChecking/Names.hs
+formatted       765280a57d1c  Agda-2.8.0/src/full/Agda/TypeChecking/Opacity.hs
+formatted       d26ddecf1923  Agda-2.8.0/src/full/Agda/TypeChecking/Opacity.hs-boot
+formatted       61ae5b3f40d7  Agda-2.8.0/src/full/Agda/TypeChecking/Patterns/Abstract.hs
+formatted       caeb896f1129  Agda-2.8.0/src/full/Agda/TypeChecking/Patterns/Internal.hs
+formatted       efff9b950824  Agda-2.8.0/src/full/Agda/TypeChecking/Patterns/Match.hs
+formatted       21c31e3b6368  Agda-2.8.0/src/full/Agda/TypeChecking/Patterns/Match.hs-boot
+formatted       3cf2f6ce2728  Agda-2.8.0/src/full/Agda/TypeChecking/Polarity.hs
+formatted       2f5659c12840  Agda-2.8.0/src/full/Agda/TypeChecking/Polarity.hs-boot
+formatted       cc7cce9c33d8  Agda-2.8.0/src/full/Agda/TypeChecking/Positivity.hs
+formatted       3945c32e5c17  Agda-2.8.0/src/full/Agda/TypeChecking/Positivity/Occurrence.hs
+formatted       eef7a1fd51d4  Agda-2.8.0/src/full/Agda/TypeChecking/Pretty.hs
+formatted       667bdf2174fb  Agda-2.8.0/src/full/Agda/TypeChecking/Pretty.hs-boot
+formatted       e56c5b6e9c58  Agda-2.8.0/src/full/Agda/TypeChecking/Pretty/Call.hs
+formatted       f5434869778b  Agda-2.8.0/src/full/Agda/TypeChecking/Pretty/Call.hs-boot
+formatted       20c48dcfc34e  Agda-2.8.0/src/full/Agda/TypeChecking/Pretty/Constraint.hs
+formatted       e6930771f599  Agda-2.8.0/src/full/Agda/TypeChecking/Pretty/Constraint.hs-boot
+formatted       d834cb025bee  Agda-2.8.0/src/full/Agda/TypeChecking/Pretty/Warning.hs
+formatted       95302c4ba66e  Agda-2.8.0/src/full/Agda/TypeChecking/Pretty/Warning.hs-boot
+formatted       ddce5bcff190  Agda-2.8.0/src/full/Agda/TypeChecking/Primitive.hs
+formatted       8bfea5adf228  Agda-2.8.0/src/full/Agda/TypeChecking/Primitive.hs-boot
+formatted       2fb4986fc800  Agda-2.8.0/src/full/Agda/TypeChecking/Primitive/Base.hs
+formatted       7aedfa396400  Agda-2.8.0/src/full/Agda/TypeChecking/Primitive/Cubical.hs
+formatted       e203a83609b3  Agda-2.8.0/src/full/Agda/TypeChecking/Primitive/Cubical/Base.hs
+formatted       11d739fb8115  Agda-2.8.0/src/full/Agda/TypeChecking/Primitive/Cubical/Base.hs-boot
+formatted       f87e7c9cb1af  Agda-2.8.0/src/full/Agda/TypeChecking/Primitive/Cubical/Glue.hs
+formatted       8b66f8b237b0  Agda-2.8.0/src/full/Agda/TypeChecking/Primitive/Cubical/HCompU.hs
+formatted       6ab3822147c0  Agda-2.8.0/src/full/Agda/TypeChecking/ProjectionLike.hs
+formatted       87b81152c03b  Agda-2.8.0/src/full/Agda/TypeChecking/ProjectionLike.hs-boot
+formatted       1ace04f0e602  Agda-2.8.0/src/full/Agda/TypeChecking/Quote.hs
+formatted       6373a6881964  Agda-2.8.0/src/full/Agda/TypeChecking/ReconstructParameters.hs
+formatted       4260bd504170  Agda-2.8.0/src/full/Agda/TypeChecking/RecordPatterns.hs
+formatted       59c137d25601  Agda-2.8.0/src/full/Agda/TypeChecking/Records.hs
+formatted       7ad52225967c  Agda-2.8.0/src/full/Agda/TypeChecking/Records.hs-boot
+formatted       07dd0756363a  Agda-2.8.0/src/full/Agda/TypeChecking/Reduce.hs
+formatted       82cb10489996  Agda-2.8.0/src/full/Agda/TypeChecking/Reduce.hs-boot
+formatted       dafc8e6de1c3  Agda-2.8.0/src/full/Agda/TypeChecking/Reduce/Fast.hs
+formatted       2158647025d5  Agda-2.8.0/src/full/Agda/TypeChecking/Reduce/Fast.hs-boot
+formatted       41853e0c9679  Agda-2.8.0/src/full/Agda/TypeChecking/Reduce/Monad.hs
+formatted       6ef52475cacd  Agda-2.8.0/src/full/Agda/TypeChecking/Rewriting.hs
+formatted       6fe557087a13  Agda-2.8.0/src/full/Agda/TypeChecking/Rewriting.hs-boot
+formatted       b904495ade29  Agda-2.8.0/src/full/Agda/TypeChecking/Rewriting/Clause.hs
+formatted       539ee902669b  Agda-2.8.0/src/full/Agda/TypeChecking/Rewriting/Confluence.hs
+formatted       2464c0890b3e  Agda-2.8.0/src/full/Agda/TypeChecking/Rewriting/NonLinMatch.hs
+formatted       fdde87cc0c52  Agda-2.8.0/src/full/Agda/TypeChecking/Rewriting/NonLinPattern.hs
+formatted       6214cdc60745  Agda-2.8.0/src/full/Agda/TypeChecking/Rules/Application.hs
+formatted       dae947e8e153  Agda-2.8.0/src/full/Agda/TypeChecking/Rules/Application.hs-boot
+formatted       afe74ae90e48  Agda-2.8.0/src/full/Agda/TypeChecking/Rules/Builtin.hs
+formatted       737dd8ae99c3  Agda-2.8.0/src/full/Agda/TypeChecking/Rules/Builtin/Coinduction.hs
+formatted       48f627566132  Agda-2.8.0/src/full/Agda/TypeChecking/Rules/Builtin/Coinduction.hs-boot
+formatted       7b3f00f2ec59  Agda-2.8.0/src/full/Agda/TypeChecking/Rules/Data.hs
+formatted       89ea7a6db701  Agda-2.8.0/src/full/Agda/TypeChecking/Rules/Data.hs-boot
+formatted       528008010836  Agda-2.8.0/src/full/Agda/TypeChecking/Rules/Decl.hs
+formatted       c3dda6e649e5  Agda-2.8.0/src/full/Agda/TypeChecking/Rules/Decl.hs-boot
+formatted       8782f756a117  Agda-2.8.0/src/full/Agda/TypeChecking/Rules/Def.hs
+formatted       8519e1acf9d4  Agda-2.8.0/src/full/Agda/TypeChecking/Rules/Def.hs-boot
+formatted       169a787cc624  Agda-2.8.0/src/full/Agda/TypeChecking/Rules/Display.hs
+formatted       8b05c16a02ad  Agda-2.8.0/src/full/Agda/TypeChecking/Rules/LHS.hs
+formatted       3e5a7366cf13  Agda-2.8.0/src/full/Agda/TypeChecking/Rules/LHS/Implicit.hs
+formatted       177bb5aa3612  Agda-2.8.0/src/full/Agda/TypeChecking/Rules/LHS/Problem.hs
+formatted       10489073206c  Agda-2.8.0/src/full/Agda/TypeChecking/Rules/LHS/ProblemRest.hs
+formatted       0970af28d932  Agda-2.8.0/src/full/Agda/TypeChecking/Rules/LHS/Unify.hs
+formatted       d90036bc20d4  Agda-2.8.0/src/full/Agda/TypeChecking/Rules/LHS/Unify/LeftInverse.hs
+formatted       0468a0192d9e  Agda-2.8.0/src/full/Agda/TypeChecking/Rules/LHS/Unify/Types.hs
+formatted       211250a68b6a  Agda-2.8.0/src/full/Agda/TypeChecking/Rules/Record.hs
+formatted       161c7c654468  Agda-2.8.0/src/full/Agda/TypeChecking/Rules/Term.hs
+formatted       20b4457a5ad9  Agda-2.8.0/src/full/Agda/TypeChecking/Rules/Term.hs-boot
+formatted       5a8ff57f38fd  Agda-2.8.0/src/full/Agda/TypeChecking/Serialise.hs
+formatted       ab032cfbf724  Agda-2.8.0/src/full/Agda/TypeChecking/Serialise/Base.hs
+formatted       2b393fc8dbd3  Agda-2.8.0/src/full/Agda/TypeChecking/Serialise/Instances.hs
+formatted       db5f6339dbdd  Agda-2.8.0/src/full/Agda/TypeChecking/Serialise/Instances/Abstract.hs
+formatted       1554c30c9ff0  Agda-2.8.0/src/full/Agda/TypeChecking/Serialise/Instances/Common.hs
+formatted       d11e2e781bb4  Agda-2.8.0/src/full/Agda/TypeChecking/Serialise/Instances/Compilers.hs
+formatted       f45e121c1fe7  Agda-2.8.0/src/full/Agda/TypeChecking/Serialise/Instances/Errors.hs
+formatted       225a5ea71cf1  Agda-2.8.0/src/full/Agda/TypeChecking/Serialise/Instances/Highlighting.hs
+formatted       cc2007a6ab9e  Agda-2.8.0/src/full/Agda/TypeChecking/Serialise/Instances/Internal.hs
+formatted       da8687416d0a  Agda-2.8.0/src/full/Agda/TypeChecking/SizedTypes.hs
+formatted       f9478ab74d7e  Agda-2.8.0/src/full/Agda/TypeChecking/SizedTypes/Pretty.hs
+formatted       fdec2be11bc0  Agda-2.8.0/src/full/Agda/TypeChecking/SizedTypes/Solve.hs
+formatted       1189e3723b09  Agda-2.8.0/src/full/Agda/TypeChecking/SizedTypes/Syntax.hs
+formatted       5e614cb16dfb  Agda-2.8.0/src/full/Agda/TypeChecking/SizedTypes/Utils.hs
+formatted       ea3f7a6a4738  Agda-2.8.0/src/full/Agda/TypeChecking/SizedTypes/WarshallSolver.hs
+formatted       30ce1e3a3a1e  Agda-2.8.0/src/full/Agda/TypeChecking/Sort.hs
+formatted       14ab4a2b0d65  Agda-2.8.0/src/full/Agda/TypeChecking/Substitute.hs
+formatted       b73a321dbf4f  Agda-2.8.0/src/full/Agda/TypeChecking/Substitute/Class.hs
+formatted       121fac7e8df6  Agda-2.8.0/src/full/Agda/TypeChecking/Substitute/DeBruijn.hs
+formatted       7d6a2bef585a  Agda-2.8.0/src/full/Agda/TypeChecking/SyntacticEquality.hs
+formatted       155444032c45  Agda-2.8.0/src/full/Agda/TypeChecking/Telescope.hs
+formatted       7ddfec68a596  Agda-2.8.0/src/full/Agda/TypeChecking/Telescope.hs-boot
+formatted       e559a5ac6cdc  Agda-2.8.0/src/full/Agda/TypeChecking/Telescope/Path.hs
+formatted       a43b552863ad  Agda-2.8.0/src/full/Agda/TypeChecking/Unquote.hs
+formatted       3cdb1d533c8c  Agda-2.8.0/src/full/Agda/TypeChecking/Warnings.hs
+formatted       4bb09fedd17e  Agda-2.8.0/src/full/Agda/TypeChecking/With.hs
+formatted       b02f16e6d20a  Agda-2.8.0/src/full/Agda/Utils/AffineHole.hs
+formatted       ef921ca366b9  Agda-2.8.0/src/full/Agda/Utils/Applicative.hs
+formatted       92fd78efd96b  Agda-2.8.0/src/full/Agda/Utils/AssocList.hs
+formatted       2a502515604a  Agda-2.8.0/src/full/Agda/Utils/Bag.hs
+formatted       1dba43e33f1e  Agda-2.8.0/src/full/Agda/Utils/Benchmark.hs
+formatted       713bce3f2912  Agda-2.8.0/src/full/Agda/Utils/BiMap.hs
+formatted       1da3d682d7df  Agda-2.8.0/src/full/Agda/Utils/BoolSet.hs
+formatted       5182d1e020dd  Agda-2.8.0/src/full/Agda/Utils/Boolean.hs
+formatted       880aa8847616  Agda-2.8.0/src/full/Agda/Utils/CallStack.hs
+formatted       3ced60d1d126  Agda-2.8.0/src/full/Agda/Utils/CallStack/Base.hs
+formatted       06bbf8a656cc  Agda-2.8.0/src/full/Agda/Utils/CallStack/Pretty.hs
+formatted       9e835fdc5785  Agda-2.8.0/src/full/Agda/Utils/Char.hs
+formatted       914b0a1f7177  Agda-2.8.0/src/full/Agda/Utils/Cluster.hs
+formatted       f1e485ca9965  Agda-2.8.0/src/full/Agda/Utils/Either.hs
+formatted       eb0e2ab30ab6  Agda-2.8.0/src/full/Agda/Utils/Empty.hs
+formatted       284145f1db7f  Agda-2.8.0/src/full/Agda/Utils/Environment.hs
+formatted       e2b0e8db2604  Agda-2.8.0/src/full/Agda/Utils/Fail.hs
+formatted       bfe6068f4151  Agda-2.8.0/src/full/Agda/Utils/Favorites.hs
+formatted       a3d1f1116d1b  Agda-2.8.0/src/full/Agda/Utils/FileId.hs
+formatted       a9580cd84f2b  Agda-2.8.0/src/full/Agda/Utils/FileName.hs
+formatted       2a9a6f8c52b8  Agda-2.8.0/src/full/Agda/Utils/Float.hs
+formatted       c532c30220fd  Agda-2.8.0/src/full/Agda/Utils/Function.hs
+formatted       ab684f7003c1  Agda-2.8.0/src/full/Agda/Utils/Functor.hs
+formatted       af0df4d7ec5f  Agda-2.8.0/src/full/Agda/Utils/GetOpt.hs
+formatted       13ad2b99d0e1  Agda-2.8.0/src/full/Agda/Utils/Graph/AdjacencyMap/Unidirectional.hs
+formatted       f94a2c1fbc52  Agda-2.8.0/src/full/Agda/Utils/Graph/TopSort.hs
+formatted       5170f5f19eb9  Agda-2.8.0/src/full/Agda/Utils/Hash.hs
+formatted       69bcc8af0621  Agda-2.8.0/src/full/Agda/Utils/HashTable.hs
+formatted       019e9637b9b0  Agda-2.8.0/src/full/Agda/Utils/Haskell/Syntax.hs
+formatted       f97014114bf0  Agda-2.8.0/src/full/Agda/Utils/IArray.hs
+formatted       8ace1742deec  Agda-2.8.0/src/full/Agda/Utils/IO.hs
+formatted       ddd200e851ab  Agda-2.8.0/src/full/Agda/Utils/IO/Binary.hs
+formatted       fadfe573819c  Agda-2.8.0/src/full/Agda/Utils/IO/Directory.hs
+formatted       44ca6943bebd  Agda-2.8.0/src/full/Agda/Utils/IO/TempFile.hs
+formatted       51a9c4ed68e8  Agda-2.8.0/src/full/Agda/Utils/IO/UTF8.hs
+formatted       d938f94198a6  Agda-2.8.0/src/full/Agda/Utils/IORef.hs
+formatted       288bd1c35982  Agda-2.8.0/src/full/Agda/Utils/Impossible.hs
+formatted       4cc3e2830421  Agda-2.8.0/src/full/Agda/Utils/IndexedList.hs
+formatted       eb775ca15bff  Agda-2.8.0/src/full/Agda/Utils/IntSet/Infinite.hs
+formatted       5b08ad680e43  Agda-2.8.0/src/full/Agda/Utils/Lens.hs
+formatted       89e41b43691d  Agda-2.8.0/src/full/Agda/Utils/Lens/Examples.hs
+formatted       9a99d307cf9a  Agda-2.8.0/src/full/Agda/Utils/List.hs
+formatted       ed832ed9a12b  Agda-2.8.0/src/full/Agda/Utils/List1.hs
+formatted       3bd635eb52aa  Agda-2.8.0/src/full/Agda/Utils/List1.hs-boot
+formatted       db787ad92240  Agda-2.8.0/src/full/Agda/Utils/List2.hs
+formatted       d307903a03ae  Agda-2.8.0/src/full/Agda/Utils/ListT.hs
+formatted       c47d39642d9e  Agda-2.8.0/src/full/Agda/Utils/Map.hs
+formatted       6daea1c24f1f  Agda-2.8.0/src/full/Agda/Utils/Map1.hs
+formatted       46bbb7a13c78  Agda-2.8.0/src/full/Agda/Utils/Maybe.hs
+formatted       f38193e24da5  Agda-2.8.0/src/full/Agda/Utils/Maybe/Strict.hs
+formatted       707bd8857a00  Agda-2.8.0/src/full/Agda/Utils/Memo.hs
+formatted       e0897c87278d  Agda-2.8.0/src/full/Agda/Utils/Monad.hs
+formatted       4f8109a5fa85  Agda-2.8.0/src/full/Agda/Utils/Monoid.hs
+formatted       81fa9c31b89a  Agda-2.8.0/src/full/Agda/Utils/Null.hs
+formatted       a35bc48d49a5  Agda-2.8.0/src/full/Agda/Utils/POMonoid.hs
+formatted       c6299888a8cd  Agda-2.8.0/src/full/Agda/Utils/Parser/MemoisedCPS.hs
+formatted       9eb1942264f5  Agda-2.8.0/src/full/Agda/Utils/PartialOrd.hs
+formatted       01191cf4ba63  Agda-2.8.0/src/full/Agda/Utils/Permutation.hs
+formatted       87c8a826ba60  Agda-2.8.0/src/full/Agda/Utils/ProfileOptions.hs
+formatted       d7b49312fd6e  Agda-2.8.0/src/full/Agda/Utils/RangeMap.hs
+formatted       f5ff143b2a78  Agda-2.8.0/src/full/Agda/Utils/SemiRing.hs
+formatted       9aa281a4615c  Agda-2.8.0/src/full/Agda/Utils/Semigroup.hs
+formatted       f6ad5e69b297  Agda-2.8.0/src/full/Agda/Utils/Set1.hs
+formatted       89c74cdc5cd5  Agda-2.8.0/src/full/Agda/Utils/Singleton.hs
+formatted       08589cf3cd87  Agda-2.8.0/src/full/Agda/Utils/Size.hs
+formatted       b046d99bf53f  Agda-2.8.0/src/full/Agda/Utils/SmallSet.hs
+formatted       38ae3a3d95e5  Agda-2.8.0/src/full/Agda/Utils/String.hs
+formatted       34cd2a47aa0e  Agda-2.8.0/src/full/Agda/Utils/Suffix.hs
+formatted       164efc412727  Agda-2.8.0/src/full/Agda/Utils/Three.hs
+formatted       345705d40e20  Agda-2.8.0/src/full/Agda/Utils/Time.hs
+formatted       9017dc7642b0  Agda-2.8.0/src/full/Agda/Utils/Trie.hs
+formatted       ad5196a17d3f  Agda-2.8.0/src/full/Agda/Utils/Tuple.hs
+formatted       00587e8f651c  Agda-2.8.0/src/full/Agda/Utils/TypeLevel.hs
+formatted       bc1ab9595cd9  Agda-2.8.0/src/full/Agda/Utils/TypeLits.hs
+formatted       3950cbc8ebca  Agda-2.8.0/src/full/Agda/Utils/Unsafe.hs
+formatted       995f6ef0fa1a  Agda-2.8.0/src/full/Agda/Utils/Update.hs
+formatted       383866b27bb0  Agda-2.8.0/src/full/Agda/Utils/VarSet.hs
+formatted       e9b63094be4b  Agda-2.8.0/src/full/Agda/Utils/WithDefault.hs
+formatted       3d24a6357ed3  Agda-2.8.0/src/full/Agda/Utils/Zipper.hs
+formatted       78b757b5bff3  Agda-2.8.0/src/main/Main.hs
+formatted       cd8474f7316f  Agda-2.8.0/src/setup/Agda/Setup.hs
+formatted       57e71e771600  Agda-2.8.0/src/setup/Agda/Setup/DataFiles.hs
+formatted       d46654bc58aa  Agda-2.8.0/src/setup/Agda/Setup/EmacsMode.hs
+formatted       8306cd22b948  Agda-2.8.0/src/setup/Agda/Version.hs
+formatted       34621e271e23  Agda-2.8.0/src/setup/Agda/VersionCommit.hs
+formatted       90cd663d9426  HUnit-1.6.2.0/examples/Example.hs
+formatted       9b1cac4b6c09  HUnit-1.6.2.0/src/Test/HUnit.hs
+declined        -             HUnit-1.6.2.0/src/Test/HUnit/Base.hs
+declined        -             HUnit-1.6.2.0/src/Test/HUnit/Lang.hs
+formatted       f9959d10adae  HUnit-1.6.2.0/src/Test/HUnit/Terminal.hs
+formatted       c4d0e6dbcb94  HUnit-1.6.2.0/src/Test/HUnit/Text.hs
+formatted       358e8e211fe4  HUnit-1.6.2.0/tests/HUnitTestExtended.hs
+formatted       c3dea4d390e5  HUnit-1.6.2.0/tests/HUnitTests.hs
+formatted       6f374a392385  HUnit-1.6.2.0/tests/TerminalTest.hs
+formatted       c000d59bb317  QuickCheck-2.18.0.0/examples/Heap.hs
+formatted       5593dd193665  QuickCheck-2.18.0.0/examples/Heap_Program.hs
+formatted       6c9148634a9d  QuickCheck-2.18.0.0/examples/Heap_ProgramAlgebraic.hs
+formatted       b6bb4876477b  QuickCheck-2.18.0.0/examples/Lambda.hs
+formatted       e2a6932f00a3  QuickCheck-2.18.0.0/examples/Merge.hs
+formatted       38ace4a4069e  QuickCheck-2.18.0.0/examples/Set.hs
+formatted       1a9bb723f835  QuickCheck-2.18.0.0/examples/Simple.hs
+partly-checked  67552a36e342  QuickCheck-2.18.0.0/src/Test/QuickCheck.hs
+formatted       08f6689b7318  QuickCheck-2.18.0.0/src/Test/QuickCheck/All.hs
+partly-checked  7a0c1134e075  QuickCheck-2.18.0.0/src/Test/QuickCheck/Arbitrary.hs
+formatted       b394fbd4debb  QuickCheck-2.18.0.0/src/Test/QuickCheck/Compat.hs
+partly-checked  f393200a058e  QuickCheck-2.18.0.0/src/Test/QuickCheck/Exception.hs
+formatted       c7cf8ba03072  QuickCheck-2.18.0.0/src/Test/QuickCheck/Features.hs
+partly-checked  364624199170  QuickCheck-2.18.0.0/src/Test/QuickCheck/Function.hs
+formatted       94c260e6a9ab  QuickCheck-2.18.0.0/src/Test/QuickCheck/Gen.hs
+formatted       96929480a528  QuickCheck-2.18.0.0/src/Test/QuickCheck/Gen/Unsafe.hs
+formatted       8658a29c61e2  QuickCheck-2.18.0.0/src/Test/QuickCheck/Modifiers.hs
+formatted       dc583cdc7910  QuickCheck-2.18.0.0/src/Test/QuickCheck/Monadic.hs
+formatted       061618ba1088  QuickCheck-2.18.0.0/src/Test/QuickCheck/Monoids.hs
+formatted       0c4f8c706edf  QuickCheck-2.18.0.0/src/Test/QuickCheck/Poly.hs
+formatted       11178a178a30  QuickCheck-2.18.0.0/src/Test/QuickCheck/Property.hs
+formatted       72b58cb8a6c4  QuickCheck-2.18.0.0/src/Test/QuickCheck/Random.hs
+formatted       3a6040a8ea14  QuickCheck-2.18.0.0/src/Test/QuickCheck/State.hs
+formatted       c762a47cee05  QuickCheck-2.18.0.0/src/Test/QuickCheck/Test.hs
+formatted       6ecf6df8d450  QuickCheck-2.18.0.0/src/Test/QuickCheck/Text.hs
+formatted       c3b36e8cc39b  QuickCheck-2.18.0.0/tests/CollectDataTypes.hs
+formatted       e2a0cc5a3e2c  QuickCheck-2.18.0.0/tests/DiscardRatio.hs
+formatted       d067ec1387fd  QuickCheck-2.18.0.0/tests/GCoArbitraryExample.hs
+formatted       8b2f4a357ed6  QuickCheck-2.18.0.0/tests/GShrinkExample.hs
+formatted       cd5feaa7e618  QuickCheck-2.18.0.0/tests/Generators.hs
+formatted       88f42cca7cda  QuickCheck-2.18.0.0/tests/Misc.hs
+formatted       0c6564c6933c  QuickCheck-2.18.0.0/tests/MonadFix.hs
+formatted       1cf59fac62d4  QuickCheck-2.18.0.0/tests/Monoids.hs
+formatted       248c8440434c  QuickCheck-2.18.0.0/tests/RunCollectDataTypes.hs
+formatted       a68cc68765ae  QuickCheck-2.18.0.0/tests/Split.hs
+formatted       c6884bf38ecb  QuickCheck-2.18.0.0/tests/Strictness.hs
+formatted       8d5faebc72d9  QuickCheck-2.18.0.0/tests/Terminal.hs
+formatted       fd5f6a30f8df  QuickCheck-2.18.0.0/tests/WithProgress.hs
+formatted       39b49c32183c  ShellCheck-0.11.0/shellcheck.hs
+formatted       2431cd28fa3c  ShellCheck-0.11.0/src/ShellCheck/AST.hs
+formatted       71e71a1b4060  ShellCheck-0.11.0/src/ShellCheck/ASTLib.hs
+formatted       aa1a3838d268  ShellCheck-0.11.0/src/ShellCheck/Analytics.hs
+formatted       b1aa0d5d99af  ShellCheck-0.11.0/src/ShellCheck/Analyzer.hs
+formatted       f4983ecf52b6  ShellCheck-0.11.0/src/ShellCheck/AnalyzerLib.hs
+formatted       00d3b3161769  ShellCheck-0.11.0/src/ShellCheck/CFG.hs
+formatted       a7f910e79131  ShellCheck-0.11.0/src/ShellCheck/CFGAnalysis.hs
+formatted       e825ebe1cf9b  ShellCheck-0.11.0/src/ShellCheck/Checker.hs
+formatted       041537b121f6  ShellCheck-0.11.0/src/ShellCheck/Checks/Commands.hs
+formatted       4aa273ee0e04  ShellCheck-0.11.0/src/ShellCheck/Checks/ControlFlow.hs
+formatted       9351bb6cb078  ShellCheck-0.11.0/src/ShellCheck/Checks/Custom.hs
+formatted       2f6378db1350  ShellCheck-0.11.0/src/ShellCheck/Checks/ShellSupport.hs
+formatted       8199d47a4619  ShellCheck-0.11.0/src/ShellCheck/Data.hs
+formatted       61587ef3128f  ShellCheck-0.11.0/src/ShellCheck/Debug.hs
+formatted       db3a36cc0186  ShellCheck-0.11.0/src/ShellCheck/Fixer.hs
+formatted       93bcdb6bc766  ShellCheck-0.11.0/src/ShellCheck/Formatter/CheckStyle.hs
+formatted       dea510d11147  ShellCheck-0.11.0/src/ShellCheck/Formatter/Diff.hs
+formatted       3f7881891f6a  ShellCheck-0.11.0/src/ShellCheck/Formatter/Format.hs
+formatted       6d96556bf10c  ShellCheck-0.11.0/src/ShellCheck/Formatter/GCC.hs
+formatted       ad703028617a  ShellCheck-0.11.0/src/ShellCheck/Formatter/JSON.hs
+formatted       06d579b8baf6  ShellCheck-0.11.0/src/ShellCheck/Formatter/JSON1.hs
+formatted       51e0ff296171  ShellCheck-0.11.0/src/ShellCheck/Formatter/Quiet.hs
+formatted       a1601034bccb  ShellCheck-0.11.0/src/ShellCheck/Formatter/TTY.hs
+formatted       25ba81f64c86  ShellCheck-0.11.0/src/ShellCheck/Interface.hs
+formatted       0de6e2079719  ShellCheck-0.11.0/src/ShellCheck/Parser.hs
+formatted       37c2e6166a47  ShellCheck-0.11.0/src/ShellCheck/Prelude.hs
+formatted       81387f7989ba  ShellCheck-0.11.0/src/ShellCheck/Regex.hs
+formatted       40d69b17283d  ShellCheck-0.11.0/test/shellcheck.hs
+formatted       f11704872a0d  adjunctions-4.4.4/HLint.hs
+formatted       8e3c1b9c8820  adjunctions-4.4.4/src/Control/Comonad/Representable/Store.hs
+formatted       9d098ecfd028  adjunctions-4.4.4/src/Control/Comonad/Trans/Adjoint.hs
+formatted       c12e2fe286c7  adjunctions-4.4.4/src/Control/Monad/Representable/Reader.hs
+formatted       2d861c9326da  adjunctions-4.4.4/src/Control/Monad/Representable/State.hs
+formatted       f45f8e6948f4  adjunctions-4.4.4/src/Control/Monad/Trans/Adjoint.hs
+formatted       4cb258373971  adjunctions-4.4.4/src/Control/Monad/Trans/Contravariant/Adjoint.hs
+formatted       0837028af8d9  adjunctions-4.4.4/src/Control/Monad/Trans/Conts.hs
+formatted       be6a8bae2309  adjunctions-4.4.4/src/Data/Functor/Adjunction.hs
+formatted       480de85cab2e  adjunctions-4.4.4/src/Data/Functor/Contravariant/Adjunction.hs
+formatted       4ede43422824  adjunctions-4.4.4/src/Data/Functor/Contravariant/Rep.hs
+formatted       debcbfae5aac  adjunctions-4.4.4/src/Data/Functor/Rep.hs
+formatted       0926430e82f2  adjunctions-4.4.4/tests/GenericsSpec.hs
+formatted       2fbd14b119a4  adjunctions-4.4.4/tests/Spec.hs
+formatted       dc5e65a67162  aeson-2.3.1.0/src/Data/Aeson.hs
+formatted       cc199a32a897  aeson-2.3.1.0/src/Data/Aeson/Decoding.hs
+formatted       63587457dbf5  aeson-2.3.1.0/src/Data/Aeson/Decoding/ByteString.hs
+formatted       fffabe803694  aeson-2.3.1.0/src/Data/Aeson/Decoding/ByteString/Lazy.hs
+formatted       9ed4ace5d3b5  aeson-2.3.1.0/src/Data/Aeson/Decoding/Conversion.hs
+formatted       38d7ebee447e  aeson-2.3.1.0/src/Data/Aeson/Decoding/Internal.hs
+formatted       0a526fbefd82  aeson-2.3.1.0/src/Data/Aeson/Decoding/Text.hs
+formatted       416a8df3996f  aeson-2.3.1.0/src/Data/Aeson/Decoding/Tokens.hs
+formatted       c6cf8dff7aea  aeson-2.3.1.0/src/Data/Aeson/Encoding.hs
+formatted       da95ede7a378  aeson-2.3.1.0/src/Data/Aeson/Encoding/Builder.hs
+formatted       fad13a691004  aeson-2.3.1.0/src/Data/Aeson/Encoding/Internal.hs
+formatted       750b37e9d1fa  aeson-2.3.1.0/src/Data/Aeson/Internal/ByteString.hs
+formatted       2565ac84c613  aeson-2.3.1.0/src/Data/Aeson/Internal/Functions.hs
+formatted       e048ffa25767  aeson-2.3.1.0/src/Data/Aeson/Internal/Prelude.hs
+formatted       67fdf321a62f  aeson-2.3.1.0/src/Data/Aeson/Internal/Scientific.hs
+formatted       d5ed81ee3591  aeson-2.3.1.0/src/Data/Aeson/Internal/TH.hs
+formatted       41288cb193ed  aeson-2.3.1.0/src/Data/Aeson/Internal/Text.hs
+formatted       194150b05ec6  aeson-2.3.1.0/src/Data/Aeson/Internal/Unescape.hs
+formatted       b15fcfbf6133  aeson-2.3.1.0/src/Data/Aeson/Internal/UnescapeFromText.hs
+formatted       1052e9d7d311  aeson-2.3.1.0/src/Data/Aeson/Key.hs
+formatted       860a9be834b2  aeson-2.3.1.0/src/Data/Aeson/KeyMap.hs
+formatted       6d2264e03096  aeson-2.3.1.0/src/Data/Aeson/Parser/Time.hs
+formatted       a5031424b00e  aeson-2.3.1.0/src/Data/Aeson/QQ/Simple.hs
+formatted       387a986dd7a1  aeson-2.3.1.0/src/Data/Aeson/RFC8785.hs
+formatted       34e293c39263  aeson-2.3.1.0/src/Data/Aeson/TH.hs
+formatted       12624f484ff0  aeson-2.3.1.0/src/Data/Aeson/Text.hs
+formatted       2ca16628191d  aeson-2.3.1.0/src/Data/Aeson/Types.hs
+formatted       73023d5983de  aeson-2.3.1.0/src/Data/Aeson/Types/Class.hs
+formatted       ab151b70879b  aeson-2.3.1.0/src/Data/Aeson/Types/FromJSON.hs
+formatted       48ad95fbaaeb  aeson-2.3.1.0/src/Data/Aeson/Types/Generic.hs
+formatted       8fadbbf0e929  aeson-2.3.1.0/src/Data/Aeson/Types/Internal.hs
+formatted       59cc14458890  aeson-2.3.1.0/src/Data/Aeson/Types/ToJSON.hs
+formatted       122fd19751d0  aeson-2.3.1.0/tests/CastFloat.hs
+formatted       4791b0066cbc  aeson-2.3.1.0/tests/DataFamilies/Encoders.hs
+formatted       81f2d62b41ed  aeson-2.3.1.0/tests/DataFamilies/Instances.hs
+formatted       f0cd8940ffdf  aeson-2.3.1.0/tests/DataFamilies/Properties.hs
+formatted       ecd9e268ec9c  aeson-2.3.1.0/tests/DataFamilies/Types.hs
+formatted       c647c4ffca92  aeson-2.3.1.0/tests/DoubleToScientific.hs
+formatted       7d52e883c6e8  aeson-2.3.1.0/tests/Encoders.hs
+formatted       60e67ac206fe  aeson-2.3.1.0/tests/ErrorMessages.hs
+formatted       72fb423455c1  aeson-2.3.1.0/tests/Functions.hs
+formatted       fb33f95905d5  aeson-2.3.1.0/tests/Instances.hs
+formatted       087c9b4d49bc  aeson-2.3.1.0/tests/JSONTestSuite.hs
+formatted       ee07c8a59ec2  aeson-2.3.1.0/tests/Options.hs
+formatted       ae200cd24f4a  aeson-2.3.1.0/tests/PropUtils.hs
+formatted       67d02f0a62a1  aeson-2.3.1.0/tests/Properties.hs
+formatted       579a72dee6b5  aeson-2.3.1.0/tests/PropertyGeneric.hs
+formatted       dbe5536880e2  aeson-2.3.1.0/tests/PropertyKeys.hs
+formatted       b6068856d264  aeson-2.3.1.0/tests/PropertyQC.hs
+formatted       3bd7c21fdfdb  aeson-2.3.1.0/tests/PropertyRTFunctors.hs
+formatted       1a3093825d06  aeson-2.3.1.0/tests/PropertyRoundTrip.hs
+formatted       ac31b2919cca  aeson-2.3.1.0/tests/PropertyTH.hs
+formatted       a934ec3b9214  aeson-2.3.1.0/tests/RFC8785.hs
+formatted       646f78cc7c4f  aeson-2.3.1.0/tests/Regression/Issue1138.hs
+formatted       cffea497ea07  aeson-2.3.1.0/tests/Regression/Issue351.hs
+formatted       b88d643af0b3  aeson-2.3.1.0/tests/Regression/Issue571.hs
+formatted       18866e6f910b  aeson-2.3.1.0/tests/Regression/Issue687.hs
+formatted       a8dd088df4b0  aeson-2.3.1.0/tests/Regression/Issue967.hs
+formatted       f3eab4186a89  aeson-2.3.1.0/tests/SerializationFormatSpec.hs
+formatted       f623934e5be5  aeson-2.3.1.0/tests/Tests.hs
+formatted       bda465bcad23  aeson-2.3.1.0/tests/Types.hs
+formatted       98ee94a63e87  aeson-2.3.1.0/tests/UnitTests.hs
+formatted       fb72e2a62c52  aeson-2.3.1.0/tests/UnitTests/FromJSONKey.hs
+formatted       2f2b7cd48be4  aeson-2.3.1.0/tests/UnitTests/Hashable.hs
+formatted       d9a43b0e4dbb  aeson-2.3.1.0/tests/UnitTests/KeyMapInsertWith.hs
+formatted       384608f5cbc1  aeson-2.3.1.0/tests/UnitTests/MonadFix.hs
+formatted       231952607c66  aeson-2.3.1.0/tests/UnitTests/NoThunks.hs
+formatted       399f318c60a4  aeson-2.3.1.0/tests/UnitTests/NullaryConstructors.hs
+formatted       bf831a55f7b9  aeson-2.3.1.0/tests/UnitTests/OmitNothingFieldsNote.hs
+formatted       0149e4e7c6cc  aeson-2.3.1.0/tests/UnitTests/OptionalFields.hs
+formatted       a5cc81bc08c8  aeson-2.3.1.0/tests/UnitTests/OptionalFields/Common.hs
+formatted       738b992832c7  aeson-2.3.1.0/tests/UnitTests/OptionalFields/Generics.hs
+formatted       5dbfe30f4024  aeson-2.3.1.0/tests/UnitTests/OptionalFields/Manual.hs
+formatted       815cf28b8e68  aeson-2.3.1.0/tests/UnitTests/OptionalFields/TH.hs
+formatted       e34c52b10efb  aeson-2.3.1.0/tests/UnitTests/UTCTime.hs
+formatted       e865ae48f11b  ansi-terminal-1.1.5/Setup.hs
+formatted       df4adbeb326a  ansi-terminal-1.1.5/app/Example.hs
+formatted       ab6d851a6932  ansi-terminal-1.1.5/src/System/Console/ANSI.hs
+formatted       820497cc6023  ansi-terminal-1.1.5/unix/System/Console/ANSI/Internal.hs
+formatted       87be1bf1eb77  ansi-terminal-1.1.5/win/System/Console/ANSI/Internal.hs
+formatted       71b294fab1d0  ansi-terminal-1.1.5/win/System/Console/ANSI/Windows/Foreign.hs
+formatted       f8bc3ebdde0b  ansi-terminal-1.1.5/win/System/Console/ANSI/Windows/Win32/Types.hs
+formatted       d276026d6bbb  async-2.2.6/Control/Concurrent/Async.hs
+partly-checked  7e9d78ca11dd  async-2.2.6/Control/Concurrent/Async/Internal.hs
+formatted       4990c67a39a0  async-2.2.6/Control/Concurrent/Async/Warden.hs
+formatted       be613fb6bb68  async-2.2.6/Control/Concurrent/Stream.hs
+formatted       e865ae48f11b  async-2.2.6/Setup.hs
+formatted       6e7ade24d4ad  async-2.2.6/bench/concasync.hs
+formatted       d867cac9a3c0  async-2.2.6/bench/conccancel.hs
+formatted       eadc37055694  async-2.2.6/bench/race.hs
+formatted       f3ebc75a7418  async-2.2.6/test/test-async.hs
+formatted       9f3238148609  attoparsec-0.14.4/Data/Attoparsec.hs
+formatted       eaeaedfb897b  attoparsec-0.14.4/Data/Attoparsec/ByteString.hs
+formatted       91570c0d148b  attoparsec-0.14.4/Data/Attoparsec/ByteString/Char8.hs
+formatted       e9047edb6f07  attoparsec-0.14.4/Data/Attoparsec/ByteString/Internal.hs
+formatted       4da768602b60  attoparsec-0.14.4/Data/Attoparsec/ByteString/Lazy.hs
+formatted       220f76f3ce4e  attoparsec-0.14.4/Data/Attoparsec/Char8.hs
+formatted       bab7b8f2195f  attoparsec-0.14.4/Data/Attoparsec/Combinator.hs
+formatted       ae58e31ade2b  attoparsec-0.14.4/Data/Attoparsec/Internal.hs
+formatted       47c9a80ad767  attoparsec-0.14.4/Data/Attoparsec/Internal/Types.hs
+formatted       ea3b710a875e  attoparsec-0.14.4/Data/Attoparsec/Lazy.hs
+formatted       3d8057d5d688  attoparsec-0.14.4/Data/Attoparsec/Number.hs
+formatted       43c7abb27122  attoparsec-0.14.4/Data/Attoparsec/Text.hs
+formatted       07b66920e7d0  attoparsec-0.14.4/Data/Attoparsec/Text/Internal.hs
+formatted       c298bc047c1e  attoparsec-0.14.4/Data/Attoparsec/Text/Lazy.hs
+formatted       63d322215a87  attoparsec-0.14.4/Data/Attoparsec/Types.hs
+formatted       17eaf0ef79f6  attoparsec-0.14.4/Data/Attoparsec/Zepto.hs
+formatted       4af39f0222f8  attoparsec-0.14.4/benchmarks/Aeson.hs
+formatted       268b3dc3576a  attoparsec-0.14.4/benchmarks/Benchmarks.hs
+formatted       c1f15fa8aa6e  attoparsec-0.14.4/benchmarks/Common.hs
+formatted       490489b714cd  attoparsec-0.14.4/benchmarks/Genome.hs
+formatted       b9219ebeff7e  attoparsec-0.14.4/benchmarks/HeadersByteString.hs
+formatted       c39213510037  attoparsec-0.14.4/benchmarks/HeadersByteString/Atto.hs
+formatted       2f18b7a9342a  attoparsec-0.14.4/benchmarks/HeadersText.hs
+formatted       c3fe7691c122  attoparsec-0.14.4/benchmarks/Links.hs
+formatted       d4dbe051544d  attoparsec-0.14.4/benchmarks/Numbers.hs
+formatted       171c3573564b  attoparsec-0.14.4/benchmarks/Sets.hs
+formatted       5cd2c6f0dc5e  attoparsec-0.14.4/benchmarks/TextFastSet.hs
+formatted       8125ea3002df  attoparsec-0.14.4/benchmarks/Warp.hs
+declined        -             attoparsec-0.14.4/benchmarks/warp-3.0.1.1/Network/Wai/Handler/Warp/ReadInt.hs
+formatted       1f7d3a417fb5  attoparsec-0.14.4/benchmarks/warp-3.0.1.1/Network/Wai/Handler/Warp/RequestHeader.hs
+formatted       e499f8a728b2  attoparsec-0.14.4/examples/Atto_RFC2616.hs
+formatted       6023dd27f36e  attoparsec-0.14.4/examples/Parsec_RFC2616.hs
+formatted       9a97e05d866b  attoparsec-0.14.4/examples/RFC2616.hs
+formatted       199d73fbdf22  attoparsec-0.14.4/internal/Data/Attoparsec/ByteString/Buffer.hs
+formatted       76149d8b40cc  attoparsec-0.14.4/internal/Data/Attoparsec/ByteString/FastSet.hs
+formatted       f21e47830b1f  attoparsec-0.14.4/internal/Data/Attoparsec/Internal/Compat.hs
+formatted       4498fcbfa61f  attoparsec-0.14.4/internal/Data/Attoparsec/Internal/Fhthagn.hs
+formatted       bc12b2ada3b5  attoparsec-0.14.4/internal/Data/Attoparsec/Text/Buffer.hs
+formatted       f4a30552d252  attoparsec-0.14.4/internal/Data/Attoparsec/Text/FastSet.hs
+formatted       b56fedde0caa  attoparsec-0.14.4/tests/QC.hs
+formatted       449f001e71ba  attoparsec-0.14.4/tests/QC/Buffer.hs
+formatted       189fcf89c190  attoparsec-0.14.4/tests/QC/ByteString.hs
+formatted       33a663e67489  attoparsec-0.14.4/tests/QC/Combinator.hs
+formatted       cf2874367564  attoparsec-0.14.4/tests/QC/Common.hs
+formatted       377fa899fc65  attoparsec-0.14.4/tests/QC/IPv6/Internal.hs
+formatted       0692feda416d  attoparsec-0.14.4/tests/QC/IPv6/Types.hs
+formatted       08452f3d9508  attoparsec-0.14.4/tests/QC/Rechunked.hs
+formatted       54adf76fbc88  attoparsec-0.14.4/tests/QC/Simple.hs
+formatted       fdf96ff50b77  attoparsec-0.14.4/tests/QC/Text.hs
+formatted       86af3c06d2cf  attoparsec-0.14.4/tests/QC/Text/FastSet.hs
+formatted       a3b743d506df  attoparsec-0.14.4/tests/QC/Text/Regressions.hs
+formatted       e1ef503cd64b  aws-0.25.3/Aws.hs
+formatted       7d28749b7701  aws-0.25.3/Aws/Aws.hs
+formatted       430e5f7df4f8  aws-0.25.3/Aws/Core.hs
+formatted       96d5bbcaae29  aws-0.25.3/Aws/DynamoDb.hs
+formatted       139088f99ac8  aws-0.25.3/Aws/DynamoDb/Commands.hs
+formatted       eceb84e850ff  aws-0.25.3/Aws/DynamoDb/Commands/BatchGetItem.hs
+formatted       1e63b4bda3aa  aws-0.25.3/Aws/DynamoDb/Commands/BatchWriteItem.hs
+formatted       6e0cede3d4ca  aws-0.25.3/Aws/DynamoDb/Commands/DeleteItem.hs
+formatted       cefa66e31b55  aws-0.25.3/Aws/DynamoDb/Commands/GetItem.hs
+formatted       be82584ab4fc  aws-0.25.3/Aws/DynamoDb/Commands/PutItem.hs
+formatted       a6bdf719c4da  aws-0.25.3/Aws/DynamoDb/Commands/Query.hs
+formatted       17f04953076d  aws-0.25.3/Aws/DynamoDb/Commands/Scan.hs
+formatted       d7b1c2014f6b  aws-0.25.3/Aws/DynamoDb/Commands/Table.hs
+formatted       d7d782c8fcf5  aws-0.25.3/Aws/DynamoDb/Commands/UpdateItem.hs
+formatted       7c9c53c638c4  aws-0.25.3/Aws/DynamoDb/Core.hs
+formatted       b58f5db92fc4  aws-0.25.3/Aws/Ec2/InstanceMetadata.hs
+formatted       64524ea72e53  aws-0.25.3/Aws/Iam.hs
+formatted       749eee8b56a6  aws-0.25.3/Aws/Iam/Commands.hs
+formatted       b3f4b08d70c2  aws-0.25.3/Aws/Iam/Commands/AddUserToGroup.hs
+formatted       f7cb5f6e9a40  aws-0.25.3/Aws/Iam/Commands/CreateAccessKey.hs
+formatted       bfebf9436240  aws-0.25.3/Aws/Iam/Commands/CreateGroup.hs
+formatted       52cdcea0523c  aws-0.25.3/Aws/Iam/Commands/CreateUser.hs
+formatted       3f14ad2e6a24  aws-0.25.3/Aws/Iam/Commands/DeleteAccessKey.hs
+formatted       cb0331cbfb66  aws-0.25.3/Aws/Iam/Commands/DeleteGroup.hs
+formatted       e65894c498e9  aws-0.25.3/Aws/Iam/Commands/DeleteGroupPolicy.hs
+formatted       fe2032f006b0  aws-0.25.3/Aws/Iam/Commands/DeleteUser.hs
+formatted       e6adb2a8bf1d  aws-0.25.3/Aws/Iam/Commands/DeleteUserPolicy.hs
+formatted       4760dc3ca143  aws-0.25.3/Aws/Iam/Commands/GetGroupPolicy.hs
+formatted       8039450847ab  aws-0.25.3/Aws/Iam/Commands/GetUser.hs
+formatted       3b77d3acbd89  aws-0.25.3/Aws/Iam/Commands/GetUserPolicy.hs
+formatted       26c99142f336  aws-0.25.3/Aws/Iam/Commands/ListAccessKeys.hs
+formatted       972e33b3ecd3  aws-0.25.3/Aws/Iam/Commands/ListGroupPolicies.hs
+formatted       4fcc2d470581  aws-0.25.3/Aws/Iam/Commands/ListGroups.hs
+formatted       53650be92977  aws-0.25.3/Aws/Iam/Commands/ListMfaDevices.hs
+formatted       0dd314b77909  aws-0.25.3/Aws/Iam/Commands/ListUserPolicies.hs
+formatted       48c45f945650  aws-0.25.3/Aws/Iam/Commands/ListUsers.hs
+formatted       f17561861a33  aws-0.25.3/Aws/Iam/Commands/PutGroupPolicy.hs
+formatted       40babab53323  aws-0.25.3/Aws/Iam/Commands/PutUserPolicy.hs
+formatted       7ef64c60c2e2  aws-0.25.3/Aws/Iam/Commands/RemoveUserFromGroup.hs
+formatted       6652af157eef  aws-0.25.3/Aws/Iam/Commands/UpdateAccessKey.hs
+formatted       bcc7ebe57127  aws-0.25.3/Aws/Iam/Commands/UpdateGroup.hs
+formatted       ec1edc4016fc  aws-0.25.3/Aws/Iam/Commands/UpdateUser.hs
+formatted       56f83c8085c4  aws-0.25.3/Aws/Iam/Core.hs
+formatted       bebaa8f2bfb7  aws-0.25.3/Aws/Iam/Internal.hs
+formatted       11411d6e3704  aws-0.25.3/Aws/Network.hs
+formatted       ce77812a32a4  aws-0.25.3/Aws/S3.hs
+formatted       468614525265  aws-0.25.3/Aws/S3/Commands.hs
+formatted       a6cbb373ee59  aws-0.25.3/Aws/S3/Commands/CopyObject.hs
+formatted       7680f73f34a2  aws-0.25.3/Aws/S3/Commands/DeleteBucket.hs
+formatted       0ada31ff3e87  aws-0.25.3/Aws/S3/Commands/DeleteObject.hs
+formatted       7f66436f03c7  aws-0.25.3/Aws/S3/Commands/DeleteObjectVersion.hs
+formatted       f0893b99face  aws-0.25.3/Aws/S3/Commands/DeleteObjects.hs
+formatted       613a5df0ff2d  aws-0.25.3/Aws/S3/Commands/GetBucket.hs
+formatted       e0afd8ac92c0  aws-0.25.3/Aws/S3/Commands/GetBucketLocation.hs
+formatted       03fd1b960fe6  aws-0.25.3/Aws/S3/Commands/GetBucketObjectVersions.hs
+formatted       e9a9b2b3482d  aws-0.25.3/Aws/S3/Commands/GetBucketVersioning.hs
+formatted       c7683f42eec8  aws-0.25.3/Aws/S3/Commands/GetObject.hs
+formatted       adf5e84b4bf3  aws-0.25.3/Aws/S3/Commands/GetService.hs
+formatted       6505f6243651  aws-0.25.3/Aws/S3/Commands/HeadObject.hs
+formatted       1f148ec631df  aws-0.25.3/Aws/S3/Commands/Multipart.hs
+formatted       bd0462982920  aws-0.25.3/Aws/S3/Commands/PutBucket.hs
+formatted       5a233cf3ab12  aws-0.25.3/Aws/S3/Commands/PutBucketVersioning.hs
+formatted       3df6373393f1  aws-0.25.3/Aws/S3/Commands/PutObject.hs
+formatted       e627379f753b  aws-0.25.3/Aws/S3/Commands/RestoreObject.hs
+formatted       f8623c2a3e7c  aws-0.25.3/Aws/S3/Core.hs
+formatted       e59133632c71  aws-0.25.3/Aws/Ses.hs
+formatted       98906d812790  aws-0.25.3/Aws/Ses/Commands.hs
+formatted       ae8d7d96e05b  aws-0.25.3/Aws/Ses/Commands/DeleteIdentity.hs
+formatted       4472d44d4079  aws-0.25.3/Aws/Ses/Commands/GetIdentityDkimAttributes.hs
+formatted       a14055023fe9  aws-0.25.3/Aws/Ses/Commands/GetIdentityNotificationAttributes.hs
+formatted       0ad33a909c32  aws-0.25.3/Aws/Ses/Commands/GetIdentityVerificationAttributes.hs
+formatted       6759ba3f31f7  aws-0.25.3/Aws/Ses/Commands/ListIdentities.hs
+formatted       4a551b0510ba  aws-0.25.3/Aws/Ses/Commands/SendRawEmail.hs
+formatted       49ff97883cc7  aws-0.25.3/Aws/Ses/Commands/SetIdentityDkimEnabled.hs
+formatted       55f9cb8b0d4e  aws-0.25.3/Aws/Ses/Commands/SetIdentityFeedbackForwardingEnabled.hs
+formatted       4b65c86aec07  aws-0.25.3/Aws/Ses/Commands/SetIdentityNotificationTopic.hs
+formatted       9453b470ea39  aws-0.25.3/Aws/Ses/Commands/VerifyDomainDkim.hs
+formatted       90fc0f18c1f8  aws-0.25.3/Aws/Ses/Commands/VerifyDomainIdentity.hs
+formatted       34880c11448a  aws-0.25.3/Aws/Ses/Commands/VerifyEmailIdentity.hs
+formatted       7731bf3f76d6  aws-0.25.3/Aws/Ses/Core.hs
+formatted       4115c76b6f3d  aws-0.25.3/Aws/SimpleDb.hs
+formatted       0b6040677d6d  aws-0.25.3/Aws/SimpleDb/Commands.hs
+formatted       f70434a521f6  aws-0.25.3/Aws/SimpleDb/Commands/Attributes.hs
+formatted       2f3227d8cec5  aws-0.25.3/Aws/SimpleDb/Commands/Domain.hs
+formatted       bce104b7c27e  aws-0.25.3/Aws/SimpleDb/Commands/Select.hs
+formatted       4f8b6a5d73b7  aws-0.25.3/Aws/SimpleDb/Core.hs
+formatted       412e7ea774c8  aws-0.25.3/Aws/Sqs.hs
+formatted       346f822a2760  aws-0.25.3/Aws/Sqs/Commands.hs
+formatted       e6523d77e314  aws-0.25.3/Aws/Sqs/Commands/Message.hs
+formatted       6f68548553cc  aws-0.25.3/Aws/Sqs/Commands/Permission.hs
+formatted       e547e4e08aa7  aws-0.25.3/Aws/Sqs/Commands/Queue.hs
+formatted       131bb64f4cad  aws-0.25.3/Aws/Sqs/Commands/QueueAttributes.hs
+formatted       dc520c1b7135  aws-0.25.3/Aws/Sqs/Core.hs
+formatted       dbef5e7a7b88  aws-0.25.3/Examples/DynamoDb.hs
+formatted       41b74046ad1c  aws-0.25.3/Examples/GetObject.hs
+formatted       952c9dc8b056  aws-0.25.3/Examples/GetObjectGoogle.hs
+formatted       9b6b9a64a6fc  aws-0.25.3/Examples/GetObjectV4.hs
+formatted       0f928da17049  aws-0.25.3/Examples/MultipartTransfer.hs
+formatted       89286f851e89  aws-0.25.3/Examples/MultipartUpload.hs
+formatted       02466d245eac  aws-0.25.3/Examples/NukeBucket.hs
+formatted       2e60db8da003  aws-0.25.3/Examples/PutBucketNearLine.hs
+formatted       9e44d46ec183  aws-0.25.3/Examples/SimpleDb.hs
+formatted       a842232f2ad4  aws-0.25.3/Examples/Sqs.hs
+formatted       e865ae48f11b  aws-0.25.3/Setup.hs
+formatted       5ba9a96af7d2  aws-0.25.3/tests/DynamoDb/Main.hs
+formatted       08c9e2277c8f  aws-0.25.3/tests/DynamoDb/Utils.hs
+formatted       7b7b655f9d58  aws-0.25.3/tests/S3/Main.hs
+formatted       20c4da61a37e  aws-0.25.3/tests/Sqs/Main.hs
+formatted       b039ff803acd  aws-0.25.3/tests/Utils.hs
+formatted       c9b1411a3fd0  base64-bytestring-1.2.1.0/Data/ByteString/Base64.hs
+formatted       3d1b8d882f78  base64-bytestring-1.2.1.0/Data/ByteString/Base64/Internal.hs
+formatted       c5bbe94a7ef8  base64-bytestring-1.2.1.0/Data/ByteString/Base64/Lazy.hs
+formatted       1a24ca049b88  base64-bytestring-1.2.1.0/Data/ByteString/Base64/URL.hs
+formatted       23347553bbc5  base64-bytestring-1.2.1.0/Data/ByteString/Base64/URL/Lazy.hs
+formatted       e865ae48f11b  base64-bytestring-1.2.1.0/Setup.hs
+formatted       10621af97c3c  base64-bytestring-1.2.1.0/benchmarks/BM.hs
+formatted       660c117cece6  base64-bytestring-1.2.1.0/tests/Tests.hs
+formatted       dda486ef140c  base64-bytestring-1.2.1.0/utils/Transcode.hs
+formatted       d4f787b02c16  bifunctors-5.6.3/src/Data/Biapplicative.hs
+formatted       aa7de037a16e  bifunctors-5.6.3/src/Data/Bifunctor/Biap.hs
+formatted       dada1492c6db  bifunctors-5.6.3/src/Data/Bifunctor/Biff.hs
+formatted       5342536d5ce1  bifunctors-5.6.3/src/Data/Bifunctor/Clown.hs
+formatted       3289dbeb83e6  bifunctors-5.6.3/src/Data/Bifunctor/Fix.hs
+formatted       05441d230c99  bifunctors-5.6.3/src/Data/Bifunctor/Flip.hs
+formatted       7f1927806f34  bifunctors-5.6.3/src/Data/Bifunctor/Functor.hs
+formatted       623dafd16476  bifunctors-5.6.3/src/Data/Bifunctor/Join.hs
+formatted       4bdf11eb81f7  bifunctors-5.6.3/src/Data/Bifunctor/Joker.hs
+formatted       b1a628c93479  bifunctors-5.6.3/src/Data/Bifunctor/Product.hs
+formatted       26813b3cc233  bifunctors-5.6.3/src/Data/Bifunctor/Sum.hs
+formatted       ad04480308e3  bifunctors-5.6.3/src/Data/Bifunctor/TH.hs
+formatted       977becc5c358  bifunctors-5.6.3/src/Data/Bifunctor/TH/Internal.hs
+formatted       a9b319c54b39  bifunctors-5.6.3/src/Data/Bifunctor/Tannen.hs
+formatted       fe0b718dc773  bifunctors-5.6.3/src/Data/Bifunctor/Wrapped.hs
+formatted       5b758a7c249c  bifunctors-5.6.3/tests/BifunctorSpec.hs
+formatted       2fbd14b119a4  bifunctors-5.6.3/tests/Spec.hs
+formatted       2cd9816a6e71  bifunctors-5.6.3/tests/T89Spec.hs
+formatted       e865ae48f11b  blaze-html-0.9.2.0/Setup.hs
+formatted       570d20aa61b1  blaze-html-0.9.2.0/src/Text/Blaze/Html.hs
+formatted       2df2459eae6f  blaze-html-0.9.2.0/src/Text/Blaze/Html/Renderer/Pretty.hs
+formatted       250902038934  blaze-html-0.9.2.0/src/Text/Blaze/Html/Renderer/String.hs
+formatted       0eafac6eaf78  blaze-html-0.9.2.0/src/Text/Blaze/Html/Renderer/Text.hs
+formatted       8cdda7478fa1  blaze-html-0.9.2.0/src/Text/Blaze/Html/Renderer/Utf8.hs
+formatted       1ad14b2c1c89  blaze-html-0.9.2.0/src/Text/Blaze/Html4/FrameSet.hs
+formatted       5ab115425aed  blaze-html-0.9.2.0/src/Text/Blaze/Html4/FrameSet/Attributes.hs
+formatted       a2d4b58829e5  blaze-html-0.9.2.0/src/Text/Blaze/Html4/Strict.hs
+formatted       9a73c54deacd  blaze-html-0.9.2.0/src/Text/Blaze/Html4/Strict/Attributes.hs
+formatted       ad6aad21c793  blaze-html-0.9.2.0/src/Text/Blaze/Html4/Transitional.hs
+formatted       75be709205b0  blaze-html-0.9.2.0/src/Text/Blaze/Html4/Transitional/Attributes.hs
+formatted       b91b7d0b24be  blaze-html-0.9.2.0/src/Text/Blaze/Html5.hs
+formatted       3420ac527327  blaze-html-0.9.2.0/src/Text/Blaze/Html5/Attributes.hs
+formatted       d11153ef25ff  blaze-html-0.9.2.0/src/Text/Blaze/XHtml1/FrameSet.hs
+formatted       09a6f96a1be3  blaze-html-0.9.2.0/src/Text/Blaze/XHtml1/FrameSet/Attributes.hs
+formatted       e3bc5bbba953  blaze-html-0.9.2.0/src/Text/Blaze/XHtml1/Strict.hs
+formatted       086efaea2971  blaze-html-0.9.2.0/src/Text/Blaze/XHtml1/Strict/Attributes.hs
+formatted       a9585950d7a3  blaze-html-0.9.2.0/src/Text/Blaze/XHtml1/Transitional.hs
+formatted       b29187a6e8d9  blaze-html-0.9.2.0/src/Text/Blaze/XHtml1/Transitional/Attributes.hs
+formatted       815fa47b0f0d  blaze-html-0.9.2.0/src/Text/Blaze/XHtml5.hs
+formatted       27afcac28ac7  blaze-html-0.9.2.0/src/Text/Blaze/XHtml5/Attributes.hs
+formatted       7c870a17cfef  blaze-html-0.9.2.0/src/Util/GenerateHtmlCombinators.hs
+formatted       c350d72adcf6  blaze-html-0.9.2.0/src/Util/Sanitize.hs
+formatted       36e38ed27424  blaze-html-0.9.2.0/tests/TestSuite.hs
+formatted       6196132923c8  blaze-html-0.9.2.0/tests/Text/Blaze/Html/Tests.hs
+formatted       9705849af780  blaze-html-0.9.2.0/tests/Text/Blaze/Html/Tests/Util.hs
+formatted       a353e33eb720  blaze-html-0.9.2.0/tests/Util/Tests.hs
+formatted       e865ae48f11b  blaze-markup-0.8.3.0/Setup.hs
+formatted       277d27e358c6  blaze-markup-0.8.3.0/src/Text/Blaze.hs
+formatted       b169d79350ef  blaze-markup-0.8.3.0/src/Text/Blaze/Internal.hs
+formatted       4846f41adc9e  blaze-markup-0.8.3.0/src/Text/Blaze/Renderer/Pretty.hs
+formatted       285a36cfbe9c  blaze-markup-0.8.3.0/src/Text/Blaze/Renderer/String.hs
+formatted       7fe2545e8e47  blaze-markup-0.8.3.0/src/Text/Blaze/Renderer/Text.hs
+formatted       ba68ffebf3f3  blaze-markup-0.8.3.0/src/Text/Blaze/Renderer/Utf8.hs
+formatted       9a1308be4232  blaze-markup-0.8.3.0/tests/TestSuite.hs
+formatted       3b2a3664cfb9  blaze-markup-0.8.3.0/tests/Text/Blaze/Tests.hs
+formatted       ca77e3e4270d  blaze-markup-0.8.3.0/tests/Text/Blaze/Tests/Util.hs
+formatted       e865ae48f11b  brick-2.13/Setup.hs
+formatted       ed4fe9a91df4  brick-2.13/programs/AnimationDemo.hs
+formatted       611e932350fe  brick-2.13/programs/AttrDemo.hs
+formatted       6bd6f9e8054d  brick-2.13/programs/BorderDemo.hs
+formatted       e21fbb3c15f9  brick-2.13/programs/CacheDemo.hs
+formatted       cbf03a8ba356  brick-2.13/programs/CroppingDemo.hs
+formatted       2446f93516c1  brick-2.13/programs/CustomEventDemo.hs
+formatted       2f62d9504792  brick-2.13/programs/CustomKeybindingDemo.hs
+formatted       c831172f771a  brick-2.13/programs/DialogDemo.hs
+formatted       70a751a6fa70  brick-2.13/programs/DynamicBorderDemo.hs
+formatted       48fda0ea80cd  brick-2.13/programs/EditDemo.hs
+formatted       d5c5ee0e6a59  brick-2.13/programs/EditorLineNumbersDemo.hs
+formatted       58d0aab229bc  brick-2.13/programs/FileBrowserDemo.hs
+formatted       f42c468e824d  brick-2.13/programs/FillDemo.hs
+formatted       1149c4095a68  brick-2.13/programs/FormDemo.hs
+formatted       ccec85b0d210  brick-2.13/programs/HelloWorldDemo.hs
+formatted       7ca698fa51f9  brick-2.13/programs/LayerDemo.hs
+formatted       6e8568fa5baf  brick-2.13/programs/ListDemo.hs
+formatted       a672db9de99b  brick-2.13/programs/ListViDemo.hs
+formatted       315a1db0a51e  brick-2.13/programs/MouseDemo.hs
+formatted       443546a65257  brick-2.13/programs/PaddingDemo.hs
+formatted       73dba2ceaf9c  brick-2.13/programs/ProgressBarDemo.hs
+formatted       663c2424c9c5  brick-2.13/programs/ReadmeDemo.hs
+formatted       280eb3ccc828  brick-2.13/programs/SuspendAndResumeDemo.hs
+formatted       0a7217ebbef0  brick-2.13/programs/TableDemo.hs
+formatted       2e8aaacd7c0a  brick-2.13/programs/TabularListDemo.hs
+formatted       ad51cc5fe623  brick-2.13/programs/TailDemo.hs
+formatted       1c257640a6d3  brick-2.13/programs/TextWrapDemo.hs
+formatted       81830c9ae565  brick-2.13/programs/ThemeDemo.hs
+formatted       83af9cebb791  brick-2.13/programs/ViewportScrollDemo.hs
+formatted       e37238df1e68  brick-2.13/programs/ViewportScrollbarsDemo.hs
+formatted       4ad3ed185cc7  brick-2.13/programs/VisibilityDemo.hs
+formatted       0abc07286e47  brick-2.13/src/Brick.hs
+formatted       298d6e36d0a8  brick-2.13/src/Brick/Animation.hs
+formatted       b8fe0ee8c36b  brick-2.13/src/Brick/Animation/Clock.hs
+formatted       9d10a9db8b3c  brick-2.13/src/Brick/AttrMap.hs
+formatted       13c109f25eb8  brick-2.13/src/Brick/BChan.hs
+formatted       3f0da0d2fbee  brick-2.13/src/Brick/BorderMap.hs
+formatted       f2bbb707441f  brick-2.13/src/Brick/Focus.hs
+formatted       2b4fee61cefe  brick-2.13/src/Brick/Forms.hs
+formatted       d6c2a2e1b0a0  brick-2.13/src/Brick/Keybindings.hs
+formatted       c550433133b2  brick-2.13/src/Brick/Keybindings/KeyConfig.hs
+formatted       2d453f760893  brick-2.13/src/Brick/Keybindings/KeyDispatcher.hs
+formatted       5fab0e51a531  brick-2.13/src/Brick/Keybindings/KeyEvents.hs
+formatted       20d38a2fef1c  brick-2.13/src/Brick/Keybindings/Normalize.hs
+formatted       c8aecd304e48  brick-2.13/src/Brick/Keybindings/Parse.hs
+formatted       5b61638d1062  brick-2.13/src/Brick/Keybindings/Pretty.hs
+formatted       a1d918740b59  brick-2.13/src/Brick/Main.hs
+formatted       71915df4007c  brick-2.13/src/Brick/Themes.hs
+formatted       ece7163a3dc3  brick-2.13/src/Brick/Types.hs
+formatted       3a457ee8ac1d  brick-2.13/src/Brick/Types/Common.hs
+formatted       2a36cc8b256e  brick-2.13/src/Brick/Types/EventM.hs
+formatted       4f661fc40ec1  brick-2.13/src/Brick/Types/Internal.hs
+formatted       57c37ffea9a5  brick-2.13/src/Brick/Types/TH.hs
+formatted       94739b39c104  brick-2.13/src/Brick/Util.hs
+formatted       8d5a4cb9667d  brick-2.13/src/Brick/Widgets/Border.hs
+formatted       242f8482b7a8  brick-2.13/src/Brick/Widgets/Border/Style.hs
+formatted       2feabe961133  brick-2.13/src/Brick/Widgets/Center.hs
+formatted       24872e179e20  brick-2.13/src/Brick/Widgets/Core.hs
+formatted       b6a3a8e3cad8  brick-2.13/src/Brick/Widgets/Dialog.hs
+formatted       d02dfb8f25c9  brick-2.13/src/Brick/Widgets/Edit.hs
+formatted       40379ae1c25c  brick-2.13/src/Brick/Widgets/FileBrowser.hs
+formatted       ab3a7a34b1ce  brick-2.13/src/Brick/Widgets/Internal.hs
+formatted       b01e29363299  brick-2.13/src/Brick/Widgets/List.hs
+formatted       ac5aa8e5db8a  brick-2.13/src/Brick/Widgets/ProgressBar.hs
+formatted       dd082d0c0700  brick-2.13/src/Brick/Widgets/Table.hs
+formatted       78cb3e7add5c  brick-2.13/src/Data/IMap.hs
+formatted       799f62c282a7  brick-2.13/tests/List.hs
+formatted       bb17a08f5f05  brick-2.13/tests/Main.hs
+formatted       63a6306a59cd  brick-2.13/tests/Render.hs
+formatted       e0fa5e2b222c  brittany-0.14.0.2/data/Test1.hs
+formatted       a7fed1125f29  brittany-0.14.0.2/data/Test10.hs
+formatted       dd2db552d155  brittany-0.14.0.2/data/Test100.hs
+formatted       3ebccae4d2bf  brittany-0.14.0.2/data/Test101.hs
+formatted       000b618097d0  brittany-0.14.0.2/data/Test102.hs
+formatted       26845ab84f6a  brittany-0.14.0.2/data/Test103.hs
+formatted       25cf4c76ed6b  brittany-0.14.0.2/data/Test104.hs
+formatted       bac120fe0092  brittany-0.14.0.2/data/Test105.hs
+formatted       e29d7ffca93f  brittany-0.14.0.2/data/Test106.hs
+formatted       0b6e06bf2c23  brittany-0.14.0.2/data/Test107.hs
+formatted       eda42fe4d65b  brittany-0.14.0.2/data/Test108.hs
+formatted       9ce1b7bc7832  brittany-0.14.0.2/data/Test109.hs
+formatted       c7d09069af77  brittany-0.14.0.2/data/Test11.hs
+formatted       61661f795457  brittany-0.14.0.2/data/Test110.hs
+formatted       37d78f5961ec  brittany-0.14.0.2/data/Test111.hs
+formatted       1e4bb8275bfb  brittany-0.14.0.2/data/Test112.hs
+formatted       8cda89e87702  brittany-0.14.0.2/data/Test113.hs
+formatted       751bfd56bc69  brittany-0.14.0.2/data/Test114.hs
+formatted       5078888fc5d2  brittany-0.14.0.2/data/Test115.hs
+formatted       3fdf3b074d25  brittany-0.14.0.2/data/Test116.hs
+formatted       15ad0c63e705  brittany-0.14.0.2/data/Test117.hs
+formatted       77f7ec9848cd  brittany-0.14.0.2/data/Test118.hs
+formatted       2a994aca8970  brittany-0.14.0.2/data/Test119.hs
+formatted       624becd3f674  brittany-0.14.0.2/data/Test12.hs
+formatted       5bbfe94a03d4  brittany-0.14.0.2/data/Test120.hs
+formatted       01ac88bcab1a  brittany-0.14.0.2/data/Test121.hs
+formatted       057f0ce3ffb0  brittany-0.14.0.2/data/Test122.hs
+formatted       661f6da49632  brittany-0.14.0.2/data/Test123.hs
+formatted       fb20151cec71  brittany-0.14.0.2/data/Test124.hs
+formatted       dd6fcdfeb27c  brittany-0.14.0.2/data/Test125.hs
+formatted       1b2ef1cfadaa  brittany-0.14.0.2/data/Test126.hs
+formatted       ba626fdd4fa3  brittany-0.14.0.2/data/Test127.hs
+formatted       bec0f8aa554d  brittany-0.14.0.2/data/Test128.hs
+formatted       f712d9c961eb  brittany-0.14.0.2/data/Test129.hs
+formatted       79735ec00a3d  brittany-0.14.0.2/data/Test13.hs
+formatted       f808d5477ba7  brittany-0.14.0.2/data/Test130.hs
+formatted       2372bf2e1670  brittany-0.14.0.2/data/Test131.hs
+formatted       c6526aabb3c3  brittany-0.14.0.2/data/Test132.hs
+formatted       5287afc100b5  brittany-0.14.0.2/data/Test133.hs
+formatted       cbf28cc3de46  brittany-0.14.0.2/data/Test134.hs
+formatted       e9f15a2df4fd  brittany-0.14.0.2/data/Test135.hs
+formatted       d40ccadec39d  brittany-0.14.0.2/data/Test136.hs
+formatted       e8b4564e3bfa  brittany-0.14.0.2/data/Test137.hs
+formatted       ddbd7b880898  brittany-0.14.0.2/data/Test138.hs
+formatted       4ce9b0b36ac2  brittany-0.14.0.2/data/Test139.hs
+formatted       bb31ea72e15c  brittany-0.14.0.2/data/Test14.hs
+formatted       f04daeaa79e9  brittany-0.14.0.2/data/Test140.hs
+formatted       3f2c0367c6f9  brittany-0.14.0.2/data/Test141.hs
+formatted       edb875329172  brittany-0.14.0.2/data/Test142.hs
+formatted       fa53ce7f455d  brittany-0.14.0.2/data/Test143.hs
+formatted       1c5e166b5b3c  brittany-0.14.0.2/data/Test144.hs
+formatted       412dc562e63e  brittany-0.14.0.2/data/Test145.hs
+formatted       6594ac0ac89d  brittany-0.14.0.2/data/Test146.hs
+formatted       0132945dc887  brittany-0.14.0.2/data/Test147.hs
+formatted       0277bb5ca795  brittany-0.14.0.2/data/Test148.hs
+formatted       cbbb9e8ddafa  brittany-0.14.0.2/data/Test149.hs
+formatted       9db344b52a25  brittany-0.14.0.2/data/Test15.hs
+formatted       d29a46b01b30  brittany-0.14.0.2/data/Test150.hs
+formatted       d4d803460298  brittany-0.14.0.2/data/Test151.hs
+formatted       a36d7b2912f5  brittany-0.14.0.2/data/Test152.hs
+formatted       ea0b611491be  brittany-0.14.0.2/data/Test153.hs
+formatted       6607ab7d8924  brittany-0.14.0.2/data/Test154.hs
+formatted       66cbd556135d  brittany-0.14.0.2/data/Test155.hs
+formatted       129e56afdeb6  brittany-0.14.0.2/data/Test156.hs
+formatted       57f3fe7514c4  brittany-0.14.0.2/data/Test157.hs
+formatted       46b61e3c8952  brittany-0.14.0.2/data/Test158.hs
+formatted       d8fde995e15b  brittany-0.14.0.2/data/Test159.hs
+formatted       b65a3702395c  brittany-0.14.0.2/data/Test16.hs
+formatted       424434aeac60  brittany-0.14.0.2/data/Test160.hs
+formatted       756b8d709d75  brittany-0.14.0.2/data/Test161.hs
+formatted       fb931ccfd1e4  brittany-0.14.0.2/data/Test162.hs
+formatted       85db961eab6d  brittany-0.14.0.2/data/Test163.hs
+formatted       7c1bca51eb76  brittany-0.14.0.2/data/Test164.hs
+formatted       1d7b340799de  brittany-0.14.0.2/data/Test165.hs
+formatted       660e2a8d17c4  brittany-0.14.0.2/data/Test166.hs
+formatted       9034e094d375  brittany-0.14.0.2/data/Test167.hs
+formatted       691edd915888  brittany-0.14.0.2/data/Test168.hs
+formatted       cd8fce2bda23  brittany-0.14.0.2/data/Test169.hs
+formatted       bce8e4d3c9ba  brittany-0.14.0.2/data/Test17.hs
+formatted       b9c1ba677274  brittany-0.14.0.2/data/Test170.hs
+formatted       81fa7c381707  brittany-0.14.0.2/data/Test171.hs
+formatted       afe61a6d3b7e  brittany-0.14.0.2/data/Test172.hs
+formatted       c651a0d78d61  brittany-0.14.0.2/data/Test173.hs
+formatted       893e9047ccc9  brittany-0.14.0.2/data/Test174.hs
+formatted       44a807f3c420  brittany-0.14.0.2/data/Test175.hs
+formatted       ceb23c285e78  brittany-0.14.0.2/data/Test176.hs
+formatted       2cc15cb26130  brittany-0.14.0.2/data/Test177.hs
+formatted       47771349ee44  brittany-0.14.0.2/data/Test178.hs
+formatted       fe3c3245408d  brittany-0.14.0.2/data/Test179.hs
+formatted       674dab4fdbcb  brittany-0.14.0.2/data/Test18.hs
+formatted       c68cfb31f575  brittany-0.14.0.2/data/Test180.hs
+formatted       e6325e11af38  brittany-0.14.0.2/data/Test181.hs
+formatted       42d9bc7fc2ce  brittany-0.14.0.2/data/Test182.hs
+formatted       69605dcbb7db  brittany-0.14.0.2/data/Test183.hs
+formatted       cab5ed550c8a  brittany-0.14.0.2/data/Test184.hs
+formatted       f6c7f8ad0585  brittany-0.14.0.2/data/Test185.hs
+formatted       5016aa65eeae  brittany-0.14.0.2/data/Test186.hs
+formatted       1f6812c3d99f  brittany-0.14.0.2/data/Test187.hs
+formatted       a063a95ec0b5  brittany-0.14.0.2/data/Test188.hs
+formatted       67c40f7b42e6  brittany-0.14.0.2/data/Test189.hs
+formatted       1b68494e9013  brittany-0.14.0.2/data/Test19.hs
+formatted       96f1ef06a2f4  brittany-0.14.0.2/data/Test190.hs
+formatted       a063a95ec0b5  brittany-0.14.0.2/data/Test191.hs
+formatted       dc32174d8f9d  brittany-0.14.0.2/data/Test192.hs
+formatted       b35395abfd05  brittany-0.14.0.2/data/Test193.hs
+formatted       4d5ddfd8aaab  brittany-0.14.0.2/data/Test194.hs
+formatted       8bb98e83f59e  brittany-0.14.0.2/data/Test195.hs
+formatted       45232601b2c3  brittany-0.14.0.2/data/Test196.hs
+formatted       bdc233fea9ba  brittany-0.14.0.2/data/Test197.hs
+formatted       9ce65738e093  brittany-0.14.0.2/data/Test198.hs
+formatted       eec0cab9f980  brittany-0.14.0.2/data/Test199.hs
+formatted       31b2046f8a67  brittany-0.14.0.2/data/Test2.hs
+formatted       a7a0e1c03060  brittany-0.14.0.2/data/Test20.hs
+formatted       d2a7653b9ba4  brittany-0.14.0.2/data/Test200.hs
+formatted       585cd696f310  brittany-0.14.0.2/data/Test201.hs
+formatted       8bba3630cd88  brittany-0.14.0.2/data/Test202.hs
+formatted       bad4c6d83d4f  brittany-0.14.0.2/data/Test203.hs
+formatted       4ce40055a31c  brittany-0.14.0.2/data/Test204.hs
+formatted       be6b7a8883f5  brittany-0.14.0.2/data/Test205.hs
+formatted       8e7d7929e338  brittany-0.14.0.2/data/Test206.hs
+formatted       3e6a91618060  brittany-0.14.0.2/data/Test207.hs
+formatted       59f9efb3349d  brittany-0.14.0.2/data/Test208.hs
+formatted       79081f0fe37d  brittany-0.14.0.2/data/Test209.hs
+formatted       b383b15d82f0  brittany-0.14.0.2/data/Test21.hs
+formatted       4f8c82f9b51b  brittany-0.14.0.2/data/Test210.hs
+formatted       210d2b918c18  brittany-0.14.0.2/data/Test211.hs
+formatted       d8fb0486ae8c  brittany-0.14.0.2/data/Test212.hs
+formatted       e75e1dd08970  brittany-0.14.0.2/data/Test213.hs
+formatted       43a86c48e3e0  brittany-0.14.0.2/data/Test214.hs
+formatted       ccd8170ddd1c  brittany-0.14.0.2/data/Test215.hs
+formatted       d9d08f97d6ce  brittany-0.14.0.2/data/Test216.hs
+formatted       ee242f311cec  brittany-0.14.0.2/data/Test217.hs
+formatted       2c1a4f8388c7  brittany-0.14.0.2/data/Test218.hs
+formatted       77521cf0255b  brittany-0.14.0.2/data/Test219.hs
+formatted       df6920225c3e  brittany-0.14.0.2/data/Test22.hs
+formatted       6912b515f3d4  brittany-0.14.0.2/data/Test220.hs
+formatted       7e87f164cb90  brittany-0.14.0.2/data/Test221.hs
+formatted       d7e0783e5c83  brittany-0.14.0.2/data/Test222.hs
+formatted       ac59786a0059  brittany-0.14.0.2/data/Test223.hs
+formatted       f4b2c131b776  brittany-0.14.0.2/data/Test224.hs
+formatted       fc2a39383602  brittany-0.14.0.2/data/Test225.hs
+formatted       0a2523228f93  brittany-0.14.0.2/data/Test226.hs
+formatted       228fee2942c2  brittany-0.14.0.2/data/Test227.hs
+formatted       911d30954d07  brittany-0.14.0.2/data/Test228.hs
+formatted       2f660f4ac662  brittany-0.14.0.2/data/Test229.hs
+formatted       fbc349a18ac2  brittany-0.14.0.2/data/Test23.hs
+formatted       a7a3d4cdb042  brittany-0.14.0.2/data/Test230.hs
+formatted       8213e25c0010  brittany-0.14.0.2/data/Test231.hs
+formatted       cf2c7ac7b851  brittany-0.14.0.2/data/Test232.hs
+formatted       60e66feea926  brittany-0.14.0.2/data/Test233.hs
+formatted       b6113299b5da  brittany-0.14.0.2/data/Test234.hs
+formatted       661c1fe894fb  brittany-0.14.0.2/data/Test235.hs
+formatted       57f09569ac82  brittany-0.14.0.2/data/Test236.hs
+formatted       0dfd55915ad3  brittany-0.14.0.2/data/Test237.hs
+formatted       4bc18bfc8664  brittany-0.14.0.2/data/Test238.hs
+formatted       f1066c5f9396  brittany-0.14.0.2/data/Test239.hs
+formatted       d0c0b62e11ea  brittany-0.14.0.2/data/Test24.hs
+formatted       a51ff778ca0c  brittany-0.14.0.2/data/Test240.hs
+formatted       6f66ff6e7884  brittany-0.14.0.2/data/Test241.hs
+formatted       7526d4749124  brittany-0.14.0.2/data/Test242.hs
+formatted       d600bfded86f  brittany-0.14.0.2/data/Test243.hs
+formatted       19618fd51fab  brittany-0.14.0.2/data/Test244.hs
+formatted       15f57fcca623  brittany-0.14.0.2/data/Test245.hs
+formatted       676a58886eb0  brittany-0.14.0.2/data/Test246.hs
+formatted       86d72bb559bc  brittany-0.14.0.2/data/Test247.hs
+formatted       15d8e562989b  brittany-0.14.0.2/data/Test248.hs
+formatted       95a821921e97  brittany-0.14.0.2/data/Test249.hs
+formatted       372e384be5d9  brittany-0.14.0.2/data/Test25.hs
+formatted       c8b79c319e1b  brittany-0.14.0.2/data/Test250.hs
+formatted       9e983a1c88d0  brittany-0.14.0.2/data/Test251.hs
+formatted       e25fa77a311d  brittany-0.14.0.2/data/Test252.hs
+formatted       2abc462210d7  brittany-0.14.0.2/data/Test253.hs
+formatted       3dab93bb6c11  brittany-0.14.0.2/data/Test254.hs
+formatted       f91c2de89707  brittany-0.14.0.2/data/Test255.hs
+formatted       fc8afe1bc2d8  brittany-0.14.0.2/data/Test256.hs
+formatted       4b1d0ac4424f  brittany-0.14.0.2/data/Test257.hs
+formatted       a9cbb8a905a0  brittany-0.14.0.2/data/Test258.hs
+formatted       7c0c18756066  brittany-0.14.0.2/data/Test259.hs
+formatted       a9993e322f84  brittany-0.14.0.2/data/Test26.hs
+formatted       bd4ad74e5ad1  brittany-0.14.0.2/data/Test260.hs
+formatted       40147eb0ec0f  brittany-0.14.0.2/data/Test261.hs
+formatted       3821b5d35161  brittany-0.14.0.2/data/Test262.hs
+formatted       fd9a1453387e  brittany-0.14.0.2/data/Test263.hs
+formatted       b7281c5fb795  brittany-0.14.0.2/data/Test264.hs
+formatted       d815db72d171  brittany-0.14.0.2/data/Test265.hs
+formatted       e1e74708d396  brittany-0.14.0.2/data/Test266.hs
+formatted       7a35a02bb934  brittany-0.14.0.2/data/Test267.hs
+formatted       0ca543b36b5d  brittany-0.14.0.2/data/Test268.hs
+formatted       93850bc1adc9  brittany-0.14.0.2/data/Test269.hs
+formatted       b82004f9b520  brittany-0.14.0.2/data/Test27.hs
+formatted       0465690dd788  brittany-0.14.0.2/data/Test270.hs
+formatted       8da0ed8508b1  brittany-0.14.0.2/data/Test271.hs
+formatted       059cb60e3ffb  brittany-0.14.0.2/data/Test272.hs
+formatted       ce7c5a9f7346  brittany-0.14.0.2/data/Test273.hs
+formatted       8ba2a49439db  brittany-0.14.0.2/data/Test274.hs
+formatted       af0ca8a4b396  brittany-0.14.0.2/data/Test275.hs
+formatted       f54d68eb932d  brittany-0.14.0.2/data/Test276.hs
+formatted       5280a70aa08d  brittany-0.14.0.2/data/Test277.hs
+formatted       42b39ee183e6  brittany-0.14.0.2/data/Test278.hs
+formatted       9a6ca39add52  brittany-0.14.0.2/data/Test279.hs
+formatted       35c64cf444f0  brittany-0.14.0.2/data/Test28.hs
+formatted       2c62cf845c15  brittany-0.14.0.2/data/Test280.hs
+formatted       6582acde6803  brittany-0.14.0.2/data/Test281.hs
+formatted       d69c5a291173  brittany-0.14.0.2/data/Test282.hs
+formatted       dad1fa89cc7b  brittany-0.14.0.2/data/Test283.hs
+formatted       61ba8c0a1014  brittany-0.14.0.2/data/Test284.hs
+formatted       dc5e12a45407  brittany-0.14.0.2/data/Test285.hs
+formatted       dc5e12a45407  brittany-0.14.0.2/data/Test286.hs
+formatted       e73001f7bfd5  brittany-0.14.0.2/data/Test287.hs
+formatted       3fdaf4d18a7c  brittany-0.14.0.2/data/Test288.hs
+formatted       8472b4d5d119  brittany-0.14.0.2/data/Test289.hs
+formatted       4b4297a0f4c5  brittany-0.14.0.2/data/Test29.hs
+formatted       af881940fba6  brittany-0.14.0.2/data/Test290.hs
+formatted       6b8b53cb8029  brittany-0.14.0.2/data/Test291.hs
+formatted       afd400f5f5ca  brittany-0.14.0.2/data/Test292.hs
+formatted       dbd53f969525  brittany-0.14.0.2/data/Test293.hs
+formatted       8e4e40c43066  brittany-0.14.0.2/data/Test294.hs
+formatted       5378d8225be8  brittany-0.14.0.2/data/Test295.hs
+formatted       efa089fba7ce  brittany-0.14.0.2/data/Test296.hs
+formatted       f2528253489c  brittany-0.14.0.2/data/Test297.hs
+formatted       a71313de7a74  brittany-0.14.0.2/data/Test298.hs
+formatted       9c7a3513d329  brittany-0.14.0.2/data/Test299.hs
+formatted       e430aa9e3dac  brittany-0.14.0.2/data/Test3.hs
+formatted       b786e0a045c4  brittany-0.14.0.2/data/Test30.hs
+formatted       82411c11ab17  brittany-0.14.0.2/data/Test300.hs
+formatted       6578a96b238b  brittany-0.14.0.2/data/Test301.hs
+formatted       8cee95f91f47  brittany-0.14.0.2/data/Test302.hs
+formatted       01d16f13bc99  brittany-0.14.0.2/data/Test303.hs
+formatted       2f37bef49ce1  brittany-0.14.0.2/data/Test304.hs
+formatted       9d3e8b7bf639  brittany-0.14.0.2/data/Test305.hs
+formatted       20c63b9ecba6  brittany-0.14.0.2/data/Test306.hs
+formatted       348106878578  brittany-0.14.0.2/data/Test307.hs
+formatted       017f020a856d  brittany-0.14.0.2/data/Test308.hs
+formatted       980708cbb4c4  brittany-0.14.0.2/data/Test309.hs
+formatted       b7f73c7d2a34  brittany-0.14.0.2/data/Test31.hs
+formatted       3c2cc10d169b  brittany-0.14.0.2/data/Test310.hs
+formatted       66fcc75686ea  brittany-0.14.0.2/data/Test311.hs
+formatted       611a32da9261  brittany-0.14.0.2/data/Test312.hs
+formatted       e63f0b07266f  brittany-0.14.0.2/data/Test313.hs
+formatted       1801f39045ac  brittany-0.14.0.2/data/Test314.hs
+formatted       3e5aa0cbbf8d  brittany-0.14.0.2/data/Test315.hs
+formatted       77220193f4fd  brittany-0.14.0.2/data/Test316.hs
+formatted       681c70c26bdd  brittany-0.14.0.2/data/Test317.hs
+formatted       c9b19f55338f  brittany-0.14.0.2/data/Test318.hs
+formatted       fa83330d01a6  brittany-0.14.0.2/data/Test319.hs
+formatted       4427fcaa9061  brittany-0.14.0.2/data/Test32.hs
+formatted       ea6689654a00  brittany-0.14.0.2/data/Test320.hs
+formatted       1275e28eeb82  brittany-0.14.0.2/data/Test321.hs
+formatted       d51414b5c108  brittany-0.14.0.2/data/Test322.hs
+formatted       e318ac8aa564  brittany-0.14.0.2/data/Test323.hs
+formatted       f018e148e8d5  brittany-0.14.0.2/data/Test324.hs
+formatted       1d0af944da7b  brittany-0.14.0.2/data/Test325.hs
+formatted       5798a680c21f  brittany-0.14.0.2/data/Test326.hs
+formatted       023057e5ea2c  brittany-0.14.0.2/data/Test327.hs
+formatted       2341d88441d5  brittany-0.14.0.2/data/Test328.hs
+formatted       947d63282515  brittany-0.14.0.2/data/Test329.hs
+formatted       786cf111bdad  brittany-0.14.0.2/data/Test33.hs
+formatted       9dd64349f3ea  brittany-0.14.0.2/data/Test330.hs
+formatted       15292e5353c7  brittany-0.14.0.2/data/Test331.hs
+formatted       909ea0b219f8  brittany-0.14.0.2/data/Test332.hs
+formatted       2ad0ebe6ebb0  brittany-0.14.0.2/data/Test333.hs
+formatted       9b7204f946d7  brittany-0.14.0.2/data/Test334.hs
+formatted       10c6d64e6811  brittany-0.14.0.2/data/Test335.hs
+formatted       b2addef5d712  brittany-0.14.0.2/data/Test336.hs
+formatted       571c3cac2376  brittany-0.14.0.2/data/Test337.hs
+formatted       7ab714dc2fd3  brittany-0.14.0.2/data/Test338.hs
+formatted       178282256454  brittany-0.14.0.2/data/Test339.hs
+formatted       4245ffc2f21f  brittany-0.14.0.2/data/Test34.hs
+formatted       b4e7aae03ca2  brittany-0.14.0.2/data/Test340.hs
+formatted       aab77942c3b8  brittany-0.14.0.2/data/Test341.hs
+formatted       1a162378043c  brittany-0.14.0.2/data/Test342.hs
+formatted       237c79a35514  brittany-0.14.0.2/data/Test343.hs
+formatted       5af677fa0a9b  brittany-0.14.0.2/data/Test344.hs
+formatted       abe1b659b346  brittany-0.14.0.2/data/Test345.hs
+formatted       3c1f80fba7f5  brittany-0.14.0.2/data/Test346.hs
+formatted       7f12720f2600  brittany-0.14.0.2/data/Test347.hs
+formatted       264cc0e7cf96  brittany-0.14.0.2/data/Test348.hs
+formatted       03a3efa0a75e  brittany-0.14.0.2/data/Test349.hs
+formatted       b7f73c7d2a34  brittany-0.14.0.2/data/Test35.hs
+formatted       726069a13358  brittany-0.14.0.2/data/Test350.hs
+formatted       a50f8646bfb1  brittany-0.14.0.2/data/Test351.hs
+formatted       849dab5ec39d  brittany-0.14.0.2/data/Test352.hs
+formatted       baedf91b8ccd  brittany-0.14.0.2/data/Test353.hs
+formatted       fcae903dc453  brittany-0.14.0.2/data/Test354.hs
+formatted       2637fe2659d5  brittany-0.14.0.2/data/Test355.hs
+formatted       65798192c40d  brittany-0.14.0.2/data/Test356.hs
+formatted       2cdb94cbf551  brittany-0.14.0.2/data/Test357.hs
+formatted       501e5f69073e  brittany-0.14.0.2/data/Test358.hs
+formatted       86bec0344083  brittany-0.14.0.2/data/Test359.hs
+formatted       987603d032ac  brittany-0.14.0.2/data/Test36.hs
+formatted       15308dc2dd01  brittany-0.14.0.2/data/Test360.hs
+formatted       0b2ad491920b  brittany-0.14.0.2/data/Test361.hs
+formatted       d9da88c7cdef  brittany-0.14.0.2/data/Test362.hs
+formatted       d9831cd6816b  brittany-0.14.0.2/data/Test363.hs
+formatted       ed8a4a471a67  brittany-0.14.0.2/data/Test364.hs
+formatted       ce4109a16e55  brittany-0.14.0.2/data/Test365.hs
+formatted       d16eae4aad20  brittany-0.14.0.2/data/Test366.hs
+formatted       b07954dfc9bf  brittany-0.14.0.2/data/Test367.hs
+formatted       45eeef287ee4  brittany-0.14.0.2/data/Test368.hs
+formatted       e61e587a6843  brittany-0.14.0.2/data/Test369.hs
+formatted       f500b3d5f559  brittany-0.14.0.2/data/Test37.hs
+formatted       08718fefbaf6  brittany-0.14.0.2/data/Test370.hs
+formatted       2fc71603e098  brittany-0.14.0.2/data/Test371.hs
+formatted       34177b9d84e3  brittany-0.14.0.2/data/Test372.hs
+formatted       5fa71c232724  brittany-0.14.0.2/data/Test373.hs
+formatted       f5fca966196b  brittany-0.14.0.2/data/Test374.hs
+formatted       a4d64bf7587b  brittany-0.14.0.2/data/Test375.hs
+formatted       14e2ed1f0f63  brittany-0.14.0.2/data/Test376.hs
+formatted       f5a4e0c1e34f  brittany-0.14.0.2/data/Test377.hs
+formatted       bddefc49765b  brittany-0.14.0.2/data/Test378.hs
+formatted       ea19c516bcbf  brittany-0.14.0.2/data/Test379.hs
+formatted       6a3e7da4119d  brittany-0.14.0.2/data/Test38.hs
+formatted       d2ee555751f5  brittany-0.14.0.2/data/Test380.hs
+formatted       3823e3c2d919  brittany-0.14.0.2/data/Test381.hs
+formatted       80271da1e835  brittany-0.14.0.2/data/Test382.hs
+formatted       ed5f4e8c4709  brittany-0.14.0.2/data/Test383.hs
+formatted       d4963535df46  brittany-0.14.0.2/data/Test384.hs
+formatted       6ced47de66db  brittany-0.14.0.2/data/Test385.hs
+formatted       1570d72029b7  brittany-0.14.0.2/data/Test386.hs
+formatted       1416aa178cdb  brittany-0.14.0.2/data/Test387.hs
+formatted       edfafa8fb3e5  brittany-0.14.0.2/data/Test388.hs
+formatted       42514775ddf7  brittany-0.14.0.2/data/Test389.hs
+formatted       6c58063d3fab  brittany-0.14.0.2/data/Test39.hs
+formatted       fac1b1c7f0c1  brittany-0.14.0.2/data/Test390.hs
+formatted       edfafa8fb3e5  brittany-0.14.0.2/data/Test391.hs
+formatted       b0d3ee7240ad  brittany-0.14.0.2/data/Test392.hs
+formatted       3742d5df31d3  brittany-0.14.0.2/data/Test393.hs
+formatted       28dd7a32aa13  brittany-0.14.0.2/data/Test394.hs
+formatted       91de5c22d799  brittany-0.14.0.2/data/Test395.hs
+formatted       15521d568177  brittany-0.14.0.2/data/Test396.hs
+formatted       bc632756e066  brittany-0.14.0.2/data/Test397.hs
+formatted       fc2de0dfca48  brittany-0.14.0.2/data/Test398.hs
+formatted       8294327ebf8b  brittany-0.14.0.2/data/Test399.hs
+formatted       c3cdd2cbcecc  brittany-0.14.0.2/data/Test4.hs
+formatted       c8a00284c5f4  brittany-0.14.0.2/data/Test40.hs
+formatted       e55074dcd689  brittany-0.14.0.2/data/Test400.hs
+formatted       4da9e5870180  brittany-0.14.0.2/data/Test401.hs
+formatted       74396290a673  brittany-0.14.0.2/data/Test402.hs
+formatted       d2fafd899e89  brittany-0.14.0.2/data/Test403.hs
+formatted       dede30d772d6  brittany-0.14.0.2/data/Test404.hs
+formatted       899e8af490d3  brittany-0.14.0.2/data/Test405.hs
+formatted       6a318c357310  brittany-0.14.0.2/data/Test406.hs
+formatted       183f062112e1  brittany-0.14.0.2/data/Test407.hs
+formatted       55c58dc8cf59  brittany-0.14.0.2/data/Test408.hs
+formatted       a04dc9525882  brittany-0.14.0.2/data/Test409.hs
+formatted       cdc2db1c8449  brittany-0.14.0.2/data/Test41.hs
+formatted       a59bda637fa1  brittany-0.14.0.2/data/Test410.hs
+formatted       c65e5f1f3ba5  brittany-0.14.0.2/data/Test411.hs
+formatted       256c811cbb77  brittany-0.14.0.2/data/Test412.hs
+formatted       92eddeef9f77  brittany-0.14.0.2/data/Test413.hs
+formatted       d9eab58246aa  brittany-0.14.0.2/data/Test414.hs
+formatted       3d11263d426e  brittany-0.14.0.2/data/Test415.hs
+formatted       dbbe7b5f2b24  brittany-0.14.0.2/data/Test416.hs
+formatted       099959230be5  brittany-0.14.0.2/data/Test417.hs
+formatted       056c3c85e1ce  brittany-0.14.0.2/data/Test418.hs
+formatted       bd3660de0717  brittany-0.14.0.2/data/Test419.hs
+formatted       e3f087db5440  brittany-0.14.0.2/data/Test42.hs
+formatted       821fd8910ac5  brittany-0.14.0.2/data/Test420.hs
+formatted       d9b47c23fec6  brittany-0.14.0.2/data/Test421.hs
+formatted       15fe8b3f5a9e  brittany-0.14.0.2/data/Test422.hs
+formatted       cafda87f90a6  brittany-0.14.0.2/data/Test423.hs
+formatted       7fa298da41f9  brittany-0.14.0.2/data/Test424.hs
+formatted       acddf7b49624  brittany-0.14.0.2/data/Test425.hs
+formatted       84cfb756f2f4  brittany-0.14.0.2/data/Test426.hs
+formatted       33c641a7a072  brittany-0.14.0.2/data/Test427.hs
+formatted       de28f7861710  brittany-0.14.0.2/data/Test428.hs
+formatted       07a30e1c142f  brittany-0.14.0.2/data/Test429.hs
+formatted       6aa1c5a0086b  brittany-0.14.0.2/data/Test43.hs
+formatted       f5d76f5634f5  brittany-0.14.0.2/data/Test430.hs
+formatted       9aae587a1706  brittany-0.14.0.2/data/Test431.hs
+formatted       cab5eb48ea87  brittany-0.14.0.2/data/Test432.hs
+formatted       035c19e15e23  brittany-0.14.0.2/data/Test433.hs
+formatted       54c8c833912d  brittany-0.14.0.2/data/Test434.hs
+formatted       4b85517ecc64  brittany-0.14.0.2/data/Test435.hs
+formatted       ab4c449d67c6  brittany-0.14.0.2/data/Test436.hs
+formatted       9e0a9c4de4a7  brittany-0.14.0.2/data/Test437.hs
+formatted       22f3bbfaab9e  brittany-0.14.0.2/data/Test438.hs
+formatted       27ee3c3a9f1d  brittany-0.14.0.2/data/Test439.hs
+formatted       caa512ed8408  brittany-0.14.0.2/data/Test44.hs
+formatted       f114f80afa88  brittany-0.14.0.2/data/Test440.hs
+formatted       91959f72bf42  brittany-0.14.0.2/data/Test441.hs
+formatted       e100c133e0a6  brittany-0.14.0.2/data/Test442.hs
+formatted       a447fa310286  brittany-0.14.0.2/data/Test443.hs
+formatted       afb74691ba25  brittany-0.14.0.2/data/Test444.hs
+formatted       b04dcb13770d  brittany-0.14.0.2/data/Test445.hs
+formatted       005984004c81  brittany-0.14.0.2/data/Test446.hs
+formatted       519cfd48a90e  brittany-0.14.0.2/data/Test447.hs
+formatted       245fb4545054  brittany-0.14.0.2/data/Test448.hs
+formatted       036f126597a1  brittany-0.14.0.2/data/Test449.hs
+formatted       914e8892ce9f  brittany-0.14.0.2/data/Test45.hs
+formatted       dfae62440755  brittany-0.14.0.2/data/Test450.hs
+formatted       3d8e022d4ea8  brittany-0.14.0.2/data/Test451.hs
+formatted       204a8f956d01  brittany-0.14.0.2/data/Test452.hs
+formatted       3ae152eef9f8  brittany-0.14.0.2/data/Test453.hs
+formatted       dd5c2ba000d9  brittany-0.14.0.2/data/Test454.hs
+formatted       255bf40fcf81  brittany-0.14.0.2/data/Test455.hs
+formatted       186aedf45b55  brittany-0.14.0.2/data/Test456.hs
+formatted       00342a85f4ce  brittany-0.14.0.2/data/Test457.hs
+formatted       4d9ccb4d6155  brittany-0.14.0.2/data/Test458.hs
+formatted       33f453ac627f  brittany-0.14.0.2/data/Test459.hs
+formatted       65a9efd49258  brittany-0.14.0.2/data/Test46.hs
+formatted       dbfa4f771264  brittany-0.14.0.2/data/Test460.hs
+formatted       75bf53838e5c  brittany-0.14.0.2/data/Test461.hs
+formatted       5fde28db6063  brittany-0.14.0.2/data/Test462.hs
+formatted       ff5bcd3737f2  brittany-0.14.0.2/data/Test463.hs
+formatted       e30c0ff394dd  brittany-0.14.0.2/data/Test464.hs
+formatted       82f7c7fb716e  brittany-0.14.0.2/data/Test465.hs
+formatted       f59579bd97ca  brittany-0.14.0.2/data/Test466.hs
+formatted       5909971846f9  brittany-0.14.0.2/data/Test467.hs
+formatted       fe8bf0d3f053  brittany-0.14.0.2/data/Test468.hs
+formatted       79dd70b7320f  brittany-0.14.0.2/data/Test469.hs
+formatted       1983a10a25f3  brittany-0.14.0.2/data/Test47.hs
+formatted       271132ce279b  brittany-0.14.0.2/data/Test470.hs
+formatted       14a056182567  brittany-0.14.0.2/data/Test471.hs
+formatted       cbe652ef0cbb  brittany-0.14.0.2/data/Test472.hs
+formatted       3bf39beb5bf7  brittany-0.14.0.2/data/Test473.hs
+formatted       ac6e5e3c9b28  brittany-0.14.0.2/data/Test474.hs
+formatted       7752938de9c6  brittany-0.14.0.2/data/Test475.hs
+formatted       756e0e0edd8b  brittany-0.14.0.2/data/Test476.hs
+formatted       a87acb3bdeb3  brittany-0.14.0.2/data/Test477.hs
+formatted       d489d082ed14  brittany-0.14.0.2/data/Test478.hs
+formatted       dca2bbac2e81  brittany-0.14.0.2/data/Test479.hs
+formatted       00909af2b184  brittany-0.14.0.2/data/Test48.hs
+formatted       0150b83ded52  brittany-0.14.0.2/data/Test480.hs
+formatted       9fd1038ae87c  brittany-0.14.0.2/data/Test481.hs
+formatted       99e73c09fd8f  brittany-0.14.0.2/data/Test482.hs
+formatted       b6e0c157ec82  brittany-0.14.0.2/data/Test483.hs
+formatted       5308cabef2dd  brittany-0.14.0.2/data/Test484.hs
+formatted       3b0850dd8d8d  brittany-0.14.0.2/data/Test485.hs
+formatted       81a1be9769d4  brittany-0.14.0.2/data/Test486.hs
+formatted       e28b3f6dc92a  brittany-0.14.0.2/data/Test487.hs
+formatted       d7ac2e728ca4  brittany-0.14.0.2/data/Test488.hs
+formatted       3455b362a4d8  brittany-0.14.0.2/data/Test489.hs
+formatted       379cdfc91569  brittany-0.14.0.2/data/Test49.hs
+formatted       d2c2b5b45546  brittany-0.14.0.2/data/Test490.hs
+formatted       964f39f9fdd1  brittany-0.14.0.2/data/Test491.hs
+formatted       d469e1b3965b  brittany-0.14.0.2/data/Test492.hs
+formatted       d469e1b3965b  brittany-0.14.0.2/data/Test493.hs
+formatted       1eddc3503b32  brittany-0.14.0.2/data/Test494.hs
+formatted       196d9b015a57  brittany-0.14.0.2/data/Test495.hs
+formatted       00e8a8e9cc86  brittany-0.14.0.2/data/Test496.hs
+formatted       cbeb80fac007  brittany-0.14.0.2/data/Test497.hs
+formatted       326e5653c262  brittany-0.14.0.2/data/Test498.hs
+formatted       46d0f48bc543  brittany-0.14.0.2/data/Test499.hs
+formatted       3bb5ad04d6c9  brittany-0.14.0.2/data/Test5.hs
+formatted       6b0f5afa2b12  brittany-0.14.0.2/data/Test50.hs
+formatted       bb1de50ba61a  brittany-0.14.0.2/data/Test500.hs
+formatted       46987cddeeb1  brittany-0.14.0.2/data/Test501.hs
+formatted       a26bb5e5e289  brittany-0.14.0.2/data/Test502.hs
+formatted       8d17b9b8c118  brittany-0.14.0.2/data/Test503.hs
+formatted       2140e03bd530  brittany-0.14.0.2/data/Test504.hs
+formatted       b8d19bd75331  brittany-0.14.0.2/data/Test505.hs
+formatted       7aafe7248e10  brittany-0.14.0.2/data/Test506.hs
+formatted       283db15defde  brittany-0.14.0.2/data/Test507.hs
+formatted       a017d7235dda  brittany-0.14.0.2/data/Test508.hs
+formatted       525ac73a7645  brittany-0.14.0.2/data/Test509.hs
+formatted       0fad49dcd411  brittany-0.14.0.2/data/Test51.hs
+formatted       be3e1e21b3e7  brittany-0.14.0.2/data/Test510.hs
+formatted       386680696e97  brittany-0.14.0.2/data/Test511.hs
+formatted       c74bbb4b17cf  brittany-0.14.0.2/data/Test512.hs
+formatted       bb9ffbc270ba  brittany-0.14.0.2/data/Test513.hs
+formatted       4babc1db968e  brittany-0.14.0.2/data/Test514.hs
+formatted       4babc1db968e  brittany-0.14.0.2/data/Test515.hs
+formatted       4ded8e9531d5  brittany-0.14.0.2/data/Test516.hs
+formatted       9cdba405b7be  brittany-0.14.0.2/data/Test517.hs
+formatted       6192bf9c4318  brittany-0.14.0.2/data/Test518.hs
+formatted       438975b07785  brittany-0.14.0.2/data/Test519.hs
+formatted       7e5325707779  brittany-0.14.0.2/data/Test52.hs
+formatted       e0922f030820  brittany-0.14.0.2/data/Test520.hs
+formatted       7a6eceaa78bc  brittany-0.14.0.2/data/Test521.hs
+formatted       cd889668f531  brittany-0.14.0.2/data/Test522.hs
+formatted       5eae819cfab2  brittany-0.14.0.2/data/Test523.hs
+formatted       cdd55a113657  brittany-0.14.0.2/data/Test524.hs
+formatted       948aab2f7cf9  brittany-0.14.0.2/data/Test525.hs
+formatted       74dd57f3e6b2  brittany-0.14.0.2/data/Test526.hs
+formatted       ebc6624271d5  brittany-0.14.0.2/data/Test527.hs
+formatted       6d566659bc06  brittany-0.14.0.2/data/Test528.hs
+formatted       86bb82b0ae12  brittany-0.14.0.2/data/Test529.hs
+formatted       3fcbb1da9b2c  brittany-0.14.0.2/data/Test53.hs
+formatted       c77ad7418bdb  brittany-0.14.0.2/data/Test530.hs
+formatted       e82e4a69ecaf  brittany-0.14.0.2/data/Test531.hs
+formatted       98d38ba919b8  brittany-0.14.0.2/data/Test532.hs
+formatted       93f0725e6f33  brittany-0.14.0.2/data/Test533.hs
+formatted       2f3eea919721  brittany-0.14.0.2/data/Test534.hs
+formatted       4dfe442efa9f  brittany-0.14.0.2/data/Test535.hs
+formatted       083e49e545b1  brittany-0.14.0.2/data/Test536.hs
+formatted       a93167132f4b  brittany-0.14.0.2/data/Test537.hs
+formatted       76a9d8390ac0  brittany-0.14.0.2/data/Test538.hs
+formatted       cb52a4163a3d  brittany-0.14.0.2/data/Test539.hs
+formatted       2634de733956  brittany-0.14.0.2/data/Test54.hs
+formatted       32bac85b1c99  brittany-0.14.0.2/data/Test540.hs
+formatted       c1076b4718f2  brittany-0.14.0.2/data/Test55.hs
+formatted       499329c0b05c  brittany-0.14.0.2/data/Test56.hs
+formatted       7d48cd742ee9  brittany-0.14.0.2/data/Test57.hs
+formatted       09a9442047e7  brittany-0.14.0.2/data/Test58.hs
+formatted       007b3f5499fb  brittany-0.14.0.2/data/Test59.hs
+formatted       d9ed4ebe21ed  brittany-0.14.0.2/data/Test6.hs
+formatted       25f0518b2ce7  brittany-0.14.0.2/data/Test60.hs
+formatted       7bba808f3304  brittany-0.14.0.2/data/Test61.hs
+formatted       85924b5f9018  brittany-0.14.0.2/data/Test62.hs
+formatted       38957227fb18  brittany-0.14.0.2/data/Test63.hs
+formatted       d1d477cbcd19  brittany-0.14.0.2/data/Test64.hs
+formatted       abec5eceeaf7  brittany-0.14.0.2/data/Test65.hs
+formatted       7e83cb328466  brittany-0.14.0.2/data/Test66.hs
+formatted       08c924dc75db  brittany-0.14.0.2/data/Test67.hs
+formatted       cb0434807247  brittany-0.14.0.2/data/Test68.hs
+formatted       0edc4bf88879  brittany-0.14.0.2/data/Test69.hs
+formatted       1310b68b6704  brittany-0.14.0.2/data/Test7.hs
+formatted       c26c8d4af0d4  brittany-0.14.0.2/data/Test70.hs
+formatted       7f9b2bb1df69  brittany-0.14.0.2/data/Test71.hs
+formatted       9d549df4742d  brittany-0.14.0.2/data/Test72.hs
+formatted       05ed72d9e760  brittany-0.14.0.2/data/Test73.hs
+formatted       a54128f146c1  brittany-0.14.0.2/data/Test74.hs
+formatted       29302a244e5c  brittany-0.14.0.2/data/Test75.hs
+formatted       89a2a63deffe  brittany-0.14.0.2/data/Test76.hs
+formatted       7a3ad7569e3d  brittany-0.14.0.2/data/Test77.hs
+formatted       286a50a0eb22  brittany-0.14.0.2/data/Test78.hs
+formatted       bc99bdbbbb1e  brittany-0.14.0.2/data/Test79.hs
+formatted       0a8cec799b2a  brittany-0.14.0.2/data/Test8.hs
+formatted       2f2e96416d6d  brittany-0.14.0.2/data/Test80.hs
+formatted       690f39d31c4a  brittany-0.14.0.2/data/Test81.hs
+formatted       546880104333  brittany-0.14.0.2/data/Test82.hs
+formatted       4fe035cf193a  brittany-0.14.0.2/data/Test83.hs
+formatted       43e925441c75  brittany-0.14.0.2/data/Test84.hs
+formatted       dddcd81d8e89  brittany-0.14.0.2/data/Test85.hs
+formatted       b34676f3162a  brittany-0.14.0.2/data/Test86.hs
+formatted       847e26a48a11  brittany-0.14.0.2/data/Test87.hs
+formatted       d37afb2bca9c  brittany-0.14.0.2/data/Test88.hs
+formatted       870cc6003dc1  brittany-0.14.0.2/data/Test89.hs
+formatted       cd000b5a236a  brittany-0.14.0.2/data/Test9.hs
+formatted       14a1a4f54ceb  brittany-0.14.0.2/data/Test90.hs
+formatted       583f169ace4c  brittany-0.14.0.2/data/Test91.hs
+formatted       1d30d5458df2  brittany-0.14.0.2/data/Test92.hs
+formatted       21ca73bf65e9  brittany-0.14.0.2/data/Test93.hs
+formatted       2640ff7299cc  brittany-0.14.0.2/data/Test94.hs
+formatted       139f17bd37c8  brittany-0.14.0.2/data/Test95.hs
+formatted       3f35ed17b5d4  brittany-0.14.0.2/data/Test96.hs
+formatted       54dbf9915298  brittany-0.14.0.2/data/Test97.hs
+formatted       20404e7b8ddc  brittany-0.14.0.2/data/Test98.hs
+formatted       52caf5793d73  brittany-0.14.0.2/data/Test99.hs
+formatted       7a5d0ee67b99  brittany-0.14.0.2/source/executable/Main.hs
+formatted       f006bb65ddb6  brittany-0.14.0.2/source/library/Language/Haskell/Brittany.hs
+formatted       6f231aa8936b  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal.hs
+formatted       3f45e1b343d4  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Backend.hs
+formatted       1047eb2ad179  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/BackendUtils.hs
+formatted       060724da4a46  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Config.hs
+formatted       cf5fbc65dc70  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Config/Types.hs
+formatted       e18c0da5f4d4  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Config/Types/Instances.hs
+formatted       d651230faef8  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/ExactPrintUtils.hs
+formatted       5d4f696e1f73  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/LayouterBasics.hs
+formatted       8cf46848eb67  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Layouters/DataDecl.hs
+formatted       9ccd03aaee3c  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Layouters/Decl.hs
+formatted       ebbbae781240  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Layouters/Expr.hs
+formatted       530227756f24  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Layouters/Expr.hs-boot
+formatted       e885199bec9b  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Layouters/IE.hs
+formatted       73258f6280cf  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Layouters/Import.hs
+formatted       73e9c1be476e  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Layouters/Module.hs
+formatted       d4b779144b08  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Layouters/Pattern.hs
+formatted       8d2d0f9600d4  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Layouters/Stmt.hs
+formatted       92e1961e1912  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Layouters/Stmt.hs-boot
+formatted       90ff08b4d15d  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Layouters/Type.hs
+formatted       fcdf76bb1401  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Obfuscation.hs
+formatted       189669d58d17  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/ParseModule.hs
+formatted       79e767ee3e91  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Prelude.hs
+formatted       17d210fc06cd  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/PreludeUtils.hs
+formatted       ffac7a0af3fb  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Transformations/Alt.hs
+formatted       533774d6a2e6  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Transformations/Columns.hs
+formatted       c61b5e2d6a72  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Transformations/Floating.hs
+formatted       02dca655c839  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Transformations/Indent.hs
+formatted       f6a84d0ce013  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Transformations/Par.hs
+formatted       3a1468a966bc  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Types.hs
+formatted       17d1bb69c3a0  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Utils.hs
+formatted       9e32548ffa37  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Main.hs
+formatted       3838cff98834  brittany-0.14.0.2/source/test-suite/Main.hs
+formatted       e865ae48f11b  capability-0.5.0.1/Setup.hs
+formatted       e02c637e0eba  capability-0.5.0.1/examples/CountLog.hs
+formatted       9dfb712c67b9  capability-0.5.0.1/examples/Error.hs
+formatted       6a06a5f0bf2f  capability-0.5.0.1/examples/Reader.hs
+formatted       c3e14ecc860c  capability-0.5.0.1/examples/Reflection.hs
+formatted       971c39d59180  capability-0.5.0.1/examples/Sink.hs
+formatted       78cbb751461c  capability-0.5.0.1/examples/State.hs
+formatted       0d1d60230f33  capability-0.5.0.1/examples/Test.hs
+formatted       bc483d61ffa2  capability-0.5.0.1/examples/Test/Common.hs
+formatted       bf67af047ed2  capability-0.5.0.1/examples/WordCount.hs
+formatted       2c112f977e2c  capability-0.5.0.1/examples/Writer.hs
+formatted       c7634b7f4e60  capability-0.5.0.1/src/Capability.hs
+formatted       83447b7b7ea5  capability-0.5.0.1/src/Capability/Accessors.hs
+formatted       8d8d36f3f008  capability-0.5.0.1/src/Capability/Constraints.hs
+formatted       6e54a81ea8c8  capability-0.5.0.1/src/Capability/Derive.hs
+formatted       ec09edcb1235  capability-0.5.0.1/src/Capability/Error.hs
+formatted       97515747424b  capability-0.5.0.1/src/Capability/Reader.hs
+formatted       fff74579b131  capability-0.5.0.1/src/Capability/Reader/Internal/Class.hs
+formatted       9a55d0b7aa4d  capability-0.5.0.1/src/Capability/Reader/Internal/Strategies.hs
+formatted       86d64f928cc1  capability-0.5.0.1/src/Capability/Reflection.hs
+formatted       42f2a624abd3  capability-0.5.0.1/src/Capability/Sink.hs
+formatted       efe896d1035d  capability-0.5.0.1/src/Capability/Sink/Internal/Class.hs
+formatted       403e62480314  capability-0.5.0.1/src/Capability/Sink/Internal/Strategies.hs
+formatted       d6a811b81394  capability-0.5.0.1/src/Capability/Source.hs
+formatted       194b1d7bb29c  capability-0.5.0.1/src/Capability/Source/Internal/Class.hs
+formatted       d707e05f3576  capability-0.5.0.1/src/Capability/Source/Internal/Strategies.hs
+formatted       e288db1d616d  capability-0.5.0.1/src/Capability/State.hs
+formatted       aaa0c86f3b3b  capability-0.5.0.1/src/Capability/State/Internal/Class.hs
+formatted       a29a2ed56dc1  capability-0.5.0.1/src/Capability/State/Internal/Strategies.hs
+formatted       e0fc7f2c44f9  capability-0.5.0.1/src/Capability/State/Internal/Strategies/Common.hs
+formatted       d14a787a614d  capability-0.5.0.1/src/Capability/Stream.hs
+formatted       6cd51b2d63f1  capability-0.5.0.1/src/Capability/TypeOf.hs
+formatted       3cb03fa20df0  capability-0.5.0.1/src/Capability/Writer.hs
+formatted       e865ae48f11b  cassava-0.5.5.0/Setup.hs
+formatted       63facb778171  cassava-0.5.5.0/examples/IncrementalIndexedBasedDecode.hs
+formatted       c48348299e9f  cassava-0.5.5.0/examples/IncrementalNamedBasedEncode.hs
+formatted       00b47546a3cd  cassava-0.5.5.0/examples/IndexBasedDecode.hs
+formatted       76936562f203  cassava-0.5.5.0/examples/IndexBasedGeneric.hs
+formatted       c3cbef247122  cassava-0.5.5.0/examples/NamedBasedDecode.hs
+formatted       f986783a802b  cassava-0.5.5.0/examples/NamedBasedExplicitDecode.hs
+formatted       399ba6b451c3  cassava-0.5.5.0/examples/NamedBasedGeneric.hs
+formatted       63aea286ec75  cassava-0.5.5.0/examples/StreamingIndexBasedDecode.hs
+formatted       6761b46de85e  cassava-0.5.5.0/src/Data/Csv.hs
+formatted       efdb6ec98c4e  cassava-0.5.5.0/src/Data/Csv/Builder.hs
+formatted       886b881c96de  cassava-0.5.5.0/src/Data/Csv/Conversion.hs
+formatted       843df204a2d4  cassava-0.5.5.0/src/Data/Csv/Conversion/Internal.hs
+formatted       724246ee3cea  cassava-0.5.5.0/src/Data/Csv/Encoding.hs
+formatted       f84e2c2d278a  cassava-0.5.5.0/src/Data/Csv/Incremental.hs
+formatted       07456a540df9  cassava-0.5.5.0/src/Data/Csv/Parser.hs
+formatted       ddaeeb39fd87  cassava-0.5.5.0/src/Data/Csv/Streaming.hs
+formatted       20f42a736b97  cassava-0.5.5.0/src/Data/Csv/Types.hs
+formatted       9a26799420ab  cassava-0.5.5.0/src/Data/Csv/Util.hs
+formatted       59262c1c4ca2  cassava-0.5.5.0/tests/UnitTests.hs
+formatted       393d5c70ab90  comonad-5.0.10/examples/History.hs
+formatted       ef4b8dc6e1e1  comonad-5.0.10/src/Control/Comonad.hs
+formatted       095bbf7e6cb5  comonad-5.0.10/src/Control/Comonad/Env.hs
+formatted       1b903ce9b3bc  comonad-5.0.10/src/Control/Comonad/Env/Class.hs
+formatted       ae1d2d25ce00  comonad-5.0.10/src/Control/Comonad/Hoist/Class.hs
+formatted       27aa79c06d92  comonad-5.0.10/src/Control/Comonad/Identity.hs
+formatted       cc1633c7a0f4  comonad-5.0.10/src/Control/Comonad/Store.hs
+formatted       ac83b70a4d22  comonad-5.0.10/src/Control/Comonad/Store/Class.hs
+formatted       0ee926a20515  comonad-5.0.10/src/Control/Comonad/Traced.hs
+formatted       f313563f30d0  comonad-5.0.10/src/Control/Comonad/Traced/Class.hs
+formatted       2981029fb089  comonad-5.0.10/src/Control/Comonad/Trans/Class.hs
+formatted       5680220bb165  comonad-5.0.10/src/Control/Comonad/Trans/Env.hs
+formatted       80fda1871e5b  comonad-5.0.10/src/Control/Comonad/Trans/Identity.hs
+formatted       ac7031eb1086  comonad-5.0.10/src/Control/Comonad/Trans/Store.hs
+formatted       f744270dfa71  comonad-5.0.10/src/Control/Comonad/Trans/Traced.hs
+formatted       34f425eff98b  comonad-5.0.10/src/Data/Functor/Composition.hs
+formatted       fa3ec1902d24  conduit-1.3.6.1/benchmarks/optimize-201408.hs
+formatted       b3f0f32fd916  conduit-1.3.6.1/benchmarks/unfused.hs
+formatted       27ace983119c  conduit-1.3.6.1/src/Conduit.hs
+formatted       e10c54679fd1  conduit-1.3.6.1/src/Data/Conduit.hs
+formatted       de9fe4590cd5  conduit-1.3.6.1/src/Data/Conduit/Combinators.hs
+formatted       23ed4fd23654  conduit-1.3.6.1/src/Data/Conduit/Combinators/Stream.hs
+formatted       531df60df872  conduit-1.3.6.1/src/Data/Conduit/Combinators/Unqualified.hs
+formatted       8e861a915c2f  conduit-1.3.6.1/src/Data/Conduit/Internal.hs
+formatted       4f8204ed3874  conduit-1.3.6.1/src/Data/Conduit/Internal/Conduit.hs
+formatted       fb6951ea90c0  conduit-1.3.6.1/src/Data/Conduit/Internal/Fusion.hs
+formatted       80142974200b  conduit-1.3.6.1/src/Data/Conduit/Internal/List/Stream.hs
+formatted       02295e3d2f5e  conduit-1.3.6.1/src/Data/Conduit/Internal/Pipe.hs
+formatted       169752d585e4  conduit-1.3.6.1/src/Data/Conduit/Lift.hs
+formatted       e087769057e4  conduit-1.3.6.1/src/Data/Conduit/List.hs
+formatted       98630a5362e8  conduit-1.3.6.1/src/Data/Streaming/FileRead.hs
+formatted       9860da5f427f  conduit-1.3.6.1/src/Data/Streaming/Filesystem.hs
+formatted       89de716bfbff  conduit-1.3.6.1/test/Data/Conduit/Extra/ZipConduitSpec.hs
+formatted       0fc9c8d48634  conduit-1.3.6.1/test/Data/Conduit/StreamSpec.hs
+formatted       e2fbcc522f3f  conduit-1.3.6.1/test/Spec.hs
+formatted       bd22ec0b1f84  conduit-1.3.6.1/test/StreamSpec.hs
+formatted       db2295b8113a  conduit-1.3.6.1/test/doctests.hs
+formatted       1b40aba6b3a3  conduit-1.3.6.1/test/main.hs
+formatted       66a12a076907  contravariant-1.5.6/old-src/Data/Functor/Contravariant.hs
+formatted       19b24e327f14  contravariant-1.5.6/src/Data/Functor/Contravariant/Compose.hs
+formatted       8537bea3764a  contravariant-1.5.6/src/Data/Functor/Contravariant/Divisible.hs
+formatted       5664417038c8  contravariant-1.5.6/src/Data/Functor/Contravariant/Generic.hs
+formatted       0a8cc0030319  criterion-1.6.5.0/Criterion.hs
+formatted       d0a16890372e  criterion-1.6.5.0/Criterion/Analysis.hs
+formatted       c039ba5918a9  criterion-1.6.5.0/Criterion/EmbeddedData.hs
+formatted       8de64e844d99  criterion-1.6.5.0/Criterion/IO.hs
+formatted       07afbc55db47  criterion-1.6.5.0/Criterion/IO/Printf.hs
+formatted       07e32ef168fe  criterion-1.6.5.0/Criterion/Internal.hs
+formatted       417ccb869da6  criterion-1.6.5.0/Criterion/Main.hs
+formatted       ef87510f222b  criterion-1.6.5.0/Criterion/Main/Options.hs
+formatted       d175ce00886d  criterion-1.6.5.0/Criterion/Monad.hs
+formatted       b601d8e12bff  criterion-1.6.5.0/Criterion/Monad/Internal.hs
+formatted       9d32733aef81  criterion-1.6.5.0/Criterion/Report.hs
+formatted       e8ee8000117d  criterion-1.6.5.0/Criterion/Types.hs
+formatted       74c91db4b5d3  criterion-1.6.5.0/app/Options.hs
+formatted       ee86f426d1ba  criterion-1.6.5.0/app/Report.hs
+formatted       2c78e540a92b  criterion-1.6.5.0/examples/BadReadFile.hs
+formatted       bfb4844251ca  criterion-1.6.5.0/examples/Comparison.hs
+formatted       75f5f2c4d717  criterion-1.6.5.0/examples/ConduitVsPipes.hs
+formatted       a4f8cda29d3c  criterion-1.6.5.0/examples/ExtensibleCLI.hs
+formatted       8f4df570ff4e  criterion-1.6.5.0/examples/Fibber.hs
+formatted       741778047cc1  criterion-1.6.5.0/examples/GoodReadFile.hs
+formatted       e85b2e0c3354  criterion-1.6.5.0/examples/Judy.hs
+formatted       54e7ee4e58f7  criterion-1.6.5.0/examples/Maps.hs
+formatted       fbcb8025853e  criterion-1.6.5.0/examples/Overhead.hs
+formatted       3a50edf5477c  criterion-1.6.5.0/examples/Quotes.hs
+formatted       594667d36a00  criterion-1.6.5.0/tests/Cleanup.hs
+formatted       251f35c5ba26  criterion-1.6.5.0/tests/Properties.hs
+formatted       4ad59f8b38f1  criterion-1.6.5.0/tests/Sanity.hs
+formatted       b8cbb674ba32  criterion-1.6.5.0/tests/Tests.hs
+formatted       9203488b0a5a  cryptonite-0.30/Crypto/Cipher/AES.hs
+formatted       bdaadf6ec7ef  cryptonite-0.30/Crypto/Cipher/AES/Primitive.hs
+formatted       d778bce77733  cryptonite-0.30/Crypto/Cipher/AESGCMSIV.hs
+formatted       17a919edeac4  cryptonite-0.30/Crypto/Cipher/Blowfish.hs
+formatted       98e1845904ad  cryptonite-0.30/Crypto/Cipher/Blowfish/Box.hs
+formatted       934950fa3a2b  cryptonite-0.30/Crypto/Cipher/Blowfish/Primitive.hs
+formatted       1bf95c7957cf  cryptonite-0.30/Crypto/Cipher/CAST5.hs
+formatted       ecdcf2fed85c  cryptonite-0.30/Crypto/Cipher/CAST5/Primitive.hs
+formatted       c818f5ccfd4a  cryptonite-0.30/Crypto/Cipher/Camellia.hs
+formatted       bc6e3ed6c79a  cryptonite-0.30/Crypto/Cipher/Camellia/Primitive.hs
+formatted       bb8978f969c7  cryptonite-0.30/Crypto/Cipher/ChaCha.hs
+formatted       0fd9151f3564  cryptonite-0.30/Crypto/Cipher/ChaChaPoly1305.hs
+formatted       38aad5361d3b  cryptonite-0.30/Crypto/Cipher/DES.hs
+formatted       cd3b04b04064  cryptonite-0.30/Crypto/Cipher/DES/Primitive.hs
+formatted       265e4a53b0f3  cryptonite-0.30/Crypto/Cipher/RC4.hs
+formatted       f7f9a07735cc  cryptonite-0.30/Crypto/Cipher/Salsa.hs
+formatted       f87e1280f1f6  cryptonite-0.30/Crypto/Cipher/TripleDES.hs
+formatted       aa51557e7c76  cryptonite-0.30/Crypto/Cipher/Twofish.hs
+formatted       a6208b092f93  cryptonite-0.30/Crypto/Cipher/Twofish/Primitive.hs
+formatted       4e71a359f37d  cryptonite-0.30/Crypto/Cipher/Types.hs
+formatted       14a288f48933  cryptonite-0.30/Crypto/Cipher/Types/AEAD.hs
+formatted       0fd5cf989b0f  cryptonite-0.30/Crypto/Cipher/Types/Base.hs
+formatted       1d112bac47b5  cryptonite-0.30/Crypto/Cipher/Types/Block.hs
+formatted       6dbf820afcee  cryptonite-0.30/Crypto/Cipher/Types/GF.hs
+formatted       b3d06c14541f  cryptonite-0.30/Crypto/Cipher/Types/Stream.hs
+formatted       c10f40b3305c  cryptonite-0.30/Crypto/Cipher/Types/Utils.hs
+formatted       208383f6f26d  cryptonite-0.30/Crypto/Cipher/Utils.hs
+formatted       1ab35bace46e  cryptonite-0.30/Crypto/Cipher/XSalsa.hs
+formatted       2dc7095f1e7d  cryptonite-0.30/Crypto/ConstructHash/MiyaguchiPreneel.hs
+formatted       9d4867459f77  cryptonite-0.30/Crypto/Data/AFIS.hs
+formatted       f930bf912524  cryptonite-0.30/Crypto/Data/Padding.hs
+formatted       12267a986b53  cryptonite-0.30/Crypto/ECC.hs
+formatted       75ed547d2353  cryptonite-0.30/Crypto/ECC/Edwards25519.hs
+formatted       661097300da0  cryptonite-0.30/Crypto/ECC/Simple/Prim.hs
+formatted       98e24541e046  cryptonite-0.30/Crypto/ECC/Simple/Types.hs
+formatted       3560b9821c3b  cryptonite-0.30/Crypto/Error.hs
+formatted       e8f742e7231c  cryptonite-0.30/Crypto/Error/Types.hs
+formatted       ef35c81612b5  cryptonite-0.30/Crypto/Hash.hs
+formatted       514502d73233  cryptonite-0.30/Crypto/Hash/Algorithms.hs
+formatted       ee9e61205180  cryptonite-0.30/Crypto/Hash/Blake2.hs
+formatted       d8130126edbf  cryptonite-0.30/Crypto/Hash/Blake2b.hs
+formatted       6d661a8c5462  cryptonite-0.30/Crypto/Hash/Blake2bp.hs
+formatted       27f55949226f  cryptonite-0.30/Crypto/Hash/Blake2s.hs
+formatted       16d21fbe3307  cryptonite-0.30/Crypto/Hash/Blake2sp.hs
+formatted       25f11bf7e865  cryptonite-0.30/Crypto/Hash/IO.hs
+formatted       53d12da702b7  cryptonite-0.30/Crypto/Hash/Keccak.hs
+formatted       1023364391c7  cryptonite-0.30/Crypto/Hash/MD2.hs
+formatted       ae01213fa892  cryptonite-0.30/Crypto/Hash/MD4.hs
+formatted       45a64456becf  cryptonite-0.30/Crypto/Hash/MD5.hs
+formatted       df2c203e5dff  cryptonite-0.30/Crypto/Hash/RIPEMD160.hs
+formatted       1cbe6d482153  cryptonite-0.30/Crypto/Hash/SHA1.hs
+formatted       65905dddcba3  cryptonite-0.30/Crypto/Hash/SHA224.hs
+formatted       8c8c023ac68b  cryptonite-0.30/Crypto/Hash/SHA256.hs
+formatted       6ba236fc8f01  cryptonite-0.30/Crypto/Hash/SHA3.hs
+formatted       168ba23e9a71  cryptonite-0.30/Crypto/Hash/SHA384.hs
+formatted       3f604b6ef508  cryptonite-0.30/Crypto/Hash/SHA512.hs
+formatted       859c909d2c0c  cryptonite-0.30/Crypto/Hash/SHA512t.hs
+formatted       9bac3208516d  cryptonite-0.30/Crypto/Hash/SHAKE.hs
+formatted       e107e78c54be  cryptonite-0.30/Crypto/Hash/Skein256.hs
+formatted       a47665ebf947  cryptonite-0.30/Crypto/Hash/Skein512.hs
+formatted       ff96db0cdc8e  cryptonite-0.30/Crypto/Hash/Tiger.hs
+formatted       ca9b5f5d1db1  cryptonite-0.30/Crypto/Hash/Types.hs
+formatted       596bda40d335  cryptonite-0.30/Crypto/Hash/Whirlpool.hs
+formatted       89af626fd379  cryptonite-0.30/Crypto/Internal/Builder.hs
+formatted       c49cc59e9d73  cryptonite-0.30/Crypto/Internal/ByteArray.hs
+formatted       f801f423094d  cryptonite-0.30/Crypto/Internal/Compat.hs
+formatted       8d064e9ef0c8  cryptonite-0.30/Crypto/Internal/CompatPrim.hs
+formatted       3d4b37badb54  cryptonite-0.30/Crypto/Internal/DeepSeq.hs
+formatted       dcbb72415077  cryptonite-0.30/Crypto/Internal/Imports.hs
+formatted       f8a6b58a0408  cryptonite-0.30/Crypto/Internal/Nat.hs
+formatted       d0cb16bb78e9  cryptonite-0.30/Crypto/Internal/WordArray.hs
+formatted       5786998be3b3  cryptonite-0.30/Crypto/Internal/Words.hs
+formatted       4e22c5e005a1  cryptonite-0.30/Crypto/KDF/Argon2.hs
+formatted       90d5455243fc  cryptonite-0.30/Crypto/KDF/BCrypt.hs
+formatted       3a56d9ee5583  cryptonite-0.30/Crypto/KDF/BCryptPBKDF.hs
+formatted       35f107e1f2ee  cryptonite-0.30/Crypto/KDF/HKDF.hs
+formatted       920bad7881af  cryptonite-0.30/Crypto/KDF/PBKDF2.hs
+formatted       c4dae4e30c41  cryptonite-0.30/Crypto/KDF/Scrypt.hs
+formatted       03fd08c08817  cryptonite-0.30/Crypto/MAC/CMAC.hs
+formatted       30bb2bf21125  cryptonite-0.30/Crypto/MAC/HMAC.hs
+formatted       38b2eb1ad6a3  cryptonite-0.30/Crypto/MAC/KMAC.hs
+formatted       05497e7911c8  cryptonite-0.30/Crypto/MAC/Poly1305.hs
+formatted       66ef9a5b56e2  cryptonite-0.30/Crypto/Number/Basic.hs
+partly-checked  27ebb2f56bcc  cryptonite-0.30/Crypto/Number/Compat.hs
+formatted       e59bcb055fd4  cryptonite-0.30/Crypto/Number/F2m.hs
+formatted       f1d0c21b8a55  cryptonite-0.30/Crypto/Number/Generate.hs
+formatted       00afc6c3370e  cryptonite-0.30/Crypto/Number/ModArithmetic.hs
+formatted       1f75394f07b7  cryptonite-0.30/Crypto/Number/Nat.hs
+formatted       eb044641f2a9  cryptonite-0.30/Crypto/Number/Prime.hs
+formatted       b5df1b393d96  cryptonite-0.30/Crypto/Number/Serialize.hs
+formatted       1fb040b8cd18  cryptonite-0.30/Crypto/Number/Serialize/Internal.hs
+formatted       6359b1976808  cryptonite-0.30/Crypto/Number/Serialize/Internal/LE.hs
+formatted       62bf7f679513  cryptonite-0.30/Crypto/Number/Serialize/LE.hs
+formatted       7c50886ba2d3  cryptonite-0.30/Crypto/OTP.hs
+formatted       12467ca982f6  cryptonite-0.30/Crypto/PubKey/Curve25519.hs
+formatted       00c1bbd1c783  cryptonite-0.30/Crypto/PubKey/Curve448.hs
+formatted       cbad2fae594f  cryptonite-0.30/Crypto/PubKey/DH.hs
+formatted       94b3f8039e21  cryptonite-0.30/Crypto/PubKey/DSA.hs
+formatted       84e7c31d7a05  cryptonite-0.30/Crypto/PubKey/ECC/DH.hs
+formatted       a0d53a3d9705  cryptonite-0.30/Crypto/PubKey/ECC/ECDSA.hs
+formatted       d879d651dab1  cryptonite-0.30/Crypto/PubKey/ECC/Generate.hs
+formatted       fb7bcd95cc9d  cryptonite-0.30/Crypto/PubKey/ECC/P256.hs
+formatted       dd12f0a62055  cryptonite-0.30/Crypto/PubKey/ECC/Prim.hs
+formatted       c17349d0ac5f  cryptonite-0.30/Crypto/PubKey/ECC/Types.hs
+formatted       22df2415fcaf  cryptonite-0.30/Crypto/PubKey/ECDSA.hs
+formatted       347386292a08  cryptonite-0.30/Crypto/PubKey/ECIES.hs
+formatted       46f965c11ac7  cryptonite-0.30/Crypto/PubKey/Ed25519.hs
+formatted       6b41febb07b3  cryptonite-0.30/Crypto/PubKey/Ed448.hs
+formatted       518399362cdc  cryptonite-0.30/Crypto/PubKey/EdDSA.hs
+formatted       22500757f5cb  cryptonite-0.30/Crypto/PubKey/ElGamal.hs
+formatted       e81494b8dcf2  cryptonite-0.30/Crypto/PubKey/Internal.hs
+formatted       5977072387ef  cryptonite-0.30/Crypto/PubKey/MaskGenFunction.hs
+formatted       9b6cdef35fca  cryptonite-0.30/Crypto/PubKey/RSA.hs
+formatted       57ee3013f897  cryptonite-0.30/Crypto/PubKey/RSA/OAEP.hs
+formatted       b297414dbedf  cryptonite-0.30/Crypto/PubKey/RSA/PKCS15.hs
+formatted       06945ff0a0ee  cryptonite-0.30/Crypto/PubKey/RSA/PSS.hs
+formatted       60a2ff36c703  cryptonite-0.30/Crypto/PubKey/RSA/Prim.hs
+formatted       d1db82e45506  cryptonite-0.30/Crypto/PubKey/RSA/Types.hs
+formatted       22719713531d  cryptonite-0.30/Crypto/PubKey/Rabin/Basic.hs
+formatted       27a0950fccab  cryptonite-0.30/Crypto/PubKey/Rabin/Modified.hs
+formatted       0ea280382805  cryptonite-0.30/Crypto/PubKey/Rabin/OAEP.hs
+formatted       3823b3c50f9e  cryptonite-0.30/Crypto/PubKey/Rabin/RW.hs
+formatted       3ef7aeed84c3  cryptonite-0.30/Crypto/PubKey/Rabin/Types.hs
+formatted       c63d55615a4a  cryptonite-0.30/Crypto/Random.hs
+formatted       10e6dbede2ce  cryptonite-0.30/Crypto/Random/ChaChaDRG.hs
+formatted       001204bcb796  cryptonite-0.30/Crypto/Random/Entropy.hs
+formatted       3ca8e15caea4  cryptonite-0.30/Crypto/Random/Entropy/Backend.hs
+formatted       af3b64f000b0  cryptonite-0.30/Crypto/Random/Entropy/RDRand.hs
+formatted       0c206170779c  cryptonite-0.30/Crypto/Random/Entropy/Source.hs
+formatted       88506bc27889  cryptonite-0.30/Crypto/Random/Entropy/Unix.hs
+formatted       1c7e47d77321  cryptonite-0.30/Crypto/Random/Entropy/Unsafe.hs
+declined        -             cryptonite-0.30/Crypto/Random/Entropy/Windows.hs
+formatted       08c41bfcf0dc  cryptonite-0.30/Crypto/Random/EntropyPool.hs
+formatted       762f30275eb4  cryptonite-0.30/Crypto/Random/Probabilistic.hs
+formatted       f0e0bf316478  cryptonite-0.30/Crypto/Random/SystemDRG.hs
+formatted       50c788502178  cryptonite-0.30/Crypto/Random/Types.hs
+formatted       c7544db7e8be  cryptonite-0.30/Crypto/System/CPU.hs
+formatted       3f10131f3add  cryptonite-0.30/Crypto/Tutorial.hs
+formatted       e865ae48f11b  cryptonite-0.30/Setup.hs
+formatted       45752ec0c01e  cryptonite-0.30/benchs/Bench.hs
+formatted       9262584e8927  cryptonite-0.30/benchs/Number/F2m.hs
+formatted       26a7b5ada42e  cryptonite-0.30/tests/BCrypt.hs
+formatted       4673e9b675ae  cryptonite-0.30/tests/BCryptPBKDF.hs
+formatted       932a140fea1c  cryptonite-0.30/tests/BlockCipher.hs
+formatted       d95146d8e5cb  cryptonite-0.30/tests/ChaCha.hs
+formatted       2962ec1204e9  cryptonite-0.30/tests/ChaChaPoly1305.hs
+formatted       ec8c447b321e  cryptonite-0.30/tests/ECC.hs
+formatted       4d8bc616ba81  cryptonite-0.30/tests/ECC/Edwards25519.hs
+formatted       aef7d31020ae  cryptonite-0.30/tests/ECDSA.hs
+formatted       158fe6fc3141  cryptonite-0.30/tests/Hash.hs
+formatted       9458793a64ac  cryptonite-0.30/tests/Imports.hs
+formatted       8113eec46512  cryptonite-0.30/tests/KAT_AES.hs
+formatted       dfb84c13c5c4  cryptonite-0.30/tests/KAT_AES/KATCBC.hs
+formatted       7a169a29236e  cryptonite-0.30/tests/KAT_AES/KATCCM.hs
+formatted       44fe15b7084a  cryptonite-0.30/tests/KAT_AES/KATECB.hs
+formatted       024a162b9c4d  cryptonite-0.30/tests/KAT_AES/KATGCM.hs
+formatted       1557249e9ef9  cryptonite-0.30/tests/KAT_AES/KATOCB3.hs
+formatted       78152d962004  cryptonite-0.30/tests/KAT_AES/KATXTS.hs
+formatted       aae4a4498b2c  cryptonite-0.30/tests/KAT_AESGCMSIV.hs
+formatted       36d02ef1d74c  cryptonite-0.30/tests/KAT_AFIS.hs
+formatted       16bdeacac85a  cryptonite-0.30/tests/KAT_Argon2.hs
+formatted       8415bc362f2c  cryptonite-0.30/tests/KAT_Blowfish.hs
+formatted       05a7dbeb9005  cryptonite-0.30/tests/KAT_CAST5.hs
+formatted       ff33f5185580  cryptonite-0.30/tests/KAT_CMAC.hs
+formatted       2d3f20d0d94a  cryptonite-0.30/tests/KAT_Camellia.hs
+formatted       3901d8dd7805  cryptonite-0.30/tests/KAT_Curve25519.hs
+formatted       c651ad447fd5  cryptonite-0.30/tests/KAT_Curve448.hs
+formatted       8e0eac40b9d6  cryptonite-0.30/tests/KAT_DES.hs
+formatted       d3c4aaf9fb41  cryptonite-0.30/tests/KAT_Ed25519.hs
+formatted       c0344f9c50b4  cryptonite-0.30/tests/KAT_Ed448.hs
+formatted       685254b51c8e  cryptonite-0.30/tests/KAT_EdDSA.hs
+formatted       c75d088980c1  cryptonite-0.30/tests/KAT_HKDF.hs
+formatted       6fd9b706b510  cryptonite-0.30/tests/KAT_HMAC.hs
+formatted       5fec71c4e186  cryptonite-0.30/tests/KAT_KMAC.hs
+formatted       6e095f4955db  cryptonite-0.30/tests/KAT_MiyaguchiPreneel.hs
+formatted       36eaa695d94d  cryptonite-0.30/tests/KAT_OTP.hs
+formatted       4c048d3e1592  cryptonite-0.30/tests/KAT_PBKDF2.hs
+formatted       7dd5b1725762  cryptonite-0.30/tests/KAT_PubKey.hs
+formatted       4ea503ca10c3  cryptonite-0.30/tests/KAT_PubKey/DSA.hs
+formatted       a2a424b0fe7b  cryptonite-0.30/tests/KAT_PubKey/ECC.hs
+formatted       fa22a2a4ff0a  cryptonite-0.30/tests/KAT_PubKey/ECDSA.hs
+formatted       7ddcf1a24729  cryptonite-0.30/tests/KAT_PubKey/OAEP.hs
+formatted       a6cc3987c04f  cryptonite-0.30/tests/KAT_PubKey/P256.hs
+formatted       8907f4806494  cryptonite-0.30/tests/KAT_PubKey/PSS.hs
+formatted       27e99edde8ce  cryptonite-0.30/tests/KAT_PubKey/RSA.hs
+formatted       732976eb5ff4  cryptonite-0.30/tests/KAT_PubKey/Rabin.hs
+formatted       e985f98992b3  cryptonite-0.30/tests/KAT_RC4.hs
+formatted       a3c487892b4c  cryptonite-0.30/tests/KAT_Scrypt.hs
+formatted       36380d994c1c  cryptonite-0.30/tests/KAT_TripleDES.hs
+formatted       9e0ead2371c3  cryptonite-0.30/tests/KAT_Twofish.hs
+formatted       41608a6e0115  cryptonite-0.30/tests/Number.hs
+formatted       d29a4dfd13a2  cryptonite-0.30/tests/Number/F2m.hs
+formatted       8ee00d7f1d5c  cryptonite-0.30/tests/Padding.hs
+formatted       bdf449080344  cryptonite-0.30/tests/Poly1305.hs
+formatted       6a35a2ce5a29  cryptonite-0.30/tests/Salsa.hs
+formatted       54065ea7b3f2  cryptonite-0.30/tests/Tests.hs
+formatted       9b43f54dba56  cryptonite-0.30/tests/Utils.hs
+formatted       19366ff804fb  cryptonite-0.30/tests/XSalsa.hs
+formatted       e865ae48f11b  dhall-1.42.3/Setup.hs
+formatted       008bfdf57f15  dhall-1.42.3/benchmark/deep-nested-large-record/Main.hs
+formatted       dd8f08ec2eb4  dhall-1.42.3/benchmark/parser/Main.hs
+formatted       118f032d970e  dhall-1.42.3/dhall/Main.hs
+formatted       91a06a03839a  dhall-1.42.3/doctest/Main.hs
+formatted       113506aec7e5  dhall-1.42.3/ghc-src/Dhall/Crypto.hs
+formatted       39aaaff521cd  dhall-1.42.3/ghc-src/Dhall/Import/HTTP.hs
+formatted       653577912d95  dhall-1.42.3/ghc-src/Dhall/Import/Manager.hs
+formatted       84ba1a0044d3  dhall-1.42.3/ghcjs-src/Dhall/Crypto.hs
+formatted       344d18ece143  dhall-1.42.3/ghcjs-src/Dhall/Import/HTTP.hs
+formatted       930d8292c552  dhall-1.42.3/ghcjs-src/Dhall/Import/Manager.hs
+formatted       058f2b8e35eb  dhall-1.42.3/src/Dhall.hs
+formatted       e6576eb94932  dhall-1.42.3/src/Dhall/Binary.hs
+formatted       081afede0963  dhall-1.42.3/src/Dhall/Context.hs
+formatted       354a4cf4ad37  dhall-1.42.3/src/Dhall/Core.hs
+formatted       55f96d30cc64  dhall-1.42.3/src/Dhall/Deriving.hs
+formatted       af707a2c8aa0  dhall-1.42.3/src/Dhall/Diff.hs
+declined        -             dhall-1.42.3/src/Dhall/DirectoryTree.hs
+formatted       edbc22a030b8  dhall-1.42.3/src/Dhall/DirectoryTree/Types.hs
+formatted       2b4e2807b219  dhall-1.42.3/src/Dhall/Eval.hs
+formatted       a8ea258135c2  dhall-1.42.3/src/Dhall/Format.hs
+formatted       697ebf6ee636  dhall-1.42.3/src/Dhall/Freeze.hs
+formatted       2a3aed346bef  dhall-1.42.3/src/Dhall/Import.hs
+formatted       1dbc2c16cb86  dhall-1.42.3/src/Dhall/Import/Headers.hs
+formatted       7697f1189d76  dhall-1.42.3/src/Dhall/Import/Types.hs
+formatted       a45f94b3aa56  dhall-1.42.3/src/Dhall/Lint.hs
+formatted       542b556266de  dhall-1.42.3/src/Dhall/Main.hs
+formatted       ed7426250bdb  dhall-1.42.3/src/Dhall/Map.hs
+declined        -             dhall-1.42.3/src/Dhall/Marshal/Decode.hs
+formatted       51bb6f966550  dhall-1.42.3/src/Dhall/Marshal/Encode.hs
+formatted       81ceea2eda14  dhall-1.42.3/src/Dhall/Marshal/Internal.hs
+formatted       429b1f619153  dhall-1.42.3/src/Dhall/Normalize.hs
+formatted       67862b2a1641  dhall-1.42.3/src/Dhall/Optics.hs
+formatted       4efd7cfe7f73  dhall-1.42.3/src/Dhall/Package.hs
+formatted       73d76e7c8f99  dhall-1.42.3/src/Dhall/Parser.hs
+formatted       b2df423b8d06  dhall-1.42.3/src/Dhall/Parser/Combinators.hs
+formatted       8c688b5d12a8  dhall-1.42.3/src/Dhall/Parser/Expression.hs
+formatted       44b258d5c581  dhall-1.42.3/src/Dhall/Parser/Token.hs
+formatted       077b886ca96c  dhall-1.42.3/src/Dhall/Pretty.hs
+formatted       a8fbba63e45b  dhall-1.42.3/src/Dhall/Pretty/Internal.hs
+formatted       7c2d39437b26  dhall-1.42.3/src/Dhall/Pretty/Internal.hs-boot
+formatted       f882b379d469  dhall-1.42.3/src/Dhall/Repl.hs
+formatted       8b8a6c051147  dhall-1.42.3/src/Dhall/Schemas.hs
+formatted       e0f506fe1450  dhall-1.42.3/src/Dhall/Set.hs
+formatted       044d01e6f8ef  dhall-1.42.3/src/Dhall/Src.hs
+formatted       f5724ddf0150  dhall-1.42.3/src/Dhall/Substitution.hs
+formatted       2b05f2bfcec6  dhall-1.42.3/src/Dhall/Syntax.hs
+formatted       af9c51cb94ed  dhall-1.42.3/src/Dhall/Syntax/Binding.hs
+formatted       58e35ea236a2  dhall-1.42.3/src/Dhall/Syntax/Chunks.hs
+formatted       107a9069004a  dhall-1.42.3/src/Dhall/Syntax/Chunks.hs-boot
+formatted       fb3e7c8f3857  dhall-1.42.3/src/Dhall/Syntax/Const.hs
+formatted       670040375c96  dhall-1.42.3/src/Dhall/Syntax/Expr.hs
+formatted       765ee909d664  dhall-1.42.3/src/Dhall/Syntax/Expr.hs-boot
+formatted       4f80b21f3e60  dhall-1.42.3/src/Dhall/Syntax/FunctionBinding.hs
+formatted       80b55054d4b2  dhall-1.42.3/src/Dhall/Syntax/Import.hs
+formatted       7f116b90764a  dhall-1.42.3/src/Dhall/Syntax/Instances/Applicative.hs
+formatted       76a621fa15a9  dhall-1.42.3/src/Dhall/Syntax/Instances/Bifunctor.hs
+formatted       b61ca7133fd0  dhall-1.42.3/src/Dhall/Syntax/Instances/Data.hs
+formatted       b35b025f2ba5  dhall-1.42.3/src/Dhall/Syntax/Instances/Eq.hs
+formatted       7260d7ad736b  dhall-1.42.3/src/Dhall/Syntax/Instances/Foldable.hs
+formatted       546fda38cec9  dhall-1.42.3/src/Dhall/Syntax/Instances/Functor.hs
+formatted       132b600c0865  dhall-1.42.3/src/Dhall/Syntax/Instances/Lift.hs
+formatted       cab89ed87f79  dhall-1.42.3/src/Dhall/Syntax/Instances/Monad.hs
+formatted       ca55a4982308  dhall-1.42.3/src/Dhall/Syntax/Instances/NFData.hs
+formatted       999348b598e9  dhall-1.42.3/src/Dhall/Syntax/Instances/Ord.hs
+formatted       cde7c80b79f7  dhall-1.42.3/src/Dhall/Syntax/Instances/Pretty.hs
+formatted       e44246af4f4a  dhall-1.42.3/src/Dhall/Syntax/Instances/Pretty.hs-boot
+formatted       e719d44b0248  dhall-1.42.3/src/Dhall/Syntax/Instances/Show.hs
+formatted       3a49d0567006  dhall-1.42.3/src/Dhall/Syntax/Instances/Traversable.hs
+formatted       666dcd8d10fd  dhall-1.42.3/src/Dhall/Syntax/MultiLet.hs
+formatted       ca782ef84b09  dhall-1.42.3/src/Dhall/Syntax/Operations.hs
+formatted       ad9ee155791d  dhall-1.42.3/src/Dhall/Syntax/Operations.hs-boot
+formatted       b7a9a808f99e  dhall-1.42.3/src/Dhall/Syntax/RecordField.hs
+formatted       d6d240b88485  dhall-1.42.3/src/Dhall/Syntax/Types.hs
+formatted       6ec37bde604c  dhall-1.42.3/src/Dhall/Syntax/Types.hs-boot
+formatted       ae653c12cb97  dhall-1.42.3/src/Dhall/Syntax/Var.hs
+formatted       ee9a6453fca8  dhall-1.42.3/src/Dhall/TH.hs
+formatted       6c3c0d4a7b63  dhall-1.42.3/src/Dhall/Tags.hs
+formatted       fc246c5fb902  dhall-1.42.3/src/Dhall/Tutorial.hs
+formatted       259facd5153b  dhall-1.42.3/src/Dhall/TypeCheck.hs
+formatted       31aa4a1a2064  dhall-1.42.3/src/Dhall/URL.hs
+formatted       6a23bc52b971  dhall-1.42.3/src/Dhall/Util.hs
+formatted       0f2dc0785b19  dhall-1.42.3/src/Dhall/Util.hs-boot
+formatted       06efc6e5e5ec  dhall-1.42.3/src/Dhall/Version.hs
+formatted       cf71947b5c3e  dhall-1.42.3/tests/Dhall/Test/Dhall.hs
+formatted       1147f41c0d4a  dhall-1.42.3/tests/Dhall/Test/Diff.hs
+formatted       ce987c202917  dhall-1.42.3/tests/Dhall/Test/DirectoryTree.hs
+formatted       a662de84c1cf  dhall-1.42.3/tests/Dhall/Test/Format.hs
+formatted       825c5d8eb4dc  dhall-1.42.3/tests/Dhall/Test/Freeze.hs
+formatted       2330f143eaa5  dhall-1.42.3/tests/Dhall/Test/Import.hs
+formatted       f9f10286a555  dhall-1.42.3/tests/Dhall/Test/Lint.hs
+formatted       6d4d93de17f3  dhall-1.42.3/tests/Dhall/Test/Main.hs
+formatted       129d33bbadeb  dhall-1.42.3/tests/Dhall/Test/Normalization.hs
+formatted       8ba1ae2d6ad1  dhall-1.42.3/tests/Dhall/Test/Package.hs
+formatted       70cd9e45607e  dhall-1.42.3/tests/Dhall/Test/Parser.hs
+formatted       66d92e48fa57  dhall-1.42.3/tests/Dhall/Test/QuickCheck.hs
+formatted       30d44e645914  dhall-1.42.3/tests/Dhall/Test/Regression.hs
+formatted       ac099e46aa48  dhall-1.42.3/tests/Dhall/Test/Schemas.hs
+formatted       ba178764685a  dhall-1.42.3/tests/Dhall/Test/SemanticHash.hs
+formatted       fb3792586c74  dhall-1.42.3/tests/Dhall/Test/Substitution.hs
+formatted       a2e536680059  dhall-1.42.3/tests/Dhall/Test/TH.hs
+formatted       db9dc6f5d11d  dhall-1.42.3/tests/Dhall/Test/Tags.hs
+formatted       5c9bbd3b6264  dhall-1.42.3/tests/Dhall/Test/Tutorial.hs
+formatted       bc488790bd0a  dhall-1.42.3/tests/Dhall/Test/TypeInference.hs
+formatted       f0404dcaed1f  dhall-1.42.3/tests/Dhall/Test/Util.hs
+formatted       e865ae48f11b  diagrams-core-1.5.1.2/Setup.hs
+formatted       452c2ecb48c9  diagrams-core-1.5.1.2/src/Diagrams/Core.hs
+formatted       6756fbe31a49  diagrams-core-1.5.1.2/src/Diagrams/Core/Compile.hs
+formatted       381863b4eda8  diagrams-core-1.5.1.2/src/Diagrams/Core/Envelope.hs
+formatted       72b1513b01d5  diagrams-core-1.5.1.2/src/Diagrams/Core/HasOrigin.hs
+formatted       b0fa21fef198  diagrams-core-1.5.1.2/src/Diagrams/Core/Juxtapose.hs
+formatted       8afa1934ae40  diagrams-core-1.5.1.2/src/Diagrams/Core/Measure.hs
+formatted       97fb3780d393  diagrams-core-1.5.1.2/src/Diagrams/Core/Names.hs
+formatted       98411548147a  diagrams-core-1.5.1.2/src/Diagrams/Core/Points.hs
+formatted       0f64b19edb28  diagrams-core-1.5.1.2/src/Diagrams/Core/Query.hs
+formatted       5f5d0d2a6c33  diagrams-core-1.5.1.2/src/Diagrams/Core/Style.hs
+formatted       7478ab148c0f  diagrams-core-1.5.1.2/src/Diagrams/Core/Trace.hs
+formatted       35e3456a8267  diagrams-core-1.5.1.2/src/Diagrams/Core/Transform.hs
+formatted       763bf05b1757  diagrams-core-1.5.1.2/src/Diagrams/Core/Types.hs
+formatted       f629fb731e04  diagrams-core-1.5.1.2/src/Diagrams/Core/V.hs
+formatted       927b9d26c4aa  distributed-process-0.7.8/benchmarks/Channels.hs
+formatted       f1d669408d85  distributed-process-0.7.8/benchmarks/Latency.hs
+formatted       9f666e0d379f  distributed-process-0.7.8/benchmarks/ProcessRing.hs
+formatted       e95af3155803  distributed-process-0.7.8/benchmarks/Spawns.hs
+formatted       96e869cd0ca2  distributed-process-0.7.8/benchmarks/Throughput.hs
+formatted       4f24de2cf850  distributed-process-0.7.8/src/Control/Distributed/Process.hs
+formatted       8f3dab3f697b  distributed-process-0.7.8/src/Control/Distributed/Process/Closure.hs
+formatted       b9d3c44e8c65  distributed-process-0.7.8/src/Control/Distributed/Process/Debug.hs
+formatted       6b7ed7072e82  distributed-process-0.7.8/src/Control/Distributed/Process/Internal/BiMultiMap.hs
+formatted       8d42990c4c1d  distributed-process-0.7.8/src/Control/Distributed/Process/Internal/CQueue.hs
+formatted       298ce04dc907  distributed-process-0.7.8/src/Control/Distributed/Process/Internal/Closure/BuiltIn.hs
+formatted       a279bf7c5893  distributed-process-0.7.8/src/Control/Distributed/Process/Internal/Closure/Explicit.hs
+formatted       280d5343ef9d  distributed-process-0.7.8/src/Control/Distributed/Process/Internal/Closure/TH.hs
+formatted       fc842e5ad827  distributed-process-0.7.8/src/Control/Distributed/Process/Internal/Messaging.hs
+formatted       df10c39d73c4  distributed-process-0.7.8/src/Control/Distributed/Process/Internal/Primitives.hs
+formatted       fea7a1cb7fea  distributed-process-0.7.8/src/Control/Distributed/Process/Internal/Spawn.hs
+formatted       55a422de8054  distributed-process-0.7.8/src/Control/Distributed/Process/Internal/StrictContainerAccessors.hs
+formatted       8a9d9c67b86f  distributed-process-0.7.8/src/Control/Distributed/Process/Internal/StrictList.hs
+formatted       b21182e8f9f2  distributed-process-0.7.8/src/Control/Distributed/Process/Internal/StrictMVar.hs
+formatted       d23980c524e8  distributed-process-0.7.8/src/Control/Distributed/Process/Internal/Types.hs
+formatted       d8a70ea27555  distributed-process-0.7.8/src/Control/Distributed/Process/Internal/WeakTQueue.hs
+formatted       92036cf98d7b  distributed-process-0.7.8/src/Control/Distributed/Process/Management.hs
+formatted       0e4ae5582817  distributed-process-0.7.8/src/Control/Distributed/Process/Management/Internal/Agent.hs
+formatted       835664fe2a72  distributed-process-0.7.8/src/Control/Distributed/Process/Management/Internal/Bus.hs
+formatted       465f51cccbd7  distributed-process-0.7.8/src/Control/Distributed/Process/Management/Internal/Trace/Primitives.hs
+formatted       ac42af58297a  distributed-process-0.7.8/src/Control/Distributed/Process/Management/Internal/Trace/Remote.hs
+formatted       8cdf4653fb6b  distributed-process-0.7.8/src/Control/Distributed/Process/Management/Internal/Trace/Tracer.hs
+formatted       a16030de3d48  distributed-process-0.7.8/src/Control/Distributed/Process/Management/Internal/Trace/Types.hs
+formatted       dd2b77086852  distributed-process-0.7.8/src/Control/Distributed/Process/Management/Internal/Types.hs
+formatted       4865215c2f77  distributed-process-0.7.8/src/Control/Distributed/Process/Node.hs
+formatted       6c3d1ab71e17  distributed-process-0.7.8/src/Control/Distributed/Process/Serializable.hs
+formatted       af5affffac4a  distributed-process-0.7.8/src/Control/Distributed/Process/UnsafePrimitives.hs
+formatted       662e34b73eb7  dlist-1.0/Data/DList.hs
+formatted       689cf521e965  dlist-1.0/Data/DList/DNonEmpty.hs
+formatted       8421a2883be6  dlist-1.0/Data/DList/DNonEmpty/Internal.hs
+partly-checked  0fb095e7f2c0  dlist-1.0/Data/DList/Internal.hs
+formatted       669ee89127ed  dlist-1.0/Data/DList/Unsafe.hs
+formatted       e51403ccf3b5  dlist-1.0/tests/DListProperties.hs
+formatted       e2a30db89a3e  dlist-1.0/tests/DNonEmptyProperties.hs
+formatted       fafebb139ed7  dlist-1.0/tests/ImportUnsafe.hs
+formatted       7878296311fe  dlist-1.0/tests/Main.hs
+formatted       4d7411576558  dlist-1.0/tests/OverloadedStrings.hs
+formatted       3104223ff62e  dlist-1.0/tests/QuickCheckUtil.hs
+formatted       e865ae48f11b  esqueleto-3.6.0.3/Setup.hs
+formatted       a36c086cd377  esqueleto-3.6.0.3/src/Database/Esqueleto.hs
+formatted       99a3554c79c4  esqueleto-3.6.0.3/src/Database/Esqueleto/Experimental.hs
+formatted       73531fc100f6  esqueleto-3.6.0.3/src/Database/Esqueleto/Experimental/From.hs
+formatted       01bcca2b024a  esqueleto-3.6.0.3/src/Database/Esqueleto/Experimental/From/CommonTableExpression.hs
+formatted       b3911c4da964  esqueleto-3.6.0.3/src/Database/Esqueleto/Experimental/From/Join.hs
+formatted       8f9eb6f0e697  esqueleto-3.6.0.3/src/Database/Esqueleto/Experimental/From/SqlSetOperation.hs
+formatted       f2140f55e636  esqueleto-3.6.0.3/src/Database/Esqueleto/Experimental/ToAlias.hs
+formatted       d6ed7b842dc0  esqueleto-3.6.0.3/src/Database/Esqueleto/Experimental/ToAliasReference.hs
+formatted       f45adb22ba32  esqueleto-3.6.0.3/src/Database/Esqueleto/Experimental/ToMaybe.hs
+formatted       a736ace7f7d4  esqueleto-3.6.0.3/src/Database/Esqueleto/Internal/ExprParser.hs
+formatted       3957f4b25eb7  esqueleto-3.6.0.3/src/Database/Esqueleto/Internal/Internal.hs
+formatted       a86d8be0d385  esqueleto-3.6.0.3/src/Database/Esqueleto/Internal/PersistentImport.hs
+formatted       23c62f207b2d  esqueleto-3.6.0.3/src/Database/Esqueleto/Legacy.hs
+formatted       9cd66d1b3ed2  esqueleto-3.6.0.3/src/Database/Esqueleto/MySQL.hs
+formatted       774db14e57c5  esqueleto-3.6.0.3/src/Database/Esqueleto/PostgreSQL.hs
+formatted       c9e858d3a9de  esqueleto-3.6.0.3/src/Database/Esqueleto/PostgreSQL/JSON.hs
+formatted       ec0e9182e059  esqueleto-3.6.0.3/src/Database/Esqueleto/PostgreSQL/JSON/Instances.hs
+formatted       ba76e53e832d  esqueleto-3.6.0.3/src/Database/Esqueleto/Record.hs
+formatted       167fa1cef38a  esqueleto-3.6.0.3/src/Database/Esqueleto/SQLite.hs
+formatted       a2c26e696f4a  esqueleto-3.6.0.3/test/Common/Record.hs
+formatted       86b1bd817b8c  esqueleto-3.6.0.3/test/Common/Test.hs
+formatted       55b316d9bbe0  esqueleto-3.6.0.3/test/Common/Test/CTE.hs
+formatted       4aca3ba95697  esqueleto-3.6.0.3/test/Common/Test/Import.hs
+formatted       4dbce706071a  esqueleto-3.6.0.3/test/Common/Test/Models.hs
+formatted       1e1af0ff65e2  esqueleto-3.6.0.3/test/Common/Test/Select.hs
+formatted       6dd8ab765168  esqueleto-3.6.0.3/test/MySQL/Test.hs
+formatted       a10147422ed6  esqueleto-3.6.0.3/test/PostgreSQL/MigrateJSON.hs
+formatted       e6241d77bd9c  esqueleto-3.6.0.3/test/PostgreSQL/Test.hs
+formatted       afd35e1e0f76  esqueleto-3.6.0.3/test/SQLite/Test.hs
+formatted       309fa3598dfd  esqueleto-3.6.0.3/test/Spec.hs
+formatted       2ea6ef95e341  exceptions-0.10.12/src/Control/Monad/Catch.hs
+formatted       01a1f0a66687  exceptions-0.10.12/src/Control/Monad/Catch/Pure.hs
+formatted       7b3e5f654c45  exceptions-0.10.12/tests/Control/Monad/Catch/Tests.hs
+formatted       3391c0943219  exceptions-0.10.12/tests/Tests.hs
+formatted       9ecbe8994d9e  fay-0.24.2.0/Setup.hs
+formatted       de2c270a343e  fay-0.24.2.0/examples/CodeWorld.hs
+formatted       8db7422934ff  fay-0.24.2.0/examples/CodeWorldMain.hs
+formatted       f34467bdeb38  fay-0.24.2.0/examples/Cont.hs
+formatted       ef77ab670c95  fay-0.24.2.0/examples/D3TreeSample.hs
+formatted       45fa087c720a  fay-0.24.2.0/examples/FayFromJs.hs
+formatted       d4be2511948d  fay-0.24.2.0/examples/Separated.hs
+formatted       73cbc6340843  fay-0.24.2.0/examples/X.hs
+formatted       89a1e9058dc3  fay-0.24.2.0/examples/Y.hs
+formatted       55d7b8cf115f  fay-0.24.2.0/examples/alert.hs
+formatted       0dcb7834540f  fay-0.24.2.0/examples/calc.hs
+formatted       7da554fb4b05  fay-0.24.2.0/examples/canvaswater.hs
+formatted       97df12f5dfa2  fay-0.24.2.0/examples/console.hs
+formatted       7608e18ca01c  fay-0.24.2.0/examples/data.hs
+formatted       57124dd1aa0e  fay-0.24.2.0/examples/dom.hs
+formatted       a017f7092550  fay-0.24.2.0/examples/jquery.hs
+formatted       19887dc6f70a  fay-0.24.2.0/examples/json.hs
+formatted       db1cb782ccc3  fay-0.24.2.0/examples/node.hs
+formatted       f28f9e98d912  fay-0.24.2.0/examples/nqueens.hs
+formatted       615082642614  fay-0.24.2.0/examples/obj.hs
+formatted       63df26d1e5ce  fay-0.24.2.0/examples/oscillator.hs
+formatted       c79a44579d85  fay-0.24.2.0/examples/pat.hs
+formatted       fa732b1a5e66  fay-0.24.2.0/examples/properties.hs
+formatted       7085b02d6471  fay-0.24.2.0/examples/ref.hs
+formatted       55fe2b9f624f  fay-0.24.2.0/examples/showExamples.hs
+formatted       884b6fbdaadc  fay-0.24.2.0/examples/tailrecursive.hs
+formatted       9ea8290ddf83  fay-0.24.2.0/src/Fay.hs
+formatted       df1fded773a2  fay-0.24.2.0/src/Fay/Compiler.hs
+formatted       67254811384d  fay-0.24.2.0/src/Fay/Compiler/Decl.hs
+formatted       8e624d1f0942  fay-0.24.2.0/src/Fay/Compiler/Defaults.hs
+formatted       a6d93cc6eecc  fay-0.24.2.0/src/Fay/Compiler/Desugar.hs
+formatted       c3c7442da8f0  fay-0.24.2.0/src/Fay/Compiler/Desugar/Name.hs
+formatted       cdba71178f5f  fay-0.24.2.0/src/Fay/Compiler/Desugar/Types.hs
+formatted       d62fb424be46  fay-0.24.2.0/src/Fay/Compiler/Exp.hs
+formatted       b3157930cd30  fay-0.24.2.0/src/Fay/Compiler/FFI.hs
+formatted       69fd6dd80a66  fay-0.24.2.0/src/Fay/Compiler/GADT.hs
+formatted       a5dfdf1c364c  fay-0.24.2.0/src/Fay/Compiler/Import.hs
+formatted       2757433ebbff  fay-0.24.2.0/src/Fay/Compiler/InitialPass.hs
+formatted       81fb8900670d  fay-0.24.2.0/src/Fay/Compiler/Misc.hs
+formatted       c17c6435475a  fay-0.24.2.0/src/Fay/Compiler/ModuleT.hs
+formatted       8c46909abd66  fay-0.24.2.0/src/Fay/Compiler/Optimizer.hs
+formatted       dd60603ba777  fay-0.24.2.0/src/Fay/Compiler/Packages.hs
+formatted       c22620c91b27  fay-0.24.2.0/src/Fay/Compiler/Parse.hs
+formatted       dc02453a14ae  fay-0.24.2.0/src/Fay/Compiler/Pattern.hs
+formatted       b881785c6b58  fay-0.24.2.0/src/Fay/Compiler/Prelude.hs
+formatted       0acd361567cc  fay-0.24.2.0/src/Fay/Compiler/PrimOp.hs
+formatted       ac7ddf660567  fay-0.24.2.0/src/Fay/Compiler/Print.hs
+formatted       da23ccb55970  fay-0.24.2.0/src/Fay/Compiler/QName.hs
+formatted       14118a1f8d9e  fay-0.24.2.0/src/Fay/Compiler/State.hs
+formatted       97078287d8fb  fay-0.24.2.0/src/Fay/Compiler/Typecheck.hs
+formatted       80b476aaf4ac  fay-0.24.2.0/src/Fay/Config.hs
+formatted       c05dbdfcd477  fay-0.24.2.0/src/Fay/Convert.hs
+formatted       34cce092e53c  fay-0.24.2.0/src/Fay/Exts.hs
+formatted       16e8f475c435  fay-0.24.2.0/src/Fay/Exts/NoAnnotation.hs
+formatted       0bd23794e8d8  fay-0.24.2.0/src/Fay/Exts/Scoped.hs
+formatted       51f126307ce9  fay-0.24.2.0/src/Fay/FFI.hs
+formatted       c3313668cd81  fay-0.24.2.0/src/Fay/Runtime.hs
+formatted       05b881411d31  fay-0.24.2.0/src/Fay/Types.hs
+formatted       2e343a7dde01  fay-0.24.2.0/src/Fay/Types/CompileError.hs
+formatted       4f7fdfee2a8f  fay-0.24.2.0/src/Fay/Types/CompileResult.hs
+formatted       cea8d04284a4  fay-0.24.2.0/src/Fay/Types/FFI.hs
+formatted       00304dae8e67  fay-0.24.2.0/src/Fay/Types/Js.hs
+formatted       a04c678a24c8  fay-0.24.2.0/src/Fay/Types/ModulePath.hs
+formatted       4162477bd8be  fay-0.24.2.0/src/Fay/Types/Printer.hs
+formatted       b1fd95a1a458  fay-0.24.2.0/src/haskell-names/Language/Haskell/Names.hs
+formatted       99690d50e9a5  fay-0.24.2.0/src/haskell-names/Language/Haskell/Names/Annotated.hs
+formatted       96f87472d31c  fay-0.24.2.0/src/haskell-names/Language/Haskell/Names/Exports.hs
+formatted       d158adc4dcb9  fay-0.24.2.0/src/haskell-names/Language/Haskell/Names/GetBound.hs
+formatted       9ba054e5c3c5  fay-0.24.2.0/src/haskell-names/Language/Haskell/Names/GlobalSymbolTable.hs
+formatted       1f36966c10c6  fay-0.24.2.0/src/haskell-names/Language/Haskell/Names/GlobalSymbolTable.hs-boot
+formatted       8ba038cf3efd  fay-0.24.2.0/src/haskell-names/Language/Haskell/Names/Imports.hs
+formatted       4e612a1a8cf3  fay-0.24.2.0/src/haskell-names/Language/Haskell/Names/LocalSymbolTable.hs
+formatted       6574e21dc4c6  fay-0.24.2.0/src/haskell-names/Language/Haskell/Names/ModuleSymbols.hs
+formatted       ba7804e8dddb  fay-0.24.2.0/src/haskell-names/Language/Haskell/Names/Open/Base.hs
+formatted       b12db8ba5ce9  fay-0.24.2.0/src/haskell-names/Language/Haskell/Names/Open/Derived.hs
+formatted       1d022f96f6b8  fay-0.24.2.0/src/haskell-names/Language/Haskell/Names/Open/Instances.hs
+formatted       4432c0eb7e1f  fay-0.24.2.0/src/haskell-names/Language/Haskell/Names/RecordWildcards.hs
+formatted       3f917b45c02d  fay-0.24.2.0/src/haskell-names/Language/Haskell/Names/Recursive.hs
+formatted       999e68a55ff6  fay-0.24.2.0/src/haskell-names/Language/Haskell/Names/ScopeUtils.hs
+formatted       29a26b0fc245  fay-0.24.2.0/src/haskell-names/Language/Haskell/Names/SyntaxUtils.hs
+formatted       5ee19ad330b2  fay-0.24.2.0/src/haskell-names/Language/Haskell/Names/Types.hs
+formatted       8433c7a9f0f6  fay-0.24.2.0/src/main/Main.hs
+formatted       9a9471113002  fay-0.24.2.0/src/tests/Test/CommandLine.hs
+formatted       6000150c0aa9  fay-0.24.2.0/src/tests/Test/Compile.hs
+formatted       096b43b8cf06  fay-0.24.2.0/src/tests/Test/Convert.hs
+formatted       a8937bc93bf5  fay-0.24.2.0/src/tests/Test/Desugar.hs
+formatted       1757614bcc96  fay-0.24.2.0/src/tests/Test/Util.hs
+formatted       114aa5400468  fay-0.24.2.0/src/tests/Tests.hs
+formatted       8114602da4c3  fay-0.24.2.0/tests/AllBaseModules.hs
+formatted       e78d25c5a73d  fay-0.24.2.0/tests/AutomaticList.hs
+formatted       779c72fbdb74  fay-0.24.2.0/tests/Bool.hs
+formatted       d5c6ec08c4a5  fay-0.24.2.0/tests/CPP.hs
+formatted       61e542a01350  fay-0.24.2.0/tests/Char.hs
+formatted       7badee2f20a7  fay-0.24.2.0/tests/Compile/CPPMultiLineStrings.hs
+formatted       a5ace073f2a3  fay-0.24.2.0/tests/Compile/CPPTypecheck.hs
+formatted       66d008a435ce  fay-0.24.2.0/tests/Compile/EnumChar.hs
+formatted       79a705007362  fay-0.24.2.0/tests/Compile/ImportRecords.hs
+formatted       7787766572d4  fay-0.24.2.0/tests/Compile/Records.hs
+formatted       d4e58e42f950  fay-0.24.2.0/tests/Compile/StrictWrapper.hs
+formatted       3f10c446d77e  fay-0.24.2.0/tests/Compile/pretty.hs
+formatted       3f10c446d77e  fay-0.24.2.0/tests/Compile/prettyOperators.hs
+formatted       3f10c446d77e  fay-0.24.2.0/tests/Compile/prettyThunks.hs
+formatted       7e5ba819c89a  fay-0.24.2.0/tests/Defined.hs
+formatted       933b5c75c95d  fay-0.24.2.0/tests/DesugarFFI.hs
+formatted       247bf5cdbba0  fay-0.24.2.0/tests/DoLet2.hs
+formatted       8e59e23cdef2  fay-0.24.2.0/tests/DoLet3.hs
+formatted       8506e48ae167  fay-0.24.2.0/tests/Double.hs
+formatted       555ed6125da8  fay-0.24.2.0/tests/Double2.hs
+formatted       940c2db0f038  fay-0.24.2.0/tests/Double3.hs
+formatted       ce51517b312e  fay-0.24.2.0/tests/Double4.hs
+formatted       e7d8f2571cb1  fay-0.24.2.0/tests/Either.hs
+formatted       f00c11dbed60  fay-0.24.2.0/tests/EmptyDataDeclArray.hs
+formatted       7c2bc66a86e6  fay-0.24.2.0/tests/Eq.hs
+formatted       25d8fd9d5d5a  fay-0.24.2.0/tests/ExportEThingAll.hs
+formatted       bea5851db3b4  fay-0.24.2.0/tests/ExportEThingAll_Export.hs
+formatted       b86ba0189dff  fay-0.24.2.0/tests/ExportEThingWith.hs
+formatted       7d5cd17e4a88  fay-0.24.2.0/tests/ExportList.hs
+formatted       c70d5951fda8  fay-0.24.2.0/tests/ExportList_A.hs
+formatted       eb351b1cfd3e  fay-0.24.2.0/tests/ExportList_B.hs
+formatted       4736c70718a7  fay-0.24.2.0/tests/ExportList_C.hs
+formatted       41c7f9eb857a  fay-0.24.2.0/tests/ExportList_D.hs
+formatted       b42dad751766  fay-0.24.2.0/tests/ExportQualified_Export.hs
+formatted       e08dc6f4e84b  fay-0.24.2.0/tests/ExportQualified_Import.hs
+formatted       e9617631d536  fay-0.24.2.0/tests/ExportType.hs
+formatted       ba54245a67ef  fay-0.24.2.0/tests/Floating.hs
+formatted       02165869295d  fay-0.24.2.0/tests/FromString.hs
+formatted       fc43945a5277  fay-0.24.2.0/tests/FromString/Dep.hs
+formatted       09e516e107ad  fay-0.24.2.0/tests/FromString/DepDep.hs
+formatted       818db54c107a  fay-0.24.2.0/tests/FromString/FayText.hs
+formatted       0accd069b76c  fay-0.24.2.0/tests/GADTs_without_records.hs
+formatted       102949714efb  fay-0.24.2.0/tests/GuardWhere.hs
+formatted       4c6803c7f169  fay-0.24.2.0/tests/HidePreludeImport.hs
+formatted       a1408d450caf  fay-0.24.2.0/tests/HidePreludeImport_Import.hs
+formatted       fa5b4cc76a44  fay-0.24.2.0/tests/Hierarchical/Export.hs
+formatted       102307416bcd  fay-0.24.2.0/tests/Hierarchical/RecordDefined.hs
+formatted       920c9acca3b5  fay-0.24.2.0/tests/HierarchicalImport.hs
+formatted       def230ba708f  fay-0.24.2.0/tests/ImplicitPrelude.hs
+formatted       c71809dd7876  fay-0.24.2.0/tests/ImportHiding.hs
+formatted       75f8ddda7df8  fay-0.24.2.0/tests/ImportIThingAll.hs
+formatted       b4c50a46461c  fay-0.24.2.0/tests/ImportList.hs
+formatted       87c5a69d1b76  fay-0.24.2.0/tests/ImportList1/A.hs
+formatted       a25b5782f91c  fay-0.24.2.0/tests/ImportList1/B.hs
+formatted       a9003116e1c9  fay-0.24.2.0/tests/ImportList1/C.hs
+formatted       b5cb6de55974  fay-0.24.2.0/tests/ImportListType.hs
+formatted       69bb47d76aef  fay-0.24.2.0/tests/ImportType.hs
+formatted       440bc41f78be  fay-0.24.2.0/tests/ImportType2.hs
+formatted       5ff8e931a567  fay-0.24.2.0/tests/ImportType2I/A.hs
+formatted       e15dbb9a2720  fay-0.24.2.0/tests/ImportType2I/B.hs
+formatted       9d4bcec16bd7  fay-0.24.2.0/tests/Integer.hs
+formatted       ed2b3650244f  fay-0.24.2.0/tests/Integral.hs
+formatted       dadef2b7cb03  fay-0.24.2.0/tests/Issue215/B.hs
+formatted       eeedb44973d0  fay-0.24.2.0/tests/Issue215A.hs
+formatted       b0a19078b259  fay-0.24.2.0/tests/Js2FayFunc.hs
+formatted       8592007d3db3  fay-0.24.2.0/tests/JsFunctionPassing.hs
+formatted       009642e56a6b  fay-0.24.2.0/tests/LambdaCase.hs
+formatted       47266926fa39  fay-0.24.2.0/tests/LazyOperators.hs
+formatted       ee291ee7e00e  fay-0.24.2.0/tests/List.hs
+formatted       c8021ca9ec3f  fay-0.24.2.0/tests/List2.hs
+formatted       a93b0ff4bcc5  fay-0.24.2.0/tests/ListEq.hs
+formatted       96ddbf5bf93a  fay-0.24.2.0/tests/MainThunk.hs
+formatted       350d9831d6f8  fay-0.24.2.0/tests/ModuleReExport/ExportsIdentifier.hs
+formatted       25cef8780cae  fay-0.24.2.0/tests/ModuleReExport/ExportsModule.hs
+formatted       9dfef0f7c129  fay-0.24.2.0/tests/ModuleReExports.hs
+formatted       c082d387d888  fay-0.24.2.0/tests/ModuleRecordClash.hs
+formatted       997782df97ba  fay-0.24.2.0/tests/ModuleRecordClash/R.hs
+formatted       53ea9782c8a3  fay-0.24.2.0/tests/ModuleRecordClash2.hs
+formatted       3f2cf09e81b7  fay-0.24.2.0/tests/ModuleRecordClash2_Hello.hs
+formatted       1a83fbebaaf8  fay-0.24.2.0/tests/Monad.hs
+formatted       e55515576154  fay-0.24.2.0/tests/Monad2.hs
+formatted       0c9780229637  fay-0.24.2.0/tests/MultiWayIf.hs
+formatted       0e3845c048a2  fay-0.24.2.0/tests/NestedImporting.hs
+formatted       4b3a670722e0  fay-0.24.2.0/tests/NestedImporting/A.hs
+formatted       2a092a0c1f4c  fay-0.24.2.0/tests/NestedImporting2.hs
+formatted       19cbbffb80bc  fay-0.24.2.0/tests/NestedImporting2/A.hs
+formatted       be6671d53b91  fay-0.24.2.0/tests/NewtypeImport_Export.hs
+formatted       34ed28dbd073  fay-0.24.2.0/tests/NewtypeImport_Import.hs
+formatted       3d0a4280ea72  fay-0.24.2.0/tests/Nullable.hs
+formatted       f01c35cc494d  fay-0.24.2.0/tests/Num.hs
+formatted       75ea0e91fb04  fay-0.24.2.0/tests/Ord.hs
+formatted       66e4369c7bda  fay-0.24.2.0/tests/PrefixOpPat.hs
+formatted       129023442df5  fay-0.24.2.0/tests/QualifiedImport.hs
+formatted       3298b9301836  fay-0.24.2.0/tests/QualifiedImport/X.hs
+formatted       391559feaa6f  fay-0.24.2.0/tests/QualifiedImport/Y.hs
+formatted       5a73215af899  fay-0.24.2.0/tests/Ratio.hs
+formatted       577c81fcbe39  fay-0.24.2.0/tests/ReExport1.hs
+formatted       97f273a7040d  fay-0.24.2.0/tests/ReExport2.hs
+formatted       9fb50fe15789  fay-0.24.2.0/tests/ReExport3.hs
+formatted       8b077416b2a2  fay-0.24.2.0/tests/ReExportGlobally.hs
+formatted       4b9cbdde2416  fay-0.24.2.0/tests/ReExportGlobally/A.hs
+formatted       b21d1616e152  fay-0.24.2.0/tests/ReExportGloballyExplicit.hs
+formatted       9315bbd88930  fay-0.24.2.0/tests/RealFrac.hs
+formatted       1a6a33c6ac9d  fay-0.24.2.0/tests/RecCon.hs
+formatted       a326acb269cf  fay-0.24.2.0/tests/RecDecl.hs
+formatted       bb55ab6798d0  fay-0.24.2.0/tests/RecordImport2_Export1.hs
+formatted       938433aeb8c8  fay-0.24.2.0/tests/RecordImport2_Export2.hs
+formatted       c044e70c8101  fay-0.24.2.0/tests/RecordImport2_Import.hs
+formatted       78894d96872d  fay-0.24.2.0/tests/RecordImport_Export.hs
+formatted       7436f43b45cc  fay-0.24.2.0/tests/RecordImport_Import.hs
+formatted       227a87a9ae8b  fay-0.24.2.0/tests/Sink.hs
+formatted       0d52d0cd7e4b  fay-0.24.2.0/tests/SkipLetTypes.hs
+formatted       79a7eb241171  fay-0.24.2.0/tests/SkipWhereTypes.hs
+formatted       b2f90faa6d96  fay-0.24.2.0/tests/StringForcing.hs
+formatted       78f704c770c1  fay-0.24.2.0/tests/Strings.hs
+formatted       b23a6f00c551  fay-0.24.2.0/tests/T190.hs
+formatted       692f0dae5fb8  fay-0.24.2.0/tests/T190_A.hs
+formatted       8e73afc88ae8  fay-0.24.2.0/tests/T190_B.hs
+formatted       e68acdaf2dfe  fay-0.24.2.0/tests/T190_C.hs
+formatted       7bd1c4fd8478  fay-0.24.2.0/tests/TextOrd.hs
+formatted       f47544b81667  fay-0.24.2.0/tests/Trace.hs
+formatted       c578ce2acbf6  fay-0.24.2.0/tests/TupleCalls.hs
+formatted       701322881242  fay-0.24.2.0/tests/TyVarSerialization.hs
+formatted       7d85fb13bd93  fay-0.24.2.0/tests/Var.hs
+formatted       7a2ffc1587f5  fay-0.24.2.0/tests/VarPtr.hs
+formatted       c4accafa9968  fay-0.24.2.0/tests/WhenUnlessRecursion.hs
+formatted       c767b8778a1d  fay-0.24.2.0/tests/asPatternMatch.hs
+formatted       1a166d65af84  fay-0.24.2.0/tests/automatic.hs
+formatted       83d1d385ae83  fay-0.24.2.0/tests/baseFixities.hs
+formatted       ce58f47bac04  fay-0.24.2.0/tests/basicFunctions.hs
+formatted       33b5a5453ff8  fay-0.24.2.0/tests/case.hs
+formatted       a51f036ac082  fay-0.24.2.0/tests/case2.hs
+formatted       4a4542652251  fay-0.24.2.0/tests/case3.hs
+formatted       e563419849e3  fay-0.24.2.0/tests/caseList.hs
+formatted       6f41ab7df8c9  fay-0.24.2.0/tests/caseWildcard.hs
+formatted       9437474fc565  fay-0.24.2.0/tests/circular.hs
+formatted       3ac360393116  fay-0.24.2.0/tests/curry.hs
+formatted       9bbe8cd8c749  fay-0.24.2.0/tests/cycle.hs
+formatted       d07827315b77  fay-0.24.2.0/tests/do.hs
+formatted       262e4e61e6b8  fay-0.24.2.0/tests/doAssingPatternMatch.hs
+formatted       ad5b707f664a  fay-0.24.2.0/tests/doBindAssign.hs
+formatted       e41cbdd7656a  fay-0.24.2.0/tests/doLet.hs
+formatted       9f8a8d10c1d3  fay-0.24.2.0/tests/emptyMain.hs
+formatted       380eff7dedb9  fay-0.24.2.0/tests/enumFrom.hs
+formatted       05834fe58432  fay-0.24.2.0/tests/error.hs
+formatted       f563902672cb  fay-0.24.2.0/tests/ffiExpr.hs
+formatted       73697f0c099c  fay-0.24.2.0/tests/ffimunging.hs
+formatted       dc67c504a097  fay-0.24.2.0/tests/fix.hs
+formatted       9267690ec8d2  fay-0.24.2.0/tests/fromInteger.hs
+formatted       73a7dce83bdd  fay-0.24.2.0/tests/fromIntegral.hs
+formatted       860a7aed8af3  fay-0.24.2.0/tests/guards.hs
+formatted       8ff7b7e5d80d  fay-0.24.2.0/tests/infixDataConst.hs
+formatted       99c963974ca0  fay-0.24.2.0/tests/ints.hs
+formatted       9ec2af24577b  fay-0.24.2.0/tests/linesAndWords.hs
+formatted       514dd556f1a0  fay-0.24.2.0/tests/listComprehensions.hs
+formatted       392b79e97d1d  fay-0.24.2.0/tests/listlen.hs
+formatted       9d98dc262b39  fay-0.24.2.0/tests/mutableReference.hs
+formatted       f983711e6f6b  fay-0.24.2.0/tests/nameGen.hs
+formatted       00499901b441  fay-0.24.2.0/tests/namedFieldPuns.hs
+formatted       68fcd666b331  fay-0.24.2.0/tests/negation.hs
+formatted       cbc98cad1753  fay-0.24.2.0/tests/newtype.hs
+formatted       36cf37d7cd68  fay-0.24.2.0/tests/newtypeIndirectApp.hs
+formatted       a587812e6602  fay-0.24.2.0/tests/numTheory.hs
+formatted       40bd883716b3  fay-0.24.2.0/tests/nums.hs
+formatted       c27df9670630  fay-0.24.2.0/tests/pats.hs
+formatted       b317cbb85f97  fay-0.24.2.0/tests/patternGuards.hs
+formatted       353e37b5a857  fay-0.24.2.0/tests/patternMatchFail.hs
+formatted       0e69935e45c9  fay-0.24.2.0/tests/patternMatchLet.hs
+formatted       f963663ae2cf  fay-0.24.2.0/tests/patternMatchingTuples.hs
+formatted       41871bce5735  fay-0.24.2.0/tests/recordFunctionPatternMatch.hs
+formatted       6010444abc75  fay-0.24.2.0/tests/recordPatternMatch.hs
+formatted       0dda5fc8df9d  fay-0.24.2.0/tests/recordPatternMatch2.hs
+formatted       63b9091a92a2  fay-0.24.2.0/tests/recordUseBeforeDefine.hs
+formatted       ff86d9a59c39  fay-0.24.2.0/tests/recordWildCards.hs
+formatted       089e34c28162  fay-0.24.2.0/tests/records.hs
+formatted       a371f7d8d704  fay-0.24.2.0/tests/recursive.hs
+formatted       9797f8836f3b  fay-0.24.2.0/tests/reservedWords.hs
+formatted       3bdaf5d65328  fay-0.24.2.0/tests/sections.hs
+formatted       19e9c7c69db9  fay-0.24.2.0/tests/seq-fake.hs
+formatted       2ac1dc3c2516  fay-0.24.2.0/tests/seq.hs
+formatted       e203f25109ee  fay-0.24.2.0/tests/serialization.hs
+formatted       e76961e79030  fay-0.24.2.0/tests/succPred.hs
+formatted       461d16ef4da1  fay-0.24.2.0/tests/tailRecursion.hs
+formatted       b29bc268b713  fay-0.24.2.0/tests/then.hs
+formatted       7b2a525c6d17  fay-0.24.2.0/tests/tupleCon.hs
+formatted       71a59816933e  fay-0.24.2.0/tests/tupleSec.hs
+formatted       c864de89b243  fay-0.24.2.0/tests/unit.hs
+formatted       400cb70dfed1  fay-0.24.2.0/tests/utf8.hs
+formatted       68905bc32429  fay-0.24.2.0/tests/where.hs
+formatted       6ea0b301c8c4  fay-0.24.2.0/tests/whereBind.hs
+formatted       62b7dd25b5c9  fay-0.24.2.0/tests/whereBind2.hs
+formatted       dd52de0acf94  fay-0.24.2.0/tests/whereBind3.hs
+formatted       52e5a013766b  flatparse-0.5.6.1/bench/Attoparsec.hs
+formatted       1674e9333e85  flatparse-0.5.6.1/bench/Bench.hs
+formatted       e8be2df42ab6  flatparse-0.5.6.1/bench/Common.hs
+formatted       c9c92090fed2  flatparse-0.5.6.1/bench/FPBasic.hs
+formatted       0c5c25d02b80  flatparse-0.5.6.1/bench/FPStateful.hs
+formatted       e6bf4db84d14  flatparse-0.5.6.1/bench/Megaparsec.hs
+formatted       bc3c75f24101  flatparse-0.5.6.1/bench/Parsec.hs
+formatted       1af06af55006  flatparse-0.5.6.1/bench/ReadInteger.hs
+formatted       9608ceadff5a  flatparse-0.5.6.1/src/FlatParse/Basic.hs
+formatted       47487ee8dcc1  flatparse-0.5.6.1/src/FlatParse/Basic/Addr.hs
+formatted       dab1414e625e  flatparse-0.5.6.1/src/FlatParse/Basic/Base.hs
+formatted       6ab067cefb7d  flatparse-0.5.6.1/src/FlatParse/Basic/Bytes.hs
+formatted       d75071da97cc  flatparse-0.5.6.1/src/FlatParse/Basic/Integers.hs
+formatted       d852c2efdb29  flatparse-0.5.6.1/src/FlatParse/Basic/Parser.hs
+formatted       7f3540c78598  flatparse-0.5.6.1/src/FlatParse/Basic/Switch.hs
+formatted       47711ccbb130  flatparse-0.5.6.1/src/FlatParse/Basic/Text.hs
+formatted       cd7f21f63212  flatparse-0.5.6.1/src/FlatParse/Common/Assorted.hs
+formatted       b987d6722b87  flatparse-0.5.6.1/src/FlatParse/Common/GHCExts.hs
+formatted       f0f34134506a  flatparse-0.5.6.1/src/FlatParse/Common/Numbers.hs
+formatted       426bbf57b3df  flatparse-0.5.6.1/src/FlatParse/Common/Parser.hs
+formatted       f066c2e877b3  flatparse-0.5.6.1/src/FlatParse/Common/Position.hs
+formatted       414dcdd960b5  flatparse-0.5.6.1/src/FlatParse/Common/Switch.hs
+formatted       9a374123ef07  flatparse-0.5.6.1/src/FlatParse/Examples/BasicLambda/Lexer.hs
+formatted       63a6553ab814  flatparse-0.5.6.1/src/FlatParse/Examples/BasicLambda/Parser.hs
+formatted       bf5931efee6c  flatparse-0.5.6.1/src/FlatParse/Minimal.hs
+formatted       5c1221941813  flatparse-0.5.6.1/src/FlatParse/Minimal/Internal.hs
+formatted       67e2fdf47b08  flatparse-0.5.6.1/src/FlatParse/Stateful.hs
+formatted       4fff7e756fca  flatparse-0.5.6.1/src/FlatParse/Stateful/Addr.hs
+formatted       93eb9a3c4bba  flatparse-0.5.6.1/src/FlatParse/Stateful/Base.hs
+formatted       9391de1cdf77  flatparse-0.5.6.1/src/FlatParse/Stateful/Bytes.hs
+formatted       5568fe0e622d  flatparse-0.5.6.1/src/FlatParse/Stateful/Integers.hs
+formatted       fae8ecefe4f0  flatparse-0.5.6.1/src/FlatParse/Stateful/Parser.hs
+formatted       769e3e392b29  flatparse-0.5.6.1/src/FlatParse/Stateful/Switch.hs
+formatted       ff663b0548f5  flatparse-0.5.6.1/src/FlatParse/Stateful/Text.hs
+formatted       f25ddbee42c0  flatparse-0.5.6.1/test/Test.hs
+formatted       0a10f98310a1  free-5.2/examples/PerfTH.hs
+formatted       686f32a454e5  free-5.2/examples/RetryTH.hs
+formatted       7641743d0c1f  free-5.2/examples/ValidationForm.hs
+formatted       8ec77be6d3cc  free-5.2/src/Control/Alternative/Free.hs
+formatted       42332c240e57  free-5.2/src/Control/Alternative/Free/Final.hs
+formatted       fc8510d51927  free-5.2/src/Control/Applicative/Free.hs
+formatted       bc01c590291f  free-5.2/src/Control/Applicative/Free/Fast.hs
+formatted       c8cddaf66b46  free-5.2/src/Control/Applicative/Free/Final.hs
+formatted       fdf7f145ee1b  free-5.2/src/Control/Applicative/Trans/Free.hs
+formatted       1363895047da  free-5.2/src/Control/Comonad/Cofree.hs
+formatted       35c351be9ed7  free-5.2/src/Control/Comonad/Cofree/Class.hs
+formatted       f29df7279c27  free-5.2/src/Control/Comonad/Trans/Cofree.hs
+formatted       d0d0ffd13c89  free-5.2/src/Control/Comonad/Trans/Coiter.hs
+formatted       4a7eeb7302e6  free-5.2/src/Control/Monad/Free.hs
+formatted       851fcf1a63b5  free-5.2/src/Control/Monad/Free/Ap.hs
+formatted       565fe76dd28c  free-5.2/src/Control/Monad/Free/Church.hs
+formatted       fa5898b267b9  free-5.2/src/Control/Monad/Free/Class.hs
+formatted       b57d95cfb6cf  free-5.2/src/Control/Monad/Free/TH.hs
+formatted       b005cac072b5  free-5.2/src/Control/Monad/Trans/Free.hs
+formatted       7f5d352d3aca  free-5.2/src/Control/Monad/Trans/Free/Ap.hs
+formatted       f72caed757b4  free-5.2/src/Control/Monad/Trans/Free/Church.hs
+formatted       9f33381a7b55  free-5.2/src/Control/Monad/Trans/Iter.hs
+formatted       56c248be435c  fsnotify-0.4.4.0/Setup.hs
+formatted       62464bf7a481  fsnotify-0.4.4.0/example/Main.hs
+formatted       e00b4540ad57  fsnotify-0.4.4.0/src/System/FSNotify.hs
+formatted       cad88a3470fe  fsnotify-0.4.4.0/src/System/FSNotify/Devel.hs
+formatted       0d0e6f3eaf91  fsnotify-0.4.4.0/src/System/FSNotify/Find.hs
+formatted       4b2a9d5de910  fsnotify-0.4.4.0/src/System/FSNotify/Linux.hs
+formatted       a79bcd5f3d2e  fsnotify-0.4.4.0/src/System/FSNotify/Linux/Util.hs
+formatted       833fac33ee44  fsnotify-0.4.4.0/src/System/FSNotify/Listener.hs
+formatted       203f2947e597  fsnotify-0.4.4.0/src/System/FSNotify/OSX.hs
+formatted       8ef2efb10605  fsnotify-0.4.4.0/src/System/FSNotify/Path.hs
+formatted       479edd83d4ef  fsnotify-0.4.4.0/src/System/FSNotify/Polling.hs
+formatted       80babe59b44c  fsnotify-0.4.4.0/src/System/FSNotify/Types.hs
+formatted       855a68594e02  fsnotify-0.4.4.0/src/System/FSNotify/Win32.hs
+formatted       c13dbb7cc9f0  fsnotify-0.4.4.0/test/FSNotify/Test/EventTests.hs
+partly-checked  bc36c3e7b91f  fsnotify-0.4.4.0/test/FSNotify/Test/Util.hs
+formatted       0c8f0ebee902  fsnotify-0.4.4.0/test/Main.hs
+formatted       1322230cd17a  fsnotify-0.4.4.0/win-src/System/Win32/Notify.hs
+formatted       e865ae48f11b  hakyll-4.17.0.0/Setup.hs
+formatted       4f8a97c0abb4  hakyll-4.17.0.0/data/example/site.hs
+formatted       116aaa72d476  hakyll-4.17.0.0/lib/Data/List/Extended.hs
+formatted       f638cd45236f  hakyll-4.17.0.0/lib/Data/Yaml/Extended.hs
+formatted       66d577e4c00b  hakyll-4.17.0.0/lib/Hakyll.hs
+formatted       91683453cfdd  hakyll-4.17.0.0/lib/Hakyll/Check.hs
+formatted       4539294ed330  hakyll-4.17.0.0/lib/Hakyll/Commands.hs
+formatted       199d3ef15bb9  hakyll-4.17.0.0/lib/Hakyll/Core/Compiler.hs
+formatted       4fd2c3ed5a1e  hakyll-4.17.0.0/lib/Hakyll/Core/Compiler/Internal.hs
+formatted       6a18bac5605f  hakyll-4.17.0.0/lib/Hakyll/Core/Compiler/Require.hs
+formatted       11bd58facc9c  hakyll-4.17.0.0/lib/Hakyll/Core/Configuration.hs
+formatted       4a31d1ba332f  hakyll-4.17.0.0/lib/Hakyll/Core/Dependencies.hs
+formatted       2b183bbca511  hakyll-4.17.0.0/lib/Hakyll/Core/File.hs
+formatted       1977b2f86f53  hakyll-4.17.0.0/lib/Hakyll/Core/Identifier.hs
+formatted       70667cb0d66b  hakyll-4.17.0.0/lib/Hakyll/Core/Identifier/Pattern.hs
+formatted       460d8b4c9367  hakyll-4.17.0.0/lib/Hakyll/Core/Identifier/Pattern/Internal.hs
+formatted       2447cde024ef  hakyll-4.17.0.0/lib/Hakyll/Core/Item.hs
+formatted       ddf97861e02e  hakyll-4.17.0.0/lib/Hakyll/Core/Item/SomeItem.hs
+formatted       2cf4e36327dc  hakyll-4.17.0.0/lib/Hakyll/Core/Logger.hs
+formatted       5bab4137137a  hakyll-4.17.0.0/lib/Hakyll/Core/Metadata.hs
+formatted       b142ebe55bd9  hakyll-4.17.0.0/lib/Hakyll/Core/Provider.hs
+formatted       10309bd18e91  hakyll-4.17.0.0/lib/Hakyll/Core/Provider/Internal.hs
+formatted       bb57ba86f38f  hakyll-4.17.0.0/lib/Hakyll/Core/Provider/Metadata.hs
+formatted       7db935340293  hakyll-4.17.0.0/lib/Hakyll/Core/Provider/MetadataCache.hs
+formatted       26a6adb1ed1b  hakyll-4.17.0.0/lib/Hakyll/Core/Routes.hs
+formatted       ea765ae22343  hakyll-4.17.0.0/lib/Hakyll/Core/Rules.hs
+formatted       8b5c045757b1  hakyll-4.17.0.0/lib/Hakyll/Core/Rules/Internal.hs
+formatted       7d523bdc8825  hakyll-4.17.0.0/lib/Hakyll/Core/Runtime.hs
+formatted       5d94a8ca2844  hakyll-4.17.0.0/lib/Hakyll/Core/Store.hs
+formatted       fefca3d91b4c  hakyll-4.17.0.0/lib/Hakyll/Core/UnixFilter.hs
+formatted       2ddd4c11948b  hakyll-4.17.0.0/lib/Hakyll/Core/Util/File.hs
+formatted       33e319d37a63  hakyll-4.17.0.0/lib/Hakyll/Core/Util/Parser.hs
+formatted       f142de069550  hakyll-4.17.0.0/lib/Hakyll/Core/Util/String.hs
+formatted       e492f5d9c5a9  hakyll-4.17.0.0/lib/Hakyll/Core/Writable.hs
+formatted       b2a3b06f4698  hakyll-4.17.0.0/lib/Hakyll/Main.hs
+formatted       28012501f5d8  hakyll-4.17.0.0/lib/Hakyll/Preview/Poll.hs
+formatted       82a6d9b2435d  hakyll-4.17.0.0/lib/Hakyll/Preview/Server.hs
+formatted       e40c7c8c244d  hakyll-4.17.0.0/lib/Hakyll/Web/CompressCss.hs
+formatted       6e6a73993ec0  hakyll-4.17.0.0/lib/Hakyll/Web/Feed.hs
+formatted       94b3f40c0495  hakyll-4.17.0.0/lib/Hakyll/Web/Html.hs
+formatted       b26dec12ba20  hakyll-4.17.0.0/lib/Hakyll/Web/Html/RelativizeUrls.hs
+formatted       54f064156afd  hakyll-4.17.0.0/lib/Hakyll/Web/Meta/JSONLD.hs
+formatted       a3dbe80d0b45  hakyll-4.17.0.0/lib/Hakyll/Web/Meta/OpenGraph.hs
+formatted       a3b6503b2c4a  hakyll-4.17.0.0/lib/Hakyll/Web/Meta/TwitterCard.hs
+formatted       4701ec5223bf  hakyll-4.17.0.0/lib/Hakyll/Web/Paginate.hs
+formatted       7260721d9f65  hakyll-4.17.0.0/lib/Hakyll/Web/Pandoc.hs
+formatted       ce9c6fb19724  hakyll-4.17.0.0/lib/Hakyll/Web/Pandoc/Biblio.hs
+formatted       2e4913b9fa24  hakyll-4.17.0.0/lib/Hakyll/Web/Pandoc/Binary.hs
+formatted       3b80777ccfe6  hakyll-4.17.0.0/lib/Hakyll/Web/Pandoc/FileType.hs
+formatted       d3ab70a3af86  hakyll-4.17.0.0/lib/Hakyll/Web/Redirect.hs
+formatted       9f69a40b6021  hakyll-4.17.0.0/lib/Hakyll/Web/Tags.hs
+formatted       fa946a02582b  hakyll-4.17.0.0/lib/Hakyll/Web/Template.hs
+formatted       991cf22239ec  hakyll-4.17.0.0/lib/Hakyll/Web/Template/Context.hs
+formatted       c06d07007268  hakyll-4.17.0.0/lib/Hakyll/Web/Template/Internal.hs
+formatted       01a10629b6b3  hakyll-4.17.0.0/lib/Hakyll/Web/Template/Internal/Element.hs
+formatted       a58304f38ea2  hakyll-4.17.0.0/lib/Hakyll/Web/Template/Internal/Trim.hs
+formatted       7594938d071c  hakyll-4.17.0.0/lib/Hakyll/Web/Template/List.hs
+formatted       697bb3d63330  hakyll-4.17.0.0/src/Init.hs
+formatted       967ec530c082  hakyll-4.17.0.0/tests/Hakyll/Core/Dependencies/Tests.hs
+formatted       c9ca90c78755  hakyll-4.17.0.0/tests/Hakyll/Core/Identifier/Tests.hs
+formatted       58a44cb1f9c2  hakyll-4.17.0.0/tests/Hakyll/Core/Provider/Metadata/Tests.hs
+formatted       199e7f0802a9  hakyll-4.17.0.0/tests/Hakyll/Core/Provider/Tests.hs
+formatted       1fa57fbef77d  hakyll-4.17.0.0/tests/Hakyll/Core/Routes/Tests.hs
+formatted       f7a889060c28  hakyll-4.17.0.0/tests/Hakyll/Core/Rules/Tests.hs
+formatted       17c1ff256181  hakyll-4.17.0.0/tests/Hakyll/Core/Runtime/Tests.hs
+formatted       c8d1a0919196  hakyll-4.17.0.0/tests/Hakyll/Core/Store/Tests.hs
+formatted       58b6db832926  hakyll-4.17.0.0/tests/Hakyll/Core/UnixFilter/Tests.hs
+formatted       1bb4a266f7cf  hakyll-4.17.0.0/tests/Hakyll/Core/Util/String/Tests.hs
+formatted       a33670906e32  hakyll-4.17.0.0/tests/Hakyll/Web/CompressCss/Tests.hs
+formatted       6af15c3fda5b  hakyll-4.17.0.0/tests/Hakyll/Web/Feed/Tests.hs
+formatted       0fff1c474895  hakyll-4.17.0.0/tests/Hakyll/Web/Html/RelativizeUrls/Tests.hs
+formatted       55b31efc34ee  hakyll-4.17.0.0/tests/Hakyll/Web/Html/Tests.hs
+formatted       eec80ea1127d  hakyll-4.17.0.0/tests/Hakyll/Web/Pandoc/Biblio/Tests.hs
+formatted       95d053469406  hakyll-4.17.0.0/tests/Hakyll/Web/Pandoc/FileType/Tests.hs
+formatted       4ef8d2488242  hakyll-4.17.0.0/tests/Hakyll/Web/Tags/Tests.hs
+formatted       0acda7ccacf4  hakyll-4.17.0.0/tests/Hakyll/Web/Template/Context/Tests.hs
+formatted       83aaced98056  hakyll-4.17.0.0/tests/Hakyll/Web/Template/Tests.hs
+formatted       364c9add5867  hakyll-4.17.0.0/tests/TestSuite.hs
+formatted       9160b9ab045d  hakyll-4.17.0.0/tests/TestSuite/Util.hs
+formatted       c8b7e650ebf9  hakyll-4.17.0.0/web/site.hs
+formatted       9226007b6541  hashable-1.5.1.0/Setup.hs
+formatted       69d948fe14a0  hashable-1.5.1.0/examples/Main.hs
+formatted       dec33e05489e  hashable-1.5.1.0/src/Data/Hashable.hs
+partly-checked  4dd97aabfc23  hashable-1.5.1.0/src/Data/Hashable/Class.hs
+formatted       b77657630da4  hashable-1.5.1.0/src/Data/Hashable/FFI.hs
+formatted       d2be5b809f2a  hashable-1.5.1.0/src/Data/Hashable/Generic.hs
+formatted       9111264164fa  hashable-1.5.1.0/src/Data/Hashable/Generic/Instances.hs
+formatted       c9c87bb00bc0  hashable-1.5.1.0/src/Data/Hashable/Imports.hs
+formatted       6076706d9fa6  hashable-1.5.1.0/src/Data/Hashable/Lifted.hs
+formatted       4d5aa76737e6  hashable-1.5.1.0/src/Data/Hashable/LowLevel.hs
+formatted       228c88ef0843  hashable-1.5.1.0/src/Data/Hashable/Mix.hs
+formatted       0d1763344945  hashable-1.5.1.0/src/Data/Hashable/XXH3.hs
+formatted       81a480d6d597  hashable-1.5.1.0/tests/Main.hs
+formatted       09955f6e5d6e  hashable-1.5.1.0/tests/Properties.hs
+formatted       cae1e2af2961  hashable-1.5.1.0/tests/Regress.hs
+formatted       82df02c80e02  hashable-1.5.1.0/tests/xxhash-tests.hs
+formatted       fd56f35a1469  haxl-2.5.1.1/Haxl/Core.hs
+formatted       d1219c0fe211  haxl-2.5.1.1/Haxl/Core/CallGraph.hs
+formatted       a5f3e4341c98  haxl-2.5.1.1/Haxl/Core/DataCache.hs
+formatted       8c8652e58abc  haxl-2.5.1.1/Haxl/Core/DataSource.hs
+formatted       a751bbd25e64  haxl-2.5.1.1/Haxl/Core/Exception.hs
+formatted       aae673b01f0b  haxl-2.5.1.1/Haxl/Core/Fetch.hs
+formatted       47ee8ca6516a  haxl-2.5.1.1/Haxl/Core/Flags.hs
+formatted       4b5b20fb5b24  haxl-2.5.1.1/Haxl/Core/Memo.hs
+formatted       f2e9a2a8307d  haxl-2.5.1.1/Haxl/Core/Monad.hs
+formatted       3f1f994f0ffb  haxl-2.5.1.1/Haxl/Core/Parallel.hs
+formatted       670d39a8c18c  haxl-2.5.1.1/Haxl/Core/Profile.hs
+formatted       4b1a681baeee  haxl-2.5.1.1/Haxl/Core/RequestStore.hs
+formatted       dff430ea582f  haxl-2.5.1.1/Haxl/Core/Run.hs
+formatted       a8e73c380c33  haxl-2.5.1.1/Haxl/Core/ShowP.hs
+formatted       ad3c71c4c61b  haxl-2.5.1.1/Haxl/Core/StateStore.hs
+formatted       a67b0ce6ff30  haxl-2.5.1.1/Haxl/Core/Stats.hs
+formatted       a654f898c9c2  haxl-2.5.1.1/Haxl/Core/Util.hs
+formatted       29c7acf6eedf  haxl-2.5.1.1/Haxl/DataSource/ConcurrentIO.hs
+formatted       04362dc147bc  haxl-2.5.1.1/Haxl/Prelude.hs
+formatted       0bf115c25c25  haxl-2.5.1.1/Setup.hs
+formatted       fa7e18ae05ba  haxl-2.5.1.1/tests/AdoTests.hs
+formatted       e8505c8c2e15  haxl-2.5.1.1/tests/AllTests.hs
+formatted       fa7afa3e56f2  haxl-2.5.1.1/tests/BadDataSource.hs
+formatted       07875301b124  haxl-2.5.1.1/tests/BatchTests.hs
+formatted       97b31de996ca  haxl-2.5.1.1/tests/Bench.hs
+formatted       3a33280712c6  haxl-2.5.1.1/tests/CoreTests.hs
+formatted       dd3b8a027452  haxl-2.5.1.1/tests/DataCacheTest.hs
+formatted       b0978aef4d98  haxl-2.5.1.1/tests/DataSourceDispatchTests.hs
+formatted       2fdea8963851  haxl-2.5.1.1/tests/ExampleDataSource.hs
+formatted       92458903ddca  haxl-2.5.1.1/tests/ExceptionStackTests.hs
+formatted       916c6184cdca  haxl-2.5.1.1/tests/FullyAsyncTest.hs
+formatted       5b348a1f5fab  haxl-2.5.1.1/tests/LoadCache.hs
+formatted       4023d1e83cb0  haxl-2.5.1.1/tests/MemoizationTests.hs
+formatted       4b605650d87f  haxl-2.5.1.1/tests/MockTAO.hs
+formatted       2c815841dcd9  haxl-2.5.1.1/tests/MonadAsyncTest.hs
+formatted       1a8fdf3c9c16  haxl-2.5.1.1/tests/MonadBench.hs
+formatted       30b6c3f59566  haxl-2.5.1.1/tests/OutgoneFetchesTests.hs
+formatted       866428effbdc  haxl-2.5.1.1/tests/ParallelTests.hs
+formatted       277338b1f9f6  haxl-2.5.1.1/tests/ProfileTests.hs
+formatted       542f6297a04e  haxl-2.5.1.1/tests/SleepDataSource.hs
+formatted       cb66fb81dc1a  haxl-2.5.1.1/tests/StatsTests.hs
+formatted       ee8bb1f90eeb  haxl-2.5.1.1/tests/TestBadDataSource.hs
+formatted       ceeb554436af  haxl-2.5.1.1/tests/TestExampleDataSource.hs
+formatted       90394664c687  haxl-2.5.1.1/tests/TestMain.hs
+formatted       b503e16dd997  haxl-2.5.1.1/tests/TestTypes.hs
+formatted       640370e45c73  haxl-2.5.1.1/tests/TestUtils.hs
+formatted       5b580a46b109  haxl-2.5.1.1/tests/WorkDataSource.hs
+formatted       5df7bf10e877  haxl-2.5.1.1/tests/WriteTests.hs
+formatted       9b3b9a9eea8c  hedgehog-1.7/src/Hedgehog.hs
+formatted       c8edf32e0d9b  hedgehog-1.7/src/Hedgehog/Gen.hs
+formatted       c03c7c6e1080  hedgehog-1.7/src/Hedgehog/Internal/Barbie.hs
+formatted       418e0bf97ff6  hedgehog-1.7/src/Hedgehog/Internal/Config.hs
+formatted       28f6957204e3  hedgehog-1.7/src/Hedgehog/Internal/Discovery.hs
+formatted       fe6d952491bc  hedgehog-1.7/src/Hedgehog/Internal/Distributive.hs
+formatted       9c17119d9443  hedgehog-1.7/src/Hedgehog/Internal/Exception.hs
+formatted       79125e61eb82  hedgehog-1.7/src/Hedgehog/Internal/Gen.hs
+formatted       e38b6eea7e00  hedgehog-1.7/src/Hedgehog/Internal/HTraversable.hs
+formatted       e70d05d08187  hedgehog-1.7/src/Hedgehog/Internal/Opaque.hs
+formatted       0c41d0d4f087  hedgehog-1.7/src/Hedgehog/Internal/Prelude.hs
+formatted       c54155c1c299  hedgehog-1.7/src/Hedgehog/Internal/Property.hs
+formatted       5d6f5b3da03a  hedgehog-1.7/src/Hedgehog/Internal/Queue.hs
+formatted       ebcdad83a0ba  hedgehog-1.7/src/Hedgehog/Internal/Range.hs
+formatted       6d88a1676424  hedgehog-1.7/src/Hedgehog/Internal/Region.hs
+formatted       73da5fca4859  hedgehog-1.7/src/Hedgehog/Internal/Report.hs
+formatted       fd5c63fa95d2  hedgehog-1.7/src/Hedgehog/Internal/Runner.hs
+formatted       802bd925a194  hedgehog-1.7/src/Hedgehog/Internal/Seed.hs
+formatted       2845cc15fe70  hedgehog-1.7/src/Hedgehog/Internal/Show.hs
+formatted       576f1afe3bca  hedgehog-1.7/src/Hedgehog/Internal/Shrink.hs
+formatted       b2e253fc0abf  hedgehog-1.7/src/Hedgehog/Internal/Source.hs
+formatted       faab205eccf8  hedgehog-1.7/src/Hedgehog/Internal/State.hs
+formatted       ac0316dbfbb3  hedgehog-1.7/src/Hedgehog/Internal/TH.hs
+formatted       c7e6b451f701  hedgehog-1.7/src/Hedgehog/Internal/Tree.hs
+formatted       42e8fad71904  hedgehog-1.7/src/Hedgehog/Internal/Tripping.hs
+formatted       33c9141eeffd  hedgehog-1.7/src/Hedgehog/Main.hs
+formatted       d71772dad16c  hedgehog-1.7/src/Hedgehog/Range.hs
+formatted       590c98dce08e  hedgehog-1.7/test/Test/Hedgehog/Applicative.hs
+formatted       37e6a1383406  hedgehog-1.7/test/Test/Hedgehog/Confidence.hs
+formatted       765dfce015ae  hedgehog-1.7/test/Test/Hedgehog/Filter.hs
+formatted       09f03c5def12  hedgehog-1.7/test/Test/Hedgehog/Maybe.hs
+formatted       7bfdd84b0bca  hedgehog-1.7/test/Test/Hedgehog/Seed.hs
+formatted       df340c61af02  hedgehog-1.7/test/Test/Hedgehog/Skip.hs
+formatted       f290d63c01bf  hedgehog-1.7/test/Test/Hedgehog/Text.hs
+formatted       2e3ebef9ee67  hedgehog-1.7/test/Test/Hedgehog/Zip.hs
+formatted       df799f9ffb57  hedgehog-1.7/test/test.hs
+formatted       bd91962a8d83  hledger-1.52.1/Hledger/Cli.hs
+formatted       4cbd78441bec  hledger-1.52.1/Hledger/Cli/Anchor.hs
+formatted       f1687165b7a8  hledger-1.52.1/Hledger/Cli/Anon.hs
+formatted       52b7cc89c461  hledger-1.52.1/Hledger/Cli/CliOptions.hs
+formatted       6b90cb5fb8ee  hledger-1.52.1/Hledger/Cli/Commands.hs
+formatted       2e4936cc8e8b  hledger-1.52.1/Hledger/Cli/Commands/Accounts.hs
+formatted       4ab3f5ebc9f8  hledger-1.52.1/Hledger/Cli/Commands/Activity.hs
+formatted       2eaf389be8c8  hledger-1.52.1/Hledger/Cli/Commands/Add.hs
+formatted       3318ef8f2894  hledger-1.52.1/Hledger/Cli/Commands/Aregister.hs
+formatted       03300133104a  hledger-1.52.1/Hledger/Cli/Commands/Balance.hs
+formatted       858605dd57a7  hledger-1.52.1/Hledger/Cli/Commands/Balancesheet.hs
+formatted       770fe1ca01d4  hledger-1.52.1/Hledger/Cli/Commands/Balancesheetequity.hs
+formatted       d6c9a2fe1d1c  hledger-1.52.1/Hledger/Cli/Commands/Cashflow.hs
+formatted       efa275770dc5  hledger-1.52.1/Hledger/Cli/Commands/Check.hs
+formatted       d8ec2d11c59a  hledger-1.52.1/Hledger/Cli/Commands/Close.hs
+formatted       3b7e51a5c6cd  hledger-1.52.1/Hledger/Cli/Commands/Codes.hs
+formatted       08b4170f69c8  hledger-1.52.1/Hledger/Cli/Commands/Commodities.hs
+formatted       be81cc885b09  hledger-1.52.1/Hledger/Cli/Commands/Demo.hs
+formatted       d8a27b96ad40  hledger-1.52.1/Hledger/Cli/Commands/Descriptions.hs
+formatted       ad882acbbef9  hledger-1.52.1/Hledger/Cli/Commands/Diff.hs
+formatted       ab44d54ae02f  hledger-1.52.1/Hledger/Cli/Commands/Files.hs
+formatted       5d8b3a49506b  hledger-1.52.1/Hledger/Cli/Commands/Help.hs
+formatted       4ee37658adc2  hledger-1.52.1/Hledger/Cli/Commands/Import.hs
+formatted       523ae9fc30f4  hledger-1.52.1/Hledger/Cli/Commands/Incomestatement.hs
+formatted       3d1b9049f255  hledger-1.52.1/Hledger/Cli/Commands/Notes.hs
+formatted       d0b0d4261763  hledger-1.52.1/Hledger/Cli/Commands/Payees.hs
+formatted       9745b992adc8  hledger-1.52.1/Hledger/Cli/Commands/Prices.hs
+formatted       1c022e43963b  hledger-1.52.1/Hledger/Cli/Commands/Print.hs
+formatted       9aac4539e90f  hledger-1.52.1/Hledger/Cli/Commands/Register.hs
+formatted       9d5ef4fb1268  hledger-1.52.1/Hledger/Cli/Commands/Rewrite.hs
+formatted       2e720b4bc445  hledger-1.52.1/Hledger/Cli/Commands/Roi.hs
+formatted       b061dbef8947  hledger-1.52.1/Hledger/Cli/Commands/Run.hs
+formatted       f86d02ce6fba  hledger-1.52.1/Hledger/Cli/Commands/Setup.hs
+formatted       8fa886bfe49e  hledger-1.52.1/Hledger/Cli/Commands/Stats.hs
+formatted       fb14b0afc44b  hledger-1.52.1/Hledger/Cli/Commands/Tags.hs
+formatted       39fbf83bbab5  hledger-1.52.1/Hledger/Cli/CompoundBalanceCommand.hs
+formatted       5e4ce4da5440  hledger-1.52.1/Hledger/Cli/Conf.hs
+formatted       b4fdb6bc508a  hledger-1.52.1/Hledger/Cli/DocFiles.hs
+formatted       017a94acdb9b  hledger-1.52.1/Hledger/Cli/Script.hs
+formatted       0636fae92244  hledger-1.52.1/Hledger/Cli/Utils.hs
+formatted       37c51c4d6be9  hledger-1.52.1/Hledger/Cli/Version.hs
+formatted       e865ae48f11b  hledger-1.52.1/Setup.hs
+formatted       5f05220c744b  hledger-1.52.1/app/hledger-cli.hs
+formatted       2b2f13b4b263  hledger-1.52.1/bench/bench.hs
+formatted       24c975bb04b9  hledger-1.52.1/test/unittest.hs
+formatted       e865ae48f11b  hlint-3.10/Setup.hs
+formatted       a974ebc1430a  hlint-3.10/data/HLint_QuickCheck.hs
+declined        -             hlint-3.10/data/HLint_TypeCheck.hs
+formatted       212468216eef  hlint-3.10/data/Test.hs
+formatted       5fe15324b451  hlint-3.10/src/Apply.hs
+formatted       f6bc5933a034  hlint-3.10/src/CC.hs
+formatted       d0a1f1dd0586  hlint-3.10/src/CmdLine.hs
+formatted       e549962738e8  hlint-3.10/src/Config/Compute.hs
+formatted       b59b3604f21b  hlint-3.10/src/Config/Haskell.hs
+formatted       69f7aa1d0ee5  hlint-3.10/src/Config/Read.hs
+formatted       9c224daad463  hlint-3.10/src/Config/Type.hs
+formatted       e0ccb80bbfee  hlint-3.10/src/Config/Yaml.hs
+formatted       871e24292ba2  hlint-3.10/src/EmbedData.hs
+formatted       f8effe55aeb3  hlint-3.10/src/Extension.hs
+formatted       f3ae889daa48  hlint-3.10/src/Fixity.hs
+formatted       c077956e4db3  hlint-3.10/src/GHC/All.hs
+formatted       c6a7b398494e  hlint-3.10/src/GHC/Util.hs
+formatted       9196fba870c4  hlint-3.10/src/GHC/Util/ApiAnnotation.hs
+formatted       a59e75f4405d  hlint-3.10/src/GHC/Util/Brackets.hs
+formatted       8cff3984ef92  hlint-3.10/src/GHC/Util/DynFlags.hs
+formatted       00c63230ab6e  hlint-3.10/src/GHC/Util/FreeVars.hs
+formatted       3d386a403912  hlint-3.10/src/GHC/Util/HsDecl.hs
+formatted       59a953a968ab  hlint-3.10/src/GHC/Util/HsExpr.hs
+formatted       9013dc4d6803  hlint-3.10/src/GHC/Util/Scope.hs
+formatted       67f639b7136f  hlint-3.10/src/GHC/Util/SrcLoc.hs
+formatted       750648b32de7  hlint-3.10/src/GHC/Util/Unify.hs
+formatted       d7967a1b3c03  hlint-3.10/src/GHC/Util/View.hs
+formatted       264f30eaa838  hlint-3.10/src/HLint.hs
+formatted       995e188b2adf  hlint-3.10/src/Hint/All.hs
+formatted       9c92a76f75d4  hlint-3.10/src/Hint/Bracket.hs
+formatted       52c31fc4c976  hlint-3.10/src/Hint/Comment.hs
+formatted       8a919cc76e40  hlint-3.10/src/Hint/Duplicate.hs
+formatted       8c5a0da01bbf  hlint-3.10/src/Hint/Export.hs
+formatted       f7e5ab806b07  hlint-3.10/src/Hint/Extensions.hs
+formatted       93a996020d77  hlint-3.10/src/Hint/Fixities.hs
+formatted       2fdcfb8cf665  hlint-3.10/src/Hint/Import.hs
+formatted       ae4d656581a0  hlint-3.10/src/Hint/Lambda.hs
+formatted       5823458e73bd  hlint-3.10/src/Hint/List.hs
+formatted       ecd66f8fd141  hlint-3.10/src/Hint/ListRec.hs
+formatted       7b2e14bfd11a  hlint-3.10/src/Hint/Match.hs
+formatted       de1a109269fe  hlint-3.10/src/Hint/Monad.hs
+formatted       24bf634a00f6  hlint-3.10/src/Hint/Naming.hs
+formatted       c43c0f119aee  hlint-3.10/src/Hint/Negation.hs
+formatted       907e612936e0  hlint-3.10/src/Hint/NewType.hs
+formatted       872b3bb7fbe4  hlint-3.10/src/Hint/NumLiteral.hs
+formatted       48965634eba4  hlint-3.10/src/Hint/Pattern.hs
+formatted       4c5130ac1805  hlint-3.10/src/Hint/Pragma.hs
+formatted       3fe54901e612  hlint-3.10/src/Hint/Restrict.hs
+formatted       886a0207f01e  hlint-3.10/src/Hint/Smell.hs
+formatted       b670c3ab95dd  hlint-3.10/src/Hint/Type.hs
+formatted       38aec4c3fe6a  hlint-3.10/src/Hint/Unsafe.hs
+formatted       48cd04ad2e02  hlint-3.10/src/HsColour.hs
+formatted       67549d77035a  hlint-3.10/src/Idea.hs
+formatted       344ab5123b2a  hlint-3.10/src/Language/Haskell/HLint.hs
+formatted       e7fe9da0fe0b  hlint-3.10/src/Main.hs
+formatted       fcdf50a5835c  hlint-3.10/src/Parallel.hs
+formatted       651a34dc7ca2  hlint-3.10/src/Refact.hs
+formatted       f6ba1db6c81f  hlint-3.10/src/Report.hs
+formatted       7e0e9773d3fb  hlint-3.10/src/SARIF.hs
+formatted       503cb3f4ca7b  hlint-3.10/src/Summary.hs
+formatted       b7fc4aa315c3  hlint-3.10/src/Test/All.hs
+formatted       745fcf673ca2  hlint-3.10/src/Test/Annotations.hs
+formatted       cbfa766f7762  hlint-3.10/src/Test/InputOutput.hs
+formatted       535224fe0b9e  hlint-3.10/src/Test/Util.hs
+formatted       16082bec6000  hlint-3.10/src/Timing.hs
+formatted       bed3af400518  hlint-3.10/src/Util.hs
+formatted       7d21c1a73f55  hspec-core-2.11.17/src/GetOpt/Declarative.hs
+formatted       1e0b2a3f1c88  hspec-core-2.11.17/src/GetOpt/Declarative/Environment.hs
+formatted       e633840e98ae  hspec-core-2.11.17/src/GetOpt/Declarative/Interpret.hs
+formatted       e2367651589b  hspec-core-2.11.17/src/GetOpt/Declarative/Types.hs
+formatted       49155da0793b  hspec-core-2.11.17/src/GetOpt/Declarative/Util.hs
+formatted       263b3ec48303  hspec-core-2.11.17/src/Test/Hspec/Core/Annotations.hs
+formatted       de79155fe657  hspec-core-2.11.17/src/Test/Hspec/Core/Clock.hs
+formatted       9906eff31483  hspec-core-2.11.17/src/Test/Hspec/Core/Compat.hs
+formatted       d359ec274ec1  hspec-core-2.11.17/src/Test/Hspec/Core/Config.hs
+formatted       b00ef697fd2f  hspec-core-2.11.17/src/Test/Hspec/Core/Config/Definition.hs
+formatted       4e6730c39263  hspec-core-2.11.17/src/Test/Hspec/Core/Config/Options.hs
+formatted       8598138fe9f7  hspec-core-2.11.17/src/Test/Hspec/Core/Example.hs
+formatted       2d04dcd7f598  hspec-core-2.11.17/src/Test/Hspec/Core/Example/Location.hs
+formatted       4d414d1ba87f  hspec-core-2.11.17/src/Test/Hspec/Core/Extension.hs
+formatted       6bbc5cc14550  hspec-core-2.11.17/src/Test/Hspec/Core/Extension/Config.hs
+formatted       fb226834ab09  hspec-core-2.11.17/src/Test/Hspec/Core/Extension/Config/Type.hs
+formatted       0b42fcbd59f0  hspec-core-2.11.17/src/Test/Hspec/Core/Extension/Item.hs
+formatted       4ee2b8f645c3  hspec-core-2.11.17/src/Test/Hspec/Core/Extension/Option.hs
+formatted       9bdab251f259  hspec-core-2.11.17/src/Test/Hspec/Core/Extension/Spec.hs
+formatted       bc79c620fa6f  hspec-core-2.11.17/src/Test/Hspec/Core/Extension/Tree.hs
+formatted       dc1dd2f91902  hspec-core-2.11.17/src/Test/Hspec/Core/FailureReport.hs
+formatted       1c3284da404b  hspec-core-2.11.17/src/Test/Hspec/Core/Format.hs
+formatted       2c6b9db842c3  hspec-core-2.11.17/src/Test/Hspec/Core/Formatters.hs
+formatted       57a9037ebfe6  hspec-core-2.11.17/src/Test/Hspec/Core/Formatters/Diff.hs
+formatted       54af1d25a367  hspec-core-2.11.17/src/Test/Hspec/Core/Formatters/Internal.hs
+formatted       f6e43c07a93b  hspec-core-2.11.17/src/Test/Hspec/Core/Formatters/Pretty.hs
+formatted       49b24d46470c  hspec-core-2.11.17/src/Test/Hspec/Core/Formatters/Pretty/Parser.hs
+formatted       ceb419c6da53  hspec-core-2.11.17/src/Test/Hspec/Core/Formatters/Pretty/Unicode.hs
+formatted       afb0365e0d77  hspec-core-2.11.17/src/Test/Hspec/Core/Formatters/V1.hs
+formatted       6d78a536b207  hspec-core-2.11.17/src/Test/Hspec/Core/Formatters/V1/Free.hs
+formatted       7ded62fdae03  hspec-core-2.11.17/src/Test/Hspec/Core/Formatters/V1/Internal.hs
+formatted       da6bf24dbc85  hspec-core-2.11.17/src/Test/Hspec/Core/Formatters/V1/Monad.hs
+formatted       c6c971d323f9  hspec-core-2.11.17/src/Test/Hspec/Core/Formatters/V2.hs
+formatted       23ae1175ed5f  hspec-core-2.11.17/src/Test/Hspec/Core/Hooks.hs
+formatted       2ef24e8e88bb  hspec-core-2.11.17/src/Test/Hspec/Core/QuickCheck.hs
+formatted       6c1b86cbc7df  hspec-core-2.11.17/src/Test/Hspec/Core/QuickCheck/Util.hs
+formatted       4789d0a488df  hspec-core-2.11.17/src/Test/Hspec/Core/Runner.hs
+formatted       a7c069056ae3  hspec-core-2.11.17/src/Test/Hspec/Core/Runner/Eval.hs
+formatted       ef711ab45490  hspec-core-2.11.17/src/Test/Hspec/Core/Runner/JobQueue.hs
+formatted       176d03080836  hspec-core-2.11.17/src/Test/Hspec/Core/Runner/PrintSlowSpecItems.hs
+formatted       79535861183d  hspec-core-2.11.17/src/Test/Hspec/Core/Runner/Result.hs
+formatted       50355fef1371  hspec-core-2.11.17/src/Test/Hspec/Core/Shuffle.hs
+formatted       bac65e29c0cd  hspec-core-2.11.17/src/Test/Hspec/Core/Spec.hs
+formatted       c26b0574f769  hspec-core-2.11.17/src/Test/Hspec/Core/Spec/Monad.hs
+formatted       c721d474f280  hspec-core-2.11.17/src/Test/Hspec/Core/Timer.hs
+formatted       298870f368d7  hspec-core-2.11.17/src/Test/Hspec/Core/Tree.hs
+formatted       5ce484dd1f42  hspec-core-2.11.17/src/Test/Hspec/Core/Util.hs
+formatted       986c92fa297a  hspec-core-2.11.17/test/GetOpt/Declarative/EnvironmentSpec.hs
+formatted       25e0128d14de  hspec-core-2.11.17/test/GetOpt/Declarative/UtilSpec.hs
+formatted       0097975e2d53  hspec-core-2.11.17/test/Helper.hs
+formatted       58b1cbb365dc  hspec-core-2.11.17/test/Mock.hs
+formatted       42263bafabb2  hspec-core-2.11.17/test/Spec.hs
+formatted       933c2e2d2d8c  hspec-core-2.11.17/test/SpecHook.hs
+formatted       1b97c7f958ed  hspec-core-2.11.17/test/Test/Hspec/Core/AnnotationsSpec.hs
+formatted       313e72c8c881  hspec-core-2.11.17/test/Test/Hspec/Core/ClockSpec.hs
+formatted       676c48a23940  hspec-core-2.11.17/test/Test/Hspec/Core/CompatSpec.hs
+formatted       8d7af6c2a4b6  hspec-core-2.11.17/test/Test/Hspec/Core/Config/DefinitionSpec.hs
+formatted       0f08b6467984  hspec-core-2.11.17/test/Test/Hspec/Core/Config/OptionsSpec.hs
+formatted       8c8e92f6715f  hspec-core-2.11.17/test/Test/Hspec/Core/ConfigSpec.hs
+formatted       9457ee32c71f  hspec-core-2.11.17/test/Test/Hspec/Core/Example/LocationSpec.hs
+formatted       e906cbfa9351  hspec-core-2.11.17/test/Test/Hspec/Core/ExampleSpec.hs
+formatted       d1ad5e20b244  hspec-core-2.11.17/test/Test/Hspec/Core/FailureReportSpec.hs
+formatted       ec072386c7ed  hspec-core-2.11.17/test/Test/Hspec/Core/FormatSpec.hs
+formatted       afe07c73f787  hspec-core-2.11.17/test/Test/Hspec/Core/Formatters/DiffSpec.hs
+formatted       8fa5fd2aedb8  hspec-core-2.11.17/test/Test/Hspec/Core/Formatters/InternalSpec.hs
+formatted       4a9e0a440dd6  hspec-core-2.11.17/test/Test/Hspec/Core/Formatters/Pretty/ParserSpec.hs
+formatted       e065b6324a12  hspec-core-2.11.17/test/Test/Hspec/Core/Formatters/Pretty/UnicodeSpec.hs
+formatted       d1e203f9af5f  hspec-core-2.11.17/test/Test/Hspec/Core/Formatters/PrettySpec.hs
+formatted       bb4a0cbde8cc  hspec-core-2.11.17/test/Test/Hspec/Core/Formatters/V1Spec.hs
+formatted       ae8bdc0a804c  hspec-core-2.11.17/test/Test/Hspec/Core/Formatters/V2Spec.hs
+formatted       a2b2a2ad4821  hspec-core-2.11.17/test/Test/Hspec/Core/HooksSpec.hs
+formatted       4c9886f27149  hspec-core-2.11.17/test/Test/Hspec/Core/QuickCheck/UtilSpec.hs
+formatted       df492c3c23cd  hspec-core-2.11.17/test/Test/Hspec/Core/Runner/EvalSpec.hs
+formatted       a8c11009c6e4  hspec-core-2.11.17/test/Test/Hspec/Core/Runner/JobQueueSpec.hs
+formatted       907e7efc2fa7  hspec-core-2.11.17/test/Test/Hspec/Core/Runner/PrintSlowSpecItemsSpec.hs
+formatted       081cd7ff7bb1  hspec-core-2.11.17/test/Test/Hspec/Core/Runner/ResultSpec.hs
+formatted       2c8fa18b6eb4  hspec-core-2.11.17/test/Test/Hspec/Core/RunnerSpec.hs
+formatted       739ca46e70ae  hspec-core-2.11.17/test/Test/Hspec/Core/ShuffleSpec.hs
+formatted       1b60da5ada53  hspec-core-2.11.17/test/Test/Hspec/Core/SpecSpec.hs
+formatted       31510a8f7885  hspec-core-2.11.17/test/Test/Hspec/Core/TimerSpec.hs
+formatted       98cb2f41433b  hspec-core-2.11.17/test/Test/Hspec/Core/TreeSpec.hs
+formatted       912117297bcb  hspec-core-2.11.17/test/Test/Hspec/Core/UtilSpec.hs
+formatted       4a2762581247  hspec-core-2.11.17/vendor/Data/Algorithm/Diff.hs
+partly-checked  42baa6442520  hspec-core-2.11.17/vendor/async-2.2.5/Control/Concurrent/Async.hs
+formatted       783858bf0349  hspec-core-2.11.17/vendor/stm-2.5.0.1/Control/Concurrent/STM/TMVar.hs
+formatted       10c197f21c50  http-client-0.7.19/Data/KeyedPool.hs
+formatted       d317e7d799cf  http-client-0.7.19/Network/HTTP/Client.hs
+formatted       773da0642167  http-client-0.7.19/Network/HTTP/Client/Body.hs
+formatted       dcc5bd80b279  http-client-0.7.19/Network/HTTP/Client/Connection.hs
+formatted       107e09039c67  http-client-0.7.19/Network/HTTP/Client/Cookies.hs
+formatted       ae99ff94becd  http-client-0.7.19/Network/HTTP/Client/Core.hs
+formatted       4dcbb565f854  http-client-0.7.19/Network/HTTP/Client/Headers.hs
+formatted       44b1ad27a89e  http-client-0.7.19/Network/HTTP/Client/Internal.hs
+formatted       28c79134fe05  http-client-0.7.19/Network/HTTP/Client/Manager.hs
+formatted       49c2714a3242  http-client-0.7.19/Network/HTTP/Client/MultipartFormData.hs
+formatted       75b493a5e524  http-client-0.7.19/Network/HTTP/Client/Request.hs
+formatted       c74a00816aea  http-client-0.7.19/Network/HTTP/Client/Response.hs
+formatted       f1e379bcee25  http-client-0.7.19/Network/HTTP/Client/Types.hs
+formatted       ca6a48d5e983  http-client-0.7.19/Network/HTTP/Client/Util.hs
+formatted       badf4504e844  http-client-0.7.19/Network/HTTP/Proxy.hs
+formatted       e865ae48f11b  http-client-0.7.19/Setup.hs
+formatted       7ac2dcbe78dd  http-client-0.7.19/publicsuffixlist/Network/PublicSuffixList/DataStructure.hs
+formatted       40adbb755f8f  http-client-0.7.19/publicsuffixlist/Network/PublicSuffixList/Lookup.hs
+formatted       4e4aa8b86705  http-client-0.7.19/publicsuffixlist/Network/PublicSuffixList/Serialize.hs
+formatted       8b865e32ba72  http-client-0.7.19/publicsuffixlist/Network/PublicSuffixList/Types.hs
+formatted       c581cc92fbff  http-client-0.7.19/test-nonet/Network/HTTP/Client/BodySpec.hs
+formatted       629bbb9f1a61  http-client-0.7.19/test-nonet/Network/HTTP/Client/ConnectionSpec.hs
+formatted       dff8439fcfbd  http-client-0.7.19/test-nonet/Network/HTTP/Client/CookieSpec.hs
+formatted       04524e847f99  http-client-0.7.19/test-nonet/Network/HTTP/Client/HeadersSpec.hs
+formatted       bed8b58df328  http-client-0.7.19/test-nonet/Network/HTTP/Client/RequestBodySpec.hs
+formatted       835a79a88d17  http-client-0.7.19/test-nonet/Network/HTTP/Client/RequestSpec.hs
+formatted       5789ee27227d  http-client-0.7.19/test-nonet/Network/HTTP/Client/ResponseSpec.hs
+formatted       a4da0918119e  http-client-0.7.19/test-nonet/Network/HTTP/ClientSpec.hs
+formatted       2fbd14b119a4  http-client-0.7.19/test-nonet/Spec.hs
+formatted       f01cb08dd7a3  http-client-0.7.19/test/Network/HTTP/ClientSpec.hs
+formatted       2fbd14b119a4  http-client-0.7.19/test/Spec.hs
+formatted       5949ab295e23  http-types-0.12.6/Network/HTTP/Types.hs
+formatted       5f36c268479d  http-types-0.12.6/Network/HTTP/Types/Header.hs
+formatted       f663d80aac8d  http-types-0.12.6/Network/HTTP/Types/Method.hs
+formatted       499597b5596a  http-types-0.12.6/Network/HTTP/Types/QueryLike.hs
+formatted       973c6368ae63  http-types-0.12.6/Network/HTTP/Types/Status.hs
+formatted       1ca04d204cd4  http-types-0.12.6/Network/HTTP/Types/URI.hs
+formatted       f437cc36b9fa  http-types-0.12.6/Network/HTTP/Types/Version.hs
+formatted       e865ae48f11b  http-types-0.12.6/Setup.hs
+formatted       294636e25a6b  http-types-0.12.6/test/Network/HTTP/Types/HeaderSpec.hs
+formatted       9c7fdad3e326  http-types-0.12.6/test/Network/HTTP/Types/MethodSpec.hs
+formatted       654b8c1ecad7  http-types-0.12.6/test/Network/HTTP/Types/StatusSpec.hs
+formatted       27e22f051285  http-types-0.12.6/test/Network/HTTP/Types/URISpec.hs
+formatted       6789ba63a464  http-types-0.12.6/test/Network/HTTP/Types/VersionSpec.hs
+formatted       2fbd14b119a4  http-types-0.12.6/test/Spec.hs
+formatted       6d7c004ed36a  http-types-0.12.6/test/doctests.hs
+formatted       58218544264b  idris-1.3.4/Setup.hs
+formatted       a916cfaa5a6f  idris-1.3.4/codegen/idris-codegen-c/Main.hs
+formatted       6cd783b32579  idris-1.3.4/codegen/idris-codegen-javascript/Main.hs
+formatted       5693108003e0  idris-1.3.4/codegen/idris-codegen-node/Main.hs
+formatted       69212a423fb3  idris-1.3.4/main/Main.hs
+formatted       3dc493d48f0f  idris-1.3.4/src/IRTS/Bytecode.hs
+formatted       745b5acb1650  idris-1.3.4/src/IRTS/CodegenC.hs
+formatted       43b903a961ce  idris-1.3.4/src/IRTS/CodegenCommon.hs
+formatted       557dec02612d  idris-1.3.4/src/IRTS/CodegenJavaScript.hs
+formatted       990f8201533f  idris-1.3.4/src/IRTS/Compiler.hs
+formatted       360b498da036  idris-1.3.4/src/IRTS/Defunctionalise.hs
+formatted       0b520ab30420  idris-1.3.4/src/IRTS/DumpBC.hs
+formatted       1c17c897aa95  idris-1.3.4/src/IRTS/Exports.hs
+formatted       9e44d172890b  idris-1.3.4/src/IRTS/Inliner.hs
+formatted       cc2432a4b9d8  idris-1.3.4/src/IRTS/JavaScript/AST.hs
+formatted       70692a44922b  idris-1.3.4/src/IRTS/JavaScript/Codegen.hs
+formatted       27e97df14583  idris-1.3.4/src/IRTS/JavaScript/LangTransforms.hs
+formatted       c3f8a200e286  idris-1.3.4/src/IRTS/JavaScript/Name.hs
+formatted       782968145a2d  idris-1.3.4/src/IRTS/JavaScript/PrimOp.hs
+formatted       78d46895a636  idris-1.3.4/src/IRTS/JavaScript/Specialize.hs
+formatted       52cb787346bf  idris-1.3.4/src/IRTS/Lang.hs
+formatted       3d0eab116968  idris-1.3.4/src/IRTS/LangOpts.hs
+formatted       de99df584e60  idris-1.3.4/src/IRTS/Portable.hs
+formatted       2ff1274b36cc  idris-1.3.4/src/IRTS/Simplified.hs
+formatted       15dce8aa119e  idris-1.3.4/src/IRTS/System.hs
+formatted       8982c567e5cb  idris-1.3.4/src/Idris/ASTUtils.hs
+formatted       cb3de0e702ad  idris-1.3.4/src/Idris/AbsSyntax.hs
+formatted       b38da18e3376  idris-1.3.4/src/Idris/AbsSyntaxTree.hs
+formatted       7a9bdee823f9  idris-1.3.4/src/Idris/Apropos.hs
+formatted       2d06c142da99  idris-1.3.4/src/Idris/CaseSplit.hs
+formatted       c59ff53ade33  idris-1.3.4/src/Idris/Chaser.hs
+formatted       f04482af9d74  idris-1.3.4/src/Idris/CmdOptions.hs
+formatted       a2edd3d43e34  idris-1.3.4/src/Idris/Colours.hs
+formatted       981788b37b44  idris-1.3.4/src/Idris/Completion.hs
+formatted       8565079cbcbb  idris-1.3.4/src/Idris/Core/Binary.hs
+formatted       1633df0a3282  idris-1.3.4/src/Idris/Core/CaseTree.hs
+formatted       fa2d0812ed5f  idris-1.3.4/src/Idris/Core/Constraints.hs
+formatted       9f2889f4ce25  idris-1.3.4/src/Idris/Core/DeepSeq.hs
+formatted       49d4a28c31a3  idris-1.3.4/src/Idris/Core/Elaborate.hs
+formatted       9316de5efac1  idris-1.3.4/src/Idris/Core/Evaluate.hs
+formatted       c40163fdebb7  idris-1.3.4/src/Idris/Core/Execute.hs
+formatted       9447a7b5c2f0  idris-1.3.4/src/Idris/Core/ProofState.hs
+formatted       b76c9b2dfb27  idris-1.3.4/src/Idris/Core/ProofTerm.hs
+formatted       319f1b37d57d  idris-1.3.4/src/Idris/Core/TT.hs
+formatted       59ec68b8fb3b  idris-1.3.4/src/Idris/Core/Typecheck.hs
+formatted       59c53219535d  idris-1.3.4/src/Idris/Core/Unify.hs
+formatted       6c96b2dd85f4  idris-1.3.4/src/Idris/Core/WHNF.hs
+formatted       7a5c564b9243  idris-1.3.4/src/Idris/Coverage.hs
+formatted       ed5fbae1936b  idris-1.3.4/src/Idris/DSL.hs
+formatted       53d2a7dd2479  idris-1.3.4/src/Idris/DataOpts.hs
+formatted       8f602f7292c6  idris-1.3.4/src/Idris/DeepSeq.hs
+formatted       e2a0c2b0f8ed  idris-1.3.4/src/Idris/Delaborate.hs
+formatted       9e3f1076241a  idris-1.3.4/src/Idris/Directives.hs
+formatted       6ab5141c35dd  idris-1.3.4/src/Idris/Docs.hs
+formatted       910c8bbf5772  idris-1.3.4/src/Idris/Docstrings.hs
+formatted       b1dd4dfd6424  idris-1.3.4/src/Idris/Elab/AsPat.hs
+formatted       f98096a5b073  idris-1.3.4/src/Idris/Elab/Clause.hs
+formatted       260ac8b5aa56  idris-1.3.4/src/Idris/Elab/Data.hs
+formatted       4dea1b032317  idris-1.3.4/src/Idris/Elab/Implementation.hs
+formatted       a130b9496db0  idris-1.3.4/src/Idris/Elab/Interface.hs
+formatted       47c786e25c1b  idris-1.3.4/src/Idris/Elab/Provider.hs
+formatted       fdb19ac09880  idris-1.3.4/src/Idris/Elab/Quasiquote.hs
+formatted       13b1c03c142d  idris-1.3.4/src/Idris/Elab/Record.hs
+formatted       8b0ca41b0e2c  idris-1.3.4/src/Idris/Elab/Rewrite.hs
+formatted       f916def222f3  idris-1.3.4/src/Idris/Elab/RunElab.hs
+formatted       c02bd5fa3562  idris-1.3.4/src/Idris/Elab/Term.hs
+formatted       9b529bf9c171  idris-1.3.4/src/Idris/Elab/Transform.hs
+formatted       17c497701245  idris-1.3.4/src/Idris/Elab/Type.hs
+formatted       569aa33d93c1  idris-1.3.4/src/Idris/Elab/Utils.hs
+formatted       1b589fb7a3d1  idris-1.3.4/src/Idris/Elab/Value.hs
+formatted       d2782fc30dd6  idris-1.3.4/src/Idris/ElabDecls.hs
+formatted       388c0ba7f694  idris-1.3.4/src/Idris/Erasure.hs
+formatted       826085266586  idris-1.3.4/src/Idris/ErrReverse.hs
+formatted       672085f25bfd  idris-1.3.4/src/Idris/Error.hs
+formatted       21bcb871fca8  idris-1.3.4/src/Idris/Help.hs
+formatted       843961c8cd36  idris-1.3.4/src/Idris/IBC.hs
+formatted       3313057d09c3  idris-1.3.4/src/Idris/IdeMode.hs
+formatted       fb5e9024460b  idris-1.3.4/src/Idris/IdrisDoc.hs
+formatted       64ab527ed6da  idris-1.3.4/src/Idris/Imports.hs
+formatted       20bdae93d5bc  idris-1.3.4/src/Idris/Info.hs
+formatted       767fb7b2697c  idris-1.3.4/src/Idris/Info/Show.hs
+formatted       eb72f451c8f1  idris-1.3.4/src/Idris/Inliner.hs
+formatted       14744d61748e  idris-1.3.4/src/Idris/Interactive.hs
+formatted       73797436b4ab  idris-1.3.4/src/Idris/Main.hs
+formatted       870e25c70a98  idris-1.3.4/src/Idris/ModeCommon.hs
+formatted       df1b6e84213f  idris-1.3.4/src/Idris/Options.hs
+formatted       9dc7b89eab15  idris-1.3.4/src/Idris/Output.hs
+formatted       27e4593ad12d  idris-1.3.4/src/Idris/Package.hs
+formatted       2a5fae85b8c9  idris-1.3.4/src/Idris/Package/Common.hs
+formatted       02294fcb31df  idris-1.3.4/src/Idris/Package/Parser.hs
+formatted       c5d1e4d561b6  idris-1.3.4/src/Idris/Parser.hs
+formatted       e0e73f352e1a  idris-1.3.4/src/Idris/Parser/Data.hs
+formatted       34c35b687c68  idris-1.3.4/src/Idris/Parser/Expr.hs
+formatted       f4cc7661672a  idris-1.3.4/src/Idris/Parser/Helpers.hs
+formatted       85d599f4f265  idris-1.3.4/src/Idris/Parser/Ops.hs
+formatted       795765c8fb5c  idris-1.3.4/src/Idris/Parser/Stack.hs
+formatted       567bc8db08f5  idris-1.3.4/src/Idris/PartialEval.hs
+formatted       0ca6b36194c6  idris-1.3.4/src/Idris/Primitives.hs
+formatted       6735c48094f5  idris-1.3.4/src/Idris/ProofSearch.hs
+formatted       cae09c6b724c  idris-1.3.4/src/Idris/Prover.hs
+formatted       4bef8a3dda3c  idris-1.3.4/src/Idris/Providers.hs
+formatted       f6a3c2d50de8  idris-1.3.4/src/Idris/REPL.hs
+formatted       ee2dc7ad549d  idris-1.3.4/src/Idris/REPL/Browse.hs
+formatted       586418ee0cf6  idris-1.3.4/src/Idris/REPL/Commands.hs
+formatted       9f4dff7240d9  idris-1.3.4/src/Idris/REPL/Parser.hs
+formatted       172b75242807  idris-1.3.4/src/Idris/Reflection.hs
+formatted       51981156822d  idris-1.3.4/src/Idris/Termination.hs
+formatted       6837e439e7d6  idris-1.3.4/src/Idris/Transforms.hs
+formatted       e8769a907868  idris-1.3.4/src/Idris/TypeSearch.hs
+formatted       19852e280ff5  idris-1.3.4/src/Idris/Unlit.hs
+formatted       a29631564b23  idris-1.3.4/src/Idris/WhoCalls.hs
+formatted       83bef4d93808  idris-1.3.4/src/Util/DynamicLinker.hs
+formatted       6c977b762e66  idris-1.3.4/src/Util/Net.hs
+formatted       a9a4d0174e47  idris-1.3.4/src/Util/Pretty.hs
+formatted       13363649406c  idris-1.3.4/src/Util/ScreenSize.hs
+formatted       f001dfa4cfb3  idris-1.3.4/src/Util/System.hs
+formatted       9df5a10ea1fd  idris-1.3.4/test/TestData.hs
+formatted       fbe0c8367ba2  idris-1.3.4/test/TestRun.hs
+formatted       e865ae48f11b  intero-0.1.40/Setup.hs
+formatted       51d9dd55b8d1  intero-0.1.40/src/Completion.hs
+formatted       134e3323695b  intero-0.1.40/src/GhciFind.hs
+partly-checked  a5cc29811ddf  intero-0.1.40/src/GhciInfo.hs
+formatted       1a260763cdee  intero-0.1.40/src/GhciMonad.hs
+formatted       4e51b04458bf  intero-0.1.40/src/GhciTags.hs
+formatted       13f3d6414d11  intero-0.1.40/src/GhciTypes.hs
+declined        -             intero-0.1.40/src/InteractiveUI.hs
+formatted       05c4ab5e8850  intero-0.1.40/src/Intero/Compat.hs
+partly-checked  887f2214d71c  intero-0.1.40/src/Main.hs
+formatted       66b7288dc3fb  intero-0.1.40/src/test/Main.hs
+formatted       4fe73bbfe233  leksah-0.16.2.2/data/leksah-welcome/src/Main.hs
+formatted       1cefb44a49bc  leksah-0.16.2.2/data/leksah-welcome/test/Main.hs
+formatted       34cb8bb8a612  leksah-0.16.2.2/main/Main.hs
+formatted       454ea67fd3a5  leksah-0.16.2.2/src/IDE/BufferMode.hs
+formatted       27eded2a23ea  leksah-0.16.2.2/src/IDE/Build.hs
+formatted       ca69e75cb91c  leksah-0.16.2.2/src/IDE/Command.hs
+formatted       638becc80ec3  leksah-0.16.2.2/src/IDE/Command/Print.hs
+formatted       3587f60b8002  leksah-0.16.2.2/src/IDE/Command/VCS.hs
+formatted       66efcbdf05b7  leksah-0.16.2.2/src/IDE/Command/VCS/Common.hs
+formatted       10b6c6b7bbca  leksah-0.16.2.2/src/IDE/Command/VCS/Common/GUI.hs
+formatted       75ba5428261d  leksah-0.16.2.2/src/IDE/Command/VCS/Common/Helper.hs
+formatted       828a9a818d1e  leksah-0.16.2.2/src/IDE/Command/VCS/Common/Workspaces.hs
+formatted       de87f9b588c5  leksah-0.16.2.2/src/IDE/Command/VCS/GIT.hs
+formatted       a7724ab353d4  leksah-0.16.2.2/src/IDE/Command/VCS/Mercurial.hs
+formatted       64122ccf6e31  leksah-0.16.2.2/src/IDE/Command/VCS/SVN.hs
+formatted       1aa1a3a9a7b3  leksah-0.16.2.2/src/IDE/Command/VCS/Types.hs
+formatted       ceeb9e8efe00  leksah-0.16.2.2/src/IDE/Completion.hs
+formatted       c8f9b826d4a8  leksah-0.16.2.2/src/IDE/Core/State.hs
+formatted       afc054cdfa73  leksah-0.16.2.2/src/IDE/Core/Types.hs
+formatted       4406be5c1dfc  leksah-0.16.2.2/src/IDE/Debug.hs
+does-not-parse  -             leksah-0.16.2.2/src/IDE/Find.hs
+formatted       be6afac26bcc  leksah-0.16.2.2/src/IDE/GUIHistory.hs
+formatted       e9246013f7f7  leksah-0.16.2.2/src/IDE/HLint.hs
+formatted       f19f9c1dfd0e  leksah-0.16.2.2/src/IDE/ImportTool.hs
+formatted       ea4ca569c3b8  leksah-0.16.2.2/src/IDE/Keymap.hs
+formatted       0cd71fc25f09  leksah-0.16.2.2/src/IDE/LPaste.hs
+formatted       b8f24c562b86  leksah-0.16.2.2/src/IDE/Leksah.hs
+formatted       40ea3187a8cc  leksah-0.16.2.2/src/IDE/LogRef.hs
+formatted       42b10057aab0  leksah-0.16.2.2/src/IDE/Metainfo/Provider.hs
+formatted       8e10f8b4331f  leksah-0.16.2.2/src/IDE/NotebookFlipper.hs
+formatted       e840012c12dc  leksah-0.16.2.2/src/IDE/OSX.hs
+formatted       22a2ee2dfef4  leksah-0.16.2.2/src/IDE/Package.hs
+formatted       fd6e334192ff  leksah-0.16.2.2/src/IDE/Pane/Breakpoints.hs
+formatted       614bb764627c  leksah-0.16.2.2/src/IDE/Pane/Errors.hs
+formatted       52dd4605555d  leksah-0.16.2.2/src/IDE/Pane/Files.hs
+formatted       0f3d7efcc65b  leksah-0.16.2.2/src/IDE/Pane/Grep.hs
+formatted       786566f88c8c  leksah-0.16.2.2/src/IDE/Pane/HLint.hs
+formatted       4654b0124e56  leksah-0.16.2.2/src/IDE/Pane/Info.hs
+formatted       536eccf21f1c  leksah-0.16.2.2/src/IDE/Pane/Log.hs
+formatted       b1f2094efcf7  leksah-0.16.2.2/src/IDE/Pane/Modules.hs
+formatted       2f1bb8327571  leksah-0.16.2.2/src/IDE/Pane/PackageEditor.hs
+formatted       20eaec50fa60  leksah-0.16.2.2/src/IDE/Pane/PackageFlags.hs
+formatted       3b02642e11f0  leksah-0.16.2.2/src/IDE/Pane/Search.hs
+formatted       be0389442813  leksah-0.16.2.2/src/IDE/Pane/SourceBuffer.hs
+formatted       01b81e01e7fd  leksah-0.16.2.2/src/IDE/Pane/Trace.hs
+formatted       5c934ada85d2  leksah-0.16.2.2/src/IDE/Pane/Variables.hs
+formatted       426d472a2081  leksah-0.16.2.2/src/IDE/Pane/WebKit/Documentation.hs
+formatted       46d860ca63ba  leksah-0.16.2.2/src/IDE/Pane/WebKit/Inspect.hs
+formatted       a6a69287fc6e  leksah-0.16.2.2/src/IDE/Pane/WebKit/Output.hs
+formatted       44416fcaa7f8  leksah-0.16.2.2/src/IDE/Pane/Workspace.hs
+formatted       e37919267317  leksah-0.16.2.2/src/IDE/PaneGroups.hs
+formatted       084fbfa24ffe  leksah-0.16.2.2/src/IDE/Preferences.hs
+formatted       5a27a1d14ea3  leksah-0.16.2.2/src/IDE/Session.hs
+formatted       8bc2684ef66a  leksah-0.16.2.2/src/IDE/SourceCandy.hs
+formatted       6bfc2ac7e236  leksah-0.16.2.2/src/IDE/Statusbar.hs
+formatted       b0278b3a8ed4  leksah-0.16.2.2/src/IDE/SymbolNavigation.hs
+formatted       265b135c829e  leksah-0.16.2.2/src/IDE/TextEditor.hs
+formatted       e1f8ddf88320  leksah-0.16.2.2/src/IDE/TextEditor/Class.hs
+formatted       c472809ffd64  leksah-0.16.2.2/src/IDE/TextEditor/CodeMirror.hs
+formatted       4e3b27961279  leksah-0.16.2.2/src/IDE/TextEditor/GtkSourceView.hs
+formatted       b97000c1a7b3  leksah-0.16.2.2/src/IDE/TextEditor/Yi.hs
+formatted       8e3d5870d80c  leksah-0.16.2.2/src/IDE/TextEditor/Yi/Config.hs
+formatted       ae2d2b21d051  leksah-0.16.2.2/src/IDE/Utils/CabalUtils.hs
+formatted       0fec08a10580  leksah-0.16.2.2/src/IDE/Utils/DirectoryUtils.hs
+formatted       d85041bb8ea5  leksah-0.16.2.2/src/IDE/Utils/ExternalTool.hs
+formatted       df230f0c3888  leksah-0.16.2.2/src/IDE/Utils/GUIUtils.hs
+formatted       d2eece26d9d4  leksah-0.16.2.2/src/IDE/Utils/ServerConnection.hs
+formatted       970f471ea03a  leksah-0.16.2.2/src/IDE/Workspaces.hs
+formatted       fc528d31210a  leksah-0.16.2.2/src/IDE/Workspaces/Writer.hs
+formatted       9006ef8f6ea5  lens-5.3.6/benchmarks/alongside.hs
+formatted       09ff1dc2c2bd  lens-5.3.6/benchmarks/folds.hs
+formatted       c7b6f3770a3d  lens-5.3.6/benchmarks/plated.hs
+formatted       cec78c698e91  lens-5.3.6/benchmarks/traversals.hs
+formatted       3dcb375cba1b  lens-5.3.6/benchmarks/unsafe.hs
+formatted       6b5d9407288a  lens-5.3.6/examples/Aeson.hs
+formatted       11109d0beb27  lens-5.3.6/examples/Plates.hs
+formatted       bcf57a9477bc  lens-5.3.6/examples/Pong.hs
+formatted       1e7ca6c2bac4  lens-5.3.6/examples/Turtle.hs
+formatted       e865ae48f11b  lens-5.3.6/lens-properties/Setup.hs
+formatted       895faacb95c8  lens-5.3.6/lens-properties/src/Control/Lens/Properties.hs
+formatted       474f8b3bb8a8  lens-5.3.6/src/Control/Exception/Lens.hs
+formatted       5d19706b19a4  lens-5.3.6/src/Control/Lens.hs
+formatted       ba935f57db4a  lens-5.3.6/src/Control/Lens/At.hs
+formatted       c0aa0c0cfc55  lens-5.3.6/src/Control/Lens/Combinators.hs
+formatted       b1929e3a90e7  lens-5.3.6/src/Control/Lens/Cons.hs
+formatted       aaacd85a5575  lens-5.3.6/src/Control/Lens/Each.hs
+formatted       156b371d41d5  lens-5.3.6/src/Control/Lens/Empty.hs
+formatted       bc681279ae2d  lens-5.3.6/src/Control/Lens/Equality.hs
+formatted       8adaaf6d873a  lens-5.3.6/src/Control/Lens/Extras.hs
+formatted       8360068edf05  lens-5.3.6/src/Control/Lens/Fold.hs
+formatted       f996f2b0ce5e  lens-5.3.6/src/Control/Lens/Getter.hs
+formatted       cfa6988e9cf4  lens-5.3.6/src/Control/Lens/Indexed.hs
+formatted       938785671d3f  lens-5.3.6/src/Control/Lens/Internal.hs
+formatted       246d7fa2e37b  lens-5.3.6/src/Control/Lens/Internal/Bazaar.hs
+formatted       85abe7d156e3  lens-5.3.6/src/Control/Lens/Internal/ByteString.hs
+formatted       af47b498cd91  lens-5.3.6/src/Control/Lens/Internal/CTypes.hs
+formatted       531787b26256  lens-5.3.6/src/Control/Lens/Internal/Context.hs
+formatted       3f5ea2686468  lens-5.3.6/src/Control/Lens/Internal/Deque.hs
+formatted       4c63a54a8aeb  lens-5.3.6/src/Control/Lens/Internal/Doctest.hs
+formatted       eab552cd4caa  lens-5.3.6/src/Control/Lens/Internal/Exception.hs
+formatted       c2d95465d26a  lens-5.3.6/src/Control/Lens/Internal/FieldTH.hs
+formatted       f294e9c21508  lens-5.3.6/src/Control/Lens/Internal/Fold.hs
+formatted       64f92b9dbbc8  lens-5.3.6/src/Control/Lens/Internal/Getter.hs
+formatted       71125d51b5b9  lens-5.3.6/src/Control/Lens/Internal/Indexed.hs
+formatted       fd54893ba768  lens-5.3.6/src/Control/Lens/Internal/Instances.hs
+formatted       012d044aedeb  lens-5.3.6/src/Control/Lens/Internal/Iso.hs
+formatted       b8cc0dc19712  lens-5.3.6/src/Control/Lens/Internal/Level.hs
+formatted       780f5c865991  lens-5.3.6/src/Control/Lens/Internal/List.hs
+formatted       3d5a52eb18f9  lens-5.3.6/src/Control/Lens/Internal/Magma.hs
+formatted       b7a8364bb1a4  lens-5.3.6/src/Control/Lens/Internal/Prelude.hs
+formatted       50c56a29d64a  lens-5.3.6/src/Control/Lens/Internal/Prism.hs
+formatted       dd66efd20f14  lens-5.3.6/src/Control/Lens/Internal/PrismTH.hs
+formatted       ac4514dbef8c  lens-5.3.6/src/Control/Lens/Internal/Profunctor.hs
+formatted       9db6b198bbef  lens-5.3.6/src/Control/Lens/Internal/Review.hs
+formatted       309a1e4830ef  lens-5.3.6/src/Control/Lens/Internal/Setter.hs
+formatted       d898245a1ee0  lens-5.3.6/src/Control/Lens/Internal/TH.hs
+formatted       665cdf10d0d9  lens-5.3.6/src/Control/Lens/Internal/Zoom.hs
+formatted       7e4121e5de7e  lens-5.3.6/src/Control/Lens/Iso.hs
+formatted       5a51466f1f6d  lens-5.3.6/src/Control/Lens/Lens.hs
+formatted       352609b96aff  lens-5.3.6/src/Control/Lens/Level.hs
+formatted       75bc3f12a38f  lens-5.3.6/src/Control/Lens/Operators.hs
+formatted       ae530853f7be  lens-5.3.6/src/Control/Lens/Plated.hs
+formatted       ffd4bef7a0be  lens-5.3.6/src/Control/Lens/Prism.hs
+formatted       7fbc5cf3d4db  lens-5.3.6/src/Control/Lens/Profunctor.hs
+formatted       40ffff9c5541  lens-5.3.6/src/Control/Lens/Reified.hs
+formatted       c46b9f6e43e7  lens-5.3.6/src/Control/Lens/Review.hs
+formatted       7e86289cd0b8  lens-5.3.6/src/Control/Lens/Setter.hs
+formatted       95a9e6bb8d86  lens-5.3.6/src/Control/Lens/TH.hs
+formatted       35be6de4e677  lens-5.3.6/src/Control/Lens/Traversal.hs
+formatted       242cabde8186  lens-5.3.6/src/Control/Lens/Tuple.hs
+formatted       c27cad3fe7cb  lens-5.3.6/src/Control/Lens/Type.hs
+formatted       ae467635d199  lens-5.3.6/src/Control/Lens/Unsound.hs
+partly-checked  9e238237fd53  lens-5.3.6/src/Control/Lens/Wrapped.hs
+formatted       3987ae744975  lens-5.3.6/src/Control/Lens/Zoom.hs
+formatted       d213e90eda18  lens-5.3.6/src/Control/Monad/Error/Lens.hs
+formatted       2f9a5b9c13ac  lens-5.3.6/src/Control/Parallel/Strategies/Lens.hs
+formatted       3118cb929988  lens-5.3.6/src/Control/Seq/Lens.hs
+formatted       b4d4affc4c7f  lens-5.3.6/src/Data/Array/Lens.hs
+formatted       1079ecfdb88f  lens-5.3.6/src/Data/Bits/Lens.hs
+formatted       054d7304d417  lens-5.3.6/src/Data/ByteString/Lazy/Lens.hs
+formatted       13651a1820cb  lens-5.3.6/src/Data/ByteString/Lens.hs
+formatted       a8c8789d5b10  lens-5.3.6/src/Data/ByteString/Strict/Lens.hs
+formatted       2930762ad6c9  lens-5.3.6/src/Data/Complex/Lens.hs
+formatted       8890eec7a13d  lens-5.3.6/src/Data/Data/Lens.hs
+formatted       3831238ecc0b  lens-5.3.6/src/Data/Dynamic/Lens.hs
+formatted       ba3de2011a32  lens-5.3.6/src/Data/HashSet/Lens.hs
+formatted       87905cec4857  lens-5.3.6/src/Data/IntSet/Lens.hs
+formatted       679f930151c2  lens-5.3.6/src/Data/List/Lens.hs
+formatted       47cbed7c0790  lens-5.3.6/src/Data/Map/Lens.hs
+formatted       8219b6659b03  lens-5.3.6/src/Data/Sequence/Lens.hs
+formatted       651ac64ccf91  lens-5.3.6/src/Data/Set/Lens.hs
+formatted       7940d68966fb  lens-5.3.6/src/Data/Text/Lazy/Lens.hs
+formatted       7f7568e48d31  lens-5.3.6/src/Data/Text/Lens.hs
+formatted       2159b75d4e03  lens-5.3.6/src/Data/Text/Strict/Lens.hs
+formatted       d935473349fd  lens-5.3.6/src/Data/Tree/Lens.hs
+formatted       dbd7e977c9a5  lens-5.3.6/src/Data/Typeable/Lens.hs
+formatted       8560453745b7  lens-5.3.6/src/Data/Vector/Generic/Lens.hs
+formatted       6f7e5bff4a08  lens-5.3.6/src/Data/Vector/Lens.hs
+formatted       bc3df9b81a6a  lens-5.3.6/src/GHC/Generics/Lens.hs
+partly-checked  4f308080eb16  lens-5.3.6/src/Language/Haskell/TH/Lens.hs
+formatted       209fd42cefa6  lens-5.3.6/src/Numeric/Lens.hs
+formatted       053e2aaecad8  lens-5.3.6/src/Numeric/Natural/Lens.hs
+formatted       2d2a209e6a21  lens-5.3.6/src/System/Exit/Lens.hs
+formatted       57a0d5cd60e5  lens-5.3.6/src/System/FilePath/Lens.hs
+formatted       e6886b8b4c59  lens-5.3.6/src/System/IO/Error/Lens.hs
+formatted       aa93fbb09ce5  lens-5.3.6/tests/BigRecord.hs
+formatted       22c453e7b965  lens-5.3.6/tests/T1024.hs
+formatted       783da428b966  lens-5.3.6/tests/T799.hs
+formatted       e8c70befebef  lens-5.3.6/tests/T917.hs
+formatted       c327a3c726fc  lens-5.3.6/tests/T972.hs
+formatted       f6d0cd479146  lens-5.3.6/tests/doctests.hs
+formatted       cbec9e9e6acd  lens-5.3.6/tests/hunit.hs
+declined        -             lens-5.3.6/tests/properties.hs
+formatted       a309047902b7  lens-5.3.6/tests/templates.hs
+formatted       70975f3ef61d  lifted-base-0.2.3.12/Control/Concurrent/Chan/Lifted.hs
+formatted       c49994f07176  lifted-base-0.2.3.12/Control/Concurrent/Lifted.hs
+formatted       5c275ed352be  lifted-base-0.2.3.12/Control/Concurrent/MVar/Lifted.hs
+formatted       b4e44ea8454d  lifted-base-0.2.3.12/Control/Concurrent/QSem/Lifted.hs
+formatted       6f6da5b391ba  lifted-base-0.2.3.12/Control/Concurrent/QSemN/Lifted.hs
+formatted       ecad44f39702  lifted-base-0.2.3.12/Control/Concurrent/SampleVar/Lifted.hs
+formatted       af721342a385  lifted-base-0.2.3.12/Control/Exception/Lifted.hs
+formatted       cbd2c041506d  lifted-base-0.2.3.12/Data/IORef/Lifted.hs
+formatted       0232c1b3e9de  lifted-base-0.2.3.12/Foreign/Marshal/Utils/Lifted.hs
+formatted       e865ae48f11b  lifted-base-0.2.3.12/Setup.hs
+formatted       b8ef189d3113  lifted-base-0.2.3.12/System/Timeout/Lifted.hs
+formatted       25246f36915f  lifted-base-0.2.3.12/bench/bench.hs
+formatted       6efe56d6f741  lifted-base-0.2.3.12/test/test.hs
+formatted       2c7b1f6925b4  megaparsec-9.8.1/Text/Megaparsec.hs
+formatted       bc2f078bbcca  megaparsec-9.8.1/Text/Megaparsec/Byte.hs
+formatted       21d2c9ddfec2  megaparsec-9.8.1/Text/Megaparsec/Byte/Binary.hs
+formatted       096476fbf4c9  megaparsec-9.8.1/Text/Megaparsec/Byte/Lexer.hs
+formatted       e83bdc5c7713  megaparsec-9.8.1/Text/Megaparsec/Char.hs
+formatted       c69ade7e6194  megaparsec-9.8.1/Text/Megaparsec/Char/Lexer.hs
+formatted       af45dea53b97  megaparsec-9.8.1/Text/Megaparsec/Class.hs
+formatted       74d8ee906f47  megaparsec-9.8.1/Text/Megaparsec/Common.hs
+formatted       a4689550ecd9  megaparsec-9.8.1/Text/Megaparsec/Debug.hs
+formatted       6848ed435756  megaparsec-9.8.1/Text/Megaparsec/Error.hs
+formatted       6dc9b6ce5897  megaparsec-9.8.1/Text/Megaparsec/Error.hs-boot
+formatted       9dfce2518034  megaparsec-9.8.1/Text/Megaparsec/Error/Builder.hs
+formatted       065b05f2e37d  megaparsec-9.8.1/Text/Megaparsec/Internal.hs
+formatted       2d845f6be8a2  megaparsec-9.8.1/Text/Megaparsec/Internal.hs-boot
+formatted       5cee7c47f281  megaparsec-9.8.1/Text/Megaparsec/Lexer.hs
+formatted       0db88dbc985e  megaparsec-9.8.1/Text/Megaparsec/Pos.hs
+formatted       ac934ce3f16d  megaparsec-9.8.1/Text/Megaparsec/State.hs
+formatted       a0642a4f7c5e  megaparsec-9.8.1/Text/Megaparsec/Stream.hs
+formatted       ea71506f5a60  megaparsec-9.8.1/Text/Megaparsec/Unicode.hs
+formatted       8f1b58eefb57  megaparsec-9.8.1/bench/memory/Main.hs
+formatted       acfb28e21d42  megaparsec-9.8.1/bench/speed/Main.hs
+formatted       e865ae48f11b  microlens-0.5.0.0/Setup.hs
+partly-checked  6288308e55bc  microlens-0.5.0.0/src/Lens/Micro.hs
+formatted       75fa73cc1750  microlens-0.5.0.0/src/Lens/Micro/Extras.hs
+formatted       42c7927b2715  microlens-0.5.0.0/src/Lens/Micro/FieldN.hs
+partly-checked  22e49b8a387b  microlens-0.5.0.0/src/Lens/Micro/Internal.hs
+formatted       a4d8570e4edc  microlens-0.5.0.0/src/Lens/Micro/Type.hs
+formatted       79ea405791b4  mtl-2.3.2/Control/Monad/Accum.hs
+formatted       255fec603773  mtl-2.3.2/Control/Monad/Cont.hs
+formatted       667c751489ed  mtl-2.3.2/Control/Monad/Cont/Class.hs
+formatted       db9562f1d695  mtl-2.3.2/Control/Monad/Error/Class.hs
+formatted       a8684460e25c  mtl-2.3.2/Control/Monad/Except.hs
+formatted       fae093b03648  mtl-2.3.2/Control/Monad/Identity.hs
+formatted       6b278d7c851c  mtl-2.3.2/Control/Monad/RWS.hs
+formatted       16d3a58405b9  mtl-2.3.2/Control/Monad/RWS/CPS.hs
+formatted       9fae83a39d51  mtl-2.3.2/Control/Monad/RWS/Class.hs
+formatted       f7ef86c7989c  mtl-2.3.2/Control/Monad/RWS/Lazy.hs
+formatted       781b6bee6608  mtl-2.3.2/Control/Monad/RWS/Strict.hs
+formatted       785bfd153322  mtl-2.3.2/Control/Monad/Reader.hs
+formatted       888588a4c514  mtl-2.3.2/Control/Monad/Reader/Class.hs
+formatted       51a2e2bee171  mtl-2.3.2/Control/Monad/Select.hs
+formatted       80e3bc207908  mtl-2.3.2/Control/Monad/State.hs
+formatted       f386d5e69f60  mtl-2.3.2/Control/Monad/State/Class.hs
+formatted       8f9c00090526  mtl-2.3.2/Control/Monad/State/Lazy.hs
+formatted       6d6dee038e51  mtl-2.3.2/Control/Monad/State/Strict.hs
+formatted       7ccb59784556  mtl-2.3.2/Control/Monad/Trans.hs
+formatted       b8ee31242276  mtl-2.3.2/Control/Monad/Writer.hs
+formatted       3e4eb6f2ccc6  mtl-2.3.2/Control/Monad/Writer/CPS.hs
+formatted       3735166bcc65  mtl-2.3.2/Control/Monad/Writer/Class.hs
+formatted       a24f17ba8e2c  mtl-2.3.2/Control/Monad/Writer/Lazy.hs
+formatted       02750b57213a  mtl-2.3.2/Control/Monad/Writer/Strict.hs
+formatted       e865ae48f11b  mtl-2.3.2/Setup.hs
+formatted       8192db879b7a  optics-0.4.2.1/benchmarks/folds.hs
+formatted       c179cd12b60d  optics-0.4.2.1/benchmarks/traversals.hs
+formatted       d247521778c1  optics-0.4.2.1/src/Optics.hs
+formatted       94a1b299c0ca  optics-0.4.2.1/tests/Optics/Tests.hs
+formatted       d2147355e124  optics-0.4.2.1/tests/Optics/Tests/Computation.hs
+formatted       0eca73e17bee  optics-0.4.2.1/tests/Optics/Tests/Core.hs
+formatted       8cdf84d8f3c0  optics-0.4.2.1/tests/Optics/Tests/Eta.hs
+formatted       d8650490b20a  optics-0.4.2.1/tests/Optics/Tests/Labels/Generic.hs
+formatted       6e50f486ef92  optics-0.4.2.1/tests/Optics/Tests/Labels/TH.hs
+formatted       0ec7c0c31f78  optics-0.4.2.1/tests/Optics/Tests/Misc.hs
+formatted       52a06478e5fb  optics-0.4.2.1/tests/Optics/Tests/Properties.hs
+partly-checked  5d457e97c466  optics-0.4.2.1/tests/Optics/Tests/Utils.hs
+formatted       e865ae48f11b  optparse-applicative-0.19.0.0/Setup.hs
+formatted       2085941f46e0  optparse-applicative-0.19.0.0/src/Options/Applicative.hs
+formatted       4362c5ee3443  optparse-applicative-0.19.0.0/src/Options/Applicative/Arrows.hs
+formatted       50c65ae95b4f  optparse-applicative-0.19.0.0/src/Options/Applicative/BashCompletion.hs
+formatted       b02bae516706  optparse-applicative-0.19.0.0/src/Options/Applicative/Builder.hs
+formatted       f46c80ffe909  optparse-applicative-0.19.0.0/src/Options/Applicative/Builder/Completer.hs
+formatted       d15fb6d1ee07  optparse-applicative-0.19.0.0/src/Options/Applicative/Builder/Internal.hs
+formatted       4bd988b9ec4f  optparse-applicative-0.19.0.0/src/Options/Applicative/Common.hs
+formatted       72ec675669aa  optparse-applicative-0.19.0.0/src/Options/Applicative/Extra.hs
+formatted       657b574ab8fd  optparse-applicative-0.19.0.0/src/Options/Applicative/Help.hs
+formatted       a5a63b79cfe9  optparse-applicative-0.19.0.0/src/Options/Applicative/Help/Chunk.hs
+formatted       38d624490a40  optparse-applicative-0.19.0.0/src/Options/Applicative/Help/Core.hs
+formatted       49dee8082576  optparse-applicative-0.19.0.0/src/Options/Applicative/Help/Levenshtein.hs
+formatted       4177e4f23954  optparse-applicative-0.19.0.0/src/Options/Applicative/Help/Pretty.hs
+formatted       2a4b061e0904  optparse-applicative-0.19.0.0/src/Options/Applicative/Help/Types.hs
+formatted       1d43befdda6a  optparse-applicative-0.19.0.0/src/Options/Applicative/Internal.hs
+formatted       5af14e89477b  optparse-applicative-0.19.0.0/src/Options/Applicative/NonEmpty.hs
+formatted       549270293efc  optparse-applicative-0.19.0.0/src/Options/Applicative/Types.hs
+formatted       88e47dac52ad  optparse-applicative-0.19.0.0/tests/Examples/Alternatives.hs
+formatted       ec62bf11f6a1  optparse-applicative-0.19.0.0/tests/Examples/Cabal.hs
+formatted       2e509394a82d  optparse-applicative-0.19.0.0/tests/Examples/Commands.hs
+formatted       78a5fb76edc4  optparse-applicative-0.19.0.0/tests/Examples/Formatting.hs
+formatted       883c8dbce289  optparse-applicative-0.19.0.0/tests/Examples/Hello.hs
+formatted       7db07852171b  optparse-applicative-0.19.0.0/tests/Examples/LongSub.hs
+formatted       bb4882d31c14  optparse-applicative-0.19.0.0/tests/Examples/ParserGroup/AllGrouped.hs
+formatted       6db6edc4c88e  optparse-applicative-0.19.0.0/tests/Examples/ParserGroup/Basic.hs
+formatted       e2fc5a802064  optparse-applicative-0.19.0.0/tests/Examples/ParserGroup/CommandGroups.hs
+formatted       424119a7384e  optparse-applicative-0.19.0.0/tests/Examples/ParserGroup/DuplicateCommandGroups.hs
+formatted       a8947de60757  optparse-applicative-0.19.0.0/tests/Examples/ParserGroup/Duplicates.hs
+formatted       606b228476f8  optparse-applicative-0.19.0.0/tests/Examples/ParserGroup/Nested.hs
+formatted       441984ca5bfc  optparse-applicative-0.19.0.0/tests/test.hs
+formatted       1d2b6b23aad5  pandoc-3.10.2/benchmark/benchmark-pandoc.hs
+formatted       4994d9be000e  pandoc-3.10.2/src/Text/Pandoc.hs
+formatted       73494fb0c145  pandoc-3.10.2/src/Text/Pandoc/App.hs
+formatted       2563d7a62c8e  pandoc-3.10.2/src/Text/Pandoc/App/CommandLineOptions.hs
+formatted       f8c29871a2fa  pandoc-3.10.2/src/Text/Pandoc/App/Input.hs
+formatted       21d4d52f6873  pandoc-3.10.2/src/Text/Pandoc/App/Opt.hs
+formatted       11ee6f9b8d64  pandoc-3.10.2/src/Text/Pandoc/App/OutputSettings.hs
+formatted       30536e2da049  pandoc-3.10.2/src/Text/Pandoc/Asciify.hs
+formatted       3dc86cedc5bb  pandoc-3.10.2/src/Text/Pandoc/CSS.hs
+formatted       2abab0dd6823  pandoc-3.10.2/src/Text/Pandoc/CSV.hs
+formatted       425285a86e63  pandoc-3.10.2/src/Text/Pandoc/Char.hs
+formatted       72b7d5209887  pandoc-3.10.2/src/Text/Pandoc/Chunks.hs
+formatted       1fec17f46adc  pandoc-3.10.2/src/Text/Pandoc/Citeproc.hs
+formatted       a14c9509b74b  pandoc-3.10.2/src/Text/Pandoc/Citeproc/BibTeX.hs
+formatted       f4a7c604316e  pandoc-3.10.2/src/Text/Pandoc/Citeproc/CslJson.hs
+formatted       68d6849270ee  pandoc-3.10.2/src/Text/Pandoc/Citeproc/Data.hs
+formatted       4544529a7353  pandoc-3.10.2/src/Text/Pandoc/Citeproc/Locator.hs
+formatted       72649d91a765  pandoc-3.10.2/src/Text/Pandoc/Citeproc/MetaValue.hs
+formatted       5ac872d94c42  pandoc-3.10.2/src/Text/Pandoc/Citeproc/Name.hs
+formatted       76559347a97c  pandoc-3.10.2/src/Text/Pandoc/Citeproc/Util.hs
+formatted       1b13d0dc5e1b  pandoc-3.10.2/src/Text/Pandoc/Class.hs
+formatted       ea41695301c5  pandoc-3.10.2/src/Text/Pandoc/Class/CommonState.hs
+formatted       f61221c281ce  pandoc-3.10.2/src/Text/Pandoc/Class/IO.hs
+formatted       f051a26c3727  pandoc-3.10.2/src/Text/Pandoc/Class/PandocIO.hs
+formatted       45d2670db745  pandoc-3.10.2/src/Text/Pandoc/Class/PandocMonad.hs
+formatted       d17d645e048e  pandoc-3.10.2/src/Text/Pandoc/Class/PandocPure.hs
+formatted       155842d14f2c  pandoc-3.10.2/src/Text/Pandoc/Class/Sandbox.hs
+formatted       fa32d7768849  pandoc-3.10.2/src/Text/Pandoc/Data.hs
+formatted       099f3439d138  pandoc-3.10.2/src/Text/Pandoc/Data/BakedIn.hs
+formatted       58434b0c4602  pandoc-3.10.2/src/Text/Pandoc/Emoji.hs
+formatted       1cb892755f32  pandoc-3.10.2/src/Text/Pandoc/Error.hs
+formatted       72ff19ca80f5  pandoc-3.10.2/src/Text/Pandoc/Extensions.hs
+formatted       e40a94e5d2de  pandoc-3.10.2/src/Text/Pandoc/Filter.hs
+formatted       974e66d6affc  pandoc-3.10.2/src/Text/Pandoc/Filter/Environment.hs
+formatted       d188a2162404  pandoc-3.10.2/src/Text/Pandoc/Filter/JSON.hs
+formatted       40889de5a6ff  pandoc-3.10.2/src/Text/Pandoc/Format.hs
+formatted       22a68717a65b  pandoc-3.10.2/src/Text/Pandoc/Highlighting.hs
+formatted       e952dbbb1f88  pandoc-3.10.2/src/Text/Pandoc/Image.hs
+formatted       ab43542e3d3c  pandoc-3.10.2/src/Text/Pandoc/ImageSize.hs
+formatted       5bd06a1fff7f  pandoc-3.10.2/src/Text/Pandoc/Logging.hs
+formatted       5dc6158f964b  pandoc-3.10.2/src/Text/Pandoc/MIME.hs
+formatted       0b281d1a7d2f  pandoc-3.10.2/src/Text/Pandoc/MediaBag.hs
+formatted       6c93fc4b2de1  pandoc-3.10.2/src/Text/Pandoc/Options.hs
+formatted       6c79f614e303  pandoc-3.10.2/src/Text/Pandoc/PDF.hs
+formatted       ab14d9de61a3  pandoc-3.10.2/src/Text/Pandoc/Parsing.hs
+formatted       fa58df819b5b  pandoc-3.10.2/src/Text/Pandoc/Parsing/Capabilities.hs
+formatted       6d7a28fa21df  pandoc-3.10.2/src/Text/Pandoc/Parsing/Citations.hs
+formatted       e0ce3240d10e  pandoc-3.10.2/src/Text/Pandoc/Parsing/Future.hs
+formatted       1b6877baec16  pandoc-3.10.2/src/Text/Pandoc/Parsing/General.hs
+formatted       a7cfe642859a  pandoc-3.10.2/src/Text/Pandoc/Parsing/GridTable.hs
+formatted       41bbb769aff8  pandoc-3.10.2/src/Text/Pandoc/Parsing/Lists.hs
+formatted       f194f4a8304c  pandoc-3.10.2/src/Text/Pandoc/Parsing/Math.hs
+formatted       6081deff32c9  pandoc-3.10.2/src/Text/Pandoc/Parsing/Smart.hs
+formatted       1fbd1d1c745c  pandoc-3.10.2/src/Text/Pandoc/Parsing/State.hs
+formatted       a83effd57b53  pandoc-3.10.2/src/Text/Pandoc/Process.hs
+formatted       4f7c21dfa5c3  pandoc-3.10.2/src/Text/Pandoc/Readers.hs
+formatted       27ef9f69b311  pandoc-3.10.2/src/Text/Pandoc/Readers/AsciiDoc.hs
+formatted       575c97e39e31  pandoc-3.10.2/src/Text/Pandoc/Readers/BibTeX.hs
+formatted       d131619d1b46  pandoc-3.10.2/src/Text/Pandoc/Readers/CSV.hs
+formatted       1072a94465bf  pandoc-3.10.2/src/Text/Pandoc/Readers/CommonMark.hs
+formatted       94ff2619119d  pandoc-3.10.2/src/Text/Pandoc/Readers/Creole.hs
+formatted       53cf2e70e476  pandoc-3.10.2/src/Text/Pandoc/Readers/CslJson.hs
+formatted       1e31d0c593b0  pandoc-3.10.2/src/Text/Pandoc/Readers/Djot.hs
+formatted       57aee4faebf9  pandoc-3.10.2/src/Text/Pandoc/Readers/DocBook.hs
+formatted       6f84e45557eb  pandoc-3.10.2/src/Text/Pandoc/Readers/Docx.hs
+formatted       b7335e420f67  pandoc-3.10.2/src/Text/Pandoc/Readers/Docx/Combine.hs
+formatted       f0de4c9e9a95  pandoc-3.10.2/src/Text/Pandoc/Readers/Docx/Fields.hs
+formatted       59c29ca1c1b5  pandoc-3.10.2/src/Text/Pandoc/Readers/Docx/Lists.hs
+formatted       3013d3bae97e  pandoc-3.10.2/src/Text/Pandoc/Readers/Docx/Parse.hs
+formatted       6915f687b7c3  pandoc-3.10.2/src/Text/Pandoc/Readers/Docx/Parse/Styles.hs
+formatted       59a529967b45  pandoc-3.10.2/src/Text/Pandoc/Readers/Docx/Symbols.hs
+formatted       754a30c626ca  pandoc-3.10.2/src/Text/Pandoc/Readers/Docx/Util.hs
+formatted       dca74121a5f0  pandoc-3.10.2/src/Text/Pandoc/Readers/DokuWiki.hs
+formatted       3dd599e73bb1  pandoc-3.10.2/src/Text/Pandoc/Readers/EPUB.hs
+formatted       6c738846e7c8  pandoc-3.10.2/src/Text/Pandoc/Readers/EndNote.hs
+formatted       79da7a04dca1  pandoc-3.10.2/src/Text/Pandoc/Readers/FB2.hs
+formatted       9591beb6e6aa  pandoc-3.10.2/src/Text/Pandoc/Readers/HTML.hs
+formatted       a2c40f5764b0  pandoc-3.10.2/src/Text/Pandoc/Readers/HTML/Parsing.hs
+formatted       2b3195c86782  pandoc-3.10.2/src/Text/Pandoc/Readers/HTML/Table.hs
+formatted       d02eee6a5e0a  pandoc-3.10.2/src/Text/Pandoc/Readers/HTML/TagCategories.hs
+formatted       46339685a35b  pandoc-3.10.2/src/Text/Pandoc/Readers/HTML/Types.hs
+formatted       965fc9210dce  pandoc-3.10.2/src/Text/Pandoc/Readers/Haddock.hs
+formatted       1987634d19cd  pandoc-3.10.2/src/Text/Pandoc/Readers/Ipynb.hs
+formatted       500c23a61541  pandoc-3.10.2/src/Text/Pandoc/Readers/JATS.hs
+formatted       6e068c7857b6  pandoc-3.10.2/src/Text/Pandoc/Readers/Jira.hs
+formatted       62adae28004c  pandoc-3.10.2/src/Text/Pandoc/Readers/LaTeX.hs
+formatted       1574b99e216e  pandoc-3.10.2/src/Text/Pandoc/Readers/LaTeX/Citation.hs
+formatted       054ea4d4db37  pandoc-3.10.2/src/Text/Pandoc/Readers/LaTeX/Inline.hs
+formatted       0d6b63cb1434  pandoc-3.10.2/src/Text/Pandoc/Readers/LaTeX/Lang.hs
+formatted       eeb78b3a05bd  pandoc-3.10.2/src/Text/Pandoc/Readers/LaTeX/Macro.hs
+formatted       fb0653235455  pandoc-3.10.2/src/Text/Pandoc/Readers/LaTeX/Math.hs
+formatted       6d3cf757a77c  pandoc-3.10.2/src/Text/Pandoc/Readers/LaTeX/Parsing.hs
+formatted       a8628fad4340  pandoc-3.10.2/src/Text/Pandoc/Readers/LaTeX/SIunitx.hs
+formatted       de7324878c8a  pandoc-3.10.2/src/Text/Pandoc/Readers/LaTeX/Table.hs
+formatted       3b06d3008a31  pandoc-3.10.2/src/Text/Pandoc/Readers/Man.hs
+formatted       3c2550f7dc2f  pandoc-3.10.2/src/Text/Pandoc/Readers/Markdown.hs
+formatted       c4366f0401d5  pandoc-3.10.2/src/Text/Pandoc/Readers/Mdoc.hs
+formatted       2427270f552f  pandoc-3.10.2/src/Text/Pandoc/Readers/Mdoc/Lex.hs
+formatted       728f79b431ec  pandoc-3.10.2/src/Text/Pandoc/Readers/Mdoc/Macros.hs
+formatted       1a3b54c227b9  pandoc-3.10.2/src/Text/Pandoc/Readers/Mdoc/Standards.hs
+formatted       4126277efc65  pandoc-3.10.2/src/Text/Pandoc/Readers/MediaWiki.hs
+formatted       8c596dd45eeb  pandoc-3.10.2/src/Text/Pandoc/Readers/Metadata.hs
+formatted       7c6a47827a46  pandoc-3.10.2/src/Text/Pandoc/Readers/Muse.hs
+formatted       89c9a79747b3  pandoc-3.10.2/src/Text/Pandoc/Readers/Native.hs
+formatted       4086a5a9923c  pandoc-3.10.2/src/Text/Pandoc/Readers/ODT.hs
+formatted       03149d58a561  pandoc-3.10.2/src/Text/Pandoc/Readers/ODT/Arrows/State.hs
+formatted       67ad23a00940  pandoc-3.10.2/src/Text/Pandoc/Readers/ODT/Arrows/Utils.hs
+formatted       bf610e3c1650  pandoc-3.10.2/src/Text/Pandoc/Readers/ODT/Base.hs
+formatted       031599e16a36  pandoc-3.10.2/src/Text/Pandoc/Readers/ODT/ContentReader.hs
+formatted       ba3263449374  pandoc-3.10.2/src/Text/Pandoc/Readers/ODT/Generic/Fallible.hs
+formatted       3cb13f8a11b2  pandoc-3.10.2/src/Text/Pandoc/Readers/ODT/Generic/Namespaces.hs
+formatted       09ac925b181d  pandoc-3.10.2/src/Text/Pandoc/Readers/ODT/Generic/SetMap.hs
+formatted       03296c1a5cf6  pandoc-3.10.2/src/Text/Pandoc/Readers/ODT/Generic/Utils.hs
+formatted       dff692124036  pandoc-3.10.2/src/Text/Pandoc/Readers/ODT/Generic/XMLConverter.hs
+formatted       5d074b45ccd0  pandoc-3.10.2/src/Text/Pandoc/Readers/ODT/Namespaces.hs
+formatted       dc008bab0554  pandoc-3.10.2/src/Text/Pandoc/Readers/ODT/StyleReader.hs
+formatted       d6727d3e38e6  pandoc-3.10.2/src/Text/Pandoc/Readers/OOXML/Shared.hs
+formatted       366d13509d0d  pandoc-3.10.2/src/Text/Pandoc/Readers/OPML.hs
+formatted       0a2153963777  pandoc-3.10.2/src/Text/Pandoc/Readers/Org.hs
+formatted       b372fc9e8984  pandoc-3.10.2/src/Text/Pandoc/Readers/Org/BlockStarts.hs
+formatted       c97469df9659  pandoc-3.10.2/src/Text/Pandoc/Readers/Org/Blocks.hs
+formatted       b9ce77eb98ae  pandoc-3.10.2/src/Text/Pandoc/Readers/Org/DocumentTree.hs
+formatted       9539ca90b7f8  pandoc-3.10.2/src/Text/Pandoc/Readers/Org/ExportSettings.hs
+formatted       811cc3b893fe  pandoc-3.10.2/src/Text/Pandoc/Readers/Org/Inlines.hs
+formatted       305d675f4347  pandoc-3.10.2/src/Text/Pandoc/Readers/Org/Meta.hs
+formatted       af423bc6dc5a  pandoc-3.10.2/src/Text/Pandoc/Readers/Org/ParserState.hs
+formatted       56b2ecc0d82f  pandoc-3.10.2/src/Text/Pandoc/Readers/Org/Parsing.hs
+formatted       3dfb947bf1ba  pandoc-3.10.2/src/Text/Pandoc/Readers/Org/Shared.hs
+formatted       252461315358  pandoc-3.10.2/src/Text/Pandoc/Readers/Pod.hs
+formatted       20868ec0d0e4  pandoc-3.10.2/src/Text/Pandoc/Readers/Pptx.hs
+formatted       d044a50d7800  pandoc-3.10.2/src/Text/Pandoc/Readers/Pptx/Parse.hs
+formatted       3d14e8d6fcb8  pandoc-3.10.2/src/Text/Pandoc/Readers/Pptx/Shapes.hs
+formatted       07da7603100f  pandoc-3.10.2/src/Text/Pandoc/Readers/Pptx/Slides.hs
+formatted       b9930a53508f  pandoc-3.10.2/src/Text/Pandoc/Readers/Pptx/SmartArt.hs
+formatted       c21c4d6ad208  pandoc-3.10.2/src/Text/Pandoc/Readers/RIS.hs
+formatted       19870cf6c8a6  pandoc-3.10.2/src/Text/Pandoc/Readers/RST.hs
+formatted       2cfccd5e8f81  pandoc-3.10.2/src/Text/Pandoc/Readers/RTF.hs
+formatted       59afb3426934  pandoc-3.10.2/src/Text/Pandoc/Readers/Roff.hs
+formatted       0bb1c26177ea  pandoc-3.10.2/src/Text/Pandoc/Readers/Roff/Escape.hs
+formatted       bd558e647ae7  pandoc-3.10.2/src/Text/Pandoc/Readers/TWiki.hs
+formatted       aafe3c893ca2  pandoc-3.10.2/src/Text/Pandoc/Readers/Textile.hs
+formatted       27b432227f69  pandoc-3.10.2/src/Text/Pandoc/Readers/TikiWiki.hs
+formatted       1e5d773c9635  pandoc-3.10.2/src/Text/Pandoc/Readers/Txt2Tags.hs
+formatted       d9255edae325  pandoc-3.10.2/src/Text/Pandoc/Readers/Typst.hs
+formatted       4f93ff89c54f  pandoc-3.10.2/src/Text/Pandoc/Readers/Typst/Math.hs
+formatted       fb53e71c5ee0  pandoc-3.10.2/src/Text/Pandoc/Readers/Typst/Parsing.hs
+formatted       6102404b14d2  pandoc-3.10.2/src/Text/Pandoc/Readers/Vimwiki.hs
+formatted       57e0ee4018dc  pandoc-3.10.2/src/Text/Pandoc/Readers/XML.hs
+formatted       d965564304e1  pandoc-3.10.2/src/Text/Pandoc/Readers/Xlsx.hs
+formatted       a932d1554b0d  pandoc-3.10.2/src/Text/Pandoc/Readers/Xlsx/Cells.hs
+formatted       9e3c59bd961a  pandoc-3.10.2/src/Text/Pandoc/Readers/Xlsx/Parse.hs
+formatted       d1b08dbf2c6b  pandoc-3.10.2/src/Text/Pandoc/Readers/Xlsx/Sheets.hs
+formatted       a3abe5c4303a  pandoc-3.10.2/src/Text/Pandoc/RoffChar.hs
+formatted       59be673bffc5  pandoc-3.10.2/src/Text/Pandoc/Scripting.hs
+formatted       430bd1bb919a  pandoc-3.10.2/src/Text/Pandoc/SelfContained.hs
+formatted       d66e40b641dd  pandoc-3.10.2/src/Text/Pandoc/Shared.hs
+formatted       d4b69c2106f2  pandoc-3.10.2/src/Text/Pandoc/Slides.hs
+formatted       b698008abfe0  pandoc-3.10.2/src/Text/Pandoc/Sources.hs
+formatted       ff5806419b5d  pandoc-3.10.2/src/Text/Pandoc/TeX.hs
+formatted       f0918df52e21  pandoc-3.10.2/src/Text/Pandoc/Templates.hs
+formatted       d58bb480ccee  pandoc-3.10.2/src/Text/Pandoc/Transforms.hs
+formatted       97a0b7c9cd52  pandoc-3.10.2/src/Text/Pandoc/Translations.hs
+formatted       62bf2287c0b7  pandoc-3.10.2/src/Text/Pandoc/Translations/Types.hs
+formatted       e706b18d7610  pandoc-3.10.2/src/Text/Pandoc/URI.hs
+formatted       4aa82cbc83c8  pandoc-3.10.2/src/Text/Pandoc/UTF8.hs
+formatted       1bc9aa6c44da  pandoc-3.10.2/src/Text/Pandoc/UUID.hs
+formatted       69a71e866ad0  pandoc-3.10.2/src/Text/Pandoc/Version.hs
+formatted       98e6c809b7f5  pandoc-3.10.2/src/Text/Pandoc/Writers.hs
+formatted       6eb1e99837cb  pandoc-3.10.2/src/Text/Pandoc/Writers/ANSI.hs
+formatted       9f82eb63eafb  pandoc-3.10.2/src/Text/Pandoc/Writers/AnnotatedTable.hs
+formatted       24ebb45305dd  pandoc-3.10.2/src/Text/Pandoc/Writers/AsciiDoc.hs
+formatted       7b486d445fcf  pandoc-3.10.2/src/Text/Pandoc/Writers/BBCode.hs
+formatted       af8e089fa8f0  pandoc-3.10.2/src/Text/Pandoc/Writers/BibTeX.hs
+formatted       2c35b344d68b  pandoc-3.10.2/src/Text/Pandoc/Writers/Blaze.hs
+formatted       b9b4208a7ae6  pandoc-3.10.2/src/Text/Pandoc/Writers/ChunkedHTML.hs
+formatted       936b3d7e333a  pandoc-3.10.2/src/Text/Pandoc/Writers/CommonMark.hs
+formatted       b6847b220c15  pandoc-3.10.2/src/Text/Pandoc/Writers/ConTeXt.hs
+formatted       9e64ca3d36f5  pandoc-3.10.2/src/Text/Pandoc/Writers/CslJson.hs
+formatted       b8dba8541361  pandoc-3.10.2/src/Text/Pandoc/Writers/Djot.hs
+formatted       edc9b3bf1279  pandoc-3.10.2/src/Text/Pandoc/Writers/DocBook.hs
+formatted       595704fd8419  pandoc-3.10.2/src/Text/Pandoc/Writers/Docx.hs
+formatted       cf69cf8e96b1  pandoc-3.10.2/src/Text/Pandoc/Writers/Docx/OpenXML.hs
+formatted       05b164f88151  pandoc-3.10.2/src/Text/Pandoc/Writers/Docx/StyleMap.hs
+formatted       254bced121a8  pandoc-3.10.2/src/Text/Pandoc/Writers/Docx/Table.hs
+formatted       0ee672226ac7  pandoc-3.10.2/src/Text/Pandoc/Writers/Docx/Types.hs
+formatted       ee248cf51a14  pandoc-3.10.2/src/Text/Pandoc/Writers/DokuWiki.hs
+formatted       13fb44e175e6  pandoc-3.10.2/src/Text/Pandoc/Writers/EPUB.hs
+formatted       939822399946  pandoc-3.10.2/src/Text/Pandoc/Writers/FB2.hs
+formatted       c4b4f9d5a6e4  pandoc-3.10.2/src/Text/Pandoc/Writers/GridTable.hs
+formatted       cb31a73e81cf  pandoc-3.10.2/src/Text/Pandoc/Writers/HTML.hs
+formatted       7641496210c0  pandoc-3.10.2/src/Text/Pandoc/Writers/Haddock.hs
+formatted       2ce155531bdf  pandoc-3.10.2/src/Text/Pandoc/Writers/ICML.hs
+formatted       699724b9a1fa  pandoc-3.10.2/src/Text/Pandoc/Writers/Ipynb.hs
+formatted       ceaff5fb2373  pandoc-3.10.2/src/Text/Pandoc/Writers/JATS.hs
+formatted       73ac518b9234  pandoc-3.10.2/src/Text/Pandoc/Writers/JATS/References.hs
+formatted       c56d1ad13879  pandoc-3.10.2/src/Text/Pandoc/Writers/JATS/Table.hs
+formatted       59de7775dfd8  pandoc-3.10.2/src/Text/Pandoc/Writers/JATS/Types.hs
+formatted       70862c3b92c1  pandoc-3.10.2/src/Text/Pandoc/Writers/Jira.hs
+formatted       4b44abfe3fa8  pandoc-3.10.2/src/Text/Pandoc/Writers/LaTeX.hs
+formatted       f6f98f9a4d16  pandoc-3.10.2/src/Text/Pandoc/Writers/LaTeX/Caption.hs
+formatted       05d972484a96  pandoc-3.10.2/src/Text/Pandoc/Writers/LaTeX/Citation.hs
+formatted       e89e979a29e1  pandoc-3.10.2/src/Text/Pandoc/Writers/LaTeX/Lang.hs
+formatted       8c164dd5cc9c  pandoc-3.10.2/src/Text/Pandoc/Writers/LaTeX/Notes.hs
+formatted       292bc843d54c  pandoc-3.10.2/src/Text/Pandoc/Writers/LaTeX/Table.hs
+formatted       96fa35e040a3  pandoc-3.10.2/src/Text/Pandoc/Writers/LaTeX/Types.hs
+formatted       233f0e56314a  pandoc-3.10.2/src/Text/Pandoc/Writers/LaTeX/Util.hs
+formatted       a801346968ca  pandoc-3.10.2/src/Text/Pandoc/Writers/Man.hs
+formatted       9972a8b4e3d3  pandoc-3.10.2/src/Text/Pandoc/Writers/Markdown.hs
+formatted       d04a41af8454  pandoc-3.10.2/src/Text/Pandoc/Writers/Markdown/Inline.hs
+formatted       d2d1f80a9ca6  pandoc-3.10.2/src/Text/Pandoc/Writers/Markdown/Table.hs
+formatted       12c093fd1e0a  pandoc-3.10.2/src/Text/Pandoc/Writers/Markdown/Types.hs
+formatted       aec5b0f5293f  pandoc-3.10.2/src/Text/Pandoc/Writers/Math.hs
+formatted       730dd7eead10  pandoc-3.10.2/src/Text/Pandoc/Writers/MediaWiki.hs
+formatted       08a16269016d  pandoc-3.10.2/src/Text/Pandoc/Writers/Ms.hs
+formatted       827778c0f628  pandoc-3.10.2/src/Text/Pandoc/Writers/Muse.hs
+formatted       b39b25f4e8c1  pandoc-3.10.2/src/Text/Pandoc/Writers/Native.hs
+formatted       94cc262b663e  pandoc-3.10.2/src/Text/Pandoc/Writers/ODT.hs
+formatted       31cfb11439af  pandoc-3.10.2/src/Text/Pandoc/Writers/OOXML.hs
+formatted       f1fb2c221789  pandoc-3.10.2/src/Text/Pandoc/Writers/OPML.hs
+formatted       fe40ce38c8b8  pandoc-3.10.2/src/Text/Pandoc/Writers/OpenDocument.hs
+formatted       0b7105c44505  pandoc-3.10.2/src/Text/Pandoc/Writers/Org.hs
+formatted       b8a09a65662a  pandoc-3.10.2/src/Text/Pandoc/Writers/Powerpoint.hs
+formatted       9fcd34707399  pandoc-3.10.2/src/Text/Pandoc/Writers/Powerpoint/Output.hs
+formatted       e26f85f372e1  pandoc-3.10.2/src/Text/Pandoc/Writers/Powerpoint/Presentation.hs
+formatted       8182633adc1b  pandoc-3.10.2/src/Text/Pandoc/Writers/RST.hs
+formatted       ea4264045a19  pandoc-3.10.2/src/Text/Pandoc/Writers/RTF.hs
+formatted       f56ff053ff6c  pandoc-3.10.2/src/Text/Pandoc/Writers/Roff.hs
+formatted       528483ff82e6  pandoc-3.10.2/src/Text/Pandoc/Writers/Shared.hs
+formatted       410f3547b584  pandoc-3.10.2/src/Text/Pandoc/Writers/TEI.hs
+formatted       2a4fa2d1144e  pandoc-3.10.2/src/Text/Pandoc/Writers/Texinfo.hs
+formatted       a4163ad4d5d0  pandoc-3.10.2/src/Text/Pandoc/Writers/Textile.hs
+formatted       e801bf620ccd  pandoc-3.10.2/src/Text/Pandoc/Writers/Txt2Tags.hs
+formatted       9b945d1d5c24  pandoc-3.10.2/src/Text/Pandoc/Writers/Typst.hs
+formatted       c24f66a5c895  pandoc-3.10.2/src/Text/Pandoc/Writers/Vimdoc.hs
+formatted       a055f298b34a  pandoc-3.10.2/src/Text/Pandoc/Writers/XML.hs
+formatted       5c9382ded421  pandoc-3.10.2/src/Text/Pandoc/Writers/XWiki.hs
+formatted       7bef714570ea  pandoc-3.10.2/src/Text/Pandoc/Writers/ZimWiki.hs
+formatted       b9434fb9de0a  pandoc-3.10.2/src/Text/Pandoc/XML.hs
+formatted       29da3381e068  pandoc-3.10.2/src/Text/Pandoc/XMLFormat.hs
+formatted       ca05e55ae174  pandoc-3.10.2/test/Tests/Command.hs
+formatted       2a2c56210465  pandoc-3.10.2/test/Tests/Helpers.hs
+formatted       4d7454ffa43f  pandoc-3.10.2/test/Tests/MediaBag.hs
+formatted       65ca92b1273a  pandoc-3.10.2/test/Tests/Old.hs
+formatted       a8f365d14796  pandoc-3.10.2/test/Tests/Readers/Creole.hs
+formatted       6aac9a860ff4  pandoc-3.10.2/test/Tests/Readers/Docx.hs
+formatted       4fed60b1bb42  pandoc-3.10.2/test/Tests/Readers/DokuWiki.hs
+formatted       e1b88e6e94c1  pandoc-3.10.2/test/Tests/Readers/EPUB.hs
+formatted       9aa0b74bdb21  pandoc-3.10.2/test/Tests/Readers/FB2.hs
+formatted       f6ce89f83d22  pandoc-3.10.2/test/Tests/Readers/HTML.hs
+formatted       c7da97cd1df1  pandoc-3.10.2/test/Tests/Readers/JATS.hs
+formatted       3f03d945d92f  pandoc-3.10.2/test/Tests/Readers/Jira.hs
+formatted       e80dda1de030  pandoc-3.10.2/test/Tests/Readers/LaTeX.hs
+formatted       d334bf59fa5b  pandoc-3.10.2/test/Tests/Readers/Man.hs
+formatted       0c2d3061c97f  pandoc-3.10.2/test/Tests/Readers/Markdown.hs
+formatted       2293605f74a2  pandoc-3.10.2/test/Tests/Readers/Mdoc.hs
+formatted       d8326294db8c  pandoc-3.10.2/test/Tests/Readers/Muse.hs
+formatted       6c7892371e8e  pandoc-3.10.2/test/Tests/Readers/ODT.hs
+formatted       f36b7514c32c  pandoc-3.10.2/test/Tests/Readers/Org.hs
+formatted       fe4b6d2184da  pandoc-3.10.2/test/Tests/Readers/Org/Block.hs
+formatted       d011d8b8497a  pandoc-3.10.2/test/Tests/Readers/Org/Block/CodeBlock.hs
+formatted       cb08f5851de1  pandoc-3.10.2/test/Tests/Readers/Org/Block/Figure.hs
+formatted       78616d03538b  pandoc-3.10.2/test/Tests/Readers/Org/Block/Header.hs
+formatted       8239114d1b32  pandoc-3.10.2/test/Tests/Readers/Org/Block/List.hs
+formatted       83fab3bd7f4b  pandoc-3.10.2/test/Tests/Readers/Org/Block/Table.hs
+formatted       bda821a7ac3d  pandoc-3.10.2/test/Tests/Readers/Org/Directive.hs
+formatted       761b8d8fe19f  pandoc-3.10.2/test/Tests/Readers/Org/Inline.hs
+formatted       a78c7d1f6b9d  pandoc-3.10.2/test/Tests/Readers/Org/Inline/Citation.hs
+formatted       5e5245fc30f9  pandoc-3.10.2/test/Tests/Readers/Org/Inline/Note.hs
+formatted       2c81112a59f4  pandoc-3.10.2/test/Tests/Readers/Org/Inline/Smart.hs
+formatted       d5be71f3c2b0  pandoc-3.10.2/test/Tests/Readers/Org/Meta.hs
+formatted       3d262deb161b  pandoc-3.10.2/test/Tests/Readers/Org/Shared.hs
+formatted       67ecc7179592  pandoc-3.10.2/test/Tests/Readers/Pod.hs
+formatted       c3d2cd1320a4  pandoc-3.10.2/test/Tests/Readers/Pptx.hs
+formatted       84605723e3dc  pandoc-3.10.2/test/Tests/Readers/RST.hs
+formatted       dfe474f51954  pandoc-3.10.2/test/Tests/Readers/RTF.hs
+formatted       ffacba6d16ad  pandoc-3.10.2/test/Tests/Readers/Txt2Tags.hs
+formatted       b983a6c40ef4  pandoc-3.10.2/test/Tests/Readers/Xlsx.hs
+formatted       3fc12ea5356a  pandoc-3.10.2/test/Tests/Shared.hs
+formatted       6eee9e3c61a2  pandoc-3.10.2/test/Tests/Writers/AnnotatedTable.hs
+formatted       61053b02ffd0  pandoc-3.10.2/test/Tests/Writers/AsciiDoc.hs
+formatted       691a3dbcfbc3  pandoc-3.10.2/test/Tests/Writers/BBCode.hs
+formatted       f105cce5b91b  pandoc-3.10.2/test/Tests/Writers/ConTeXt.hs
+formatted       1db043a21fa6  pandoc-3.10.2/test/Tests/Writers/DocBook.hs
+formatted       b2e441a7abc5  pandoc-3.10.2/test/Tests/Writers/Docx.hs
+formatted       2659288377c3  pandoc-3.10.2/test/Tests/Writers/FB2.hs
+formatted       7bc5d8386707  pandoc-3.10.2/test/Tests/Writers/HTML.hs
+formatted       00514057edfd  pandoc-3.10.2/test/Tests/Writers/JATS.hs
+formatted       c5859308e5b7  pandoc-3.10.2/test/Tests/Writers/Jira.hs
+formatted       55667948d271  pandoc-3.10.2/test/Tests/Writers/LaTeX.hs
+formatted       b7c685b3c871  pandoc-3.10.2/test/Tests/Writers/Markdown.hs
+formatted       ff5fcb17b8dc  pandoc-3.10.2/test/Tests/Writers/Markua.hs
+formatted       4f96f578490e  pandoc-3.10.2/test/Tests/Writers/Ms.hs
+formatted       8712641230dc  pandoc-3.10.2/test/Tests/Writers/Muse.hs
+formatted       f126c4c89fd6  pandoc-3.10.2/test/Tests/Writers/Native.hs
+formatted       747a95611754  pandoc-3.10.2/test/Tests/Writers/OOXML.hs
+formatted       0b8c37fe8ac3  pandoc-3.10.2/test/Tests/Writers/Org.hs
+formatted       6f2c560adfac  pandoc-3.10.2/test/Tests/Writers/Plain.hs
+formatted       1e20aa6ae817  pandoc-3.10.2/test/Tests/Writers/Powerpoint.hs
+formatted       2956d6e21d5d  pandoc-3.10.2/test/Tests/Writers/RST.hs
+formatted       7b800c1ce74a  pandoc-3.10.2/test/Tests/Writers/TEI.hs
+formatted       58cfccccc0f7  pandoc-3.10.2/test/Tests/Writers/Txt2Tags.hs
+formatted       6cc10be2dfb0  pandoc-3.10.2/test/Tests/XML.hs
+formatted       16057c777a9d  pandoc-3.10.2/test/command/3510-src.hs
+formatted       3f023b0abbe3  pandoc-3.10.2/test/command/6466-beg.hs
+formatted       06289f98fcac  pandoc-3.10.2/test/command/6466-end.hs
+formatted       546301610b9b  pandoc-3.10.2/test/command/6466-mid.hs
+formatted       b6f515e00962  pandoc-3.10.2/test/command/6466-whole.hs
+formatted       d293835cff95  pandoc-3.10.2/test/test-pandoc.hs
+formatted       eaffef2f7e57  pandoc-3.10.2/xml-light/Text/Pandoc/XML/Light.hs
+formatted       7c84915d2964  pandoc-3.10.2/xml-light/Text/Pandoc/XML/Light/Output.hs
+formatted       a37d249a2f4f  pandoc-3.10.2/xml-light/Text/Pandoc/XML/Light/Proc.hs
+formatted       b2d521b924e0  pandoc-3.10.2/xml-light/Text/Pandoc/XML/Light/Types.hs
+formatted       e865ae48f11b  pandoc-types-1.23.1.2/Setup.hs
+formatted       7f778508b042  pandoc-types-1.23.1.2/benchmark/bench.hs
+formatted       f48ce0c61df9  pandoc-types-1.23.1.2/src/Text/Pandoc/Arbitrary.hs
+formatted       cfbc58aaa480  pandoc-types-1.23.1.2/src/Text/Pandoc/Builder.hs
+formatted       c24dbed5f4f3  pandoc-types-1.23.1.2/src/Text/Pandoc/Definition.hs
+formatted       42a13347f367  pandoc-types-1.23.1.2/src/Text/Pandoc/Generic.hs
+formatted       787a4a5f777b  pandoc-types-1.23.1.2/src/Text/Pandoc/JSON.hs
+formatted       7861b188de8b  pandoc-types-1.23.1.2/src/Text/Pandoc/Walk.hs
+formatted       dcf10d45e788  pandoc-types-1.23.1.2/test/Data/String/QQ.hs
+formatted       b5d5ded05cf2  pandoc-types-1.23.1.2/test/test-pandoc-types.hs
+formatted       7474b7e1d4f5  parsec3-1.0.1.8/Setup.hs
+formatted       48d72ad7fc59  parsec3-1.0.1.8/Text/Parsec.hs
+formatted       3d4969626584  parsec3-1.0.1.8/Text/Parsec/ByteString.hs
+formatted       9615d9005a83  parsec3-1.0.1.8/Text/Parsec/ByteString/Lazy.hs
+formatted       3cf9fb1cd02b  parsec3-1.0.1.8/Text/Parsec/Char.hs
+formatted       3e1745d7f8a8  parsec3-1.0.1.8/Text/Parsec/Combinator.hs
+formatted       662f78e13a2d  parsec3-1.0.1.8/Text/Parsec/Error.hs
+formatted       5ff6db81b6db  parsec3-1.0.1.8/Text/Parsec/Expr.hs
+formatted       1234bed37df9  parsec3-1.0.1.8/Text/Parsec/Language.hs
+formatted       dafe19f5ce6d  parsec3-1.0.1.8/Text/Parsec/Perm.hs
+formatted       8e83d65da4ab  parsec3-1.0.1.8/Text/Parsec/Pos.hs
+formatted       9b8eb49599ea  parsec3-1.0.1.8/Text/Parsec/Prim.hs
+formatted       500611f8aad8  parsec3-1.0.1.8/Text/Parsec/String.hs
+formatted       f6601c8466ea  parsec3-1.0.1.8/Text/Parsec/Text.hs
+formatted       8cd0ff820f24  parsec3-1.0.1.8/Text/Parsec/Text/Lazy.hs
+formatted       d103755930f7  parsec3-1.0.1.8/Text/Parsec/Token.hs
+formatted       e8d009b7b6a9  parser-combinators-1.3.1/Control/Applicative/Combinators.hs
+formatted       752b29bde130  parser-combinators-1.3.1/Control/Applicative/Combinators/NonEmpty.hs
+formatted       397e83ad3474  parser-combinators-1.3.1/Control/Applicative/Permutations.hs
+formatted       6f2b877aed3a  parser-combinators-1.3.1/Control/Monad/Combinators.hs
+formatted       70eb0216d487  parser-combinators-1.3.1/Control/Monad/Combinators/Expr.hs
+formatted       c8361c864d02  parser-combinators-1.3.1/Control/Monad/Combinators/NonEmpty.hs
+formatted       781554341078  parser-combinators-1.3.1/Control/Monad/Permutations.hs
+formatted       5a1e63eeca4d  persistent-2.18.1.0/Database/Persist.hs
+formatted       23633d872eee  persistent-2.18.1.0/Database/Persist/Class.hs
+formatted       8affa1ac68b6  persistent-2.18.1.0/Database/Persist/Class/PersistConfig.hs
+formatted       4c8d2a95f361  persistent-2.18.1.0/Database/Persist/Class/PersistEntity.hs
+formatted       7443ef7597f0  persistent-2.18.1.0/Database/Persist/Class/PersistField.hs
+formatted       70a476904eb3  persistent-2.18.1.0/Database/Persist/Class/PersistQuery.hs
+formatted       79574cf50fbb  persistent-2.18.1.0/Database/Persist/Class/PersistStore.hs
+formatted       338484a2c159  persistent-2.18.1.0/Database/Persist/Class/PersistUnique.hs
+formatted       8411f5f4d556  persistent-2.18.1.0/Database/Persist/Compatible.hs
+formatted       b8aa053ba3e7  persistent-2.18.1.0/Database/Persist/Compatible/TH.hs
+formatted       8271ddf9b011  persistent-2.18.1.0/Database/Persist/Compatible/Types.hs
+formatted       f0fdc96b94f1  persistent-2.18.1.0/Database/Persist/EntityDef.hs
+formatted       849d0a429195  persistent-2.18.1.0/Database/Persist/EntityDef/Internal.hs
+formatted       e1f19a8d7ad8  persistent-2.18.1.0/Database/Persist/FieldDef.hs
+formatted       ab8743cef9ef  persistent-2.18.1.0/Database/Persist/FieldDef/Internal.hs
+formatted       af58f8fe6178  persistent-2.18.1.0/Database/Persist/ImplicitIdDef.hs
+formatted       85a3d6cbc6c3  persistent-2.18.1.0/Database/Persist/ImplicitIdDef/Internal.hs
+formatted       322b536a4871  persistent-2.18.1.0/Database/Persist/Names.hs
+formatted       9a9a625620ba  persistent-2.18.1.0/Database/Persist/PersistValue.hs
+formatted       3b8981721873  persistent-2.18.1.0/Database/Persist/Quasi.hs
+formatted       50ce9dc3f2f1  persistent-2.18.1.0/Database/Persist/Quasi/Internal.hs
+formatted       050bad6b1510  persistent-2.18.1.0/Database/Persist/Quasi/Internal/ModelParser.hs
+formatted       586b1e9cea29  persistent-2.18.1.0/Database/Persist/Quasi/Internal/TypeParser.hs
+formatted       21110acf54fd  persistent-2.18.1.0/Database/Persist/Quasi/PersistSettings.hs
+formatted       a989b4e01cce  persistent-2.18.1.0/Database/Persist/Quasi/PersistSettings/Internal.hs
+formatted       9b3357f836ee  persistent-2.18.1.0/Database/Persist/Sql.hs
+formatted       c504dae1745f  persistent-2.18.1.0/Database/Persist/Sql/Class.hs
+formatted       e29db4bd94e4  persistent-2.18.1.0/Database/Persist/Sql/Internal.hs
+formatted       a9581feb77f7  persistent-2.18.1.0/Database/Persist/Sql/Migration.hs
+formatted       6579d8a6af0a  persistent-2.18.1.0/Database/Persist/Sql/Orphan/PersistQuery.hs
+formatted       b8bc3c892c30  persistent-2.18.1.0/Database/Persist/Sql/Orphan/PersistStore.hs
+formatted       43c215f769e2  persistent-2.18.1.0/Database/Persist/Sql/Orphan/PersistUnique.hs
+formatted       b260e6474e49  persistent-2.18.1.0/Database/Persist/Sql/Raw.hs
+formatted       195afd80e2b2  persistent-2.18.1.0/Database/Persist/Sql/Run.hs
+formatted       551ec5c3665c  persistent-2.18.1.0/Database/Persist/Sql/Types.hs
+formatted       79434171e805  persistent-2.18.1.0/Database/Persist/Sql/Types/Internal.hs
+formatted       7b93af982563  persistent-2.18.1.0/Database/Persist/Sql/Util.hs
+formatted       8edc5654d3bf  persistent-2.18.1.0/Database/Persist/SqlBackend.hs
+formatted       94fee19edf39  persistent-2.18.1.0/Database/Persist/SqlBackend/Internal.hs
+formatted       4169a15662b8  persistent-2.18.1.0/Database/Persist/SqlBackend/Internal/InsertSqlResult.hs
+formatted       4bd5d30fe421  persistent-2.18.1.0/Database/Persist/SqlBackend/Internal/IsolationLevel.hs
+formatted       3bba2903f27f  persistent-2.18.1.0/Database/Persist/SqlBackend/Internal/MkSqlBackend.hs
+formatted       df4a6b7a5973  persistent-2.18.1.0/Database/Persist/SqlBackend/Internal/SqlPoolHooks.hs
+formatted       2a8b25e26106  persistent-2.18.1.0/Database/Persist/SqlBackend/Internal/Statement.hs
+formatted       13261046706a  persistent-2.18.1.0/Database/Persist/SqlBackend/Internal/StatementCache.hs
+formatted       26584be3a1b2  persistent-2.18.1.0/Database/Persist/SqlBackend/SqlPoolHooks.hs
+formatted       717f5d592a99  persistent-2.18.1.0/Database/Persist/SqlBackend/StatementCache.hs
+formatted       c43972a3241b  persistent-2.18.1.0/Database/Persist/TH.hs
+formatted       cf11891edbb8  persistent-2.18.1.0/Database/Persist/TH/Internal.hs
+formatted       5d5db2214d47  persistent-2.18.1.0/Database/Persist/Types.hs
+formatted       6b47dfb1b0ea  persistent-2.18.1.0/Database/Persist/Types/Base.hs
+formatted       b8189bc0e07d  persistent-2.18.1.0/Database/Persist/Types/SourceSpan.hs
+formatted       09bd8fed1526  persistent-2.18.1.0/bench/Main.hs
+formatted       a86c4871233b  persistent-2.18.1.0/bench/Models.hs
+formatted       2a61af1c3dc0  persistent-2.18.1.0/test/Database/Persist/ClassSpec.hs
+formatted       a89356a2c918  persistent-2.18.1.0/test/Database/Persist/PersistValueSpec.hs
+formatted       a6fff759e471  persistent-2.18.1.0/test/Database/Persist/QuasiSpec.hs
+formatted       519e8fe84f6b  persistent-2.18.1.0/test/Database/Persist/TH/CommentSpec.hs
+formatted       0afbeb6c7323  persistent-2.18.1.0/test/Database/Persist/TH/CompositeKeyStyleSpec.hs
+formatted       5cea353a8292  persistent-2.18.1.0/test/Database/Persist/TH/DiscoverEntitiesSpec.hs
+formatted       a9d980946ca5  persistent-2.18.1.0/test/Database/Persist/TH/EmbedSpec.hs
+formatted       6b03dd7dcec9  persistent-2.18.1.0/test/Database/Persist/TH/EntityHaddockSpec.hs
+formatted       8d259ccffa83  persistent-2.18.1.0/test/Database/Persist/TH/ForeignRefSpec.hs
+formatted       cccea44c8f0b  persistent-2.18.1.0/test/Database/Persist/TH/ImplicitIdColSpec.hs
+formatted       e8dbd50f91e4  persistent-2.18.1.0/test/Database/Persist/TH/JsonEncodingSpec.hs
+formatted       8adfe4a4228d  persistent-2.18.1.0/test/Database/Persist/TH/KindEntitiesSpec.hs
+formatted       ffa6ce894347  persistent-2.18.1.0/test/Database/Persist/TH/KindEntitiesSpecImports.hs
+formatted       95ba90d362da  persistent-2.18.1.0/test/Database/Persist/TH/MaybeFieldDefsSpec.hs
+formatted       015c9734f35d  persistent-2.18.1.0/test/Database/Persist/TH/MigrationOnlySpec.hs
+formatted       dbad9d8d922f  persistent-2.18.1.0/test/Database/Persist/TH/MultiBlockSpec.hs
+formatted       b776165f7ac3  persistent-2.18.1.0/test/Database/Persist/TH/MultiBlockSpec/Model.hs
+formatted       9702744c43e8  persistent-2.18.1.0/test/Database/Persist/TH/NestedSymbolsInTypeSpec.hs
+formatted       4817523017bd  persistent-2.18.1.0/test/Database/Persist/TH/NestedSymbolsInTypeSpecImports.hs
+formatted       a12885a494b5  persistent-2.18.1.0/test/Database/Persist/TH/NoFieldSelectorsSpec.hs
+formatted       1c009d653df1  persistent-2.18.1.0/test/Database/Persist/TH/OverloadedLabelSpec.hs
+formatted       ad712bcac46e  persistent-2.18.1.0/test/Database/Persist/TH/PersistWith/Model.hs
+formatted       8d58beb8b33c  persistent-2.18.1.0/test/Database/Persist/TH/PersistWith/Model2.hs
+formatted       2a00e51de672  persistent-2.18.1.0/test/Database/Persist/TH/PersistWithSpec.hs
+formatted       c8a1cda49ba9  persistent-2.18.1.0/test/Database/Persist/TH/RequireOnlyPersistImportSpec.hs
+formatted       6304ac8c52fc  persistent-2.18.1.0/test/Database/Persist/TH/SharedPrimaryKeyImportedSpec.hs
+formatted       0f6b55118c17  persistent-2.18.1.0/test/Database/Persist/TH/SharedPrimaryKeySpec.hs
+formatted       145463b36f4d  persistent-2.18.1.0/test/Database/Persist/TH/SumSpec.hs
+formatted       6ffbc7ea1f63  persistent-2.18.1.0/test/Database/Persist/TH/ToFromPersistValuesSpec.hs
+formatted       192fdf9e6251  persistent-2.18.1.0/test/Database/Persist/TH/TypeLitFieldDefsSpec.hs
+formatted       2eed48e0ded5  persistent-2.18.1.0/test/Database/Persist/THSpec.hs
+formatted       0c3f252b942b  persistent-2.18.1.0/test/TemplateTestImports.hs
+formatted       981361901664  persistent-2.18.1.0/test/main.hs
+formatted       e865ae48f11b  pipes-4.3.16/Setup.hs
+formatted       bc3b140ba83c  pipes-4.3.16/benchmarks/Common.hs
+formatted       cfc284eb2a96  pipes-4.3.16/benchmarks/LiftBench.hs
+formatted       2d196e0b7c81  pipes-4.3.16/benchmarks/PreludeBench.hs
+formatted       3084ed3c571e  pipes-4.3.16/src/Pipes.hs
+formatted       4ce70ece57a1  pipes-4.3.16/src/Pipes/Core.hs
+formatted       f4e877fe74e4  pipes-4.3.16/src/Pipes/Internal.hs
+formatted       7b0baf665633  pipes-4.3.16/src/Pipes/Lift.hs
+formatted       064e9aa86eca  pipes-4.3.16/src/Pipes/Prelude.hs
+formatted       28db3a9d032f  pipes-4.3.16/src/Pipes/Tutorial.hs
+formatted       b5799a711df1  pipes-4.3.16/tests/Main.hs
+formatted       56dca68e0a87  postgrest-9.0.1/Setup.hs
+formatted       5c28b1dfddd4  postgrest-9.0.1/main/Main.hs
+formatted       9adb721304d3  postgrest-9.0.1/src/PostgREST/App.hs
+formatted       e78ccf4c1081  postgrest-9.0.1/src/PostgREST/AppState.hs
+formatted       0d1d4f1acbe4  postgrest-9.0.1/src/PostgREST/Auth.hs
+formatted       e65027d7ec1c  postgrest-9.0.1/src/PostgREST/CLI.hs
+formatted       ff50416030ba  postgrest-9.0.1/src/PostgREST/Config.hs
+formatted       a7c5457341b7  postgrest-9.0.1/src/PostgREST/Config/Database.hs
+formatted       e7bf2ae84dea  postgrest-9.0.1/src/PostgREST/Config/JSPath.hs
+formatted       b719e278251b  postgrest-9.0.1/src/PostgREST/Config/PgVersion.hs
+formatted       6c2ca99e2760  postgrest-9.0.1/src/PostgREST/Config/Proxy.hs
+formatted       65c66f863629  postgrest-9.0.1/src/PostgREST/ContentType.hs
+formatted       9200d4931d04  postgrest-9.0.1/src/PostgREST/Cors.hs
+formatted       e8add9215515  postgrest-9.0.1/src/PostgREST/DbStructure.hs
+formatted       1f660a25f065  postgrest-9.0.1/src/PostgREST/DbStructure/Identifiers.hs
+formatted       3fe28a05e350  postgrest-9.0.1/src/PostgREST/DbStructure/Proc.hs
+formatted       907ee2b7948d  postgrest-9.0.1/src/PostgREST/DbStructure/Relationship.hs
+formatted       d137a6b900b1  postgrest-9.0.1/src/PostgREST/DbStructure/Table.hs
+formatted       87aeb283873b  postgrest-9.0.1/src/PostgREST/Error.hs
+formatted       1dcfb378dd6b  postgrest-9.0.1/src/PostgREST/GucHeader.hs
+formatted       b163f33a9451  postgrest-9.0.1/src/PostgREST/Logger.hs
+formatted       784d95777d8a  postgrest-9.0.1/src/PostgREST/Middleware.hs
+formatted       16e5665f0085  postgrest-9.0.1/src/PostgREST/OpenAPI.hs
+formatted       e0a33e937d12  postgrest-9.0.1/src/PostgREST/Query/QueryBuilder.hs
+formatted       1cc4c0d1d941  postgrest-9.0.1/src/PostgREST/Query/SqlFragment.hs
+formatted       4a547dec3a41  postgrest-9.0.1/src/PostgREST/Query/Statements.hs
+formatted       7d83276a4311  postgrest-9.0.1/src/PostgREST/RangeQuery.hs
+formatted       6427d974a933  postgrest-9.0.1/src/PostgREST/Request/ApiRequest.hs
+formatted       25e2f3363ef8  postgrest-9.0.1/src/PostgREST/Request/DbRequestBuilder.hs
+formatted       ed1ab405ee20  postgrest-9.0.1/src/PostgREST/Request/Parsers.hs
+formatted       754179bb774e  postgrest-9.0.1/src/PostgREST/Request/Preferences.hs
+formatted       24779449465c  postgrest-9.0.1/src/PostgREST/Request/Types.hs
+formatted       17c1a18cfc8c  postgrest-9.0.1/src/PostgREST/Unix.hs
+formatted       580e8ea41e7a  postgrest-9.0.1/src/PostgREST/Version.hs
+formatted       77e5d46a8f39  postgrest-9.0.1/src/PostgREST/Workers.hs
+formatted       c719f882d27c  postgrest-9.0.1/test/doc/Main.hs
+formatted       26819ded5f1d  postgrest-9.0.1/test/spec/Feature/AndOrParamsSpec.hs
+formatted       9c587b908a33  postgrest-9.0.1/test/spec/Feature/AsymmetricJwtSpec.hs
+formatted       0a1cddc99f07  postgrest-9.0.1/test/spec/Feature/AudienceJwtSecretSpec.hs
+formatted       a7cbdf26b28e  postgrest-9.0.1/test/spec/Feature/AuthSpec.hs
+formatted       f66a37c22163  postgrest-9.0.1/test/spec/Feature/BinaryJwtSecretSpec.hs
+formatted       2fb433681c01  postgrest-9.0.1/test/spec/Feature/ConcurrentSpec.hs
+formatted       db553e991f45  postgrest-9.0.1/test/spec/Feature/CorsSpec.hs
+formatted       e6effa647a94  postgrest-9.0.1/test/spec/Feature/DeleteSpec.hs
+formatted       112082d3da25  postgrest-9.0.1/test/spec/Feature/DisabledOpenApiSpec.hs
+formatted       46f077a70e3c  postgrest-9.0.1/test/spec/Feature/EmbedDisambiguationSpec.hs
+formatted       2ca146bd3be4  postgrest-9.0.1/test/spec/Feature/EmbedInnerJoinSpec.hs
+formatted       ae88d2d4016f  postgrest-9.0.1/test/spec/Feature/ExtraSearchPathSpec.hs
+formatted       40e61f4856d9  postgrest-9.0.1/test/spec/Feature/HtmlRawOutputSpec.hs
+formatted       0f41eff191de  postgrest-9.0.1/test/spec/Feature/IgnorePrivOpenApiSpec.hs
+formatted       a5bd1ee6fe9d  postgrest-9.0.1/test/spec/Feature/InsertSpec.hs
+formatted       db84acc987af  postgrest-9.0.1/test/spec/Feature/JsonOperatorSpec.hs
+formatted       6fe63b8509f7  postgrest-9.0.1/test/spec/Feature/LegacyGucsSpec.hs
+formatted       3e3de0df32ce  postgrest-9.0.1/test/spec/Feature/MultipleSchemaSpec.hs
+formatted       0c5f4c46184e  postgrest-9.0.1/test/spec/Feature/NoJwtSpec.hs
+formatted       a7144a84ab24  postgrest-9.0.1/test/spec/Feature/NonexistentSchemaSpec.hs
+formatted       f641f9c4d107  postgrest-9.0.1/test/spec/Feature/OpenApiSpec.hs
+formatted       c050e4500b5a  postgrest-9.0.1/test/spec/Feature/OptionsSpec.hs
+formatted       411fb55122f7  postgrest-9.0.1/test/spec/Feature/ProxySpec.hs
+formatted       f1d93c15a994  postgrest-9.0.1/test/spec/Feature/QueryLimitedSpec.hs
+formatted       e06d66d3423c  postgrest-9.0.1/test/spec/Feature/QuerySpec.hs
+formatted       57243eacfa18  postgrest-9.0.1/test/spec/Feature/RangeSpec.hs
+formatted       c563920d7c3a  postgrest-9.0.1/test/spec/Feature/RawOutputTypesSpec.hs
+formatted       2f0c5d3ab8ea  postgrest-9.0.1/test/spec/Feature/RollbackSpec.hs
+formatted       833e9760655d  postgrest-9.0.1/test/spec/Feature/RootSpec.hs
+formatted       20865b97351d  postgrest-9.0.1/test/spec/Feature/RpcPreRequestGucsSpec.hs
+formatted       620c23e23c96  postgrest-9.0.1/test/spec/Feature/RpcSpec.hs
+formatted       b16f3e2cf503  postgrest-9.0.1/test/spec/Feature/SingularSpec.hs
+formatted       be03de84804f  postgrest-9.0.1/test/spec/Feature/UnicodeSpec.hs
+formatted       57b1523abef3  postgrest-9.0.1/test/spec/Feature/UpdateSpec.hs
+formatted       d614953a7b99  postgrest-9.0.1/test/spec/Feature/UpsertSpec.hs
+formatted       b8125073dcd1  postgrest-9.0.1/test/spec/Main.hs
+formatted       ef31904f8278  postgrest-9.0.1/test/spec/QueryCost.hs
+formatted       d85b52e60b1b  postgrest-9.0.1/test/spec/SpecHelper.hs
+formatted       c136e6235ce2  postgrest-9.0.1/test/spec/TestTypes.hs
+formatted       6c9b96651097  profunctors-5.6.3/src/Data/Profunctor.hs
+formatted       304600c8ae00  profunctors-5.6.3/src/Data/Profunctor/Adjunction.hs
+formatted       cb8c5f2db6fc  profunctors-5.6.3/src/Data/Profunctor/Cayley.hs
+formatted       ad76cfa2710f  profunctors-5.6.3/src/Data/Profunctor/Choice.hs
+formatted       61d4c888011c  profunctors-5.6.3/src/Data/Profunctor/Closed.hs
+formatted       a257ecf686b4  profunctors-5.6.3/src/Data/Profunctor/Composition.hs
+formatted       c6b93c3e4d57  profunctors-5.6.3/src/Data/Profunctor/Mapping.hs
+formatted       29fc70c5c363  profunctors-5.6.3/src/Data/Profunctor/Monad.hs
+formatted       38389ddb3b92  profunctors-5.6.3/src/Data/Profunctor/Ran.hs
+formatted       328e90ad4f04  profunctors-5.6.3/src/Data/Profunctor/Rep.hs
+formatted       e384f3e722f3  profunctors-5.6.3/src/Data/Profunctor/Sieve.hs
+formatted       82383f86362f  profunctors-5.6.3/src/Data/Profunctor/Strong.hs
+formatted       0e38b0649fd9  profunctors-5.6.3/src/Data/Profunctor/Traversing.hs
+formatted       1aa5ae4180c8  profunctors-5.6.3/src/Data/Profunctor/Types.hs
+formatted       cf197a211042  profunctors-5.6.3/src/Data/Profunctor/Unsafe.hs
+formatted       a4da99796c8f  profunctors-5.6.3/src/Data/Profunctor/Yoneda.hs
+formatted       f97b976f5a71  purescript-0.15.15/Setup.hs
+formatted       fc25cc9ab507  purescript-0.15.15/app/Command/Bundle.hs
+formatted       9552f3c22b35  purescript-0.15.15/app/Command/Compile.hs
+formatted       01699597937c  purescript-0.15.15/app/Command/Docs.hs
+formatted       828897c1c2cd  purescript-0.15.15/app/Command/Docs/Html.hs
+formatted       a62e7812b623  purescript-0.15.15/app/Command/Docs/Markdown.hs
+formatted       09cca829ca3f  purescript-0.15.15/app/Command/Graph.hs
+formatted       35dc7113d6b6  purescript-0.15.15/app/Command/Hierarchy.hs
+formatted       58144f286709  purescript-0.15.15/app/Command/Ide.hs
+formatted       7041180dae76  purescript-0.15.15/app/Command/Publish.hs
+formatted       b497ba3c0d7a  purescript-0.15.15/app/Command/REPL.hs
+formatted       fc2a903b9ae6  purescript-0.15.15/app/Main.hs
+formatted       7a9a4a75bc5e  purescript-0.15.15/app/SharedCLI.hs
+formatted       a27b21540ebf  purescript-0.15.15/app/Version.hs
+formatted       3f2e6165febf  purescript-0.15.15/src/Control/Monad/Logger.hs
+formatted       0c5adff9e739  purescript-0.15.15/src/Control/Monad/Supply.hs
+formatted       02033bdb8d40  purescript-0.15.15/src/Control/Monad/Supply/Class.hs
+formatted       7a4d7979e1c9  purescript-0.15.15/src/Data/Text/PureScript.hs
+formatted       8dd52a6450b8  purescript-0.15.15/src/Language/PureScript.hs
+formatted       64c0d4442190  purescript-0.15.15/src/Language/PureScript/AST.hs
+formatted       90b7a20cf2b2  purescript-0.15.15/src/Language/PureScript/AST/Binders.hs
+formatted       95138bcac2dc  purescript-0.15.15/src/Language/PureScript/AST/Declarations.hs
+formatted       7549b92b55ea  purescript-0.15.15/src/Language/PureScript/AST/Declarations/ChainId.hs
+formatted       ee29bf931a51  purescript-0.15.15/src/Language/PureScript/AST/Exported.hs
+formatted       9e3520375b78  purescript-0.15.15/src/Language/PureScript/AST/Literals.hs
+formatted       d68f67577cc8  purescript-0.15.15/src/Language/PureScript/AST/Operators.hs
+formatted       665c880f0ac3  purescript-0.15.15/src/Language/PureScript/AST/SourcePos.hs
+formatted       e7a8fcf4b4ce  purescript-0.15.15/src/Language/PureScript/AST/Traversals.hs
+formatted       8720cb40d864  purescript-0.15.15/src/Language/PureScript/AST/Utils.hs
+formatted       877183f13f0e  purescript-0.15.15/src/Language/PureScript/Bundle.hs
+formatted       17165d7dbf8f  purescript-0.15.15/src/Language/PureScript/CST.hs
+formatted       54483516618f  purescript-0.15.15/src/Language/PureScript/CST/Convert.hs
+formatted       1bb254813120  purescript-0.15.15/src/Language/PureScript/CST/Errors.hs
+formatted       99fe1a511bd7  purescript-0.15.15/src/Language/PureScript/CST/Flatten.hs
+formatted       8c4cadc6b77e  purescript-0.15.15/src/Language/PureScript/CST/Layout.hs
+formatted       121d65667bd6  purescript-0.15.15/src/Language/PureScript/CST/Lexer.hs
+formatted       c63270b3582f  purescript-0.15.15/src/Language/PureScript/CST/Monad.hs
+formatted       f7c88e465ac9  purescript-0.15.15/src/Language/PureScript/CST/Positions.hs
+formatted       81b25af54498  purescript-0.15.15/src/Language/PureScript/CST/Print.hs
+formatted       0f7883709c32  purescript-0.15.15/src/Language/PureScript/CST/Traversals.hs
+formatted       2abd1cbacd59  purescript-0.15.15/src/Language/PureScript/CST/Traversals/Type.hs
+formatted       99b3db437620  purescript-0.15.15/src/Language/PureScript/CST/Types.hs
+formatted       fcd9fd9e5f6e  purescript-0.15.15/src/Language/PureScript/CST/Utils.hs
+formatted       ebd74707d2df  purescript-0.15.15/src/Language/PureScript/CodeGen.hs
+formatted       2aedd3f9d595  purescript-0.15.15/src/Language/PureScript/CodeGen/JS.hs
+formatted       c14b43998770  purescript-0.15.15/src/Language/PureScript/CodeGen/JS/Common.hs
+formatted       8cc3a8997247  purescript-0.15.15/src/Language/PureScript/CodeGen/JS/Printer.hs
+formatted       9fc56880a2ad  purescript-0.15.15/src/Language/PureScript/Comments.hs
+formatted       ce66a26bbfc1  purescript-0.15.15/src/Language/PureScript/Constants/Libs.hs
+formatted       28bd9b1334f0  purescript-0.15.15/src/Language/PureScript/Constants/Prim.hs
+formatted       e0aeea352abb  purescript-0.15.15/src/Language/PureScript/Constants/TH.hs
+formatted       0e372eb9e534  purescript-0.15.15/src/Language/PureScript/CoreFn.hs
+formatted       67002d3d659a  purescript-0.15.15/src/Language/PureScript/CoreFn/Ann.hs
+formatted       320ee61ce2aa  purescript-0.15.15/src/Language/PureScript/CoreFn/Binders.hs
+formatted       d583b05236e8  purescript-0.15.15/src/Language/PureScript/CoreFn/CSE.hs
+formatted       1695093fdf04  purescript-0.15.15/src/Language/PureScript/CoreFn/Desugar.hs
+formatted       4c5e669b81b1  purescript-0.15.15/src/Language/PureScript/CoreFn/Expr.hs
+formatted       a974254f9d0b  purescript-0.15.15/src/Language/PureScript/CoreFn/FromJSON.hs
+formatted       8486d10630c7  purescript-0.15.15/src/Language/PureScript/CoreFn/Laziness.hs
+formatted       8b6e840abcd5  purescript-0.15.15/src/Language/PureScript/CoreFn/Meta.hs
+formatted       a1e92b91ac75  purescript-0.15.15/src/Language/PureScript/CoreFn/Module.hs
+formatted       0ad1f00a5b65  purescript-0.15.15/src/Language/PureScript/CoreFn/Optimizer.hs
+formatted       87b194331795  purescript-0.15.15/src/Language/PureScript/CoreFn/ToJSON.hs
+formatted       42875f3d94a8  purescript-0.15.15/src/Language/PureScript/CoreFn/Traversals.hs
+formatted       63122a31d5b9  purescript-0.15.15/src/Language/PureScript/CoreImp.hs
+formatted       f1fba8a6e3f2  purescript-0.15.15/src/Language/PureScript/CoreImp/AST.hs
+formatted       cea69d16d422  purescript-0.15.15/src/Language/PureScript/CoreImp/Module.hs
+formatted       fa29e58c163f  purescript-0.15.15/src/Language/PureScript/CoreImp/Optimizer.hs
+formatted       f6714b047252  purescript-0.15.15/src/Language/PureScript/CoreImp/Optimizer/Blocks.hs
+formatted       2357af4f70f3  purescript-0.15.15/src/Language/PureScript/CoreImp/Optimizer/Common.hs
+formatted       a09553d4f85d  purescript-0.15.15/src/Language/PureScript/CoreImp/Optimizer/Inliner.hs
+formatted       bfec2aecef71  purescript-0.15.15/src/Language/PureScript/CoreImp/Optimizer/MagicDo.hs
+formatted       05bc3c0c11ea  purescript-0.15.15/src/Language/PureScript/CoreImp/Optimizer/TCO.hs
+formatted       e92b4559ab79  purescript-0.15.15/src/Language/PureScript/CoreImp/Optimizer/Unused.hs
+formatted       7f4e9bebcb8b  purescript-0.15.15/src/Language/PureScript/Crash.hs
+formatted       d38f4a6a3f33  purescript-0.15.15/src/Language/PureScript/Docs.hs
+formatted       601ae206b253  purescript-0.15.15/src/Language/PureScript/Docs/AsHtml.hs
+formatted       c88c483863f1  purescript-0.15.15/src/Language/PureScript/Docs/AsMarkdown.hs
+formatted       5b156e0a94c3  purescript-0.15.15/src/Language/PureScript/Docs/Collect.hs
+formatted       79703280d2b7  purescript-0.15.15/src/Language/PureScript/Docs/Convert.hs
+formatted       bd43ee70f730  purescript-0.15.15/src/Language/PureScript/Docs/Convert/ReExports.hs
+formatted       95e85cb522ee  purescript-0.15.15/src/Language/PureScript/Docs/Convert/Single.hs
+formatted       d97124c1ab6a  purescript-0.15.15/src/Language/PureScript/Docs/Css.hs
+formatted       aef417fca2f8  purescript-0.15.15/src/Language/PureScript/Docs/Prim.hs
+formatted       ef592235f45c  purescript-0.15.15/src/Language/PureScript/Docs/Render.hs
+formatted       4c98064ffe67  purescript-0.15.15/src/Language/PureScript/Docs/RenderedCode.hs
+formatted       c6cac486f5af  purescript-0.15.15/src/Language/PureScript/Docs/RenderedCode/RenderType.hs
+formatted       f1fc2e61d30a  purescript-0.15.15/src/Language/PureScript/Docs/RenderedCode/Types.hs
+formatted       a167fd6ac9ba  purescript-0.15.15/src/Language/PureScript/Docs/Tags.hs
+formatted       2ef582a2e4fe  purescript-0.15.15/src/Language/PureScript/Docs/Types.hs
+formatted       ca122de78b43  purescript-0.15.15/src/Language/PureScript/Docs/Utils/MonoidExtras.hs
+formatted       90ee8482ef02  purescript-0.15.15/src/Language/PureScript/Environment.hs
+formatted       b5fabde0b07c  purescript-0.15.15/src/Language/PureScript/Errors.hs
+formatted       2e97a0828120  purescript-0.15.15/src/Language/PureScript/Errors/JSON.hs
+formatted       40c5b4ab4606  purescript-0.15.15/src/Language/PureScript/Externs.hs
+formatted       5b14d39a8eab  purescript-0.15.15/src/Language/PureScript/Glob.hs
+formatted       cb5a6cd8f843  purescript-0.15.15/src/Language/PureScript/Graph.hs
+formatted       33be4fa0e2c2  purescript-0.15.15/src/Language/PureScript/Hierarchy.hs
+formatted       181be061d092  purescript-0.15.15/src/Language/PureScript/Ide.hs
+formatted       ffe250501436  purescript-0.15.15/src/Language/PureScript/Ide/CaseSplit.hs
+formatted       c4f1a98da881  purescript-0.15.15/src/Language/PureScript/Ide/Command.hs
+formatted       8192d0f7aaca  purescript-0.15.15/src/Language/PureScript/Ide/Completion.hs
+formatted       f75b7c863f7c  purescript-0.15.15/src/Language/PureScript/Ide/Error.hs
+formatted       725dbdad19a4  purescript-0.15.15/src/Language/PureScript/Ide/Externs.hs
+formatted       db7bc3ec5d3a  purescript-0.15.15/src/Language/PureScript/Ide/Filter.hs
+formatted       3576f2d7de05  purescript-0.15.15/src/Language/PureScript/Ide/Filter/Declaration.hs
+formatted       b49eb55c10e9  purescript-0.15.15/src/Language/PureScript/Ide/Filter/Imports.hs
+formatted       7936d4466062  purescript-0.15.15/src/Language/PureScript/Ide/Imports.hs
+formatted       355a50f9dc23  purescript-0.15.15/src/Language/PureScript/Ide/Imports/Actions.hs
+formatted       445173203c8b  purescript-0.15.15/src/Language/PureScript/Ide/Logging.hs
+formatted       3dc8675fd8cc  purescript-0.15.15/src/Language/PureScript/Ide/Matcher.hs
+formatted       c661e0fb09f5  purescript-0.15.15/src/Language/PureScript/Ide/Prim.hs
+formatted       c72786751a6f  purescript-0.15.15/src/Language/PureScript/Ide/Rebuild.hs
+formatted       479b75f6b8a5  purescript-0.15.15/src/Language/PureScript/Ide/Reexports.hs
+formatted       ba269ccd1b00  purescript-0.15.15/src/Language/PureScript/Ide/SourceFile.hs
+formatted       45ac85955c04  purescript-0.15.15/src/Language/PureScript/Ide/State.hs
+formatted       9ae78da2404d  purescript-0.15.15/src/Language/PureScript/Ide/Types.hs
+formatted       e1ebc30140de  purescript-0.15.15/src/Language/PureScript/Ide/Usage.hs
+formatted       6a67e6ff599c  purescript-0.15.15/src/Language/PureScript/Ide/Util.hs
+formatted       e8a70597dd72  purescript-0.15.15/src/Language/PureScript/Interactive.hs
+formatted       d01a40e60d32  purescript-0.15.15/src/Language/PureScript/Interactive/Completion.hs
+formatted       3460c74a085b  purescript-0.15.15/src/Language/PureScript/Interactive/Directive.hs
+formatted       05772c80c994  purescript-0.15.15/src/Language/PureScript/Interactive/IO.hs
+formatted       71a877b04bc4  purescript-0.15.15/src/Language/PureScript/Interactive/Message.hs
+formatted       9ac75d918f18  purescript-0.15.15/src/Language/PureScript/Interactive/Module.hs
+formatted       f11eeeb0fa22  purescript-0.15.15/src/Language/PureScript/Interactive/Parser.hs
+formatted       a155c431a34e  purescript-0.15.15/src/Language/PureScript/Interactive/Printer.hs
+formatted       2949f70cc7ec  purescript-0.15.15/src/Language/PureScript/Interactive/Types.hs
+formatted       58c22ed249af  purescript-0.15.15/src/Language/PureScript/Label.hs
+formatted       36761e3347a6  purescript-0.15.15/src/Language/PureScript/Linter.hs
+formatted       7e2beef92736  purescript-0.15.15/src/Language/PureScript/Linter/Exhaustive.hs
+formatted       0b6132c0f3d7  purescript-0.15.15/src/Language/PureScript/Linter/Imports.hs
+formatted       a66e07acf77d  purescript-0.15.15/src/Language/PureScript/Linter/Wildcards.hs
+formatted       c2d072554993  purescript-0.15.15/src/Language/PureScript/Make.hs
+formatted       f9c26c4e81f6  purescript-0.15.15/src/Language/PureScript/Make/Actions.hs
+formatted       1d85ba33ac31  purescript-0.15.15/src/Language/PureScript/Make/BuildPlan.hs
+formatted       2a3ee7b48cc0  purescript-0.15.15/src/Language/PureScript/Make/Cache.hs
+formatted       c49920bd966d  purescript-0.15.15/src/Language/PureScript/Make/Monad.hs
+formatted       c3fc2769b053  purescript-0.15.15/src/Language/PureScript/ModuleDependencies.hs
+formatted       5d2f58ba5ebe  purescript-0.15.15/src/Language/PureScript/Names.hs
+formatted       0f9b1ea22f14  purescript-0.15.15/src/Language/PureScript/Options.hs
+formatted       f897ba9d54bc  purescript-0.15.15/src/Language/PureScript/PSString.hs
+formatted       2b26a96d8bcc  purescript-0.15.15/src/Language/PureScript/Pretty.hs
+formatted       8ebafca53613  purescript-0.15.15/src/Language/PureScript/Pretty/Common.hs
+formatted       f706dd8366ea  purescript-0.15.15/src/Language/PureScript/Pretty/Types.hs
+formatted       edfe0fb68af4  purescript-0.15.15/src/Language/PureScript/Pretty/Values.hs
+formatted       41caab5f84cf  purescript-0.15.15/src/Language/PureScript/Publish.hs
+formatted       79e26f16154a  purescript-0.15.15/src/Language/PureScript/Publish/BoxesHelpers.hs
+formatted       dee100d9e8c9  purescript-0.15.15/src/Language/PureScript/Publish/ErrorsWarnings.hs
+formatted       e01bdf92f620  purescript-0.15.15/src/Language/PureScript/Publish/Registry/Compat.hs
+formatted       fba7a9e201e6  purescript-0.15.15/src/Language/PureScript/Publish/Utils.hs
+formatted       bd942477279d  purescript-0.15.15/src/Language/PureScript/Renamer.hs
+formatted       51bb16e3f181  purescript-0.15.15/src/Language/PureScript/Roles.hs
+formatted       d0c239a754fb  purescript-0.15.15/src/Language/PureScript/Sugar.hs
+formatted       7b7a90b4d626  purescript-0.15.15/src/Language/PureScript/Sugar/AdoNotation.hs
+formatted       b102df7cc4af  purescript-0.15.15/src/Language/PureScript/Sugar/BindingGroups.hs
+formatted       fe420f344b07  purescript-0.15.15/src/Language/PureScript/Sugar/CaseDeclarations.hs
+formatted       e222158ed66f  purescript-0.15.15/src/Language/PureScript/Sugar/DoNotation.hs
+formatted       6dbfacd3f7c9  purescript-0.15.15/src/Language/PureScript/Sugar/LetPattern.hs
+formatted       8b0be1792f34  purescript-0.15.15/src/Language/PureScript/Sugar/Names.hs
+formatted       2029e11e2e67  purescript-0.15.15/src/Language/PureScript/Sugar/Names/Common.hs
+formatted       2220f0ee5ce4  purescript-0.15.15/src/Language/PureScript/Sugar/Names/Env.hs
+formatted       38ae48164732  purescript-0.15.15/src/Language/PureScript/Sugar/Names/Exports.hs
+formatted       e90c2394d1c8  purescript-0.15.15/src/Language/PureScript/Sugar/Names/Imports.hs
+formatted       ce26566d6b3a  purescript-0.15.15/src/Language/PureScript/Sugar/ObjectWildcards.hs
+formatted       bdbba7a170c0  purescript-0.15.15/src/Language/PureScript/Sugar/Operators.hs
+formatted       3f84eb93e84e  purescript-0.15.15/src/Language/PureScript/Sugar/Operators/Binders.hs
+formatted       500ecd62782a  purescript-0.15.15/src/Language/PureScript/Sugar/Operators/Common.hs
+formatted       58248441d786  purescript-0.15.15/src/Language/PureScript/Sugar/Operators/Expr.hs
+formatted       4ba22af25034  purescript-0.15.15/src/Language/PureScript/Sugar/Operators/Types.hs
+formatted       59c9bf70a087  purescript-0.15.15/src/Language/PureScript/Sugar/TypeClasses.hs
+formatted       2b922ee03bc4  purescript-0.15.15/src/Language/PureScript/Sugar/TypeClasses/Deriving.hs
+formatted       a32375e33c26  purescript-0.15.15/src/Language/PureScript/Sugar/TypeDeclarations.hs
+formatted       dbd28db70738  purescript-0.15.15/src/Language/PureScript/Traversals.hs
+formatted       820b8681ef51  purescript-0.15.15/src/Language/PureScript/TypeChecker.hs
+formatted       abdfb60426d5  purescript-0.15.15/src/Language/PureScript/TypeChecker/Deriving.hs
+formatted       d24816c6fb85  purescript-0.15.15/src/Language/PureScript/TypeChecker/Entailment.hs
+formatted       057316c1a48e  purescript-0.15.15/src/Language/PureScript/TypeChecker/Entailment/Coercible.hs
+formatted       18b27d57b8f4  purescript-0.15.15/src/Language/PureScript/TypeChecker/Entailment/IntCompare.hs
+formatted       34b6e1f27703  purescript-0.15.15/src/Language/PureScript/TypeChecker/Kinds.hs
+formatted       cf072413a153  purescript-0.15.15/src/Language/PureScript/TypeChecker/Monad.hs
+formatted       06dce17368cc  purescript-0.15.15/src/Language/PureScript/TypeChecker/Roles.hs
+formatted       8bf6ffb554c7  purescript-0.15.15/src/Language/PureScript/TypeChecker/Skolems.hs
+formatted       d2235ecf7ccd  purescript-0.15.15/src/Language/PureScript/TypeChecker/Subsumption.hs
+formatted       457a823b413b  purescript-0.15.15/src/Language/PureScript/TypeChecker/Synonyms.hs
+formatted       9b4017715221  purescript-0.15.15/src/Language/PureScript/TypeChecker/TypeSearch.hs
+formatted       b7d012879fb2  purescript-0.15.15/src/Language/PureScript/TypeChecker/Types.hs
+formatted       350456307d1a  purescript-0.15.15/src/Language/PureScript/TypeChecker/Unify.hs
+formatted       de0309beea01  purescript-0.15.15/src/Language/PureScript/TypeClassDictionaries.hs
+formatted       e93d92e3190f  purescript-0.15.15/src/Language/PureScript/Types.hs
+formatted       50a45fbad08d  purescript-0.15.15/src/System/IO/UTF8.hs
+formatted       b6cae6b0a2e4  purescript-0.15.15/tests/Language/PureScript/Ide/CompletionSpec.hs
+formatted       11762d77d5ff  purescript-0.15.15/tests/Language/PureScript/Ide/FilterSpec.hs
+formatted       9b84b1168bde  purescript-0.15.15/tests/Language/PureScript/Ide/ImportsSpec.hs
+formatted       9e6da960bd1a  purescript-0.15.15/tests/Language/PureScript/Ide/MatcherSpec.hs
+formatted       597824389157  purescript-0.15.15/tests/Language/PureScript/Ide/RebuildSpec.hs
+formatted       13f4c6f1bc3b  purescript-0.15.15/tests/Language/PureScript/Ide/ReexportsSpec.hs
+formatted       3c81661c1729  purescript-0.15.15/tests/Language/PureScript/Ide/SourceFileSpec.hs
+formatted       f852d100c39f  purescript-0.15.15/tests/Language/PureScript/Ide/StateSpec.hs
+formatted       b37fdc97a5d4  purescript-0.15.15/tests/Language/PureScript/Ide/Test.hs
+formatted       5b34c60252ac  purescript-0.15.15/tests/Language/PureScript/Ide/UsageSpec.hs
+formatted       b52aea5d4f3d  purescript-0.15.15/tests/Main.hs
+formatted       ed333c67c3b1  purescript-0.15.15/tests/PscIdeSpec.hs
+formatted       a35c30f4348a  purescript-0.15.15/tests/TestAst.hs
+formatted       8fb61d443f83  purescript-0.15.15/tests/TestCompiler.hs
+formatted       f828082380c6  purescript-0.15.15/tests/TestCoreFn.hs
+formatted       42ee862e6dbf  purescript-0.15.15/tests/TestCst.hs
+formatted       037c6c59b451  purescript-0.15.15/tests/TestDocs.hs
+formatted       f4153b591041  purescript-0.15.15/tests/TestGraph.hs
+formatted       ba32c680c5b8  purescript-0.15.15/tests/TestHierarchy.hs
+formatted       65613a06d381  purescript-0.15.15/tests/TestIde.hs
+formatted       8de4dba0bb1c  purescript-0.15.15/tests/TestMake.hs
+formatted       39258e5cf657  purescript-0.15.15/tests/TestPrimDocs.hs
+formatted       cc7de4c7e449  purescript-0.15.15/tests/TestPscPublish.hs
+formatted       a49448044248  purescript-0.15.15/tests/TestPsci.hs
+formatted       96270f61c7e5  purescript-0.15.15/tests/TestPsci/CommandTest.hs
+formatted       54166bfb41d2  purescript-0.15.15/tests/TestPsci/CompletionTest.hs
+formatted       c035a0eb9904  purescript-0.15.15/tests/TestPsci/EvalTest.hs
+formatted       78f75d7bcade  purescript-0.15.15/tests/TestPsci/TestEnv.hs
+formatted       88778aaf5d79  purescript-0.15.15/tests/TestSourceMaps.hs
+formatted       17ca2470c919  purescript-0.15.15/tests/TestUtils.hs
+formatted       4b41dca5144d  raaz-0.3.11/api/aead/Auth/Implementation.hsig
+formatted       e10930522904  raaz-0.3.11/api/aead/Cipher/Implementation.hsig
+formatted       c14acf446bbb  raaz-0.3.11/api/aead/Interface.hs
+formatted       1c6c509b4c94  raaz-0.3.11/api/auth/Implementation.hsig
+formatted       c57f6dd94249  raaz-0.3.11/api/auth/Interface.hs
+formatted       755a67a86d74  raaz-0.3.11/api/digest/Implementation.hsig
+formatted       d0a29be8394a  raaz-0.3.11/api/digest/Interface.hs
+formatted       45e469a8f482  raaz-0.3.11/api/encrypt/Implementation.hsig
+formatted       737f597a7fc2  raaz-0.3.11/api/encrypt/Interface.hs
+formatted       10d5d9d622cd  raaz-0.3.11/api/random/Entropy.hsig
+formatted       c303e4238ef0  raaz-0.3.11/api/random/Implementation.hsig
+formatted       b0d3da70264b  raaz-0.3.11/api/random/Internal.hs
+formatted       837a6b6e7097  raaz-0.3.11/api/random/PRGenerator.hs
+formatted       5d20ed7f5615  raaz-0.3.11/benchmarks/Main.hs
+formatted       93675163f92c  raaz-0.3.11/benchmarks/internal/Benchmark/CSPRG.hs
+formatted       47329bef04fc  raaz-0.3.11/benchmarks/internal/Benchmark/Primitive.hs
+formatted       e90e7ef47336  raaz-0.3.11/benchmarks/internal/Benchmark/Types.hs
+formatted       9ec4c716a238  raaz-0.3.11/core/Raaz/Core.hs
+formatted       e0c435219c26  raaz-0.3.11/core/Raaz/Core/ByteSource.hs
+formatted       a05146df1142  raaz-0.3.11/core/Raaz/Core/Constants.hs
+formatted       ba5c6bbe355c  raaz-0.3.11/core/Raaz/Core/CpuSupports.hs
+formatted       b89a1297556b  raaz-0.3.11/core/Raaz/Core/Encode.hs
+formatted       a4710eb10b1d  raaz-0.3.11/core/Raaz/Core/Encode/Base16.hs
+formatted       f09e0a8d5069  raaz-0.3.11/core/Raaz/Core/Encode/Base64.hs
+formatted       9bf4d68eb362  raaz-0.3.11/core/Raaz/Core/Encode/Internal.hs
+formatted       c749ca305bd5  raaz-0.3.11/core/Raaz/Core/Memory.hs
+formatted       aec3a2a2e2ad  raaz-0.3.11/core/Raaz/Core/MonoidalAction.hs
+formatted       d124973af4ce  raaz-0.3.11/core/Raaz/Core/Parse.hs
+formatted       fb881332f747  raaz-0.3.11/core/Raaz/Core/Parse/Unsafe.hs
+formatted       3d4dcaf4509d  raaz-0.3.11/core/Raaz/Core/Prelude.hs
+formatted       edc878d76969  raaz-0.3.11/core/Raaz/Core/Primitive.hs
+formatted       6460a1e0186e  raaz-0.3.11/core/Raaz/Core/Transfer.hs
+formatted       fd9f0c052ad6  raaz-0.3.11/core/Raaz/Core/Transfer/Unsafe.hs
+formatted       11e74ff282cb  raaz-0.3.11/core/Raaz/Core/Types.hs
+formatted       14f5c5822c66  raaz-0.3.11/core/Raaz/Core/Types/Copying.hs
+formatted       13aa5792ba71  raaz-0.3.11/core/Raaz/Core/Types/Endian.hs
+formatted       e753eb7f0ee9  raaz-0.3.11/core/Raaz/Core/Types/Equality.hs
+formatted       72aa730843b9  raaz-0.3.11/core/Raaz/Core/Types/Internal.hs
+formatted       388126708bea  raaz-0.3.11/core/Raaz/Core/Types/Pointer.hs
+formatted       ba531f10d4b9  raaz-0.3.11/core/Raaz/Core/Types/Tuple.hs
+formatted       03cb2696e6ce  raaz-0.3.11/core/Raaz/Core/Util/ByteString.hs
+formatted       b0733f0d7dc7  raaz-0.3.11/core/Raaz/Primitive/AEAD/Internal.hs
+formatted       3e930bef9e95  raaz-0.3.11/core/Raaz/Primitive/Blake2/Internal.hs
+formatted       c4c07bb57f47  raaz-0.3.11/core/Raaz/Primitive/ChaCha20/Internal.hs
+formatted       710141596c0a  raaz-0.3.11/core/Raaz/Primitive/HashMemory.hs
+formatted       d66dbe1c9503  raaz-0.3.11/core/Raaz/Primitive/Keyed/Internal.hs
+formatted       adc66f3c8235  raaz-0.3.11/core/Raaz/Primitive/Poly1305/Internal.hs
+formatted       c1c0cd3f989e  raaz-0.3.11/core/Raaz/Primitive/Sha2/Internal.hs
+formatted       f1113b4a1a91  raaz-0.3.11/implementation/Blake2b/CHandWritten.hs
+formatted       22c7b320e446  raaz-0.3.11/implementation/Blake2b/CPortable.hs
+formatted       f50d7a51fa62  raaz-0.3.11/implementation/Blake2s/CHandWritten.hs
+formatted       42b584bf2fd9  raaz-0.3.11/implementation/ChaCha20/CHandWritten.hs
+formatted       50286b77ac4d  raaz-0.3.11/implementation/ChaCha20/CPortable.hs
+formatted       60168d49f69b  raaz-0.3.11/implementation/ChaCha20/Random/CPortable.hs
+formatted       18d982c1b62b  raaz-0.3.11/implementation/Poly1305/CPortable.hs
+formatted       37826041c792  raaz-0.3.11/implementation/Poly1305/Memory.hs
+formatted       387d3c5ede4a  raaz-0.3.11/implementation/Sha256/CHandWritten.hs
+formatted       20162dfa5f40  raaz-0.3.11/implementation/Sha256/CPortable.hs
+formatted       e113cd609b36  raaz-0.3.11/implementation/Sha512/CHandWritten.hs
+formatted       bfb2e1350d53  raaz-0.3.11/implementation/Sha512/CPortable.hs
+formatted       e5d101450ea0  raaz-0.3.11/implementation/entropy/arc4random/Entropy.hs
+formatted       0ce991b90307  raaz-0.3.11/implementation/entropy/urandom/Entropy.hs
+formatted       c07f07d16029  raaz-0.3.11/indef/Implementation.hsig
+formatted       170f468cd59a  raaz-0.3.11/indef/Utils.hs
+formatted       2d9774761ee5  raaz-0.3.11/indef/buffer/Buffer.hs
+formatted       05597560fc73  raaz-0.3.11/indef/buffer/Context.hs
+formatted       63aafeda3917  raaz-0.3.11/indef/buffer/Implementation.hsig
+formatted       18c78a393d68  raaz-0.3.11/indef/chacha20/Implementation.hsig
+formatted       e0867ce467d1  raaz-0.3.11/indef/chacha20/XChaCha20/Implementation.hs
+formatted       06f65f137e33  raaz-0.3.11/indef/keyed/hash/Implementation.hsig
+formatted       d9b10ed09e89  raaz-0.3.11/indef/keyed/hash/Mac/Implementation.hs
+formatted       fd3b4278ccc5  raaz-0.3.11/libverse/Raaz/Verse/Blake2b/C/Portable.hs
+formatted       44b600e76f74  raaz-0.3.11/libverse/Raaz/Verse/ChaCha20/C/Portable.hs
+formatted       221da1a1ba37  raaz-0.3.11/libverse/Raaz/Verse/Poly1305/C/Portable.hs
+formatted       7ccb752d8b1d  raaz-0.3.11/libverse/Raaz/Verse/Sha256/C/Portable.hs
+formatted       695112ac1280  raaz-0.3.11/libverse/Raaz/Verse/Sha512/C/Portable.hs
+formatted       2fbd14b119a4  raaz-0.3.11/monocypher/tests/Monocypher.hs
+formatted       a9fe9c97e65e  raaz-0.3.11/monocypher/tests/Monocypher/Blake2bSpec.hs
+formatted       aafcd4db9017  raaz-0.3.11/monocypher/tests/Monocypher/ChaCha20Spec.hs
+formatted       61ad63101629  raaz-0.3.11/monocypher/tests/Monocypher/Sha512Spec.hs
+formatted       e5990322f0bb  raaz-0.3.11/raaz/Raaz.hs
+formatted       b033296472e7  raaz-0.3.11/raaz/Raaz/Auth.hs
+formatted       5467fc4082bb  raaz-0.3.11/raaz/Raaz/AuthEncrypt.hs
+formatted       6c7dee472711  raaz-0.3.11/raaz/Raaz/AuthEncrypt/Unsafe.hs
+formatted       ee1c91dfe990  raaz-0.3.11/raaz/Raaz/Digest.hs
+formatted       93172d5335e8  raaz-0.3.11/raaz/Raaz/Random.hs
+formatted       14ec81125123  raaz-0.3.11/raaz/Raaz/V1/Auth.hs
+formatted       2157a82f703f  raaz-0.3.11/raaz/Raaz/V1/AuthEncrypt.hs
+formatted       5e2a25167ef2  raaz-0.3.11/raaz/Raaz/V1/AuthEncrypt/Unsafe.hs
+formatted       b221e97b02a1  raaz-0.3.11/raaz/Raaz/V1/Digest.hs
+formatted       013d2899cf98  raaz-0.3.11/raaz/bin/Command/Checksum.hs
+formatted       e48fb9bf2977  raaz-0.3.11/raaz/bin/Command/Info.hs
+formatted       ca66430e63a6  raaz-0.3.11/raaz/bin/Command/Rand.hs
+formatted       5e83154f9cbf  raaz-0.3.11/raaz/bin/Main.hs
+formatted       bb0aca2148f4  raaz-0.3.11/raaz/bin/Usage.hs
+formatted       7665a01978ca  raaz-0.3.11/tests/Raaz/Cipher/ChaCha20Spec.hs
+formatted       afa5efe7b2c1  raaz-0.3.11/tests/Raaz/Cipher/XChaCha20Spec.hs
+formatted       578945fef740  raaz-0.3.11/tests/Raaz/Core/ByteSourceSpec.hs
+formatted       f969a2c0640d  raaz-0.3.11/tests/Raaz/Core/EncodeSpec.hs
+formatted       a5cc6d99aed2  raaz-0.3.11/tests/Raaz/Core/MemorySpec.hs
+formatted       45db2fd18e2a  raaz-0.3.11/tests/Raaz/Core/Types/WordSpec.hs
+formatted       7e5358386ea2  raaz-0.3.11/tests/Raaz/Core/Util/ByteStringSpec.hs
+formatted       c41d65f9384f  raaz-0.3.11/tests/Raaz/Digest/Blake2Spec.hs
+formatted       3cffcf2363bb  raaz-0.3.11/tests/Raaz/Digest/Sha256Spec.hs
+formatted       e4a37ad1b86b  raaz-0.3.11/tests/Raaz/Digest/Sha512Spec.hs
+formatted       48edd86c0f44  raaz-0.3.11/tests/Raaz/Mac/Poly1305Spec.hs
+formatted       6cdc5c00b3a8  raaz-0.3.11/tests/Raaz/RandomSpec.hs
+formatted       2fbd14b119a4  raaz-0.3.11/tests/Spec.hs
+formatted       36fb1b7fe904  raaz-0.3.11/tests/auth/Implementation.hsig
+formatted       ae7499e9f1a2  raaz-0.3.11/tests/auth/Tests/Auth.hs
+formatted       5d74098b7bc4  raaz-0.3.11/tests/auth/implementation/Auth/Mac/Blake2b.hs
+formatted       a1f28bb6f512  raaz-0.3.11/tests/auth/implementation/Auth/Mac/Blake2s.hs
+formatted       db6348891198  raaz-0.3.11/tests/auth/implementation/Auth/Poly1305.hs
+formatted       cd2089aa486b  raaz-0.3.11/tests/cipher/Tests/Cipher.hs
+formatted       357283dd143c  raaz-0.3.11/tests/comparative/AuthEncrypt.hs
+formatted       43f231b17c35  raaz-0.3.11/tests/comparative/AuthEncrypt/ChaCha20Poly1305Spec.hs
+formatted       74823f3217a8  raaz-0.3.11/tests/comparative/Compare.hs
+formatted       a56be077ab1a  raaz-0.3.11/tests/comparative/Digest.hs
+formatted       6b72dc0fe972  raaz-0.3.11/tests/comparative/Digest/Blake2bSpec.hs
+formatted       98692c7d783a  raaz-0.3.11/tests/comparative/Digest/Sha256Spec.hs
+formatted       b6c0bb61ddf8  raaz-0.3.11/tests/comparative/Digest/Sha512Spec.hs
+formatted       a5fa5869f401  raaz-0.3.11/tests/comparative/Encrypt.hs
+formatted       6adcfb804b97  raaz-0.3.11/tests/comparative/Encrypt/ChaCha20Spec.hs
+formatted       2fbd14b119a4  raaz-0.3.11/tests/comparative/Main.hs
+formatted       9a4da070ca55  raaz-0.3.11/tests/core/Tests/Core.hs
+formatted       9422a7eac4af  raaz-0.3.11/tests/core/Tests/Core/Imports.hs
+formatted       58461f883000  raaz-0.3.11/tests/core/Tests/Core/Instances.hs
+formatted       7aecfe38253e  raaz-0.3.11/tests/core/Tests/Core/Utils.hs
+formatted       bcc780e22f03  raaz-0.3.11/tests/message-digest/Implementation.hsig
+formatted       2bb252395b85  raaz-0.3.11/tests/message-digest/Tests/Digest.hs
+formatted       4a8ac51676df  random-1.3.1/Setup.hs
+formatted       1d1e5fdf2ba5  random-1.3.1/bench-legacy/BinSearch.hs
+formatted       6ed10ae8e3ec  random-1.3.1/bench-legacy/SimpleRNGBench.hs
+formatted       66b20771134d  random-1.3.1/bench/Main.hs
+formatted       7d99efe4f126  random-1.3.1/src/System/Random.hs
+formatted       777f1be080d7  random-1.3.1/src/System/Random/Array.hs
+formatted       cd970a97f959  random-1.3.1/src/System/Random/GFinite.hs
+formatted       c85b59fee27a  random-1.3.1/src/System/Random/Internal.hs
+formatted       4955e072a5d7  random-1.3.1/src/System/Random/Seed.hs
+formatted       de176ae65032  random-1.3.1/src/System/Random/Stateful.hs
+formatted       f9a02664212c  random-1.3.1/test-inspection/Spec.hs
+formatted       940ae14e3528  random-1.3.1/test-inspection/Spec/Inspection.hs
+formatted       ed91342d3f30  random-1.3.1/test-legacy/Legacy.hs
+formatted       5f9d0657bc19  random-1.3.1/test-legacy/Random1283.hs
+formatted       3254b44d5709  random-1.3.1/test-legacy/RangeTest.hs
+formatted       4f8a5fae34ed  random-1.3.1/test-legacy/T7936.hs
+formatted       15746d11b313  random-1.3.1/test-legacy/TestRandomIOs.hs
+formatted       1bdf3bcfb37b  random-1.3.1/test-legacy/TestRandomRs.hs
+formatted       86cb8fc71be6  random-1.3.1/test/Spec.hs
+formatted       7b41742d00f5  random-1.3.1/test/Spec/Range.hs
+formatted       888d763e4062  random-1.3.1/test/Spec/Run.hs
+formatted       c11436ee0d1c  random-1.3.1/test/Spec/Seed.hs
+formatted       cb95aea289ee  random-1.3.1/test/Spec/Stateful.hs
+formatted       65fb2feadbc2  recursion-schemes-5.2.3/examples/Expr.hs
+formatted       e38c27c06909  recursion-schemes-5.2.3/src/Data/Functor/Base.hs
+formatted       89dabe3c6423  recursion-schemes-5.2.3/src/Data/Functor/Foldable.hs
+formatted       45df5af4758b  recursion-schemes-5.2.3/src/Data/Functor/Foldable/TH.hs
+formatted       0d269a5f8e94  resourcet-1.3.0/Control/Monad/Trans/Resource.hs
+formatted       73b2248448a2  resourcet-1.3.0/Control/Monad/Trans/Resource/Internal.hs
+formatted       709cab444b2f  resourcet-1.3.0/Data/Acquire.hs
+formatted       270d08452834  resourcet-1.3.0/Data/Acquire/Internal.hs
+formatted       3988c20e2ec4  resourcet-1.3.0/UnliftIO/Resource.hs
+formatted       586b394ca57a  resourcet-1.3.0/test/main.hs
+formatted       e865ae48f11b  retry-0.9.3.1/Setup.hs
+formatted       b2441318a8e4  retry-0.9.3.1/src/Control/Retry.hs
+formatted       1d988e54b769  retry-0.9.3.1/src/UnliftIO/Retry.hs
+formatted       61c2359540dc  retry-0.9.3.1/test/Main.hs
+formatted       9f4c97cb5a74  retry-0.9.3.1/test/Tests/Control/Retry.hs
+formatted       c4127a324572  retry-0.9.3.1/test/Tests/UnliftIO/Retry.hs
+formatted       e865ae48f11b  safe-exceptions-0.1.7.4/Setup.hs
+formatted       dac8a6d945e1  safe-exceptions-0.1.7.4/src/Control/Exception/Safe.hs
+formatted       cf608cdf662d  safe-exceptions-0.1.7.4/test/Control/Exception/SafeSpec.hs
+formatted       2fbd14b119a4  safe-exceptions-0.1.7.4/test/Spec.hs
+formatted       e865ae48f11b  scientific-0.3.8.1/Setup.hs
+formatted       9f06fe1e22d8  scientific-0.3.8.1/bench/bench.hs
+formatted       0e97b9d8f2fe  scientific-0.3.8.1/src/Data/ByteString/Builder/Scientific.hs
+formatted       8d0db9c8e1f4  scientific-0.3.8.1/src/Data/Scientific.hs
+formatted       2c85f7dbb2b6  scientific-0.3.8.1/src/Data/Text/Lazy/Builder/Scientific.hs
+formatted       e18e1762aa10  scientific-0.3.8.1/src/GHC/Integer/Compat.hs
+formatted       e7d75f0e69f3  scientific-0.3.8.1/src/Utils.hs
+formatted       de15b5e5ba21  scientific-0.3.8.1/test/test.hs
+formatted       e865ae48f11b  scotty-0.30/Setup.hs
+formatted       7f0fd09ddc6f  scotty-0.30/Web/Scotty.hs
+formatted       1e7756d7d1c4  scotty-0.30/Web/Scotty/Action.hs
+formatted       777e18108cb3  scotty-0.30/Web/Scotty/Body.hs
+formatted       8a51d8a6ceab  scotty-0.30/Web/Scotty/Cookie.hs
+formatted       64add605ec39  scotty-0.30/Web/Scotty/Internal/Types.hs
+formatted       5ec4132219c0  scotty-0.30/Web/Scotty/Route.hs
+formatted       99a58ac913f8  scotty-0.30/Web/Scotty/Session.hs
+formatted       9b2e00821551  scotty-0.30/Web/Scotty/Trans.hs
+formatted       5114214b1356  scotty-0.30/Web/Scotty/Trans/Lazy.hs
+formatted       fe607154f3af  scotty-0.30/Web/Scotty/Trans/Strict.hs
+formatted       38003d5f6722  scotty-0.30/Web/Scotty/Util.hs
+formatted       456de54c3589  scotty-0.30/bench/Main.hs
+formatted       ff18ebd00d97  scotty-0.30/doctest/Main.hs
+formatted       fceb6bf9577b  scotty-0.30/examples/basic.hs
+formatted       ea6cdb12ab18  scotty-0.30/examples/bodyecho.hs
+formatted       639ac88486f8  scotty-0.30/examples/cookies.hs
+formatted       ab6183540498  scotty-0.30/examples/exceptions.hs
+formatted       8c3c57319a5f  scotty-0.30/examples/globalstate.hs
+formatted       3ea88729fec2  scotty-0.30/examples/gzip.hs
+formatted       1ac9c5b5fe69  scotty-0.30/examples/json_mode.hs
+formatted       b54989c382c4  scotty-0.30/examples/middleware.hs
+formatted       f0bd61fa55f8  scotty-0.30/examples/nested.hs
+formatted       29f142ec07dc  scotty-0.30/examples/options.hs
+formatted       345a5f8614ed  scotty-0.30/examples/reader.hs
+formatted       9ed356e11e42  scotty-0.30/examples/session.hs
+formatted       c31fe16e165b  scotty-0.30/examples/upload.hs
+formatted       ce74ba7e7c36  scotty-0.30/examples/urlshortener.hs
+formatted       2fbd14b119a4  scotty-0.30/test/Spec.hs
+formatted       9c5944f5730c  scotty-0.30/test/Test/Hspec/Wai/Extra.hs
+formatted       8cd642c41e69  scotty-0.30/test/Web/ScottySpec.hs
+formatted       39c2f494f300  semigroupoids-6.0.2/src/Data/Bifunctor/Apply.hs
+formatted       4e9b2d947cfb  semigroupoids-6.0.2/src/Data/Functor/Alt.hs
+formatted       d06424020a83  semigroupoids-6.0.2/src/Data/Functor/Apply.hs
+formatted       604acfd221bc  semigroupoids-6.0.2/src/Data/Functor/Bind.hs
+partly-checked  addefaa9dbc6  semigroupoids-6.0.2/src/Data/Functor/Bind/Class.hs
+formatted       516eadb5301e  semigroupoids-6.0.2/src/Data/Functor/Bind/Trans.hs
+formatted       88f23e2b1137  semigroupoids-6.0.2/src/Data/Functor/Contravariant/Conclude.hs
+formatted       2487b7b6283b  semigroupoids-6.0.2/src/Data/Functor/Contravariant/Decide.hs
+formatted       98110f7a2da5  semigroupoids-6.0.2/src/Data/Functor/Contravariant/Divise.hs
+formatted       ed854e7be45e  semigroupoids-6.0.2/src/Data/Functor/Extend.hs
+formatted       1c4eec2c6bd4  semigroupoids-6.0.2/src/Data/Functor/Plus.hs
+formatted       c3d190a2f024  semigroupoids-6.0.2/src/Data/Groupoid.hs
+formatted       b9d7175a92ef  semigroupoids-6.0.2/src/Data/Isomorphism.hs
+formatted       09627c34071c  semigroupoids-6.0.2/src/Data/Semigroup/Bifoldable.hs
+formatted       f6570a4ecbcc  semigroupoids-6.0.2/src/Data/Semigroup/Bitraversable.hs
+formatted       c393228387f5  semigroupoids-6.0.2/src/Data/Semigroup/Foldable.hs
+formatted       e5457a5061c1  semigroupoids-6.0.2/src/Data/Semigroup/Foldable/Class.hs
+formatted       775d4c988488  semigroupoids-6.0.2/src/Data/Semigroup/Traversable.hs
+formatted       55c541474a1a  semigroupoids-6.0.2/src/Data/Semigroup/Traversable/Class.hs
+formatted       1466ef47802d  semigroupoids-6.0.2/src/Data/Semigroupoid.hs
+formatted       03f53e5aadd9  semigroupoids-6.0.2/src/Data/Semigroupoid/Categorical.hs
+formatted       c50b7c140589  semigroupoids-6.0.2/src/Data/Semigroupoid/Dual.hs
+formatted       b83fe2d074ed  semigroupoids-6.0.2/src/Data/Semigroupoid/Ob.hs
+formatted       9977af4b88dd  semigroupoids-6.0.2/src/Data/Semigroupoid/Static.hs
+formatted       4dfe6ffa6d98  semigroupoids-6.0.2/src/Data/Traversable/Instances.hs
+formatted       de163e5c0560  semigroupoids-6.0.2/src/Semigroupoids/Do.hs
+formatted       36cd692fcb55  semigroupoids-6.0.2/src/Semigroupoids/Internal.hs
+formatted       e865ae48f11b  servant-0.20.3.0/Setup.hs
+formatted       dc9c2f8b8f23  servant-0.20.3.0/src/Servant/API.hs
+formatted       5a93b6c6920b  servant-0.20.3.0/src/Servant/API/Alternative.hs
+formatted       75083035f5f7  servant-0.20.3.0/src/Servant/API/BasicAuth.hs
+formatted       67a0fa186634  servant-0.20.3.0/src/Servant/API/Capture.hs
+formatted       7b9b4893c56b  servant-0.20.3.0/src/Servant/API/ContentTypes.hs
+formatted       713e7ce095d4  servant-0.20.3.0/src/Servant/API/Description.hs
+formatted       3529480c44cb  servant-0.20.3.0/src/Servant/API/Empty.hs
+formatted       f5f890f1b91b  servant-0.20.3.0/src/Servant/API/Experimental/Auth.hs
+formatted       b27583864c6e  servant-0.20.3.0/src/Servant/API/Fragment.hs
+formatted       169f4934fb09  servant-0.20.3.0/src/Servant/API/Generic.hs
+formatted       cc89a562377c  servant-0.20.3.0/src/Servant/API/Header.hs
+formatted       a4120f74a189  servant-0.20.3.0/src/Servant/API/Host.hs
+formatted       28ff37015f45  servant-0.20.3.0/src/Servant/API/HttpVersion.hs
+formatted       ffc36b46d798  servant-0.20.3.0/src/Servant/API/IsSecure.hs
+formatted       32360cabdaa1  servant-0.20.3.0/src/Servant/API/Modifiers.hs
+formatted       2ccd221631cf  servant-0.20.3.0/src/Servant/API/MultiVerb.hs
+formatted       56acb7471063  servant-0.20.3.0/src/Servant/API/NamedRoutes.hs
+formatted       e095a96b1a24  servant-0.20.3.0/src/Servant/API/QueryParam.hs
+formatted       b069f58f2ea5  servant-0.20.3.0/src/Servant/API/QueryString.hs
+formatted       8fbe3b9f5ad7  servant-0.20.3.0/src/Servant/API/Range.hs
+formatted       b4ca6686cebd  servant-0.20.3.0/src/Servant/API/Raw.hs
+formatted       bf0e0f5c31f1  servant-0.20.3.0/src/Servant/API/RemoteHost.hs
+formatted       b7bb03038471  servant-0.20.3.0/src/Servant/API/ReqBody.hs
+formatted       4fb1c84b442c  servant-0.20.3.0/src/Servant/API/ResponseHeaders.hs
+formatted       e4c8f1871841  servant-0.20.3.0/src/Servant/API/ServerSentEvents.hs
+formatted       95366981d3e0  servant-0.20.3.0/src/Servant/API/Status.hs
+formatted       02c1876a0b12  servant-0.20.3.0/src/Servant/API/Stream.hs
+formatted       2075b4d49a8e  servant-0.20.3.0/src/Servant/API/Sub.hs
+formatted       e6f720add430  servant-0.20.3.0/src/Servant/API/TypeErrors.hs
+formatted       ac77efba3d46  servant-0.20.3.0/src/Servant/API/TypeLevel.hs
+formatted       c0878f59a227  servant-0.20.3.0/src/Servant/API/TypeLevel/List.hs
+formatted       eb46d7e9160f  servant-0.20.3.0/src/Servant/API/UVerb.hs
+formatted       003858e436c3  servant-0.20.3.0/src/Servant/API/UVerb/Union.hs
+formatted       abf6188d387f  servant-0.20.3.0/src/Servant/API/Vault.hs
+formatted       eb5c1779ee71  servant-0.20.3.0/src/Servant/API/Verbs.hs
+formatted       deda0b809380  servant-0.20.3.0/src/Servant/API/WithNamedContext.hs
+formatted       c8d1802909fc  servant-0.20.3.0/src/Servant/API/WithResource.hs
+formatted       9773a4a5c2a3  servant-0.20.3.0/src/Servant/Links.hs
+formatted       3b4ba851360d  servant-0.20.3.0/src/Servant/Test/ComprehensiveAPI.hs
+formatted       72397d3bb59f  servant-0.20.3.0/src/Servant/Types/Internal/Response.hs
+formatted       246ec28e1830  servant-0.20.3.0/src/Servant/Types/SourceT.hs
+formatted       8c53a8e0c4e9  servant-0.20.3.0/test/Servant/API/ContentTypesSpec.hs
+formatted       66a1917bbe3e  servant-0.20.3.0/test/Servant/API/ResponseHeadersSpec.hs
+formatted       8b1bd008fd01  servant-0.20.3.0/test/Servant/API/StreamSpec.hs
+formatted       e4d6731cd772  servant-0.20.3.0/test/Servant/LinksSpec.hs
+formatted       2fbd14b119a4  servant-0.20.3.0/test/Spec.hs
+formatted       e865ae48f11b  servant-server-0.20.3.0/Setup.hs
+formatted       f8e09bce370c  servant-server-0.20.3.0/example/greet.hs
+formatted       6c49b4364650  servant-server-0.20.3.0/src/Servant.hs
+formatted       bef7e1fdeba3  servant-server-0.20.3.0/src/Servant/Server.hs
+formatted       0105b86e1d64  servant-server-0.20.3.0/src/Servant/Server/Experimental/Auth.hs
+formatted       901d2abbc956  servant-server-0.20.3.0/src/Servant/Server/Generic.hs
+formatted       ab053c5a7513  servant-server-0.20.3.0/src/Servant/Server/Internal.hs
+formatted       10d95f6dd0c4  servant-server-0.20.3.0/src/Servant/Server/Internal/BasicAuth.hs
+formatted       2f73bf667a75  servant-server-0.20.3.0/src/Servant/Server/Internal/Context.hs
+formatted       0b538107f360  servant-server-0.20.3.0/src/Servant/Server/Internal/Delayed.hs
+formatted       38c94fdd152f  servant-server-0.20.3.0/src/Servant/Server/Internal/DelayedIO.hs
+formatted       7e917140da45  servant-server-0.20.3.0/src/Servant/Server/Internal/ErrorFormatter.hs
+formatted       5250556509a2  servant-server-0.20.3.0/src/Servant/Server/Internal/Handler.hs
+formatted       6b787c5204e5  servant-server-0.20.3.0/src/Servant/Server/Internal/ResponseRender.hs
+formatted       837657c0a98c  servant-server-0.20.3.0/src/Servant/Server/Internal/RouteResult.hs
+formatted       f3f4c851828b  servant-server-0.20.3.0/src/Servant/Server/Internal/Router.hs
+formatted       43ce4b010d85  servant-server-0.20.3.0/src/Servant/Server/Internal/RoutingApplication.hs
+formatted       68d2c1ad8a45  servant-server-0.20.3.0/src/Servant/Server/Internal/ServerError.hs
+formatted       b616155a6206  servant-server-0.20.3.0/src/Servant/Server/StaticFiles.hs
+formatted       8e178eac7168  servant-server-0.20.3.0/src/Servant/Server/UVerb.hs
+formatted       d43150f68994  servant-server-0.20.3.0/src/Servant/Utils/StaticFiles.hs
+formatted       9592f96130b1  servant-server-0.20.3.0/test/Servant/ArbitraryMonadServerSpec.hs
+formatted       3255e48e4afc  servant-server-0.20.3.0/test/Servant/HoistSpec.hs
+formatted       a868a4e62c1c  servant-server-0.20.3.0/test/Servant/Server/ErrorSpec.hs
+formatted       d5132be4b1b1  servant-server-0.20.3.0/test/Servant/Server/Internal/ContextSpec.hs
+formatted       7c0a444b3554  servant-server-0.20.3.0/test/Servant/Server/Internal/RoutingApplicationSpec.hs
+formatted       07d6fee8f79c  servant-server-0.20.3.0/test/Servant/Server/RouterSpec.hs
+formatted       bc26d42f0c9a  servant-server-0.20.3.0/test/Servant/Server/StaticFilesSpec.hs
+formatted       20ba4027bc68  servant-server-0.20.3.0/test/Servant/Server/StreamingSpec.hs
+formatted       817dcb40fae6  servant-server-0.20.3.0/test/Servant/Server/UsingContextSpec.hs
+formatted       7e0ade1ccb48  servant-server-0.20.3.0/test/Servant/Server/UsingContextSpec/TestCombinators.hs
+formatted       78cad2983611  servant-server-0.20.3.0/test/Servant/ServerSpec.hs
+formatted       2fbd14b119a4  servant-server-0.20.3.0/test/Spec.hs
+formatted       e865ae48f11b  shake-0.19.9/Setup.hs
+formatted       99d6aa77ded4  shake-0.19.9/docs/manual/Shakefile.hs
+formatted       be591a9c5ef5  shake-0.19.9/src/Development/Ninja/All.hs
+formatted       3104f3ca6fe0  shake-0.19.9/src/Development/Ninja/Env.hs
+formatted       3ae44a58adfd  shake-0.19.9/src/Development/Ninja/Lexer.hs
+formatted       91363ffdc93d  shake-0.19.9/src/Development/Ninja/Parse.hs
+formatted       19572b69b6cd  shake-0.19.9/src/Development/Ninja/Type.hs
+formatted       6696a777e9ba  shake-0.19.9/src/Development/Shake.hs
+formatted       6abc5aa00667  shake-0.19.9/src/Development/Shake/Classes.hs
+formatted       6b60862837ba  shake-0.19.9/src/Development/Shake/Command.hs
+formatted       fd4443ecb2bb  shake-0.19.9/src/Development/Shake/Config.hs
+formatted       5f07475ed93d  shake-0.19.9/src/Development/Shake/Database.hs
+formatted       ef3927475a6f  shake-0.19.9/src/Development/Shake/FilePath.hs
+formatted       df7c2c47a656  shake-0.19.9/src/Development/Shake/Forward.hs
+formatted       4ed19ac28e7d  shake-0.19.9/src/Development/Shake/Internal/Args.hs
+formatted       176c017dbbd9  shake-0.19.9/src/Development/Shake/Internal/CmdOption.hs
+formatted       291a2f3ae960  shake-0.19.9/src/Development/Shake/Internal/CompactUI.hs
+formatted       149c5b7de96e  shake-0.19.9/src/Development/Shake/Internal/Core/Action.hs
+formatted       f034532142d1  shake-0.19.9/src/Development/Shake/Internal/Core/Build.hs
+formatted       608f1acc17ef  shake-0.19.9/src/Development/Shake/Internal/Core/Database.hs
+formatted       153b9ef4dc46  shake-0.19.9/src/Development/Shake/Internal/Core/Monad.hs
+formatted       50f45cd2567f  shake-0.19.9/src/Development/Shake/Internal/Core/Pool.hs
+formatted       6517c048a5e8  shake-0.19.9/src/Development/Shake/Internal/Core/Rules.hs
+formatted       b06b55e03d83  shake-0.19.9/src/Development/Shake/Internal/Core/Run.hs
+formatted       1ee529bea7aa  shake-0.19.9/src/Development/Shake/Internal/Core/Storage.hs
+formatted       40c380ef52f2  shake-0.19.9/src/Development/Shake/Internal/Core/Types.hs
+formatted       9ea3010f4647  shake-0.19.9/src/Development/Shake/Internal/Demo.hs
+formatted       91a429457138  shake-0.19.9/src/Development/Shake/Internal/Derived.hs
+formatted       1a383a017813  shake-0.19.9/src/Development/Shake/Internal/Errors.hs
+declined        -             shake-0.19.9/src/Development/Shake/Internal/FileInfo.hs
+formatted       791a94a44dcd  shake-0.19.9/src/Development/Shake/Internal/FileName.hs
+formatted       90d14e08d5c2  shake-0.19.9/src/Development/Shake/Internal/FilePattern.hs
+formatted       76ac7de4dee8  shake-0.19.9/src/Development/Shake/Internal/History/Bloom.hs
+formatted       4b75f78c54d2  shake-0.19.9/src/Development/Shake/Internal/History/Cloud.hs
+formatted       b8cb6baf886e  shake-0.19.9/src/Development/Shake/Internal/History/Network.hs
+formatted       797c4bb30452  shake-0.19.9/src/Development/Shake/Internal/History/Serialise.hs
+formatted       764356b1be58  shake-0.19.9/src/Development/Shake/Internal/History/Server.hs
+formatted       a5a1589437bc  shake-0.19.9/src/Development/Shake/Internal/History/Shared.hs
+declined        -             shake-0.19.9/src/Development/Shake/Internal/History/Symlink.hs
+formatted       ac6db3f9abb8  shake-0.19.9/src/Development/Shake/Internal/History/Types.hs
+formatted       ff3979757fc0  shake-0.19.9/src/Development/Shake/Internal/Options.hs
+formatted       46fcee32a941  shake-0.19.9/src/Development/Shake/Internal/Paths.hs
+formatted       b54cb5401e9e  shake-0.19.9/src/Development/Shake/Internal/Profile.hs
+declined        -             shake-0.19.9/src/Development/Shake/Internal/Progress.hs
+formatted       e918fa2901cd  shake-0.19.9/src/Development/Shake/Internal/Resource.hs
+formatted       5733144919c3  shake-0.19.9/src/Development/Shake/Internal/Rules/Default.hs
+formatted       23bf57e5a681  shake-0.19.9/src/Development/Shake/Internal/Rules/Directory.hs
+formatted       daf0cd38ab26  shake-0.19.9/src/Development/Shake/Internal/Rules/File.hs
+formatted       3405d41aab9a  shake-0.19.9/src/Development/Shake/Internal/Rules/Files.hs
+formatted       f77d92369f3c  shake-0.19.9/src/Development/Shake/Internal/Rules/Oracle.hs
+formatted       e2b671039de1  shake-0.19.9/src/Development/Shake/Internal/Rules/OrderOnly.hs
+formatted       ea7f3996cc25  shake-0.19.9/src/Development/Shake/Internal/Rules/Rerun.hs
+formatted       22604c87b01f  shake-0.19.9/src/Development/Shake/Internal/Value.hs
+formatted       4f57cc655ba3  shake-0.19.9/src/Development/Shake/Rule.hs
+formatted       53d2bbb96add  shake-0.19.9/src/Development/Shake/Util.hs
+formatted       cbfcd5456f58  shake-0.19.9/src/General/Bilist.hs
+formatted       4fef5a08874a  shake-0.19.9/src/General/Binary.hs
+formatted       d0a46e9890af  shake-0.19.9/src/General/Chunks.hs
+formatted       fb1b7646a4f6  shake-0.19.9/src/General/Cleanup.hs
+declined        -             shake-0.19.9/src/General/EscCodes.hs
+formatted       b58decef91bf  shake-0.19.9/src/General/Extra.hs
+formatted       16b877d46bd4  shake-0.19.9/src/General/Fence.hs
+declined        -             shake-0.19.9/src/General/FileLock.hs
+formatted       b5a7bf757360  shake-0.19.9/src/General/GetOpt.hs
+formatted       a19f7869c8a4  shake-0.19.9/src/General/Ids.hs
+formatted       13ff707438df  shake-0.19.9/src/General/Intern.hs
+formatted       fdae30466e09  shake-0.19.9/src/General/ListBuilder.hs
+formatted       d30eadc48d0e  shake-0.19.9/src/General/Makefile.hs
+formatted       2d273951537a  shake-0.19.9/src/General/Pool.hs
+formatted       27b15cae8762  shake-0.19.9/src/General/Process.hs
+formatted       aee9618cf240  shake-0.19.9/src/General/Template.hs
+formatted       239b4c8a33b6  shake-0.19.9/src/General/Thread.hs
+formatted       7ca0853d8138  shake-0.19.9/src/General/Timing.hs
+formatted       c3c52d996563  shake-0.19.9/src/General/TypeMap.hs
+formatted       b57b1fb86ee7  shake-0.19.9/src/General/Wait.hs
+formatted       4743f12ee1b5  shake-0.19.9/src/Paths.hs
+formatted       e92fc250f20c  shake-0.19.9/src/Run.hs
+formatted       0d8a1327ad29  shake-0.19.9/src/Test.hs
+formatted       68d0bfec3d8e  shake-0.19.9/src/Test/Basic.hs
+formatted       12f1bbb10a00  shake-0.19.9/src/Test/Batch.hs
+formatted       cda77cbe5b62  shake-0.19.9/src/Test/Benchmark.hs
+formatted       ee4ddb18d898  shake-0.19.9/src/Test/Builtin.hs
+formatted       52dd9c630a26  shake-0.19.9/src/Test/BuiltinOverride.hs
+formatted       10efc06e6c7b  shake-0.19.9/src/Test/C.hs
+formatted       59de415295a8  shake-0.19.9/src/Test/Cache.hs
+formatted       835905e0b956  shake-0.19.9/src/Test/Cleanup.hs
+formatted       a60a21cdca1b  shake-0.19.9/src/Test/CloseFileHandles.hs
+formatted       51e9041bd1b5  shake-0.19.9/src/Test/Command.hs
+formatted       5dc5410b2941  shake-0.19.9/src/Test/Config.hs
+formatted       95f8ecfc746b  shake-0.19.9/src/Test/Database.hs
+formatted       f05d4d787d64  shake-0.19.9/src/Test/Digest.hs
+formatted       c7bb8202f908  shake-0.19.9/src/Test/Directory.hs
+formatted       89a5ba227c75  shake-0.19.9/src/Test/Docs.hs
+formatted       5369bdb302a2  shake-0.19.9/src/Test/Errors.hs
+formatted       3fabc04a6f83  shake-0.19.9/src/Test/Existence.hs
+formatted       ae623417f0a0  shake-0.19.9/src/Test/FileLock.hs
+formatted       c7071d48f5fb  shake-0.19.9/src/Test/FilePath.hs
+formatted       7f59ee2bc8a1  shake-0.19.9/src/Test/FilePattern.hs
+formatted       19ff52358df9  shake-0.19.9/src/Test/Files.hs
+formatted       00238e524ed4  shake-0.19.9/src/Test/Forward.hs
+formatted       c1753f33cfce  shake-0.19.9/src/Test/History.hs
+formatted       3ea2b85bae0a  shake-0.19.9/src/Test/Journal.hs
+formatted       a12bfee68c9d  shake-0.19.9/src/Test/Lint.hs
+formatted       abb6b38a5148  shake-0.19.9/src/Test/Live.hs
+formatted       482a66b5822f  shake-0.19.9/src/Test/Manual.hs
+formatted       0ea86eab061d  shake-0.19.9/src/Test/Match.hs
+formatted       b77542ca9577  shake-0.19.9/src/Test/Monad.hs
+formatted       d6836101812f  shake-0.19.9/src/Test/Ninja.hs
+formatted       4d0dc8298e2a  shake-0.19.9/src/Test/Oracle.hs
+formatted       23348bbc2ee2  shake-0.19.9/src/Test/OrderOnly.hs
+formatted       2bc45cbd9b1d  shake-0.19.9/src/Test/Parallel.hs
+formatted       80e1ba4f2646  shake-0.19.9/src/Test/Pool.hs
+formatted       a8c2d5ab4eae  shake-0.19.9/src/Test/Progress.hs
+formatted       ad11fa0c201f  shake-0.19.9/src/Test/Random.hs
+formatted       cc32ca78bb46  shake-0.19.9/src/Test/Rebuild.hs
+formatted       685ecba8ab37  shake-0.19.9/src/Test/Reschedule.hs
+formatted       e36c592b6882  shake-0.19.9/src/Test/Resources.hs
+formatted       e0a8198793d7  shake-0.19.9/src/Test/Self.hs
+formatted       52562f1d422d  shake-0.19.9/src/Test/SelfMake.hs
+formatted       c537498f3ea3  shake-0.19.9/src/Test/Tar.hs
+formatted       010efc5cef7a  shake-0.19.9/src/Test/Targets.hs
+formatted       8f9aa0d70852  shake-0.19.9/src/Test/Thread.hs
+formatted       47c6016136f7  shake-0.19.9/src/Test/Tup.hs
+formatted       7ccd828051c1  shake-0.19.9/src/Test/Type.hs
+formatted       cc6ae33d52a7  shake-0.19.9/src/Test/Unicode.hs
+formatted       1be0856e3dfc  shake-0.19.9/src/Test/Util.hs
+formatted       6649fd7b7e4a  shake-0.19.9/src/Test/Verbosity.hs
+formatted       f062d6f30f44  shake-0.19.9/src/Test/Version.hs
+formatted       e865ae48f11b  singletons-3.0.4/Setup.hs
+partly-checked  962c7fb47600  singletons-3.0.4/src/Data/Singletons.hs
+formatted       1f43c1784c08  singletons-3.0.4/src/Data/Singletons/Decide.hs
+formatted       0e190cc5ffa2  singletons-3.0.4/src/Data/Singletons/ShowSing.hs
+formatted       4413e3203cbd  singletons-3.0.4/src/Data/Singletons/Sigma.hs
+formatted       e83341ad90e6  singletons-3.0.4/tests/ByHand.hs
+formatted       897f1c9e6199  singletons-3.0.4/tests/ByHand2.hs
+formatted       92855df34052  singletons-3.0.4/tests/SingletonsTestSuite.hs
+formatted       a7151db2ed5c  split-0.2.5/src/Data/List/Split.hs
+formatted       53271e364a5d  split-0.2.5/src/Data/List/Split/Internals.hs
+formatted       a2f915b99f25  split-0.2.5/test/Properties.hs
+formatted       e865ae48f11b  stack-9.9.9/Setup.hs
+formatted       e865ae48f11b  stack-9.9.9/new-template/Setup.hs
+formatted       76b6ff5a6856  stack-9.9.9/new-template/app/Main.hs
+formatted       b206a21d3b3c  stack-9.9.9/new-template/src/Lib.hs
+formatted       ef8d1c0c14bd  stack-9.9.9/new-template/test/Spec.hs
+formatted       6d2d86c07654  stack-9.9.9/src/Control/Concurrent/Execute.hs
+formatted       cdb4a9a9d41c  stack-9.9.9/src/Data/Aeson/Extended.hs
+formatted       45b24cbb6885  stack-9.9.9/src/Data/Attoparsec/Args.hs
+formatted       913cdd2c33ff  stack-9.9.9/src/Data/Attoparsec/Combinators.hs
+formatted       1b9de159f68b  stack-9.9.9/src/Data/Binary/VersionTagged.hs
+formatted       539c0ec149f1  stack-9.9.9/src/Data/Maybe/Extra.hs
+formatted       8740a5fcb2ef  stack-9.9.9/src/Data/Set/Monad.hs
+formatted       b5584267d823  stack-9.9.9/src/Network/HTTP/Download.hs
+formatted       a66dbd31d15e  stack-9.9.9/src/Network/HTTP/Download/Verified.hs
+formatted       aad3983452c8  stack-9.9.9/src/Options/Applicative/Args.hs
+formatted       61140baf34e6  stack-9.9.9/src/Options/Applicative/Builder/Extra.hs
+formatted       a2f5c667a6f7  stack-9.9.9/src/Path/Find.hs
+formatted       1168ad36e3f1  stack-9.9.9/src/Path/IO.hs
+formatted       18c09dc7acdb  stack-9.9.9/src/Stack/Build.hs
+formatted       38642bfeb560  stack-9.9.9/src/Stack/Build/Cache.hs
+formatted       a8a89466c594  stack-9.9.9/src/Stack/Build/ConstructPlan.hs
+formatted       a9acb9d16343  stack-9.9.9/src/Stack/Build/Execute.hs
+formatted       2db370a1b266  stack-9.9.9/src/Stack/Build/Haddock.hs
+formatted       b948420f8ea6  stack-9.9.9/src/Stack/Build/Installed.hs
+formatted       0b2f65b3a8be  stack-9.9.9/src/Stack/Build/Source.hs
+formatted       8601a284cf72  stack-9.9.9/src/Stack/Build/Types.hs
+formatted       9480ce0d18ed  stack-9.9.9/src/Stack/BuildPlan.hs
+formatted       fc59468827fd  stack-9.9.9/src/Stack/Config.hs
+formatted       5ed0ed47730d  stack-9.9.9/src/Stack/Constants.hs
+formatted       7ecc2e6d6a1d  stack-9.9.9/src/Stack/Docker.hs
+formatted       8a93e8d7e9fc  stack-9.9.9/src/Stack/Docker/GlobalDB.hs
+formatted       7a8ae911c26e  stack-9.9.9/src/Stack/Dot.hs
+formatted       004dc989b34b  stack-9.9.9/src/Stack/Exec.hs
+formatted       28b876f2c639  stack-9.9.9/src/Stack/Fetch.hs
+formatted       e89b9b0b1aca  stack-9.9.9/src/Stack/GhcPkg.hs
+formatted       5bc5d419232f  stack-9.9.9/src/Stack/Init.hs
+formatted       d066d421dce4  stack-9.9.9/src/Stack/New.hs
+formatted       1f6e2990ef3b  stack-9.9.9/src/Stack/Package.hs
+formatted       3c1d6931eaee  stack-9.9.9/src/Stack/PackageDump.hs
+formatted       435f067ef847  stack-9.9.9/src/Stack/PackageIndex.hs
+formatted       8da661e22068  stack-9.9.9/src/Stack/Repl.hs
+formatted       770d356494d2  stack-9.9.9/src/Stack/Setup.hs
+formatted       1866471a85b2  stack-9.9.9/src/Stack/Solver.hs
+formatted       ebbf896669e4  stack-9.9.9/src/Stack/Types.hs
+formatted       15a4611e2aac  stack-9.9.9/src/Stack/Types/BuildPlan.hs
+formatted       7d456584e0b2  stack-9.9.9/src/Stack/Types/Config.hs
+formatted       5fe8a35cdffd  stack-9.9.9/src/Stack/Types/Docker.hs
+formatted       9f0136551f06  stack-9.9.9/src/Stack/Types/FlagName.hs
+formatted       ed75aab86b8e  stack-9.9.9/src/Stack/Types/GhcPkgId.hs
+formatted       6e611a44d21d  stack-9.9.9/src/Stack/Types/Internal.hs
+formatted       b8ce98452866  stack-9.9.9/src/Stack/Types/PackageIdentifier.hs
+formatted       59d83cad7bd7  stack-9.9.9/src/Stack/Types/PackageName.hs
+formatted       1fde0363b1e4  stack-9.9.9/src/Stack/Types/StackT.hs
+formatted       697dd4e0635a  stack-9.9.9/src/Stack/Types/Version.hs
+formatted       307ec206b939  stack-9.9.9/src/Stack/Upgrade.hs
+formatted       9e94cb75f4b4  stack-9.9.9/src/Stack/Upload.hs
+formatted       d4c304f74be5  stack-9.9.9/src/System/Process/Log.hs
+formatted       1f8b199f249f  stack-9.9.9/src/System/Process/PagerEditor.hs
+formatted       414d83caa8c2  stack-9.9.9/src/System/Process/Read.hs
+formatted       0bb13c63a75c  stack-9.9.9/src/System/Process/Run.hs
+formatted       5110addb8b6a  stack-9.9.9/src/main/Main.hs
+formatted       70599fbd30e3  stack-9.9.9/src/main/Plugins.hs
+formatted       507ba6c57363  stack-9.9.9/src/main/Plugins/Commands.hs
+formatted       65c8c298f7aa  stack-9.9.9/src/test/Spec.hs
+formatted       6f9f091d1492  stack-9.9.9/src/test/Stack/ArgsSpec.hs
+formatted       6ec31877c3eb  stack-9.9.9/src/test/Stack/Build/ExecuteSpec.hs
+formatted       633863204068  stack-9.9.9/src/test/Stack/BuildPlanSpec.hs
+formatted       cd0aa2e23c49  stack-9.9.9/src/test/Stack/ConfigSpec.hs
+formatted       c7fbc3921153  stack-9.9.9/src/test/Stack/PackageDumpSpec.hs
+formatted       907244e8d09d  stack-9.9.9/src/test/Test.hs
+formatted       53953d153dfa  stack-9.9.9/test/integration/Spec.hs
+formatted       7f15d8bb9437  statistics-0.16.5.0/Statistics/Autocorrelation.hs
+formatted       551a19b3d9ca  statistics-0.16.5.0/Statistics/ConfidenceInt.hs
+formatted       139072c1de9d  statistics-0.16.5.0/Statistics/Correlation.hs
+formatted       b8231a6d9b12  statistics-0.16.5.0/Statistics/Correlation/Kendall.hs
+formatted       12499c62c6ab  statistics-0.16.5.0/Statistics/Distribution.hs
+formatted       c2d36c2771d4  statistics-0.16.5.0/Statistics/Distribution/Beta.hs
+formatted       fdc85c32b550  statistics-0.16.5.0/Statistics/Distribution/Binomial.hs
+formatted       17961dc33b75  statistics-0.16.5.0/Statistics/Distribution/CauchyLorentz.hs
+formatted       cb802cd81452  statistics-0.16.5.0/Statistics/Distribution/ChiSquared.hs
+formatted       133376a9d18e  statistics-0.16.5.0/Statistics/Distribution/DiscreteUniform.hs
+formatted       8090bcb1b95f  statistics-0.16.5.0/Statistics/Distribution/Exponential.hs
+formatted       7dd83ec4d3cf  statistics-0.16.5.0/Statistics/Distribution/FDistribution.hs
+formatted       49a0b7f4a25c  statistics-0.16.5.0/Statistics/Distribution/Gamma.hs
+formatted       9b08e0c29e8b  statistics-0.16.5.0/Statistics/Distribution/Geometric.hs
+formatted       7e0026224a2e  statistics-0.16.5.0/Statistics/Distribution/Hypergeometric.hs
+formatted       cae86fd35495  statistics-0.16.5.0/Statistics/Distribution/Laplace.hs
+formatted       5ae42307ec11  statistics-0.16.5.0/Statistics/Distribution/Lognormal.hs
+formatted       bdd24dd07298  statistics-0.16.5.0/Statistics/Distribution/NegativeBinomial.hs
+formatted       69494a7a0f33  statistics-0.16.5.0/Statistics/Distribution/Normal.hs
+formatted       af36458d5654  statistics-0.16.5.0/Statistics/Distribution/Poisson.hs
+formatted       60fbd56ffc90  statistics-0.16.5.0/Statistics/Distribution/Poisson/Internal.hs
+formatted       4db333d7156f  statistics-0.16.5.0/Statistics/Distribution/StudentT.hs
+formatted       b41bcacb3fc9  statistics-0.16.5.0/Statistics/Distribution/Transform.hs
+formatted       0a985d6bd629  statistics-0.16.5.0/Statistics/Distribution/Uniform.hs
+formatted       fd1ca4aa1633  statistics-0.16.5.0/Statistics/Distribution/Weibull.hs
+formatted       0092f199ceb9  statistics-0.16.5.0/Statistics/Function.hs
+formatted       fa27f6922d09  statistics-0.16.5.0/Statistics/Internal.hs
+formatted       f745e222a8ec  statistics-0.16.5.0/Statistics/Quantile.hs
+formatted       97502227600a  statistics-0.16.5.0/Statistics/Regression.hs
+formatted       e1a1697e09e6  statistics-0.16.5.0/Statistics/Resampling.hs
+formatted       04c34003f3d3  statistics-0.16.5.0/Statistics/Resampling/Bootstrap.hs
+formatted       5b303a714da4  statistics-0.16.5.0/Statistics/Sample.hs
+formatted       473029e8d097  statistics-0.16.5.0/Statistics/Sample/Histogram.hs
+formatted       b73f3f63795f  statistics-0.16.5.0/Statistics/Sample/Internal.hs
+formatted       42273746a685  statistics-0.16.5.0/Statistics/Sample/KernelDensity.hs
+formatted       899a373142a6  statistics-0.16.5.0/Statistics/Sample/KernelDensity/Simple.hs
+formatted       cb0215c9cf8b  statistics-0.16.5.0/Statistics/Sample/Normalize.hs
+formatted       67fcc5ca8ad6  statistics-0.16.5.0/Statistics/Sample/Powers.hs
+formatted       c094d78d0565  statistics-0.16.5.0/Statistics/Test/Bartlett.hs
+formatted       833c8db516fb  statistics-0.16.5.0/Statistics/Test/ChiSquared.hs
+formatted       167458284ee7  statistics-0.16.5.0/Statistics/Test/Internal.hs
+formatted       01be6f939590  statistics-0.16.5.0/Statistics/Test/KolmogorovSmirnov.hs
+formatted       3f0cf9a57582  statistics-0.16.5.0/Statistics/Test/KruskalWallis.hs
+formatted       32a26dbf0bad  statistics-0.16.5.0/Statistics/Test/Levene.hs
+formatted       3558b4d1d211  statistics-0.16.5.0/Statistics/Test/MannWhitneyU.hs
+formatted       e9c574774fd1  statistics-0.16.5.0/Statistics/Test/StudentT.hs
+formatted       80c67ec58cb7  statistics-0.16.5.0/Statistics/Test/Types.hs
+formatted       375f3613ae9f  statistics-0.16.5.0/Statistics/Test/WilcoxonT.hs
+formatted       7c9d5bd845cc  statistics-0.16.5.0/Statistics/Transform.hs
+formatted       9f377fad1493  statistics-0.16.5.0/Statistics/Types.hs
+formatted       f071cb4c4814  statistics-0.16.5.0/Statistics/Types/Internal.hs
+formatted       b5402a2dc355  statistics-0.16.5.0/bench-papi/Bench.hs
+formatted       3963835f0889  statistics-0.16.5.0/bench-time/Bench.hs
+formatted       1cb462c9f965  statistics-0.16.5.0/benchmark/Main.hs
+formatted       9a483572bbdd  statistics-0.16.5.0/examples/kde/KDE.hs
+formatted       dcea40eeb511  statistics-0.16.5.0/tests/Tests/ApproxEq.hs
+formatted       8d9d90192a4c  statistics-0.16.5.0/tests/Tests/Correlation.hs
+formatted       3149863eda5a  statistics-0.16.5.0/tests/Tests/Distribution.hs
+formatted       3bbcdb7126e5  statistics-0.16.5.0/tests/Tests/ExactDistribution.hs
+formatted       3b13d8b7acb1  statistics-0.16.5.0/tests/Tests/Function.hs
+formatted       e0e134ce40b5  statistics-0.16.5.0/tests/Tests/Helpers.hs
+formatted       eec4926cbf08  statistics-0.16.5.0/tests/Tests/KDE.hs
+formatted       944d9c4fde7f  statistics-0.16.5.0/tests/Tests/Matrix.hs
+formatted       a2db90ac466f  statistics-0.16.5.0/tests/Tests/Matrix/Types.hs
+formatted       5e490b6da670  statistics-0.16.5.0/tests/Tests/NonParametric.hs
+formatted       4d0172724882  statistics-0.16.5.0/tests/Tests/NonParametric/Table.hs
+formatted       0b7bbabf0b5b  statistics-0.16.5.0/tests/Tests/Orphanage.hs
+formatted       aa19adb97a1a  statistics-0.16.5.0/tests/Tests/Parametric.hs
+formatted       a5063a5edf33  statistics-0.16.5.0/tests/Tests/Quantile.hs
+formatted       1a21f2695cf5  statistics-0.16.5.0/tests/Tests/Serialization.hs
+formatted       1689f5ad5b95  statistics-0.16.5.0/tests/Tests/Transform.hs
+formatted       55f699624c9d  statistics-0.16.5.0/tests/doctest.hs
+formatted       539d61a8ba32  statistics-0.16.5.0/tests/tests.hs
+formatted       1bb08cb4e83d  stm-2.5.3.1/Control/Concurrent/STM.hs
+formatted       2acc0cf4ac47  stm-2.5.3.1/Control/Concurrent/STM/TArray.hs
+formatted       f5a8b62956b1  stm-2.5.3.1/Control/Concurrent/STM/TBQueue.hs
+formatted       361afea0c2f4  stm-2.5.3.1/Control/Concurrent/STM/TChan.hs
+formatted       8d72d6b887c9  stm-2.5.3.1/Control/Concurrent/STM/TMVar.hs
+formatted       c7c27ccf3477  stm-2.5.3.1/Control/Concurrent/STM/TQueue.hs
+formatted       e4efe9ba5ef1  stm-2.5.3.1/Control/Concurrent/STM/TSem.hs
+formatted       629148f16314  stm-2.5.3.1/Control/Concurrent/STM/TVar.hs
+partly-checked  ca29dee6bb26  stm-2.5.3.1/Control/Monad/STM.hs
+formatted       3de3c6872448  stm-2.5.3.1/Control/Sequential/STM.hs
+formatted       7474b7e1d4f5  stm-2.5.3.1/Setup.hs
+formatted       3356f52ee0d6  stm-2.5.3.1/testsuite/src/Issue17.hs
+formatted       c3343c4d48cb  stm-2.5.3.1/testsuite/src/Issue9.hs
+formatted       c33b4a6893eb  stm-2.5.3.1/testsuite/src/Main.hs
+formatted       5a7bdca5eb2f  stm-2.5.3.1/testsuite/src/Stm052.hs
+formatted       9b30ce222d29  stm-2.5.3.1/testsuite/src/Stm064.hs
+formatted       0f86f9b94d82  stm-2.5.3.1/testsuite/src/Stm065.hs
+formatted       0872066614e0  swagger2-2.9.1/Setup.hs
+formatted       e23410700808  swagger2-2.9.1/examples/hackage.hs
+formatted       fba7aecee46c  swagger2-2.9.1/src/Data/HashMap/Strict/InsOrd/Compat.hs
+formatted       d71d272f220f  swagger2-2.9.1/src/Data/Swagger.hs
+formatted       a93d5941b687  swagger2-2.9.1/src/Data/Swagger/Declare.hs
+formatted       65ac5578477d  swagger2-2.9.1/src/Data/Swagger/Internal.hs
+formatted       11d7b862d89b  swagger2-2.9.1/src/Data/Swagger/Internal/AesonUtils.hs
+formatted       443146f7c925  swagger2-2.9.1/src/Data/Swagger/Internal/ParamSchema.hs
+formatted       61049adcb403  swagger2-2.9.1/src/Data/Swagger/Internal/Schema.hs
+formatted       f724d15becf2  swagger2-2.9.1/src/Data/Swagger/Internal/Schema/Validation.hs
+formatted       0ebd5dfe130a  swagger2-2.9.1/src/Data/Swagger/Internal/TypeShape.hs
+formatted       e6760aa4eecc  swagger2-2.9.1/src/Data/Swagger/Internal/Utils.hs
+formatted       4d4d1e5aaf2c  swagger2-2.9.1/src/Data/Swagger/Lens.hs
+formatted       7a4500c058ed  swagger2-2.9.1/src/Data/Swagger/Operation.hs
+formatted       3affa6c514e5  swagger2-2.9.1/src/Data/Swagger/Optics.hs
+formatted       b74d3f8d9ea4  swagger2-2.9.1/src/Data/Swagger/ParamSchema.hs
+formatted       19a9a7c3a0de  swagger2-2.9.1/src/Data/Swagger/Schema.hs
+formatted       c826dab74f26  swagger2-2.9.1/src/Data/Swagger/Schema/Generator.hs
+formatted       7770e1fe2353  swagger2-2.9.1/src/Data/Swagger/Schema/Validation.hs
+formatted       2fd313eb8746  swagger2-2.9.1/src/Data/Swagger/SchemaOptions.hs
+formatted       2a752941458e  swagger2-2.9.1/test/Data/Swagger/CommonTestTypes.hs
+formatted       353981998e49  swagger2-2.9.1/test/Data/Swagger/ParamSchemaSpec.hs
+formatted       01ad21ba6c2a  swagger2-2.9.1/test/Data/Swagger/Schema/GeneratorSpec.hs
+formatted       52831dd138ad  swagger2-2.9.1/test/Data/Swagger/Schema/ValidationSpec.hs
+formatted       4f09074e5695  swagger2-2.9.1/test/Data/Swagger/SchemaSpec.hs
+formatted       795be234156a  swagger2-2.9.1/test/Data/SwaggerSpec.hs
+formatted       2fbd14b119a4  swagger2-2.9.1/test/Spec.hs
+formatted       709f9d7829c1  swagger2-2.9.1/test/SpecCommon.hs
+formatted       cc17d35cb01d  swagger2-2.9.1/test/doctests.hs
+formatted       9d41131c6a40  tasty-1.5.4/Control/Concurrent/Async.hs
+formatted       e865ae48f11b  tasty-1.5.4/Setup.hs
+formatted       d521f3d8a816  tasty-1.5.4/Test/Tasty.hs
+formatted       5dd3a3cd126c  tasty-1.5.4/Test/Tasty/CmdLine.hs
+formatted       a6695920ab3e  tasty-1.5.4/Test/Tasty/Core.hs
+formatted       0fa70103737f  tasty-1.5.4/Test/Tasty/Ingredients.hs
+formatted       9e13d30f1aac  tasty-1.5.4/Test/Tasty/Ingredients/Basic.hs
+formatted       f8f6826e00a6  tasty-1.5.4/Test/Tasty/Ingredients/ConsoleReporter.hs
+formatted       8c6cf8ae3d46  tasty-1.5.4/Test/Tasty/Ingredients/IncludingOptions.hs
+formatted       28560ba9186d  tasty-1.5.4/Test/Tasty/Ingredients/ListTests.hs
+formatted       69b67520fc12  tasty-1.5.4/Test/Tasty/Options.hs
+formatted       853254048750  tasty-1.5.4/Test/Tasty/Options/Core.hs
+formatted       8d3457b04336  tasty-1.5.4/Test/Tasty/Options/Env.hs
+formatted       9fc4ebb49fb2  tasty-1.5.4/Test/Tasty/Parallel.hs
+formatted       9f2b823cd031  tasty-1.5.4/Test/Tasty/Patterns.hs
+formatted       5abd1bd89534  tasty-1.5.4/Test/Tasty/Patterns/Eval.hs
+formatted       fb70aca839d6  tasty-1.5.4/Test/Tasty/Patterns/Expr.hs
+formatted       6d5313c0596c  tasty-1.5.4/Test/Tasty/Patterns/Parser.hs
+formatted       a349d551b4c8  tasty-1.5.4/Test/Tasty/Patterns/Printer.hs
+formatted       76352e15e8e6  tasty-1.5.4/Test/Tasty/Patterns/Types.hs
+formatted       7c4c699efca4  tasty-1.5.4/Test/Tasty/Providers.hs
+formatted       1e9dd494aa0d  tasty-1.5.4/Test/Tasty/Providers/ConsoleFormat.hs
+formatted       0ee8295e565f  tasty-1.5.4/Test/Tasty/Run.hs
+formatted       cb5862c8ea8c  tasty-1.5.4/Test/Tasty/Runners.hs
+formatted       2c4ed662a3db  tasty-1.5.4/Test/Tasty/Runners/Reducers.hs
+formatted       9fc04c62f422  tasty-1.5.4/Test/Tasty/Runners/Utils.hs
+formatted       e865ae48f11b  tensorflow-0.2.0.1/Setup.hs
+formatted       e63bd425042e  tensorflow-0.2.0.1/src/TensorFlow/Build.hs
+formatted       ab1e70dbd0a6  tensorflow-0.2.0.1/src/TensorFlow/BuildOp.hs
+formatted       22a2c54d92a5  tensorflow-0.2.0.1/src/TensorFlow/ControlFlow.hs
+formatted       4cc5cc869f78  tensorflow-0.2.0.1/src/TensorFlow/Core.hs
+formatted       9ca68ff80b0b  tensorflow-0.2.0.1/src/TensorFlow/Internal/FFI.hs
+formatted       62d7a0995301  tensorflow-0.2.0.1/src/TensorFlow/Internal/VarInt.hs
+formatted       e862ca6fbe02  tensorflow-0.2.0.1/src/TensorFlow/Nodes.hs
+formatted       a73f3c6a75dd  tensorflow-0.2.0.1/src/TensorFlow/Output.hs
+formatted       517569411ee4  tensorflow-0.2.0.1/src/TensorFlow/Session.hs
+formatted       bea3d51b7268  tensorflow-0.2.0.1/src/TensorFlow/Tensor.hs
+formatted       c163dfd52e68  tensorflow-0.2.0.1/src/TensorFlow/Types.hs
+formatted       9f9ed33ca3fa  tensorflow-0.2.0.1/tests/FFITest.hs
+formatted       8fd3e48bf765  tensorflow-0.2.0.1/tests/VarIntTest.hs
+formatted       e69c56cf3861  text-2.1.4/benchmarks/haskell/Benchmarks.hs
+formatted       78d220120bc4  text-2.1.4/benchmarks/haskell/Benchmarks/Builder.hs
+formatted       a346ce2dfd08  text-2.1.4/benchmarks/haskell/Benchmarks/Concat.hs
+formatted       ef0f2d7fc224  text-2.1.4/benchmarks/haskell/Benchmarks/DecodeUtf8.hs
+formatted       bd40c14fe661  text-2.1.4/benchmarks/haskell/Benchmarks/EncodeUtf8.hs
+formatted       bd99ab7ca05e  text-2.1.4/benchmarks/haskell/Benchmarks/Equality.hs
+formatted       7fae04caef27  text-2.1.4/benchmarks/haskell/Benchmarks/FileRead.hs
+formatted       dcf2645ee1a3  text-2.1.4/benchmarks/haskell/Benchmarks/FileWrite.hs
+formatted       28e4ce593e7d  text-2.1.4/benchmarks/haskell/Benchmarks/FoldLines.hs
+formatted       eb64c0f50c11  text-2.1.4/benchmarks/haskell/Benchmarks/Micro.hs
+formatted       4b52184e5d5e  text-2.1.4/benchmarks/haskell/Benchmarks/Multilang.hs
+formatted       249d164646f4  text-2.1.4/benchmarks/haskell/Benchmarks/Programs/BigTable.hs
+formatted       ce01ad2dc17a  text-2.1.4/benchmarks/haskell/Benchmarks/Programs/Cut.hs
+formatted       8ec2f698a8e2  text-2.1.4/benchmarks/haskell/Benchmarks/Programs/Fold.hs
+formatted       e969f0022ec7  text-2.1.4/benchmarks/haskell/Benchmarks/Programs/Sort.hs
+formatted       2c6eec4bae6d  text-2.1.4/benchmarks/haskell/Benchmarks/Programs/StripTags.hs
+formatted       cbacd9862906  text-2.1.4/benchmarks/haskell/Benchmarks/Programs/Throughput.hs
+formatted       90d85a00e10a  text-2.1.4/benchmarks/haskell/Benchmarks/Pure.hs
+formatted       316203de250b  text-2.1.4/benchmarks/haskell/Benchmarks/ReadNumbers.hs
+formatted       2c409c39b894  text-2.1.4/benchmarks/haskell/Benchmarks/Replace.hs
+formatted       90becdff7deb  text-2.1.4/benchmarks/haskell/Benchmarks/Search.hs
+formatted       5b0b46463aed  text-2.1.4/benchmarks/haskell/Benchmarks/Stream.hs
+formatted       061384c9c717  text-2.1.4/benchmarks/haskell/Benchmarks/WordFrequencies.hs
+formatted       31aeeedf0449  text-2.1.4/scripts/ApiCompare.hs
+formatted       227860122661  text-2.1.4/scripts/Arsec.hs
+formatted       3c9b5aa129ac  text-2.1.4/scripts/CaseFolding.hs
+formatted       eacefe3a8d49  text-2.1.4/scripts/CaseMapping.hs
+formatted       57e97be5ba61  text-2.1.4/scripts/SpecialCasing.hs
+formatted       d775bb623580  text-2.1.4/scripts/UnicodeData.hs
+partly-checked  2f1fba7d62e7  text-2.1.4/src/Data/Text.hs
+formatted       94a91d90e408  text-2.1.4/src/Data/Text/Array.hs
+formatted       c85bc73bbed7  text-2.1.4/src/Data/Text/Encoding.hs
+formatted       9b6dfeb70121  text-2.1.4/src/Data/Text/Encoding/Error.hs
+formatted       e6e37f8930c0  text-2.1.4/src/Data/Text/Foreign.hs
+formatted       982659824c59  text-2.1.4/src/Data/Text/IO.hs
+formatted       2b5f6d1d6ed6  text-2.1.4/src/Data/Text/IO/Utf8.hs
+formatted       539cc536ad01  text-2.1.4/src/Data/Text/Internal.hs
+formatted       aa7f9043ff31  text-2.1.4/src/Data/Text/Internal/ArrayUtils.hs
+formatted       01b903b8a8cc  text-2.1.4/src/Data/Text/Internal/Builder.hs
+formatted       110734fa6ce1  text-2.1.4/src/Data/Text/Internal/Builder/Functions.hs
+formatted       f5f871c975a4  text-2.1.4/src/Data/Text/Internal/Builder/Int/Digits.hs
+formatted       ab51e88834e1  text-2.1.4/src/Data/Text/Internal/Builder/RealFloat/Functions.hs
+formatted       7fa192160c9b  text-2.1.4/src/Data/Text/Internal/ByteStringCompat.hs
+formatted       8e98e8d303bd  text-2.1.4/src/Data/Text/Internal/Encoding.hs
+formatted       ac5e0611a01a  text-2.1.4/src/Data/Text/Internal/Encoding/Fusion.hs
+formatted       57dd702da53e  text-2.1.4/src/Data/Text/Internal/Encoding/Fusion/Common.hs
+formatted       98f9fc80bc02  text-2.1.4/src/Data/Text/Internal/Encoding/Utf16.hs
+formatted       48ea4745d7e8  text-2.1.4/src/Data/Text/Internal/Encoding/Utf32.hs
+formatted       9fa9d29ceb84  text-2.1.4/src/Data/Text/Internal/Encoding/Utf8.hs
+formatted       35ec980b34e3  text-2.1.4/src/Data/Text/Internal/Fusion.hs
+formatted       0cd12ffcf355  text-2.1.4/src/Data/Text/Internal/Fusion/CaseMapping.hs
+formatted       7ddf7d326a82  text-2.1.4/src/Data/Text/Internal/Fusion/Common.hs
+formatted       426b7a652628  text-2.1.4/src/Data/Text/Internal/Fusion/Size.hs
+formatted       6241120eb5e8  text-2.1.4/src/Data/Text/Internal/Fusion/Types.hs
+formatted       0ce50c7bc116  text-2.1.4/src/Data/Text/Internal/IO.hs
+formatted       3c372d63caac  text-2.1.4/src/Data/Text/Internal/IsAscii.hs
+formatted       05a31714687f  text-2.1.4/src/Data/Text/Internal/Lazy.hs
+formatted       dc4dfdb3dc0a  text-2.1.4/src/Data/Text/Internal/Lazy/Encoding/Fusion.hs
+formatted       ae1bfb36da02  text-2.1.4/src/Data/Text/Internal/Lazy/Fusion.hs
+formatted       099a6d11974f  text-2.1.4/src/Data/Text/Internal/Lazy/Search.hs
+formatted       b22fbbc99523  text-2.1.4/src/Data/Text/Internal/Measure.hs
+formatted       5243fb95379d  text-2.1.4/src/Data/Text/Internal/PrimCompat.hs
+formatted       93c9355f2e35  text-2.1.4/src/Data/Text/Internal/Private.hs
+formatted       a41bd3d7edab  text-2.1.4/src/Data/Text/Internal/Read.hs
+formatted       1dd881188929  text-2.1.4/src/Data/Text/Internal/Reverse.hs
+formatted       6fed7b990efc  text-2.1.4/src/Data/Text/Internal/Search.hs
+formatted       a11931fd45eb  text-2.1.4/src/Data/Text/Internal/StrictBuilder.hs
+formatted       994f44092a13  text-2.1.4/src/Data/Text/Internal/Transformation.hs
+formatted       18ae86a38924  text-2.1.4/src/Data/Text/Internal/Unsafe.hs
+formatted       0de46a4746f4  text-2.1.4/src/Data/Text/Internal/Unsafe/Char.hs
+formatted       c3e06b63b59d  text-2.1.4/src/Data/Text/Internal/Validate.hs
+formatted       202f4bac46f8  text-2.1.4/src/Data/Text/Internal/Validate/Native.hs
+formatted       530d639cfd22  text-2.1.4/src/Data/Text/Internal/Validate/Simd.hs
+formatted       848569f68df1  text-2.1.4/src/Data/Text/Lazy.hs
+formatted       848a244aa60e  text-2.1.4/src/Data/Text/Lazy/Builder.hs
+formatted       cc7df53956f4  text-2.1.4/src/Data/Text/Lazy/Builder/Int.hs
+formatted       2fb254fbb7fb  text-2.1.4/src/Data/Text/Lazy/Builder/RealFloat.hs
+formatted       a4debbb76b8e  text-2.1.4/src/Data/Text/Lazy/Encoding.hs
+formatted       768da20b5db4  text-2.1.4/src/Data/Text/Lazy/IO.hs
+formatted       737ca3b98c79  text-2.1.4/src/Data/Text/Lazy/Internal.hs
+formatted       3b944d23247a  text-2.1.4/src/Data/Text/Lazy/Read.hs
+formatted       9b4319a83294  text-2.1.4/src/Data/Text/Read.hs
+formatted       bd757ae1f83c  text-2.1.4/src/Data/Text/Show.hs
+formatted       d2380fff3942  text-2.1.4/src/Data/Text/Unsafe.hs
+formatted       ad0320484af8  text-2.1.4/tests/LiteralRuleTest.hs
+formatted       32c03816d801  text-2.1.4/tests/Tests.hs
+formatted       85afd4339114  text-2.1.4/tests/Tests/Lift.hs
+formatted       f79a328605c2  text-2.1.4/tests/Tests/Properties.hs
+formatted       31cdfd15a373  text-2.1.4/tests/Tests/Properties/Basics.hs
+formatted       4b890a4c1803  text-2.1.4/tests/Tests/Properties/Builder.hs
+formatted       1ff5f2593cb6  text-2.1.4/tests/Tests/Properties/CornerCases.hs
+formatted       23bcac4abf51  text-2.1.4/tests/Tests/Properties/Folds.hs
+formatted       e180bc78ea20  text-2.1.4/tests/Tests/Properties/Instances.hs
+formatted       db64e5927a3e  text-2.1.4/tests/Tests/Properties/LowLevel.hs
+formatted       e02a545eb701  text-2.1.4/tests/Tests/Properties/Read.hs
+formatted       ae2c8a72b834  text-2.1.4/tests/Tests/Properties/Substrings.hs
+formatted       992dc15349e9  text-2.1.4/tests/Tests/Properties/Text.hs
+formatted       a44b327884fc  text-2.1.4/tests/Tests/Properties/Transcoding.hs
+formatted       0beff871cf52  text-2.1.4/tests/Tests/Properties/Validate.hs
+formatted       796dadee611f  text-2.1.4/tests/Tests/QuickCheckUtils.hs
+formatted       bcdfd5836bff  text-2.1.4/tests/Tests/RebindableSyntaxTest.hs
+formatted       bdf5059cd584  text-2.1.4/tests/Tests/Regressions.hs
+formatted       120d0be68931  text-2.1.4/tests/Tests/ShareEmpty.hs
+formatted       f4e9f36f6be9  text-2.1.4/tests/Tests/SlowFunctions.hs
+formatted       375091fbe743  text-2.1.4/tests/Tests/Utils.hs
+formatted       e865ae48f11b  th-abstraction-0.7.2.0/Setup.hs
+formatted       4078b5209073  th-abstraction-0.7.2.0/src/Language/Haskell/TH/Datatype.hs
+formatted       b67b7b9c968e  th-abstraction-0.7.2.0/src/Language/Haskell/TH/Datatype/Internal.hs
+formatted       139dba2b7de8  th-abstraction-0.7.2.0/src/Language/Haskell/TH/Datatype/TyVarBndr.hs
+formatted       a3584f8c1183  th-abstraction-0.7.2.0/test/Harness.hs
+partly-checked  caf9345548cb  th-abstraction-0.7.2.0/test/Main.hs
+formatted       ce85a6d0ad6c  th-abstraction-0.7.2.0/test/Types.hs
+formatted       fd2ff7ad97e3  time-1.16.0.1/Setup.hs
+formatted       c758f7cfd2d6  time-1.16.0.1/benchmark/Main.hs
+formatted       61f9ab5c5ba9  time-1.16.0.1/lib/Data/Format.hs
+formatted       138e9cb35e13  time-1.16.0.1/lib/Data/Time.hs
+formatted       d808f69809c2  time-1.16.0.1/lib/Data/Time/Calendar.hs
+formatted       eeaa188620ed  time-1.16.0.1/lib/Data/Time/Calendar/CalendarDiffDays.hs
+formatted       772f9cdd4974  time-1.16.0.1/lib/Data/Time/Calendar/Days.hs
+formatted       8133703db3e5  time-1.16.0.1/lib/Data/Time/Calendar/Easter.hs
+formatted       37e0eeff89c7  time-1.16.0.1/lib/Data/Time/Calendar/Gregorian.hs
+formatted       c4d9bc323555  time-1.16.0.1/lib/Data/Time/Calendar/Julian.hs
+formatted       625e7b428153  time-1.16.0.1/lib/Data/Time/Calendar/JulianYearDay.hs
+formatted       7450952c1396  time-1.16.0.1/lib/Data/Time/Calendar/Month.hs
+formatted       5f4c8f9288d7  time-1.16.0.1/lib/Data/Time/Calendar/MonthDay.hs
+formatted       b241746df546  time-1.16.0.1/lib/Data/Time/Calendar/OrdinalDate.hs
+formatted       0ef17d35bd4d  time-1.16.0.1/lib/Data/Time/Calendar/Private.hs
+formatted       576493c582f6  time-1.16.0.1/lib/Data/Time/Calendar/Quarter.hs
+formatted       60d39a26918f  time-1.16.0.1/lib/Data/Time/Calendar/Types.hs
+formatted       392f00519a3b  time-1.16.0.1/lib/Data/Time/Calendar/Week.hs
+formatted       cf7add95407c  time-1.16.0.1/lib/Data/Time/Calendar/WeekDate.hs
+formatted       a851a6ae102d  time-1.16.0.1/lib/Data/Time/Clock.hs
+formatted       036ae6eac0d2  time-1.16.0.1/lib/Data/Time/Clock/Internal/AbsoluteTime.hs
+formatted       f06f728ef74a  time-1.16.0.1/lib/Data/Time/Clock/Internal/CTimeval.hs
+formatted       3b84bb3a894a  time-1.16.0.1/lib/Data/Time/Clock/Internal/DiffTime.hs
+formatted       e6161c5692d7  time-1.16.0.1/lib/Data/Time/Clock/Internal/NominalDiffTime.hs
+formatted       8ef6afa040bc  time-1.16.0.1/lib/Data/Time/Clock/Internal/POSIXTime.hs
+formatted       a5302da18e23  time-1.16.0.1/lib/Data/Time/Clock/Internal/SystemTime.hs
+formatted       310750655010  time-1.16.0.1/lib/Data/Time/Clock/Internal/UTCDiff.hs
+formatted       4d09405309d4  time-1.16.0.1/lib/Data/Time/Clock/Internal/UTCTime.hs
+formatted       acaedfdab698  time-1.16.0.1/lib/Data/Time/Clock/Internal/UniversalTime.hs
+formatted       673e993cf469  time-1.16.0.1/lib/Data/Time/Clock/POSIX.hs
+formatted       e3db630c6db4  time-1.16.0.1/lib/Data/Time/Clock/System.hs
+formatted       a4c86cd6afba  time-1.16.0.1/lib/Data/Time/Clock/TAI.hs
+formatted       b600a5b5c744  time-1.16.0.1/lib/Data/Time/Format.hs
+formatted       63647ea11581  time-1.16.0.1/lib/Data/Time/Format/Format/Class.hs
+formatted       0822f2f31a2d  time-1.16.0.1/lib/Data/Time/Format/Format/Instances.hs
+formatted       fc59fc4bde40  time-1.16.0.1/lib/Data/Time/Format/ISO8601.hs
+formatted       76aa49c9292b  time-1.16.0.1/lib/Data/Time/Format/Internal.hs
+formatted       eeb675955636  time-1.16.0.1/lib/Data/Time/Format/Locale.hs
+formatted       ab0343969215  time-1.16.0.1/lib/Data/Time/Format/Parse.hs
+formatted       63f40c0ae63a  time-1.16.0.1/lib/Data/Time/Format/Parse/Class.hs
+formatted       5484ff47182f  time-1.16.0.1/lib/Data/Time/Format/Parse/Instances.hs
+formatted       4489a4cdab49  time-1.16.0.1/lib/Data/Time/LocalTime.hs
+formatted       ddbe380fb8fb  time-1.16.0.1/lib/Data/Time/LocalTime/Internal/CalendarDiffTime.hs
+formatted       e61c48582760  time-1.16.0.1/lib/Data/Time/LocalTime/Internal/Foreign.hs
+formatted       90c62e895bdb  time-1.16.0.1/lib/Data/Time/LocalTime/Internal/LocalTime.hs
+formatted       e62d52dede2b  time-1.16.0.1/lib/Data/Time/LocalTime/Internal/TimeOfDay.hs
+formatted       68111e75f180  time-1.16.0.1/lib/Data/Time/LocalTime/Internal/TimeZone.hs
+formatted       8452fd5d4cb9  time-1.16.0.1/lib/Data/Time/LocalTime/Internal/ZonedTime.hs
+formatted       5ee58e7c3037  time-1.16.0.1/test/ForeignCalls.hs
+formatted       fc8234c946fb  time-1.16.0.1/test/ShowDefaultTZAbbreviations.hs
+formatted       b51274826033  time-1.16.0.1/test/ShowTime.hs
+formatted       1331318dd2ca  time-1.16.0.1/test/main/Main.hs
+formatted       cab673ecb0b3  time-1.16.0.1/test/main/Test/AddDiff.hs
+formatted       dec153c1342f  time-1.16.0.1/test/main/Test/Arbitrary.hs
+formatted       2598c86e8294  time-1.16.0.1/test/main/Test/Calendar/AddDays.hs
+formatted       5b09874748fc  time-1.16.0.1/test/main/Test/Calendar/AddDaysRef.hs
+formatted       cb1d04989063  time-1.16.0.1/test/main/Test/Calendar/CalendarProps.hs
+formatted       8067402a8f89  time-1.16.0.1/test/main/Test/Calendar/Calendars.hs
+formatted       ba59184d394c  time-1.16.0.1/test/main/Test/Calendar/CalendarsRef.hs
+formatted       8ee5a776d515  time-1.16.0.1/test/main/Test/Calendar/ClipDates.hs
+formatted       f707c1ddaec1  time-1.16.0.1/test/main/Test/Calendar/ClipDatesRef.hs
+formatted       c374b2325b87  time-1.16.0.1/test/main/Test/Calendar/ConvertBack.hs
+formatted       608b6d13eac9  time-1.16.0.1/test/main/Test/Calendar/DayPeriod.hs
+formatted       e13d2968bcd6  time-1.16.0.1/test/main/Test/Calendar/Duration.hs
+formatted       97fc2485d552  time-1.16.0.1/test/main/Test/Calendar/Easter.hs
+formatted       571860b3c31c  time-1.16.0.1/test/main/Test/Calendar/LongWeekYears.hs
+formatted       bdfb9e546ba3  time-1.16.0.1/test/main/Test/Calendar/LongWeekYearsRef.hs
+formatted       0bb8631cd720  time-1.16.0.1/test/main/Test/Calendar/MonthDay.hs
+formatted       c01cb667a9a8  time-1.16.0.1/test/main/Test/Calendar/MonthDayRef.hs
+formatted       e77286cc9149  time-1.16.0.1/test/main/Test/Calendar/MonthOfYear.hs
+formatted       48184526a536  time-1.16.0.1/test/main/Test/Calendar/Valid.hs
+formatted       79ee81f73233  time-1.16.0.1/test/main/Test/Calendar/Week.hs
+formatted       82899f8d13b9  time-1.16.0.1/test/main/Test/Calendar/Year.hs
+formatted       ae042c3629c2  time-1.16.0.1/test/main/Test/Clock/Conversion.hs
+formatted       5347800f0d02  time-1.16.0.1/test/main/Test/Clock/Pattern.hs
+formatted       70157752d5c4  time-1.16.0.1/test/main/Test/Clock/Resolution.hs
+formatted       462199d821d5  time-1.16.0.1/test/main/Test/Clock/TAI.hs
+formatted       56759726b4b9  time-1.16.0.1/test/main/Test/Format/Compile.hs
+formatted       8920a5108767  time-1.16.0.1/test/main/Test/Format/Format.hs
+formatted       1ff972d1641c  time-1.16.0.1/test/main/Test/Format/ISO8601.hs
+formatted       cd2f4d411279  time-1.16.0.1/test/main/Test/Format/ParseTime.hs
+formatted       433e817f7072  time-1.16.0.1/test/main/Test/LocalTime/CalendarDiffTime.hs
+formatted       730392749480  time-1.16.0.1/test/main/Test/LocalTime/Time.hs
+formatted       3ba6074ac577  time-1.16.0.1/test/main/Test/LocalTime/TimeOfDay.hs
+formatted       db61298fae47  time-1.16.0.1/test/main/Test/LocalTime/TimeRef.hs
+formatted       cc15b92f1044  time-1.16.0.1/test/main/Test/TestUtil.hs
+formatted       9f945fa40a67  time-1.16.0.1/test/main/Test/Types.hs
+formatted       563487c9b7c9  time-1.16.0.1/test/template/Main.hs
+formatted       29972ed619e0  time-1.16.0.1/test/template/Test/TastyWrapper.hs
+formatted       22863c7cfcad  time-1.16.0.1/test/unix/Main.hs
+formatted       041f2f767808  time-1.16.0.1/test/unix/Test/Format/Format.hs
+formatted       a3e39d1fc8c0  time-1.16.0.1/test/unix/Test/LocalTime/TimeZone.hs
+formatted       e30ab3fcf9c0  time-1.16.0.1/test/unix/Test/TestUtil.hs
+formatted       f76b205b6c64  tls-2.4.3/Benchmarks/Benchmarks.hs
+formatted       825aa85a5e5b  tls-2.4.3/Network/TLS.hs
+formatted       a25922f40259  tls-2.4.3/Network/TLS/Backend.hs
+formatted       3f77af14a7a6  tls-2.4.3/Network/TLS/Cipher.hs
+formatted       0aaf024ab139  tls-2.4.3/Network/TLS/Compression.hs
+formatted       1194a950fe03  tls-2.4.3/Network/TLS/Context.hs
+formatted       e5f9b82f4e97  tls-2.4.3/Network/TLS/Context/Internal.hs
+formatted       cedea0d70f07  tls-2.4.3/Network/TLS/Core.hs
+formatted       c66a5b3884de  tls-2.4.3/Network/TLS/Credentials.hs
+formatted       927a21891c16  tls-2.4.3/Network/TLS/Crypto.hs
+formatted       a57bc497b025  tls-2.4.3/Network/TLS/Crypto/DH.hs
+formatted       fe60f204bebc  tls-2.4.3/Network/TLS/Crypto/IES.hs
+formatted       abe5ed67dacc  tls-2.4.3/Network/TLS/Crypto/Types.hs
+formatted       025f72c75341  tls-2.4.3/Network/TLS/ErrT.hs
+formatted       f68b0752acf0  tls-2.4.3/Network/TLS/Error.hs
+formatted       9e43eda3ac86  tls-2.4.3/Network/TLS/Extension.hs
+formatted       adb9904a0c1d  tls-2.4.3/Network/TLS/Extension.hs-boot
+formatted       49db661a445a  tls-2.4.3/Network/TLS/Extra.hs
+formatted       14b781ff4f15  tls-2.4.3/Network/TLS/Extra/Cipher.hs
+formatted       7b5e20c9ea1e  tls-2.4.3/Network/TLS/Extra/CipherCBC.hs
+formatted       d58e81b6c270  tls-2.4.3/Network/TLS/Extra/FFDHE.hs
+formatted       793a0b64a930  tls-2.4.3/Network/TLS/Handshake.hs
+formatted       fddaa86603de  tls-2.4.3/Network/TLS/Handshake/Certificate.hs
+formatted       e3bef94783bb  tls-2.4.3/Network/TLS/Handshake/Client.hs
+formatted       16b4b7525626  tls-2.4.3/Network/TLS/Handshake/Client/ClientHello.hs
+formatted       65cdbdff102b  tls-2.4.3/Network/TLS/Handshake/Client/Common.hs
+formatted       97c50a339a2a  tls-2.4.3/Network/TLS/Handshake/Client/ServerHello.hs
+formatted       8bcb8843578e  tls-2.4.3/Network/TLS/Handshake/Client/TLS12.hs
+formatted       105b06892a52  tls-2.4.3/Network/TLS/Handshake/Client/TLS13.hs
+formatted       f1dafd45caf5  tls-2.4.3/Network/TLS/Handshake/Common.hs
+formatted       df8a1f56a9fa  tls-2.4.3/Network/TLS/Handshake/Common13.hs
+formatted       53541f5dca1a  tls-2.4.3/Network/TLS/Handshake/Control.hs
+formatted       1acd184a9294  tls-2.4.3/Network/TLS/Handshake/Key.hs
+formatted       ce07a7091463  tls-2.4.3/Network/TLS/Handshake/Random.hs
+formatted       44c92982a79b  tls-2.4.3/Network/TLS/Handshake/Server.hs
+formatted       1e62dd46144f  tls-2.4.3/Network/TLS/Handshake/Server/ClientHello.hs
+formatted       bb7b1e3e79c2  tls-2.4.3/Network/TLS/Handshake/Server/ClientHello12.hs
+formatted       5c1954b457a7  tls-2.4.3/Network/TLS/Handshake/Server/ClientHello13.hs
+formatted       245014a6ecf7  tls-2.4.3/Network/TLS/Handshake/Server/Common.hs
+formatted       493790e1f168  tls-2.4.3/Network/TLS/Handshake/Server/ServerHello12.hs
+formatted       3c8b7e64e715  tls-2.4.3/Network/TLS/Handshake/Server/ServerHello13.hs
+formatted       d8d30713869a  tls-2.4.3/Network/TLS/Handshake/Server/TLS12.hs
+formatted       45f378645922  tls-2.4.3/Network/TLS/Handshake/Server/TLS13.hs
+formatted       c42be664cf7e  tls-2.4.3/Network/TLS/Handshake/Signature.hs
+formatted       ac6d6418f309  tls-2.4.3/Network/TLS/Handshake/State.hs
+formatted       be7ec8a13dae  tls-2.4.3/Network/TLS/Handshake/State13.hs
+formatted       625ff960a62a  tls-2.4.3/Network/TLS/Handshake/TranscriptHash.hs
+formatted       74606ece4bc1  tls-2.4.3/Network/TLS/HashAndSignature.hs
+formatted       21abb7b8a5c8  tls-2.4.3/Network/TLS/Hooks.hs
+formatted       d2f6e54ab64a  tls-2.4.3/Network/TLS/IO.hs
+formatted       57c8420e893f  tls-2.4.3/Network/TLS/IO/Decode.hs
+formatted       8e6267aecbf3  tls-2.4.3/Network/TLS/IO/Encode.hs
+formatted       d7509e6fb8f1  tls-2.4.3/Network/TLS/Imports.hs
+formatted       caae3941e5b7  tls-2.4.3/Network/TLS/Internal.hs
+formatted       93b1a43ec71d  tls-2.4.3/Network/TLS/KeySchedule.hs
+formatted       bd122d3e585a  tls-2.4.3/Network/TLS/MAC.hs
+formatted       9955ee0bd505  tls-2.4.3/Network/TLS/Measurement.hs
+formatted       4f25331f08a0  tls-2.4.3/Network/TLS/Packet.hs
+formatted       fae9ef5d2759  tls-2.4.3/Network/TLS/Packet13.hs
+formatted       7ac8e41000c8  tls-2.4.3/Network/TLS/Parameters.hs
+formatted       29784d509f48  tls-2.4.3/Network/TLS/PostHandshake.hs
+formatted       00080ec36588  tls-2.4.3/Network/TLS/QUIC.hs
+formatted       360a52dcf151  tls-2.4.3/Network/TLS/RNG.hs
+formatted       805eb6800681  tls-2.4.3/Network/TLS/Record.hs
+formatted       030d7b804ec4  tls-2.4.3/Network/TLS/Record/Decrypt.hs
+formatted       f44ccc4d4220  tls-2.4.3/Network/TLS/Record/Encrypt.hs
+formatted       43b09bdfd5e2  tls-2.4.3/Network/TLS/Record/Layer.hs
+formatted       91be16576f03  tls-2.4.3/Network/TLS/Record/Recv.hs
+formatted       84c2313723c8  tls-2.4.3/Network/TLS/Record/Send.hs
+formatted       94f30e0d2697  tls-2.4.3/Network/TLS/Record/State.hs
+formatted       77a22d810c82  tls-2.4.3/Network/TLS/Record/Types.hs
+formatted       42bed44c3eaa  tls-2.4.3/Network/TLS/Session.hs
+formatted       7e202ef877d4  tls-2.4.3/Network/TLS/State.hs
+formatted       f32734be27cf  tls-2.4.3/Network/TLS/Struct.hs
+formatted       d21b3b5744e7  tls-2.4.3/Network/TLS/Struct13.hs
+formatted       ae57c0f82b43  tls-2.4.3/Network/TLS/Types.hs
+formatted       ec984a8c76a8  tls-2.4.3/Network/TLS/Types/Cipher.hs
+formatted       1081b8e1f206  tls-2.4.3/Network/TLS/Types/Secret.hs
+formatted       c55aa7127ac4  tls-2.4.3/Network/TLS/Types/Session.hs
+formatted       ebf0fe2d5263  tls-2.4.3/Network/TLS/Types/Version.hs
+formatted       fc9bbe12bb31  tls-2.4.3/Network/TLS/Util.hs
+formatted       ed849931e72f  tls-2.4.3/Network/TLS/Util/ASN1.hs
+formatted       9d70166f446f  tls-2.4.3/Network/TLS/Util/Serialization.hs
+formatted       3ee4d3d1c20d  tls-2.4.3/Network/TLS/Wire.hs
+formatted       5c85b406dea3  tls-2.4.3/Network/TLS/X509.hs
+formatted       e865ae48f11b  tls-2.4.3/Setup.hs
+formatted       7cf9fdd68753  tls-2.4.3/test/API.hs
+formatted       9926b81f3e3e  tls-2.4.3/test/Arbitrary.hs
+formatted       b0eb1271a7b3  tls-2.4.3/test/Certificate.hs
+formatted       67d5749aa5b8  tls-2.4.3/test/CiphersSpec.hs
+formatted       43d49b4cdef9  tls-2.4.3/test/ECHSpec.hs
+formatted       bb7b85daa70e  tls-2.4.3/test/EncodeSpec.hs
+formatted       2d4da1b20113  tls-2.4.3/test/HandshakeSpec.hs
+formatted       23c51f587e8d  tls-2.4.3/test/PipeChan.hs
+formatted       fcb36bdb038f  tls-2.4.3/test/PubKey.hs
+formatted       63d515c70f52  tls-2.4.3/test/Run.hs
+formatted       a07f4da54a40  tls-2.4.3/test/Session.hs
+formatted       2fbd14b119a4  tls-2.4.3/test/Spec.hs
+formatted       ef8f0816f01c  tls-2.4.3/test/ThreadSpec.hs
+formatted       153cd8ee91b3  tls-2.4.3/util/Client.hs
+formatted       d10ff86c0514  tls-2.4.3/util/Common.hs
+formatted       7dd3b5f2e44a  tls-2.4.3/util/Imports.hs
+formatted       d2dac11d7314  tls-2.4.3/util/Server.hs
+formatted       6c84ca880bcf  tls-2.4.3/util/tls-client.hs
+formatted       141be2353e1c  tls-2.4.3/util/tls-server.hs
+partly-checked  2acff8fb00b6  transformers-0.6.3.0/Control/Applicative/Backwards.hs
+partly-checked  ed42dd1e8327  transformers-0.6.3.0/Control/Applicative/Lift.hs
+formatted       53816bac91e7  transformers-0.6.3.0/Control/Monad/Signatures.hs
+partly-checked  e0d24954a4f8  transformers-0.6.3.0/Control/Monad/Trans/Accum.hs
+formatted       47b994339a40  transformers-0.6.3.0/Control/Monad/Trans/Class.hs
+formatted       eb4a27361970  transformers-0.6.3.0/Control/Monad/Trans/Cont.hs
+partly-checked  1c7fb00c876e  transformers-0.6.3.0/Control/Monad/Trans/Except.hs
+partly-checked  56c114df7118  transformers-0.6.3.0/Control/Monad/Trans/Identity.hs
+partly-checked  6a657c06a59c  transformers-0.6.3.0/Control/Monad/Trans/Maybe.hs
+formatted       a73480240479  transformers-0.6.3.0/Control/Monad/Trans/RWS.hs
+formatted       a5f71e0e1f0c  transformers-0.6.3.0/Control/Monad/Trans/RWS/CPS.hs
+partly-checked  4b63ebf14e6e  transformers-0.6.3.0/Control/Monad/Trans/RWS/Lazy.hs
+partly-checked  df5c94e46d52  transformers-0.6.3.0/Control/Monad/Trans/RWS/Strict.hs
+partly-checked  6cbd190ecf81  transformers-0.6.3.0/Control/Monad/Trans/Reader.hs
+formatted       4d2ba09a571b  transformers-0.6.3.0/Control/Monad/Trans/Select.hs
+formatted       8d40dfa8b74a  transformers-0.6.3.0/Control/Monad/Trans/State.hs
+partly-checked  23b2f4a425d8  transformers-0.6.3.0/Control/Monad/Trans/State/Lazy.hs
+partly-checked  4032f86f4e4c  transformers-0.6.3.0/Control/Monad/Trans/State/Strict.hs
+formatted       eb457468df2b  transformers-0.6.3.0/Control/Monad/Trans/Writer.hs
+formatted       6ee4032a3b5c  transformers-0.6.3.0/Control/Monad/Trans/Writer/CPS.hs
+partly-checked  badd637a9e32  transformers-0.6.3.0/Control/Monad/Trans/Writer/Lazy.hs
+partly-checked  46343e77c31e  transformers-0.6.3.0/Control/Monad/Trans/Writer/Strict.hs
+partly-checked  b980d7e169b5  transformers-0.6.3.0/Data/Functor/Constant.hs
+partly-checked  86a31dde9fae  transformers-0.6.3.0/Data/Functor/Reverse.hs
+formatted       e865ae48f11b  transformers-0.6.3.0/Setup.hs
+partly-checked  b4f0506b8d36  transformers-0.6.3.0/legacy/pre709/Data/Functor/Identity.hs
+formatted       03e61100146d  transformers-0.6.3.0/legacy/pre711/Control/Monad/IO/Class.hs
+formatted       79ed6d6c91f6  transformers-0.6.3.0/legacy/pre711/Data/Functor/Classes.hs
+formatted       bed282826515  transformers-0.6.3.0/legacy/pre711/Data/Functor/Compose.hs
+partly-checked  ec97c2e63fcf  transformers-0.6.3.0/legacy/pre711/Data/Functor/Product.hs
+formatted       c4f3810a046b  transformers-0.6.3.0/legacy/pre711/Data/Functor/Sum.hs
+formatted       e865ae48f11b  typed-process-0.2.13.0/Setup.hs
+formatted       121ac61f59cd  typed-process-0.2.13.0/src/System/Process/Typed.hs
+formatted       28328a2b2552  typed-process-0.2.13.0/src/System/Process/Typed/Internal.hs
+formatted       2fbd14b119a4  typed-process-0.2.13.0/test/Spec.hs
+formatted       266517d4c760  typed-process-0.2.13.0/test/System/Process/TypedSpec.hs
+formatted       e865ae48f11b  unliftio-0.2.25.1/Setup.hs
+formatted       be6e2bc1cfa8  unliftio-0.2.25.1/bench/ConcBench.hs
+formatted       4b790f8c6428  unliftio-0.2.25.1/src/UnliftIO.hs
+formatted       b3b87da9abbc  unliftio-0.2.25.1/src/UnliftIO/Async.hs
+formatted       fe863bc567ca  unliftio-0.2.25.1/src/UnliftIO/Chan.hs
+formatted       16127a541cc4  unliftio-0.2.25.1/src/UnliftIO/Concurrent.hs
+partly-checked  ae3960f31827  unliftio-0.2.25.1/src/UnliftIO/Directory.hs
+formatted       8d4fb7d16cce  unliftio-0.2.25.1/src/UnliftIO/Environment.hs
+formatted       73fd57ab6c73  unliftio-0.2.25.1/src/UnliftIO/Exception.hs
+formatted       cab3a2695d7b  unliftio-0.2.25.1/src/UnliftIO/Exception/Lens.hs
+formatted       bfcf762f2c6a  unliftio-0.2.25.1/src/UnliftIO/Foreign.hs
+formatted       a1683c9a7752  unliftio-0.2.25.1/src/UnliftIO/IO.hs
+formatted       fe7ab28b875c  unliftio-0.2.25.1/src/UnliftIO/IO/File.hs
+formatted       e1250e5bdb54  unliftio-0.2.25.1/src/UnliftIO/IO/File/Posix.hs
+formatted       a772e4fa9302  unliftio-0.2.25.1/src/UnliftIO/IORef.hs
+formatted       4945103e892f  unliftio-0.2.25.1/src/UnliftIO/Internals/Async.hs
+formatted       fba9b81b2a00  unliftio-0.2.25.1/src/UnliftIO/MVar.hs
+formatted       596804b2abe4  unliftio-0.2.25.1/src/UnliftIO/Memoize.hs
+formatted       f536f5c9e5da  unliftio-0.2.25.1/src/UnliftIO/Process.hs
+formatted       ed1ceb45bfa3  unliftio-0.2.25.1/src/UnliftIO/QSem.hs
+formatted       798fe10d4842  unliftio-0.2.25.1/src/UnliftIO/QSemN.hs
+formatted       c52224c9e4ef  unliftio-0.2.25.1/src/UnliftIO/STM.hs
+formatted       7a821d5f0e8d  unliftio-0.2.25.1/src/UnliftIO/Temporary.hs
+formatted       a9dd3c4f1142  unliftio-0.2.25.1/src/UnliftIO/Timeout.hs
+formatted       2fbd14b119a4  unliftio-0.2.25.1/test/Spec.hs
+formatted       6dbed613232f  unliftio-0.2.25.1/test/UnliftIO/AsyncSpec.hs
+formatted       444ae81dbfb6  unliftio-0.2.25.1/test/UnliftIO/DirectorySpec.hs
+formatted       300d73373374  unliftio-0.2.25.1/test/UnliftIO/ExceptionSpec.hs
+formatted       29b96a9fb799  unliftio-0.2.25.1/test/UnliftIO/IO/FileSpec.hs
+formatted       caf8d9709e1a  unliftio-0.2.25.1/test/UnliftIO/IOSpec.hs
+formatted       f46fd4361289  unliftio-0.2.25.1/test/UnliftIO/MemoizeSpec.hs
+formatted       d160025177cb  unliftio-0.2.25.1/test/UnliftIO/PooledAsyncSpec.hs
+formatted       ad692a9e7cd3  unordered-containers-0.2.21/Data/HashMap/Internal.hs
+declined        -             unordered-containers-0.2.21/Data/HashMap/Internal/Array.hs
+formatted       ce9a49299e20  unordered-containers-0.2.21/Data/HashMap/Internal/Debug.hs
+formatted       60ef335fb795  unordered-containers-0.2.21/Data/HashMap/Internal/List.hs
+formatted       45e746129206  unordered-containers-0.2.21/Data/HashMap/Internal/Strict.hs
+formatted       e7ffcc7f23d4  unordered-containers-0.2.21/Data/HashMap/Lazy.hs
+formatted       9ee4a7c7408b  unordered-containers-0.2.21/Data/HashMap/Strict.hs
+formatted       7498bc516b59  unordered-containers-0.2.21/Data/HashSet.hs
+formatted       09052e73a75d  unordered-containers-0.2.21/Data/HashSet/Internal.hs
+formatted       e865ae48f11b  unordered-containers-0.2.21/Setup.hs
+formatted       e4de642806b4  unordered-containers-0.2.21/benchmarks/Benchmarks.hs
+formatted       092be9c1fc12  unordered-containers-0.2.21/benchmarks/FineGrained.hs
+formatted       13fa03731c8c  unordered-containers-0.2.21/benchmarks/Key/Bytes.hs
+formatted       5eca01a7f605  unordered-containers-0.2.21/benchmarks/Util/ByteString.hs
+formatted       284694c5798b  unordered-containers-0.2.21/benchmarks/Util/Int.hs
+formatted       771e81db1b05  unordered-containers-0.2.21/benchmarks/Util/String.hs
+formatted       9bfe9b6d92cc  unordered-containers-0.2.21/tests/Main.hs
+formatted       b2cf9af11d60  unordered-containers-0.2.21/tests/Properties.hs
+formatted       045910251177  unordered-containers-0.2.21/tests/Properties/HashMapLazy.hs
+formatted       f2a904c3a89a  unordered-containers-0.2.21/tests/Properties/HashMapStrict.hs
+formatted       d0ca63604ccb  unordered-containers-0.2.21/tests/Properties/HashSet.hs
+formatted       e01059cad248  unordered-containers-0.2.21/tests/Properties/List.hs
+formatted       3264173617bc  unordered-containers-0.2.21/tests/Regressions.hs
+formatted       d05fbae9f0d7  unordered-containers-0.2.21/tests/Strictness.hs
+formatted       00cf0a5ee0ea  unordered-containers-0.2.21/tests/Util/Key.hs
+formatted       e865ae48f11b  unpacked-containers-0/Setup.hs
+formatted       8523e9d3c669  unpacked-containers-0/example/Int.hs
+formatted       ba3a254765ca  unpacked-containers-0/example/Main.hs
+formatted       5f207636d85e  unpacked-containers-0/src/Key.hsig
+formatted       df9ad627c550  unpacked-containers-0/src/Map.hs
+formatted       e4bc92992b74  unpacked-containers-0/src/Map/Internal.hs
+formatted       e178fe804baf  unpacked-containers-0/src/Map/Internal/Debug.hs
+formatted       8426a1fb7f00  unpacked-containers-0/src/Map/Lazy.hs
+formatted       0f7215384a51  unpacked-containers-0/src/Map/Merge/Lazy.hs
+formatted       2a9bbfd49b53  unpacked-containers-0/src/Map/Merge/Strict.hs
+formatted       07543046b8d0  unpacked-containers-0/src/Map/Strict.hs
+formatted       7c56a90a6102  unpacked-containers-0/src/Map/Strict/Internal.hs
+formatted       c3640e56885d  unpacked-containers-0/src/Set.hs
+formatted       a607d60edac5  unpacked-containers-0/src/Set/Internal.hs
+formatted       486ca5b9440d  unpacked-containers-0/utils/Internal/BitQueue.hs
+formatted       592679ec7e87  unpacked-containers-0/utils/Internal/BitUtil.hs
+formatted       3af269cc7ce8  unpacked-containers-0/utils/Internal/PtrEquality.hs
+formatted       534c12741bb9  unpacked-containers-0/utils/Internal/State.hs
+formatted       bc7baa228863  unpacked-containers-0/utils/Internal/StrictFold.hs
+formatted       a772ddb0c63d  unpacked-containers-0/utils/Internal/StrictMaybe.hs
+formatted       b7a091ef4c77  unpacked-containers-0/utils/Internal/StrictPair.hs
+formatted       4a8ac51676df  uuid-types-1.0.6.1/Setup.hs
+formatted       4c4ebd2fcc29  uuid-types-1.0.6.1/src/Data/UUID/Types.hs
+formatted       643fddf98d35  uuid-types-1.0.6.1/src/Data/UUID/Types/Internal.hs
+formatted       d28bbfb126d1  uuid-types-1.0.6.1/src/Data/UUID/Types/Internal/Builder.hs
+formatted       15a058dc0e7f  uuid-types-1.0.6.1/tests/TestUUID.hs
+formatted       e865ae48f11b  vector-0.13.2.0/Setup.hs
+formatted       968ccc63cf5c  vector-0.13.2.0/benchlib/Bench/Vector/Algo/AwShCC.hs
+formatted       aac3838923af  vector-0.13.2.0/benchlib/Bench/Vector/Algo/FindIndexR.hs
+formatted       7536358d3c8c  vector-0.13.2.0/benchlib/Bench/Vector/Algo/HybCC.hs
+formatted       31caf6daa18c  vector-0.13.2.0/benchlib/Bench/Vector/Algo/Leaffix.hs
+formatted       c647f14c61cb  vector-0.13.2.0/benchlib/Bench/Vector/Algo/ListRank.hs
+formatted       254a345f741c  vector-0.13.2.0/benchlib/Bench/Vector/Algo/MutableSet.hs
+formatted       be3c34cda1a3  vector-0.13.2.0/benchlib/Bench/Vector/Algo/NextPermutation.hs
+formatted       a1d4d3d489b4  vector-0.13.2.0/benchlib/Bench/Vector/Algo/Quickhull.hs
+formatted       cff7efe83577  vector-0.13.2.0/benchlib/Bench/Vector/Algo/Rootfix.hs
+formatted       99f654e2a67a  vector-0.13.2.0/benchlib/Bench/Vector/Algo/Spectral.hs
+formatted       438dab6789ad  vector-0.13.2.0/benchlib/Bench/Vector/Algo/Tridiag.hs
+formatted       ec97bfaffec3  vector-0.13.2.0/benchlib/Bench/Vector/Tasty.hs
+formatted       b9298b8af145  vector-0.13.2.0/benchlib/Bench/Vector/TestData/Graph.hs
+formatted       476c4f42945a  vector-0.13.2.0/benchlib/Bench/Vector/TestData/ParenTree.hs
+formatted       631697948992  vector-0.13.2.0/benchmarks/Main.hs
+formatted       77ce7d3b1eda  vector-0.13.2.0/internal/GenUnboxTuple.hs
+formatted       73b076dc8ec3  vector-0.13.2.0/src/Data/Vector.hs
+formatted       2de87112a02b  vector-0.13.2.0/src/Data/Vector/Fusion/Bundle.hs
+formatted       04bc39f1a794  vector-0.13.2.0/src/Data/Vector/Fusion/Bundle/Monadic.hs
+formatted       fff8a35a5617  vector-0.13.2.0/src/Data/Vector/Fusion/Bundle/Size.hs
+formatted       8b09b3b8c680  vector-0.13.2.0/src/Data/Vector/Fusion/Stream/Monadic.hs
+formatted       b52b6135f86c  vector-0.13.2.0/src/Data/Vector/Fusion/Util.hs
+formatted       dda13fb62b09  vector-0.13.2.0/src/Data/Vector/Generic.hs
+formatted       cfe9b6a8a61e  vector-0.13.2.0/src/Data/Vector/Generic/Base.hs
+formatted       cdfa4c49c63b  vector-0.13.2.0/src/Data/Vector/Generic/Mutable.hs
+formatted       54fb8f707475  vector-0.13.2.0/src/Data/Vector/Generic/Mutable/Base.hs
+formatted       e34ce93545b8  vector-0.13.2.0/src/Data/Vector/Generic/New.hs
+formatted       d4f6338ab8d9  vector-0.13.2.0/src/Data/Vector/Internal/Check.hs
+formatted       ff9f5a5d0338  vector-0.13.2.0/src/Data/Vector/Mutable.hs
+formatted       d0ad99519dfe  vector-0.13.2.0/src/Data/Vector/Primitive.hs
+formatted       84fb5c06c359  vector-0.13.2.0/src/Data/Vector/Primitive/Mutable.hs
+formatted       581547a24564  vector-0.13.2.0/src/Data/Vector/Storable.hs
+formatted       fef58fb5bc37  vector-0.13.2.0/src/Data/Vector/Storable/Internal.hs
+formatted       909739de4d0e  vector-0.13.2.0/src/Data/Vector/Storable/Mutable.hs
+formatted       2846191e91a2  vector-0.13.2.0/src/Data/Vector/Strict.hs
+formatted       e4d815a64fb7  vector-0.13.2.0/src/Data/Vector/Strict/Mutable.hs
+formatted       4702a0f43c39  vector-0.13.2.0/src/Data/Vector/Unboxed.hs
+formatted       f26bce42efc9  vector-0.13.2.0/src/Data/Vector/Unboxed/Base.hs
+formatted       6072e3c353bc  vector-0.13.2.0/src/Data/Vector/Unboxed/Mutable.hs
+formatted       efedba158bd6  vector-0.13.2.0/tests-inspect/Inspect.hs
+formatted       76f8a5c0e799  vector-0.13.2.0/tests-inspect/Inspect/DerivingVia.hs
+formatted       a46e4db71438  vector-0.13.2.0/tests-inspect/Inspect/DerivingVia/OtherFoo.hs
+formatted       afa63bb4d9c8  vector-0.13.2.0/tests-inspect/main.hs
+formatted       b27a545b7df5  vector-0.13.2.0/tests/Boilerplater.hs
+formatted       5d9ff0a2c46e  vector-0.13.2.0/tests/Main.hs
+formatted       962b9b9827fc  vector-0.13.2.0/tests/Tests/Bundle.hs
+formatted       671a28435d0f  vector-0.13.2.0/tests/Tests/Move.hs
+formatted       00f456fcf2bf  vector-0.13.2.0/tests/Tests/Vector/Boxed.hs
+formatted       684b537a45eb  vector-0.13.2.0/tests/Tests/Vector/Primitive.hs
+formatted       5f7ead35d45a  vector-0.13.2.0/tests/Tests/Vector/Property.hs
+formatted       84773e1d0d23  vector-0.13.2.0/tests/Tests/Vector/Storable.hs
+formatted       f0cf342d4f41  vector-0.13.2.0/tests/Tests/Vector/Strict.hs
+formatted       b8866c4da6c3  vector-0.13.2.0/tests/Tests/Vector/Unboxed.hs
+formatted       86c8d8e3441a  vector-0.13.2.0/tests/Tests/Vector/UnitTests.hs
+formatted       0ce0bd773816  vector-0.13.2.0/tests/Utilities.hs
+formatted       88ed51490944  vector-0.13.2.0/tests/doctests.hs
+formatted       da1556ff8197  vector-algorithms-0.9.1.0/bench/simple/Blocks.hs
+formatted       3304324b5052  vector-algorithms-0.9.1.0/bench/simple/Main.hs
+formatted       09b1d7da37cc  vector-algorithms-0.9.1.0/src/Data/Vector/Algorithms.hs
+formatted       9aa4cf23f5cf  vector-algorithms-0.9.1.0/src/Data/Vector/Algorithms/AmericanFlag.hs
+formatted       862dcd1590b5  vector-algorithms-0.9.1.0/src/Data/Vector/Algorithms/Common.hs
+formatted       f31d6710f319  vector-algorithms-0.9.1.0/src/Data/Vector/Algorithms/Heap.hs
+formatted       0bc19bab1900  vector-algorithms-0.9.1.0/src/Data/Vector/Algorithms/Insertion.hs
+formatted       e2f5f19bd4e3  vector-algorithms-0.9.1.0/src/Data/Vector/Algorithms/Intro.hs
+formatted       c6f5a04ac59b  vector-algorithms-0.9.1.0/src/Data/Vector/Algorithms/Merge.hs
+formatted       807c6c8f2f5b  vector-algorithms-0.9.1.0/src/Data/Vector/Algorithms/Optimal.hs
+formatted       4f9aeaf20570  vector-algorithms-0.9.1.0/src/Data/Vector/Algorithms/Radix.hs
+formatted       9d39f3ec9982  vector-algorithms-0.9.1.0/src/Data/Vector/Algorithms/Search.hs
+formatted       6509ff49d135  vector-algorithms-0.9.1.0/src/Data/Vector/Algorithms/Tim.hs
+formatted       14072b6b978e  vector-algorithms-0.9.1.0/tests/properties/Optimal.hs
+formatted       03a69e2b66f1  vector-algorithms-0.9.1.0/tests/properties/Properties.hs
+formatted       8f7808ad3dc5  vector-algorithms-0.9.1.0/tests/properties/Tests.hs
+formatted       93b49f21391a  vector-algorithms-0.9.1.0/tests/properties/Util.hs
+formatted       4059840b9201  wai-3.2.5/Network/Wai.hs
+formatted       77e84afde090  wai-3.2.5/Network/Wai/Internal.hs
+formatted       23ecfb6dd0d4  wai-3.2.5/test/Network/WaiSpec.hs
+formatted       2fbd14b119a4  wai-3.2.5/test/Spec.hs
+formatted       af81a4a19ee7  warp-3.4.15/Network/Wai/Handler/Warp.hs
+formatted       400d518b6dcb  warp-3.4.15/Network/Wai/Handler/Warp/Buffer.hs
+formatted       686b3d90fa33  warp-3.4.15/Network/Wai/Handler/Warp/Conduit.hs
+formatted       b1522f28804a  warp-3.4.15/Network/Wai/Handler/Warp/Counter.hs
+formatted       26b005936471  warp-3.4.15/Network/Wai/Handler/Warp/Date.hs
+formatted       ca4ff81b6d80  warp-3.4.15/Network/Wai/Handler/Warp/FdCache.hs
+formatted       0c1bb9ba4ad7  warp-3.4.15/Network/Wai/Handler/Warp/File.hs
+formatted       4ade2d98fa4f  warp-3.4.15/Network/Wai/Handler/Warp/FileInfoCache.hs
+formatted       98b057c1e4e4  warp-3.4.15/Network/Wai/Handler/Warp/HTTP1.hs
+formatted       dce118409398  warp-3.4.15/Network/Wai/Handler/Warp/HTTP2.hs
+formatted       bd2c8472e371  warp-3.4.15/Network/Wai/Handler/Warp/HTTP2/File.hs
+formatted       304f0818718f  warp-3.4.15/Network/Wai/Handler/Warp/HTTP2/PushPromise.hs
+formatted       2ca942a5bd0a  warp-3.4.15/Network/Wai/Handler/Warp/HTTP2/Request.hs
+formatted       68de61409d56  warp-3.4.15/Network/Wai/Handler/Warp/HTTP2/Response.hs
+formatted       9202beb572e9  warp-3.4.15/Network/Wai/Handler/Warp/HTTP2/Types.hs
+formatted       69c55babd99e  warp-3.4.15/Network/Wai/Handler/Warp/HashMap.hs
+formatted       0c695f890e12  warp-3.4.15/Network/Wai/Handler/Warp/Header.hs
+formatted       66f8fd1e9501  warp-3.4.15/Network/Wai/Handler/Warp/IO.hs
+formatted       eec8a730e3f9  warp-3.4.15/Network/Wai/Handler/Warp/Imports.hs
+formatted       a80a6d26bf16  warp-3.4.15/Network/Wai/Handler/Warp/Internal.hs
+formatted       e8583e08a2e4  warp-3.4.15/Network/Wai/Handler/Warp/MultiMap.hs
+formatted       908e5cebedf3  warp-3.4.15/Network/Wai/Handler/Warp/PackInt.hs
+formatted       7aed7499ea16  warp-3.4.15/Network/Wai/Handler/Warp/ReadInt.hs
+formatted       91264efdc436  warp-3.4.15/Network/Wai/Handler/Warp/Request.hs
+formatted       b9c0e8134cf0  warp-3.4.15/Network/Wai/Handler/Warp/RequestHeader.hs
+formatted       ddeb8da445cf  warp-3.4.15/Network/Wai/Handler/Warp/Response.hs
+formatted       daa0fe27c86b  warp-3.4.15/Network/Wai/Handler/Warp/ResponseHeader.hs
+formatted       ee14ea7e4487  warp-3.4.15/Network/Wai/Handler/Warp/Run.hs
+formatted       274636bdc6e3  warp-3.4.15/Network/Wai/Handler/Warp/SendFile.hs
+formatted       a4d1e2c70b85  warp-3.4.15/Network/Wai/Handler/Warp/Settings.hs
+formatted       bc4925a06045  warp-3.4.15/Network/Wai/Handler/Warp/ShuttingDown.hs
+formatted       eebb40462384  warp-3.4.15/Network/Wai/Handler/Warp/Types.hs
+formatted       f1ff20ab87da  warp-3.4.15/Network/Wai/Handler/Warp/Windows.hs
+formatted       66c5989d5fbe  warp-3.4.15/Network/Wai/Handler/Warp/WithApplication.hs
+formatted       ecbb5dd7ea6b  warp-3.4.15/bench/Parser.hs
+formatted       a01d45fd0893  warp-3.4.15/test/BufferSpec.hs
+formatted       ec638c853fb2  warp-3.4.15/test/ConduitSpec.hs
+formatted       ddaf6ad95e78  warp-3.4.15/test/ConnectionSpec.hs
+formatted       53b381d5f8ea  warp-3.4.15/test/EarlyHintsSpec.hs
+formatted       d3915eda99d9  warp-3.4.15/test/ExceptionSpec.hs
+formatted       25e451d35577  warp-3.4.15/test/FdCacheSpec.hs
+formatted       a90b8a3d78b7  warp-3.4.15/test/FileSpec.hs
+formatted       899e3c195934  warp-3.4.15/test/GracefulShutdownSpec.hs
+formatted       4d81d4cdb7c7  warp-3.4.15/test/HTTP.hs
+formatted       c120a9945dd0  warp-3.4.15/test/PackIntSpec.hs
+formatted       f573b661e36b  warp-3.4.15/test/ReadIntSpec.hs
+formatted       8a9e95829c90  warp-3.4.15/test/RequestSpec.hs
+formatted       f1521e51dcc2  warp-3.4.15/test/ResponseHeaderSpec.hs
+formatted       8677c265a083  warp-3.4.15/test/ResponseSpec.hs
+formatted       ebd403305c91  warp-3.4.15/test/RunSpec.hs
+formatted       aad435b25878  warp-3.4.15/test/SendFileSpec.hs
+formatted       7cbc466d38b8  warp-3.4.15/test/ServerStateSpec.hs
+formatted       2fbd14b119a4  warp-3.4.15/test/Spec.hs
+formatted       c3397589f63d  warp-3.4.15/test/WithApplicationSpec.hs
+formatted       c61ebeab72e9  warp-3.4.15/test/doctests.hs
+formatted       1ef4daa95460  xmonad-0.18.1/Main.hs
+formatted       72da0bc3c6e8  xmonad-0.18.1/man/xmonad.hs
+formatted       56423b24d408  xmonad-0.18.1/src/XMonad.hs
+formatted       7ce523ce663b  xmonad-0.18.1/src/XMonad/Config.hs
+formatted       dce1dea11aee  xmonad-0.18.1/src/XMonad/Core.hs
+formatted       413201d9a174  xmonad-0.18.1/src/XMonad/Layout.hs
+formatted       04cd00d02d78  xmonad-0.18.1/src/XMonad/Main.hs
+formatted       2c0fcf833895  xmonad-0.18.1/src/XMonad/ManageHook.hs
+formatted       1b7b0f01e04a  xmonad-0.18.1/src/XMonad/Operations.hs
+formatted       a5b6ebbf4bc6  xmonad-0.18.1/src/XMonad/StackSet.hs
+formatted       34912eb74a41  xmonad-0.18.1/tests/Instances.hs
+formatted       d933502d26e0  xmonad-0.18.1/tests/Properties.hs
+formatted       d862a2cc491d  xmonad-0.18.1/tests/Properties/Delete.hs
+formatted       2b9b1e6a3ce3  xmonad-0.18.1/tests/Properties/Failure.hs
+formatted       213b54bb8eb6  xmonad-0.18.1/tests/Properties/Floating.hs
+formatted       1f556ad8e8a4  xmonad-0.18.1/tests/Properties/Focus.hs
+formatted       987828ad9770  xmonad-0.18.1/tests/Properties/GreedyView.hs
+formatted       97b2d04b0c76  xmonad-0.18.1/tests/Properties/Insert.hs
+formatted       0bc4273eba41  xmonad-0.18.1/tests/Properties/Layout/Full.hs
+formatted       ef24fe4e11d6  xmonad-0.18.1/tests/Properties/Layout/Tall.hs
+formatted       7fd882b103b5  xmonad-0.18.1/tests/Properties/Screen.hs
+formatted       a84901059a9f  xmonad-0.18.1/tests/Properties/Shift.hs
+formatted       d6fbe0b0ce91  xmonad-0.18.1/tests/Properties/Stack.hs
+formatted       187761c283e6  xmonad-0.18.1/tests/Properties/StackSet.hs
+formatted       58277e7bf9ca  xmonad-0.18.1/tests/Properties/Swap.hs
+formatted       4bfd4736d1c8  xmonad-0.18.1/tests/Properties/View.hs
+formatted       9dc09443d597  xmonad-0.18.1/tests/Properties/Workspace.hs
+formatted       4653601a7ad2  xmonad-0.18.1/tests/Utils.hs
+formatted       e4725960e0d4  yesod-core-1.7.0.0/bench/widget.hs
+formatted       283e03e87061  yesod-core-1.7.0.0/src/Yesod/Core.hs
+formatted       bd90ada6318a  yesod-core-1.7.0.0/src/Yesod/Core/Class/Breadcrumbs.hs
+formatted       46383f03ee89  yesod-core-1.7.0.0/src/Yesod/Core/Class/Dispatch.hs
+formatted       fe7bbd26b53b  yesod-core-1.7.0.0/src/Yesod/Core/Class/Dispatch/ToParentRoute.hs
+formatted       50dc85255236  yesod-core-1.7.0.0/src/Yesod/Core/Class/Handler.hs
+formatted       b0d46d79b73c  yesod-core-1.7.0.0/src/Yesod/Core/Class/Yesod.hs
+formatted       71629f2ad7be  yesod-core-1.7.0.0/src/Yesod/Core/Content.hs
+formatted       9f9aa81b49cd  yesod-core-1.7.0.0/src/Yesod/Core/Dispatch.hs
+formatted       90ce5accad2f  yesod-core-1.7.0.0/src/Yesod/Core/Handler.hs
+formatted       88d4d8c2323a  yesod-core-1.7.0.0/src/Yesod/Core/Internal.hs
+formatted       0e4034045b22  yesod-core-1.7.0.0/src/Yesod/Core/Internal/LiteApp.hs
+formatted       5c95166c662f  yesod-core-1.7.0.0/src/Yesod/Core/Internal/Request.hs
+formatted       abf829c48a3b  yesod-core-1.7.0.0/src/Yesod/Core/Internal/Response.hs
+formatted       ddb5b94ff1db  yesod-core-1.7.0.0/src/Yesod/Core/Internal/Run.hs
+formatted       2834346c2158  yesod-core-1.7.0.0/src/Yesod/Core/Internal/Session.hs
+formatted       f0a5c01750cc  yesod-core-1.7.0.0/src/Yesod/Core/Internal/TH.hs
+formatted       1ecb030e4d6b  yesod-core-1.7.0.0/src/Yesod/Core/Internal/Util.hs
+formatted       b0945f5bd8fe  yesod-core-1.7.0.0/src/Yesod/Core/Json.hs
+formatted       bdc72bff60ed  yesod-core-1.7.0.0/src/Yesod/Core/TypeCache.hs
+formatted       611873b0713b  yesod-core-1.7.0.0/src/Yesod/Core/Types.hs
+formatted       38102a09e32a  yesod-core-1.7.0.0/src/Yesod/Core/Types/Content.hs
+formatted       49991219fbf5  yesod-core-1.7.0.0/src/Yesod/Core/Types/ErrorResponse.hs
+formatted       aeab5e00a6e8  yesod-core-1.7.0.0/src/Yesod/Core/Types/HandlerContents.hs
+formatted       2938df086936  yesod-core-1.7.0.0/src/Yesod/Core/Types/TypedContent.hs
+formatted       cb43a29cb1a5  yesod-core-1.7.0.0/src/Yesod/Core/Unsafe.hs
+formatted       77c5bcbe5ce9  yesod-core-1.7.0.0/src/Yesod/Core/Widget.hs
+formatted       03d409fbff68  yesod-core-1.7.0.0/src/Yesod/Routes/Class.hs
+formatted       e1d37ce8e798  yesod-core-1.7.0.0/src/Yesod/Routes/Overlap.hs
+formatted       783e35994d64  yesod-core-1.7.0.0/src/Yesod/Routes/Parse.hs
+formatted       7bcf63c3b7e5  yesod-core-1.7.0.0/src/Yesod/Routes/TH.hs
+formatted       b6fdd22fb0c3  yesod-core-1.7.0.0/src/Yesod/Routes/TH/Dispatch.hs
+formatted       bb83b54464ff  yesod-core-1.7.0.0/src/Yesod/Routes/TH/Internal.hs
+formatted       21e616a46d97  yesod-core-1.7.0.0/src/Yesod/Routes/TH/ParseRoute.hs
+formatted       d7d61342a5a8  yesod-core-1.7.0.0/src/Yesod/Routes/TH/RenderRoute.hs
+formatted       44292df9a628  yesod-core-1.7.0.0/src/Yesod/Routes/TH/RouteAttrs.hs
+formatted       cd53cbe7fd74  yesod-core-1.7.0.0/src/Yesod/Routes/TH/Types.hs
+formatted       b8eeba1d80bf  yesod-core-1.7.0.0/test/Hierarchy.hs
+formatted       ab69c9842eba  yesod-core-1.7.0.0/test/Hierarchy/Admin.hs
+formatted       b87af0831de1  yesod-core-1.7.0.0/test/Hierarchy/Nest.hs
+formatted       7cd32ed75a6f  yesod-core-1.7.0.0/test/Hierarchy/Nest2.hs
+formatted       0ac99c04d2ec  yesod-core-1.7.0.0/test/Hierarchy/Nest2/NestInner.hs
+formatted       90e63cfe93f9  yesod-core-1.7.0.0/test/Hierarchy/Nest3.hs
+formatted       709951e0cee9  yesod-core-1.7.0.0/test/Hierarchy/ResourceTree.hs
+formatted       b9518bfa3bfc  yesod-core-1.7.0.0/test/Route/DeepAritySpec.hs
+formatted       475f37e6e7d8  yesod-core-1.7.0.0/test/Route/DeepArityTypes.hs
+formatted       153a104d7134  yesod-core-1.7.0.0/test/Route/DiscoveryModeSpec.hs
+formatted       cfbfec41780a  yesod-core-1.7.0.0/test/Route/FallthroughSpec.hs
+formatted       10bae095975a  yesod-core-1.7.0.0/test/Route/FocusLeafConsSpec.hs
+formatted       c3d4b81d74a0  yesod-core-1.7.0.0/test/Route/InlineParseClausesSpec.hs
+formatted       60aa0686de3d  yesod-core-1.7.0.0/test/Route/InstanceProbeSpec.hs
+formatted       5f762e160869  yesod-core-1.7.0.0/test/Route/InstanceProbeTypes.hs
+formatted       15fa07981ed7  yesod-core-1.7.0.0/test/Route/MissingFocusTargetSpec.hs
+formatted       d1e7f57cfb29  yesod-core-1.7.0.0/test/Route/MissingFocusTargetTypes.hs
+formatted       991bfa237268  yesod-core-1.7.0.0/test/Route/NestedParseClausesSpec.hs
+formatted       96c9db79de94  yesod-core-1.7.0.0/test/Route/PureQ.hs
+formatted       13688285e0a3  yesod-core-1.7.0.0/test/Route/RenderRouteSpec.hs
+formatted       db172308fc13  yesod-core-1.7.0.0/test/Route/RouteAttrSpec.hs
+formatted       bdf9b0c8dfe3  yesod-core-1.7.0.0/test/Route/SubDispatchAritySpec.hs
+formatted       f0ec096b472a  yesod-core-1.7.0.0/test/RouteSpec.hs
+formatted       1eeac2064da5  yesod-core-1.7.0.0/test/YesodCoreTest.hs
+formatted       f4f2675efef6  yesod-core-1.7.0.0/test/YesodCoreTest/Auth.hs
+formatted       1df6377dde9d  yesod-core-1.7.0.0/test/YesodCoreTest/BangSeparatorRuntime.hs
+formatted       bb7e2a9cb027  yesod-core-1.7.0.0/test/YesodCoreTest/Breadcrumb.hs
+formatted       a6e3d613f1b9  yesod-core-1.7.0.0/test/YesodCoreTest/Cache.hs
+formatted       a5c9fb0b1d99  yesod-core-1.7.0.0/test/YesodCoreTest/CleanPath.hs
+formatted       36f59eaa4ab5  yesod-core-1.7.0.0/test/YesodCoreTest/Content.hs
+formatted       244a36731c27  yesod-core-1.7.0.0/test/YesodCoreTest/Csrf.hs
+formatted       fb0c6a944fe9  yesod-core-1.7.0.0/test/YesodCoreTest/ErrorHandling.hs
+formatted       a3ea253f5a29  yesod-core-1.7.0.0/test/YesodCoreTest/ErrorHandling/CustomApp.hs
+formatted       ade34be0a229  yesod-core-1.7.0.0/test/YesodCoreTest/Exceptions.hs
+formatted       a4440e79281d  yesod-core-1.7.0.0/test/YesodCoreTest/FallthroughDispatch/Resources.hs
+formatted       44a30ffb2504  yesod-core-1.7.0.0/test/YesodCoreTest/FallthroughDispatch/Runtime.hs
+formatted       4d5c1d9a3551  yesod-core-1.7.0.0/test/YesodCoreTest/FallthroughMatrix/FirstFoo.hs
+formatted       948b8bdc1c2f  yesod-core-1.7.0.0/test/YesodCoreTest/FallthroughMatrix/Resources.hs
+formatted       38cc365ab2d1  yesod-core-1.7.0.0/test/YesodCoreTest/FallthroughMatrix/Runtime.hs
+formatted       32a45173f0ca  yesod-core-1.7.0.0/test/YesodCoreTest/Header.hs
+formatted       1140471bf72a  yesod-core-1.7.0.0/test/YesodCoreTest/InternalRequest.hs
+formatted       90e1f585e02f  yesod-core-1.7.0.0/test/YesodCoreTest/JsAttributes.hs
+formatted       d09cc64eb612  yesod-core-1.7.0.0/test/YesodCoreTest/JsLoader.hs
+formatted       21bf15831aa6  yesod-core-1.7.0.0/test/YesodCoreTest/JsLoaderSites/Bottom.hs
+formatted       c4462f3fd70b  yesod-core-1.7.0.0/test/YesodCoreTest/Json.hs
+formatted       cea2a7533825  yesod-core-1.7.0.0/test/YesodCoreTest/Links.hs
+formatted       4458c6333c66  yesod-core-1.7.0.0/test/YesodCoreTest/LiteApp.hs
+formatted       163ff7e84861  yesod-core-1.7.0.0/test/YesodCoreTest/Media.hs
+formatted       b7985ba8cf16  yesod-core-1.7.0.0/test/YesodCoreTest/MediaData.hs
+formatted       57c5a2bd786f  yesod-core-1.7.0.0/test/YesodCoreTest/Meta.hs
+formatted       2d288964e06b  yesod-core-1.7.0.0/test/YesodCoreTest/MultiPieceNestedRuntime.hs
+formatted       d4eea1d37cde  yesod-core-1.7.0.0/test/YesodCoreTest/NestedDispatch/InnerR.hs
+formatted       116a27f33f27  yesod-core-1.7.0.0/test/YesodCoreTest/NestedDispatch/NestR.hs
+formatted       505b228eedf6  yesod-core-1.7.0.0/test/YesodCoreTest/NestedDispatch/Parent0R.hs
+formatted       d58afa4ccda5  yesod-core-1.7.0.0/test/YesodCoreTest/NestedDispatch/Parent0R/Child0R.hs
+formatted       2fd47146e89c  yesod-core-1.7.0.0/test/YesodCoreTest/NestedDispatch/ParentR.hs
+formatted       e8ef84185226  yesod-core-1.7.0.0/test/YesodCoreTest/NestedDispatch/Resources.hs
+formatted       bd4f71e97159  yesod-core-1.7.0.0/test/YesodCoreTest/NestedDispatch/Runtime.hs
+formatted       336965c21a44  yesod-core-1.7.0.0/test/YesodCoreTest/NoOverloadedStrings.hs
+formatted       07608e73ea88  yesod-core-1.7.0.0/test/YesodCoreTest/NoOverloadedStringsSub.hs
+formatted       982dc60b18aa  yesod-core-1.7.0.0/test/YesodCoreTest/ParamDefaultSplit/Data.hs
+formatted       bf4d490f2c52  yesod-core-1.7.0.0/test/YesodCoreTest/ParamDefaultSplit/Runtime.hs
+formatted       17dc1245f90a  yesod-core-1.7.0.0/test/YesodCoreTest/ParamFallthroughRuntime.hs
+formatted       93933a8e4c0d  yesod-core-1.7.0.0/test/YesodCoreTest/ParamFocusSplit/Resources.hs
+formatted       2d316961b35c  yesod-core-1.7.0.0/test/YesodCoreTest/ParamFocusSplit/Runtime.hs
+formatted       d65c8ae4eb2a  yesod-core-1.7.0.0/test/YesodCoreTest/ParamFocusSplit/SubR.hs
+formatted       1ce2bd9e4478  yesod-core-1.7.0.0/test/YesodCoreTest/ParamNestedNoFallthroughRuntime.hs
+formatted       fae611c3df33  yesod-core-1.7.0.0/test/YesodCoreTest/ParamNoExplicitArgs.hs
+formatted       4dea83737145  yesod-core-1.7.0.0/test/YesodCoreTest/ParamNoFallthroughRuntime.hs
+formatted       7d9fb2207910  yesod-core-1.7.0.0/test/YesodCoreTest/ParamSubsite/Data.hs
+formatted       80a3cfd1c5a8  yesod-core-1.7.0.0/test/YesodCoreTest/ParamSubsite/InstanceRuntime.hs
+formatted       422401c1ce9a  yesod-core-1.7.0.0/test/YesodCoreTest/ParamSubsite/SplitNested.hs
+formatted       049e093f17f7  yesod-core-1.7.0.0/test/YesodCoreTest/ParamSubsite/SplitRuntime.hs
+formatted       dc1aea105291  yesod-core-1.7.0.0/test/YesodCoreTest/ParamTopLevelRuntime.hs
+formatted       7608937a1fa5  yesod-core-1.7.0.0/test/YesodCoreTest/ParameterizedSite.hs
+formatted       fa83ece3173f  yesod-core-1.7.0.0/test/YesodCoreTest/ParameterizedSite/Compat.hs
+formatted       e39ccad26de5  yesod-core-1.7.0.0/test/YesodCoreTest/ParameterizedSite/PolyAny.hs
+formatted       c2b5073401c0  yesod-core-1.7.0.0/test/YesodCoreTest/ParameterizedSite/PolyShow.hs
+formatted       80269ebd375e  yesod-core-1.7.0.0/test/YesodCoreTest/ParameterizedSite/SubRoute.hs
+formatted       6d170f519aa0  yesod-core-1.7.0.0/test/YesodCoreTest/ParameterizedSubData.hs
+formatted       309bd7befcec  yesod-core-1.7.0.0/test/YesodCoreTest/ParameterizedSubDispatch.hs
+formatted       eb2ad79d2f60  yesod-core-1.7.0.0/test/YesodCoreTest/ParameterizedSubDispatch/Data.hs
+formatted       e0297b93f9ff  yesod-core-1.7.0.0/test/YesodCoreTest/ParameterizedSubDispatchRuntime.hs
+formatted       608d637afdd1  yesod-core-1.7.0.0/test/YesodCoreTest/ParameterizedSubDispatchRuntime/Data.hs
+formatted       0ba76e2f90d1  yesod-core-1.7.0.0/test/YesodCoreTest/RawResponse.hs
+formatted       09e6801e2ac6  yesod-core-1.7.0.0/test/YesodCoreTest/Redirect.hs
+formatted       a774296f0349  yesod-core-1.7.0.0/test/YesodCoreTest/RenderRouteSpec.hs
+formatted       139e78486aea  yesod-core-1.7.0.0/test/YesodCoreTest/RenderRouteSpec/TH.hs
+formatted       8fbbe763e1cf  yesod-core-1.7.0.0/test/YesodCoreTest/Reps.hs
+formatted       2d0bd21e80ae  yesod-core-1.7.0.0/test/YesodCoreTest/RequestBodySize.hs
+formatted       de58c0d04868  yesod-core-1.7.0.0/test/YesodCoreTest/RuntimeHarness.hs
+formatted       a03f5bc57962  yesod-core-1.7.0.0/test/YesodCoreTest/SplitSubsite/Data.hs
+formatted       e537a3755f51  yesod-core-1.7.0.0/test/YesodCoreTest/SplitSubsite/NestedR.hs
+formatted       7b217d77e84a  yesod-core-1.7.0.0/test/YesodCoreTest/SplitSubsite/Runtime.hs
+formatted       42f252116349  yesod-core-1.7.0.0/test/YesodCoreTest/Ssl.hs
+formatted       43a4abfabbe1  yesod-core-1.7.0.0/test/YesodCoreTest/Streaming.hs
+formatted       a35e9bdc6713  yesod-core-1.7.0.0/test/YesodCoreTest/StubLaxSameSite.hs
+formatted       d4ec2873e499  yesod-core-1.7.0.0/test/YesodCoreTest/StubSslOnly.hs
+formatted       689760d000a3  yesod-core-1.7.0.0/test/YesodCoreTest/StubStrictSameSite.hs
+formatted       7fea39a22dcb  yesod-core-1.7.0.0/test/YesodCoreTest/StubUnsecured.hs
+formatted       8841ed9d2184  yesod-core-1.7.0.0/test/YesodCoreTest/SubSub.hs
+formatted       51df86ac759c  yesod-core-1.7.0.0/test/YesodCoreTest/SubSubData.hs
+formatted       7cd0e7170008  yesod-core-1.7.0.0/test/YesodCoreTest/SubsiteFallthrough/Data.hs
+formatted       7233cfa65ab3  yesod-core-1.7.0.0/test/YesodCoreTest/SubsiteFallthrough/Nested.hs
+formatted       4343d48e864c  yesod-core-1.7.0.0/test/YesodCoreTest/SubsiteFallthrough/Runtime.hs
+formatted       440f7a2f5da2  yesod-core-1.7.0.0/test/YesodCoreTest/SubsiteOptsFallthrough/Data.hs
+formatted       2e2ac9f2bb9b  yesod-core-1.7.0.0/test/YesodCoreTest/SubsiteOptsFallthrough/Runtime.hs
+formatted       35800f128718  yesod-core-1.7.0.0/test/YesodCoreTest/WaiSubsite.hs
+formatted       11eaf4eeb156  yesod-core-1.7.0.0/test/YesodCoreTest/Widget.hs
+formatted       bfc18a82d096  yesod-core-1.7.0.0/test/YesodCoreTest/YesodTest.hs
+formatted       84b97f6c84a6  yesod-core-1.7.0.0/test/YesodCoreTest/ZeroPieceShadow/FallApp.hs
+formatted       655445cfd3a8  yesod-core-1.7.0.0/test/YesodCoreTest/ZeroPieceShadow/ShadowApp.hs
+formatted       14d0e360d5c8  yesod-core-1.7.0.0/test/YesodCoreTest/ZeroPieceShadowRuntime.hs
+formatted       4f1961d6e899  yesod-core-1.7.0.0/test/test.hs
diff --git a/corpora/hackage/hackage.manifest' b/corpora/hackage/hackage.manifest'
new file mode 100644
--- /dev/null
+++ b/corpora/hackage/hackage.manifest'
@@ -0,0 +1,5386 @@
+# What each example of this corpus does today, one line each.
+# Generated: run the test suite with TILIA_HACKAGE_ACCEPT=1.
+# See Tilia.Corpus.Manifest for what the outcomes mean, and the
+# matching .report for why each example that is not `formatted` is
+# not.
+
+formatted       4cb5533aeaaa  Agda-2.8.0/src/agda-mode/Main.hs
+formatted       d173e3d08f57  Agda-2.8.0/src/data/MAlonzo/src/MAlonzo/RTE.hs
+formatted       66ab064b6cda  Agda-2.8.0/src/data/MAlonzo/src/MAlonzo/RTE/Float.hs
+formatted       8de5f764a71d  Agda-2.8.0/src/full/Agda/Benchmarking.hs
+formatted       c96c9c5ce141  Agda-2.8.0/src/full/Agda/Compiler/Backend.hs
+formatted       3374c57eb8b2  Agda-2.8.0/src/full/Agda/Compiler/Backend/Base.hs
+formatted       0e403ffba234  Agda-2.8.0/src/full/Agda/Compiler/Builtin.hs
+formatted       8260f1bdffe6  Agda-2.8.0/src/full/Agda/Compiler/CallCompiler.hs
+formatted       f3e0c374d42d  Agda-2.8.0/src/full/Agda/Compiler/Common.hs
+formatted       61e393115b11  Agda-2.8.0/src/full/Agda/Compiler/JS/Compiler.hs
+formatted       fc00fd5f5e9b  Agda-2.8.0/src/full/Agda/Compiler/JS/Pretty.hs
+formatted       c08bd93dc4b5  Agda-2.8.0/src/full/Agda/Compiler/JS/Substitution.hs
+formatted       708e2e75fe47  Agda-2.8.0/src/full/Agda/Compiler/JS/Syntax.hs
+formatted       f58798fc7a9c  Agda-2.8.0/src/full/Agda/Compiler/MAlonzo/Coerce.hs
+formatted       0a969eb8598e  Agda-2.8.0/src/full/Agda/Compiler/MAlonzo/Compiler.hs
+formatted       636668e20113  Agda-2.8.0/src/full/Agda/Compiler/MAlonzo/Encode.hs
+formatted       7c4363a5af88  Agda-2.8.0/src/full/Agda/Compiler/MAlonzo/HaskellTypes.hs
+formatted       002bd3ad7321  Agda-2.8.0/src/full/Agda/Compiler/MAlonzo/Misc.hs
+formatted       aa5e6927b190  Agda-2.8.0/src/full/Agda/Compiler/MAlonzo/Pragmas.hs
+formatted       7acc77ac3c62  Agda-2.8.0/src/full/Agda/Compiler/MAlonzo/Pretty.hs
+formatted       9842a546a6d0  Agda-2.8.0/src/full/Agda/Compiler/MAlonzo/Primitives.hs
+formatted       d1d9f50b0ed9  Agda-2.8.0/src/full/Agda/Compiler/MAlonzo/Strict.hs
+formatted       7d7bdb640066  Agda-2.8.0/src/full/Agda/Compiler/ToTreeless.hs
+formatted       1b28b2589ef0  Agda-2.8.0/src/full/Agda/Compiler/Treeless/AsPatterns.hs
+formatted       d15ed59128b6  Agda-2.8.0/src/full/Agda/Compiler/Treeless/Builtin.hs
+formatted       4f22dd964cd7  Agda-2.8.0/src/full/Agda/Compiler/Treeless/Compare.hs
+formatted       eab18a54e4d4  Agda-2.8.0/src/full/Agda/Compiler/Treeless/EliminateDefaults.hs
+formatted       fa3afe0936d0  Agda-2.8.0/src/full/Agda/Compiler/Treeless/EliminateLiteralPatterns.hs
+formatted       895024e64582  Agda-2.8.0/src/full/Agda/Compiler/Treeless/Erase.hs
+formatted       4bf71aa72967  Agda-2.8.0/src/full/Agda/Compiler/Treeless/Erase.hs-boot
+formatted       896772b1d439  Agda-2.8.0/src/full/Agda/Compiler/Treeless/GuardsToPrims.hs
+formatted       e49afd58dfb7  Agda-2.8.0/src/full/Agda/Compiler/Treeless/Identity.hs
+formatted       c0de606b0a6d  Agda-2.8.0/src/full/Agda/Compiler/Treeless/NormalizeNames.hs
+formatted       7e2faf09d6a7  Agda-2.8.0/src/full/Agda/Compiler/Treeless/Pretty.hs
+formatted       9e9ffec9fb88  Agda-2.8.0/src/full/Agda/Compiler/Treeless/Pretty.hs-boot
+formatted       582281898fec  Agda-2.8.0/src/full/Agda/Compiler/Treeless/Simplify.hs
+formatted       968d4a03c9b0  Agda-2.8.0/src/full/Agda/Compiler/Treeless/Subst.hs
+formatted       74b00f00f4b6  Agda-2.8.0/src/full/Agda/Compiler/Treeless/Uncase.hs
+formatted       c66c5f31ba3b  Agda-2.8.0/src/full/Agda/Compiler/Treeless/Unused.hs
+formatted       230b556031df  Agda-2.8.0/src/full/Agda/ImpossibleTest.hs
+formatted       f043139e4c77  Agda-2.8.0/src/full/Agda/Interaction/AgdaTop.hs
+formatted       8a3954fb1d33  Agda-2.8.0/src/full/Agda/Interaction/Base.hs
+formatted       8aabf9d3d4b9  Agda-2.8.0/src/full/Agda/Interaction/BasicOps.hs
+formatted       7caac2b355c4  Agda-2.8.0/src/full/Agda/Interaction/BuildLibrary.hs
+formatted       ad4149cde6ab  Agda-2.8.0/src/full/Agda/Interaction/Command.hs
+formatted       76022fdc5e17  Agda-2.8.0/src/full/Agda/Interaction/CommandLine.hs
+formatted       28902daccc9e  Agda-2.8.0/src/full/Agda/Interaction/EmacsCommand.hs
+formatted       d161717a0130  Agda-2.8.0/src/full/Agda/Interaction/EmacsTop.hs
+formatted       25618b7a8c66  Agda-2.8.0/src/full/Agda/Interaction/ExitCode.hs
+formatted       5ad74552eabc  Agda-2.8.0/src/full/Agda/Interaction/FindFile.hs
+formatted       a02eb1a2bbf5  Agda-2.8.0/src/full/Agda/Interaction/Highlighting/Common.hs
+formatted       e382933f5890  Agda-2.8.0/src/full/Agda/Interaction/Highlighting/Dot.hs
+formatted       ba967dc0b8cc  Agda-2.8.0/src/full/Agda/Interaction/Highlighting/Dot/Backend.hs
+formatted       406693906471  Agda-2.8.0/src/full/Agda/Interaction/Highlighting/Dot/Base.hs
+formatted       4c202b472c20  Agda-2.8.0/src/full/Agda/Interaction/Highlighting/Emacs.hs
+formatted       60a9de661e94  Agda-2.8.0/src/full/Agda/Interaction/Highlighting/FromAbstract.hs
+formatted       61a52f04c597  Agda-2.8.0/src/full/Agda/Interaction/Highlighting/Generate.hs
+formatted       8bc140b18e62  Agda-2.8.0/src/full/Agda/Interaction/Highlighting/Generate.hs-boot
+formatted       2a18d28c5db4  Agda-2.8.0/src/full/Agda/Interaction/Highlighting/HTML.hs
+formatted       7212b2eed135  Agda-2.8.0/src/full/Agda/Interaction/Highlighting/HTML/Backend.hs
+formatted       740a8e7b5205  Agda-2.8.0/src/full/Agda/Interaction/Highlighting/HTML/Base.hs
+formatted       27e46c2f5ac6  Agda-2.8.0/src/full/Agda/Interaction/Highlighting/JSON.hs
+formatted       a693719c4e72  Agda-2.8.0/src/full/Agda/Interaction/Highlighting/LaTeX.hs
+formatted       345e1f998191  Agda-2.8.0/src/full/Agda/Interaction/Highlighting/LaTeX/Backend.hs
+formatted       156fc8bacffc  Agda-2.8.0/src/full/Agda/Interaction/Highlighting/LaTeX/Base.hs
+formatted       0e873b1f0b5f  Agda-2.8.0/src/full/Agda/Interaction/Highlighting/Precise.hs
+formatted       5e5c1126cdf7  Agda-2.8.0/src/full/Agda/Interaction/Highlighting/Range.hs
+formatted       0dba543bac13  Agda-2.8.0/src/full/Agda/Interaction/Highlighting/Vim.hs
+formatted       720d0a569c04  Agda-2.8.0/src/full/Agda/Interaction/Imports.hs
+formatted       35e9a0d21e62  Agda-2.8.0/src/full/Agda/Interaction/Imports.hs-boot
+formatted       de8a133a563f  Agda-2.8.0/src/full/Agda/Interaction/InteractionTop.hs
+formatted       2f709bac85f1  Agda-2.8.0/src/full/Agda/Interaction/JSON.hs
+formatted       74a99ba610f1  Agda-2.8.0/src/full/Agda/Interaction/JSONTop.hs
+formatted       e038f7f978f9  Agda-2.8.0/src/full/Agda/Interaction/Library.hs
+formatted       de06bbddf83c  Agda-2.8.0/src/full/Agda/Interaction/Library/Base.hs
+formatted       16823cca6049  Agda-2.8.0/src/full/Agda/Interaction/Library/Parse.hs
+formatted       d2c2a2db2e0b  Agda-2.8.0/src/full/Agda/Interaction/MakeCase.hs
+formatted       060a475acb7d  Agda-2.8.0/src/full/Agda/Interaction/Monad.hs
+formatted       e413d5aeeac4  Agda-2.8.0/src/full/Agda/Interaction/Options.hs
+formatted       f2aab84a19b7  Agda-2.8.0/src/full/Agda/Interaction/Options/Base.hs
+formatted       ab7d38d14846  Agda-2.8.0/src/full/Agda/Interaction/Options/Errors.hs
+formatted       5ef966ddfd38  Agda-2.8.0/src/full/Agda/Interaction/Options/HasOptions.hs
+formatted       fda4ce12620b  Agda-2.8.0/src/full/Agda/Interaction/Options/Help.hs
+formatted       62699ce86e7a  Agda-2.8.0/src/full/Agda/Interaction/Options/Lenses.hs
+formatted       a7c108c199f8  Agda-2.8.0/src/full/Agda/Interaction/Options/Types.hs
+formatted       8aaa5a24d67f  Agda-2.8.0/src/full/Agda/Interaction/Options/Warnings.hs
+formatted       60c929f054dc  Agda-2.8.0/src/full/Agda/Interaction/Output.hs
+formatted       bcf3b5ee4e6f  Agda-2.8.0/src/full/Agda/Interaction/Response.hs
+formatted       95b93f9067ce  Agda-2.8.0/src/full/Agda/Interaction/Response/Base.hs
+formatted       ea8e24ea1c85  Agda-2.8.0/src/full/Agda/Interaction/SearchAbout.hs
+partly-checked  635f4a9b0d7b  Agda-2.8.0/src/full/Agda/Main.hs
+formatted       47b142ff565a  Agda-2.8.0/src/full/Agda/Mimer/Mimer.hs
+formatted       4b0885e2ffdb  Agda-2.8.0/src/full/Agda/Mimer/Options.hs
+formatted       f66ed883ce2e  Agda-2.8.0/src/full/Agda/Syntax/Abstract.hs
+formatted       0f992df77da3  Agda-2.8.0/src/full/Agda/Syntax/Abstract/Name.hs
+formatted       18ab90668fbd  Agda-2.8.0/src/full/Agda/Syntax/Abstract/Pattern.hs
+formatted       74c8e0c22522  Agda-2.8.0/src/full/Agda/Syntax/Abstract/PatternSynonyms.hs
+formatted       193199ec6b56  Agda-2.8.0/src/full/Agda/Syntax/Abstract/Pretty.hs
+formatted       058bf19b4c67  Agda-2.8.0/src/full/Agda/Syntax/Abstract/UsedNames.hs
+formatted       b953853610c5  Agda-2.8.0/src/full/Agda/Syntax/Abstract/Views.hs
+formatted       7acaaabdb636  Agda-2.8.0/src/full/Agda/Syntax/Builtin.hs
+formatted       84aa2ad39897  Agda-2.8.0/src/full/Agda/Syntax/Common.hs
+formatted       9a3c824644be  Agda-2.8.0/src/full/Agda/Syntax/Common/Aspect.hs
+formatted       ab4c621ce4a1  Agda-2.8.0/src/full/Agda/Syntax/Common/KeywordRange.hs
+formatted       e85f3722e4c6  Agda-2.8.0/src/full/Agda/Syntax/Common/Pretty.hs
+formatted       d69d06606c9b  Agda-2.8.0/src/full/Agda/Syntax/Common/Pretty/ANSI.hs
+formatted       8e432fa69c9e  Agda-2.8.0/src/full/Agda/Syntax/Concrete.hs
+formatted       ffe60153cc56  Agda-2.8.0/src/full/Agda/Syntax/Concrete/Attribute.hs
+formatted       2179063d3323  Agda-2.8.0/src/full/Agda/Syntax/Concrete/Definitions.hs
+formatted       1baee275dc8b  Agda-2.8.0/src/full/Agda/Syntax/Concrete/Definitions/Errors.hs
+formatted       89de36aee8b8  Agda-2.8.0/src/full/Agda/Syntax/Concrete/Definitions/Monad.hs
+formatted       9beb88134350  Agda-2.8.0/src/full/Agda/Syntax/Concrete/Definitions/Types.hs
+formatted       3a01c97f0dc6  Agda-2.8.0/src/full/Agda/Syntax/Concrete/Fixity.hs
+formatted       913ac4063c17  Agda-2.8.0/src/full/Agda/Syntax/Concrete/Generic.hs
+formatted       15008b8e9887  Agda-2.8.0/src/full/Agda/Syntax/Concrete/Glyph.hs
+formatted       0be270d98a94  Agda-2.8.0/src/full/Agda/Syntax/Concrete/Name.hs
+formatted       018904aba1bd  Agda-2.8.0/src/full/Agda/Syntax/Concrete/Operators.hs
+formatted       bfc7ed0cdaf7  Agda-2.8.0/src/full/Agda/Syntax/Concrete/Operators/Parser.hs
+formatted       6958e8e88b87  Agda-2.8.0/src/full/Agda/Syntax/Concrete/Operators/Parser/Monad.hs
+formatted       fb19996e6a74  Agda-2.8.0/src/full/Agda/Syntax/Concrete/Pattern.hs
+formatted       47a6641eba1c  Agda-2.8.0/src/full/Agda/Syntax/Concrete/Pretty.hs
+formatted       f3e8e5f4d276  Agda-2.8.0/src/full/Agda/Syntax/DoNotation.hs
+formatted       07e01d05fa9e  Agda-2.8.0/src/full/Agda/Syntax/Fixity.hs
+formatted       c694320bf67a  Agda-2.8.0/src/full/Agda/Syntax/IdiomBrackets.hs
+formatted       f2b5f5dc5ac1  Agda-2.8.0/src/full/Agda/Syntax/Info.hs
+formatted       79f0889206b3  Agda-2.8.0/src/full/Agda/Syntax/Internal.hs
+formatted       34300b35a363  Agda-2.8.0/src/full/Agda/Syntax/Internal/Blockers.hs
+formatted       ad1ac59c7510  Agda-2.8.0/src/full/Agda/Syntax/Internal/Defs.hs
+formatted       4aa9f761e1bc  Agda-2.8.0/src/full/Agda/Syntax/Internal/Elim.hs
+formatted       8ccaafa04610  Agda-2.8.0/src/full/Agda/Syntax/Internal/Generic.hs
+formatted       b385b5523d6f  Agda-2.8.0/src/full/Agda/Syntax/Internal/MetaVars.hs
+formatted       bcb399670765  Agda-2.8.0/src/full/Agda/Syntax/Internal/Names.hs
+formatted       cb52d4eea122  Agda-2.8.0/src/full/Agda/Syntax/Internal/Pattern.hs
+formatted       96ec8320655f  Agda-2.8.0/src/full/Agda/Syntax/Internal/SanityCheck.hs
+formatted       cb71bf550732  Agda-2.8.0/src/full/Agda/Syntax/Internal/Univ.hs
+formatted       0b8c5e708704  Agda-2.8.0/src/full/Agda/Syntax/Literal.hs
+formatted       8272a9da92fb  Agda-2.8.0/src/full/Agda/Syntax/Notation.hs
+formatted       b5439d440ffd  Agda-2.8.0/src/full/Agda/Syntax/Parser.hs
+formatted       488350aa7206  Agda-2.8.0/src/full/Agda/Syntax/Parser/Alex.hs
+formatted       877fcce586e8  Agda-2.8.0/src/full/Agda/Syntax/Parser/Comments.hs
+formatted       7f395c969b37  Agda-2.8.0/src/full/Agda/Syntax/Parser/Helpers.hs
+formatted       9605e0fd74cb  Agda-2.8.0/src/full/Agda/Syntax/Parser/Layout.hs
+formatted       b3fb36074827  Agda-2.8.0/src/full/Agda/Syntax/Parser/Layout.hs-boot
+formatted       8ba11214f875  Agda-2.8.0/src/full/Agda/Syntax/Parser/LexActions.hs
+formatted       d5d9a0b66729  Agda-2.8.0/src/full/Agda/Syntax/Parser/LexActions.hs-boot
+formatted       c91724ba7eda  Agda-2.8.0/src/full/Agda/Syntax/Parser/Literate.hs
+formatted       adb9bf50794b  Agda-2.8.0/src/full/Agda/Syntax/Parser/LookAhead.hs
+formatted       43084308bb50  Agda-2.8.0/src/full/Agda/Syntax/Parser/Monad.hs
+formatted       6349a3b28a8c  Agda-2.8.0/src/full/Agda/Syntax/Parser/StringLiterals.hs
+formatted       c7ad6b5f62a9  Agda-2.8.0/src/full/Agda/Syntax/Parser/Tokens.hs
+formatted       74552b52f39b  Agda-2.8.0/src/full/Agda/Syntax/Position.hs
+formatted       d16539c2a462  Agda-2.8.0/src/full/Agda/Syntax/Position.hs-boot
+formatted       1a5415bd6dd7  Agda-2.8.0/src/full/Agda/Syntax/Reflected.hs
+formatted       1ed988a9c147  Agda-2.8.0/src/full/Agda/Syntax/Scope/Base.hs
+formatted       a158e898804e  Agda-2.8.0/src/full/Agda/Syntax/Scope/Flat.hs
+formatted       73cdcee43c3e  Agda-2.8.0/src/full/Agda/Syntax/Scope/Monad.hs
+formatted       8fb5ece12687  Agda-2.8.0/src/full/Agda/Syntax/TopLevelModuleName.hs
+formatted       0199c225c79c  Agda-2.8.0/src/full/Agda/Syntax/TopLevelModuleName/Boot.hs
+formatted       6562f134ca39  Agda-2.8.0/src/full/Agda/Syntax/Translation/AbstractToConcrete.hs
+formatted       2735a8daa17c  Agda-2.8.0/src/full/Agda/Syntax/Translation/ConcreteToAbstract.hs
+formatted       1c54cf4d8c4b  Agda-2.8.0/src/full/Agda/Syntax/Translation/InternalToAbstract.hs
+formatted       b4cec2ae7c26  Agda-2.8.0/src/full/Agda/Syntax/Translation/ReflectedToAbstract.hs
+formatted       39ba1fdf2988  Agda-2.8.0/src/full/Agda/Syntax/Treeless.hs
+formatted       1160f518bcca  Agda-2.8.0/src/full/Agda/Termination/CallGraph.hs
+formatted       5829f90fa9f6  Agda-2.8.0/src/full/Agda/Termination/CallMatrix.hs
+formatted       54bf067bf2ad  Agda-2.8.0/src/full/Agda/Termination/CutOff.hs
+formatted       32325114f03f  Agda-2.8.0/src/full/Agda/Termination/Monad.hs
+formatted       1c97e63b5bfe  Agda-2.8.0/src/full/Agda/Termination/Order.hs
+formatted       301684ef85a1  Agda-2.8.0/src/full/Agda/Termination/RecCheck.hs
+formatted       88d99e38d0be  Agda-2.8.0/src/full/Agda/Termination/Semiring.hs
+formatted       a2905d5167ef  Agda-2.8.0/src/full/Agda/Termination/SparseMatrix.hs
+formatted       badb88cd53ae  Agda-2.8.0/src/full/Agda/Termination/TermCheck.hs
+formatted       973186ad9c35  Agda-2.8.0/src/full/Agda/Termination/Termination.hs
+formatted       d00a3b67c166  Agda-2.8.0/src/full/Agda/TheTypeChecker.hs
+formatted       2bf7c6250552  Agda-2.8.0/src/full/Agda/TypeChecking/Abstract.hs
+formatted       f180432a474a  Agda-2.8.0/src/full/Agda/TypeChecking/CheckInternal.hs
+formatted       42f9616d4ec8  Agda-2.8.0/src/full/Agda/TypeChecking/CheckInternal.hs-boot
+formatted       3c254aa7081c  Agda-2.8.0/src/full/Agda/TypeChecking/CompiledClause.hs
+formatted       0c674d7207d3  Agda-2.8.0/src/full/Agda/TypeChecking/CompiledClause/Compile.hs
+formatted       763f0fea95c0  Agda-2.8.0/src/full/Agda/TypeChecking/CompiledClause/Compile.hs-boot
+formatted       47e58d17a2fa  Agda-2.8.0/src/full/Agda/TypeChecking/CompiledClause/Match.hs
+formatted       13bb813a7b18  Agda-2.8.0/src/full/Agda/TypeChecking/CompiledClause/Match.hs-boot
+formatted       32ce9ec0d843  Agda-2.8.0/src/full/Agda/TypeChecking/Constraints.hs
+formatted       4d5e739c44c7  Agda-2.8.0/src/full/Agda/TypeChecking/Constraints.hs-boot
+formatted       fd1c155492fd  Agda-2.8.0/src/full/Agda/TypeChecking/Conversion.hs
+formatted       16a0fe74e8d3  Agda-2.8.0/src/full/Agda/TypeChecking/Conversion.hs-boot
+formatted       43199d0e6db4  Agda-2.8.0/src/full/Agda/TypeChecking/Conversion/Pure.hs
+formatted       525422ee73e5  Agda-2.8.0/src/full/Agda/TypeChecking/Coverage.hs
+formatted       b4e3efe48424  Agda-2.8.0/src/full/Agda/TypeChecking/Coverage/Cubical.hs
+formatted       3750ef14635f  Agda-2.8.0/src/full/Agda/TypeChecking/Coverage/Match.hs
+formatted       03eb4bdeece5  Agda-2.8.0/src/full/Agda/TypeChecking/Coverage/SplitClause.hs
+formatted       20d15cfee46f  Agda-2.8.0/src/full/Agda/TypeChecking/Coverage/SplitTree.hs
+formatted       caa8701a7622  Agda-2.8.0/src/full/Agda/TypeChecking/Datatypes.hs
+formatted       48981aa4e21f  Agda-2.8.0/src/full/Agda/TypeChecking/Datatypes.hs-boot
+formatted       e3e3e53d5643  Agda-2.8.0/src/full/Agda/TypeChecking/DeadCode.hs
+formatted       bc1dc83e2f04  Agda-2.8.0/src/full/Agda/TypeChecking/DiscrimTree.hs
+formatted       90909738066b  Agda-2.8.0/src/full/Agda/TypeChecking/DiscrimTree/Types.hs
+formatted       63f9780bdf9f  Agda-2.8.0/src/full/Agda/TypeChecking/DisplayForm.hs
+formatted       70c3abab94a1  Agda-2.8.0/src/full/Agda/TypeChecking/DropArgs.hs
+formatted       d64437f64cea  Agda-2.8.0/src/full/Agda/TypeChecking/Empty.hs
+formatted       7ab758d65030  Agda-2.8.0/src/full/Agda/TypeChecking/Empty.hs-boot
+formatted       209d1a4b50ab  Agda-2.8.0/src/full/Agda/TypeChecking/Errors.hs
+formatted       0460f86ad8c7  Agda-2.8.0/src/full/Agda/TypeChecking/Errors.hs-boot
+formatted       dc492936b52c  Agda-2.8.0/src/full/Agda/TypeChecking/Errors/Names.hs
+formatted       03bb3b814f75  Agda-2.8.0/src/full/Agda/TypeChecking/EtaContract.hs
+formatted       233ef060885f  Agda-2.8.0/src/full/Agda/TypeChecking/Forcing.hs
+formatted       1165e9a1aa44  Agda-2.8.0/src/full/Agda/TypeChecking/Free.hs
+formatted       0a6e0d457ed6  Agda-2.8.0/src/full/Agda/TypeChecking/Free/Lazy.hs
+formatted       1acd223de927  Agda-2.8.0/src/full/Agda/TypeChecking/Free/Precompute.hs
+formatted       45736c9d5b1f  Agda-2.8.0/src/full/Agda/TypeChecking/Free/Reduce.hs
+formatted       c2839296531b  Agda-2.8.0/src/full/Agda/TypeChecking/Functions.hs
+formatted       245569d3ab51  Agda-2.8.0/src/full/Agda/TypeChecking/Generalize.hs
+formatted       d272ab3ef492  Agda-2.8.0/src/full/Agda/TypeChecking/IApplyConfluence.hs
+formatted       057fe4a2df51  Agda-2.8.0/src/full/Agda/TypeChecking/Implicit.hs
+formatted       e781cb931071  Agda-2.8.0/src/full/Agda/TypeChecking/Injectivity.hs
+formatted       b7cfdac403f5  Agda-2.8.0/src/full/Agda/TypeChecking/Inlining.hs
+formatted       66b8e1d9cebc  Agda-2.8.0/src/full/Agda/TypeChecking/InstanceArguments.hs
+formatted       7d755d9e3fdd  Agda-2.8.0/src/full/Agda/TypeChecking/InstanceArguments.hs-boot
+formatted       4d3ecee9913d  Agda-2.8.0/src/full/Agda/TypeChecking/Irrelevance.hs
+formatted       431c2296f300  Agda-2.8.0/src/full/Agda/TypeChecking/Irrelevance.hs-boot
+formatted       2944cd8f80c0  Agda-2.8.0/src/full/Agda/TypeChecking/Level.hs
+formatted       ae9854316d38  Agda-2.8.0/src/full/Agda/TypeChecking/Level.hs-boot
+formatted       77015a246915  Agda-2.8.0/src/full/Agda/TypeChecking/Level/Solve.hs
+formatted       d141636cb50e  Agda-2.8.0/src/full/Agda/TypeChecking/LevelConstraints.hs
+formatted       60d78e0a52b4  Agda-2.8.0/src/full/Agda/TypeChecking/Lock.hs
+formatted       e8f74a1676a7  Agda-2.8.0/src/full/Agda/TypeChecking/Lock.hs-boot
+formatted       1f6a0826de87  Agda-2.8.0/src/full/Agda/TypeChecking/MetaVars.hs
+formatted       73ee5f64f2aa  Agda-2.8.0/src/full/Agda/TypeChecking/MetaVars.hs-boot
+formatted       cca3a1b153ae  Agda-2.8.0/src/full/Agda/TypeChecking/MetaVars/Mention.hs
+formatted       8c3b354ba6a7  Agda-2.8.0/src/full/Agda/TypeChecking/MetaVars/Occurs.hs
+formatted       37a96e17d2f6  Agda-2.8.0/src/full/Agda/TypeChecking/Modalities.hs
+formatted       c5687b0f4f19  Agda-2.8.0/src/full/Agda/TypeChecking/Monad.hs
+formatted       2be5b0f3ba92  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Base.hs
+formatted       79e710832d60  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Base/Types.hs
+formatted       e3e33c50988a  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Base/Warning.hs
+formatted       0983069998e5  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Benchmark.hs
+formatted       a1402f489f2c  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Builtin.hs
+formatted       b3bb34fe5fb0  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Builtin.hs-boot
+formatted       9e207078aca3  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Caching.hs
+formatted       da9781a93a82  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Closure.hs
+formatted       5fb0afce1f4f  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Constraints.hs
+formatted       1df35af9af51  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Context.hs
+formatted       a75b17382212  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Context.hs-boot
+formatted       df2332688dd7  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Debug.hs
+formatted       07c8440dbd10  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Debug.hs-boot
+formatted       82677be42db5  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Env.hs
+formatted       4cda40ceb119  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Imports.hs
+formatted       e8e8354b7904  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/MetaVars.hs
+formatted       4e315a4212b6  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/MetaVars.hs-boot
+formatted       ccd608910c5f  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Modality.hs
+formatted       b61128600d94  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Mutual.hs
+formatted       8732ff8cba76  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Open.hs
+formatted       5065ad036e62  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Options.hs
+formatted       343b1e2a68aa  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Options.hs-boot
+formatted       d795d6631bdd  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Pure.hs
+formatted       4509c03132a6  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Pure.hs-boot
+formatted       994017c68d33  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Signature.hs
+formatted       cc5dcbe92556  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Signature.hs-boot
+formatted       e7af4c58be0e  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/SizedTypes.hs
+formatted       7d30b441daa1  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/State.hs
+formatted       6da757d6200b  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Statistics.hs
+formatted       8cca709751e4  Agda-2.8.0/src/full/Agda/TypeChecking/Monad/Trace.hs
+formatted       abad24d32e1e  Agda-2.8.0/src/full/Agda/TypeChecking/Names.hs
+formatted       e4fe3d138e0c  Agda-2.8.0/src/full/Agda/TypeChecking/Opacity.hs
+formatted       91b93132079d  Agda-2.8.0/src/full/Agda/TypeChecking/Opacity.hs-boot
+formatted       982ac71ca7c9  Agda-2.8.0/src/full/Agda/TypeChecking/Patterns/Abstract.hs
+formatted       aae1613f291e  Agda-2.8.0/src/full/Agda/TypeChecking/Patterns/Internal.hs
+formatted       01d8c76652c0  Agda-2.8.0/src/full/Agda/TypeChecking/Patterns/Match.hs
+formatted       4448a99e6181  Agda-2.8.0/src/full/Agda/TypeChecking/Patterns/Match.hs-boot
+formatted       9640737cebec  Agda-2.8.0/src/full/Agda/TypeChecking/Polarity.hs
+formatted       8d978c026891  Agda-2.8.0/src/full/Agda/TypeChecking/Polarity.hs-boot
+formatted       0e2379aaf3a0  Agda-2.8.0/src/full/Agda/TypeChecking/Positivity.hs
+formatted       28794644e967  Agda-2.8.0/src/full/Agda/TypeChecking/Positivity/Occurrence.hs
+formatted       8e8549d60a0b  Agda-2.8.0/src/full/Agda/TypeChecking/Pretty.hs
+formatted       f0fb63610376  Agda-2.8.0/src/full/Agda/TypeChecking/Pretty.hs-boot
+formatted       08e6a84dd3ed  Agda-2.8.0/src/full/Agda/TypeChecking/Pretty/Call.hs
+formatted       f5434869778b  Agda-2.8.0/src/full/Agda/TypeChecking/Pretty/Call.hs-boot
+formatted       0e7e7260a4ad  Agda-2.8.0/src/full/Agda/TypeChecking/Pretty/Constraint.hs
+formatted       e6930771f599  Agda-2.8.0/src/full/Agda/TypeChecking/Pretty/Constraint.hs-boot
+formatted       ca9ac2a14bde  Agda-2.8.0/src/full/Agda/TypeChecking/Pretty/Warning.hs
+formatted       95302c4ba66e  Agda-2.8.0/src/full/Agda/TypeChecking/Pretty/Warning.hs-boot
+formatted       7e75a9b5efb5  Agda-2.8.0/src/full/Agda/TypeChecking/Primitive.hs
+formatted       8bfea5adf228  Agda-2.8.0/src/full/Agda/TypeChecking/Primitive.hs-boot
+formatted       cb4df552e4c0  Agda-2.8.0/src/full/Agda/TypeChecking/Primitive/Base.hs
+formatted       0141025ec60e  Agda-2.8.0/src/full/Agda/TypeChecking/Primitive/Cubical.hs
+formatted       d4ef2a1bf78b  Agda-2.8.0/src/full/Agda/TypeChecking/Primitive/Cubical/Base.hs
+formatted       11d739fb8115  Agda-2.8.0/src/full/Agda/TypeChecking/Primitive/Cubical/Base.hs-boot
+formatted       c9f01008c66f  Agda-2.8.0/src/full/Agda/TypeChecking/Primitive/Cubical/Glue.hs
+formatted       6ecec16ec909  Agda-2.8.0/src/full/Agda/TypeChecking/Primitive/Cubical/HCompU.hs
+formatted       4087d05c6bc5  Agda-2.8.0/src/full/Agda/TypeChecking/ProjectionLike.hs
+formatted       87b81152c03b  Agda-2.8.0/src/full/Agda/TypeChecking/ProjectionLike.hs-boot
+formatted       2aa975be5368  Agda-2.8.0/src/full/Agda/TypeChecking/Quote.hs
+formatted       b448d6b5727b  Agda-2.8.0/src/full/Agda/TypeChecking/ReconstructParameters.hs
+formatted       60f51fcd65c2  Agda-2.8.0/src/full/Agda/TypeChecking/RecordPatterns.hs
+formatted       c15db14f2283  Agda-2.8.0/src/full/Agda/TypeChecking/Records.hs
+formatted       edf05f239f0e  Agda-2.8.0/src/full/Agda/TypeChecking/Records.hs-boot
+formatted       62d65d9f3794  Agda-2.8.0/src/full/Agda/TypeChecking/Reduce.hs
+formatted       82cb10489996  Agda-2.8.0/src/full/Agda/TypeChecking/Reduce.hs-boot
+formatted       bea4edbe02e8  Agda-2.8.0/src/full/Agda/TypeChecking/Reduce/Fast.hs
+formatted       2158647025d5  Agda-2.8.0/src/full/Agda/TypeChecking/Reduce/Fast.hs-boot
+formatted       a8b672f9dcf4  Agda-2.8.0/src/full/Agda/TypeChecking/Reduce/Monad.hs
+formatted       73291787a3f1  Agda-2.8.0/src/full/Agda/TypeChecking/Rewriting.hs
+formatted       45a15b4df93a  Agda-2.8.0/src/full/Agda/TypeChecking/Rewriting.hs-boot
+formatted       3bb849821e09  Agda-2.8.0/src/full/Agda/TypeChecking/Rewriting/Clause.hs
+formatted       b38146bfd978  Agda-2.8.0/src/full/Agda/TypeChecking/Rewriting/Confluence.hs
+formatted       ab0de1a3dfdf  Agda-2.8.0/src/full/Agda/TypeChecking/Rewriting/NonLinMatch.hs
+formatted       ced6560a6512  Agda-2.8.0/src/full/Agda/TypeChecking/Rewriting/NonLinPattern.hs
+formatted       cdd96185227b  Agda-2.8.0/src/full/Agda/TypeChecking/Rules/Application.hs
+formatted       bd5bc45fe4b5  Agda-2.8.0/src/full/Agda/TypeChecking/Rules/Application.hs-boot
+formatted       f785cfcb045e  Agda-2.8.0/src/full/Agda/TypeChecking/Rules/Builtin.hs
+formatted       71673b8f70d3  Agda-2.8.0/src/full/Agda/TypeChecking/Rules/Builtin/Coinduction.hs
+formatted       48f627566132  Agda-2.8.0/src/full/Agda/TypeChecking/Rules/Builtin/Coinduction.hs-boot
+formatted       e2880406dcd1  Agda-2.8.0/src/full/Agda/TypeChecking/Rules/Data.hs
+formatted       89ea7a6db701  Agda-2.8.0/src/full/Agda/TypeChecking/Rules/Data.hs-boot
+formatted       08f7224a508b  Agda-2.8.0/src/full/Agda/TypeChecking/Rules/Decl.hs
+formatted       0aa6b17d89ad  Agda-2.8.0/src/full/Agda/TypeChecking/Rules/Decl.hs-boot
+formatted       3d07e9739d18  Agda-2.8.0/src/full/Agda/TypeChecking/Rules/Def.hs
+formatted       fda308023b0f  Agda-2.8.0/src/full/Agda/TypeChecking/Rules/Def.hs-boot
+formatted       fc9b8b6eb708  Agda-2.8.0/src/full/Agda/TypeChecking/Rules/Display.hs
+formatted       b095c61a06bb  Agda-2.8.0/src/full/Agda/TypeChecking/Rules/LHS.hs
+formatted       13778badb785  Agda-2.8.0/src/full/Agda/TypeChecking/Rules/LHS/Implicit.hs
+formatted       0a76a8c0c18a  Agda-2.8.0/src/full/Agda/TypeChecking/Rules/LHS/Problem.hs
+formatted       c920a592f0f7  Agda-2.8.0/src/full/Agda/TypeChecking/Rules/LHS/ProblemRest.hs
+formatted       46a9796f6860  Agda-2.8.0/src/full/Agda/TypeChecking/Rules/LHS/Unify.hs
+formatted       4ff1365ea31c  Agda-2.8.0/src/full/Agda/TypeChecking/Rules/LHS/Unify/LeftInverse.hs
+formatted       10ddcb479fc6  Agda-2.8.0/src/full/Agda/TypeChecking/Rules/LHS/Unify/Types.hs
+formatted       5b707c605177  Agda-2.8.0/src/full/Agda/TypeChecking/Rules/Record.hs
+formatted       6082c321f925  Agda-2.8.0/src/full/Agda/TypeChecking/Rules/Term.hs
+formatted       1658915496ee  Agda-2.8.0/src/full/Agda/TypeChecking/Rules/Term.hs-boot
+formatted       47c9856dc862  Agda-2.8.0/src/full/Agda/TypeChecking/Serialise.hs
+formatted       ac9e517e75b8  Agda-2.8.0/src/full/Agda/TypeChecking/Serialise/Base.hs
+formatted       4e39ad22ba16  Agda-2.8.0/src/full/Agda/TypeChecking/Serialise/Instances.hs
+formatted       d6b35506552d  Agda-2.8.0/src/full/Agda/TypeChecking/Serialise/Instances/Abstract.hs
+formatted       83b76986432b  Agda-2.8.0/src/full/Agda/TypeChecking/Serialise/Instances/Common.hs
+formatted       38e877e89ea4  Agda-2.8.0/src/full/Agda/TypeChecking/Serialise/Instances/Compilers.hs
+formatted       baab8704c333  Agda-2.8.0/src/full/Agda/TypeChecking/Serialise/Instances/Errors.hs
+formatted       d51649e90406  Agda-2.8.0/src/full/Agda/TypeChecking/Serialise/Instances/Highlighting.hs
+formatted       b61dd820725f  Agda-2.8.0/src/full/Agda/TypeChecking/Serialise/Instances/Internal.hs
+formatted       aa9080a136bf  Agda-2.8.0/src/full/Agda/TypeChecking/SizedTypes.hs
+formatted       059bce9cc28d  Agda-2.8.0/src/full/Agda/TypeChecking/SizedTypes/Pretty.hs
+formatted       0e6d62f78b80  Agda-2.8.0/src/full/Agda/TypeChecking/SizedTypes/Solve.hs
+formatted       c5a879d91b92  Agda-2.8.0/src/full/Agda/TypeChecking/SizedTypes/Syntax.hs
+formatted       91c48c36188b  Agda-2.8.0/src/full/Agda/TypeChecking/SizedTypes/Utils.hs
+formatted       f6b800400405  Agda-2.8.0/src/full/Agda/TypeChecking/SizedTypes/WarshallSolver.hs
+formatted       e5a9d9011a71  Agda-2.8.0/src/full/Agda/TypeChecking/Sort.hs
+formatted       c90b3a84385b  Agda-2.8.0/src/full/Agda/TypeChecking/Substitute.hs
+formatted       384ba9a8d507  Agda-2.8.0/src/full/Agda/TypeChecking/Substitute/Class.hs
+formatted       9675f3691aa0  Agda-2.8.0/src/full/Agda/TypeChecking/Substitute/DeBruijn.hs
+formatted       58f9202f9d55  Agda-2.8.0/src/full/Agda/TypeChecking/SyntacticEquality.hs
+formatted       e26f26396381  Agda-2.8.0/src/full/Agda/TypeChecking/Telescope.hs
+formatted       1768d2d1d61e  Agda-2.8.0/src/full/Agda/TypeChecking/Telescope.hs-boot
+formatted       3bf31e7e8a1e  Agda-2.8.0/src/full/Agda/TypeChecking/Telescope/Path.hs
+formatted       cd8ed6bd8da7  Agda-2.8.0/src/full/Agda/TypeChecking/Unquote.hs
+formatted       99275f3ece43  Agda-2.8.0/src/full/Agda/TypeChecking/Warnings.hs
+formatted       0f9e9f120b3b  Agda-2.8.0/src/full/Agda/TypeChecking/With.hs
+formatted       1e35360a3637  Agda-2.8.0/src/full/Agda/Utils/AffineHole.hs
+formatted       883444404bb6  Agda-2.8.0/src/full/Agda/Utils/Applicative.hs
+formatted       32abf234b4b9  Agda-2.8.0/src/full/Agda/Utils/AssocList.hs
+formatted       49c3b93da8cb  Agda-2.8.0/src/full/Agda/Utils/Bag.hs
+formatted       b3c344261333  Agda-2.8.0/src/full/Agda/Utils/Benchmark.hs
+formatted       24ccb95a6830  Agda-2.8.0/src/full/Agda/Utils/BiMap.hs
+formatted       e6b72c12e724  Agda-2.8.0/src/full/Agda/Utils/BoolSet.hs
+formatted       abf9a5db8067  Agda-2.8.0/src/full/Agda/Utils/Boolean.hs
+formatted       880aa8847616  Agda-2.8.0/src/full/Agda/Utils/CallStack.hs
+formatted       32e39ef2fdb5  Agda-2.8.0/src/full/Agda/Utils/CallStack/Base.hs
+formatted       2631296ceb92  Agda-2.8.0/src/full/Agda/Utils/CallStack/Pretty.hs
+formatted       7305d9d88632  Agda-2.8.0/src/full/Agda/Utils/Char.hs
+formatted       b46bc193ad75  Agda-2.8.0/src/full/Agda/Utils/Cluster.hs
+formatted       1026138b7d89  Agda-2.8.0/src/full/Agda/Utils/Either.hs
+formatted       3bad5e596ee4  Agda-2.8.0/src/full/Agda/Utils/Empty.hs
+formatted       dba46173d465  Agda-2.8.0/src/full/Agda/Utils/Environment.hs
+formatted       0f648f19822b  Agda-2.8.0/src/full/Agda/Utils/Fail.hs
+formatted       df11814dc72a  Agda-2.8.0/src/full/Agda/Utils/Favorites.hs
+formatted       57d57b4cb5e4  Agda-2.8.0/src/full/Agda/Utils/FileId.hs
+formatted       ed2c55b8e56b  Agda-2.8.0/src/full/Agda/Utils/FileName.hs
+formatted       b0f147488380  Agda-2.8.0/src/full/Agda/Utils/Float.hs
+formatted       5391fef29406  Agda-2.8.0/src/full/Agda/Utils/Function.hs
+formatted       34c8d3f93f8f  Agda-2.8.0/src/full/Agda/Utils/Functor.hs
+formatted       0c91c88a5c33  Agda-2.8.0/src/full/Agda/Utils/GetOpt.hs
+formatted       f366dfb36cf2  Agda-2.8.0/src/full/Agda/Utils/Graph/AdjacencyMap/Unidirectional.hs
+formatted       b25df01139a3  Agda-2.8.0/src/full/Agda/Utils/Graph/TopSort.hs
+formatted       8687c5ed2be5  Agda-2.8.0/src/full/Agda/Utils/Hash.hs
+formatted       4b7045793e7e  Agda-2.8.0/src/full/Agda/Utils/HashTable.hs
+formatted       7259cd19a61c  Agda-2.8.0/src/full/Agda/Utils/Haskell/Syntax.hs
+formatted       f0d391a3f04f  Agda-2.8.0/src/full/Agda/Utils/IArray.hs
+formatted       643b02d763c8  Agda-2.8.0/src/full/Agda/Utils/IO.hs
+formatted       fb0fd84f8426  Agda-2.8.0/src/full/Agda/Utils/IO/Binary.hs
+formatted       4bca18dffd4f  Agda-2.8.0/src/full/Agda/Utils/IO/Directory.hs
+formatted       d4f38abdc5d9  Agda-2.8.0/src/full/Agda/Utils/IO/TempFile.hs
+formatted       4d3770d0d7e4  Agda-2.8.0/src/full/Agda/Utils/IO/UTF8.hs
+formatted       02cbbfa554ed  Agda-2.8.0/src/full/Agda/Utils/IORef.hs
+formatted       169ec6019872  Agda-2.8.0/src/full/Agda/Utils/Impossible.hs
+formatted       7daed23f7a34  Agda-2.8.0/src/full/Agda/Utils/IndexedList.hs
+formatted       a9e5e4096a8a  Agda-2.8.0/src/full/Agda/Utils/IntSet/Infinite.hs
+formatted       3db65a3e7474  Agda-2.8.0/src/full/Agda/Utils/Lens.hs
+formatted       8bd10365963b  Agda-2.8.0/src/full/Agda/Utils/Lens/Examples.hs
+formatted       50ee1db786f4  Agda-2.8.0/src/full/Agda/Utils/List.hs
+formatted       10fdd8e64554  Agda-2.8.0/src/full/Agda/Utils/List1.hs
+formatted       3bd635eb52aa  Agda-2.8.0/src/full/Agda/Utils/List1.hs-boot
+formatted       719b9e47ed71  Agda-2.8.0/src/full/Agda/Utils/List2.hs
+formatted       66787c19be2a  Agda-2.8.0/src/full/Agda/Utils/ListT.hs
+formatted       dd207ac08c31  Agda-2.8.0/src/full/Agda/Utils/Map.hs
+formatted       2a1596e86d37  Agda-2.8.0/src/full/Agda/Utils/Map1.hs
+formatted       363c5b6beeb8  Agda-2.8.0/src/full/Agda/Utils/Maybe.hs
+formatted       c645aba1310d  Agda-2.8.0/src/full/Agda/Utils/Maybe/Strict.hs
+formatted       4fd86c623fb0  Agda-2.8.0/src/full/Agda/Utils/Memo.hs
+formatted       8b68ada95586  Agda-2.8.0/src/full/Agda/Utils/Monad.hs
+formatted       f30980532be1  Agda-2.8.0/src/full/Agda/Utils/Monoid.hs
+formatted       f08b8d8eb49c  Agda-2.8.0/src/full/Agda/Utils/Null.hs
+formatted       dbe3682e9cdc  Agda-2.8.0/src/full/Agda/Utils/POMonoid.hs
+formatted       8867c25fb0c0  Agda-2.8.0/src/full/Agda/Utils/Parser/MemoisedCPS.hs
+formatted       499d0956a861  Agda-2.8.0/src/full/Agda/Utils/PartialOrd.hs
+formatted       4e32bca80af8  Agda-2.8.0/src/full/Agda/Utils/Permutation.hs
+formatted       55241de4efa4  Agda-2.8.0/src/full/Agda/Utils/ProfileOptions.hs
+formatted       b6b98401515a  Agda-2.8.0/src/full/Agda/Utils/RangeMap.hs
+formatted       032967da439e  Agda-2.8.0/src/full/Agda/Utils/SemiRing.hs
+formatted       580fdc59326b  Agda-2.8.0/src/full/Agda/Utils/Semigroup.hs
+formatted       9316c5fb7b3b  Agda-2.8.0/src/full/Agda/Utils/Set1.hs
+formatted       c01602a030df  Agda-2.8.0/src/full/Agda/Utils/Singleton.hs
+formatted       ba89ac2206ea  Agda-2.8.0/src/full/Agda/Utils/Size.hs
+formatted       8631ca7ebbee  Agda-2.8.0/src/full/Agda/Utils/SmallSet.hs
+formatted       9de50a5727be  Agda-2.8.0/src/full/Agda/Utils/String.hs
+formatted       592d1007d2ca  Agda-2.8.0/src/full/Agda/Utils/Suffix.hs
+formatted       9b819d4aa95c  Agda-2.8.0/src/full/Agda/Utils/Three.hs
+formatted       acb490545817  Agda-2.8.0/src/full/Agda/Utils/Time.hs
+formatted       ac293bf3246a  Agda-2.8.0/src/full/Agda/Utils/Trie.hs
+formatted       39833c066788  Agda-2.8.0/src/full/Agda/Utils/Tuple.hs
+formatted       6440e89cbe2f  Agda-2.8.0/src/full/Agda/Utils/TypeLevel.hs
+formatted       98299e40caa9  Agda-2.8.0/src/full/Agda/Utils/TypeLits.hs
+formatted       a54f2ecc2555  Agda-2.8.0/src/full/Agda/Utils/Unsafe.hs
+formatted       0c1c11688d22  Agda-2.8.0/src/full/Agda/Utils/Update.hs
+formatted       3e841ec4657f  Agda-2.8.0/src/full/Agda/Utils/VarSet.hs
+formatted       901c341ffc75  Agda-2.8.0/src/full/Agda/Utils/WithDefault.hs
+formatted       d722f1b93a30  Agda-2.8.0/src/full/Agda/Utils/Zipper.hs
+formatted       78b757b5bff3  Agda-2.8.0/src/main/Main.hs
+formatted       cfeaf5f69801  Agda-2.8.0/src/setup/Agda/Setup.hs
+formatted       b4be2d454438  Agda-2.8.0/src/setup/Agda/Setup/DataFiles.hs
+formatted       d8d72416568f  Agda-2.8.0/src/setup/Agda/Setup/EmacsMode.hs
+formatted       10507403c42f  Agda-2.8.0/src/setup/Agda/Version.hs
+formatted       68dada5b188f  Agda-2.8.0/src/setup/Agda/VersionCommit.hs
+formatted       001a4ea6b9d8  HUnit-1.6.2.0/examples/Example.hs
+formatted       c89ba46ef532  HUnit-1.6.2.0/src/Test/HUnit.hs
+declined        -             HUnit-1.6.2.0/src/Test/HUnit/Base.hs
+declined        -             HUnit-1.6.2.0/src/Test/HUnit/Lang.hs
+formatted       84fa29ecc581  HUnit-1.6.2.0/src/Test/HUnit/Terminal.hs
+formatted       7151daf8190f  HUnit-1.6.2.0/src/Test/HUnit/Text.hs
+formatted       adb82c94f354  HUnit-1.6.2.0/tests/HUnitTestExtended.hs
+formatted       769a39b37c6b  HUnit-1.6.2.0/tests/HUnitTests.hs
+formatted       37d1c4af5090  HUnit-1.6.2.0/tests/TerminalTest.hs
+formatted       be53e01ac930  QuickCheck-2.18.0.0/examples/Heap.hs
+formatted       a2a61b4cd397  QuickCheck-2.18.0.0/examples/Heap_Program.hs
+formatted       f0ce5e107d59  QuickCheck-2.18.0.0/examples/Heap_ProgramAlgebraic.hs
+formatted       ca994dc30bda  QuickCheck-2.18.0.0/examples/Lambda.hs
+formatted       5d18e5d427af  QuickCheck-2.18.0.0/examples/Merge.hs
+formatted       e5ab629d3551  QuickCheck-2.18.0.0/examples/Set.hs
+formatted       e8d20ed78450  QuickCheck-2.18.0.0/examples/Simple.hs
+partly-checked  df48732dcbe5  QuickCheck-2.18.0.0/src/Test/QuickCheck.hs
+formatted       76edf1bfe1f5  QuickCheck-2.18.0.0/src/Test/QuickCheck/All.hs
+partly-checked  974ff04d8cf6  QuickCheck-2.18.0.0/src/Test/QuickCheck/Arbitrary.hs
+formatted       b394fbd4debb  QuickCheck-2.18.0.0/src/Test/QuickCheck/Compat.hs
+partly-checked  c15fb9a2c3ca  QuickCheck-2.18.0.0/src/Test/QuickCheck/Exception.hs
+formatted       4c77c28c4191  QuickCheck-2.18.0.0/src/Test/QuickCheck/Features.hs
+partly-checked  cc7803103eec  QuickCheck-2.18.0.0/src/Test/QuickCheck/Function.hs
+formatted       658574722ca1  QuickCheck-2.18.0.0/src/Test/QuickCheck/Gen.hs
+formatted       96929480a528  QuickCheck-2.18.0.0/src/Test/QuickCheck/Gen/Unsafe.hs
+formatted       c4fa432f1ee2  QuickCheck-2.18.0.0/src/Test/QuickCheck/Modifiers.hs
+formatted       c13aa74fc561  QuickCheck-2.18.0.0/src/Test/QuickCheck/Monadic.hs
+formatted       614b1f722108  QuickCheck-2.18.0.0/src/Test/QuickCheck/Monoids.hs
+formatted       5765e1747e07  QuickCheck-2.18.0.0/src/Test/QuickCheck/Poly.hs
+formatted       8ef7ddc40be3  QuickCheck-2.18.0.0/src/Test/QuickCheck/Property.hs
+formatted       c89d7e930aa5  QuickCheck-2.18.0.0/src/Test/QuickCheck/Random.hs
+formatted       5e66acc16276  QuickCheck-2.18.0.0/src/Test/QuickCheck/State.hs
+formatted       8af5b9e26862  QuickCheck-2.18.0.0/src/Test/QuickCheck/Test.hs
+formatted       a26923efbe17  QuickCheck-2.18.0.0/src/Test/QuickCheck/Text.hs
+formatted       b3d0c0316ff2  QuickCheck-2.18.0.0/tests/CollectDataTypes.hs
+formatted       49cb065973dd  QuickCheck-2.18.0.0/tests/DiscardRatio.hs
+formatted       9b770caaba33  QuickCheck-2.18.0.0/tests/GCoArbitraryExample.hs
+formatted       fd18fe359493  QuickCheck-2.18.0.0/tests/GShrinkExample.hs
+formatted       a22217c74389  QuickCheck-2.18.0.0/tests/Generators.hs
+formatted       ebe60920096d  QuickCheck-2.18.0.0/tests/Misc.hs
+formatted       2ee23f777468  QuickCheck-2.18.0.0/tests/MonadFix.hs
+formatted       87440e79cf2b  QuickCheck-2.18.0.0/tests/Monoids.hs
+formatted       248c8440434c  QuickCheck-2.18.0.0/tests/RunCollectDataTypes.hs
+formatted       c2b29ad8dba2  QuickCheck-2.18.0.0/tests/Split.hs
+formatted       01e97697bac0  QuickCheck-2.18.0.0/tests/Strictness.hs
+formatted       666e3de79f07  QuickCheck-2.18.0.0/tests/Terminal.hs
+formatted       e7408bdeb97d  QuickCheck-2.18.0.0/tests/WithProgress.hs
+formatted       2df07d632383  ShellCheck-0.11.0/shellcheck.hs
+formatted       6d2613d87fc1  ShellCheck-0.11.0/src/ShellCheck/AST.hs
+formatted       d70806b590bd  ShellCheck-0.11.0/src/ShellCheck/ASTLib.hs
+formatted       117161a46bcc  ShellCheck-0.11.0/src/ShellCheck/Analytics.hs
+formatted       6e89043beb78  ShellCheck-0.11.0/src/ShellCheck/Analyzer.hs
+formatted       3200b07e123e  ShellCheck-0.11.0/src/ShellCheck/AnalyzerLib.hs
+formatted       b3746afe3be4  ShellCheck-0.11.0/src/ShellCheck/CFG.hs
+formatted       cc30df231e08  ShellCheck-0.11.0/src/ShellCheck/CFGAnalysis.hs
+formatted       0ffd9bbaea43  ShellCheck-0.11.0/src/ShellCheck/Checker.hs
+formatted       31d3736b34d6  ShellCheck-0.11.0/src/ShellCheck/Checks/Commands.hs
+formatted       2c61ab65382c  ShellCheck-0.11.0/src/ShellCheck/Checks/ControlFlow.hs
+formatted       7861510029f0  ShellCheck-0.11.0/src/ShellCheck/Checks/Custom.hs
+formatted       044d58b9ffd7  ShellCheck-0.11.0/src/ShellCheck/Checks/ShellSupport.hs
+formatted       357a9c106ff8  ShellCheck-0.11.0/src/ShellCheck/Data.hs
+formatted       7a3b0be0f95b  ShellCheck-0.11.0/src/ShellCheck/Debug.hs
+formatted       da286db22954  ShellCheck-0.11.0/src/ShellCheck/Fixer.hs
+formatted       2f4ec68f9651  ShellCheck-0.11.0/src/ShellCheck/Formatter/CheckStyle.hs
+formatted       bd3c25ed19e9  ShellCheck-0.11.0/src/ShellCheck/Formatter/Diff.hs
+formatted       ef2be77503ee  ShellCheck-0.11.0/src/ShellCheck/Formatter/Format.hs
+formatted       190b987acf02  ShellCheck-0.11.0/src/ShellCheck/Formatter/GCC.hs
+formatted       5e4a4bd34255  ShellCheck-0.11.0/src/ShellCheck/Formatter/JSON.hs
+formatted       55806e17e937  ShellCheck-0.11.0/src/ShellCheck/Formatter/JSON1.hs
+formatted       28954b0cd53d  ShellCheck-0.11.0/src/ShellCheck/Formatter/Quiet.hs
+formatted       b336feeebac5  ShellCheck-0.11.0/src/ShellCheck/Formatter/TTY.hs
+formatted       febf56f5d5a5  ShellCheck-0.11.0/src/ShellCheck/Interface.hs
+formatted       4b6c453ea1f4  ShellCheck-0.11.0/src/ShellCheck/Parser.hs
+formatted       a239db9991de  ShellCheck-0.11.0/src/ShellCheck/Prelude.hs
+formatted       7f668cf6dab7  ShellCheck-0.11.0/src/ShellCheck/Regex.hs
+formatted       3b9df27d1446  ShellCheck-0.11.0/test/shellcheck.hs
+formatted       f11704872a0d  adjunctions-4.4.4/HLint.hs
+formatted       301d894f51cf  adjunctions-4.4.4/src/Control/Comonad/Representable/Store.hs
+formatted       54ccde6a4197  adjunctions-4.4.4/src/Control/Comonad/Trans/Adjoint.hs
+formatted       35bfb412b0ae  adjunctions-4.4.4/src/Control/Monad/Representable/Reader.hs
+formatted       004d47eb3bce  adjunctions-4.4.4/src/Control/Monad/Representable/State.hs
+formatted       d4979c7fd830  adjunctions-4.4.4/src/Control/Monad/Trans/Adjoint.hs
+formatted       7d70e7aa0351  adjunctions-4.4.4/src/Control/Monad/Trans/Contravariant/Adjoint.hs
+formatted       2ef3ee064f5b  adjunctions-4.4.4/src/Control/Monad/Trans/Conts.hs
+formatted       4d1239a8bfa6  adjunctions-4.4.4/src/Data/Functor/Adjunction.hs
+formatted       34b1ee1d3c22  adjunctions-4.4.4/src/Data/Functor/Contravariant/Adjunction.hs
+formatted       d574b21ac72f  adjunctions-4.4.4/src/Data/Functor/Contravariant/Rep.hs
+formatted       aa5aff52f050  adjunctions-4.4.4/src/Data/Functor/Rep.hs
+formatted       2305e953d190  adjunctions-4.4.4/tests/GenericsSpec.hs
+formatted       2fbd14b119a4  adjunctions-4.4.4/tests/Spec.hs
+formatted       9fa9e9163a7e  aeson-2.3.1.0/src/Data/Aeson.hs
+formatted       152babe3facd  aeson-2.3.1.0/src/Data/Aeson/Decoding.hs
+formatted       307da82a0d8c  aeson-2.3.1.0/src/Data/Aeson/Decoding/ByteString.hs
+formatted       ee8a05b80e3d  aeson-2.3.1.0/src/Data/Aeson/Decoding/ByteString/Lazy.hs
+formatted       56c261953220  aeson-2.3.1.0/src/Data/Aeson/Decoding/Conversion.hs
+formatted       38d7ebee447e  aeson-2.3.1.0/src/Data/Aeson/Decoding/Internal.hs
+formatted       41fb699e82b2  aeson-2.3.1.0/src/Data/Aeson/Decoding/Text.hs
+formatted       053298241126  aeson-2.3.1.0/src/Data/Aeson/Decoding/Tokens.hs
+formatted       d4223beec293  aeson-2.3.1.0/src/Data/Aeson/Encoding.hs
+formatted       6ce085a778fc  aeson-2.3.1.0/src/Data/Aeson/Encoding/Builder.hs
+formatted       97c8b600c0d3  aeson-2.3.1.0/src/Data/Aeson/Encoding/Internal.hs
+formatted       2e6638da280a  aeson-2.3.1.0/src/Data/Aeson/Internal/ByteString.hs
+formatted       0b1d355a62b8  aeson-2.3.1.0/src/Data/Aeson/Internal/Functions.hs
+formatted       2ceee0209381  aeson-2.3.1.0/src/Data/Aeson/Internal/Prelude.hs
+formatted       25cfe7c7bf58  aeson-2.3.1.0/src/Data/Aeson/Internal/Scientific.hs
+formatted       8c5dafd17125  aeson-2.3.1.0/src/Data/Aeson/Internal/TH.hs
+formatted       e0f0e5c5384e  aeson-2.3.1.0/src/Data/Aeson/Internal/Text.hs
+formatted       1f4550fc834b  aeson-2.3.1.0/src/Data/Aeson/Internal/Unescape.hs
+formatted       f07efcf880f2  aeson-2.3.1.0/src/Data/Aeson/Internal/UnescapeFromText.hs
+formatted       7c8b9250d148  aeson-2.3.1.0/src/Data/Aeson/Key.hs
+formatted       36f3992bdf0b  aeson-2.3.1.0/src/Data/Aeson/KeyMap.hs
+formatted       6ef170ce04a5  aeson-2.3.1.0/src/Data/Aeson/Parser/Time.hs
+formatted       39c2c5461b61  aeson-2.3.1.0/src/Data/Aeson/QQ/Simple.hs
+formatted       870b6749b3ad  aeson-2.3.1.0/src/Data/Aeson/RFC8785.hs
+formatted       b4297d8c51f6  aeson-2.3.1.0/src/Data/Aeson/TH.hs
+formatted       fb64a4b4305d  aeson-2.3.1.0/src/Data/Aeson/Text.hs
+formatted       4bf23b6946da  aeson-2.3.1.0/src/Data/Aeson/Types.hs
+formatted       86409b50e25c  aeson-2.3.1.0/src/Data/Aeson/Types/Class.hs
+formatted       baeddd13d8f8  aeson-2.3.1.0/src/Data/Aeson/Types/FromJSON.hs
+formatted       4c678c80591d  aeson-2.3.1.0/src/Data/Aeson/Types/Generic.hs
+formatted       d54ec0d3332e  aeson-2.3.1.0/src/Data/Aeson/Types/Internal.hs
+formatted       384407235aa6  aeson-2.3.1.0/src/Data/Aeson/Types/ToJSON.hs
+formatted       949fad15a1e3  aeson-2.3.1.0/tests/CastFloat.hs
+formatted       19f6396dd8dd  aeson-2.3.1.0/tests/DataFamilies/Encoders.hs
+formatted       ddc66cfa1317  aeson-2.3.1.0/tests/DataFamilies/Instances.hs
+formatted       2798c49e1bb4  aeson-2.3.1.0/tests/DataFamilies/Properties.hs
+formatted       3d2460ff5d7b  aeson-2.3.1.0/tests/DataFamilies/Types.hs
+formatted       a26270ff8543  aeson-2.3.1.0/tests/DoubleToScientific.hs
+formatted       778c50cd134b  aeson-2.3.1.0/tests/Encoders.hs
+formatted       c41dd61d2713  aeson-2.3.1.0/tests/ErrorMessages.hs
+formatted       b360c588595a  aeson-2.3.1.0/tests/Functions.hs
+formatted       a48c952c4f22  aeson-2.3.1.0/tests/Instances.hs
+formatted       2e0fab242018  aeson-2.3.1.0/tests/JSONTestSuite.hs
+formatted       538a03a96552  aeson-2.3.1.0/tests/Options.hs
+formatted       86e4c6b15163  aeson-2.3.1.0/tests/PropUtils.hs
+formatted       6735c5dc03fa  aeson-2.3.1.0/tests/Properties.hs
+formatted       b2702a3533c6  aeson-2.3.1.0/tests/PropertyGeneric.hs
+formatted       d1df1e94bf42  aeson-2.3.1.0/tests/PropertyKeys.hs
+formatted       940dcdd5abcd  aeson-2.3.1.0/tests/PropertyQC.hs
+formatted       726ad2180d59  aeson-2.3.1.0/tests/PropertyRTFunctors.hs
+formatted       84dbff577d34  aeson-2.3.1.0/tests/PropertyRoundTrip.hs
+formatted       398c58f59103  aeson-2.3.1.0/tests/PropertyTH.hs
+formatted       37f63faab831  aeson-2.3.1.0/tests/RFC8785.hs
+formatted       466a7e834a3e  aeson-2.3.1.0/tests/Regression/Issue1138.hs
+formatted       f7737f5da327  aeson-2.3.1.0/tests/Regression/Issue351.hs
+formatted       4316a2a857da  aeson-2.3.1.0/tests/Regression/Issue571.hs
+formatted       e59ec74d082c  aeson-2.3.1.0/tests/Regression/Issue687.hs
+formatted       4d409d2cf3d1  aeson-2.3.1.0/tests/Regression/Issue967.hs
+formatted       ea4a63665236  aeson-2.3.1.0/tests/SerializationFormatSpec.hs
+formatted       2b0b26488feb  aeson-2.3.1.0/tests/Tests.hs
+formatted       b94cdc095d37  aeson-2.3.1.0/tests/Types.hs
+formatted       6954e159aaa4  aeson-2.3.1.0/tests/UnitTests.hs
+formatted       e92ffb986c5c  aeson-2.3.1.0/tests/UnitTests/FromJSONKey.hs
+formatted       c2ceb24306d9  aeson-2.3.1.0/tests/UnitTests/Hashable.hs
+formatted       54f751c96c3b  aeson-2.3.1.0/tests/UnitTests/KeyMapInsertWith.hs
+formatted       448bb7ed42f5  aeson-2.3.1.0/tests/UnitTests/MonadFix.hs
+formatted       10d4192c1d05  aeson-2.3.1.0/tests/UnitTests/NoThunks.hs
+formatted       6ef0bc88927a  aeson-2.3.1.0/tests/UnitTests/NullaryConstructors.hs
+formatted       b5a711558de8  aeson-2.3.1.0/tests/UnitTests/OmitNothingFieldsNote.hs
+formatted       684f2b0ba337  aeson-2.3.1.0/tests/UnitTests/OptionalFields.hs
+formatted       15a5030f556e  aeson-2.3.1.0/tests/UnitTests/OptionalFields/Common.hs
+formatted       ad052c2544e9  aeson-2.3.1.0/tests/UnitTests/OptionalFields/Generics.hs
+formatted       e51aa542d081  aeson-2.3.1.0/tests/UnitTests/OptionalFields/Manual.hs
+formatted       23bf5438227b  aeson-2.3.1.0/tests/UnitTests/OptionalFields/TH.hs
+formatted       a36ed22179d1  aeson-2.3.1.0/tests/UnitTests/UTCTime.hs
+formatted       e865ae48f11b  ansi-terminal-1.1.5/Setup.hs
+formatted       a040e4ea6605  ansi-terminal-1.1.5/app/Example.hs
+formatted       43d0f0a473bb  ansi-terminal-1.1.5/src/System/Console/ANSI.hs
+formatted       9b58adf3dd5f  ansi-terminal-1.1.5/unix/System/Console/ANSI/Internal.hs
+formatted       7c54318d47d1  ansi-terminal-1.1.5/win/System/Console/ANSI/Internal.hs
+formatted       344173aa3b6b  ansi-terminal-1.1.5/win/System/Console/ANSI/Windows/Foreign.hs
+formatted       3a8578313f46  ansi-terminal-1.1.5/win/System/Console/ANSI/Windows/Win32/Types.hs
+formatted       d0ec118fbd0e  async-2.2.6/Control/Concurrent/Async.hs
+partly-checked  eea75f55d267  async-2.2.6/Control/Concurrent/Async/Internal.hs
+formatted       de5f8d189c94  async-2.2.6/Control/Concurrent/Async/Warden.hs
+formatted       c7f02725d1c0  async-2.2.6/Control/Concurrent/Stream.hs
+formatted       e865ae48f11b  async-2.2.6/Setup.hs
+formatted       d097cdc2da02  async-2.2.6/bench/concasync.hs
+formatted       79df40023dca  async-2.2.6/bench/conccancel.hs
+formatted       6dafd0fc1e98  async-2.2.6/bench/race.hs
+formatted       a7485b591b54  async-2.2.6/test/test-async.hs
+formatted       f6969d522e04  attoparsec-0.14.4/Data/Attoparsec.hs
+formatted       9456d1a5de7e  attoparsec-0.14.4/Data/Attoparsec/ByteString.hs
+formatted       b366a150038b  attoparsec-0.14.4/Data/Attoparsec/ByteString/Char8.hs
+formatted       fcc98e956a0f  attoparsec-0.14.4/Data/Attoparsec/ByteString/Internal.hs
+formatted       f90a0ec927fd  attoparsec-0.14.4/Data/Attoparsec/ByteString/Lazy.hs
+formatted       a16cc2f521f5  attoparsec-0.14.4/Data/Attoparsec/Char8.hs
+formatted       9793aec2a8f3  attoparsec-0.14.4/Data/Attoparsec/Combinator.hs
+formatted       06b0b2d3e1a8  attoparsec-0.14.4/Data/Attoparsec/Internal.hs
+formatted       a2ccbf52e02d  attoparsec-0.14.4/Data/Attoparsec/Internal/Types.hs
+formatted       2e6af6ed4cb7  attoparsec-0.14.4/Data/Attoparsec/Lazy.hs
+formatted       5629ec5abf34  attoparsec-0.14.4/Data/Attoparsec/Number.hs
+formatted       19ddd0b9628e  attoparsec-0.14.4/Data/Attoparsec/Text.hs
+formatted       931d8cfd1883  attoparsec-0.14.4/Data/Attoparsec/Text/Internal.hs
+formatted       dc2147229105  attoparsec-0.14.4/Data/Attoparsec/Text/Lazy.hs
+formatted       5466ea3c9e37  attoparsec-0.14.4/Data/Attoparsec/Types.hs
+formatted       d2ad2b470598  attoparsec-0.14.4/Data/Attoparsec/Zepto.hs
+formatted       9e009ed08298  attoparsec-0.14.4/benchmarks/Aeson.hs
+formatted       1575fd0781ec  attoparsec-0.14.4/benchmarks/Benchmarks.hs
+formatted       00bb02e6dc8c  attoparsec-0.14.4/benchmarks/Common.hs
+formatted       794146be1299  attoparsec-0.14.4/benchmarks/Genome.hs
+formatted       f99c936ea749  attoparsec-0.14.4/benchmarks/HeadersByteString.hs
+formatted       f3a29e467d23  attoparsec-0.14.4/benchmarks/HeadersByteString/Atto.hs
+formatted       2fe663ea7f40  attoparsec-0.14.4/benchmarks/HeadersText.hs
+formatted       9b1be95ba336  attoparsec-0.14.4/benchmarks/Links.hs
+formatted       b5e441c949bb  attoparsec-0.14.4/benchmarks/Numbers.hs
+formatted       16154b5baa73  attoparsec-0.14.4/benchmarks/Sets.hs
+formatted       48c6192d1f94  attoparsec-0.14.4/benchmarks/TextFastSet.hs
+formatted       a53fcb84d863  attoparsec-0.14.4/benchmarks/Warp.hs
+declined        -             attoparsec-0.14.4/benchmarks/warp-3.0.1.1/Network/Wai/Handler/Warp/ReadInt.hs
+formatted       c2a1f5821f65  attoparsec-0.14.4/benchmarks/warp-3.0.1.1/Network/Wai/Handler/Warp/RequestHeader.hs
+formatted       c43513cc97cc  attoparsec-0.14.4/examples/Atto_RFC2616.hs
+formatted       b9d036295752  attoparsec-0.14.4/examples/Parsec_RFC2616.hs
+formatted       8ff431a79bca  attoparsec-0.14.4/examples/RFC2616.hs
+formatted       601b6bb13087  attoparsec-0.14.4/internal/Data/Attoparsec/ByteString/Buffer.hs
+formatted       0f51afe80b25  attoparsec-0.14.4/internal/Data/Attoparsec/ByteString/FastSet.hs
+formatted       f21e47830b1f  attoparsec-0.14.4/internal/Data/Attoparsec/Internal/Compat.hs
+formatted       ccf209882d86  attoparsec-0.14.4/internal/Data/Attoparsec/Internal/Fhthagn.hs
+formatted       453ac58ef597  attoparsec-0.14.4/internal/Data/Attoparsec/Text/Buffer.hs
+formatted       a44368b99932  attoparsec-0.14.4/internal/Data/Attoparsec/Text/FastSet.hs
+formatted       f033f80ad1f0  attoparsec-0.14.4/tests/QC.hs
+formatted       2e752f98c056  attoparsec-0.14.4/tests/QC/Buffer.hs
+formatted       136b1e701a03  attoparsec-0.14.4/tests/QC/ByteString.hs
+formatted       077410383dd0  attoparsec-0.14.4/tests/QC/Combinator.hs
+formatted       4ce385470292  attoparsec-0.14.4/tests/QC/Common.hs
+formatted       5760a75f9f6c  attoparsec-0.14.4/tests/QC/IPv6/Internal.hs
+formatted       4dd576682f63  attoparsec-0.14.4/tests/QC/IPv6/Types.hs
+formatted       ccdb6f18adb3  attoparsec-0.14.4/tests/QC/Rechunked.hs
+formatted       d06c3f822bac  attoparsec-0.14.4/tests/QC/Simple.hs
+formatted       0f1affe6b4a3  attoparsec-0.14.4/tests/QC/Text.hs
+formatted       5dad1112b824  attoparsec-0.14.4/tests/QC/Text/FastSet.hs
+formatted       9be8bfdcdb15  attoparsec-0.14.4/tests/QC/Text/Regressions.hs
+formatted       07d6a645978e  aws-0.25.3/Aws.hs
+formatted       22bcd23f0ce1  aws-0.25.3/Aws/Aws.hs
+formatted       0bafad0c04b8  aws-0.25.3/Aws/Core.hs
+formatted       9415118d5c88  aws-0.25.3/Aws/DynamoDb.hs
+formatted       f6cbaeab7a2c  aws-0.25.3/Aws/DynamoDb/Commands.hs
+formatted       34cc9c36ac9d  aws-0.25.3/Aws/DynamoDb/Commands/BatchGetItem.hs
+formatted       79f200d4b4ca  aws-0.25.3/Aws/DynamoDb/Commands/BatchWriteItem.hs
+formatted       dc9cbb61a2ee  aws-0.25.3/Aws/DynamoDb/Commands/DeleteItem.hs
+formatted       8b055703a819  aws-0.25.3/Aws/DynamoDb/Commands/GetItem.hs
+formatted       20f3bdcead06  aws-0.25.3/Aws/DynamoDb/Commands/PutItem.hs
+formatted       38177ead4fac  aws-0.25.3/Aws/DynamoDb/Commands/Query.hs
+formatted       b895108944f5  aws-0.25.3/Aws/DynamoDb/Commands/Scan.hs
+formatted       60b07d187237  aws-0.25.3/Aws/DynamoDb/Commands/Table.hs
+formatted       3c8e8716b621  aws-0.25.3/Aws/DynamoDb/Commands/UpdateItem.hs
+formatted       3b3e7be0ffeb  aws-0.25.3/Aws/DynamoDb/Core.hs
+formatted       1044a2b41517  aws-0.25.3/Aws/Ec2/InstanceMetadata.hs
+formatted       80675561d0cd  aws-0.25.3/Aws/Iam.hs
+formatted       cb8002d37d94  aws-0.25.3/Aws/Iam/Commands.hs
+formatted       5bfbac37b67b  aws-0.25.3/Aws/Iam/Commands/AddUserToGroup.hs
+formatted       76ea5ef0b554  aws-0.25.3/Aws/Iam/Commands/CreateAccessKey.hs
+formatted       49ec0166cb1c  aws-0.25.3/Aws/Iam/Commands/CreateGroup.hs
+formatted       c09dd18fd12b  aws-0.25.3/Aws/Iam/Commands/CreateUser.hs
+formatted       d7bf45413cbf  aws-0.25.3/Aws/Iam/Commands/DeleteAccessKey.hs
+formatted       7ac833855b41  aws-0.25.3/Aws/Iam/Commands/DeleteGroup.hs
+formatted       803b97b26aeb  aws-0.25.3/Aws/Iam/Commands/DeleteGroupPolicy.hs
+formatted       47c8048f7414  aws-0.25.3/Aws/Iam/Commands/DeleteUser.hs
+formatted       278759713601  aws-0.25.3/Aws/Iam/Commands/DeleteUserPolicy.hs
+formatted       dbaf1411b5af  aws-0.25.3/Aws/Iam/Commands/GetGroupPolicy.hs
+formatted       806ed2944c0f  aws-0.25.3/Aws/Iam/Commands/GetUser.hs
+formatted       9b341b6872bb  aws-0.25.3/Aws/Iam/Commands/GetUserPolicy.hs
+formatted       f3f23c2a04ea  aws-0.25.3/Aws/Iam/Commands/ListAccessKeys.hs
+formatted       55c4c215faa3  aws-0.25.3/Aws/Iam/Commands/ListGroupPolicies.hs
+formatted       4a2d12a635e9  aws-0.25.3/Aws/Iam/Commands/ListGroups.hs
+formatted       b7b26004ae66  aws-0.25.3/Aws/Iam/Commands/ListMfaDevices.hs
+formatted       9cc20fd474bf  aws-0.25.3/Aws/Iam/Commands/ListUserPolicies.hs
+formatted       4f9fe59a9f2f  aws-0.25.3/Aws/Iam/Commands/ListUsers.hs
+formatted       06682b82dbfa  aws-0.25.3/Aws/Iam/Commands/PutGroupPolicy.hs
+formatted       c7a5f558a505  aws-0.25.3/Aws/Iam/Commands/PutUserPolicy.hs
+formatted       1f24b0aaecc0  aws-0.25.3/Aws/Iam/Commands/RemoveUserFromGroup.hs
+formatted       6ca2d1ab0d4d  aws-0.25.3/Aws/Iam/Commands/UpdateAccessKey.hs
+formatted       22dad8df95af  aws-0.25.3/Aws/Iam/Commands/UpdateGroup.hs
+formatted       8005a46daa04  aws-0.25.3/Aws/Iam/Commands/UpdateUser.hs
+formatted       b04ae57c4d85  aws-0.25.3/Aws/Iam/Core.hs
+formatted       2c51f16beb64  aws-0.25.3/Aws/Iam/Internal.hs
+formatted       6a8880093763  aws-0.25.3/Aws/Network.hs
+formatted       dab4bdbf4d30  aws-0.25.3/Aws/S3.hs
+formatted       d43fd3277253  aws-0.25.3/Aws/S3/Commands.hs
+formatted       94b6ba827f0d  aws-0.25.3/Aws/S3/Commands/CopyObject.hs
+formatted       cf2aa8b65509  aws-0.25.3/Aws/S3/Commands/DeleteBucket.hs
+formatted       2d3259784d9c  aws-0.25.3/Aws/S3/Commands/DeleteObject.hs
+formatted       5f9c3eac54cd  aws-0.25.3/Aws/S3/Commands/DeleteObjectVersion.hs
+formatted       893e0286d417  aws-0.25.3/Aws/S3/Commands/DeleteObjects.hs
+formatted       309e2555df8a  aws-0.25.3/Aws/S3/Commands/GetBucket.hs
+formatted       e08ee652077c  aws-0.25.3/Aws/S3/Commands/GetBucketLocation.hs
+formatted       c578256a8ba3  aws-0.25.3/Aws/S3/Commands/GetBucketObjectVersions.hs
+formatted       f7c8438c7170  aws-0.25.3/Aws/S3/Commands/GetBucketVersioning.hs
+formatted       6b2bf3e93067  aws-0.25.3/Aws/S3/Commands/GetObject.hs
+formatted       dc8decf23888  aws-0.25.3/Aws/S3/Commands/GetService.hs
+formatted       47d2e5471a02  aws-0.25.3/Aws/S3/Commands/HeadObject.hs
+formatted       556bfab2043a  aws-0.25.3/Aws/S3/Commands/Multipart.hs
+formatted       5cb70a531715  aws-0.25.3/Aws/S3/Commands/PutBucket.hs
+formatted       0b28bfb88966  aws-0.25.3/Aws/S3/Commands/PutBucketVersioning.hs
+formatted       da027b112c6e  aws-0.25.3/Aws/S3/Commands/PutObject.hs
+formatted       3ea0f32bef96  aws-0.25.3/Aws/S3/Commands/RestoreObject.hs
+formatted       9216ef5ca8bf  aws-0.25.3/Aws/S3/Core.hs
+formatted       acea78114651  aws-0.25.3/Aws/Ses.hs
+formatted       204025c26067  aws-0.25.3/Aws/Ses/Commands.hs
+formatted       99b5d23b951e  aws-0.25.3/Aws/Ses/Commands/DeleteIdentity.hs
+formatted       e67e7fd2b6ab  aws-0.25.3/Aws/Ses/Commands/GetIdentityDkimAttributes.hs
+formatted       d819da7d7e15  aws-0.25.3/Aws/Ses/Commands/GetIdentityNotificationAttributes.hs
+formatted       f26d00b781f1  aws-0.25.3/Aws/Ses/Commands/GetIdentityVerificationAttributes.hs
+formatted       eff7c7f3065f  aws-0.25.3/Aws/Ses/Commands/ListIdentities.hs
+formatted       7491659e098a  aws-0.25.3/Aws/Ses/Commands/SendRawEmail.hs
+formatted       6675a2c42e4a  aws-0.25.3/Aws/Ses/Commands/SetIdentityDkimEnabled.hs
+formatted       787d8c748d19  aws-0.25.3/Aws/Ses/Commands/SetIdentityFeedbackForwardingEnabled.hs
+formatted       7f2c28a36694  aws-0.25.3/Aws/Ses/Commands/SetIdentityNotificationTopic.hs
+formatted       ff8fa998783c  aws-0.25.3/Aws/Ses/Commands/VerifyDomainDkim.hs
+formatted       1601ad894e91  aws-0.25.3/Aws/Ses/Commands/VerifyDomainIdentity.hs
+formatted       b81fe9a75377  aws-0.25.3/Aws/Ses/Commands/VerifyEmailIdentity.hs
+formatted       d9bc377b4535  aws-0.25.3/Aws/Ses/Core.hs
+formatted       438beb9abcf7  aws-0.25.3/Aws/SimpleDb.hs
+formatted       3b84f243b22a  aws-0.25.3/Aws/SimpleDb/Commands.hs
+formatted       99fac5eaec5b  aws-0.25.3/Aws/SimpleDb/Commands/Attributes.hs
+formatted       e8ef744ee04d  aws-0.25.3/Aws/SimpleDb/Commands/Domain.hs
+formatted       e67ca467956d  aws-0.25.3/Aws/SimpleDb/Commands/Select.hs
+formatted       dda69953ab0b  aws-0.25.3/Aws/SimpleDb/Core.hs
+formatted       3858b0c68e9b  aws-0.25.3/Aws/Sqs.hs
+formatted       420d44ecbff6  aws-0.25.3/Aws/Sqs/Commands.hs
+formatted       705ae6e61c17  aws-0.25.3/Aws/Sqs/Commands/Message.hs
+formatted       8ecd60379eb9  aws-0.25.3/Aws/Sqs/Commands/Permission.hs
+formatted       2442e53fe389  aws-0.25.3/Aws/Sqs/Commands/Queue.hs
+formatted       2226dc4ae0fc  aws-0.25.3/Aws/Sqs/Commands/QueueAttributes.hs
+formatted       077158a9843b  aws-0.25.3/Aws/Sqs/Core.hs
+formatted       9e0c32f45080  aws-0.25.3/Examples/DynamoDb.hs
+formatted       41a92c9a1fc1  aws-0.25.3/Examples/GetObject.hs
+formatted       3858ef8c4848  aws-0.25.3/Examples/GetObjectGoogle.hs
+formatted       bb327d3a762c  aws-0.25.3/Examples/GetObjectV4.hs
+formatted       90fb1019e639  aws-0.25.3/Examples/MultipartTransfer.hs
+formatted       00ef254fa0e2  aws-0.25.3/Examples/MultipartUpload.hs
+formatted       4fe70c005eae  aws-0.25.3/Examples/NukeBucket.hs
+formatted       8ced02091335  aws-0.25.3/Examples/PutBucketNearLine.hs
+formatted       8aa6a47f96d4  aws-0.25.3/Examples/SimpleDb.hs
+formatted       660db0d9c408  aws-0.25.3/Examples/Sqs.hs
+formatted       e865ae48f11b  aws-0.25.3/Setup.hs
+formatted       25354620d079  aws-0.25.3/tests/DynamoDb/Main.hs
+formatted       55ec7e48c2d0  aws-0.25.3/tests/DynamoDb/Utils.hs
+formatted       b4fd3c420f24  aws-0.25.3/tests/S3/Main.hs
+formatted       eb4e1783b23d  aws-0.25.3/tests/Sqs/Main.hs
+formatted       d0215a0fd4f7  aws-0.25.3/tests/Utils.hs
+formatted       9bdbb4d08b85  base64-bytestring-1.2.1.0/Data/ByteString/Base64.hs
+formatted       2e4bc7fef944  base64-bytestring-1.2.1.0/Data/ByteString/Base64/Internal.hs
+formatted       4ee401e659a5  base64-bytestring-1.2.1.0/Data/ByteString/Base64/Lazy.hs
+formatted       364db2f92f6b  base64-bytestring-1.2.1.0/Data/ByteString/Base64/URL.hs
+formatted       6b27943d7f75  base64-bytestring-1.2.1.0/Data/ByteString/Base64/URL/Lazy.hs
+formatted       e865ae48f11b  base64-bytestring-1.2.1.0/Setup.hs
+formatted       731e57429ef3  base64-bytestring-1.2.1.0/benchmarks/BM.hs
+formatted       27466939afda  base64-bytestring-1.2.1.0/tests/Tests.hs
+formatted       6faf40de03f6  base64-bytestring-1.2.1.0/utils/Transcode.hs
+formatted       c4f22020768d  bifunctors-5.6.3/src/Data/Biapplicative.hs
+formatted       ecd7a84e0791  bifunctors-5.6.3/src/Data/Bifunctor/Biap.hs
+formatted       a826df664a86  bifunctors-5.6.3/src/Data/Bifunctor/Biff.hs
+formatted       29e68a77624c  bifunctors-5.6.3/src/Data/Bifunctor/Clown.hs
+formatted       8be64898ff45  bifunctors-5.6.3/src/Data/Bifunctor/Fix.hs
+formatted       0f9473f139a0  bifunctors-5.6.3/src/Data/Bifunctor/Flip.hs
+formatted       f0adedc71b8b  bifunctors-5.6.3/src/Data/Bifunctor/Functor.hs
+formatted       189e941cce7b  bifunctors-5.6.3/src/Data/Bifunctor/Join.hs
+formatted       bb35046e41e8  bifunctors-5.6.3/src/Data/Bifunctor/Joker.hs
+formatted       c5a35f996906  bifunctors-5.6.3/src/Data/Bifunctor/Product.hs
+formatted       5103c95321b1  bifunctors-5.6.3/src/Data/Bifunctor/Sum.hs
+formatted       6c5b7be59dc5  bifunctors-5.6.3/src/Data/Bifunctor/TH.hs
+formatted       d13be946d9f7  bifunctors-5.6.3/src/Data/Bifunctor/TH/Internal.hs
+formatted       2ff8e3fa8b04  bifunctors-5.6.3/src/Data/Bifunctor/Tannen.hs
+formatted       f3e963237be7  bifunctors-5.6.3/src/Data/Bifunctor/Wrapped.hs
+formatted       294e79b4e859  bifunctors-5.6.3/tests/BifunctorSpec.hs
+formatted       2fbd14b119a4  bifunctors-5.6.3/tests/Spec.hs
+formatted       2cd9816a6e71  bifunctors-5.6.3/tests/T89Spec.hs
+formatted       e865ae48f11b  blaze-html-0.9.2.0/Setup.hs
+formatted       7570293610dd  blaze-html-0.9.2.0/src/Text/Blaze/Html.hs
+formatted       38739bf5aee1  blaze-html-0.9.2.0/src/Text/Blaze/Html/Renderer/Pretty.hs
+formatted       e9866843720d  blaze-html-0.9.2.0/src/Text/Blaze/Html/Renderer/String.hs
+formatted       4848bf5a2661  blaze-html-0.9.2.0/src/Text/Blaze/Html/Renderer/Text.hs
+formatted       c2e2ac7b3bfe  blaze-html-0.9.2.0/src/Text/Blaze/Html/Renderer/Utf8.hs
+formatted       d75024fa8fff  blaze-html-0.9.2.0/src/Text/Blaze/Html4/FrameSet.hs
+formatted       3bf4803a8a00  blaze-html-0.9.2.0/src/Text/Blaze/Html4/FrameSet/Attributes.hs
+formatted       5180d26f2b1d  blaze-html-0.9.2.0/src/Text/Blaze/Html4/Strict.hs
+formatted       3e1b32fedacf  blaze-html-0.9.2.0/src/Text/Blaze/Html4/Strict/Attributes.hs
+formatted       422b92d41435  blaze-html-0.9.2.0/src/Text/Blaze/Html4/Transitional.hs
+formatted       967c87c702dd  blaze-html-0.9.2.0/src/Text/Blaze/Html4/Transitional/Attributes.hs
+formatted       f59e28258d7d  blaze-html-0.9.2.0/src/Text/Blaze/Html5.hs
+formatted       aa47e3860d89  blaze-html-0.9.2.0/src/Text/Blaze/Html5/Attributes.hs
+formatted       b03c085ed42e  blaze-html-0.9.2.0/src/Text/Blaze/XHtml1/FrameSet.hs
+formatted       c8945272cd1e  blaze-html-0.9.2.0/src/Text/Blaze/XHtml1/FrameSet/Attributes.hs
+formatted       623b94958928  blaze-html-0.9.2.0/src/Text/Blaze/XHtml1/Strict.hs
+formatted       06ce41c941c5  blaze-html-0.9.2.0/src/Text/Blaze/XHtml1/Strict/Attributes.hs
+formatted       ce50e629e3a0  blaze-html-0.9.2.0/src/Text/Blaze/XHtml1/Transitional.hs
+formatted       d8567b0396b6  blaze-html-0.9.2.0/src/Text/Blaze/XHtml1/Transitional/Attributes.hs
+formatted       c09b8ceb1b4d  blaze-html-0.9.2.0/src/Text/Blaze/XHtml5.hs
+formatted       89f6a2b84dea  blaze-html-0.9.2.0/src/Text/Blaze/XHtml5/Attributes.hs
+formatted       aab39b79339e  blaze-html-0.9.2.0/src/Util/GenerateHtmlCombinators.hs
+formatted       1062c3e1cc2c  blaze-html-0.9.2.0/src/Util/Sanitize.hs
+formatted       a8dbbad1626f  blaze-html-0.9.2.0/tests/TestSuite.hs
+formatted       7d0d640150d0  blaze-html-0.9.2.0/tests/Text/Blaze/Html/Tests.hs
+formatted       bc3ba44007f9  blaze-html-0.9.2.0/tests/Text/Blaze/Html/Tests/Util.hs
+formatted       9b6b30ce9e2e  blaze-html-0.9.2.0/tests/Util/Tests.hs
+formatted       e865ae48f11b  blaze-markup-0.8.3.0/Setup.hs
+formatted       d8854db625f7  blaze-markup-0.8.3.0/src/Text/Blaze.hs
+formatted       082e9d86ba0e  blaze-markup-0.8.3.0/src/Text/Blaze/Internal.hs
+formatted       44c83e4d2393  blaze-markup-0.8.3.0/src/Text/Blaze/Renderer/Pretty.hs
+formatted       47db4e0225ea  blaze-markup-0.8.3.0/src/Text/Blaze/Renderer/String.hs
+formatted       fba35e6f83f0  blaze-markup-0.8.3.0/src/Text/Blaze/Renderer/Text.hs
+formatted       c93886160801  blaze-markup-0.8.3.0/src/Text/Blaze/Renderer/Utf8.hs
+formatted       fd4f326322f7  blaze-markup-0.8.3.0/tests/TestSuite.hs
+formatted       97cedcbcdff9  blaze-markup-0.8.3.0/tests/Text/Blaze/Tests.hs
+formatted       ccb6054cba21  blaze-markup-0.8.3.0/tests/Text/Blaze/Tests/Util.hs
+formatted       e865ae48f11b  brick-2.13/Setup.hs
+formatted       2ba7e24887c4  brick-2.13/programs/AnimationDemo.hs
+formatted       f7764ae74248  brick-2.13/programs/AttrDemo.hs
+formatted       ff8eecb012fb  brick-2.13/programs/BorderDemo.hs
+formatted       3ae4f463f6d9  brick-2.13/programs/CacheDemo.hs
+formatted       5bbb5a7f5c6a  brick-2.13/programs/CroppingDemo.hs
+formatted       54756799fdbc  brick-2.13/programs/CustomEventDemo.hs
+formatted       eb072d5b49db  brick-2.13/programs/CustomKeybindingDemo.hs
+formatted       54d86b74183f  brick-2.13/programs/DialogDemo.hs
+formatted       13ce928ec5c8  brick-2.13/programs/DynamicBorderDemo.hs
+formatted       6c949ff5b233  brick-2.13/programs/EditDemo.hs
+formatted       4abacf193587  brick-2.13/programs/EditorLineNumbersDemo.hs
+formatted       767284ebacf6  brick-2.13/programs/FileBrowserDemo.hs
+formatted       5195fdf7631d  brick-2.13/programs/FillDemo.hs
+formatted       4e84237a3150  brick-2.13/programs/FormDemo.hs
+formatted       ccec85b0d210  brick-2.13/programs/HelloWorldDemo.hs
+formatted       3ce76cd1ca42  brick-2.13/programs/LayerDemo.hs
+formatted       6e3d8ca97ed5  brick-2.13/programs/ListDemo.hs
+formatted       0004cbafd4ac  brick-2.13/programs/ListViDemo.hs
+formatted       5a6383c8a990  brick-2.13/programs/MouseDemo.hs
+formatted       362d6fbbc41e  brick-2.13/programs/PaddingDemo.hs
+formatted       29fcba8e8e18  brick-2.13/programs/ProgressBarDemo.hs
+formatted       5b3002384fe1  brick-2.13/programs/ReadmeDemo.hs
+formatted       cd56c9c54290  brick-2.13/programs/SuspendAndResumeDemo.hs
+formatted       9d6eb71e5b4e  brick-2.13/programs/TableDemo.hs
+formatted       3017a336308c  brick-2.13/programs/TabularListDemo.hs
+formatted       d952c4858596  brick-2.13/programs/TailDemo.hs
+formatted       4c464c2bfbae  brick-2.13/programs/TextWrapDemo.hs
+formatted       40138b8aa892  brick-2.13/programs/ThemeDemo.hs
+formatted       e2b0af5ba1cb  brick-2.13/programs/ViewportScrollDemo.hs
+formatted       7c0072eedc2c  brick-2.13/programs/ViewportScrollbarsDemo.hs
+formatted       462c1287b169  brick-2.13/programs/VisibilityDemo.hs
+formatted       86f63f5784c3  brick-2.13/src/Brick.hs
+formatted       ae2be187a1cc  brick-2.13/src/Brick/Animation.hs
+formatted       3eba98c6bd52  brick-2.13/src/Brick/Animation/Clock.hs
+formatted       d44652086edf  brick-2.13/src/Brick/AttrMap.hs
+formatted       5d3f7dc315c5  brick-2.13/src/Brick/BChan.hs
+formatted       1c5ef82aa148  brick-2.13/src/Brick/BorderMap.hs
+formatted       698b3988c7a9  brick-2.13/src/Brick/Focus.hs
+formatted       f6acdf09998c  brick-2.13/src/Brick/Forms.hs
+formatted       f13d1e4a7c75  brick-2.13/src/Brick/Keybindings.hs
+formatted       d5a8d41c444b  brick-2.13/src/Brick/Keybindings/KeyConfig.hs
+formatted       bb319f7e18a4  brick-2.13/src/Brick/Keybindings/KeyDispatcher.hs
+formatted       9d2785aa2ec0  brick-2.13/src/Brick/Keybindings/KeyEvents.hs
+formatted       2d28daf44d4f  brick-2.13/src/Brick/Keybindings/Normalize.hs
+formatted       83e0b6c6dc5d  brick-2.13/src/Brick/Keybindings/Parse.hs
+formatted       accca8da0b13  brick-2.13/src/Brick/Keybindings/Pretty.hs
+formatted       afd14cb655b5  brick-2.13/src/Brick/Main.hs
+formatted       7b6b8cd7bd71  brick-2.13/src/Brick/Themes.hs
+formatted       9d74b79a4f89  brick-2.13/src/Brick/Types.hs
+formatted       2f45f35c3282  brick-2.13/src/Brick/Types/Common.hs
+formatted       18ac88a04934  brick-2.13/src/Brick/Types/EventM.hs
+formatted       77fefd408ddd  brick-2.13/src/Brick/Types/Internal.hs
+formatted       c85f1172ab2f  brick-2.13/src/Brick/Types/TH.hs
+formatted       00aac8f454f3  brick-2.13/src/Brick/Util.hs
+formatted       b22a24e34604  brick-2.13/src/Brick/Widgets/Border.hs
+formatted       131dcd15f5de  brick-2.13/src/Brick/Widgets/Border/Style.hs
+formatted       4c206210f313  brick-2.13/src/Brick/Widgets/Center.hs
+formatted       ba6f99f96973  brick-2.13/src/Brick/Widgets/Core.hs
+formatted       f32e61eb3c8e  brick-2.13/src/Brick/Widgets/Dialog.hs
+formatted       e77b4e7c2cef  brick-2.13/src/Brick/Widgets/Edit.hs
+formatted       c3b1e4357ba4  brick-2.13/src/Brick/Widgets/FileBrowser.hs
+formatted       a5c512e6e564  brick-2.13/src/Brick/Widgets/Internal.hs
+formatted       00120e33ec80  brick-2.13/src/Brick/Widgets/List.hs
+formatted       9ad2caf2e53d  brick-2.13/src/Brick/Widgets/ProgressBar.hs
+formatted       7573db9fa243  brick-2.13/src/Brick/Widgets/Table.hs
+formatted       8a6acc71b9e3  brick-2.13/src/Data/IMap.hs
+formatted       289618cf416b  brick-2.13/tests/List.hs
+formatted       003f483708d0  brick-2.13/tests/Main.hs
+formatted       97e410eb46a9  brick-2.13/tests/Render.hs
+formatted       e0fa5e2b222c  brittany-0.14.0.2/data/Test1.hs
+formatted       c4247f2762ac  brittany-0.14.0.2/data/Test10.hs
+formatted       dd2db552d155  brittany-0.14.0.2/data/Test100.hs
+formatted       87caf554c6e9  brittany-0.14.0.2/data/Test101.hs
+formatted       d9d91599e555  brittany-0.14.0.2/data/Test102.hs
+formatted       26845ab84f6a  brittany-0.14.0.2/data/Test103.hs
+formatted       25cf4c76ed6b  brittany-0.14.0.2/data/Test104.hs
+formatted       bac120fe0092  brittany-0.14.0.2/data/Test105.hs
+formatted       e29d7ffca93f  brittany-0.14.0.2/data/Test106.hs
+formatted       0b6e06bf2c23  brittany-0.14.0.2/data/Test107.hs
+formatted       eda42fe4d65b  brittany-0.14.0.2/data/Test108.hs
+formatted       9ce1b7bc7832  brittany-0.14.0.2/data/Test109.hs
+formatted       a79c8d31ca89  brittany-0.14.0.2/data/Test11.hs
+formatted       003aa1998947  brittany-0.14.0.2/data/Test110.hs
+formatted       da66c71193bb  brittany-0.14.0.2/data/Test111.hs
+formatted       1f496bd08936  brittany-0.14.0.2/data/Test112.hs
+formatted       9e9dde7e6346  brittany-0.14.0.2/data/Test113.hs
+formatted       3713147f1ac7  brittany-0.14.0.2/data/Test114.hs
+formatted       af57b73eeca9  brittany-0.14.0.2/data/Test115.hs
+formatted       93ec4cdba9d2  brittany-0.14.0.2/data/Test116.hs
+formatted       15ad0c63e705  brittany-0.14.0.2/data/Test117.hs
+formatted       8d0d453f612b  brittany-0.14.0.2/data/Test118.hs
+formatted       12be94990301  brittany-0.14.0.2/data/Test119.hs
+formatted       6f351a969231  brittany-0.14.0.2/data/Test12.hs
+formatted       c33673618fb1  brittany-0.14.0.2/data/Test120.hs
+formatted       624ffd482bf1  brittany-0.14.0.2/data/Test121.hs
+formatted       82331e7d394c  brittany-0.14.0.2/data/Test122.hs
+formatted       257598d5a166  brittany-0.14.0.2/data/Test123.hs
+formatted       48aacfc625a2  brittany-0.14.0.2/data/Test124.hs
+formatted       aa6d18237c0f  brittany-0.14.0.2/data/Test125.hs
+formatted       c8a5a533ac8b  brittany-0.14.0.2/data/Test126.hs
+formatted       9e3e73bead8d  brittany-0.14.0.2/data/Test127.hs
+formatted       738bd01f3ecb  brittany-0.14.0.2/data/Test128.hs
+formatted       f712d9c961eb  brittany-0.14.0.2/data/Test129.hs
+formatted       572b38ade60f  brittany-0.14.0.2/data/Test13.hs
+formatted       f808d5477ba7  brittany-0.14.0.2/data/Test130.hs
+formatted       2372bf2e1670  brittany-0.14.0.2/data/Test131.hs
+formatted       c6526aabb3c3  brittany-0.14.0.2/data/Test132.hs
+formatted       7ce895c86188  brittany-0.14.0.2/data/Test133.hs
+formatted       109952114769  brittany-0.14.0.2/data/Test134.hs
+formatted       e9f15a2df4fd  brittany-0.14.0.2/data/Test135.hs
+formatted       d40ccadec39d  brittany-0.14.0.2/data/Test136.hs
+formatted       e8b4564e3bfa  brittany-0.14.0.2/data/Test137.hs
+formatted       649651ebea74  brittany-0.14.0.2/data/Test138.hs
+formatted       4ce9b0b36ac2  brittany-0.14.0.2/data/Test139.hs
+formatted       bb31ea72e15c  brittany-0.14.0.2/data/Test14.hs
+formatted       f04daeaa79e9  brittany-0.14.0.2/data/Test140.hs
+formatted       3f2c0367c6f9  brittany-0.14.0.2/data/Test141.hs
+formatted       edb875329172  brittany-0.14.0.2/data/Test142.hs
+formatted       fa53ce7f455d  brittany-0.14.0.2/data/Test143.hs
+formatted       1c5e166b5b3c  brittany-0.14.0.2/data/Test144.hs
+formatted       412dc562e63e  brittany-0.14.0.2/data/Test145.hs
+formatted       6594ac0ac89d  brittany-0.14.0.2/data/Test146.hs
+formatted       0132945dc887  brittany-0.14.0.2/data/Test147.hs
+formatted       0277bb5ca795  brittany-0.14.0.2/data/Test148.hs
+formatted       cbbb9e8ddafa  brittany-0.14.0.2/data/Test149.hs
+formatted       670268846d7f  brittany-0.14.0.2/data/Test15.hs
+formatted       d29a46b01b30  brittany-0.14.0.2/data/Test150.hs
+formatted       d4d803460298  brittany-0.14.0.2/data/Test151.hs
+formatted       a36d7b2912f5  brittany-0.14.0.2/data/Test152.hs
+formatted       07623dd0fdc8  brittany-0.14.0.2/data/Test153.hs
+formatted       075ce57dc0d7  brittany-0.14.0.2/data/Test154.hs
+formatted       a67b7a3a6b0d  brittany-0.14.0.2/data/Test155.hs
+formatted       129e56afdeb6  brittany-0.14.0.2/data/Test156.hs
+formatted       57b8af085fca  brittany-0.14.0.2/data/Test157.hs
+formatted       46b61e3c8952  brittany-0.14.0.2/data/Test158.hs
+formatted       d8fde995e15b  brittany-0.14.0.2/data/Test159.hs
+formatted       bf5d1a47f654  brittany-0.14.0.2/data/Test16.hs
+formatted       424434aeac60  brittany-0.14.0.2/data/Test160.hs
+formatted       f98d50c790d6  brittany-0.14.0.2/data/Test161.hs
+formatted       9adc27edb4d7  brittany-0.14.0.2/data/Test162.hs
+formatted       85db961eab6d  brittany-0.14.0.2/data/Test163.hs
+formatted       7c1bca51eb76  brittany-0.14.0.2/data/Test164.hs
+formatted       44a382f41340  brittany-0.14.0.2/data/Test165.hs
+formatted       7aa4e8ba5366  brittany-0.14.0.2/data/Test166.hs
+formatted       6d1bdd99a73f  brittany-0.14.0.2/data/Test167.hs
+formatted       cf44f630b70e  brittany-0.14.0.2/data/Test168.hs
+formatted       c49adfe6d330  brittany-0.14.0.2/data/Test169.hs
+formatted       0226be9b7e7c  brittany-0.14.0.2/data/Test17.hs
+formatted       db617c2c4bcd  brittany-0.14.0.2/data/Test170.hs
+formatted       23fa8b14547d  brittany-0.14.0.2/data/Test171.hs
+formatted       aba8b82718ff  brittany-0.14.0.2/data/Test172.hs
+formatted       c651a0d78d61  brittany-0.14.0.2/data/Test173.hs
+formatted       893e9047ccc9  brittany-0.14.0.2/data/Test174.hs
+formatted       44a807f3c420  brittany-0.14.0.2/data/Test175.hs
+formatted       ceb23c285e78  brittany-0.14.0.2/data/Test176.hs
+formatted       2cc15cb26130  brittany-0.14.0.2/data/Test177.hs
+formatted       47771349ee44  brittany-0.14.0.2/data/Test178.hs
+formatted       fe3c3245408d  brittany-0.14.0.2/data/Test179.hs
+formatted       33c6bdbbde64  brittany-0.14.0.2/data/Test18.hs
+formatted       63fcc0af49cf  brittany-0.14.0.2/data/Test180.hs
+formatted       e38749780ef3  brittany-0.14.0.2/data/Test181.hs
+formatted       9e3e9a97e3c4  brittany-0.14.0.2/data/Test182.hs
+formatted       69605dcbb7db  brittany-0.14.0.2/data/Test183.hs
+formatted       2ba83459652b  brittany-0.14.0.2/data/Test184.hs
+formatted       f6c7f8ad0585  brittany-0.14.0.2/data/Test185.hs
+formatted       5016aa65eeae  brittany-0.14.0.2/data/Test186.hs
+formatted       1f6812c3d99f  brittany-0.14.0.2/data/Test187.hs
+formatted       a063a95ec0b5  brittany-0.14.0.2/data/Test188.hs
+formatted       67c40f7b42e6  brittany-0.14.0.2/data/Test189.hs
+formatted       38b535527c4d  brittany-0.14.0.2/data/Test19.hs
+formatted       c2bcae7f3fa7  brittany-0.14.0.2/data/Test190.hs
+formatted       a063a95ec0b5  brittany-0.14.0.2/data/Test191.hs
+formatted       73655457fef6  brittany-0.14.0.2/data/Test192.hs
+formatted       6c2c785ed776  brittany-0.14.0.2/data/Test193.hs
+formatted       05a9b26638ad  brittany-0.14.0.2/data/Test194.hs
+formatted       754917f77f3d  brittany-0.14.0.2/data/Test195.hs
+formatted       1de196cede0f  brittany-0.14.0.2/data/Test196.hs
+formatted       ddb08fa11b62  brittany-0.14.0.2/data/Test197.hs
+formatted       d776aa744168  brittany-0.14.0.2/data/Test198.hs
+formatted       24a96e8d29af  brittany-0.14.0.2/data/Test199.hs
+formatted       505cfa08f63e  brittany-0.14.0.2/data/Test2.hs
+formatted       b958b6b09c30  brittany-0.14.0.2/data/Test20.hs
+formatted       b38c1aa4699e  brittany-0.14.0.2/data/Test200.hs
+formatted       6a220fa69b8c  brittany-0.14.0.2/data/Test201.hs
+formatted       3d550e6e436e  brittany-0.14.0.2/data/Test202.hs
+formatted       2e3981f694fa  brittany-0.14.0.2/data/Test203.hs
+formatted       1f2c733e55d2  brittany-0.14.0.2/data/Test204.hs
+formatted       70bd9c1f0741  brittany-0.14.0.2/data/Test205.hs
+formatted       8e7d7929e338  brittany-0.14.0.2/data/Test206.hs
+formatted       3e6a91618060  brittany-0.14.0.2/data/Test207.hs
+formatted       59f9efb3349d  brittany-0.14.0.2/data/Test208.hs
+formatted       79081f0fe37d  brittany-0.14.0.2/data/Test209.hs
+formatted       80098a638eda  brittany-0.14.0.2/data/Test21.hs
+formatted       4f8c82f9b51b  brittany-0.14.0.2/data/Test210.hs
+formatted       210d2b918c18  brittany-0.14.0.2/data/Test211.hs
+formatted       d8fb0486ae8c  brittany-0.14.0.2/data/Test212.hs
+formatted       e75e1dd08970  brittany-0.14.0.2/data/Test213.hs
+formatted       43a86c48e3e0  brittany-0.14.0.2/data/Test214.hs
+formatted       d09195862c89  brittany-0.14.0.2/data/Test215.hs
+formatted       26f26625cc18  brittany-0.14.0.2/data/Test216.hs
+formatted       53ef3c32297e  brittany-0.14.0.2/data/Test217.hs
+formatted       c77ed5e22f20  brittany-0.14.0.2/data/Test218.hs
+formatted       ac9ef156ee28  brittany-0.14.0.2/data/Test219.hs
+formatted       0962be08eb72  brittany-0.14.0.2/data/Test22.hs
+formatted       e799c8a42f3a  brittany-0.14.0.2/data/Test220.hs
+formatted       aff62baa5cea  brittany-0.14.0.2/data/Test221.hs
+formatted       12482972dd93  brittany-0.14.0.2/data/Test222.hs
+formatted       ce5201d32139  brittany-0.14.0.2/data/Test223.hs
+formatted       f4b2c131b776  brittany-0.14.0.2/data/Test224.hs
+formatted       471352f4b805  brittany-0.14.0.2/data/Test225.hs
+formatted       0a2523228f93  brittany-0.14.0.2/data/Test226.hs
+formatted       228fee2942c2  brittany-0.14.0.2/data/Test227.hs
+formatted       62872e2cabaf  brittany-0.14.0.2/data/Test228.hs
+formatted       045fdd7410cc  brittany-0.14.0.2/data/Test229.hs
+formatted       fbc349a18ac2  brittany-0.14.0.2/data/Test23.hs
+formatted       6b361eb8dc0f  brittany-0.14.0.2/data/Test230.hs
+formatted       892dd742ed65  brittany-0.14.0.2/data/Test231.hs
+formatted       6286b3f9eac0  brittany-0.14.0.2/data/Test232.hs
+formatted       60e66feea926  brittany-0.14.0.2/data/Test233.hs
+formatted       3c773289486a  brittany-0.14.0.2/data/Test234.hs
+formatted       292da7fc2087  brittany-0.14.0.2/data/Test235.hs
+formatted       8c59d060d2bc  brittany-0.14.0.2/data/Test236.hs
+formatted       0dfd55915ad3  brittany-0.14.0.2/data/Test237.hs
+formatted       6133e0af9573  brittany-0.14.0.2/data/Test238.hs
+formatted       f1066c5f9396  brittany-0.14.0.2/data/Test239.hs
+formatted       ffbca100e48b  brittany-0.14.0.2/data/Test24.hs
+formatted       a51ff778ca0c  brittany-0.14.0.2/data/Test240.hs
+formatted       f7f1c9d44450  brittany-0.14.0.2/data/Test241.hs
+formatted       a5280859057c  brittany-0.14.0.2/data/Test242.hs
+formatted       d600bfded86f  brittany-0.14.0.2/data/Test243.hs
+formatted       19618fd51fab  brittany-0.14.0.2/data/Test244.hs
+formatted       0128d98c7415  brittany-0.14.0.2/data/Test245.hs
+formatted       6e87e6e0da70  brittany-0.14.0.2/data/Test246.hs
+formatted       86d72bb559bc  brittany-0.14.0.2/data/Test247.hs
+formatted       08a25c75f7f1  brittany-0.14.0.2/data/Test248.hs
+formatted       9dbb0f024d41  brittany-0.14.0.2/data/Test249.hs
+formatted       9a64bae4696e  brittany-0.14.0.2/data/Test25.hs
+formatted       e18fe664e048  brittany-0.14.0.2/data/Test250.hs
+formatted       9e983a1c88d0  brittany-0.14.0.2/data/Test251.hs
+formatted       b794a968f421  brittany-0.14.0.2/data/Test252.hs
+formatted       d3469c04e688  brittany-0.14.0.2/data/Test253.hs
+formatted       d95ea2404a37  brittany-0.14.0.2/data/Test254.hs
+formatted       f91c2de89707  brittany-0.14.0.2/data/Test255.hs
+formatted       fc8afe1bc2d8  brittany-0.14.0.2/data/Test256.hs
+formatted       491ca3f4ca93  brittany-0.14.0.2/data/Test257.hs
+formatted       f709d4100250  brittany-0.14.0.2/data/Test258.hs
+formatted       7c0c18756066  brittany-0.14.0.2/data/Test259.hs
+formatted       a9993e322f84  brittany-0.14.0.2/data/Test26.hs
+formatted       bd4ad74e5ad1  brittany-0.14.0.2/data/Test260.hs
+formatted       40147eb0ec0f  brittany-0.14.0.2/data/Test261.hs
+formatted       3821b5d35161  brittany-0.14.0.2/data/Test262.hs
+formatted       fd9a1453387e  brittany-0.14.0.2/data/Test263.hs
+formatted       baf120fdf5d2  brittany-0.14.0.2/data/Test264.hs
+formatted       d815db72d171  brittany-0.14.0.2/data/Test265.hs
+formatted       78a94117c264  brittany-0.14.0.2/data/Test266.hs
+formatted       7455751e09ba  brittany-0.14.0.2/data/Test267.hs
+formatted       1c103016d198  brittany-0.14.0.2/data/Test268.hs
+formatted       f3cff1f26d74  brittany-0.14.0.2/data/Test269.hs
+formatted       b82004f9b520  brittany-0.14.0.2/data/Test27.hs
+formatted       0465690dd788  brittany-0.14.0.2/data/Test270.hs
+formatted       08dfb30242bb  brittany-0.14.0.2/data/Test271.hs
+formatted       3c9804f053e1  brittany-0.14.0.2/data/Test272.hs
+formatted       66147d7b06f6  brittany-0.14.0.2/data/Test273.hs
+formatted       7dce06471a0b  brittany-0.14.0.2/data/Test274.hs
+formatted       5a25ced61afa  brittany-0.14.0.2/data/Test275.hs
+formatted       38fa5e3a6fb8  brittany-0.14.0.2/data/Test276.hs
+formatted       83c16970a74e  brittany-0.14.0.2/data/Test277.hs
+formatted       b9ee93618098  brittany-0.14.0.2/data/Test278.hs
+formatted       f517b5f05d94  brittany-0.14.0.2/data/Test279.hs
+formatted       743c45c95802  brittany-0.14.0.2/data/Test28.hs
+formatted       4e5832966328  brittany-0.14.0.2/data/Test280.hs
+formatted       8660608b5eef  brittany-0.14.0.2/data/Test281.hs
+formatted       04cf7566d958  brittany-0.14.0.2/data/Test282.hs
+formatted       27bb7795855b  brittany-0.14.0.2/data/Test283.hs
+formatted       71ed627d7130  brittany-0.14.0.2/data/Test284.hs
+formatted       72763f7eb1a3  brittany-0.14.0.2/data/Test285.hs
+formatted       72763f7eb1a3  brittany-0.14.0.2/data/Test286.hs
+formatted       ba58d9b9da23  brittany-0.14.0.2/data/Test287.hs
+formatted       7cdbc30f7f2f  brittany-0.14.0.2/data/Test288.hs
+formatted       2495685adcd1  brittany-0.14.0.2/data/Test289.hs
+formatted       96b5f6e06d67  brittany-0.14.0.2/data/Test29.hs
+formatted       57755cc6d385  brittany-0.14.0.2/data/Test290.hs
+formatted       e26a69987095  brittany-0.14.0.2/data/Test291.hs
+formatted       5e0694b3b246  brittany-0.14.0.2/data/Test292.hs
+formatted       a867b78f579e  brittany-0.14.0.2/data/Test293.hs
+formatted       d875d4bd6d0c  brittany-0.14.0.2/data/Test294.hs
+formatted       5378d8225be8  brittany-0.14.0.2/data/Test295.hs
+formatted       2ea091951bf3  brittany-0.14.0.2/data/Test296.hs
+formatted       f2528253489c  brittany-0.14.0.2/data/Test297.hs
+formatted       484ac840af11  brittany-0.14.0.2/data/Test298.hs
+formatted       ec19a1e180f7  brittany-0.14.0.2/data/Test299.hs
+formatted       8168cf41370e  brittany-0.14.0.2/data/Test3.hs
+formatted       b2bd32dcb253  brittany-0.14.0.2/data/Test30.hs
+formatted       76d6cb1a04b7  brittany-0.14.0.2/data/Test300.hs
+formatted       e7bebcbbaa7e  brittany-0.14.0.2/data/Test301.hs
+formatted       76de54e8df4f  brittany-0.14.0.2/data/Test302.hs
+formatted       1ff531a0b2f2  brittany-0.14.0.2/data/Test303.hs
+formatted       451ad89ce9c5  brittany-0.14.0.2/data/Test304.hs
+formatted       42858f35d530  brittany-0.14.0.2/data/Test305.hs
+formatted       796117d76ee6  brittany-0.14.0.2/data/Test306.hs
+formatted       348106878578  brittany-0.14.0.2/data/Test307.hs
+formatted       c6c87e56a4c9  brittany-0.14.0.2/data/Test308.hs
+formatted       c538333b23d5  brittany-0.14.0.2/data/Test309.hs
+formatted       b7f73c7d2a34  brittany-0.14.0.2/data/Test31.hs
+formatted       07dd61251813  brittany-0.14.0.2/data/Test310.hs
+formatted       2c0e62c8e02e  brittany-0.14.0.2/data/Test311.hs
+formatted       611a32da9261  brittany-0.14.0.2/data/Test312.hs
+formatted       e63f0b07266f  brittany-0.14.0.2/data/Test313.hs
+formatted       1801f39045ac  brittany-0.14.0.2/data/Test314.hs
+formatted       3e5aa0cbbf8d  brittany-0.14.0.2/data/Test315.hs
+formatted       77220193f4fd  brittany-0.14.0.2/data/Test316.hs
+formatted       681c70c26bdd  brittany-0.14.0.2/data/Test317.hs
+formatted       db935a94f7d3  brittany-0.14.0.2/data/Test318.hs
+formatted       9c3e3b220ded  brittany-0.14.0.2/data/Test319.hs
+formatted       051c12a0e89a  brittany-0.14.0.2/data/Test32.hs
+formatted       ea6689654a00  brittany-0.14.0.2/data/Test320.hs
+formatted       1275e28eeb82  brittany-0.14.0.2/data/Test321.hs
+formatted       d51414b5c108  brittany-0.14.0.2/data/Test322.hs
+formatted       807ffd5d4090  brittany-0.14.0.2/data/Test323.hs
+formatted       d4bf6f80dd88  brittany-0.14.0.2/data/Test324.hs
+formatted       cc6b172e2c85  brittany-0.14.0.2/data/Test325.hs
+formatted       7cdf333b43b0  brittany-0.14.0.2/data/Test326.hs
+formatted       023057e5ea2c  brittany-0.14.0.2/data/Test327.hs
+formatted       d4a0eb0c375a  brittany-0.14.0.2/data/Test328.hs
+formatted       48e095adc40b  brittany-0.14.0.2/data/Test329.hs
+formatted       c6dbbe91a333  brittany-0.14.0.2/data/Test33.hs
+formatted       e9cd67148a67  brittany-0.14.0.2/data/Test330.hs
+formatted       15292e5353c7  brittany-0.14.0.2/data/Test331.hs
+formatted       909ea0b219f8  brittany-0.14.0.2/data/Test332.hs
+formatted       bf317d82aac6  brittany-0.14.0.2/data/Test333.hs
+formatted       0ea42f3ea13b  brittany-0.14.0.2/data/Test334.hs
+formatted       d71c9c9e36ad  brittany-0.14.0.2/data/Test335.hs
+formatted       1ce8b7e10e9f  brittany-0.14.0.2/data/Test336.hs
+formatted       571c3cac2376  brittany-0.14.0.2/data/Test337.hs
+formatted       7ab714dc2fd3  brittany-0.14.0.2/data/Test338.hs
+formatted       178282256454  brittany-0.14.0.2/data/Test339.hs
+formatted       9ebf3fb56b84  brittany-0.14.0.2/data/Test34.hs
+formatted       b4e7aae03ca2  brittany-0.14.0.2/data/Test340.hs
+formatted       aab77942c3b8  brittany-0.14.0.2/data/Test341.hs
+formatted       1883e72d16ee  brittany-0.14.0.2/data/Test342.hs
+formatted       3b85d738148b  brittany-0.14.0.2/data/Test343.hs
+formatted       af2e14f2173b  brittany-0.14.0.2/data/Test344.hs
+formatted       f96e10786024  brittany-0.14.0.2/data/Test345.hs
+formatted       3c1f80fba7f5  brittany-0.14.0.2/data/Test346.hs
+formatted       8c31002b0454  brittany-0.14.0.2/data/Test347.hs
+formatted       90d1def2efee  brittany-0.14.0.2/data/Test348.hs
+formatted       b90d7e5e5304  brittany-0.14.0.2/data/Test349.hs
+formatted       b7f73c7d2a34  brittany-0.14.0.2/data/Test35.hs
+formatted       069132caff79  brittany-0.14.0.2/data/Test350.hs
+formatted       18fa8bda868a  brittany-0.14.0.2/data/Test351.hs
+formatted       d8100e16cec2  brittany-0.14.0.2/data/Test352.hs
+formatted       ac10fdafce98  brittany-0.14.0.2/data/Test353.hs
+formatted       8d10943f64cb  brittany-0.14.0.2/data/Test354.hs
+formatted       1666cc7ee809  brittany-0.14.0.2/data/Test355.hs
+formatted       925026013a9e  brittany-0.14.0.2/data/Test356.hs
+formatted       662d3e798ddf  brittany-0.14.0.2/data/Test357.hs
+formatted       501e5f69073e  brittany-0.14.0.2/data/Test358.hs
+formatted       96ea267fb8fc  brittany-0.14.0.2/data/Test359.hs
+formatted       987603d032ac  brittany-0.14.0.2/data/Test36.hs
+formatted       f23916d35d04  brittany-0.14.0.2/data/Test360.hs
+formatted       0b2ad491920b  brittany-0.14.0.2/data/Test361.hs
+formatted       d9da88c7cdef  brittany-0.14.0.2/data/Test362.hs
+formatted       d9831cd6816b  brittany-0.14.0.2/data/Test363.hs
+formatted       ed8a4a471a67  brittany-0.14.0.2/data/Test364.hs
+formatted       ce4109a16e55  brittany-0.14.0.2/data/Test365.hs
+formatted       5f588354afdf  brittany-0.14.0.2/data/Test366.hs
+formatted       c092b86fc8f4  brittany-0.14.0.2/data/Test367.hs
+formatted       de0a7e9eac66  brittany-0.14.0.2/data/Test368.hs
+formatted       6688f31df99d  brittany-0.14.0.2/data/Test369.hs
+formatted       f500b3d5f559  brittany-0.14.0.2/data/Test37.hs
+formatted       bc540d03e652  brittany-0.14.0.2/data/Test370.hs
+formatted       2fc71603e098  brittany-0.14.0.2/data/Test371.hs
+formatted       3474c1114942  brittany-0.14.0.2/data/Test372.hs
+formatted       c9cdb98bac4e  brittany-0.14.0.2/data/Test373.hs
+formatted       9253909d5fe0  brittany-0.14.0.2/data/Test374.hs
+formatted       fc1c186f290f  brittany-0.14.0.2/data/Test375.hs
+formatted       b18eb8bbd643  brittany-0.14.0.2/data/Test376.hs
+formatted       3e2c525a2a04  brittany-0.14.0.2/data/Test377.hs
+formatted       6efd70a08baf  brittany-0.14.0.2/data/Test378.hs
+formatted       62ba76806cdc  brittany-0.14.0.2/data/Test379.hs
+formatted       db7bcc25bd13  brittany-0.14.0.2/data/Test38.hs
+formatted       d2ee555751f5  brittany-0.14.0.2/data/Test380.hs
+formatted       9f5fc427ca8c  brittany-0.14.0.2/data/Test381.hs
+formatted       2ed82b6e8657  brittany-0.14.0.2/data/Test382.hs
+formatted       ed5f4e8c4709  brittany-0.14.0.2/data/Test383.hs
+formatted       d4963535df46  brittany-0.14.0.2/data/Test384.hs
+formatted       1ae75aed4857  brittany-0.14.0.2/data/Test385.hs
+formatted       114ef88a0dcc  brittany-0.14.0.2/data/Test386.hs
+formatted       585efbbd3b2f  brittany-0.14.0.2/data/Test387.hs
+formatted       edfafa8fb3e5  brittany-0.14.0.2/data/Test388.hs
+formatted       d3405591f923  brittany-0.14.0.2/data/Test389.hs
+formatted       82a4837ca0db  brittany-0.14.0.2/data/Test39.hs
+formatted       e63950a8cb71  brittany-0.14.0.2/data/Test390.hs
+formatted       edfafa8fb3e5  brittany-0.14.0.2/data/Test391.hs
+formatted       b0d3ee7240ad  brittany-0.14.0.2/data/Test392.hs
+formatted       3742d5df31d3  brittany-0.14.0.2/data/Test393.hs
+formatted       5520a89ad216  brittany-0.14.0.2/data/Test394.hs
+formatted       91de5c22d799  brittany-0.14.0.2/data/Test395.hs
+formatted       31d77a1eba0a  brittany-0.14.0.2/data/Test396.hs
+formatted       83335fc6ec16  brittany-0.14.0.2/data/Test397.hs
+formatted       f88eb80bf2c2  brittany-0.14.0.2/data/Test398.hs
+formatted       eac4785be708  brittany-0.14.0.2/data/Test399.hs
+formatted       c3cdd2cbcecc  brittany-0.14.0.2/data/Test4.hs
+formatted       aade2de8b23f  brittany-0.14.0.2/data/Test40.hs
+formatted       199381b55174  brittany-0.14.0.2/data/Test400.hs
+formatted       b5257dac7193  brittany-0.14.0.2/data/Test401.hs
+formatted       0dc7c52e4da5  brittany-0.14.0.2/data/Test402.hs
+formatted       f493c2ba52a6  brittany-0.14.0.2/data/Test403.hs
+formatted       4bc9d8097cba  brittany-0.14.0.2/data/Test404.hs
+formatted       8e09d61f163f  brittany-0.14.0.2/data/Test405.hs
+formatted       aff628c221d0  brittany-0.14.0.2/data/Test406.hs
+formatted       183f062112e1  brittany-0.14.0.2/data/Test407.hs
+formatted       55c58dc8cf59  brittany-0.14.0.2/data/Test408.hs
+formatted       a04dc9525882  brittany-0.14.0.2/data/Test409.hs
+formatted       b97b481e452a  brittany-0.14.0.2/data/Test41.hs
+formatted       a59bda637fa1  brittany-0.14.0.2/data/Test410.hs
+formatted       4adf203a547f  brittany-0.14.0.2/data/Test411.hs
+formatted       e12203827982  brittany-0.14.0.2/data/Test412.hs
+formatted       32731e08c86b  brittany-0.14.0.2/data/Test413.hs
+formatted       d9eab58246aa  brittany-0.14.0.2/data/Test414.hs
+formatted       3d11263d426e  brittany-0.14.0.2/data/Test415.hs
+formatted       dbbe7b5f2b24  brittany-0.14.0.2/data/Test416.hs
+formatted       099959230be5  brittany-0.14.0.2/data/Test417.hs
+formatted       d4012fd73ad4  brittany-0.14.0.2/data/Test418.hs
+formatted       e220e1bb4aa5  brittany-0.14.0.2/data/Test419.hs
+formatted       e3f087db5440  brittany-0.14.0.2/data/Test42.hs
+formatted       00d23b7f1d45  brittany-0.14.0.2/data/Test420.hs
+formatted       84c2b9ddc0ac  brittany-0.14.0.2/data/Test421.hs
+formatted       75fdb65fb57e  brittany-0.14.0.2/data/Test422.hs
+formatted       cafda87f90a6  brittany-0.14.0.2/data/Test423.hs
+formatted       7fa298da41f9  brittany-0.14.0.2/data/Test424.hs
+formatted       249a1cd3e64c  brittany-0.14.0.2/data/Test425.hs
+formatted       72871e244cb0  brittany-0.14.0.2/data/Test426.hs
+formatted       836f37a50344  brittany-0.14.0.2/data/Test427.hs
+formatted       de28f7861710  brittany-0.14.0.2/data/Test428.hs
+formatted       d041c65b1493  brittany-0.14.0.2/data/Test429.hs
+formatted       5994d54471d1  brittany-0.14.0.2/data/Test43.hs
+formatted       f5d76f5634f5  brittany-0.14.0.2/data/Test430.hs
+formatted       9aae587a1706  brittany-0.14.0.2/data/Test431.hs
+formatted       3cb3635e369e  brittany-0.14.0.2/data/Test432.hs
+formatted       726fc80b6702  brittany-0.14.0.2/data/Test433.hs
+formatted       54c8c833912d  brittany-0.14.0.2/data/Test434.hs
+formatted       4b85517ecc64  brittany-0.14.0.2/data/Test435.hs
+formatted       ab4c449d67c6  brittany-0.14.0.2/data/Test436.hs
+formatted       9e0a9c4de4a7  brittany-0.14.0.2/data/Test437.hs
+formatted       22f3bbfaab9e  brittany-0.14.0.2/data/Test438.hs
+formatted       e69fd812c9ad  brittany-0.14.0.2/data/Test439.hs
+formatted       caa512ed8408  brittany-0.14.0.2/data/Test44.hs
+formatted       3cc634e01e62  brittany-0.14.0.2/data/Test440.hs
+formatted       e002fd978b3c  brittany-0.14.0.2/data/Test441.hs
+formatted       4237c13e3af8  brittany-0.14.0.2/data/Test442.hs
+formatted       3e2e25387e6e  brittany-0.14.0.2/data/Test443.hs
+formatted       2e1a64b373ed  brittany-0.14.0.2/data/Test444.hs
+formatted       da6ed62c9bc3  brittany-0.14.0.2/data/Test445.hs
+formatted       868cab74d3fa  brittany-0.14.0.2/data/Test446.hs
+formatted       056e39c676f1  brittany-0.14.0.2/data/Test447.hs
+formatted       245fb4545054  brittany-0.14.0.2/data/Test448.hs
+formatted       036f126597a1  brittany-0.14.0.2/data/Test449.hs
+formatted       1e4acb901a6e  brittany-0.14.0.2/data/Test45.hs
+formatted       dfae62440755  brittany-0.14.0.2/data/Test450.hs
+formatted       3d8e022d4ea8  brittany-0.14.0.2/data/Test451.hs
+formatted       90dc8c4707f6  brittany-0.14.0.2/data/Test452.hs
+formatted       b359b6ed02bb  brittany-0.14.0.2/data/Test453.hs
+formatted       dd5c2ba000d9  brittany-0.14.0.2/data/Test454.hs
+formatted       255bf40fcf81  brittany-0.14.0.2/data/Test455.hs
+formatted       186aedf45b55  brittany-0.14.0.2/data/Test456.hs
+formatted       00342a85f4ce  brittany-0.14.0.2/data/Test457.hs
+formatted       4d9ccb4d6155  brittany-0.14.0.2/data/Test458.hs
+formatted       33f453ac627f  brittany-0.14.0.2/data/Test459.hs
+formatted       06d40dd34181  brittany-0.14.0.2/data/Test46.hs
+formatted       dbfa4f771264  brittany-0.14.0.2/data/Test460.hs
+formatted       75bf53838e5c  brittany-0.14.0.2/data/Test461.hs
+formatted       5fde28db6063  brittany-0.14.0.2/data/Test462.hs
+formatted       ff5bcd3737f2  brittany-0.14.0.2/data/Test463.hs
+formatted       e30c0ff394dd  brittany-0.14.0.2/data/Test464.hs
+formatted       82f7c7fb716e  brittany-0.14.0.2/data/Test465.hs
+formatted       f59579bd97ca  brittany-0.14.0.2/data/Test466.hs
+formatted       5909971846f9  brittany-0.14.0.2/data/Test467.hs
+formatted       fe8bf0d3f053  brittany-0.14.0.2/data/Test468.hs
+formatted       79dd70b7320f  brittany-0.14.0.2/data/Test469.hs
+formatted       382ed7b991ea  brittany-0.14.0.2/data/Test47.hs
+formatted       271132ce279b  brittany-0.14.0.2/data/Test470.hs
+formatted       14a056182567  brittany-0.14.0.2/data/Test471.hs
+formatted       81022208775e  brittany-0.14.0.2/data/Test472.hs
+formatted       3bf39beb5bf7  brittany-0.14.0.2/data/Test473.hs
+formatted       ac6e5e3c9b28  brittany-0.14.0.2/data/Test474.hs
+formatted       67ae184d2068  brittany-0.14.0.2/data/Test475.hs
+formatted       cf5fea243cc0  brittany-0.14.0.2/data/Test476.hs
+formatted       a87acb3bdeb3  brittany-0.14.0.2/data/Test477.hs
+formatted       d489d082ed14  brittany-0.14.0.2/data/Test478.hs
+formatted       7eaefc72f87f  brittany-0.14.0.2/data/Test479.hs
+formatted       7330cfb427b8  brittany-0.14.0.2/data/Test48.hs
+formatted       0150b83ded52  brittany-0.14.0.2/data/Test480.hs
+formatted       9fd1038ae87c  brittany-0.14.0.2/data/Test481.hs
+formatted       35875df97446  brittany-0.14.0.2/data/Test482.hs
+formatted       f5ee09cb4d4a  brittany-0.14.0.2/data/Test483.hs
+formatted       db346d1d90cd  brittany-0.14.0.2/data/Test484.hs
+formatted       83bf991b921a  brittany-0.14.0.2/data/Test485.hs
+formatted       81a1be9769d4  brittany-0.14.0.2/data/Test486.hs
+formatted       88c0c9e26a1b  brittany-0.14.0.2/data/Test487.hs
+formatted       d7b53276ee7e  brittany-0.14.0.2/data/Test488.hs
+formatted       ad9aca095bd9  brittany-0.14.0.2/data/Test489.hs
+formatted       9a218387d760  brittany-0.14.0.2/data/Test49.hs
+formatted       3ea812d20a06  brittany-0.14.0.2/data/Test490.hs
+formatted       964f39f9fdd1  brittany-0.14.0.2/data/Test491.hs
+formatted       94fc4340dab7  brittany-0.14.0.2/data/Test492.hs
+formatted       94fc4340dab7  brittany-0.14.0.2/data/Test493.hs
+formatted       4f31b37f4611  brittany-0.14.0.2/data/Test494.hs
+formatted       6ef386ad2ba9  brittany-0.14.0.2/data/Test495.hs
+formatted       105b7d585feb  brittany-0.14.0.2/data/Test496.hs
+formatted       6281fa183a43  brittany-0.14.0.2/data/Test497.hs
+formatted       aa917a0800ff  brittany-0.14.0.2/data/Test498.hs
+formatted       46d0f48bc543  brittany-0.14.0.2/data/Test499.hs
+formatted       3bb5ad04d6c9  brittany-0.14.0.2/data/Test5.hs
+formatted       a152163f21a1  brittany-0.14.0.2/data/Test50.hs
+formatted       c2a618f0b691  brittany-0.14.0.2/data/Test500.hs
+formatted       942f0707e0f6  brittany-0.14.0.2/data/Test501.hs
+formatted       2e8d8bfa62f4  brittany-0.14.0.2/data/Test502.hs
+formatted       37e953bb3325  brittany-0.14.0.2/data/Test503.hs
+formatted       1aafc8d0f568  brittany-0.14.0.2/data/Test504.hs
+formatted       4b45ac4bd5e9  brittany-0.14.0.2/data/Test505.hs
+formatted       0200fcaae1a4  brittany-0.14.0.2/data/Test506.hs
+formatted       d6cebcaf68e4  brittany-0.14.0.2/data/Test507.hs
+formatted       44d09c5dda2f  brittany-0.14.0.2/data/Test508.hs
+formatted       9ff3c484f4b9  brittany-0.14.0.2/data/Test509.hs
+formatted       2a92ed71a41b  brittany-0.14.0.2/data/Test51.hs
+formatted       b683a92bdd66  brittany-0.14.0.2/data/Test510.hs
+formatted       51649ce30f91  brittany-0.14.0.2/data/Test511.hs
+formatted       ffc994ef4ae6  brittany-0.14.0.2/data/Test512.hs
+formatted       3e1d2ef1afc1  brittany-0.14.0.2/data/Test513.hs
+formatted       23f0ec16d37f  brittany-0.14.0.2/data/Test514.hs
+formatted       23f0ec16d37f  brittany-0.14.0.2/data/Test515.hs
+formatted       cac66fe08f95  brittany-0.14.0.2/data/Test516.hs
+formatted       8ae114aad71e  brittany-0.14.0.2/data/Test517.hs
+formatted       70289eab3fe3  brittany-0.14.0.2/data/Test518.hs
+formatted       438975b07785  brittany-0.14.0.2/data/Test519.hs
+formatted       eb9d8bfe05b9  brittany-0.14.0.2/data/Test52.hs
+formatted       3b0de22d4c6e  brittany-0.14.0.2/data/Test520.hs
+formatted       9c66f5ecab6d  brittany-0.14.0.2/data/Test521.hs
+formatted       6cf1667aa48a  brittany-0.14.0.2/data/Test522.hs
+formatted       2b43a2ef7203  brittany-0.14.0.2/data/Test523.hs
+formatted       52c7343adf8b  brittany-0.14.0.2/data/Test524.hs
+formatted       948aab2f7cf9  brittany-0.14.0.2/data/Test525.hs
+formatted       1b012db7f098  brittany-0.14.0.2/data/Test526.hs
+formatted       ebc6624271d5  brittany-0.14.0.2/data/Test527.hs
+formatted       392fc68f6668  brittany-0.14.0.2/data/Test528.hs
+formatted       49f89359d5d0  brittany-0.14.0.2/data/Test529.hs
+formatted       3656089a9253  brittany-0.14.0.2/data/Test53.hs
+formatted       368a126304aa  brittany-0.14.0.2/data/Test530.hs
+formatted       16b99c511d47  brittany-0.14.0.2/data/Test531.hs
+formatted       78a3c45b3ce4  brittany-0.14.0.2/data/Test532.hs
+formatted       6a06888377fa  brittany-0.14.0.2/data/Test533.hs
+formatted       3e881a04e5a6  brittany-0.14.0.2/data/Test534.hs
+formatted       4dfe442efa9f  brittany-0.14.0.2/data/Test535.hs
+formatted       91721a5485a9  brittany-0.14.0.2/data/Test536.hs
+formatted       b4d4098fc56b  brittany-0.14.0.2/data/Test537.hs
+formatted       e788c7756576  brittany-0.14.0.2/data/Test538.hs
+formatted       14c0f83b186e  brittany-0.14.0.2/data/Test539.hs
+formatted       50a410db6041  brittany-0.14.0.2/data/Test54.hs
+formatted       e7e5bf0bcb91  brittany-0.14.0.2/data/Test540.hs
+formatted       12bd164d5604  brittany-0.14.0.2/data/Test55.hs
+formatted       cb73b8693abf  brittany-0.14.0.2/data/Test56.hs
+formatted       9099decbbb73  brittany-0.14.0.2/data/Test57.hs
+formatted       b71854690335  brittany-0.14.0.2/data/Test58.hs
+formatted       d0b9ba357eb7  brittany-0.14.0.2/data/Test59.hs
+formatted       d9ed4ebe21ed  brittany-0.14.0.2/data/Test6.hs
+formatted       c0b2756e0761  brittany-0.14.0.2/data/Test60.hs
+formatted       2f99cb8d43d4  brittany-0.14.0.2/data/Test61.hs
+formatted       85924b5f9018  brittany-0.14.0.2/data/Test62.hs
+formatted       9aed72ccc09d  brittany-0.14.0.2/data/Test63.hs
+formatted       6d7458778a16  brittany-0.14.0.2/data/Test64.hs
+formatted       2af6de935e4a  brittany-0.14.0.2/data/Test65.hs
+formatted       8f5b06b1d1a3  brittany-0.14.0.2/data/Test66.hs
+formatted       97a1ac597a08  brittany-0.14.0.2/data/Test67.hs
+formatted       3b923e2997f2  brittany-0.14.0.2/data/Test68.hs
+formatted       42e4fa42b4df  brittany-0.14.0.2/data/Test69.hs
+formatted       1310b68b6704  brittany-0.14.0.2/data/Test7.hs
+formatted       b89e9210193e  brittany-0.14.0.2/data/Test70.hs
+formatted       0f6e88c9e27f  brittany-0.14.0.2/data/Test71.hs
+formatted       cc95ed8413e9  brittany-0.14.0.2/data/Test72.hs
+formatted       66e4165cdc45  brittany-0.14.0.2/data/Test73.hs
+formatted       a54128f146c1  brittany-0.14.0.2/data/Test74.hs
+formatted       29302a244e5c  brittany-0.14.0.2/data/Test75.hs
+formatted       89a2a63deffe  brittany-0.14.0.2/data/Test76.hs
+formatted       7a3ad7569e3d  brittany-0.14.0.2/data/Test77.hs
+formatted       286a50a0eb22  brittany-0.14.0.2/data/Test78.hs
+formatted       bc99bdbbbb1e  brittany-0.14.0.2/data/Test79.hs
+formatted       0a8cec799b2a  brittany-0.14.0.2/data/Test8.hs
+formatted       8101549697f3  brittany-0.14.0.2/data/Test80.hs
+formatted       bfd9271ef1b8  brittany-0.14.0.2/data/Test81.hs
+formatted       86acc20cbd95  brittany-0.14.0.2/data/Test82.hs
+formatted       4fe035cf193a  brittany-0.14.0.2/data/Test83.hs
+formatted       43e925441c75  brittany-0.14.0.2/data/Test84.hs
+formatted       dddcd81d8e89  brittany-0.14.0.2/data/Test85.hs
+formatted       b34676f3162a  brittany-0.14.0.2/data/Test86.hs
+formatted       847e26a48a11  brittany-0.14.0.2/data/Test87.hs
+formatted       d0308d6f4eca  brittany-0.14.0.2/data/Test88.hs
+formatted       221543607ca3  brittany-0.14.0.2/data/Test89.hs
+formatted       2383f89fd30f  brittany-0.14.0.2/data/Test9.hs
+formatted       345f3fff4769  brittany-0.14.0.2/data/Test90.hs
+formatted       f7c7ea49f495  brittany-0.14.0.2/data/Test91.hs
+formatted       c16a7d8a98b3  brittany-0.14.0.2/data/Test92.hs
+formatted       21ca73bf65e9  brittany-0.14.0.2/data/Test93.hs
+formatted       2640ff7299cc  brittany-0.14.0.2/data/Test94.hs
+formatted       b7432ad022cf  brittany-0.14.0.2/data/Test95.hs
+formatted       d8e5f8b838d4  brittany-0.14.0.2/data/Test96.hs
+formatted       05ac6093e9ec  brittany-0.14.0.2/data/Test97.hs
+formatted       20404e7b8ddc  brittany-0.14.0.2/data/Test98.hs
+formatted       52caf5793d73  brittany-0.14.0.2/data/Test99.hs
+formatted       7a5d0ee67b99  brittany-0.14.0.2/source/executable/Main.hs
+formatted       690862bf2f8c  brittany-0.14.0.2/source/library/Language/Haskell/Brittany.hs
+formatted       d4d04957e629  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal.hs
+formatted       6afbf41f8962  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Backend.hs
+formatted       52220e203384  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/BackendUtils.hs
+formatted       5226c3e4a3c0  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Config.hs
+formatted       2ec8a82626e9  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Config/Types.hs
+formatted       7993c7bddb3a  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Config/Types/Instances.hs
+formatted       8a01655038f9  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/ExactPrintUtils.hs
+formatted       5d1991ae1529  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/LayouterBasics.hs
+formatted       723c8416feb4  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Layouters/DataDecl.hs
+formatted       d5c6e4922c74  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Layouters/Decl.hs
+formatted       8847401b2859  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Layouters/Expr.hs
+formatted       530227756f24  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Layouters/Expr.hs-boot
+formatted       2813a7879740  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Layouters/IE.hs
+formatted       3998305a44bf  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Layouters/Import.hs
+formatted       a15dabe3834e  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Layouters/Module.hs
+formatted       f9fbf5031039  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Layouters/Pattern.hs
+formatted       6db5b1ff9fe5  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Layouters/Stmt.hs
+formatted       92e1961e1912  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Layouters/Stmt.hs-boot
+formatted       49ec350d5761  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Layouters/Type.hs
+formatted       bc366f798d90  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Obfuscation.hs
+formatted       639827e22495  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/ParseModule.hs
+formatted       509ea338bcf6  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Prelude.hs
+formatted       a8798b4413e4  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/PreludeUtils.hs
+formatted       5c98f019a419  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Transformations/Alt.hs
+formatted       dfc1cb169d62  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Transformations/Columns.hs
+formatted       968ee6a99c18  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Transformations/Floating.hs
+formatted       60839d920ccc  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Transformations/Indent.hs
+formatted       f2d9785e6d3e  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Transformations/Par.hs
+formatted       874014e4ea20  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Types.hs
+formatted       170263b2597c  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Internal/Utils.hs
+formatted       e700d40279b1  brittany-0.14.0.2/source/library/Language/Haskell/Brittany/Main.hs
+formatted       81ba3a884ed6  brittany-0.14.0.2/source/test-suite/Main.hs
+formatted       e865ae48f11b  capability-0.5.0.1/Setup.hs
+formatted       678b05d612f5  capability-0.5.0.1/examples/CountLog.hs
+formatted       dcdc841eb4aa  capability-0.5.0.1/examples/Error.hs
+formatted       415fc25ef46e  capability-0.5.0.1/examples/Reader.hs
+formatted       22b06bc74ebd  capability-0.5.0.1/examples/Reflection.hs
+formatted       f9caf908c5e8  capability-0.5.0.1/examples/Sink.hs
+formatted       ec339eed16e7  capability-0.5.0.1/examples/State.hs
+formatted       57ab1305c10d  capability-0.5.0.1/examples/Test.hs
+formatted       0c6c1190af93  capability-0.5.0.1/examples/Test/Common.hs
+formatted       dcc6019135af  capability-0.5.0.1/examples/WordCount.hs
+formatted       08a60217b29d  capability-0.5.0.1/examples/Writer.hs
+formatted       c7634b7f4e60  capability-0.5.0.1/src/Capability.hs
+formatted       165f273caa36  capability-0.5.0.1/src/Capability/Accessors.hs
+formatted       0a6e5b9aeaec  capability-0.5.0.1/src/Capability/Constraints.hs
+formatted       c20a7f36a9d6  capability-0.5.0.1/src/Capability/Derive.hs
+formatted       43373a32dfc1  capability-0.5.0.1/src/Capability/Error.hs
+formatted       a57c8c4dfa1e  capability-0.5.0.1/src/Capability/Reader.hs
+formatted       7fed07f46f39  capability-0.5.0.1/src/Capability/Reader/Internal/Class.hs
+formatted       41a46adb0534  capability-0.5.0.1/src/Capability/Reader/Internal/Strategies.hs
+formatted       68ddcdc85035  capability-0.5.0.1/src/Capability/Reflection.hs
+formatted       53831b55d7ba  capability-0.5.0.1/src/Capability/Sink.hs
+formatted       ad6b6302170d  capability-0.5.0.1/src/Capability/Sink/Internal/Class.hs
+formatted       1eebf27e1421  capability-0.5.0.1/src/Capability/Sink/Internal/Strategies.hs
+formatted       a66b6476fef7  capability-0.5.0.1/src/Capability/Source.hs
+formatted       725012df3ab7  capability-0.5.0.1/src/Capability/Source/Internal/Class.hs
+formatted       c048296fc597  capability-0.5.0.1/src/Capability/Source/Internal/Strategies.hs
+formatted       52986148f541  capability-0.5.0.1/src/Capability/State.hs
+formatted       819539b1b32c  capability-0.5.0.1/src/Capability/State/Internal/Class.hs
+formatted       5afab8bc9cbd  capability-0.5.0.1/src/Capability/State/Internal/Strategies.hs
+formatted       17db5032f111  capability-0.5.0.1/src/Capability/State/Internal/Strategies/Common.hs
+formatted       e1f09a89b573  capability-0.5.0.1/src/Capability/Stream.hs
+formatted       6cd51b2d63f1  capability-0.5.0.1/src/Capability/TypeOf.hs
+formatted       70bdda72e5c1  capability-0.5.0.1/src/Capability/Writer.hs
+formatted       e865ae48f11b  cassava-0.5.5.0/Setup.hs
+formatted       d9f5c1804c67  cassava-0.5.5.0/examples/IncrementalIndexedBasedDecode.hs
+formatted       5877648e0342  cassava-0.5.5.0/examples/IncrementalNamedBasedEncode.hs
+formatted       64b564b414e7  cassava-0.5.5.0/examples/IndexBasedDecode.hs
+formatted       b6c3b94067fb  cassava-0.5.5.0/examples/IndexBasedGeneric.hs
+formatted       ed0e9ac98faf  cassava-0.5.5.0/examples/NamedBasedDecode.hs
+formatted       4b6907e3cef5  cassava-0.5.5.0/examples/NamedBasedExplicitDecode.hs
+formatted       ac8905b208cf  cassava-0.5.5.0/examples/NamedBasedGeneric.hs
+formatted       d12e448d0c9f  cassava-0.5.5.0/examples/StreamingIndexBasedDecode.hs
+formatted       1fe4d87da7e8  cassava-0.5.5.0/src/Data/Csv.hs
+formatted       75e8027b1969  cassava-0.5.5.0/src/Data/Csv/Builder.hs
+formatted       77e054fe94dc  cassava-0.5.5.0/src/Data/Csv/Conversion.hs
+formatted       4a4bd334d240  cassava-0.5.5.0/src/Data/Csv/Conversion/Internal.hs
+formatted       6572c48339fb  cassava-0.5.5.0/src/Data/Csv/Encoding.hs
+formatted       b9e5c744a69a  cassava-0.5.5.0/src/Data/Csv/Incremental.hs
+formatted       747e622d1029  cassava-0.5.5.0/src/Data/Csv/Parser.hs
+formatted       706437cc68bb  cassava-0.5.5.0/src/Data/Csv/Streaming.hs
+formatted       a999b419485e  cassava-0.5.5.0/src/Data/Csv/Types.hs
+formatted       a330f4efb2b3  cassava-0.5.5.0/src/Data/Csv/Util.hs
+formatted       c5cc31fbdb52  cassava-0.5.5.0/tests/UnitTests.hs
+formatted       fb5c6e58e412  comonad-5.0.10/examples/History.hs
+formatted       20b2a2007028  comonad-5.0.10/src/Control/Comonad.hs
+formatted       031d03f464c6  comonad-5.0.10/src/Control/Comonad/Env.hs
+formatted       3931b25b2b1a  comonad-5.0.10/src/Control/Comonad/Env/Class.hs
+formatted       e1285b5cc7ec  comonad-5.0.10/src/Control/Comonad/Hoist/Class.hs
+formatted       0e8e83750ed9  comonad-5.0.10/src/Control/Comonad/Identity.hs
+formatted       7de32b5a928e  comonad-5.0.10/src/Control/Comonad/Store.hs
+formatted       276d26c2f897  comonad-5.0.10/src/Control/Comonad/Store/Class.hs
+formatted       cad024f75390  comonad-5.0.10/src/Control/Comonad/Traced.hs
+formatted       7aff278ce471  comonad-5.0.10/src/Control/Comonad/Traced/Class.hs
+formatted       415ee391d250  comonad-5.0.10/src/Control/Comonad/Trans/Class.hs
+formatted       16a5b424595c  comonad-5.0.10/src/Control/Comonad/Trans/Env.hs
+formatted       7c832590c1e1  comonad-5.0.10/src/Control/Comonad/Trans/Identity.hs
+formatted       13fe7d61200b  comonad-5.0.10/src/Control/Comonad/Trans/Store.hs
+formatted       c4e61f43e2b7  comonad-5.0.10/src/Control/Comonad/Trans/Traced.hs
+formatted       053df0963fb2  comonad-5.0.10/src/Data/Functor/Composition.hs
+formatted       821345079997  conduit-1.3.6.1/benchmarks/optimize-201408.hs
+formatted       0127662c3c41  conduit-1.3.6.1/benchmarks/unfused.hs
+formatted       c951de4ed73c  conduit-1.3.6.1/src/Conduit.hs
+formatted       aae33af80398  conduit-1.3.6.1/src/Data/Conduit.hs
+formatted       59954f977215  conduit-1.3.6.1/src/Data/Conduit/Combinators.hs
+formatted       cc9b738a5809  conduit-1.3.6.1/src/Data/Conduit/Combinators/Stream.hs
+formatted       675a7d3038fe  conduit-1.3.6.1/src/Data/Conduit/Combinators/Unqualified.hs
+formatted       ea50eda657c3  conduit-1.3.6.1/src/Data/Conduit/Internal.hs
+formatted       cc4dd195fb61  conduit-1.3.6.1/src/Data/Conduit/Internal/Conduit.hs
+formatted       36ab58f8ec92  conduit-1.3.6.1/src/Data/Conduit/Internal/Fusion.hs
+formatted       419646c6279e  conduit-1.3.6.1/src/Data/Conduit/Internal/List/Stream.hs
+formatted       0e7624674869  conduit-1.3.6.1/src/Data/Conduit/Internal/Pipe.hs
+formatted       017e7cf1554a  conduit-1.3.6.1/src/Data/Conduit/Lift.hs
+formatted       52965d8b906e  conduit-1.3.6.1/src/Data/Conduit/List.hs
+formatted       153889fc3176  conduit-1.3.6.1/src/Data/Streaming/FileRead.hs
+formatted       1cbfa3d251b7  conduit-1.3.6.1/src/Data/Streaming/Filesystem.hs
+formatted       80cce7c91005  conduit-1.3.6.1/test/Data/Conduit/Extra/ZipConduitSpec.hs
+formatted       c980b2aaeb56  conduit-1.3.6.1/test/Data/Conduit/StreamSpec.hs
+formatted       c21bc84a59b2  conduit-1.3.6.1/test/Spec.hs
+formatted       651eb93b01f9  conduit-1.3.6.1/test/StreamSpec.hs
+formatted       db2295b8113a  conduit-1.3.6.1/test/doctests.hs
+formatted       093d0cc47a9b  conduit-1.3.6.1/test/main.hs
+formatted       b7707cf2009c  contravariant-1.5.6/old-src/Data/Functor/Contravariant.hs
+formatted       908702099527  contravariant-1.5.6/src/Data/Functor/Contravariant/Compose.hs
+formatted       06a77151926b  contravariant-1.5.6/src/Data/Functor/Contravariant/Divisible.hs
+formatted       24d6bd81d42b  contravariant-1.5.6/src/Data/Functor/Contravariant/Generic.hs
+formatted       d7b51f4cbf93  criterion-1.6.5.0/Criterion.hs
+formatted       c849a304c4e8  criterion-1.6.5.0/Criterion/Analysis.hs
+formatted       005a85fab16f  criterion-1.6.5.0/Criterion/EmbeddedData.hs
+formatted       06254cca138c  criterion-1.6.5.0/Criterion/IO.hs
+formatted       0da9fac6c1ff  criterion-1.6.5.0/Criterion/IO/Printf.hs
+formatted       9ce71d0145b9  criterion-1.6.5.0/Criterion/Internal.hs
+formatted       9e8af02d7282  criterion-1.6.5.0/Criterion/Main.hs
+formatted       32fb58c406f0  criterion-1.6.5.0/Criterion/Main/Options.hs
+formatted       b1cecfb5d940  criterion-1.6.5.0/Criterion/Monad.hs
+formatted       ffd8ee214d47  criterion-1.6.5.0/Criterion/Monad/Internal.hs
+formatted       cc3561193d30  criterion-1.6.5.0/Criterion/Report.hs
+formatted       10c0c7521c11  criterion-1.6.5.0/Criterion/Types.hs
+formatted       86f572e30152  criterion-1.6.5.0/app/Options.hs
+formatted       5bdb7a8903f9  criterion-1.6.5.0/app/Report.hs
+formatted       1052d3ca6b27  criterion-1.6.5.0/examples/BadReadFile.hs
+formatted       5d53fcca081a  criterion-1.6.5.0/examples/Comparison.hs
+formatted       2d3252a6c43f  criterion-1.6.5.0/examples/ConduitVsPipes.hs
+formatted       87d719a4c7d7  criterion-1.6.5.0/examples/ExtensibleCLI.hs
+formatted       56e8b1500ead  criterion-1.6.5.0/examples/Fibber.hs
+formatted       87b0be923370  criterion-1.6.5.0/examples/GoodReadFile.hs
+formatted       c0865cd36fcf  criterion-1.6.5.0/examples/Judy.hs
+formatted       7481094a78db  criterion-1.6.5.0/examples/Maps.hs
+formatted       8a9725166371  criterion-1.6.5.0/examples/Overhead.hs
+formatted       ad42ac3d7bb6  criterion-1.6.5.0/examples/Quotes.hs
+formatted       dbf21778d1ff  criterion-1.6.5.0/tests/Cleanup.hs
+formatted       c446af287dd4  criterion-1.6.5.0/tests/Properties.hs
+formatted       9ea7fcebc4e7  criterion-1.6.5.0/tests/Sanity.hs
+formatted       0ac018d43f74  criterion-1.6.5.0/tests/Tests.hs
+formatted       9dddb2005782  cryptonite-0.30/Crypto/Cipher/AES.hs
+formatted       be57643962f6  cryptonite-0.30/Crypto/Cipher/AES/Primitive.hs
+formatted       7651aa42cd0e  cryptonite-0.30/Crypto/Cipher/AESGCMSIV.hs
+formatted       afbd30c97859  cryptonite-0.30/Crypto/Cipher/Blowfish.hs
+formatted       a6c2c8478696  cryptonite-0.30/Crypto/Cipher/Blowfish/Box.hs
+formatted       59827efbd27d  cryptonite-0.30/Crypto/Cipher/Blowfish/Primitive.hs
+formatted       d72ab771166b  cryptonite-0.30/Crypto/Cipher/CAST5.hs
+formatted       e821c6c2c2d8  cryptonite-0.30/Crypto/Cipher/CAST5/Primitive.hs
+formatted       d95cc1956f80  cryptonite-0.30/Crypto/Cipher/Camellia.hs
+formatted       88e2631b021f  cryptonite-0.30/Crypto/Cipher/Camellia/Primitive.hs
+formatted       2b017b96de7d  cryptonite-0.30/Crypto/Cipher/ChaCha.hs
+formatted       3129dcedec36  cryptonite-0.30/Crypto/Cipher/ChaChaPoly1305.hs
+formatted       f61b41ecbf8f  cryptonite-0.30/Crypto/Cipher/DES.hs
+formatted       d05ad2f324bb  cryptonite-0.30/Crypto/Cipher/DES/Primitive.hs
+formatted       7f5cc0123582  cryptonite-0.30/Crypto/Cipher/RC4.hs
+formatted       c2e8122cdd14  cryptonite-0.30/Crypto/Cipher/Salsa.hs
+formatted       7f0f843b3849  cryptonite-0.30/Crypto/Cipher/TripleDES.hs
+formatted       5534084558c8  cryptonite-0.30/Crypto/Cipher/Twofish.hs
+formatted       dce6d8d21cb1  cryptonite-0.30/Crypto/Cipher/Twofish/Primitive.hs
+formatted       8339a5fb51b8  cryptonite-0.30/Crypto/Cipher/Types.hs
+formatted       b92fcd2310ff  cryptonite-0.30/Crypto/Cipher/Types/AEAD.hs
+formatted       5e3cff17c9d6  cryptonite-0.30/Crypto/Cipher/Types/Base.hs
+formatted       28c7ed21d919  cryptonite-0.30/Crypto/Cipher/Types/Block.hs
+formatted       0d70cd50f2be  cryptonite-0.30/Crypto/Cipher/Types/GF.hs
+formatted       4246a25f1ca2  cryptonite-0.30/Crypto/Cipher/Types/Stream.hs
+formatted       11f39a81cecd  cryptonite-0.30/Crypto/Cipher/Types/Utils.hs
+formatted       d1d85056b771  cryptonite-0.30/Crypto/Cipher/Utils.hs
+formatted       d8eea8feae37  cryptonite-0.30/Crypto/Cipher/XSalsa.hs
+formatted       9c607dfd2a59  cryptonite-0.30/Crypto/ConstructHash/MiyaguchiPreneel.hs
+formatted       502e99df844d  cryptonite-0.30/Crypto/Data/AFIS.hs
+formatted       71c05d22df15  cryptonite-0.30/Crypto/Data/Padding.hs
+formatted       5631100c9055  cryptonite-0.30/Crypto/ECC.hs
+formatted       f27d55a96fce  cryptonite-0.30/Crypto/ECC/Edwards25519.hs
+formatted       95c2c740f896  cryptonite-0.30/Crypto/ECC/Simple/Prim.hs
+formatted       adc33f6e1e26  cryptonite-0.30/Crypto/ECC/Simple/Types.hs
+formatted       4fb11552d7e4  cryptonite-0.30/Crypto/Error.hs
+formatted       72293be377f3  cryptonite-0.30/Crypto/Error/Types.hs
+formatted       339b44a9c971  cryptonite-0.30/Crypto/Hash.hs
+formatted       e579b5c32638  cryptonite-0.30/Crypto/Hash/Algorithms.hs
+formatted       afb6e8ca5496  cryptonite-0.30/Crypto/Hash/Blake2.hs
+formatted       ce6d1a3a2901  cryptonite-0.30/Crypto/Hash/Blake2b.hs
+formatted       65bb07f53da0  cryptonite-0.30/Crypto/Hash/Blake2bp.hs
+formatted       921fe35ab596  cryptonite-0.30/Crypto/Hash/Blake2s.hs
+formatted       0fc66ac0a2c1  cryptonite-0.30/Crypto/Hash/Blake2sp.hs
+formatted       731dc57573e2  cryptonite-0.30/Crypto/Hash/IO.hs
+formatted       d457c1562d86  cryptonite-0.30/Crypto/Hash/Keccak.hs
+formatted       e48df02c7f6b  cryptonite-0.30/Crypto/Hash/MD2.hs
+formatted       8492e2e9da5b  cryptonite-0.30/Crypto/Hash/MD4.hs
+formatted       993f8ad073b5  cryptonite-0.30/Crypto/Hash/MD5.hs
+formatted       1898c4832ab0  cryptonite-0.30/Crypto/Hash/RIPEMD160.hs
+formatted       1f819fdfd9f5  cryptonite-0.30/Crypto/Hash/SHA1.hs
+formatted       9eed94e85416  cryptonite-0.30/Crypto/Hash/SHA224.hs
+formatted       3fb48a7421b3  cryptonite-0.30/Crypto/Hash/SHA256.hs
+formatted       40d60eecf6da  cryptonite-0.30/Crypto/Hash/SHA3.hs
+formatted       3c21cebd3c92  cryptonite-0.30/Crypto/Hash/SHA384.hs
+formatted       713bd49b4740  cryptonite-0.30/Crypto/Hash/SHA512.hs
+formatted       a2d4d570bd4d  cryptonite-0.30/Crypto/Hash/SHA512t.hs
+formatted       67ef6548255b  cryptonite-0.30/Crypto/Hash/SHAKE.hs
+formatted       c54ac0a143fc  cryptonite-0.30/Crypto/Hash/Skein256.hs
+formatted       2157400b5722  cryptonite-0.30/Crypto/Hash/Skein512.hs
+formatted       3bd5fba112bf  cryptonite-0.30/Crypto/Hash/Tiger.hs
+formatted       75543b28d76c  cryptonite-0.30/Crypto/Hash/Types.hs
+formatted       53fcf31fd33d  cryptonite-0.30/Crypto/Hash/Whirlpool.hs
+formatted       a111bbae16a3  cryptonite-0.30/Crypto/Internal/Builder.hs
+formatted       e56279b3113c  cryptonite-0.30/Crypto/Internal/ByteArray.hs
+formatted       e9149acbd814  cryptonite-0.30/Crypto/Internal/Compat.hs
+formatted       52c2ed0b8d21  cryptonite-0.30/Crypto/Internal/CompatPrim.hs
+formatted       c6f400de90e9  cryptonite-0.30/Crypto/Internal/DeepSeq.hs
+formatted       0bf814fd2a0c  cryptonite-0.30/Crypto/Internal/Imports.hs
+formatted       16f664193e64  cryptonite-0.30/Crypto/Internal/Nat.hs
+formatted       0eaddf08e241  cryptonite-0.30/Crypto/Internal/WordArray.hs
+formatted       6cdee7411ee6  cryptonite-0.30/Crypto/Internal/Words.hs
+formatted       abdcfc59cfc6  cryptonite-0.30/Crypto/KDF/Argon2.hs
+formatted       07e1beadd3b0  cryptonite-0.30/Crypto/KDF/BCrypt.hs
+formatted       e7eb295912a7  cryptonite-0.30/Crypto/KDF/BCryptPBKDF.hs
+formatted       163c69218950  cryptonite-0.30/Crypto/KDF/HKDF.hs
+formatted       6faabdb28345  cryptonite-0.30/Crypto/KDF/PBKDF2.hs
+formatted       efd37d706492  cryptonite-0.30/Crypto/KDF/Scrypt.hs
+formatted       b4e216e05810  cryptonite-0.30/Crypto/MAC/CMAC.hs
+formatted       670e8ffc53a0  cryptonite-0.30/Crypto/MAC/HMAC.hs
+formatted       d39b9601a5bd  cryptonite-0.30/Crypto/MAC/KMAC.hs
+formatted       c3532328bf3c  cryptonite-0.30/Crypto/MAC/Poly1305.hs
+formatted       b6b9b213ccf2  cryptonite-0.30/Crypto/Number/Basic.hs
+partly-checked  c489587f366b  cryptonite-0.30/Crypto/Number/Compat.hs
+formatted       0e4cad2e80c1  cryptonite-0.30/Crypto/Number/F2m.hs
+formatted       595c15ea9cc1  cryptonite-0.30/Crypto/Number/Generate.hs
+formatted       91c01f6f1ebd  cryptonite-0.30/Crypto/Number/ModArithmetic.hs
+formatted       3dd81edd0e18  cryptonite-0.30/Crypto/Number/Nat.hs
+formatted       5bb53e3e087c  cryptonite-0.30/Crypto/Number/Prime.hs
+formatted       610c447b097b  cryptonite-0.30/Crypto/Number/Serialize.hs
+formatted       e43877421d24  cryptonite-0.30/Crypto/Number/Serialize/Internal.hs
+formatted       4dd0cd22e6e0  cryptonite-0.30/Crypto/Number/Serialize/Internal/LE.hs
+formatted       377a5adfb050  cryptonite-0.30/Crypto/Number/Serialize/LE.hs
+formatted       da36b2dd842e  cryptonite-0.30/Crypto/OTP.hs
+formatted       56f92059a196  cryptonite-0.30/Crypto/PubKey/Curve25519.hs
+formatted       c258b47bf08d  cryptonite-0.30/Crypto/PubKey/Curve448.hs
+formatted       5e01b19a10f8  cryptonite-0.30/Crypto/PubKey/DH.hs
+formatted       6644494c2e70  cryptonite-0.30/Crypto/PubKey/DSA.hs
+formatted       c1483f8892e6  cryptonite-0.30/Crypto/PubKey/ECC/DH.hs
+formatted       7786aa72fcaf  cryptonite-0.30/Crypto/PubKey/ECC/ECDSA.hs
+formatted       365447b6305f  cryptonite-0.30/Crypto/PubKey/ECC/Generate.hs
+formatted       c845f9df5e72  cryptonite-0.30/Crypto/PubKey/ECC/P256.hs
+formatted       767d58490cf0  cryptonite-0.30/Crypto/PubKey/ECC/Prim.hs
+formatted       4aca486668e0  cryptonite-0.30/Crypto/PubKey/ECC/Types.hs
+formatted       4660edeb66f2  cryptonite-0.30/Crypto/PubKey/ECDSA.hs
+formatted       52c88d6def2f  cryptonite-0.30/Crypto/PubKey/ECIES.hs
+formatted       07b29d5b3cf8  cryptonite-0.30/Crypto/PubKey/Ed25519.hs
+formatted       95a7495c4e55  cryptonite-0.30/Crypto/PubKey/Ed448.hs
+formatted       349ec0f2f536  cryptonite-0.30/Crypto/PubKey/EdDSA.hs
+formatted       41ee4cf1c555  cryptonite-0.30/Crypto/PubKey/ElGamal.hs
+formatted       3fb281504eaa  cryptonite-0.30/Crypto/PubKey/Internal.hs
+formatted       57156231fa3a  cryptonite-0.30/Crypto/PubKey/MaskGenFunction.hs
+formatted       55f7fdaed796  cryptonite-0.30/Crypto/PubKey/RSA.hs
+formatted       a64b3ce58e10  cryptonite-0.30/Crypto/PubKey/RSA/OAEP.hs
+formatted       f65badbb394e  cryptonite-0.30/Crypto/PubKey/RSA/PKCS15.hs
+formatted       a48e6b7e4464  cryptonite-0.30/Crypto/PubKey/RSA/PSS.hs
+formatted       024073f3a34d  cryptonite-0.30/Crypto/PubKey/RSA/Prim.hs
+formatted       6312afd0d9d5  cryptonite-0.30/Crypto/PubKey/RSA/Types.hs
+formatted       4ac8599e3da1  cryptonite-0.30/Crypto/PubKey/Rabin/Basic.hs
+formatted       50492042e7b2  cryptonite-0.30/Crypto/PubKey/Rabin/Modified.hs
+formatted       0477f86d6e97  cryptonite-0.30/Crypto/PubKey/Rabin/OAEP.hs
+formatted       bcae47bf3d0b  cryptonite-0.30/Crypto/PubKey/Rabin/RW.hs
+formatted       e4b9e78a8b1e  cryptonite-0.30/Crypto/PubKey/Rabin/Types.hs
+formatted       e2db59f8de9a  cryptonite-0.30/Crypto/Random.hs
+formatted       05db57a90d93  cryptonite-0.30/Crypto/Random/ChaChaDRG.hs
+formatted       6d9b3a0a5fc6  cryptonite-0.30/Crypto/Random/Entropy.hs
+formatted       3e7d95bdda80  cryptonite-0.30/Crypto/Random/Entropy/Backend.hs
+formatted       833947373aa4  cryptonite-0.30/Crypto/Random/Entropy/RDRand.hs
+formatted       943f1efaaa78  cryptonite-0.30/Crypto/Random/Entropy/Source.hs
+formatted       fe81fd4355d3  cryptonite-0.30/Crypto/Random/Entropy/Unix.hs
+formatted       0af7a57c70b2  cryptonite-0.30/Crypto/Random/Entropy/Unsafe.hs
+declined        -             cryptonite-0.30/Crypto/Random/Entropy/Windows.hs
+formatted       a5b36fa23d4b  cryptonite-0.30/Crypto/Random/EntropyPool.hs
+formatted       ce3da4f1c93f  cryptonite-0.30/Crypto/Random/Probabilistic.hs
+formatted       8ee8d2c200d6  cryptonite-0.30/Crypto/Random/SystemDRG.hs
+formatted       b6891b104d97  cryptonite-0.30/Crypto/Random/Types.hs
+formatted       7d760e74e965  cryptonite-0.30/Crypto/System/CPU.hs
+formatted       a5b3b54111b3  cryptonite-0.30/Crypto/Tutorial.hs
+formatted       e865ae48f11b  cryptonite-0.30/Setup.hs
+formatted       3b38a2618c54  cryptonite-0.30/benchs/Bench.hs
+formatted       688d9ed233b2  cryptonite-0.30/benchs/Number/F2m.hs
+formatted       4ac967357c55  cryptonite-0.30/tests/BCrypt.hs
+formatted       a06220a5b56d  cryptonite-0.30/tests/BCryptPBKDF.hs
+formatted       689a3165bfb9  cryptonite-0.30/tests/BlockCipher.hs
+formatted       21f680873626  cryptonite-0.30/tests/ChaCha.hs
+formatted       a2c9c9597e49  cryptonite-0.30/tests/ChaChaPoly1305.hs
+formatted       9cfe80e5b09f  cryptonite-0.30/tests/ECC.hs
+formatted       9bfd9623d33a  cryptonite-0.30/tests/ECC/Edwards25519.hs
+formatted       417a5b0fb131  cryptonite-0.30/tests/ECDSA.hs
+formatted       de61bb26b241  cryptonite-0.30/tests/Hash.hs
+formatted       b7b72583b511  cryptonite-0.30/tests/Imports.hs
+formatted       926a181562df  cryptonite-0.30/tests/KAT_AES.hs
+formatted       69afd535a206  cryptonite-0.30/tests/KAT_AES/KATCBC.hs
+formatted       bed779515bf1  cryptonite-0.30/tests/KAT_AES/KATCCM.hs
+formatted       7169550c7c73  cryptonite-0.30/tests/KAT_AES/KATECB.hs
+formatted       e17dd66cab60  cryptonite-0.30/tests/KAT_AES/KATGCM.hs
+formatted       1b7d300f04ea  cryptonite-0.30/tests/KAT_AES/KATOCB3.hs
+formatted       30cd159d8f8b  cryptonite-0.30/tests/KAT_AES/KATXTS.hs
+formatted       4c9d2f38f56a  cryptonite-0.30/tests/KAT_AESGCMSIV.hs
+formatted       7729dbb59535  cryptonite-0.30/tests/KAT_AFIS.hs
+formatted       2ae38f166d2d  cryptonite-0.30/tests/KAT_Argon2.hs
+formatted       81b441ae4eac  cryptonite-0.30/tests/KAT_Blowfish.hs
+formatted       caa3fd0f9db0  cryptonite-0.30/tests/KAT_CAST5.hs
+formatted       089b4c77c9e2  cryptonite-0.30/tests/KAT_CMAC.hs
+formatted       6e5a96dd44d0  cryptonite-0.30/tests/KAT_Camellia.hs
+formatted       ef98649d9ec1  cryptonite-0.30/tests/KAT_Curve25519.hs
+formatted       8a707cae5ef2  cryptonite-0.30/tests/KAT_Curve448.hs
+formatted       51ea9347d889  cryptonite-0.30/tests/KAT_DES.hs
+formatted       e84445c86084  cryptonite-0.30/tests/KAT_Ed25519.hs
+formatted       8c1c62cec30d  cryptonite-0.30/tests/KAT_Ed448.hs
+formatted       8d049803ad0b  cryptonite-0.30/tests/KAT_EdDSA.hs
+formatted       d0ce6a35088a  cryptonite-0.30/tests/KAT_HKDF.hs
+formatted       7047846cd323  cryptonite-0.30/tests/KAT_HMAC.hs
+formatted       83309a094189  cryptonite-0.30/tests/KAT_KMAC.hs
+formatted       602d43200c97  cryptonite-0.30/tests/KAT_MiyaguchiPreneel.hs
+formatted       1eb14af5c49d  cryptonite-0.30/tests/KAT_OTP.hs
+formatted       3eb36c04cfcd  cryptonite-0.30/tests/KAT_PBKDF2.hs
+formatted       ec9882f4b98f  cryptonite-0.30/tests/KAT_PubKey.hs
+formatted       74afb863f109  cryptonite-0.30/tests/KAT_PubKey/DSA.hs
+formatted       516429682d73  cryptonite-0.30/tests/KAT_PubKey/ECC.hs
+formatted       7563e4acd86d  cryptonite-0.30/tests/KAT_PubKey/ECDSA.hs
+formatted       ab1fff0da977  cryptonite-0.30/tests/KAT_PubKey/OAEP.hs
+formatted       490b5dc893e5  cryptonite-0.30/tests/KAT_PubKey/P256.hs
+formatted       a45e98d93410  cryptonite-0.30/tests/KAT_PubKey/PSS.hs
+formatted       bdbffd28ca66  cryptonite-0.30/tests/KAT_PubKey/RSA.hs
+formatted       d2f11af262e8  cryptonite-0.30/tests/KAT_PubKey/Rabin.hs
+formatted       fbef5dbbfdb4  cryptonite-0.30/tests/KAT_RC4.hs
+formatted       051995a9e01b  cryptonite-0.30/tests/KAT_Scrypt.hs
+formatted       2d8c085fdba7  cryptonite-0.30/tests/KAT_TripleDES.hs
+formatted       df592e9dbbb8  cryptonite-0.30/tests/KAT_Twofish.hs
+formatted       7001a2704d19  cryptonite-0.30/tests/Number.hs
+formatted       6688a1a91d82  cryptonite-0.30/tests/Number/F2m.hs
+formatted       5189bb5d706f  cryptonite-0.30/tests/Padding.hs
+formatted       ede559104445  cryptonite-0.30/tests/Poly1305.hs
+formatted       c0972f8549a8  cryptonite-0.30/tests/Salsa.hs
+formatted       9d13219905d4  cryptonite-0.30/tests/Tests.hs
+formatted       5bedba720a07  cryptonite-0.30/tests/Utils.hs
+formatted       c873dfcc33eb  cryptonite-0.30/tests/XSalsa.hs
+formatted       e865ae48f11b  dhall-1.42.3/Setup.hs
+formatted       acb5b29b21b4  dhall-1.42.3/benchmark/deep-nested-large-record/Main.hs
+formatted       098854717938  dhall-1.42.3/benchmark/parser/Main.hs
+formatted       118f032d970e  dhall-1.42.3/dhall/Main.hs
+formatted       35e0ff460120  dhall-1.42.3/doctest/Main.hs
+formatted       588b883fe4ec  dhall-1.42.3/ghc-src/Dhall/Crypto.hs
+formatted       4c68fdb8cb7e  dhall-1.42.3/ghc-src/Dhall/Import/HTTP.hs
+formatted       0415f42213ce  dhall-1.42.3/ghc-src/Dhall/Import/Manager.hs
+formatted       016516e54467  dhall-1.42.3/ghcjs-src/Dhall/Crypto.hs
+formatted       5dc56d1e9e33  dhall-1.42.3/ghcjs-src/Dhall/Import/HTTP.hs
+formatted       eecf2e251571  dhall-1.42.3/ghcjs-src/Dhall/Import/Manager.hs
+formatted       5366b1fea51f  dhall-1.42.3/src/Dhall.hs
+formatted       f94146f30644  dhall-1.42.3/src/Dhall/Binary.hs
+formatted       580f6b3da26c  dhall-1.42.3/src/Dhall/Context.hs
+formatted       f0fe142d6554  dhall-1.42.3/src/Dhall/Core.hs
+formatted       8c4fa60e6c1d  dhall-1.42.3/src/Dhall/Deriving.hs
+formatted       886f67b60043  dhall-1.42.3/src/Dhall/Diff.hs
+declined        -             dhall-1.42.3/src/Dhall/DirectoryTree.hs
+formatted       e00da3bfacce  dhall-1.42.3/src/Dhall/DirectoryTree/Types.hs
+formatted       4132e86e9d50  dhall-1.42.3/src/Dhall/Eval.hs
+formatted       26d1c5459b5d  dhall-1.42.3/src/Dhall/Format.hs
+formatted       420ae3d704d3  dhall-1.42.3/src/Dhall/Freeze.hs
+formatted       2b9a45490f14  dhall-1.42.3/src/Dhall/Import.hs
+formatted       6c741816d397  dhall-1.42.3/src/Dhall/Import/Headers.hs
+formatted       86cdb6af117b  dhall-1.42.3/src/Dhall/Import/Types.hs
+formatted       ac0f236c628d  dhall-1.42.3/src/Dhall/Lint.hs
+formatted       87e9a7f13390  dhall-1.42.3/src/Dhall/Main.hs
+formatted       68933a2eea5e  dhall-1.42.3/src/Dhall/Map.hs
+declined        -             dhall-1.42.3/src/Dhall/Marshal/Decode.hs
+formatted       25b7eb045d9e  dhall-1.42.3/src/Dhall/Marshal/Encode.hs
+formatted       06c669a071cb  dhall-1.42.3/src/Dhall/Marshal/Internal.hs
+formatted       684f89bd5010  dhall-1.42.3/src/Dhall/Normalize.hs
+formatted       42aefcf5311c  dhall-1.42.3/src/Dhall/Optics.hs
+formatted       cefc218c056f  dhall-1.42.3/src/Dhall/Package.hs
+formatted       af18bf9f8857  dhall-1.42.3/src/Dhall/Parser.hs
+formatted       c1ec9613d22f  dhall-1.42.3/src/Dhall/Parser/Combinators.hs
+formatted       30cff78bc7f4  dhall-1.42.3/src/Dhall/Parser/Expression.hs
+formatted       7b2ea61ebe89  dhall-1.42.3/src/Dhall/Parser/Token.hs
+formatted       3615deb3ab05  dhall-1.42.3/src/Dhall/Pretty.hs
+formatted       133321e8f521  dhall-1.42.3/src/Dhall/Pretty/Internal.hs
+formatted       7c2d39437b26  dhall-1.42.3/src/Dhall/Pretty/Internal.hs-boot
+formatted       5ed41d4495d1  dhall-1.42.3/src/Dhall/Repl.hs
+formatted       79b5cd9cbfcf  dhall-1.42.3/src/Dhall/Schemas.hs
+formatted       aeb0ba18bc68  dhall-1.42.3/src/Dhall/Set.hs
+formatted       edd60cb1edda  dhall-1.42.3/src/Dhall/Src.hs
+formatted       0b70eec5d075  dhall-1.42.3/src/Dhall/Substitution.hs
+formatted       e05aac2df8ef  dhall-1.42.3/src/Dhall/Syntax.hs
+formatted       76fd16d0fe59  dhall-1.42.3/src/Dhall/Syntax/Binding.hs
+formatted       f7f9bf0341ab  dhall-1.42.3/src/Dhall/Syntax/Chunks.hs
+formatted       107a9069004a  dhall-1.42.3/src/Dhall/Syntax/Chunks.hs-boot
+formatted       f65f84d2a0ba  dhall-1.42.3/src/Dhall/Syntax/Const.hs
+formatted       a7699d58a32a  dhall-1.42.3/src/Dhall/Syntax/Expr.hs
+formatted       765ee909d664  dhall-1.42.3/src/Dhall/Syntax/Expr.hs-boot
+formatted       2492c7f30067  dhall-1.42.3/src/Dhall/Syntax/FunctionBinding.hs
+formatted       dad72b71b39c  dhall-1.42.3/src/Dhall/Syntax/Import.hs
+formatted       d498e5d17d32  dhall-1.42.3/src/Dhall/Syntax/Instances/Applicative.hs
+formatted       af7383192a17  dhall-1.42.3/src/Dhall/Syntax/Instances/Bifunctor.hs
+formatted       b61ca7133fd0  dhall-1.42.3/src/Dhall/Syntax/Instances/Data.hs
+formatted       ce40a8d2057d  dhall-1.42.3/src/Dhall/Syntax/Instances/Eq.hs
+formatted       7260d7ad736b  dhall-1.42.3/src/Dhall/Syntax/Instances/Foldable.hs
+formatted       bec447de81ab  dhall-1.42.3/src/Dhall/Syntax/Instances/Functor.hs
+formatted       132b600c0865  dhall-1.42.3/src/Dhall/Syntax/Instances/Lift.hs
+formatted       bc54b8f2008d  dhall-1.42.3/src/Dhall/Syntax/Instances/Monad.hs
+formatted       ca55a4982308  dhall-1.42.3/src/Dhall/Syntax/Instances/NFData.hs
+formatted       fe11564dae7b  dhall-1.42.3/src/Dhall/Syntax/Instances/Ord.hs
+formatted       bd4813a5adb4  dhall-1.42.3/src/Dhall/Syntax/Instances/Pretty.hs
+formatted       e44246af4f4a  dhall-1.42.3/src/Dhall/Syntax/Instances/Pretty.hs-boot
+formatted       e719d44b0248  dhall-1.42.3/src/Dhall/Syntax/Instances/Show.hs
+formatted       3a49d0567006  dhall-1.42.3/src/Dhall/Syntax/Instances/Traversable.hs
+formatted       4aa06e5b18e6  dhall-1.42.3/src/Dhall/Syntax/MultiLet.hs
+formatted       ac0a54f5bfa0  dhall-1.42.3/src/Dhall/Syntax/Operations.hs
+formatted       ce4c9d4cd7db  dhall-1.42.3/src/Dhall/Syntax/Operations.hs-boot
+formatted       8b361ed5670d  dhall-1.42.3/src/Dhall/Syntax/RecordField.hs
+formatted       18237051bdad  dhall-1.42.3/src/Dhall/Syntax/Types.hs
+formatted       6ec37bde604c  dhall-1.42.3/src/Dhall/Syntax/Types.hs-boot
+formatted       8c943d3ae961  dhall-1.42.3/src/Dhall/Syntax/Var.hs
+formatted       2c510209d889  dhall-1.42.3/src/Dhall/TH.hs
+formatted       4c91f4522b74  dhall-1.42.3/src/Dhall/Tags.hs
+formatted       cafc96485c46  dhall-1.42.3/src/Dhall/Tutorial.hs
+formatted       027a05a68bb9  dhall-1.42.3/src/Dhall/TypeCheck.hs
+formatted       d1f0ff9d053e  dhall-1.42.3/src/Dhall/URL.hs
+formatted       9b2d90eee75d  dhall-1.42.3/src/Dhall/Util.hs
+formatted       0f2dc0785b19  dhall-1.42.3/src/Dhall/Util.hs-boot
+formatted       724a230cd6bd  dhall-1.42.3/src/Dhall/Version.hs
+formatted       a9e58ef5c3d2  dhall-1.42.3/tests/Dhall/Test/Dhall.hs
+formatted       73f96d34e66f  dhall-1.42.3/tests/Dhall/Test/Diff.hs
+formatted       251e79cb6ec8  dhall-1.42.3/tests/Dhall/Test/DirectoryTree.hs
+formatted       0ac7393eea6d  dhall-1.42.3/tests/Dhall/Test/Format.hs
+formatted       55c3e6440302  dhall-1.42.3/tests/Dhall/Test/Freeze.hs
+formatted       5178e0eed64c  dhall-1.42.3/tests/Dhall/Test/Import.hs
+formatted       42f0748a9d37  dhall-1.42.3/tests/Dhall/Test/Lint.hs
+formatted       966c1d43a843  dhall-1.42.3/tests/Dhall/Test/Main.hs
+formatted       69b78e9ca418  dhall-1.42.3/tests/Dhall/Test/Normalization.hs
+formatted       5ec5a0933254  dhall-1.42.3/tests/Dhall/Test/Package.hs
+formatted       5ed28472e6c1  dhall-1.42.3/tests/Dhall/Test/Parser.hs
+formatted       4060721ff4fe  dhall-1.42.3/tests/Dhall/Test/QuickCheck.hs
+formatted       b69abca4c711  dhall-1.42.3/tests/Dhall/Test/Regression.hs
+formatted       41f078682f8b  dhall-1.42.3/tests/Dhall/Test/Schemas.hs
+formatted       4d8fce60eb92  dhall-1.42.3/tests/Dhall/Test/SemanticHash.hs
+formatted       2011f4b7218a  dhall-1.42.3/tests/Dhall/Test/Substitution.hs
+formatted       7f47ce8477cb  dhall-1.42.3/tests/Dhall/Test/TH.hs
+formatted       e505ed5cce82  dhall-1.42.3/tests/Dhall/Test/Tags.hs
+formatted       760a5aaaa8ef  dhall-1.42.3/tests/Dhall/Test/Tutorial.hs
+formatted       5a6f65e97dd3  dhall-1.42.3/tests/Dhall/Test/TypeInference.hs
+formatted       e491bedbd99f  dhall-1.42.3/tests/Dhall/Test/Util.hs
+formatted       e865ae48f11b  diagrams-core-1.5.1.2/Setup.hs
+formatted       95854f0ac137  diagrams-core-1.5.1.2/src/Diagrams/Core.hs
+formatted       73aa15a29e94  diagrams-core-1.5.1.2/src/Diagrams/Core/Compile.hs
+formatted       5503f95ccec5  diagrams-core-1.5.1.2/src/Diagrams/Core/Envelope.hs
+formatted       883e583a9f64  diagrams-core-1.5.1.2/src/Diagrams/Core/HasOrigin.hs
+formatted       e4ddcd3a6051  diagrams-core-1.5.1.2/src/Diagrams/Core/Juxtapose.hs
+formatted       28ecf68b7b2f  diagrams-core-1.5.1.2/src/Diagrams/Core/Measure.hs
+formatted       76d3d0ae31a4  diagrams-core-1.5.1.2/src/Diagrams/Core/Names.hs
+formatted       257ac89b9c87  diagrams-core-1.5.1.2/src/Diagrams/Core/Points.hs
+formatted       8376fad5a614  diagrams-core-1.5.1.2/src/Diagrams/Core/Query.hs
+formatted       73fd6ffa6290  diagrams-core-1.5.1.2/src/Diagrams/Core/Style.hs
+formatted       19effea896f1  diagrams-core-1.5.1.2/src/Diagrams/Core/Trace.hs
+formatted       d49e29d0da50  diagrams-core-1.5.1.2/src/Diagrams/Core/Transform.hs
+formatted       95eea228bb3d  diagrams-core-1.5.1.2/src/Diagrams/Core/Types.hs
+formatted       99cd82b5cd9c  diagrams-core-1.5.1.2/src/Diagrams/Core/V.hs
+formatted       555f0fca7997  distributed-process-0.7.8/benchmarks/Channels.hs
+formatted       01e0b8d85cac  distributed-process-0.7.8/benchmarks/Latency.hs
+formatted       e908376be3c8  distributed-process-0.7.8/benchmarks/ProcessRing.hs
+formatted       c33e63342c1c  distributed-process-0.7.8/benchmarks/Spawns.hs
+formatted       6b628f978dee  distributed-process-0.7.8/benchmarks/Throughput.hs
+formatted       4245d6b11ce5  distributed-process-0.7.8/src/Control/Distributed/Process.hs
+formatted       52f194a08706  distributed-process-0.7.8/src/Control/Distributed/Process/Closure.hs
+formatted       fbf3f3d8e74c  distributed-process-0.7.8/src/Control/Distributed/Process/Debug.hs
+formatted       5b87b3d871df  distributed-process-0.7.8/src/Control/Distributed/Process/Internal/BiMultiMap.hs
+formatted       6ce55b71172e  distributed-process-0.7.8/src/Control/Distributed/Process/Internal/CQueue.hs
+formatted       cd79fb503684  distributed-process-0.7.8/src/Control/Distributed/Process/Internal/Closure/BuiltIn.hs
+formatted       fcc1518f6c62  distributed-process-0.7.8/src/Control/Distributed/Process/Internal/Closure/Explicit.hs
+formatted       8e2d8154b44d  distributed-process-0.7.8/src/Control/Distributed/Process/Internal/Closure/TH.hs
+formatted       13e83255cbe5  distributed-process-0.7.8/src/Control/Distributed/Process/Internal/Messaging.hs
+formatted       123d52fecfb8  distributed-process-0.7.8/src/Control/Distributed/Process/Internal/Primitives.hs
+formatted       2b937aef1ffb  distributed-process-0.7.8/src/Control/Distributed/Process/Internal/Spawn.hs
+formatted       b7bd1f83d3eb  distributed-process-0.7.8/src/Control/Distributed/Process/Internal/StrictContainerAccessors.hs
+formatted       dd7c1652c6e5  distributed-process-0.7.8/src/Control/Distributed/Process/Internal/StrictList.hs
+formatted       348f568fd6cf  distributed-process-0.7.8/src/Control/Distributed/Process/Internal/StrictMVar.hs
+formatted       fb5fe310ea9d  distributed-process-0.7.8/src/Control/Distributed/Process/Internal/Types.hs
+formatted       fa92e53e2e3a  distributed-process-0.7.8/src/Control/Distributed/Process/Internal/WeakTQueue.hs
+formatted       cddee9cc3037  distributed-process-0.7.8/src/Control/Distributed/Process/Management.hs
+formatted       f49e097f98a0  distributed-process-0.7.8/src/Control/Distributed/Process/Management/Internal/Agent.hs
+formatted       78492f24d273  distributed-process-0.7.8/src/Control/Distributed/Process/Management/Internal/Bus.hs
+formatted       3fbd2c41c522  distributed-process-0.7.8/src/Control/Distributed/Process/Management/Internal/Trace/Primitives.hs
+formatted       b96adca1698d  distributed-process-0.7.8/src/Control/Distributed/Process/Management/Internal/Trace/Remote.hs
+formatted       321e42cfb92d  distributed-process-0.7.8/src/Control/Distributed/Process/Management/Internal/Trace/Tracer.hs
+formatted       b8de7c5b07be  distributed-process-0.7.8/src/Control/Distributed/Process/Management/Internal/Trace/Types.hs
+formatted       5fc3f91d92a7  distributed-process-0.7.8/src/Control/Distributed/Process/Management/Internal/Types.hs
+formatted       ca3273a90c32  distributed-process-0.7.8/src/Control/Distributed/Process/Node.hs
+formatted       bc8c2cd7d870  distributed-process-0.7.8/src/Control/Distributed/Process/Serializable.hs
+formatted       3ab7433d6e1e  distributed-process-0.7.8/src/Control/Distributed/Process/UnsafePrimitives.hs
+formatted       02f39d731f4d  dlist-1.0/Data/DList.hs
+formatted       92f9af895acc  dlist-1.0/Data/DList/DNonEmpty.hs
+formatted       5f4375d6348b  dlist-1.0/Data/DList/DNonEmpty/Internal.hs
+partly-checked  0ecff34e1e89  dlist-1.0/Data/DList/Internal.hs
+formatted       669ee89127ed  dlist-1.0/Data/DList/Unsafe.hs
+formatted       33089c190504  dlist-1.0/tests/DListProperties.hs
+formatted       f7fb3310ea8f  dlist-1.0/tests/DNonEmptyProperties.hs
+formatted       321c294d4611  dlist-1.0/tests/ImportUnsafe.hs
+formatted       4a8f0c6952c1  dlist-1.0/tests/Main.hs
+formatted       9fd1dd7f58c7  dlist-1.0/tests/OverloadedStrings.hs
+formatted       702255b8825f  dlist-1.0/tests/QuickCheckUtil.hs
+formatted       e865ae48f11b  esqueleto-3.6.0.3/Setup.hs
+formatted       6bb8a557189e  esqueleto-3.6.0.3/src/Database/Esqueleto.hs
+formatted       41011b728e59  esqueleto-3.6.0.3/src/Database/Esqueleto/Experimental.hs
+formatted       30639fd04022  esqueleto-3.6.0.3/src/Database/Esqueleto/Experimental/From.hs
+formatted       4989b660e301  esqueleto-3.6.0.3/src/Database/Esqueleto/Experimental/From/CommonTableExpression.hs
+formatted       df702743c5dc  esqueleto-3.6.0.3/src/Database/Esqueleto/Experimental/From/Join.hs
+formatted       c8a589cf2e71  esqueleto-3.6.0.3/src/Database/Esqueleto/Experimental/From/SqlSetOperation.hs
+formatted       161bc73fdb2b  esqueleto-3.6.0.3/src/Database/Esqueleto/Experimental/ToAlias.hs
+formatted       86e4cd7b8d80  esqueleto-3.6.0.3/src/Database/Esqueleto/Experimental/ToAliasReference.hs
+formatted       cf363f76de95  esqueleto-3.6.0.3/src/Database/Esqueleto/Experimental/ToMaybe.hs
+formatted       14865ba3cf12  esqueleto-3.6.0.3/src/Database/Esqueleto/Internal/ExprParser.hs
+formatted       1d45e83dfe8d  esqueleto-3.6.0.3/src/Database/Esqueleto/Internal/Internal.hs
+formatted       d8206b418435  esqueleto-3.6.0.3/src/Database/Esqueleto/Internal/PersistentImport.hs
+formatted       3b0150a7215c  esqueleto-3.6.0.3/src/Database/Esqueleto/Legacy.hs
+formatted       7890e968174f  esqueleto-3.6.0.3/src/Database/Esqueleto/MySQL.hs
+formatted       f7a4eedd30c4  esqueleto-3.6.0.3/src/Database/Esqueleto/PostgreSQL.hs
+formatted       9465c608e66d  esqueleto-3.6.0.3/src/Database/Esqueleto/PostgreSQL/JSON.hs
+formatted       41e4a99ab2d9  esqueleto-3.6.0.3/src/Database/Esqueleto/PostgreSQL/JSON/Instances.hs
+formatted       79a70bfdb2ea  esqueleto-3.6.0.3/src/Database/Esqueleto/Record.hs
+formatted       50736a0b65a1  esqueleto-3.6.0.3/src/Database/Esqueleto/SQLite.hs
+formatted       d9dec82738a1  esqueleto-3.6.0.3/test/Common/Record.hs
+formatted       e1c587b8c01f  esqueleto-3.6.0.3/test/Common/Test.hs
+formatted       e7a757f0bba0  esqueleto-3.6.0.3/test/Common/Test/CTE.hs
+formatted       850e4c962816  esqueleto-3.6.0.3/test/Common/Test/Import.hs
+formatted       48418ee64533  esqueleto-3.6.0.3/test/Common/Test/Models.hs
+formatted       4a386aa2b2d7  esqueleto-3.6.0.3/test/Common/Test/Select.hs
+formatted       c80194f788b5  esqueleto-3.6.0.3/test/MySQL/Test.hs
+formatted       d3b714aaf5b9  esqueleto-3.6.0.3/test/PostgreSQL/MigrateJSON.hs
+formatted       8eb6a1b1ef80  esqueleto-3.6.0.3/test/PostgreSQL/Test.hs
+formatted       1469288ef88c  esqueleto-3.6.0.3/test/SQLite/Test.hs
+formatted       5523c3ceaae5  esqueleto-3.6.0.3/test/Spec.hs
+formatted       af7dd7a95834  exceptions-0.10.12/src/Control/Monad/Catch.hs
+formatted       8894185eafe6  exceptions-0.10.12/src/Control/Monad/Catch/Pure.hs
+formatted       505ab358dbe0  exceptions-0.10.12/tests/Control/Monad/Catch/Tests.hs
+formatted       3f0bd678565d  exceptions-0.10.12/tests/Tests.hs
+formatted       4fea41035454  fay-0.24.2.0/Setup.hs
+formatted       8a88188c10e7  fay-0.24.2.0/examples/CodeWorld.hs
+formatted       6d8723809310  fay-0.24.2.0/examples/CodeWorldMain.hs
+formatted       5b1884e0ded6  fay-0.24.2.0/examples/Cont.hs
+formatted       193938e2b3d2  fay-0.24.2.0/examples/D3TreeSample.hs
+formatted       45fa087c720a  fay-0.24.2.0/examples/FayFromJs.hs
+formatted       d4be2511948d  fay-0.24.2.0/examples/Separated.hs
+formatted       73cbc6340843  fay-0.24.2.0/examples/X.hs
+formatted       89a1e9058dc3  fay-0.24.2.0/examples/Y.hs
+formatted       55d7b8cf115f  fay-0.24.2.0/examples/alert.hs
+formatted       9b61a68e3b2b  fay-0.24.2.0/examples/calc.hs
+formatted       659ab8d07900  fay-0.24.2.0/examples/canvaswater.hs
+formatted       97df12f5dfa2  fay-0.24.2.0/examples/console.hs
+formatted       15fe0d0cf60b  fay-0.24.2.0/examples/data.hs
+formatted       0fdd8626d090  fay-0.24.2.0/examples/dom.hs
+formatted       7d01084500d9  fay-0.24.2.0/examples/jquery.hs
+formatted       ef007ed90d4d  fay-0.24.2.0/examples/json.hs
+formatted       5cb163f9c7b1  fay-0.24.2.0/examples/node.hs
+formatted       80dcbf3dd157  fay-0.24.2.0/examples/nqueens.hs
+formatted       a7b700bc304e  fay-0.24.2.0/examples/obj.hs
+formatted       81aff58be38c  fay-0.24.2.0/examples/oscillator.hs
+formatted       fc83d9a2a8f1  fay-0.24.2.0/examples/pat.hs
+formatted       eae13e5640c0  fay-0.24.2.0/examples/properties.hs
+formatted       7cf199afb50d  fay-0.24.2.0/examples/ref.hs
+formatted       d3144923223a  fay-0.24.2.0/examples/showExamples.hs
+formatted       c919aa96196f  fay-0.24.2.0/examples/tailrecursive.hs
+formatted       c814d49d8c32  fay-0.24.2.0/src/Fay.hs
+formatted       c1f2633f7030  fay-0.24.2.0/src/Fay/Compiler.hs
+formatted       b1047510f24d  fay-0.24.2.0/src/Fay/Compiler/Decl.hs
+formatted       8422d5d54837  fay-0.24.2.0/src/Fay/Compiler/Defaults.hs
+formatted       0256c6175322  fay-0.24.2.0/src/Fay/Compiler/Desugar.hs
+formatted       bf4678ec07a8  fay-0.24.2.0/src/Fay/Compiler/Desugar/Name.hs
+formatted       93cb31b02166  fay-0.24.2.0/src/Fay/Compiler/Desugar/Types.hs
+formatted       db7c56e190ed  fay-0.24.2.0/src/Fay/Compiler/Exp.hs
+formatted       bd4127853593  fay-0.24.2.0/src/Fay/Compiler/FFI.hs
+formatted       7036c5599095  fay-0.24.2.0/src/Fay/Compiler/GADT.hs
+formatted       bca546b5a032  fay-0.24.2.0/src/Fay/Compiler/Import.hs
+formatted       3d14b53cc776  fay-0.24.2.0/src/Fay/Compiler/InitialPass.hs
+formatted       28b2e2716e55  fay-0.24.2.0/src/Fay/Compiler/Misc.hs
+formatted       e1987f15579e  fay-0.24.2.0/src/Fay/Compiler/ModuleT.hs
+formatted       aded6a31d415  fay-0.24.2.0/src/Fay/Compiler/Optimizer.hs
+formatted       dec4da066bc6  fay-0.24.2.0/src/Fay/Compiler/Packages.hs
+formatted       1352e133d22e  fay-0.24.2.0/src/Fay/Compiler/Parse.hs
+formatted       2d9527fcf805  fay-0.24.2.0/src/Fay/Compiler/Pattern.hs
+formatted       f8ed0a4012ca  fay-0.24.2.0/src/Fay/Compiler/Prelude.hs
+formatted       8a6215e4d004  fay-0.24.2.0/src/Fay/Compiler/PrimOp.hs
+formatted       b18f02564013  fay-0.24.2.0/src/Fay/Compiler/Print.hs
+formatted       3ea7288b9b27  fay-0.24.2.0/src/Fay/Compiler/QName.hs
+formatted       70e121877699  fay-0.24.2.0/src/Fay/Compiler/State.hs
+formatted       e23dbdfe14cb  fay-0.24.2.0/src/Fay/Compiler/Typecheck.hs
+formatted       593f43fdde2c  fay-0.24.2.0/src/Fay/Config.hs
+formatted       9c1ec78a564b  fay-0.24.2.0/src/Fay/Convert.hs
+formatted       62cedcf94168  fay-0.24.2.0/src/Fay/Exts.hs
+formatted       1bacbcd8bc99  fay-0.24.2.0/src/Fay/Exts/NoAnnotation.hs
+formatted       0bd23794e8d8  fay-0.24.2.0/src/Fay/Exts/Scoped.hs
+formatted       9f75ec30b7bf  fay-0.24.2.0/src/Fay/FFI.hs
+formatted       67f71851ea32  fay-0.24.2.0/src/Fay/Runtime.hs
+formatted       7ca23af05e63  fay-0.24.2.0/src/Fay/Types.hs
+formatted       2e70a4572e74  fay-0.24.2.0/src/Fay/Types/CompileError.hs
+formatted       cbbdc98e58b1  fay-0.24.2.0/src/Fay/Types/CompileResult.hs
+formatted       e9fda50d3e13  fay-0.24.2.0/src/Fay/Types/FFI.hs
+formatted       594e317835e0  fay-0.24.2.0/src/Fay/Types/Js.hs
+formatted       c7cf0839ef53  fay-0.24.2.0/src/Fay/Types/ModulePath.hs
+formatted       ff4012055c46  fay-0.24.2.0/src/Fay/Types/Printer.hs
+formatted       b28feeea3b7c  fay-0.24.2.0/src/haskell-names/Language/Haskell/Names.hs
+formatted       b508e8aabde8  fay-0.24.2.0/src/haskell-names/Language/Haskell/Names/Annotated.hs
+formatted       335aae65837f  fay-0.24.2.0/src/haskell-names/Language/Haskell/Names/Exports.hs
+formatted       0278875430db  fay-0.24.2.0/src/haskell-names/Language/Haskell/Names/GetBound.hs
+formatted       adbbf4781f01  fay-0.24.2.0/src/haskell-names/Language/Haskell/Names/GlobalSymbolTable.hs
+formatted       1f36966c10c6  fay-0.24.2.0/src/haskell-names/Language/Haskell/Names/GlobalSymbolTable.hs-boot
+formatted       23dd04be8671  fay-0.24.2.0/src/haskell-names/Language/Haskell/Names/Imports.hs
+formatted       b5418723e1db  fay-0.24.2.0/src/haskell-names/Language/Haskell/Names/LocalSymbolTable.hs
+formatted       b0b62a19e07a  fay-0.24.2.0/src/haskell-names/Language/Haskell/Names/ModuleSymbols.hs
+formatted       22553e78e454  fay-0.24.2.0/src/haskell-names/Language/Haskell/Names/Open/Base.hs
+formatted       b12db8ba5ce9  fay-0.24.2.0/src/haskell-names/Language/Haskell/Names/Open/Derived.hs
+formatted       6c2c9a0e377b  fay-0.24.2.0/src/haskell-names/Language/Haskell/Names/Open/Instances.hs
+formatted       bb4ce6347470  fay-0.24.2.0/src/haskell-names/Language/Haskell/Names/RecordWildcards.hs
+formatted       fcaae70a997c  fay-0.24.2.0/src/haskell-names/Language/Haskell/Names/Recursive.hs
+formatted       3a3b7da442e3  fay-0.24.2.0/src/haskell-names/Language/Haskell/Names/ScopeUtils.hs
+formatted       564ecb05cc5c  fay-0.24.2.0/src/haskell-names/Language/Haskell/Names/SyntaxUtils.hs
+formatted       d0aaeb6413ac  fay-0.24.2.0/src/haskell-names/Language/Haskell/Names/Types.hs
+formatted       e57f246244fc  fay-0.24.2.0/src/main/Main.hs
+formatted       1c3602d9bd9e  fay-0.24.2.0/src/tests/Test/CommandLine.hs
+formatted       d3f4fef3cbf8  fay-0.24.2.0/src/tests/Test/Compile.hs
+formatted       f0d1dff61547  fay-0.24.2.0/src/tests/Test/Convert.hs
+formatted       f1c15bd5dc7b  fay-0.24.2.0/src/tests/Test/Desugar.hs
+formatted       c55d0c4c9cc4  fay-0.24.2.0/src/tests/Test/Util.hs
+formatted       6d8a5a255b9e  fay-0.24.2.0/src/tests/Tests.hs
+formatted       8114602da4c3  fay-0.24.2.0/tests/AllBaseModules.hs
+formatted       93717555d5b7  fay-0.24.2.0/tests/AutomaticList.hs
+formatted       779c72fbdb74  fay-0.24.2.0/tests/Bool.hs
+formatted       d5c6ec08c4a5  fay-0.24.2.0/tests/CPP.hs
+formatted       db22f7b9ef23  fay-0.24.2.0/tests/Char.hs
+formatted       5caaa12e14fe  fay-0.24.2.0/tests/Compile/CPPMultiLineStrings.hs
+formatted       a5ace073f2a3  fay-0.24.2.0/tests/Compile/CPPTypecheck.hs
+formatted       66d008a435ce  fay-0.24.2.0/tests/Compile/EnumChar.hs
+formatted       79a705007362  fay-0.24.2.0/tests/Compile/ImportRecords.hs
+formatted       7787766572d4  fay-0.24.2.0/tests/Compile/Records.hs
+formatted       655d618df574  fay-0.24.2.0/tests/Compile/StrictWrapper.hs
+formatted       6a2bda64c90d  fay-0.24.2.0/tests/Compile/pretty.hs
+formatted       6a2bda64c90d  fay-0.24.2.0/tests/Compile/prettyOperators.hs
+formatted       6a2bda64c90d  fay-0.24.2.0/tests/Compile/prettyThunks.hs
+formatted       af0dbc02fab4  fay-0.24.2.0/tests/Defined.hs
+formatted       de3cbe37ad1b  fay-0.24.2.0/tests/DesugarFFI.hs
+formatted       7ec03e591aa8  fay-0.24.2.0/tests/DoLet2.hs
+formatted       2df06c6180f3  fay-0.24.2.0/tests/DoLet3.hs
+formatted       8506e48ae167  fay-0.24.2.0/tests/Double.hs
+formatted       555ed6125da8  fay-0.24.2.0/tests/Double2.hs
+formatted       940c2db0f038  fay-0.24.2.0/tests/Double3.hs
+formatted       ce51517b312e  fay-0.24.2.0/tests/Double4.hs
+formatted       f83502b4c8fb  fay-0.24.2.0/tests/Either.hs
+formatted       ce7e8af001b4  fay-0.24.2.0/tests/EmptyDataDeclArray.hs
+formatted       8471eea6bf7c  fay-0.24.2.0/tests/Eq.hs
+formatted       25d8fd9d5d5a  fay-0.24.2.0/tests/ExportEThingAll.hs
+formatted       bea5851db3b4  fay-0.24.2.0/tests/ExportEThingAll_Export.hs
+formatted       b86ba0189dff  fay-0.24.2.0/tests/ExportEThingWith.hs
+formatted       0ff32276cca4  fay-0.24.2.0/tests/ExportList.hs
+formatted       c70d5951fda8  fay-0.24.2.0/tests/ExportList_A.hs
+formatted       eb351b1cfd3e  fay-0.24.2.0/tests/ExportList_B.hs
+formatted       4736c70718a7  fay-0.24.2.0/tests/ExportList_C.hs
+formatted       41c7f9eb857a  fay-0.24.2.0/tests/ExportList_D.hs
+formatted       b42dad751766  fay-0.24.2.0/tests/ExportQualified_Export.hs
+formatted       e08dc6f4e84b  fay-0.24.2.0/tests/ExportQualified_Import.hs
+formatted       906fa1c6c129  fay-0.24.2.0/tests/ExportType.hs
+formatted       5793b3de86da  fay-0.24.2.0/tests/Floating.hs
+formatted       239308137688  fay-0.24.2.0/tests/FromString.hs
+formatted       fc43945a5277  fay-0.24.2.0/tests/FromString/Dep.hs
+formatted       09e516e107ad  fay-0.24.2.0/tests/FromString/DepDep.hs
+formatted       c6c94a2cb756  fay-0.24.2.0/tests/FromString/FayText.hs
+formatted       4a710f7fe748  fay-0.24.2.0/tests/GADTs_without_records.hs
+formatted       20b99ae99713  fay-0.24.2.0/tests/GuardWhere.hs
+formatted       4c6803c7f169  fay-0.24.2.0/tests/HidePreludeImport.hs
+formatted       a1408d450caf  fay-0.24.2.0/tests/HidePreludeImport_Import.hs
+formatted       fa5b4cc76a44  fay-0.24.2.0/tests/Hierarchical/Export.hs
+formatted       102307416bcd  fay-0.24.2.0/tests/Hierarchical/RecordDefined.hs
+formatted       920c9acca3b5  fay-0.24.2.0/tests/HierarchicalImport.hs
+formatted       def230ba708f  fay-0.24.2.0/tests/ImplicitPrelude.hs
+formatted       85fb7ebdcfdc  fay-0.24.2.0/tests/ImportHiding.hs
+formatted       9f73f8597c0f  fay-0.24.2.0/tests/ImportIThingAll.hs
+formatted       59151ac2ebea  fay-0.24.2.0/tests/ImportList.hs
+formatted       87c5a69d1b76  fay-0.24.2.0/tests/ImportList1/A.hs
+formatted       a25b5782f91c  fay-0.24.2.0/tests/ImportList1/B.hs
+formatted       a9003116e1c9  fay-0.24.2.0/tests/ImportList1/C.hs
+formatted       b5cb6de55974  fay-0.24.2.0/tests/ImportListType.hs
+formatted       daca593f7014  fay-0.24.2.0/tests/ImportType.hs
+formatted       440bc41f78be  fay-0.24.2.0/tests/ImportType2.hs
+formatted       5ff8e931a567  fay-0.24.2.0/tests/ImportType2I/A.hs
+formatted       e15dbb9a2720  fay-0.24.2.0/tests/ImportType2I/B.hs
+formatted       1d53026c2fa7  fay-0.24.2.0/tests/Integer.hs
+formatted       7a65ef931712  fay-0.24.2.0/tests/Integral.hs
+formatted       dadef2b7cb03  fay-0.24.2.0/tests/Issue215/B.hs
+formatted       eeedb44973d0  fay-0.24.2.0/tests/Issue215A.hs
+formatted       f53e557cbb91  fay-0.24.2.0/tests/Js2FayFunc.hs
+formatted       34cf440fec5e  fay-0.24.2.0/tests/JsFunctionPassing.hs
+formatted       8df676289328  fay-0.24.2.0/tests/LambdaCase.hs
+formatted       47266926fa39  fay-0.24.2.0/tests/LazyOperators.hs
+formatted       ee291ee7e00e  fay-0.24.2.0/tests/List.hs
+formatted       c8021ca9ec3f  fay-0.24.2.0/tests/List2.hs
+formatted       d51c016beb07  fay-0.24.2.0/tests/ListEq.hs
+formatted       fdde56a2646d  fay-0.24.2.0/tests/MainThunk.hs
+formatted       350d9831d6f8  fay-0.24.2.0/tests/ModuleReExport/ExportsIdentifier.hs
+formatted       11a1e6e6a336  fay-0.24.2.0/tests/ModuleReExport/ExportsModule.hs
+formatted       9dfef0f7c129  fay-0.24.2.0/tests/ModuleReExports.hs
+formatted       83591d44c84a  fay-0.24.2.0/tests/ModuleRecordClash.hs
+formatted       997782df97ba  fay-0.24.2.0/tests/ModuleRecordClash/R.hs
+formatted       53ea9782c8a3  fay-0.24.2.0/tests/ModuleRecordClash2.hs
+formatted       3f2cf09e81b7  fay-0.24.2.0/tests/ModuleRecordClash2_Hello.hs
+formatted       19315544caa1  fay-0.24.2.0/tests/Monad.hs
+formatted       f6ab685889d1  fay-0.24.2.0/tests/Monad2.hs
+formatted       e6c2c4a3aab1  fay-0.24.2.0/tests/MultiWayIf.hs
+formatted       0e3845c048a2  fay-0.24.2.0/tests/NestedImporting.hs
+formatted       4b3a670722e0  fay-0.24.2.0/tests/NestedImporting/A.hs
+formatted       2a092a0c1f4c  fay-0.24.2.0/tests/NestedImporting2.hs
+formatted       19cbbffb80bc  fay-0.24.2.0/tests/NestedImporting2/A.hs
+formatted       be6671d53b91  fay-0.24.2.0/tests/NewtypeImport_Export.hs
+formatted       4950c87b169a  fay-0.24.2.0/tests/NewtypeImport_Import.hs
+formatted       007b8119890d  fay-0.24.2.0/tests/Nullable.hs
+formatted       c6982045652d  fay-0.24.2.0/tests/Num.hs
+formatted       50a617ff8213  fay-0.24.2.0/tests/Ord.hs
+formatted       35c32a616e6d  fay-0.24.2.0/tests/PrefixOpPat.hs
+formatted       a10e8617bd03  fay-0.24.2.0/tests/QualifiedImport.hs
+formatted       3298b9301836  fay-0.24.2.0/tests/QualifiedImport/X.hs
+formatted       391559feaa6f  fay-0.24.2.0/tests/QualifiedImport/Y.hs
+formatted       079cdbc9ff4f  fay-0.24.2.0/tests/Ratio.hs
+formatted       577c81fcbe39  fay-0.24.2.0/tests/ReExport1.hs
+formatted       97f273a7040d  fay-0.24.2.0/tests/ReExport2.hs
+formatted       9fb50fe15789  fay-0.24.2.0/tests/ReExport3.hs
+formatted       33bb824bb1ed  fay-0.24.2.0/tests/ReExportGlobally.hs
+formatted       4b9cbdde2416  fay-0.24.2.0/tests/ReExportGlobally/A.hs
+formatted       b21d1616e152  fay-0.24.2.0/tests/ReExportGloballyExplicit.hs
+formatted       b043056819f8  fay-0.24.2.0/tests/RealFrac.hs
+formatted       1a6a33c6ac9d  fay-0.24.2.0/tests/RecCon.hs
+formatted       ea1caa67b65f  fay-0.24.2.0/tests/RecDecl.hs
+formatted       bb55ab6798d0  fay-0.24.2.0/tests/RecordImport2_Export1.hs
+formatted       938433aeb8c8  fay-0.24.2.0/tests/RecordImport2_Export2.hs
+formatted       c044e70c8101  fay-0.24.2.0/tests/RecordImport2_Import.hs
+formatted       78894d96872d  fay-0.24.2.0/tests/RecordImport_Export.hs
+formatted       3f7030a71e03  fay-0.24.2.0/tests/RecordImport_Import.hs
+formatted       227a87a9ae8b  fay-0.24.2.0/tests/Sink.hs
+formatted       63296b9b100f  fay-0.24.2.0/tests/SkipLetTypes.hs
+formatted       7658040a6f98  fay-0.24.2.0/tests/SkipWhereTypes.hs
+formatted       dca38fcb42ed  fay-0.24.2.0/tests/StringForcing.hs
+formatted       78f704c770c1  fay-0.24.2.0/tests/Strings.hs
+formatted       b23a6f00c551  fay-0.24.2.0/tests/T190.hs
+formatted       692f0dae5fb8  fay-0.24.2.0/tests/T190_A.hs
+formatted       8e73afc88ae8  fay-0.24.2.0/tests/T190_B.hs
+formatted       e68acdaf2dfe  fay-0.24.2.0/tests/T190_C.hs
+formatted       542e9d45f0f2  fay-0.24.2.0/tests/TextOrd.hs
+formatted       f47544b81667  fay-0.24.2.0/tests/Trace.hs
+formatted       e5b5f766a53b  fay-0.24.2.0/tests/TupleCalls.hs
+formatted       f6a40bbbbc3d  fay-0.24.2.0/tests/TyVarSerialization.hs
+formatted       54a8a3eaa1b3  fay-0.24.2.0/tests/Var.hs
+formatted       519d6c49724c  fay-0.24.2.0/tests/VarPtr.hs
+formatted       f29f7146eebd  fay-0.24.2.0/tests/WhenUnlessRecursion.hs
+formatted       d5f85962fc01  fay-0.24.2.0/tests/asPatternMatch.hs
+formatted       f50dbb8014d0  fay-0.24.2.0/tests/automatic.hs
+formatted       83d1d385ae83  fay-0.24.2.0/tests/baseFixities.hs
+formatted       ce58f47bac04  fay-0.24.2.0/tests/basicFunctions.hs
+formatted       a4f69a13c3f4  fay-0.24.2.0/tests/case.hs
+formatted       a2fac17df9eb  fay-0.24.2.0/tests/case2.hs
+formatted       01402139cd4a  fay-0.24.2.0/tests/case3.hs
+formatted       bbb7205fbcc3  fay-0.24.2.0/tests/caseList.hs
+formatted       d9788083b20a  fay-0.24.2.0/tests/caseWildcard.hs
+formatted       ac6acd2ec972  fay-0.24.2.0/tests/circular.hs
+formatted       ae17c622c87e  fay-0.24.2.0/tests/curry.hs
+formatted       9bbe8cd8c749  fay-0.24.2.0/tests/cycle.hs
+formatted       d07827315b77  fay-0.24.2.0/tests/do.hs
+formatted       5ffdcb6bdcfa  fay-0.24.2.0/tests/doAssingPatternMatch.hs
+formatted       d367dca15582  fay-0.24.2.0/tests/doBindAssign.hs
+formatted       3dc1708d485a  fay-0.24.2.0/tests/doLet.hs
+formatted       9f8a8d10c1d3  fay-0.24.2.0/tests/emptyMain.hs
+formatted       19ffd66fad59  fay-0.24.2.0/tests/enumFrom.hs
+formatted       05834fe58432  fay-0.24.2.0/tests/error.hs
+formatted       ac1f072839b5  fay-0.24.2.0/tests/ffiExpr.hs
+formatted       e7c7d1ef3221  fay-0.24.2.0/tests/ffimunging.hs
+formatted       dc67c504a097  fay-0.24.2.0/tests/fix.hs
+formatted       9267690ec8d2  fay-0.24.2.0/tests/fromInteger.hs
+formatted       73a7dce83bdd  fay-0.24.2.0/tests/fromIntegral.hs
+formatted       07a4f4d2f3f8  fay-0.24.2.0/tests/guards.hs
+formatted       8ff7b7e5d80d  fay-0.24.2.0/tests/infixDataConst.hs
+formatted       c90492c4b65b  fay-0.24.2.0/tests/ints.hs
+formatted       c6e3e28ae5e8  fay-0.24.2.0/tests/linesAndWords.hs
+formatted       26a44d6e6b62  fay-0.24.2.0/tests/listComprehensions.hs
+formatted       ea801f2e525b  fay-0.24.2.0/tests/listlen.hs
+formatted       0d7911987b75  fay-0.24.2.0/tests/mutableReference.hs
+formatted       b8725a0efd9e  fay-0.24.2.0/tests/nameGen.hs
+formatted       230dfbdde663  fay-0.24.2.0/tests/namedFieldPuns.hs
+formatted       25b0374ae6cb  fay-0.24.2.0/tests/negation.hs
+formatted       215366632357  fay-0.24.2.0/tests/newtype.hs
+formatted       fb62c3b1b246  fay-0.24.2.0/tests/newtypeIndirectApp.hs
+formatted       a555ca662ec8  fay-0.24.2.0/tests/numTheory.hs
+formatted       40bd883716b3  fay-0.24.2.0/tests/nums.hs
+formatted       e8b622657487  fay-0.24.2.0/tests/pats.hs
+formatted       e1ce347294df  fay-0.24.2.0/tests/patternGuards.hs
+formatted       353e37b5a857  fay-0.24.2.0/tests/patternMatchFail.hs
+formatted       8bf46e86b260  fay-0.24.2.0/tests/patternMatchLet.hs
+formatted       100b8453b59a  fay-0.24.2.0/tests/patternMatchingTuples.hs
+formatted       41871bce5735  fay-0.24.2.0/tests/recordFunctionPatternMatch.hs
+formatted       6a071403fc5e  fay-0.24.2.0/tests/recordPatternMatch.hs
+formatted       5b56b5be883c  fay-0.24.2.0/tests/recordPatternMatch2.hs
+formatted       45dbae806201  fay-0.24.2.0/tests/recordUseBeforeDefine.hs
+formatted       3eadedaf3264  fay-0.24.2.0/tests/recordWildCards.hs
+formatted       cddee835b99f  fay-0.24.2.0/tests/records.hs
+formatted       74bc35478cf9  fay-0.24.2.0/tests/recursive.hs
+formatted       6a0b40ec4405  fay-0.24.2.0/tests/reservedWords.hs
+formatted       99faaf52b916  fay-0.24.2.0/tests/sections.hs
+formatted       19e9c7c69db9  fay-0.24.2.0/tests/seq-fake.hs
+formatted       2ac1dc3c2516  fay-0.24.2.0/tests/seq.hs
+formatted       32ea80f58872  fay-0.24.2.0/tests/serialization.hs
+formatted       ac8028dc4aa4  fay-0.24.2.0/tests/succPred.hs
+formatted       694db06de2b2  fay-0.24.2.0/tests/tailRecursion.hs
+formatted       b29bc268b713  fay-0.24.2.0/tests/then.hs
+formatted       fd8f209f1eb9  fay-0.24.2.0/tests/tupleCon.hs
+formatted       48e1115a4690  fay-0.24.2.0/tests/tupleSec.hs
+formatted       ba9bcfe62747  fay-0.24.2.0/tests/unit.hs
+formatted       8408dc92249b  fay-0.24.2.0/tests/utf8.hs
+formatted       00920ea86210  fay-0.24.2.0/tests/where.hs
+formatted       6b1e55f64dd4  fay-0.24.2.0/tests/whereBind.hs
+formatted       bad0c0b6380d  fay-0.24.2.0/tests/whereBind2.hs
+formatted       35c4aa22bd98  fay-0.24.2.0/tests/whereBind3.hs
+formatted       eb7e34c050e8  flatparse-0.5.6.1/bench/Attoparsec.hs
+formatted       1b3a607ea54c  flatparse-0.5.6.1/bench/Bench.hs
+formatted       abf9640807d9  flatparse-0.5.6.1/bench/Common.hs
+formatted       104abf555385  flatparse-0.5.6.1/bench/FPBasic.hs
+formatted       353013bdfe3d  flatparse-0.5.6.1/bench/FPStateful.hs
+formatted       cdd35e4bb5ce  flatparse-0.5.6.1/bench/Megaparsec.hs
+formatted       10cc2af186c6  flatparse-0.5.6.1/bench/Parsec.hs
+formatted       1af06af55006  flatparse-0.5.6.1/bench/ReadInteger.hs
+formatted       7aba63131e09  flatparse-0.5.6.1/src/FlatParse/Basic.hs
+formatted       9cf4b348485b  flatparse-0.5.6.1/src/FlatParse/Basic/Addr.hs
+formatted       1d177abc94e7  flatparse-0.5.6.1/src/FlatParse/Basic/Base.hs
+formatted       06a1a44e16c5  flatparse-0.5.6.1/src/FlatParse/Basic/Bytes.hs
+formatted       1098d71230ab  flatparse-0.5.6.1/src/FlatParse/Basic/Integers.hs
+formatted       819d4e80756f  flatparse-0.5.6.1/src/FlatParse/Basic/Parser.hs
+formatted       2d4f67e86bd3  flatparse-0.5.6.1/src/FlatParse/Basic/Switch.hs
+formatted       e0684b612686  flatparse-0.5.6.1/src/FlatParse/Basic/Text.hs
+formatted       5dbdcfb659f3  flatparse-0.5.6.1/src/FlatParse/Common/Assorted.hs
+formatted       7964daf0be17  flatparse-0.5.6.1/src/FlatParse/Common/GHCExts.hs
+formatted       4f7aea414f24  flatparse-0.5.6.1/src/FlatParse/Common/Numbers.hs
+formatted       2d64e2929c28  flatparse-0.5.6.1/src/FlatParse/Common/Parser.hs
+formatted       28e17f7a3b17  flatparse-0.5.6.1/src/FlatParse/Common/Position.hs
+formatted       ecfba9eae632  flatparse-0.5.6.1/src/FlatParse/Common/Switch.hs
+formatted       fb6cbddf54cc  flatparse-0.5.6.1/src/FlatParse/Examples/BasicLambda/Lexer.hs
+formatted       65dc347fa550  flatparse-0.5.6.1/src/FlatParse/Examples/BasicLambda/Parser.hs
+formatted       8bfad755dcc2  flatparse-0.5.6.1/src/FlatParse/Minimal.hs
+formatted       41ba54e5f78e  flatparse-0.5.6.1/src/FlatParse/Minimal/Internal.hs
+formatted       d627b1f0dc6d  flatparse-0.5.6.1/src/FlatParse/Stateful.hs
+formatted       4fa44c1f8896  flatparse-0.5.6.1/src/FlatParse/Stateful/Addr.hs
+formatted       48e57156503c  flatparse-0.5.6.1/src/FlatParse/Stateful/Base.hs
+formatted       af6f69356848  flatparse-0.5.6.1/src/FlatParse/Stateful/Bytes.hs
+formatted       08a33d059d6e  flatparse-0.5.6.1/src/FlatParse/Stateful/Integers.hs
+formatted       e2702edda626  flatparse-0.5.6.1/src/FlatParse/Stateful/Parser.hs
+formatted       16cf00de1331  flatparse-0.5.6.1/src/FlatParse/Stateful/Switch.hs
+formatted       8372e1387b75  flatparse-0.5.6.1/src/FlatParse/Stateful/Text.hs
+formatted       d1d7d384b736  flatparse-0.5.6.1/test/Test.hs
+formatted       9a77cee44385  free-5.2/examples/PerfTH.hs
+formatted       06deb274b568  free-5.2/examples/RetryTH.hs
+formatted       1b168fed5265  free-5.2/examples/ValidationForm.hs
+formatted       998a18a729f8  free-5.2/src/Control/Alternative/Free.hs
+formatted       b6ea8a485282  free-5.2/src/Control/Alternative/Free/Final.hs
+formatted       ed5de042b05f  free-5.2/src/Control/Applicative/Free.hs
+formatted       9eec63771a49  free-5.2/src/Control/Applicative/Free/Fast.hs
+formatted       6eccccb9b6b0  free-5.2/src/Control/Applicative/Free/Final.hs
+formatted       32046c08be44  free-5.2/src/Control/Applicative/Trans/Free.hs
+formatted       68e33b63698a  free-5.2/src/Control/Comonad/Cofree.hs
+formatted       1d511794aae3  free-5.2/src/Control/Comonad/Cofree/Class.hs
+formatted       d017417983a1  free-5.2/src/Control/Comonad/Trans/Cofree.hs
+formatted       4f0522aece52  free-5.2/src/Control/Comonad/Trans/Coiter.hs
+formatted       759a202e87d5  free-5.2/src/Control/Monad/Free.hs
+formatted       42e603fa3a03  free-5.2/src/Control/Monad/Free/Ap.hs
+formatted       7ff4bb5eaa0e  free-5.2/src/Control/Monad/Free/Church.hs
+formatted       74b1ec65eec0  free-5.2/src/Control/Monad/Free/Class.hs
+formatted       8dd44937ee50  free-5.2/src/Control/Monad/Free/TH.hs
+formatted       1c6929fed9b6  free-5.2/src/Control/Monad/Trans/Free.hs
+formatted       4ecc2a9e6320  free-5.2/src/Control/Monad/Trans/Free/Ap.hs
+formatted       23565889a281  free-5.2/src/Control/Monad/Trans/Free/Church.hs
+formatted       3f5caab494a4  free-5.2/src/Control/Monad/Trans/Iter.hs
+formatted       56c248be435c  fsnotify-0.4.4.0/Setup.hs
+formatted       05f78a8d4ec7  fsnotify-0.4.4.0/example/Main.hs
+formatted       d5ef124ecc6e  fsnotify-0.4.4.0/src/System/FSNotify.hs
+formatted       1c69fdda4c77  fsnotify-0.4.4.0/src/System/FSNotify/Devel.hs
+formatted       5acd5c389049  fsnotify-0.4.4.0/src/System/FSNotify/Find.hs
+formatted       2064af556b24  fsnotify-0.4.4.0/src/System/FSNotify/Linux.hs
+formatted       6af1e7a5931d  fsnotify-0.4.4.0/src/System/FSNotify/Linux/Util.hs
+formatted       eb6775732f25  fsnotify-0.4.4.0/src/System/FSNotify/Listener.hs
+formatted       f4743eff8e16  fsnotify-0.4.4.0/src/System/FSNotify/OSX.hs
+formatted       16d325cbbe92  fsnotify-0.4.4.0/src/System/FSNotify/Path.hs
+formatted       040d935ff301  fsnotify-0.4.4.0/src/System/FSNotify/Polling.hs
+formatted       94017fa706d4  fsnotify-0.4.4.0/src/System/FSNotify/Types.hs
+formatted       475e2590ab19  fsnotify-0.4.4.0/src/System/FSNotify/Win32.hs
+formatted       01c5b7823ed2  fsnotify-0.4.4.0/test/FSNotify/Test/EventTests.hs
+partly-checked  744c9878a0ce  fsnotify-0.4.4.0/test/FSNotify/Test/Util.hs
+formatted       a5b6d0d54339  fsnotify-0.4.4.0/test/Main.hs
+formatted       a2250920d471  fsnotify-0.4.4.0/win-src/System/Win32/Notify.hs
+formatted       e865ae48f11b  hakyll-4.17.0.0/Setup.hs
+formatted       70d00feb3c2a  hakyll-4.17.0.0/data/example/site.hs
+formatted       e37bec44301c  hakyll-4.17.0.0/lib/Data/List/Extended.hs
+formatted       676a4a83768a  hakyll-4.17.0.0/lib/Data/Yaml/Extended.hs
+formatted       0667d4f2e44d  hakyll-4.17.0.0/lib/Hakyll.hs
+formatted       9e260124c369  hakyll-4.17.0.0/lib/Hakyll/Check.hs
+formatted       51d19d241b47  hakyll-4.17.0.0/lib/Hakyll/Commands.hs
+formatted       c2f009608ad5  hakyll-4.17.0.0/lib/Hakyll/Core/Compiler.hs
+formatted       9de9c44701d1  hakyll-4.17.0.0/lib/Hakyll/Core/Compiler/Internal.hs
+formatted       6b080a2747b5  hakyll-4.17.0.0/lib/Hakyll/Core/Compiler/Require.hs
+formatted       16764590c657  hakyll-4.17.0.0/lib/Hakyll/Core/Configuration.hs
+formatted       c1cf6ca18588  hakyll-4.17.0.0/lib/Hakyll/Core/Dependencies.hs
+formatted       441a3081d670  hakyll-4.17.0.0/lib/Hakyll/Core/File.hs
+formatted       da82b1c6a245  hakyll-4.17.0.0/lib/Hakyll/Core/Identifier.hs
+formatted       f58b99fd2f18  hakyll-4.17.0.0/lib/Hakyll/Core/Identifier/Pattern.hs
+formatted       1994e5a6c15d  hakyll-4.17.0.0/lib/Hakyll/Core/Identifier/Pattern/Internal.hs
+formatted       bf296dfd3834  hakyll-4.17.0.0/lib/Hakyll/Core/Item.hs
+formatted       619299aa287b  hakyll-4.17.0.0/lib/Hakyll/Core/Item/SomeItem.hs
+formatted       c25b7e1b928e  hakyll-4.17.0.0/lib/Hakyll/Core/Logger.hs
+formatted       2edd76fadb0c  hakyll-4.17.0.0/lib/Hakyll/Core/Metadata.hs
+formatted       74be286ca6c6  hakyll-4.17.0.0/lib/Hakyll/Core/Provider.hs
+formatted       95c8d93808bd  hakyll-4.17.0.0/lib/Hakyll/Core/Provider/Internal.hs
+formatted       06ac3d402f8c  hakyll-4.17.0.0/lib/Hakyll/Core/Provider/Metadata.hs
+formatted       d818435e1cf6  hakyll-4.17.0.0/lib/Hakyll/Core/Provider/MetadataCache.hs
+formatted       726d422dd056  hakyll-4.17.0.0/lib/Hakyll/Core/Routes.hs
+formatted       083915a84b7f  hakyll-4.17.0.0/lib/Hakyll/Core/Rules.hs
+formatted       1adbbaad06db  hakyll-4.17.0.0/lib/Hakyll/Core/Rules/Internal.hs
+formatted       abd7e13ac0d3  hakyll-4.17.0.0/lib/Hakyll/Core/Runtime.hs
+formatted       85875f3128aa  hakyll-4.17.0.0/lib/Hakyll/Core/Store.hs
+formatted       6b7b392a8a6d  hakyll-4.17.0.0/lib/Hakyll/Core/UnixFilter.hs
+formatted       3b8638babee5  hakyll-4.17.0.0/lib/Hakyll/Core/Util/File.hs
+formatted       57fa98601461  hakyll-4.17.0.0/lib/Hakyll/Core/Util/Parser.hs
+formatted       5f3c25775470  hakyll-4.17.0.0/lib/Hakyll/Core/Util/String.hs
+formatted       3ecf3de56c6e  hakyll-4.17.0.0/lib/Hakyll/Core/Writable.hs
+formatted       d7142c26e620  hakyll-4.17.0.0/lib/Hakyll/Main.hs
+formatted       b96194024959  hakyll-4.17.0.0/lib/Hakyll/Preview/Poll.hs
+formatted       83e40c6cacc7  hakyll-4.17.0.0/lib/Hakyll/Preview/Server.hs
+formatted       5644e216111b  hakyll-4.17.0.0/lib/Hakyll/Web/CompressCss.hs
+formatted       0673a0479b23  hakyll-4.17.0.0/lib/Hakyll/Web/Feed.hs
+formatted       b36cda636321  hakyll-4.17.0.0/lib/Hakyll/Web/Html.hs
+formatted       86a8ba857aa3  hakyll-4.17.0.0/lib/Hakyll/Web/Html/RelativizeUrls.hs
+formatted       3c8e0a57f2a1  hakyll-4.17.0.0/lib/Hakyll/Web/Meta/JSONLD.hs
+formatted       6b667c865249  hakyll-4.17.0.0/lib/Hakyll/Web/Meta/OpenGraph.hs
+formatted       328c469d5425  hakyll-4.17.0.0/lib/Hakyll/Web/Meta/TwitterCard.hs
+formatted       7887d3836dae  hakyll-4.17.0.0/lib/Hakyll/Web/Paginate.hs
+formatted       b88c0b70b280  hakyll-4.17.0.0/lib/Hakyll/Web/Pandoc.hs
+formatted       6b54da814889  hakyll-4.17.0.0/lib/Hakyll/Web/Pandoc/Biblio.hs
+formatted       2e4913b9fa24  hakyll-4.17.0.0/lib/Hakyll/Web/Pandoc/Binary.hs
+formatted       a516d129ba82  hakyll-4.17.0.0/lib/Hakyll/Web/Pandoc/FileType.hs
+formatted       3241586de9e8  hakyll-4.17.0.0/lib/Hakyll/Web/Redirect.hs
+formatted       00c3234ff7b7  hakyll-4.17.0.0/lib/Hakyll/Web/Tags.hs
+formatted       a32455e7e0ae  hakyll-4.17.0.0/lib/Hakyll/Web/Template.hs
+formatted       2d5353f8d0b5  hakyll-4.17.0.0/lib/Hakyll/Web/Template/Context.hs
+formatted       611ba2b656e5  hakyll-4.17.0.0/lib/Hakyll/Web/Template/Internal.hs
+formatted       2048fbf76209  hakyll-4.17.0.0/lib/Hakyll/Web/Template/Internal/Element.hs
+formatted       d42cf84d6172  hakyll-4.17.0.0/lib/Hakyll/Web/Template/Internal/Trim.hs
+formatted       2f9c066f4e13  hakyll-4.17.0.0/lib/Hakyll/Web/Template/List.hs
+formatted       c444cd44dbc9  hakyll-4.17.0.0/src/Init.hs
+formatted       f4bb238ad00a  hakyll-4.17.0.0/tests/Hakyll/Core/Dependencies/Tests.hs
+formatted       c01d1a3f5480  hakyll-4.17.0.0/tests/Hakyll/Core/Identifier/Tests.hs
+formatted       a243fd317323  hakyll-4.17.0.0/tests/Hakyll/Core/Provider/Metadata/Tests.hs
+formatted       0d244521ac2d  hakyll-4.17.0.0/tests/Hakyll/Core/Provider/Tests.hs
+formatted       29a564af6a66  hakyll-4.17.0.0/tests/Hakyll/Core/Routes/Tests.hs
+formatted       e33d36b7d2d6  hakyll-4.17.0.0/tests/Hakyll/Core/Rules/Tests.hs
+formatted       d89f88465ed0  hakyll-4.17.0.0/tests/Hakyll/Core/Runtime/Tests.hs
+formatted       893d1a7e8a07  hakyll-4.17.0.0/tests/Hakyll/Core/Store/Tests.hs
+formatted       644497385b50  hakyll-4.17.0.0/tests/Hakyll/Core/UnixFilter/Tests.hs
+formatted       ef7cc467d198  hakyll-4.17.0.0/tests/Hakyll/Core/Util/String/Tests.hs
+formatted       a26d29671e81  hakyll-4.17.0.0/tests/Hakyll/Web/CompressCss/Tests.hs
+formatted       900d564be7e8  hakyll-4.17.0.0/tests/Hakyll/Web/Feed/Tests.hs
+formatted       23a3d6d46dc4  hakyll-4.17.0.0/tests/Hakyll/Web/Html/RelativizeUrls/Tests.hs
+formatted       23b22ec46a86  hakyll-4.17.0.0/tests/Hakyll/Web/Html/Tests.hs
+formatted       dde4c60bd3bf  hakyll-4.17.0.0/tests/Hakyll/Web/Pandoc/Biblio/Tests.hs
+formatted       34d24d118053  hakyll-4.17.0.0/tests/Hakyll/Web/Pandoc/FileType/Tests.hs
+formatted       814b51adcb13  hakyll-4.17.0.0/tests/Hakyll/Web/Tags/Tests.hs
+formatted       4b15408b8150  hakyll-4.17.0.0/tests/Hakyll/Web/Template/Context/Tests.hs
+formatted       2a46b5b2b18b  hakyll-4.17.0.0/tests/Hakyll/Web/Template/Tests.hs
+formatted       d888a3787403  hakyll-4.17.0.0/tests/TestSuite.hs
+formatted       58f2ba1058c2  hakyll-4.17.0.0/tests/TestSuite/Util.hs
+formatted       5557f9e3f3be  hakyll-4.17.0.0/web/site.hs
+formatted       9226007b6541  hashable-1.5.1.0/Setup.hs
+formatted       a045b09e2a15  hashable-1.5.1.0/examples/Main.hs
+formatted       d1331a0a5914  hashable-1.5.1.0/src/Data/Hashable.hs
+partly-checked  292ecce4e650  hashable-1.5.1.0/src/Data/Hashable/Class.hs
+formatted       53e00f76cd10  hashable-1.5.1.0/src/Data/Hashable/FFI.hs
+formatted       b8fa66d84ea4  hashable-1.5.1.0/src/Data/Hashable/Generic.hs
+formatted       b87c5763b6d9  hashable-1.5.1.0/src/Data/Hashable/Generic/Instances.hs
+formatted       185a2593282c  hashable-1.5.1.0/src/Data/Hashable/Imports.hs
+formatted       17b46c7c9e47  hashable-1.5.1.0/src/Data/Hashable/Lifted.hs
+formatted       72ec39bcadee  hashable-1.5.1.0/src/Data/Hashable/LowLevel.hs
+formatted       9f4fe1af215c  hashable-1.5.1.0/src/Data/Hashable/Mix.hs
+formatted       5e7a25cdb301  hashable-1.5.1.0/src/Data/Hashable/XXH3.hs
+formatted       42ad17c17902  hashable-1.5.1.0/tests/Main.hs
+formatted       7a81c684b9b3  hashable-1.5.1.0/tests/Properties.hs
+formatted       cf7953a96387  hashable-1.5.1.0/tests/Regress.hs
+formatted       b89c8f2624d1  hashable-1.5.1.0/tests/xxhash-tests.hs
+formatted       983c3f93ffb5  haxl-2.5.1.1/Haxl/Core.hs
+formatted       a4ea8bb93dd8  haxl-2.5.1.1/Haxl/Core/CallGraph.hs
+formatted       273f28a4cb32  haxl-2.5.1.1/Haxl/Core/DataCache.hs
+formatted       6120ea6d3cbb  haxl-2.5.1.1/Haxl/Core/DataSource.hs
+formatted       3c017c9b3932  haxl-2.5.1.1/Haxl/Core/Exception.hs
+formatted       8bc920281781  haxl-2.5.1.1/Haxl/Core/Fetch.hs
+formatted       a5183b5fb4b1  haxl-2.5.1.1/Haxl/Core/Flags.hs
+formatted       894737d406a4  haxl-2.5.1.1/Haxl/Core/Memo.hs
+formatted       2e38583ac806  haxl-2.5.1.1/Haxl/Core/Monad.hs
+formatted       64a40073b99a  haxl-2.5.1.1/Haxl/Core/Parallel.hs
+formatted       9ad69be26e4d  haxl-2.5.1.1/Haxl/Core/Profile.hs
+formatted       32a5997b68d6  haxl-2.5.1.1/Haxl/Core/RequestStore.hs
+formatted       553201c3cb5b  haxl-2.5.1.1/Haxl/Core/Run.hs
+formatted       5247be055720  haxl-2.5.1.1/Haxl/Core/ShowP.hs
+formatted       7c0de09615cb  haxl-2.5.1.1/Haxl/Core/StateStore.hs
+formatted       6f21c0887ff4  haxl-2.5.1.1/Haxl/Core/Stats.hs
+formatted       9743fa4e575e  haxl-2.5.1.1/Haxl/Core/Util.hs
+formatted       50d8d4d5ef37  haxl-2.5.1.1/Haxl/DataSource/ConcurrentIO.hs
+formatted       a1da43ec574e  haxl-2.5.1.1/Haxl/Prelude.hs
+formatted       0bf115c25c25  haxl-2.5.1.1/Setup.hs
+formatted       9746863c1e74  haxl-2.5.1.1/tests/AdoTests.hs
+formatted       cdb792893f4e  haxl-2.5.1.1/tests/AllTests.hs
+formatted       0fb6d88ed07a  haxl-2.5.1.1/tests/BadDataSource.hs
+formatted       ba8bc05bd1d1  haxl-2.5.1.1/tests/BatchTests.hs
+formatted       6419f7f5924d  haxl-2.5.1.1/tests/Bench.hs
+formatted       34d887c9a8ba  haxl-2.5.1.1/tests/CoreTests.hs
+formatted       74ca19f7a883  haxl-2.5.1.1/tests/DataCacheTest.hs
+formatted       3bc09d167545  haxl-2.5.1.1/tests/DataSourceDispatchTests.hs
+formatted       0bcf0fd113af  haxl-2.5.1.1/tests/ExampleDataSource.hs
+formatted       9e2f103324ce  haxl-2.5.1.1/tests/ExceptionStackTests.hs
+formatted       024ef011a6f1  haxl-2.5.1.1/tests/FullyAsyncTest.hs
+formatted       5b348a1f5fab  haxl-2.5.1.1/tests/LoadCache.hs
+formatted       b57123b33059  haxl-2.5.1.1/tests/MemoizationTests.hs
+formatted       0f256a1bb79e  haxl-2.5.1.1/tests/MockTAO.hs
+formatted       9dd9c8aeef5c  haxl-2.5.1.1/tests/MonadAsyncTest.hs
+formatted       5fdcf5cd3c4d  haxl-2.5.1.1/tests/MonadBench.hs
+formatted       abdd2be990c2  haxl-2.5.1.1/tests/OutgoneFetchesTests.hs
+formatted       ce1b525caeb0  haxl-2.5.1.1/tests/ParallelTests.hs
+formatted       6cc4c3ea267c  haxl-2.5.1.1/tests/ProfileTests.hs
+formatted       3bf5a8771dbb  haxl-2.5.1.1/tests/SleepDataSource.hs
+formatted       652e6224abab  haxl-2.5.1.1/tests/StatsTests.hs
+formatted       1cbabce9935f  haxl-2.5.1.1/tests/TestBadDataSource.hs
+formatted       091a3d9c144f  haxl-2.5.1.1/tests/TestExampleDataSource.hs
+formatted       90394664c687  haxl-2.5.1.1/tests/TestMain.hs
+formatted       c7645611ac19  haxl-2.5.1.1/tests/TestTypes.hs
+formatted       fb95b564eea4  haxl-2.5.1.1/tests/TestUtils.hs
+formatted       8d040d0c39cd  haxl-2.5.1.1/tests/WorkDataSource.hs
+formatted       067bab75fb95  haxl-2.5.1.1/tests/WriteTests.hs
+formatted       b5837282f791  hedgehog-1.7/src/Hedgehog.hs
+formatted       d3c3f4744f8a  hedgehog-1.7/src/Hedgehog/Gen.hs
+formatted       358b1ec029b5  hedgehog-1.7/src/Hedgehog/Internal/Barbie.hs
+formatted       3145de94c0b8  hedgehog-1.7/src/Hedgehog/Internal/Config.hs
+formatted       71b3a913b418  hedgehog-1.7/src/Hedgehog/Internal/Discovery.hs
+formatted       1f536acb3456  hedgehog-1.7/src/Hedgehog/Internal/Distributive.hs
+formatted       270e3f2cdf76  hedgehog-1.7/src/Hedgehog/Internal/Exception.hs
+formatted       337b02193d95  hedgehog-1.7/src/Hedgehog/Internal/Gen.hs
+formatted       1bd79dc0cf25  hedgehog-1.7/src/Hedgehog/Internal/HTraversable.hs
+formatted       5ed06889da82  hedgehog-1.7/src/Hedgehog/Internal/Opaque.hs
+formatted       df0c33296587  hedgehog-1.7/src/Hedgehog/Internal/Prelude.hs
+formatted       c8dea3d489ed  hedgehog-1.7/src/Hedgehog/Internal/Property.hs
+formatted       ced62a317087  hedgehog-1.7/src/Hedgehog/Internal/Queue.hs
+formatted       c10da5872542  hedgehog-1.7/src/Hedgehog/Internal/Range.hs
+formatted       07fe42f71d89  hedgehog-1.7/src/Hedgehog/Internal/Region.hs
+formatted       4bb06d2ca7eb  hedgehog-1.7/src/Hedgehog/Internal/Report.hs
+formatted       869d7f363b37  hedgehog-1.7/src/Hedgehog/Internal/Runner.hs
+formatted       52f6bbec7014  hedgehog-1.7/src/Hedgehog/Internal/Seed.hs
+formatted       d7ccd6a5c811  hedgehog-1.7/src/Hedgehog/Internal/Show.hs
+formatted       80e8cd0a7337  hedgehog-1.7/src/Hedgehog/Internal/Shrink.hs
+formatted       809b98974b52  hedgehog-1.7/src/Hedgehog/Internal/Source.hs
+formatted       939ca9ae4253  hedgehog-1.7/src/Hedgehog/Internal/State.hs
+formatted       78004d33d8bd  hedgehog-1.7/src/Hedgehog/Internal/TH.hs
+formatted       b6868917b1e3  hedgehog-1.7/src/Hedgehog/Internal/Tree.hs
+formatted       afb30b2f5eb1  hedgehog-1.7/src/Hedgehog/Internal/Tripping.hs
+formatted       08afc24ee6fa  hedgehog-1.7/src/Hedgehog/Main.hs
+formatted       065d194795c3  hedgehog-1.7/src/Hedgehog/Range.hs
+formatted       c01db14bfa68  hedgehog-1.7/test/Test/Hedgehog/Applicative.hs
+formatted       a10060750a59  hedgehog-1.7/test/Test/Hedgehog/Confidence.hs
+formatted       3dd71a5c2dcd  hedgehog-1.7/test/Test/Hedgehog/Filter.hs
+formatted       c8d0c9aeb7a1  hedgehog-1.7/test/Test/Hedgehog/Maybe.hs
+formatted       a53a270540b6  hedgehog-1.7/test/Test/Hedgehog/Seed.hs
+formatted       67ad0eb59f8a  hedgehog-1.7/test/Test/Hedgehog/Skip.hs
+formatted       cb82882cf1a0  hedgehog-1.7/test/Test/Hedgehog/Text.hs
+formatted       60a949d71b0b  hedgehog-1.7/test/Test/Hedgehog/Zip.hs
+formatted       abdba8fdf904  hedgehog-1.7/test/test.hs
+formatted       adadc3bd2137  hledger-1.52.1/Hledger/Cli.hs
+formatted       617560bef371  hledger-1.52.1/Hledger/Cli/Anchor.hs
+formatted       85eb3e041d9b  hledger-1.52.1/Hledger/Cli/Anon.hs
+formatted       b5a4b5f97803  hledger-1.52.1/Hledger/Cli/CliOptions.hs
+formatted       2981594f3a4a  hledger-1.52.1/Hledger/Cli/Commands.hs
+formatted       5695c8d0e225  hledger-1.52.1/Hledger/Cli/Commands/Accounts.hs
+formatted       b530841d4874  hledger-1.52.1/Hledger/Cli/Commands/Activity.hs
+formatted       9c1085693a62  hledger-1.52.1/Hledger/Cli/Commands/Add.hs
+formatted       a089aeb021c4  hledger-1.52.1/Hledger/Cli/Commands/Aregister.hs
+formatted       2a37ae439286  hledger-1.52.1/Hledger/Cli/Commands/Balance.hs
+formatted       ed47ca7be4fe  hledger-1.52.1/Hledger/Cli/Commands/Balancesheet.hs
+formatted       f225d2c8f64d  hledger-1.52.1/Hledger/Cli/Commands/Balancesheetequity.hs
+formatted       748e48f6e512  hledger-1.52.1/Hledger/Cli/Commands/Cashflow.hs
+formatted       7b2becf1d5a2  hledger-1.52.1/Hledger/Cli/Commands/Check.hs
+formatted       bd438a9a5134  hledger-1.52.1/Hledger/Cli/Commands/Close.hs
+formatted       1a20813e8b4d  hledger-1.52.1/Hledger/Cli/Commands/Codes.hs
+formatted       5d1596ee72a9  hledger-1.52.1/Hledger/Cli/Commands/Commodities.hs
+formatted       50b1cf1fe6cd  hledger-1.52.1/Hledger/Cli/Commands/Demo.hs
+formatted       e46654fbad41  hledger-1.52.1/Hledger/Cli/Commands/Descriptions.hs
+formatted       4b620e93b776  hledger-1.52.1/Hledger/Cli/Commands/Diff.hs
+formatted       878c9594dbc4  hledger-1.52.1/Hledger/Cli/Commands/Files.hs
+formatted       6dbb83d35a24  hledger-1.52.1/Hledger/Cli/Commands/Help.hs
+formatted       10fbffc37de1  hledger-1.52.1/Hledger/Cli/Commands/Import.hs
+formatted       01d13b3fe5ec  hledger-1.52.1/Hledger/Cli/Commands/Incomestatement.hs
+formatted       e84c6363bfcb  hledger-1.52.1/Hledger/Cli/Commands/Notes.hs
+formatted       e97fb3043618  hledger-1.52.1/Hledger/Cli/Commands/Payees.hs
+formatted       3b453724646d  hledger-1.52.1/Hledger/Cli/Commands/Prices.hs
+formatted       352cae9d04e1  hledger-1.52.1/Hledger/Cli/Commands/Print.hs
+formatted       c3e09fad85f6  hledger-1.52.1/Hledger/Cli/Commands/Register.hs
+formatted       c9abe78a9819  hledger-1.52.1/Hledger/Cli/Commands/Rewrite.hs
+formatted       ae79679c7cd3  hledger-1.52.1/Hledger/Cli/Commands/Roi.hs
+formatted       c9c9ee880a9b  hledger-1.52.1/Hledger/Cli/Commands/Run.hs
+formatted       6a99fbafd2ed  hledger-1.52.1/Hledger/Cli/Commands/Setup.hs
+formatted       8742dd92f54e  hledger-1.52.1/Hledger/Cli/Commands/Stats.hs
+formatted       563971f61094  hledger-1.52.1/Hledger/Cli/Commands/Tags.hs
+formatted       a3f173adf737  hledger-1.52.1/Hledger/Cli/CompoundBalanceCommand.hs
+formatted       3268f1e064fd  hledger-1.52.1/Hledger/Cli/Conf.hs
+formatted       11e65936386d  hledger-1.52.1/Hledger/Cli/DocFiles.hs
+formatted       04ee979b17c6  hledger-1.52.1/Hledger/Cli/Script.hs
+formatted       11f027b960a7  hledger-1.52.1/Hledger/Cli/Utils.hs
+formatted       ada4f6d200bd  hledger-1.52.1/Hledger/Cli/Version.hs
+formatted       e865ae48f11b  hledger-1.52.1/Setup.hs
+formatted       5f05220c744b  hledger-1.52.1/app/hledger-cli.hs
+formatted       335222249d5c  hledger-1.52.1/bench/bench.hs
+formatted       875c9df040b6  hledger-1.52.1/test/unittest.hs
+formatted       e865ae48f11b  hlint-3.10/Setup.hs
+formatted       19c743d28b0f  hlint-3.10/data/HLint_QuickCheck.hs
+declined        -             hlint-3.10/data/HLint_TypeCheck.hs
+formatted       9751a15a6587  hlint-3.10/data/Test.hs
+formatted       0f5210f78f2d  hlint-3.10/src/Apply.hs
+formatted       e001bf643ccb  hlint-3.10/src/CC.hs
+formatted       6eee70528ce9  hlint-3.10/src/CmdLine.hs
+formatted       6688558a3c44  hlint-3.10/src/Config/Compute.hs
+formatted       5072e3bd910c  hlint-3.10/src/Config/Haskell.hs
+formatted       d6dec960a633  hlint-3.10/src/Config/Read.hs
+formatted       69a1526c5dbc  hlint-3.10/src/Config/Type.hs
+formatted       ed2fbaac171c  hlint-3.10/src/Config/Yaml.hs
+formatted       27db0854aa56  hlint-3.10/src/EmbedData.hs
+formatted       1f5194219f91  hlint-3.10/src/Extension.hs
+formatted       970d388f8f74  hlint-3.10/src/Fixity.hs
+formatted       9d5b4fcf61b6  hlint-3.10/src/GHC/All.hs
+formatted       4409fc52375f  hlint-3.10/src/GHC/Util.hs
+formatted       36054a0e0154  hlint-3.10/src/GHC/Util/ApiAnnotation.hs
+formatted       08e010e20d33  hlint-3.10/src/GHC/Util/Brackets.hs
+formatted       8cff3984ef92  hlint-3.10/src/GHC/Util/DynFlags.hs
+formatted       ac5ac27df742  hlint-3.10/src/GHC/Util/FreeVars.hs
+formatted       4bd8ecc7658f  hlint-3.10/src/GHC/Util/HsDecl.hs
+formatted       13e34c6949e4  hlint-3.10/src/GHC/Util/HsExpr.hs
+formatted       4c582bc6cebd  hlint-3.10/src/GHC/Util/Scope.hs
+formatted       58fa9a319e4e  hlint-3.10/src/GHC/Util/SrcLoc.hs
+formatted       b4d7a9f8f6bd  hlint-3.10/src/GHC/Util/Unify.hs
+formatted       c1da263611c3  hlint-3.10/src/GHC/Util/View.hs
+formatted       4589398c62cf  hlint-3.10/src/HLint.hs
+formatted       a4cb804ed623  hlint-3.10/src/Hint/All.hs
+formatted       2e446908f63b  hlint-3.10/src/Hint/Bracket.hs
+formatted       6fd25699c988  hlint-3.10/src/Hint/Comment.hs
+formatted       d2a22b1f17ce  hlint-3.10/src/Hint/Duplicate.hs
+formatted       23dbfcc470c6  hlint-3.10/src/Hint/Export.hs
+formatted       a5941999623d  hlint-3.10/src/Hint/Extensions.hs
+formatted       c80fd5aa06a0  hlint-3.10/src/Hint/Fixities.hs
+formatted       7e8e68b39f1e  hlint-3.10/src/Hint/Import.hs
+formatted       f6269b9d9fee  hlint-3.10/src/Hint/Lambda.hs
+formatted       9b96b449dae6  hlint-3.10/src/Hint/List.hs
+formatted       fd02e54c209e  hlint-3.10/src/Hint/ListRec.hs
+formatted       ca3cef9d46dc  hlint-3.10/src/Hint/Match.hs
+formatted       913e8c3576df  hlint-3.10/src/Hint/Monad.hs
+formatted       862eb0aeb5ee  hlint-3.10/src/Hint/Naming.hs
+formatted       2d698000ed9e  hlint-3.10/src/Hint/Negation.hs
+formatted       33b40049ee07  hlint-3.10/src/Hint/NewType.hs
+formatted       68d12be87a86  hlint-3.10/src/Hint/NumLiteral.hs
+formatted       316523975401  hlint-3.10/src/Hint/Pattern.hs
+formatted       55fd03b88b41  hlint-3.10/src/Hint/Pragma.hs
+formatted       1724eca1ca50  hlint-3.10/src/Hint/Restrict.hs
+formatted       5995cf764044  hlint-3.10/src/Hint/Smell.hs
+formatted       db2b6c86339e  hlint-3.10/src/Hint/Type.hs
+formatted       06424a64ede3  hlint-3.10/src/Hint/Unsafe.hs
+formatted       48cd04ad2e02  hlint-3.10/src/HsColour.hs
+formatted       04f5adbfff99  hlint-3.10/src/Idea.hs
+formatted       c83fda5fb47b  hlint-3.10/src/Language/Haskell/HLint.hs
+formatted       cb90832c6a8d  hlint-3.10/src/Main.hs
+formatted       cde362986ec7  hlint-3.10/src/Parallel.hs
+formatted       f998a3af3799  hlint-3.10/src/Refact.hs
+formatted       f202e01fb14b  hlint-3.10/src/Report.hs
+formatted       2237435d61fa  hlint-3.10/src/SARIF.hs
+formatted       8ab5b2079bb5  hlint-3.10/src/Summary.hs
+formatted       5aeca80c2929  hlint-3.10/src/Test/All.hs
+formatted       cb4c054d0896  hlint-3.10/src/Test/Annotations.hs
+formatted       f2e201f7419c  hlint-3.10/src/Test/InputOutput.hs
+formatted       7dfc6204202f  hlint-3.10/src/Test/Util.hs
+formatted       2689bbdd342a  hlint-3.10/src/Timing.hs
+formatted       ba0caac460b3  hlint-3.10/src/Util.hs
+formatted       7d21c1a73f55  hspec-core-2.11.17/src/GetOpt/Declarative.hs
+formatted       2089b1d2e235  hspec-core-2.11.17/src/GetOpt/Declarative/Environment.hs
+formatted       65c3c0f1e014  hspec-core-2.11.17/src/GetOpt/Declarative/Interpret.hs
+formatted       fa7195a3bd8a  hspec-core-2.11.17/src/GetOpt/Declarative/Types.hs
+formatted       2ebca86f3d00  hspec-core-2.11.17/src/GetOpt/Declarative/Util.hs
+formatted       18ba2bc8a48e  hspec-core-2.11.17/src/Test/Hspec/Core/Annotations.hs
+formatted       657d72e77ad4  hspec-core-2.11.17/src/Test/Hspec/Core/Clock.hs
+formatted       bd1b78dfafc4  hspec-core-2.11.17/src/Test/Hspec/Core/Compat.hs
+formatted       a9e47d2bdef0  hspec-core-2.11.17/src/Test/Hspec/Core/Config.hs
+formatted       4f894623b4b9  hspec-core-2.11.17/src/Test/Hspec/Core/Config/Definition.hs
+formatted       7c2361f0b9ce  hspec-core-2.11.17/src/Test/Hspec/Core/Config/Options.hs
+formatted       7faf93a6260e  hspec-core-2.11.17/src/Test/Hspec/Core/Example.hs
+formatted       e119ec2f1b0b  hspec-core-2.11.17/src/Test/Hspec/Core/Example/Location.hs
+formatted       fad103f8cae5  hspec-core-2.11.17/src/Test/Hspec/Core/Extension.hs
+formatted       c33dcbec22a4  hspec-core-2.11.17/src/Test/Hspec/Core/Extension/Config.hs
+formatted       08399bf0add1  hspec-core-2.11.17/src/Test/Hspec/Core/Extension/Config/Type.hs
+formatted       9d469204b3af  hspec-core-2.11.17/src/Test/Hspec/Core/Extension/Item.hs
+formatted       45fbe179d6ea  hspec-core-2.11.17/src/Test/Hspec/Core/Extension/Option.hs
+formatted       9ecbe26e5e57  hspec-core-2.11.17/src/Test/Hspec/Core/Extension/Spec.hs
+formatted       55fa23845b86  hspec-core-2.11.17/src/Test/Hspec/Core/Extension/Tree.hs
+formatted       ab678ade0ce2  hspec-core-2.11.17/src/Test/Hspec/Core/FailureReport.hs
+formatted       62397b53b811  hspec-core-2.11.17/src/Test/Hspec/Core/Format.hs
+formatted       1e25c33b04ed  hspec-core-2.11.17/src/Test/Hspec/Core/Formatters.hs
+formatted       ed32c1f0d023  hspec-core-2.11.17/src/Test/Hspec/Core/Formatters/Diff.hs
+formatted       a0319a5a7ac0  hspec-core-2.11.17/src/Test/Hspec/Core/Formatters/Internal.hs
+formatted       14a6c41188d2  hspec-core-2.11.17/src/Test/Hspec/Core/Formatters/Pretty.hs
+formatted       a725e620bc94  hspec-core-2.11.17/src/Test/Hspec/Core/Formatters/Pretty/Parser.hs
+formatted       706b0cc62405  hspec-core-2.11.17/src/Test/Hspec/Core/Formatters/Pretty/Unicode.hs
+formatted       d6db44576a74  hspec-core-2.11.17/src/Test/Hspec/Core/Formatters/V1.hs
+formatted       795cd00f57a6  hspec-core-2.11.17/src/Test/Hspec/Core/Formatters/V1/Free.hs
+formatted       2b494006d4e6  hspec-core-2.11.17/src/Test/Hspec/Core/Formatters/V1/Internal.hs
+formatted       cbefa367279a  hspec-core-2.11.17/src/Test/Hspec/Core/Formatters/V1/Monad.hs
+formatted       8547db62e8a8  hspec-core-2.11.17/src/Test/Hspec/Core/Formatters/V2.hs
+formatted       c669baf28a73  hspec-core-2.11.17/src/Test/Hspec/Core/Hooks.hs
+formatted       84efd4e71b23  hspec-core-2.11.17/src/Test/Hspec/Core/QuickCheck.hs
+formatted       d14b80402c2a  hspec-core-2.11.17/src/Test/Hspec/Core/QuickCheck/Util.hs
+formatted       5cd9ba2a2a01  hspec-core-2.11.17/src/Test/Hspec/Core/Runner.hs
+formatted       3705c5afaf8c  hspec-core-2.11.17/src/Test/Hspec/Core/Runner/Eval.hs
+formatted       482340a87260  hspec-core-2.11.17/src/Test/Hspec/Core/Runner/JobQueue.hs
+formatted       015ebe063001  hspec-core-2.11.17/src/Test/Hspec/Core/Runner/PrintSlowSpecItems.hs
+formatted       c31252edae1b  hspec-core-2.11.17/src/Test/Hspec/Core/Runner/Result.hs
+formatted       e3c6beb84587  hspec-core-2.11.17/src/Test/Hspec/Core/Shuffle.hs
+formatted       515e56ae4312  hspec-core-2.11.17/src/Test/Hspec/Core/Spec.hs
+formatted       237f5ccb89e8  hspec-core-2.11.17/src/Test/Hspec/Core/Spec/Monad.hs
+formatted       bff64097305c  hspec-core-2.11.17/src/Test/Hspec/Core/Timer.hs
+formatted       14047e11fcf8  hspec-core-2.11.17/src/Test/Hspec/Core/Tree.hs
+formatted       88002301063d  hspec-core-2.11.17/src/Test/Hspec/Core/Util.hs
+formatted       92663bbf3a5c  hspec-core-2.11.17/test/GetOpt/Declarative/EnvironmentSpec.hs
+formatted       17bf6791981e  hspec-core-2.11.17/test/GetOpt/Declarative/UtilSpec.hs
+formatted       6a3e1be9f1a9  hspec-core-2.11.17/test/Helper.hs
+formatted       58b1cbb365dc  hspec-core-2.11.17/test/Mock.hs
+formatted       42263bafabb2  hspec-core-2.11.17/test/Spec.hs
+formatted       56cad5e34f33  hspec-core-2.11.17/test/SpecHook.hs
+formatted       3f6386de6893  hspec-core-2.11.17/test/Test/Hspec/Core/AnnotationsSpec.hs
+formatted       19334d3ee613  hspec-core-2.11.17/test/Test/Hspec/Core/ClockSpec.hs
+formatted       08e878c07b38  hspec-core-2.11.17/test/Test/Hspec/Core/CompatSpec.hs
+formatted       e7fda43a0ee0  hspec-core-2.11.17/test/Test/Hspec/Core/Config/DefinitionSpec.hs
+formatted       3482ce6c2617  hspec-core-2.11.17/test/Test/Hspec/Core/Config/OptionsSpec.hs
+formatted       bf1ccdaae91d  hspec-core-2.11.17/test/Test/Hspec/Core/ConfigSpec.hs
+formatted       f11dfccb71cc  hspec-core-2.11.17/test/Test/Hspec/Core/Example/LocationSpec.hs
+formatted       e0404d9eae24  hspec-core-2.11.17/test/Test/Hspec/Core/ExampleSpec.hs
+formatted       a6b4cdd309c2  hspec-core-2.11.17/test/Test/Hspec/Core/FailureReportSpec.hs
+formatted       de19cdb3d102  hspec-core-2.11.17/test/Test/Hspec/Core/FormatSpec.hs
+formatted       7acbcf770b09  hspec-core-2.11.17/test/Test/Hspec/Core/Formatters/DiffSpec.hs
+formatted       b5ed89d185e1  hspec-core-2.11.17/test/Test/Hspec/Core/Formatters/InternalSpec.hs
+formatted       731c482bc798  hspec-core-2.11.17/test/Test/Hspec/Core/Formatters/Pretty/ParserSpec.hs
+formatted       61fb316570bd  hspec-core-2.11.17/test/Test/Hspec/Core/Formatters/Pretty/UnicodeSpec.hs
+formatted       5f7981dde933  hspec-core-2.11.17/test/Test/Hspec/Core/Formatters/PrettySpec.hs
+formatted       7cda2f32b54f  hspec-core-2.11.17/test/Test/Hspec/Core/Formatters/V1Spec.hs
+formatted       2b934908f145  hspec-core-2.11.17/test/Test/Hspec/Core/Formatters/V2Spec.hs
+formatted       6be3899fd0d9  hspec-core-2.11.17/test/Test/Hspec/Core/HooksSpec.hs
+formatted       b7ad9713418e  hspec-core-2.11.17/test/Test/Hspec/Core/QuickCheck/UtilSpec.hs
+formatted       ea0d7d90e3f7  hspec-core-2.11.17/test/Test/Hspec/Core/Runner/EvalSpec.hs
+formatted       7667cbf2f789  hspec-core-2.11.17/test/Test/Hspec/Core/Runner/JobQueueSpec.hs
+formatted       cbfe443d1178  hspec-core-2.11.17/test/Test/Hspec/Core/Runner/PrintSlowSpecItemsSpec.hs
+formatted       48fd320d1c99  hspec-core-2.11.17/test/Test/Hspec/Core/Runner/ResultSpec.hs
+formatted       7911531bd23d  hspec-core-2.11.17/test/Test/Hspec/Core/RunnerSpec.hs
+formatted       581816a548bb  hspec-core-2.11.17/test/Test/Hspec/Core/ShuffleSpec.hs
+formatted       0a57b331b8c3  hspec-core-2.11.17/test/Test/Hspec/Core/SpecSpec.hs
+formatted       ef6342be3535  hspec-core-2.11.17/test/Test/Hspec/Core/TimerSpec.hs
+formatted       a38e150668ec  hspec-core-2.11.17/test/Test/Hspec/Core/TreeSpec.hs
+formatted       b64a7c7051d4  hspec-core-2.11.17/test/Test/Hspec/Core/UtilSpec.hs
+formatted       6867a99da290  hspec-core-2.11.17/vendor/Data/Algorithm/Diff.hs
+partly-checked  8430cab0162c  hspec-core-2.11.17/vendor/async-2.2.5/Control/Concurrent/Async.hs
+formatted       6ad7c4a831f6  hspec-core-2.11.17/vendor/stm-2.5.0.1/Control/Concurrent/STM/TMVar.hs
+formatted       cfcd27171eb4  http-client-0.7.19/Data/KeyedPool.hs
+formatted       b02f6279c676  http-client-0.7.19/Network/HTTP/Client.hs
+formatted       71e36df116ac  http-client-0.7.19/Network/HTTP/Client/Body.hs
+formatted       b50fcce134d2  http-client-0.7.19/Network/HTTP/Client/Connection.hs
+formatted       b8fa0b71ddf1  http-client-0.7.19/Network/HTTP/Client/Cookies.hs
+formatted       8b37d73af8f5  http-client-0.7.19/Network/HTTP/Client/Core.hs
+formatted       d826371d2ebe  http-client-0.7.19/Network/HTTP/Client/Headers.hs
+formatted       b154cbb4e15b  http-client-0.7.19/Network/HTTP/Client/Internal.hs
+formatted       5178c0e665a9  http-client-0.7.19/Network/HTTP/Client/Manager.hs
+formatted       970aff0926eb  http-client-0.7.19/Network/HTTP/Client/MultipartFormData.hs
+formatted       46a6d3e10843  http-client-0.7.19/Network/HTTP/Client/Request.hs
+formatted       2c2d62d58cbe  http-client-0.7.19/Network/HTTP/Client/Response.hs
+formatted       f30305934067  http-client-0.7.19/Network/HTTP/Client/Types.hs
+formatted       d6ca8c9e18a2  http-client-0.7.19/Network/HTTP/Client/Util.hs
+formatted       ca99b7f5404a  http-client-0.7.19/Network/HTTP/Proxy.hs
+formatted       e865ae48f11b  http-client-0.7.19/Setup.hs
+formatted       df0eef1823e3  http-client-0.7.19/publicsuffixlist/Network/PublicSuffixList/DataStructure.hs
+formatted       3b2cf1acc252  http-client-0.7.19/publicsuffixlist/Network/PublicSuffixList/Lookup.hs
+formatted       a1eb938b3b78  http-client-0.7.19/publicsuffixlist/Network/PublicSuffixList/Serialize.hs
+formatted       884d87566991  http-client-0.7.19/publicsuffixlist/Network/PublicSuffixList/Types.hs
+formatted       0581782c41b7  http-client-0.7.19/test-nonet/Network/HTTP/Client/BodySpec.hs
+formatted       69b1ec11c3bd  http-client-0.7.19/test-nonet/Network/HTTP/Client/ConnectionSpec.hs
+formatted       5f4fad3c8fb6  http-client-0.7.19/test-nonet/Network/HTTP/Client/CookieSpec.hs
+formatted       cd8ac7734c92  http-client-0.7.19/test-nonet/Network/HTTP/Client/HeadersSpec.hs
+formatted       9b8090930762  http-client-0.7.19/test-nonet/Network/HTTP/Client/RequestBodySpec.hs
+formatted       1bae9b8da4b7  http-client-0.7.19/test-nonet/Network/HTTP/Client/RequestSpec.hs
+formatted       0d128f2a255d  http-client-0.7.19/test-nonet/Network/HTTP/Client/ResponseSpec.hs
+formatted       9b03f3749dcb  http-client-0.7.19/test-nonet/Network/HTTP/ClientSpec.hs
+formatted       2fbd14b119a4  http-client-0.7.19/test-nonet/Spec.hs
+formatted       2c940fb9f3df  http-client-0.7.19/test/Network/HTTP/ClientSpec.hs
+formatted       2fbd14b119a4  http-client-0.7.19/test/Spec.hs
+formatted       c3d0f7aa28cc  http-types-0.12.6/Network/HTTP/Types.hs
+formatted       aa8ec181693c  http-types-0.12.6/Network/HTTP/Types/Header.hs
+formatted       c8b8b19ff0a8  http-types-0.12.6/Network/HTTP/Types/Method.hs
+formatted       c66c49eb79e6  http-types-0.12.6/Network/HTTP/Types/QueryLike.hs
+formatted       9acf89ec5ee3  http-types-0.12.6/Network/HTTP/Types/Status.hs
+formatted       fce4095a48f2  http-types-0.12.6/Network/HTTP/Types/URI.hs
+formatted       be3d53b22641  http-types-0.12.6/Network/HTTP/Types/Version.hs
+formatted       e865ae48f11b  http-types-0.12.6/Setup.hs
+formatted       7c3e3767a4f4  http-types-0.12.6/test/Network/HTTP/Types/HeaderSpec.hs
+formatted       8697d23832e8  http-types-0.12.6/test/Network/HTTP/Types/MethodSpec.hs
+formatted       31baee196dad  http-types-0.12.6/test/Network/HTTP/Types/StatusSpec.hs
+formatted       fac24b933960  http-types-0.12.6/test/Network/HTTP/Types/URISpec.hs
+formatted       0b79e85200b7  http-types-0.12.6/test/Network/HTTP/Types/VersionSpec.hs
+formatted       2fbd14b119a4  http-types-0.12.6/test/Spec.hs
+formatted       782790da9d37  http-types-0.12.6/test/doctests.hs
+formatted       5447a7650f6c  idris-1.3.4/Setup.hs
+formatted       fbac3a9c2287  idris-1.3.4/codegen/idris-codegen-c/Main.hs
+formatted       cbd55e0f7e49  idris-1.3.4/codegen/idris-codegen-javascript/Main.hs
+formatted       89032378ae29  idris-1.3.4/codegen/idris-codegen-node/Main.hs
+formatted       a252b94866c7  idris-1.3.4/main/Main.hs
+formatted       5887dd9919e5  idris-1.3.4/src/IRTS/Bytecode.hs
+formatted       af21210fae4d  idris-1.3.4/src/IRTS/CodegenC.hs
+formatted       631e62cb2af8  idris-1.3.4/src/IRTS/CodegenCommon.hs
+formatted       478875726856  idris-1.3.4/src/IRTS/CodegenJavaScript.hs
+formatted       eb2e475aaf0c  idris-1.3.4/src/IRTS/Compiler.hs
+formatted       4392c787f86a  idris-1.3.4/src/IRTS/Defunctionalise.hs
+formatted       440a8798da48  idris-1.3.4/src/IRTS/DumpBC.hs
+formatted       a1101f9d5bc9  idris-1.3.4/src/IRTS/Exports.hs
+formatted       a1655f113c2f  idris-1.3.4/src/IRTS/Inliner.hs
+formatted       40ae2b6879f0  idris-1.3.4/src/IRTS/JavaScript/AST.hs
+formatted       df22bd5c75a0  idris-1.3.4/src/IRTS/JavaScript/Codegen.hs
+formatted       9e437a832aa5  idris-1.3.4/src/IRTS/JavaScript/LangTransforms.hs
+formatted       f141bb79c0d1  idris-1.3.4/src/IRTS/JavaScript/Name.hs
+formatted       d9602f4c6378  idris-1.3.4/src/IRTS/JavaScript/PrimOp.hs
+formatted       0b295c71409d  idris-1.3.4/src/IRTS/JavaScript/Specialize.hs
+formatted       ae3b6ddc6ce9  idris-1.3.4/src/IRTS/Lang.hs
+formatted       bd043b58033e  idris-1.3.4/src/IRTS/LangOpts.hs
+formatted       b39e99ce5689  idris-1.3.4/src/IRTS/Portable.hs
+formatted       f69196695256  idris-1.3.4/src/IRTS/Simplified.hs
+formatted       e6d3627bb0fa  idris-1.3.4/src/IRTS/System.hs
+formatted       ee9b63bde63f  idris-1.3.4/src/Idris/ASTUtils.hs
+formatted       5bad1d5d02b5  idris-1.3.4/src/Idris/AbsSyntax.hs
+formatted       96cda50a86a8  idris-1.3.4/src/Idris/AbsSyntaxTree.hs
+formatted       a1ca8b9f3eaf  idris-1.3.4/src/Idris/Apropos.hs
+formatted       b04c0701d4db  idris-1.3.4/src/Idris/CaseSplit.hs
+formatted       478d864482bc  idris-1.3.4/src/Idris/Chaser.hs
+formatted       8c79eb6293fc  idris-1.3.4/src/Idris/CmdOptions.hs
+formatted       7784bcecf773  idris-1.3.4/src/Idris/Colours.hs
+formatted       b4b4c6a0994f  idris-1.3.4/src/Idris/Completion.hs
+formatted       99bc32a5f4a5  idris-1.3.4/src/Idris/Core/Binary.hs
+formatted       d4a0b3ba9e5f  idris-1.3.4/src/Idris/Core/CaseTree.hs
+formatted       aeac2cdcac45  idris-1.3.4/src/Idris/Core/Constraints.hs
+formatted       9f2889f4ce25  idris-1.3.4/src/Idris/Core/DeepSeq.hs
+formatted       889bf0b2233a  idris-1.3.4/src/Idris/Core/Elaborate.hs
+formatted       09e2571a258f  idris-1.3.4/src/Idris/Core/Evaluate.hs
+formatted       e65c66b17496  idris-1.3.4/src/Idris/Core/Execute.hs
+formatted       e1acf0715128  idris-1.3.4/src/Idris/Core/ProofState.hs
+formatted       0831f0741adb  idris-1.3.4/src/Idris/Core/ProofTerm.hs
+formatted       54ed0a2246e5  idris-1.3.4/src/Idris/Core/TT.hs
+formatted       e1996a34314b  idris-1.3.4/src/Idris/Core/Typecheck.hs
+formatted       09562fa82a5e  idris-1.3.4/src/Idris/Core/Unify.hs
+formatted       d4c3e6e8627c  idris-1.3.4/src/Idris/Core/WHNF.hs
+formatted       e994cb4557e6  idris-1.3.4/src/Idris/Coverage.hs
+formatted       646d58a730b8  idris-1.3.4/src/Idris/DSL.hs
+formatted       88fc34882dd8  idris-1.3.4/src/Idris/DataOpts.hs
+formatted       5b97e62374a0  idris-1.3.4/src/Idris/DeepSeq.hs
+formatted       9454d5008b36  idris-1.3.4/src/Idris/Delaborate.hs
+formatted       bc961e4a8ea6  idris-1.3.4/src/Idris/Directives.hs
+formatted       0c17f9f008f2  idris-1.3.4/src/Idris/Docs.hs
+formatted       214f36ff82e7  idris-1.3.4/src/Idris/Docstrings.hs
+formatted       f8a469ded743  idris-1.3.4/src/Idris/Elab/AsPat.hs
+formatted       174ef1ef7a6d  idris-1.3.4/src/Idris/Elab/Clause.hs
+formatted       3f48df56f333  idris-1.3.4/src/Idris/Elab/Data.hs
+formatted       d0f7fd740b04  idris-1.3.4/src/Idris/Elab/Implementation.hs
+formatted       1eb1f4568070  idris-1.3.4/src/Idris/Elab/Interface.hs
+formatted       f58b36651544  idris-1.3.4/src/Idris/Elab/Provider.hs
+formatted       e40243df923e  idris-1.3.4/src/Idris/Elab/Quasiquote.hs
+formatted       df9c3e7c01cf  idris-1.3.4/src/Idris/Elab/Record.hs
+formatted       4ef59702b6b3  idris-1.3.4/src/Idris/Elab/Rewrite.hs
+formatted       072b782f66bd  idris-1.3.4/src/Idris/Elab/RunElab.hs
+formatted       6d60b9d9c145  idris-1.3.4/src/Idris/Elab/Term.hs
+formatted       f33087f19f51  idris-1.3.4/src/Idris/Elab/Transform.hs
+formatted       ebc0535c9968  idris-1.3.4/src/Idris/Elab/Type.hs
+formatted       bbae43e39fe6  idris-1.3.4/src/Idris/Elab/Utils.hs
+formatted       8620686a3e01  idris-1.3.4/src/Idris/Elab/Value.hs
+formatted       86e8e7f068f9  idris-1.3.4/src/Idris/ElabDecls.hs
+formatted       39b33c7c3bc0  idris-1.3.4/src/Idris/Erasure.hs
+formatted       c067dabec9e8  idris-1.3.4/src/Idris/ErrReverse.hs
+formatted       c30f3af9cd43  idris-1.3.4/src/Idris/Error.hs
+formatted       6cfcc39eb697  idris-1.3.4/src/Idris/Help.hs
+formatted       afbbe813eb1b  idris-1.3.4/src/Idris/IBC.hs
+formatted       2e40824ff78d  idris-1.3.4/src/Idris/IdeMode.hs
+formatted       70ea9149ba53  idris-1.3.4/src/Idris/IdrisDoc.hs
+formatted       a4b3d2cbf796  idris-1.3.4/src/Idris/Imports.hs
+formatted       79e2891acde2  idris-1.3.4/src/Idris/Info.hs
+formatted       b0ffd5ecb535  idris-1.3.4/src/Idris/Info/Show.hs
+formatted       d6123ec62582  idris-1.3.4/src/Idris/Inliner.hs
+formatted       b27c9b78139f  idris-1.3.4/src/Idris/Interactive.hs
+formatted       d495fda47370  idris-1.3.4/src/Idris/Main.hs
+formatted       9684ac278a61  idris-1.3.4/src/Idris/ModeCommon.hs
+formatted       625babe799bb  idris-1.3.4/src/Idris/Options.hs
+formatted       034f2490b381  idris-1.3.4/src/Idris/Output.hs
+formatted       dce3d8a04284  idris-1.3.4/src/Idris/Package.hs
+formatted       537d9f81c053  idris-1.3.4/src/Idris/Package/Common.hs
+formatted       3c227348cd2c  idris-1.3.4/src/Idris/Package/Parser.hs
+formatted       a16ebc2c0154  idris-1.3.4/src/Idris/Parser.hs
+formatted       ac103208b093  idris-1.3.4/src/Idris/Parser/Data.hs
+formatted       4c736c24bfa1  idris-1.3.4/src/Idris/Parser/Expr.hs
+formatted       f583f14e426b  idris-1.3.4/src/Idris/Parser/Helpers.hs
+formatted       5c6a2b8ac3c0  idris-1.3.4/src/Idris/Parser/Ops.hs
+formatted       e123b50babba  idris-1.3.4/src/Idris/Parser/Stack.hs
+formatted       b83ff354933c  idris-1.3.4/src/Idris/PartialEval.hs
+formatted       02c0bfc29aab  idris-1.3.4/src/Idris/Primitives.hs
+formatted       c8faa2004ad2  idris-1.3.4/src/Idris/ProofSearch.hs
+formatted       0caf0c3dcf01  idris-1.3.4/src/Idris/Prover.hs
+formatted       f2662d515df9  idris-1.3.4/src/Idris/Providers.hs
+formatted       b8babe2047a3  idris-1.3.4/src/Idris/REPL.hs
+formatted       25ee0fe9aaf8  idris-1.3.4/src/Idris/REPL/Browse.hs
+formatted       35d1c6b78577  idris-1.3.4/src/Idris/REPL/Commands.hs
+formatted       a764c75078ac  idris-1.3.4/src/Idris/REPL/Parser.hs
+formatted       9eb8255c47cd  idris-1.3.4/src/Idris/Reflection.hs
+formatted       78bc629114d8  idris-1.3.4/src/Idris/Termination.hs
+formatted       3179982e2d3c  idris-1.3.4/src/Idris/Transforms.hs
+formatted       4c597d93c2cf  idris-1.3.4/src/Idris/TypeSearch.hs
+formatted       f0d786cf880b  idris-1.3.4/src/Idris/Unlit.hs
+formatted       6ca36d3d3e79  idris-1.3.4/src/Idris/WhoCalls.hs
+formatted       93925effad21  idris-1.3.4/src/Util/DynamicLinker.hs
+formatted       ee160bebc69a  idris-1.3.4/src/Util/Net.hs
+formatted       359722df7e26  idris-1.3.4/src/Util/Pretty.hs
+formatted       13363649406c  idris-1.3.4/src/Util/ScreenSize.hs
+formatted       19467d6ee211  idris-1.3.4/src/Util/System.hs
+formatted       a01907a1c6df  idris-1.3.4/test/TestData.hs
+formatted       a1e78fd4d849  idris-1.3.4/test/TestRun.hs
+formatted       e865ae48f11b  intero-0.1.40/Setup.hs
+formatted       e4968b3c6f0b  intero-0.1.40/src/Completion.hs
+formatted       abd6685be283  intero-0.1.40/src/GhciFind.hs
+partly-checked  8b5543ad65fa  intero-0.1.40/src/GhciInfo.hs
+formatted       b0a92f8e7781  intero-0.1.40/src/GhciMonad.hs
+formatted       b63e53dc2a27  intero-0.1.40/src/GhciTags.hs
+formatted       138fabc66e4d  intero-0.1.40/src/GhciTypes.hs
+declined        -             intero-0.1.40/src/InteractiveUI.hs
+formatted       23b866eedbce  intero-0.1.40/src/Intero/Compat.hs
+partly-checked  74be4024b4bb  intero-0.1.40/src/Main.hs
+formatted       cb3ce8e89173  intero-0.1.40/src/test/Main.hs
+formatted       4fe73bbfe233  leksah-0.16.2.2/data/leksah-welcome/src/Main.hs
+formatted       1cefb44a49bc  leksah-0.16.2.2/data/leksah-welcome/test/Main.hs
+formatted       c9de32d012b8  leksah-0.16.2.2/main/Main.hs
+formatted       ff76baf90c63  leksah-0.16.2.2/src/IDE/BufferMode.hs
+formatted       1d6f3c512c86  leksah-0.16.2.2/src/IDE/Build.hs
+formatted       879b5e5fe069  leksah-0.16.2.2/src/IDE/Command.hs
+formatted       08295e939646  leksah-0.16.2.2/src/IDE/Command/Print.hs
+formatted       bd6e9264392e  leksah-0.16.2.2/src/IDE/Command/VCS.hs
+formatted       a01e5b28909e  leksah-0.16.2.2/src/IDE/Command/VCS/Common.hs
+formatted       320c96b06cdd  leksah-0.16.2.2/src/IDE/Command/VCS/Common/GUI.hs
+formatted       6bea48ab753a  leksah-0.16.2.2/src/IDE/Command/VCS/Common/Helper.hs
+formatted       3e0445b43472  leksah-0.16.2.2/src/IDE/Command/VCS/Common/Workspaces.hs
+formatted       16922c9577d4  leksah-0.16.2.2/src/IDE/Command/VCS/GIT.hs
+formatted       9ae9a90254f7  leksah-0.16.2.2/src/IDE/Command/VCS/Mercurial.hs
+formatted       c52787bf7185  leksah-0.16.2.2/src/IDE/Command/VCS/SVN.hs
+formatted       215e7d8ed012  leksah-0.16.2.2/src/IDE/Command/VCS/Types.hs
+formatted       e8c12c7a0b6c  leksah-0.16.2.2/src/IDE/Completion.hs
+formatted       a0d6e724a82a  leksah-0.16.2.2/src/IDE/Core/State.hs
+formatted       e00a1c561b82  leksah-0.16.2.2/src/IDE/Core/Types.hs
+formatted       52ac323739fb  leksah-0.16.2.2/src/IDE/Debug.hs
+does-not-parse  -             leksah-0.16.2.2/src/IDE/Find.hs
+formatted       6b62019a999d  leksah-0.16.2.2/src/IDE/GUIHistory.hs
+formatted       3b1211c1b885  leksah-0.16.2.2/src/IDE/HLint.hs
+formatted       2d05b27fd1f2  leksah-0.16.2.2/src/IDE/ImportTool.hs
+formatted       218257481585  leksah-0.16.2.2/src/IDE/Keymap.hs
+formatted       c94328821b11  leksah-0.16.2.2/src/IDE/LPaste.hs
+formatted       025d0e0f2801  leksah-0.16.2.2/src/IDE/Leksah.hs
+formatted       c201c909fe7c  leksah-0.16.2.2/src/IDE/LogRef.hs
+formatted       badf1e5a457f  leksah-0.16.2.2/src/IDE/Metainfo/Provider.hs
+formatted       2df75aba3890  leksah-0.16.2.2/src/IDE/NotebookFlipper.hs
+formatted       83e58b2f74a6  leksah-0.16.2.2/src/IDE/OSX.hs
+formatted       c970c2f964e6  leksah-0.16.2.2/src/IDE/Package.hs
+formatted       b4f7bfc7038d  leksah-0.16.2.2/src/IDE/Pane/Breakpoints.hs
+formatted       f836f616c3f9  leksah-0.16.2.2/src/IDE/Pane/Errors.hs
+formatted       07af26aa1858  leksah-0.16.2.2/src/IDE/Pane/Files.hs
+formatted       3eea23523c62  leksah-0.16.2.2/src/IDE/Pane/Grep.hs
+formatted       ff3bfb9c61c2  leksah-0.16.2.2/src/IDE/Pane/HLint.hs
+formatted       8fff0fe0abb8  leksah-0.16.2.2/src/IDE/Pane/Info.hs
+formatted       5a96bf188f1c  leksah-0.16.2.2/src/IDE/Pane/Log.hs
+formatted       0cdbd71a5b2c  leksah-0.16.2.2/src/IDE/Pane/Modules.hs
+formatted       99f9bdf553a2  leksah-0.16.2.2/src/IDE/Pane/PackageEditor.hs
+formatted       35921ce99ba7  leksah-0.16.2.2/src/IDE/Pane/PackageFlags.hs
+formatted       34e07b8fcdba  leksah-0.16.2.2/src/IDE/Pane/Search.hs
+formatted       6d1efcda7d92  leksah-0.16.2.2/src/IDE/Pane/SourceBuffer.hs
+formatted       c06f307c6f03  leksah-0.16.2.2/src/IDE/Pane/Trace.hs
+formatted       1eb5a3f06b29  leksah-0.16.2.2/src/IDE/Pane/Variables.hs
+formatted       2623ba4dbbad  leksah-0.16.2.2/src/IDE/Pane/WebKit/Documentation.hs
+formatted       796cf13a3649  leksah-0.16.2.2/src/IDE/Pane/WebKit/Inspect.hs
+formatted       cf2ee9a2441d  leksah-0.16.2.2/src/IDE/Pane/WebKit/Output.hs
+formatted       d1d200063fee  leksah-0.16.2.2/src/IDE/Pane/Workspace.hs
+formatted       8679159ea552  leksah-0.16.2.2/src/IDE/PaneGroups.hs
+formatted       2d837d69fe56  leksah-0.16.2.2/src/IDE/Preferences.hs
+formatted       2b2799eff38c  leksah-0.16.2.2/src/IDE/Session.hs
+formatted       ed921915dc66  leksah-0.16.2.2/src/IDE/SourceCandy.hs
+formatted       1966fffe2d69  leksah-0.16.2.2/src/IDE/Statusbar.hs
+formatted       af56d3ff0bcb  leksah-0.16.2.2/src/IDE/SymbolNavigation.hs
+formatted       c46031c33f6b  leksah-0.16.2.2/src/IDE/TextEditor.hs
+formatted       3be054cdac74  leksah-0.16.2.2/src/IDE/TextEditor/Class.hs
+formatted       4469b3c6b63d  leksah-0.16.2.2/src/IDE/TextEditor/CodeMirror.hs
+formatted       df2a0da58967  leksah-0.16.2.2/src/IDE/TextEditor/GtkSourceView.hs
+formatted       540ae633f064  leksah-0.16.2.2/src/IDE/TextEditor/Yi.hs
+formatted       6e068ccd2139  leksah-0.16.2.2/src/IDE/TextEditor/Yi/Config.hs
+formatted       8903bbb994cc  leksah-0.16.2.2/src/IDE/Utils/CabalUtils.hs
+formatted       0ec7e706125a  leksah-0.16.2.2/src/IDE/Utils/DirectoryUtils.hs
+formatted       cb7f9602c959  leksah-0.16.2.2/src/IDE/Utils/ExternalTool.hs
+formatted       648ccf451be2  leksah-0.16.2.2/src/IDE/Utils/GUIUtils.hs
+formatted       61bc5286f796  leksah-0.16.2.2/src/IDE/Utils/ServerConnection.hs
+formatted       96d1b6cceb2d  leksah-0.16.2.2/src/IDE/Workspaces.hs
+formatted       d1d080a35ef2  leksah-0.16.2.2/src/IDE/Workspaces/Writer.hs
+formatted       d70167476e18  lens-5.3.6/benchmarks/alongside.hs
+formatted       3232dc9520f2  lens-5.3.6/benchmarks/folds.hs
+formatted       66ec4fedbc37  lens-5.3.6/benchmarks/plated.hs
+formatted       fa0347e91a0c  lens-5.3.6/benchmarks/traversals.hs
+formatted       0416c0c89cd7  lens-5.3.6/benchmarks/unsafe.hs
+formatted       6b5d9407288a  lens-5.3.6/examples/Aeson.hs
+formatted       3463a5e2aa47  lens-5.3.6/examples/Plates.hs
+formatted       53aec2bc0007  lens-5.3.6/examples/Pong.hs
+formatted       0bc229cec7f8  lens-5.3.6/examples/Turtle.hs
+formatted       e865ae48f11b  lens-5.3.6/lens-properties/Setup.hs
+formatted       2147cd877503  lens-5.3.6/lens-properties/src/Control/Lens/Properties.hs
+formatted       2fd52d459364  lens-5.3.6/src/Control/Exception/Lens.hs
+formatted       9db8a6c95ce5  lens-5.3.6/src/Control/Lens.hs
+formatted       5825152cdeda  lens-5.3.6/src/Control/Lens/At.hs
+formatted       091774fd0570  lens-5.3.6/src/Control/Lens/Combinators.hs
+formatted       343cae85da19  lens-5.3.6/src/Control/Lens/Cons.hs
+formatted       cac3fafb9ca3  lens-5.3.6/src/Control/Lens/Each.hs
+formatted       168f6a0b59b0  lens-5.3.6/src/Control/Lens/Empty.hs
+formatted       ce535f82036a  lens-5.3.6/src/Control/Lens/Equality.hs
+formatted       f9e099689735  lens-5.3.6/src/Control/Lens/Extras.hs
+formatted       945872c3aaf8  lens-5.3.6/src/Control/Lens/Fold.hs
+formatted       16fc592e91d2  lens-5.3.6/src/Control/Lens/Getter.hs
+formatted       4b5be4fb70ec  lens-5.3.6/src/Control/Lens/Indexed.hs
+formatted       37444657e2f6  lens-5.3.6/src/Control/Lens/Internal.hs
+formatted       ace88980a254  lens-5.3.6/src/Control/Lens/Internal/Bazaar.hs
+formatted       6efb8e7af667  lens-5.3.6/src/Control/Lens/Internal/ByteString.hs
+formatted       0e339978b2e9  lens-5.3.6/src/Control/Lens/Internal/CTypes.hs
+formatted       39f2d733722f  lens-5.3.6/src/Control/Lens/Internal/Context.hs
+formatted       f457ee947b50  lens-5.3.6/src/Control/Lens/Internal/Deque.hs
+formatted       3aec47ad79f2  lens-5.3.6/src/Control/Lens/Internal/Doctest.hs
+formatted       97d953eba9ee  lens-5.3.6/src/Control/Lens/Internal/Exception.hs
+formatted       1f5fd683af60  lens-5.3.6/src/Control/Lens/Internal/FieldTH.hs
+formatted       5cc30f8d4eb2  lens-5.3.6/src/Control/Lens/Internal/Fold.hs
+formatted       82d234df55c0  lens-5.3.6/src/Control/Lens/Internal/Getter.hs
+formatted       6e2c4db353ae  lens-5.3.6/src/Control/Lens/Internal/Indexed.hs
+formatted       fd54893ba768  lens-5.3.6/src/Control/Lens/Internal/Instances.hs
+formatted       afa2de6a2102  lens-5.3.6/src/Control/Lens/Internal/Iso.hs
+formatted       65c6074b62c9  lens-5.3.6/src/Control/Lens/Internal/Level.hs
+formatted       b14591481fb1  lens-5.3.6/src/Control/Lens/Internal/List.hs
+formatted       336cc0f5cdd0  lens-5.3.6/src/Control/Lens/Internal/Magma.hs
+formatted       011663ecc366  lens-5.3.6/src/Control/Lens/Internal/Prelude.hs
+formatted       c6c7fef15a90  lens-5.3.6/src/Control/Lens/Internal/Prism.hs
+formatted       51cb29647080  lens-5.3.6/src/Control/Lens/Internal/PrismTH.hs
+formatted       742579d7d811  lens-5.3.6/src/Control/Lens/Internal/Profunctor.hs
+formatted       74d5047f3c98  lens-5.3.6/src/Control/Lens/Internal/Review.hs
+formatted       8a922b6de357  lens-5.3.6/src/Control/Lens/Internal/Setter.hs
+formatted       b89d7f882c62  lens-5.3.6/src/Control/Lens/Internal/TH.hs
+formatted       47b49bca0b73  lens-5.3.6/src/Control/Lens/Internal/Zoom.hs
+formatted       06e468542351  lens-5.3.6/src/Control/Lens/Iso.hs
+formatted       e3e228774c80  lens-5.3.6/src/Control/Lens/Lens.hs
+formatted       dc78a741438d  lens-5.3.6/src/Control/Lens/Level.hs
+formatted       fa52d4bfe108  lens-5.3.6/src/Control/Lens/Operators.hs
+formatted       ef96a1e67f4e  lens-5.3.6/src/Control/Lens/Plated.hs
+formatted       ade2ff353e87  lens-5.3.6/src/Control/Lens/Prism.hs
+formatted       3c0d178e5945  lens-5.3.6/src/Control/Lens/Profunctor.hs
+formatted       f2b1718393cc  lens-5.3.6/src/Control/Lens/Reified.hs
+formatted       107453fbf96e  lens-5.3.6/src/Control/Lens/Review.hs
+formatted       39817af96d10  lens-5.3.6/src/Control/Lens/Setter.hs
+formatted       0d707ec92048  lens-5.3.6/src/Control/Lens/TH.hs
+formatted       e16c069efb6f  lens-5.3.6/src/Control/Lens/Traversal.hs
+formatted       7f8985708bad  lens-5.3.6/src/Control/Lens/Tuple.hs
+formatted       b4a14fbbde32  lens-5.3.6/src/Control/Lens/Type.hs
+formatted       605d96e8826b  lens-5.3.6/src/Control/Lens/Unsound.hs
+partly-checked  e08f73207358  lens-5.3.6/src/Control/Lens/Wrapped.hs
+formatted       96b884bd7923  lens-5.3.6/src/Control/Lens/Zoom.hs
+formatted       8365eb5637cc  lens-5.3.6/src/Control/Monad/Error/Lens.hs
+formatted       e8127912b1cd  lens-5.3.6/src/Control/Parallel/Strategies/Lens.hs
+formatted       990fdb10b1da  lens-5.3.6/src/Control/Seq/Lens.hs
+formatted       7ea0eb72825d  lens-5.3.6/src/Data/Array/Lens.hs
+formatted       0eadabcb5c30  lens-5.3.6/src/Data/Bits/Lens.hs
+formatted       ea88fbf17c70  lens-5.3.6/src/Data/ByteString/Lazy/Lens.hs
+formatted       294176304287  lens-5.3.6/src/Data/ByteString/Lens.hs
+formatted       5834be10b501  lens-5.3.6/src/Data/ByteString/Strict/Lens.hs
+formatted       4ad0cdb0aef0  lens-5.3.6/src/Data/Complex/Lens.hs
+formatted       187863090b05  lens-5.3.6/src/Data/Data/Lens.hs
+formatted       b812b291b01a  lens-5.3.6/src/Data/Dynamic/Lens.hs
+formatted       cc522988fe93  lens-5.3.6/src/Data/HashSet/Lens.hs
+formatted       6a06f4ced45a  lens-5.3.6/src/Data/IntSet/Lens.hs
+formatted       8beca438998c  lens-5.3.6/src/Data/List/Lens.hs
+formatted       f78045f239b0  lens-5.3.6/src/Data/Map/Lens.hs
+formatted       b40eb4b00516  lens-5.3.6/src/Data/Sequence/Lens.hs
+formatted       27d74bc4e432  lens-5.3.6/src/Data/Set/Lens.hs
+formatted       bb6ddc627948  lens-5.3.6/src/Data/Text/Lazy/Lens.hs
+formatted       2509f94a0441  lens-5.3.6/src/Data/Text/Lens.hs
+formatted       786d603ce7fb  lens-5.3.6/src/Data/Text/Strict/Lens.hs
+formatted       5abdcf76d8af  lens-5.3.6/src/Data/Tree/Lens.hs
+formatted       bce2ecec44f9  lens-5.3.6/src/Data/Typeable/Lens.hs
+formatted       3c27af3b0fee  lens-5.3.6/src/Data/Vector/Generic/Lens.hs
+formatted       581fef4716a7  lens-5.3.6/src/Data/Vector/Lens.hs
+formatted       b2bcc463c717  lens-5.3.6/src/GHC/Generics/Lens.hs
+partly-checked  9977f10508d1  lens-5.3.6/src/Language/Haskell/TH/Lens.hs
+formatted       891837f4e099  lens-5.3.6/src/Numeric/Lens.hs
+formatted       d3e1302c7510  lens-5.3.6/src/Numeric/Natural/Lens.hs
+formatted       26a2da935da1  lens-5.3.6/src/System/Exit/Lens.hs
+formatted       8027bc59f0b6  lens-5.3.6/src/System/FilePath/Lens.hs
+formatted       e6886b8b4c59  lens-5.3.6/src/System/IO/Error/Lens.hs
+formatted       89a8ed4432a0  lens-5.3.6/tests/BigRecord.hs
+formatted       796d441b7d6c  lens-5.3.6/tests/T1024.hs
+formatted       783da428b966  lens-5.3.6/tests/T799.hs
+formatted       1217ce702952  lens-5.3.6/tests/T917.hs
+formatted       c327a3c726fc  lens-5.3.6/tests/T972.hs
+formatted       c43bd7f5fc26  lens-5.3.6/tests/doctests.hs
+formatted       094e4f1a8966  lens-5.3.6/tests/hunit.hs
+declined        -             lens-5.3.6/tests/properties.hs
+formatted       bf05dc8ba347  lens-5.3.6/tests/templates.hs
+formatted       1dc73adab6fa  lifted-base-0.2.3.12/Control/Concurrent/Chan/Lifted.hs
+formatted       0850187cbffd  lifted-base-0.2.3.12/Control/Concurrent/Lifted.hs
+formatted       d25f8a06939a  lifted-base-0.2.3.12/Control/Concurrent/MVar/Lifted.hs
+formatted       d7ce53dc26bf  lifted-base-0.2.3.12/Control/Concurrent/QSem/Lifted.hs
+formatted       cebb1a6642dc  lifted-base-0.2.3.12/Control/Concurrent/QSemN/Lifted.hs
+formatted       a4724938fc3d  lifted-base-0.2.3.12/Control/Concurrent/SampleVar/Lifted.hs
+formatted       508f0614ba0f  lifted-base-0.2.3.12/Control/Exception/Lifted.hs
+formatted       507caf0908d7  lifted-base-0.2.3.12/Data/IORef/Lifted.hs
+formatted       1d600bb7bfac  lifted-base-0.2.3.12/Foreign/Marshal/Utils/Lifted.hs
+formatted       e865ae48f11b  lifted-base-0.2.3.12/Setup.hs
+formatted       34961ffbd67a  lifted-base-0.2.3.12/System/Timeout/Lifted.hs
+formatted       6a5061e50e49  lifted-base-0.2.3.12/bench/bench.hs
+formatted       2c308f50e7b2  lifted-base-0.2.3.12/test/test.hs
+formatted       d3713b923ada  megaparsec-9.8.1/Text/Megaparsec.hs
+formatted       cebb60d8feeb  megaparsec-9.8.1/Text/Megaparsec/Byte.hs
+formatted       81f237a612b5  megaparsec-9.8.1/Text/Megaparsec/Byte/Binary.hs
+formatted       e36229f049ba  megaparsec-9.8.1/Text/Megaparsec/Byte/Lexer.hs
+formatted       1f76a762b829  megaparsec-9.8.1/Text/Megaparsec/Char.hs
+formatted       296e4766f2a4  megaparsec-9.8.1/Text/Megaparsec/Char/Lexer.hs
+formatted       a66a36e7dc4e  megaparsec-9.8.1/Text/Megaparsec/Class.hs
+formatted       959d9a1d4f0f  megaparsec-9.8.1/Text/Megaparsec/Common.hs
+formatted       0bcacf2fa64e  megaparsec-9.8.1/Text/Megaparsec/Debug.hs
+formatted       be0d3a3dec57  megaparsec-9.8.1/Text/Megaparsec/Error.hs
+formatted       65ab8f790872  megaparsec-9.8.1/Text/Megaparsec/Error.hs-boot
+formatted       34c38992d89c  megaparsec-9.8.1/Text/Megaparsec/Error/Builder.hs
+formatted       49f5fd5d2363  megaparsec-9.8.1/Text/Megaparsec/Internal.hs
+formatted       31a22a802e7a  megaparsec-9.8.1/Text/Megaparsec/Internal.hs-boot
+formatted       fef9b4a5ff3b  megaparsec-9.8.1/Text/Megaparsec/Lexer.hs
+formatted       6c46de1ab586  megaparsec-9.8.1/Text/Megaparsec/Pos.hs
+formatted       bcbfa32a3923  megaparsec-9.8.1/Text/Megaparsec/State.hs
+formatted       f7f562994490  megaparsec-9.8.1/Text/Megaparsec/Stream.hs
+formatted       ba3833faf2be  megaparsec-9.8.1/Text/Megaparsec/Unicode.hs
+formatted       6daf83b4a1a8  megaparsec-9.8.1/bench/memory/Main.hs
+formatted       5f00b9e4a300  megaparsec-9.8.1/bench/speed/Main.hs
+formatted       e865ae48f11b  microlens-0.5.0.0/Setup.hs
+partly-checked  5c0f33d1fd0d  microlens-0.5.0.0/src/Lens/Micro.hs
+formatted       094069c96cdb  microlens-0.5.0.0/src/Lens/Micro/Extras.hs
+formatted       e3bead4e8589  microlens-0.5.0.0/src/Lens/Micro/FieldN.hs
+partly-checked  590f519aa3c1  microlens-0.5.0.0/src/Lens/Micro/Internal.hs
+formatted       2662ce4af983  microlens-0.5.0.0/src/Lens/Micro/Type.hs
+formatted       22433d8e3ffa  mtl-2.3.2/Control/Monad/Accum.hs
+formatted       9328aee51b15  mtl-2.3.2/Control/Monad/Cont.hs
+formatted       679f4533f9a5  mtl-2.3.2/Control/Monad/Cont/Class.hs
+formatted       5575eea7baeb  mtl-2.3.2/Control/Monad/Error/Class.hs
+formatted       89b5a051efee  mtl-2.3.2/Control/Monad/Except.hs
+formatted       31ebcc12e204  mtl-2.3.2/Control/Monad/Identity.hs
+formatted       29dc94de7ab0  mtl-2.3.2/Control/Monad/RWS.hs
+formatted       3c571a47ab5e  mtl-2.3.2/Control/Monad/RWS/CPS.hs
+formatted       7775b039ce7c  mtl-2.3.2/Control/Monad/RWS/Class.hs
+formatted       4338764496fb  mtl-2.3.2/Control/Monad/RWS/Lazy.hs
+formatted       1ca70a22269d  mtl-2.3.2/Control/Monad/RWS/Strict.hs
+formatted       60b7610be1da  mtl-2.3.2/Control/Monad/Reader.hs
+formatted       215f80d7a7c4  mtl-2.3.2/Control/Monad/Reader/Class.hs
+formatted       5bc9a3a1fa24  mtl-2.3.2/Control/Monad/Select.hs
+formatted       9ee8805b1bad  mtl-2.3.2/Control/Monad/State.hs
+formatted       c5d269ae9547  mtl-2.3.2/Control/Monad/State/Class.hs
+formatted       7fbf883f8232  mtl-2.3.2/Control/Monad/State/Lazy.hs
+formatted       5ca8ef4aa218  mtl-2.3.2/Control/Monad/State/Strict.hs
+formatted       427d25d957c2  mtl-2.3.2/Control/Monad/Trans.hs
+formatted       36ee1478acf9  mtl-2.3.2/Control/Monad/Writer.hs
+formatted       561c8a532f71  mtl-2.3.2/Control/Monad/Writer/CPS.hs
+formatted       36f35a30d2bb  mtl-2.3.2/Control/Monad/Writer/Class.hs
+formatted       dcf2408ea702  mtl-2.3.2/Control/Monad/Writer/Lazy.hs
+formatted       050d972d397b  mtl-2.3.2/Control/Monad/Writer/Strict.hs
+formatted       e865ae48f11b  mtl-2.3.2/Setup.hs
+formatted       8a1c493eece9  optics-0.4.2.1/benchmarks/folds.hs
+formatted       f11fd1d82b69  optics-0.4.2.1/benchmarks/traversals.hs
+formatted       cf88c45fab63  optics-0.4.2.1/src/Optics.hs
+formatted       1e161c75cffd  optics-0.4.2.1/tests/Optics/Tests.hs
+formatted       97ae3471e867  optics-0.4.2.1/tests/Optics/Tests/Computation.hs
+formatted       ecbe9333c11e  optics-0.4.2.1/tests/Optics/Tests/Core.hs
+formatted       815f01232789  optics-0.4.2.1/tests/Optics/Tests/Eta.hs
+formatted       c39ad6d1034f  optics-0.4.2.1/tests/Optics/Tests/Labels/Generic.hs
+formatted       727caad1ee35  optics-0.4.2.1/tests/Optics/Tests/Labels/TH.hs
+formatted       2eec76d19c69  optics-0.4.2.1/tests/Optics/Tests/Misc.hs
+formatted       661c70e94dbb  optics-0.4.2.1/tests/Optics/Tests/Properties.hs
+partly-checked  9b2773952202  optics-0.4.2.1/tests/Optics/Tests/Utils.hs
+formatted       e865ae48f11b  optparse-applicative-0.19.0.0/Setup.hs
+formatted       1695f944051f  optparse-applicative-0.19.0.0/src/Options/Applicative.hs
+formatted       c15b6d2213de  optparse-applicative-0.19.0.0/src/Options/Applicative/Arrows.hs
+formatted       91a2f6a9a265  optparse-applicative-0.19.0.0/src/Options/Applicative/BashCompletion.hs
+formatted       66736eddb6a7  optparse-applicative-0.19.0.0/src/Options/Applicative/Builder.hs
+formatted       3b7cd87bcf64  optparse-applicative-0.19.0.0/src/Options/Applicative/Builder/Completer.hs
+formatted       beef9881d598  optparse-applicative-0.19.0.0/src/Options/Applicative/Builder/Internal.hs
+formatted       bbab0cdce26c  optparse-applicative-0.19.0.0/src/Options/Applicative/Common.hs
+formatted       426aa6d2ff7b  optparse-applicative-0.19.0.0/src/Options/Applicative/Extra.hs
+formatted       718284a6f1d3  optparse-applicative-0.19.0.0/src/Options/Applicative/Help.hs
+formatted       eba6116d2122  optparse-applicative-0.19.0.0/src/Options/Applicative/Help/Chunk.hs
+formatted       5d32f81b7613  optparse-applicative-0.19.0.0/src/Options/Applicative/Help/Core.hs
+formatted       5c705b8918c1  optparse-applicative-0.19.0.0/src/Options/Applicative/Help/Levenshtein.hs
+formatted       21addc49b466  optparse-applicative-0.19.0.0/src/Options/Applicative/Help/Pretty.hs
+formatted       e9e0e7d27269  optparse-applicative-0.19.0.0/src/Options/Applicative/Help/Types.hs
+formatted       b6a0d7346f3f  optparse-applicative-0.19.0.0/src/Options/Applicative/Internal.hs
+formatted       57900fd51a50  optparse-applicative-0.19.0.0/src/Options/Applicative/NonEmpty.hs
+formatted       b64f8e24e026  optparse-applicative-0.19.0.0/src/Options/Applicative/Types.hs
+formatted       1e055701c745  optparse-applicative-0.19.0.0/tests/Examples/Alternatives.hs
+formatted       1686b7725988  optparse-applicative-0.19.0.0/tests/Examples/Cabal.hs
+formatted       1318bb829ee9  optparse-applicative-0.19.0.0/tests/Examples/Commands.hs
+formatted       debe76baa0f8  optparse-applicative-0.19.0.0/tests/Examples/Formatting.hs
+formatted       7be6c041da61  optparse-applicative-0.19.0.0/tests/Examples/Hello.hs
+formatted       dc0f1055ea3d  optparse-applicative-0.19.0.0/tests/Examples/LongSub.hs
+formatted       1ad844869ec0  optparse-applicative-0.19.0.0/tests/Examples/ParserGroup/AllGrouped.hs
+formatted       a31c6221cc09  optparse-applicative-0.19.0.0/tests/Examples/ParserGroup/Basic.hs
+formatted       737a1046383e  optparse-applicative-0.19.0.0/tests/Examples/ParserGroup/CommandGroups.hs
+formatted       8afee636bb34  optparse-applicative-0.19.0.0/tests/Examples/ParserGroup/DuplicateCommandGroups.hs
+formatted       78cdb59cdf40  optparse-applicative-0.19.0.0/tests/Examples/ParserGroup/Duplicates.hs
+formatted       844f78a782b7  optparse-applicative-0.19.0.0/tests/Examples/ParserGroup/Nested.hs
+formatted       7e2ac671e713  optparse-applicative-0.19.0.0/tests/test.hs
+formatted       dd033f5d379f  pandoc-3.10.2/benchmark/benchmark-pandoc.hs
+formatted       d8173b04ccc8  pandoc-3.10.2/src/Text/Pandoc.hs
+formatted       0967a9069d85  pandoc-3.10.2/src/Text/Pandoc/App.hs
+formatted       e17a4ee0f79f  pandoc-3.10.2/src/Text/Pandoc/App/CommandLineOptions.hs
+formatted       fc465b805b30  pandoc-3.10.2/src/Text/Pandoc/App/Input.hs
+formatted       1acf45d3e629  pandoc-3.10.2/src/Text/Pandoc/App/Opt.hs
+formatted       ace03bdcf542  pandoc-3.10.2/src/Text/Pandoc/App/OutputSettings.hs
+formatted       db57f85e3372  pandoc-3.10.2/src/Text/Pandoc/Asciify.hs
+formatted       43ac54830dad  pandoc-3.10.2/src/Text/Pandoc/CSS.hs
+formatted       4446042fae10  pandoc-3.10.2/src/Text/Pandoc/CSV.hs
+formatted       bcc782345064  pandoc-3.10.2/src/Text/Pandoc/Char.hs
+formatted       611ecbf1580e  pandoc-3.10.2/src/Text/Pandoc/Chunks.hs
+formatted       63543c40cf0d  pandoc-3.10.2/src/Text/Pandoc/Citeproc.hs
+formatted       b938545f5416  pandoc-3.10.2/src/Text/Pandoc/Citeproc/BibTeX.hs
+formatted       32a435d9dfd7  pandoc-3.10.2/src/Text/Pandoc/Citeproc/CslJson.hs
+formatted       f09523742050  pandoc-3.10.2/src/Text/Pandoc/Citeproc/Data.hs
+formatted       8ca4db728cec  pandoc-3.10.2/src/Text/Pandoc/Citeproc/Locator.hs
+formatted       653e3c861cd5  pandoc-3.10.2/src/Text/Pandoc/Citeproc/MetaValue.hs
+formatted       58d768812355  pandoc-3.10.2/src/Text/Pandoc/Citeproc/Name.hs
+formatted       87e18f26b948  pandoc-3.10.2/src/Text/Pandoc/Citeproc/Util.hs
+formatted       5cc176c5626c  pandoc-3.10.2/src/Text/Pandoc/Class.hs
+formatted       da1e83a0186a  pandoc-3.10.2/src/Text/Pandoc/Class/CommonState.hs
+formatted       66b7247b752b  pandoc-3.10.2/src/Text/Pandoc/Class/IO.hs
+formatted       98c2ba5e4e52  pandoc-3.10.2/src/Text/Pandoc/Class/PandocIO.hs
+formatted       d778bac88d27  pandoc-3.10.2/src/Text/Pandoc/Class/PandocMonad.hs
+formatted       5e6d17c3bfd7  pandoc-3.10.2/src/Text/Pandoc/Class/PandocPure.hs
+formatted       1fe8a533b161  pandoc-3.10.2/src/Text/Pandoc/Class/Sandbox.hs
+formatted       2b76e91896a6  pandoc-3.10.2/src/Text/Pandoc/Data.hs
+formatted       0f4639a7e638  pandoc-3.10.2/src/Text/Pandoc/Data/BakedIn.hs
+formatted       5146cba0c0d8  pandoc-3.10.2/src/Text/Pandoc/Emoji.hs
+formatted       9a008a1427ae  pandoc-3.10.2/src/Text/Pandoc/Error.hs
+formatted       a49df8abcaa6  pandoc-3.10.2/src/Text/Pandoc/Extensions.hs
+formatted       063c7b68c378  pandoc-3.10.2/src/Text/Pandoc/Filter.hs
+formatted       18066a4e102b  pandoc-3.10.2/src/Text/Pandoc/Filter/Environment.hs
+formatted       d77074209b70  pandoc-3.10.2/src/Text/Pandoc/Filter/JSON.hs
+formatted       c128dd01fc68  pandoc-3.10.2/src/Text/Pandoc/Format.hs
+formatted       b0fb3efdbb03  pandoc-3.10.2/src/Text/Pandoc/Highlighting.hs
+formatted       0489cbc71862  pandoc-3.10.2/src/Text/Pandoc/Image.hs
+formatted       b1a3fbb19388  pandoc-3.10.2/src/Text/Pandoc/ImageSize.hs
+formatted       432a3f479744  pandoc-3.10.2/src/Text/Pandoc/Logging.hs
+formatted       fc9f97eaf110  pandoc-3.10.2/src/Text/Pandoc/MIME.hs
+formatted       9ee7c02e474d  pandoc-3.10.2/src/Text/Pandoc/MediaBag.hs
+formatted       6b48c2a02e5f  pandoc-3.10.2/src/Text/Pandoc/Options.hs
+formatted       e5253cf16a66  pandoc-3.10.2/src/Text/Pandoc/PDF.hs
+formatted       e74b1cf1f5f3  pandoc-3.10.2/src/Text/Pandoc/Parsing.hs
+formatted       e25b6489d3f4  pandoc-3.10.2/src/Text/Pandoc/Parsing/Capabilities.hs
+formatted       ad606f50ea7f  pandoc-3.10.2/src/Text/Pandoc/Parsing/Citations.hs
+formatted       5fc7e9d71075  pandoc-3.10.2/src/Text/Pandoc/Parsing/Future.hs
+formatted       8d85531e0cd4  pandoc-3.10.2/src/Text/Pandoc/Parsing/General.hs
+formatted       a37e8981a04d  pandoc-3.10.2/src/Text/Pandoc/Parsing/GridTable.hs
+formatted       5b80e8dad1b6  pandoc-3.10.2/src/Text/Pandoc/Parsing/Lists.hs
+formatted       ba4ba18b0f33  pandoc-3.10.2/src/Text/Pandoc/Parsing/Math.hs
+formatted       d915931edf79  pandoc-3.10.2/src/Text/Pandoc/Parsing/Smart.hs
+formatted       08c13a9bf4e7  pandoc-3.10.2/src/Text/Pandoc/Parsing/State.hs
+formatted       e27f077c249f  pandoc-3.10.2/src/Text/Pandoc/Process.hs
+formatted       44772b2e77ec  pandoc-3.10.2/src/Text/Pandoc/Readers.hs
+formatted       f53abcd5a3da  pandoc-3.10.2/src/Text/Pandoc/Readers/AsciiDoc.hs
+formatted       78cd41edf7a9  pandoc-3.10.2/src/Text/Pandoc/Readers/BibTeX.hs
+formatted       b616604a11ef  pandoc-3.10.2/src/Text/Pandoc/Readers/CSV.hs
+formatted       ef500054b401  pandoc-3.10.2/src/Text/Pandoc/Readers/CommonMark.hs
+formatted       9b0c0f26bf3f  pandoc-3.10.2/src/Text/Pandoc/Readers/Creole.hs
+formatted       4957f2f5c0b1  pandoc-3.10.2/src/Text/Pandoc/Readers/CslJson.hs
+formatted       dfef69c769f4  pandoc-3.10.2/src/Text/Pandoc/Readers/Djot.hs
+formatted       b06a4658a5e3  pandoc-3.10.2/src/Text/Pandoc/Readers/DocBook.hs
+formatted       bbbeb430bf37  pandoc-3.10.2/src/Text/Pandoc/Readers/Docx.hs
+formatted       ad886455c944  pandoc-3.10.2/src/Text/Pandoc/Readers/Docx/Combine.hs
+formatted       26a3a159c91f  pandoc-3.10.2/src/Text/Pandoc/Readers/Docx/Fields.hs
+formatted       adf951d4c75d  pandoc-3.10.2/src/Text/Pandoc/Readers/Docx/Lists.hs
+formatted       669500598d50  pandoc-3.10.2/src/Text/Pandoc/Readers/Docx/Parse.hs
+formatted       d8884b7f5537  pandoc-3.10.2/src/Text/Pandoc/Readers/Docx/Parse/Styles.hs
+formatted       7d8a172299ea  pandoc-3.10.2/src/Text/Pandoc/Readers/Docx/Symbols.hs
+formatted       c7b470060db1  pandoc-3.10.2/src/Text/Pandoc/Readers/Docx/Util.hs
+formatted       0081516daea9  pandoc-3.10.2/src/Text/Pandoc/Readers/DokuWiki.hs
+formatted       e34fe72f2e7b  pandoc-3.10.2/src/Text/Pandoc/Readers/EPUB.hs
+formatted       6132f15d0483  pandoc-3.10.2/src/Text/Pandoc/Readers/EndNote.hs
+formatted       554be45ff74a  pandoc-3.10.2/src/Text/Pandoc/Readers/FB2.hs
+formatted       3db29fa09f32  pandoc-3.10.2/src/Text/Pandoc/Readers/HTML.hs
+formatted       902b4bc88dec  pandoc-3.10.2/src/Text/Pandoc/Readers/HTML/Parsing.hs
+formatted       8852ea81bb8a  pandoc-3.10.2/src/Text/Pandoc/Readers/HTML/Table.hs
+formatted       a74823050c91  pandoc-3.10.2/src/Text/Pandoc/Readers/HTML/TagCategories.hs
+formatted       cb9318a7ef85  pandoc-3.10.2/src/Text/Pandoc/Readers/HTML/Types.hs
+formatted       dc6f53b3da27  pandoc-3.10.2/src/Text/Pandoc/Readers/Haddock.hs
+formatted       07e8965c7e46  pandoc-3.10.2/src/Text/Pandoc/Readers/Ipynb.hs
+formatted       c75259e14102  pandoc-3.10.2/src/Text/Pandoc/Readers/JATS.hs
+formatted       526b4d98e613  pandoc-3.10.2/src/Text/Pandoc/Readers/Jira.hs
+formatted       fa61cb8a1aed  pandoc-3.10.2/src/Text/Pandoc/Readers/LaTeX.hs
+formatted       15d0d2f0fdf7  pandoc-3.10.2/src/Text/Pandoc/Readers/LaTeX/Citation.hs
+formatted       a4c5fa2fecb7  pandoc-3.10.2/src/Text/Pandoc/Readers/LaTeX/Inline.hs
+formatted       1f6d1c719f51  pandoc-3.10.2/src/Text/Pandoc/Readers/LaTeX/Lang.hs
+formatted       d60f7fb95d71  pandoc-3.10.2/src/Text/Pandoc/Readers/LaTeX/Macro.hs
+formatted       ab8331f7b5bf  pandoc-3.10.2/src/Text/Pandoc/Readers/LaTeX/Math.hs
+formatted       9132f75f347b  pandoc-3.10.2/src/Text/Pandoc/Readers/LaTeX/Parsing.hs
+formatted       c11b42f96e8b  pandoc-3.10.2/src/Text/Pandoc/Readers/LaTeX/SIunitx.hs
+formatted       cebf562ed102  pandoc-3.10.2/src/Text/Pandoc/Readers/LaTeX/Table.hs
+formatted       68a809d087f0  pandoc-3.10.2/src/Text/Pandoc/Readers/Man.hs
+formatted       313df784740f  pandoc-3.10.2/src/Text/Pandoc/Readers/Markdown.hs
+formatted       01aeadaa1610  pandoc-3.10.2/src/Text/Pandoc/Readers/Mdoc.hs
+formatted       045690d9e5cd  pandoc-3.10.2/src/Text/Pandoc/Readers/Mdoc/Lex.hs
+formatted       b19f7b09e19a  pandoc-3.10.2/src/Text/Pandoc/Readers/Mdoc/Macros.hs
+formatted       284c07592f2d  pandoc-3.10.2/src/Text/Pandoc/Readers/Mdoc/Standards.hs
+formatted       dcb8a959bbe0  pandoc-3.10.2/src/Text/Pandoc/Readers/MediaWiki.hs
+formatted       3f9d403cf470  pandoc-3.10.2/src/Text/Pandoc/Readers/Metadata.hs
+formatted       2d160561bb90  pandoc-3.10.2/src/Text/Pandoc/Readers/Muse.hs
+formatted       edaa7ad41036  pandoc-3.10.2/src/Text/Pandoc/Readers/Native.hs
+formatted       7b6241711dd2  pandoc-3.10.2/src/Text/Pandoc/Readers/ODT.hs
+formatted       877aae9187f8  pandoc-3.10.2/src/Text/Pandoc/Readers/ODT/Arrows/State.hs
+formatted       43dc62360194  pandoc-3.10.2/src/Text/Pandoc/Readers/ODT/Arrows/Utils.hs
+formatted       27d8125f611b  pandoc-3.10.2/src/Text/Pandoc/Readers/ODT/Base.hs
+formatted       5a476a4da008  pandoc-3.10.2/src/Text/Pandoc/Readers/ODT/ContentReader.hs
+formatted       2d4365cd97fd  pandoc-3.10.2/src/Text/Pandoc/Readers/ODT/Generic/Fallible.hs
+formatted       a57274f00683  pandoc-3.10.2/src/Text/Pandoc/Readers/ODT/Generic/Namespaces.hs
+formatted       ee3f9dda317c  pandoc-3.10.2/src/Text/Pandoc/Readers/ODT/Generic/SetMap.hs
+formatted       b2f8ced31c1f  pandoc-3.10.2/src/Text/Pandoc/Readers/ODT/Generic/Utils.hs
+formatted       7b2d2359e505  pandoc-3.10.2/src/Text/Pandoc/Readers/ODT/Generic/XMLConverter.hs
+formatted       cddd60374f81  pandoc-3.10.2/src/Text/Pandoc/Readers/ODT/Namespaces.hs
+formatted       6ac8888d0a25  pandoc-3.10.2/src/Text/Pandoc/Readers/ODT/StyleReader.hs
+formatted       b19e4b10a0ff  pandoc-3.10.2/src/Text/Pandoc/Readers/OOXML/Shared.hs
+formatted       2bebb48e61bb  pandoc-3.10.2/src/Text/Pandoc/Readers/OPML.hs
+formatted       13941ee2e3fc  pandoc-3.10.2/src/Text/Pandoc/Readers/Org.hs
+formatted       f131e736ce9e  pandoc-3.10.2/src/Text/Pandoc/Readers/Org/BlockStarts.hs
+formatted       b4a74e8852d6  pandoc-3.10.2/src/Text/Pandoc/Readers/Org/Blocks.hs
+formatted       c57759098128  pandoc-3.10.2/src/Text/Pandoc/Readers/Org/DocumentTree.hs
+formatted       9ef2ae5136dc  pandoc-3.10.2/src/Text/Pandoc/Readers/Org/ExportSettings.hs
+formatted       b58bf6a4cf57  pandoc-3.10.2/src/Text/Pandoc/Readers/Org/Inlines.hs
+formatted       18af177e69bd  pandoc-3.10.2/src/Text/Pandoc/Readers/Org/Meta.hs
+formatted       024f6b74cf1c  pandoc-3.10.2/src/Text/Pandoc/Readers/Org/ParserState.hs
+formatted       49b0e7a35057  pandoc-3.10.2/src/Text/Pandoc/Readers/Org/Parsing.hs
+formatted       1ad4241977e3  pandoc-3.10.2/src/Text/Pandoc/Readers/Org/Shared.hs
+formatted       88834bc53f4c  pandoc-3.10.2/src/Text/Pandoc/Readers/Pod.hs
+formatted       db36fcbf153e  pandoc-3.10.2/src/Text/Pandoc/Readers/Pptx.hs
+formatted       0665d97b9a3f  pandoc-3.10.2/src/Text/Pandoc/Readers/Pptx/Parse.hs
+formatted       f06973ef3c80  pandoc-3.10.2/src/Text/Pandoc/Readers/Pptx/Shapes.hs
+formatted       d96411334d0e  pandoc-3.10.2/src/Text/Pandoc/Readers/Pptx/Slides.hs
+formatted       80f1827ec044  pandoc-3.10.2/src/Text/Pandoc/Readers/Pptx/SmartArt.hs
+formatted       949cf0eba607  pandoc-3.10.2/src/Text/Pandoc/Readers/RIS.hs
+formatted       8cc6109e194f  pandoc-3.10.2/src/Text/Pandoc/Readers/RST.hs
+formatted       7281e1ef3836  pandoc-3.10.2/src/Text/Pandoc/Readers/RTF.hs
+formatted       a652abcdd325  pandoc-3.10.2/src/Text/Pandoc/Readers/Roff.hs
+formatted       c1bad0fa6195  pandoc-3.10.2/src/Text/Pandoc/Readers/Roff/Escape.hs
+formatted       e547b73d5c2c  pandoc-3.10.2/src/Text/Pandoc/Readers/TWiki.hs
+formatted       fd6e3afbba76  pandoc-3.10.2/src/Text/Pandoc/Readers/Textile.hs
+formatted       205b6bf466c0  pandoc-3.10.2/src/Text/Pandoc/Readers/TikiWiki.hs
+formatted       7969967a20d5  pandoc-3.10.2/src/Text/Pandoc/Readers/Txt2Tags.hs
+formatted       13665610ce5e  pandoc-3.10.2/src/Text/Pandoc/Readers/Typst.hs
+formatted       20ab4b1886d5  pandoc-3.10.2/src/Text/Pandoc/Readers/Typst/Math.hs
+formatted       de4d830768f8  pandoc-3.10.2/src/Text/Pandoc/Readers/Typst/Parsing.hs
+formatted       88c36b5eb3f3  pandoc-3.10.2/src/Text/Pandoc/Readers/Vimwiki.hs
+formatted       02bc6bc568be  pandoc-3.10.2/src/Text/Pandoc/Readers/XML.hs
+formatted       4b36ce6e3b18  pandoc-3.10.2/src/Text/Pandoc/Readers/Xlsx.hs
+formatted       e3d74509c382  pandoc-3.10.2/src/Text/Pandoc/Readers/Xlsx/Cells.hs
+formatted       36005196e267  pandoc-3.10.2/src/Text/Pandoc/Readers/Xlsx/Parse.hs
+formatted       7856717ca109  pandoc-3.10.2/src/Text/Pandoc/Readers/Xlsx/Sheets.hs
+formatted       5ca01792df06  pandoc-3.10.2/src/Text/Pandoc/RoffChar.hs
+formatted       2694586f6d4c  pandoc-3.10.2/src/Text/Pandoc/Scripting.hs
+formatted       9e7358a8864d  pandoc-3.10.2/src/Text/Pandoc/SelfContained.hs
+formatted       ce9293682d87  pandoc-3.10.2/src/Text/Pandoc/Shared.hs
+formatted       0584f87b1c2b  pandoc-3.10.2/src/Text/Pandoc/Slides.hs
+formatted       6af0809cd87d  pandoc-3.10.2/src/Text/Pandoc/Sources.hs
+formatted       958a2d5d9a30  pandoc-3.10.2/src/Text/Pandoc/TeX.hs
+formatted       f19c0a1630f0  pandoc-3.10.2/src/Text/Pandoc/Templates.hs
+formatted       67adf79fb08b  pandoc-3.10.2/src/Text/Pandoc/Transforms.hs
+formatted       77c51e3ee30c  pandoc-3.10.2/src/Text/Pandoc/Translations.hs
+formatted       4c2255606e11  pandoc-3.10.2/src/Text/Pandoc/Translations/Types.hs
+formatted       3ad13db39729  pandoc-3.10.2/src/Text/Pandoc/URI.hs
+formatted       f6823cb8b9cf  pandoc-3.10.2/src/Text/Pandoc/UTF8.hs
+formatted       44753b3f46d6  pandoc-3.10.2/src/Text/Pandoc/UUID.hs
+formatted       cf1d2fb87714  pandoc-3.10.2/src/Text/Pandoc/Version.hs
+formatted       a1396fd2a6d9  pandoc-3.10.2/src/Text/Pandoc/Writers.hs
+formatted       b4f58608111f  pandoc-3.10.2/src/Text/Pandoc/Writers/ANSI.hs
+formatted       ecc07db9dd52  pandoc-3.10.2/src/Text/Pandoc/Writers/AnnotatedTable.hs
+formatted       5d0ecbfe6a1c  pandoc-3.10.2/src/Text/Pandoc/Writers/AsciiDoc.hs
+formatted       a20ea2cf0fb4  pandoc-3.10.2/src/Text/Pandoc/Writers/BBCode.hs
+formatted       f71a7ead2714  pandoc-3.10.2/src/Text/Pandoc/Writers/BibTeX.hs
+formatted       04407f81975a  pandoc-3.10.2/src/Text/Pandoc/Writers/Blaze.hs
+formatted       38e83c2ade54  pandoc-3.10.2/src/Text/Pandoc/Writers/ChunkedHTML.hs
+formatted       936b3d7e333a  pandoc-3.10.2/src/Text/Pandoc/Writers/CommonMark.hs
+formatted       e57c6b1b0e80  pandoc-3.10.2/src/Text/Pandoc/Writers/ConTeXt.hs
+formatted       b031f2bac38f  pandoc-3.10.2/src/Text/Pandoc/Writers/CslJson.hs
+formatted       a553ab05ef2c  pandoc-3.10.2/src/Text/Pandoc/Writers/Djot.hs
+formatted       2f623da7899e  pandoc-3.10.2/src/Text/Pandoc/Writers/DocBook.hs
+formatted       ba95832717e9  pandoc-3.10.2/src/Text/Pandoc/Writers/Docx.hs
+formatted       970f6b9141f3  pandoc-3.10.2/src/Text/Pandoc/Writers/Docx/OpenXML.hs
+formatted       ed5cd1e3efcc  pandoc-3.10.2/src/Text/Pandoc/Writers/Docx/StyleMap.hs
+formatted       399cdb075608  pandoc-3.10.2/src/Text/Pandoc/Writers/Docx/Table.hs
+formatted       4100aea59a6c  pandoc-3.10.2/src/Text/Pandoc/Writers/Docx/Types.hs
+formatted       d56a77c0720a  pandoc-3.10.2/src/Text/Pandoc/Writers/DokuWiki.hs
+formatted       90b84ba2e961  pandoc-3.10.2/src/Text/Pandoc/Writers/EPUB.hs
+formatted       e98ec0e83232  pandoc-3.10.2/src/Text/Pandoc/Writers/FB2.hs
+formatted       b873f67c729b  pandoc-3.10.2/src/Text/Pandoc/Writers/GridTable.hs
+formatted       fbe463d0abb8  pandoc-3.10.2/src/Text/Pandoc/Writers/HTML.hs
+formatted       e8aa1255149f  pandoc-3.10.2/src/Text/Pandoc/Writers/Haddock.hs
+formatted       71bfe52968b0  pandoc-3.10.2/src/Text/Pandoc/Writers/ICML.hs
+formatted       3bc1b4ee92b9  pandoc-3.10.2/src/Text/Pandoc/Writers/Ipynb.hs
+formatted       db8131eb833d  pandoc-3.10.2/src/Text/Pandoc/Writers/JATS.hs
+formatted       b51cb56501d1  pandoc-3.10.2/src/Text/Pandoc/Writers/JATS/References.hs
+formatted       6575971fd56b  pandoc-3.10.2/src/Text/Pandoc/Writers/JATS/Table.hs
+formatted       f09aea336347  pandoc-3.10.2/src/Text/Pandoc/Writers/JATS/Types.hs
+formatted       9c4fd8d69644  pandoc-3.10.2/src/Text/Pandoc/Writers/Jira.hs
+formatted       18522c973484  pandoc-3.10.2/src/Text/Pandoc/Writers/LaTeX.hs
+formatted       4ffcc05bc7cd  pandoc-3.10.2/src/Text/Pandoc/Writers/LaTeX/Caption.hs
+formatted       0d818aea41ba  pandoc-3.10.2/src/Text/Pandoc/Writers/LaTeX/Citation.hs
+formatted       c89a22c05cd3  pandoc-3.10.2/src/Text/Pandoc/Writers/LaTeX/Lang.hs
+formatted       cefb592ed77a  pandoc-3.10.2/src/Text/Pandoc/Writers/LaTeX/Notes.hs
+formatted       05ed8f9cca45  pandoc-3.10.2/src/Text/Pandoc/Writers/LaTeX/Table.hs
+formatted       08bee6d04ac9  pandoc-3.10.2/src/Text/Pandoc/Writers/LaTeX/Types.hs
+formatted       f2a04cf48b88  pandoc-3.10.2/src/Text/Pandoc/Writers/LaTeX/Util.hs
+formatted       bc55ec994ff3  pandoc-3.10.2/src/Text/Pandoc/Writers/Man.hs
+formatted       d93c668fb8f0  pandoc-3.10.2/src/Text/Pandoc/Writers/Markdown.hs
+formatted       0de465f1022d  pandoc-3.10.2/src/Text/Pandoc/Writers/Markdown/Inline.hs
+formatted       6981c36e892e  pandoc-3.10.2/src/Text/Pandoc/Writers/Markdown/Table.hs
+formatted       6ddfa12ac422  pandoc-3.10.2/src/Text/Pandoc/Writers/Markdown/Types.hs
+formatted       5500e993fc3d  pandoc-3.10.2/src/Text/Pandoc/Writers/Math.hs
+formatted       425578edc56e  pandoc-3.10.2/src/Text/Pandoc/Writers/MediaWiki.hs
+formatted       ab4356fb1388  pandoc-3.10.2/src/Text/Pandoc/Writers/Ms.hs
+formatted       65cbb3f7ea7f  pandoc-3.10.2/src/Text/Pandoc/Writers/Muse.hs
+formatted       fb38e6d0acb6  pandoc-3.10.2/src/Text/Pandoc/Writers/Native.hs
+formatted       78a8f27b4edb  pandoc-3.10.2/src/Text/Pandoc/Writers/ODT.hs
+formatted       f3e98130998b  pandoc-3.10.2/src/Text/Pandoc/Writers/OOXML.hs
+formatted       8bdb91d5ea9a  pandoc-3.10.2/src/Text/Pandoc/Writers/OPML.hs
+formatted       e617b9c68fd3  pandoc-3.10.2/src/Text/Pandoc/Writers/OpenDocument.hs
+formatted       2be58ad53d02  pandoc-3.10.2/src/Text/Pandoc/Writers/Org.hs
+formatted       31c168ba9518  pandoc-3.10.2/src/Text/Pandoc/Writers/Powerpoint.hs
+formatted       ed3d46e4df66  pandoc-3.10.2/src/Text/Pandoc/Writers/Powerpoint/Output.hs
+formatted       b13a0a5f76bb  pandoc-3.10.2/src/Text/Pandoc/Writers/Powerpoint/Presentation.hs
+formatted       d681371f7475  pandoc-3.10.2/src/Text/Pandoc/Writers/RST.hs
+formatted       5b1d74e17b9e  pandoc-3.10.2/src/Text/Pandoc/Writers/RTF.hs
+formatted       b936e3b82dc3  pandoc-3.10.2/src/Text/Pandoc/Writers/Roff.hs
+formatted       3d353e578b57  pandoc-3.10.2/src/Text/Pandoc/Writers/Shared.hs
+formatted       7517134c89be  pandoc-3.10.2/src/Text/Pandoc/Writers/TEI.hs
+formatted       07d897aa0dec  pandoc-3.10.2/src/Text/Pandoc/Writers/Texinfo.hs
+formatted       c2b941cffdf3  pandoc-3.10.2/src/Text/Pandoc/Writers/Textile.hs
+formatted       aff6176f1b42  pandoc-3.10.2/src/Text/Pandoc/Writers/Txt2Tags.hs
+formatted       c6dcfd8289e6  pandoc-3.10.2/src/Text/Pandoc/Writers/Typst.hs
+formatted       1a7ec612ba57  pandoc-3.10.2/src/Text/Pandoc/Writers/Vimdoc.hs
+formatted       82062b67b7d6  pandoc-3.10.2/src/Text/Pandoc/Writers/XML.hs
+formatted       5a06ac7e6b58  pandoc-3.10.2/src/Text/Pandoc/Writers/XWiki.hs
+formatted       bdb58930352c  pandoc-3.10.2/src/Text/Pandoc/Writers/ZimWiki.hs
+formatted       aaa41d795e41  pandoc-3.10.2/src/Text/Pandoc/XML.hs
+formatted       ec15205914fc  pandoc-3.10.2/src/Text/Pandoc/XMLFormat.hs
+formatted       5554fb72705e  pandoc-3.10.2/test/Tests/Command.hs
+formatted       e83bf1e45f8f  pandoc-3.10.2/test/Tests/Helpers.hs
+formatted       7ac8173bfdc0  pandoc-3.10.2/test/Tests/MediaBag.hs
+formatted       be0db495edef  pandoc-3.10.2/test/Tests/Old.hs
+formatted       1f5ecec0ff74  pandoc-3.10.2/test/Tests/Readers/Creole.hs
+formatted       fa8ac49e851b  pandoc-3.10.2/test/Tests/Readers/Docx.hs
+formatted       7a65437e40cc  pandoc-3.10.2/test/Tests/Readers/DokuWiki.hs
+formatted       c3c7988971cb  pandoc-3.10.2/test/Tests/Readers/EPUB.hs
+formatted       a67a96cbc96b  pandoc-3.10.2/test/Tests/Readers/FB2.hs
+formatted       8ae819f3df80  pandoc-3.10.2/test/Tests/Readers/HTML.hs
+formatted       9246233951ad  pandoc-3.10.2/test/Tests/Readers/JATS.hs
+formatted       257150d2afa1  pandoc-3.10.2/test/Tests/Readers/Jira.hs
+formatted       01f06b9e11d7  pandoc-3.10.2/test/Tests/Readers/LaTeX.hs
+formatted       5a1f87db2be4  pandoc-3.10.2/test/Tests/Readers/Man.hs
+formatted       cd56f7479c75  pandoc-3.10.2/test/Tests/Readers/Markdown.hs
+formatted       433cc230981f  pandoc-3.10.2/test/Tests/Readers/Mdoc.hs
+formatted       980349b36d33  pandoc-3.10.2/test/Tests/Readers/Muse.hs
+formatted       274cd009ff64  pandoc-3.10.2/test/Tests/Readers/ODT.hs
+formatted       79285df326d9  pandoc-3.10.2/test/Tests/Readers/Org.hs
+formatted       daebd932b4a9  pandoc-3.10.2/test/Tests/Readers/Org/Block.hs
+formatted       18118782304f  pandoc-3.10.2/test/Tests/Readers/Org/Block/CodeBlock.hs
+formatted       a51abd18659a  pandoc-3.10.2/test/Tests/Readers/Org/Block/Figure.hs
+formatted       13ac55124f52  pandoc-3.10.2/test/Tests/Readers/Org/Block/Header.hs
+formatted       d097ec44a3a5  pandoc-3.10.2/test/Tests/Readers/Org/Block/List.hs
+formatted       ea4ee5892b6e  pandoc-3.10.2/test/Tests/Readers/Org/Block/Table.hs
+formatted       5f942eb0befa  pandoc-3.10.2/test/Tests/Readers/Org/Directive.hs
+formatted       9dc2178a352e  pandoc-3.10.2/test/Tests/Readers/Org/Inline.hs
+formatted       f6a078ef2feb  pandoc-3.10.2/test/Tests/Readers/Org/Inline/Citation.hs
+formatted       01b4e2a523f3  pandoc-3.10.2/test/Tests/Readers/Org/Inline/Note.hs
+formatted       770bbdfb001d  pandoc-3.10.2/test/Tests/Readers/Org/Inline/Smart.hs
+formatted       5f3b18c4b9f0  pandoc-3.10.2/test/Tests/Readers/Org/Meta.hs
+formatted       ab4e5441057f  pandoc-3.10.2/test/Tests/Readers/Org/Shared.hs
+formatted       0ad3bcfb6dda  pandoc-3.10.2/test/Tests/Readers/Pod.hs
+formatted       563ebbc41fd6  pandoc-3.10.2/test/Tests/Readers/Pptx.hs
+formatted       14b63dd69c52  pandoc-3.10.2/test/Tests/Readers/RST.hs
+formatted       96e1c0f60c2d  pandoc-3.10.2/test/Tests/Readers/RTF.hs
+formatted       a08e82e2e66d  pandoc-3.10.2/test/Tests/Readers/Txt2Tags.hs
+formatted       ffd1fe6682bc  pandoc-3.10.2/test/Tests/Readers/Xlsx.hs
+formatted       1b799007d726  pandoc-3.10.2/test/Tests/Shared.hs
+formatted       1f6663feef03  pandoc-3.10.2/test/Tests/Writers/AnnotatedTable.hs
+formatted       51e08384bb4f  pandoc-3.10.2/test/Tests/Writers/AsciiDoc.hs
+formatted       e0fd36ff91ba  pandoc-3.10.2/test/Tests/Writers/BBCode.hs
+formatted       d2178f793d75  pandoc-3.10.2/test/Tests/Writers/ConTeXt.hs
+formatted       395f902a399b  pandoc-3.10.2/test/Tests/Writers/DocBook.hs
+formatted       d2981743c60e  pandoc-3.10.2/test/Tests/Writers/Docx.hs
+formatted       6c7bcfbddea1  pandoc-3.10.2/test/Tests/Writers/FB2.hs
+formatted       2429c1e05a5c  pandoc-3.10.2/test/Tests/Writers/HTML.hs
+formatted       bf77f85aec04  pandoc-3.10.2/test/Tests/Writers/JATS.hs
+formatted       87937773dbc9  pandoc-3.10.2/test/Tests/Writers/Jira.hs
+formatted       b0b67d67a97d  pandoc-3.10.2/test/Tests/Writers/LaTeX.hs
+formatted       e0d8f9a1e2e1  pandoc-3.10.2/test/Tests/Writers/Markdown.hs
+formatted       0398d0b6c117  pandoc-3.10.2/test/Tests/Writers/Markua.hs
+formatted       1ba3f99c7985  pandoc-3.10.2/test/Tests/Writers/Ms.hs
+formatted       ac44d5019655  pandoc-3.10.2/test/Tests/Writers/Muse.hs
+formatted       9eba4818b5d9  pandoc-3.10.2/test/Tests/Writers/Native.hs
+formatted       ff3fbdd87708  pandoc-3.10.2/test/Tests/Writers/OOXML.hs
+formatted       5680af4d719c  pandoc-3.10.2/test/Tests/Writers/Org.hs
+formatted       bfb46136a66c  pandoc-3.10.2/test/Tests/Writers/Plain.hs
+formatted       d86026d63c7a  pandoc-3.10.2/test/Tests/Writers/Powerpoint.hs
+formatted       d93de38f4141  pandoc-3.10.2/test/Tests/Writers/RST.hs
+formatted       174264fdd3c2  pandoc-3.10.2/test/Tests/Writers/TEI.hs
+formatted       bd1a29bed878  pandoc-3.10.2/test/Tests/Writers/Txt2Tags.hs
+formatted       248b694ae5f3  pandoc-3.10.2/test/Tests/XML.hs
+formatted       16057c777a9d  pandoc-3.10.2/test/command/3510-src.hs
+formatted       3f023b0abbe3  pandoc-3.10.2/test/command/6466-beg.hs
+formatted       06289f98fcac  pandoc-3.10.2/test/command/6466-end.hs
+formatted       546301610b9b  pandoc-3.10.2/test/command/6466-mid.hs
+formatted       b6f515e00962  pandoc-3.10.2/test/command/6466-whole.hs
+formatted       ead26be96704  pandoc-3.10.2/test/test-pandoc.hs
+formatted       a4046691a1ad  pandoc-3.10.2/xml-light/Text/Pandoc/XML/Light.hs
+formatted       59ad9af30ed2  pandoc-3.10.2/xml-light/Text/Pandoc/XML/Light/Output.hs
+formatted       a7d437754fb4  pandoc-3.10.2/xml-light/Text/Pandoc/XML/Light/Proc.hs
+formatted       c8f265a505ec  pandoc-3.10.2/xml-light/Text/Pandoc/XML/Light/Types.hs
+formatted       e865ae48f11b  pandoc-types-1.23.1.2/Setup.hs
+formatted       4fe7a1f58bdb  pandoc-types-1.23.1.2/benchmark/bench.hs
+formatted       8941033cc8b8  pandoc-types-1.23.1.2/src/Text/Pandoc/Arbitrary.hs
+formatted       e0212921955c  pandoc-types-1.23.1.2/src/Text/Pandoc/Builder.hs
+formatted       ba4326d37161  pandoc-types-1.23.1.2/src/Text/Pandoc/Definition.hs
+formatted       42a13347f367  pandoc-types-1.23.1.2/src/Text/Pandoc/Generic.hs
+formatted       0434f6dbdb7c  pandoc-types-1.23.1.2/src/Text/Pandoc/JSON.hs
+formatted       f6869fe418cb  pandoc-types-1.23.1.2/src/Text/Pandoc/Walk.hs
+formatted       8c83a42b4653  pandoc-types-1.23.1.2/test/Data/String/QQ.hs
+formatted       f05f7d2ff5ee  pandoc-types-1.23.1.2/test/test-pandoc-types.hs
+formatted       7474b7e1d4f5  parsec3-1.0.1.8/Setup.hs
+formatted       ce4ed6bc8246  parsec3-1.0.1.8/Text/Parsec.hs
+formatted       5f9c7c105840  parsec3-1.0.1.8/Text/Parsec/ByteString.hs
+formatted       77223570e224  parsec3-1.0.1.8/Text/Parsec/ByteString/Lazy.hs
+formatted       1615926c36e0  parsec3-1.0.1.8/Text/Parsec/Char.hs
+formatted       64cd250cafe9  parsec3-1.0.1.8/Text/Parsec/Combinator.hs
+formatted       11a3b9164704  parsec3-1.0.1.8/Text/Parsec/Error.hs
+formatted       a3a2d765ebba  parsec3-1.0.1.8/Text/Parsec/Expr.hs
+formatted       ec08378f2fab  parsec3-1.0.1.8/Text/Parsec/Language.hs
+formatted       b12c84d282be  parsec3-1.0.1.8/Text/Parsec/Perm.hs
+formatted       2a66dd9128fb  parsec3-1.0.1.8/Text/Parsec/Pos.hs
+formatted       60cf1487da64  parsec3-1.0.1.8/Text/Parsec/Prim.hs
+formatted       bb3c464d258b  parsec3-1.0.1.8/Text/Parsec/String.hs
+formatted       ad28b8cf7737  parsec3-1.0.1.8/Text/Parsec/Text.hs
+formatted       4db3a2a5cfea  parsec3-1.0.1.8/Text/Parsec/Text/Lazy.hs
+formatted       7b4f692be1ea  parsec3-1.0.1.8/Text/Parsec/Token.hs
+formatted       71fd351ef0bf  parser-combinators-1.3.1/Control/Applicative/Combinators.hs
+formatted       1c65f0335e1e  parser-combinators-1.3.1/Control/Applicative/Combinators/NonEmpty.hs
+formatted       a61c51be20f0  parser-combinators-1.3.1/Control/Applicative/Permutations.hs
+formatted       3ab5a9f08b1c  parser-combinators-1.3.1/Control/Monad/Combinators.hs
+formatted       179c79e286ad  parser-combinators-1.3.1/Control/Monad/Combinators/Expr.hs
+formatted       731344a91677  parser-combinators-1.3.1/Control/Monad/Combinators/NonEmpty.hs
+formatted       d94a814960a8  parser-combinators-1.3.1/Control/Monad/Permutations.hs
+formatted       1e3d09cbb1ef  persistent-2.18.1.0/Database/Persist.hs
+formatted       3353d99b62a1  persistent-2.18.1.0/Database/Persist/Class.hs
+formatted       05c8a078f0f9  persistent-2.18.1.0/Database/Persist/Class/PersistConfig.hs
+formatted       615c7e381591  persistent-2.18.1.0/Database/Persist/Class/PersistEntity.hs
+formatted       789af4dede6c  persistent-2.18.1.0/Database/Persist/Class/PersistField.hs
+formatted       0e32f9ad9aee  persistent-2.18.1.0/Database/Persist/Class/PersistQuery.hs
+formatted       afebf97ba4c9  persistent-2.18.1.0/Database/Persist/Class/PersistStore.hs
+formatted       898ebc17370c  persistent-2.18.1.0/Database/Persist/Class/PersistUnique.hs
+formatted       c77d449e2c58  persistent-2.18.1.0/Database/Persist/Compatible.hs
+formatted       3e5eef19e73f  persistent-2.18.1.0/Database/Persist/Compatible/TH.hs
+formatted       0f502b807667  persistent-2.18.1.0/Database/Persist/Compatible/Types.hs
+formatted       81c76f5cbb04  persistent-2.18.1.0/Database/Persist/EntityDef.hs
+formatted       7b427d59632b  persistent-2.18.1.0/Database/Persist/EntityDef/Internal.hs
+formatted       0147ff3ac6dc  persistent-2.18.1.0/Database/Persist/FieldDef.hs
+formatted       7c0ba5eaef31  persistent-2.18.1.0/Database/Persist/FieldDef/Internal.hs
+formatted       232470c3d599  persistent-2.18.1.0/Database/Persist/ImplicitIdDef.hs
+formatted       d40687ec4ca8  persistent-2.18.1.0/Database/Persist/ImplicitIdDef/Internal.hs
+formatted       527d61cc5ce4  persistent-2.18.1.0/Database/Persist/Names.hs
+formatted       4eb31d94a78e  persistent-2.18.1.0/Database/Persist/PersistValue.hs
+formatted       5d8f1f16ae22  persistent-2.18.1.0/Database/Persist/Quasi.hs
+formatted       fa4f2dd0cc6a  persistent-2.18.1.0/Database/Persist/Quasi/Internal.hs
+formatted       34cf10c69a6c  persistent-2.18.1.0/Database/Persist/Quasi/Internal/ModelParser.hs
+formatted       a76530e515cb  persistent-2.18.1.0/Database/Persist/Quasi/Internal/TypeParser.hs
+formatted       7cd23aa2a29d  persistent-2.18.1.0/Database/Persist/Quasi/PersistSettings.hs
+formatted       7b1353d56d83  persistent-2.18.1.0/Database/Persist/Quasi/PersistSettings/Internal.hs
+formatted       7fdbafebb61a  persistent-2.18.1.0/Database/Persist/Sql.hs
+formatted       1e2c3e610934  persistent-2.18.1.0/Database/Persist/Sql/Class.hs
+formatted       bb90da751ce5  persistent-2.18.1.0/Database/Persist/Sql/Internal.hs
+formatted       d07084610231  persistent-2.18.1.0/Database/Persist/Sql/Migration.hs
+formatted       119979017161  persistent-2.18.1.0/Database/Persist/Sql/Orphan/PersistQuery.hs
+formatted       b7fbe5355d9a  persistent-2.18.1.0/Database/Persist/Sql/Orphan/PersistStore.hs
+formatted       cfd33990f11c  persistent-2.18.1.0/Database/Persist/Sql/Orphan/PersistUnique.hs
+formatted       1851ac113a8d  persistent-2.18.1.0/Database/Persist/Sql/Raw.hs
+formatted       76a63febc3bd  persistent-2.18.1.0/Database/Persist/Sql/Run.hs
+formatted       dfc2d3f8389b  persistent-2.18.1.0/Database/Persist/Sql/Types.hs
+formatted       009905825f1c  persistent-2.18.1.0/Database/Persist/Sql/Types/Internal.hs
+formatted       957661658528  persistent-2.18.1.0/Database/Persist/Sql/Util.hs
+formatted       389218912ba7  persistent-2.18.1.0/Database/Persist/SqlBackend.hs
+formatted       8c393bc13cb4  persistent-2.18.1.0/Database/Persist/SqlBackend/Internal.hs
+formatted       2afc793732de  persistent-2.18.1.0/Database/Persist/SqlBackend/Internal/InsertSqlResult.hs
+formatted       0e2d90bf25ac  persistent-2.18.1.0/Database/Persist/SqlBackend/Internal/IsolationLevel.hs
+formatted       31a965f75af9  persistent-2.18.1.0/Database/Persist/SqlBackend/Internal/MkSqlBackend.hs
+formatted       0fdd7e94eabe  persistent-2.18.1.0/Database/Persist/SqlBackend/Internal/SqlPoolHooks.hs
+formatted       17c503359bd2  persistent-2.18.1.0/Database/Persist/SqlBackend/Internal/Statement.hs
+formatted       1aa5aae2d5cd  persistent-2.18.1.0/Database/Persist/SqlBackend/Internal/StatementCache.hs
+formatted       5a61698d0974  persistent-2.18.1.0/Database/Persist/SqlBackend/SqlPoolHooks.hs
+formatted       5d57a3a32faa  persistent-2.18.1.0/Database/Persist/SqlBackend/StatementCache.hs
+formatted       9086a02494ec  persistent-2.18.1.0/Database/Persist/TH.hs
+formatted       aa351673c90c  persistent-2.18.1.0/Database/Persist/TH/Internal.hs
+formatted       0a4848970f3c  persistent-2.18.1.0/Database/Persist/Types.hs
+formatted       add87714d703  persistent-2.18.1.0/Database/Persist/Types/Base.hs
+formatted       2ca8ce577c03  persistent-2.18.1.0/Database/Persist/Types/SourceSpan.hs
+formatted       f395704a8c86  persistent-2.18.1.0/bench/Main.hs
+formatted       d1ed40f9c496  persistent-2.18.1.0/bench/Models.hs
+formatted       953deba1c221  persistent-2.18.1.0/test/Database/Persist/ClassSpec.hs
+formatted       fe3896d3fdee  persistent-2.18.1.0/test/Database/Persist/PersistValueSpec.hs
+formatted       041cf0aa759a  persistent-2.18.1.0/test/Database/Persist/QuasiSpec.hs
+formatted       0a202cbe8433  persistent-2.18.1.0/test/Database/Persist/TH/CommentSpec.hs
+formatted       89b2122f1a1c  persistent-2.18.1.0/test/Database/Persist/TH/CompositeKeyStyleSpec.hs
+formatted       10e24d92a967  persistent-2.18.1.0/test/Database/Persist/TH/DiscoverEntitiesSpec.hs
+formatted       e0ec01c14741  persistent-2.18.1.0/test/Database/Persist/TH/EmbedSpec.hs
+formatted       11b1a68a5dbd  persistent-2.18.1.0/test/Database/Persist/TH/EntityHaddockSpec.hs
+formatted       b377d00417ca  persistent-2.18.1.0/test/Database/Persist/TH/ForeignRefSpec.hs
+formatted       d3007a45686b  persistent-2.18.1.0/test/Database/Persist/TH/ImplicitIdColSpec.hs
+formatted       a515012ecc4b  persistent-2.18.1.0/test/Database/Persist/TH/JsonEncodingSpec.hs
+formatted       3517422b8f81  persistent-2.18.1.0/test/Database/Persist/TH/KindEntitiesSpec.hs
+formatted       bffb81feb292  persistent-2.18.1.0/test/Database/Persist/TH/KindEntitiesSpecImports.hs
+formatted       7ab5b3a761ed  persistent-2.18.1.0/test/Database/Persist/TH/MaybeFieldDefsSpec.hs
+formatted       4aa30c96eef3  persistent-2.18.1.0/test/Database/Persist/TH/MigrationOnlySpec.hs
+formatted       07dfce4f0de0  persistent-2.18.1.0/test/Database/Persist/TH/MultiBlockSpec.hs
+formatted       2e6a8d6f602f  persistent-2.18.1.0/test/Database/Persist/TH/MultiBlockSpec/Model.hs
+formatted       c65e4911d8d0  persistent-2.18.1.0/test/Database/Persist/TH/NestedSymbolsInTypeSpec.hs
+formatted       f78545e06849  persistent-2.18.1.0/test/Database/Persist/TH/NestedSymbolsInTypeSpecImports.hs
+formatted       9e8d8729aedb  persistent-2.18.1.0/test/Database/Persist/TH/NoFieldSelectorsSpec.hs
+formatted       00f129c289b8  persistent-2.18.1.0/test/Database/Persist/TH/OverloadedLabelSpec.hs
+formatted       925297291c6b  persistent-2.18.1.0/test/Database/Persist/TH/PersistWith/Model.hs
+formatted       bc8945ed890c  persistent-2.18.1.0/test/Database/Persist/TH/PersistWith/Model2.hs
+formatted       1e456282dc4a  persistent-2.18.1.0/test/Database/Persist/TH/PersistWithSpec.hs
+formatted       aee1d036f4b4  persistent-2.18.1.0/test/Database/Persist/TH/RequireOnlyPersistImportSpec.hs
+formatted       078af8d61034  persistent-2.18.1.0/test/Database/Persist/TH/SharedPrimaryKeyImportedSpec.hs
+formatted       ebfa2aa434b0  persistent-2.18.1.0/test/Database/Persist/TH/SharedPrimaryKeySpec.hs
+formatted       97046cdd8424  persistent-2.18.1.0/test/Database/Persist/TH/SumSpec.hs
+formatted       0972305de4fd  persistent-2.18.1.0/test/Database/Persist/TH/ToFromPersistValuesSpec.hs
+formatted       47ede8cd0652  persistent-2.18.1.0/test/Database/Persist/TH/TypeLitFieldDefsSpec.hs
+formatted       ef19c46af524  persistent-2.18.1.0/test/Database/Persist/THSpec.hs
+formatted       61dfbb0cf753  persistent-2.18.1.0/test/TemplateTestImports.hs
+formatted       8600f8abb0b1  persistent-2.18.1.0/test/main.hs
+formatted       e865ae48f11b  pipes-4.3.16/Setup.hs
+formatted       248c2d62849f  pipes-4.3.16/benchmarks/Common.hs
+formatted       1e6a416739b5  pipes-4.3.16/benchmarks/LiftBench.hs
+formatted       68a849e41fb9  pipes-4.3.16/benchmarks/PreludeBench.hs
+formatted       f6c2cf691bd5  pipes-4.3.16/src/Pipes.hs
+formatted       7646eaa5edbb  pipes-4.3.16/src/Pipes/Core.hs
+formatted       3637fe6394de  pipes-4.3.16/src/Pipes/Internal.hs
+formatted       f1a05ef4629e  pipes-4.3.16/src/Pipes/Lift.hs
+formatted       286128e19952  pipes-4.3.16/src/Pipes/Prelude.hs
+formatted       7c2206615283  pipes-4.3.16/src/Pipes/Tutorial.hs
+formatted       c786a053a87a  pipes-4.3.16/tests/Main.hs
+formatted       56dca68e0a87  postgrest-9.0.1/Setup.hs
+formatted       d3293c80c6ad  postgrest-9.0.1/main/Main.hs
+formatted       e15c84ee272e  postgrest-9.0.1/src/PostgREST/App.hs
+formatted       54b18fa61771  postgrest-9.0.1/src/PostgREST/AppState.hs
+formatted       46b655fc90e9  postgrest-9.0.1/src/PostgREST/Auth.hs
+formatted       f3d0fa95bb0a  postgrest-9.0.1/src/PostgREST/CLI.hs
+formatted       1ead4123e4e5  postgrest-9.0.1/src/PostgREST/Config.hs
+formatted       8a10aa017431  postgrest-9.0.1/src/PostgREST/Config/Database.hs
+formatted       1e05fcc2a3f1  postgrest-9.0.1/src/PostgREST/Config/JSPath.hs
+formatted       e66766544b95  postgrest-9.0.1/src/PostgREST/Config/PgVersion.hs
+formatted       a35c30ca7407  postgrest-9.0.1/src/PostgREST/Config/Proxy.hs
+formatted       d60f504b1d85  postgrest-9.0.1/src/PostgREST/ContentType.hs
+formatted       07915fd3e427  postgrest-9.0.1/src/PostgREST/Cors.hs
+formatted       23734d314841  postgrest-9.0.1/src/PostgREST/DbStructure.hs
+formatted       4d7f65260e43  postgrest-9.0.1/src/PostgREST/DbStructure/Identifiers.hs
+formatted       31ba29fa7438  postgrest-9.0.1/src/PostgREST/DbStructure/Proc.hs
+formatted       301aa50635eb  postgrest-9.0.1/src/PostgREST/DbStructure/Relationship.hs
+formatted       08818dbb7d76  postgrest-9.0.1/src/PostgREST/DbStructure/Table.hs
+formatted       dcdd03ebc600  postgrest-9.0.1/src/PostgREST/Error.hs
+formatted       3b9dd0cd53d4  postgrest-9.0.1/src/PostgREST/GucHeader.hs
+formatted       4802438cc49a  postgrest-9.0.1/src/PostgREST/Logger.hs
+formatted       6f88f798b3d9  postgrest-9.0.1/src/PostgREST/Middleware.hs
+formatted       6fd7da867c2e  postgrest-9.0.1/src/PostgREST/OpenAPI.hs
+formatted       cb8a0d424c97  postgrest-9.0.1/src/PostgREST/Query/QueryBuilder.hs
+formatted       1679e416794f  postgrest-9.0.1/src/PostgREST/Query/SqlFragment.hs
+formatted       4b4a184fd88a  postgrest-9.0.1/src/PostgREST/Query/Statements.hs
+formatted       2ec6f0d2cd71  postgrest-9.0.1/src/PostgREST/RangeQuery.hs
+formatted       ca8dd9918f30  postgrest-9.0.1/src/PostgREST/Request/ApiRequest.hs
+formatted       566a1a90ef82  postgrest-9.0.1/src/PostgREST/Request/DbRequestBuilder.hs
+formatted       6e21fc7d7dad  postgrest-9.0.1/src/PostgREST/Request/Parsers.hs
+formatted       71f65bf6d35b  postgrest-9.0.1/src/PostgREST/Request/Preferences.hs
+formatted       1f792530f079  postgrest-9.0.1/src/PostgREST/Request/Types.hs
+formatted       b5f39e1f015e  postgrest-9.0.1/src/PostgREST/Unix.hs
+formatted       c82045e4b4c3  postgrest-9.0.1/src/PostgREST/Version.hs
+formatted       e381fc6201fa  postgrest-9.0.1/src/PostgREST/Workers.hs
+formatted       d54c72b8f375  postgrest-9.0.1/test/doc/Main.hs
+formatted       d7038ed2def0  postgrest-9.0.1/test/spec/Feature/AndOrParamsSpec.hs
+formatted       43c9d6c7f5d7  postgrest-9.0.1/test/spec/Feature/AsymmetricJwtSpec.hs
+formatted       cf6cb2b00099  postgrest-9.0.1/test/spec/Feature/AudienceJwtSecretSpec.hs
+formatted       bf76fe2a7b03  postgrest-9.0.1/test/spec/Feature/AuthSpec.hs
+formatted       11b069d71359  postgrest-9.0.1/test/spec/Feature/BinaryJwtSecretSpec.hs
+formatted       98e6eef788df  postgrest-9.0.1/test/spec/Feature/ConcurrentSpec.hs
+formatted       7ee989af2aea  postgrest-9.0.1/test/spec/Feature/CorsSpec.hs
+formatted       686a2810cd18  postgrest-9.0.1/test/spec/Feature/DeleteSpec.hs
+formatted       09b42ae8949a  postgrest-9.0.1/test/spec/Feature/DisabledOpenApiSpec.hs
+formatted       778c80caf2f3  postgrest-9.0.1/test/spec/Feature/EmbedDisambiguationSpec.hs
+formatted       940243b3eaa9  postgrest-9.0.1/test/spec/Feature/EmbedInnerJoinSpec.hs
+formatted       c160bb6c0d08  postgrest-9.0.1/test/spec/Feature/ExtraSearchPathSpec.hs
+formatted       8e19984c8b61  postgrest-9.0.1/test/spec/Feature/HtmlRawOutputSpec.hs
+formatted       3380d1b1553b  postgrest-9.0.1/test/spec/Feature/IgnorePrivOpenApiSpec.hs
+formatted       2fa38304157c  postgrest-9.0.1/test/spec/Feature/InsertSpec.hs
+formatted       14c5db5ef430  postgrest-9.0.1/test/spec/Feature/JsonOperatorSpec.hs
+formatted       a61f834da301  postgrest-9.0.1/test/spec/Feature/LegacyGucsSpec.hs
+formatted       9efccf5b6669  postgrest-9.0.1/test/spec/Feature/MultipleSchemaSpec.hs
+formatted       42e4ca6080fe  postgrest-9.0.1/test/spec/Feature/NoJwtSpec.hs
+formatted       b023332ab548  postgrest-9.0.1/test/spec/Feature/NonexistentSchemaSpec.hs
+formatted       22e600cde471  postgrest-9.0.1/test/spec/Feature/OpenApiSpec.hs
+formatted       c125669a2ef3  postgrest-9.0.1/test/spec/Feature/OptionsSpec.hs
+formatted       903e4d1d8f36  postgrest-9.0.1/test/spec/Feature/ProxySpec.hs
+formatted       61fa86146c7f  postgrest-9.0.1/test/spec/Feature/QueryLimitedSpec.hs
+formatted       c46954ada565  postgrest-9.0.1/test/spec/Feature/QuerySpec.hs
+formatted       b5699a49400b  postgrest-9.0.1/test/spec/Feature/RangeSpec.hs
+formatted       104cb45e9687  postgrest-9.0.1/test/spec/Feature/RawOutputTypesSpec.hs
+formatted       49d476a6e740  postgrest-9.0.1/test/spec/Feature/RollbackSpec.hs
+formatted       7bca2894580b  postgrest-9.0.1/test/spec/Feature/RootSpec.hs
+formatted       d79243c58ee4  postgrest-9.0.1/test/spec/Feature/RpcPreRequestGucsSpec.hs
+formatted       a567bd872e2b  postgrest-9.0.1/test/spec/Feature/RpcSpec.hs
+formatted       3dfa36e60373  postgrest-9.0.1/test/spec/Feature/SingularSpec.hs
+formatted       839d6476ee38  postgrest-9.0.1/test/spec/Feature/UnicodeSpec.hs
+formatted       f2d1235be5c1  postgrest-9.0.1/test/spec/Feature/UpdateSpec.hs
+formatted       82d29308359d  postgrest-9.0.1/test/spec/Feature/UpsertSpec.hs
+formatted       7f6165e86346  postgrest-9.0.1/test/spec/Main.hs
+formatted       400c203f4b1e  postgrest-9.0.1/test/spec/QueryCost.hs
+formatted       ef4734b4e5df  postgrest-9.0.1/test/spec/SpecHelper.hs
+formatted       c5c673daa5c5  postgrest-9.0.1/test/spec/TestTypes.hs
+formatted       c9ab32f2b7e9  profunctors-5.6.3/src/Data/Profunctor.hs
+formatted       00a4cd29c5e0  profunctors-5.6.3/src/Data/Profunctor/Adjunction.hs
+formatted       b99909038b4e  profunctors-5.6.3/src/Data/Profunctor/Cayley.hs
+formatted       4f7071ec1458  profunctors-5.6.3/src/Data/Profunctor/Choice.hs
+formatted       a8e118c3153d  profunctors-5.6.3/src/Data/Profunctor/Closed.hs
+formatted       423d38237794  profunctors-5.6.3/src/Data/Profunctor/Composition.hs
+formatted       05d6573b53c0  profunctors-5.6.3/src/Data/Profunctor/Mapping.hs
+formatted       8540a3205878  profunctors-5.6.3/src/Data/Profunctor/Monad.hs
+formatted       ddd219839594  profunctors-5.6.3/src/Data/Profunctor/Ran.hs
+formatted       88ed80381d67  profunctors-5.6.3/src/Data/Profunctor/Rep.hs
+formatted       b6123b316a00  profunctors-5.6.3/src/Data/Profunctor/Sieve.hs
+formatted       8e9b86c053ca  profunctors-5.6.3/src/Data/Profunctor/Strong.hs
+formatted       d0a6607be5b3  profunctors-5.6.3/src/Data/Profunctor/Traversing.hs
+formatted       dcfbd94227ce  profunctors-5.6.3/src/Data/Profunctor/Types.hs
+formatted       9320506485d2  profunctors-5.6.3/src/Data/Profunctor/Unsafe.hs
+formatted       3e0056a706ec  profunctors-5.6.3/src/Data/Profunctor/Yoneda.hs
+formatted       f97b976f5a71  purescript-0.15.15/Setup.hs
+formatted       255099ba3bed  purescript-0.15.15/app/Command/Bundle.hs
+formatted       50ffe8d1070d  purescript-0.15.15/app/Command/Compile.hs
+formatted       fde580c11d18  purescript-0.15.15/app/Command/Docs.hs
+formatted       4195be491af0  purescript-0.15.15/app/Command/Docs/Html.hs
+formatted       c36ff84df294  purescript-0.15.15/app/Command/Docs/Markdown.hs
+formatted       8acc96103dfe  purescript-0.15.15/app/Command/Graph.hs
+formatted       be245785ac63  purescript-0.15.15/app/Command/Hierarchy.hs
+formatted       bc85d9184369  purescript-0.15.15/app/Command/Ide.hs
+formatted       d07b8e1a5cd9  purescript-0.15.15/app/Command/Publish.hs
+formatted       80bb4046c81b  purescript-0.15.15/app/Command/REPL.hs
+formatted       1f8d5da9f9ba  purescript-0.15.15/app/Main.hs
+formatted       5c06f28541e9  purescript-0.15.15/app/SharedCLI.hs
+formatted       e35ce788ef95  purescript-0.15.15/app/Version.hs
+formatted       a09d8e50e2e0  purescript-0.15.15/src/Control/Monad/Logger.hs
+formatted       668e91c479f8  purescript-0.15.15/src/Control/Monad/Supply.hs
+formatted       860b6a4b932c  purescript-0.15.15/src/Control/Monad/Supply/Class.hs
+formatted       55e7ba5420da  purescript-0.15.15/src/Data/Text/PureScript.hs
+formatted       5abfd923e619  purescript-0.15.15/src/Language/PureScript.hs
+formatted       3b66e37c83d4  purescript-0.15.15/src/Language/PureScript/AST.hs
+formatted       543d919f040c  purescript-0.15.15/src/Language/PureScript/AST/Binders.hs
+formatted       b5b7bffc2ff3  purescript-0.15.15/src/Language/PureScript/AST/Declarations.hs
+formatted       4573fa2c2fee  purescript-0.15.15/src/Language/PureScript/AST/Declarations/ChainId.hs
+formatted       588467f0ac6f  purescript-0.15.15/src/Language/PureScript/AST/Exported.hs
+formatted       20fc5f6c98d0  purescript-0.15.15/src/Language/PureScript/AST/Literals.hs
+formatted       81faaaeef4f5  purescript-0.15.15/src/Language/PureScript/AST/Operators.hs
+formatted       4ee4ee2f7fbc  purescript-0.15.15/src/Language/PureScript/AST/SourcePos.hs
+formatted       e56a60181766  purescript-0.15.15/src/Language/PureScript/AST/Traversals.hs
+formatted       895f3cc5940b  purescript-0.15.15/src/Language/PureScript/AST/Utils.hs
+formatted       939768f93bfc  purescript-0.15.15/src/Language/PureScript/Bundle.hs
+formatted       22a78a81c5ca  purescript-0.15.15/src/Language/PureScript/CST.hs
+formatted       34d6bf873119  purescript-0.15.15/src/Language/PureScript/CST/Convert.hs
+formatted       ad0723aa25a6  purescript-0.15.15/src/Language/PureScript/CST/Errors.hs
+formatted       d18de4f30202  purescript-0.15.15/src/Language/PureScript/CST/Flatten.hs
+formatted       a8533fa88201  purescript-0.15.15/src/Language/PureScript/CST/Layout.hs
+formatted       3f500c1270a3  purescript-0.15.15/src/Language/PureScript/CST/Lexer.hs
+formatted       99e3ad5c6d9e  purescript-0.15.15/src/Language/PureScript/CST/Monad.hs
+formatted       138da0f9b22e  purescript-0.15.15/src/Language/PureScript/CST/Positions.hs
+formatted       b1f488a901ec  purescript-0.15.15/src/Language/PureScript/CST/Print.hs
+formatted       4e63267cc554  purescript-0.15.15/src/Language/PureScript/CST/Traversals.hs
+formatted       6fe7830189a9  purescript-0.15.15/src/Language/PureScript/CST/Traversals/Type.hs
+formatted       b4792bc6d960  purescript-0.15.15/src/Language/PureScript/CST/Types.hs
+formatted       46f6c4ec53ca  purescript-0.15.15/src/Language/PureScript/CST/Utils.hs
+formatted       ebd74707d2df  purescript-0.15.15/src/Language/PureScript/CodeGen.hs
+formatted       c9a3cd686bd3  purescript-0.15.15/src/Language/PureScript/CodeGen/JS.hs
+formatted       1317b71412aa  purescript-0.15.15/src/Language/PureScript/CodeGen/JS/Common.hs
+formatted       6deebf9a0cf8  purescript-0.15.15/src/Language/PureScript/CodeGen/JS/Printer.hs
+formatted       4b7eb95bd681  purescript-0.15.15/src/Language/PureScript/Comments.hs
+formatted       b2c57fc257ba  purescript-0.15.15/src/Language/PureScript/Constants/Libs.hs
+formatted       b792cf7b62df  purescript-0.15.15/src/Language/PureScript/Constants/Prim.hs
+formatted       c10f42613dab  purescript-0.15.15/src/Language/PureScript/Constants/TH.hs
+formatted       4394bccbb5dc  purescript-0.15.15/src/Language/PureScript/CoreFn.hs
+formatted       67002d3d659a  purescript-0.15.15/src/Language/PureScript/CoreFn/Ann.hs
+formatted       6211486bb332  purescript-0.15.15/src/Language/PureScript/CoreFn/Binders.hs
+formatted       3d2ad2f495ac  purescript-0.15.15/src/Language/PureScript/CoreFn/CSE.hs
+formatted       a3c308c00710  purescript-0.15.15/src/Language/PureScript/CoreFn/Desugar.hs
+formatted       c317a658406f  purescript-0.15.15/src/Language/PureScript/CoreFn/Expr.hs
+formatted       24e46c87106e  purescript-0.15.15/src/Language/PureScript/CoreFn/FromJSON.hs
+formatted       03226e34e407  purescript-0.15.15/src/Language/PureScript/CoreFn/Laziness.hs
+formatted       9e215ffbf68c  purescript-0.15.15/src/Language/PureScript/CoreFn/Meta.hs
+formatted       3f25c68521b6  purescript-0.15.15/src/Language/PureScript/CoreFn/Module.hs
+formatted       033c6e5ac520  purescript-0.15.15/src/Language/PureScript/CoreFn/Optimizer.hs
+formatted       8786233b57d4  purescript-0.15.15/src/Language/PureScript/CoreFn/ToJSON.hs
+formatted       c2131a2bc56d  purescript-0.15.15/src/Language/PureScript/CoreFn/Traversals.hs
+formatted       5d795e0b9de9  purescript-0.15.15/src/Language/PureScript/CoreImp.hs
+formatted       e8876ab9e876  purescript-0.15.15/src/Language/PureScript/CoreImp/AST.hs
+formatted       e132208b44df  purescript-0.15.15/src/Language/PureScript/CoreImp/Module.hs
+formatted       cce2fde183a3  purescript-0.15.15/src/Language/PureScript/CoreImp/Optimizer.hs
+formatted       a900587593c5  purescript-0.15.15/src/Language/PureScript/CoreImp/Optimizer/Blocks.hs
+formatted       db3f53353ef5  purescript-0.15.15/src/Language/PureScript/CoreImp/Optimizer/Common.hs
+formatted       5414443c7c00  purescript-0.15.15/src/Language/PureScript/CoreImp/Optimizer/Inliner.hs
+formatted       c45462f0f8b0  purescript-0.15.15/src/Language/PureScript/CoreImp/Optimizer/MagicDo.hs
+formatted       d4788c266de0  purescript-0.15.15/src/Language/PureScript/CoreImp/Optimizer/TCO.hs
+formatted       c2a449587cc0  purescript-0.15.15/src/Language/PureScript/CoreImp/Optimizer/Unused.hs
+formatted       ef0c140ec0df  purescript-0.15.15/src/Language/PureScript/Crash.hs
+formatted       bdd91a75f6e1  purescript-0.15.15/src/Language/PureScript/Docs.hs
+formatted       b8b5c85bb81f  purescript-0.15.15/src/Language/PureScript/Docs/AsHtml.hs
+formatted       cce5929812e3  purescript-0.15.15/src/Language/PureScript/Docs/AsMarkdown.hs
+formatted       ef12a2726716  purescript-0.15.15/src/Language/PureScript/Docs/Collect.hs
+formatted       ed314c7aa638  purescript-0.15.15/src/Language/PureScript/Docs/Convert.hs
+formatted       fb02240d1aab  purescript-0.15.15/src/Language/PureScript/Docs/Convert/ReExports.hs
+formatted       4584b1af6eb2  purescript-0.15.15/src/Language/PureScript/Docs/Convert/Single.hs
+formatted       d97124c1ab6a  purescript-0.15.15/src/Language/PureScript/Docs/Css.hs
+formatted       2e4a160804c0  purescript-0.15.15/src/Language/PureScript/Docs/Prim.hs
+formatted       bea4023df639  purescript-0.15.15/src/Language/PureScript/Docs/Render.hs
+formatted       4c98064ffe67  purescript-0.15.15/src/Language/PureScript/Docs/RenderedCode.hs
+formatted       d3c0cf7693df  purescript-0.15.15/src/Language/PureScript/Docs/RenderedCode/RenderType.hs
+formatted       9d8853581ad4  purescript-0.15.15/src/Language/PureScript/Docs/RenderedCode/Types.hs
+formatted       ed86185d523f  purescript-0.15.15/src/Language/PureScript/Docs/Tags.hs
+formatted       9dcb3e95e742  purescript-0.15.15/src/Language/PureScript/Docs/Types.hs
+formatted       ca122de78b43  purescript-0.15.15/src/Language/PureScript/Docs/Utils/MonoidExtras.hs
+formatted       28b7ade141f8  purescript-0.15.15/src/Language/PureScript/Environment.hs
+formatted       906ad3872acd  purescript-0.15.15/src/Language/PureScript/Errors.hs
+formatted       5cc6dafa7e30  purescript-0.15.15/src/Language/PureScript/Errors/JSON.hs
+formatted       95d744837080  purescript-0.15.15/src/Language/PureScript/Externs.hs
+formatted       ddc201454390  purescript-0.15.15/src/Language/PureScript/Glob.hs
+formatted       51aaf5062c0d  purescript-0.15.15/src/Language/PureScript/Graph.hs
+formatted       03f889e4b4ba  purescript-0.15.15/src/Language/PureScript/Hierarchy.hs
+formatted       9dc5856e3811  purescript-0.15.15/src/Language/PureScript/Ide.hs
+formatted       142e69972554  purescript-0.15.15/src/Language/PureScript/Ide/CaseSplit.hs
+formatted       6aa07a44fdbb  purescript-0.15.15/src/Language/PureScript/Ide/Command.hs
+formatted       468df5bf4103  purescript-0.15.15/src/Language/PureScript/Ide/Completion.hs
+formatted       a1f29cc9233e  purescript-0.15.15/src/Language/PureScript/Ide/Error.hs
+formatted       3f9087a6581f  purescript-0.15.15/src/Language/PureScript/Ide/Externs.hs
+formatted       5d6c0c51cfef  purescript-0.15.15/src/Language/PureScript/Ide/Filter.hs
+formatted       c2ccea9620fa  purescript-0.15.15/src/Language/PureScript/Ide/Filter/Declaration.hs
+formatted       6b31106d4dc5  purescript-0.15.15/src/Language/PureScript/Ide/Filter/Imports.hs
+formatted       6e50e94ceaf7  purescript-0.15.15/src/Language/PureScript/Ide/Imports.hs
+formatted       481c5b3a7f4b  purescript-0.15.15/src/Language/PureScript/Ide/Imports/Actions.hs
+formatted       ae7005341967  purescript-0.15.15/src/Language/PureScript/Ide/Logging.hs
+formatted       914feca4e2d7  purescript-0.15.15/src/Language/PureScript/Ide/Matcher.hs
+formatted       023a40b4a786  purescript-0.15.15/src/Language/PureScript/Ide/Prim.hs
+formatted       e0e2bab1dd0d  purescript-0.15.15/src/Language/PureScript/Ide/Rebuild.hs
+formatted       2d1796722b92  purescript-0.15.15/src/Language/PureScript/Ide/Reexports.hs
+formatted       58591e62b9dd  purescript-0.15.15/src/Language/PureScript/Ide/SourceFile.hs
+formatted       b6b06f99ff9f  purescript-0.15.15/src/Language/PureScript/Ide/State.hs
+formatted       f5446a3cd687  purescript-0.15.15/src/Language/PureScript/Ide/Types.hs
+formatted       9acd0d76428e  purescript-0.15.15/src/Language/PureScript/Ide/Usage.hs
+formatted       da4a50590b96  purescript-0.15.15/src/Language/PureScript/Ide/Util.hs
+formatted       9d4ca770f1ea  purescript-0.15.15/src/Language/PureScript/Interactive.hs
+formatted       e8b105e3f4d7  purescript-0.15.15/src/Language/PureScript/Interactive/Completion.hs
+formatted       5d2f51fc69c4  purescript-0.15.15/src/Language/PureScript/Interactive/Directive.hs
+formatted       bf6a9a97c255  purescript-0.15.15/src/Language/PureScript/Interactive/IO.hs
+formatted       de7e6ff15868  purescript-0.15.15/src/Language/PureScript/Interactive/Message.hs
+formatted       3487d6ffc8ab  purescript-0.15.15/src/Language/PureScript/Interactive/Module.hs
+formatted       07cbc9fd2f1c  purescript-0.15.15/src/Language/PureScript/Interactive/Parser.hs
+formatted       74ed8623fddb  purescript-0.15.15/src/Language/PureScript/Interactive/Printer.hs
+formatted       81f35c6bddba  purescript-0.15.15/src/Language/PureScript/Interactive/Types.hs
+formatted       4c1a03bd8c94  purescript-0.15.15/src/Language/PureScript/Label.hs
+formatted       fa51daca86a2  purescript-0.15.15/src/Language/PureScript/Linter.hs
+formatted       a9c0e3adb2ce  purescript-0.15.15/src/Language/PureScript/Linter/Exhaustive.hs
+formatted       59bb23d678cd  purescript-0.15.15/src/Language/PureScript/Linter/Imports.hs
+formatted       dd9eeede3441  purescript-0.15.15/src/Language/PureScript/Linter/Wildcards.hs
+formatted       92831dd0c6c2  purescript-0.15.15/src/Language/PureScript/Make.hs
+formatted       602bbcee3914  purescript-0.15.15/src/Language/PureScript/Make/Actions.hs
+formatted       599e992d0be7  purescript-0.15.15/src/Language/PureScript/Make/BuildPlan.hs
+formatted       e90c6c9d4bf5  purescript-0.15.15/src/Language/PureScript/Make/Cache.hs
+formatted       0a62b72d4253  purescript-0.15.15/src/Language/PureScript/Make/Monad.hs
+formatted       cee35854d390  purescript-0.15.15/src/Language/PureScript/ModuleDependencies.hs
+formatted       b3cd085900e8  purescript-0.15.15/src/Language/PureScript/Names.hs
+formatted       a52840cb436e  purescript-0.15.15/src/Language/PureScript/Options.hs
+formatted       a68c61799584  purescript-0.15.15/src/Language/PureScript/PSString.hs
+formatted       2b26a96d8bcc  purescript-0.15.15/src/Language/PureScript/Pretty.hs
+formatted       4fb99914bfcf  purescript-0.15.15/src/Language/PureScript/Pretty/Common.hs
+formatted       1311faadc5fb  purescript-0.15.15/src/Language/PureScript/Pretty/Types.hs
+formatted       e940850150b8  purescript-0.15.15/src/Language/PureScript/Pretty/Values.hs
+formatted       d88ee09a0770  purescript-0.15.15/src/Language/PureScript/Publish.hs
+formatted       acaa9ae687de  purescript-0.15.15/src/Language/PureScript/Publish/BoxesHelpers.hs
+formatted       bfc7391122a7  purescript-0.15.15/src/Language/PureScript/Publish/ErrorsWarnings.hs
+formatted       681077a9fefd  purescript-0.15.15/src/Language/PureScript/Publish/Registry/Compat.hs
+formatted       fba7a9e201e6  purescript-0.15.15/src/Language/PureScript/Publish/Utils.hs
+formatted       daf9544e7f3b  purescript-0.15.15/src/Language/PureScript/Renamer.hs
+formatted       6f42307192bf  purescript-0.15.15/src/Language/PureScript/Roles.hs
+formatted       012e8a3c9485  purescript-0.15.15/src/Language/PureScript/Sugar.hs
+formatted       935d39784b5c  purescript-0.15.15/src/Language/PureScript/Sugar/AdoNotation.hs
+formatted       44219cac81ae  purescript-0.15.15/src/Language/PureScript/Sugar/BindingGroups.hs
+formatted       787f95ec73c7  purescript-0.15.15/src/Language/PureScript/Sugar/CaseDeclarations.hs
+formatted       af0b4868d214  purescript-0.15.15/src/Language/PureScript/Sugar/DoNotation.hs
+formatted       230d776d0934  purescript-0.15.15/src/Language/PureScript/Sugar/LetPattern.hs
+formatted       2a01b4390d0d  purescript-0.15.15/src/Language/PureScript/Sugar/Names.hs
+formatted       417ff6939d03  purescript-0.15.15/src/Language/PureScript/Sugar/Names/Common.hs
+formatted       fe1d279046ab  purescript-0.15.15/src/Language/PureScript/Sugar/Names/Env.hs
+formatted       0ce648fe4c11  purescript-0.15.15/src/Language/PureScript/Sugar/Names/Exports.hs
+formatted       50656d1ed4c3  purescript-0.15.15/src/Language/PureScript/Sugar/Names/Imports.hs
+formatted       60f76bc8693a  purescript-0.15.15/src/Language/PureScript/Sugar/ObjectWildcards.hs
+formatted       79ed4bf2f3aa  purescript-0.15.15/src/Language/PureScript/Sugar/Operators.hs
+formatted       3600a9ac811b  purescript-0.15.15/src/Language/PureScript/Sugar/Operators/Binders.hs
+formatted       3c9f332188cc  purescript-0.15.15/src/Language/PureScript/Sugar/Operators/Common.hs
+formatted       e80b166c055c  purescript-0.15.15/src/Language/PureScript/Sugar/Operators/Expr.hs
+formatted       8ebf0923cc47  purescript-0.15.15/src/Language/PureScript/Sugar/Operators/Types.hs
+formatted       0dbb98c0b458  purescript-0.15.15/src/Language/PureScript/Sugar/TypeClasses.hs
+formatted       018468306806  purescript-0.15.15/src/Language/PureScript/Sugar/TypeClasses/Deriving.hs
+formatted       2117235ebe93  purescript-0.15.15/src/Language/PureScript/Sugar/TypeDeclarations.hs
+formatted       4ce5a24b8e26  purescript-0.15.15/src/Language/PureScript/Traversals.hs
+formatted       b7183749f85f  purescript-0.15.15/src/Language/PureScript/TypeChecker.hs
+formatted       fb554f337d02  purescript-0.15.15/src/Language/PureScript/TypeChecker/Deriving.hs
+formatted       280ea014f04f  purescript-0.15.15/src/Language/PureScript/TypeChecker/Entailment.hs
+formatted       e5238d277a8d  purescript-0.15.15/src/Language/PureScript/TypeChecker/Entailment/Coercible.hs
+formatted       a795839d80a9  purescript-0.15.15/src/Language/PureScript/TypeChecker/Entailment/IntCompare.hs
+formatted       da2c917dfd00  purescript-0.15.15/src/Language/PureScript/TypeChecker/Kinds.hs
+formatted       2b335af36e33  purescript-0.15.15/src/Language/PureScript/TypeChecker/Monad.hs
+formatted       2fbb9d0a16e7  purescript-0.15.15/src/Language/PureScript/TypeChecker/Roles.hs
+formatted       d29afe5dc2f0  purescript-0.15.15/src/Language/PureScript/TypeChecker/Skolems.hs
+formatted       3ef58d9e0d4e  purescript-0.15.15/src/Language/PureScript/TypeChecker/Subsumption.hs
+formatted       dbbbc6ae4d27  purescript-0.15.15/src/Language/PureScript/TypeChecker/Synonyms.hs
+formatted       9aa19bda0393  purescript-0.15.15/src/Language/PureScript/TypeChecker/TypeSearch.hs
+formatted       a5c883205833  purescript-0.15.15/src/Language/PureScript/TypeChecker/Types.hs
+formatted       6b73e2092313  purescript-0.15.15/src/Language/PureScript/TypeChecker/Unify.hs
+formatted       8368b10ff56a  purescript-0.15.15/src/Language/PureScript/TypeClassDictionaries.hs
+formatted       2363b1011b68  purescript-0.15.15/src/Language/PureScript/Types.hs
+formatted       1d801600690e  purescript-0.15.15/src/System/IO/UTF8.hs
+formatted       e83deba5bc41  purescript-0.15.15/tests/Language/PureScript/Ide/CompletionSpec.hs
+formatted       91bd2307348e  purescript-0.15.15/tests/Language/PureScript/Ide/FilterSpec.hs
+formatted       8c8c8b88aec1  purescript-0.15.15/tests/Language/PureScript/Ide/ImportsSpec.hs
+formatted       c4eb22edbdf7  purescript-0.15.15/tests/Language/PureScript/Ide/MatcherSpec.hs
+formatted       2046ca2a14b8  purescript-0.15.15/tests/Language/PureScript/Ide/RebuildSpec.hs
+formatted       250e3e84ee81  purescript-0.15.15/tests/Language/PureScript/Ide/ReexportsSpec.hs
+formatted       8d581290cc38  purescript-0.15.15/tests/Language/PureScript/Ide/SourceFileSpec.hs
+formatted       e1324dcb5b11  purescript-0.15.15/tests/Language/PureScript/Ide/StateSpec.hs
+formatted       2500a44e62ce  purescript-0.15.15/tests/Language/PureScript/Ide/Test.hs
+formatted       573eacb482ae  purescript-0.15.15/tests/Language/PureScript/Ide/UsageSpec.hs
+formatted       c1d26609ff53  purescript-0.15.15/tests/Main.hs
+formatted       ed333c67c3b1  purescript-0.15.15/tests/PscIdeSpec.hs
+formatted       34724a0c09d7  purescript-0.15.15/tests/TestAst.hs
+formatted       4338bf7ae6cb  purescript-0.15.15/tests/TestCompiler.hs
+formatted       a42d26f8ab01  purescript-0.15.15/tests/TestCoreFn.hs
+formatted       a5de447fbbcf  purescript-0.15.15/tests/TestCst.hs
+formatted       5d776360321e  purescript-0.15.15/tests/TestDocs.hs
+formatted       c63c14aea6b4  purescript-0.15.15/tests/TestGraph.hs
+formatted       281529e17047  purescript-0.15.15/tests/TestHierarchy.hs
+formatted       dee59314c69e  purescript-0.15.15/tests/TestIde.hs
+formatted       bc87008c3f0e  purescript-0.15.15/tests/TestMake.hs
+formatted       8ac741a78ce7  purescript-0.15.15/tests/TestPrimDocs.hs
+formatted       475c5d112769  purescript-0.15.15/tests/TestPscPublish.hs
+formatted       936d9c22cdca  purescript-0.15.15/tests/TestPsci.hs
+formatted       b14d04e1e025  purescript-0.15.15/tests/TestPsci/CommandTest.hs
+formatted       8b0322494100  purescript-0.15.15/tests/TestPsci/CompletionTest.hs
+formatted       cc08e98eabd4  purescript-0.15.15/tests/TestPsci/EvalTest.hs
+formatted       41eb923589d6  purescript-0.15.15/tests/TestPsci/TestEnv.hs
+formatted       d912bd2e0baf  purescript-0.15.15/tests/TestSourceMaps.hs
+formatted       516579bb9048  purescript-0.15.15/tests/TestUtils.hs
+formatted       4b41dca5144d  raaz-0.3.11/api/aead/Auth/Implementation.hsig
+formatted       e10930522904  raaz-0.3.11/api/aead/Cipher/Implementation.hsig
+formatted       85d002470df4  raaz-0.3.11/api/aead/Interface.hs
+formatted       1c6c509b4c94  raaz-0.3.11/api/auth/Implementation.hsig
+formatted       5cc26f7bd53f  raaz-0.3.11/api/auth/Interface.hs
+formatted       755a67a86d74  raaz-0.3.11/api/digest/Implementation.hsig
+formatted       c9bf83c13df8  raaz-0.3.11/api/digest/Interface.hs
+formatted       45e469a8f482  raaz-0.3.11/api/encrypt/Implementation.hsig
+formatted       c6dd324130f5  raaz-0.3.11/api/encrypt/Interface.hs
+formatted       10d5d9d622cd  raaz-0.3.11/api/random/Entropy.hsig
+formatted       e57203e19bbf  raaz-0.3.11/api/random/Implementation.hsig
+formatted       e20cd700c5bd  raaz-0.3.11/api/random/Internal.hs
+formatted       a236c8c0c234  raaz-0.3.11/api/random/PRGenerator.hs
+formatted       5023d0f3c4a2  raaz-0.3.11/benchmarks/Main.hs
+formatted       9f15b3912aad  raaz-0.3.11/benchmarks/internal/Benchmark/CSPRG.hs
+formatted       6e692a5c00ce  raaz-0.3.11/benchmarks/internal/Benchmark/Primitive.hs
+formatted       263968458ecb  raaz-0.3.11/benchmarks/internal/Benchmark/Types.hs
+formatted       5b09f272a00a  raaz-0.3.11/core/Raaz/Core.hs
+formatted       bcdbfee3d71a  raaz-0.3.11/core/Raaz/Core/ByteSource.hs
+formatted       f5cf13a68cdc  raaz-0.3.11/core/Raaz/Core/Constants.hs
+formatted       421b155c27da  raaz-0.3.11/core/Raaz/Core/CpuSupports.hs
+formatted       f38c579bbd14  raaz-0.3.11/core/Raaz/Core/Encode.hs
+formatted       47d6d769872a  raaz-0.3.11/core/Raaz/Core/Encode/Base16.hs
+formatted       bff0359170a4  raaz-0.3.11/core/Raaz/Core/Encode/Base64.hs
+formatted       88e4db78b6eb  raaz-0.3.11/core/Raaz/Core/Encode/Internal.hs
+formatted       ed66b5c62ff0  raaz-0.3.11/core/Raaz/Core/Memory.hs
+formatted       5969b15ceb1e  raaz-0.3.11/core/Raaz/Core/MonoidalAction.hs
+formatted       e16ac3e8ba9f  raaz-0.3.11/core/Raaz/Core/Parse.hs
+formatted       09304c626e44  raaz-0.3.11/core/Raaz/Core/Parse/Unsafe.hs
+formatted       cfba50adabd9  raaz-0.3.11/core/Raaz/Core/Prelude.hs
+formatted       203b72d4077c  raaz-0.3.11/core/Raaz/Core/Primitive.hs
+formatted       72eee7bbb241  raaz-0.3.11/core/Raaz/Core/Transfer.hs
+formatted       a079c88c428d  raaz-0.3.11/core/Raaz/Core/Transfer/Unsafe.hs
+formatted       b10c21111706  raaz-0.3.11/core/Raaz/Core/Types.hs
+formatted       e3f1846cd578  raaz-0.3.11/core/Raaz/Core/Types/Copying.hs
+formatted       b69ef689f26b  raaz-0.3.11/core/Raaz/Core/Types/Endian.hs
+formatted       c03cf609df09  raaz-0.3.11/core/Raaz/Core/Types/Equality.hs
+formatted       07f73b71cbe4  raaz-0.3.11/core/Raaz/Core/Types/Internal.hs
+formatted       b008565d60b2  raaz-0.3.11/core/Raaz/Core/Types/Pointer.hs
+formatted       3d76f9d41283  raaz-0.3.11/core/Raaz/Core/Types/Tuple.hs
+formatted       2654a4e3931f  raaz-0.3.11/core/Raaz/Core/Util/ByteString.hs
+formatted       4d59ce49a256  raaz-0.3.11/core/Raaz/Primitive/AEAD/Internal.hs
+formatted       187d77134996  raaz-0.3.11/core/Raaz/Primitive/Blake2/Internal.hs
+formatted       81ad4151fdf7  raaz-0.3.11/core/Raaz/Primitive/ChaCha20/Internal.hs
+formatted       30f30060bc34  raaz-0.3.11/core/Raaz/Primitive/HashMemory.hs
+formatted       71de12553bd2  raaz-0.3.11/core/Raaz/Primitive/Keyed/Internal.hs
+formatted       0143d7a2f0dd  raaz-0.3.11/core/Raaz/Primitive/Poly1305/Internal.hs
+formatted       3348da91f1a4  raaz-0.3.11/core/Raaz/Primitive/Sha2/Internal.hs
+formatted       cfd8f087aab7  raaz-0.3.11/implementation/Blake2b/CHandWritten.hs
+formatted       45fe6d25e87e  raaz-0.3.11/implementation/Blake2b/CPortable.hs
+formatted       29048ba7e81a  raaz-0.3.11/implementation/Blake2s/CHandWritten.hs
+formatted       07eb0584807d  raaz-0.3.11/implementation/ChaCha20/CHandWritten.hs
+formatted       60f9f917a57d  raaz-0.3.11/implementation/ChaCha20/CPortable.hs
+formatted       d84a79793102  raaz-0.3.11/implementation/ChaCha20/Random/CPortable.hs
+formatted       0e47089bd6d1  raaz-0.3.11/implementation/Poly1305/CPortable.hs
+formatted       85c54331b9ac  raaz-0.3.11/implementation/Poly1305/Memory.hs
+formatted       5346a528aa13  raaz-0.3.11/implementation/Sha256/CHandWritten.hs
+formatted       8d80ccadc208  raaz-0.3.11/implementation/Sha256/CPortable.hs
+formatted       3ab6086debf9  raaz-0.3.11/implementation/Sha512/CHandWritten.hs
+formatted       7f1f99003a1c  raaz-0.3.11/implementation/Sha512/CPortable.hs
+formatted       b67a1e01769c  raaz-0.3.11/implementation/entropy/arc4random/Entropy.hs
+formatted       66d8ef59ae33  raaz-0.3.11/implementation/entropy/urandom/Entropy.hs
+formatted       9c31079847b0  raaz-0.3.11/indef/Implementation.hsig
+formatted       0f5d19a1909b  raaz-0.3.11/indef/Utils.hs
+formatted       e427dd3d929e  raaz-0.3.11/indef/buffer/Buffer.hs
+formatted       e3322fe76c26  raaz-0.3.11/indef/buffer/Context.hs
+formatted       40143fc87963  raaz-0.3.11/indef/buffer/Implementation.hsig
+formatted       18c78a393d68  raaz-0.3.11/indef/chacha20/Implementation.hsig
+formatted       682d9397da41  raaz-0.3.11/indef/chacha20/XChaCha20/Implementation.hs
+formatted       ecb61329cdbc  raaz-0.3.11/indef/keyed/hash/Implementation.hsig
+formatted       0205eec7d7d8  raaz-0.3.11/indef/keyed/hash/Mac/Implementation.hs
+formatted       1b2b0cd18838  raaz-0.3.11/libverse/Raaz/Verse/Blake2b/C/Portable.hs
+formatted       bcfa937764a2  raaz-0.3.11/libverse/Raaz/Verse/ChaCha20/C/Portable.hs
+formatted       fe2f26d87288  raaz-0.3.11/libverse/Raaz/Verse/Poly1305/C/Portable.hs
+formatted       344abe8608e3  raaz-0.3.11/libverse/Raaz/Verse/Sha256/C/Portable.hs
+formatted       f5bee556a986  raaz-0.3.11/libverse/Raaz/Verse/Sha512/C/Portable.hs
+formatted       2fbd14b119a4  raaz-0.3.11/monocypher/tests/Monocypher.hs
+formatted       743f6435ae22  raaz-0.3.11/monocypher/tests/Monocypher/Blake2bSpec.hs
+formatted       ab1f1ad31001  raaz-0.3.11/monocypher/tests/Monocypher/ChaCha20Spec.hs
+formatted       8b14549197ff  raaz-0.3.11/monocypher/tests/Monocypher/Sha512Spec.hs
+formatted       7838620f0e0c  raaz-0.3.11/raaz/Raaz.hs
+formatted       38a74278d659  raaz-0.3.11/raaz/Raaz/Auth.hs
+formatted       5763bc22711f  raaz-0.3.11/raaz/Raaz/AuthEncrypt.hs
+formatted       6c38a2016f6b  raaz-0.3.11/raaz/Raaz/AuthEncrypt/Unsafe.hs
+formatted       3ed531c4566a  raaz-0.3.11/raaz/Raaz/Digest.hs
+formatted       1f9b96b1c9bd  raaz-0.3.11/raaz/Raaz/Random.hs
+formatted       0f3b05ffd816  raaz-0.3.11/raaz/Raaz/V1/Auth.hs
+formatted       4ae7d3954232  raaz-0.3.11/raaz/Raaz/V1/AuthEncrypt.hs
+formatted       1f69e70d7786  raaz-0.3.11/raaz/Raaz/V1/AuthEncrypt/Unsafe.hs
+formatted       cd280b0b1865  raaz-0.3.11/raaz/Raaz/V1/Digest.hs
+formatted       f5a98d53c095  raaz-0.3.11/raaz/bin/Command/Checksum.hs
+formatted       c8ca21722b2a  raaz-0.3.11/raaz/bin/Command/Info.hs
+formatted       a704536aa725  raaz-0.3.11/raaz/bin/Command/Rand.hs
+formatted       f6fc400efa6f  raaz-0.3.11/raaz/bin/Main.hs
+formatted       ca29348fefe1  raaz-0.3.11/raaz/bin/Usage.hs
+formatted       fe68b991a736  raaz-0.3.11/tests/Raaz/Cipher/ChaCha20Spec.hs
+formatted       60daf3b06ba3  raaz-0.3.11/tests/Raaz/Cipher/XChaCha20Spec.hs
+formatted       a329c3b6b20c  raaz-0.3.11/tests/Raaz/Core/ByteSourceSpec.hs
+formatted       f8976ec1b5f3  raaz-0.3.11/tests/Raaz/Core/EncodeSpec.hs
+formatted       dfd7fc909143  raaz-0.3.11/tests/Raaz/Core/MemorySpec.hs
+formatted       b30419bab1a9  raaz-0.3.11/tests/Raaz/Core/Types/WordSpec.hs
+formatted       a30a0bab0574  raaz-0.3.11/tests/Raaz/Core/Util/ByteStringSpec.hs
+formatted       4095689fbe39  raaz-0.3.11/tests/Raaz/Digest/Blake2Spec.hs
+formatted       14df0c31169d  raaz-0.3.11/tests/Raaz/Digest/Sha256Spec.hs
+formatted       381813c0a811  raaz-0.3.11/tests/Raaz/Digest/Sha512Spec.hs
+formatted       50f4e65bae7f  raaz-0.3.11/tests/Raaz/Mac/Poly1305Spec.hs
+formatted       1432c896ff33  raaz-0.3.11/tests/Raaz/RandomSpec.hs
+formatted       2fbd14b119a4  raaz-0.3.11/tests/Spec.hs
+formatted       36fb1b7fe904  raaz-0.3.11/tests/auth/Implementation.hsig
+formatted       b5a9ee5b5076  raaz-0.3.11/tests/auth/Tests/Auth.hs
+formatted       163f650f92cd  raaz-0.3.11/tests/auth/implementation/Auth/Mac/Blake2b.hs
+formatted       3da5790af896  raaz-0.3.11/tests/auth/implementation/Auth/Mac/Blake2s.hs
+formatted       2b932d594bd7  raaz-0.3.11/tests/auth/implementation/Auth/Poly1305.hs
+formatted       820cd783c3e8  raaz-0.3.11/tests/cipher/Tests/Cipher.hs
+formatted       c6f2819ef00e  raaz-0.3.11/tests/comparative/AuthEncrypt.hs
+formatted       fcd29874dd06  raaz-0.3.11/tests/comparative/AuthEncrypt/ChaCha20Poly1305Spec.hs
+formatted       d45ab5700ab7  raaz-0.3.11/tests/comparative/Compare.hs
+formatted       36d74f590d94  raaz-0.3.11/tests/comparative/Digest.hs
+formatted       d832d03c1e32  raaz-0.3.11/tests/comparative/Digest/Blake2bSpec.hs
+formatted       dd9593b4ab3c  raaz-0.3.11/tests/comparative/Digest/Sha256Spec.hs
+formatted       21014be067cf  raaz-0.3.11/tests/comparative/Digest/Sha512Spec.hs
+formatted       a0e5e6547444  raaz-0.3.11/tests/comparative/Encrypt.hs
+formatted       2967fcc56340  raaz-0.3.11/tests/comparative/Encrypt/ChaCha20Spec.hs
+formatted       2fbd14b119a4  raaz-0.3.11/tests/comparative/Main.hs
+formatted       9a4da070ca55  raaz-0.3.11/tests/core/Tests/Core.hs
+formatted       9422a7eac4af  raaz-0.3.11/tests/core/Tests/Core/Imports.hs
+formatted       e5a893630872  raaz-0.3.11/tests/core/Tests/Core/Instances.hs
+formatted       2ba6dee990c8  raaz-0.3.11/tests/core/Tests/Core/Utils.hs
+formatted       bcc780e22f03  raaz-0.3.11/tests/message-digest/Implementation.hsig
+formatted       70b4c4fa569f  raaz-0.3.11/tests/message-digest/Tests/Digest.hs
+formatted       4a8ac51676df  random-1.3.1/Setup.hs
+formatted       292d15263238  random-1.3.1/bench-legacy/BinSearch.hs
+formatted       c89f84459c1a  random-1.3.1/bench-legacy/SimpleRNGBench.hs
+formatted       2227dbc39777  random-1.3.1/bench/Main.hs
+formatted       17da595cfce9  random-1.3.1/src/System/Random.hs
+formatted       f8d0403b9868  random-1.3.1/src/System/Random/Array.hs
+formatted       7366eb7556f1  random-1.3.1/src/System/Random/GFinite.hs
+formatted       7132d848f9a0  random-1.3.1/src/System/Random/Internal.hs
+formatted       d2ddc813393e  random-1.3.1/src/System/Random/Seed.hs
+formatted       a8313644d236  random-1.3.1/src/System/Random/Stateful.hs
+formatted       6e3411d82b19  random-1.3.1/test-inspection/Spec.hs
+formatted       e1f023ae97dc  random-1.3.1/test-inspection/Spec/Inspection.hs
+formatted       d641cd6d53c4  random-1.3.1/test-legacy/Legacy.hs
+formatted       1f3deb46b89e  random-1.3.1/test-legacy/Random1283.hs
+formatted       97b9e4e28f12  random-1.3.1/test-legacy/RangeTest.hs
+formatted       4f8a5fae34ed  random-1.3.1/test-legacy/T7936.hs
+formatted       bc67e46132ea  random-1.3.1/test-legacy/TestRandomIOs.hs
+formatted       999cc05369dd  random-1.3.1/test-legacy/TestRandomRs.hs
+formatted       2c5265d0ccb6  random-1.3.1/test/Spec.hs
+formatted       a778bbd8bdb8  random-1.3.1/test/Spec/Range.hs
+formatted       68e37ee2ef06  random-1.3.1/test/Spec/Run.hs
+formatted       18855c2b5090  random-1.3.1/test/Spec/Seed.hs
+formatted       a0289dd91fdc  random-1.3.1/test/Spec/Stateful.hs
+formatted       f0146d87b9e4  recursion-schemes-5.2.3/examples/Expr.hs
+formatted       c16c524759b7  recursion-schemes-5.2.3/src/Data/Functor/Base.hs
+formatted       93e94cecbf23  recursion-schemes-5.2.3/src/Data/Functor/Foldable.hs
+formatted       2ac636f30c56  recursion-schemes-5.2.3/src/Data/Functor/Foldable/TH.hs
+formatted       8fd6b23fff24  resourcet-1.3.0/Control/Monad/Trans/Resource.hs
+formatted       ec7259ab1c7e  resourcet-1.3.0/Control/Monad/Trans/Resource/Internal.hs
+formatted       4c9018424671  resourcet-1.3.0/Data/Acquire.hs
+formatted       8b58b3b54d23  resourcet-1.3.0/Data/Acquire/Internal.hs
+formatted       873ea2836e02  resourcet-1.3.0/UnliftIO/Resource.hs
+formatted       b4aed25e7688  resourcet-1.3.0/test/main.hs
+formatted       e865ae48f11b  retry-0.9.3.1/Setup.hs
+formatted       590487d0a2b7  retry-0.9.3.1/src/Control/Retry.hs
+formatted       77885bcadff4  retry-0.9.3.1/src/UnliftIO/Retry.hs
+formatted       7fcceca4dad0  retry-0.9.3.1/test/Main.hs
+formatted       c43547541f11  retry-0.9.3.1/test/Tests/Control/Retry.hs
+formatted       0194855c6133  retry-0.9.3.1/test/Tests/UnliftIO/Retry.hs
+formatted       e865ae48f11b  safe-exceptions-0.1.7.4/Setup.hs
+formatted       baf17c25c3ee  safe-exceptions-0.1.7.4/src/Control/Exception/Safe.hs
+formatted       152680c0d961  safe-exceptions-0.1.7.4/test/Control/Exception/SafeSpec.hs
+formatted       2fbd14b119a4  safe-exceptions-0.1.7.4/test/Spec.hs
+formatted       e865ae48f11b  scientific-0.3.8.1/Setup.hs
+formatted       467a447182ae  scientific-0.3.8.1/bench/bench.hs
+formatted       6bc290621983  scientific-0.3.8.1/src/Data/ByteString/Builder/Scientific.hs
+formatted       c952e0e3a0d0  scientific-0.3.8.1/src/Data/Scientific.hs
+formatted       cb8914022a58  scientific-0.3.8.1/src/Data/Text/Lazy/Builder/Scientific.hs
+formatted       e18e1762aa10  scientific-0.3.8.1/src/GHC/Integer/Compat.hs
+formatted       a8cfb261cd0d  scientific-0.3.8.1/src/Utils.hs
+formatted       f94dbf790011  scientific-0.3.8.1/test/test.hs
+formatted       e865ae48f11b  scotty-0.30/Setup.hs
+formatted       34009707acc4  scotty-0.30/Web/Scotty.hs
+formatted       4bf3f16e8648  scotty-0.30/Web/Scotty/Action.hs
+formatted       259f7c36e589  scotty-0.30/Web/Scotty/Body.hs
+formatted       d976da4d790a  scotty-0.30/Web/Scotty/Cookie.hs
+formatted       a7fe8d1cf584  scotty-0.30/Web/Scotty/Internal/Types.hs
+formatted       4b3e41092a0f  scotty-0.30/Web/Scotty/Route.hs
+formatted       eafa3ead8cac  scotty-0.30/Web/Scotty/Session.hs
+formatted       5b16e67cd6d5  scotty-0.30/Web/Scotty/Trans.hs
+formatted       5114214b1356  scotty-0.30/Web/Scotty/Trans/Lazy.hs
+formatted       f4bc6079291a  scotty-0.30/Web/Scotty/Trans/Strict.hs
+formatted       30fe88d7e398  scotty-0.30/Web/Scotty/Util.hs
+formatted       4c9bfd9e8ace  scotty-0.30/bench/Main.hs
+formatted       4ca45b39a199  scotty-0.30/doctest/Main.hs
+formatted       525f28c71c74  scotty-0.30/examples/basic.hs
+formatted       934f81286bf3  scotty-0.30/examples/bodyecho.hs
+formatted       8803fba46796  scotty-0.30/examples/cookies.hs
+formatted       201b8cc66496  scotty-0.30/examples/exceptions.hs
+formatted       f28e532780cb  scotty-0.30/examples/globalstate.hs
+formatted       6fc7e2af20e3  scotty-0.30/examples/gzip.hs
+formatted       f020db052439  scotty-0.30/examples/json_mode.hs
+formatted       739306ec384f  scotty-0.30/examples/middleware.hs
+formatted       933ae1ca73ae  scotty-0.30/examples/nested.hs
+formatted       7dcee6f1e2a0  scotty-0.30/examples/options.hs
+formatted       7d06a4829bdf  scotty-0.30/examples/reader.hs
+formatted       af036eaa77f7  scotty-0.30/examples/session.hs
+formatted       d5e6af8bf349  scotty-0.30/examples/upload.hs
+formatted       ed673d52efa6  scotty-0.30/examples/urlshortener.hs
+formatted       2fbd14b119a4  scotty-0.30/test/Spec.hs
+formatted       dbe6d207d01f  scotty-0.30/test/Test/Hspec/Wai/Extra.hs
+formatted       36a5c4283fbc  scotty-0.30/test/Web/ScottySpec.hs
+formatted       9b0760fa306c  semigroupoids-6.0.2/src/Data/Bifunctor/Apply.hs
+formatted       3aad369daaf9  semigroupoids-6.0.2/src/Data/Functor/Alt.hs
+formatted       808629d6e860  semigroupoids-6.0.2/src/Data/Functor/Apply.hs
+formatted       a6818174a5ac  semigroupoids-6.0.2/src/Data/Functor/Bind.hs
+partly-checked  50570aac2c38  semigroupoids-6.0.2/src/Data/Functor/Bind/Class.hs
+formatted       a67bc87769e0  semigroupoids-6.0.2/src/Data/Functor/Bind/Trans.hs
+formatted       8e9aaef53cd7  semigroupoids-6.0.2/src/Data/Functor/Contravariant/Conclude.hs
+formatted       e1854c6e5ba6  semigroupoids-6.0.2/src/Data/Functor/Contravariant/Decide.hs
+formatted       cffc43383cd5  semigroupoids-6.0.2/src/Data/Functor/Contravariant/Divise.hs
+formatted       0d223bb02f16  semigroupoids-6.0.2/src/Data/Functor/Extend.hs
+formatted       28388fdedfc0  semigroupoids-6.0.2/src/Data/Functor/Plus.hs
+formatted       3447937d832b  semigroupoids-6.0.2/src/Data/Groupoid.hs
+formatted       bb2a352eb589  semigroupoids-6.0.2/src/Data/Isomorphism.hs
+formatted       7d0a0e07e0db  semigroupoids-6.0.2/src/Data/Semigroup/Bifoldable.hs
+formatted       fb16aa36d414  semigroupoids-6.0.2/src/Data/Semigroup/Bitraversable.hs
+formatted       ead20fe0b6d1  semigroupoids-6.0.2/src/Data/Semigroup/Foldable.hs
+formatted       ee9a12f80266  semigroupoids-6.0.2/src/Data/Semigroup/Foldable/Class.hs
+formatted       76c8568227c6  semigroupoids-6.0.2/src/Data/Semigroup/Traversable.hs
+formatted       c11ea3f3f741  semigroupoids-6.0.2/src/Data/Semigroup/Traversable/Class.hs
+formatted       a71657102f00  semigroupoids-6.0.2/src/Data/Semigroupoid.hs
+formatted       009fbe453b83  semigroupoids-6.0.2/src/Data/Semigroupoid/Categorical.hs
+formatted       dbc80a007c24  semigroupoids-6.0.2/src/Data/Semigroupoid/Dual.hs
+formatted       0c70d27e0d95  semigroupoids-6.0.2/src/Data/Semigroupoid/Ob.hs
+formatted       fc8239d3d451  semigroupoids-6.0.2/src/Data/Semigroupoid/Static.hs
+formatted       4dfe6ffa6d98  semigroupoids-6.0.2/src/Data/Traversable/Instances.hs
+formatted       e4c57b9861a2  semigroupoids-6.0.2/src/Semigroupoids/Do.hs
+formatted       36cd692fcb55  semigroupoids-6.0.2/src/Semigroupoids/Internal.hs
+formatted       e865ae48f11b  servant-0.20.3.0/Setup.hs
+formatted       f6d31c8b4554  servant-0.20.3.0/src/Servant/API.hs
+formatted       95e72f14831d  servant-0.20.3.0/src/Servant/API/Alternative.hs
+formatted       25f12ccf1fe7  servant-0.20.3.0/src/Servant/API/BasicAuth.hs
+formatted       5c34e72cfec5  servant-0.20.3.0/src/Servant/API/Capture.hs
+formatted       fdeb2eb7c082  servant-0.20.3.0/src/Servant/API/ContentTypes.hs
+formatted       8cf19cfc8927  servant-0.20.3.0/src/Servant/API/Description.hs
+formatted       3529480c44cb  servant-0.20.3.0/src/Servant/API/Empty.hs
+formatted       f5f890f1b91b  servant-0.20.3.0/src/Servant/API/Experimental/Auth.hs
+formatted       8c2000c268a3  servant-0.20.3.0/src/Servant/API/Fragment.hs
+formatted       a3828e5dcc7a  servant-0.20.3.0/src/Servant/API/Generic.hs
+formatted       be5927d53860  servant-0.20.3.0/src/Servant/API/Header.hs
+formatted       a4120f74a189  servant-0.20.3.0/src/Servant/API/Host.hs
+formatted       df5423057e38  servant-0.20.3.0/src/Servant/API/HttpVersion.hs
+formatted       b9b746d39b86  servant-0.20.3.0/src/Servant/API/IsSecure.hs
+formatted       9e43eeb84c4e  servant-0.20.3.0/src/Servant/API/Modifiers.hs
+formatted       ddb3b33c8bf3  servant-0.20.3.0/src/Servant/API/MultiVerb.hs
+formatted       717b9bf9841d  servant-0.20.3.0/src/Servant/API/NamedRoutes.hs
+formatted       3d698543af54  servant-0.20.3.0/src/Servant/API/QueryParam.hs
+formatted       6cf4e2490dea  servant-0.20.3.0/src/Servant/API/QueryString.hs
+formatted       79ab22bee7d2  servant-0.20.3.0/src/Servant/API/Range.hs
+formatted       b4ca6686cebd  servant-0.20.3.0/src/Servant/API/Raw.hs
+formatted       b30d7d5f423c  servant-0.20.3.0/src/Servant/API/RemoteHost.hs
+formatted       1f6879be0295  servant-0.20.3.0/src/Servant/API/ReqBody.hs
+formatted       c52994e5aedb  servant-0.20.3.0/src/Servant/API/ResponseHeaders.hs
+formatted       ba7dc0c02b63  servant-0.20.3.0/src/Servant/API/ServerSentEvents.hs
+formatted       889d4534f49f  servant-0.20.3.0/src/Servant/API/Status.hs
+formatted       e21b39042e20  servant-0.20.3.0/src/Servant/API/Stream.hs
+formatted       c132ebc91488  servant-0.20.3.0/src/Servant/API/Sub.hs
+formatted       aeb4bfba05bb  servant-0.20.3.0/src/Servant/API/TypeErrors.hs
+formatted       9152a61cee7a  servant-0.20.3.0/src/Servant/API/TypeLevel.hs
+formatted       324c4eee4728  servant-0.20.3.0/src/Servant/API/TypeLevel/List.hs
+formatted       42e2f2c093cf  servant-0.20.3.0/src/Servant/API/UVerb.hs
+formatted       bade506b4ffb  servant-0.20.3.0/src/Servant/API/UVerb/Union.hs
+formatted       9ef4df829791  servant-0.20.3.0/src/Servant/API/Vault.hs
+formatted       1eb98a9155c2  servant-0.20.3.0/src/Servant/API/Verbs.hs
+formatted       deda0b809380  servant-0.20.3.0/src/Servant/API/WithNamedContext.hs
+formatted       c8d1802909fc  servant-0.20.3.0/src/Servant/API/WithResource.hs
+formatted       2beb75643d5d  servant-0.20.3.0/src/Servant/Links.hs
+formatted       e6508cc1665a  servant-0.20.3.0/src/Servant/Test/ComprehensiveAPI.hs
+formatted       62b6c1fc9448  servant-0.20.3.0/src/Servant/Types/Internal/Response.hs
+formatted       67fc2ee5b828  servant-0.20.3.0/src/Servant/Types/SourceT.hs
+formatted       53d98dae59b5  servant-0.20.3.0/test/Servant/API/ContentTypesSpec.hs
+formatted       e3831fbf1942  servant-0.20.3.0/test/Servant/API/ResponseHeadersSpec.hs
+formatted       ae5d76c586b6  servant-0.20.3.0/test/Servant/API/StreamSpec.hs
+formatted       80b31131f312  servant-0.20.3.0/test/Servant/LinksSpec.hs
+formatted       2fbd14b119a4  servant-0.20.3.0/test/Spec.hs
+formatted       e865ae48f11b  servant-server-0.20.3.0/Setup.hs
+formatted       94434a62f52d  servant-server-0.20.3.0/example/greet.hs
+formatted       36af8b20ae7c  servant-server-0.20.3.0/src/Servant.hs
+formatted       0314aa0d522d  servant-server-0.20.3.0/src/Servant/Server.hs
+formatted       330703b08a6b  servant-server-0.20.3.0/src/Servant/Server/Experimental/Auth.hs
+formatted       dfd9af0125b3  servant-server-0.20.3.0/src/Servant/Server/Generic.hs
+formatted       b4e8797d76d1  servant-server-0.20.3.0/src/Servant/Server/Internal.hs
+formatted       037355b8e2c1  servant-server-0.20.3.0/src/Servant/Server/Internal/BasicAuth.hs
+formatted       92efce4827e3  servant-server-0.20.3.0/src/Servant/Server/Internal/Context.hs
+formatted       bd4a63e027b8  servant-server-0.20.3.0/src/Servant/Server/Internal/Delayed.hs
+formatted       d1d06ce9800c  servant-server-0.20.3.0/src/Servant/Server/Internal/DelayedIO.hs
+formatted       826f2afe9b61  servant-server-0.20.3.0/src/Servant/Server/Internal/ErrorFormatter.hs
+formatted       499c01980d40  servant-server-0.20.3.0/src/Servant/Server/Internal/Handler.hs
+formatted       ba689fa2212d  servant-server-0.20.3.0/src/Servant/Server/Internal/ResponseRender.hs
+formatted       7a374d93ec7c  servant-server-0.20.3.0/src/Servant/Server/Internal/RouteResult.hs
+formatted       df9214e904bd  servant-server-0.20.3.0/src/Servant/Server/Internal/Router.hs
+formatted       5baa007789f6  servant-server-0.20.3.0/src/Servant/Server/Internal/RoutingApplication.hs
+formatted       2a44512e241a  servant-server-0.20.3.0/src/Servant/Server/Internal/ServerError.hs
+formatted       42681b2260f0  servant-server-0.20.3.0/src/Servant/Server/StaticFiles.hs
+formatted       63c457ac7b9d  servant-server-0.20.3.0/src/Servant/Server/UVerb.hs
+formatted       47924585d053  servant-server-0.20.3.0/src/Servant/Utils/StaticFiles.hs
+formatted       a1df78cba630  servant-server-0.20.3.0/test/Servant/ArbitraryMonadServerSpec.hs
+formatted       e58e121f36c2  servant-server-0.20.3.0/test/Servant/HoistSpec.hs
+formatted       34a48d720b2a  servant-server-0.20.3.0/test/Servant/Server/ErrorSpec.hs
+formatted       926a8490d2dc  servant-server-0.20.3.0/test/Servant/Server/Internal/ContextSpec.hs
+formatted       e81f9fa0b8d7  servant-server-0.20.3.0/test/Servant/Server/Internal/RoutingApplicationSpec.hs
+formatted       59dbbd2323c9  servant-server-0.20.3.0/test/Servant/Server/RouterSpec.hs
+formatted       978cd433fab8  servant-server-0.20.3.0/test/Servant/Server/StaticFilesSpec.hs
+formatted       c02f7ad1e141  servant-server-0.20.3.0/test/Servant/Server/StreamingSpec.hs
+formatted       08f0ee883732  servant-server-0.20.3.0/test/Servant/Server/UsingContextSpec.hs
+formatted       4bef78689c11  servant-server-0.20.3.0/test/Servant/Server/UsingContextSpec/TestCombinators.hs
+formatted       020a2b9bed70  servant-server-0.20.3.0/test/Servant/ServerSpec.hs
+formatted       2fbd14b119a4  servant-server-0.20.3.0/test/Spec.hs
+formatted       e865ae48f11b  shake-0.19.9/Setup.hs
+formatted       74742a951167  shake-0.19.9/docs/manual/Shakefile.hs
+formatted       4073377a431d  shake-0.19.9/src/Development/Ninja/All.hs
+formatted       2c1295bb3fc2  shake-0.19.9/src/Development/Ninja/Env.hs
+formatted       d4bec04020cf  shake-0.19.9/src/Development/Ninja/Lexer.hs
+formatted       d8ac77d4f384  shake-0.19.9/src/Development/Ninja/Parse.hs
+formatted       d0a6dad6c169  shake-0.19.9/src/Development/Ninja/Type.hs
+formatted       5f912748bf33  shake-0.19.9/src/Development/Shake.hs
+formatted       aaa5eca426cd  shake-0.19.9/src/Development/Shake/Classes.hs
+formatted       dd8031e86c74  shake-0.19.9/src/Development/Shake/Command.hs
+formatted       fe898acc76a5  shake-0.19.9/src/Development/Shake/Config.hs
+formatted       4acd0c0cd468  shake-0.19.9/src/Development/Shake/Database.hs
+formatted       37f2f0d1c0a1  shake-0.19.9/src/Development/Shake/FilePath.hs
+formatted       92c8ffdc7e10  shake-0.19.9/src/Development/Shake/Forward.hs
+formatted       1d28cd954526  shake-0.19.9/src/Development/Shake/Internal/Args.hs
+formatted       e5233c61d810  shake-0.19.9/src/Development/Shake/Internal/CmdOption.hs
+formatted       6bc7f627cb0f  shake-0.19.9/src/Development/Shake/Internal/CompactUI.hs
+formatted       3718e9ee167d  shake-0.19.9/src/Development/Shake/Internal/Core/Action.hs
+formatted       1c85be5fa72c  shake-0.19.9/src/Development/Shake/Internal/Core/Build.hs
+formatted       0db73d4d0b6d  shake-0.19.9/src/Development/Shake/Internal/Core/Database.hs
+formatted       ead03f14a1de  shake-0.19.9/src/Development/Shake/Internal/Core/Monad.hs
+formatted       d8ecdf9d4351  shake-0.19.9/src/Development/Shake/Internal/Core/Pool.hs
+formatted       39ce95312e5b  shake-0.19.9/src/Development/Shake/Internal/Core/Rules.hs
+formatted       879b51f2e6bc  shake-0.19.9/src/Development/Shake/Internal/Core/Run.hs
+formatted       c4965c2b99d1  shake-0.19.9/src/Development/Shake/Internal/Core/Storage.hs
+formatted       1d175f39cce4  shake-0.19.9/src/Development/Shake/Internal/Core/Types.hs
+formatted       230e7ac4d4c8  shake-0.19.9/src/Development/Shake/Internal/Demo.hs
+formatted       afdd4d184eef  shake-0.19.9/src/Development/Shake/Internal/Derived.hs
+formatted       8068b564969b  shake-0.19.9/src/Development/Shake/Internal/Errors.hs
+declined        -             shake-0.19.9/src/Development/Shake/Internal/FileInfo.hs
+formatted       d2f0e483806c  shake-0.19.9/src/Development/Shake/Internal/FileName.hs
+formatted       d699b9caa05b  shake-0.19.9/src/Development/Shake/Internal/FilePattern.hs
+formatted       d63b27e70d45  shake-0.19.9/src/Development/Shake/Internal/History/Bloom.hs
+formatted       99a240d6294a  shake-0.19.9/src/Development/Shake/Internal/History/Cloud.hs
+formatted       fbf0bb1285c1  shake-0.19.9/src/Development/Shake/Internal/History/Network.hs
+formatted       4e5d3e1a053a  shake-0.19.9/src/Development/Shake/Internal/History/Serialise.hs
+formatted       9a07c8f52b85  shake-0.19.9/src/Development/Shake/Internal/History/Server.hs
+formatted       1de7731055df  shake-0.19.9/src/Development/Shake/Internal/History/Shared.hs
+declined        -             shake-0.19.9/src/Development/Shake/Internal/History/Symlink.hs
+formatted       14a9f7a9f711  shake-0.19.9/src/Development/Shake/Internal/History/Types.hs
+formatted       72f8ae3c5291  shake-0.19.9/src/Development/Shake/Internal/Options.hs
+formatted       da4fa2ab6fb5  shake-0.19.9/src/Development/Shake/Internal/Paths.hs
+formatted       e882614250c8  shake-0.19.9/src/Development/Shake/Internal/Profile.hs
+declined        -             shake-0.19.9/src/Development/Shake/Internal/Progress.hs
+formatted       5403eb005089  shake-0.19.9/src/Development/Shake/Internal/Resource.hs
+formatted       33bbaac67155  shake-0.19.9/src/Development/Shake/Internal/Rules/Default.hs
+formatted       4b2cc903c228  shake-0.19.9/src/Development/Shake/Internal/Rules/Directory.hs
+formatted       0f4da8032db0  shake-0.19.9/src/Development/Shake/Internal/Rules/File.hs
+formatted       e0f7a639aff9  shake-0.19.9/src/Development/Shake/Internal/Rules/Files.hs
+formatted       2fda06f6905d  shake-0.19.9/src/Development/Shake/Internal/Rules/Oracle.hs
+formatted       7f55fdd52c13  shake-0.19.9/src/Development/Shake/Internal/Rules/OrderOnly.hs
+formatted       a4f876c28f04  shake-0.19.9/src/Development/Shake/Internal/Rules/Rerun.hs
+formatted       50ad8b8dd552  shake-0.19.9/src/Development/Shake/Internal/Value.hs
+formatted       3d3221348f58  shake-0.19.9/src/Development/Shake/Rule.hs
+formatted       c18b9f8aaff6  shake-0.19.9/src/Development/Shake/Util.hs
+formatted       9ac9178f83e4  shake-0.19.9/src/General/Bilist.hs
+formatted       7711d8cd93d6  shake-0.19.9/src/General/Binary.hs
+formatted       b2d6fcda8d47  shake-0.19.9/src/General/Chunks.hs
+formatted       fd01ce11c7ed  shake-0.19.9/src/General/Cleanup.hs
+declined        -             shake-0.19.9/src/General/EscCodes.hs
+formatted       ded6af452200  shake-0.19.9/src/General/Extra.hs
+formatted       f5b402726069  shake-0.19.9/src/General/Fence.hs
+declined        -             shake-0.19.9/src/General/FileLock.hs
+formatted       4642c79bfd67  shake-0.19.9/src/General/GetOpt.hs
+formatted       7dbf8790ba07  shake-0.19.9/src/General/Ids.hs
+formatted       58b33e3fe79b  shake-0.19.9/src/General/Intern.hs
+formatted       805679d6cb3b  shake-0.19.9/src/General/ListBuilder.hs
+formatted       a47cafe8801a  shake-0.19.9/src/General/Makefile.hs
+formatted       f90e426b9f67  shake-0.19.9/src/General/Pool.hs
+formatted       088cdb366fb4  shake-0.19.9/src/General/Process.hs
+formatted       82ebb98cf3f6  shake-0.19.9/src/General/Template.hs
+formatted       2a59c932c84a  shake-0.19.9/src/General/Thread.hs
+formatted       8c8b2aeca46f  shake-0.19.9/src/General/Timing.hs
+formatted       5165c4d037ae  shake-0.19.9/src/General/TypeMap.hs
+formatted       cfde55b82047  shake-0.19.9/src/General/Wait.hs
+formatted       4743f12ee1b5  shake-0.19.9/src/Paths.hs
+formatted       0f55b2465266  shake-0.19.9/src/Run.hs
+formatted       00e3e8774eb8  shake-0.19.9/src/Test.hs
+formatted       d95f68650ace  shake-0.19.9/src/Test/Basic.hs
+formatted       3bd2d35d847e  shake-0.19.9/src/Test/Batch.hs
+formatted       537436a3e8eb  shake-0.19.9/src/Test/Benchmark.hs
+formatted       2f502f03a3af  shake-0.19.9/src/Test/Builtin.hs
+formatted       5eebedceec7c  shake-0.19.9/src/Test/BuiltinOverride.hs
+formatted       676e7c546a7a  shake-0.19.9/src/Test/C.hs
+formatted       6e02ffe8e989  shake-0.19.9/src/Test/Cache.hs
+formatted       1aeb4b353925  shake-0.19.9/src/Test/Cleanup.hs
+formatted       94d21e3b6d15  shake-0.19.9/src/Test/CloseFileHandles.hs
+formatted       07dcfbd4f0e9  shake-0.19.9/src/Test/Command.hs
+formatted       d585f1ae859e  shake-0.19.9/src/Test/Config.hs
+formatted       a88fce07cb49  shake-0.19.9/src/Test/Database.hs
+formatted       eb315046812d  shake-0.19.9/src/Test/Digest.hs
+formatted       aebdb7734b44  shake-0.19.9/src/Test/Directory.hs
+formatted       19fceac75347  shake-0.19.9/src/Test/Docs.hs
+formatted       308ac84aaad2  shake-0.19.9/src/Test/Errors.hs
+formatted       677f13e861e2  shake-0.19.9/src/Test/Existence.hs
+formatted       905c6480ba1a  shake-0.19.9/src/Test/FileLock.hs
+formatted       81c402ec595d  shake-0.19.9/src/Test/FilePath.hs
+formatted       c6a839a4a9a0  shake-0.19.9/src/Test/FilePattern.hs
+formatted       95f02b9babd0  shake-0.19.9/src/Test/Files.hs
+formatted       2410ba3c1d1c  shake-0.19.9/src/Test/Forward.hs
+formatted       29adad9ca29e  shake-0.19.9/src/Test/History.hs
+formatted       20726235bf9f  shake-0.19.9/src/Test/Journal.hs
+formatted       7aceba9387ad  shake-0.19.9/src/Test/Lint.hs
+formatted       bc5b84d29015  shake-0.19.9/src/Test/Live.hs
+formatted       10986fbdeb26  shake-0.19.9/src/Test/Manual.hs
+formatted       88c57ecfeedc  shake-0.19.9/src/Test/Match.hs
+formatted       7752b9787efe  shake-0.19.9/src/Test/Monad.hs
+formatted       71cd1aa0b62a  shake-0.19.9/src/Test/Ninja.hs
+formatted       3f3283d077e8  shake-0.19.9/src/Test/Oracle.hs
+formatted       978fe6b046d3  shake-0.19.9/src/Test/OrderOnly.hs
+formatted       ef602adca394  shake-0.19.9/src/Test/Parallel.hs
+formatted       65da3c21768b  shake-0.19.9/src/Test/Pool.hs
+formatted       3b3859244497  shake-0.19.9/src/Test/Progress.hs
+formatted       193b8dadb0f6  shake-0.19.9/src/Test/Random.hs
+formatted       09dc1f325fa2  shake-0.19.9/src/Test/Rebuild.hs
+formatted       05a9d82060d5  shake-0.19.9/src/Test/Reschedule.hs
+formatted       4bba00eca063  shake-0.19.9/src/Test/Resources.hs
+formatted       b7b9a795cdac  shake-0.19.9/src/Test/Self.hs
+formatted       63a4fd1e999e  shake-0.19.9/src/Test/SelfMake.hs
+formatted       877a0e80e97c  shake-0.19.9/src/Test/Tar.hs
+formatted       4d2c4a8239a4  shake-0.19.9/src/Test/Targets.hs
+formatted       66e58e5885bf  shake-0.19.9/src/Test/Thread.hs
+formatted       4f67bfc5772f  shake-0.19.9/src/Test/Tup.hs
+formatted       338f8c45314a  shake-0.19.9/src/Test/Type.hs
+formatted       54e64e6c5861  shake-0.19.9/src/Test/Unicode.hs
+formatted       e25b00fa8c01  shake-0.19.9/src/Test/Util.hs
+formatted       06b047e38b92  shake-0.19.9/src/Test/Verbosity.hs
+formatted       2fd7b17667d4  shake-0.19.9/src/Test/Version.hs
+formatted       e865ae48f11b  singletons-3.0.4/Setup.hs
+partly-checked  2f46facfb45f  singletons-3.0.4/src/Data/Singletons.hs
+formatted       c45cc9997c1b  singletons-3.0.4/src/Data/Singletons/Decide.hs
+formatted       2dbb1f05019a  singletons-3.0.4/src/Data/Singletons/ShowSing.hs
+formatted       fc6aa30ab830  singletons-3.0.4/src/Data/Singletons/Sigma.hs
+formatted       f94fecdcc9ce  singletons-3.0.4/tests/ByHand.hs
+formatted       306f88c7856f  singletons-3.0.4/tests/ByHand2.hs
+formatted       92855df34052  singletons-3.0.4/tests/SingletonsTestSuite.hs
+formatted       6136d5005f58  split-0.2.5/src/Data/List/Split.hs
+formatted       4fa319b409ce  split-0.2.5/src/Data/List/Split/Internals.hs
+formatted       b113f2c86b80  split-0.2.5/test/Properties.hs
+formatted       e865ae48f11b  stack-9.9.9/Setup.hs
+formatted       e865ae48f11b  stack-9.9.9/new-template/Setup.hs
+formatted       76b6ff5a6856  stack-9.9.9/new-template/app/Main.hs
+formatted       43a1a1282883  stack-9.9.9/new-template/src/Lib.hs
+formatted       ef8d1c0c14bd  stack-9.9.9/new-template/test/Spec.hs
+formatted       b242c9fba418  stack-9.9.9/src/Control/Concurrent/Execute.hs
+formatted       1626f2be589f  stack-9.9.9/src/Data/Aeson/Extended.hs
+formatted       0954e0cf734d  stack-9.9.9/src/Data/Attoparsec/Args.hs
+formatted       16b8b20df073  stack-9.9.9/src/Data/Attoparsec/Combinators.hs
+formatted       037b65ce26e8  stack-9.9.9/src/Data/Binary/VersionTagged.hs
+formatted       539c0ec149f1  stack-9.9.9/src/Data/Maybe/Extra.hs
+formatted       dc55bef0db50  stack-9.9.9/src/Data/Set/Monad.hs
+formatted       4dc8abe3f9d0  stack-9.9.9/src/Network/HTTP/Download.hs
+formatted       7b9ffbf95e31  stack-9.9.9/src/Network/HTTP/Download/Verified.hs
+formatted       9b9575b284ed  stack-9.9.9/src/Options/Applicative/Args.hs
+formatted       8ea1062e3501  stack-9.9.9/src/Options/Applicative/Builder/Extra.hs
+formatted       2de54a2fad07  stack-9.9.9/src/Path/Find.hs
+formatted       edd63444fca5  stack-9.9.9/src/Path/IO.hs
+formatted       5dadab0383d6  stack-9.9.9/src/Stack/Build.hs
+formatted       a43fae10e77a  stack-9.9.9/src/Stack/Build/Cache.hs
+formatted       a4cba9ba8f2e  stack-9.9.9/src/Stack/Build/ConstructPlan.hs
+formatted       eaa5e85b0583  stack-9.9.9/src/Stack/Build/Execute.hs
+formatted       de089263c294  stack-9.9.9/src/Stack/Build/Haddock.hs
+formatted       654beaf35ef4  stack-9.9.9/src/Stack/Build/Installed.hs
+formatted       06c4111b8135  stack-9.9.9/src/Stack/Build/Source.hs
+formatted       fc7fc283e8fd  stack-9.9.9/src/Stack/Build/Types.hs
+formatted       2c09f7aea62b  stack-9.9.9/src/Stack/BuildPlan.hs
+formatted       e9f8588272f3  stack-9.9.9/src/Stack/Config.hs
+formatted       ad6ff4f0e7a9  stack-9.9.9/src/Stack/Constants.hs
+formatted       06fb3ddd008b  stack-9.9.9/src/Stack/Docker.hs
+formatted       c79a06de332d  stack-9.9.9/src/Stack/Docker/GlobalDB.hs
+formatted       98ff533a85db  stack-9.9.9/src/Stack/Dot.hs
+formatted       be5f20daf47f  stack-9.9.9/src/Stack/Exec.hs
+formatted       245ebb1d3330  stack-9.9.9/src/Stack/Fetch.hs
+formatted       245e598f9de2  stack-9.9.9/src/Stack/GhcPkg.hs
+formatted       3105810c329a  stack-9.9.9/src/Stack/Init.hs
+formatted       6928a6d3eb9e  stack-9.9.9/src/Stack/New.hs
+formatted       7d98b8ebc11f  stack-9.9.9/src/Stack/Package.hs
+formatted       f7b446a8450e  stack-9.9.9/src/Stack/PackageDump.hs
+formatted       6b38b0128bd8  stack-9.9.9/src/Stack/PackageIndex.hs
+formatted       9f2b4650611a  stack-9.9.9/src/Stack/Repl.hs
+formatted       6aa86a2a82b8  stack-9.9.9/src/Stack/Setup.hs
+formatted       cfaaa5fa67b2  stack-9.9.9/src/Stack/Solver.hs
+formatted       ebbf896669e4  stack-9.9.9/src/Stack/Types.hs
+formatted       495a153af358  stack-9.9.9/src/Stack/Types/BuildPlan.hs
+formatted       11593cc0360a  stack-9.9.9/src/Stack/Types/Config.hs
+formatted       3833e46a8e74  stack-9.9.9/src/Stack/Types/Docker.hs
+formatted       a2c224f7bdd7  stack-9.9.9/src/Stack/Types/FlagName.hs
+formatted       089c3921b7f8  stack-9.9.9/src/Stack/Types/GhcPkgId.hs
+formatted       0a5c6fbf2fa6  stack-9.9.9/src/Stack/Types/Internal.hs
+formatted       02a27397c821  stack-9.9.9/src/Stack/Types/PackageIdentifier.hs
+formatted       c278426b06f0  stack-9.9.9/src/Stack/Types/PackageName.hs
+formatted       18d01c9f5aaa  stack-9.9.9/src/Stack/Types/StackT.hs
+formatted       a0599e5f2fca  stack-9.9.9/src/Stack/Types/Version.hs
+formatted       b7d997c9dcad  stack-9.9.9/src/Stack/Upgrade.hs
+formatted       897639e812cf  stack-9.9.9/src/Stack/Upload.hs
+formatted       6d98341fe2d3  stack-9.9.9/src/System/Process/Log.hs
+formatted       6625be228b45  stack-9.9.9/src/System/Process/PagerEditor.hs
+formatted       ed6867615a99  stack-9.9.9/src/System/Process/Read.hs
+formatted       dad4e93ec7b8  stack-9.9.9/src/System/Process/Run.hs
+formatted       8b431c7b3ff1  stack-9.9.9/src/main/Main.hs
+formatted       35c0af8586db  stack-9.9.9/src/main/Plugins.hs
+formatted       953c3bc7bbda  stack-9.9.9/src/main/Plugins/Commands.hs
+formatted       65c8c298f7aa  stack-9.9.9/src/test/Spec.hs
+formatted       1b1eb625a2ce  stack-9.9.9/src/test/Stack/ArgsSpec.hs
+formatted       3e348127f2c9  stack-9.9.9/src/test/Stack/Build/ExecuteSpec.hs
+formatted       3ee0badd3e89  stack-9.9.9/src/test/Stack/BuildPlanSpec.hs
+formatted       9d2a2c4e50b4  stack-9.9.9/src/test/Stack/ConfigSpec.hs
+formatted       53c897acb9cf  stack-9.9.9/src/test/Stack/PackageDumpSpec.hs
+formatted       907244e8d09d  stack-9.9.9/src/test/Test.hs
+formatted       2c73222095d4  stack-9.9.9/test/integration/Spec.hs
+formatted       2415f43beba0  statistics-0.16.5.0/Statistics/Autocorrelation.hs
+formatted       a435aa8eea80  statistics-0.16.5.0/Statistics/ConfidenceInt.hs
+formatted       e4325451ef94  statistics-0.16.5.0/Statistics/Correlation.hs
+formatted       9b86a8b1299d  statistics-0.16.5.0/Statistics/Correlation/Kendall.hs
+formatted       32d9cb16b895  statistics-0.16.5.0/Statistics/Distribution.hs
+formatted       7e093c4efa19  statistics-0.16.5.0/Statistics/Distribution/Beta.hs
+formatted       e23bf29e7f90  statistics-0.16.5.0/Statistics/Distribution/Binomial.hs
+formatted       9536ac105857  statistics-0.16.5.0/Statistics/Distribution/CauchyLorentz.hs
+formatted       297a88529265  statistics-0.16.5.0/Statistics/Distribution/ChiSquared.hs
+formatted       4e4dcb3138ec  statistics-0.16.5.0/Statistics/Distribution/DiscreteUniform.hs
+formatted       b062903add06  statistics-0.16.5.0/Statistics/Distribution/Exponential.hs
+formatted       9a2920d25172  statistics-0.16.5.0/Statistics/Distribution/FDistribution.hs
+formatted       c0598ba919d2  statistics-0.16.5.0/Statistics/Distribution/Gamma.hs
+formatted       3812dc4a00de  statistics-0.16.5.0/Statistics/Distribution/Geometric.hs
+formatted       b220145543b4  statistics-0.16.5.0/Statistics/Distribution/Hypergeometric.hs
+formatted       4d2159ebbdd7  statistics-0.16.5.0/Statistics/Distribution/Laplace.hs
+formatted       738e155c02eb  statistics-0.16.5.0/Statistics/Distribution/Lognormal.hs
+formatted       4a62e063e3e4  statistics-0.16.5.0/Statistics/Distribution/NegativeBinomial.hs
+formatted       407ac616885d  statistics-0.16.5.0/Statistics/Distribution/Normal.hs
+formatted       e40eb98096cb  statistics-0.16.5.0/Statistics/Distribution/Poisson.hs
+formatted       105e96a8214d  statistics-0.16.5.0/Statistics/Distribution/Poisson/Internal.hs
+formatted       e264ec1b212f  statistics-0.16.5.0/Statistics/Distribution/StudentT.hs
+formatted       0ef5f3708118  statistics-0.16.5.0/Statistics/Distribution/Transform.hs
+formatted       102dc5c5d43c  statistics-0.16.5.0/Statistics/Distribution/Uniform.hs
+formatted       0322a5d59477  statistics-0.16.5.0/Statistics/Distribution/Weibull.hs
+formatted       855f4c3e7459  statistics-0.16.5.0/Statistics/Function.hs
+formatted       1dd76c1cffa5  statistics-0.16.5.0/Statistics/Internal.hs
+formatted       2f6322cba07c  statistics-0.16.5.0/Statistics/Quantile.hs
+formatted       a48171911919  statistics-0.16.5.0/Statistics/Regression.hs
+formatted       26b1d78aca0a  statistics-0.16.5.0/Statistics/Resampling.hs
+formatted       bad9f1efb937  statistics-0.16.5.0/Statistics/Resampling/Bootstrap.hs
+formatted       6c85d122f70e  statistics-0.16.5.0/Statistics/Sample.hs
+formatted       91afc2f2a074  statistics-0.16.5.0/Statistics/Sample/Histogram.hs
+formatted       93676430ea32  statistics-0.16.5.0/Statistics/Sample/Internal.hs
+formatted       1095b02cf29a  statistics-0.16.5.0/Statistics/Sample/KernelDensity.hs
+formatted       7f94b71b516f  statistics-0.16.5.0/Statistics/Sample/KernelDensity/Simple.hs
+formatted       182323bf7b52  statistics-0.16.5.0/Statistics/Sample/Normalize.hs
+formatted       7f94fc515894  statistics-0.16.5.0/Statistics/Sample/Powers.hs
+formatted       f8467daa808b  statistics-0.16.5.0/Statistics/Test/Bartlett.hs
+formatted       26d588965654  statistics-0.16.5.0/Statistics/Test/ChiSquared.hs
+formatted       73f6726eb72d  statistics-0.16.5.0/Statistics/Test/Internal.hs
+formatted       89cfdbb22f93  statistics-0.16.5.0/Statistics/Test/KolmogorovSmirnov.hs
+formatted       94627037d1ad  statistics-0.16.5.0/Statistics/Test/KruskalWallis.hs
+formatted       253998c558da  statistics-0.16.5.0/Statistics/Test/Levene.hs
+formatted       b80554fa7980  statistics-0.16.5.0/Statistics/Test/MannWhitneyU.hs
+formatted       13447fb32ed9  statistics-0.16.5.0/Statistics/Test/StudentT.hs
+formatted       86d2c8a93b4a  statistics-0.16.5.0/Statistics/Test/Types.hs
+formatted       b3044d76eaef  statistics-0.16.5.0/Statistics/Test/WilcoxonT.hs
+formatted       df5defce8343  statistics-0.16.5.0/Statistics/Transform.hs
+formatted       fc9d75835090  statistics-0.16.5.0/Statistics/Types.hs
+formatted       f071cb4c4814  statistics-0.16.5.0/Statistics/Types/Internal.hs
+formatted       61fe00909bf5  statistics-0.16.5.0/bench-papi/Bench.hs
+formatted       5cb55894d7fb  statistics-0.16.5.0/bench-time/Bench.hs
+formatted       60d070ff3f14  statistics-0.16.5.0/benchmark/Main.hs
+formatted       3b3069e2c6b3  statistics-0.16.5.0/examples/kde/KDE.hs
+formatted       92b0c3b1c27c  statistics-0.16.5.0/tests/Tests/ApproxEq.hs
+formatted       2efd998725ca  statistics-0.16.5.0/tests/Tests/Correlation.hs
+formatted       a96848e65b84  statistics-0.16.5.0/tests/Tests/Distribution.hs
+formatted       2d49b570aa85  statistics-0.16.5.0/tests/Tests/ExactDistribution.hs
+formatted       2b68f7647b44  statistics-0.16.5.0/tests/Tests/Function.hs
+formatted       41e99f06d5a2  statistics-0.16.5.0/tests/Tests/Helpers.hs
+formatted       9e856aec4792  statistics-0.16.5.0/tests/Tests/KDE.hs
+formatted       ed585b2b71c5  statistics-0.16.5.0/tests/Tests/Matrix.hs
+formatted       02b50e86572e  statistics-0.16.5.0/tests/Tests/Matrix/Types.hs
+formatted       9160ebc4fe4e  statistics-0.16.5.0/tests/Tests/NonParametric.hs
+formatted       fe2940d88a29  statistics-0.16.5.0/tests/Tests/NonParametric/Table.hs
+formatted       adca9e291549  statistics-0.16.5.0/tests/Tests/Orphanage.hs
+formatted       9d12b5f889bb  statistics-0.16.5.0/tests/Tests/Parametric.hs
+formatted       d9a46d0116f1  statistics-0.16.5.0/tests/Tests/Quantile.hs
+formatted       d363f1b69481  statistics-0.16.5.0/tests/Tests/Serialization.hs
+formatted       7df1a09365aa  statistics-0.16.5.0/tests/Tests/Transform.hs
+formatted       55f699624c9d  statistics-0.16.5.0/tests/doctest.hs
+formatted       1784c45491b8  statistics-0.16.5.0/tests/tests.hs
+formatted       5f0d2b137d6b  stm-2.5.3.1/Control/Concurrent/STM.hs
+formatted       cd347fdaa2ca  stm-2.5.3.1/Control/Concurrent/STM/TArray.hs
+formatted       b5b8365ecb98  stm-2.5.3.1/Control/Concurrent/STM/TBQueue.hs
+formatted       b3223802e45f  stm-2.5.3.1/Control/Concurrent/STM/TChan.hs
+formatted       cb6fa1b60611  stm-2.5.3.1/Control/Concurrent/STM/TMVar.hs
+formatted       2c0b2a1af3ac  stm-2.5.3.1/Control/Concurrent/STM/TQueue.hs
+formatted       48691134d1c9  stm-2.5.3.1/Control/Concurrent/STM/TSem.hs
+formatted       96d45742c4d8  stm-2.5.3.1/Control/Concurrent/STM/TVar.hs
+partly-checked  c0318e25badf  stm-2.5.3.1/Control/Monad/STM.hs
+formatted       253e16ebc0a2  stm-2.5.3.1/Control/Sequential/STM.hs
+formatted       7474b7e1d4f5  stm-2.5.3.1/Setup.hs
+formatted       f9e9b7381f21  stm-2.5.3.1/testsuite/src/Issue17.hs
+formatted       907fd6e72f77  stm-2.5.3.1/testsuite/src/Issue9.hs
+formatted       8051135232d6  stm-2.5.3.1/testsuite/src/Main.hs
+formatted       e615b2eab817  stm-2.5.3.1/testsuite/src/Stm052.hs
+formatted       805d9ad01c83  stm-2.5.3.1/testsuite/src/Stm064.hs
+formatted       c50c02fff121  stm-2.5.3.1/testsuite/src/Stm065.hs
+formatted       0872066614e0  swagger2-2.9.1/Setup.hs
+formatted       afa7e67ddabd  swagger2-2.9.1/examples/hackage.hs
+formatted       09c9655f4798  swagger2-2.9.1/src/Data/HashMap/Strict/InsOrd/Compat.hs
+formatted       907ed9507204  swagger2-2.9.1/src/Data/Swagger.hs
+formatted       e59446f122f4  swagger2-2.9.1/src/Data/Swagger/Declare.hs
+formatted       e4dcdfdde689  swagger2-2.9.1/src/Data/Swagger/Internal.hs
+formatted       54e6b4c611e6  swagger2-2.9.1/src/Data/Swagger/Internal/AesonUtils.hs
+formatted       4b4fe8d5aaed  swagger2-2.9.1/src/Data/Swagger/Internal/ParamSchema.hs
+formatted       b3dc5f70bb51  swagger2-2.9.1/src/Data/Swagger/Internal/Schema.hs
+formatted       20b0b39097f8  swagger2-2.9.1/src/Data/Swagger/Internal/Schema/Validation.hs
+formatted       464b33ae08f2  swagger2-2.9.1/src/Data/Swagger/Internal/TypeShape.hs
+formatted       99a68bb09805  swagger2-2.9.1/src/Data/Swagger/Internal/Utils.hs
+formatted       be55ed53f3c9  swagger2-2.9.1/src/Data/Swagger/Lens.hs
+formatted       a46d70b8a136  swagger2-2.9.1/src/Data/Swagger/Operation.hs
+formatted       38226db24202  swagger2-2.9.1/src/Data/Swagger/Optics.hs
+formatted       921014318e6b  swagger2-2.9.1/src/Data/Swagger/ParamSchema.hs
+formatted       00ea96288a8e  swagger2-2.9.1/src/Data/Swagger/Schema.hs
+formatted       aad654d2c89d  swagger2-2.9.1/src/Data/Swagger/Schema/Generator.hs
+formatted       f4eedba94da3  swagger2-2.9.1/src/Data/Swagger/Schema/Validation.hs
+formatted       62de151f8db6  swagger2-2.9.1/src/Data/Swagger/SchemaOptions.hs
+formatted       b138dff6d1be  swagger2-2.9.1/test/Data/Swagger/CommonTestTypes.hs
+formatted       d185bfa2de7c  swagger2-2.9.1/test/Data/Swagger/ParamSchemaSpec.hs
+formatted       7650056001f7  swagger2-2.9.1/test/Data/Swagger/Schema/GeneratorSpec.hs
+formatted       a32024e69d9e  swagger2-2.9.1/test/Data/Swagger/Schema/ValidationSpec.hs
+formatted       efdc1253a56a  swagger2-2.9.1/test/Data/Swagger/SchemaSpec.hs
+formatted       d078628514b0  swagger2-2.9.1/test/Data/SwaggerSpec.hs
+formatted       2fbd14b119a4  swagger2-2.9.1/test/Spec.hs
+formatted       ce8ccca9a81e  swagger2-2.9.1/test/SpecCommon.hs
+formatted       216b861a2a99  swagger2-2.9.1/test/doctests.hs
+formatted       59eb92f0adfd  tasty-1.5.4/Control/Concurrent/Async.hs
+formatted       e865ae48f11b  tasty-1.5.4/Setup.hs
+formatted       353514c58b1b  tasty-1.5.4/Test/Tasty.hs
+formatted       ce6e86433f90  tasty-1.5.4/Test/Tasty/CmdLine.hs
+formatted       fb78cf0e6f28  tasty-1.5.4/Test/Tasty/Core.hs
+formatted       9b429a70e2e6  tasty-1.5.4/Test/Tasty/Ingredients.hs
+formatted       e5b5a8ae6a19  tasty-1.5.4/Test/Tasty/Ingredients/Basic.hs
+formatted       db4eb7acad97  tasty-1.5.4/Test/Tasty/Ingredients/ConsoleReporter.hs
+formatted       8c6cf8ae3d46  tasty-1.5.4/Test/Tasty/Ingredients/IncludingOptions.hs
+formatted       895ad5fd80d6  tasty-1.5.4/Test/Tasty/Ingredients/ListTests.hs
+formatted       45e4595aa3bd  tasty-1.5.4/Test/Tasty/Options.hs
+formatted       6fd4d7a62066  tasty-1.5.4/Test/Tasty/Options/Core.hs
+formatted       b2913a01960c  tasty-1.5.4/Test/Tasty/Options/Env.hs
+formatted       ec35c3f08ab4  tasty-1.5.4/Test/Tasty/Parallel.hs
+formatted       8b2c82f824d5  tasty-1.5.4/Test/Tasty/Patterns.hs
+formatted       e4500e302545  tasty-1.5.4/Test/Tasty/Patterns/Eval.hs
+formatted       962588192749  tasty-1.5.4/Test/Tasty/Patterns/Expr.hs
+formatted       586f80a0253a  tasty-1.5.4/Test/Tasty/Patterns/Parser.hs
+formatted       38e77b875d23  tasty-1.5.4/Test/Tasty/Patterns/Printer.hs
+formatted       bd4fb8a4a00b  tasty-1.5.4/Test/Tasty/Patterns/Types.hs
+formatted       47b01dbdf4bc  tasty-1.5.4/Test/Tasty/Providers.hs
+formatted       7c76f70969e5  tasty-1.5.4/Test/Tasty/Providers/ConsoleFormat.hs
+formatted       5a3ff02f55ac  tasty-1.5.4/Test/Tasty/Run.hs
+formatted       54c7c8333802  tasty-1.5.4/Test/Tasty/Runners.hs
+formatted       49ff10e964fa  tasty-1.5.4/Test/Tasty/Runners/Reducers.hs
+formatted       5f69625c5cc0  tasty-1.5.4/Test/Tasty/Runners/Utils.hs
+formatted       e865ae48f11b  tensorflow-0.2.0.1/Setup.hs
+formatted       f1de869471c8  tensorflow-0.2.0.1/src/TensorFlow/Build.hs
+formatted       358ef315d734  tensorflow-0.2.0.1/src/TensorFlow/BuildOp.hs
+formatted       9467ddf4ddb7  tensorflow-0.2.0.1/src/TensorFlow/ControlFlow.hs
+formatted       51a12137c897  tensorflow-0.2.0.1/src/TensorFlow/Core.hs
+formatted       ea41bc2c8a54  tensorflow-0.2.0.1/src/TensorFlow/Internal/FFI.hs
+formatted       9804b4f95829  tensorflow-0.2.0.1/src/TensorFlow/Internal/VarInt.hs
+formatted       063a6ee1f78e  tensorflow-0.2.0.1/src/TensorFlow/Nodes.hs
+formatted       6fe5dd9468c4  tensorflow-0.2.0.1/src/TensorFlow/Output.hs
+formatted       417d60f2ed14  tensorflow-0.2.0.1/src/TensorFlow/Session.hs
+formatted       41cb2d5776a1  tensorflow-0.2.0.1/src/TensorFlow/Tensor.hs
+formatted       3eb569d0c339  tensorflow-0.2.0.1/src/TensorFlow/Types.hs
+formatted       47e1704e2ae6  tensorflow-0.2.0.1/tests/FFITest.hs
+formatted       0499dabf8b1a  tensorflow-0.2.0.1/tests/VarIntTest.hs
+formatted       e4ac46b9809f  text-2.1.4/benchmarks/haskell/Benchmarks.hs
+formatted       f94edad5aaa1  text-2.1.4/benchmarks/haskell/Benchmarks/Builder.hs
+formatted       574f83613823  text-2.1.4/benchmarks/haskell/Benchmarks/Concat.hs
+formatted       b7b2761d9b72  text-2.1.4/benchmarks/haskell/Benchmarks/DecodeUtf8.hs
+formatted       cf16b4e8d605  text-2.1.4/benchmarks/haskell/Benchmarks/EncodeUtf8.hs
+formatted       f27a5adb36dc  text-2.1.4/benchmarks/haskell/Benchmarks/Equality.hs
+formatted       ff0873f9cba1  text-2.1.4/benchmarks/haskell/Benchmarks/FileRead.hs
+formatted       594d68c11602  text-2.1.4/benchmarks/haskell/Benchmarks/FileWrite.hs
+formatted       067d73b44ce8  text-2.1.4/benchmarks/haskell/Benchmarks/FoldLines.hs
+formatted       f26db86630cf  text-2.1.4/benchmarks/haskell/Benchmarks/Micro.hs
+formatted       8d434bf72613  text-2.1.4/benchmarks/haskell/Benchmarks/Multilang.hs
+formatted       45f573bb970f  text-2.1.4/benchmarks/haskell/Benchmarks/Programs/BigTable.hs
+formatted       b84663a4e5f8  text-2.1.4/benchmarks/haskell/Benchmarks/Programs/Cut.hs
+formatted       1b3b253fae25  text-2.1.4/benchmarks/haskell/Benchmarks/Programs/Fold.hs
+formatted       4a0cdbc36611  text-2.1.4/benchmarks/haskell/Benchmarks/Programs/Sort.hs
+formatted       6a223e87c40a  text-2.1.4/benchmarks/haskell/Benchmarks/Programs/StripTags.hs
+formatted       b4de013c5a01  text-2.1.4/benchmarks/haskell/Benchmarks/Programs/Throughput.hs
+formatted       ff4134751557  text-2.1.4/benchmarks/haskell/Benchmarks/Pure.hs
+formatted       a6ea6e2f71c5  text-2.1.4/benchmarks/haskell/Benchmarks/ReadNumbers.hs
+formatted       c5fcbb34f636  text-2.1.4/benchmarks/haskell/Benchmarks/Replace.hs
+formatted       1e7dea5ae94f  text-2.1.4/benchmarks/haskell/Benchmarks/Search.hs
+formatted       315c8dabb4b4  text-2.1.4/benchmarks/haskell/Benchmarks/Stream.hs
+formatted       fa9fd450b13c  text-2.1.4/benchmarks/haskell/Benchmarks/WordFrequencies.hs
+formatted       bd952ec5e4cf  text-2.1.4/scripts/ApiCompare.hs
+formatted       32685f27fa62  text-2.1.4/scripts/Arsec.hs
+formatted       59fd7896db0c  text-2.1.4/scripts/CaseFolding.hs
+formatted       9433c6a0d98f  text-2.1.4/scripts/CaseMapping.hs
+formatted       9905db86a5bc  text-2.1.4/scripts/SpecialCasing.hs
+formatted       de9ffc8b876e  text-2.1.4/scripts/UnicodeData.hs
+partly-checked  38b3b8d9dd39  text-2.1.4/src/Data/Text.hs
+formatted       224851560707  text-2.1.4/src/Data/Text/Array.hs
+formatted       dab0ccded176  text-2.1.4/src/Data/Text/Encoding.hs
+formatted       f4ac6f3b2f54  text-2.1.4/src/Data/Text/Encoding/Error.hs
+formatted       5175d64d6070  text-2.1.4/src/Data/Text/Foreign.hs
+formatted       ee1544306de3  text-2.1.4/src/Data/Text/IO.hs
+formatted       1aa2e3a1938d  text-2.1.4/src/Data/Text/IO/Utf8.hs
+formatted       f2f27b73704d  text-2.1.4/src/Data/Text/Internal.hs
+formatted       f5683e85faa8  text-2.1.4/src/Data/Text/Internal/ArrayUtils.hs
+formatted       fbd818ba714b  text-2.1.4/src/Data/Text/Internal/Builder.hs
+formatted       1034fda9613b  text-2.1.4/src/Data/Text/Internal/Builder/Functions.hs
+formatted       1f605bf7320e  text-2.1.4/src/Data/Text/Internal/Builder/Int/Digits.hs
+formatted       92b5ef78cd85  text-2.1.4/src/Data/Text/Internal/Builder/RealFloat/Functions.hs
+formatted       7fa192160c9b  text-2.1.4/src/Data/Text/Internal/ByteStringCompat.hs
+formatted       b11edb713100  text-2.1.4/src/Data/Text/Internal/Encoding.hs
+formatted       beee109cb6cc  text-2.1.4/src/Data/Text/Internal/Encoding/Fusion.hs
+formatted       36d8c5de7722  text-2.1.4/src/Data/Text/Internal/Encoding/Fusion/Common.hs
+formatted       a655b7c09ab2  text-2.1.4/src/Data/Text/Internal/Encoding/Utf16.hs
+formatted       b6c4b1310dcf  text-2.1.4/src/Data/Text/Internal/Encoding/Utf32.hs
+formatted       fd80b631c70b  text-2.1.4/src/Data/Text/Internal/Encoding/Utf8.hs
+formatted       a3a1ebc8569e  text-2.1.4/src/Data/Text/Internal/Fusion.hs
+formatted       302377c53f7b  text-2.1.4/src/Data/Text/Internal/Fusion/CaseMapping.hs
+formatted       dedd0b131ebd  text-2.1.4/src/Data/Text/Internal/Fusion/Common.hs
+formatted       409276a926ad  text-2.1.4/src/Data/Text/Internal/Fusion/Size.hs
+formatted       ab3dbdcf2c2b  text-2.1.4/src/Data/Text/Internal/Fusion/Types.hs
+formatted       d5101c543192  text-2.1.4/src/Data/Text/Internal/IO.hs
+formatted       0071b5e15da7  text-2.1.4/src/Data/Text/Internal/IsAscii.hs
+formatted       b46b9354c55e  text-2.1.4/src/Data/Text/Internal/Lazy.hs
+formatted       a47c5b96657e  text-2.1.4/src/Data/Text/Internal/Lazy/Encoding/Fusion.hs
+formatted       6be4f0fdb82e  text-2.1.4/src/Data/Text/Internal/Lazy/Fusion.hs
+formatted       3aace9ea05e4  text-2.1.4/src/Data/Text/Internal/Lazy/Search.hs
+formatted       8b020a0332fd  text-2.1.4/src/Data/Text/Internal/Measure.hs
+formatted       1a0fb1bc4732  text-2.1.4/src/Data/Text/Internal/PrimCompat.hs
+formatted       fd0786a4af2b  text-2.1.4/src/Data/Text/Internal/Private.hs
+formatted       40cb6b5f6713  text-2.1.4/src/Data/Text/Internal/Read.hs
+formatted       b61c2f81eece  text-2.1.4/src/Data/Text/Internal/Reverse.hs
+formatted       2f40d9a767c9  text-2.1.4/src/Data/Text/Internal/Search.hs
+formatted       c78eb69760aa  text-2.1.4/src/Data/Text/Internal/StrictBuilder.hs
+formatted       2b50a4d7c2de  text-2.1.4/src/Data/Text/Internal/Transformation.hs
+formatted       8b844e4de985  text-2.1.4/src/Data/Text/Internal/Unsafe.hs
+formatted       2a762e724f58  text-2.1.4/src/Data/Text/Internal/Unsafe/Char.hs
+formatted       705dc1e7f067  text-2.1.4/src/Data/Text/Internal/Validate.hs
+formatted       ca1a34e1cc53  text-2.1.4/src/Data/Text/Internal/Validate/Native.hs
+formatted       8198f0a9707c  text-2.1.4/src/Data/Text/Internal/Validate/Simd.hs
+formatted       fd5cda085689  text-2.1.4/src/Data/Text/Lazy.hs
+formatted       de615b611e9e  text-2.1.4/src/Data/Text/Lazy/Builder.hs
+formatted       a0184b862b65  text-2.1.4/src/Data/Text/Lazy/Builder/Int.hs
+formatted       5fa0614b59bb  text-2.1.4/src/Data/Text/Lazy/Builder/RealFloat.hs
+formatted       b6ac2c17c1a8  text-2.1.4/src/Data/Text/Lazy/Encoding.hs
+formatted       c897cac1b105  text-2.1.4/src/Data/Text/Lazy/IO.hs
+formatted       9c40bf483c18  text-2.1.4/src/Data/Text/Lazy/Internal.hs
+formatted       3e852a317fe4  text-2.1.4/src/Data/Text/Lazy/Read.hs
+formatted       0d970a897833  text-2.1.4/src/Data/Text/Read.hs
+formatted       b71648e09e92  text-2.1.4/src/Data/Text/Show.hs
+formatted       aa39a0e340ae  text-2.1.4/src/Data/Text/Unsafe.hs
+formatted       7191c34c48f6  text-2.1.4/tests/LiteralRuleTest.hs
+formatted       9dbadd6437fe  text-2.1.4/tests/Tests.hs
+formatted       c37c0eac36cb  text-2.1.4/tests/Tests/Lift.hs
+formatted       a10250f93ec8  text-2.1.4/tests/Tests/Properties.hs
+formatted       7288eb7b9dbf  text-2.1.4/tests/Tests/Properties/Basics.hs
+formatted       10d02d379663  text-2.1.4/tests/Tests/Properties/Builder.hs
+formatted       621a02e9b985  text-2.1.4/tests/Tests/Properties/CornerCases.hs
+formatted       a1a138647268  text-2.1.4/tests/Tests/Properties/Folds.hs
+formatted       b9cb9f0f067e  text-2.1.4/tests/Tests/Properties/Instances.hs
+formatted       6a3ecd0f8c73  text-2.1.4/tests/Tests/Properties/LowLevel.hs
+formatted       cb234548696c  text-2.1.4/tests/Tests/Properties/Read.hs
+formatted       24a9eafe04f4  text-2.1.4/tests/Tests/Properties/Substrings.hs
+formatted       8f977c2345c9  text-2.1.4/tests/Tests/Properties/Text.hs
+formatted       81e0f0cc3640  text-2.1.4/tests/Tests/Properties/Transcoding.hs
+formatted       e16b1175014b  text-2.1.4/tests/Tests/Properties/Validate.hs
+formatted       98b7c6e93df0  text-2.1.4/tests/Tests/QuickCheckUtils.hs
+formatted       1faff51d5865  text-2.1.4/tests/Tests/RebindableSyntaxTest.hs
+formatted       b6cc9075878f  text-2.1.4/tests/Tests/Regressions.hs
+formatted       6730284e0d36  text-2.1.4/tests/Tests/ShareEmpty.hs
+formatted       0f560419ac7c  text-2.1.4/tests/Tests/SlowFunctions.hs
+formatted       69b69db7adff  text-2.1.4/tests/Tests/Utils.hs
+formatted       e865ae48f11b  th-abstraction-0.7.2.0/Setup.hs
+formatted       cb42ca2a25d2  th-abstraction-0.7.2.0/src/Language/Haskell/TH/Datatype.hs
+formatted       b67b7b9c968e  th-abstraction-0.7.2.0/src/Language/Haskell/TH/Datatype/Internal.hs
+formatted       36711c87afcb  th-abstraction-0.7.2.0/src/Language/Haskell/TH/Datatype/TyVarBndr.hs
+formatted       3023e5ae9607  th-abstraction-0.7.2.0/test/Harness.hs
+partly-checked  df9497542fcc  th-abstraction-0.7.2.0/test/Main.hs
+formatted       9463e3bbee71  th-abstraction-0.7.2.0/test/Types.hs
+formatted       96fbff0afc98  time-1.16.0.1/Setup.hs
+formatted       f3aabcfcbdb9  time-1.16.0.1/benchmark/Main.hs
+formatted       dcd7d3a195a4  time-1.16.0.1/lib/Data/Format.hs
+formatted       c5cc6074b0e3  time-1.16.0.1/lib/Data/Time.hs
+formatted       350b550b0f07  time-1.16.0.1/lib/Data/Time/Calendar.hs
+formatted       99129c71f3b5  time-1.16.0.1/lib/Data/Time/Calendar/CalendarDiffDays.hs
+formatted       13df4e2aa028  time-1.16.0.1/lib/Data/Time/Calendar/Days.hs
+formatted       fb2e5df936ce  time-1.16.0.1/lib/Data/Time/Calendar/Easter.hs
+formatted       e2ca91bd1469  time-1.16.0.1/lib/Data/Time/Calendar/Gregorian.hs
+formatted       933e3efa4859  time-1.16.0.1/lib/Data/Time/Calendar/Julian.hs
+formatted       bc792993a6a4  time-1.16.0.1/lib/Data/Time/Calendar/JulianYearDay.hs
+formatted       389d246790ac  time-1.16.0.1/lib/Data/Time/Calendar/Month.hs
+formatted       8415ed40eed3  time-1.16.0.1/lib/Data/Time/Calendar/MonthDay.hs
+formatted       fac78b2cfe48  time-1.16.0.1/lib/Data/Time/Calendar/OrdinalDate.hs
+formatted       c865a443f8b7  time-1.16.0.1/lib/Data/Time/Calendar/Private.hs
+formatted       a96f42e71284  time-1.16.0.1/lib/Data/Time/Calendar/Quarter.hs
+formatted       a45ed9f0bd0c  time-1.16.0.1/lib/Data/Time/Calendar/Types.hs
+formatted       df555757cf7f  time-1.16.0.1/lib/Data/Time/Calendar/Week.hs
+formatted       6449784ab96f  time-1.16.0.1/lib/Data/Time/Calendar/WeekDate.hs
+formatted       86ea06abf412  time-1.16.0.1/lib/Data/Time/Clock.hs
+formatted       16594875eb18  time-1.16.0.1/lib/Data/Time/Clock/Internal/AbsoluteTime.hs
+formatted       6b5df5fc6662  time-1.16.0.1/lib/Data/Time/Clock/Internal/CTimeval.hs
+formatted       94d11d4a406d  time-1.16.0.1/lib/Data/Time/Clock/Internal/DiffTime.hs
+formatted       5b0da87c8c70  time-1.16.0.1/lib/Data/Time/Clock/Internal/NominalDiffTime.hs
+formatted       8ef6afa040bc  time-1.16.0.1/lib/Data/Time/Clock/Internal/POSIXTime.hs
+formatted       0ff24383aaee  time-1.16.0.1/lib/Data/Time/Clock/Internal/SystemTime.hs
+formatted       310750655010  time-1.16.0.1/lib/Data/Time/Clock/Internal/UTCDiff.hs
+formatted       8577602807f9  time-1.16.0.1/lib/Data/Time/Clock/Internal/UTCTime.hs
+formatted       2924aa66fab8  time-1.16.0.1/lib/Data/Time/Clock/Internal/UniversalTime.hs
+formatted       f99bbfa2bc62  time-1.16.0.1/lib/Data/Time/Clock/POSIX.hs
+formatted       3bb24a8967ce  time-1.16.0.1/lib/Data/Time/Clock/System.hs
+formatted       f0173f37cc1f  time-1.16.0.1/lib/Data/Time/Clock/TAI.hs
+formatted       a3286c52b16b  time-1.16.0.1/lib/Data/Time/Format.hs
+formatted       f8cd46d22315  time-1.16.0.1/lib/Data/Time/Format/Format/Class.hs
+formatted       b0a0c86e04fc  time-1.16.0.1/lib/Data/Time/Format/Format/Instances.hs
+formatted       ae717237895e  time-1.16.0.1/lib/Data/Time/Format/ISO8601.hs
+formatted       24ebcc037856  time-1.16.0.1/lib/Data/Time/Format/Internal.hs
+formatted       c42753272dc0  time-1.16.0.1/lib/Data/Time/Format/Locale.hs
+formatted       501cc48b9e24  time-1.16.0.1/lib/Data/Time/Format/Parse.hs
+formatted       67f8fb7f1f9c  time-1.16.0.1/lib/Data/Time/Format/Parse/Class.hs
+formatted       23f28feba8f8  time-1.16.0.1/lib/Data/Time/Format/Parse/Instances.hs
+formatted       48c758aa2706  time-1.16.0.1/lib/Data/Time/LocalTime.hs
+formatted       711a15325d35  time-1.16.0.1/lib/Data/Time/LocalTime/Internal/CalendarDiffTime.hs
+formatted       6d5504ba7bcf  time-1.16.0.1/lib/Data/Time/LocalTime/Internal/Foreign.hs
+formatted       68c40d74bc9e  time-1.16.0.1/lib/Data/Time/LocalTime/Internal/LocalTime.hs
+formatted       4187fe79325f  time-1.16.0.1/lib/Data/Time/LocalTime/Internal/TimeOfDay.hs
+formatted       98829c658c4e  time-1.16.0.1/lib/Data/Time/LocalTime/Internal/TimeZone.hs
+formatted       f11537c7b4cb  time-1.16.0.1/lib/Data/Time/LocalTime/Internal/ZonedTime.hs
+formatted       3e83a91877ba  time-1.16.0.1/test/ForeignCalls.hs
+formatted       a66be5447276  time-1.16.0.1/test/ShowDefaultTZAbbreviations.hs
+formatted       bc84d51bb9c8  time-1.16.0.1/test/ShowTime.hs
+formatted       8fae52982024  time-1.16.0.1/test/main/Main.hs
+formatted       b9f63899a76d  time-1.16.0.1/test/main/Test/AddDiff.hs
+formatted       1ab35c294d85  time-1.16.0.1/test/main/Test/Arbitrary.hs
+formatted       cc55bc110624  time-1.16.0.1/test/main/Test/Calendar/AddDays.hs
+formatted       78789f54c418  time-1.16.0.1/test/main/Test/Calendar/AddDaysRef.hs
+formatted       cd6429868fcf  time-1.16.0.1/test/main/Test/Calendar/CalendarProps.hs
+formatted       e927a09a9a31  time-1.16.0.1/test/main/Test/Calendar/Calendars.hs
+formatted       8e2f81c4dedb  time-1.16.0.1/test/main/Test/Calendar/CalendarsRef.hs
+formatted       d33a21b7b82e  time-1.16.0.1/test/main/Test/Calendar/ClipDates.hs
+formatted       ddc93e115cda  time-1.16.0.1/test/main/Test/Calendar/ClipDatesRef.hs
+formatted       9ec1dff4f37d  time-1.16.0.1/test/main/Test/Calendar/ConvertBack.hs
+formatted       e0c7ab276da6  time-1.16.0.1/test/main/Test/Calendar/DayPeriod.hs
+formatted       e1951363f7f2  time-1.16.0.1/test/main/Test/Calendar/Duration.hs
+formatted       0b4fb21f422d  time-1.16.0.1/test/main/Test/Calendar/Easter.hs
+formatted       a6a7e1228c55  time-1.16.0.1/test/main/Test/Calendar/LongWeekYears.hs
+formatted       9b264ebb8cb0  time-1.16.0.1/test/main/Test/Calendar/LongWeekYearsRef.hs
+formatted       35024ddea932  time-1.16.0.1/test/main/Test/Calendar/MonthDay.hs
+formatted       0787d4ef63d5  time-1.16.0.1/test/main/Test/Calendar/MonthDayRef.hs
+formatted       0f32147a5a3f  time-1.16.0.1/test/main/Test/Calendar/MonthOfYear.hs
+formatted       14105187195c  time-1.16.0.1/test/main/Test/Calendar/Valid.hs
+formatted       9eb35d9b4b14  time-1.16.0.1/test/main/Test/Calendar/Week.hs
+formatted       ae13919b0422  time-1.16.0.1/test/main/Test/Calendar/Year.hs
+formatted       7d745176c10c  time-1.16.0.1/test/main/Test/Clock/Conversion.hs
+formatted       936397ea576a  time-1.16.0.1/test/main/Test/Clock/Pattern.hs
+formatted       ee0ede041714  time-1.16.0.1/test/main/Test/Clock/Resolution.hs
+formatted       a62c9ff47b95  time-1.16.0.1/test/main/Test/Clock/TAI.hs
+formatted       dae49ea2c866  time-1.16.0.1/test/main/Test/Format/Compile.hs
+formatted       401811fb1c79  time-1.16.0.1/test/main/Test/Format/Format.hs
+formatted       80f99c959245  time-1.16.0.1/test/main/Test/Format/ISO8601.hs
+formatted       8162f32d7035  time-1.16.0.1/test/main/Test/Format/ParseTime.hs
+formatted       fc3cdc347a40  time-1.16.0.1/test/main/Test/LocalTime/CalendarDiffTime.hs
+formatted       ea91fed4523e  time-1.16.0.1/test/main/Test/LocalTime/Time.hs
+formatted       69964f7f9262  time-1.16.0.1/test/main/Test/LocalTime/TimeOfDay.hs
+formatted       9fe90976d8db  time-1.16.0.1/test/main/Test/LocalTime/TimeRef.hs
+formatted       561bd7f5c36f  time-1.16.0.1/test/main/Test/TestUtil.hs
+formatted       2d9e97629668  time-1.16.0.1/test/main/Test/Types.hs
+formatted       a9c2a3133d71  time-1.16.0.1/test/template/Main.hs
+formatted       d5132d0fd59f  time-1.16.0.1/test/template/Test/TastyWrapper.hs
+formatted       aab3f54e9f42  time-1.16.0.1/test/unix/Main.hs
+formatted       21f09bb6c2f3  time-1.16.0.1/test/unix/Test/Format/Format.hs
+formatted       244d9f0e64ad  time-1.16.0.1/test/unix/Test/LocalTime/TimeZone.hs
+formatted       c6e07c32796f  time-1.16.0.1/test/unix/Test/TestUtil.hs
+formatted       9ec859b14775  tls-2.4.3/Benchmarks/Benchmarks.hs
+formatted       5e654b7c2563  tls-2.4.3/Network/TLS.hs
+formatted       33bb50373469  tls-2.4.3/Network/TLS/Backend.hs
+formatted       e89916ffa878  tls-2.4.3/Network/TLS/Cipher.hs
+formatted       3b00f34122f9  tls-2.4.3/Network/TLS/Compression.hs
+formatted       70d633e05ddf  tls-2.4.3/Network/TLS/Context.hs
+formatted       b9702942289e  tls-2.4.3/Network/TLS/Context/Internal.hs
+formatted       1f3d5ff97417  tls-2.4.3/Network/TLS/Core.hs
+formatted       b069f35e5187  tls-2.4.3/Network/TLS/Credentials.hs
+formatted       0baafef265e3  tls-2.4.3/Network/TLS/Crypto.hs
+formatted       82bc1cdb4586  tls-2.4.3/Network/TLS/Crypto/DH.hs
+formatted       6de1ec7af97d  tls-2.4.3/Network/TLS/Crypto/IES.hs
+formatted       6e7c989958f0  tls-2.4.3/Network/TLS/Crypto/Types.hs
+formatted       85855e24de73  tls-2.4.3/Network/TLS/ErrT.hs
+formatted       17ef92269246  tls-2.4.3/Network/TLS/Error.hs
+formatted       c5f784f0dfad  tls-2.4.3/Network/TLS/Extension.hs
+formatted       adb9904a0c1d  tls-2.4.3/Network/TLS/Extension.hs-boot
+formatted       c172b23f3378  tls-2.4.3/Network/TLS/Extra.hs
+formatted       00628a78ec37  tls-2.4.3/Network/TLS/Extra/Cipher.hs
+formatted       371b75cb1017  tls-2.4.3/Network/TLS/Extra/CipherCBC.hs
+formatted       ef4c0af7560d  tls-2.4.3/Network/TLS/Extra/FFDHE.hs
+formatted       938190f76449  tls-2.4.3/Network/TLS/Handshake.hs
+formatted       bdf6bd864138  tls-2.4.3/Network/TLS/Handshake/Certificate.hs
+formatted       fb848c632f77  tls-2.4.3/Network/TLS/Handshake/Client.hs
+formatted       11ac9b96c424  tls-2.4.3/Network/TLS/Handshake/Client/ClientHello.hs
+formatted       cc8a8f0a4cb6  tls-2.4.3/Network/TLS/Handshake/Client/Common.hs
+formatted       78e8db53f3d8  tls-2.4.3/Network/TLS/Handshake/Client/ServerHello.hs
+formatted       4db934c4ccdd  tls-2.4.3/Network/TLS/Handshake/Client/TLS12.hs
+formatted       b6619e8418b5  tls-2.4.3/Network/TLS/Handshake/Client/TLS13.hs
+formatted       b032a963c6df  tls-2.4.3/Network/TLS/Handshake/Common.hs
+formatted       531d6c0deafa  tls-2.4.3/Network/TLS/Handshake/Common13.hs
+formatted       fd27543a513c  tls-2.4.3/Network/TLS/Handshake/Control.hs
+formatted       4fda2422f2f2  tls-2.4.3/Network/TLS/Handshake/Key.hs
+formatted       d6f29aa09834  tls-2.4.3/Network/TLS/Handshake/Random.hs
+formatted       cdf1da3c5a21  tls-2.4.3/Network/TLS/Handshake/Server.hs
+formatted       7e43187a7fbb  tls-2.4.3/Network/TLS/Handshake/Server/ClientHello.hs
+formatted       1cfd1b263364  tls-2.4.3/Network/TLS/Handshake/Server/ClientHello12.hs
+formatted       2fce4615a0b9  tls-2.4.3/Network/TLS/Handshake/Server/ClientHello13.hs
+formatted       d378b347f5e5  tls-2.4.3/Network/TLS/Handshake/Server/Common.hs
+formatted       e979bf900656  tls-2.4.3/Network/TLS/Handshake/Server/ServerHello12.hs
+formatted       043ba0bfe8f8  tls-2.4.3/Network/TLS/Handshake/Server/ServerHello13.hs
+formatted       8314f13d31ac  tls-2.4.3/Network/TLS/Handshake/Server/TLS12.hs
+formatted       cb895005a2c4  tls-2.4.3/Network/TLS/Handshake/Server/TLS13.hs
+formatted       ab4b9f726a3f  tls-2.4.3/Network/TLS/Handshake/Signature.hs
+formatted       c3b55425b2e1  tls-2.4.3/Network/TLS/Handshake/State.hs
+formatted       1f187c61ec0c  tls-2.4.3/Network/TLS/Handshake/State13.hs
+formatted       9248177fbc68  tls-2.4.3/Network/TLS/Handshake/TranscriptHash.hs
+formatted       e56b4b4047d3  tls-2.4.3/Network/TLS/HashAndSignature.hs
+formatted       167d3eaa6f39  tls-2.4.3/Network/TLS/Hooks.hs
+formatted       2cbfa7dc941d  tls-2.4.3/Network/TLS/IO.hs
+formatted       7a619d749733  tls-2.4.3/Network/TLS/IO/Decode.hs
+formatted       91fe7272962f  tls-2.4.3/Network/TLS/IO/Encode.hs
+formatted       363e88ca1d72  tls-2.4.3/Network/TLS/Imports.hs
+formatted       4bb3aa2b9568  tls-2.4.3/Network/TLS/Internal.hs
+formatted       7d2bd1a565e4  tls-2.4.3/Network/TLS/KeySchedule.hs
+formatted       04cd90d95d36  tls-2.4.3/Network/TLS/MAC.hs
+formatted       2dd896161f23  tls-2.4.3/Network/TLS/Measurement.hs
+formatted       5fc65f210103  tls-2.4.3/Network/TLS/Packet.hs
+formatted       92d8c216b1a4  tls-2.4.3/Network/TLS/Packet13.hs
+formatted       da7b9dd33096  tls-2.4.3/Network/TLS/Parameters.hs
+formatted       13e8b871ea21  tls-2.4.3/Network/TLS/PostHandshake.hs
+formatted       fdab8623f9ef  tls-2.4.3/Network/TLS/QUIC.hs
+formatted       c8344345f653  tls-2.4.3/Network/TLS/RNG.hs
+formatted       7f761ab803a7  tls-2.4.3/Network/TLS/Record.hs
+formatted       9e1cd05dccc5  tls-2.4.3/Network/TLS/Record/Decrypt.hs
+formatted       1a96114f8aed  tls-2.4.3/Network/TLS/Record/Encrypt.hs
+formatted       c87c77d3c849  tls-2.4.3/Network/TLS/Record/Layer.hs
+formatted       c0d9106acdd8  tls-2.4.3/Network/TLS/Record/Recv.hs
+formatted       6cb04a4aef7d  tls-2.4.3/Network/TLS/Record/Send.hs
+formatted       da00e986b468  tls-2.4.3/Network/TLS/Record/State.hs
+formatted       a85f94e4d282  tls-2.4.3/Network/TLS/Record/Types.hs
+formatted       97fa628007bb  tls-2.4.3/Network/TLS/Session.hs
+formatted       ff804330917c  tls-2.4.3/Network/TLS/State.hs
+formatted       f94ca4a002e2  tls-2.4.3/Network/TLS/Struct.hs
+formatted       0651b8df6fef  tls-2.4.3/Network/TLS/Struct13.hs
+formatted       df1ac8609682  tls-2.4.3/Network/TLS/Types.hs
+formatted       33b1d125d149  tls-2.4.3/Network/TLS/Types/Cipher.hs
+formatted       67c6f413b7ca  tls-2.4.3/Network/TLS/Types/Secret.hs
+formatted       bb15f4d52bfb  tls-2.4.3/Network/TLS/Types/Session.hs
+formatted       aadf177c095d  tls-2.4.3/Network/TLS/Types/Version.hs
+formatted       ef1fd59a7980  tls-2.4.3/Network/TLS/Util.hs
+formatted       0ed2e4d779bc  tls-2.4.3/Network/TLS/Util/ASN1.hs
+formatted       87b2215d652b  tls-2.4.3/Network/TLS/Util/Serialization.hs
+formatted       99278b7a080e  tls-2.4.3/Network/TLS/Wire.hs
+formatted       c407ea739c59  tls-2.4.3/Network/TLS/X509.hs
+formatted       e865ae48f11b  tls-2.4.3/Setup.hs
+formatted       41975cce1c43  tls-2.4.3/test/API.hs
+formatted       552d92e5383d  tls-2.4.3/test/Arbitrary.hs
+formatted       f489f8e6e1ba  tls-2.4.3/test/Certificate.hs
+formatted       ee8e6ef16600  tls-2.4.3/test/CiphersSpec.hs
+formatted       b6667833b309  tls-2.4.3/test/ECHSpec.hs
+formatted       cb27c45decf9  tls-2.4.3/test/EncodeSpec.hs
+formatted       939a7a63ff85  tls-2.4.3/test/HandshakeSpec.hs
+formatted       ecd2ed0f7468  tls-2.4.3/test/PipeChan.hs
+formatted       95cae338129b  tls-2.4.3/test/PubKey.hs
+formatted       e0376354e223  tls-2.4.3/test/Run.hs
+formatted       9155d132896c  tls-2.4.3/test/Session.hs
+formatted       2fbd14b119a4  tls-2.4.3/test/Spec.hs
+formatted       d7105920175a  tls-2.4.3/test/ThreadSpec.hs
+formatted       3426aff9ec54  tls-2.4.3/util/Client.hs
+formatted       85b3a097c5c1  tls-2.4.3/util/Common.hs
+formatted       bc99b4039bd2  tls-2.4.3/util/Imports.hs
+formatted       b28d564879e9  tls-2.4.3/util/Server.hs
+formatted       078159926942  tls-2.4.3/util/tls-client.hs
+formatted       c70e908bd2f1  tls-2.4.3/util/tls-server.hs
+partly-checked  f1abe8a21e69  transformers-0.6.3.0/Control/Applicative/Backwards.hs
+partly-checked  3a74a5ebdc77  transformers-0.6.3.0/Control/Applicative/Lift.hs
+formatted       3104ed85fcd2  transformers-0.6.3.0/Control/Monad/Signatures.hs
+partly-checked  64fd2c57b285  transformers-0.6.3.0/Control/Monad/Trans/Accum.hs
+formatted       1ff79b94ef42  transformers-0.6.3.0/Control/Monad/Trans/Class.hs
+formatted       4312d9b3476b  transformers-0.6.3.0/Control/Monad/Trans/Cont.hs
+partly-checked  8834e8c9c0fb  transformers-0.6.3.0/Control/Monad/Trans/Except.hs
+partly-checked  88cc2dd931a0  transformers-0.6.3.0/Control/Monad/Trans/Identity.hs
+partly-checked  856cd41d0652  transformers-0.6.3.0/Control/Monad/Trans/Maybe.hs
+formatted       5e9f29dfc146  transformers-0.6.3.0/Control/Monad/Trans/RWS.hs
+formatted       afbf2bd3949b  transformers-0.6.3.0/Control/Monad/Trans/RWS/CPS.hs
+partly-checked  80d7a6812ca1  transformers-0.6.3.0/Control/Monad/Trans/RWS/Lazy.hs
+partly-checked  39d900c5a8d1  transformers-0.6.3.0/Control/Monad/Trans/RWS/Strict.hs
+partly-checked  a518b0fb5b78  transformers-0.6.3.0/Control/Monad/Trans/Reader.hs
+formatted       b6abe645d45b  transformers-0.6.3.0/Control/Monad/Trans/Select.hs
+formatted       7cc13797685c  transformers-0.6.3.0/Control/Monad/Trans/State.hs
+partly-checked  85d780e165bb  transformers-0.6.3.0/Control/Monad/Trans/State/Lazy.hs
+partly-checked  ebbc0109e20c  transformers-0.6.3.0/Control/Monad/Trans/State/Strict.hs
+formatted       90033f341f0b  transformers-0.6.3.0/Control/Monad/Trans/Writer.hs
+formatted       701bb829df1e  transformers-0.6.3.0/Control/Monad/Trans/Writer/CPS.hs
+partly-checked  19d3784ca6a2  transformers-0.6.3.0/Control/Monad/Trans/Writer/Lazy.hs
+partly-checked  c873619a4bf9  transformers-0.6.3.0/Control/Monad/Trans/Writer/Strict.hs
+partly-checked  11f0736f36a9  transformers-0.6.3.0/Data/Functor/Constant.hs
+partly-checked  13af2564302a  transformers-0.6.3.0/Data/Functor/Reverse.hs
+formatted       e865ae48f11b  transformers-0.6.3.0/Setup.hs
+partly-checked  c6b9d5bb5fc2  transformers-0.6.3.0/legacy/pre709/Data/Functor/Identity.hs
+formatted       815f5dacb026  transformers-0.6.3.0/legacy/pre711/Control/Monad/IO/Class.hs
+formatted       1db5f3bc82c8  transformers-0.6.3.0/legacy/pre711/Data/Functor/Classes.hs
+formatted       ce3e11fe13f7  transformers-0.6.3.0/legacy/pre711/Data/Functor/Compose.hs
+partly-checked  906bc102bfe5  transformers-0.6.3.0/legacy/pre711/Data/Functor/Product.hs
+formatted       e1a5d9d90682  transformers-0.6.3.0/legacy/pre711/Data/Functor/Sum.hs
+formatted       e865ae48f11b  typed-process-0.2.13.0/Setup.hs
+formatted       b82025a9dd6f  typed-process-0.2.13.0/src/System/Process/Typed.hs
+formatted       f97bebee0e4f  typed-process-0.2.13.0/src/System/Process/Typed/Internal.hs
+formatted       2fbd14b119a4  typed-process-0.2.13.0/test/Spec.hs
+formatted       2496f54b91ae  typed-process-0.2.13.0/test/System/Process/TypedSpec.hs
+formatted       e865ae48f11b  unliftio-0.2.25.1/Setup.hs
+formatted       bacd3ce531d0  unliftio-0.2.25.1/bench/ConcBench.hs
+formatted       77d0d7030f55  unliftio-0.2.25.1/src/UnliftIO.hs
+formatted       ac0fc9c24129  unliftio-0.2.25.1/src/UnliftIO/Async.hs
+formatted       1cdbac717a17  unliftio-0.2.25.1/src/UnliftIO/Chan.hs
+formatted       1b65238df28a  unliftio-0.2.25.1/src/UnliftIO/Concurrent.hs
+partly-checked  093168b6f023  unliftio-0.2.25.1/src/UnliftIO/Directory.hs
+formatted       16cee2a61ed7  unliftio-0.2.25.1/src/UnliftIO/Environment.hs
+formatted       aa2c8bbaf2d8  unliftio-0.2.25.1/src/UnliftIO/Exception.hs
+formatted       2aa23498f1b9  unliftio-0.2.25.1/src/UnliftIO/Exception/Lens.hs
+formatted       f5e0f1217853  unliftio-0.2.25.1/src/UnliftIO/Foreign.hs
+formatted       c5e5c69b87dc  unliftio-0.2.25.1/src/UnliftIO/IO.hs
+formatted       ae022dbade02  unliftio-0.2.25.1/src/UnliftIO/IO/File.hs
+formatted       b04812ced12e  unliftio-0.2.25.1/src/UnliftIO/IO/File/Posix.hs
+formatted       123b5805270a  unliftio-0.2.25.1/src/UnliftIO/IORef.hs
+formatted       2774e8ff7a54  unliftio-0.2.25.1/src/UnliftIO/Internals/Async.hs
+formatted       7909b8257caa  unliftio-0.2.25.1/src/UnliftIO/MVar.hs
+formatted       ece3adf77e07  unliftio-0.2.25.1/src/UnliftIO/Memoize.hs
+formatted       dfa6d50fad0f  unliftio-0.2.25.1/src/UnliftIO/Process.hs
+formatted       6783cb82fdfe  unliftio-0.2.25.1/src/UnliftIO/QSem.hs
+formatted       34019034725d  unliftio-0.2.25.1/src/UnliftIO/QSemN.hs
+formatted       e83053761c34  unliftio-0.2.25.1/src/UnliftIO/STM.hs
+formatted       ee2d5cf785d0  unliftio-0.2.25.1/src/UnliftIO/Temporary.hs
+formatted       edefb0e14358  unliftio-0.2.25.1/src/UnliftIO/Timeout.hs
+formatted       2fbd14b119a4  unliftio-0.2.25.1/test/Spec.hs
+formatted       ad00e167351a  unliftio-0.2.25.1/test/UnliftIO/AsyncSpec.hs
+formatted       8f4df2a3669a  unliftio-0.2.25.1/test/UnliftIO/DirectorySpec.hs
+formatted       8976622562ac  unliftio-0.2.25.1/test/UnliftIO/ExceptionSpec.hs
+formatted       0481b3adca5c  unliftio-0.2.25.1/test/UnliftIO/IO/FileSpec.hs
+formatted       4eb05d2941ec  unliftio-0.2.25.1/test/UnliftIO/IOSpec.hs
+formatted       12e36b1c8591  unliftio-0.2.25.1/test/UnliftIO/MemoizeSpec.hs
+formatted       9bd842d6212c  unliftio-0.2.25.1/test/UnliftIO/PooledAsyncSpec.hs
+formatted       363d85337498  unordered-containers-0.2.21/Data/HashMap/Internal.hs
+declined        -             unordered-containers-0.2.21/Data/HashMap/Internal/Array.hs
+formatted       55bc17347e99  unordered-containers-0.2.21/Data/HashMap/Internal/Debug.hs
+formatted       856a65c4edfb  unordered-containers-0.2.21/Data/HashMap/Internal/List.hs
+formatted       0a763584cbc0  unordered-containers-0.2.21/Data/HashMap/Internal/Strict.hs
+formatted       bb1faee6d084  unordered-containers-0.2.21/Data/HashMap/Lazy.hs
+formatted       a65cc0a29623  unordered-containers-0.2.21/Data/HashMap/Strict.hs
+formatted       04b322dc331a  unordered-containers-0.2.21/Data/HashSet.hs
+formatted       f6b5df9994dc  unordered-containers-0.2.21/Data/HashSet/Internal.hs
+formatted       e865ae48f11b  unordered-containers-0.2.21/Setup.hs
+formatted       0319f31c31e2  unordered-containers-0.2.21/benchmarks/Benchmarks.hs
+formatted       b51fd641e08d  unordered-containers-0.2.21/benchmarks/FineGrained.hs
+formatted       731a9d477df3  unordered-containers-0.2.21/benchmarks/Key/Bytes.hs
+formatted       bd65ab911214  unordered-containers-0.2.21/benchmarks/Util/ByteString.hs
+formatted       9b8db33a193f  unordered-containers-0.2.21/benchmarks/Util/Int.hs
+formatted       3cf949e32bf9  unordered-containers-0.2.21/benchmarks/Util/String.hs
+formatted       690a8d0f59a6  unordered-containers-0.2.21/tests/Main.hs
+formatted       bbfcce36394b  unordered-containers-0.2.21/tests/Properties.hs
+formatted       b02314c6c4b6  unordered-containers-0.2.21/tests/Properties/HashMapLazy.hs
+formatted       f2a904c3a89a  unordered-containers-0.2.21/tests/Properties/HashMapStrict.hs
+formatted       f797d4043b98  unordered-containers-0.2.21/tests/Properties/HashSet.hs
+formatted       c127ff80c949  unordered-containers-0.2.21/tests/Properties/List.hs
+formatted       7a4093d59999  unordered-containers-0.2.21/tests/Regressions.hs
+formatted       870485c6bf86  unordered-containers-0.2.21/tests/Strictness.hs
+formatted       4ec5d8538ad9  unordered-containers-0.2.21/tests/Util/Key.hs
+formatted       e865ae48f11b  unpacked-containers-0/Setup.hs
+formatted       8523e9d3c669  unpacked-containers-0/example/Int.hs
+formatted       ba3a254765ca  unpacked-containers-0/example/Main.hs
+formatted       5f207636d85e  unpacked-containers-0/src/Key.hsig
+formatted       ad52fcfac119  unpacked-containers-0/src/Map.hs
+formatted       73a4f9dbca2e  unpacked-containers-0/src/Map/Internal.hs
+formatted       d79da2d8d878  unpacked-containers-0/src/Map/Internal/Debug.hs
+formatted       c825e43d60ff  unpacked-containers-0/src/Map/Lazy.hs
+formatted       9e8a6827a305  unpacked-containers-0/src/Map/Merge/Lazy.hs
+formatted       a5314b0c2da2  unpacked-containers-0/src/Map/Merge/Strict.hs
+formatted       7567969d98b0  unpacked-containers-0/src/Map/Strict.hs
+formatted       618780448f1b  unpacked-containers-0/src/Map/Strict/Internal.hs
+formatted       0cf5a0b3335d  unpacked-containers-0/src/Set.hs
+formatted       adc06f2ceaa4  unpacked-containers-0/src/Set/Internal.hs
+formatted       22d209ac701b  unpacked-containers-0/utils/Internal/BitQueue.hs
+formatted       4b4418f49796  unpacked-containers-0/utils/Internal/BitUtil.hs
+formatted       3af269cc7ce8  unpacked-containers-0/utils/Internal/PtrEquality.hs
+formatted       90a8dd55247f  unpacked-containers-0/utils/Internal/State.hs
+formatted       8ab0f0d613e1  unpacked-containers-0/utils/Internal/StrictFold.hs
+formatted       0fe230044807  unpacked-containers-0/utils/Internal/StrictMaybe.hs
+formatted       b7a091ef4c77  unpacked-containers-0/utils/Internal/StrictPair.hs
+formatted       4a8ac51676df  uuid-types-1.0.6.1/Setup.hs
+formatted       7258e9d2f0d0  uuid-types-1.0.6.1/src/Data/UUID/Types.hs
+formatted       313008a18259  uuid-types-1.0.6.1/src/Data/UUID/Types/Internal.hs
+formatted       035ff7a45424  uuid-types-1.0.6.1/src/Data/UUID/Types/Internal/Builder.hs
+formatted       1a5a68b7dd00  uuid-types-1.0.6.1/tests/TestUUID.hs
+formatted       e865ae48f11b  vector-0.13.2.0/Setup.hs
+formatted       da334fb1a8cb  vector-0.13.2.0/benchlib/Bench/Vector/Algo/AwShCC.hs
+formatted       b04d8f78de30  vector-0.13.2.0/benchlib/Bench/Vector/Algo/FindIndexR.hs
+formatted       7a1a73bd7ee7  vector-0.13.2.0/benchlib/Bench/Vector/Algo/HybCC.hs
+formatted       861b4143b0a7  vector-0.13.2.0/benchlib/Bench/Vector/Algo/Leaffix.hs
+formatted       87fd7e420b4e  vector-0.13.2.0/benchlib/Bench/Vector/Algo/ListRank.hs
+formatted       25307bbd151b  vector-0.13.2.0/benchlib/Bench/Vector/Algo/MutableSet.hs
+formatted       39db94fc4e92  vector-0.13.2.0/benchlib/Bench/Vector/Algo/NextPermutation.hs
+formatted       34ca5518af4d  vector-0.13.2.0/benchlib/Bench/Vector/Algo/Quickhull.hs
+formatted       a61ead01498c  vector-0.13.2.0/benchlib/Bench/Vector/Algo/Rootfix.hs
+formatted       28a3fcb6efd2  vector-0.13.2.0/benchlib/Bench/Vector/Algo/Spectral.hs
+formatted       879f4ecf7e1b  vector-0.13.2.0/benchlib/Bench/Vector/Algo/Tridiag.hs
+formatted       a546b3c7f6a6  vector-0.13.2.0/benchlib/Bench/Vector/Tasty.hs
+formatted       7c0eec011de3  vector-0.13.2.0/benchlib/Bench/Vector/TestData/Graph.hs
+formatted       409ac1adc6fc  vector-0.13.2.0/benchlib/Bench/Vector/TestData/ParenTree.hs
+formatted       a75736e56e3e  vector-0.13.2.0/benchmarks/Main.hs
+formatted       9b7ac7c6ca54  vector-0.13.2.0/internal/GenUnboxTuple.hs
+formatted       82fdb2542312  vector-0.13.2.0/src/Data/Vector.hs
+formatted       594a1b300f50  vector-0.13.2.0/src/Data/Vector/Fusion/Bundle.hs
+formatted       cb640b4fc64b  vector-0.13.2.0/src/Data/Vector/Fusion/Bundle/Monadic.hs
+formatted       f56410e09507  vector-0.13.2.0/src/Data/Vector/Fusion/Bundle/Size.hs
+formatted       60f81a3227f8  vector-0.13.2.0/src/Data/Vector/Fusion/Stream/Monadic.hs
+formatted       cd5994ff9508  vector-0.13.2.0/src/Data/Vector/Fusion/Util.hs
+formatted       68ba1aa12dba  vector-0.13.2.0/src/Data/Vector/Generic.hs
+formatted       5115e4ce0c32  vector-0.13.2.0/src/Data/Vector/Generic/Base.hs
+formatted       2b9d1d8d8da4  vector-0.13.2.0/src/Data/Vector/Generic/Mutable.hs
+formatted       71716b8b2f94  vector-0.13.2.0/src/Data/Vector/Generic/Mutable/Base.hs
+formatted       1f50dfbcebf8  vector-0.13.2.0/src/Data/Vector/Generic/New.hs
+formatted       fcfae330eb4f  vector-0.13.2.0/src/Data/Vector/Internal/Check.hs
+formatted       1e1bbdaec7a1  vector-0.13.2.0/src/Data/Vector/Mutable.hs
+formatted       b73b783b6860  vector-0.13.2.0/src/Data/Vector/Primitive.hs
+formatted       a28471ba4403  vector-0.13.2.0/src/Data/Vector/Primitive/Mutable.hs
+formatted       6204f7474d46  vector-0.13.2.0/src/Data/Vector/Storable.hs
+formatted       66eedec713a2  vector-0.13.2.0/src/Data/Vector/Storable/Internal.hs
+formatted       bef486e30caf  vector-0.13.2.0/src/Data/Vector/Storable/Mutable.hs
+formatted       1f36143d35e5  vector-0.13.2.0/src/Data/Vector/Strict.hs
+formatted       27676c55b549  vector-0.13.2.0/src/Data/Vector/Strict/Mutable.hs
+formatted       78436cb2d965  vector-0.13.2.0/src/Data/Vector/Unboxed.hs
+formatted       83898a9f5c25  vector-0.13.2.0/src/Data/Vector/Unboxed/Base.hs
+formatted       1b7b49c6f90f  vector-0.13.2.0/src/Data/Vector/Unboxed/Mutable.hs
+formatted       2dbb18db5b0f  vector-0.13.2.0/tests-inspect/Inspect.hs
+formatted       506774762e22  vector-0.13.2.0/tests-inspect/Inspect/DerivingVia.hs
+formatted       6a068bca120a  vector-0.13.2.0/tests-inspect/Inspect/DerivingVia/OtherFoo.hs
+formatted       ac1e0d09920e  vector-0.13.2.0/tests-inspect/main.hs
+formatted       3b6c136378a7  vector-0.13.2.0/tests/Boilerplater.hs
+formatted       6df8031ea2cf  vector-0.13.2.0/tests/Main.hs
+formatted       418fc14a088e  vector-0.13.2.0/tests/Tests/Bundle.hs
+formatted       8630b039bc18  vector-0.13.2.0/tests/Tests/Move.hs
+formatted       0d4f780a19aa  vector-0.13.2.0/tests/Tests/Vector/Boxed.hs
+formatted       7df9a6545f78  vector-0.13.2.0/tests/Tests/Vector/Primitive.hs
+formatted       862ad95b2fb9  vector-0.13.2.0/tests/Tests/Vector/Property.hs
+formatted       2f047c10b00f  vector-0.13.2.0/tests/Tests/Vector/Storable.hs
+formatted       8b79ae9cbe26  vector-0.13.2.0/tests/Tests/Vector/Strict.hs
+formatted       f2ea15a82e27  vector-0.13.2.0/tests/Tests/Vector/Unboxed.hs
+formatted       6ff2b5e05013  vector-0.13.2.0/tests/Tests/Vector/UnitTests.hs
+formatted       0445f6352fdf  vector-0.13.2.0/tests/Utilities.hs
+formatted       f007195003b4  vector-0.13.2.0/tests/doctests.hs
+formatted       acadb68e7fba  vector-algorithms-0.9.1.0/bench/simple/Blocks.hs
+formatted       1fff0a68be48  vector-algorithms-0.9.1.0/bench/simple/Main.hs
+formatted       77baca91d47a  vector-algorithms-0.9.1.0/src/Data/Vector/Algorithms.hs
+formatted       42cd914c09d9  vector-algorithms-0.9.1.0/src/Data/Vector/Algorithms/AmericanFlag.hs
+formatted       3f41ebb61ddc  vector-algorithms-0.9.1.0/src/Data/Vector/Algorithms/Common.hs
+formatted       aba855de7750  vector-algorithms-0.9.1.0/src/Data/Vector/Algorithms/Heap.hs
+formatted       3eaf8b0e3e1f  vector-algorithms-0.9.1.0/src/Data/Vector/Algorithms/Insertion.hs
+formatted       324b8450d09b  vector-algorithms-0.9.1.0/src/Data/Vector/Algorithms/Intro.hs
+formatted       7141e91482b5  vector-algorithms-0.9.1.0/src/Data/Vector/Algorithms/Merge.hs
+formatted       dfd76caddfdb  vector-algorithms-0.9.1.0/src/Data/Vector/Algorithms/Optimal.hs
+formatted       67185a738001  vector-algorithms-0.9.1.0/src/Data/Vector/Algorithms/Radix.hs
+formatted       226669dcc79d  vector-algorithms-0.9.1.0/src/Data/Vector/Algorithms/Search.hs
+formatted       9692d748eeab  vector-algorithms-0.9.1.0/src/Data/Vector/Algorithms/Tim.hs
+formatted       b5de52e3481a  vector-algorithms-0.9.1.0/tests/properties/Optimal.hs
+formatted       735c6d771be6  vector-algorithms-0.9.1.0/tests/properties/Properties.hs
+formatted       fda9e8f27331  vector-algorithms-0.9.1.0/tests/properties/Tests.hs
+formatted       9c3e7a17cfcb  vector-algorithms-0.9.1.0/tests/properties/Util.hs
+formatted       882392d6975b  wai-3.2.5/Network/Wai.hs
+formatted       e5389a65d4bf  wai-3.2.5/Network/Wai/Internal.hs
+formatted       16ce3ee160df  wai-3.2.5/test/Network/WaiSpec.hs
+formatted       2fbd14b119a4  wai-3.2.5/test/Spec.hs
+formatted       2a833d4d418a  warp-3.4.15/Network/Wai/Handler/Warp.hs
+formatted       8a429df785e6  warp-3.4.15/Network/Wai/Handler/Warp/Buffer.hs
+formatted       60c65cc3a8b4  warp-3.4.15/Network/Wai/Handler/Warp/Conduit.hs
+formatted       055cb16f3b15  warp-3.4.15/Network/Wai/Handler/Warp/Counter.hs
+formatted       f38eb7f73be0  warp-3.4.15/Network/Wai/Handler/Warp/Date.hs
+formatted       7c6ea645a550  warp-3.4.15/Network/Wai/Handler/Warp/FdCache.hs
+formatted       8566d30d7b96  warp-3.4.15/Network/Wai/Handler/Warp/File.hs
+formatted       b29c9fafbdaa  warp-3.4.15/Network/Wai/Handler/Warp/FileInfoCache.hs
+formatted       3569fb5565ba  warp-3.4.15/Network/Wai/Handler/Warp/HTTP1.hs
+formatted       5b0d0b1908ac  warp-3.4.15/Network/Wai/Handler/Warp/HTTP2.hs
+formatted       cb8385744499  warp-3.4.15/Network/Wai/Handler/Warp/HTTP2/File.hs
+formatted       f64357e110c1  warp-3.4.15/Network/Wai/Handler/Warp/HTTP2/PushPromise.hs
+formatted       9f4985ecc2b9  warp-3.4.15/Network/Wai/Handler/Warp/HTTP2/Request.hs
+formatted       141125a2f45e  warp-3.4.15/Network/Wai/Handler/Warp/HTTP2/Response.hs
+formatted       113edb9bd8d5  warp-3.4.15/Network/Wai/Handler/Warp/HTTP2/Types.hs
+formatted       3a825333f9d2  warp-3.4.15/Network/Wai/Handler/Warp/HashMap.hs
+formatted       65a2af3c57e6  warp-3.4.15/Network/Wai/Handler/Warp/Header.hs
+formatted       9b3538e8088d  warp-3.4.15/Network/Wai/Handler/Warp/IO.hs
+formatted       9cb974571fe6  warp-3.4.15/Network/Wai/Handler/Warp/Imports.hs
+formatted       fa57f5d8c8af  warp-3.4.15/Network/Wai/Handler/Warp/Internal.hs
+formatted       2de8b5a65ed1  warp-3.4.15/Network/Wai/Handler/Warp/MultiMap.hs
+formatted       61bb8747bb66  warp-3.4.15/Network/Wai/Handler/Warp/PackInt.hs
+formatted       b35d330499c7  warp-3.4.15/Network/Wai/Handler/Warp/ReadInt.hs
+formatted       7226b86c94d0  warp-3.4.15/Network/Wai/Handler/Warp/Request.hs
+formatted       5db5ea828638  warp-3.4.15/Network/Wai/Handler/Warp/RequestHeader.hs
+formatted       65bfa144241b  warp-3.4.15/Network/Wai/Handler/Warp/Response.hs
+formatted       cb83410e5163  warp-3.4.15/Network/Wai/Handler/Warp/ResponseHeader.hs
+formatted       eeee39187735  warp-3.4.15/Network/Wai/Handler/Warp/Run.hs
+formatted       7f4a4ee3995b  warp-3.4.15/Network/Wai/Handler/Warp/SendFile.hs
+formatted       1037b86556f2  warp-3.4.15/Network/Wai/Handler/Warp/Settings.hs
+formatted       a21ce1715213  warp-3.4.15/Network/Wai/Handler/Warp/ShuttingDown.hs
+formatted       bf9c05ee88f0  warp-3.4.15/Network/Wai/Handler/Warp/Types.hs
+formatted       818d28326a43  warp-3.4.15/Network/Wai/Handler/Warp/Windows.hs
+formatted       42ec3fa9b1d8  warp-3.4.15/Network/Wai/Handler/Warp/WithApplication.hs
+formatted       829bdadd7d35  warp-3.4.15/bench/Parser.hs
+formatted       0f53d45af4d4  warp-3.4.15/test/BufferSpec.hs
+formatted       f882ab3b959e  warp-3.4.15/test/ConduitSpec.hs
+formatted       b70404cef8f8  warp-3.4.15/test/ConnectionSpec.hs
+formatted       40f017eaaf1f  warp-3.4.15/test/EarlyHintsSpec.hs
+formatted       cc38f965070f  warp-3.4.15/test/ExceptionSpec.hs
+formatted       667b8941a4b5  warp-3.4.15/test/FdCacheSpec.hs
+formatted       30313d2b2004  warp-3.4.15/test/FileSpec.hs
+formatted       f4a2a31d843d  warp-3.4.15/test/GracefulShutdownSpec.hs
+formatted       7304b156e934  warp-3.4.15/test/HTTP.hs
+formatted       7170257f43c5  warp-3.4.15/test/PackIntSpec.hs
+formatted       525e5720d104  warp-3.4.15/test/ReadIntSpec.hs
+formatted       89686ff60bee  warp-3.4.15/test/RequestSpec.hs
+formatted       b6b0e5e0df95  warp-3.4.15/test/ResponseHeaderSpec.hs
+formatted       7d1946c83a0c  warp-3.4.15/test/ResponseSpec.hs
+formatted       abac1efcb84d  warp-3.4.15/test/RunSpec.hs
+formatted       68d290085d05  warp-3.4.15/test/SendFileSpec.hs
+formatted       f8a4bf103356  warp-3.4.15/test/ServerStateSpec.hs
+formatted       2fbd14b119a4  warp-3.4.15/test/Spec.hs
+formatted       7ddc68ffa151  warp-3.4.15/test/WithApplicationSpec.hs
+formatted       c61ebeab72e9  warp-3.4.15/test/doctests.hs
+formatted       1ef4daa95460  xmonad-0.18.1/Main.hs
+formatted       d14f60429ae7  xmonad-0.18.1/man/xmonad.hs
+formatted       6a86f16b51e9  xmonad-0.18.1/src/XMonad.hs
+formatted       d426229e9d63  xmonad-0.18.1/src/XMonad/Config.hs
+formatted       517af36733a7  xmonad-0.18.1/src/XMonad/Core.hs
+formatted       fa2d3865bb41  xmonad-0.18.1/src/XMonad/Layout.hs
+formatted       1ce766f72abf  xmonad-0.18.1/src/XMonad/Main.hs
+formatted       12eb7c2147ca  xmonad-0.18.1/src/XMonad/ManageHook.hs
+formatted       c91ba99379dc  xmonad-0.18.1/src/XMonad/Operations.hs
+formatted       f5c934292534  xmonad-0.18.1/src/XMonad/StackSet.hs
+formatted       1c590700b7b0  xmonad-0.18.1/tests/Instances.hs
+formatted       f3eebca8e29d  xmonad-0.18.1/tests/Properties.hs
+formatted       21fbbf228c61  xmonad-0.18.1/tests/Properties/Delete.hs
+formatted       f8e16e8a9ebd  xmonad-0.18.1/tests/Properties/Failure.hs
+formatted       bc3edb2e24e1  xmonad-0.18.1/tests/Properties/Floating.hs
+formatted       25dfcb5148c2  xmonad-0.18.1/tests/Properties/Focus.hs
+formatted       7766022bb008  xmonad-0.18.1/tests/Properties/GreedyView.hs
+formatted       7635bede8d8d  xmonad-0.18.1/tests/Properties/Insert.hs
+formatted       b8e2c1463d97  xmonad-0.18.1/tests/Properties/Layout/Full.hs
+formatted       dc6f17c5f681  xmonad-0.18.1/tests/Properties/Layout/Tall.hs
+formatted       0205a66e46ff  xmonad-0.18.1/tests/Properties/Screen.hs
+formatted       c8bd76f12dcc  xmonad-0.18.1/tests/Properties/Shift.hs
+formatted       c937a0ab7c31  xmonad-0.18.1/tests/Properties/Stack.hs
+formatted       34a9778a33f6  xmonad-0.18.1/tests/Properties/StackSet.hs
+formatted       f214a4a4a859  xmonad-0.18.1/tests/Properties/Swap.hs
+formatted       a51d5588d4d3  xmonad-0.18.1/tests/Properties/View.hs
+formatted       5fb3083521c8  xmonad-0.18.1/tests/Properties/Workspace.hs
+formatted       4014da1a1bd2  xmonad-0.18.1/tests/Utils.hs
+formatted       b58904f42ce7  yesod-core-1.7.0.0/bench/widget.hs
+formatted       f714ba69021b  yesod-core-1.7.0.0/src/Yesod/Core.hs
+formatted       e7cf783aa27d  yesod-core-1.7.0.0/src/Yesod/Core/Class/Breadcrumbs.hs
+formatted       d27d470ea359  yesod-core-1.7.0.0/src/Yesod/Core/Class/Dispatch.hs
+formatted       151ceff92244  yesod-core-1.7.0.0/src/Yesod/Core/Class/Dispatch/ToParentRoute.hs
+formatted       46d70e6142d3  yesod-core-1.7.0.0/src/Yesod/Core/Class/Handler.hs
+formatted       6d35f3930b87  yesod-core-1.7.0.0/src/Yesod/Core/Class/Yesod.hs
+formatted       1958ec0c389e  yesod-core-1.7.0.0/src/Yesod/Core/Content.hs
+formatted       223d8e7329f0  yesod-core-1.7.0.0/src/Yesod/Core/Dispatch.hs
+formatted       6b67c7019838  yesod-core-1.7.0.0/src/Yesod/Core/Handler.hs
+formatted       6dde33f99b09  yesod-core-1.7.0.0/src/Yesod/Core/Internal.hs
+formatted       e9648704eea3  yesod-core-1.7.0.0/src/Yesod/Core/Internal/LiteApp.hs
+formatted       cc1a32658525  yesod-core-1.7.0.0/src/Yesod/Core/Internal/Request.hs
+formatted       4385f380b368  yesod-core-1.7.0.0/src/Yesod/Core/Internal/Response.hs
+formatted       33df18e08b7f  yesod-core-1.7.0.0/src/Yesod/Core/Internal/Run.hs
+formatted       a6e87c02827d  yesod-core-1.7.0.0/src/Yesod/Core/Internal/Session.hs
+formatted       d89070c44a86  yesod-core-1.7.0.0/src/Yesod/Core/Internal/TH.hs
+formatted       342b518ce9bf  yesod-core-1.7.0.0/src/Yesod/Core/Internal/Util.hs
+formatted       d8a97d623793  yesod-core-1.7.0.0/src/Yesod/Core/Json.hs
+formatted       8235d45a82c2  yesod-core-1.7.0.0/src/Yesod/Core/TypeCache.hs
+formatted       ea2c3890f927  yesod-core-1.7.0.0/src/Yesod/Core/Types.hs
+formatted       19df6092085c  yesod-core-1.7.0.0/src/Yesod/Core/Types/Content.hs
+formatted       6815548824f9  yesod-core-1.7.0.0/src/Yesod/Core/Types/ErrorResponse.hs
+formatted       861dd6b2a6b2  yesod-core-1.7.0.0/src/Yesod/Core/Types/HandlerContents.hs
+formatted       0d0db94b4700  yesod-core-1.7.0.0/src/Yesod/Core/Types/TypedContent.hs
+formatted       a44c720fc110  yesod-core-1.7.0.0/src/Yesod/Core/Unsafe.hs
+formatted       f21b4825a859  yesod-core-1.7.0.0/src/Yesod/Core/Widget.hs
+formatted       7f657e4f1880  yesod-core-1.7.0.0/src/Yesod/Routes/Class.hs
+formatted       19f854ad8602  yesod-core-1.7.0.0/src/Yesod/Routes/Overlap.hs
+formatted       048aa8f3432d  yesod-core-1.7.0.0/src/Yesod/Routes/Parse.hs
+formatted       6a047c8c4c9e  yesod-core-1.7.0.0/src/Yesod/Routes/TH.hs
+formatted       db49f1c8c59c  yesod-core-1.7.0.0/src/Yesod/Routes/TH/Dispatch.hs
+formatted       ec5068b93fa3  yesod-core-1.7.0.0/src/Yesod/Routes/TH/Internal.hs
+formatted       805e2091d376  yesod-core-1.7.0.0/src/Yesod/Routes/TH/ParseRoute.hs
+formatted       434bae804801  yesod-core-1.7.0.0/src/Yesod/Routes/TH/RenderRoute.hs
+formatted       15a86432a00c  yesod-core-1.7.0.0/src/Yesod/Routes/TH/RouteAttrs.hs
+formatted       13617c510e90  yesod-core-1.7.0.0/src/Yesod/Routes/TH/Types.hs
+formatted       ae8aa63d98aa  yesod-core-1.7.0.0/test/Hierarchy.hs
+formatted       25e9835bcc3c  yesod-core-1.7.0.0/test/Hierarchy/Admin.hs
+formatted       0e9020522456  yesod-core-1.7.0.0/test/Hierarchy/Nest.hs
+formatted       7fba48f17d9f  yesod-core-1.7.0.0/test/Hierarchy/Nest2.hs
+formatted       e7a1bd77ed85  yesod-core-1.7.0.0/test/Hierarchy/Nest2/NestInner.hs
+formatted       43b9ab953c22  yesod-core-1.7.0.0/test/Hierarchy/Nest3.hs
+formatted       709951e0cee9  yesod-core-1.7.0.0/test/Hierarchy/ResourceTree.hs
+formatted       5889e5093f0a  yesod-core-1.7.0.0/test/Route/DeepAritySpec.hs
+formatted       93eb57c72caa  yesod-core-1.7.0.0/test/Route/DeepArityTypes.hs
+formatted       cb0a907b6ae3  yesod-core-1.7.0.0/test/Route/DiscoveryModeSpec.hs
+formatted       8182f8b365b1  yesod-core-1.7.0.0/test/Route/FallthroughSpec.hs
+formatted       a8a5b37dffc4  yesod-core-1.7.0.0/test/Route/FocusLeafConsSpec.hs
+formatted       6d9e1c90c74e  yesod-core-1.7.0.0/test/Route/InlineParseClausesSpec.hs
+formatted       b0c415ae29a4  yesod-core-1.7.0.0/test/Route/InstanceProbeSpec.hs
+formatted       2e965d82e31b  yesod-core-1.7.0.0/test/Route/InstanceProbeTypes.hs
+formatted       07571ca12e28  yesod-core-1.7.0.0/test/Route/MissingFocusTargetSpec.hs
+formatted       e906a13985cf  yesod-core-1.7.0.0/test/Route/MissingFocusTargetTypes.hs
+formatted       d3cf72d9d9f9  yesod-core-1.7.0.0/test/Route/NestedParseClausesSpec.hs
+formatted       956cdf7397f5  yesod-core-1.7.0.0/test/Route/PureQ.hs
+formatted       8359bed91a0e  yesod-core-1.7.0.0/test/Route/RenderRouteSpec.hs
+formatted       dca8f3e4dbdb  yesod-core-1.7.0.0/test/Route/RouteAttrSpec.hs
+formatted       c31bfee49505  yesod-core-1.7.0.0/test/Route/SubDispatchAritySpec.hs
+formatted       5ca66d07f37a  yesod-core-1.7.0.0/test/RouteSpec.hs
+formatted       cdbed092b1d3  yesod-core-1.7.0.0/test/YesodCoreTest.hs
+formatted       eeb3d6a75b06  yesod-core-1.7.0.0/test/YesodCoreTest/Auth.hs
+formatted       4f46796c4e6a  yesod-core-1.7.0.0/test/YesodCoreTest/BangSeparatorRuntime.hs
+formatted       5441eb5eb54e  yesod-core-1.7.0.0/test/YesodCoreTest/Breadcrumb.hs
+formatted       20e4a16c9d2e  yesod-core-1.7.0.0/test/YesodCoreTest/Cache.hs
+formatted       c8698b319cba  yesod-core-1.7.0.0/test/YesodCoreTest/CleanPath.hs
+formatted       b80cb589f3a4  yesod-core-1.7.0.0/test/YesodCoreTest/Content.hs
+formatted       a7b3d1abd30a  yesod-core-1.7.0.0/test/YesodCoreTest/Csrf.hs
+formatted       35df04524266  yesod-core-1.7.0.0/test/YesodCoreTest/ErrorHandling.hs
+formatted       42ba5ac73a72  yesod-core-1.7.0.0/test/YesodCoreTest/ErrorHandling/CustomApp.hs
+formatted       09b085751014  yesod-core-1.7.0.0/test/YesodCoreTest/Exceptions.hs
+formatted       a4440e79281d  yesod-core-1.7.0.0/test/YesodCoreTest/FallthroughDispatch/Resources.hs
+formatted       42bf243f65ff  yesod-core-1.7.0.0/test/YesodCoreTest/FallthroughDispatch/Runtime.hs
+formatted       4d5c1d9a3551  yesod-core-1.7.0.0/test/YesodCoreTest/FallthroughMatrix/FirstFoo.hs
+formatted       948b8bdc1c2f  yesod-core-1.7.0.0/test/YesodCoreTest/FallthroughMatrix/Resources.hs
+formatted       bff99f05284f  yesod-core-1.7.0.0/test/YesodCoreTest/FallthroughMatrix/Runtime.hs
+formatted       15a1f9b4d833  yesod-core-1.7.0.0/test/YesodCoreTest/Header.hs
+formatted       22a2c94ba987  yesod-core-1.7.0.0/test/YesodCoreTest/InternalRequest.hs
+formatted       a257f6984b38  yesod-core-1.7.0.0/test/YesodCoreTest/JsAttributes.hs
+formatted       0da92061fac1  yesod-core-1.7.0.0/test/YesodCoreTest/JsLoader.hs
+formatted       2b4c0699a15f  yesod-core-1.7.0.0/test/YesodCoreTest/JsLoaderSites/Bottom.hs
+formatted       bffece7c2cd8  yesod-core-1.7.0.0/test/YesodCoreTest/Json.hs
+formatted       ebf841ffdcc5  yesod-core-1.7.0.0/test/YesodCoreTest/Links.hs
+formatted       2e5bd7f541c8  yesod-core-1.7.0.0/test/YesodCoreTest/LiteApp.hs
+formatted       7caf4f47dfc4  yesod-core-1.7.0.0/test/YesodCoreTest/Media.hs
+formatted       b7985ba8cf16  yesod-core-1.7.0.0/test/YesodCoreTest/MediaData.hs
+formatted       e5c34e1392d2  yesod-core-1.7.0.0/test/YesodCoreTest/Meta.hs
+formatted       30082b0aeff0  yesod-core-1.7.0.0/test/YesodCoreTest/MultiPieceNestedRuntime.hs
+formatted       b28d829112fc  yesod-core-1.7.0.0/test/YesodCoreTest/NestedDispatch/InnerR.hs
+formatted       b22ecf1cfa7f  yesod-core-1.7.0.0/test/YesodCoreTest/NestedDispatch/NestR.hs
+formatted       f21d751520ec  yesod-core-1.7.0.0/test/YesodCoreTest/NestedDispatch/Parent0R.hs
+formatted       d58afa4ccda5  yesod-core-1.7.0.0/test/YesodCoreTest/NestedDispatch/Parent0R/Child0R.hs
+formatted       730dff38f097  yesod-core-1.7.0.0/test/YesodCoreTest/NestedDispatch/ParentR.hs
+formatted       e8ef84185226  yesod-core-1.7.0.0/test/YesodCoreTest/NestedDispatch/Resources.hs
+formatted       2dc08fc7aac1  yesod-core-1.7.0.0/test/YesodCoreTest/NestedDispatch/Runtime.hs
+formatted       2c0d13b74474  yesod-core-1.7.0.0/test/YesodCoreTest/NoOverloadedStrings.hs
+formatted       b66355225ea6  yesod-core-1.7.0.0/test/YesodCoreTest/NoOverloadedStringsSub.hs
+formatted       982dc60b18aa  yesod-core-1.7.0.0/test/YesodCoreTest/ParamDefaultSplit/Data.hs
+formatted       77e0b78e0081  yesod-core-1.7.0.0/test/YesodCoreTest/ParamDefaultSplit/Runtime.hs
+formatted       ac78f7dba6d1  yesod-core-1.7.0.0/test/YesodCoreTest/ParamFallthroughRuntime.hs
+formatted       93933a8e4c0d  yesod-core-1.7.0.0/test/YesodCoreTest/ParamFocusSplit/Resources.hs
+formatted       28ed7a0b74c0  yesod-core-1.7.0.0/test/YesodCoreTest/ParamFocusSplit/Runtime.hs
+formatted       d58903682fff  yesod-core-1.7.0.0/test/YesodCoreTest/ParamFocusSplit/SubR.hs
+formatted       27f6c0caea54  yesod-core-1.7.0.0/test/YesodCoreTest/ParamNestedNoFallthroughRuntime.hs
+formatted       d2a7922306d0  yesod-core-1.7.0.0/test/YesodCoreTest/ParamNoExplicitArgs.hs
+formatted       51164715d4c1  yesod-core-1.7.0.0/test/YesodCoreTest/ParamNoFallthroughRuntime.hs
+formatted       dff1ea9dd79d  yesod-core-1.7.0.0/test/YesodCoreTest/ParamSubsite/Data.hs
+formatted       9f2eb2ccf834  yesod-core-1.7.0.0/test/YesodCoreTest/ParamSubsite/InstanceRuntime.hs
+formatted       4d90c861c3f7  yesod-core-1.7.0.0/test/YesodCoreTest/ParamSubsite/SplitNested.hs
+formatted       26a14a6be27a  yesod-core-1.7.0.0/test/YesodCoreTest/ParamSubsite/SplitRuntime.hs
+formatted       8648e1b7d7e4  yesod-core-1.7.0.0/test/YesodCoreTest/ParamTopLevelRuntime.hs
+formatted       45679d9913dc  yesod-core-1.7.0.0/test/YesodCoreTest/ParameterizedSite.hs
+formatted       47ffce89f0a8  yesod-core-1.7.0.0/test/YesodCoreTest/ParameterizedSite/Compat.hs
+formatted       9146e9baa879  yesod-core-1.7.0.0/test/YesodCoreTest/ParameterizedSite/PolyAny.hs
+formatted       4a81895c0c3d  yesod-core-1.7.0.0/test/YesodCoreTest/ParameterizedSite/PolyShow.hs
+formatted       495af5d23a40  yesod-core-1.7.0.0/test/YesodCoreTest/ParameterizedSite/SubRoute.hs
+formatted       0ed7ad4920f3  yesod-core-1.7.0.0/test/YesodCoreTest/ParameterizedSubData.hs
+formatted       eacc11343f9e  yesod-core-1.7.0.0/test/YesodCoreTest/ParameterizedSubDispatch.hs
+formatted       5451a5e784f6  yesod-core-1.7.0.0/test/YesodCoreTest/ParameterizedSubDispatch/Data.hs
+formatted       fa764a140329  yesod-core-1.7.0.0/test/YesodCoreTest/ParameterizedSubDispatchRuntime.hs
+formatted       608d637afdd1  yesod-core-1.7.0.0/test/YesodCoreTest/ParameterizedSubDispatchRuntime/Data.hs
+formatted       ce4e123f2097  yesod-core-1.7.0.0/test/YesodCoreTest/RawResponse.hs
+formatted       04e9b9ea5572  yesod-core-1.7.0.0/test/YesodCoreTest/Redirect.hs
+formatted       3684cd2956d8  yesod-core-1.7.0.0/test/YesodCoreTest/RenderRouteSpec.hs
+formatted       6fd741577124  yesod-core-1.7.0.0/test/YesodCoreTest/RenderRouteSpec/TH.hs
+formatted       ce081e03901a  yesod-core-1.7.0.0/test/YesodCoreTest/Reps.hs
+formatted       296aecdd213c  yesod-core-1.7.0.0/test/YesodCoreTest/RequestBodySize.hs
+formatted       43d64b6f550e  yesod-core-1.7.0.0/test/YesodCoreTest/RuntimeHarness.hs
+formatted       a03f5bc57962  yesod-core-1.7.0.0/test/YesodCoreTest/SplitSubsite/Data.hs
+formatted       c58520a691a5  yesod-core-1.7.0.0/test/YesodCoreTest/SplitSubsite/NestedR.hs
+formatted       02428cd70c76  yesod-core-1.7.0.0/test/YesodCoreTest/SplitSubsite/Runtime.hs
+formatted       5e22335ef037  yesod-core-1.7.0.0/test/YesodCoreTest/Ssl.hs
+formatted       4214f305755a  yesod-core-1.7.0.0/test/YesodCoreTest/Streaming.hs
+formatted       81dc970c6b83  yesod-core-1.7.0.0/test/YesodCoreTest/StubLaxSameSite.hs
+formatted       ff68e07bfee6  yesod-core-1.7.0.0/test/YesodCoreTest/StubSslOnly.hs
+formatted       115828ce964c  yesod-core-1.7.0.0/test/YesodCoreTest/StubStrictSameSite.hs
+formatted       a5b015a63673  yesod-core-1.7.0.0/test/YesodCoreTest/StubUnsecured.hs
+formatted       3f8f772c3f43  yesod-core-1.7.0.0/test/YesodCoreTest/SubSub.hs
+formatted       51df86ac759c  yesod-core-1.7.0.0/test/YesodCoreTest/SubSubData.hs
+formatted       7cd0e7170008  yesod-core-1.7.0.0/test/YesodCoreTest/SubsiteFallthrough/Data.hs
+formatted       b27f0385586e  yesod-core-1.7.0.0/test/YesodCoreTest/SubsiteFallthrough/Nested.hs
+formatted       51df5962700f  yesod-core-1.7.0.0/test/YesodCoreTest/SubsiteFallthrough/Runtime.hs
+formatted       440f7a2f5da2  yesod-core-1.7.0.0/test/YesodCoreTest/SubsiteOptsFallthrough/Data.hs
+formatted       caded9cb98ed  yesod-core-1.7.0.0/test/YesodCoreTest/SubsiteOptsFallthrough/Runtime.hs
+formatted       728f031f3f11  yesod-core-1.7.0.0/test/YesodCoreTest/WaiSubsite.hs
+formatted       0d9eeb9f3369  yesod-core-1.7.0.0/test/YesodCoreTest/Widget.hs
+formatted       08183dd371a7  yesod-core-1.7.0.0/test/YesodCoreTest/YesodTest.hs
+formatted       7422c9bc7077  yesod-core-1.7.0.0/test/YesodCoreTest/ZeroPieceShadow/FallApp.hs
+formatted       5f300396b6b4  yesod-core-1.7.0.0/test/YesodCoreTest/ZeroPieceShadow/ShadowApp.hs
+formatted       64e70c3406aa  yesod-core-1.7.0.0/test/YesodCoreTest/ZeroPieceShadowRuntime.hs
+formatted       4f1961d6e899  yesod-core-1.7.0.0/test/test.hs
diff --git a/corpora/hackage/hackage.report b/corpora/hackage/hackage.report
--- a/corpora/hackage/hackage.report
+++ b/corpora/hackage/hackage.report
@@ -1,6 +1,6 @@
 Hackage modules that currently do not format cleanly.
 
-5275 examples, 5223 formatted.
+5380 examples, 5323 formatted.
 
 ==========================================================================
 does-not-parse (1)
@@ -24,7 +24,7 @@
     55296 configurations is more than the 64 this checks, so only the ones varying a single conditional were compared
 
 QuickCheck-2.18.0.0/src/Test/QuickCheck/Exception.hs
-    192 configurations is more than the 64 this checks, so only the ones varying a single conditional were compared
+    96 configurations is more than the 64 this checks, so only the ones varying a single conditional were compared
 
 QuickCheck-2.18.0.0/src/Test/QuickCheck/Function.hs
     4096 configurations is more than the 64 this checks, so only the ones varying a single conditional were compared
@@ -138,14 +138,29 @@
     1024 configurations is more than the 64 this checks, so only the ones varying a single conditional were compared
 
 ==========================================================================
-declined (10)
+declined (15)
 ==========================================================================
 
+HUnit-1.6.2.0/src/Test/HUnit/Base.hs
+    will not format HUnit-1.6.2.0/src/Test/HUnit/Base.hs: the macro HasCallStack_ at line 62 stands for a context before a documented part
+
+HUnit-1.6.2.0/src/Test/HUnit/Lang.hs
+    will not format HUnit-1.6.2.0/src/Test/HUnit/Lang.hs: the macro HasCallStack_ at line 56 stands for a context before a documented part
+
+attoparsec-0.14.4/benchmarks/warp-3.0.1.1/Network/Wai/Handler/Warp/ReadInt.hs
+    will not format attoparsec-0.14.4/benchmarks/warp-3.0.1.1/Network/Wai/Handler/Warp/ReadInt.hs: CPP joins the code at line 55 to the line above it
+
 cryptonite-0.30/Crypto/Random/Entropy/Windows.hs
     cryptonite-0.30/Crypto/Random/Entropy/Windows.hs:64:16-28: parse error on input `WINDOWS_CCONV', in the configuration taking #if defined(ARCH_X86)
 
+dhall-1.42.3/src/Dhall/DirectoryTree.hs
+    dhall-1.42.3/src/Dhall/DirectoryTree.hs:442:26-98: lexical error at character '\n', in the configuration taking #ifdef mingw32_HOST_OS
+
+dhall-1.42.3/src/Dhall/Marshal/Decode.hs
+    will not format dhall-1.42.3/src/Dhall/Marshal/Decode.hs: CPP joins the code at line 1585 to the line above it
+
 hlint-3.10/data/HLint_TypeCheck.hs
-    a pragma that moves positions, which we do not rewrite
+    will not format hlint-3.10/data/HLint_TypeCheck.hs: it uses {-# LINE #-} or {-# COLUMN #-} pragmas or #line, #pragma or #! lines, and no reformatting can leave those true
 
 intero-0.1.40/src/InteractiveUI.hs
     too many configurations to format
diff --git a/corpora/hackage/hackage.report' b/corpora/hackage/hackage.report'
new file mode 100644
--- /dev/null
+++ b/corpora/hackage/hackage.report'
@@ -0,0 +1,189 @@
+Hackage modules that currently do not format cleanly.
+
+5380 examples, 5323 formatted.
+
+==========================================================================
+does-not-parse (1)
+==========================================================================
+
+leksah-0.16.2.2/src/IDE/Find.hs
+    615:36: Bang pattern in expression context: !matchIndex
+    Did you mean to add a space after the '!'?
+
+==========================================================================
+partly-checked (41)
+==========================================================================
+
+Agda-2.8.0/src/full/Agda/Main.hs
+    128 configurations is more than the 64 this checks, so only the ones varying a single conditional were compared
+
+QuickCheck-2.18.0.0/src/Test/QuickCheck.hs
+    512 configurations is more than the 64 this checks, so only the ones varying a single conditional were compared
+
+QuickCheck-2.18.0.0/src/Test/QuickCheck/Arbitrary.hs
+    55296 configurations is more than the 64 this checks, so only the ones varying a single conditional were compared
+
+QuickCheck-2.18.0.0/src/Test/QuickCheck/Exception.hs
+    96 configurations is more than the 64 this checks, so only the ones varying a single conditional were compared
+
+QuickCheck-2.18.0.0/src/Test/QuickCheck/Function.hs
+    4096 configurations is more than the 64 this checks, so only the ones varying a single conditional were compared
+
+async-2.2.6/Control/Concurrent/Async/Internal.hs
+    1024 configurations is more than the 64 this checks, so only the ones varying a single conditional were compared
+
+cryptonite-0.30/Crypto/Number/Compat.hs
+    180 configurations is more than the 64 this checks, so only the ones varying a single conditional were compared
+
+dlist-1.0/Data/DList/Internal.hs
+    512 configurations is more than the 64 this checks, so only the ones varying a single conditional were compared
+
+fsnotify-0.4.4.0/test/FSNotify/Test/Util.hs
+    384 configurations is more than the 64 this checks, so only the ones varying a single conditional were compared
+
+hashable-1.5.1.0/src/Data/Hashable/Class.hs
+    4608 configurations is more than the 64 this checks, so only the ones varying a single conditional were compared
+
+hspec-core-2.11.17/vendor/async-2.2.5/Control/Concurrent/Async.hs
+    256 configurations is more than the 64 this checks, so only the ones varying a single conditional were compared
+
+intero-0.1.40/src/GhciInfo.hs
+    72 configurations is more than the 64 this checks, so only the ones varying a single conditional were compared
+
+intero-0.1.40/src/Main.hs
+    1536 configurations is more than the 64 this checks, so only the ones varying a single conditional were compared
+
+lens-5.3.6/src/Control/Lens/Wrapped.hs
+    538968064 configurations is more than the 64 this checks, so only the ones varying a single conditional were compared
+
+lens-5.3.6/src/Language/Haskell/TH/Lens.hs
+    6291456 configurations is more than the 64 this checks, so only the ones varying a single conditional were compared
+
+microlens-0.5.0.0/src/Lens/Micro.hs
+    128 configurations is more than the 64 this checks, so only the ones varying a single conditional were compared
+
+microlens-0.5.0.0/src/Lens/Micro/Internal.hs
+    96 configurations is more than the 64 this checks, so only the ones varying a single conditional were compared
+
+optics-0.4.2.1/tests/Optics/Tests/Utils.hs
+    2048 configurations is more than the 64 this checks, so only the ones varying a single conditional were compared
+
+semigroupoids-6.0.2/src/Data/Functor/Bind/Class.hs
+    128 configurations is more than the 64 this checks, so only the ones varying a single conditional were compared
+
+singletons-3.0.4/src/Data/Singletons.hs
+    128 configurations is more than the 64 this checks, so only the ones varying a single conditional were compared
+
+stm-2.5.3.1/Control/Monad/STM.hs
+    72 configurations is more than the 64 this checks, so only the ones varying a single conditional were compared
+
+text-2.1.4/src/Data/Text.hs
+    192 configurations is more than the 64 this checks, so only the ones varying a single conditional were compared
+
+th-abstraction-0.7.2.0/test/Main.hs
+    4096 configurations is more than the 64 this checks, so only the ones varying a single conditional were compared
+
+transformers-0.6.3.0/Control/Applicative/Backwards.hs
+    3072 configurations is more than the 64 this checks, so only the ones varying a single conditional were compared
+
+transformers-0.6.3.0/Control/Applicative/Lift.hs
+    96 configurations is more than the 64 this checks, so only the ones varying a single conditional were compared
+
+transformers-0.6.3.0/Control/Monad/Trans/Accum.hs
+    128 configurations is more than the 64 this checks, so only the ones varying a single conditional were compared
+
+transformers-0.6.3.0/Control/Monad/Trans/Except.hs
+    1536 configurations is more than the 64 this checks, so only the ones varying a single conditional were compared
+
+transformers-0.6.3.0/Control/Monad/Trans/Identity.hs
+    12288 configurations is more than the 64 this checks, so only the ones varying a single conditional were compared
+
+transformers-0.6.3.0/Control/Monad/Trans/Maybe.hs
+    1536 configurations is more than the 64 this checks, so only the ones varying a single conditional were compared
+
+transformers-0.6.3.0/Control/Monad/Trans/RWS/Lazy.hs
+    128 configurations is more than the 64 this checks, so only the ones varying a single conditional were compared
+
+transformers-0.6.3.0/Control/Monad/Trans/RWS/Strict.hs
+    128 configurations is more than the 64 this checks, so only the ones varying a single conditional were compared
+
+transformers-0.6.3.0/Control/Monad/Trans/Reader.hs
+    24576 configurations is more than the 64 this checks, so only the ones varying a single conditional were compared
+
+transformers-0.6.3.0/Control/Monad/Trans/State/Lazy.hs
+    128 configurations is more than the 64 this checks, so only the ones varying a single conditional were compared
+
+transformers-0.6.3.0/Control/Monad/Trans/State/Strict.hs
+    128 configurations is more than the 64 this checks, so only the ones varying a single conditional were compared
+
+transformers-0.6.3.0/Control/Monad/Trans/Writer/Lazy.hs
+    1024 configurations is more than the 64 this checks, so only the ones varying a single conditional were compared
+
+transformers-0.6.3.0/Control/Monad/Trans/Writer/Strict.hs
+    1024 configurations is more than the 64 this checks, so only the ones varying a single conditional were compared
+
+transformers-0.6.3.0/Data/Functor/Constant.hs
+    12288 configurations is more than the 64 this checks, so only the ones varying a single conditional were compared
+
+transformers-0.6.3.0/Data/Functor/Reverse.hs
+    6144 configurations is more than the 64 this checks, so only the ones varying a single conditional were compared
+
+transformers-0.6.3.0/legacy/pre709/Data/Functor/Identity.hs
+    256 configurations is more than the 64 this checks, so only the ones varying a single conditional were compared
+
+transformers-0.6.3.0/legacy/pre711/Data/Functor/Product.hs
+    128 configurations is more than the 64 this checks, so only the ones varying a single conditional were compared
+
+unliftio-0.2.25.1/src/UnliftIO/Directory.hs
+    1024 configurations is more than the 64 this checks, so only the ones varying a single conditional were compared
+
+==========================================================================
+declined (15)
+==========================================================================
+
+HUnit-1.6.2.0/src/Test/HUnit/Base.hs
+    will not format HUnit-1.6.2.0/src/Test/HUnit/Base.hs: the macro HasCallStack_ at line 62 stands for a context before a documented part
+
+HUnit-1.6.2.0/src/Test/HUnit/Lang.hs
+    will not format HUnit-1.6.2.0/src/Test/HUnit/Lang.hs: the macro HasCallStack_ at line 56 stands for a context before a documented part
+
+attoparsec-0.14.4/benchmarks/warp-3.0.1.1/Network/Wai/Handler/Warp/ReadInt.hs
+    will not format attoparsec-0.14.4/benchmarks/warp-3.0.1.1/Network/Wai/Handler/Warp/ReadInt.hs: CPP joins the code at line 55 to the line above it
+
+cryptonite-0.30/Crypto/Random/Entropy/Windows.hs
+    cryptonite-0.30/Crypto/Random/Entropy/Windows.hs:64:16-28: parse error on input `WINDOWS_CCONV', in the configuration taking #if defined(ARCH_X86)
+
+dhall-1.42.3/src/Dhall/DirectoryTree.hs
+    dhall-1.42.3/src/Dhall/DirectoryTree.hs:442:26-98: lexical error at character '\n', in the configuration taking #ifdef mingw32_HOST_OS
+
+dhall-1.42.3/src/Dhall/Marshal/Decode.hs
+    will not format dhall-1.42.3/src/Dhall/Marshal/Decode.hs: CPP joins the code at line 1585 to the line above it
+
+hlint-3.10/data/HLint_TypeCheck.hs
+    will not format hlint-3.10/data/HLint_TypeCheck.hs: it uses {-# LINE #-} or {-# COLUMN #-} pragmas or #line, #pragma or #! lines, and no reformatting can leave those true
+
+intero-0.1.40/src/InteractiveUI.hs
+    too many configurations to format
+
+lens-5.3.6/tests/properties.hs
+    lens-5.3.6/tests/properties.hs:118:26-28: parse error on input `KVS'
+
+shake-0.19.9/src/Development/Shake/Internal/FileInfo.hs
+    shake-0.19.9/src/Development/Shake/Internal/FileInfo.hs:149:16-23: parse error on input `CALLCONV', in the configuration taking #ifndef MIN_VERSION_unix, then #ifndef MIN_VERSION_time, then #elif defined(mingw32_HOST_OS), then #ifdef x86_64_HOST_ARCH
+
+shake-0.19.9/src/Development/Shake/Internal/History/Symlink.hs
+    shake-0.19.9/src/Development/Shake/Internal/History/Symlink.hs:31:16-23: parse error on input `CALLCONV', in the configuration taking #ifdef mingw32_HOST_OS, then #ifdef x86_64_HOST_ARCH
+
+shake-0.19.9/src/Development/Shake/Internal/Progress.hs
+    shake-0.19.9/src/Development/Shake/Internal/Progress.hs:44:16-23: parse error on input `CALLCONV', in the configuration taking #ifdef mingw32_HOST_OS, then #ifdef x86_64_HOST_ARCH
+
+shake-0.19.9/src/General/EscCodes.hs
+    shake-0.19.9/src/General/EscCodes.hs:52:16-23: parse error on input `CALLCONV', in the configuration taking #ifdef mingw32_HOST_OS, then #ifdef x86_64_HOST_ARCH
+
+shake-0.19.9/src/General/FileLock.hs
+    shake-0.19.9/src/General/FileLock.hs:28:16-23: parse error on input `CALLCONV', in the configuration taking #ifdef mingw32_HOST_OS, then #ifdef x86_64_HOST_ARCH
+
+unordered-containers-0.2.21/Data/HashMap/Internal/Array.hs
+    unordered-containers-0.2.21/Data/HashMap/Internal/Array.hs:(266,9)-(267,31): Unexpected case expression in function application:
+        case writeSmallArray# (unMArray ary) i# b s of s' -> (# s', () #), in the configuration taking #if defined(ASSERTS), then #if defined(__GLASGOW_HASKELL__)
+
diff --git a/corpora/vendored/backpack/abstract-closed-family-out.hsig b/corpora/vendored/backpack/abstract-closed-family-out.hsig
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/backpack/abstract-closed-family-out.hsig
@@ -0,0 +1,9 @@
+{-# LANGUAGE TypeFamilies #-}
+
+signature Codec.Width where
+
+data Codec
+
+type family Width c where ..
+
+width :: Codec -> Int
diff --git a/corpora/vendored/backpack/abstract-closed-family.hsig b/corpora/vendored/backpack/abstract-closed-family.hsig
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/backpack/abstract-closed-family.hsig
@@ -0,0 +1,9 @@
+{-# LANGUAGE TypeFamilies #-}
+
+signature Codec.Width where
+
+data Codec
+
+type family Width c where ..
+
+width :: Codec -> Int
diff --git a/corpora/vendored/backpack/abstract-data-with-a-kind-out.hsig b/corpora/vendored/backpack/abstract-data-with-a-kind-out.hsig
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/backpack/abstract-data-with-a-kind-out.hsig
@@ -0,0 +1,6 @@
+signature Shape where
+
+import Data.Kind (Type)
+
+data Shape :: Type
+data Pair :: Type -> Type -> Type
diff --git a/corpora/vendored/backpack/abstract-data-with-a-kind.hsig b/corpora/vendored/backpack/abstract-data-with-a-kind.hsig
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/backpack/abstract-data-with-a-kind.hsig
@@ -0,0 +1,6 @@
+signature Shape where
+
+import Data.Kind (Type)
+
+data Shape :: Type
+data Pair :: Type -> Type -> Type
diff --git a/corpora/vendored/backpack/class-and-instances-out'.hsig b/corpora/vendored/backpack/class-and-instances-out'.hsig
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/backpack/class-and-instances-out'.hsig
@@ -0,0 +1,10 @@
+signature Ordered where
+
+data Item
+
+class Sized a where
+    size :: a -> Int
+
+instance Sized Item
+
+instance Eq Item
diff --git a/corpora/vendored/backpack/class-and-instances-out.hsig b/corpora/vendored/backpack/class-and-instances-out.hsig
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/backpack/class-and-instances-out.hsig
@@ -0,0 +1,10 @@
+signature Ordered where
+
+data Item
+
+class Sized a where
+  size :: a -> Int
+
+instance Sized Item
+
+instance Eq Item
diff --git a/corpora/vendored/backpack/class-and-instances.hsig b/corpora/vendored/backpack/class-and-instances.hsig
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/backpack/class-and-instances.hsig
@@ -0,0 +1,10 @@
+signature Ordered where
+
+data Item
+
+class Sized a where
+  size :: a -> Int
+
+instance Sized Item
+
+instance Eq Item
diff --git a/corpora/vendored/backpack/comments-after-the-last-declaration-out.hsig b/corpora/vendored/backpack/comments-after-the-last-declaration-out.hsig
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/backpack/comments-after-the-last-declaration-out.hsig
@@ -0,0 +1,10 @@
+signature Ledger where
+
+data Entry
+
+instance Show Entry
+
+post :: Entry -> IO () -- posted before the period closes,
+                       -- and never after
+
+-- the journal is append-only
diff --git a/corpora/vendored/backpack/comments-after-the-last-declaration.hsig b/corpora/vendored/backpack/comments-after-the-last-declaration.hsig
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/backpack/comments-after-the-last-declaration.hsig
@@ -0,0 +1,10 @@
+signature Ledger where
+
+data Entry
+
+instance Show Entry
+
+post :: Entry -> IO ()   -- posted before the period closes,
+                         -- and never after
+
+-- the journal is append-only
diff --git a/corpora/vendored/backpack/comments-in-a-signature-out.hsig b/corpora/vendored/backpack/comments-in-a-signature-out.hsig
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/backpack/comments-in-a-signature-out.hsig
@@ -0,0 +1,10 @@
+signature Ledger where
+
+-- the amounts are always in minor units
+data Amount
+
+data Entry -- one line of the journal
+
+-- posted before the period closes,
+-- and never after
+post :: Entry -> IO ()
diff --git a/corpora/vendored/backpack/comments-in-a-signature.hsig b/corpora/vendored/backpack/comments-in-a-signature.hsig
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/backpack/comments-in-a-signature.hsig
@@ -0,0 +1,10 @@
+signature Ledger where
+
+-- the amounts are always in minor units
+data Amount
+
+data Entry -- one line of the journal
+
+-- posted before the period closes,
+-- and never after
+post :: Entry -> IO ()
diff --git a/corpora/vendored/backpack/consecutive-type-signatures-out.hsig b/corpora/vendored/backpack/consecutive-type-signatures-out.hsig
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/backpack/consecutive-type-signatures-out.hsig
@@ -0,0 +1,6 @@
+signature Store where
+
+data Handle
+
+open :: FilePath -> IO Handle
+close :: Handle -> IO ()
diff --git a/corpora/vendored/backpack/consecutive-type-signatures.hsig b/corpora/vendored/backpack/consecutive-type-signatures.hsig
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/backpack/consecutive-type-signatures.hsig
@@ -0,0 +1,5 @@
+signature Store where
+
+data Handle
+open :: FilePath -> IO Handle
+close :: Handle -> IO ()
diff --git a/corpora/vendored/backpack/documented-declarations-out.hsig b/corpora/vendored/backpack/documented-declarations-out.hsig
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/backpack/documented-declarations-out.hsig
@@ -0,0 +1,7 @@
+signature Clock where
+
+-- | A reading of the wall clock.
+data Instant
+
+-- | The moment this was asked for.
+now :: IO Instant
diff --git a/corpora/vendored/backpack/documented-declarations.hsig b/corpora/vendored/backpack/documented-declarations.hsig
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/backpack/documented-declarations.hsig
@@ -0,0 +1,7 @@
+signature Clock where
+
+-- | A reading of the wall clock.
+data Instant
+
+-- | The moment this was asked for.
+now :: IO Instant
diff --git a/corpora/vendored/backpack/everything-above-the-keyword-out.hsig b/corpora/vendored/backpack/everything-above-the-keyword-out.hsig
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/backpack/everything-above-the-keyword-out.hsig
@@ -0,0 +1,8 @@
+{-# LANGUAGE RoleAnnotations #-}
+
+-- the parser leaves these in its own state, not in the tree
+signature Buffer where
+
+type role Buffer nominal
+
+data Buffer a
diff --git a/corpora/vendored/backpack/everything-above-the-keyword.hsig b/corpora/vendored/backpack/everything-above-the-keyword.hsig
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/backpack/everything-above-the-keyword.hsig
@@ -0,0 +1,8 @@
+{-# LANGUAGE RoleAnnotations #-}
+
+-- the parser leaves these in its own state, not in the tree
+signature Buffer where
+
+type role Buffer nominal
+
+data Buffer a
diff --git a/corpora/vendored/backpack/exports-listed-out'.hsig b/corpora/vendored/backpack/exports-listed-out'.hsig
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/backpack/exports-listed-out'.hsig
@@ -0,0 +1,12 @@
+signature Codec
+    ( Codec
+    , encode
+    , decode
+    )
+where
+
+data Codec
+
+encode :: Codec -> String
+
+decode :: String -> Maybe Codec
diff --git a/corpora/vendored/backpack/exports-listed-out.hsig b/corpora/vendored/backpack/exports-listed-out.hsig
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/backpack/exports-listed-out.hsig
@@ -0,0 +1,12 @@
+signature Codec
+  ( Codec,
+    encode,
+    decode,
+  )
+where
+
+data Codec
+
+encode :: Codec -> String
+
+decode :: String -> Maybe Codec
diff --git a/corpora/vendored/backpack/exports-listed.hsig b/corpora/vendored/backpack/exports-listed.hsig
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/backpack/exports-listed.hsig
@@ -0,0 +1,12 @@
+signature Codec
+  ( Codec,
+    encode,
+    decode,
+  )
+where
+
+data Codec
+
+encode :: Codec -> String
+
+decode :: String -> Maybe Codec
diff --git a/corpora/vendored/backpack/fixity-declaration-out.hsig b/corpora/vendored/backpack/fixity-declaration-out.hsig
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/backpack/fixity-declaration-out.hsig
@@ -0,0 +1,7 @@
+signature Combine where
+
+data Chunk
+
+infixr 5 <+>
+
+(<+>) :: Chunk -> Chunk -> Chunk
diff --git a/corpora/vendored/backpack/fixity-declaration.hsig b/corpora/vendored/backpack/fixity-declaration.hsig
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/backpack/fixity-declaration.hsig
@@ -0,0 +1,7 @@
+signature Combine where
+
+data Chunk
+
+infixr 5 <+>
+
+(<+>) :: Chunk -> Chunk -> Chunk
diff --git a/corpora/vendored/backpack/module-in-the-export-list-out.hsig b/corpora/vendored/backpack/module-in-the-export-list-out.hsig
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/backpack/module-in-the-export-list-out.hsig
@@ -0,0 +1,7 @@
+signature Codec (Codec, module Data.Text) where
+
+import Data.Text
+
+data Codec
+
+encode :: Codec -> Text
diff --git a/corpora/vendored/backpack/module-in-the-export-list.hsig b/corpora/vendored/backpack/module-in-the-export-list.hsig
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/backpack/module-in-the-export-list.hsig
@@ -0,0 +1,7 @@
+signature Codec (Codec, module Data.Text) where
+
+import Data.Text
+
+data Codec
+
+encode :: Codec -> Text
diff --git a/corpora/vendored/backpack/type-family-out.hsig b/corpora/vendored/backpack/type-family-out.hsig
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/backpack/type-family-out.hsig
@@ -0,0 +1,11 @@
+{-# LANGUAGE TypeFamilies #-}
+
+signature Element where
+
+data Container
+
+type family Elem c
+
+type Name = String
+
+elems :: Container -> [Elem Container]
diff --git a/corpora/vendored/backpack/type-family.hsig b/corpora/vendored/backpack/type-family.hsig
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/backpack/type-family.hsig
@@ -0,0 +1,11 @@
+{-# LANGUAGE TypeFamilies #-}
+
+signature Element where
+
+data Container
+
+type family Elem c
+
+type Name = String
+
+elems :: Container -> [Elem Container]
diff --git a/corpora/vendored/backpack/type-role-annotation-out.hsig b/corpora/vendored/backpack/type-role-annotation-out.hsig
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/backpack/type-role-annotation-out.hsig
@@ -0,0 +1,7 @@
+{-# LANGUAGE RoleAnnotations #-}
+
+signature Cache where
+
+type role Cache nominal representational
+
+data Cache k v
diff --git a/corpora/vendored/backpack/type-role-annotation.hsig b/corpora/vendored/backpack/type-role-annotation.hsig
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/backpack/type-role-annotation.hsig
@@ -0,0 +1,7 @@
+{-# LANGUAGE RoleAnnotations #-}
+
+signature Cache where
+
+type role Cache nominal representational
+
+data Cache k v
diff --git a/corpora/vendored/comment/block/block-comment-indented-with-tabs-out'.hs b/corpora/vendored/comment/block/block-comment-indented-with-tabs-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/block/block-comment-indented-with-tabs-out'.hs
@@ -0,0 +1,17 @@
+-- The lines of a moved block comment stay where they were against its first
+-- line, a tab counting up to the next multiple of eight, as GHC counts.
+module Tabs where
+
+underTabs :: Int
+underTabs = g
+    where
+        {- a
+           b -}
+        g = 1
+
+overATab :: Int
+overATab = g
+    where
+        {- a
+            b -}
+        g = 1
diff --git a/corpora/vendored/comment/block/block-comment-indented-with-tabs-out.hs b/corpora/vendored/comment/block/block-comment-indented-with-tabs-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/block/block-comment-indented-with-tabs-out.hs
@@ -0,0 +1,17 @@
+-- The lines of a moved block comment stay where they were against its first
+-- line, a tab counting up to the next multiple of eight, as GHC counts.
+module Tabs where
+
+underTabs :: Int
+underTabs = g
+  where
+    {- a
+       b -}
+    g = 1
+
+overATab :: Int
+overATab = g
+  where
+    {- a
+        b -}
+    g = 1
diff --git a/corpora/vendored/comment/block/block-comment-indented-with-tabs.hs b/corpora/vendored/comment/block/block-comment-indented-with-tabs.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/block/block-comment-indented-with-tabs.hs
@@ -0,0 +1,17 @@
+-- The lines of a moved block comment stay where they were against its first
+-- line, a tab counting up to the next multiple of eight, as GHC counts.
+module Tabs where
+
+underTabs :: Int
+underTabs = g
+	where
+		{- a
+                   b -}
+		g = 1
+
+overATab :: Int
+overATab = g
+    where
+      {- a
+	  b -}
+      g = 1
diff --git a/corpora/vendored/comment/block/block-comment-that-code-follows-above-an-empty-line-out'.hs b/corpora/vendored/comment/block/block-comment-that-code-follows-above-an-empty-line-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/block/block-comment-that-code-follows-above-an-empty-line-out'.hs
@@ -0,0 +1,17 @@
+module M where
+
+f x =
+    if x
+        then {- a
+             b -}
+            y
+        else z
+
+g = 1
+
+data T
+    = T {- a
+        b -}
+        Int
+
+h = 2
diff --git a/corpora/vendored/comment/block/block-comment-that-code-follows-above-an-empty-line-out.hs b/corpora/vendored/comment/block/block-comment-that-code-follows-above-an-empty-line-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/block/block-comment-that-code-follows-above-an-empty-line-out.hs
@@ -0,0 +1,17 @@
+module M where
+
+f x =
+  if x
+    then {- a
+         b -}
+      y
+    else z
+
+g = 1
+
+data T
+  = T {- a
+      b -}
+      Int
+
+h = 2
diff --git a/corpora/vendored/comment/block/block-comment-that-code-follows-above-an-empty-line.hs b/corpora/vendored/comment/block/block-comment-that-code-follows-above-an-empty-line.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/block/block-comment-that-code-follows-above-an-empty-line.hs
@@ -0,0 +1,11 @@
+module M where
+
+f x = if x then {- a
+  b -} y else z
+
+g = 1
+
+data T = T {- a
+  b -} Int
+
+h = 2
diff --git a/corpora/vendored/comment/block/line-comment-after-a-block-comment-out'.hs b/corpora/vendored/comment/block/line-comment-after-a-block-comment-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/block/line-comment-after-a-block-comment-out'.hs
@@ -0,0 +1,29 @@
+module Survey.Tally
+    ( count {- the total -} -- so far
+    , reset
+    )
+where
+
+import Data.List
+    ( {- for the order -} -- of answers
+      sortOn
+    )
+
+count =
+    {- every answer -} -- once
+    length answers
+
+data Answer
+    = {- in the order asked -} -- on the form
+      Yes
+    | No
+
+verdict a = case a of
+    Yes ->
+        {- counted -} -- as one
+        1
+    No -> 0
+
+skipped = \a ->
+    {- left out -} -- of the count
+    0
diff --git a/corpora/vendored/comment/block/line-comment-after-a-block-comment-out.hs b/corpora/vendored/comment/block/line-comment-after-a-block-comment-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/block/line-comment-after-a-block-comment-out.hs
@@ -0,0 +1,29 @@
+module Survey.Tally
+  ( count, {- the total -} -- so far
+    reset,
+  )
+where
+
+import Data.List
+  ( {- for the order -} -- of answers
+    sortOn,
+  )
+
+count =
+  {- every answer -} -- once
+  length answers
+
+data Answer
+  = {- in the order asked -} -- on the form
+    Yes
+  | No
+
+verdict a = case a of
+  Yes ->
+    {- counted -} -- as one
+    1
+  No -> 0
+
+skipped = \a ->
+  {- left out -} -- of the count
+  0
diff --git a/corpora/vendored/comment/block/line-comment-after-a-block-comment.hs b/corpora/vendored/comment/block/line-comment-after-a-block-comment.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/block/line-comment-after-a-block-comment.hs
@@ -0,0 +1,22 @@
+module Survey.Tally
+  ( count, {- the total -} -- so far
+    reset,
+  )
+where
+
+import Data.List ( {- for the order -} -- of answers
+  sortOn )
+
+count = {- every answer -} -- once
+  length answers
+
+data Answer = {- in the order asked -} -- on the form
+  Yes | No
+
+verdict a = case a of
+  Yes -> {- counted -} -- as one
+    1
+  No -> 0
+
+skipped = \a -> {- left out -} -- of the count
+  0
diff --git a/corpora/vendored/comment/bracket/block-comment-after-a-trailing-comma-out.hs b/corpora/vendored/comment/bracket/block-comment-after-a-trailing-comma-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/block-comment-after-a-trailing-comma-out.hs
@@ -0,0 +1,4 @@
+module Terminal.Keys (Key, keys {- modifiers -}) where
+
+import Data.Array (Array, bounds, (!) {- assocs -})
+import Data.List (nub, sortOn {- group -})
diff --git a/corpora/vendored/comment/bracket/block-comment-after-a-trailing-comma.hs b/corpora/vendored/comment/bracket/block-comment-after-a-trailing-comma.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/block-comment-after-a-trailing-comma.hs
@@ -0,0 +1,4 @@
+module Terminal.Keys (Key, keys, {- modifiers -}) where
+
+import Data.Array (Array, (!), bounds, {- assocs -})
+import Data.List (sortOn, nub,{- group -})
diff --git a/corpora/vendored/comment/bracket/block-comment-before-a-closing-bracket-out.hs b/corpora/vendored/comment/bracket/block-comment-before-a-closing-bracket-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/block-comment-before-a-closing-bracket-out.hs
@@ -0,0 +1,15 @@
+module Terminal.Keys where
+
+import Data.ByteString.Char8 ({- IsString -})
+import Data.List hiding (sort {- the local one -})
+
+recordKey :: Key -> IO (Bool {- already bound -}, Int)
+recordKey = undefined
+
+modifiers = (shift {- left or right -}, control {- either -})
+
+arrows = [up, down, left, right {- and no others -}]
+
+pressed = bind (key {- as reported -}) action
+
+pending = [{- none yet -}]
diff --git a/corpora/vendored/comment/bracket/block-comment-before-a-closing-bracket.hs b/corpora/vendored/comment/bracket/block-comment-before-a-closing-bracket.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/block-comment-before-a-closing-bracket.hs
@@ -0,0 +1,15 @@
+module Terminal.Keys where
+
+import Data.ByteString.Char8 ({- IsString -})
+import Data.List hiding (sort {- the local one -})
+
+recordKey :: Key -> IO (Bool {- already bound -}, Int)
+recordKey = undefined
+
+modifiers = (shift {- left or right -}, control {- either -})
+
+arrows = [up, down, left, right {- and no others -}]
+
+pressed = bind (key {- as reported -}) action
+
+pending = [{- none yet -}]
diff --git a/corpora/vendored/comment/bracket/block-comment-before-a-list-item-out'.hs b/corpora/vendored/comment/bracket/block-comment-before-a-list-item-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/block-comment-before-a-list-item-out'.hs
@@ -0,0 +1,8 @@
+module Palette.Primaries where
+
+primaries :: [Colour]
+primaries =
+    [ red
+    , {- the one cheap printers lack -} blue
+    , yellow
+    ]
diff --git a/corpora/vendored/comment/bracket/block-comment-before-a-list-item-out.hs b/corpora/vendored/comment/bracket/block-comment-before-a-list-item-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/block-comment-before-a-list-item-out.hs
@@ -0,0 +1,8 @@
+module Palette.Primaries where
+
+primaries :: [Colour]
+primaries =
+  [ red,
+    {- the one cheap printers lack -} blue,
+    yellow
+  ]
diff --git a/corpora/vendored/comment/bracket/block-comment-before-a-list-item.hs b/corpora/vendored/comment/bracket/block-comment-before-a-list-item.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/block-comment-before-a-list-item.hs
@@ -0,0 +1,8 @@
+module Palette.Primaries where
+
+primaries :: [Colour]
+primaries =
+  [ red,
+    {- the one cheap printers lack -} blue,
+    yellow
+  ]
diff --git a/corpora/vendored/comment/bracket/comment-above-a-string-with-a-gap-led-by-a-comma-out'.hs b/corpora/vendored/comment/bracket/comment-above-a-string-with-a-gap-led-by-a-comma-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-above-a-string-with-a-gap-led-by-a-comma-out'.hs
@@ -0,0 +1,19 @@
+module Shipment.Label where
+
+warnings :: Bool -> [String]
+warnings cold =
+    [ "Fragile"
+      -- the long one wraps in the source
+    , "Keep away from \
+      \heat and moisture"
+      -- only in winter
+    , if cold then "Do not freeze" else ""
+    , "This side up"
+    ]
+
+stamps :: [Int -> String]
+stamps =
+    [ show
+      -- weights are in grams
+    , \grams -> show grams ++ " g"
+    ]
diff --git a/corpora/vendored/comment/bracket/comment-above-a-string-with-a-gap-led-by-a-comma-out.hs b/corpora/vendored/comment/bracket/comment-above-a-string-with-a-gap-led-by-a-comma-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-above-a-string-with-a-gap-led-by-a-comma-out.hs
@@ -0,0 +1,19 @@
+module Shipment.Label where
+
+warnings :: Bool -> [String]
+warnings cold =
+  [ "Fragile",
+    -- the long one wraps in the source
+    "Keep away from \
+    \heat and moisture",
+    -- only in winter
+    if cold then "Do not freeze" else "",
+    "This side up"
+  ]
+
+stamps :: [Int -> String]
+stamps =
+  [ show,
+    -- weights are in grams
+    \grams -> show grams ++ " g"
+  ]
diff --git a/corpora/vendored/comment/bracket/comment-above-a-string-with-a-gap-led-by-a-comma.hs b/corpora/vendored/comment/bracket/comment-above-a-string-with-a-gap-led-by-a-comma.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-above-a-string-with-a-gap-led-by-a-comma.hs
@@ -0,0 +1,19 @@
+module Shipment.Label where
+
+warnings :: Bool -> [String]
+warnings cold =
+  [ "Fragile"
+  -- the long one wraps in the source
+  , "Keep away from \
+    \heat and moisture"
+  -- only in winter
+  , if cold then "Do not freeze" else ""
+  , "This side up"
+  ]
+
+stamps :: [Int -> String]
+stamps =
+  [ show
+  -- weights are in grams
+  , \grams -> show grams ++ " g"
+  ]
diff --git a/corpora/vendored/comment/bracket/comment-above-the-closing-brace-of-a-block-out'.hs b/corpora/vendored/comment/bracket/comment-above-the-closing-brace-of-a-block-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-above-the-closing-brace-of-a-block-out'.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE EmptyCase #-}
+
+module Kiln.Firing where
+
+fire kiln = do
+    { heat kiln
+    -- until the cones bend
+    } -- one firing
+
+glaze kiln = do
+    { dip kiln
+    ; dry kiln
+    -- before it goes in
+    } -- twice over
+
+never cone = case cone of
+    { -- no cone survives
+    } -- not one
diff --git a/corpora/vendored/comment/bracket/comment-above-the-closing-brace-of-a-block-out.hs b/corpora/vendored/comment/bracket/comment-above-the-closing-brace-of-a-block-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-above-the-closing-brace-of-a-block-out.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE EmptyCase #-}
+
+module Kiln.Firing where
+
+fire kiln = do
+  { heat kiln
+  -- until the cones bend
+  } -- one firing
+
+glaze kiln = do
+  { dip kiln
+  ; dry kiln
+  -- before it goes in
+  } -- twice over
+
+never cone = case cone of
+  { -- no cone survives
+  } -- not one
diff --git a/corpora/vendored/comment/bracket/comment-above-the-closing-brace-of-a-block.hs b/corpora/vendored/comment/bracket/comment-above-the-closing-brace-of-a-block.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-above-the-closing-brace-of-a-block.hs
@@ -0,0 +1,19 @@
+{-# LANGUAGE EmptyCase #-}
+
+module Kiln.Firing where
+
+fire kiln = do
+  { heat kiln
+  -- until the cones bend
+  } -- one firing
+
+glaze kiln = do
+  { dip kiln
+  ; dry kiln
+  -- before it goes in
+  } -- twice over
+
+never cone = case cone of
+  {
+  -- no cone survives
+  } -- not one
diff --git a/corpora/vendored/comment/bracket/comment-after-a-bracket-behind-a-tight-token-out'.hs b/corpora/vendored/comment/bracket/comment-after-a-bracket-behind-a-tight-token-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-after-a-bracket-behind-a-tight-token-out'.hs
@@ -0,0 +1,26 @@
+{-# LANGUAGE DataKinds #-}
+{-# LANGUAGE TypeApplications #-}
+
+module Shelf.Labels where
+
+-- A comment after a bracket that a tick or an @ is glued to stays after
+-- the bracket rather than going after what the bracket holds first.
+type Labels =
+    '[ -- the first
+       Int
+       -- the second
+     , Bool
+     ]
+
+type Pair =
+    '( -- the left one
+       Int
+     , Bool
+     )
+
+blank :: [Label]
+blank =
+    mempty
+        @( -- a list of them
+           [Label]
+         )
diff --git a/corpora/vendored/comment/bracket/comment-after-a-bracket-behind-a-tight-token-out.hs b/corpora/vendored/comment/bracket/comment-after-a-bracket-behind-a-tight-token-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-after-a-bracket-behind-a-tight-token-out.hs
@@ -0,0 +1,26 @@
+{-# LANGUAGE DataKinds #-}
+{-# LANGUAGE TypeApplications #-}
+
+module Shelf.Labels where
+
+-- A comment after a bracket that a tick or an @ is glued to stays after
+-- the bracket rather than going after what the bracket holds first.
+type Labels =
+  '[ -- the first
+     Int,
+     -- the second
+     Bool
+   ]
+
+type Pair =
+  '( -- the left one
+     Int,
+     Bool
+   )
+
+blank :: [Label]
+blank =
+  mempty
+    @( -- a list of them
+       [Label]
+     )
diff --git a/corpora/vendored/comment/bracket/comment-after-a-bracket-behind-a-tight-token.hs b/corpora/vendored/comment/bracket/comment-after-a-bracket-behind-a-tight-token.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-after-a-bracket-behind-a-tight-token.hs
@@ -0,0 +1,20 @@
+{-# LANGUAGE DataKinds #-}
+{-# LANGUAGE TypeApplications #-}
+
+module Shelf.Labels where
+
+-- A comment after a bracket that a tick or an @ is glued to stays after
+-- the bracket rather than going after what the bracket holds first.
+type Labels =
+  '[ -- the first
+     Int
+   , -- the second
+     Bool
+   ]
+
+type Pair = '( -- the left one
+  Int, Bool)
+
+blank :: [Label]
+blank = mempty @( -- a list of them
+  [Label])
diff --git a/corpora/vendored/comment/bracket/comment-after-a-bracket-in-an-operand-of-a-chain-out'.hs b/corpora/vendored/comment/bracket/comment-after-a-bracket-in-an-operand-of-a-chain-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-after-a-bracket-in-an-operand-of-a-chain-out'.hs
@@ -0,0 +1,9 @@
+module Kiln.Choice where
+
+chosen alternatives =
+    settle
+        $ fromMaybe
+            ( -- the last one, when nothing fits
+              last alternatives
+            )
+        $ firstFitting alternatives
diff --git a/corpora/vendored/comment/bracket/comment-after-a-bracket-in-an-operand-of-a-chain-out.hs b/corpora/vendored/comment/bracket/comment-after-a-bracket-in-an-operand-of-a-chain-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-after-a-bracket-in-an-operand-of-a-chain-out.hs
@@ -0,0 +1,9 @@
+module Kiln.Choice where
+
+chosen alternatives =
+  settle
+    $ fromMaybe
+      ( -- the last one, when nothing fits
+        last alternatives
+      )
+    $ firstFitting alternatives
diff --git a/corpora/vendored/comment/bracket/comment-after-a-bracket-in-an-operand-of-a-chain.hs b/corpora/vendored/comment/bracket/comment-after-a-bracket-in-an-operand-of-a-chain.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-after-a-bracket-in-an-operand-of-a-chain.hs
@@ -0,0 +1,9 @@
+module Kiln.Choice where
+
+chosen alternatives =
+  settle
+    $ fromMaybe
+      ( -- the last one, when nothing fits
+        last alternatives
+      )
+    $ firstFitting alternatives
diff --git a/corpora/vendored/comment/bracket/comment-after-a-bracket-on-a-line-holding-a-remark-out'.hs b/corpora/vendored/comment/bracket/comment-after-a-bracket-on-a-line-holding-a-remark-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-after-a-bracket-on-a-line-holding-a-remark-out'.hs
@@ -0,0 +1,22 @@
+module Tariff.Total where
+
+total =
+    base
+        + ( -- the surcharge
+            -- at night only
+            night
+          )
+
+routes =
+    local
+        ++ [ -- the express lines
+             -- through the centre
+             central
+           ]
+
+updated =
+    fares
+        <> tariff -- this year's
+            { -- from January
+              peak = 3
+            }
diff --git a/corpora/vendored/comment/bracket/comment-after-a-bracket-on-a-line-holding-a-remark-out.hs b/corpora/vendored/comment/bracket/comment-after-a-bracket-on-a-line-holding-a-remark-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-after-a-bracket-on-a-line-holding-a-remark-out.hs
@@ -0,0 +1,22 @@
+module Tariff.Total where
+
+total =
+  base
+    + ( -- the surcharge
+        -- at night only
+        night
+      )
+
+routes =
+  local
+    ++ [ -- the express lines
+         -- through the centre
+         central
+       ]
+
+updated =
+  fares
+    <> tariff -- this year's
+      { -- from January
+        peak = 3
+      }
diff --git a/corpora/vendored/comment/bracket/comment-after-a-bracket-on-a-line-holding-a-remark.hs b/corpora/vendored/comment/bracket/comment-after-a-bracket-on-a-line-holding-a-remark.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-after-a-bracket-on-a-line-holding-a-remark.hs
@@ -0,0 +1,22 @@
+module Tariff.Total where
+
+total =
+  base
+    + -- the surcharge
+    (
+    -- at night only
+    night)
+
+routes =
+  local
+    ++ -- the express lines
+    [
+    -- through the centre
+    central ]
+
+updated =
+  fares
+    <> tariff -- this year's
+    {
+    -- from January
+    peak = 3 }
diff --git a/corpora/vendored/comment/bracket/comment-after-an-opening-brace-of-a-record-out'.hs b/corpora/vendored/comment/bracket/comment-after-an-opening-brace-of-a-record-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-after-an-opening-brace-of-a-record-out'.hs
@@ -0,0 +1,20 @@
+module Kiln.Config where
+
+quiet config =
+    config
+        { -- keep the rest
+          -- as it was
+          verbose = False
+        }
+
+defaults =
+    Config
+        { -- the factory settings
+          verbose = True
+        }
+
+isVerbose
+    Config
+        { -- only this
+          verbose = v
+        } = v
diff --git a/corpora/vendored/comment/bracket/comment-after-an-opening-brace-of-a-record-out.hs b/corpora/vendored/comment/bracket/comment-after-an-opening-brace-of-a-record-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-after-an-opening-brace-of-a-record-out.hs
@@ -0,0 +1,20 @@
+module Kiln.Config where
+
+quiet config =
+  config
+    { -- keep the rest
+      -- as it was
+      verbose = False
+    }
+
+defaults =
+  Config
+    { -- the factory settings
+      verbose = True
+    }
+
+isVerbose
+  Config
+    { -- only this
+      verbose = v
+    } = v
diff --git a/corpora/vendored/comment/bracket/comment-after-an-opening-brace-of-a-record.hs b/corpora/vendored/comment/bracket/comment-after-an-opening-brace-of-a-record.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-after-an-opening-brace-of-a-record.hs
@@ -0,0 +1,12 @@
+module Kiln.Config where
+
+quiet config =
+  config{ -- keep the rest
+          -- as it was
+    verbose = False }
+
+defaults = Config { -- the factory settings
+  verbose = True }
+
+isVerbose Config { -- only this
+  verbose = v } = v
diff --git a/corpora/vendored/comment/bracket/comment-after-closing-bracket-out'.hs b/corpora/vendored/comment/bracket/comment-after-closing-bracket-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-after-closing-bracket-out'.hs
@@ -0,0 +1,27 @@
+tupleOfHalves =
+    combine
+        ( north
+        , south
+        ) -- the two halves
+        ( east
+        , west
+        ) -- and the other two
+
+nestedRuns =
+    render
+        [ [ alpha
+          , beta
+          ] -- the inner run
+        ] -- the outer run
+
+runningTotal =
+    weigh
+        ( heavier
+            + lighter
+        ) -- everything so far
+
+blockAfterBracket =
+    measure
+        ( width
+        , height
+        ) {- taken at the widest point -}
diff --git a/corpora/vendored/comment/bracket/comment-after-closing-bracket-out.hs b/corpora/vendored/comment/bracket/comment-after-closing-bracket-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-after-closing-bracket-out.hs
@@ -0,0 +1,27 @@
+tupleOfHalves =
+  combine
+    ( north,
+      south
+    ) -- the two halves
+    ( east,
+      west
+    ) -- and the other two
+
+nestedRuns =
+  render
+    [ [ alpha,
+        beta
+      ] -- the inner run
+    ] -- the outer run
+
+runningTotal =
+  weigh
+    ( heavier
+        + lighter
+    ) -- everything so far
+
+blockAfterBracket =
+  measure
+    ( width,
+      height
+    ) {- taken at the widest point -}
diff --git a/corpora/vendored/comment/bracket/comment-after-closing-bracket.hs b/corpora/vendored/comment/bracket/comment-after-closing-bracket.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-after-closing-bracket.hs
@@ -0,0 +1,22 @@
+tupleOfHalves =
+  combine
+    ( north,
+      south ) -- the two halves
+    ( east,
+      west ) -- and the other two
+
+nestedRuns =
+  render
+    [ [ alpha,
+        beta ] -- the inner run
+    ] -- the outer run
+
+runningTotal =
+  weigh
+    ( heavier
+        + lighter ) -- everything so far
+
+blockAfterBracket =
+  measure
+    ( width,
+      height ) {- taken at the widest point -}
diff --git a/corpora/vendored/comment/bracket/comment-after-opening-bracket-out'.hs b/corpora/vendored/comment/bracket/comment-after-opening-bracket-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-after-opening-bracket-out'.hs
@@ -0,0 +1,31 @@
+import Data.List
+    ( -- on a line of its own
+      sort
+    )
+
+parenthesised =
+    ( -- on a line of its own
+      value
+    )
+
+listed =
+    [ -- on a line of its own
+      first
+    , second
+    ]
+
+typed
+    :: ( -- on a line of its own
+         Int
+       )
+typed = 0
+
+data Colour
+    = Red
+    | -- on a line of its own
+      Green
+
+data Shape = Circle
+    { -- on a line of its own
+      radius :: Int
+    }
diff --git a/corpora/vendored/comment/bracket/comment-after-opening-bracket-out.hs b/corpora/vendored/comment/bracket/comment-after-opening-bracket-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-after-opening-bracket-out.hs
@@ -0,0 +1,31 @@
+import Data.List
+  ( -- on a line of its own
+    sort,
+  )
+
+parenthesised =
+  ( -- on a line of its own
+    value
+  )
+
+listed =
+  [ -- on a line of its own
+    first,
+    second
+  ]
+
+typed ::
+  ( -- on a line of its own
+    Int
+  )
+typed = 0
+
+data Colour
+  = Red
+  | -- on a line of its own
+    Green
+
+data Shape = Circle
+  { -- on a line of its own
+    radius :: Int
+  }
diff --git a/corpora/vendored/comment/bracket/comment-after-opening-bracket.hs b/corpora/vendored/comment/bracket/comment-after-opening-bracket.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-after-opening-bracket.hs
@@ -0,0 +1,26 @@
+import Data.List
+  (
+  -- on a line of its own
+  sort)
+
+parenthesised = (
+  -- on a line of its own
+  value)
+
+listed = [
+  -- on a line of its own
+  first, second]
+
+typed :: (
+  -- on a line of its own
+  Int)
+typed = 0
+
+data Colour =
+  Red
+  -- on a line of its own
+  | Green
+
+data Shape = Circle {
+  -- on a line of its own
+  radius :: Int }
diff --git a/corpora/vendored/comment/bracket/comment-before-a-context-bracket-out'.hs b/corpora/vendored/comment/bracket/comment-before-a-context-bracket-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-before-a-context-bracket-out'.hs
@@ -0,0 +1,19 @@
+module Server.Route where
+
+-- A comment written before the closing parenthesis of a context stays
+-- inside it.
+route
+    :: ( Monad m
+       , MonadIO m -- for the effects
+         -- that run around each request
+       )
+    => Handler m
+    -> m ()
+route = undefined
+
+instance
+    ( Show a
+    , Eq a
+      -- and nothing else
+    )
+    => Render (Box a)
diff --git a/corpora/vendored/comment/bracket/comment-before-a-context-bracket-out.hs b/corpora/vendored/comment/bracket/comment-before-a-context-bracket-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-before-a-context-bracket-out.hs
@@ -0,0 +1,19 @@
+module Server.Route where
+
+-- A comment written before the closing parenthesis of a context stays
+-- inside it.
+route ::
+  ( Monad m,
+    MonadIO m -- for the effects
+    -- that run around each request
+  ) =>
+  Handler m ->
+  m ()
+route = undefined
+
+instance
+  ( Show a,
+    Eq a
+    -- and nothing else
+  ) =>
+  Render (Box a)
diff --git a/corpora/vendored/comment/bracket/comment-before-a-context-bracket.hs b/corpora/vendored/comment/bracket/comment-before-a-context-bracket.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-before-a-context-bracket.hs
@@ -0,0 +1,19 @@
+module Server.Route where
+
+-- A comment written before the closing parenthesis of a context stays
+-- inside it.
+route ::
+  ( Monad m,
+    MonadIO m -- for the effects
+    -- that run around each request
+  ) =>
+  Handler m ->
+  m ()
+route = undefined
+
+instance
+  ( Show a,
+    Eq a
+    -- and nothing else
+  ) =>
+  Render (Box a)
diff --git a/corpora/vendored/comment/bracket/comment-before-an-opening-bracket-out'.hs b/corpora/vendored/comment/bracket/comment-before-an-opening-bracket-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-before-an-opening-bracket-out'.hs
@@ -0,0 +1,14 @@
+module Kiln.Config where
+
+quiet config =
+    config -- before the brace
+        { verbose = False
+        }
+
+heat =
+    fire -- before the parenthesis
+        (low, high)
+
+stack =
+    pile -- before the bracket
+        [low, high]
diff --git a/corpora/vendored/comment/bracket/comment-before-an-opening-bracket-out.hs b/corpora/vendored/comment/bracket/comment-before-an-opening-bracket-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-before-an-opening-bracket-out.hs
@@ -0,0 +1,14 @@
+module Kiln.Config where
+
+quiet config =
+  config -- before the brace
+    { verbose = False
+    }
+
+heat =
+  fire -- before the parenthesis
+    (low, high)
+
+stack =
+  pile -- before the bracket
+    [low, high]
diff --git a/corpora/vendored/comment/bracket/comment-before-an-opening-bracket.hs b/corpora/vendored/comment/bracket/comment-before-an-opening-bracket.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-before-an-opening-bracket.hs
@@ -0,0 +1,10 @@
+module Kiln.Config where
+
+quiet config = config -- before the brace
+  { verbose = False }
+
+heat = fire -- before the parenthesis
+  ( low, high )
+
+stack = pile -- before the bracket
+  [ low, high ]
diff --git a/corpora/vendored/comment/bracket/comment-before-closing-bracket-out'.hs b/corpora/vendored/comment/bracket/comment-before-closing-bracket-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-before-closing-bracket-out'.hs
@@ -0,0 +1,41 @@
+oneElement =
+    [ first
+      -- and nothing after it
+    ]
+
+severalElements =
+    [ first
+    , second
+      -- and nothing after them
+    ]
+
+blockComment =
+    [ first
+      {- room
+         for more -}
+    ]
+
+nested =
+    [ outer
+    , [ inner
+        -- innermost
+      ]
+    ]
+
+comprehension =
+    [ x | x <- xs
+    -- and only those
+    ]
+        ++ rest
+
+comprehensionAlone =
+    [ x | x <- xs
+    -- and nothing after it
+    ]
+
+openSequence =
+    [ first
+      ..
+      -- and on from there
+    ]
+        ++ rest
diff --git a/corpora/vendored/comment/bracket/comment-before-closing-bracket-out.hs b/corpora/vendored/comment/bracket/comment-before-closing-bracket-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-before-closing-bracket-out.hs
@@ -0,0 +1,41 @@
+oneElement =
+  [ first
+    -- and nothing after it
+  ]
+
+severalElements =
+  [ first,
+    second
+    -- and nothing after them
+  ]
+
+blockComment =
+  [ first
+    {- room
+       for more -}
+  ]
+
+nested =
+  [ outer,
+    [ inner
+      -- innermost
+    ]
+  ]
+
+comprehension =
+  [ x | x <- xs
+  -- and only those
+  ]
+    ++ rest
+
+comprehensionAlone =
+  [ x | x <- xs
+  -- and nothing after it
+  ]
+
+openSequence =
+  [ first
+    ..
+    -- and on from there
+  ]
+    ++ rest
diff --git a/corpora/vendored/comment/bracket/comment-before-closing-bracket.hs b/corpora/vendored/comment/bracket/comment-before-closing-bracket.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-before-closing-bracket.hs
@@ -0,0 +1,29 @@
+oneElement = [ first
+  -- and nothing after it
+  ]
+
+severalElements = [ first, second
+  -- and nothing after them
+  ]
+
+blockComment = [ first
+  {- room
+     for more -}
+  ]
+
+nested = [ outer, [ inner
+    -- innermost
+    ]
+  ]
+
+comprehension = [ x | x <- xs
+  -- and only those
+  ] ++ rest
+
+comprehensionAlone = [ x | x <- xs
+  -- and nothing after it
+  ]
+
+openSequence = [ first ..
+  -- and on from there
+  ] ++ rest
diff --git a/corpora/vendored/comment/bracket/comment-before-closing-quote-out'.hs b/corpora/vendored/comment/bracket/comment-before-closing-quote-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-before-closing-quote-out'.hs
@@ -0,0 +1,21 @@
+{-# LANGUAGE TemplateHaskell #-}
+
+-- A comment before the bracket that closes a quote stays inside the quote.
+expression =
+    [|
+        lookup key table
+        -- or a default, when the key is missing
+        |]
+        ++ fallbacks
+
+typed =
+    [||
+        width * height
+        -- in pixels
+        ||]
+
+declarations =
+    [d|
+        answer = 42
+        -- and that is all
+        |]
diff --git a/corpora/vendored/comment/bracket/comment-before-closing-quote-out.hs b/corpora/vendored/comment/bracket/comment-before-closing-quote-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-before-closing-quote-out.hs
@@ -0,0 +1,21 @@
+{-# LANGUAGE TemplateHaskell #-}
+
+-- A comment before the bracket that closes a quote stays inside the quote.
+expression =
+  [|
+    lookup key table
+    -- or a default, when the key is missing
+    |]
+    ++ fallbacks
+
+typed =
+  [||
+    width * height
+    -- in pixels
+    ||]
+
+declarations =
+  [d|
+    answer = 42
+    -- and that is all
+    |]
diff --git a/corpora/vendored/comment/bracket/comment-before-closing-quote.hs b/corpora/vendored/comment/bracket/comment-before-closing-quote.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-before-closing-quote.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE TemplateHaskell #-}
+
+-- A comment before the bracket that closes a quote stays inside the quote.
+expression = [| lookup key table
+  -- or a default, when the key is missing
+  |] ++ fallbacks
+
+typed = [|| width * height
+  -- in pixels
+  ||]
+
+declarations = [d| answer = 42
+  -- and that is all
+  |]
diff --git a/corpora/vendored/comment/bracket/comment-before-the-closing-bracket-of-a-command-out'.hs b/corpora/vendored/comment/bracket/comment-before-the-closing-bracket-of-a-command-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-before-the-closing-bracket-of-a-command-out'.hs
@@ -0,0 +1,20 @@
+{-# LANGUAGE Arrows #-}
+
+module Loom.Treadle where
+
+import Control.Arrow
+
+press :: Arrow a => a Int Int -> a Int Int
+press pedal = proc depth -> do
+    ( pedal -< depth
+      -- held until the shed opens
+        )
+
+release :: Arrow a => a Int Int -> a Int Int
+release pedal = proc depth ->
+    ( pedal -< depth
+      -- let go all at once
+    )
+
+lift :: Int -> Int
+lift = id
diff --git a/corpora/vendored/comment/bracket/comment-before-the-closing-bracket-of-a-command-out.hs b/corpora/vendored/comment/bracket/comment-before-the-closing-bracket-of-a-command-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-before-the-closing-bracket-of-a-command-out.hs
@@ -0,0 +1,20 @@
+{-# LANGUAGE Arrows #-}
+
+module Loom.Treadle where
+
+import Control.Arrow
+
+press :: Arrow a => a Int Int -> a Int Int
+press pedal = proc depth -> do
+  ( pedal -< depth
+    -- held until the shed opens
+    )
+
+release :: Arrow a => a Int Int -> a Int Int
+release pedal = proc depth ->
+  ( pedal -< depth
+    -- let go all at once
+  )
+
+lift :: Int -> Int
+lift = id
diff --git a/corpora/vendored/comment/bracket/comment-before-the-closing-bracket-of-a-command.hs b/corpora/vendored/comment/bracket/comment-before-the-closing-bracket-of-a-command.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-before-the-closing-bracket-of-a-command.hs
@@ -0,0 +1,20 @@
+{-# LANGUAGE Arrows #-}
+
+module Loom.Treadle where
+
+import Control.Arrow
+
+press :: Arrow a => a Int Int -> a Int Int
+press pedal = proc depth -> do
+  (pedal -< depth
+    -- held until the shed opens
+    )
+
+release :: Arrow a => a Int Int -> a Int Int
+release pedal = proc depth ->
+  (pedal -< depth
+    -- let go all at once
+    )
+
+lift :: Int -> Int
+lift = id
diff --git a/corpora/vendored/comment/bracket/comment-beside-a-wildcard-out'.hs b/corpora/vendored/comment/bracket/comment-beside-a-wildcard-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-beside-a-wildcard-out'.hs
@@ -0,0 +1,19 @@
+{-# LANGUAGE PatternSynonyms #-}
+
+-- A comment written beside the wildcard of an item stays inside its
+-- parentheses.
+module Ledger.Entry
+    ( Entry ({- fields too -} ..)
+    , Side (Debit, {- and the rest -} ..)
+    , total
+    )
+where
+
+import Ledger.Money (Money (.. {- abstract upstream -}), add)
+
+data Entry = Entry{entrySide :: Side, entryAmount :: Money}
+
+data Side = Debit | Credit
+
+total :: [Entry] -> Money
+total = foldr (add . entryAmount) mempty
diff --git a/corpora/vendored/comment/bracket/comment-beside-a-wildcard-out.hs b/corpora/vendored/comment/bracket/comment-beside-a-wildcard-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-beside-a-wildcard-out.hs
@@ -0,0 +1,19 @@
+{-# LANGUAGE PatternSynonyms #-}
+
+-- A comment written beside the wildcard of an item stays inside its
+-- parentheses.
+module Ledger.Entry
+  ( Entry ({- fields too -} ..),
+    Side (Debit, {- and the rest -} ..),
+    total,
+  )
+where
+
+import Ledger.Money (Money (.. {- abstract upstream -}), add)
+
+data Entry = Entry{entrySide :: Side, entryAmount :: Money}
+
+data Side = Debit | Credit
+
+total :: [Entry] -> Money
+total = foldr (add . entryAmount) mempty
diff --git a/corpora/vendored/comment/bracket/comment-beside-a-wildcard.hs b/corpora/vendored/comment/bracket/comment-beside-a-wildcard.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-beside-a-wildcard.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE PatternSynonyms #-}
+
+-- A comment written beside the wildcard of an item stays inside its
+-- parentheses.
+module Ledger.Entry
+  ( Entry({- fields too -}..)
+  , Side(Debit, {- and the rest -} ..)
+  , total
+  ) where
+
+import Ledger.Money (Money(.. {- abstract upstream -}), add)
+
+data Entry = Entry { entrySide :: Side, entryAmount :: Money }
+
+data Side = Debit | Credit
+
+total :: [Entry] -> Money
+total = foldr (add . entryAmount) mempty
diff --git a/corpora/vendored/comment/bracket/comment-in-a-tuple-section-out'.hs b/corpora/vendored/comment/bracket/comment-in-a-tuple-section-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-in-a-tuple-section-out'.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE TupleSections #-}
+
+module Queue.Pairs where
+
+pending = (,Nothing {- yet -})
+
+leftOnly = (Left x, {- the right comes later -})
+
+rightOnly =
+    ( ,Right y
+      -- and the left from the caller
+    )
+
+done = (x, y)
diff --git a/corpora/vendored/comment/bracket/comment-in-a-tuple-section-out.hs b/corpora/vendored/comment/bracket/comment-in-a-tuple-section-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-in-a-tuple-section-out.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE TupleSections #-}
+
+module Queue.Pairs where
+
+pending = (,Nothing {- yet -})
+
+leftOnly = (Left x, {- the right comes later -})
+
+rightOnly =
+  ( ,Right y
+    -- and the left from the caller
+  )
+
+done = (x, y)
diff --git a/corpora/vendored/comment/bracket/comment-in-a-tuple-section.hs b/corpora/vendored/comment/bracket/comment-in-a-tuple-section.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-in-a-tuple-section.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE TupleSections #-}
+
+module Queue.Pairs where
+
+pending = (, Nothing {- yet -})
+
+leftOnly = (Left x, {- the right comes later -} )
+
+rightOnly = (, Right y
+  -- and the left from the caller
+  )
+
+done = (x, y)
diff --git a/corpora/vendored/comment/bracket/comment-in-empty-deriving-brackets-out'.hs b/corpora/vendored/comment/bracket/comment-in-empty-deriving-brackets-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-in-empty-deriving-brackets-out'.hs
@@ -0,0 +1,15 @@
+data Node = Leaf | Branch
+    deriving ({-! CNode !-})
+
+-- * Section
+
+data Edge = Edge
+    deriving ({- nothing yet -})
+
+data Face = Face
+    deriving
+        ( -- room for classes later
+        )
+
+size :: Int
+size = 1
diff --git a/corpora/vendored/comment/bracket/comment-in-empty-deriving-brackets-out.hs b/corpora/vendored/comment/bracket/comment-in-empty-deriving-brackets-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-in-empty-deriving-brackets-out.hs
@@ -0,0 +1,15 @@
+data Node = Leaf | Branch
+  deriving ({-! CNode !-})
+
+-- * Section
+
+data Edge = Edge
+  deriving ({- nothing yet -})
+
+data Face = Face
+  deriving
+    ( -- room for classes later
+    )
+
+size :: Int
+size = 1
diff --git a/corpora/vendored/comment/bracket/comment-in-empty-deriving-brackets.hs b/corpora/vendored/comment/bracket/comment-in-empty-deriving-brackets.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-in-empty-deriving-brackets.hs
@@ -0,0 +1,13 @@
+data Node = Leaf | Branch
+  deriving ({-! CNode !-})
+
+-- * Section
+
+data Edge = Edge
+  deriving ({- nothing yet -})
+
+data Face = Face deriving ( -- room for classes later
+  )
+
+size :: Int
+size = 1
diff --git a/corpora/vendored/comment/bracket/comment-in-empty-parentheses-out'.hs b/corpora/vendored/comment/bracket/comment-in-empty-parentheses-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-in-empty-parentheses-out'.hs
@@ -0,0 +1,26 @@
+{-# LANGUAGE UnboxedTuples #-}
+
+module Kiln.Vent where
+
+open :: Valve -> ({- nothing to report -})
+open valve = vent ({- no pressure -}) valve
+
+close
+    :: Valve
+    -> ( -- nothing to report
+       )
+close _ =
+    ( -- not yet
+    )
+
+purge :: Monad m => ({- done -})
+purge = undefined
+
+vent :: ({- no pressure -}) -> Valve -> ()
+vent ({- no pressure -}) _ = ()
+
+drain :: (# #) -> Int
+drain (# {- nothing to drain -} #) = 0
+
+level :: Int
+level = 1
diff --git a/corpora/vendored/comment/bracket/comment-in-empty-parentheses-out.hs b/corpora/vendored/comment/bracket/comment-in-empty-parentheses-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-in-empty-parentheses-out.hs
@@ -0,0 +1,26 @@
+{-# LANGUAGE UnboxedTuples #-}
+
+module Kiln.Vent where
+
+open :: Valve -> ({- nothing to report -})
+open valve = vent ({- no pressure -}) valve
+
+close ::
+  Valve ->
+  ( -- nothing to report
+  )
+close _ =
+  ( -- not yet
+  )
+
+purge :: Monad m => ({- done -})
+purge = undefined
+
+vent :: ({- no pressure -}) -> Valve -> ()
+vent ({- no pressure -}) _ = ()
+
+drain :: (# #) -> Int
+drain (# {- nothing to drain -} #) = 0
+
+level :: Int
+level = 1
diff --git a/corpora/vendored/comment/bracket/comment-in-empty-parentheses.hs b/corpora/vendored/comment/bracket/comment-in-empty-parentheses.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-in-empty-parentheses.hs
@@ -0,0 +1,23 @@
+{-# LANGUAGE UnboxedTuples #-}
+
+module Kiln.Vent where
+
+open :: Valve -> ( {- nothing to report -} )
+open valve = vent ({- no pressure -}) valve
+
+close :: Valve -> ( -- nothing to report
+  )
+close _ = ( -- not yet
+  )
+
+purge :: (Monad m) => ( {- done -} )
+purge = undefined
+
+vent :: ( {- no pressure -} ) -> Valve -> ()
+vent ( {- no pressure -} ) _ = ()
+
+drain :: (# #) -> Int
+drain (# {- nothing to drain -} #) = 0
+
+level :: Int
+level = 1
diff --git a/corpora/vendored/comment/bracket/comment-in-record-braces-out'.hs b/corpora/vendored/comment/bracket/comment-in-record-braces-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-in-record-braces-out'.hs
@@ -0,0 +1,8 @@
+data Empty = Empty
+    { -- room for fields later
+    }
+
+data One = One
+    { only :: Int
+      -- and nothing else
+    }
diff --git a/corpora/vendored/comment/bracket/comment-in-record-braces-out.hs b/corpora/vendored/comment/bracket/comment-in-record-braces-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-in-record-braces-out.hs
@@ -0,0 +1,8 @@
+data Empty = Empty
+  { -- room for fields later
+  }
+
+data One = One
+  { only :: Int
+    -- and nothing else
+  }
diff --git a/corpora/vendored/comment/bracket/comment-in-record-braces.hs b/corpora/vendored/comment/bracket/comment-in-record-braces.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-in-record-braces.hs
@@ -0,0 +1,7 @@
+data Empty = Empty {
+  -- room for fields later
+  }
+
+data One = One { only :: Int
+  -- and nothing else
+  }
diff --git a/corpora/vendored/comment/bracket/comment-inside-the-brackets-of-a-name-out'.hs b/corpora/vendored/comment/bracket/comment-inside-the-brackets-of-a-name-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-inside-the-brackets-of-a-name-out'.hs
@@ -0,0 +1,43 @@
+{-# LANGUAGE LambdaCase #-}
+
+module Loom.Warp where
+
+infixl 6 |+|
+
+( -- threads side by side
+    |+|)
+    :: Warp -> Warp -> Warp
+( -- the wider one wins
+    |+|)
+    (Warp a)
+    (Warp b) = Warp (max a b)
+
+class Tension a where
+    ( -- tighter is greater
+        >.)
+        :: a -> a -> Bool
+
+instance Tension Warp where
+    ( -- by thread count
+        >.)
+        (Warp a)
+        (Warp b) = a > b
+
+first :: [Warp] -> Maybe Warp
+first = \case
+    [ -- nothing on the loom
+        ] -> Nothing
+    w : _ -> Just w
+
+idle :: () -> Warp
+idle = \case
+    ( -- nothing to weave
+        ) -> Warp 0
+
+spent :: [Warp] -> [Warp]
+spent ws = do
+    _ <- ws
+    [ -- no thread left on the spool
+        ]
+
+newtype Warp = Warp Int
diff --git a/corpora/vendored/comment/bracket/comment-inside-the-brackets-of-a-name-out.hs b/corpora/vendored/comment/bracket/comment-inside-the-brackets-of-a-name-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-inside-the-brackets-of-a-name-out.hs
@@ -0,0 +1,43 @@
+{-# LANGUAGE LambdaCase #-}
+
+module Loom.Warp where
+
+infixl 6 |+|
+
+( -- threads side by side
+  |+|) ::
+  Warp -> Warp -> Warp
+( -- the wider one wins
+  |+|)
+  (Warp a)
+  (Warp b) = Warp (max a b)
+
+class Tension a where
+  ( -- tighter is greater
+    >.) ::
+    a -> a -> Bool
+
+instance Tension Warp where
+  ( -- by thread count
+    >.)
+    (Warp a)
+    (Warp b) = a > b
+
+first :: [Warp] -> Maybe Warp
+first = \case
+  [ -- nothing on the loom
+    ] -> Nothing
+  w : _ -> Just w
+
+idle :: () -> Warp
+idle = \case
+  ( -- nothing to weave
+    ) -> Warp 0
+
+spent :: [Warp] -> [Warp]
+spent ws = do
+  _ <- ws
+  [ -- no thread left on the spool
+    ]
+
+newtype Warp = Warp Int
diff --git a/corpora/vendored/comment/bracket/comment-inside-the-brackets-of-a-name.hs b/corpora/vendored/comment/bracket/comment-inside-the-brackets-of-a-name.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-inside-the-brackets-of-a-name.hs
@@ -0,0 +1,38 @@
+{-# LANGUAGE LambdaCase #-}
+
+module Loom.Warp where
+
+infixl 6 |+|
+
+( -- threads side by side
+ |+|) :: Warp -> Warp -> Warp
+( -- the wider one wins
+ |+|) (Warp a) (Warp b) = Warp (max a b)
+
+class Tension a where
+  (
+    -- tighter is greater
+    >.) :: a -> a -> Bool
+
+instance Tension Warp where
+  ( -- by thread count
+   >.) (Warp a) (Warp b) = a > b
+
+first :: [Warp] -> Maybe Warp
+first = \case
+  [ -- nothing on the loom
+    ] -> Nothing
+  w : _ -> Just w
+
+idle :: () -> Warp
+idle = \case
+  ( -- nothing to weave
+    ) -> Warp 0
+
+spent :: [Warp] -> [Warp]
+spent ws = do
+  _ <- ws
+  [ -- no thread left on the spool
+    ]
+
+newtype Warp = Warp Int
diff --git a/corpora/vendored/comment/bracket/comment-inside-the-brackets-of-a-tuple-constructor-out'.hs b/corpora/vendored/comment/bracket/comment-inside-the-brackets-of-a-tuple-constructor-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-inside-the-brackets-of-a-tuple-constructor-out'.hs
@@ -0,0 +1,19 @@
+{-# LANGUAGE UnboxedSums #-}
+{-# LANGUAGE UnboxedTuples #-}
+
+module Loom.Pair where
+
+pair :: a -> b -> (a, b)
+pair =
+    ( -- warp and weft
+        ,)
+
+triple :: a -> b -> c -> (a, b, c)
+triple = ({- in the order they are threaded -} ,,)
+
+spool :: Int -> Int -> (# Int, Int #)
+spool = (#{- length and width -} ,#)
+
+type Either' = (# {- one of two -} | #)
+
+type Shuttle = ({- from one side to the other -} ->) Int Int
diff --git a/corpora/vendored/comment/bracket/comment-inside-the-brackets-of-a-tuple-constructor-out.hs b/corpora/vendored/comment/bracket/comment-inside-the-brackets-of-a-tuple-constructor-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-inside-the-brackets-of-a-tuple-constructor-out.hs
@@ -0,0 +1,19 @@
+{-# LANGUAGE UnboxedSums #-}
+{-# LANGUAGE UnboxedTuples #-}
+
+module Loom.Pair where
+
+pair :: a -> b -> (a, b)
+pair =
+  ( -- warp and weft
+    ,)
+
+triple :: a -> b -> c -> (a, b, c)
+triple = ({- in the order they are threaded -} ,,)
+
+spool :: Int -> Int -> (# Int, Int #)
+spool = (#{- length and width -} ,#)
+
+type Either' = (# {- one of two -} | #)
+
+type Shuttle = ({- from one side to the other -} ->) Int Int
diff --git a/corpora/vendored/comment/bracket/comment-inside-the-brackets-of-a-tuple-constructor.hs b/corpora/vendored/comment/bracket/comment-inside-the-brackets-of-a-tuple-constructor.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-inside-the-brackets-of-a-tuple-constructor.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE UnboxedSums #-}
+{-# LANGUAGE UnboxedTuples #-}
+
+module Loom.Pair where
+
+pair :: a -> b -> (a, b)
+pair = ( -- warp and weft
+       , )
+
+triple :: a -> b -> c -> (a, b, c)
+triple = ( {- in the order they are threaded -} , , )
+
+spool :: Int -> Int -> (# Int, Int #)
+spool = (# {- length and width -} , #)
+
+type Either' = (# {- one of two -} | #)
+
+type Shuttle = ( {- from one side to the other -} -> ) Int Int
diff --git a/corpora/vendored/comment/bracket/comment-on-record-wildcard-out'.hs b/corpora/vendored/comment/bracket/comment-on-record-wildcard-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-on-record-wildcard-out'.hs
@@ -0,0 +1,28 @@
+{-# LANGUAGE RecordWildCards #-}
+
+wildcardAlone =
+    Shape
+        { .. -- whatever is in scope
+        }
+
+wildcardLast =
+    Shape
+        { name = "circle"
+        , colour = Red
+        , .. -- and the radius comes from above
+        }
+
+wildcardWithARemarkAbove =
+    Shape
+        { name = "square"
+          -- the sides are already bound
+        , .. -- so they need no mention
+        }
+
+wildcardInAPattern Shape{..} = name -- bound by the wildcard
+
+wildcardInAPatternWithFields
+    Shape
+        { name -- named outright
+        , ..
+        } = name
diff --git a/corpora/vendored/comment/bracket/comment-on-record-wildcard-out.hs b/corpora/vendored/comment/bracket/comment-on-record-wildcard-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-on-record-wildcard-out.hs
@@ -0,0 +1,28 @@
+{-# LANGUAGE RecordWildCards #-}
+
+wildcardAlone =
+  Shape
+    { .. -- whatever is in scope
+    }
+
+wildcardLast =
+  Shape
+    { name = "circle",
+      colour = Red,
+      .. -- and the radius comes from above
+    }
+
+wildcardWithARemarkAbove =
+  Shape
+    { name = "square",
+      -- the sides are already bound
+      .. -- so they need no mention
+    }
+
+wildcardInAPattern Shape{..} = name -- bound by the wildcard
+
+wildcardInAPatternWithFields
+  Shape
+    { name, -- named outright
+      ..
+    } = name
diff --git a/corpora/vendored/comment/bracket/comment-on-record-wildcard.hs b/corpora/vendored/comment/bracket/comment-on-record-wildcard.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-on-record-wildcard.hs
@@ -0,0 +1,28 @@
+{-# LANGUAGE RecordWildCards #-}
+
+wildcardAlone =
+  Shape
+    { .. -- whatever is in scope
+    }
+
+wildcardLast =
+  Shape
+    { name = "circle",
+      colour = Red,
+      .. -- and the radius comes from above
+    }
+
+wildcardWithARemarkAbove =
+  Shape
+    { name = "square",
+      -- the sides are already bound
+      .. -- so they need no mention
+    }
+
+wildcardInAPattern Shape {..} = name -- bound by the wildcard
+
+wildcardInAPatternWithFields
+  Shape
+    { name, -- named outright
+      ..
+    } = name
diff --git a/corpora/vendored/comment/bracket/comment-spliced-into-a-line-out'.hs b/corpora/vendored/comment/bracket/comment-spliced-into-a-line-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-spliced-into-a-line-out'.hs
@@ -0,0 +1,7 @@
+module Terminal.Size where
+
+resize d = case d of
+    Size
+        { rows = r
+        , columns = c {-, depth = d-}
+        } -> r + c
diff --git a/corpora/vendored/comment/bracket/comment-spliced-into-a-line-out.hs b/corpora/vendored/comment/bracket/comment-spliced-into-a-line-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-spliced-into-a-line-out.hs
@@ -0,0 +1,7 @@
+module Terminal.Size where
+
+resize d = case d of
+  Size
+    { rows = r,
+      columns = c {-, depth = d-}
+    } -> r + c
diff --git a/corpora/vendored/comment/bracket/comment-spliced-into-a-line.hs b/corpora/vendored/comment/bracket/comment-spliced-into-a-line.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-spliced-into-a-line.hs
@@ -0,0 +1,5 @@
+module Terminal.Size where
+
+resize d = case d of
+  Size{ rows = r, columns = c
+      {-, depth = d-} } -> r + c
diff --git a/corpora/vendored/comment/bracket/comment-under-a-block-comment-before-a-closing-bracket-out'.hs b/corpora/vendored/comment/bracket/comment-under-a-block-comment-before-a-closing-bracket-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-under-a-block-comment-before-a-closing-bracket-out'.hs
@@ -0,0 +1,20 @@
+module Garden.Beds where
+
+perennials =
+    [ sage
+    , thyme {- both kinds -}
+      -- and more next spring
+    ]
+
+annuals =
+    [ basil
+    , dill {- self-seeding -}
+      -- if left alone
+    ]
+
+border =
+    plant
+        ( lavender
+        , rosemary {- by the path -}
+          -- in full sun
+        )
diff --git a/corpora/vendored/comment/bracket/comment-under-a-block-comment-before-a-closing-bracket-out.hs b/corpora/vendored/comment/bracket/comment-under-a-block-comment-before-a-closing-bracket-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-under-a-block-comment-before-a-closing-bracket-out.hs
@@ -0,0 +1,20 @@
+module Garden.Beds where
+
+perennials =
+  [ sage,
+    thyme {- both kinds -}
+    -- and more next spring
+  ]
+
+annuals =
+  [ basil,
+    dill {- self-seeding -}
+    -- if left alone
+  ]
+
+border =
+  plant
+    ( lavender,
+      rosemary {- by the path -}
+      -- in full sun
+    )
diff --git a/corpora/vendored/comment/bracket/comment-under-a-block-comment-before-a-closing-bracket.hs b/corpora/vendored/comment/bracket/comment-under-a-block-comment-before-a-closing-bracket.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-under-a-block-comment-before-a-closing-bracket.hs
@@ -0,0 +1,18 @@
+module Garden.Beds where
+
+perennials =
+  [ sage,
+    thyme {- both kinds -}
+    -- and more next spring
+  ]
+
+annuals =
+  [ basil
+  , dill {- self-seeding -}
+  -- if left alone
+  ]
+
+border = plant
+  ( lavender, rosemary {- by the path -}
+    -- in full sun
+  )
diff --git a/corpora/vendored/comment/bracket/comment-under-a-bracketed-operand-out'.hs b/corpora/vendored/comment/bracket/comment-under-a-bracketed-operand-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-under-a-bracketed-operand-out'.hs
@@ -0,0 +1,26 @@
+-- A comment lined up with a line inside a list or a comprehension that
+-- follows an operator lines up with its brackets.
+module Pottery.Glaze where
+
+oxides :: [String]
+oxides =
+    ["silica"]
+        ++ [ "alumina"
+           , "flux"
+           ]
+           -- in that order
+
+colourants :: [String]
+colourants =
+    ["iron"]
+        <> [ c
+           | c <- ["cobalt", "copper"]
+           ]
+           -- by the gram
+
+opacifiers :: [String]
+opacifiers =
+    [ "tin"
+    , "zircon"
+    ]
+    -- and nothing else
diff --git a/corpora/vendored/comment/bracket/comment-under-a-bracketed-operand-out.hs b/corpora/vendored/comment/bracket/comment-under-a-bracketed-operand-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-under-a-bracketed-operand-out.hs
@@ -0,0 +1,26 @@
+-- A comment lined up with a line inside a list or a comprehension that
+-- follows an operator lines up with its brackets.
+module Pottery.Glaze where
+
+oxides :: [String]
+oxides =
+  ["silica"]
+    ++ [ "alumina",
+         "flux"
+       ]
+       -- in that order
+
+colourants :: [String]
+colourants =
+  ["iron"]
+    <> [ c
+       | c <- ["cobalt", "copper"]
+       ]
+       -- by the gram
+
+opacifiers :: [String]
+opacifiers =
+  [ "tin",
+    "zircon"
+  ]
+  -- and nothing else
diff --git a/corpora/vendored/comment/bracket/comment-under-a-bracketed-operand.hs b/corpora/vendored/comment/bracket/comment-under-a-bracketed-operand.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comment-under-a-bracketed-operand.hs
@@ -0,0 +1,23 @@
+-- A comment lined up with a line inside a list or a comprehension that
+-- follows an operator lines up with its brackets.
+module Pottery.Glaze where
+
+oxides :: [String]
+oxides =
+    ["silica"] ++
+    [ "alumina"
+        , "flux" ]
+        -- in that order
+
+colourants :: [String]
+colourants =
+    ["iron"] <>
+    [c
+        | c <- ["cobalt", "copper"]]
+        -- by the gram
+
+opacifiers :: [String]
+opacifiers =
+    [ "tin"
+        , "zircon" ]
+        -- and nothing else
diff --git a/corpora/vendored/comment/bracket/comments-after-an-item-before-a-leading-comma-out'.hs b/corpora/vendored/comment/bracket/comments-after-an-item-before-a-leading-comma-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comments-after-an-item-before-a-leading-comma-out'.hs
@@ -0,0 +1,6 @@
+module Survey.Tally
+    ( count {- the total -} -- so far
+    , reset {- to zero -}
+    , tally -- by answer
+    )
+where
diff --git a/corpora/vendored/comment/bracket/comments-after-an-item-before-a-leading-comma-out.hs b/corpora/vendored/comment/bracket/comments-after-an-item-before-a-leading-comma-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comments-after-an-item-before-a-leading-comma-out.hs
@@ -0,0 +1,6 @@
+module Survey.Tally
+  ( count, {- the total -} -- so far
+    reset, {- to zero -}
+    tally, -- by answer
+  )
+where
diff --git a/corpora/vendored/comment/bracket/comments-after-an-item-before-a-leading-comma.hs b/corpora/vendored/comment/bracket/comments-after-an-item-before-a-leading-comma.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comments-after-an-item-before-a-leading-comma.hs
@@ -0,0 +1,6 @@
+module Survey.Tally
+  ( count {- the total -} -- so far
+  , reset {- to zero -}
+  , tally -- by answer
+  )
+where
diff --git a/corpora/vendored/comment/bracket/comments-beside-quasi-quotations-in-a-list-out'.hs b/corpora/vendored/comment/bracket/comments-beside-quasi-quotations-in-a-list-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comments-beside-quasi-quotations-in-a-list-out'.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE QuasiQuotes #-}
+
+module Storage.Schema (migrations) where
+
+migrations :: [Query]
+migrations =
+    [ [sql|CREATE TABLE shelf (id serial PRIMARY KEY)|] -- the first release
+      -- labels came with 1.2
+    , [sql|ALTER TABLE shelf ADD label text|]
+    , [sql|ALTER TABLE shelf DROP label|] -- labels have their own table now
+    ]
diff --git a/corpora/vendored/comment/bracket/comments-beside-quasi-quotations-in-a-list-out.hs b/corpora/vendored/comment/bracket/comments-beside-quasi-quotations-in-a-list-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comments-beside-quasi-quotations-in-a-list-out.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE QuasiQuotes #-}
+
+module Storage.Schema (migrations) where
+
+migrations :: [Query]
+migrations =
+  [ [sql|CREATE TABLE shelf (id serial PRIMARY KEY)|], -- the first release
+    -- labels came with 1.2
+    [sql|ALTER TABLE shelf ADD label text|],
+    [sql|ALTER TABLE shelf DROP label|] -- labels have their own table now
+  ]
diff --git a/corpora/vendored/comment/bracket/comments-beside-quasi-quotations-in-a-list.hs b/corpora/vendored/comment/bracket/comments-beside-quasi-quotations-in-a-list.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comments-beside-quasi-quotations-in-a-list.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE QuasiQuotes #-}
+
+module Storage.Schema (migrations) where
+
+migrations :: [Query]
+migrations =
+  [ [sql|CREATE TABLE shelf (id serial PRIMARY KEY)|], -- the first release
+    -- labels came with 1.2
+    [sql|ALTER TABLE shelf ADD label text|],
+    [sql|ALTER TABLE shelf DROP label|] -- labels have their own table now
+  ]
diff --git a/corpora/vendored/comment/bracket/comments-between-items-led-by-commas-out'.hs b/corpora/vendored/comment/bracket/comments-between-items-led-by-commas-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comments-between-items-led-by-commas-out'.hs
@@ -0,0 +1,29 @@
+module Ledger
+    ( open
+      -- Kept for the old journal format.
+
+    , close
+      -- Right above the next one.
+    , record
+      -- After a comma.
+    , reopen
+    )
+where
+
+data Entry = Credit | Debit | Fee | Refund | Void
+
+open, close, record, reopen :: [Entry]
+open =
+    [ Credit
+      -- Kept for the old journal format.
+
+    , Debit
+      -- Right above the next one.
+    , Fee
+      -- After a comma.
+    , Refund
+    , {- in place -} Void
+    ]
+close = open
+record = open
+reopen = open
diff --git a/corpora/vendored/comment/bracket/comments-between-items-led-by-commas-out.hs b/corpora/vendored/comment/bracket/comments-between-items-led-by-commas-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comments-between-items-led-by-commas-out.hs
@@ -0,0 +1,29 @@
+module Ledger
+  ( open,
+    -- Kept for the old journal format.
+
+    close,
+    -- Right above the next one.
+    record,
+    -- After a comma.
+    reopen,
+  )
+where
+
+data Entry = Credit | Debit | Fee | Refund | Void
+
+open, close, record, reopen :: [Entry]
+open =
+  [ Credit,
+    -- Kept for the old journal format.
+
+    Debit,
+    -- Right above the next one.
+    Fee,
+    -- After a comma.
+    Refund,
+    {- in place -} Void
+  ]
+close = open
+record = open
+reopen = open
diff --git a/corpora/vendored/comment/bracket/comments-between-items-led-by-commas.hs b/corpora/vendored/comment/bracket/comments-between-items-led-by-commas.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/comments-between-items-led-by-commas.hs
@@ -0,0 +1,29 @@
+module Ledger
+  ( open
+  -- Kept for the old journal format.
+
+  , close
+  -- Right above the next one.
+  , record
+  , -- After a comma.
+    reopen
+  )
+where
+
+data Entry = Credit | Debit | Fee | Refund | Void
+
+open, close, record, reopen :: [Entry]
+open =
+  [ Credit
+  -- Kept for the old journal format.
+
+  , Debit
+  -- Right above the next one.
+  , Fee
+  , -- After a comma.
+    Refund
+  , {- in place -} Void
+  ]
+close = open
+record = open
+reopen = open
diff --git a/corpora/vendored/comment/bracket/line-comment-in-an-empty-list-out'.hs b/corpora/vendored/comment/bracket/line-comment-in-an-empty-list-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/line-comment-in-an-empty-list-out'.hs
@@ -0,0 +1,11 @@
+module Check.Registry where
+
+pendingChecks :: [Check]
+pendingChecks =
+    [ -- none yet
+    ]
+
+laterChecks :: [Check]
+laterChecks =
+    [ -- filled in by the next release
+    ]
diff --git a/corpora/vendored/comment/bracket/line-comment-in-an-empty-list-out.hs b/corpora/vendored/comment/bracket/line-comment-in-an-empty-list-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/line-comment-in-an-empty-list-out.hs
@@ -0,0 +1,11 @@
+module Check.Registry where
+
+pendingChecks :: [Check]
+pendingChecks =
+  [ -- none yet
+  ]
+
+laterChecks :: [Check]
+laterChecks =
+  [ -- filled in by the next release
+  ]
diff --git a/corpora/vendored/comment/bracket/line-comment-in-an-empty-list.hs b/corpora/vendored/comment/bracket/line-comment-in-an-empty-list.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/line-comment-in-an-empty-list.hs
@@ -0,0 +1,10 @@
+module Check.Registry where
+
+pendingChecks :: [Check]
+pendingChecks = [
+    -- none yet
+  ]
+
+laterChecks :: [Check]
+laterChecks = [ -- filled in by the next release
+  ]
diff --git a/corpora/vendored/comment/bracket/trailing-comment-with-a-gap-under-it-out'.hs b/corpora/vendored/comment/bracket/trailing-comment-with-a-gap-under-it-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/trailing-comment-with-a-gap-under-it-out'.hs
@@ -0,0 +1,9 @@
+module Cache.Probe where
+
+probe :: [Int]
+probe =
+    [ -- the first of these is the one that regressed
+
+      1
+    , 2
+    ]
diff --git a/corpora/vendored/comment/bracket/trailing-comment-with-a-gap-under-it-out.hs b/corpora/vendored/comment/bracket/trailing-comment-with-a-gap-under-it-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/trailing-comment-with-a-gap-under-it-out.hs
@@ -0,0 +1,9 @@
+module Cache.Probe where
+
+probe :: [Int]
+probe =
+  [ -- the first of these is the one that regressed
+
+    1,
+    2
+  ]
diff --git a/corpora/vendored/comment/bracket/trailing-comment-with-a-gap-under-it.hs b/corpora/vendored/comment/bracket/trailing-comment-with-a-gap-under-it.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/bracket/trailing-comment-with-a-gap-under-it.hs
@@ -0,0 +1,9 @@
+module Cache.Probe where
+
+probe :: [Int]
+probe =
+  [ -- the first of these is the one that regressed
+
+    1
+  , 2
+  ]
diff --git a/corpora/vendored/comment/declaration/comment-above-a-binding-of-several-names-out.hs b/corpora/vendored/comment/declaration/comment-above-a-binding-of-several-names-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comment-above-a-binding-of-several-names-out.hs
@@ -0,0 +1,9 @@
+module Garden.Beds where
+
+-- Both take the width of a bed in centimetres.
+sow, weed :: Int -> Int
+sow width = width `div` 10
+weed width = width `div` 30
+
+-- Taken apart once, at the top level.
+whole@(rows, columns) = (4, 12)
diff --git a/corpora/vendored/comment/declaration/comment-above-a-binding-of-several-names.hs b/corpora/vendored/comment/declaration/comment-above-a-binding-of-several-names.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comment-above-a-binding-of-several-names.hs
@@ -0,0 +1,9 @@
+module Garden.Beds where
+
+-- Both take the width of a bed in centimetres.
+sow, weed :: Int -> Int
+sow width = width `div` 10
+weed width = width `div` 30
+
+-- Taken apart once, at the top level.
+whole@(rows, columns) = (4, 12)
diff --git a/corpora/vendored/comment/declaration/comment-above-a-member-out'.hs b/corpora/vendored/comment/declaration/comment-above-a-member-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comment-above-a-member-out'.hs
@@ -0,0 +1,24 @@
+module Terminal.Grid where
+
+instance Applicative Grid where
+    pure = Grid . repeat
+    -- applied cell by cell
+    Grid fs <*> Grid xs = Grid (zipWith ($) fs xs)
+
+instance Monad Parser where
+    return = pure
+    {- the first version:
+    p >>= f = Parser (\s -> undefined)
+    -}
+    p >>= f = Parser (\s -> runParser p s >>= \(a, s') -> runParser (f a) s')
+
+    -- set apart as written
+    (>>) = (*>)
+
+class Cell a where
+    blank :: a
+    -- the one shown for a cell nothing was put in
+    placeholder :: a
+
+    -- | How wide it is.
+    width :: a -> Int
diff --git a/corpora/vendored/comment/declaration/comment-above-a-member-out.hs b/corpora/vendored/comment/declaration/comment-above-a-member-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comment-above-a-member-out.hs
@@ -0,0 +1,24 @@
+module Terminal.Grid where
+
+instance Applicative Grid where
+  pure = Grid . repeat
+  -- applied cell by cell
+  Grid fs <*> Grid xs = Grid (zipWith ($) fs xs)
+
+instance Monad Parser where
+  return = pure
+  {- the first version:
+  p >>= f = Parser (\s -> undefined)
+  -}
+  p >>= f = Parser (\s -> runParser p s >>= \(a, s') -> runParser (f a) s')
+
+  -- set apart as written
+  (>>) = (*>)
+
+class Cell a where
+  blank :: a
+  -- the one shown for a cell nothing was put in
+  placeholder :: a
+
+  -- | How wide it is.
+  width :: a -> Int
diff --git a/corpora/vendored/comment/declaration/comment-above-a-member.hs b/corpora/vendored/comment/declaration/comment-above-a-member.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comment-above-a-member.hs
@@ -0,0 +1,23 @@
+module Terminal.Grid where
+
+instance Applicative Grid where
+  pure = Grid . repeat
+  -- applied cell by cell
+  Grid fs <*> Grid xs = Grid (zipWith ($) fs xs)
+
+instance Monad Parser where
+  return = pure
+  {- the first version:
+  p >>= f = Parser (\s -> undefined)
+  -}
+  p >>= f = Parser (\s -> runParser p s >>= \(a, s') -> runParser (f a) s')
+
+  -- set apart as written
+  (>>) = (*>)
+
+class Cell a where
+  blank :: a
+  -- the one shown for a cell nothing was put in
+  placeholder :: a
+  -- | How wide it is.
+  width :: a -> Int
diff --git a/corpora/vendored/comment/declaration/comment-after-a-bar-ending-a-line-out'.hs b/corpora/vendored/comment/declaration/comment-after-a-bar-ending-a-line-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comment-after-a-bar-ending-a-line-out'.hs
@@ -0,0 +1,14 @@
+module Ledger.Entry where
+
+-- A comment after a bar that ends its line stays on that line.
+data Entry
+    = Debit Int -- money out
+    | Credit Int -- money in
+    | Transfer Int Int
+
+-- A comment after a bar that begins its line stays after the bar.
+data Account
+    = Cash
+    | -- held at the bank
+      Bank
+    | Card
diff --git a/corpora/vendored/comment/declaration/comment-after-a-bar-ending-a-line-out.hs b/corpora/vendored/comment/declaration/comment-after-a-bar-ending-a-line-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comment-after-a-bar-ending-a-line-out.hs
@@ -0,0 +1,14 @@
+module Ledger.Entry where
+
+-- A comment after a bar that ends its line stays on that line.
+data Entry
+  = Debit Int -- money out
+  | Credit Int -- money in
+  | Transfer Int Int
+
+-- A comment after a bar that begins its line stays after the bar.
+data Account
+  = Cash
+  | -- held at the bank
+    Bank
+  | Card
diff --git a/corpora/vendored/comment/declaration/comment-after-a-bar-ending-a-line.hs b/corpora/vendored/comment/declaration/comment-after-a-bar-ending-a-line.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comment-after-a-bar-ending-a-line.hs
@@ -0,0 +1,13 @@
+module Ledger.Entry where
+
+-- A comment after a bar that ends its line stays on that line.
+data Entry = Debit Int | -- money out
+             Credit Int | -- money in
+             Transfer Int Int
+
+-- A comment after a bar that begins its line stays after the bar.
+data Account
+  = Cash
+  | -- held at the bank
+    Bank
+  | Card
diff --git a/corpora/vendored/comment/declaration/comment-after-a-keyword-that-begins-a-declaration-out'.hs b/corpora/vendored/comment/declaration/comment-after-a-keyword-that-begins-a-declaration-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comment-after-a-keyword-that-begins-a-declaration-out'.hs
@@ -0,0 +1,53 @@
+{-# LANGUAGE LinearTypes #-}
+{-# LANGUAGE NamedDefaults #-}
+{-# LANGUAGE PatternSynonyms #-}
+
+module Loom.Shuttle where
+
+import Data.String (IsString (..))
+
+pattern Empty -- the empty bobbin
+    :: Bobbin
+pattern Empty = Bobbin 0 -- one turn
+
+pattern
+    -- a full bobbin
+    Full
+    :: Bobbin
+pattern
+    -- as many turns as it holds
+    Full = Bobbin 64
+
+default IsString -- threads are named by strings
+    ( String
+    )
+
+class Wound a where
+    turns :: a -> Int
+    default turns -- counted one at a time
+        :: Show a => a -> Int
+    turns = length . show
+
+foreign import ccall "spin" -- the motor
+    spin :: Int -> IO ()
+
+foreign export ccall -- reported to the controller
+    reel :: Int -> IO ()
+
+foreign import
+    -- blocks until the shuttle stops
+    ccall unsafe "halt"
+    halt :: IO ()
+
+reel :: Int -> IO ()
+reel = spin
+
+wind :: Int %1 -> Int
+wind n =
+    let %1 m = n -- moved, not copied
+     in m
+{-# INLINE -- small enough
+    wind
+    #-}
+
+newtype Bobbin = Bobbin Int
diff --git a/corpora/vendored/comment/declaration/comment-after-a-keyword-that-begins-a-declaration-out.hs b/corpora/vendored/comment/declaration/comment-after-a-keyword-that-begins-a-declaration-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comment-after-a-keyword-that-begins-a-declaration-out.hs
@@ -0,0 +1,53 @@
+{-# LANGUAGE LinearTypes #-}
+{-# LANGUAGE NamedDefaults #-}
+{-# LANGUAGE PatternSynonyms #-}
+
+module Loom.Shuttle where
+
+import Data.String (IsString (..))
+
+pattern Empty :: -- the empty bobbin
+  Bobbin
+pattern Empty = Bobbin 0 -- one turn
+
+pattern
+  -- a full bobbin
+  Full ::
+  Bobbin
+pattern
+  -- as many turns as it holds
+  Full = Bobbin 64
+
+default IsString -- threads are named by strings
+  ( String
+  )
+
+class Wound a where
+  turns :: a -> Int
+  default turns :: -- counted one at a time
+    Show a => a -> Int
+  turns = length . show
+
+foreign import ccall "spin" -- the motor
+  spin :: Int -> IO ()
+
+foreign export ccall -- reported to the controller
+  reel :: Int -> IO ()
+
+foreign import
+  -- blocks until the shuttle stops
+  ccall unsafe "halt"
+  halt :: IO ()
+
+reel :: Int -> IO ()
+reel = spin
+
+wind :: Int %1 -> Int
+wind n =
+  let %1 m = n -- moved, not copied
+   in m
+{-# INLINE -- small enough
+  wind
+  #-}
+
+newtype Bobbin = Bobbin Int
diff --git a/corpora/vendored/comment/declaration/comment-after-a-keyword-that-begins-a-declaration.hs b/corpora/vendored/comment/declaration/comment-after-a-keyword-that-begins-a-declaration.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comment-after-a-keyword-that-begins-a-declaration.hs
@@ -0,0 +1,50 @@
+{-# LANGUAGE LinearTypes #-}
+{-# LANGUAGE NamedDefaults #-}
+{-# LANGUAGE PatternSynonyms #-}
+
+module Loom.Shuttle where
+
+import Data.String (IsString (..))
+
+pattern -- the empty bobbin
+  Empty :: Bobbin
+pattern -- one turn
+  Empty = Bobbin 0
+
+pattern
+  -- a full bobbin
+  Full :: Bobbin
+pattern
+  -- as many turns as it holds
+  Full = Bobbin 64
+
+default -- threads are named by strings
+  IsString (String)
+
+class Wound a where
+  turns :: a -> Int
+  default -- counted one at a time
+    turns :: (Show a) => a -> Int
+  turns = length . show
+
+foreign import -- the motor
+  ccall "spin" spin :: Int -> IO ()
+
+foreign -- reported to the controller
+  export ccall reel :: Int -> IO ()
+
+foreign import
+  -- blocks until the shuttle stops
+  ccall unsafe "halt" halt :: IO ()
+
+reel :: Int -> IO ()
+reel = spin
+
+wind :: Int %1 -> Int
+wind n = let %1 -- moved, not copied
+                m = n in m
+
+{-# INLINE -- small enough
+  wind #-}
+
+newtype Bobbin = Bobbin Int
diff --git a/corpora/vendored/comment/declaration/comment-after-the-where-of-a-declaration-out'.hs b/corpora/vendored/comment/declaration/comment-after-the-where-of-a-declaration-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comment-after-the-where-of-a-declaration-out'.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE GADTs #-}
+
+module Garden.Crop where
+
+data Crop a where -- one constructor per kind of bed
+    Root :: Int -> Crop Int
+    Leaf :: String -> Crop String
+
+class Plantable a where -- seeds and cuttings alike
+    depth :: a -> Int
+
+instance Plantable Int where -- in millimetres
+    depth = id
diff --git a/corpora/vendored/comment/declaration/comment-after-the-where-of-a-declaration-out.hs b/corpora/vendored/comment/declaration/comment-after-the-where-of-a-declaration-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comment-after-the-where-of-a-declaration-out.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE GADTs #-}
+
+module Garden.Crop where
+
+data Crop a where -- one constructor per kind of bed
+  Root :: Int -> Crop Int
+  Leaf :: String -> Crop String
+
+class Plantable a where -- seeds and cuttings alike
+  depth :: a -> Int
+
+instance Plantable Int where -- in millimetres
+  depth = id
diff --git a/corpora/vendored/comment/declaration/comment-after-the-where-of-a-declaration.hs b/corpora/vendored/comment/declaration/comment-after-the-where-of-a-declaration.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comment-after-the-where-of-a-declaration.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE GADTs #-}
+
+module Garden.Crop where
+
+data Crop a where -- one constructor per kind of bed
+  Root :: Int -> Crop Int
+  Leaf :: String -> Crop String
+
+class Plantable a where -- seeds and cuttings alike
+  depth :: a -> Int
+
+instance Plantable Int where -- in millimetres
+  depth = id
diff --git a/corpora/vendored/comment/declaration/comment-around-a-strict-field-out'.hs b/corpora/vendored/comment/declaration/comment-around-a-strict-field-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comment-around-a-strict-field-out'.hs
@@ -0,0 +1,16 @@
+-- A comment lined up with the type of a strict or lazy field stays lined up
+-- with it, and one written above a field's pragma stays above the pragma.
+module Kiln.Load where
+
+data Load
+    = Shelves
+        !Int
+         -- counted from the floor up
+        ~Int
+         -- left alone until the kiln is stacked
+        Int
+    | Posts
+        -- one per corner
+        {-# UNPACK #-} !Int
+        !Int
+         -- the last of them
diff --git a/corpora/vendored/comment/declaration/comment-around-a-strict-field-out.hs b/corpora/vendored/comment/declaration/comment-around-a-strict-field-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comment-around-a-strict-field-out.hs
@@ -0,0 +1,16 @@
+-- A comment lined up with the type of a strict or lazy field stays lined up
+-- with it, and one written above a field's pragma stays above the pragma.
+module Kiln.Load where
+
+data Load
+  = Shelves
+      !Int
+       -- counted from the floor up
+      ~Int
+       -- left alone until the kiln is stacked
+      Int
+  | Posts
+      -- one per corner
+      {-# UNPACK #-} !Int
+      !Int
+       -- the last of them
diff --git a/corpora/vendored/comment/declaration/comment-around-a-strict-field.hs b/corpora/vendored/comment/declaration/comment-around-a-strict-field.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comment-around-a-strict-field.hs
@@ -0,0 +1,16 @@
+-- A comment lined up with the type of a strict or lazy field stays lined up
+-- with it, and one written above a field's pragma stays above the pragma.
+module Kiln.Load where
+
+data Load
+  = Shelves
+      !Int
+       -- counted from the floor up
+      ~Int
+       -- left alone until the kiln is stacked
+      Int
+  | Posts
+      -- one per corner
+      {-# UNPACK #-} !Int
+      !Int
+       -- the last of them
diff --git a/corpora/vendored/comment/declaration/comment-at-the-column-after-a-closing-bracket-out'.hs b/corpora/vendored/comment/declaration/comment-at-the-column-after-a-closing-bracket-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comment-at-the-column-after-a-closing-bracket-out'.hs
@@ -0,0 +1,19 @@
+module Loom.Warp where
+
+warpThreads :: Int
+warpThreads = (count 1)
+-- leaves out the selvedge
+
+weftThreads :: [Int]
+weftThreads = [count 2]
+-- the same in a list
+
+shedHeight :: Int
+shedHeight =
+    lift
+        treadle
+        (count 3)
+-- and in the last argument
+
+reedDents :: Int
+reedDents = 12
diff --git a/corpora/vendored/comment/declaration/comment-at-the-column-after-a-closing-bracket-out.hs b/corpora/vendored/comment/declaration/comment-at-the-column-after-a-closing-bracket-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comment-at-the-column-after-a-closing-bracket-out.hs
@@ -0,0 +1,19 @@
+module Loom.Warp where
+
+warpThreads :: Int
+warpThreads = (count 1)
+-- leaves out the selvedge
+
+weftThreads :: [Int]
+weftThreads = [count 2]
+-- the same in a list
+
+shedHeight :: Int
+shedHeight =
+  lift
+    treadle
+    (count 3)
+-- and in the last argument
+
+reedDents :: Int
+reedDents = 12
diff --git a/corpora/vendored/comment/declaration/comment-at-the-column-after-a-closing-bracket.hs b/corpora/vendored/comment/declaration/comment-at-the-column-after-a-closing-bracket.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comment-at-the-column-after-a-closing-bracket.hs
@@ -0,0 +1,19 @@
+module Loom.Warp where
+
+warpThreads :: Int
+warpThreads = (count 1)
+                       -- leaves out the selvedge
+
+weftThreads :: [Int]
+weftThreads = [count 2]
+                       -- the same in a list
+
+shedHeight :: Int
+shedHeight =
+  lift
+    treadle
+    (count 3)
+             -- and in the last argument
+
+reedDents :: Int
+reedDents = 12
diff --git a/corpora/vendored/comment/declaration/comment-between-a-type-synonym-and-its-name-out'.hs b/corpora/vendored/comment/declaration/comment-between-a-type-synonym-and-its-name-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comment-between-a-type-synonym-and-its-name-out'.hs
@@ -0,0 +1,8 @@
+module Shelf.Crate where
+
+type -- of anything
+    Crate item = [item]
+
+type
+    -- at most one
+    Box item = Maybe item
diff --git a/corpora/vendored/comment/declaration/comment-between-a-type-synonym-and-its-name-out.hs b/corpora/vendored/comment/declaration/comment-between-a-type-synonym-and-its-name-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comment-between-a-type-synonym-and-its-name-out.hs
@@ -0,0 +1,8 @@
+module Shelf.Crate where
+
+type -- of anything
+  Crate item = [item]
+
+type
+  -- at most one
+  Box item = Maybe item
diff --git a/corpora/vendored/comment/declaration/comment-between-a-type-synonym-and-its-name.hs b/corpora/vendored/comment/declaration/comment-between-a-type-synonym-and-its-name.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comment-between-a-type-synonym-and-its-name.hs
@@ -0,0 +1,8 @@
+module Shelf.Crate where
+
+type -- of anything
+  Crate item = [item]
+
+type
+  -- at most one
+  Box item = Maybe item
diff --git a/corpora/vendored/comment/declaration/comment-between-constructors-out'.hs b/corpora/vendored/comment/declaration/comment-between-constructors-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comment-between-constructors-out'.hs
@@ -0,0 +1,28 @@
+module Kiln.Glaze where
+
+-- A comment between constructors keeps the empty lines the author left
+-- around it, but for one above it when it joins the line of a bar.
+data Finish
+    = Matte
+    | -- Dry to the touch.
+
+      Satin
+    | -- Somewhere between the two.
+
+      Gloss
+
+-- A Haddock belongs to its constructor, and no empty line goes around it.
+data Kiln
+    = Electric
+    | -- | Fired with gas, for reduction.
+      Gas
+    | Wood
+
+-- The same between the constructors of a GADT.
+data Firing a where
+    Bisque :: Firing ()
+    -- The first firing, unglazed.
+
+    Glaze :: Firing Finish
+    -- | Fired once more, low.
+    Luster :: Firing Finish
diff --git a/corpora/vendored/comment/declaration/comment-between-constructors-out.hs b/corpora/vendored/comment/declaration/comment-between-constructors-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comment-between-constructors-out.hs
@@ -0,0 +1,28 @@
+module Kiln.Glaze where
+
+-- A comment between constructors keeps the empty lines the author left
+-- around it, but for one above it when it joins the line of a bar.
+data Finish
+  = Matte
+  | -- Dry to the touch.
+
+    Satin
+  | -- Somewhere between the two.
+
+    Gloss
+
+-- A Haddock belongs to its constructor, and no empty line goes around it.
+data Kiln
+  = Electric
+  | -- | Fired with gas, for reduction.
+    Gas
+  | Wood
+
+-- The same between the constructors of a GADT.
+data Firing a where
+  Bisque :: Firing ()
+  -- The first firing, unglazed.
+
+  Glaze :: Firing Finish
+  -- | Fired once more, low.
+  Luster :: Firing Finish
diff --git a/corpora/vendored/comment/declaration/comment-between-constructors.hs b/corpora/vendored/comment/declaration/comment-between-constructors.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comment-between-constructors.hs
@@ -0,0 +1,33 @@
+module Kiln.Glaze where
+
+-- A comment between constructors keeps the empty lines the author left
+-- around it, but for one above it when it joins the line of a bar.
+data Finish
+  = Matte
+  -- Dry to the touch.
+
+  | Satin
+
+  -- Somewhere between the two.
+
+  | Gloss
+
+-- A Haddock belongs to its constructor, and no empty line goes around it.
+data Kiln
+  = Electric
+
+  -- | Fired with gas, for reduction.
+
+  | Gas
+  | Wood
+
+-- The same between the constructors of a GADT.
+data Firing a where
+  Bisque :: Firing ()
+  -- The first firing, unglazed.
+
+  Glaze :: Firing Finish
+
+  -- | Fired once more, low.
+
+  Luster :: Firing Finish
diff --git a/corpora/vendored/comment/declaration/comment-paragraph-trailing-the-module-out.hs b/corpora/vendored/comment/declaration/comment-paragraph-trailing-the-module-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comment-paragraph-trailing-the-module-out.hs
@@ -0,0 +1,12 @@
+module Kiln.Firing where
+
+holdFor :: Int -> Int -> Int
+holdFor minutes degrees = minutes * degrees
+
+-- The lines of this paragraph belong to one another, and the lexer hands
+-- each of them over on its own. An empty line written over every one would
+-- take the paragraph apart and set out each line as a remark of its own.
+
+-- A second paragraph, which the empty line above it does set apart. The
+-- spacing between the two is the author's, and so is the lack of it within
+-- either.
diff --git a/corpora/vendored/comment/declaration/comment-paragraph-trailing-the-module.hs b/corpora/vendored/comment/declaration/comment-paragraph-trailing-the-module.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comment-paragraph-trailing-the-module.hs
@@ -0,0 +1,12 @@
+module Kiln.Firing where
+
+holdFor :: Int -> Int -> Int
+holdFor minutes degrees = minutes * degrees
+
+-- The lines of this paragraph belong to one another, and the lexer hands
+-- each of them over on its own. An empty line written over every one would
+-- take the paragraph apart and set out each line as a remark of its own.
+
+-- A second paragraph, which the empty line above it does set apart. The
+-- spacing between the two is the author's, and so is the lack of it within
+-- either.
diff --git a/corpora/vendored/comment/declaration/comment-right-under-a-declaration-with-no-module-line-out'.hs b/corpora/vendored/comment/declaration/comment-right-under-a-declaration-with-no-module-line-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comment-right-under-a-declaration-with-no-module-line-out'.hs
@@ -0,0 +1,6 @@
+harvest =
+    gather
+        ( carrots
+        , beans
+        )
+-- Only two rows are ready.
diff --git a/corpora/vendored/comment/declaration/comment-right-under-a-declaration-with-no-module-line-out.hs b/corpora/vendored/comment/declaration/comment-right-under-a-declaration-with-no-module-line-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comment-right-under-a-declaration-with-no-module-line-out.hs
@@ -0,0 +1,6 @@
+harvest =
+  gather
+    ( carrots,
+      beans
+    )
+-- Only two rows are ready.
diff --git a/corpora/vendored/comment/declaration/comment-right-under-a-declaration-with-no-module-line.hs b/corpora/vendored/comment/declaration/comment-right-under-a-declaration-with-no-module-line.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comment-right-under-a-declaration-with-no-module-line.hs
@@ -0,0 +1,5 @@
+harvest = gather
+  ( carrots
+  , beans
+  )
+-- Only two rows are ready.
diff --git a/corpora/vendored/comment/declaration/comment-right-under-the-last-declaration-out.hs b/corpora/vendored/comment/declaration/comment-right-under-the-last-declaration-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comment-right-under-the-last-declaration-out.hs
@@ -0,0 +1,5 @@
+module Kiln.Glaze where
+
+celadon :: String
+celadon = "green"
+-- A comment written right under the last declaration stays right under it.
diff --git a/corpora/vendored/comment/declaration/comment-right-under-the-last-declaration.hs b/corpora/vendored/comment/declaration/comment-right-under-the-last-declaration.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comment-right-under-the-last-declaration.hs
@@ -0,0 +1,5 @@
+module Kiln.Glaze where
+
+celadon :: String
+celadon = "green"
+-- A comment written right under the last declaration stays right under it.
diff --git a/corpora/vendored/comment/declaration/comment-under-a-constructor-before-a-bar-out'.hs b/corpora/vendored/comment/declaration/comment-under-a-constructor-before-a-bar-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comment-under-a-constructor-before-a-bar-out'.hs
@@ -0,0 +1,23 @@
+-- A comment lined up with the last line of a constructor, rather than with
+-- the bar under it, stays with that constructor.
+module Kiln.Shelf where
+
+data Shelf
+    = Corner
+        Int
+        -- posts at each end
+    | Half
+      -- lined up with the constructor itself
+    | Full
+        Int
+        Int
+        -- one post in the middle as well
+
+    | -- | A shelf cut to fit.
+      Bat
+        { width :: Int
+        , depth :: Int
+        }
+        -- measured on the kiln floor
+    | Broken
+    deriving (Show)
diff --git a/corpora/vendored/comment/declaration/comment-under-a-constructor-before-a-bar-out.hs b/corpora/vendored/comment/declaration/comment-under-a-constructor-before-a-bar-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comment-under-a-constructor-before-a-bar-out.hs
@@ -0,0 +1,23 @@
+-- A comment lined up with the last line of a constructor, rather than with
+-- the bar under it, stays with that constructor.
+module Kiln.Shelf where
+
+data Shelf
+  = Corner
+      Int
+      -- posts at each end
+  | Half
+    -- lined up with the constructor itself
+  | Full
+      Int
+      Int
+      -- one post in the middle as well
+
+  | -- | A shelf cut to fit.
+    Bat
+      { width :: Int,
+        depth :: Int
+      }
+      -- measured on the kiln floor
+  | Broken
+  deriving (Show)
diff --git a/corpora/vendored/comment/declaration/comment-under-a-constructor-before-a-bar.hs b/corpora/vendored/comment/declaration/comment-under-a-constructor-before-a-bar.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comment-under-a-constructor-before-a-bar.hs
@@ -0,0 +1,23 @@
+-- A comment lined up with the last line of a constructor, rather than with
+-- the bar under it, stays with that constructor.
+module Kiln.Shelf where
+
+data Shelf
+  = Corner
+      Int
+      -- posts at each end
+  | Half
+    -- lined up with the constructor itself
+  | Full
+      Int
+      Int
+      -- one post in the middle as well
+
+    -- | A shelf cut to fit.
+  | Bat
+      { width :: Int
+      , depth :: Int
+      }
+      -- measured on the kiln floor
+  | Broken
+  deriving (Show)
diff --git a/corpora/vendored/comment/declaration/comment-under-a-declaration-out'.hs b/corpora/vendored/comment/declaration/comment-under-a-declaration-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comment-under-a-declaration-out'.hs
@@ -0,0 +1,63 @@
+-- A comment written right under a declaration, with an empty line after
+-- it, is a remark on that declaration and stays with it.
+module Kiln.Firing where
+
+firingTemperature :: Int
+firingTemperature = 1280
+-- Cone 10, for stoneware.
+
+coolingRate :: Int
+coolingRate = 100
+-- Per hour, down to 600.
+
+-- Then left to cool on its own.
+soakMinutes :: Int
+soakMinutes = 30
+
+-- The same in a class and in an instance.
+class Glazed a where
+    glaze :: a -> String
+    -- Applied before the bisque firing.
+
+    coats :: a -> Int
+
+instance Glazed Int where
+    glaze _ = "celadon"
+    -- Thin, so that it pools in the carving.
+
+    coats _ = 2
+
+-- After a trailing comment as well.
+shelves :: Int
+shelves = 4 -- of silicon carbide
+-- Kiln wash on the top side only.
+
+posts :: Int
+posts = 12
+
+-- Between braces on one line as well.
+glazeFiring :: Int
+glazeFiring = 1220
+{- Cone 6, for porcelain. -}
+
+bisqueFiring :: Int
+bisqueFiring = 1000
+
+-- With no empty line under it, a comment is about what follows, and the
+-- empty line around a declaration over several lines goes above it.
+cones :: Int
+cones =
+    3
+
+-- Witness cones, one per shelf.
+coneHeight :: Int
+coneHeight = 2
+
+-- An empty line inside a block comment is no empty line between them.
+reduction :: Bool
+reduction = True
+{- Reduction starts at cone 010,
+
+   and ends with the firing. -}
+oxidation :: Bool
+oxidation = False
diff --git a/corpora/vendored/comment/declaration/comment-under-a-declaration-out.hs b/corpora/vendored/comment/declaration/comment-under-a-declaration-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comment-under-a-declaration-out.hs
@@ -0,0 +1,63 @@
+-- A comment written right under a declaration, with an empty line after
+-- it, is a remark on that declaration and stays with it.
+module Kiln.Firing where
+
+firingTemperature :: Int
+firingTemperature = 1280
+-- Cone 10, for stoneware.
+
+coolingRate :: Int
+coolingRate = 100
+-- Per hour, down to 600.
+
+-- Then left to cool on its own.
+soakMinutes :: Int
+soakMinutes = 30
+
+-- The same in a class and in an instance.
+class Glazed a where
+  glaze :: a -> String
+  -- Applied before the bisque firing.
+
+  coats :: a -> Int
+
+instance Glazed Int where
+  glaze _ = "celadon"
+  -- Thin, so that it pools in the carving.
+
+  coats _ = 2
+
+-- After a trailing comment as well.
+shelves :: Int
+shelves = 4 -- of silicon carbide
+-- Kiln wash on the top side only.
+
+posts :: Int
+posts = 12
+
+-- Between braces on one line as well.
+glazeFiring :: Int
+glazeFiring = 1220
+{- Cone 6, for porcelain. -}
+
+bisqueFiring :: Int
+bisqueFiring = 1000
+
+-- With no empty line under it, a comment is about what follows, and the
+-- empty line around a declaration over several lines goes above it.
+cones :: Int
+cones =
+  3
+
+-- Witness cones, one per shelf.
+coneHeight :: Int
+coneHeight = 2
+
+-- An empty line inside a block comment is no empty line between them.
+reduction :: Bool
+reduction = True
+{- Reduction starts at cone 010,
+
+   and ends with the firing. -}
+oxidation :: Bool
+oxidation = False
diff --git a/corpora/vendored/comment/declaration/comment-under-a-declaration.hs b/corpora/vendored/comment/declaration/comment-under-a-declaration.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comment-under-a-declaration.hs
@@ -0,0 +1,62 @@
+-- A comment written right under a declaration, with an empty line after
+-- it, is a remark on that declaration and stays with it.
+module Kiln.Firing where
+
+firingTemperature :: Int
+firingTemperature = 1280
+-- Cone 10, for stoneware.
+
+coolingRate :: Int
+coolingRate = 100
+-- Per hour, down to 600.
+
+-- Then left to cool on its own.
+soakMinutes :: Int
+soakMinutes = 30
+
+-- The same in a class and in an instance.
+class Glazed a where
+  glaze :: a -> String
+  -- Applied before the bisque firing.
+
+  coats :: a -> Int
+
+instance Glazed Int where
+  glaze _ = "celadon"
+  -- Thin, so that it pools in the carving.
+
+  coats _ = 2
+
+-- After a trailing comment as well.
+shelves :: Int
+shelves = 4 -- of silicon carbide
+-- Kiln wash on the top side only.
+
+posts :: Int
+posts = 12
+
+-- Between braces on one line as well.
+glazeFiring :: Int
+glazeFiring = 1220
+{- Cone 6, for porcelain. -}
+
+bisqueFiring :: Int
+bisqueFiring = 1000
+
+-- With no empty line under it, a comment is about what follows, and the
+-- empty line around a declaration over several lines goes above it.
+cones :: Int
+cones =
+  3
+-- Witness cones, one per shelf.
+coneHeight :: Int
+coneHeight = 2
+
+-- An empty line inside a block comment is no empty line between them.
+reduction :: Bool
+reduction = True
+{- Reduction starts at cone 010,
+
+   and ends with the firing. -}
+oxidation :: Bool
+oxidation = False
diff --git a/corpora/vendored/comment/declaration/comment-under-a-quasi-quotation-out'.hs b/corpora/vendored/comment/declaration/comment-under-a-quasi-quotation-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comment-under-a-quasi-quotation-out'.hs
@@ -0,0 +1,25 @@
+{-# LANGUAGE QuasiQuotes #-}
+
+-- A comment under a quasi-quotation written over several lines stays out of
+-- it.
+module Physics.Body (setAngle, setMass, reindexed) where
+
+setAngle :: Ptr Body -> Double -> IO ()
+setAngle bodyPtr angle = [C.block| void {
+  cpBodySetAngle($(cpBody* bodyPtr), $(double angle));
+  } |]
+  -- FIXME reindex
+
+setMass :: Ptr Body -> Double -> IO ()
+setMass bodyPtr mass = [C.block| void {
+    cpBodySetMass($(cpBody* bodyPtr), $(double mass));
+    } |]
+    -- FIXME rescale
+
+reindexed :: Ptr Body -> IO ()
+reindexed bodyPtr = do
+    [C.block| void {
+    cpSpaceReindexShapesForBody($(cpBody* bodyPtr));
+    } |]
+    -- once per body
+    pure ()
diff --git a/corpora/vendored/comment/declaration/comment-under-a-quasi-quotation-out.hs b/corpora/vendored/comment/declaration/comment-under-a-quasi-quotation-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comment-under-a-quasi-quotation-out.hs
@@ -0,0 +1,25 @@
+{-# LANGUAGE QuasiQuotes #-}
+
+-- A comment under a quasi-quotation written over several lines stays out of
+-- it.
+module Physics.Body (setAngle, setMass, reindexed) where
+
+setAngle :: Ptr Body -> Double -> IO ()
+setAngle bodyPtr angle = [C.block| void {
+  cpBodySetAngle($(cpBody* bodyPtr), $(double angle));
+  } |]
+  -- FIXME reindex
+
+setMass :: Ptr Body -> Double -> IO ()
+setMass bodyPtr mass = [C.block| void {
+    cpBodySetMass($(cpBody* bodyPtr), $(double mass));
+    } |]
+    -- FIXME rescale
+
+reindexed :: Ptr Body -> IO ()
+reindexed bodyPtr = do
+  [C.block| void {
+    cpSpaceReindexShapesForBody($(cpBody* bodyPtr));
+    } |]
+    -- once per body
+  pure ()
diff --git a/corpora/vendored/comment/declaration/comment-under-a-quasi-quotation.hs b/corpora/vendored/comment/declaration/comment-under-a-quasi-quotation.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comment-under-a-quasi-quotation.hs
@@ -0,0 +1,25 @@
+{-# LANGUAGE QuasiQuotes #-}
+
+-- A comment under a quasi-quotation written over several lines stays out of
+-- it.
+module Physics.Body (setAngle, setMass, reindexed) where
+
+setAngle :: Ptr Body -> Double -> IO ()
+setAngle bodyPtr angle = [C.block| void {
+  cpBodySetAngle($(cpBody* bodyPtr), $(double angle));
+  } |]
+  -- FIXME reindex
+
+setMass :: Ptr Body -> Double -> IO ()
+setMass bodyPtr mass = [C.block| void {
+    cpBodySetMass($(cpBody* bodyPtr), $(double mass));
+    } |]
+    -- FIXME rescale
+
+reindexed :: Ptr Body -> IO ()
+reindexed bodyPtr = do
+  [C.block| void {
+    cpSpaceReindexShapesForBody($(cpBody* bodyPtr));
+    } |]
+    -- once per body
+  pure ()
diff --git a/corpora/vendored/comment/declaration/comment-under-a-right-hand-side-out'.hs b/corpora/vendored/comment/declaration/comment-under-a-right-hand-side-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comment-under-a-right-hand-side-out'.hs
@@ -0,0 +1,41 @@
+module Alternatives where
+
+main :: IO ()
+main = do
+    let value =
+            one <|> two
+            -- Alt one two
+    print value
+
+combined =
+    one <|> two
+    -- Alt one two
+
+next = 1
+
+local = value
+    where
+        value =
+            one <|> two
+            -- Alt one two
+            -- and nothing else
+        other = 1
+
+apart = do
+    let value =
+            one <|> two
+    -- about what follows
+    print value
+
+bound = do
+    x <-
+        one <|> two
+        -- Alt one two
+    print x
+
+instance Semigroup Meta where
+    Meta a <> Meta b = Meta (b <> a)
+    -- the second one wins
+
+instance Monoid Meta where
+    mempty = Meta mempty
diff --git a/corpora/vendored/comment/declaration/comment-under-a-right-hand-side-out.hs b/corpora/vendored/comment/declaration/comment-under-a-right-hand-side-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comment-under-a-right-hand-side-out.hs
@@ -0,0 +1,41 @@
+module Alternatives where
+
+main :: IO ()
+main = do
+  let value =
+        one <|> two
+        -- Alt one two
+  print value
+
+combined =
+  one <|> two
+  -- Alt one two
+
+next = 1
+
+local = value
+  where
+    value =
+      one <|> two
+      -- Alt one two
+      -- and nothing else
+    other = 1
+
+apart = do
+  let value =
+        one <|> two
+  -- about what follows
+  print value
+
+bound = do
+  x <-
+    one <|> two
+    -- Alt one two
+  print x
+
+instance Semigroup Meta where
+  Meta a <> Meta b = Meta (b <> a)
+  -- the second one wins
+
+instance Monoid Meta where
+  mempty = Meta mempty
diff --git a/corpora/vendored/comment/declaration/comment-under-a-right-hand-side.hs b/corpora/vendored/comment/declaration/comment-under-a-right-hand-side.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comment-under-a-right-hand-side.hs
@@ -0,0 +1,40 @@
+module Alternatives where
+
+main :: IO ()
+main = do
+  let value =
+        one <|> two
+        -- Alt one two
+  print value
+
+combined =
+  one <|> two
+  -- Alt one two
+next = 1
+
+local = value
+  where
+    value =
+      one <|> two
+      -- Alt one two
+      -- and nothing else
+    other = 1
+
+apart = do
+  let value =
+        one <|> two
+  -- about what follows
+  print value
+
+bound = do
+  x <-
+    one <|> two
+    -- Alt one two
+  print x
+
+instance Semigroup Meta where
+  Meta a <> Meta b = Meta (b <> a)
+  -- the second one wins
+
+instance Monoid Meta where
+  mempty = Meta mempty
diff --git a/corpora/vendored/comment/declaration/comment-under-an-argument-over-several-lines-out'.hs b/corpora/vendored/comment/declaration/comment-under-an-argument-over-several-lines-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comment-under-an-argument-over-several-lines-out'.hs
@@ -0,0 +1,15 @@
+module Pipe.Catch where
+
+catchWith
+    :: Monad m
+    => ( m (Proxy a b m r)
+         -> (e -> m (Proxy a b m r))
+         -> m (Proxy a b m r)
+       )
+    -- the handler of the base monad
+    -> ( Proxy a b m r
+         -> (e -> Proxy a b m r)
+         -> Proxy a b m r
+       )
+       -- what comes of it
+catchWith c p0 f = go p0
diff --git a/corpora/vendored/comment/declaration/comment-under-an-argument-over-several-lines-out.hs b/corpora/vendored/comment/declaration/comment-under-an-argument-over-several-lines-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comment-under-an-argument-over-several-lines-out.hs
@@ -0,0 +1,15 @@
+module Pipe.Catch where
+
+catchWith ::
+  Monad m =>
+  ( m (Proxy a b m r) ->
+    (e -> m (Proxy a b m r)) ->
+    m (Proxy a b m r)
+  ) ->
+  -- the handler of the base monad
+  ( Proxy a b m r ->
+    (e -> Proxy a b m r) ->
+    Proxy a b m r
+  )
+  -- what comes of it
+catchWith c p0 f = go p0
diff --git a/corpora/vendored/comment/declaration/comment-under-an-argument-over-several-lines.hs b/corpora/vendored/comment/declaration/comment-under-an-argument-over-several-lines.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comment-under-an-argument-over-several-lines.hs
@@ -0,0 +1,15 @@
+module Pipe.Catch where
+
+catchWith ::
+  (Monad m) =>
+  ( m (Proxy a b m r) ->
+    (e -> m (Proxy a b m r)) ->
+    m (Proxy a b m r)
+  ) ->
+  -- the handler of the base monad
+  ( Proxy a b m r ->
+    (e -> Proxy a b m r) ->
+    Proxy a b m r
+  )
+  -- what comes of it
+catchWith c p0 f = go p0
diff --git a/corpora/vendored/comment/declaration/comment-under-the-first-or-last-constructor-out'.hs b/corpora/vendored/comment/declaration/comment-under-the-first-or-last-constructor-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comment-under-the-first-or-last-constructor-out'.hs
@@ -0,0 +1,39 @@
+-- A comment lined up with a constructor stays under it, whether the = or
+-- the bar before it begins its line, ends the line above or comes between
+-- two constructors on one line. One lined up with the bars goes with what
+-- follows them.
+module Ledger.Account where
+
+data Kind
+    = Asset -- what is owned
+    | Liability Int
+      -- owed to others
+    deriving (Eq)
+
+data Side = Debit | Credit Int
+                    -- settled at the end of the day
+    deriving (Eq)
+
+data Source
+    = Salary
+      -- paid monthly
+    | Interest Int
+      -- paid yearly
+    deriving (Eq)
+
+newtype Balance = Balance Int
+                  -- in cents
+    deriving (Eq)
+
+data Term
+    = Short
+    | Long Int
+    -- lined up with the bars rather than the constructors
+    deriving (Eq)
+
+-- The same under the body of an equation before its where.
+total :: [Int] -> Int
+total entries = foldr add 0 entries
+                -- in the order posted
+    where
+        add = (+)
diff --git a/corpora/vendored/comment/declaration/comment-under-the-first-or-last-constructor-out.hs b/corpora/vendored/comment/declaration/comment-under-the-first-or-last-constructor-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comment-under-the-first-or-last-constructor-out.hs
@@ -0,0 +1,39 @@
+-- A comment lined up with a constructor stays under it, whether the = or
+-- the bar before it begins its line, ends the line above or comes between
+-- two constructors on one line. One lined up with the bars goes with what
+-- follows them.
+module Ledger.Account where
+
+data Kind
+  = Asset -- what is owned
+  | Liability Int
+    -- owed to others
+  deriving (Eq)
+
+data Side = Debit | Credit Int
+                    -- settled at the end of the day
+  deriving (Eq)
+
+data Source
+  = Salary
+    -- paid monthly
+  | Interest Int
+    -- paid yearly
+  deriving (Eq)
+
+newtype Balance = Balance Int
+                  -- in cents
+  deriving (Eq)
+
+data Term
+  = Short
+  | Long Int
+  -- lined up with the bars rather than the constructors
+  deriving (Eq)
+
+-- The same under the body of an equation before its where.
+total :: [Int] -> Int
+total entries = foldr add 0 entries
+                -- in the order posted
+  where
+    add = (+)
diff --git a/corpora/vendored/comment/declaration/comment-under-the-first-or-last-constructor.hs b/corpora/vendored/comment/declaration/comment-under-the-first-or-last-constructor.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comment-under-the-first-or-last-constructor.hs
@@ -0,0 +1,37 @@
+-- A comment lined up with a constructor stays under it, whether the = or
+-- the bar before it begins its line, ends the line above or comes between
+-- two constructors on one line. One lined up with the bars goes with what
+-- follows them.
+module Ledger.Account where
+
+data Kind = Asset | -- what is owned
+            Liability Int
+            -- owed to others
+  deriving (Eq)
+
+data Side = Debit | Credit Int
+                    -- settled at the end of the day
+  deriving (Eq)
+
+data Source
+  = Salary
+    -- paid monthly
+  | Interest Int
+    -- paid yearly
+  deriving (Eq)
+
+newtype Balance = Balance Int
+                  -- in cents
+  deriving (Eq)
+
+data Term = Short
+          | Long Int
+          -- lined up with the bars rather than the constructors
+  deriving (Eq)
+
+-- The same under the body of an equation before its where.
+total :: [Int] -> Int
+total entries = foldr add 0 entries
+                -- in the order posted
+  where
+    add = (+)
diff --git a/corpora/vendored/comment/declaration/comment-under-the-last-guard-out'.hs b/corpora/vendored/comment/declaration/comment-under-the-last-guard-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comment-under-the-last-guard-out'.hs
@@ -0,0 +1,20 @@
+module Tariff.Zone where
+
+zoneOf :: Double -> Int
+zoneOf distance = case distance of
+    d
+        | d > 10 -> 3
+        | d > 5 -> 2
+    -- short trips are all zone 1
+    _ -> 1
+
+fare :: Int -> Int
+fare zone
+    | zone > 2 = 4
+    | otherwise =
+        let base = 2
+         in base + zone
+    -- the base fare has not changed since the last review
+
+surcharge :: Int
+surcharge = 1
diff --git a/corpora/vendored/comment/declaration/comment-under-the-last-guard-out.hs b/corpora/vendored/comment/declaration/comment-under-the-last-guard-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comment-under-the-last-guard-out.hs
@@ -0,0 +1,20 @@
+module Tariff.Zone where
+
+zoneOf :: Double -> Int
+zoneOf distance = case distance of
+  d
+    | d > 10 -> 3
+    | d > 5 -> 2
+  -- short trips are all zone 1
+  _ -> 1
+
+fare :: Int -> Int
+fare zone
+  | zone > 2 = 4
+  | otherwise =
+      let base = 2
+       in base + zone
+  -- the base fare has not changed since the last review
+
+surcharge :: Int
+surcharge = 1
diff --git a/corpora/vendored/comment/declaration/comment-under-the-last-guard.hs b/corpora/vendored/comment/declaration/comment-under-the-last-guard.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comment-under-the-last-guard.hs
@@ -0,0 +1,20 @@
+module Tariff.Zone where
+
+zoneOf :: Double -> Int
+zoneOf distance = case distance of
+   d
+     | d > 10    -> 3
+     | d > 5     -> 2
+       -- short trips are all zone 1
+   _ -> 1
+
+fare :: Int -> Int
+fare zone
+    | zone > 2  = 4
+    | otherwise =
+        let base = 2
+         in base + zone
+    -- the base fare has not changed since the last review
+
+surcharge :: Int
+surcharge = 1
diff --git a/corpora/vendored/comment/declaration/comment-under-the-last-member-out'.hs b/corpora/vendored/comment/declaration/comment-under-the-last-member-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comment-under-the-last-member-out'.hs
@@ -0,0 +1,24 @@
+module Terminal.Time where
+
+class Timed a where
+    timeType
+        :: Maybe Word
+        -> Bool
+        -> a
+    -- TODO interval type
+
+class Zoned a where
+    zonedType
+        :: Maybe Word
+        -> Bool
+        {-^ With time zone -}
+        -> a
+    -- TODO interval type
+
+instance Timed Int where
+    timeType precision zoned =
+        if zoned then 1 else 0
+    -- TODO use the precision
+
+clock :: Int
+clock = 1
diff --git a/corpora/vendored/comment/declaration/comment-under-the-last-member-out.hs b/corpora/vendored/comment/declaration/comment-under-the-last-member-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comment-under-the-last-member-out.hs
@@ -0,0 +1,24 @@
+module Terminal.Time where
+
+class Timed a where
+  timeType ::
+    Maybe Word ->
+    Bool ->
+    a
+  -- TODO interval type
+
+class Zoned a where
+  zonedType ::
+    Maybe Word ->
+    -- | With time zone
+    Bool ->
+    a
+  -- TODO interval type
+
+instance Timed Int where
+  timeType precision zoned =
+    if zoned then 1 else 0
+  -- TODO use the precision
+
+clock :: Int
+clock = 1
diff --git a/corpora/vendored/comment/declaration/comment-under-the-last-member.hs b/corpora/vendored/comment/declaration/comment-under-the-last-member.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comment-under-the-last-member.hs
@@ -0,0 +1,20 @@
+module Terminal.Time where
+
+class Timed a where
+  timeType ::
+    Maybe Word ->
+    Bool ->
+    a
+  -- TODO interval type
+
+class Zoned a where
+  zonedType :: Maybe Word -> Bool {-^ With time zone -} -> a
+  -- TODO interval type
+
+instance Timed Int where
+  timeType precision zoned =
+    if zoned then 1 else 0
+  -- TODO use the precision
+
+clock :: Int
+clock = 1
diff --git a/corpora/vendored/comment/declaration/comment-under-the-last-part-of-a-construct-before-a-comment-out'.hs b/corpora/vendored/comment/declaration/comment-under-the-last-part-of-a-construct-before-a-comment-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comment-under-the-last-part-of-a-construct-before-a-comment-out'.hs
@@ -0,0 +1,54 @@
+-- A comment lined up with the last line of a construct stays inside it when
+-- a comment heads what follows, as it does when code follows.
+module Pottery.Wheel where
+
+class Thrown a where
+    centre :: a -> a
+    -- with wet hands
+
+-- Anticlockwise.
+speed :: Int -> Int
+speed clay
+    | clay > 5 = 120
+    | otherwise = 90
+    -- in turns a minute
+
+{- Note [Trimming]
+~~~~~~~~~~~~~~~~~
+Trimmed when leather-hard.
+-}
+trim :: Maybe Int -> Int
+trim depth = case depth of
+    Just d -> d
+    Nothing -> 2
+    -- millimetres off the foot
+
+-- Right under it, too.
+dry :: Int
+dry = days
+    where
+        days = 7
+        -- longer in winter
+
+{- A block comment. -}
+data Body = Stoneware | Porcelain
+    deriving (Eq)
+    -- by what fires it
+
+-- Over several lines,
+-- and then another.
+
+-- The second one.
+pots :: Int
+pots = shelves * 12
+       -- after the bisque firing
+
+-- On four shelves.
+shelves :: Int
+shelves =
+    4
+    -- or five for small pots
+
+-- | A Haddock did not change it.
+glaze :: Int
+glaze = 3
diff --git a/corpora/vendored/comment/declaration/comment-under-the-last-part-of-a-construct-before-a-comment-out.hs b/corpora/vendored/comment/declaration/comment-under-the-last-part-of-a-construct-before-a-comment-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comment-under-the-last-part-of-a-construct-before-a-comment-out.hs
@@ -0,0 +1,54 @@
+-- A comment lined up with the last line of a construct stays inside it when
+-- a comment heads what follows, as it does when code follows.
+module Pottery.Wheel where
+
+class Thrown a where
+  centre :: a -> a
+  -- with wet hands
+
+-- Anticlockwise.
+speed :: Int -> Int
+speed clay
+  | clay > 5 = 120
+  | otherwise = 90
+  -- in turns a minute
+
+{- Note [Trimming]
+~~~~~~~~~~~~~~~~~
+Trimmed when leather-hard.
+-}
+trim :: Maybe Int -> Int
+trim depth = case depth of
+  Just d -> d
+  Nothing -> 2
+  -- millimetres off the foot
+
+-- Right under it, too.
+dry :: Int
+dry = days
+  where
+    days = 7
+    -- longer in winter
+
+{- A block comment. -}
+data Body = Stoneware | Porcelain
+  deriving (Eq)
+  -- by what fires it
+
+-- Over several lines,
+-- and then another.
+
+-- The second one.
+pots :: Int
+pots = shelves * 12
+       -- after the bisque firing
+
+-- On four shelves.
+shelves :: Int
+shelves =
+  4
+  -- or five for small pots
+
+-- | A Haddock did not change it.
+glaze :: Int
+glaze = 3
diff --git a/corpora/vendored/comment/declaration/comment-under-the-last-part-of-a-construct-before-a-comment.hs b/corpora/vendored/comment/declaration/comment-under-the-last-part-of-a-construct-before-a-comment.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comment-under-the-last-part-of-a-construct-before-a-comment.hs
@@ -0,0 +1,53 @@
+-- A comment lined up with the last line of a construct stays inside it when
+-- a comment heads what follows, as it does when code follows.
+module Pottery.Wheel where
+
+class Thrown a where
+  centre :: a -> a
+  -- with wet hands
+
+-- Anticlockwise.
+speed :: Int -> Int
+speed clay
+  | clay > 5 = 120
+  | otherwise = 90
+  -- in turns a minute
+
+{- Note [Trimming]
+~~~~~~~~~~~~~~~~~
+Trimmed when leather-hard.
+-}
+trim :: Maybe Int -> Int
+trim depth = case depth of
+  Just d -> d
+  Nothing -> 2
+  -- millimetres off the foot
+-- Right under it, too.
+dry :: Int
+dry = days
+  where
+    days = 7
+    -- longer in winter
+
+{- A block comment. -}
+data Body = Stoneware | Porcelain
+  deriving Eq
+  -- by what fires it
+
+-- Over several lines,
+-- and then another.
+
+-- The second one.
+pots :: Int
+pots = shelves * 12
+       -- after the bisque firing
+
+-- On four shelves.
+shelves :: Int
+shelves =
+  4
+  -- or five for small pots
+
+-- | A Haddock did not change it.
+glaze :: Int
+glaze = 3
diff --git a/corpora/vendored/comment/declaration/comment-under-the-last-part-of-a-construct-out'.hs b/corpora/vendored/comment/declaration/comment-under-the-last-part-of-a-construct-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comment-under-the-last-part-of-a-construct-out'.hs
@@ -0,0 +1,59 @@
+-- A comment lined up with the last line of a construct, and not with what
+-- follows the construct, stays inside it.
+module Loom.Warp where
+
+import Control.Applicative ((<|>))
+
+threads
+    :: Int
+    -> Int
+    -- counted across the whole width
+threads ends = ends * 2
+
+tension :: Int
+tension = pull 3 4
+    where
+        pull
+            :: Int
+            -- \^ Weight on the beam
+            -> Int
+            -- \^ Turns of the brake
+            -> Int
+            -- \^ What the warp takes
+        pull weight turns = weight * turns
+
+data Shed
+    = Plain Int
+    | Twill
+        Int
+        -- Shafts raised
+        Int
+        -- Shafts lowered
+    deriving (Show)
+
+sett :: Maybe Int
+sett =
+    id
+        ( Just 12
+            <|> Just 16
+        )
+        -- ends per centimetre
+
+reed :: Int
+reed = 60
+
+selvedge :: String
+selvedge =
+    "doubled"
+        <> " ends"
+    -- on both sides
+
+beam :: Int
+beam = 2
+
+-- At the end of the module, where nothing follows the construct, too.
+loom :: Int
+loom = shuttles
+    where
+        shuttles = 2
+        -- and a spare
diff --git a/corpora/vendored/comment/declaration/comment-under-the-last-part-of-a-construct-out.hs b/corpora/vendored/comment/declaration/comment-under-the-last-part-of-a-construct-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comment-under-the-last-part-of-a-construct-out.hs
@@ -0,0 +1,59 @@
+-- A comment lined up with the last line of a construct, and not with what
+-- follows the construct, stays inside it.
+module Loom.Warp where
+
+import Control.Applicative ((<|>))
+
+threads ::
+  Int ->
+  Int
+  -- counted across the whole width
+threads ends = ends * 2
+
+tension :: Int
+tension = pull 3 4
+  where
+    pull ::
+      Int ->
+      -- \^ Weight on the beam
+      Int ->
+      -- \^ Turns of the brake
+      Int
+      -- \^ What the warp takes
+    pull weight turns = weight * turns
+
+data Shed
+  = Plain Int
+  | Twill
+      Int
+      -- Shafts raised
+      Int
+      -- Shafts lowered
+  deriving (Show)
+
+sett :: Maybe Int
+sett =
+  id
+    ( Just 12
+        <|> Just 16
+    )
+    -- ends per centimetre
+
+reed :: Int
+reed = 60
+
+selvedge :: String
+selvedge =
+  "doubled"
+    <> " ends"
+  -- on both sides
+
+beam :: Int
+beam = 2
+
+-- At the end of the module, where nothing follows the construct, too.
+loom :: Int
+loom = shuttles
+  where
+    shuttles = 2
+    -- and a spare
diff --git a/corpora/vendored/comment/declaration/comment-under-the-last-part-of-a-construct.hs b/corpora/vendored/comment/declaration/comment-under-the-last-part-of-a-construct.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comment-under-the-last-part-of-a-construct.hs
@@ -0,0 +1,54 @@
+-- A comment lined up with the last line of a construct, and not with what
+-- follows the construct, stays inside it.
+module Loom.Warp where
+
+import Control.Applicative ((<|>))
+
+threads
+  :: Int
+  -> Int
+  -- counted across the whole width
+threads ends = ends * 2
+
+tension :: Int
+tension = pull 3 4
+  where
+    pull
+      :: Int
+      -- ^ Weight on the beam
+      -> Int
+      -- ^ Turns of the brake
+      -> Int
+      -- ^ What the warp takes
+    pull weight turns = weight * turns
+
+data Shed
+  = Plain Int
+  | Twill
+      Int
+      -- Shafts raised
+      Int
+      -- Shafts lowered
+        deriving (Show)
+
+sett :: Maybe Int
+sett = id (Just 12
+            <|> Just 16)
+            -- ends per centimetre
+
+reed :: Int
+reed = 60
+
+selvedge :: String
+selvedge = "doubled"
+  <> " ends"
+  -- on both sides
+beam :: Int
+beam = 2
+
+-- At the end of the module, where nothing follows the construct, too.
+loom :: Int
+loom = shuttles
+  where
+    shuttles = 2
+    -- and a spare
diff --git a/corpora/vendored/comment/declaration/comments-above-local-bindings-out'.hs b/corpora/vendored/comment/declaration/comments-above-local-bindings-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comments-above-local-bindings-out'.hs
@@ -0,0 +1,10 @@
+module Inventory.Restock where
+
+restock :: Shelf -> Shelf
+restock shelf = refill (capacity - left) shelf
+    where
+        -- what the shelf holds when full
+        capacity = 40
+
+        -- what is on it now
+        left = count shelf
diff --git a/corpora/vendored/comment/declaration/comments-above-local-bindings-out.hs b/corpora/vendored/comment/declaration/comments-above-local-bindings-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comments-above-local-bindings-out.hs
@@ -0,0 +1,10 @@
+module Inventory.Restock where
+
+restock :: Shelf -> Shelf
+restock shelf = refill (capacity - left) shelf
+  where
+    -- what the shelf holds when full
+    capacity = 40
+
+    -- what is on it now
+    left = count shelf
diff --git a/corpora/vendored/comment/declaration/comments-above-local-bindings.hs b/corpora/vendored/comment/declaration/comments-above-local-bindings.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comments-above-local-bindings.hs
@@ -0,0 +1,10 @@
+module Inventory.Restock where
+
+restock :: Shelf -> Shelf
+restock shelf = refill (capacity - left) shelf
+  where
+    -- what the shelf holds when full
+    capacity = 40
+
+    -- what is on it now
+    left = count shelf
diff --git a/corpora/vendored/comment/declaration/comments-around-deriving-keywords-out'.hs b/corpora/vendored/comment/declaration/comments-around-deriving-keywords-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comments-around-deriving-keywords-out'.hs
@@ -0,0 +1,47 @@
+{-# LANGUAGE DerivingStrategies #-}
+{-# LANGUAGE DerivingVia #-}
+{-# LANGUAGE StandaloneDeriving #-}
+
+module Tally.Count where
+
+import Data.Monoid (Sum (..))
+
+-- A comment written before or after a keyword of a deriving clause stays
+-- there.
+newtype Count = Count Int
+    deriving
+        (Semigroup)
+        -- by addition
+        via Sum Int
+    deriving
+        -- as numbers are
+        stock
+        (Eq)
+
+newtype Score = Score Int
+    deriving
+        (Semigroup)
+        via -- by addition
+        ( -- of points
+          Sum Int
+        )
+
+newtype Total = Total Int
+
+-- So does one before or after a keyword of a standalone deriving
+-- declaration.
+deriving
+    -- by addition
+    via
+    Sum Int
+    instance
+        Semigroup Total
+
+deriving stock
+    -- as numbers are
+    instance
+    Eq Total
+
+deriving stock -- as numbers are
+    instance -- and only so
+    Ord Total
diff --git a/corpora/vendored/comment/declaration/comments-around-deriving-keywords-out.hs b/corpora/vendored/comment/declaration/comments-around-deriving-keywords-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comments-around-deriving-keywords-out.hs
@@ -0,0 +1,47 @@
+{-# LANGUAGE DerivingStrategies #-}
+{-# LANGUAGE DerivingVia #-}
+{-# LANGUAGE StandaloneDeriving #-}
+
+module Tally.Count where
+
+import Data.Monoid (Sum (..))
+
+-- A comment written before or after a keyword of a deriving clause stays
+-- there.
+newtype Count = Count Int
+  deriving
+    (Semigroup)
+    -- by addition
+    via Sum Int
+  deriving
+    -- as numbers are
+    stock
+    (Eq)
+
+newtype Score = Score Int
+  deriving
+    (Semigroup)
+    via -- by addition
+    ( -- of points
+      Sum Int
+    )
+
+newtype Total = Total Int
+
+-- So does one before or after a keyword of a standalone deriving
+-- declaration.
+deriving
+  -- by addition
+  via
+  Sum Int
+  instance
+    Semigroup Total
+
+deriving stock
+  -- as numbers are
+  instance
+  Eq Total
+
+deriving stock -- as numbers are
+  instance -- and only so
+  Ord Total
diff --git a/corpora/vendored/comment/declaration/comments-around-deriving-keywords.hs b/corpora/vendored/comment/declaration/comments-around-deriving-keywords.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comments-around-deriving-keywords.hs
@@ -0,0 +1,41 @@
+{-# LANGUAGE DerivingStrategies #-}
+{-# LANGUAGE DerivingVia #-}
+{-# LANGUAGE StandaloneDeriving #-}
+
+module Tally.Count where
+
+import Data.Monoid (Sum (..))
+
+-- A comment written before or after a keyword of a deriving clause stays
+-- there.
+newtype Count = Count Int
+  deriving Semigroup
+    -- by addition
+    via Sum Int
+  deriving
+    -- as numbers are
+    stock (Eq)
+
+newtype Score = Score Int
+  deriving Semigroup
+    via -- by addition
+      ( -- of points
+        Sum Int
+      )
+
+newtype Total = Total Int
+
+-- So does one before or after a keyword of a standalone deriving
+-- declaration.
+deriving
+  -- by addition
+  via Sum Int
+  instance Semigroup Total
+
+deriving stock
+  -- as numbers are
+  instance Eq Total
+
+deriving stock -- as numbers are
+  instance -- and only so
+  Ord Total
diff --git a/corpora/vendored/comment/declaration/comments-next-to-keywords-out'.hs b/corpora/vendored/comment/declaration/comments-next-to-keywords-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comments-next-to-keywords-out'.hs
@@ -0,0 +1,68 @@
+{-# LANGUAGE GADTs #-}
+{-# LANGUAGE LambdaCase #-}
+{-# LANGUAGE MultiWayIf #-}
+{-# LANGUAGE PatternSynonyms #-}
+{-# LANGUAGE RoleAnnotations #-}
+{-# LANGUAGE TransformListComp #-}
+
+module {- the controller of a loom -} Loom.Control where
+
+import GHC.Exts (groupWith)
+
+data Command a where
+    Start :: Command ()
+    Speed :: Command Int
+
+type role -- set by the controller only
+    Shed
+        nominal
+
+type
+    -- the threads may not be coerced
+    role
+    Heddle
+        nominal
+
+class Pedal p where
+    press :: p -> Int
+    release :: p -> Int
+    {-# MINIMAL
+        -- either one will do
+        press | release #-}
+
+pattern Fast :: Int
+pattern Fast <- 120
+    -- the fastest the loom runs
+    where
+        Fast = 120
+
+describe :: Command a -> String
+describe = \case -- one word for each
+    Start -> "start"
+    Speed -> "speed"
+
+compare' :: Int -> Int -> Int
+compare' = \cases -- by speed alone
+    a b | a < b -> -1
+    _ _ -> 1
+
+pace :: Int -> String
+pace n =
+    if -- from the slowest
+        | n < 60 -> "slow"
+        | otherwise -> "fast"
+
+grouped :: [Int] -> [[Int]]
+grouped xs =
+    [ x
+    | x <- xs
+      -- by speed
+    , then group by
+        x
+      using
+        groupWith
+    ]
+
+newtype Shed a = Shed a
+
+newtype Heddle a = Heddle a
diff --git a/corpora/vendored/comment/declaration/comments-next-to-keywords-out.hs b/corpora/vendored/comment/declaration/comments-next-to-keywords-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comments-next-to-keywords-out.hs
@@ -0,0 +1,68 @@
+{-# LANGUAGE GADTs #-}
+{-# LANGUAGE LambdaCase #-}
+{-# LANGUAGE MultiWayIf #-}
+{-# LANGUAGE PatternSynonyms #-}
+{-# LANGUAGE RoleAnnotations #-}
+{-# LANGUAGE TransformListComp #-}
+
+module {- the controller of a loom -} Loom.Control where
+
+import GHC.Exts (groupWith)
+
+data Command a where
+  Start :: Command ()
+  Speed :: Command Int
+
+type role -- set by the controller only
+  Shed
+    nominal
+
+type
+  -- the threads may not be coerced
+  role
+  Heddle
+    nominal
+
+class Pedal p where
+  press :: p -> Int
+  release :: p -> Int
+  {-# MINIMAL
+    -- either one will do
+    press | release #-}
+
+pattern Fast :: Int
+pattern Fast <- 120
+  -- the fastest the loom runs
+  where
+    Fast = 120
+
+describe :: Command a -> String
+describe = \case -- one word for each
+  Start -> "start"
+  Speed -> "speed"
+
+compare' :: Int -> Int -> Int
+compare' = \cases -- by speed alone
+  a b | a < b -> -1
+  _ _ -> 1
+
+pace :: Int -> String
+pace n =
+  if -- from the slowest
+    | n < 60 -> "slow"
+    | otherwise -> "fast"
+
+grouped :: [Int] -> [[Int]]
+grouped xs =
+  [ x
+  | x <- xs,
+    -- by speed
+    then group by
+      x
+    using
+      groupWith
+  ]
+
+newtype Shed a = Shed a
+
+newtype Heddle a = Heddle a
diff --git a/corpora/vendored/comment/declaration/comments-next-to-keywords.hs b/corpora/vendored/comment/declaration/comments-next-to-keywords.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/comments-next-to-keywords.hs
@@ -0,0 +1,63 @@
+{-# LANGUAGE GADTs #-}
+{-# LANGUAGE LambdaCase #-}
+{-# LANGUAGE MultiWayIf #-}
+{-# LANGUAGE PatternSynonyms #-}
+{-# LANGUAGE RoleAnnotations #-}
+{-# LANGUAGE TransformListComp #-}
+
+module {- the controller of a loom -} Loom.Control where
+
+import GHC.Exts (groupWith)
+
+data Command a where
+  Start :: Command ()
+  Speed :: Command Int
+
+type role -- set by the controller only
+  Shed nominal
+
+type
+  -- the threads may not be coerced
+  role Heddle nominal
+
+class Pedal p where
+  press :: p -> Int
+  release :: p -> Int
+  {-# MINIMAL
+    -- either one will do
+    press | release #-}
+
+pattern Fast :: Int
+pattern Fast <- 120
+  -- the fastest the loom runs
+  where
+    Fast = 120
+
+describe :: Command a -> String
+describe = \case -- one word for each
+  Start -> "start"
+  Speed -> "speed"
+
+compare' :: Int -> Int -> Int
+compare' = \cases -- by speed alone
+  a b | a < b -> -1
+  _ _ -> 1
+
+pace :: Int -> String
+pace n = if -- from the slowest
+  | n < 60 -> "slow"
+  | otherwise -> "fast"
+
+grouped :: [Int] -> [[Int]]
+grouped xs =
+  [ x
+  | x <- xs,
+    -- by speed
+    then group
+      by x
+      using groupWith
+  ]
+
+newtype Shed a = Shed a
+
+newtype Heddle a = Heddle a
diff --git a/corpora/vendored/comment/declaration/remark-after-a-head-before-its-guards-out'.hs b/corpora/vendored/comment/declaration/remark-after-a-head-before-its-guards-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/remark-after-a-head-before-its-guards-out'.hs
@@ -0,0 +1,7 @@
+module Grade.Letter where
+
+letter :: Int -> Char
+letter score -- out of a hundred
+    | score >= 90 = 'A'
+    | score >= 75 = 'B'
+    | otherwise = 'C'
diff --git a/corpora/vendored/comment/declaration/remark-after-a-head-before-its-guards-out.hs b/corpora/vendored/comment/declaration/remark-after-a-head-before-its-guards-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/remark-after-a-head-before-its-guards-out.hs
@@ -0,0 +1,7 @@
+module Grade.Letter where
+
+letter :: Int -> Char
+letter score -- out of a hundred
+  | score >= 90 = 'A'
+  | score >= 75 = 'B'
+  | otherwise = 'C'
diff --git a/corpora/vendored/comment/declaration/remark-after-a-head-before-its-guards.hs b/corpora/vendored/comment/declaration/remark-after-a-head-before-its-guards.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/declaration/remark-after-a-head-before-its-guards.hs
@@ -0,0 +1,7 @@
+module Grade.Letter where
+
+letter :: Int -> Char
+letter score -- out of a hundred
+  | score >= 90 = 'A'
+  | score >= 75 = 'B'
+  | otherwise = 'C'
diff --git a/corpora/vendored/comment/let/comment-above-the-first-binding-out'.hs b/corpora/vendored/comment/let/comment-above-the-first-binding-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/let/comment-above-the-first-binding-out'.hs
@@ -0,0 +1,9 @@
+module Route.Fare where
+
+fare :: Int -> Int
+fare riders =
+    let
+        -- the share the operator keeps
+        operator = 3
+        levy = 1
+     in operator * riders + levy
diff --git a/corpora/vendored/comment/let/comment-above-the-first-binding-out.hs b/corpora/vendored/comment/let/comment-above-the-first-binding-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/let/comment-above-the-first-binding-out.hs
@@ -0,0 +1,9 @@
+module Route.Fare where
+
+fare :: Int -> Int
+fare riders =
+  let
+      -- the share the operator keeps
+      operator = 3
+      levy = 1
+   in operator * riders + levy
diff --git a/corpora/vendored/comment/let/comment-above-the-first-binding.hs b/corpora/vendored/comment/let/comment-above-the-first-binding.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/let/comment-above-the-first-binding.hs
@@ -0,0 +1,9 @@
+module Route.Fare where
+
+fare :: Int -> Int
+fare riders =
+  let
+      -- the share the operator keeps
+      operator = 3
+      levy = 1
+   in operator * riders + levy
diff --git a/corpora/vendored/comment/let/comment-above-the-in-keyword-out'.hs b/corpora/vendored/comment/let/comment-above-the-in-keyword-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/let/comment-above-the-in-keyword-out'.hs
@@ -0,0 +1,7 @@
+module Route.Total where
+
+total :: Int -> Int
+total stops =
+    let each = 12
+        -- the sum every caller ends up wanting
+     in each * stops
diff --git a/corpora/vendored/comment/let/comment-above-the-in-keyword-out.hs b/corpora/vendored/comment/let/comment-above-the-in-keyword-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/let/comment-above-the-in-keyword-out.hs
@@ -0,0 +1,7 @@
+module Route.Total where
+
+total :: Int -> Int
+total stops =
+  let each = 12
+      -- the sum every caller ends up wanting
+   in each * stops
diff --git a/corpora/vendored/comment/let/comment-above-the-in-keyword.hs b/corpora/vendored/comment/let/comment-above-the-in-keyword.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/let/comment-above-the-in-keyword.hs
@@ -0,0 +1,7 @@
+module Route.Total where
+
+total :: Int -> Int
+total stops =
+  let each = 12
+      -- the sum every caller ends up wanting
+   in each * stops
diff --git a/corpora/vendored/comment/let/comment-after-the-in-keyword-out'.hs b/corpora/vendored/comment/let/comment-after-the-in-keyword-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/let/comment-after-the-in-keyword-out'.hs
@@ -0,0 +1,7 @@
+module Route.Trim where
+
+trim :: Int -> Int
+trim n =
+    let kept = n - 1
+     in -- rounded down on purpose
+        kept
diff --git a/corpora/vendored/comment/let/comment-after-the-in-keyword-out.hs b/corpora/vendored/comment/let/comment-after-the-in-keyword-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/let/comment-after-the-in-keyword-out.hs
@@ -0,0 +1,7 @@
+module Route.Trim where
+
+trim :: Int -> Int
+trim n =
+  let kept = n - 1
+   in -- rounded down on purpose
+      kept
diff --git a/corpora/vendored/comment/let/comment-after-the-in-keyword.hs b/corpora/vendored/comment/let/comment-after-the-in-keyword.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/let/comment-after-the-in-keyword.hs
@@ -0,0 +1,7 @@
+module Route.Trim where
+
+trim :: Int -> Int
+trim n =
+  let kept = n - 1
+   in -- rounded down on purpose
+      kept
diff --git a/corpora/vendored/comment/let/comment-after-the-let-keyword-out'.hs b/corpora/vendored/comment/let/comment-after-the-let-keyword-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/let/comment-after-the-let-keyword-out'.hs
@@ -0,0 +1,8 @@
+module Route.Cost where
+
+leg :: Int -> Int
+leg n =
+    let -- charged once, whatever the distance
+        base = 40
+        perStop = 7
+     in base + perStop * n
diff --git a/corpora/vendored/comment/let/comment-after-the-let-keyword-out.hs b/corpora/vendored/comment/let/comment-after-the-let-keyword-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/let/comment-after-the-let-keyword-out.hs
@@ -0,0 +1,8 @@
+module Route.Cost where
+
+leg :: Int -> Int
+leg n =
+  let -- charged once, whatever the distance
+      base = 40
+      perStop = 7
+   in base + perStop * n
diff --git a/corpora/vendored/comment/let/comment-after-the-let-keyword.hs b/corpora/vendored/comment/let/comment-after-the-let-keyword.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/let/comment-after-the-let-keyword.hs
@@ -0,0 +1,8 @@
+module Route.Cost where
+
+leg :: Int -> Int
+leg n =
+  let -- charged once, whatever the distance
+      base = 40
+      perStop = 7
+   in base + perStop * n
diff --git a/corpora/vendored/comment/let/comment-at-the-let-column-above-the-in-keyword-out'.hs b/corpora/vendored/comment/let/comment-at-the-let-column-above-the-in-keyword-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/let/comment-at-the-let-column-above-the-in-keyword-out'.hs
@@ -0,0 +1,7 @@
+module Route.Return where
+
+fare :: Int -> Int
+fare single =
+    let outward = single
+        -- the way back costs the same
+     in outward * 2
diff --git a/corpora/vendored/comment/let/comment-at-the-let-column-above-the-in-keyword-out.hs b/corpora/vendored/comment/let/comment-at-the-let-column-above-the-in-keyword-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/let/comment-at-the-let-column-above-the-in-keyword-out.hs
@@ -0,0 +1,7 @@
+module Route.Return where
+
+fare :: Int -> Int
+fare single =
+  let outward = single
+      -- the way back costs the same
+   in outward * 2
diff --git a/corpora/vendored/comment/let/comment-at-the-let-column-above-the-in-keyword.hs b/corpora/vendored/comment/let/comment-at-the-let-column-above-the-in-keyword.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/let/comment-at-the-let-column-above-the-in-keyword.hs
@@ -0,0 +1,7 @@
+module Route.Return where
+
+fare :: Int -> Int
+fare single =
+  let outward = single
+  -- the way back costs the same
+  in outward * 2
diff --git a/corpora/vendored/comment/let/comment-between-let-bindings-out'.hs b/corpora/vendored/comment/let/comment-between-let-bindings-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/let/comment-between-let-bindings-out'.hs
@@ -0,0 +1,8 @@
+module Route.Split where
+
+split :: Int -> Int
+split total =
+    let outward = total `div` 2
+        -- whatever is left over rides home
+        homeward = total - outward
+     in homeward
diff --git a/corpora/vendored/comment/let/comment-between-let-bindings-out.hs b/corpora/vendored/comment/let/comment-between-let-bindings-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/let/comment-between-let-bindings-out.hs
@@ -0,0 +1,8 @@
+module Route.Split where
+
+split :: Int -> Int
+split total =
+  let outward = total `div` 2
+      -- whatever is left over rides home
+      homeward = total - outward
+   in homeward
diff --git a/corpora/vendored/comment/let/comment-between-let-bindings.hs b/corpora/vendored/comment/let/comment-between-let-bindings.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/let/comment-between-let-bindings.hs
@@ -0,0 +1,8 @@
+module Route.Split where
+
+split :: Int -> Int
+split total =
+  let outward = total `div` 2
+      -- whatever is left over rides home
+      homeward = total - outward
+   in homeward
diff --git a/corpora/vendored/comment/let/comment-in-a-do-let-out'.hs b/corpora/vendored/comment/let/comment-in-a-do-let-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/let/comment-in-a-do-let-out'.hs
@@ -0,0 +1,8 @@
+module Route.Plan where
+
+plan :: IO Int
+plan = do
+    let -- worked out before anything is printed
+        stops = 9
+    print stops
+    pure stops
diff --git a/corpora/vendored/comment/let/comment-in-a-do-let-out.hs b/corpora/vendored/comment/let/comment-in-a-do-let-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/let/comment-in-a-do-let-out.hs
@@ -0,0 +1,8 @@
+module Route.Plan where
+
+plan :: IO Int
+plan = do
+  let -- worked out before anything is printed
+      stops = 9
+  print stops
+  pure stops
diff --git a/corpora/vendored/comment/let/comment-in-a-do-let.hs b/corpora/vendored/comment/let/comment-in-a-do-let.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/let/comment-in-a-do-let.hs
@@ -0,0 +1,8 @@
+module Route.Plan where
+
+plan :: IO Int
+plan = do
+  let -- worked out before anything is printed
+      stops = 9
+  print stops
+  pure stops
diff --git a/corpora/vendored/comment/let/comment-in-a-one-line-let-out.hs b/corpora/vendored/comment/let/comment-in-a-one-line-let-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/let/comment-in-a-one-line-let-out.hs
@@ -0,0 +1,4 @@
+module Route.Once where
+
+once :: Int
+once = let n = 1 {- settled when the timetable is built -} in n
diff --git a/corpora/vendored/comment/let/comment-in-a-one-line-let.hs b/corpora/vendored/comment/let/comment-in-a-one-line-let.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/let/comment-in-a-one-line-let.hs
@@ -0,0 +1,4 @@
+module Route.Once where
+
+once :: Int
+once = let n = 1 {- settled when the timetable is built -} in n
diff --git a/corpora/vendored/comment/let/comment-in-an-empty-let-out'.hs b/corpora/vendored/comment/let/comment-in-an-empty-let-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/let/comment-in-an-empty-let-out'.hs
@@ -0,0 +1,14 @@
+module Kiln.Schedule where
+
+firingHours :: Int
+firingHours =
+    let -- nothing to share yet
+     in 12
+
+coolingHours :: Int
+coolingHours =
+    let
+     in 8
+
+restHours :: Int
+restHours = let in 2
diff --git a/corpora/vendored/comment/let/comment-in-an-empty-let-out.hs b/corpora/vendored/comment/let/comment-in-an-empty-let-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/let/comment-in-an-empty-let-out.hs
@@ -0,0 +1,14 @@
+module Kiln.Schedule where
+
+firingHours :: Int
+firingHours =
+  let -- nothing to share yet
+   in 12
+
+coolingHours :: Int
+coolingHours =
+  let
+   in 8
+
+restHours :: Int
+restHours = let in 2
diff --git a/corpora/vendored/comment/let/comment-in-an-empty-let.hs b/corpora/vendored/comment/let/comment-in-an-empty-let.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/let/comment-in-an-empty-let.hs
@@ -0,0 +1,14 @@
+module Kiln.Schedule where
+
+firingHours :: Int
+firingHours =
+  let -- nothing to share yet
+   in 12
+
+coolingHours :: Int
+coolingHours =
+  let
+   in 8
+
+restHours :: Int
+restHours = let in 2
diff --git a/corpora/vendored/comment/let/comment-trailing-a-let-binding-out'.hs b/corpora/vendored/comment/let/comment-trailing-a-let-binding-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/let/comment-trailing-a-let-binding-out'.hs
@@ -0,0 +1,7 @@
+module Route.Delay where
+
+delay :: Int -> Int
+delay minutes =
+    let slack = 4 -- padding the timetable already allows
+        late = minutes - slack
+     in max 0 late
diff --git a/corpora/vendored/comment/let/comment-trailing-a-let-binding-out.hs b/corpora/vendored/comment/let/comment-trailing-a-let-binding-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/let/comment-trailing-a-let-binding-out.hs
@@ -0,0 +1,7 @@
+module Route.Delay where
+
+delay :: Int -> Int
+delay minutes =
+  let slack = 4 -- padding the timetable already allows
+      late = minutes - slack
+   in max 0 late
diff --git a/corpora/vendored/comment/let/comment-trailing-a-let-binding.hs b/corpora/vendored/comment/let/comment-trailing-a-let-binding.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/let/comment-trailing-a-let-binding.hs
@@ -0,0 +1,7 @@
+module Route.Delay where
+
+delay :: Int -> Int
+delay minutes =
+  let slack = 4 -- padding the timetable already allows
+      late = minutes - slack
+   in max 0 late
diff --git a/corpora/vendored/comment/let/comment-trailing-the-last-let-binding-out'.hs b/corpora/vendored/comment/let/comment-trailing-the-last-let-binding-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/let/comment-trailing-the-last-let-binding-out'.hs
@@ -0,0 +1,7 @@
+module Route.Final where
+
+final :: Int -> Int
+final n =
+    let first = n
+        second = first + 1 -- the one the caller actually gets
+     in second
diff --git a/corpora/vendored/comment/let/comment-trailing-the-last-let-binding-out.hs b/corpora/vendored/comment/let/comment-trailing-the-last-let-binding-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/let/comment-trailing-the-last-let-binding-out.hs
@@ -0,0 +1,7 @@
+module Route.Final where
+
+final :: Int -> Int
+final n =
+  let first = n
+      second = first + 1 -- the one the caller actually gets
+   in second
diff --git a/corpora/vendored/comment/let/comment-trailing-the-last-let-binding.hs b/corpora/vendored/comment/let/comment-trailing-the-last-let-binding.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/let/comment-trailing-the-last-let-binding.hs
@@ -0,0 +1,7 @@
+module Route.Final where
+
+final :: Int -> Int
+final n =
+  let first = n
+      second = first + 1 -- the one the caller actually gets
+   in second
diff --git a/corpora/vendored/comment/let/comment-under-a-right-hand-side-above-the-in-keyword-out'.hs b/corpora/vendored/comment/let/comment-under-a-right-hand-side-above-the-in-keyword-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/let/comment-under-a-right-hand-side-above-the-in-keyword-out'.hs
@@ -0,0 +1,7 @@
+module Route.Clamp where
+
+stops :: Int -> Int -> Int
+stops wanted total =
+    let served = min wanted total
+        -- never more than the line has
+     in served + 1
diff --git a/corpora/vendored/comment/let/comment-under-a-right-hand-side-above-the-in-keyword-out.hs b/corpora/vendored/comment/let/comment-under-a-right-hand-side-above-the-in-keyword-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/let/comment-under-a-right-hand-side-above-the-in-keyword-out.hs
@@ -0,0 +1,7 @@
+module Route.Clamp where
+
+stops :: Int -> Int -> Int
+stops wanted total =
+  let served = min wanted total
+      -- never more than the line has
+   in served + 1
diff --git a/corpora/vendored/comment/let/comment-under-a-right-hand-side-above-the-in-keyword.hs b/corpora/vendored/comment/let/comment-under-a-right-hand-side-above-the-in-keyword.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/let/comment-under-a-right-hand-side-above-the-in-keyword.hs
@@ -0,0 +1,7 @@
+module Route.Clamp where
+
+stops :: Int -> Int -> Int
+stops wanted total =
+  let served = min wanted total
+        -- never more than the line has
+   in served + 1
diff --git a/corpora/vendored/comment/remark/block-comment-carried-on-under-a-remark-out'.hs b/corpora/vendored/comment/remark/block-comment-carried-on-under-a-remark-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/remark/block-comment-carried-on-under-a-remark-out'.hs
@@ -0,0 +1,15 @@
+-- A block comment lined up under the remark that ends the line above
+-- carries that remark on, and stays under it wherever the remark goes.
+retries = 3 -- per parcel
+            {- doubled on a cold start -}
+
+backoff n = n * 2 -- grows with each try
+                  {- and is capped
+                     by the depot -}
+
+-- The same, where it is lined up under the line rather than the remark.
+pause = wait
+    where
+        wait = backoff 3 -- before the next try
+        {- in seconds,
+           at most ten -}
diff --git a/corpora/vendored/comment/remark/block-comment-carried-on-under-a-remark-out.hs b/corpora/vendored/comment/remark/block-comment-carried-on-under-a-remark-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/remark/block-comment-carried-on-under-a-remark-out.hs
@@ -0,0 +1,15 @@
+-- A block comment lined up under the remark that ends the line above
+-- carries that remark on, and stays under it wherever the remark goes.
+retries = 3 -- per parcel
+            {- doubled on a cold start -}
+
+backoff n = n * 2 -- grows with each try
+                  {- and is capped
+                     by the depot -}
+
+-- The same, where it is lined up under the line rather than the remark.
+pause = wait
+  where
+    wait = backoff 3 -- before the next try
+    {- in seconds,
+       at most ten -}
diff --git a/corpora/vendored/comment/remark/block-comment-carried-on-under-a-remark.hs b/corpora/vendored/comment/remark/block-comment-carried-on-under-a-remark.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/remark/block-comment-carried-on-under-a-remark.hs
@@ -0,0 +1,15 @@
+-- A block comment lined up under the remark that ends the line above
+-- carries that remark on, and stays under it wherever the remark goes.
+retries = 3 -- per parcel
+            {- doubled on a cold start -}
+
+backoff n  =  n * 2  -- grows with each try
+                     {- and is capped
+                        by the depot -}
+
+-- The same, where it is lined up under the line rather than the remark.
+pause = wait
+  where
+    wait  =  backoff 3 -- before the next try
+    {- in seconds,
+       at most ten -}
diff --git a/corpora/vendored/comment/remark/block-comment-on-the-line-of-a-held-back-remark-out'.hs b/corpora/vendored/comment/remark/block-comment-on-the-line-of-a-held-back-remark-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/remark/block-comment-on-the-line-of-a-held-back-remark-out'.hs
@@ -0,0 +1,11 @@
+module Loom.Shuttle where
+
+pass :: Int -> Int
+pass n = case -- the weft count
+    n of {- never negative -}
+    _ -> n + 1
+
+throw :: Int -> Int
+throw n = case -- one per row
+    n {- before the beat -} of
+    _ -> n
diff --git a/corpora/vendored/comment/remark/block-comment-on-the-line-of-a-held-back-remark-out.hs b/corpora/vendored/comment/remark/block-comment-on-the-line-of-a-held-back-remark-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/remark/block-comment-on-the-line-of-a-held-back-remark-out.hs
@@ -0,0 +1,11 @@
+module Loom.Shuttle where
+
+pass :: Int -> Int
+pass n = case -- the weft count
+  n of {- never negative -}
+  _ -> n + 1
+
+throw :: Int -> Int
+throw n = case -- one per row
+  n {- before the beat -} of
+  _ -> n
diff --git a/corpora/vendored/comment/remark/block-comment-on-the-line-of-a-held-back-remark.hs b/corpora/vendored/comment/remark/block-comment-on-the-line-of-a-held-back-remark.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/remark/block-comment-on-the-line-of-a-held-back-remark.hs
@@ -0,0 +1,11 @@
+module Loom.Shuttle where
+
+pass :: Int -> Int
+pass n = case -- the weft count
+  n of {- never negative -}
+  _ -> n + 1
+
+throw :: Int -> Int
+throw n = case -- one per row
+  n {- before the beat -} of
+  _ -> n
diff --git a/corpora/vendored/comment/remark/block-comment-under-a-remark-with-code-after-it-out'.hs b/corpora/vendored/comment/remark/block-comment-under-a-remark-with-code-after-it-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/remark/block-comment-under-a-remark-with-code-after-it-out'.hs
@@ -0,0 +1,9 @@
+module Kiln.Batch where
+
+batch :: Int
+batch =
+    go -- at dawn
+        {- first -} ( let heat = 1
+                          time = 2
+                       in heat
+                    )
diff --git a/corpora/vendored/comment/remark/block-comment-under-a-remark-with-code-after-it-out.hs b/corpora/vendored/comment/remark/block-comment-under-a-remark-with-code-after-it-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/remark/block-comment-under-a-remark-with-code-after-it-out.hs
@@ -0,0 +1,9 @@
+module Kiln.Batch where
+
+batch :: Int
+batch =
+  go -- at dawn
+    {- first -} ( let heat = 1
+                      time = 2
+                   in heat
+                )
diff --git a/corpora/vendored/comment/remark/block-comment-under-a-remark-with-code-after-it.hs b/corpora/vendored/comment/remark/block-comment-under-a-remark-with-code-after-it.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/remark/block-comment-under-a-remark-with-code-after-it.hs
@@ -0,0 +1,8 @@
+module Kiln.Batch where
+
+batch :: Int
+batch =
+  go -- at dawn
+    {- first -} (let heat = 1
+                     time = 2
+                  in heat)
diff --git a/corpora/vendored/comment/remark/comment-above-a-continuation-under-a-remark-out'.hs b/corpora/vendored/comment/remark/comment-above-a-continuation-under-a-remark-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/remark/comment-above-a-continuation-under-a-remark-out'.hs
@@ -0,0 +1,9 @@
+module Relevance.Entries (cons) where
+
+cons :: (Arg Nat, Term) -> Res -> Res
+cons a@(Arg ai i, t) vars
+    | isIrrelevant ai = applyUnless (any ((i ==) . unArg . fst) vars) (a :) vars
+    | otherwise =
+        a -- adding a relevant entry
+          -- filter out duplicate irrelevants
+            : filter (not . duplicateOf i) vars
diff --git a/corpora/vendored/comment/remark/comment-above-a-continuation-under-a-remark-out.hs b/corpora/vendored/comment/remark/comment-above-a-continuation-under-a-remark-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/remark/comment-above-a-continuation-under-a-remark-out.hs
@@ -0,0 +1,9 @@
+module Relevance.Entries (cons) where
+
+cons :: (Arg Nat, Term) -> Res -> Res
+cons a@(Arg ai i, t) vars
+  | isIrrelevant ai = applyUnless (any ((i ==) . unArg . fst) vars) (a :) vars
+  | otherwise =
+      a -- adding a relevant entry
+        -- filter out duplicate irrelevants
+        : filter (not . duplicateOf i) vars
diff --git a/corpora/vendored/comment/remark/comment-above-a-continuation-under-a-remark.hs b/corpora/vendored/comment/remark/comment-above-a-continuation-under-a-remark.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/remark/comment-above-a-continuation-under-a-remark.hs
@@ -0,0 +1,8 @@
+module Relevance.Entries (cons) where
+
+cons :: (Arg Nat, Term) -> Res -> Res
+cons a@(Arg ai i, t) vars
+  | isIrrelevant ai = applyUnless (any ((i ==) . unArg . fst) vars) (a :) vars
+  | otherwise = a : -- adding a relevant entry
+      -- filter out duplicate irrelevants
+      filter (not . duplicateOf i) vars
diff --git a/corpora/vendored/comment/remark/comment-carried-on-out'.hs b/corpora/vendored/comment/remark/comment-carried-on-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/remark/comment-carried-on-out'.hs
@@ -0,0 +1,72 @@
+-- A comment lined up under a line that ended in one, with nothing below it
+-- at that column, carries that remark on rather than beginning one about
+-- what follows.
+carriedOn xs ys =
+    [ (a, b)
+    | a <-
+        xs
+            + xs -- said once
+            -- and never twice
+    | b <- ys
+    ]
+
+-- The same, where what follows is not a sibling but nothing at all.
+class
+    a -- said once
+        :+ b -- said twice
+        -- and a third time
+
+-- Code below at the comment's own column is code the comment sits over,
+-- however the line above ended.
+sitsOver =
+    opening
+        <> -- said once
+        -- and never twice
+        closing
+
+-- Lined up with nothing, because the line above was blank.
+afterAGap = do
+    a --
+
+    bar
+
+-- Lined up with a line that has a comment on it but does not end in one, so
+-- there is no remark above to carry on.
+codeAfterTheComment =
+    g
+        (a {- said once -} + b)
+        -- and this is about something else
+    where
+        h = 1
+
+-- An empty line under the remark still separates what it trails from what
+-- comes next.
+gapUnderTheRemark = a ++ b
+    where
+        a =
+            [1]
+                ++ [2] -- said once
+                -- and never twice
+
+        b = []
+
+-- So does one under a comment that carries the remark on, among guards,
+-- which keep no empty line of their own.
+gapUnderTheRemarkAmongGuards x
+    | x > 1 = 1 -- said once
+                -- and never twice
+
+    | x > 0 =
+        2 -- said once
+        -- and never twice
+
+    | otherwise = 3
+
+-- Such a comment gets no empty line where the author left none, as right
+-- above a Haddock that moves up to what it documents.
+data NoGapAboveAHaddock = NoGapAboveAHaddock
+    { first :: Int -- said once
+                   -- and never twice
+    , second :: Int
+      -- ^ said elsewhere
+    }
diff --git a/corpora/vendored/comment/remark/comment-carried-on-out.hs b/corpora/vendored/comment/remark/comment-carried-on-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/remark/comment-carried-on-out.hs
@@ -0,0 +1,72 @@
+-- A comment lined up under a line that ended in one, with nothing below it
+-- at that column, carries that remark on rather than beginning one about
+-- what follows.
+carriedOn xs ys =
+  [ (a, b)
+  | a <-
+      xs
+        + xs -- said once
+        -- and never twice
+  | b <- ys
+  ]
+
+-- The same, where what follows is not a sibling but nothing at all.
+class
+  a -- said once
+    :+ b -- said twice
+    -- and a third time
+
+-- Code below at the comment's own column is code the comment sits over,
+-- however the line above ended.
+sitsOver =
+  opening
+    <> -- said once
+    -- and never twice
+    closing
+
+-- Lined up with nothing, because the line above was blank.
+afterAGap = do
+  a --
+
+  bar
+
+-- Lined up with a line that has a comment on it but does not end in one, so
+-- there is no remark above to carry on.
+codeAfterTheComment =
+  g
+    (a {- said once -} + b)
+    -- and this is about something else
+  where
+    h = 1
+
+-- An empty line under the remark still separates what it trails from what
+-- comes next.
+gapUnderTheRemark = a ++ b
+  where
+    a =
+      [1]
+        ++ [2] -- said once
+        -- and never twice
+
+    b = []
+
+-- So does one under a comment that carries the remark on, among guards,
+-- which keep no empty line of their own.
+gapUnderTheRemarkAmongGuards x
+  | x > 1 = 1 -- said once
+              -- and never twice
+
+  | x > 0 =
+      2 -- said once
+      -- and never twice
+
+  | otherwise = 3
+
+-- Such a comment gets no empty line where the author left none, as right
+-- above a Haddock that moves up to what it documents.
+data NoGapAboveAHaddock = NoGapAboveAHaddock
+  { first :: Int, -- said once
+                  -- and never twice
+    -- | said elsewhere
+    second :: Int
+  }
diff --git a/corpora/vendored/comment/remark/comment-carried-on-past-its-second-line-out'.hs b/corpora/vendored/comment/remark/comment-carried-on-past-its-second-line-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/remark/comment-carried-on-past-its-second-line-out'.hs
@@ -0,0 +1,21 @@
+module Kiln.Schedule where
+
+rampRate :: Int -> Int
+rampRate held =
+    clamp
+        ( between
+            (floorOf held)
+            (ceilingOf held) -- the kiln never reports
+            -- a reading below this
+            -- once the burners are lit
+        )
+
+soakTime :: Int -> Int
+soakTime held =
+    clamp
+        ( between
+            (floorOf held)
+            (ceilingOf held)
+          -- a remark of its own, begun here
+          -- and carried on to a second line
+        )
diff --git a/corpora/vendored/comment/remark/comment-carried-on-past-its-second-line-out.hs b/corpora/vendored/comment/remark/comment-carried-on-past-its-second-line-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/remark/comment-carried-on-past-its-second-line-out.hs
@@ -0,0 +1,21 @@
+module Kiln.Schedule where
+
+rampRate :: Int -> Int
+rampRate held =
+  clamp
+    ( between
+        (floorOf held)
+        (ceilingOf held) -- the kiln never reports
+        -- a reading below this
+        -- once the burners are lit
+    )
+
+soakTime :: Int -> Int
+soakTime held =
+  clamp
+    ( between
+        (floorOf held)
+        (ceilingOf held)
+      -- a remark of its own, begun here
+      -- and carried on to a second line
+    )
diff --git a/corpora/vendored/comment/remark/comment-carried-on-past-its-second-line.hs b/corpora/vendored/comment/remark/comment-carried-on-past-its-second-line.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/remark/comment-carried-on-past-its-second-line.hs
@@ -0,0 +1,21 @@
+module Kiln.Schedule where
+
+rampRate :: Int -> Int
+rampRate held =
+  clamp
+    ( between
+        (floorOf held)
+        (ceilingOf held) -- the kiln never reports
+        -- a reading below this
+        -- once the burners are lit
+    )
+
+soakTime :: Int -> Int
+soakTime held =
+  clamp
+    ( between
+        (floorOf held)
+        (ceilingOf held)
+        -- a remark of its own, begun here
+        -- and carried on to a second line
+    )
diff --git a/corpora/vendored/comment/remark/comment-carried-on-under-a-displaced-remark-out'.hs b/corpora/vendored/comment/remark/comment-carried-on-under-a-displaced-remark-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/remark/comment-carried-on-under-a-displaced-remark-out'.hs
@@ -0,0 +1,10 @@
+-- Where a remark ends the line of an operator and another that of its
+-- operand, the operand stays on its line, and what carries it on with it.
+guess =
+    catA
+        [ isBinaryDoc
+            >>> -- 0. guess
+            constA isoLatin1 -- the content
+                             -- this handling
+        , getChildren -- 1. guess
+        ]
diff --git a/corpora/vendored/comment/remark/comment-carried-on-under-a-displaced-remark-out.hs b/corpora/vendored/comment/remark/comment-carried-on-under-a-displaced-remark-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/remark/comment-carried-on-under-a-displaced-remark-out.hs
@@ -0,0 +1,10 @@
+-- Where a remark ends the line of an operator and another that of its
+-- operand, the operand stays on its line, and what carries it on with it.
+guess =
+  catA
+    [ isBinaryDoc
+        >>> -- 0. guess
+        constA isoLatin1, -- the content
+                          -- this handling
+      getChildren -- 1. guess
+    ]
diff --git a/corpora/vendored/comment/remark/comment-carried-on-under-a-displaced-remark.hs b/corpora/vendored/comment/remark/comment-carried-on-under-a-displaced-remark.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/remark/comment-carried-on-under-a-displaced-remark.hs
@@ -0,0 +1,8 @@
+-- Where a remark ends the line of an operator and another that of its
+-- operand, the operand stays on its line, and what carries it on with it.
+guess = catA [ isBinaryDoc
+               >>>                    -- 0. guess
+               constA isoLatin1       -- the content
+                                      -- this handling
+             , getChildren            -- 1. guess
+             ]
diff --git a/corpora/vendored/comment/remark/comment-carried-on-under-a-remark-and-more-out'.hs b/corpora/vendored/comment/remark/comment-carried-on-under-a-remark-and-more-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/remark/comment-carried-on-under-a-remark-and-more-out'.hs
@@ -0,0 +1,20 @@
+-- A comment under the remark that ends the line above, lined up with it or
+-- indented further, carries the remark on, even where the code under it
+-- begins at the same column.
+data AttrTable a -- for all attribute identifiers not contained in the
+                 -- finite map the value is 'undef'
+    = SoftTable a -- updated attributes
+    | FrozenTable a
+
+data Part
+    = Literal String -- a literal string
+    | Variable String -- some input; the
+                      -- string names the variable
+    | Optional Part
+
+decode :: String -> Either String String
+decode b = -- returning an Either means the whole result
+           -- is in memory at once anyway
+    case reverse b of
+        [] -> Left "empty"
+        s -> Right s
diff --git a/corpora/vendored/comment/remark/comment-carried-on-under-a-remark-and-more-out.hs b/corpora/vendored/comment/remark/comment-carried-on-under-a-remark-and-more-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/remark/comment-carried-on-under-a-remark-and-more-out.hs
@@ -0,0 +1,20 @@
+-- A comment under the remark that ends the line above, lined up with it or
+-- indented further, carries the remark on, even where the code under it
+-- begins at the same column.
+data AttrTable a -- for all attribute identifiers not contained in the
+                 -- finite map the value is 'undef'
+  = SoftTable a -- updated attributes
+  | FrozenTable a
+
+data Part
+  = Literal String -- a literal string
+  | Variable String -- some input; the
+                    -- string names the variable
+  | Optional Part
+
+decode :: String -> Either String String
+decode b = -- returning an Either means the whole result
+           -- is in memory at once anyway
+  case reverse b of
+    [] -> Left "empty"
+    s -> Right s
diff --git a/corpora/vendored/comment/remark/comment-carried-on-under-a-remark-and-more.hs b/corpora/vendored/comment/remark/comment-carried-on-under-a-remark-and-more.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/remark/comment-carried-on-under-a-remark-and-more.hs
@@ -0,0 +1,20 @@
+-- A comment under the remark that ends the line above, lined up with it or
+-- indented further, carries the remark on, even where the code under it
+-- begins at the same column.
+data AttrTable a = -- for all attribute identifiers not contained in the
+                   -- finite map the value is 'undef'
+                   SoftTable a  -- updated attributes
+                 | FrozenTable a
+
+data Part
+  = Literal String  -- a literal string
+  | Variable String  -- some input; the
+                          -- string names the variable
+  | Optional Part
+
+decode :: String -> Either String String
+decode b = -- returning an Either means the whole result
+           -- is in memory at once anyway
+           case reverse b of
+             [] -> Left "empty"
+             s -> Right s
diff --git a/corpora/vendored/comment/remark/comment-carried-on-under-a-remark-out'.hs b/corpora/vendored/comment/remark/comment-carried-on-under-a-remark-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/remark/comment-carried-on-under-a-remark-out'.hs
@@ -0,0 +1,17 @@
+-- A comment lined up under the remark that ends the line above carries that
+-- remark on, and stays under it.
+data Directive
+    = Wrapper String -- use this wrapper
+    | ActionType String -- type signature of actions,
+                        -- with optional typeclasses
+    | TypeClass String
+
+data Record = Record
+    { actionType :: String -- type signature of actions,
+                           -- with optional typeclasses
+    , typeClass :: String
+    }
+
+carriedOn = a + b -- said once
+                  -- and never twice
+nextOne = 1
diff --git a/corpora/vendored/comment/remark/comment-carried-on-under-a-remark-out.hs b/corpora/vendored/comment/remark/comment-carried-on-under-a-remark-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/remark/comment-carried-on-under-a-remark-out.hs
@@ -0,0 +1,17 @@
+-- A comment lined up under the remark that ends the line above carries that
+-- remark on, and stays under it.
+data Directive
+  = Wrapper String -- use this wrapper
+  | ActionType String -- type signature of actions,
+                      -- with optional typeclasses
+  | TypeClass String
+
+data Record = Record
+  { actionType :: String, -- type signature of actions,
+                          -- with optional typeclasses
+    typeClass :: String
+  }
+
+carriedOn = a + b -- said once
+                  -- and never twice
+nextOne = 1
diff --git a/corpora/vendored/comment/remark/comment-carried-on-under-a-remark.hs b/corpora/vendored/comment/remark/comment-carried-on-under-a-remark.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/remark/comment-carried-on-under-a-remark.hs
@@ -0,0 +1,17 @@
+-- A comment lined up under the remark that ends the line above carries that
+-- remark on, and stays under it.
+data Directive
+  = Wrapper String  -- use this wrapper
+  | ActionType String  -- type signature of actions,
+                       -- with optional typeclasses
+  | TypeClass String
+
+data Record = Record
+  { actionType :: String  -- type signature of actions,
+                          -- with optional typeclasses
+  , typeClass :: String
+  }
+
+carriedOn = a + b  -- said once
+                   -- and never twice
+nextOne = 1
diff --git a/corpora/vendored/comment/remark/comment-carried-on.hs b/corpora/vendored/comment/remark/comment-carried-on.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/remark/comment-carried-on.hs
@@ -0,0 +1,70 @@
+-- A comment lined up under a line that ended in one, with nothing below it
+-- at that column, carries that remark on rather than beginning one about
+-- what follows.
+carriedOn xs ys =
+  [ (a, b)
+  | a <- xs
+      + xs -- said once
+      -- and never twice
+  | b <- ys
+  ]
+
+-- The same, where what follows is not a sibling but nothing at all.
+class
+  a -- said once
+    :+ b -- said twice
+    -- and a third time
+
+-- Code below at the comment's own column is code the comment sits over,
+-- however the line above ended.
+sitsOver =
+  opening
+    <> -- said once
+    -- and never twice
+    closing
+
+-- Lined up with nothing, because the line above was blank.
+afterAGap = do
+  a --
+
+  bar
+
+-- Lined up with a line that has a comment on it but does not end in one, so
+-- there is no remark above to carry on.
+codeAfterTheComment = g
+      (a {- said once -} + b)
+      -- and this is about something else
+  where
+    h = 1
+
+-- An empty line under the remark still separates what it trails from what
+-- comes next.
+gapUnderTheRemark = a ++ b
+  where
+    a =
+      [1]
+        ++ [2] -- said once
+        -- and never twice
+
+    b = []
+
+-- So does one under a comment that carries the remark on, among guards,
+-- which keep no empty line of their own.
+gapUnderTheRemarkAmongGuards x
+  | x > 1 = 1 -- said once
+              -- and never twice
+
+  | x > 0
+  = 2  -- said once
+    -- and never twice
+
+  | otherwise = 3
+
+-- Such a comment gets no empty line where the author left none, as right
+-- above a Haddock that moves up to what it documents.
+data NoGapAboveAHaddock = NoGapAboveAHaddock
+  { first :: Int -- said once
+                 -- and never twice
+  , second :: Int
+    -- ^ said elsewhere
+  }
diff --git a/corpora/vendored/comment/remark/comment-under-a-remark-above-the-next-field-out'.hs b/corpora/vendored/comment/remark/comment-under-a-remark-above-the-next-field-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/remark/comment-under-a-remark-above-the-next-field-out'.hs
@@ -0,0 +1,9 @@
+-- A comment under a remark but left of it is not the remark carried on:
+-- it goes with the field under it.
+module Shipment.Parcel where
+
+data Parcel = Parcel
+    { weight :: Double -- in kilograms
+      -- the declared value, for customs
+    , value :: Int
+    }
diff --git a/corpora/vendored/comment/remark/comment-under-a-remark-above-the-next-field-out.hs b/corpora/vendored/comment/remark/comment-under-a-remark-above-the-next-field-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/remark/comment-under-a-remark-above-the-next-field-out.hs
@@ -0,0 +1,9 @@
+-- A comment under a remark but left of it is not the remark carried on:
+-- it goes with the field under it.
+module Shipment.Parcel where
+
+data Parcel = Parcel
+  { weight :: Double, -- in kilograms
+    -- the declared value, for customs
+    value :: Int
+  }
diff --git a/corpora/vendored/comment/remark/comment-under-a-remark-above-the-next-field.hs b/corpora/vendored/comment/remark/comment-under-a-remark-above-the-next-field.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/remark/comment-under-a-remark-above-the-next-field.hs
@@ -0,0 +1,9 @@
+-- A comment under a remark but left of it is not the remark carried on:
+-- it goes with the field under it.
+module Shipment.Parcel where
+
+data Parcel = Parcel
+  { weight :: Double, -- in kilograms
+    -- the declared value, for customs
+    value :: Int
+  }
diff --git a/corpora/vendored/comment/remark/remark-carried-on-past-an-empty-comment-line-out'.hs b/corpora/vendored/comment/remark/remark-carried-on-past-an-empty-comment-line-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/remark/remark-carried-on-past-an-empty-comment-line-out'.hs
@@ -0,0 +1,22 @@
+module Courier.Retry where
+
+timeout :: Int
+timeout = 30 -- seconds
+             --
+             -- the depot gives up at sixty
+
+data Policy = Policy
+    { retries :: Int -- per parcel
+                     --
+                     -- doubled on a cold start
+    , backoff :: Int
+    }
+
+delays :: [Int]
+delays =
+    [ 1
+    , 2 -- doubled
+        --
+        -- then capped
+    , 4
+    ]
diff --git a/corpora/vendored/comment/remark/remark-carried-on-past-an-empty-comment-line-out.hs b/corpora/vendored/comment/remark/remark-carried-on-past-an-empty-comment-line-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/remark/remark-carried-on-past-an-empty-comment-line-out.hs
@@ -0,0 +1,22 @@
+module Courier.Retry where
+
+timeout :: Int
+timeout = 30 -- seconds
+             --
+             -- the depot gives up at sixty
+
+data Policy = Policy
+  { retries :: Int, -- per parcel
+                    --
+                    -- doubled on a cold start
+    backoff :: Int
+  }
+
+delays :: [Int]
+delays =
+  [ 1,
+    2, -- doubled
+       --
+       -- then capped
+    4
+  ]
diff --git a/corpora/vendored/comment/remark/remark-carried-on-past-an-empty-comment-line.hs b/corpora/vendored/comment/remark/remark-carried-on-past-an-empty-comment-line.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/remark/remark-carried-on-past-an-empty-comment-line.hs
@@ -0,0 +1,19 @@
+module Courier.Retry where
+
+timeout :: Int
+timeout   = 30 -- seconds
+               --
+               -- the depot gives up at sixty
+
+data Policy = Policy
+  { retries :: Int -- per parcel
+                   --
+                   -- doubled on a cold start
+  , backoff :: Int
+  }
+
+delays :: [Int]
+delays = [ 1, 2 -- doubled
+                --
+                -- then capped
+         , 4 ]
diff --git a/corpora/vendored/comment/remark/remark-held-back-to-a-line-a-quasi-quotation-continues-out'.hs b/corpora/vendored/comment/remark/remark-held-back-to-a-line-a-quasi-quotation-continues-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/remark/remark-held-back-to-a-line-a-quasi-quotation-continues-out'.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE QuasiQuotes #-}
+
+module Press.Plate where
+
+plate :: Text -> Text
+plate title = render -- in the house style
+    $ \width -> [banner|
+  ${title}
+|]
+
+proof :: Text -> Text
+proof title = render -- before the final run
+    $ do [banner|
+  ${title}
+|]
diff --git a/corpora/vendored/comment/remark/remark-held-back-to-a-line-a-quasi-quotation-continues-out.hs b/corpora/vendored/comment/remark/remark-held-back-to-a-line-a-quasi-quotation-continues-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/remark/remark-held-back-to-a-line-a-quasi-quotation-continues-out.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE QuasiQuotes #-}
+
+module Press.Plate where
+
+plate :: Text -> Text
+plate title = render -- in the house style
+  $ \width -> [banner|
+  ${title}
+|]
+
+proof :: Text -> Text
+proof title = render -- before the final run
+  $ do [banner|
+  ${title}
+|]
diff --git a/corpora/vendored/comment/remark/remark-held-back-to-a-line-a-quasi-quotation-continues.hs b/corpora/vendored/comment/remark/remark-held-back-to-a-line-a-quasi-quotation-continues.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/remark/remark-held-back-to-a-line-a-quasi-quotation-continues.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE QuasiQuotes #-}
+
+module Press.Plate where
+
+plate :: Text -> Text
+plate title = render -- in the house style
+  $ \width -> [banner|
+  ${title}
+|]
+
+proof :: Text -> Text
+proof title = render -- before the final run
+  $ do [banner|
+  ${title}
+|]
diff --git a/corpora/vendored/comment/remark/trailing-comment-above-comments-under-a-right-hand-side-out'.hs b/corpora/vendored/comment/remark/trailing-comment-above-comments-under-a-right-hand-side-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/remark/trailing-comment-above-comments-under-a-right-hand-side-out'.hs
@@ -0,0 +1,15 @@
+module Matching where
+
+matches :: Int -> Int -> Bool
+matches a b = a == b -- quick test
+              -- and not the full one
+
+instance Eq Ledger where
+    a == b = name a == name b -- names only
+             -- the rest follows from them
+
+render :: Int -> [Int]
+render x = case x of
+    0 -> [1] -- a zero-width space
+         -- to avoid an empty box
+    _ -> []
diff --git a/corpora/vendored/comment/remark/trailing-comment-above-comments-under-a-right-hand-side-out.hs b/corpora/vendored/comment/remark/trailing-comment-above-comments-under-a-right-hand-side-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/remark/trailing-comment-above-comments-under-a-right-hand-side-out.hs
@@ -0,0 +1,15 @@
+module Matching where
+
+matches :: Int -> Int -> Bool
+matches a b = a == b -- quick test
+              -- and not the full one
+
+instance Eq Ledger where
+  a == b = name a == name b -- names only
+           -- the rest follows from them
+
+render :: Int -> [Int]
+render x = case x of
+  0 -> [1] -- a zero-width space
+       -- to avoid an empty box
+  _ -> []
diff --git a/corpora/vendored/comment/remark/trailing-comment-above-comments-under-a-right-hand-side.hs b/corpora/vendored/comment/remark/trailing-comment-above-comments-under-a-right-hand-side.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/remark/trailing-comment-above-comments-under-a-right-hand-side.hs
@@ -0,0 +1,15 @@
+module Matching where
+
+matches :: Int -> Int -> Bool
+matches a b = a == b -- quick test
+              -- and not the full one
+
+instance Eq Ledger where
+  a == b = name a == name b  -- names only
+           -- the rest follows from them
+
+render :: Int -> [Int]
+render x = case x of
+   0   -> [1]  -- a zero-width space
+          -- to avoid an empty box
+   _ -> []
diff --git a/corpora/vendored/comment/separator/block-comment-across-lines-after-a-separator-out'.hs b/corpora/vendored/comment/separator/block-comment-across-lines-after-a-separator-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/separator/block-comment-across-lines-after-a-separator-out'.hs
@@ -0,0 +1,18 @@
+module Ledger.Entry where
+
+amount entry = case entry of
+    Credit n ->
+        {- paid in,
+        as written -}
+        n
+    Debit n -> negate n
+
+signed = \n ->
+    {- the sign
+    is the caller's -}
+    n
+
+opening =
+    {- carried over
+    from last year -}
+    0
diff --git a/corpora/vendored/comment/separator/block-comment-across-lines-after-a-separator-out.hs b/corpora/vendored/comment/separator/block-comment-across-lines-after-a-separator-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/separator/block-comment-across-lines-after-a-separator-out.hs
@@ -0,0 +1,18 @@
+module Ledger.Entry where
+
+amount entry = case entry of
+  Credit n ->
+    {- paid in,
+    as written -}
+    n
+  Debit n -> negate n
+
+signed = \n ->
+  {- the sign
+  is the caller's -}
+  n
+
+opening =
+  {- carried over
+  from last year -}
+  0
diff --git a/corpora/vendored/comment/separator/block-comment-across-lines-after-a-separator.hs b/corpora/vendored/comment/separator/block-comment-across-lines-after-a-separator.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/separator/block-comment-across-lines-after-a-separator.hs
@@ -0,0 +1,15 @@
+module Ledger.Entry where
+
+amount entry = case entry of
+  Credit n -> {- paid in,
+    as written -}
+    n
+  Debit n -> negate n
+
+signed = \n -> {- the sign
+  is the caller's -}
+  n
+
+opening = {- carried over
+  from last year -}
+  0
diff --git a/corpora/vendored/comment/separator/block-comment-opening-a-right-hand-side-out'.hs b/corpora/vendored/comment/separator/block-comment-opening-a-right-hand-side-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/separator/block-comment-opening-a-right-hand-side-out'.hs
@@ -0,0 +1,5 @@
+module Pricing.Rounding where
+
+roundDown :: Double -> Int
+roundDown =
+    {- toward zero -} truncate
diff --git a/corpora/vendored/comment/separator/block-comment-opening-a-right-hand-side-out.hs b/corpora/vendored/comment/separator/block-comment-opening-a-right-hand-side-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/separator/block-comment-opening-a-right-hand-side-out.hs
@@ -0,0 +1,5 @@
+module Pricing.Rounding where
+
+roundDown :: Double -> Int
+roundDown =
+  {- toward zero -} truncate
diff --git a/corpora/vendored/comment/separator/block-comment-opening-a-right-hand-side.hs b/corpora/vendored/comment/separator/block-comment-opening-a-right-hand-side.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/separator/block-comment-opening-a-right-hand-side.hs
@@ -0,0 +1,5 @@
+module Pricing.Rounding where
+
+roundDown :: Double -> Int
+roundDown =
+  {- toward zero -} truncate
diff --git a/corpora/vendored/comment/separator/comment-across-a-separator-out'.hs b/corpora/vendored/comment/separator/comment-across-a-separator-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/separator/comment-across-a-separator-out'.hs
@@ -0,0 +1,30 @@
+-- A block comment closes itself, so it is printed where the region that
+-- carries it is printed. It must not be carried back across the token that
+-- opens a body, or it comes out in front of what is being defined.
+plain =
+    {- one at a time -}
+    1
+
+withArguments n m =
+    {- takes two -}
+    n + m
+
+inAnAlternative n =
+    case n of
+        0 ->
+            {- the base case -}
+            stop
+        _ -> go n
+
+-- A token in the middle of a construct is another matter: a comment after
+-- it stays after it, neither leaving the construct nor landing in front of
+-- it.
+inTheMiddle n =
+    case n of {- worth a look -}
+        0 -> stop
+        _ -> go n
+
+-- A line comment owns the rest of its line wherever it is put, so it stays
+-- at the end of the line the author wrote it on.
+heldBack n = -- one at a time
+    n
diff --git a/corpora/vendored/comment/separator/comment-across-a-separator-out.hs b/corpora/vendored/comment/separator/comment-across-a-separator-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/separator/comment-across-a-separator-out.hs
@@ -0,0 +1,30 @@
+-- A block comment closes itself, so it is printed where the region that
+-- carries it is printed. It must not be carried back across the token that
+-- opens a body, or it comes out in front of what is being defined.
+plain =
+  {- one at a time -}
+  1
+
+withArguments n m =
+  {- takes two -}
+  n + m
+
+inAnAlternative n =
+  case n of
+    0 ->
+      {- the base case -}
+      stop
+    _ -> go n
+
+-- A token in the middle of a construct is another matter: a comment after
+-- it stays after it, neither leaving the construct nor landing in front of
+-- it.
+inTheMiddle n =
+  case n of {- worth a look -}
+    0 -> stop
+    _ -> go n
+
+-- A line comment owns the rest of its line wherever it is put, so it stays
+-- at the end of the line the author wrote it on.
+heldBack n = -- one at a time
+  n
diff --git a/corpora/vendored/comment/separator/comment-across-a-separator.hs b/corpora/vendored/comment/separator/comment-across-a-separator.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/separator/comment-across-a-separator.hs
@@ -0,0 +1,27 @@
+-- A block comment closes itself, so it is printed where the region that
+-- carries it is printed. It must not be carried back across the token that
+-- opens a body, or it comes out in front of what is being defined.
+plain = {- one at a time -}
+  1
+
+withArguments n m = {- takes two -}
+  n + m
+
+inAnAlternative n =
+  case n of
+    0 -> {- the base case -}
+      stop
+    _ -> go n
+
+-- A token in the middle of a construct is another matter: a comment after
+-- it stays after it, neither leaving the construct nor landing in front of
+-- it.
+inTheMiddle n =
+  case n of {- worth a look -}
+    0 -> stop
+    _ -> go n
+
+-- A line comment owns the rest of its line wherever it is put, so it stays
+-- at the end of the line the author wrote it on.
+heldBack n = -- one at a time
+  n
diff --git a/corpora/vendored/comment/separator/comment-after-a-command-do-out'.hs b/corpora/vendored/comment/separator/comment-after-a-command-do-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/separator/comment-after-a-command-do-out'.hs
@@ -0,0 +1,7 @@
+{-# LANGUAGE Arrows #-}
+
+module Cache.Pipeline where
+
+widen f = proc entry -> do -- one stage at a time, so a failure names the stage
+    warmed <- f -< entry
+    returnA -< warmed
diff --git a/corpora/vendored/comment/separator/comment-after-a-command-do-out.hs b/corpora/vendored/comment/separator/comment-after-a-command-do-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/separator/comment-after-a-command-do-out.hs
@@ -0,0 +1,7 @@
+{-# LANGUAGE Arrows #-}
+
+module Cache.Pipeline where
+
+widen f = proc entry -> do -- one stage at a time, so a failure names the stage
+  warmed <- f -< entry
+  returnA -< warmed
diff --git a/corpora/vendored/comment/separator/comment-after-a-command-do.hs b/corpora/vendored/comment/separator/comment-after-a-command-do.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/separator/comment-after-a-command-do.hs
@@ -0,0 +1,7 @@
+{-# LANGUAGE Arrows #-}
+
+module Cache.Pipeline where
+
+widen f = proc entry -> do -- one stage at a time, so a failure names the stage
+  warmed <- f -< entry
+  returnA -< warmed
diff --git a/corpora/vendored/comment/separator/comment-after-a-guard-bar-out'.hs b/corpora/vendored/comment/separator/comment-after-a-guard-bar-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/separator/comment-after-a-guard-bar-out'.hs
@@ -0,0 +1,8 @@
+module Tariff.Discount where
+
+discount :: Int -> Bool -> Int
+discount age student
+    | -- children travel free
+      age < 12 = 0
+    | {- students -} student = 50
+    | otherwise = 100
diff --git a/corpora/vendored/comment/separator/comment-after-a-guard-bar-out.hs b/corpora/vendored/comment/separator/comment-after-a-guard-bar-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/separator/comment-after-a-guard-bar-out.hs
@@ -0,0 +1,8 @@
+module Tariff.Discount where
+
+discount :: Int -> Bool -> Int
+discount age student
+  | -- children travel free
+    age < 12 = 0
+  | {- students -} student = 50
+  | otherwise = 100
diff --git a/corpora/vendored/comment/separator/comment-after-a-guard-bar.hs b/corpora/vendored/comment/separator/comment-after-a-guard-bar.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/separator/comment-after-a-guard-bar.hs
@@ -0,0 +1,8 @@
+module Tariff.Discount where
+
+discount :: Int -> Bool -> Int
+discount age student
+  | -- children travel free
+    age < 12 = 0
+  | {- students -} student = 50
+  | otherwise = 100
diff --git a/corpora/vendored/comment/separator/comment-after-a-guard-separator-out'.hs b/corpora/vendored/comment/separator/comment-after-a-guard-separator-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/separator/comment-after-a-guard-separator-out'.hs
@@ -0,0 +1,19 @@
+module M where
+
+f x
+    | x > 0 =
+        {- positive -}
+        1
+    | x < 0 = -- negative
+        2
+    | otherwise =
+        {- zero,
+        or close -}
+        3
+
+g x = case x of
+    Just y
+        | y > 0 ->
+            {- positive -}
+            y
+    _ -> 0
diff --git a/corpora/vendored/comment/separator/comment-after-a-guard-separator-out.hs b/corpora/vendored/comment/separator/comment-after-a-guard-separator-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/separator/comment-after-a-guard-separator-out.hs
@@ -0,0 +1,19 @@
+module M where
+
+f x
+  | x > 0 =
+      {- positive -}
+      1
+  | x < 0 = -- negative
+      2
+  | otherwise =
+      {- zero,
+      or close -}
+      3
+
+g x = case x of
+  Just y
+    | y > 0 ->
+        {- positive -}
+        y
+  _ -> 0
diff --git a/corpora/vendored/comment/separator/comment-after-a-guard-separator.hs b/corpora/vendored/comment/separator/comment-after-a-guard-separator.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/separator/comment-after-a-guard-separator.hs
@@ -0,0 +1,16 @@
+module M where
+
+f x
+  | x > 0 = {- positive -}
+      1
+  | x < 0 = -- negative
+      2
+  | otherwise = {- zero,
+      or close -}
+      3
+
+g x = case x of
+  Just y
+    | y > 0 -> {- positive -}
+        y
+  _ -> 0
diff --git a/corpora/vendored/comment/separator/comment-after-an-arrow-out'.hs b/corpora/vendored/comment/separator/comment-after-an-arrow-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/separator/comment-after-an-arrow-out'.hs
@@ -0,0 +1,11 @@
+module M where
+
+f
+    :: Int {- the count -}
+    -> Bool
+g
+    :: Int -- the count
+    -> Int {- the limit,
+           if any -}
+    -> Bool
+h :: Int -> {- a -} Bool
diff --git a/corpora/vendored/comment/separator/comment-after-an-arrow-out.hs b/corpora/vendored/comment/separator/comment-after-an-arrow-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/separator/comment-after-an-arrow-out.hs
@@ -0,0 +1,13 @@
+module M where
+
+f ::
+  Int ->
+  {- the count -}
+  Bool
+g ::
+  Int -> -- the count
+  Int ->
+  {- the limit,
+  if any -}
+  Bool
+h :: Int -> {- a -} Bool
diff --git a/corpora/vendored/comment/separator/comment-after-an-arrow.hs b/corpora/vendored/comment/separator/comment-after-an-arrow.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/separator/comment-after-an-arrow.hs
@@ -0,0 +1,12 @@
+module M where
+
+f :: Int -> {- the count -}
+  Bool
+
+g ::
+  Int -> -- the count
+  Int -> {- the limit,
+    if any -}
+  Bool
+
+h :: Int -> {- a -} Bool
diff --git a/corpora/vendored/comment/separator/comment-after-do-out'.hs b/corpora/vendored/comment/separator/comment-after-do-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/separator/comment-after-do-out'.hs
@@ -0,0 +1,8 @@
+warmEverything =
+    entries
+        >>= \entry -> -- one at a time, so a failure names the entry
+            warm entry
+
+reportOn entry = do -- the counters are read once, before any of this runs
+    hits <- readCounter entry
+    pure hits
diff --git a/corpora/vendored/comment/separator/comment-after-do-out.hs b/corpora/vendored/comment/separator/comment-after-do-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/separator/comment-after-do-out.hs
@@ -0,0 +1,8 @@
+warmEverything =
+  entries
+    >>= \entry -> -- one at a time, so a failure names the entry
+      warm entry
+
+reportOn entry = do -- the counters are read once, before any of this runs
+  hits <- readCounter entry
+  pure hits
diff --git a/corpora/vendored/comment/separator/comment-after-do.hs b/corpora/vendored/comment/separator/comment-after-do.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/separator/comment-after-do.hs
@@ -0,0 +1,8 @@
+warmEverything =
+  entries
+    >>= \entry -> -- one at a time, so a failure names the entry
+      warm entry
+
+reportOn entry = do -- the counters are read once, before any of this runs
+  hits <- readCounter entry
+  pure hits
diff --git a/corpora/vendored/comment/separator/comment-after-the-equals-sign-out'.hs b/corpora/vendored/comment/separator/comment-after-the-equals-sign-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/separator/comment-after-the-equals-sign-out'.hs
@@ -0,0 +1,16 @@
+module M where
+
+data Answer
+    = {- in the order asked -}
+      Yes
+    | No
+
+data Size
+    = {- small
+      ones first -}
+      Small
+    | Large
+
+newtype Count
+    = {- of answers -}
+      Count Int
diff --git a/corpora/vendored/comment/separator/comment-after-the-equals-sign-out.hs b/corpora/vendored/comment/separator/comment-after-the-equals-sign-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/separator/comment-after-the-equals-sign-out.hs
@@ -0,0 +1,16 @@
+module M where
+
+data Answer
+  = {- in the order asked -}
+    Yes
+  | No
+
+data Size
+  = {- small
+    ones first -}
+    Small
+  | Large
+
+newtype Count
+  = {- of answers -}
+    Count Int
diff --git a/corpora/vendored/comment/separator/comment-after-the-equals-sign.hs b/corpora/vendored/comment/separator/comment-after-the-equals-sign.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/separator/comment-after-the-equals-sign.hs
@@ -0,0 +1,11 @@
+module M where
+
+data Answer = {- in the order asked -}
+  Yes | No
+
+data Size = {- small
+  ones first -}
+  Small | Large
+
+newtype Count = {- of answers -}
+  Count Int
diff --git a/corpora/vendored/comment/separator/comment-before-a-scrutinee-out'.hs b/corpora/vendored/comment/separator/comment-before-a-scrutinee-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/separator/comment-before-a-scrutinee-out'.hs
@@ -0,0 +1,17 @@
+-- A comment on lines of its own between a case and its scrutinee, or
+-- between a minus and what it negates, puts what follows it a step in,
+-- where at the column of the case in a do block it would begin a statement.
+module Kripke.Explicit where
+
+successors model w = do
+    case
+        -- the relation is kept by world
+        lookup w (relation model) of
+        Nothing -> pure []
+        Just ws -> pure ws
+
+depth n = do
+    level <- current
+    -
+        -- below the surface
+        level
diff --git a/corpora/vendored/comment/separator/comment-before-a-scrutinee-out.hs b/corpora/vendored/comment/separator/comment-before-a-scrutinee-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/separator/comment-before-a-scrutinee-out.hs
@@ -0,0 +1,17 @@
+-- A comment on lines of its own between a case and its scrutinee, or
+-- between a minus and what it negates, puts what follows it a step in,
+-- where at the column of the case in a do block it would begin a statement.
+module Kripke.Explicit where
+
+successors model w = do
+  case
+    -- the relation is kept by world
+    lookup w (relation model) of
+    Nothing -> pure []
+    Just ws -> pure ws
+
+depth n = do
+  level <- current
+  -
+    -- below the surface
+    level
diff --git a/corpora/vendored/comment/separator/comment-before-a-scrutinee.hs b/corpora/vendored/comment/separator/comment-before-a-scrutinee.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/separator/comment-before-a-scrutinee.hs
@@ -0,0 +1,17 @@
+-- A comment on lines of its own between a case and its scrutinee, or
+-- between a minus and what it negates, puts what follows it a step in,
+-- where at the column of the case in a do block it would begin a statement.
+module Kripke.Explicit where
+
+successors model w = do
+  case
+    -- the relation is kept by world
+    lookup w (relation model) of
+      Nothing -> pure []
+      Just ws -> pure ws
+
+depth n = do
+  level <- current
+  -
+    -- below the surface
+    level
diff --git a/corpora/vendored/comment/separator/comment-below-keyword-out'.hs b/corpora/vendored/comment/separator/comment-below-keyword-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/separator/comment-below-keyword-out'.hs
@@ -0,0 +1,27 @@
+afterAnEquals n =
+    let step = -- one at a time
+            -- and no faster than that
+            1
+     in n + step
+
+afterAnArrow n =
+    case compare n 0 of
+        GT -> -- above zero
+            -- so we climb
+            climb n
+        EQ -> stay
+        LT -> fall n
+
+afterThen n =
+    if n > 0
+        then -- the only interesting branch
+            -- and the only one worth a remark
+            climb n
+        else fall n
+
+afterElse n =
+    if n > 0
+        then climb n
+        else -- everything that is left
+            -- which is most of it
+            fall n
diff --git a/corpora/vendored/comment/separator/comment-below-keyword-out.hs b/corpora/vendored/comment/separator/comment-below-keyword-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/separator/comment-below-keyword-out.hs
@@ -0,0 +1,27 @@
+afterAnEquals n =
+  let step = -- one at a time
+        -- and no faster than that
+        1
+   in n + step
+
+afterAnArrow n =
+  case compare n 0 of
+    GT -> -- above zero
+      -- so we climb
+      climb n
+    EQ -> stay
+    LT -> fall n
+
+afterThen n =
+  if n > 0
+    then -- the only interesting branch
+      -- and the only one worth a remark
+      climb n
+    else fall n
+
+afterElse n =
+  if n > 0
+    then climb n
+    else -- everything that is left
+      -- which is most of it
+      fall n
diff --git a/corpora/vendored/comment/separator/comment-below-keyword.hs b/corpora/vendored/comment/separator/comment-below-keyword.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/separator/comment-below-keyword.hs
@@ -0,0 +1,27 @@
+afterAnEquals n =
+  let step = -- one at a time
+        -- and no faster than that
+        1
+   in n + step
+
+afterAnArrow n =
+  case compare n 0 of
+    GT -> -- above zero
+      -- so we climb
+      climb n
+    EQ -> stay
+    LT -> fall n
+
+afterThen n =
+  if n > 0
+    then -- the only interesting branch
+      -- and the only one worth a remark
+      climb n
+    else fall n
+
+afterElse n =
+  if n > 0
+    then climb n
+    else -- everything that is left
+      -- which is most of it
+      fall n
diff --git a/corpora/vendored/comment/separator/comment-in-a-command-chain-out'.hs b/corpora/vendored/comment/separator/comment-in-a-command-chain-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/separator/comment-in-a-command-chain-out'.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE Arrows #-}
+
+module Cache.Lookup where
+
+-- An operator written at the end of a line goes to the start of the next,
+-- and a comment written after it stays with the operand it follows.
+fetch local remote = proc key ->
+    (local -< key) -- cheap when it hits
+        <+> (remote -< key)
diff --git a/corpora/vendored/comment/separator/comment-in-a-command-chain-out.hs b/corpora/vendored/comment/separator/comment-in-a-command-chain-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/separator/comment-in-a-command-chain-out.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE Arrows #-}
+
+module Cache.Lookup where
+
+-- An operator written at the end of a line goes to the start of the next,
+-- and a comment written after it stays with the operand it follows.
+fetch local remote = proc key ->
+  (local -< key) -- cheap when it hits
+    <+> (remote -< key)
diff --git a/corpora/vendored/comment/separator/comment-in-a-command-chain.hs b/corpora/vendored/comment/separator/comment-in-a-command-chain.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/separator/comment-in-a-command-chain.hs
@@ -0,0 +1,8 @@
+{-# LANGUAGE Arrows #-}
+
+module Cache.Lookup where
+
+-- An operator written at the end of a line goes to the start of the next,
+-- and a comment written after it stays with the operand it follows.
+fetch local remote = proc key -> (local -< key) <+> -- cheap when it hits
+  (remote -< key)
diff --git a/corpora/vendored/comment/separator/comment-in-a-type-operator-chain-out'.hs b/corpora/vendored/comment/separator/comment-in-a-type-operator-chain-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/separator/comment-in-a-type-operator-chain-out'.hs
@@ -0,0 +1,8 @@
+{-# LANGUAGE TypeOperators #-}
+
+-- An operator written at the end of a line goes to the start of the next,
+-- and a comment written after it stays with the operand it follows.
+type Shape =
+    Circle -- round
+        :+: Square -- angular
+        :+: Segment -- and flat
diff --git a/corpora/vendored/comment/separator/comment-in-a-type-operator-chain-out.hs b/corpora/vendored/comment/separator/comment-in-a-type-operator-chain-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/separator/comment-in-a-type-operator-chain-out.hs
@@ -0,0 +1,8 @@
+{-# LANGUAGE TypeOperators #-}
+
+-- An operator written at the end of a line goes to the start of the next,
+-- and a comment written after it stays with the operand it follows.
+type Shape =
+  Circle -- round
+    :+: Square -- angular
+    :+: Segment -- and flat
diff --git a/corpora/vendored/comment/separator/comment-in-a-type-operator-chain.hs b/corpora/vendored/comment/separator/comment-in-a-type-operator-chain.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/separator/comment-in-a-type-operator-chain.hs
@@ -0,0 +1,7 @@
+{-# LANGUAGE TypeOperators #-}
+
+-- An operator written at the end of a line goes to the start of the next,
+-- and a comment written after it stays with the operand it follows.
+type Shape = Circle :+: -- round
+             Square :+: -- angular
+             Segment -- and flat
diff --git a/corpora/vendored/comment/separator/comment-under-a-lone-guard-bar-out'.hs b/corpora/vendored/comment/separator/comment-under-a-lone-guard-bar-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/separator/comment-under-a-lone-guard-bar-out'.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE MultiWayIf #-}
+
+module Tariff.Discount where
+
+discount :: Int -> Bool -> Int
+discount age student
+    | -- children travel free
+      age < 12 = 0
+    | otherwise = 100
+
+surcharge :: Int -> Int
+surcharge hour =
+    if
+        | -- the night rate
+          hour < 6 -> 20
+        | otherwise -> 0
diff --git a/corpora/vendored/comment/separator/comment-under-a-lone-guard-bar-out.hs b/corpora/vendored/comment/separator/comment-under-a-lone-guard-bar-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/separator/comment-under-a-lone-guard-bar-out.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE MultiWayIf #-}
+
+module Tariff.Discount where
+
+discount :: Int -> Bool -> Int
+discount age student
+  | -- children travel free
+    age < 12 = 0
+  | otherwise = 100
+
+surcharge :: Int -> Int
+surcharge hour =
+  if
+    | -- the night rate
+      hour < 6 -> 20
+    | otherwise -> 0
diff --git a/corpora/vendored/comment/separator/comment-under-a-lone-guard-bar.hs b/corpora/vendored/comment/separator/comment-under-a-lone-guard-bar.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/separator/comment-under-a-lone-guard-bar.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE MultiWayIf #-}
+
+module Tariff.Discount where
+
+discount :: Int -> Bool -> Int
+discount age student
+  |
+  -- children travel free
+  age < 12 = 0
+  | otherwise = 100
+
+surcharge :: Int -> Int
+surcharge hour = if
+  |
+  -- the night rate
+  hour < 6 -> 20
+  | otherwise -> 0
diff --git a/corpora/vendored/comment/separator/comment-under-an-item-after-its-separator-out'.hs b/corpora/vendored/comment/separator/comment-under-an-item-after-its-separator-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/separator/comment-under-an-item-after-its-separator-out'.hs
@@ -0,0 +1,29 @@
+data Connection = Connection
+    { update
+        :: Int
+        -> IO ()
+      -- not echoed back
+    , close :: IO ()
+    }
+
+settings =
+    Settings
+        { retries = 3
+          -- the server gives up after five
+        , timeout = 10
+        }
+
+limits =
+    [ sum
+        [ 1
+        , 2
+        ]
+      -- the two that are reserved
+    , 3
+    ]
+
+convert
+    :: Maybe Int
+    -- the default goes first
+    -> Int
+convert = fromMaybe 0
diff --git a/corpora/vendored/comment/separator/comment-under-an-item-after-its-separator-out.hs b/corpora/vendored/comment/separator/comment-under-an-item-after-its-separator-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/separator/comment-under-an-item-after-its-separator-out.hs
@@ -0,0 +1,29 @@
+data Connection = Connection
+  { update ::
+      Int ->
+      IO (),
+    -- not echoed back
+    close :: IO ()
+  }
+
+settings =
+  Settings
+    { retries = 3,
+      -- the server gives up after five
+      timeout = 10
+    }
+
+limits =
+  [ sum
+      [ 1,
+        2
+      ],
+    -- the two that are reserved
+    3
+  ]
+
+convert ::
+  Maybe Int ->
+  -- the default goes first
+  Int
+convert = fromMaybe 0
diff --git a/corpora/vendored/comment/separator/comment-under-an-item-after-its-separator.hs b/corpora/vendored/comment/separator/comment-under-an-item-after-its-separator.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/separator/comment-under-an-item-after-its-separator.hs
@@ -0,0 +1,27 @@
+data Connection = Connection
+  { update ::
+      Int ->
+      IO (),
+      -- not echoed back
+    close :: IO ()
+  }
+
+settings = Settings {
+    retries = 3,
+              -- the server gives up after five
+    timeout = 10
+  }
+
+limits =
+  [ sum
+      [ 1,
+        2
+      ],
+      -- the two that are reserved
+    3
+  ]
+
+convert :: Maybe Int ->
+           -- the default goes first
+  Int
+convert = fromMaybe 0
diff --git a/corpora/vendored/comment/separator/comments-after-an-alternative-arrow-out'.hs b/corpora/vendored/comment/separator/comments-after-an-alternative-arrow-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/separator/comments-after-an-alternative-arrow-out'.hs
@@ -0,0 +1,10 @@
+module M where
+
+atTheEnd = case x of
+    a -> -- why
+        b
+
+onItsOwnLine = case x of
+    a ->
+        -- why
+        b
diff --git a/corpora/vendored/comment/separator/comments-after-an-alternative-arrow-out.hs b/corpora/vendored/comment/separator/comments-after-an-alternative-arrow-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/separator/comments-after-an-alternative-arrow-out.hs
@@ -0,0 +1,10 @@
+module M where
+
+atTheEnd = case x of
+  a -> -- why
+    b
+
+onItsOwnLine = case x of
+  a ->
+    -- why
+    b
diff --git a/corpora/vendored/comment/separator/comments-after-an-alternative-arrow.hs b/corpora/vendored/comment/separator/comments-after-an-alternative-arrow.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/separator/comments-after-an-alternative-arrow.hs
@@ -0,0 +1,10 @@
+module M where
+
+atTheEnd = case x of
+  a -> -- why
+    b
+
+onItsOwnLine = case x of
+  a ->
+    -- why
+    b
diff --git a/corpora/vendored/comment/separator/comments-after-operators-at-line-ends-out'.hs b/corpora/vendored/comment/separator/comments-after-operators-at-line-ends-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/separator/comments-after-operators-at-line-ends-out'.hs
@@ -0,0 +1,31 @@
+{-# LANGUAGE PatternSynonyms #-}
+
+-- An operator written at the end of a line goes to the start of the next,
+-- and a comment written after it stays with the operand it follows.
+operatorsAtLineEnds =
+    base -- what we started from
+        + delta -- what was added
+        - refund -- and what came back
+
+-- The same, one level of precedence down.
+tighterOperatorAtLineEnd =
+    base
+        + rate -- per unit
+            * units
+
+-- The same, for a constructor in a pattern.
+headOf
+    ( x -- the one we want
+        :| _
+    ) = x
+
+-- The same, for a pattern synonym.
+pattern x -- the head
+    :< xs = (x, xs)
+
+-- A comment written on a line of its own between such an operator and its
+-- operand comes before the operator.
+remarkUnderAnOperatorAtLineEnd =
+    base
+        -- what is added
+        ++ extra
diff --git a/corpora/vendored/comment/separator/comments-after-operators-at-line-ends-out.hs b/corpora/vendored/comment/separator/comments-after-operators-at-line-ends-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/separator/comments-after-operators-at-line-ends-out.hs
@@ -0,0 +1,31 @@
+{-# LANGUAGE PatternSynonyms #-}
+
+-- An operator written at the end of a line goes to the start of the next,
+-- and a comment written after it stays with the operand it follows.
+operatorsAtLineEnds =
+  base -- what we started from
+    + delta -- what was added
+    - refund -- and what came back
+
+-- The same, one level of precedence down.
+tighterOperatorAtLineEnd =
+  base
+    + rate -- per unit
+      * units
+
+-- The same, for a constructor in a pattern.
+headOf
+  ( x -- the one we want
+      :| _
+  ) = x
+
+-- The same, for a pattern synonym.
+pattern x -- the head
+  :< xs = (x, xs)
+
+-- A comment written on a line of its own between such an operator and its
+-- operand comes before the operator.
+remarkUnderAnOperatorAtLineEnd =
+  base
+    -- what is added
+    ++ extra
diff --git a/corpora/vendored/comment/separator/comments-after-operators-at-line-ends.hs b/corpora/vendored/comment/separator/comments-after-operators-at-line-ends.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/separator/comments-after-operators-at-line-ends.hs
@@ -0,0 +1,25 @@
+{-# LANGUAGE PatternSynonyms #-}
+
+-- An operator written at the end of a line goes to the start of the next,
+-- and a comment written after it stays with the operand it follows.
+operatorsAtLineEnds = base + -- what we started from
+  delta - -- what was added
+  refund -- and what came back
+
+-- The same, one level of precedence down.
+tighterOperatorAtLineEnd = base + rate * -- per unit
+  units
+
+-- The same, for a constructor in a pattern.
+headOf (x :| -- the one we want
+  _) = x
+
+-- The same, for a pattern synonym.
+pattern x :< -- the head
+  xs = (x, xs)
+
+-- A comment written on a line of its own between such an operator and its
+-- operand comes before the operator.
+remarkUnderAnOperatorAtLineEnd = base ++
+  -- what is added
+  extra
diff --git a/corpora/vendored/comment/separator/comments-among-items-between-braces-out'.hs b/corpora/vendored/comment/separator/comments-among-items-between-braces-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/separator/comments-among-items-between-braces-out'.hs
@@ -0,0 +1,12 @@
+module Toolchain.Link where
+
+link :: [Object] -> IO ()
+link objects = do
+    { -- The linker cares about the order.
+      sorted <- order objects
+
+      -- Libraries go last.
+    ; libraries <- resolve sorted
+      -- It reads a response file.
+    ; run "ld" (sorted <> libraries) -- and nothing else
+    }
diff --git a/corpora/vendored/comment/separator/comments-among-items-between-braces-out.hs b/corpora/vendored/comment/separator/comments-among-items-between-braces-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/separator/comments-among-items-between-braces-out.hs
@@ -0,0 +1,12 @@
+module Toolchain.Link where
+
+link :: [Object] -> IO ()
+link objects = do
+  { -- The linker cares about the order.
+    sorted <- order objects
+
+    -- Libraries go last.
+  ; libraries <- resolve sorted
+    -- It reads a response file.
+  ; run "ld" (sorted <> libraries) -- and nothing else
+  }
diff --git a/corpora/vendored/comment/separator/comments-among-items-between-braces.hs b/corpora/vendored/comment/separator/comments-among-items-between-braces.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/separator/comments-among-items-between-braces.hs
@@ -0,0 +1,12 @@
+module Toolchain.Link where
+
+link :: [Object] -> IO ()
+link objects = do
+  { -- The linker cares about the order.
+    sorted <- order objects
+
+    -- Libraries go last.
+  ; libraries <- resolve sorted
+  ; -- It reads a response file.
+    run "ld" (sorted <> libraries) -- and nothing else
+  }
diff --git a/corpora/vendored/comment/separator/comments-around-the-equals-sign-of-an-implicit-parameter-out'.hs b/corpora/vendored/comment/separator/comments-around-the-equals-sign-of-an-implicit-parameter-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/separator/comments-around-the-equals-sign-of-an-implicit-parameter-out'.hs
@@ -0,0 +1,20 @@
+{-# LANGUAGE ImplicitParams #-}
+
+module Report.Render where
+
+render report =
+    let ?width = -- of the terminal
+            terminalWidth
+     in layout report
+
+renderFlushed report = do
+    let ?cleanup = -- before exiting
+            do
+                hFlush stdout
+    layout report
+
+renderPadded report = layout report
+    where
+        ?width = -- of the terminal
+            terminalWidth
+        ?height {- in lines -} = terminalHeight
diff --git a/corpora/vendored/comment/separator/comments-around-the-equals-sign-of-an-implicit-parameter-out.hs b/corpora/vendored/comment/separator/comments-around-the-equals-sign-of-an-implicit-parameter-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/separator/comments-around-the-equals-sign-of-an-implicit-parameter-out.hs
@@ -0,0 +1,20 @@
+{-# LANGUAGE ImplicitParams #-}
+
+module Report.Render where
+
+render report =
+  let ?width = -- of the terminal
+        terminalWidth
+   in layout report
+
+renderFlushed report = do
+  let ?cleanup = -- before exiting
+        do
+          hFlush stdout
+  layout report
+
+renderPadded report = layout report
+  where
+    ?width = -- of the terminal
+      terminalWidth
+    ?height {- in lines -} = terminalHeight
diff --git a/corpora/vendored/comment/separator/comments-around-the-equals-sign-of-an-implicit-parameter.hs b/corpora/vendored/comment/separator/comments-around-the-equals-sign-of-an-implicit-parameter.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/separator/comments-around-the-equals-sign-of-an-implicit-parameter.hs
@@ -0,0 +1,20 @@
+{-# LANGUAGE ImplicitParams #-}
+
+module Report.Render where
+
+render report =
+  let ?width = -- of the terminal
+        terminalWidth
+   in layout report
+
+renderFlushed report = do
+  let ?cleanup = -- before exiting
+        do
+          hFlush stdout
+  layout report
+
+renderPadded report = layout report
+  where
+    ?width -- of the terminal
+      = terminalWidth
+    ?height {- in lines -} = terminalHeight
diff --git a/corpora/vendored/comment/separator/comments-before-the-equals-sign-out'.hs b/corpora/vendored/comment/separator/comments-before-the-equals-sign-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/separator/comments-before-the-equals-sign-out'.hs
@@ -0,0 +1,12 @@
+-- Block comments written between what is defined and its equals sign stay
+-- there, however many of them there are.
+summarized {- options -} {- tree -} =
+    foldr step []
+
+applied x {- before -} {- the sign -} =
+    x
+
+oneLine {- first -} {- second -} = 0
+
+several {- one -} {- two -} {- three -} =
+    ()
diff --git a/corpora/vendored/comment/separator/comments-before-the-equals-sign-out.hs b/corpora/vendored/comment/separator/comments-before-the-equals-sign-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/separator/comments-before-the-equals-sign-out.hs
@@ -0,0 +1,12 @@
+-- Block comments written between what is defined and its equals sign stay
+-- there, however many of them there are.
+summarized {- options -} {- tree -} =
+  foldr step []
+
+applied x {- before -} {- the sign -} =
+  x
+
+oneLine {- first -} {- second -} = 0
+
+several {- one -} {- two -} {- three -} =
+  ()
diff --git a/corpora/vendored/comment/separator/comments-before-the-equals-sign.hs b/corpora/vendored/comment/separator/comments-before-the-equals-sign.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/separator/comments-before-the-equals-sign.hs
@@ -0,0 +1,12 @@
+-- Block comments written between what is defined and its equals sign stay
+-- there, however many of them there are.
+summarized {- options -} {- tree -} =
+  foldr step []
+
+applied x {- before -} {- the sign -} =
+  x
+
+oneLine {- first -} {- second -} = 0
+
+several {- one -} {- two -} {- three -} =
+  ()
diff --git a/corpora/vendored/comment/separator/comments-in-a-chain-of-leading-operators-out'.hs b/corpora/vendored/comment/separator/comments-in-a-chain-of-leading-operators-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/separator/comments-in-a-chain-of-leading-operators-out'.hs
@@ -0,0 +1,20 @@
+everyOperandAnnotated =
+    base -- what we started from
+        + delta -- what was added
+        - refund -- and what came back
+
+annotatedOperators =
+    base
+        + delta -- the adjustment
+        - refund -- the reimbursement
+
+remarkBetweenOperatorAndOperand =
+    opening
+        <> -- said once
+        -- and never twice
+        closing
+
+lastOperandOnly =
+    first
+        `mappend` second
+        `mappend` third -- and no further
diff --git a/corpora/vendored/comment/separator/comments-in-a-chain-of-leading-operators-out.hs b/corpora/vendored/comment/separator/comments-in-a-chain-of-leading-operators-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/separator/comments-in-a-chain-of-leading-operators-out.hs
@@ -0,0 +1,20 @@
+everyOperandAnnotated =
+  base -- what we started from
+    + delta -- what was added
+    - refund -- and what came back
+
+annotatedOperators =
+  base
+    + delta -- the adjustment
+    - refund -- the reimbursement
+
+remarkBetweenOperatorAndOperand =
+  opening
+    <> -- said once
+    -- and never twice
+    closing
+
+lastOperandOnly =
+  first
+    `mappend` second
+    `mappend` third -- and no further
diff --git a/corpora/vendored/comment/separator/comments-in-a-chain-of-leading-operators.hs b/corpora/vendored/comment/separator/comments-in-a-chain-of-leading-operators.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/separator/comments-in-a-chain-of-leading-operators.hs
@@ -0,0 +1,22 @@
+everyOperandAnnotated =
+  base -- what we started from
+    + delta -- what was added
+    - refund -- and what came back
+
+annotatedOperators =
+  base
+    + -- the adjustment
+      delta
+    - -- the reimbursement
+      refund
+
+remarkBetweenOperatorAndOperand =
+  opening
+    <> -- said once
+      -- and never twice
+      closing
+
+lastOperandOnly =
+  first
+    `mappend` second
+    `mappend` third -- and no further
diff --git a/corpora/vendored/comment/separator/remarks-ending-two-lines-in-a-row-out'.hs b/corpora/vendored/comment/separator/remarks-ending-two-lines-in-a-row-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/separator/remarks-ending-two-lines-in-a-row-out'.hs
@@ -0,0 +1,23 @@
+retry x =
+    if x
+        then -- once more
+            do -- quietly
+                attempt x
+        else -- for good
+            case x of -- whatever it was
+                _ -> giveUp
+
+keywords =
+    [ "case"
+    , "where"
+    ]
+        ++ -- extensions
+        [ "mdo" -- RecursiveDo
+        , "rec" -- Arrows
+        ]
+
+record =
+    string "ATOM"
+        <|> -- or
+        string "HETATM" -- with a heteroatom
+        <|> string "TER"
diff --git a/corpora/vendored/comment/separator/remarks-ending-two-lines-in-a-row-out.hs b/corpora/vendored/comment/separator/remarks-ending-two-lines-in-a-row-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/separator/remarks-ending-two-lines-in-a-row-out.hs
@@ -0,0 +1,23 @@
+retry x =
+  if x
+    then -- once more
+      do -- quietly
+        attempt x
+    else -- for good
+      case x of -- whatever it was
+        _ -> giveUp
+
+keywords =
+  [ "case",
+    "where"
+  ]
+    ++ -- extensions
+    [ "mdo", -- RecursiveDo
+      "rec" -- Arrows
+    ]
+
+record =
+  string "ATOM"
+    <|> -- or
+    string "HETATM" -- with a heteroatom
+    <|> string "TER"
diff --git a/corpora/vendored/comment/separator/remarks-ending-two-lines-in-a-row.hs b/corpora/vendored/comment/separator/remarks-ending-two-lines-in-a-row.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/comment/separator/remarks-ending-two-lines-in-a-row.hs
@@ -0,0 +1,22 @@
+retry x =
+  if x then -- once more
+    do -- quietly
+       attempt x
+  else -- for good
+    case x of -- whatever it was
+      _ -> giveUp
+
+keywords =
+  [ "case"
+  , "where"
+  ]
+    ++ -- extensions
+    [ "mdo" -- RecursiveDo
+    , "rec" -- Arrows
+    ]
+
+record =
+  string "ATOM"
+    <|> -- or
+    string "HETATM" -- with a heteroatom
+    <|> string "TER"
diff --git a/corpora/vendored/cpp/comment/branch-holding-only-a-comment-out.hs b/corpora/vendored/cpp/comment/branch-holding-only-a-comment-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/branch-holding-only-a-comment-out.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Features where
+
+supportsColour :: Bool
+supportsColour = True
+
+#ifdef WINDOWS
+-- The console has no bracketed paste mode.
+#endif
+
+supportsPaste :: Bool
+supportsPaste = True
diff --git a/corpora/vendored/cpp/comment/branch-holding-only-a-comment.hs b/corpora/vendored/cpp/comment/branch-holding-only-a-comment.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/branch-holding-only-a-comment.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Features where
+
+supportsColour :: Bool
+supportsColour  =  True
+
+#ifdef WINDOWS
+-- The console has no bracketed paste mode.
+#endif
+
+supportsPaste :: Bool
+supportsPaste  =  True
diff --git a/corpora/vendored/cpp/comment/code-joined-to-a-comment.hs b/corpora/vendored/cpp/comment/code-joined-to-a-comment.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/code-joined-to-a-comment.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE CPP #-}
+
+module Network.Mail.Mime (escaped) where
+
+import Data.Word (Word8)
+
+escaped :: Word8 -> Bool
+escaped 91 = True -- [
+escaped 92 = True -- \
+escaped 93 = True -- ]
+escaped _ = False
diff --git a/corpora/vendored/cpp/comment/comment-above-a-comma-before-a-haddock-out'.hs b/corpora/vendored/cpp/comment/comment-above-a-comma-before-a-haddock-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/comment-above-a-comma-before-a-haddock-out'.hs
@@ -0,0 +1,26 @@
+{-# LANGUAGE CPP #-}
+
+module Kiln.Burner where
+
+-- A comment above the comma that leads a field only some configurations
+-- have stays above it where the field's Haddock follows the comma.
+data Burner = Burner
+    { nozzle :: Int
+    , pressure :: Int
+#if defined(GAS)
+      -- litres per hour at full flame
+    , flow :: Int
+      -- ^ How much gas goes through.
+#endif
+    }
+
+-- And where the Haddock is written after the field.
+data Nozzle = Nozzle
+    { bore :: Int
+    , tip :: Int
+#if defined(GAS)
+      -- drilled for propane
+    , orifice :: Int
+      -- ^ The width of the hole.
+#endif
+    }
diff --git a/corpora/vendored/cpp/comment/comment-above-a-comma-before-a-haddock-out.hs b/corpora/vendored/cpp/comment/comment-above-a-comma-before-a-haddock-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/comment-above-a-comma-before-a-haddock-out.hs
@@ -0,0 +1,26 @@
+{-# LANGUAGE CPP #-}
+
+module Kiln.Burner where
+
+-- A comment above the comma that leads a field only some configurations
+-- have stays above it where the field's Haddock follows the comma.
+data Burner = Burner
+  { nozzle :: Int,
+    pressure :: Int
+#if defined(GAS)
+    -- litres per hour at full flame
+    , -- | How much gas goes through.
+      flow :: Int
+#endif
+  }
+
+-- And where the Haddock is written after the field.
+data Nozzle = Nozzle
+  { bore :: Int,
+    tip :: Int
+#if defined(GAS)
+    -- drilled for propane
+    , -- | The width of the hole.
+      orifice :: Int
+#endif
+  }
diff --git a/corpora/vendored/cpp/comment/comment-above-a-comma-before-a-haddock.hs b/corpora/vendored/cpp/comment/comment-above-a-comma-before-a-haddock.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/comment-above-a-comma-before-a-haddock.hs
@@ -0,0 +1,25 @@
+{-# LANGUAGE CPP #-}
+
+module Kiln.Burner where
+
+-- A comment above the comma that leads a field only some configurations
+-- have stays above it where the field's Haddock follows the comma.
+data Burner = Burner
+  { nozzle :: Int,
+    pressure :: Int
+#if defined(GAS)
+    -- litres per hour at full flame
+    , -- | How much gas goes through.
+      flow :: Int
+#endif
+  }
+
+-- And where the Haddock is written after the field.
+data Nozzle = Nozzle
+  { bore :: Int
+  , tip :: Int
+#if defined(GAS)
+  -- drilled for propane
+  , orifice :: Int -- ^ The width of the hole.
+#endif
+  }
diff --git a/corpora/vendored/cpp/comment/comment-above-a-conditional-at-the-end-of-a-branch-out'.hs b/corpora/vendored/cpp/comment/comment-above-a-conditional-at-the-end-of-a-branch-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/comment-above-a-conditional-at-the-end-of-a-branch-out'.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+
+module Route.Vehicle where
+
+data Vehicle
+    = Bus
+        { busLine :: Int
+        }
+    -- buses run on every route
+
+#ifdef WITH_TRAMS
+    | Tram
+#endif
diff --git a/corpora/vendored/cpp/comment/comment-above-a-conditional-at-the-end-of-a-branch-out.hs b/corpora/vendored/cpp/comment/comment-above-a-conditional-at-the-end-of-a-branch-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/comment-above-a-conditional-at-the-end-of-a-branch-out.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+
+module Route.Vehicle where
+
+data Vehicle
+  = Bus
+      { busLine :: Int
+      }
+  -- buses run on every route
+
+#ifdef WITH_TRAMS
+  | Tram
+#endif
diff --git a/corpora/vendored/cpp/comment/comment-above-a-conditional-at-the-end-of-a-branch.hs b/corpora/vendored/cpp/comment/comment-above-a-conditional-at-the-end-of-a-branch.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/comment-above-a-conditional-at-the-end-of-a-branch.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+
+module Route.Vehicle where
+
+data Vehicle =
+  Bus {
+    busLine :: Int
+  }
+  -- buses run on every route
+
+#ifdef WITH_TRAMS
+  | Tram
+#endif
diff --git a/corpora/vendored/cpp/comment/comment-above-a-conditional-in-a-do-block-out'.hs b/corpora/vendored/cpp/comment/comment-above-a-conditional-in-a-do-block-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/comment-above-a-conditional-in-a-do-block-out'.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+
+module Garden.Pump where
+
+water :: IO ()
+water = do
+-- A pump on mains power is switched on before the valves open.
+#ifdef MAINS
+    let pump = True
+#else
+    let pump = False
+#endif
+    print pump
diff --git a/corpora/vendored/cpp/comment/comment-above-a-conditional-in-a-do-block-out.hs b/corpora/vendored/cpp/comment/comment-above-a-conditional-in-a-do-block-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/comment-above-a-conditional-in-a-do-block-out.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+
+module Garden.Pump where
+
+water :: IO ()
+water = do
+-- A pump on mains power is switched on before the valves open.
+#ifdef MAINS
+  let pump = True
+#else
+  let pump = False
+#endif
+  print pump
diff --git a/corpora/vendored/cpp/comment/comment-above-a-conditional-in-a-do-block.hs b/corpora/vendored/cpp/comment/comment-above-a-conditional-in-a-do-block.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/comment-above-a-conditional-in-a-do-block.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+
+module Garden.Pump where
+
+water :: IO ()
+water = do
+  -- A pump on mains power is switched on before the valves open.
+#ifdef MAINS
+  let pump = True
+#else
+  let pump = False
+#endif
+  print pump
diff --git a/corpora/vendored/cpp/comment/comment-above-a-conditional-in-a-where-clause-out'.hs b/corpora/vendored/cpp/comment/comment-above-a-conditional-in-a-where-clause-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/comment-above-a-conditional-in-a-where-clause-out'.hs
@@ -0,0 +1,20 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Format (formatOf) where
+
+import System.FilePath (takeExtension)
+import Terminal.Format.Types
+
+formatOf :: FilePath -> Format
+formatOf path = go (takeExtension path)
+    where
+        go ".txt" = Plain
+        go ".ansi" = Escaped
+#if MIN_VERSION_zlib(0,6,0)
+        go ".z" = Deflated
+#endif
+-- Only a new enough encoder knows the compressed form.
+#if MIN_VERSION_zlib(0,7,0)
+        go ".gz" = Compressed
+#endif
+        go _ = Binary -- anything else is passed through
diff --git a/corpora/vendored/cpp/comment/comment-above-a-conditional-in-a-where-clause-out.hs b/corpora/vendored/cpp/comment/comment-above-a-conditional-in-a-where-clause-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/comment-above-a-conditional-in-a-where-clause-out.hs
@@ -0,0 +1,20 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Format (formatOf) where
+
+import System.FilePath (takeExtension)
+import Terminal.Format.Types
+
+formatOf :: FilePath -> Format
+formatOf path = go (takeExtension path)
+  where
+    go ".txt" = Plain
+    go ".ansi" = Escaped
+#if MIN_VERSION_zlib(0,6,0)
+    go ".z" = Deflated
+#endif
+-- Only a new enough encoder knows the compressed form.
+#if MIN_VERSION_zlib(0,7,0)
+    go ".gz" = Compressed
+#endif
+    go _ = Binary -- anything else is passed through
diff --git a/corpora/vendored/cpp/comment/comment-above-a-conditional-in-a-where-clause.hs b/corpora/vendored/cpp/comment/comment-above-a-conditional-in-a-where-clause.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/comment-above-a-conditional-in-a-where-clause.hs
@@ -0,0 +1,20 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Format (formatOf) where
+
+import System.FilePath (takeExtension)
+import Terminal.Format.Types
+
+formatOf :: FilePath -> Format
+formatOf path = go (takeExtension path)
+  where
+    go ".txt"   = Plain
+    go ".ansi"  = Escaped
+#if MIN_VERSION_zlib(0,6,0)
+    go ".z"     = Deflated
+#endif
+    -- Only a new enough encoder knows the compressed form.
+#if MIN_VERSION_zlib(0,7,0)
+    go ".gz"    = Compressed
+#endif
+    go _        = Binary  -- anything else is passed through
diff --git a/corpora/vendored/cpp/comment/comment-above-a-conditional-out'.hs b/corpora/vendored/cpp/comment/comment-above-a-conditional-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/comment-above-a-conditional-out'.hs
@@ -0,0 +1,25 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Colour
+    ( -- * Colours
+      Colour (..)
+
+-- A terminal without true colour knows only the sixteen named ones.
+#ifdef TRUE_COLOUR
+    , rgb
+#else
+    , named
+
+-- The bright ones are an extension of their own.
+#ifdef BRIGHT
+      -- ** Bright
+    , bright
+#endif
+#endif
+
+      -- * Rendering
+    , render
+    )
+where
+
+import Terminal.Colour.Internal
diff --git a/corpora/vendored/cpp/comment/comment-above-a-conditional-out.hs b/corpora/vendored/cpp/comment/comment-above-a-conditional-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/comment-above-a-conditional-out.hs
@@ -0,0 +1,25 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Colour
+  ( -- * Colours
+    Colour (..),
+
+-- A terminal without true colour knows only the sixteen named ones.
+#ifdef TRUE_COLOUR
+    rgb,
+#else
+    named,
+
+-- The bright ones are an extension of their own.
+#ifdef BRIGHT
+    -- ** Bright
+    bright,
+#endif
+#endif
+
+    -- * Rendering
+    render,
+  )
+where
+
+import Terminal.Colour.Internal
diff --git a/corpora/vendored/cpp/comment/comment-above-a-conditional.hs b/corpora/vendored/cpp/comment/comment-above-a-conditional.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/comment-above-a-conditional.hs
@@ -0,0 +1,26 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Colour
+  ( -- * Colours
+    Colour (..),
+
+    -- A terminal without true colour knows only the sixteen named ones.
+#ifdef TRUE_COLOUR
+    rgb,
+#else
+    named,
+
+    -- The bright ones are an extension of their own.
+#ifdef BRIGHT
+    -- ** Bright
+    bright,
+#endif
+
+#endif
+
+    -- * Rendering
+    render,
+  )
+where
+
+import Terminal.Colour.Internal
diff --git a/corpora/vendored/cpp/comment/comment-above-a-constructor-after-an-equals-sign-in-each-branch-out'.hs b/corpora/vendored/cpp/comment/comment-above-a-constructor-after-an-equals-sign-in-each-branch-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/comment-above-a-constructor-after-an-equals-sign-in-each-branch-out'.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE CPP #-}
+
+module Foundation.Time.StopWatch (StopWatchPrecise) where
+
+-- | A precise stop watch.
+newtype StopWatchPrecise
+#if defined(darwin_HOST_OS)
+    = StopWatchPrecise Word64
+#elif defined(mingw32_HOST_OS)
+    = -- contain 2 LARGE_INTEGER (int64_t)
+      StopWatchPrecise (MutableBlock Word8 (PrimState IO))
+#else
+    = -- contains 2 timespec (16 bytes)
+      StopWatchPrecise (MutableBlock Word8 (PrimState IO))
+#endif
diff --git a/corpora/vendored/cpp/comment/comment-above-a-constructor-after-an-equals-sign-in-each-branch-out.hs b/corpora/vendored/cpp/comment/comment-above-a-constructor-after-an-equals-sign-in-each-branch-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/comment-above-a-constructor-after-an-equals-sign-in-each-branch-out.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE CPP #-}
+
+module Foundation.Time.StopWatch (StopWatchPrecise) where
+
+-- | A precise stop watch.
+newtype StopWatchPrecise
+#if defined(darwin_HOST_OS)
+  = StopWatchPrecise Word64
+#elif defined(mingw32_HOST_OS)
+  = -- contain 2 LARGE_INTEGER (int64_t)
+    StopWatchPrecise (MutableBlock Word8 (PrimState IO))
+#else
+  = -- contains 2 timespec (16 bytes)
+    StopWatchPrecise (MutableBlock Word8 (PrimState IO))
+#endif
diff --git a/corpora/vendored/cpp/comment/comment-above-a-constructor-after-an-equals-sign-in-each-branch.hs b/corpora/vendored/cpp/comment/comment-above-a-constructor-after-an-equals-sign-in-each-branch.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/comment-above-a-constructor-after-an-equals-sign-in-each-branch.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE CPP #-}
+
+module Foundation.Time.StopWatch (StopWatchPrecise) where
+
+-- | A precise stop watch.
+newtype StopWatchPrecise =
+#if defined(darwin_HOST_OS)
+    StopWatchPrecise Word64
+#elif defined(mingw32_HOST_OS)
+    -- contain 2 LARGE_INTEGER (int64_t)
+    StopWatchPrecise (MutableBlock Word8 (PrimState IO))
+#else
+    -- contains 2 timespec (16 bytes)
+    StopWatchPrecise (MutableBlock Word8 (PrimState IO))
+#endif
diff --git a/corpora/vendored/cpp/comment/comment-above-a-directive-at-a-distance-out'.hs b/corpora/vendored/cpp/comment/comment-above-a-directive-at-a-distance-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/comment-above-a-directive-at-a-distance-out'.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+
+module Main (main) where
+
+main :: IO ()
+main = do
+    putStrLn "start"
+    -- Sockets are not available on Windows.
+
+#if !defined(mingw32_HOST_OS)
+    putStrLn "sockets"
+#endif
+    putStrLn "stop"
diff --git a/corpora/vendored/cpp/comment/comment-above-a-directive-at-a-distance-out.hs b/corpora/vendored/cpp/comment/comment-above-a-directive-at-a-distance-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/comment-above-a-directive-at-a-distance-out.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+
+module Main (main) where
+
+main :: IO ()
+main = do
+  putStrLn "start"
+  -- Sockets are not available on Windows.
+
+#if !defined(mingw32_HOST_OS)
+  putStrLn "sockets"
+#endif
+  putStrLn "stop"
diff --git a/corpora/vendored/cpp/comment/comment-above-a-directive-at-a-distance.hs b/corpora/vendored/cpp/comment/comment-above-a-directive-at-a-distance.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/comment-above-a-directive-at-a-distance.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+
+module Main (main) where
+
+main :: IO ()
+main = do
+  putStrLn "start"
+  -- Sockets are not available on Windows.
+
+#if !defined(mingw32_HOST_OS)
+  putStrLn "sockets"
+#endif
+  putStrLn "stop"
diff --git a/corpora/vendored/cpp/comment/comment-above-a-leading-separator-opening-a-branch-out'.hs b/corpora/vendored/cpp/comment/comment-above-a-leading-separator-opening-a-branch-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/comment-above-a-leading-separator-opening-a-branch-out'.hs
@@ -0,0 +1,39 @@
+{-# LANGUAGE CPP #-}
+
+module Kiln
+    ( Kiln (..)
+#if defined(GAS)
+      -- the burner is only there with gas
+    , burner
+#endif
+    , firings
+    )
+where
+
+data Kiln = Kiln
+    { chamber :: Int
+#if defined(GAS)
+      -- litres per hour at full flame
+    , flow :: Int
+#endif
+    }
+
+firings :: [String]
+firings =
+    [ "bisque"
+    , "glaze"
+#if defined(GAS)
+      -- reduction needs a flame
+      -- that can be starved of air
+    , "reduction"
+#endif
+    ]
+
+burner :: Kiln -> IO ()
+burner kiln = do
+    { print (chamber kiln)
+#if defined(GAS)
+      -- the flow is only known with gas
+    ; print (flow kiln)
+#endif
+    }
diff --git a/corpora/vendored/cpp/comment/comment-above-a-leading-separator-opening-a-branch-out.hs b/corpora/vendored/cpp/comment/comment-above-a-leading-separator-opening-a-branch-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/comment-above-a-leading-separator-opening-a-branch-out.hs
@@ -0,0 +1,39 @@
+{-# LANGUAGE CPP #-}
+
+module Kiln
+  ( Kiln (..),
+#if defined(GAS)
+    -- the burner is only there with gas
+    burner,
+#endif
+    firings,
+  )
+where
+
+data Kiln = Kiln
+  { chamber :: Int
+#if defined(GAS)
+    -- litres per hour at full flame
+    , flow :: Int
+#endif
+  }
+
+firings :: [String]
+firings =
+  [ "bisque",
+    "glaze"
+#if defined(GAS)
+    -- reduction needs a flame
+    -- that can be starved of air
+    , "reduction"
+#endif
+  ]
+
+burner :: Kiln -> IO ()
+burner kiln = do
+  { print (chamber kiln)
+#if defined(GAS)
+    -- the flow is only known with gas
+  ; print (flow kiln)
+#endif
+  }
diff --git a/corpora/vendored/cpp/comment/comment-above-a-leading-separator-opening-a-branch.hs b/corpora/vendored/cpp/comment/comment-above-a-leading-separator-opening-a-branch.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/comment-above-a-leading-separator-opening-a-branch.hs
@@ -0,0 +1,39 @@
+{-# LANGUAGE CPP #-}
+
+module Kiln
+  ( Kiln (..)
+#if defined(GAS)
+  -- the burner is only there with gas
+  , burner
+#endif
+  , firings
+  )
+where
+
+data Kiln = Kiln
+  { chamber :: Int
+#if defined(GAS)
+  -- litres per hour at full flame
+  , flow :: Int
+#endif
+  }
+
+firings :: [String]
+firings =
+  [ "bisque"
+  , "glaze"
+#if defined(GAS)
+  -- reduction needs a flame
+  -- that can be starved of air
+  , "reduction"
+#endif
+  ]
+
+burner :: Kiln -> IO ()
+burner kiln = do
+  { print (chamber kiln)
+#if defined(GAS)
+  -- the flow is only known with gas
+  ; print (flow kiln)
+#endif
+  }
diff --git a/corpora/vendored/cpp/comment/comment-above-the-in-keyword-before-a-directive-out'.hs b/corpora/vendored/cpp/comment/comment-above-the-in-keyword-before-a-directive-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/comment-above-the-in-keyword-before-a-directive-out'.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE CPP #-}
+
+module Route.Night where
+
+surcharge :: Int -> Int
+surcharge fare =
+    let base = fare + 1
+        -- night buses cost more where they run
+     in
+#ifdef NIGHT_SERVICE
+        base * 2
+#else
+        base
+#endif
diff --git a/corpora/vendored/cpp/comment/comment-above-the-in-keyword-before-a-directive-out.hs b/corpora/vendored/cpp/comment/comment-above-the-in-keyword-before-a-directive-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/comment-above-the-in-keyword-before-a-directive-out.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE CPP #-}
+
+module Route.Night where
+
+surcharge :: Int -> Int
+surcharge fare =
+  let base = fare + 1
+      -- night buses cost more where they run
+   in
+#ifdef NIGHT_SERVICE
+      base * 2
+#else
+      base
+#endif
diff --git a/corpora/vendored/cpp/comment/comment-above-the-in-keyword-before-a-directive.hs b/corpora/vendored/cpp/comment/comment-above-the-in-keyword-before-a-directive.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/comment-above-the-in-keyword-before-a-directive.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE CPP #-}
+
+module Route.Night where
+
+surcharge :: Int -> Int
+surcharge fare =
+  let base = fare + 1
+  -- night buses cost more where they run
+  in
+#ifdef NIGHT_SERVICE
+     base * 2
+#else
+     base
+#endif
diff --git a/corpora/vendored/cpp/comment/comment-above-the-pragmas-out.hs b/corpora/vendored/cpp/comment/comment-above-the-pragmas-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/comment-above-the-pragmas-out.hs
@@ -0,0 +1,13 @@
+-- The chimney sweep's timetable, built with or without the long brushes.
+
+{-# LANGUAGE CPP #-}
+
+module Chimney.Timetable (reach) where
+
+#ifdef LONG_BRUSHES
+reach :: Int
+reach = 12
+#else
+reach :: Int
+reach = 8
+#endif
diff --git a/corpora/vendored/cpp/comment/comment-above-the-pragmas.hs b/corpora/vendored/cpp/comment/comment-above-the-pragmas.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/comment-above-the-pragmas.hs
@@ -0,0 +1,13 @@
+-- The chimney sweep's timetable, built with or without the long brushes.
+
+{-# LANGUAGE CPP #-}
+
+module Chimney.Timetable (reach) where
+
+#ifdef LONG_BRUSHES
+reach :: Int
+reach  =  12
+#else
+reach :: Int
+reach  =  8
+#endif
diff --git a/corpora/vendored/cpp/comment/comment-at-the-end-of-a-branch-above-code-copied-into-it-out'.hs b/corpora/vendored/cpp/comment/comment-at-the-end-of-a-branch-above-code-copied-into-it-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/comment-at-the-end-of-a-branch-above-code-copied-into-it-out'.hs
@@ -0,0 +1,37 @@
+{-# LANGUAGE CPP #-}
+
+module Queue.MichaelScott where
+
+pop queue = do
+    next <- readNext queue
+#ifdef RECHECK_ASSUMPTIONS
+    if consistent next
+        then pop queue
+        else do
+            -- Only a consistent snapshot is worth finishing.
+            finish next
+#else
+    do
+        finish next
+#endif
+
+push queue x =
+#ifdef RECHECK_ASSUMPTIONS
+    if full queue
+        then push queue x
+        else
+            -- A full queue is retried as it stands.
+            store queue x
+#else
+    store queue x
+#endif
+
+peek :: Queue -> IO (Maybe Int)
+peek queue =
+#ifdef RECHECK_ASSUMPTIONS
+    mfilter (not . stale)
+        -- What is stale goes, whatever the head says.
+        <$> readHead queue
+#else
+    readHead queue
+#endif
diff --git a/corpora/vendored/cpp/comment/comment-at-the-end-of-a-branch-above-code-copied-into-it-out.hs b/corpora/vendored/cpp/comment/comment-at-the-end-of-a-branch-above-code-copied-into-it-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/comment-at-the-end-of-a-branch-above-code-copied-into-it-out.hs
@@ -0,0 +1,37 @@
+{-# LANGUAGE CPP #-}
+
+module Queue.MichaelScott where
+
+pop queue = do
+  next <- readNext queue
+#ifdef RECHECK_ASSUMPTIONS
+  if consistent next
+    then pop queue
+    else do
+      -- Only a consistent snapshot is worth finishing.
+      finish next
+#else
+  do
+    finish next
+#endif
+
+push queue x =
+#ifdef RECHECK_ASSUMPTIONS
+  if full queue
+    then push queue x
+    else
+      -- A full queue is retried as it stands.
+      store queue x
+#else
+  store queue x
+#endif
+
+peek :: Queue -> IO (Maybe Int)
+peek queue =
+#ifdef RECHECK_ASSUMPTIONS
+  mfilter (not . stale)
+    -- What is stale goes, whatever the head says.
+    <$> readHead queue
+#else
+  readHead queue
+#endif
diff --git a/corpora/vendored/cpp/comment/comment-at-the-end-of-a-branch-above-code-copied-into-it.hs b/corpora/vendored/cpp/comment/comment-at-the-end-of-a-branch-above-code-copied-into-it.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/comment-at-the-end-of-a-branch-above-code-copied-into-it.hs
@@ -0,0 +1,28 @@
+{-# LANGUAGE CPP #-}
+
+module Queue.MichaelScott where
+
+pop queue = do
+  next <- readNext queue
+#ifdef RECHECK_ASSUMPTIONS
+  if consistent next then pop queue else do
+    -- Only a consistent snapshot is worth finishing.
+#else
+  do
+#endif
+    finish next
+
+push queue x =
+#ifdef RECHECK_ASSUMPTIONS
+  if full queue then push queue x else
+    -- A full queue is retried as it stands.
+#endif
+    store queue x
+
+peek :: Queue -> IO (Maybe Int)
+peek queue =
+#ifdef RECHECK_ASSUMPTIONS
+  mfilter (not . stale) <$>
+  -- What is stale goes, whatever the head says.
+#endif
+  readHead queue
diff --git a/corpora/vendored/cpp/comment/comment-at-the-end-of-a-branch-out.hs b/corpora/vendored/cpp/comment/comment-at-the-end-of-a-branch-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/comment-at-the-end-of-a-branch-out.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Timing where
+
+timeout :: Int
+#ifdef SLOW_LINK
+timeout = 30000
+-- A serial line needs a great deal longer than a pipe does.
+#else
+timeout = 250
+#endif
+
+retries :: Int
+retries = 3
diff --git a/corpora/vendored/cpp/comment/comment-at-the-end-of-a-branch.hs b/corpora/vendored/cpp/comment/comment-at-the-end-of-a-branch.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/comment-at-the-end-of-a-branch.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Timing where
+
+timeout :: Int
+#ifdef SLOW_LINK
+timeout  =  30000
+-- A serial line needs a great deal longer than a pipe does.
+#else
+timeout  =  250
+#endif
+
+retries :: Int
+retries  =  3
diff --git a/corpora/vendored/cpp/comment/comment-before-a-constructor-behind-a-conditional-out'.hs b/corpora/vendored/cpp/comment/comment-before-a-constructor-behind-a-conditional-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/comment-before-a-constructor-behind-a-conditional-out'.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE CPP #-}
+
+module Route.Vehicle where
+
+data Vehicle
+    = Bus
+        { busLine :: Int
+        }
+-- buses run on every route
+#ifdef WITH_TRAMS
+    | Tram
+#endif
diff --git a/corpora/vendored/cpp/comment/comment-before-a-constructor-behind-a-conditional-out.hs b/corpora/vendored/cpp/comment/comment-before-a-constructor-behind-a-conditional-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/comment-before-a-constructor-behind-a-conditional-out.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE CPP #-}
+
+module Route.Vehicle where
+
+data Vehicle
+  = Bus
+      { busLine :: Int
+      }
+-- buses run on every route
+#ifdef WITH_TRAMS
+  | Tram
+#endif
diff --git a/corpora/vendored/cpp/comment/comment-before-a-constructor-behind-a-conditional.hs b/corpora/vendored/cpp/comment/comment-before-a-constructor-behind-a-conditional.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/comment-before-a-constructor-behind-a-conditional.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE CPP #-}
+
+module Route.Vehicle where
+
+data Vehicle =
+  Bus {
+    busLine :: Int
+  }
+  -- buses run on every route
+#ifdef WITH_TRAMS
+  | Tram
+#endif
diff --git a/corpora/vendored/cpp/comment/comment-in-a-branch-the-conditional-above-settles-out'.hs b/corpora/vendored/cpp/comment/comment-in-a-branch-the-conditional-above-settles-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/comment-in-a-branch-the-conditional-above-settles-out'.hs
@@ -0,0 +1,21 @@
+{-# LANGUAGE CPP #-}
+
+module Emacs.Module.Text where
+
+extract :: Env -> Value -> IO Text
+extract env x = withString env x $ \size bytes ->
+#ifdef ASSERTIONS
+    do
+        -- Leave the terminating NUL out.
+        checked <- validate bytes
+        decode checked (size - 1)
+#ifndef ASSERTIONS
+#endif
+#else
+#ifndef ASSERTIONS
+#endif
+    case freeze bytes of
+        frozen ->
+            -- Leave the terminating NUL out.
+            pure (decode frozen (size - 1))
+#endif
diff --git a/corpora/vendored/cpp/comment/comment-in-a-branch-the-conditional-above-settles-out.hs b/corpora/vendored/cpp/comment/comment-in-a-branch-the-conditional-above-settles-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/comment-in-a-branch-the-conditional-above-settles-out.hs
@@ -0,0 +1,21 @@
+{-# LANGUAGE CPP #-}
+
+module Emacs.Module.Text where
+
+extract :: Env -> Value -> IO Text
+extract env x = withString env x $ \size bytes ->
+#ifdef ASSERTIONS
+  do
+    -- Leave the terminating NUL out.
+    checked <- validate bytes
+    decode checked (size - 1)
+#ifndef ASSERTIONS
+#endif
+#else
+#ifndef ASSERTIONS
+#endif
+  case freeze bytes of
+    frozen ->
+      -- Leave the terminating NUL out.
+      pure (decode frozen (size - 1))
+#endif
diff --git a/corpora/vendored/cpp/comment/comment-in-a-branch-the-conditional-above-settles.hs b/corpora/vendored/cpp/comment/comment-in-a-branch-the-conditional-above-settles.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/comment-in-a-branch-the-conditional-above-settles.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE CPP #-}
+
+module Emacs.Module.Text where
+
+extract :: Env -> Value -> IO Text
+extract env x = withString env x $ \size bytes ->
+#ifdef ASSERTIONS
+    do
+      -- Leave the terminating NUL out.
+      checked <- validate bytes
+      decode checked (size - 1)
+#endif
+#ifndef ASSERTIONS
+    case freeze bytes of
+      frozen ->
+        -- Leave the terminating NUL out.
+        pure (decode frozen (size - 1))
+#endif
diff --git a/corpora/vendored/cpp/comment/comment-on-code-copied-into-each-branch-out'.hs b/corpora/vendored/cpp/comment/comment-on-code-copied-into-each-branch-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/comment-on-code-copied-into-each-branch-out'.hs
@@ -0,0 +1,26 @@
+{-# LANGUAGE CPP #-}
+
+module Queue.MichaelScott where
+
+pop queue = do
+    next <- readNext queue
+#ifdef RECHECK_ASSUMPTIONS
+    if consistent next
+        then pop queue
+        else do
+            finish next -- taken more than a million times
+#else
+    let checked = next
+    do
+        finish next -- taken more than a million times
+#endif
+
+push queue x =
+#ifdef RECHECK_ASSUMPTIONS
+    if full queue
+        then push queue x
+        else
+            store queue x -- in place
+#else
+    store queue x -- in place
+#endif
diff --git a/corpora/vendored/cpp/comment/comment-on-code-copied-into-each-branch-out.hs b/corpora/vendored/cpp/comment/comment-on-code-copied-into-each-branch-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/comment-on-code-copied-into-each-branch-out.hs
@@ -0,0 +1,26 @@
+{-# LANGUAGE CPP #-}
+
+module Queue.MichaelScott where
+
+pop queue = do
+  next <- readNext queue
+#ifdef RECHECK_ASSUMPTIONS
+  if consistent next
+    then pop queue
+    else do
+      finish next -- taken more than a million times
+#else
+  let checked = next
+  do
+    finish next -- taken more than a million times
+#endif
+
+push queue x =
+#ifdef RECHECK_ASSUMPTIONS
+  if full queue
+    then push queue x
+    else
+      store queue x -- in place
+#else
+  store queue x -- in place
+#endif
diff --git a/corpora/vendored/cpp/comment/comment-on-code-copied-into-each-branch.hs b/corpora/vendored/cpp/comment/comment-on-code-copied-into-each-branch.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/comment-on-code-copied-into-each-branch.hs
@@ -0,0 +1,19 @@
+{-# LANGUAGE CPP #-}
+
+module Queue.MichaelScott where
+
+pop queue = do
+  next <- readNext queue
+#ifdef RECHECK_ASSUMPTIONS
+  if consistent next then pop queue else do
+#else
+  let checked = next
+  do
+#endif
+    finish next -- taken more than a million times
+
+push queue x =
+#ifdef RECHECK_ASSUMPTIONS
+  if full queue then push queue x else
+#endif
+    store queue x -- in place
diff --git a/corpora/vendored/cpp/comment/comment-opening-a-branch-out'.hs b/corpora/vendored/cpp/comment/comment-opening-a-branch-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/comment-opening-a-branch-out'.hs
@@ -0,0 +1,25 @@
+{-# LANGUAGE CPP #-}
+
+module Data.Folds (total, weights) where
+
+import Data.List
+    ( nub
+    , sortOn
+#if defined(STRICT)
+      -- strict, unlike foldl
+    , foldl'
+#endif
+    )
+
+total :: [Int] -> Int
+total = foldr (+) 0 . nub . sortOn negate
+
+weights :: [Int]
+weights =
+    [ 1
+    , 2
+#if defined(HEAVY)
+    , {- heavy -} 10
+#endif
+    , 3
+    ]
diff --git a/corpora/vendored/cpp/comment/comment-opening-a-branch-out.hs b/corpora/vendored/cpp/comment/comment-opening-a-branch-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/comment-opening-a-branch-out.hs
@@ -0,0 +1,25 @@
+{-# LANGUAGE CPP #-}
+
+module Data.Folds (total, weights) where
+
+import Data.List
+  ( nub,
+    sortOn,
+#if defined(STRICT)
+    -- strict, unlike foldl
+    foldl',
+#endif
+  )
+
+total :: [Int] -> Int
+total = foldr (+) 0 . nub . sortOn negate
+
+weights :: [Int]
+weights =
+  [ 1,
+    2,
+#if defined(HEAVY)
+    {- heavy -} 10,
+#endif
+    3
+  ]
diff --git a/corpora/vendored/cpp/comment/comment-opening-a-branch.hs b/corpora/vendored/cpp/comment/comment-opening-a-branch.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/comment-opening-a-branch.hs
@@ -0,0 +1,25 @@
+{-# LANGUAGE CPP #-}
+
+module Data.Folds (total, weights) where
+
+import Data.List
+  ( nub
+  , sortOn
+#if defined(STRICT)
+  , -- strict, unlike foldl
+    foldl'
+#endif
+  )
+
+total :: [Int] -> Int
+total = foldr (+) 0 . nub . sortOn negate
+
+weights :: [Int]
+weights =
+  [ 1,
+    2,
+#if defined(HEAVY)
+    {- heavy -} 10,
+#endif
+    3
+  ]
diff --git a/corpora/vendored/cpp/comment/comment-under-a-declaration-before-a-directive-out.hs b/corpora/vendored/cpp/comment/comment-under-a-declaration-before-a-directive-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/comment-under-a-declaration-before-a-directive-out.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE CPP #-}
+
+-- An empty line next to a directive is the preprocessor support's to
+-- place: it goes under the #endif, and the comment stays under the
+-- declaration it was written under.
+module Kiln.Firing where
+
+#if MIN_VERSION_base(4,0,0)
+firingTemperature :: Int
+firingTemperature = 1280
+-- Cone 10, for stoneware.
+#endif
+
+coolingRate :: Int
+coolingRate = 100
diff --git a/corpora/vendored/cpp/comment/comment-under-a-declaration-before-a-directive.hs b/corpora/vendored/cpp/comment/comment-under-a-declaration-before-a-directive.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/comment-under-a-declaration-before-a-directive.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE CPP #-}
+
+-- An empty line next to a directive is the preprocessor support's to
+-- place: it goes under the #endif, and the comment stays under the
+-- declaration it was written under.
+module Kiln.Firing where
+
+#if MIN_VERSION_base(4,0,0)
+firingTemperature :: Int
+firingTemperature = 1280
+-- Cone 10, for stoneware.
+
+#endif
+coolingRate :: Int
+coolingRate = 100
diff --git a/corpora/vendored/cpp/comment/comment-under-a-remark-before-a-constructor-behind-a-conditional-out'.hs b/corpora/vendored/cpp/comment/comment-under-a-remark-before-a-constructor-behind-a-conditional-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/comment-under-a-remark-before-a-constructor-behind-a-conditional-out'.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE CPP #-}
+
+module Network.Endpoint where
+
+data Endpoint
+    = Tcp
+        { tcpPort :: Int
+        } -- the default
+-- every platform has TCP
+#ifdef WITH_UNIX
+    | Unix
+#endif
diff --git a/corpora/vendored/cpp/comment/comment-under-a-remark-before-a-constructor-behind-a-conditional-out.hs b/corpora/vendored/cpp/comment/comment-under-a-remark-before-a-constructor-behind-a-conditional-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/comment-under-a-remark-before-a-constructor-behind-a-conditional-out.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE CPP #-}
+
+module Network.Endpoint where
+
+data Endpoint
+  = Tcp
+      { tcpPort :: Int
+      } -- the default
+-- every platform has TCP
+#ifdef WITH_UNIX
+  | Unix
+#endif
diff --git a/corpora/vendored/cpp/comment/comment-under-a-remark-before-a-constructor-behind-a-conditional.hs b/corpora/vendored/cpp/comment/comment-under-a-remark-before-a-constructor-behind-a-conditional.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/comment-under-a-remark-before-a-constructor-behind-a-conditional.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE CPP #-}
+
+module Network.Endpoint where
+
+data Endpoint =
+  Tcp {
+    tcpPort :: Int
+  } -- the default
+  -- every platform has TCP
+#ifdef WITH_UNIX
+  | Unix
+#endif
diff --git a/corpora/vendored/cpp/comment/comments-around-code-shared-after-a-conditional-out'.hs b/corpora/vendored/cpp/comment/comments-around-code-shared-after-a-conditional-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/comments-around-code-shared-after-a-conditional-out'.hs
@@ -0,0 +1,25 @@
+{-# LANGUAGE CPP #-}
+
+module Config.Load where
+
+#if MIN_VERSION_base(4,16,0)
+load (Just path) verbose = -- with a path
+#else
+load path verbose = -- without one
+#endif
+    -- before the body
+    readConfig path verbose -- after the body
+-- after the declaration
+
+retry r =
+#if MIN_VERSION_base(4,16,0)
+    backoff
+        r -- end of the first branch
+#else
+    backoff
+        r
+        2
+#endif
+        -- before the argument
+        (limit r) -- trailing
+        -- under the argument
diff --git a/corpora/vendored/cpp/comment/comments-around-code-shared-after-a-conditional-out.hs b/corpora/vendored/cpp/comment/comments-around-code-shared-after-a-conditional-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/comments-around-code-shared-after-a-conditional-out.hs
@@ -0,0 +1,25 @@
+{-# LANGUAGE CPP #-}
+
+module Config.Load where
+
+#if MIN_VERSION_base(4,16,0)
+load (Just path) verbose = -- with a path
+#else
+load path verbose = -- without one
+#endif
+  -- before the body
+  readConfig path verbose -- after the body
+-- after the declaration
+
+retry r =
+#if MIN_VERSION_base(4,16,0)
+  backoff
+    r -- end of the first branch
+#else
+  backoff
+    r
+    2
+#endif
+    -- before the argument
+    (limit r) -- trailing
+    -- under the argument
diff --git a/corpora/vendored/cpp/comment/comments-around-code-shared-after-a-conditional.hs b/corpora/vendored/cpp/comment/comments-around-code-shared-after-a-conditional.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/comments-around-code-shared-after-a-conditional.hs
@@ -0,0 +1,22 @@
+{-# LANGUAGE CPP #-}
+
+module Config.Load where
+
+#if MIN_VERSION_base(4,16,0)
+load (Just path) verbose = -- with a path
+#else
+load path verbose = -- without one
+#endif
+  -- before the body
+  readConfig path verbose -- after the body
+-- after the declaration
+
+retry r =
+#if MIN_VERSION_base(4,16,0)
+  backoff r -- end of the first branch
+#else
+  backoff r 2
+#endif
+    -- before the argument
+    (limit r) -- trailing
+    -- under the argument
diff --git a/corpora/vendored/cpp/comment/comments-either-side-of-a-conditional-out.hs b/corpora/vendored/cpp/comment/comments-either-side-of-a-conditional-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/comments-either-side-of-a-conditional-out.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE CPP #-}
+
+module M where
+
+-- above
+before = 1 -- trailing
+
+#ifdef FOO
+mid = 2
+#else
+mid = 3
+#endif
+
+-- below
+after = 4
diff --git a/corpora/vendored/cpp/comment/comments-either-side-of-a-conditional.hs b/corpora/vendored/cpp/comment/comments-either-side-of-a-conditional.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/comments-either-side-of-a-conditional.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE CPP #-}
+
+module M where
+
+-- above
+before = 1 -- trailing
+
+#ifdef FOO
+mid = 2
+#else
+mid = 3
+#endif
+
+-- below
+after = 4
diff --git a/corpora/vendored/cpp/comment/comments-ending-in-a-backslash-out'.hs b/corpora/vendored/cpp/comment/comments-ending-in-a-backslash-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/comments-ending-in-a-backslash-out'.hs
@@ -0,0 +1,44 @@
+{-# LANGUAGE CPP #-}
+
+-- cpp joins the line under a line ending in a backslash to it, so the
+-- empty line under each comment that ends in one stays.
+module Database.Escape where
+
+escape :: Int -> Int
+escape c
+    | c == 39 = 1 -- '
+    | c == 92 = 2 -- \
+
+    | otherwise = 3
+
+escapes :: [Int]
+escapes =
+    [ 39 -- '
+    , 92 -- \
+
+    , 34 -- "
+    ]
+
+-- a & b \\
+-- c & d \\
+-- e & f \\
+
+-- | A backslash:
+-- \\
+
+backslash :: Char
+backslash = '\\'
+
+data Separator = Separator
+    { slash :: Char
+      -- ^ not \
+
+    , other :: Char
+    }
+
+#ifdef WINDOWS
+separator = '\\' -- \
+
+#else
+separator = '/' -- /
+#endif
diff --git a/corpora/vendored/cpp/comment/comments-ending-in-a-backslash-out.hs b/corpora/vendored/cpp/comment/comments-ending-in-a-backslash-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/comments-ending-in-a-backslash-out.hs
@@ -0,0 +1,44 @@
+{-# LANGUAGE CPP #-}
+
+-- cpp joins the line under a line ending in a backslash to it, so the
+-- empty line under each comment that ends in one stays.
+module Database.Escape where
+
+escape :: Int -> Int
+escape c
+  | c == 39 = 1 -- '
+  | c == 92 = 2 -- \
+
+  | otherwise = 3
+
+escapes :: [Int]
+escapes =
+  [ 39, -- '
+    92, -- \
+
+    34 -- "
+  ]
+
+-- a & b \\
+-- c & d \\
+-- e & f \\
+
+-- | A backslash:
+-- \\
+
+backslash :: Char
+backslash = '\\'
+
+data Separator = Separator
+  { -- | not \
+
+    slash :: Char,
+    other :: Char
+  }
+
+#ifdef WINDOWS
+separator = '\\' -- \
+
+#else
+separator = '/' -- /
+#endif
diff --git a/corpora/vendored/cpp/comment/comments-ending-in-a-backslash.hs b/corpora/vendored/cpp/comment/comments-ending-in-a-backslash.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/comments-ending-in-a-backslash.hs
@@ -0,0 +1,43 @@
+{-# LANGUAGE CPP #-}
+
+-- cpp joins the line under a line ending in a backslash to it, so the
+-- empty line under each comment that ends in one stays.
+module Database.Escape where
+
+escape :: Int -> Int
+escape c
+  | c == 39 = 1 -- '
+
+  | c == 92 = 2 -- \
+
+  | otherwise = 3
+
+escapes :: [Int]
+escapes = [ 39 -- '
+          , 92 -- \
+
+          , 34 -- "
+          ]
+
+-- a & b \\
+-- c & d \\
+-- e & f \\
+
+-- | A backslash:
+-- \\
+
+backslash :: Char
+backslash = '\\'
+
+data Separator = Separator
+  { slash :: Char -- ^ not \
+
+  , other :: Char
+  }
+
+#ifdef WINDOWS
+separator = '\\' -- \
+
+#else
+separator = '/' -- /
+#endif
diff --git a/corpora/vendored/cpp/comment/comments-in-branches-out.hs b/corpora/vendored/cpp/comment/comments-in-branches-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/comments-in-branches-out.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Timing where
+
+-- | How long to wait for a response.
+timeout :: Int
+#ifdef SLOW_LINK
+-- A serial line needs a great deal longer than a pipe does.
+timeout = 30000 -- milliseconds
+#else
+timeout = 250
+#endif
+
+-- | Retries before giving up.
+retries :: Int
+retries = 3
diff --git a/corpora/vendored/cpp/comment/comments-in-branches.hs b/corpora/vendored/cpp/comment/comments-in-branches.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/comments-in-branches.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Timing where
+
+-- | How long to wait for a response.
+timeout :: Int
+#ifdef SLOW_LINK
+-- A serial line needs a great deal longer than a pipe does.
+timeout  =  30000 -- milliseconds
+#else
+timeout  =  250
+#endif
+
+-- | Retries before giving up.
+retries :: Int
+retries  =  3
diff --git a/corpora/vendored/cpp/comment/comments-right-under-a-declaration-next-to-conditionals-out'.hs b/corpora/vendored/cpp/comment/comments-right-under-a-declaration-next-to-conditionals-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/comments-right-under-a-declaration-next-to-conditionals-out'.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE CPP #-}
+
+module Kiln.Glaze where
+
+instance Show Glaze where
+    show = name
+-- No Read instance: a glaze is never parsed.
+-- instance Read Glaze where
+
+#if MIN_VERSION_base(4,0,0)
+instance Eq Glaze where
+    a == b = name a == name b
+#endif
+-- Glazes compare by name alone, whatever the
+-- kiln did to them.
+#if MIN_VERSION_base(4,0,0)
+deriving instance Ord Glaze
+#endif
diff --git a/corpora/vendored/cpp/comment/comments-right-under-a-declaration-next-to-conditionals-out.hs b/corpora/vendored/cpp/comment/comments-right-under-a-declaration-next-to-conditionals-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/comments-right-under-a-declaration-next-to-conditionals-out.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE CPP #-}
+
+module Kiln.Glaze where
+
+instance Show Glaze where
+  show = name
+-- No Read instance: a glaze is never parsed.
+-- instance Read Glaze where
+
+#if MIN_VERSION_base(4,0,0)
+instance Eq Glaze where
+  a == b = name a == name b
+#endif
+-- Glazes compare by name alone, whatever the
+-- kiln did to them.
+#if MIN_VERSION_base(4,0,0)
+deriving instance Ord Glaze
+#endif
diff --git a/corpora/vendored/cpp/comment/comments-right-under-a-declaration-next-to-conditionals.hs b/corpora/vendored/cpp/comment/comments-right-under-a-declaration-next-to-conditionals.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/comments-right-under-a-declaration-next-to-conditionals.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE CPP #-}
+
+module Kiln.Glaze where
+
+instance Show Glaze where
+  show = name
+-- No Read instance: a glaze is never parsed.
+-- instance Read Glaze where
+
+#if MIN_VERSION_base(4,0,0)
+instance Eq Glaze where
+  a == b = name a == name b
+#endif
+-- Glazes compare by name alone, whatever the
+-- kiln did to them.
+#if MIN_VERSION_base(4,0,0)
+deriving instance Ord Glaze
+#endif
diff --git a/corpora/vendored/cpp/comment/comments-under-code-after-a-conditional-out'.hs b/corpora/vendored/cpp/comment/comments-under-code-after-a-conditional-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/comments-under-code-after-a-conditional-out'.hs
@@ -0,0 +1,45 @@
+{-# LANGUAGE CPP #-}
+
+-- A comment under code that a conditional holds or leads on to stays at
+-- the column it was written at, as without the conditional: a directive
+-- stays at the margin whatever the code's indentation, so nothing lines up
+-- with it.
+module Glaze.Recipe where
+
+flux :: [Int]
+flux =
+#ifdef HIGH_FIRE
+    [20]
+#else
+    [25]
+#endif
+        ++ [3]
+    -- Feldspar and whiting.
+
+alumina :: Int
+alumina =
+#ifdef HIGH_FIRE
+    15
+#else
+    12
+#endif
+    -- Kaolin.
+
+opacity :: [Int]
+opacity =
+    [ 8
+#ifdef ZIRCON
+    , 2
+#endif
+    ]
+-- Tin oxide.
+
+silica :: [Int]
+silica =
+#ifdef HIGH_FIRE
+    [60]
+#else
+    [55]
+#endif
+        ++ [5]
+-- Percentages by weight.
diff --git a/corpora/vendored/cpp/comment/comments-under-code-after-a-conditional-out.hs b/corpora/vendored/cpp/comment/comments-under-code-after-a-conditional-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/comments-under-code-after-a-conditional-out.hs
@@ -0,0 +1,45 @@
+{-# LANGUAGE CPP #-}
+
+-- A comment under code that a conditional holds or leads on to stays at
+-- the column it was written at, as without the conditional: a directive
+-- stays at the margin whatever the code's indentation, so nothing lines up
+-- with it.
+module Glaze.Recipe where
+
+flux :: [Int]
+flux =
+#ifdef HIGH_FIRE
+  [20]
+#else
+  [25]
+#endif
+    ++ [3]
+  -- Feldspar and whiting.
+
+alumina :: Int
+alumina =
+#ifdef HIGH_FIRE
+  15
+#else
+  12
+#endif
+  -- Kaolin.
+
+opacity :: [Int]
+opacity =
+  [ 8
+#ifdef ZIRCON
+    , 2
+#endif
+  ]
+-- Tin oxide.
+
+silica :: [Int]
+silica =
+#ifdef HIGH_FIRE
+  [60]
+#else
+  [55]
+#endif
+    ++ [5]
+-- Percentages by weight.
diff --git a/corpora/vendored/cpp/comment/comments-under-code-after-a-conditional.hs b/corpora/vendored/cpp/comment/comments-under-code-after-a-conditional.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/comments-under-code-after-a-conditional.hs
@@ -0,0 +1,43 @@
+{-# LANGUAGE CPP #-}
+
+-- A comment under code that a conditional holds or leads on to stays at
+-- the column it was written at, as without the conditional: a directive
+-- stays at the margin whatever the code's indentation, so nothing lines up
+-- with it.
+module Glaze.Recipe where
+
+flux :: [Int]
+flux =
+#ifdef HIGH_FIRE
+  [20]
+#else
+  [25]
+#endif
+  ++ [3]
+  -- Feldspar and whiting.
+alumina :: Int
+alumina =
+#ifdef HIGH_FIRE
+  15
+#else
+  12
+#endif
+  -- Kaolin.
+opacity :: [Int]
+opacity =
+  [ 8
+#ifdef ZIRCON
+  , 2
+#endif
+  ]
+-- Tin oxide.
+
+silica :: [Int]
+silica =
+#ifdef HIGH_FIRE
+  [60]
+#else
+  [55]
+#endif
+  ++ [5]
+-- Percentages by weight.
diff --git a/corpora/vendored/cpp/comment/directives-in-a-block-comment-carried-on-under-a-remark-out'.hs b/corpora/vendored/cpp/comment/directives-in-a-block-comment-carried-on-under-a-remark-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/directives-in-a-block-comment-carried-on-under-a-remark-out'.hs
@@ -0,0 +1,23 @@
+{-# LANGUAGE CPP #-}
+
+module Courier where
+
+backoff :: Int -> Int
+backoff n = n * 2 -- grows with each try
+                  {- and is capped
+#if 0
+                     by the depot
+#endif
+                   -}
+
+pause :: Int
+pause = wait
+    where
+        wait = backoff 3 -- before the next try
+        {- in seconds,
+#ifdef SLOW_LINK
+           at most a minute
+#else
+           at most ten
+#endif
+         -}
diff --git a/corpora/vendored/cpp/comment/directives-in-a-block-comment-carried-on-under-a-remark-out.hs b/corpora/vendored/cpp/comment/directives-in-a-block-comment-carried-on-under-a-remark-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/directives-in-a-block-comment-carried-on-under-a-remark-out.hs
@@ -0,0 +1,23 @@
+{-# LANGUAGE CPP #-}
+
+module Courier where
+
+backoff :: Int -> Int
+backoff n = n * 2 -- grows with each try
+                  {- and is capped
+#if 0
+                     by the depot
+#endif
+                   -}
+
+pause :: Int
+pause = wait
+  where
+    wait = backoff 3 -- before the next try
+    {- in seconds,
+#ifdef SLOW_LINK
+       at most a minute
+#else
+       at most ten
+#endif
+     -}
diff --git a/corpora/vendored/cpp/comment/directives-in-a-block-comment-carried-on-under-a-remark.hs b/corpora/vendored/cpp/comment/directives-in-a-block-comment-carried-on-under-a-remark.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/directives-in-a-block-comment-carried-on-under-a-remark.hs
@@ -0,0 +1,23 @@
+{-# LANGUAGE CPP #-}
+
+module Courier where
+
+backoff :: Int -> Int
+backoff n  =  n * 2 -- grows with each try
+                    {- and is capped
+#if 0
+                       by the depot
+#endif
+                     -}
+
+pause :: Int
+pause = wait
+  where
+    wait  =  backoff 3 -- before the next try
+    {- in seconds,
+#ifdef SLOW_LINK
+       at most a minute
+#else
+       at most ten
+#endif
+     -}
diff --git a/corpora/vendored/cpp/comment/lines-like-directives-in-a-block-comment-out'.hs b/corpora/vendored/cpp/comment/lines-like-directives-in-a-block-comment-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/lines-like-directives-in-a-block-comment-out'.hs
@@ -0,0 +1,23 @@
+{-# LANGUAGE CPP #-}
+
+module Store where
+
+#ifdef DEBUG
+import Debug.Trace
+#endif
+
+class Store s where
+    {- Not yet:
+    #ifdef WITH_LOCKS
+    lock :: s -> IO ()
+    #endif
+    -}
+    open :: s
+
+backoff :: Int -> Int
+backoff n = n * 2 -- grows with each try
+                  {- and is capped
+                  #ifdef WITH_DEPOT
+                     by the depot
+                  #endif
+                   -}
diff --git a/corpora/vendored/cpp/comment/lines-like-directives-in-a-block-comment-out.hs b/corpora/vendored/cpp/comment/lines-like-directives-in-a-block-comment-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/lines-like-directives-in-a-block-comment-out.hs
@@ -0,0 +1,23 @@
+{-# LANGUAGE CPP #-}
+
+module Store where
+
+#ifdef DEBUG
+import Debug.Trace
+#endif
+
+class Store s where
+  {- Not yet:
+  #ifdef WITH_LOCKS
+  lock :: s -> IO ()
+  #endif
+  -}
+  open :: s
+
+backoff :: Int -> Int
+backoff n = n * 2 -- grows with each try
+                  {- and is capped
+                  #ifdef WITH_DEPOT
+                     by the depot
+                  #endif
+                   -}
diff --git a/corpora/vendored/cpp/comment/lines-like-directives-in-a-block-comment.hs b/corpora/vendored/cpp/comment/lines-like-directives-in-a-block-comment.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/lines-like-directives-in-a-block-comment.hs
@@ -0,0 +1,23 @@
+{-# LANGUAGE CPP #-}
+
+module Store where
+
+#ifdef DEBUG
+import Debug.Trace
+#endif
+
+class Store s where
+  {- Not yet:
+  #ifdef WITH_LOCKS
+  lock :: s -> IO ()
+  #endif
+  -}
+  open :: s
+
+backoff :: Int -> Int
+backoff n  =  n * 2 -- grows with each try
+                    {- and is capped
+                    #ifdef WITH_DEPOT
+                       by the depot
+                    #endif
+                     -}
diff --git a/corpora/vendored/cpp/comment/one-question-asked-twice-with-a-comment-between-out.hs b/corpora/vendored/cpp/comment/one-question-asked-twice-with-a-comment-between-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/one-question-asked-twice-with-a-comment-between-out.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Console (isConsole) where
+
+#ifdef WINDOWS
+import System.Win32.Console (getConsoleMode)
+#endif
+
+-- Everything below works the same everywhere.
+
+#ifdef WINDOWS
+isConsole :: Handle -> IO Bool
+isConsole h = (/= 0) <$> getConsoleMode h
+#endif
diff --git a/corpora/vendored/cpp/comment/one-question-asked-twice-with-a-comment-between.hs b/corpora/vendored/cpp/comment/one-question-asked-twice-with-a-comment-between.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/one-question-asked-twice-with-a-comment-between.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Console (isConsole) where
+
+#ifdef WINDOWS
+import System.Win32.Console (getConsoleMode)
+#endif
+
+-- Everything below works the same everywhere.
+
+#ifdef WINDOWS
+isConsole :: Handle -> IO Bool
+isConsole h = (/= 0) <$> getConsoleMode h
+#endif
diff --git a/corpora/vendored/cpp/comment/section-headings-among-comments-out.hs b/corpora/vendored/cpp/comment/section-headings-among-comments-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/section-headings-among-comments-out.hs
@@ -0,0 +1,23 @@
+{-# LANGUAGE CPP #-}
+
+module Inventory where
+
+#ifdef STRICT
+count = 0
+#else
+count = 1
+#endif
+
+-- Plan:
+--
+-- * Count what comes in. Count what goes
+--   out as well.
+--
+-- * Never count twice.
+
+----------------------------------------------------------------------------
+-- * Making items
+----------------------------------------------------------------------------
+
+-- | One thing on a shelf.
+data Item = Item
diff --git a/corpora/vendored/cpp/comment/section-headings-among-comments.hs b/corpora/vendored/cpp/comment/section-headings-among-comments.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/section-headings-among-comments.hs
@@ -0,0 +1,22 @@
+{-# LANGUAGE CPP #-}
+module Inventory where
+
+#ifdef STRICT
+count = 0
+#else
+count = 1
+#endif
+
+-- Plan:
+--
+-- * Count what comes in. Count what goes
+--   out as well.
+--
+-- * Never count twice.
+
+----------------------------------------------------------------------------
+-- * Making items
+----------------------------------------------------------------------------
+
+-- | One thing on a shelf.
+data Item = Item
diff --git a/corpora/vendored/cpp/comment/trailing-comment-above-a-directive-out'.hs b/corpora/vendored/cpp/comment/trailing-comment-above-a-directive-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/trailing-comment-above-a-directive-out'.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE CPP #-}
+
+module Settings (settings) where
+
+import Options (Options (..), defaultOptions)
+
+settings :: Options
+settings =
+    defaultOptions
+        { optionA = True
+-- Highlighting is on by default, as it was
+-- in earlier releases.
+#if MIN_VERSION_base(4,20,0)
+        , optionB = True
+#else
+        , optionB = False
+#endif
+        }
diff --git a/corpora/vendored/cpp/comment/trailing-comment-above-a-directive-out.hs b/corpora/vendored/cpp/comment/trailing-comment-above-a-directive-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/trailing-comment-above-a-directive-out.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE CPP #-}
+
+module Settings (settings) where
+
+import Options (Options (..), defaultOptions)
+
+settings :: Options
+settings =
+  defaultOptions
+    { optionA = True,
+-- Highlighting is on by default, as it was
+-- in earlier releases.
+#if MIN_VERSION_base(4,20,0)
+      optionB = True
+#else
+      optionB = False
+#endif
+    }
diff --git a/corpora/vendored/cpp/comment/trailing-comment-above-a-directive.hs b/corpora/vendored/cpp/comment/trailing-comment-above-a-directive.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/comment/trailing-comment-above-a-directive.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE CPP #-}
+
+module Settings (settings) where
+
+import Options (Options (..), defaultOptions)
+
+settings :: Options
+settings =
+  defaultOptions
+    { optionA = True
+    , -- Highlighting is on by default, as it was
+      -- in earlier releases.
+#if MIN_VERSION_base(4,20,0)
+      optionB = True
+#else
+      optionB = False
+#endif
+    }
diff --git a/corpora/vendored/cpp/configuration/branch-holding-only-an-error-out'.hs b/corpora/vendored/cpp/configuration/branch-holding-only-an-error-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/configuration/branch-holding-only-an-error-out'.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE CPP #-}
+
+module Word (wordSize) where
+
+#if !defined(__GLASGOW_HASKELL__)
+#error "Only GHC is supported."
+#endif
+
+wordSize :: Int
+wordSize =
+#if WORD_SIZE_IN_BITS == 64
+    64
+#elif WORD_SIZE_IN_BITS == 32
+    32
+#else
+#error "Unsupported word size."
+#endif
diff --git a/corpora/vendored/cpp/configuration/branch-holding-only-an-error-out.hs b/corpora/vendored/cpp/configuration/branch-holding-only-an-error-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/configuration/branch-holding-only-an-error-out.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE CPP #-}
+
+module Word (wordSize) where
+
+#if !defined(__GLASGOW_HASKELL__)
+#error "Only GHC is supported."
+#endif
+
+wordSize :: Int
+wordSize =
+#if WORD_SIZE_IN_BITS == 64
+  64
+#elif WORD_SIZE_IN_BITS == 32
+  32
+#else
+#error "Unsupported word size."
+#endif
diff --git a/corpora/vendored/cpp/configuration/branch-holding-only-an-error.hs b/corpora/vendored/cpp/configuration/branch-holding-only-an-error.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/configuration/branch-holding-only-an-error.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE CPP #-}
+
+module Word (wordSize) where
+
+#if !defined(__GLASGOW_HASKELL__)
+#error "Only GHC is supported."
+#endif
+
+wordSize :: Int
+wordSize =
+#if WORD_SIZE_IN_BITS == 64
+  64
+#elif WORD_SIZE_IN_BITS == 32
+  32
+#else
+#error "Unsupported word size."
+#endif
diff --git a/corpora/vendored/cpp/configuration/extension-switched-off-behind-a-conditional-out.hs b/corpora/vendored/cpp/configuration/extension-switched-off-behind-a-conditional-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/configuration/extension-switched-off-behind-a-conditional-out.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE OverloadedRecordDot #-}
+#ifdef PLAIN_RECORDS
+{-# LANGUAGE NoOverloadedRecordDot #-}
+#endif
+
+module Shop.Basket (total) where
+
+#ifdef DEBUG
+import Debug.Trace (trace)
+#endif
+
+#ifdef PLAIN_RECORDS
+total basket = sum basket . prices
+#else
+total basket = sum basket.prices
+#endif
diff --git a/corpora/vendored/cpp/configuration/extension-switched-off-behind-a-conditional.hs b/corpora/vendored/cpp/configuration/extension-switched-off-behind-a-conditional.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/configuration/extension-switched-off-behind-a-conditional.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE OverloadedRecordDot #-}
+#ifdef PLAIN_RECORDS
+{-# LANGUAGE NoOverloadedRecordDot #-}
+#endif
+module Shop.Basket (total) where
+
+#ifdef DEBUG
+import Debug.Trace (trace)
+#endif
+
+total basket = sum basket.prices
diff --git a/corpora/vendored/cpp/configuration/extension-switched-off-by-an-options-pragma-out.hs b/corpora/vendored/cpp/configuration/extension-switched-off-by-an-options-pragma-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/configuration/extension-switched-off-by-an-options-pragma-out.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE OverloadedRecordDot #-}
+#ifdef PLAIN_RECORDS
+{-# OPTIONS_GHC -XNoOverloadedRecordDot #-}
+#endif
+
+module Shop.Receipt (subtotal) where
+
+#ifdef PLAIN_RECORDS
+subtotal line = line . price * line . quantity
+#else
+subtotal line = line.price * line.quantity
+#endif
diff --git a/corpora/vendored/cpp/configuration/extension-switched-off-by-an-options-pragma.hs b/corpora/vendored/cpp/configuration/extension-switched-off-by-an-options-pragma.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/configuration/extension-switched-off-by-an-options-pragma.hs
@@ -0,0 +1,8 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE OverloadedRecordDot #-}
+#ifdef PLAIN_RECORDS
+{-# OPTIONS_GHC -XNoOverloadedRecordDot #-}
+#endif
+module Shop.Receipt (subtotal) where
+
+subtotal line = line.price * line.quantity
diff --git a/corpora/vendored/cpp/configuration/extension-switched-off-for-code-behind-another-conditional-out.hs b/corpora/vendored/cpp/configuration/extension-switched-off-for-code-behind-another-conditional-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/configuration/extension-switched-off-for-code-behind-another-conditional-out.hs
@@ -0,0 +1,21 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE OverloadedRecordDot #-}
+#ifdef PLAIN_RECORDS
+{-# LANGUAGE NoOverloadedRecordDot #-}
+#endif
+
+module Shop.Discount (discount) where
+
+#ifdef SALE
+#ifdef PLAIN_RECORDS
+discount item = item . price / 2
+#else
+discount item = item.price / 2
+#endif
+#else
+#ifdef PLAIN_RECORDS
+discount item = item . price
+#else
+discount item = item.price
+#endif
+#endif
diff --git a/corpora/vendored/cpp/configuration/extension-switched-off-for-code-behind-another-conditional.hs b/corpora/vendored/cpp/configuration/extension-switched-off-for-code-behind-another-conditional.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/configuration/extension-switched-off-for-code-behind-another-conditional.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE OverloadedRecordDot #-}
+#ifdef PLAIN_RECORDS
+{-# LANGUAGE NoOverloadedRecordDot #-}
+#endif
+module Shop.Discount (discount) where
+
+#ifdef SALE
+discount item = item.price / 2
+#else
+discount item = item.price
+#endif
diff --git a/corpora/vendored/cpp/configuration/extension-switched-on-behind-a-conditional-out.hs b/corpora/vendored/cpp/configuration/extension-switched-on-behind-a-conditional-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/configuration/extension-switched-on-behind-a-conditional-out.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+#ifdef UNICODE
+{-# LANGUAGE UnicodeSyntax #-}
+#endif
+
+module Text.Glyph (width) where
+
+#ifdef UNICODE
+width ∷ String → Int
+#else
+width :: String -> Int
+#endif
+width = length
diff --git a/corpora/vendored/cpp/configuration/extension-switched-on-behind-a-conditional.hs b/corpora/vendored/cpp/configuration/extension-switched-on-behind-a-conditional.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/configuration/extension-switched-on-behind-a-conditional.hs
@@ -0,0 +1,8 @@
+{-# LANGUAGE CPP #-}
+#ifdef UNICODE
+{-# LANGUAGE UnicodeSyntax #-}
+#endif
+module Text.Glyph (width) where
+
+width :: String -> Int
+width = length
diff --git a/corpora/vendored/cpp/configuration/extension-turned-on-by-the-second-conditional-out.hs b/corpora/vendored/cpp/configuration/extension-turned-on-by-the-second-conditional-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/configuration/extension-turned-on-by-the-second-conditional-out.hs
@@ -0,0 +1,22 @@
+{-# LANGUAGE CPP #-}
+#ifdef TRUSTWORTHY
+{-# LANGUAGE Trustworthy #-}
+#endif
+#ifdef UNBOXED
+{-# LANGUAGE MagicHash #-}
+#endif
+
+-- Of the two conditionals above the header, only the second turns on an
+-- extension that changes how the rest of the module is read.
+module Chimney.Soot (layers) where
+
+#ifdef UNBOXED
+import GHC.Exts (Int (I#), (+#))
+#endif
+
+layers :: Int -> Int
+#ifdef UNBOXED
+layers (I# n) = I# (n +# 1#)
+#else
+layers n = n + 1
+#endif
diff --git a/corpora/vendored/cpp/configuration/extension-turned-on-by-the-second-conditional.hs b/corpora/vendored/cpp/configuration/extension-turned-on-by-the-second-conditional.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/configuration/extension-turned-on-by-the-second-conditional.hs
@@ -0,0 +1,22 @@
+{-# LANGUAGE CPP #-}
+#ifdef TRUSTWORTHY
+{-# LANGUAGE Trustworthy #-}
+#endif
+#ifdef UNBOXED
+{-# LANGUAGE MagicHash #-}
+#endif
+
+-- Of the two conditionals above the header, only the second turns on an
+-- extension that changes how the rest of the module is read.
+module Chimney.Soot (layers) where
+
+#ifdef UNBOXED
+import GHC.Exts (Int (I#), (+#))
+#endif
+
+layers :: Int -> Int
+#ifdef UNBOXED
+layers (I# n) = I# (n +# 1#)
+#else
+layers n = n+1
+#endif
diff --git a/corpora/vendored/cpp/configuration/more-configurations-than-formattings-out.hs b/corpora/vendored/cpp/configuration/more-configurations-than-formattings-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/configuration/more-configurations-than-formattings-out.hs
@@ -0,0 +1,62 @@
+{-# LANGUAGE CPP #-}
+
+module Build.Flags where
+
+#ifdef WITH_MOUSE
+mouse :: Bool
+mouse = True
+#else
+mouse :: Bool
+mouse = False
+#endif
+
+#ifdef WITH_PASTE
+paste :: Bool
+paste = True
+#else
+paste :: Bool
+paste = False
+#endif
+
+#ifdef WITH_COLOUR
+colour :: Bool
+colour = True
+#else
+colour :: Bool
+colour = False
+#endif
+
+#ifdef WITH_TITLE
+title :: Bool
+title = True
+#else
+title :: Bool
+title = False
+#endif
+
+#ifdef WITH_CURSOR
+cursor :: Bool
+cursor = True
+#else
+cursor :: Bool
+cursor = False
+#endif
+
+#ifdef WITH_RESIZE
+resize :: Bool
+resize = True
+#else
+resize :: Bool
+resize = False
+#endif
+
+#ifdef WITH_UNICODE
+unicode :: Bool
+unicode = True
+#else
+unicode :: Bool
+unicode = False
+#endif
+
+everything :: [Bool]
+everything = [mouse, paste, colour, title, cursor, resize, unicode]
diff --git a/corpora/vendored/cpp/configuration/more-configurations-than-formattings.hs b/corpora/vendored/cpp/configuration/more-configurations-than-formattings.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/configuration/more-configurations-than-formattings.hs
@@ -0,0 +1,62 @@
+{-# LANGUAGE CPP #-}
+
+module Build.Flags where
+
+#ifdef WITH_MOUSE
+mouse :: Bool
+mouse  =  True
+#else
+mouse :: Bool
+mouse  =  False
+#endif
+
+#ifdef WITH_PASTE
+paste :: Bool
+paste  =  True
+#else
+paste :: Bool
+paste  =  False
+#endif
+
+#ifdef WITH_COLOUR
+colour :: Bool
+colour  =  True
+#else
+colour :: Bool
+colour  =  False
+#endif
+
+#ifdef WITH_TITLE
+title :: Bool
+title  =  True
+#else
+title :: Bool
+title  =  False
+#endif
+
+#ifdef WITH_CURSOR
+cursor :: Bool
+cursor  =  True
+#else
+cursor :: Bool
+cursor  =  False
+#endif
+
+#ifdef WITH_RESIZE
+resize :: Bool
+resize  =  True
+#else
+resize :: Bool
+resize  =  False
+#endif
+
+#ifdef WITH_UNICODE
+unicode :: Bool
+unicode  =  True
+#else
+unicode :: Bool
+unicode  =  False
+#endif
+
+everything :: [Bool]
+everything  =  [mouse, paste, colour, title, cursor, resize, unicode]
diff --git a/corpora/vendored/cpp/configuration/nested-conditionals-in-branches-that-do-not-parse-together-out'.hs b/corpora/vendored/cpp/configuration/nested-conditionals-in-branches-that-do-not-parse-together-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/configuration/nested-conditionals-in-branches-that-do-not-parse-together-out'.hs
@@ -0,0 +1,28 @@
+{-# LANGUAGE CPP #-}
+
+module Sensor.Read where
+
+infixr 5 +++
+
+(+++) :: [Int] -> [Int] -> [Int]
+(+++) = (++)
+
+calibrate :: Bool -> Int
+calibrate warm =
+#if defined(THERMISTOR)
+    if warm then 1 else 2
+#else
+#if defined(THERMOCOUPLE)
+    case warm of _ -> 3
+#else
+#error "no sensor to calibrate"
+#endif
+#endif
+
+readings :: [Int]
+readings =
+    [1]
+        +++ [2]
+            <> [3]
+            <> [4]
+        +++ [5]
diff --git a/corpora/vendored/cpp/configuration/nested-conditionals-in-branches-that-do-not-parse-together-out.hs b/corpora/vendored/cpp/configuration/nested-conditionals-in-branches-that-do-not-parse-together-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/configuration/nested-conditionals-in-branches-that-do-not-parse-together-out.hs
@@ -0,0 +1,28 @@
+{-# LANGUAGE CPP #-}
+
+module Sensor.Read where
+
+infixr 5 +++
+
+(+++) :: [Int] -> [Int] -> [Int]
+(+++) = (++)
+
+calibrate :: Bool -> Int
+calibrate warm =
+#if defined(THERMISTOR)
+  if warm then 1 else 2
+#else
+#if defined(THERMOCOUPLE)
+  case warm of _ -> 3
+#else
+#error "no sensor to calibrate"
+#endif
+#endif
+
+readings :: [Int]
+readings =
+  [1]
+    +++ [2]
+      <> [3]
+      <> [4]
+    +++ [5]
diff --git a/corpora/vendored/cpp/configuration/nested-conditionals-in-branches-that-do-not-parse-together.hs b/corpora/vendored/cpp/configuration/nested-conditionals-in-branches-that-do-not-parse-together.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/configuration/nested-conditionals-in-branches-that-do-not-parse-together.hs
@@ -0,0 +1,24 @@
+{-# LANGUAGE CPP #-}
+
+module Sensor.Read where
+
+infixr 5 +++
+
+(+++) :: [Int] -> [Int] -> [Int]
+(+++) = (++)
+
+calibrate :: Bool -> Int
+calibrate warm =
+#if defined(THERMISTOR)
+  if warm then 1 else 2
+#else
+#if defined(THERMOCOUPLE)
+  case warm of _ -> 3
+#else
+#error "no sensor to calibrate"
+#endif
+#endif
+
+readings :: [Int]
+readings = [1] +++ [2] <> [3]
+  <> [4] +++ [5]
diff --git a/corpora/vendored/cpp/configuration/nested-out.hs b/corpora/vendored/cpp/configuration/nested-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/configuration/nested-out.hs
@@ -0,0 +1,19 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Cursor where
+
+#ifdef ANSI
+home :: String
+home = "\ESC[H"
+
+#ifdef ANSI_PRIVATE
+hide :: String
+hide = "\ESC[?25l"
+#endif
+#else
+home :: String
+home = "\r"
+#endif
+
+bell :: String
+bell = "\a"
diff --git a/corpora/vendored/cpp/configuration/nested.hs b/corpora/vendored/cpp/configuration/nested.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/configuration/nested.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Cursor where
+
+#ifdef ANSI
+home  ::  String
+home  =  "\ESC[H"
+#  ifdef ANSI_PRIVATE
+hide  ::  String
+hide  =  "\ESC[?25l"
+#  endif
+#else
+home  ::  String
+home  =  "\r"
+#endif
+
+bell :: String
+bell  =  "\a"
diff --git a/corpora/vendored/cpp/configuration/one-guard-asked-at-the-end-of-two-functions-out'.hs b/corpora/vendored/cpp/configuration/one-guard-asked-at-the-end-of-two-functions-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/configuration/one-guard-asked-at-the-end-of-two-functions-out'.hs
@@ -0,0 +1,21 @@
+{-# LANGUAGE CPP #-}
+
+module Outcome (describe, retry) where
+
+describe :: Int -> String
+describe r = case r of
+    0 -> "success"
+    _ -> "failure"
+#if MIN_VERSION_QuickCheck(2,12,0)
+#else
+    1 -> "insufficient coverage"
+#endif
+
+retry :: Int -> Bool
+retry r = case r of
+    0 -> False
+    _ -> True
+#if MIN_VERSION_QuickCheck(2,12,0)
+#else
+    1 -> True
+#endif
diff --git a/corpora/vendored/cpp/configuration/one-guard-asked-at-the-end-of-two-functions-out.hs b/corpora/vendored/cpp/configuration/one-guard-asked-at-the-end-of-two-functions-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/configuration/one-guard-asked-at-the-end-of-two-functions-out.hs
@@ -0,0 +1,21 @@
+{-# LANGUAGE CPP #-}
+
+module Outcome (describe, retry) where
+
+describe :: Int -> String
+describe r = case r of
+  0 -> "success"
+  _ -> "failure"
+#if MIN_VERSION_QuickCheck(2,12,0)
+#else
+  1 -> "insufficient coverage"
+#endif
+
+retry :: Int -> Bool
+retry r = case r of
+  0 -> False
+  _ -> True
+#if MIN_VERSION_QuickCheck(2,12,0)
+#else
+  1 -> True
+#endif
diff --git a/corpora/vendored/cpp/configuration/one-guard-asked-at-the-end-of-two-functions.hs b/corpora/vendored/cpp/configuration/one-guard-asked-at-the-end-of-two-functions.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/configuration/one-guard-asked-at-the-end-of-two-functions.hs
@@ -0,0 +1,21 @@
+{-# LANGUAGE CPP #-}
+
+module Outcome (describe, retry) where
+
+describe :: Int -> String
+describe r = case r of
+  0 -> "success"
+  _ -> "failure"
+#if MIN_VERSION_QuickCheck(2,12,0)
+#else
+  1 -> "insufficient coverage"
+#endif
+
+retry :: Int -> Bool
+retry r = case r of
+  0 -> False
+  _ -> True
+#if MIN_VERSION_QuickCheck(2,12,0)
+#else
+  1 -> True
+#endif
diff --git a/corpora/vendored/cpp/configuration/one-guard-asked-in-imports-and-in-a-declaration-out.hs b/corpora/vendored/cpp/configuration/one-guard-asked-in-imports-and-in-a-declaration-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/configuration/one-guard-asked-in-imports-and-in-a-declaration-out.hs
@@ -0,0 +1,25 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Keymap where
+
+import Data.Maybe (fromMaybe)
+
+#ifdef ORDERED
+lookupKey :: Int -> [(Int, String)] -> String
+lookupKey k = fromMaybe "" . lookup k
+#else
+import qualified Data.IntMap as IntMap
+
+lookupKey :: Int -> [(Int, String)] -> String
+lookupKey k = fromMaybe "" . IntMap.lookup k . IntMap.fromList
+#endif
+
+defaultKey :: Int
+defaultKey = 13
+
+backend :: String
+#ifdef ORDERED
+backend = "list"
+#else
+backend = "intmap"
+#endif
diff --git a/corpora/vendored/cpp/configuration/one-guard-asked-in-imports-and-in-a-declaration.hs b/corpora/vendored/cpp/configuration/one-guard-asked-in-imports-and-in-a-declaration.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/configuration/one-guard-asked-in-imports-and-in-a-declaration.hs
@@ -0,0 +1,24 @@
+{-# LANGUAGE CPP #-}
+module Terminal.Keymap where
+
+import Data.Maybe (fromMaybe)
+
+#ifdef ORDERED
+lookupKey :: Int -> [(Int, String)] -> String
+lookupKey k  =  fromMaybe "" . lookup k
+#else
+import qualified Data.IntMap as IntMap
+
+lookupKey :: Int -> [(Int, String)] -> String
+lookupKey k  =  fromMaybe "" . IntMap.lookup k . IntMap.fromList
+#endif
+
+defaultKey :: Int
+defaultKey  =  13
+
+backend :: String
+#ifdef ORDERED
+backend  =  "list"
+#else
+backend  =  "intmap"
+#endif
diff --git a/corpora/vendored/cpp/configuration/one-guard-asked-of-a-pragma-an-import-and-an-equation-out.hs b/corpora/vendored/cpp/configuration/one-guard-asked-of-a-pragma-an-import-and-an-equation-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/configuration/one-guard-asked-of-a-pragma-an-import-and-an-equation-out.hs
@@ -0,0 +1,20 @@
+{-# LANGUAGE CPP #-}
+#ifdef FAST
+{-# LANGUAGE MagicHash #-}
+#endif
+
+module Terminal.Same (same) where
+
+#ifdef FAST
+import GHC.Exts (isTrue#, reallyUnsafePtrEquality#)
+#endif
+
+same :: a -> a -> Bool
+#ifdef FAST
+same x y = isTrue# (reallyUnsafePtrEquality# x y)
+#else
+same _ _ = False
+#endif
+{-# INLINE same #-}
+
+infix 4 `same`
diff --git a/corpora/vendored/cpp/configuration/one-guard-asked-of-a-pragma-an-import-and-an-equation.hs b/corpora/vendored/cpp/configuration/one-guard-asked-of-a-pragma-an-import-and-an-equation.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/configuration/one-guard-asked-of-a-pragma-an-import-and-an-equation.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE CPP #-}
+#ifdef FAST
+{-# LANGUAGE MagicHash #-}
+#endif
+module Terminal.Same (same) where
+#ifdef FAST
+import GHC.Exts ( isTrue#, reallyUnsafePtrEquality# )
+#endif
+same :: a -> a -> Bool
+#ifdef FAST
+same x y  =  isTrue# (reallyUnsafePtrEquality# x y)
+#else
+same _ _  =  False
+#endif
+{-# INLINE same #-}
+infix 4 `same`
diff --git a/corpora/vendored/cpp/configuration/one-guard-asked-twice-out'.hs b/corpora/vendored/cpp/configuration/one-guard-asked-twice-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/configuration/one-guard-asked-twice-out'.hs
@@ -0,0 +1,43 @@
+{-# LANGUAGE CPP #-}
+#if defined(HAVE_PATTERNS)
+{-# LANGUAGE PatternSynonyms #-}
+#endif
+
+module Terminal.Key
+    ( Key (..)
+    , keyCode
+#ifndef NO_NAMES
+    , keyName
+    , keyLabel
+#if defined(HAVE_PATTERNS)
+    , pattern Escape
+    , pattern Enter
+#endif
+    , keyGlyph
+#endif
+    )
+where
+
+data Key = Key Int
+
+keyCode :: Key -> Int
+keyCode (Key c) = c
+
+#ifndef NO_NAMES
+keyName :: Key -> String
+keyName (Key c) = "key" <> show c
+
+keyLabel :: Key -> String
+keyLabel k = "<" <> keyName k <> ">"
+
+keyGlyph :: Key -> Char
+keyGlyph (Key c) = toEnum c
+#endif
+
+#if defined(HAVE_PATTERNS)
+pattern Escape :: Key
+pattern Escape = Key 27
+
+pattern Enter :: Key
+pattern Enter = Key 13
+#endif
diff --git a/corpora/vendored/cpp/configuration/one-guard-asked-twice-out.hs b/corpora/vendored/cpp/configuration/one-guard-asked-twice-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/configuration/one-guard-asked-twice-out.hs
@@ -0,0 +1,43 @@
+{-# LANGUAGE CPP #-}
+#if defined(HAVE_PATTERNS)
+{-# LANGUAGE PatternSynonyms #-}
+#endif
+
+module Terminal.Key
+  ( Key (..),
+    keyCode,
+#ifndef NO_NAMES
+    keyName,
+    keyLabel,
+#if defined(HAVE_PATTERNS)
+    pattern Escape,
+    pattern Enter,
+#endif
+    keyGlyph,
+#endif
+  )
+where
+
+data Key = Key Int
+
+keyCode :: Key -> Int
+keyCode (Key c) = c
+
+#ifndef NO_NAMES
+keyName :: Key -> String
+keyName (Key c) = "key" <> show c
+
+keyLabel :: Key -> String
+keyLabel k = "<" <> keyName k <> ">"
+
+keyGlyph :: Key -> Char
+keyGlyph (Key c) = toEnum c
+#endif
+
+#if defined(HAVE_PATTERNS)
+pattern Escape :: Key
+pattern Escape = Key 27
+
+pattern Enter :: Key
+pattern Enter = Key 13
+#endif
diff --git a/corpora/vendored/cpp/configuration/one-guard-asked-twice.hs b/corpora/vendored/cpp/configuration/one-guard-asked-twice.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/configuration/one-guard-asked-twice.hs
@@ -0,0 +1,43 @@
+{-# LANGUAGE CPP #-}
+#if defined(HAVE_PATTERNS)
+{-# LANGUAGE PatternSynonyms #-}
+#endif
+
+module Terminal.Key
+  ( Key (..),
+    keyCode,
+#ifndef NO_NAMES
+    keyName,
+    keyLabel,
+#if defined(HAVE_PATTERNS)
+    pattern Escape,
+    pattern Enter,
+#endif
+    keyGlyph,
+#endif
+  )
+where
+
+data Key = Key Int
+
+keyCode :: Key -> Int
+keyCode (Key c)  =  c
+
+#ifndef NO_NAMES
+keyName :: Key -> String
+keyName (Key c)  =  "key" <> show c
+
+keyLabel :: Key -> String
+keyLabel k  =  "<" <> keyName k <> ">"
+
+keyGlyph :: Key -> Char
+keyGlyph (Key c)  =  toEnum c
+#endif
+
+#if defined(HAVE_PATTERNS)
+pattern Escape :: Key
+pattern Escape  =  Key 27
+
+pattern Enter :: Key
+pattern Enter  =  Key 13
+#endif
diff --git a/corpora/vendored/cpp/configuration/pragma-behind-a-question-asked-again-inside-out.hs b/corpora/vendored/cpp/configuration/pragma-behind-a-question-asked-again-inside-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/configuration/pragma-behind-a-question-asked-again-inside-out.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE CPP #-}
+#ifdef USE_MAGIC_PROXY
+{-# LANGUAGE MagicHash #-}
+#endif
+
+module Data.Map.Internal where
+
+import Data.Maybe (fromMaybe)
+#if __GLASGOW_HASKELL__
+import GHC.Exts (build, lazy)
+#ifdef USE_MAGIC_PROXY
+import GHC.Exts (Proxy#, proxy#)
+#endif
+import Data.Coerce
+#endif
diff --git a/corpora/vendored/cpp/configuration/pragma-behind-a-question-asked-again-inside.hs b/corpora/vendored/cpp/configuration/pragma-behind-a-question-asked-again-inside.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/configuration/pragma-behind-a-question-asked-again-inside.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE CPP #-}
+#ifdef USE_MAGIC_PROXY
+{-# LANGUAGE MagicHash #-}
+#endif
+
+module Data.Map.Internal where
+
+import Data.Maybe (fromMaybe)
+#if __GLASGOW_HASKELL__
+import GHC.Exts (build, lazy)
+#  ifdef USE_MAGIC_PROXY
+import GHC.Exts (Proxy#, proxy#)
+#  endif
+import Data.Coerce
+#endif
diff --git a/corpora/vendored/cpp/configuration/pragma-question-asked-again-by-a-chain-out'.hs b/corpora/vendored/cpp/configuration/pragma-question-asked-again-by-a-chain-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/configuration/pragma-question-asked-again-by-a-chain-out'.hs
@@ -0,0 +1,21 @@
+{-# LANGUAGE CPP #-}
+#if defined(HAVE_INTERPRETER) && defined(CAN_LOAD)
+{-# LANGUAGE LambdaCase #-}
+#endif
+
+module Kiln.Loader (load) where
+
+#if defined(HAVE_INTERPRETER) && defined(CAN_LOAD)
+import Data.Maybe (fromMaybe)
+#endif
+
+load :: Maybe Int -> Int
+#if !defined(HAVE_INTERPRETER)
+load _ = 0
+#elif !defined(CAN_LOAD)
+load _ = 1
+#else
+load = \case
+    Nothing -> 2
+    Just n -> fromMaybe n Nothing
+#endif
diff --git a/corpora/vendored/cpp/configuration/pragma-question-asked-again-by-a-chain-out.hs b/corpora/vendored/cpp/configuration/pragma-question-asked-again-by-a-chain-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/configuration/pragma-question-asked-again-by-a-chain-out.hs
@@ -0,0 +1,21 @@
+{-# LANGUAGE CPP #-}
+#if defined(HAVE_INTERPRETER) && defined(CAN_LOAD)
+{-# LANGUAGE LambdaCase #-}
+#endif
+
+module Kiln.Loader (load) where
+
+#if defined(HAVE_INTERPRETER) && defined(CAN_LOAD)
+import Data.Maybe (fromMaybe)
+#endif
+
+load :: Maybe Int -> Int
+#if !defined(HAVE_INTERPRETER)
+load _ = 0
+#elif !defined(CAN_LOAD)
+load _ = 1
+#else
+load = \case
+  Nothing -> 2
+  Just n -> fromMaybe n Nothing
+#endif
diff --git a/corpora/vendored/cpp/configuration/pragma-question-asked-again-by-a-chain.hs b/corpora/vendored/cpp/configuration/pragma-question-asked-again-by-a-chain.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/configuration/pragma-question-asked-again-by-a-chain.hs
@@ -0,0 +1,20 @@
+{-# LANGUAGE CPP #-}
+#if defined(HAVE_INTERPRETER) && defined(CAN_LOAD)
+{-# LANGUAGE LambdaCase #-}
+#endif
+module Kiln.Loader (load) where
+
+#if defined(HAVE_INTERPRETER) && defined(CAN_LOAD)
+import Data.Maybe (fromMaybe)
+#endif
+
+load :: Maybe Int -> Int
+#if !defined(HAVE_INTERPRETER)
+load _ = 0
+#elif !defined(CAN_LOAD)
+load _ = 1
+#else
+load = \case
+  Nothing -> 2
+  Just n -> fromMaybe n Nothing
+#endif
diff --git a/corpora/vendored/cpp/configuration/pragma-question-asked-again-in-a-later-branch-out.hs b/corpora/vendored/cpp/configuration/pragma-question-asked-again-in-a-later-branch-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/configuration/pragma-question-asked-again-in-a-later-branch-out.hs
@@ -0,0 +1,21 @@
+{-# LANGUAGE CPP #-}
+#ifdef HAVE_QUOTES
+{-# LANGUAGE TemplateHaskellQuotes #-}
+#endif
+
+module Lantern.Name (lanternName) where
+
+import Language.Haskell.TH (Name, mkName)
+
+data Lantern = Lantern
+
+lanternName :: Name
+#ifdef BY_STRING
+lanternName = mkName "Lantern"
+#else
+#ifdef HAVE_QUOTES
+lanternName = 'Lantern
+#else
+lanternName = mkName "Lantern.Lantern"
+#endif
+#endif
diff --git a/corpora/vendored/cpp/configuration/pragma-question-asked-again-in-a-later-branch.hs b/corpora/vendored/cpp/configuration/pragma-question-asked-again-in-a-later-branch.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/configuration/pragma-question-asked-again-in-a-later-branch.hs
@@ -0,0 +1,20 @@
+{-# LANGUAGE CPP #-}
+#ifdef HAVE_QUOTES
+{-# LANGUAGE TemplateHaskellQuotes #-}
+#endif
+module Lantern.Name (lanternName) where
+
+import Language.Haskell.TH (Name, mkName)
+
+data Lantern = Lantern
+
+lanternName :: Name
+#ifdef BY_STRING
+lanternName = mkName "Lantern"
+#else
+#ifdef HAVE_QUOTES
+lanternName = 'Lantern
+#else
+lanternName = mkName "Lantern.Lantern"
+#endif
+#endif
diff --git a/corpora/vendored/cpp/configuration/pragma-question-implied-by-a-chain-out'.hs b/corpora/vendored/cpp/configuration/pragma-question-implied-by-a-chain-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/configuration/pragma-question-implied-by-a-chain-out'.hs
@@ -0,0 +1,37 @@
+{-# LANGUAGE CPP #-}
+#if defined(BITS_AS_NATURAL) || defined(BITS_AS_WORD)
+{-# LANGUAGE MagicHash #-}
+#endif
+
+module Data.Bits.Packed
+    ( Bits
+    , emptyBits
+    , isEmpty
+    )
+where
+
+#if defined(BITS_AS_NATURAL)
+import GHC.Num.Natural (Natural (..))
+#elif defined(BITS_AS_WORD)
+import GHC.Exts (Word (W#))
+#endif
+
+#if defined(BITS_AS_NATURAL)
+type Bits = Natural
+
+emptyBits :: Bits
+emptyBits = NS 0##
+#elif defined(BITS_AS_INTEGER)
+type Bits = Integer
+
+emptyBits :: Bits
+emptyBits = 0
+#elif defined(BITS_AS_WORD)
+type Bits = Word
+
+emptyBits :: Bits
+emptyBits = W# 0##
+#endif
+
+isEmpty :: Bits -> Bool
+isEmpty = (== emptyBits)
diff --git a/corpora/vendored/cpp/configuration/pragma-question-implied-by-a-chain-out.hs b/corpora/vendored/cpp/configuration/pragma-question-implied-by-a-chain-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/configuration/pragma-question-implied-by-a-chain-out.hs
@@ -0,0 +1,37 @@
+{-# LANGUAGE CPP #-}
+#if defined(BITS_AS_NATURAL) || defined(BITS_AS_WORD)
+{-# LANGUAGE MagicHash #-}
+#endif
+
+module Data.Bits.Packed
+  ( Bits,
+    emptyBits,
+    isEmpty,
+  )
+where
+
+#if defined(BITS_AS_NATURAL)
+import GHC.Num.Natural (Natural (..))
+#elif defined(BITS_AS_WORD)
+import GHC.Exts (Word (W#))
+#endif
+
+#if defined(BITS_AS_NATURAL)
+type Bits = Natural
+
+emptyBits :: Bits
+emptyBits = NS 0##
+#elif defined(BITS_AS_INTEGER)
+type Bits = Integer
+
+emptyBits :: Bits
+emptyBits = 0
+#elif defined(BITS_AS_WORD)
+type Bits = Word
+
+emptyBits :: Bits
+emptyBits = W# 0##
+#endif
+
+isEmpty :: Bits -> Bool
+isEmpty = (== emptyBits)
diff --git a/corpora/vendored/cpp/configuration/pragma-question-implied-by-a-chain.hs b/corpora/vendored/cpp/configuration/pragma-question-implied-by-a-chain.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/configuration/pragma-question-implied-by-a-chain.hs
@@ -0,0 +1,35 @@
+{-# LANGUAGE CPP #-}
+#if defined(BITS_AS_NATURAL) || defined(BITS_AS_WORD)
+{-# LANGUAGE MagicHash #-}
+#endif
+module Data.Bits.Packed (
+  Bits,
+  emptyBits,
+  isEmpty,
+) where
+
+#if defined(BITS_AS_NATURAL)
+import GHC.Num.Natural (Natural (..))
+#elif defined(BITS_AS_WORD)
+import GHC.Exts (Word (W#))
+#endif
+
+#if defined(BITS_AS_NATURAL)
+type Bits = Natural
+
+emptyBits :: Bits
+emptyBits = NS 0##
+#elif defined(BITS_AS_INTEGER)
+type Bits = Integer
+
+emptyBits :: Bits
+emptyBits = 0
+#elif defined(BITS_AS_WORD)
+type Bits = Word
+
+emptyBits :: Bits
+emptyBits = W# 0##
+#endif
+
+isEmpty :: Bits -> Bool
+isEmpty = (== emptyBits)
diff --git a/corpora/vendored/cpp/configuration/question-asked-again-in-another-spelling-out.hs b/corpora/vendored/cpp/configuration/question-asked-again-in-another-spelling-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/configuration/question-asked-again-in-another-spelling-out.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+#if defined USE_FFI
+{-# LANGUAGE MagicHash #-}
+#endif
+
+module Counter where
+
+step :: Int -> Int
+#if defined(USE_FFI)
+step (I# n) = I# (n +# 1#)
+#else
+step n = n + 1
+#endif
diff --git a/corpora/vendored/cpp/configuration/question-asked-again-in-another-spelling.hs b/corpora/vendored/cpp/configuration/question-asked-again-in-another-spelling.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/configuration/question-asked-again-in-another-spelling.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE CPP #-}
+#if defined USE_FFI
+{-# LANGUAGE MagicHash #-}
+#endif
+module Counter where
+
+step :: Int -> Int
+#if defined(USE_FFI)
+step (I# n) = I# (n +# 1#)
+#else
+step n = n + 1
+#endif
diff --git a/corpora/vendored/cpp/configuration/question-asked-again-inside-a-declaration-out'.hs b/corpora/vendored/cpp/configuration/question-asked-again-inside-a-declaration-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/configuration/question-asked-again-inside-a-declaration-out'.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE CPP #-}
+
+module Network.Client (connect) where
+
+#if MIN_VERSION_network(3,0,0)
+connect :: Socket -> SockAddr -> Int -> IO Connection
+connect sock addr timeout = do
+#else
+connect :: Socket -> SockAddr -> IO Connection
+connect sock addr = do
+#endif
+    handle <- socketToHandle sock ReadWriteMode
+    peer <- getPeerName sock
+#if MIN_VERSION_network(3,0,0)
+    withTimeout timeout (open handle peer)
+#else
+    open handle peer
+#endif
diff --git a/corpora/vendored/cpp/configuration/question-asked-again-inside-a-declaration-out.hs b/corpora/vendored/cpp/configuration/question-asked-again-inside-a-declaration-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/configuration/question-asked-again-inside-a-declaration-out.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE CPP #-}
+
+module Network.Client (connect) where
+
+#if MIN_VERSION_network(3,0,0)
+connect :: Socket -> SockAddr -> Int -> IO Connection
+connect sock addr timeout = do
+#else
+connect :: Socket -> SockAddr -> IO Connection
+connect sock addr = do
+#endif
+  handle <- socketToHandle sock ReadWriteMode
+  peer <- getPeerName sock
+#if MIN_VERSION_network(3,0,0)
+  withTimeout timeout (open handle peer)
+#else
+  open handle peer
+#endif
diff --git a/corpora/vendored/cpp/configuration/question-asked-again-inside-a-declaration.hs b/corpora/vendored/cpp/configuration/question-asked-again-inside-a-declaration.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/configuration/question-asked-again-inside-a-declaration.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE CPP #-}
+
+module Network.Client (connect) where
+
+#if MIN_VERSION_network(3,0,0)
+connect :: Socket -> SockAddr -> Int -> IO Connection
+connect sock addr timeout = do
+#else
+connect :: Socket -> SockAddr -> IO Connection
+connect sock addr = do
+#endif
+  handle <- socketToHandle sock ReadWriteMode
+  peer <- getPeerName sock
+#if MIN_VERSION_network(3,0,0)
+  withTimeout timeout (open handle peer)
+#else
+  open handle peer
+#endif
diff --git a/corpora/vendored/cpp/configuration/ruled-out-branch-holding-nothing-out.hs b/corpora/vendored/cpp/configuration/ruled-out-branch-holding-nothing-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/configuration/ruled-out-branch-holding-nothing-out.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE CPP #-}
+
+module M where
+
+#if FLAG
+g = 1
+#else
+#if FLAG
+#else
+f = 1
+#endif
+#endif
diff --git a/corpora/vendored/cpp/configuration/ruled-out-branch-holding-nothing.hs b/corpora/vendored/cpp/configuration/ruled-out-branch-holding-nothing.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/configuration/ruled-out-branch-holding-nothing.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE CPP #-}
+
+module M where
+
+#if FLAG
+g = 1
+#else
+#if FLAG
+#else
+f = 1
+#endif
+#endif
diff --git a/corpora/vendored/cpp/configuration/same-guard-twice-out'.hs b/corpora/vendored/cpp/configuration/same-guard-twice-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/configuration/same-guard-twice-out'.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE RankNTypes #-}
+
+module Terminal.Run (runFrame) where
+
+import Control.Monad.ST (ST, runST)
+import Terminal.Buffer (Buffer, freeze, shrink)
+#if defined(ASSERTS)
+import GHC.Stack (HasCallStack)
+#endif
+
+runFrame ::
+#if defined(ASSERTS)
+    HasCallStack =>
+#endif
+    (forall s. (Buffer s -> Int -> ST s Buffer) -> ST s Buffer) -> Buffer
+runFrame act = runST (act (\buffer used -> shrink buffer used >> freeze buffer))
diff --git a/corpora/vendored/cpp/configuration/same-guard-twice-out.hs b/corpora/vendored/cpp/configuration/same-guard-twice-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/configuration/same-guard-twice-out.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE RankNTypes #-}
+
+module Terminal.Run (runFrame) where
+
+import Control.Monad.ST (ST, runST)
+import Terminal.Buffer (Buffer, freeze, shrink)
+#if defined(ASSERTS)
+import GHC.Stack (HasCallStack)
+#endif
+
+runFrame ::
+#if defined(ASSERTS)
+  HasCallStack =>
+#endif
+  (forall s. (Buffer s -> Int -> ST s Buffer) -> ST s Buffer) -> Buffer
+runFrame act = runST (act (\buffer used -> shrink buffer used >> freeze buffer))
diff --git a/corpora/vendored/cpp/configuration/same-guard-twice.hs b/corpora/vendored/cpp/configuration/same-guard-twice.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/configuration/same-guard-twice.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE RankNTypes #-}
+
+module Terminal.Run (runFrame) where
+
+import Control.Monad.ST (ST, runST)
+import Terminal.Buffer (Buffer, freeze, shrink)
+
+#if defined(ASSERTS)
+import GHC.Stack (HasCallStack)
+#endif
+
+runFrame ::
+#if defined(ASSERTS)
+  (HasCallStack) =>
+#endif
+  (forall s. (Buffer s -> Int -> ST s Buffer) -> ST s Buffer) -> Buffer
+runFrame act  =  runST (act (\buffer used -> shrink buffer used >> freeze buffer))
diff --git a/corpora/vendored/cpp/declaration/branch-with-a-where-clause-out'.hs b/corpora/vendored/cpp/declaration/branch-with-a-where-clause-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/branch-with-a-where-clause-out'.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+
+module Cache.Warm where
+
+warm :: IO ()
+warm = do
+#if TRACING
+    report (label 1)
+    where
+        label n = "warm " <> show n
+#else
+    pure ()
+#endif
diff --git a/corpora/vendored/cpp/declaration/branch-with-a-where-clause-out.hs b/corpora/vendored/cpp/declaration/branch-with-a-where-clause-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/branch-with-a-where-clause-out.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+
+module Cache.Warm where
+
+warm :: IO ()
+warm = do
+#if TRACING
+  report (label 1)
+  where
+    label n = "warm " <> show n
+#else
+  pure ()
+#endif
diff --git a/corpora/vendored/cpp/declaration/branch-with-a-where-clause.hs b/corpora/vendored/cpp/declaration/branch-with-a-where-clause.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/branch-with-a-where-clause.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+
+module Cache.Warm where
+
+warm :: IO ()
+warm = do
+#if TRACING
+  report (label 1)
+  where
+    label n = "warm " <> show n
+#else
+  pure ()
+#endif
diff --git a/corpora/vendored/cpp/declaration/branches-ending-a-body-differently-out'.hs b/corpora/vendored/cpp/declaration/branches-ending-a-body-differently-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/branches-ending-a-body-differently-out'.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE CPP #-}
+
+module Console.Encoding where
+
+unicodeSupported :: Handle -> IO Bool
+unicodeSupported h = do
+#ifndef __MHS__
+    (== Just "UTF-8") . fmap show <$> hGetEncoding h
+#else
+    return True
+
+canonicalize :: FilePath -> IO FilePath
+canonicalize = return
+#endif
diff --git a/corpora/vendored/cpp/declaration/branches-ending-a-body-differently-out.hs b/corpora/vendored/cpp/declaration/branches-ending-a-body-differently-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/branches-ending-a-body-differently-out.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE CPP #-}
+
+module Console.Encoding where
+
+unicodeSupported :: Handle -> IO Bool
+unicodeSupported h = do
+#ifndef __MHS__
+  (== Just "UTF-8") . fmap show <$> hGetEncoding h
+#else
+  return True
+
+canonicalize :: FilePath -> IO FilePath
+canonicalize = return
+#endif
diff --git a/corpora/vendored/cpp/declaration/branches-ending-a-body-differently.hs b/corpora/vendored/cpp/declaration/branches-ending-a-body-differently.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/branches-ending-a-body-differently.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE CPP #-}
+
+module Console.Encoding where
+
+unicodeSupported :: Handle -> IO Bool
+unicodeSupported h = do
+#ifndef __MHS__
+  (== Just "UTF-8") . fmap show <$> hGetEncoding h
+#else
+  return True
+
+canonicalize :: FilePath -> IO FilePath
+canonicalize = return
+#endif
diff --git a/corpora/vendored/cpp/declaration/class-members-behind-a-conditional-out'.hs b/corpora/vendored/cpp/declaration/class-members-behind-a-conditional-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/class-members-behind-a-conditional-out'.hs
@@ -0,0 +1,8 @@
+{-# LANGUAGE CPP #-}
+
+module Shelf.Label where
+
+class Shelved a where
+#ifdef WITH_LABELS
+    label :: a -> String
+#endif
diff --git a/corpora/vendored/cpp/declaration/class-members-behind-a-conditional-out.hs b/corpora/vendored/cpp/declaration/class-members-behind-a-conditional-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/class-members-behind-a-conditional-out.hs
@@ -0,0 +1,8 @@
+{-# LANGUAGE CPP #-}
+
+module Shelf.Label where
+
+class Shelved a where
+#ifdef WITH_LABELS
+  label :: a -> String
+#endif
diff --git a/corpora/vendored/cpp/declaration/class-members-behind-a-conditional-with-an-empty-first-branch-out'.hs b/corpora/vendored/cpp/declaration/class-members-behind-a-conditional-with-an-empty-first-branch-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/class-members-behind-a-conditional-with-an-empty-first-branch-out'.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE CPP #-}
+
+module Shelf.Label where
+
+class Shelved a where
+#ifdef OLD_BASE
+#else
+    label :: a -> String
+#endif
diff --git a/corpora/vendored/cpp/declaration/class-members-behind-a-conditional-with-an-empty-first-branch-out.hs b/corpora/vendored/cpp/declaration/class-members-behind-a-conditional-with-an-empty-first-branch-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/class-members-behind-a-conditional-with-an-empty-first-branch-out.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE CPP #-}
+
+module Shelf.Label where
+
+class Shelved a where
+#ifdef OLD_BASE
+#else
+  label :: a -> String
+#endif
diff --git a/corpora/vendored/cpp/declaration/class-members-behind-a-conditional-with-an-empty-first-branch.hs b/corpora/vendored/cpp/declaration/class-members-behind-a-conditional-with-an-empty-first-branch.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/class-members-behind-a-conditional-with-an-empty-first-branch.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE CPP #-}
+
+module Shelf.Label where
+
+class Shelved a where
+#ifdef OLD_BASE
+#else
+  label :: a -> String
+#endif
diff --git a/corpora/vendored/cpp/declaration/class-members-behind-a-conditional.hs b/corpora/vendored/cpp/declaration/class-members-behind-a-conditional.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/class-members-behind-a-conditional.hs
@@ -0,0 +1,8 @@
+{-# LANGUAGE CPP #-}
+
+module Shelf.Label where
+
+class Shelved a where
+#ifdef WITH_LABELS
+  label :: a -> String
+#endif
diff --git a/corpora/vendored/cpp/declaration/class-members-behind-two-conditionals-out'.hs b/corpora/vendored/cpp/declaration/class-members-behind-two-conditionals-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/class-members-behind-two-conditionals-out'.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE CPP #-}
+
+module Shelf.Label where
+
+class Shelved a where
+#ifdef OLD_BASE
+#else
+    label :: a -> String
+#endif
+#ifdef WITH_NAMES
+    name :: a -> String
+#endif
diff --git a/corpora/vendored/cpp/declaration/class-members-behind-two-conditionals-out.hs b/corpora/vendored/cpp/declaration/class-members-behind-two-conditionals-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/class-members-behind-two-conditionals-out.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE CPP #-}
+
+module Shelf.Label where
+
+class Shelved a where
+#ifdef OLD_BASE
+#else
+  label :: a -> String
+#endif
+#ifdef WITH_NAMES
+  name :: a -> String
+#endif
diff --git a/corpora/vendored/cpp/declaration/class-members-behind-two-conditionals.hs b/corpora/vendored/cpp/declaration/class-members-behind-two-conditionals.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/class-members-behind-two-conditionals.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE CPP #-}
+
+module Shelf.Label where
+
+class Shelved a where
+#ifdef OLD_BASE
+#else
+  label :: a -> String
+#endif
+#ifdef WITH_NAMES
+  name :: a -> String
+#endif
diff --git a/corpora/vendored/cpp/declaration/class-where-behind-a-conditional-out'.hs b/corpora/vendored/cpp/declaration/class-where-behind-a-conditional-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/class-where-behind-a-conditional-out'.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE CPP #-}
+
+module Shelf.Label where
+
+class Shelved a
+#ifdef WITH_LABELS
+    where
+    label :: a -> String
+#endif
+
+class Named a
+#ifdef WITH_LABELS
+    where
+    label :: a -> String
+#else
+    where
+    name :: a -> String
+#endif
diff --git a/corpora/vendored/cpp/declaration/class-where-behind-a-conditional-out.hs b/corpora/vendored/cpp/declaration/class-where-behind-a-conditional-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/class-where-behind-a-conditional-out.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE CPP #-}
+
+module Shelf.Label where
+
+class Shelved a
+#ifdef WITH_LABELS
+  where
+  label :: a -> String
+#endif
+
+class Named a
+#ifdef WITH_LABELS
+  where
+  label :: a -> String
+#else
+  where
+  name :: a -> String
+#endif
diff --git a/corpora/vendored/cpp/declaration/class-where-behind-a-conditional.hs b/corpora/vendored/cpp/declaration/class-where-behind-a-conditional.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/class-where-behind-a-conditional.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE CPP #-}
+
+module Shelf.Label where
+
+class Shelved a
+#ifdef WITH_LABELS
+  where
+  label :: a -> String
+#endif
+
+class Named a
+#ifdef WITH_LABELS
+  where
+  label :: a -> String
+#else
+  where
+  name :: a -> String
+#endif
diff --git a/corpora/vendored/cpp/declaration/conditional-from-a-where-clause-indented-with-a-tab-out'.hs b/corpora/vendored/cpp/declaration/conditional-from-a-where-clause-indented-with-a-tab-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/conditional-from-a-where-clause-indented-with-a-tab-out'.hs
@@ -0,0 +1,21 @@
+{-# LANGUAGE CPP #-}
+
+-- A conditional that begins among bindings indented with a tab and goes on
+-- into the declarations after it stays one conditional, as it does where
+-- they are indented with spaces.
+module T where
+
+f :: Int -> Int
+f x = y
+    where
+        y = x + 1
+#if defined(EXTRA)
+        z = 2
+
+g :: Int
+g = 1
+#else
+
+g :: Int
+g = 2
+#endif
diff --git a/corpora/vendored/cpp/declaration/conditional-from-a-where-clause-indented-with-a-tab-out.hs b/corpora/vendored/cpp/declaration/conditional-from-a-where-clause-indented-with-a-tab-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/conditional-from-a-where-clause-indented-with-a-tab-out.hs
@@ -0,0 +1,21 @@
+{-# LANGUAGE CPP #-}
+
+-- A conditional that begins among bindings indented with a tab and goes on
+-- into the declarations after it stays one conditional, as it does where
+-- they are indented with spaces.
+module T where
+
+f :: Int -> Int
+f x = y
+  where
+    y = x + 1
+#if defined(EXTRA)
+    z = 2
+
+g :: Int
+g = 1
+#else
+
+g :: Int
+g = 2
+#endif
diff --git a/corpora/vendored/cpp/declaration/conditional-from-a-where-clause-indented-with-a-tab.hs b/corpora/vendored/cpp/declaration/conditional-from-a-where-clause-indented-with-a-tab.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/conditional-from-a-where-clause-indented-with-a-tab.hs
@@ -0,0 +1,21 @@
+{-# LANGUAGE CPP #-}
+
+-- A conditional that begins among bindings indented with a tab and goes on
+-- into the declarations after it stays one conditional, as it does where
+-- they are indented with spaces.
+module T where
+
+f :: Int -> Int
+f x = y
+  where
+	y = x + 1
+#if defined(EXTRA)
+	z = 2
+
+g :: Int
+g = 1
+#else
+
+g :: Int
+g = 2
+#endif
diff --git a/corpora/vendored/cpp/declaration/conditional-from-a-where-clause-into-declarations-out'.hs b/corpora/vendored/cpp/declaration/conditional-from-a-where-clause-into-declarations-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/conditional-from-a-where-clause-into-declarations-out'.hs
@@ -0,0 +1,36 @@
+{-# LANGUAGE CPP #-}
+
+-- A conditional that begins in a where clause and goes on into the
+-- declarations after it stays one conditional.
+module Data.Witness where
+
+withWitness :: Witness a -> (Known a => r) -> r
+withWitness w k = go k
+    where
+        go :: (Known a => r) -> r
+#if MIN_VERSION_base(4,17,0)
+        go = withDict @(Known a) w
+#else
+        go r = unsafeCoerce (Wrap r) w
+
+-- the dictionary of a class with one method is that method
+#if __GLASGOW_HASKELL__ >= 810
+type Wrap :: Type -> Type -> Type
+#endif
+newtype Wrap a r = Wrap (Known a => r)
+#endif
+
+-- Without an #else.
+render :: Witness a -> String
+render w = label w
+    where
+        label _ = "witness"
+#if WITNESS_DEBUG
+        debug = show . Debugged
+
+#if __GLASGOW_HASKELL__ >= 810
+type Debugged :: Type -> Type
+#endif
+newtype Debugged a = Debugged (Witness a)
+    deriving (Show)
+#endif
diff --git a/corpora/vendored/cpp/declaration/conditional-from-a-where-clause-into-declarations-out.hs b/corpora/vendored/cpp/declaration/conditional-from-a-where-clause-into-declarations-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/conditional-from-a-where-clause-into-declarations-out.hs
@@ -0,0 +1,36 @@
+{-# LANGUAGE CPP #-}
+
+-- A conditional that begins in a where clause and goes on into the
+-- declarations after it stays one conditional.
+module Data.Witness where
+
+withWitness :: Witness a -> (Known a => r) -> r
+withWitness w k = go k
+  where
+    go :: (Known a => r) -> r
+#if MIN_VERSION_base(4,17,0)
+    go = withDict @(Known a) w
+#else
+    go r = unsafeCoerce (Wrap r) w
+
+-- the dictionary of a class with one method is that method
+#if __GLASGOW_HASKELL__ >= 810
+type Wrap :: Type -> Type -> Type
+#endif
+newtype Wrap a r = Wrap (Known a => r)
+#endif
+
+-- Without an #else.
+render :: Witness a -> String
+render w = label w
+  where
+    label _ = "witness"
+#if WITNESS_DEBUG
+    debug = show . Debugged
+
+#if __GLASGOW_HASKELL__ >= 810
+type Debugged :: Type -> Type
+#endif
+newtype Debugged a = Debugged (Witness a)
+  deriving (Show)
+#endif
diff --git a/corpora/vendored/cpp/declaration/conditional-from-a-where-clause-into-declarations.hs b/corpora/vendored/cpp/declaration/conditional-from-a-where-clause-into-declarations.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/conditional-from-a-where-clause-into-declarations.hs
@@ -0,0 +1,36 @@
+{-# LANGUAGE CPP #-}
+
+-- A conditional that begins in a where clause and goes on into the
+-- declarations after it stays one conditional.
+module Data.Witness where
+
+withWitness :: Witness a -> ((Known a) => r) -> r
+withWitness w k = go k
+  where
+    go :: ((Known a) => r) -> r
+#if MIN_VERSION_base(4,17,0)
+    go = withDict @(Known a) w
+#else
+    go r = unsafeCoerce (Wrap r) w
+
+-- the dictionary of a class with one method is that method
+#if __GLASGOW_HASKELL__ >= 810
+type Wrap :: Type -> Type -> Type
+#endif
+newtype Wrap a r = Wrap ((Known a) => r)
+#endif
+
+-- Without an #else.
+render :: Witness a -> String
+render w = label w
+  where
+    label _ = "witness"
+#if WITNESS_DEBUG
+    debug = show . Debugged
+
+#if __GLASGOW_HASKELL__ >= 810
+type Debugged :: Type -> Type
+#endif
+newtype Debugged a = Debugged (Witness a)
+  deriving (Show)
+#endif
diff --git a/corpora/vendored/cpp/declaration/conditional-going-on-past-a-declaration-out'.hs b/corpora/vendored/cpp/declaration/conditional-going-on-past-a-declaration-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/conditional-going-on-past-a-declaration-out'.hs
@@ -0,0 +1,22 @@
+{-# LANGUAGE CPP #-}
+
+module Socket.Spec where
+
+-- | Everything the server answers.
+spec :: Spec
+spec = do
+    describe "routes" $ do
+        it "serves GET" $ get "/" `shouldRespondWith` 200
+        it "serves POST" $ post "/" "" `shouldRespondWith` 200 -- and nothing else
+#if !defined(mingw32_HOST_OS)
+    -- No unix sockets on Windows.
+    describe "sockets"
+        $ it "works with a unix socket"
+        $ withServer socketPath
+    where
+        socketPath = "/tmp/test.socket"
+
+-- | Run the server on a socket for as long as the inner action runs.
+withServer :: FilePath -> IO a -> IO a
+withServer path inner = bracket (listenOn path) close (const inner)
+#endif
diff --git a/corpora/vendored/cpp/declaration/conditional-going-on-past-a-declaration-out.hs b/corpora/vendored/cpp/declaration/conditional-going-on-past-a-declaration-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/conditional-going-on-past-a-declaration-out.hs
@@ -0,0 +1,22 @@
+{-# LANGUAGE CPP #-}
+
+module Socket.Spec where
+
+-- | Everything the server answers.
+spec :: Spec
+spec = do
+  describe "routes" $ do
+    it "serves GET" $ get "/" `shouldRespondWith` 200
+    it "serves POST" $ post "/" "" `shouldRespondWith` 200 -- and nothing else
+#if !defined(mingw32_HOST_OS)
+  -- No unix sockets on Windows.
+  describe "sockets"
+    $ it "works with a unix socket"
+    $ withServer socketPath
+  where
+    socketPath = "/tmp/test.socket"
+
+-- | Run the server on a socket for as long as the inner action runs.
+withServer :: FilePath -> IO a -> IO a
+withServer path inner = bracket (listenOn path) close (const inner)
+#endif
diff --git a/corpora/vendored/cpp/declaration/conditional-going-on-past-a-declaration.hs b/corpora/vendored/cpp/declaration/conditional-going-on-past-a-declaration.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/conditional-going-on-past-a-declaration.hs
@@ -0,0 +1,21 @@
+{-# LANGUAGE CPP #-}
+
+module Socket.Spec where
+
+-- | Everything the server answers.
+spec :: Spec
+spec = do
+  describe "routes" $ do
+    it "serves GET" $ get "/" `shouldRespondWith` 200
+    it "serves POST" $ post "/" "" `shouldRespondWith` 200 -- and nothing else
+#if !defined(mingw32_HOST_OS)
+  -- No unix sockets on Windows.
+  describe "sockets" $
+    it "works with a unix socket" $
+      withServer socketPath
+  where socketPath = "/tmp/test.socket"
+
+-- | Run the server on a socket for as long as the inner action runs.
+withServer :: FilePath -> IO a -> IO a
+withServer path inner = bracket (listenOn path) close (const inner)
+#endif
diff --git a/corpora/vendored/cpp/declaration/conditional-in-the-first-declaration-out'.hs b/corpora/vendored/cpp/declaration/conditional-in-the-first-declaration-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/conditional-in-the-first-declaration-out'.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE CPP #-}
+
+module Brewery.Mash where
+
+strikeTemperature :: Int
+strikeTemperature =
+#if defined(METRIC)
+    72
+#else
+    162
+#endif
+
+restMinutes :: Int
+restMinutes = 60
+
+spargeLitres :: Int
+spargeLitres = 20
diff --git a/corpora/vendored/cpp/declaration/conditional-in-the-first-declaration-out.hs b/corpora/vendored/cpp/declaration/conditional-in-the-first-declaration-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/conditional-in-the-first-declaration-out.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE CPP #-}
+
+module Brewery.Mash where
+
+strikeTemperature :: Int
+strikeTemperature =
+#if defined(METRIC)
+  72
+#else
+  162
+#endif
+
+restMinutes :: Int
+restMinutes = 60
+
+spargeLitres :: Int
+spargeLitres = 20
diff --git a/corpora/vendored/cpp/declaration/conditional-in-the-first-declaration.hs b/corpora/vendored/cpp/declaration/conditional-in-the-first-declaration.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/conditional-in-the-first-declaration.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE CPP #-}
+
+module Brewery.Mash where
+
+strikeTemperature :: Int
+strikeTemperature =
+#if defined(METRIC)
+  72
+#else
+  162
+#endif
+
+restMinutes  ::  Int
+restMinutes  =  60
+
+spargeLitres  ::  Int
+spargeLitres  =  20
diff --git a/corpora/vendored/cpp/declaration/constraint-added-inside-the-brackets-of-a-context-out'.hs b/corpora/vendored/cpp/declaration/constraint-added-inside-the-brackets-of-a-context-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/constraint-added-inside-the-brackets-of-a-context-out'.hs
@@ -0,0 +1,25 @@
+{-# LANGUAGE CPP #-}
+
+module Shop.Plus where
+
+class Plus f where
+    zero :: f a
+
+instance
+    ( Monoid c
+#if !(MIN_VERSION_base(4,11,0))
+    , Semigroup c
+#endif
+    )
+    => Plus (K1 i c)
+    where
+    zero = K1 mempty
+
+render
+    :: ( Show a
+#if defined(DEBUG)
+       , Eq a
+#endif
+       )
+    => a -> String
+render = show
diff --git a/corpora/vendored/cpp/declaration/constraint-added-inside-the-brackets-of-a-context-out.hs b/corpora/vendored/cpp/declaration/constraint-added-inside-the-brackets-of-a-context-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/constraint-added-inside-the-brackets-of-a-context-out.hs
@@ -0,0 +1,25 @@
+{-# LANGUAGE CPP #-}
+
+module Shop.Plus where
+
+class Plus f where
+  zero :: f a
+
+instance
+  ( Monoid c
+#if !(MIN_VERSION_base(4,11,0))
+    , Semigroup c
+#endif
+  ) =>
+  Plus (K1 i c)
+  where
+  zero = K1 mempty
+
+render ::
+  ( Show a
+#if defined(DEBUG)
+    , Eq a
+#endif
+  ) =>
+  a -> String
+render = show
diff --git a/corpora/vendored/cpp/declaration/constraint-added-inside-the-brackets-of-a-context.hs b/corpora/vendored/cpp/declaration/constraint-added-inside-the-brackets-of-a-context.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/constraint-added-inside-the-brackets-of-a-context.hs
@@ -0,0 +1,20 @@
+{-# LANGUAGE CPP #-}
+
+module Shop.Plus where
+
+class Plus f where
+  zero :: f a
+
+instance (Monoid c
+#if !(MIN_VERSION_base(4,11,0))
+         , Semigroup c
+#endif
+  ) => Plus (K1 i c) where
+  zero = K1 mempty
+
+render :: (Show a
+#if defined(DEBUG)
+          , Eq a
+#endif
+  ) => a -> String
+render = show
diff --git a/corpora/vendored/cpp/declaration/constraint-added-inside-the-brackets-of-other-contexts-out'.hs b/corpora/vendored/cpp/declaration/constraint-added-inside-the-brackets-of-other-contexts-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/constraint-added-inside-the-brackets-of-other-contexts-out'.hs
@@ -0,0 +1,32 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE GADTs #-}
+
+module Shop.Stock where
+
+class
+    ( Monoid s
+#if !(MIN_VERSION_base(4,11,0))
+    , Semigroup s
+#endif
+    )
+    => Stock s
+    where
+    empty :: s
+
+data Item
+    = forall a
+       . ( Show a
+#if defined(DEBUG)
+         , Eq a
+#endif
+         )
+      => Item a
+
+data Entry a where
+    Entry
+        :: ( Show a
+#if defined(DEBUG)
+           , Eq a
+#endif
+           )
+        => a -> Entry a
diff --git a/corpora/vendored/cpp/declaration/constraint-added-inside-the-brackets-of-other-contexts-out.hs b/corpora/vendored/cpp/declaration/constraint-added-inside-the-brackets-of-other-contexts-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/constraint-added-inside-the-brackets-of-other-contexts-out.hs
@@ -0,0 +1,32 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE GADTs #-}
+
+module Shop.Stock where
+
+class
+  ( Monoid s
+#if !(MIN_VERSION_base(4,11,0))
+    , Semigroup s
+#endif
+  ) =>
+  Stock s
+  where
+  empty :: s
+
+data Item
+  = forall a.
+    ( Show a
+#if defined(DEBUG)
+      , Eq a
+#endif
+    ) =>
+    Item a
+
+data Entry a where
+  Entry ::
+    ( Show a
+#if defined(DEBUG)
+      , Eq a
+#endif
+    ) =>
+    a -> Entry a
diff --git a/corpora/vendored/cpp/declaration/constraint-added-inside-the-brackets-of-other-contexts.hs b/corpora/vendored/cpp/declaration/constraint-added-inside-the-brackets-of-other-contexts.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/constraint-added-inside-the-brackets-of-other-contexts.hs
@@ -0,0 +1,24 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE GADTs #-}
+
+module Shop.Stock where
+
+class (Monoid s
+#if !(MIN_VERSION_base(4,11,0))
+      , Semigroup s
+#endif
+  ) => Stock s where
+  empty :: s
+
+data Item = forall a. (Show a
+#if defined(DEBUG)
+                      , Eq a
+#endif
+  ) => Item a
+
+data Entry a where
+  Entry :: (Show a
+#if defined(DEBUG)
+           , Eq a
+#endif
+    ) => a -> Entry a
diff --git a/corpora/vendored/cpp/declaration/constraint-chosen-inside-the-brackets-of-a-context-out'.hs b/corpora/vendored/cpp/declaration/constraint-chosen-inside-the-brackets-of-a-context-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/constraint-chosen-inside-the-brackets-of-a-context-out'.hs
@@ -0,0 +1,26 @@
+{-# LANGUAGE CPP #-}
+
+module Shop.Order where
+
+sorted
+    :: (
+#if defined(STABLE)
+         Ord a
+#else
+         Eq a
+#endif
+       )
+    => [a] -> [a]
+sorted = id
+
+instance
+    (
+#if defined(STABLE)
+      Ord a
+#else
+      Eq a
+#endif
+    )
+    => Order [a]
+    where
+    order = id
diff --git a/corpora/vendored/cpp/declaration/constraint-chosen-inside-the-brackets-of-a-context-out.hs b/corpora/vendored/cpp/declaration/constraint-chosen-inside-the-brackets-of-a-context-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/constraint-chosen-inside-the-brackets-of-a-context-out.hs
@@ -0,0 +1,26 @@
+{-# LANGUAGE CPP #-}
+
+module Shop.Order where
+
+sorted ::
+  (
+#if defined(STABLE)
+    Ord a
+#else
+    Eq a
+#endif
+  ) =>
+  [a] -> [a]
+sorted = id
+
+instance
+  (
+#if defined(STABLE)
+    Ord a
+#else
+    Eq a
+#endif
+  ) =>
+  Order [a]
+  where
+  order = id
diff --git a/corpora/vendored/cpp/declaration/constraint-chosen-inside-the-brackets-of-a-context.hs b/corpora/vendored/cpp/declaration/constraint-chosen-inside-the-brackets-of-a-context.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/constraint-chosen-inside-the-brackets-of-a-context.hs
@@ -0,0 +1,21 @@
+{-# LANGUAGE CPP #-}
+
+module Shop.Order where
+
+sorted :: (
+#if defined(STABLE)
+           Ord a
+#else
+           Eq a
+#endif
+  ) => [a] -> [a]
+sorted = id
+
+instance (
+#if defined(STABLE)
+           Ord a
+#else
+           Eq a
+#endif
+  ) => Order [a] where
+  order = id
diff --git a/corpora/vendored/cpp/declaration/context-in-one-branch-out'.hs b/corpora/vendored/cpp/declaration/context-in-one-branch-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/context-in-one-branch-out'.hs
@@ -0,0 +1,26 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE ExplicitForAll #-}
+
+-- A context in one branch only, before a type written over several lines.
+module Terminal.Trace where
+
+import GHC.Stack (HasCallStack)
+
+traceMessage ::
+#ifdef WITH_CALLSTACK
+    HasCallStack =>
+#endif
+    String
+    -> [(String, Int)]
+    -> IO ()
+traceMessage message _pairs = putStrLn message
+
+traceLevel
+    :: forall a.
+#ifdef WITH_CALLSTACK
+    HasCallStack =>
+#endif
+    Show a
+    => a
+    -> IO ()
+traceLevel = print
diff --git a/corpora/vendored/cpp/declaration/context-in-one-branch-out.hs b/corpora/vendored/cpp/declaration/context-in-one-branch-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/context-in-one-branch-out.hs
@@ -0,0 +1,26 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE ExplicitForAll #-}
+
+-- A context in one branch only, before a type written over several lines.
+module Terminal.Trace where
+
+import GHC.Stack (HasCallStack)
+
+traceMessage ::
+#ifdef WITH_CALLSTACK
+  HasCallStack =>
+#endif
+  String ->
+  [(String, Int)] ->
+  IO ()
+traceMessage message _pairs = putStrLn message
+
+traceLevel ::
+  forall a.
+#ifdef WITH_CALLSTACK
+  HasCallStack =>
+#endif
+  Show a =>
+  a ->
+  IO ()
+traceLevel = print
diff --git a/corpora/vendored/cpp/declaration/context-in-one-branch.hs b/corpora/vendored/cpp/declaration/context-in-one-branch.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/context-in-one-branch.hs
@@ -0,0 +1,26 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE ExplicitForAll #-}
+
+-- A context in one branch only, before a type written over several lines.
+module Terminal.Trace where
+
+import GHC.Stack (HasCallStack)
+
+traceMessage ::
+#ifdef WITH_CALLSTACK
+  HasCallStack =>
+#endif
+  String ->
+  [(String, Int)] ->
+  IO ()
+traceMessage message _pairs = putStrLn message
+
+traceLevel ::
+  forall a.
+#ifdef WITH_CALLSTACK
+  HasCallStack =>
+#endif
+  Show a =>
+  a ->
+  IO ()
+traceLevel = print
diff --git a/corpora/vendored/cpp/declaration/data-or-newtype-out'.hs b/corpora/vendored/cpp/declaration/data-or-newtype-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/data-or-newtype-out'.hs
@@ -0,0 +1,19 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Cell where
+
+import Data.IORef (IORef)
+
+-- | A cell of the screen.
+#ifdef PROFILING
+data Cell = Cell
+    { cellRef :: {-# UNPACK #-} !(IORef Char)
+    , cellCount :: {-# UNPACK #-} !Int
+#else
+newtype Cell = Cell
+    { cellRef :: IORef Char
+#endif
+    }
+
+blank :: Char
+blank = ' '
diff --git a/corpora/vendored/cpp/declaration/data-or-newtype-out.hs b/corpora/vendored/cpp/declaration/data-or-newtype-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/data-or-newtype-out.hs
@@ -0,0 +1,19 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Cell where
+
+import Data.IORef (IORef)
+
+-- | A cell of the screen.
+#ifdef PROFILING
+data Cell = Cell
+  { cellRef :: {-# UNPACK #-} !(IORef Char),
+    cellCount :: {-# UNPACK #-} !Int
+#else
+newtype Cell = Cell
+  { cellRef :: IORef Char
+#endif
+  }
+
+blank :: Char
+blank = ' '
diff --git a/corpora/vendored/cpp/declaration/data-or-newtype.hs b/corpora/vendored/cpp/declaration/data-or-newtype.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/data-or-newtype.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE CPP #-}
+module Terminal.Cell where
+
+import Data.IORef (IORef)
+
+-- | A cell of the screen.
+#ifdef PROFILING
+data Cell = Cell
+  { cellRef :: {-# UNPACK #-} !(IORef Char)
+  , cellCount :: {-# UNPACK #-} !Int
+#else
+newtype Cell = Cell
+  { cellRef :: IORef Char
+#endif
+  }
+
+blank :: Char
+blank  =  ' '
diff --git a/corpora/vendored/cpp/declaration/declarations-sharing-a-line-out.hs b/corpora/vendored/cpp/declaration/declarations-sharing-a-line-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/declarations-sharing-a-line-out.hs
@@ -0,0 +1,20 @@
+{-# LANGUAGE CPP #-}
+
+module Chimney.Flue where
+
+newtype Flue a = Flue Int
+
+data Narrow
+
+type NarrowFlue = Flue Narrow
+
+data Wide
+
+type WideFlue = Flue Wide
+
+width :: Flue a -> Int
+#ifdef METRIC
+width (Flue n) = n * 10
+#else
+width (Flue n) = n
+#endif
diff --git a/corpora/vendored/cpp/declaration/declarations-sharing-a-line.hs b/corpora/vendored/cpp/declaration/declarations-sharing-a-line.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/declarations-sharing-a-line.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE CPP #-}
+
+module Chimney.Flue where
+
+newtype Flue a = Flue Int
+
+data Narrow; type NarrowFlue = Flue Narrow
+data Wide; type WideFlue = Flue Wide
+
+width :: Flue a -> Int
+#ifdef METRIC
+width (Flue n) = n * 10
+#else
+width (Flue n) = n
+#endif
diff --git a/corpora/vendored/cpp/declaration/deriving-strategy-behind-a-conditional-out'.hs b/corpora/vendored/cpp/declaration/deriving-strategy-behind-a-conditional-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/deriving-strategy-behind-a-conditional-out'.hs
@@ -0,0 +1,21 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE DerivingStrategies #-}
+{-# LANGUAGE StandaloneDeriving #-}
+
+module Route.Leg where
+
+newtype Leg = Leg Int
+    deriving
+#ifdef WITH_NEWTYPE_DERIVING
+        newtype
+#else
+        stock
+#endif
+        (Eq)
+
+deriving
+#ifdef WITH_STOCK
+    stock
+#endif
+    instance
+    Show Leg
diff --git a/corpora/vendored/cpp/declaration/deriving-strategy-behind-a-conditional-out.hs b/corpora/vendored/cpp/declaration/deriving-strategy-behind-a-conditional-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/deriving-strategy-behind-a-conditional-out.hs
@@ -0,0 +1,21 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE DerivingStrategies #-}
+{-# LANGUAGE StandaloneDeriving #-}
+
+module Route.Leg where
+
+newtype Leg = Leg Int
+  deriving
+#ifdef WITH_NEWTYPE_DERIVING
+    newtype
+#else
+    stock
+#endif
+    (Eq)
+
+deriving
+#ifdef WITH_STOCK
+  stock
+#endif
+  instance
+  Show Leg
diff --git a/corpora/vendored/cpp/declaration/deriving-strategy-behind-a-conditional.hs b/corpora/vendored/cpp/declaration/deriving-strategy-behind-a-conditional.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/deriving-strategy-behind-a-conditional.hs
@@ -0,0 +1,20 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE DerivingStrategies #-}
+{-# LANGUAGE StandaloneDeriving #-}
+
+module Route.Leg where
+
+newtype Leg = Leg Int
+  deriving
+#ifdef WITH_NEWTYPE_DERIVING
+    newtype
+#else
+    stock
+#endif
+    (Eq)
+
+deriving
+#ifdef WITH_STOCK
+  stock
+#endif
+  instance Show Leg
diff --git a/corpora/vendored/cpp/declaration/do-block-held-entirely-by-a-conditional-out'.hs b/corpora/vendored/cpp/declaration/do-block-held-entirely-by-a-conditional-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/do-block-held-entirely-by-a-conditional-out'.hs
@@ -0,0 +1,8 @@
+{-# LANGUAGE CPP #-}
+
+module Garden.Alarm where
+
+frost = do
+#ifdef SIREN
+    putStrLn "frost tonight"
+#endif
diff --git a/corpora/vendored/cpp/declaration/do-block-held-entirely-by-a-conditional-out.hs b/corpora/vendored/cpp/declaration/do-block-held-entirely-by-a-conditional-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/do-block-held-entirely-by-a-conditional-out.hs
@@ -0,0 +1,8 @@
+{-# LANGUAGE CPP #-}
+
+module Garden.Alarm where
+
+frost = do
+#ifdef SIREN
+  putStrLn "frost tonight"
+#endif
diff --git a/corpora/vendored/cpp/declaration/do-block-held-entirely-by-a-conditional.hs b/corpora/vendored/cpp/declaration/do-block-held-entirely-by-a-conditional.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/do-block-held-entirely-by-a-conditional.hs
@@ -0,0 +1,8 @@
+{-# LANGUAGE CPP #-}
+
+module Garden.Alarm where
+
+frost = do
+#ifdef SIREN
+  putStrLn "frost tonight"
+#endif
diff --git a/corpora/vendored/cpp/declaration/equation-head-over-several-lines-in-one-branch-out'.hs b/corpora/vendored/cpp/declaration/equation-head-over-several-lines-in-one-branch-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/equation-head-over-several-lines-in-one-branch-out'.hs
@@ -0,0 +1,35 @@
+{-# LANGUAGE CPP #-}
+
+module Network.Client (connect, pick) where
+
+-- | Opens a connection over a socket.
+#if MIN_VERSION_network(3,0,0)
+connect :: Socket -> SockAddr -> Int -> IO Connection
+connect
+    sock
+    addr
+    timeout = do
+#else
+connect :: Socket -> SockAddr -> IO Connection
+connect sock addr = do
+#endif
+        handle <- socketToHandle sock ReadWriteMode
+        peer <- getPeerName sock
+#if MIN_VERSION_network(3,0,0)
+        withTimeout timeout (open handle peer)
+#else
+        open handle peer
+#endif
+
+-- | Picks a port, unless one is given.
+pick :: Int -> Maybe Int -> Int
+pick n m = case m of
+#if MIN_VERSION_base(4,10,0)
+    Just
+        k -> do
+#else
+    Just k -> do
+#endif
+            let r = k + n
+            r
+    Nothing -> n
diff --git a/corpora/vendored/cpp/declaration/equation-head-over-several-lines-in-one-branch-out.hs b/corpora/vendored/cpp/declaration/equation-head-over-several-lines-in-one-branch-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/equation-head-over-several-lines-in-one-branch-out.hs
@@ -0,0 +1,35 @@
+{-# LANGUAGE CPP #-}
+
+module Network.Client (connect, pick) where
+
+-- | Opens a connection over a socket.
+#if MIN_VERSION_network(3,0,0)
+connect :: Socket -> SockAddr -> Int -> IO Connection
+connect
+  sock
+  addr
+  timeout = do
+#else
+connect :: Socket -> SockAddr -> IO Connection
+connect sock addr = do
+#endif
+    handle <- socketToHandle sock ReadWriteMode
+    peer <- getPeerName sock
+#if MIN_VERSION_network(3,0,0)
+    withTimeout timeout (open handle peer)
+#else
+    open handle peer
+#endif
+
+-- | Picks a port, unless one is given.
+pick :: Int -> Maybe Int -> Int
+pick n m = case m of
+#if MIN_VERSION_base(4,10,0)
+  Just
+    k -> do
+#else
+  Just k -> do
+#endif
+      let r = k + n
+      r
+  Nothing -> n
diff --git a/corpora/vendored/cpp/declaration/equation-head-over-several-lines-in-one-branch.hs b/corpora/vendored/cpp/declaration/equation-head-over-several-lines-in-one-branch.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/equation-head-over-several-lines-in-one-branch.hs
@@ -0,0 +1,33 @@
+{-# LANGUAGE CPP #-}
+
+module Network.Client (connect, pick) where
+
+-- | Opens a connection over a socket.
+#if MIN_VERSION_network(3,0,0)
+connect :: Socket -> SockAddr -> Int -> IO Connection
+connect sock addr
+        timeout = do
+#else
+connect :: Socket -> SockAddr -> IO Connection
+connect sock addr = do
+#endif
+  handle <- socketToHandle sock ReadWriteMode
+  peer <- getPeerName sock
+#if MIN_VERSION_network(3,0,0)
+  withTimeout timeout (open handle peer)
+#else
+  open handle peer
+#endif
+
+-- | Picks a port, unless one is given.
+pick :: Int -> Maybe Int -> Int
+pick n m = case m of
+#if MIN_VERSION_base(4,10,0)
+  Just
+    k -> do
+#else
+  Just k -> do
+#endif
+    let r = k + n
+    r
+  Nothing -> n
diff --git a/corpora/vendored/cpp/declaration/export-list-varying-after-the-name-out'.hs b/corpora/vendored/cpp/declaration/export-list-varying-after-the-name-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/export-list-varying-after-the-name-out'.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE CPP #-}
+
+-- | Things to export, or none.
+module Things
+#ifdef HIDE
+    () where
+#else
+    ( thing
+    , other
+    )
+where
+
+thing :: Int
+thing = 1
+
+other :: Int
+other = 2
+#endif
diff --git a/corpora/vendored/cpp/declaration/export-list-varying-after-the-name-out.hs b/corpora/vendored/cpp/declaration/export-list-varying-after-the-name-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/export-list-varying-after-the-name-out.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE CPP #-}
+
+-- | Things to export, or none.
+module Things
+#ifdef HIDE
+  () where
+#else
+  ( thing,
+    other,
+  )
+where
+
+thing :: Int
+thing = 1
+
+other :: Int
+other = 2
+#endif
diff --git a/corpora/vendored/cpp/declaration/export-list-varying-after-the-name.hs b/corpora/vendored/cpp/declaration/export-list-varying-after-the-name.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/export-list-varying-after-the-name.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE CPP #-}
+-- | Things to export, or none.
+module Things
+#ifdef HIDE
+  () where
+#else
+  ( thing
+  , other
+  ) where
+
+thing :: Int
+thing = 1
+
+other :: Int
+other = 2
+#endif
diff --git a/corpora/vendored/cpp/declaration/first-constraint-added-inside-the-brackets-of-a-context-out'.hs b/corpora/vendored/cpp/declaration/first-constraint-added-inside-the-brackets-of-a-context-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/first-constraint-added-inside-the-brackets-of-a-context-out'.hs
@@ -0,0 +1,24 @@
+{-# LANGUAGE CPP #-}
+
+module Shop.Merge where
+
+instance
+    (
+#if !(MIN_VERSION_base(4,11,0))
+      Semigroup c,
+#endif
+      Monoid c
+    )
+    => Merge (K1 i c)
+    where
+    merge = K1 mempty
+
+combine
+    :: (
+#if !(MIN_VERSION_base(4,11,0))
+         Semigroup a,
+#endif
+         Monoid a
+       )
+    => [a] -> a
+combine = mconcat
diff --git a/corpora/vendored/cpp/declaration/first-constraint-added-inside-the-brackets-of-a-context-out.hs b/corpora/vendored/cpp/declaration/first-constraint-added-inside-the-brackets-of-a-context-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/first-constraint-added-inside-the-brackets-of-a-context-out.hs
@@ -0,0 +1,24 @@
+{-# LANGUAGE CPP #-}
+
+module Shop.Merge where
+
+instance
+  (
+#if !(MIN_VERSION_base(4,11,0))
+    Semigroup c,
+#endif
+    Monoid c
+  ) =>
+  Merge (K1 i c)
+  where
+  merge = K1 mempty
+
+combine ::
+  (
+#if !(MIN_VERSION_base(4,11,0))
+    Semigroup a,
+#endif
+    Monoid a
+  ) =>
+  [a] -> a
+combine = mconcat
diff --git a/corpora/vendored/cpp/declaration/first-constraint-added-inside-the-brackets-of-a-context.hs b/corpora/vendored/cpp/declaration/first-constraint-added-inside-the-brackets-of-a-context.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/first-constraint-added-inside-the-brackets-of-a-context.hs
@@ -0,0 +1,19 @@
+{-# LANGUAGE CPP #-}
+
+module Shop.Merge where
+
+instance (
+#if !(MIN_VERSION_base(4,11,0))
+           Semigroup c,
+#endif
+           Monoid c
+  ) => Merge (K1 i c) where
+  merge = K1 mempty
+
+combine :: (
+#if !(MIN_VERSION_base(4,11,0))
+             Semigroup a,
+#endif
+             Monoid a
+  ) => [a] -> a
+combine = mconcat
diff --git a/corpora/vendored/cpp/declaration/forall-binders-behind-a-conditional-out'.hs b/corpora/vendored/cpp/declaration/forall-binders-behind-a-conditional-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/forall-binders-behind-a-conditional-out'.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE ExplicitForAll #-}
+
+module Kiln.Clock where
+
+-- The binders of a forall that a conditional varies whole stay in
+-- each branch, on a line of their own.
+lookupCont
+#if defined(__GLASGOW_HASKELL__)
+    :: forall r k v
+#else
+    :: forall k v r
+#endif
+     . k -> (v -> r) -> r
+lookupCont = undefined
diff --git a/corpora/vendored/cpp/declaration/forall-binders-behind-a-conditional-out.hs b/corpora/vendored/cpp/declaration/forall-binders-behind-a-conditional-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/forall-binders-behind-a-conditional-out.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE ExplicitForAll #-}
+
+module Kiln.Clock where
+
+-- The binders of a forall that a conditional varies whole stay in
+-- each branch, on a line of their own.
+lookupCont ::
+#if defined(__GLASGOW_HASKELL__)
+  forall r k v.
+#else
+  forall k v r.
+#endif
+  k -> (v -> r) -> r
+lookupCont = undefined
diff --git a/corpora/vendored/cpp/declaration/forall-binders-behind-a-conditional.hs b/corpora/vendored/cpp/declaration/forall-binders-behind-a-conditional.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/forall-binders-behind-a-conditional.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE ExplicitForAll #-}
+
+module Kiln.Clock where
+
+-- The binders of a forall that a conditional varies whole stay in
+-- each branch, on a line of their own.
+lookupCont ::
+#if defined(__GLASGOW_HASKELL__)
+  forall r k v.
+#else
+  forall k v r.
+#endif
+  k -> (v -> r) -> r
+lookupCont = undefined
diff --git a/corpora/vendored/cpp/declaration/forall-binders-past-the-column-limit-behind-a-conditional-out'.hs b/corpora/vendored/cpp/declaration/forall-binders-past-the-column-limit-behind-a-conditional-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/forall-binders-past-the-column-limit-behind-a-conditional-out'.hs
@@ -0,0 +1,26 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE ExplicitForAll #-}
+{-# LANGUAGE KindSignatures #-}
+
+module Kiln.Clock where
+
+import Data.Kind (Type)
+
+-- The binders of a forall that a conditional varies whole stay in each
+-- branch on one line, past column 80 as well.
+lookupCont
+#if defined(__GLASGOW_HASKELL__)
+    :: forall
+        (result :: Type)
+        (key :: Type)
+        (value :: Type)
+        (container :: Type -> Type)
+#else
+    :: forall
+        (key :: Type)
+        (value :: Type)
+        (container :: Type -> Type)
+        (result :: Type)
+#endif
+     . key -> (value -> result) -> container value -> result
+lookupCont = undefined
diff --git a/corpora/vendored/cpp/declaration/forall-binders-past-the-column-limit-behind-a-conditional-out.hs b/corpora/vendored/cpp/declaration/forall-binders-past-the-column-limit-behind-a-conditional-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/forall-binders-past-the-column-limit-behind-a-conditional-out.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE ExplicitForAll #-}
+{-# LANGUAGE KindSignatures #-}
+
+module Kiln.Clock where
+
+import Data.Kind (Type)
+
+-- The binders of a forall that a conditional varies whole stay in each
+-- branch on one line, past column 80 as well.
+lookupCont ::
+#if defined(__GLASGOW_HASKELL__)
+  forall (result :: Type) (key :: Type) (value :: Type) (container :: Type -> Type).
+#else
+  forall (key :: Type) (value :: Type) (container :: Type -> Type) (result :: Type).
+#endif
+  key -> (value -> result) -> container value -> result
+lookupCont = undefined
diff --git a/corpora/vendored/cpp/declaration/forall-binders-past-the-column-limit-behind-a-conditional.hs b/corpora/vendored/cpp/declaration/forall-binders-past-the-column-limit-behind-a-conditional.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/forall-binders-past-the-column-limit-behind-a-conditional.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE ExplicitForAll #-}
+{-# LANGUAGE KindSignatures #-}
+
+module Kiln.Clock where
+
+import Data.Kind (Type)
+
+-- The binders of a forall that a conditional varies whole stay in each
+-- branch on one line, past column 80 as well.
+lookupCont ::
+#if defined(__GLASGOW_HASKELL__)
+  forall (result :: Type) (key :: Type) (value :: Type) (container :: Type -> Type).
+#else
+  forall (key :: Type) (value :: Type) (container :: Type -> Type) (result :: Type).
+#endif
+  key -> (value -> result) -> container value -> result
+lookupCont = undefined
diff --git a/corpora/vendored/cpp/declaration/guards-behind-a-conditional-out'.hs b/corpora/vendored/cpp/declaration/guards-behind-a-conditional-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/guards-behind-a-conditional-out'.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE CPP #-}
+
+module Process.Signal where
+
+number :: String -> Int
+number name
+    | name == "HUP" = 1
+#if !defined(mingw32_HOST_OS)
+    | name == "USR1" = 10
+    | name == "USR2" = 12
+#endif
+    | otherwise = 15
diff --git a/corpora/vendored/cpp/declaration/guards-behind-a-conditional-out.hs b/corpora/vendored/cpp/declaration/guards-behind-a-conditional-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/guards-behind-a-conditional-out.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE CPP #-}
+
+module Process.Signal where
+
+number :: String -> Int
+number name
+  | name == "HUP" = 1
+#if !defined(mingw32_HOST_OS)
+  | name == "USR1" = 10
+  | name == "USR2" = 12
+#endif
+  | otherwise = 15
diff --git a/corpora/vendored/cpp/declaration/guards-behind-a-conditional.hs b/corpora/vendored/cpp/declaration/guards-behind-a-conditional.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/guards-behind-a-conditional.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE CPP #-}
+
+module Process.Signal where
+
+number :: String -> Int
+number name
+  | name == "HUP" = 1
+#if !defined(mingw32_HOST_OS)
+  | name == "USR1" = 10
+  | name == "USR2" = 12
+#endif
+  | otherwise = 15
diff --git a/corpora/vendored/cpp/declaration/infix-method-with-its-operator-in-each-branch-out'.hs b/corpora/vendored/cpp/declaration/infix-method-with-its-operator-in-each-branch-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/infix-method-with-its-operator-in-each-branch-out'.hs
@@ -0,0 +1,21 @@
+{-# LANGUAGE CPP #-}
+
+-- An operator written in each branch, between operands written once around
+-- the conditional, takes the operand after it into each branch, where the
+-- same question asked above picks the instance the method belongs to.
+module Weather.Rainfall (Rainfall (..)) where
+
+data Rainfall = Rainfall !Int !Int
+
+instance Monoid Rainfall where
+    mempty = Rainfall 0 0
+
+#ifdef WITH_SEMIGROUP
+instance Semigroup Rainfall where
+#endif
+    (Rainfall am pm)
+#ifdef WITH_SEMIGROUP
+        <> (Rainfall am' pm') = Rainfall (am + am') (max pm pm')
+#else
+        `mappend` (Rainfall am' pm') = Rainfall (am + am') (max pm pm')
+#endif
diff --git a/corpora/vendored/cpp/declaration/infix-method-with-its-operator-in-each-branch-out.hs b/corpora/vendored/cpp/declaration/infix-method-with-its-operator-in-each-branch-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/infix-method-with-its-operator-in-each-branch-out.hs
@@ -0,0 +1,21 @@
+{-# LANGUAGE CPP #-}
+
+-- An operator written in each branch, between operands written once around
+-- the conditional, takes the operand after it into each branch, where the
+-- same question asked above picks the instance the method belongs to.
+module Weather.Rainfall (Rainfall (..)) where
+
+data Rainfall = Rainfall !Int !Int
+
+instance Monoid Rainfall where
+  mempty = Rainfall 0 0
+
+#ifdef WITH_SEMIGROUP
+instance Semigroup Rainfall where
+#endif
+  (Rainfall am pm)
+#ifdef WITH_SEMIGROUP
+    <> (Rainfall am' pm') = Rainfall (am + am') (max pm pm')
+#else
+    `mappend` (Rainfall am' pm') = Rainfall (am + am') (max pm pm')
+#endif
diff --git a/corpora/vendored/cpp/declaration/infix-method-with-its-operator-in-each-branch.hs b/corpora/vendored/cpp/declaration/infix-method-with-its-operator-in-each-branch.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/infix-method-with-its-operator-in-each-branch.hs
@@ -0,0 +1,21 @@
+{-# LANGUAGE CPP #-}
+
+-- An operator written in each branch, between operands written once around
+-- the conditional, takes the operand after it into each branch, where the
+-- same question asked above picks the instance the method belongs to.
+module Weather.Rainfall (Rainfall (..)) where
+
+data Rainfall = Rainfall !Int !Int
+
+instance Monoid Rainfall where
+  mempty = Rainfall 0 0
+#ifdef WITH_SEMIGROUP
+instance Semigroup Rainfall where
+#endif
+  (Rainfall am pm)
+#ifdef WITH_SEMIGROUP
+    <>
+#else
+    `mappend`
+#endif
+    (Rainfall am' pm') = Rainfall (am + am') (max pm pm')
diff --git a/corpora/vendored/cpp/declaration/inside-a-binding-group-out'.hs b/corpora/vendored/cpp/declaration/inside-a-binding-group-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/inside-a-binding-group-out'.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Describe where
+
+describe :: Int -> String
+describe n = go n
+    where
+        go 0 = "none"
+#ifdef VERBOSE
+        go 1 = "exactly one"
+#else
+        go 1 = "1"
+#endif
+        go k = show k
diff --git a/corpora/vendored/cpp/declaration/inside-a-binding-group-out.hs b/corpora/vendored/cpp/declaration/inside-a-binding-group-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/inside-a-binding-group-out.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Describe where
+
+describe :: Int -> String
+describe n = go n
+  where
+    go 0 = "none"
+#ifdef VERBOSE
+    go 1 = "exactly one"
+#else
+    go 1 = "1"
+#endif
+    go k = show k
diff --git a/corpora/vendored/cpp/declaration/inside-a-binding-group.hs b/corpora/vendored/cpp/declaration/inside-a-binding-group.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/inside-a-binding-group.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Describe where
+
+describe :: Int -> String
+describe n  =  go n
+  where
+    go 0  =  "none"
+#ifdef VERBOSE
+    go 1  =  "exactly one"
+#else
+    go 1  =  "1"
+#endif
+    go k  =  show k
diff --git a/corpora/vendored/cpp/declaration/inside-a-signature-out'.hs b/corpora/vendored/cpp/declaration/inside-a-signature-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/inside-a-signature-out'.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Trace where
+
+import GHC.Stack (HasCallStack)
+
+traceMessage ::
+#ifdef WITH_CALLSTACK
+    HasCallStack =>
+#endif
+    String -> [(String, Int)] -> Maybe String -> Either String Int -> IO ()
+traceMessage message _pairs _fallback _outcome = putStrLn message
diff --git a/corpora/vendored/cpp/declaration/inside-a-signature-out.hs b/corpora/vendored/cpp/declaration/inside-a-signature-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/inside-a-signature-out.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Trace where
+
+import GHC.Stack (HasCallStack)
+
+traceMessage ::
+#ifdef WITH_CALLSTACK
+  HasCallStack =>
+#endif
+  String -> [(String, Int)] -> Maybe String -> Either String Int -> IO ()
+traceMessage message _pairs _fallback _outcome = putStrLn message
diff --git a/corpora/vendored/cpp/declaration/inside-a-signature.hs b/corpora/vendored/cpp/declaration/inside-a-signature.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/inside-a-signature.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Trace where
+
+import GHC.Stack (HasCallStack)
+
+traceMessage ::
+#ifdef WITH_CALLSTACK
+  (HasCallStack) =>
+#endif
+  String -> [(String, Int)] -> Maybe String -> Either String Int -> IO ()
+traceMessage message _pairs _fallback _outcome  =  putStrLn message
diff --git a/corpora/vendored/cpp/declaration/instance-head-in-each-branch-with-a-member-in-one-out'.hs b/corpora/vendored/cpp/declaration/instance-head-in-each-branch-with-a-member-in-one-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/instance-head-in-each-branch-with-a-member-in-one-out'.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE TypeFamilies #-}
+
+module Kitchen.Pot where
+
+instance
+#ifdef WITH_TIMERS
+    Cooks (t -> Stew) where
+    type Timer (t -> Stew) = t
+#else
+    Cooks (() -> Stew) where
+#endif
+    cook f = simmer (f ())
diff --git a/corpora/vendored/cpp/declaration/instance-head-in-each-branch-with-a-member-in-one-out.hs b/corpora/vendored/cpp/declaration/instance-head-in-each-branch-with-a-member-in-one-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/instance-head-in-each-branch-with-a-member-in-one-out.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE TypeFamilies #-}
+
+module Kitchen.Pot where
+
+instance
+#ifdef WITH_TIMERS
+  Cooks (t -> Stew) where
+  type Timer (t -> Stew) = t
+#else
+  Cooks (() -> Stew) where
+#endif
+  cook f = simmer (f ())
diff --git a/corpora/vendored/cpp/declaration/instance-head-in-each-branch-with-a-member-in-one.hs b/corpora/vendored/cpp/declaration/instance-head-in-each-branch-with-a-member-in-one.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/instance-head-in-each-branch-with-a-member-in-one.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE TypeFamilies #-}
+
+module Kitchen.Pot where
+
+#ifdef WITH_TIMERS
+instance Cooks (t -> Stew) where
+  type Timer (t -> Stew) = t
+#else
+instance Cooks (() -> Stew) where
+#endif
+  cook f = simmer (f ())
diff --git a/corpora/vendored/cpp/declaration/instance-head-longer-in-one-configuration-out'.hs b/corpora/vendored/cpp/declaration/instance-head-longer-in-one-configuration-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/instance-head-longer-in-one-configuration-out'.hs
@@ -0,0 +1,24 @@
+{-# LANGUAGE CPP #-}
+
+module Ledger.Entry where
+
+data Entry account currency amount = Entry account currency amount
+
+instance
+#if defined(AUDITED)
+    (Show account, Show currency, Show amount)
+    => Show (Entry account currency amount)
+    where
+#else
+    Show account => Show (Entry account currency amount) where
+#endif
+    show _ = "entry"
+
+instance
+#if defined(LENIENT)
+    Eq account => Eq (Entry account currency amount) where
+#else
+    (Eq account, Eq currency, Eq amount) => Eq (Entry account currency amount)
+    where
+#endif
+    _ == _ = True
diff --git a/corpora/vendored/cpp/declaration/instance-head-longer-in-one-configuration-out.hs b/corpora/vendored/cpp/declaration/instance-head-longer-in-one-configuration-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/instance-head-longer-in-one-configuration-out.hs
@@ -0,0 +1,24 @@
+{-# LANGUAGE CPP #-}
+
+module Ledger.Entry where
+
+data Entry account currency amount = Entry account currency amount
+
+instance
+#if defined(AUDITED)
+  (Show account, Show currency, Show amount) =>
+  Show (Entry account currency amount)
+  where
+#else
+  Show account => Show (Entry account currency amount) where
+#endif
+  show _ = "entry"
+
+instance
+#if defined(LENIENT)
+  Eq account => Eq (Entry account currency amount) where
+#else
+  (Eq account, Eq currency, Eq amount) => Eq (Entry account currency amount)
+  where
+#endif
+  _ == _ = True
diff --git a/corpora/vendored/cpp/declaration/instance-head-longer-in-one-configuration.hs b/corpora/vendored/cpp/declaration/instance-head-longer-in-one-configuration.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/instance-head-longer-in-one-configuration.hs
@@ -0,0 +1,19 @@
+{-# LANGUAGE CPP #-}
+
+module Ledger.Entry where
+
+data Entry account currency amount = Entry account currency amount
+
+#if defined(AUDITED)
+instance (Show account, Show currency, Show amount) => Show (Entry account currency amount) where
+#else
+instance (Show account) => Show (Entry account currency amount) where
+#endif
+  show _ = "entry"
+
+#if defined(LENIENT)
+instance (Eq account) => Eq (Entry account currency amount) where
+#else
+instance (Eq account, Eq currency, Eq amount) => Eq (Entry account currency amount) where
+#endif
+  _ == _ = True
diff --git a/corpora/vendored/cpp/declaration/instance-members-after-a-conditional-with-an-empty-first-branch-out'.hs b/corpora/vendored/cpp/declaration/instance-members-after-a-conditional-with-an-empty-first-branch-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/instance-members-after-a-conditional-with-an-empty-first-branch-out'.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE CPP #-}
+
+module Fault.Impossible where
+
+instance Exception Impossible where
+#ifdef OLD_BASE
+#else
+    backtraceDesired _ = False
+#endif
+#ifdef WITH_DISPLAY
+    displayException _ = "impossible"
+#endif
diff --git a/corpora/vendored/cpp/declaration/instance-members-after-a-conditional-with-an-empty-first-branch-out.hs b/corpora/vendored/cpp/declaration/instance-members-after-a-conditional-with-an-empty-first-branch-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/instance-members-after-a-conditional-with-an-empty-first-branch-out.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE CPP #-}
+
+module Fault.Impossible where
+
+instance Exception Impossible where
+#ifdef OLD_BASE
+#else
+  backtraceDesired _ = False
+#endif
+#ifdef WITH_DISPLAY
+  displayException _ = "impossible"
+#endif
diff --git a/corpora/vendored/cpp/declaration/instance-members-after-a-conditional-with-an-empty-first-branch.hs b/corpora/vendored/cpp/declaration/instance-members-after-a-conditional-with-an-empty-first-branch.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/instance-members-after-a-conditional-with-an-empty-first-branch.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE CPP #-}
+
+module Fault.Impossible where
+
+instance Exception Impossible where
+#ifdef OLD_BASE
+#else
+  backtraceDesired _ = False
+#endif
+#ifdef WITH_DISPLAY
+  displayException _ = "impossible"
+#endif
diff --git a/corpora/vendored/cpp/declaration/instance-members-behind-a-conditional-out'.hs b/corpora/vendored/cpp/declaration/instance-members-behind-a-conditional-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/instance-members-behind-a-conditional-out'.hs
@@ -0,0 +1,8 @@
+{-# LANGUAGE CPP #-}
+
+module Fault.Impossible where
+
+instance Exception Impossible where
+#ifdef QUIET
+    backtraceDesired _ = False
+#endif
diff --git a/corpora/vendored/cpp/declaration/instance-members-behind-a-conditional-out.hs b/corpora/vendored/cpp/declaration/instance-members-behind-a-conditional-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/instance-members-behind-a-conditional-out.hs
@@ -0,0 +1,8 @@
+{-# LANGUAGE CPP #-}
+
+module Fault.Impossible where
+
+instance Exception Impossible where
+#ifdef QUIET
+  backtraceDesired _ = False
+#endif
diff --git a/corpora/vendored/cpp/declaration/instance-members-behind-a-conditional-with-an-empty-first-branch-out'.hs b/corpora/vendored/cpp/declaration/instance-members-behind-a-conditional-with-an-empty-first-branch-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/instance-members-behind-a-conditional-with-an-empty-first-branch-out'.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE CPP #-}
+
+module Fault.Impossible where
+
+instance Exception Impossible where
+#if !MIN_VERSION_base(4,20,0)
+#else
+    backtraceDesired _ = False
+#endif
diff --git a/corpora/vendored/cpp/declaration/instance-members-behind-a-conditional-with-an-empty-first-branch-out.hs b/corpora/vendored/cpp/declaration/instance-members-behind-a-conditional-with-an-empty-first-branch-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/instance-members-behind-a-conditional-with-an-empty-first-branch-out.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE CPP #-}
+
+module Fault.Impossible where
+
+instance Exception Impossible where
+#if !MIN_VERSION_base(4,20,0)
+#else
+  backtraceDesired _ = False
+#endif
diff --git a/corpora/vendored/cpp/declaration/instance-members-behind-a-conditional-with-an-empty-first-branch.hs b/corpora/vendored/cpp/declaration/instance-members-behind-a-conditional-with-an-empty-first-branch.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/instance-members-behind-a-conditional-with-an-empty-first-branch.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE CPP #-}
+
+module Fault.Impossible where
+
+instance Exception Impossible where
+#if !MIN_VERSION_base(4,20,0)
+#else
+  backtraceDesired _ = False
+#endif
diff --git a/corpora/vendored/cpp/declaration/instance-members-behind-a-conditional.hs b/corpora/vendored/cpp/declaration/instance-members-behind-a-conditional.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/instance-members-behind-a-conditional.hs
@@ -0,0 +1,8 @@
+{-# LANGUAGE CPP #-}
+
+module Fault.Impossible where
+
+instance Exception Impossible where
+#ifdef QUIET
+  backtraceDesired _ = False
+#endif
diff --git a/corpora/vendored/cpp/declaration/instance-members-behind-two-conditionals-with-empty-first-branches-out'.hs b/corpora/vendored/cpp/declaration/instance-members-behind-two-conditionals-with-empty-first-branches-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/instance-members-behind-two-conditionals-with-empty-first-branches-out'.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+
+module Fault.Impossible where
+
+instance Exception Impossible where
+#ifdef OLD_BASE
+#else
+    backtraceDesired _ = False
+#endif
+#ifdef PLAIN_ERRORS
+#else
+    displayException _ = "impossible"
+#endif
diff --git a/corpora/vendored/cpp/declaration/instance-members-behind-two-conditionals-with-empty-first-branches-out.hs b/corpora/vendored/cpp/declaration/instance-members-behind-two-conditionals-with-empty-first-branches-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/instance-members-behind-two-conditionals-with-empty-first-branches-out.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+
+module Fault.Impossible where
+
+instance Exception Impossible where
+#ifdef OLD_BASE
+#else
+  backtraceDesired _ = False
+#endif
+#ifdef PLAIN_ERRORS
+#else
+  displayException _ = "impossible"
+#endif
diff --git a/corpora/vendored/cpp/declaration/instance-members-behind-two-conditionals-with-empty-first-branches.hs b/corpora/vendored/cpp/declaration/instance-members-behind-two-conditionals-with-empty-first-branches.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/instance-members-behind-two-conditionals-with-empty-first-branches.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+
+module Fault.Impossible where
+
+instance Exception Impossible where
+#ifdef OLD_BASE
+#else
+  backtraceDesired _ = False
+#endif
+#ifdef PLAIN_ERRORS
+#else
+  displayException _ = "impossible"
+#endif
diff --git a/corpora/vendored/cpp/declaration/let-bindings-leaving-a-conditional-in-two-out'.hs b/corpora/vendored/cpp/declaration/let-bindings-leaving-a-conditional-in-two-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/let-bindings-leaving-a-conditional-in-two-out'.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE CPP #-}
+
+-- Bindings lined up after a let leave a conditional that goes on
+-- past them in two.
+module Data.Witness where
+
+trace :: Witness a -> IO ()
+trace w = do
+    let name = "witness"
+#if WITNESS_DEBUG
+        shown = show (Debugged w)
+#endif
+#if WITNESS_DEBUG
+#if __GLASGOW_HASKELL__ >= 810
+    putStrLn shown
+#endif
+#endif
+    putStrLn name
diff --git a/corpora/vendored/cpp/declaration/let-bindings-leaving-a-conditional-in-two-out.hs b/corpora/vendored/cpp/declaration/let-bindings-leaving-a-conditional-in-two-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/let-bindings-leaving-a-conditional-in-two-out.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE CPP #-}
+
+-- Bindings lined up after a let leave a conditional that goes on
+-- past them in two.
+module Data.Witness where
+
+trace :: Witness a -> IO ()
+trace w = do
+  let name = "witness"
+#if WITNESS_DEBUG
+      shown = show (Debugged w)
+#endif
+#if WITNESS_DEBUG
+#if __GLASGOW_HASKELL__ >= 810
+  putStrLn shown
+#endif
+#endif
+  putStrLn name
diff --git a/corpora/vendored/cpp/declaration/let-bindings-leaving-a-conditional-in-two.hs b/corpora/vendored/cpp/declaration/let-bindings-leaving-a-conditional-in-two.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/let-bindings-leaving-a-conditional-in-two.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE CPP #-}
+
+-- Bindings lined up after a let leave a conditional that goes on
+-- past them in two.
+module Data.Witness where
+
+trace :: Witness a -> IO ()
+trace w = do
+  let
+    name = "witness"
+#if WITNESS_DEBUG
+    shown = show (Debugged w)
+#if __GLASGOW_HASKELL__ >= 810
+  putStrLn shown
+#endif
+#endif
+  putStrLn name
diff --git a/corpora/vendored/cpp/declaration/method-moving-to-an-instance-of-its-own-out'.hs b/corpora/vendored/cpp/declaration/method-moving-to-an-instance-of-its-own-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/method-moving-to-an-instance-of-its-own-out'.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE CPP #-}
+
+module Report.Summary where
+
+-- | How many examples ran, and how many of them failed.
+data Summary = Summary Int Int
+
+-- Combining summaries.
+instance Monoid Summary where
+    mempty = Summary 0 0
+
+#if MIN_VERSION_base(4,11,0)
+instance Semigroup Summary where
+#endif
+    Summary x1 x2 `mappend` Summary y1 y2 = Summary (x1 + y1) (x2 + y2)
+
+isSuccess :: Summary -> Bool
+isSuccess (Summary _ failures) = failures == 0
diff --git a/corpora/vendored/cpp/declaration/method-moving-to-an-instance-of-its-own-out.hs b/corpora/vendored/cpp/declaration/method-moving-to-an-instance-of-its-own-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/method-moving-to-an-instance-of-its-own-out.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE CPP #-}
+
+module Report.Summary where
+
+-- | How many examples ran, and how many of them failed.
+data Summary = Summary Int Int
+
+-- Combining summaries.
+instance Monoid Summary where
+  mempty = Summary 0 0
+
+#if MIN_VERSION_base(4,11,0)
+instance Semigroup Summary where
+#endif
+  Summary x1 x2 `mappend` Summary y1 y2 = Summary (x1 + y1) (x2 + y2)
+
+isSuccess :: Summary -> Bool
+isSuccess (Summary _ failures) = failures == 0
diff --git a/corpora/vendored/cpp/declaration/method-moving-to-an-instance-of-its-own.hs b/corpora/vendored/cpp/declaration/method-moving-to-an-instance-of-its-own.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/method-moving-to-an-instance-of-its-own.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE CPP #-}
+
+module Report.Summary where
+
+-- | How many examples ran, and how many of them failed.
+data Summary = Summary Int Int
+
+-- Combining summaries.
+instance Monoid Summary where
+  mempty = Summary 0 0
+#if MIN_VERSION_base(4,11,0)
+instance Semigroup Summary where
+#endif
+  Summary x1 x2 `mappend` Summary y1 y2 = Summary (x1 + y1) (x2 + y2)
+
+isSuccess :: Summary -> Bool
+isSuccess (Summary _ failures) = failures == 0
diff --git a/corpora/vendored/cpp/declaration/one-line-declaration-in-a-conditional-past-the-column-limit-out'.hs b/corpora/vendored/cpp/declaration/one-line-declaration-in-a-conditional-past-the-column-limit-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/one-line-declaration-in-a-conditional-past-the-column-limit-out'.hs
@@ -0,0 +1,20 @@
+{-# LANGUAGE CPP #-}
+
+module Ledger where
+
+import qualified Data.Map.Strict as Map
+
+-- Specialised for the accounts the ledger keeps.
+#if __GLASGOW_HASKELL__ >= 900
+{-# SPECIALIZE Map.insertWith
+    :: (Int -> Int -> Int)
+    -> Account
+    -> Int
+    -> Map.Map Account Int
+    -> Map.Map Account Int
+    #-}
+#endif
+
+{-# SPECIALIZE Map.lookup :: Account -> Map.Map Account Int -> Maybe Int #-}
+
+newtype Account = Account Int
diff --git a/corpora/vendored/cpp/declaration/one-line-declaration-in-a-conditional-past-the-column-limit-out.hs b/corpora/vendored/cpp/declaration/one-line-declaration-in-a-conditional-past-the-column-limit-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/one-line-declaration-in-a-conditional-past-the-column-limit-out.hs
@@ -0,0 +1,20 @@
+{-# LANGUAGE CPP #-}
+
+module Ledger where
+
+import qualified Data.Map.Strict as Map
+
+-- Specialised for the accounts the ledger keeps.
+#if __GLASGOW_HASKELL__ >= 900
+{-# SPECIALIZE Map.insertWith ::
+  (Int -> Int -> Int) ->
+  Account ->
+  Int ->
+  Map.Map Account Int ->
+  Map.Map Account Int
+  #-}
+#endif
+
+{-# SPECIALIZE Map.lookup :: Account -> Map.Map Account Int -> Maybe Int #-}
+
+newtype Account = Account Int
diff --git a/corpora/vendored/cpp/declaration/one-line-declaration-in-a-conditional-past-the-column-limit.hs b/corpora/vendored/cpp/declaration/one-line-declaration-in-a-conditional-past-the-column-limit.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/one-line-declaration-in-a-conditional-past-the-column-limit.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+
+module Ledger where
+
+import qualified Data.Map.Strict as Map
+
+-- Specialised for the accounts the ledger keeps.
+#if __GLASGOW_HASKELL__ >= 900
+{-# SPECIALIZE Map.insertWith :: (Int -> Int -> Int) -> Account -> Int -> Map.Map Account Int -> Map.Map Account Int #-}
+#endif
+{-# SPECIALIZE Map.lookup :: Account -> Map.Map Account Int -> Maybe Int #-}
+
+newtype Account = Account Int
diff --git a/corpora/vendored/cpp/declaration/one-line-declaration-longer-in-one-configuration-out'.hs b/corpora/vendored/cpp/declaration/one-line-declaration-longer-in-one-configuration-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/one-line-declaration-longer-in-one-configuration-out'.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+
+module Budget where
+
+rent = 900
+
+food =
+    300
+#if defined(CAR)
+        + 120
+#endif
+
+savings = 200
diff --git a/corpora/vendored/cpp/declaration/one-line-declaration-longer-in-one-configuration-out.hs b/corpora/vendored/cpp/declaration/one-line-declaration-longer-in-one-configuration-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/one-line-declaration-longer-in-one-configuration-out.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+
+module Budget where
+
+rent = 900
+
+food =
+  300
+#if defined(CAR)
+    + 120
+#endif
+
+savings = 200
diff --git a/corpora/vendored/cpp/declaration/one-line-declaration-longer-in-one-configuration.hs b/corpora/vendored/cpp/declaration/one-line-declaration-longer-in-one-configuration.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/one-line-declaration-longer-in-one-configuration.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE CPP #-}
+
+module Budget where
+
+rent = 900
+food = 300
+#if defined(CAR)
+  + 120
+#endif
+savings = 200
diff --git a/corpora/vendored/cpp/declaration/overlap-pragma-behind-a-conditional-out'.hs b/corpora/vendored/cpp/declaration/overlap-pragma-behind-a-conditional-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/overlap-pragma-behind-a-conditional-out'.hs
@@ -0,0 +1,23 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE FlexibleInstances #-}
+{-# LANGUAGE StandaloneDeriving #-}
+
+module Route.Stop where
+
+class Describe a where
+    describe :: a -> String
+
+instance
+#if __GLASGOW_HASKELL__ >= 710
+    {-# OVERLAPPABLE #-}
+#endif
+    Show a => Describe [a] where
+    describe = unwords . map show
+
+newtype Stop = Stop Int
+
+deriving instance
+#ifdef WITH_OVERLAPS
+    {-# OVERLAPPING #-}
+#endif
+    Show Stop
diff --git a/corpora/vendored/cpp/declaration/overlap-pragma-behind-a-conditional-out.hs b/corpora/vendored/cpp/declaration/overlap-pragma-behind-a-conditional-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/overlap-pragma-behind-a-conditional-out.hs
@@ -0,0 +1,23 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE FlexibleInstances #-}
+{-# LANGUAGE StandaloneDeriving #-}
+
+module Route.Stop where
+
+class Describe a where
+  describe :: a -> String
+
+instance
+#if __GLASGOW_HASKELL__ >= 710
+  {-# OVERLAPPABLE #-}
+#endif
+  Show a => Describe [a] where
+  describe = unwords . map show
+
+newtype Stop = Stop Int
+
+deriving instance
+#ifdef WITH_OVERLAPS
+  {-# OVERLAPPING #-}
+#endif
+  Show Stop
diff --git a/corpora/vendored/cpp/declaration/overlap-pragma-behind-a-conditional.hs b/corpora/vendored/cpp/declaration/overlap-pragma-behind-a-conditional.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/overlap-pragma-behind-a-conditional.hs
@@ -0,0 +1,23 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE FlexibleInstances #-}
+{-# LANGUAGE StandaloneDeriving #-}
+
+module Route.Stop where
+
+class Describe a where
+  describe :: a -> String
+
+instance
+#if __GLASGOW_HASKELL__ >= 710
+    {-# OVERLAPPABLE #-}
+#endif
+    (Show a) => Describe [a] where
+  describe = unwords . map show
+
+newtype Stop = Stop Int
+
+deriving instance
+#ifdef WITH_OVERLAPS
+    {-# OVERLAPPING #-}
+#endif
+    Show Stop
diff --git a/corpora/vendored/cpp/declaration/pattern-binding-head-in-each-branch-out'.hs b/corpora/vendored/cpp/declaration/pattern-binding-head-in-each-branch-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/pattern-binding-head-in-each-branch-out'.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+
+module Codec.Table (decodeTable) where
+
+decodeTable :: ForeignPtr Word8
+#if MIN_VERSION_bytestring(0,11,0)
+BS decodeTable _ =
+#else
+PS decodeTable _ _ =
+#endif
+    B.pack $
+        replicate 43 x
+            ++ [62, x, x, x, 63]
diff --git a/corpora/vendored/cpp/declaration/pattern-binding-head-in-each-branch-out.hs b/corpora/vendored/cpp/declaration/pattern-binding-head-in-each-branch-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/pattern-binding-head-in-each-branch-out.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+
+module Codec.Table (decodeTable) where
+
+decodeTable :: ForeignPtr Word8
+#if MIN_VERSION_bytestring(0,11,0)
+BS decodeTable _ =
+#else
+PS decodeTable _ _ =
+#endif
+  B.pack $
+    replicate 43 x
+      ++ [62, x, x, x, 63]
diff --git a/corpora/vendored/cpp/declaration/pattern-binding-head-in-each-branch.hs b/corpora/vendored/cpp/declaration/pattern-binding-head-in-each-branch.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/pattern-binding-head-in-each-branch.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE CPP #-}
+
+module Codec.Table (decodeTable) where
+
+decodeTable :: ForeignPtr Word8
+#if MIN_VERSION_bytestring(0,11,0)
+BS decodeTable _ =
+#else
+PS decodeTable _ _ =
+#endif
+  B.pack $ replicate 43 x
+    ++ [62,x,x,x,63]
diff --git a/corpora/vendored/cpp/declaration/pattern-synonym-body-in-each-branch-out'.hs b/corpora/vendored/cpp/declaration/pattern-synonym-body-in-each-branch-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/pattern-synonym-body-in-each-branch-out'.hs
@@ -0,0 +1,21 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE PatternSynonyms #-}
+
+-- The arrow of a pattern synonym whose body each branch writes stays at
+-- the end of its head.
+module Graph.Trace.Internal.GhcFacade (pattern HsSig') where
+
+pattern HsSig' ty <-
+#if MIN_VERSION_ghc(9,2,0)
+    L _ (HsSig _ _ ty)
+    where
+        HsSig' ty = L noSrcSpanA $ HsSig NoExtField (HsOuterImplicit []) ty
+
+pattern HsSig' :: LHsType GhcRn -> LHsSigType Ghc.GhcRn
+#else
+    HsIB _ ty
+    where
+        HsSig' ty = HsIB [] ty
+
+pattern HsSig' :: LHsType GhcRn -> HsImplicitBndrs GhcRn (LHsType GhcRn)
+#endif
diff --git a/corpora/vendored/cpp/declaration/pattern-synonym-body-in-each-branch-out.hs b/corpora/vendored/cpp/declaration/pattern-synonym-body-in-each-branch-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/pattern-synonym-body-in-each-branch-out.hs
@@ -0,0 +1,21 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE PatternSynonyms #-}
+
+-- The arrow of a pattern synonym whose body each branch writes stays at
+-- the end of its head.
+module Graph.Trace.Internal.GhcFacade (pattern HsSig') where
+
+pattern HsSig' ty <-
+#if MIN_VERSION_ghc(9,2,0)
+  L _ (HsSig _ _ ty)
+  where
+    HsSig' ty = L noSrcSpanA $ HsSig NoExtField (HsOuterImplicit []) ty
+
+pattern HsSig' :: LHsType GhcRn -> LHsSigType Ghc.GhcRn
+#else
+  HsIB _ ty
+  where
+    HsSig' ty = HsIB [] ty
+
+pattern HsSig' :: LHsType GhcRn -> HsImplicitBndrs GhcRn (LHsType GhcRn)
+#endif
diff --git a/corpora/vendored/cpp/declaration/pattern-synonym-body-in-each-branch.hs b/corpora/vendored/cpp/declaration/pattern-synonym-body-in-each-branch.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/pattern-synonym-body-in-each-branch.hs
@@ -0,0 +1,19 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE PatternSynonyms #-}
+
+-- The arrow of a pattern synonym whose body each branch writes stays at
+-- the end of its head.
+module Graph.Trace.Internal.GhcFacade (pattern HsSig') where
+
+pattern HsSig' ty
+#if MIN_VERSION_ghc(9,2,0)
+  <- L _ (HsSig _ _ ty)
+    where
+      HsSig' ty = L noSrcSpanA $ HsSig NoExtField (HsOuterImplicit []) ty
+pattern HsSig' :: LHsType GhcRn -> LHsSigType Ghc.GhcRn
+#else
+  <- HsIB _ ty
+    where
+      HsSig' ty = HsIB [] ty
+pattern HsSig' :: LHsType GhcRn -> HsImplicitBndrs GhcRn (LHsType GhcRn)
+#endif
diff --git a/corpora/vendored/cpp/declaration/record-closed-in-each-branch-out'.hs b/corpora/vendored/cpp/declaration/record-closed-in-each-branch-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/record-closed-in-each-branch-out'.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE CPP #-}
+
+module Network.Address where
+
+data Address = Address
+    { addressHost :: String
+      -- ^ @www.haskell.org@
+    , addressPort :: Int
+      -- ^ @42@
+    }
+#if __GLASGOW_HASKELL__ >= 702
+    deriving (Eq, Ord, Show, Generic)
+#else
+    deriving (Eq, Ord, Show)
+#endif
diff --git a/corpora/vendored/cpp/declaration/record-closed-in-each-branch-out.hs b/corpora/vendored/cpp/declaration/record-closed-in-each-branch-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/record-closed-in-each-branch-out.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE CPP #-}
+
+module Network.Address where
+
+data Address = Address
+  { -- | @www.haskell.org@
+    addressHost :: String,
+    -- | @42@
+    addressPort :: Int
+  }
+#if __GLASGOW_HASKELL__ >= 702
+  deriving (Eq, Ord, Show, Generic)
+#else
+  deriving (Eq, Ord, Show)
+#endif
diff --git a/corpora/vendored/cpp/declaration/record-closed-in-each-branch.hs b/corpora/vendored/cpp/declaration/record-closed-in-each-branch.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/record-closed-in-each-branch.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE CPP #-}
+
+module Network.Address where
+
+data Address = Address
+    { addressHost   :: String  -- ^ @www.haskell.org@
+    , addressPort   :: Int     -- ^ @42@
+#if __GLASGOW_HASKELL__ >= 702
+    } deriving (Eq, Ord, Show, Generic)
+#else
+    } deriving (Eq, Ord, Show)
+#endif
diff --git a/corpora/vendored/cpp/declaration/rule-behind-a-conditional-out'.hs b/corpora/vendored/cpp/declaration/rule-behind-a-conditional-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/rule-behind-a-conditional-out'.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE CPP #-}
+
+module Data.Stream.Enum where
+
+{-# RULES
+"enumFromTo<Int> [Stream]"
+    enumFromTo = enumFromToInt :: Monad m => Int -> Int -> Stream m Int
+#if WORD_SIZE_IN_BITS > 32
+"enumFromTo<Int64> [Stream]"
+    enumFromTo =
+        enumFromToIntlike :: Monad m => Int64 -> Int64 -> Stream m Int64
+#else
+"enumFromTo<Int32> [Stream]"
+    enumFromTo =
+        enumFromToIntlike :: Monad m => Int32 -> Int32 -> Stream m Int32
+#endif
+    #-}
diff --git a/corpora/vendored/cpp/declaration/rule-behind-a-conditional-out.hs b/corpora/vendored/cpp/declaration/rule-behind-a-conditional-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/rule-behind-a-conditional-out.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE CPP #-}
+
+module Data.Stream.Enum where
+
+{-# RULES
+"enumFromTo<Int> [Stream]"
+  enumFromTo = enumFromToInt :: Monad m => Int -> Int -> Stream m Int
+#if WORD_SIZE_IN_BITS > 32
+"enumFromTo<Int64> [Stream]"
+  enumFromTo = enumFromToIntlike :: Monad m => Int64 -> Int64 -> Stream m Int64
+#else
+"enumFromTo<Int32> [Stream]"
+  enumFromTo = enumFromToIntlike :: Monad m => Int32 -> Int32 -> Stream m Int32
+#endif
+  #-}
diff --git a/corpora/vendored/cpp/declaration/rule-behind-a-conditional.hs b/corpora/vendored/cpp/declaration/rule-behind-a-conditional.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/rule-behind-a-conditional.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE CPP #-}
+
+module Data.Stream.Enum where
+
+{-# RULES
+"enumFromTo<Int> [Stream]"
+  enumFromTo = enumFromToInt :: Monad m => Int -> Int -> Stream m Int
+#if WORD_SIZE_IN_BITS > 32
+"enumFromTo<Int64> [Stream]"
+  enumFromTo = enumFromToIntlike :: Monad m => Int64 -> Int64 -> Stream m Int64
+#else
+"enumFromTo<Int32> [Stream]"
+  enumFromTo = enumFromToIntlike :: Monad m => Int32 -> Int32 -> Stream m Int32
+#endif
+  #-}
diff --git a/corpora/vendored/cpp/declaration/signature-and-equation-asking-the-same-question-out'.hs b/corpora/vendored/cpp/declaration/signature-and-equation-asking-the-same-question-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/signature-and-equation-asking-the-same-question-out'.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE CPP #-}
+
+module Audio.Mix where
+
+#ifdef MIXER
+(<+>) :: Track -> Track -> Track
+#else
+blend :: Track -> Track -> Track
+#endif
+(Track a)
+#ifdef MIXER
+    <+> (Track b) =
+#else
+    `blend` (Track b) =
+#endif
+        Track (a <> b)
diff --git a/corpora/vendored/cpp/declaration/signature-and-equation-asking-the-same-question-out.hs b/corpora/vendored/cpp/declaration/signature-and-equation-asking-the-same-question-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/signature-and-equation-asking-the-same-question-out.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE CPP #-}
+
+module Audio.Mix where
+
+#ifdef MIXER
+(<+>) :: Track -> Track -> Track
+#else
+blend :: Track -> Track -> Track
+#endif
+(Track a)
+#ifdef MIXER
+  <+> (Track b) =
+#else
+  `blend` (Track b) =
+#endif
+    Track (a <> b)
diff --git a/corpora/vendored/cpp/declaration/signature-and-equation-asking-the-same-question.hs b/corpora/vendored/cpp/declaration/signature-and-equation-asking-the-same-question.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/signature-and-equation-asking-the-same-question.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE CPP #-}
+
+module Audio.Mix where
+
+#ifdef MIXER
+(<+>) :: Track -> Track -> Track
+#else
+blend :: Track -> Track -> Track
+#endif
+(Track a)
+#ifdef MIXER
+  <+>
+#else
+  `blend`
+#endif
+  (Track b)  =  Track (a <> b)
diff --git a/corpora/vendored/cpp/declaration/signature-with-a-pragma-and-equation-asking-the-same-question-out'.hs b/corpora/vendored/cpp/declaration/signature-with-a-pragma-and-equation-asking-the-same-question-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/signature-with-a-pragma-and-equation-asking-the-same-question-out'.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE CPP #-}
+
+module Audio.Mix where
+
+#ifdef MIXER
+(<+>) :: Track -> Track -> Track
+{-# INLINE (<+>) #-}
+#else
+blend :: Track -> Track -> Track
+{-# INLINE blend #-}
+#endif
+(Track a)
+#ifdef MIXER
+    <+> (Track b) =
+#else
+    `blend` (Track b) =
+#endif
+        Track (a <> b)
diff --git a/corpora/vendored/cpp/declaration/signature-with-a-pragma-and-equation-asking-the-same-question-out.hs b/corpora/vendored/cpp/declaration/signature-with-a-pragma-and-equation-asking-the-same-question-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/signature-with-a-pragma-and-equation-asking-the-same-question-out.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE CPP #-}
+
+module Audio.Mix where
+
+#ifdef MIXER
+(<+>) :: Track -> Track -> Track
+{-# INLINE (<+>) #-}
+#else
+blend :: Track -> Track -> Track
+{-# INLINE blend #-}
+#endif
+(Track a)
+#ifdef MIXER
+  <+> (Track b) =
+#else
+  `blend` (Track b) =
+#endif
+    Track (a <> b)
diff --git a/corpora/vendored/cpp/declaration/signature-with-a-pragma-and-equation-asking-the-same-question.hs b/corpora/vendored/cpp/declaration/signature-with-a-pragma-and-equation-asking-the-same-question.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/signature-with-a-pragma-and-equation-asking-the-same-question.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE CPP #-}
+
+module Audio.Mix where
+
+#ifdef MIXER
+(<+>) :: Track -> Track -> Track
+{-# INLINE (<+>) #-}
+#else
+blend :: Track -> Track -> Track
+{-# INLINE blend #-}
+#endif
+(Track a)
+#ifdef MIXER
+  <+>
+#else
+  `blend`
+#endif
+  (Track b)  =  Track (a <> b)
diff --git a/corpora/vendored/cpp/declaration/type-instance-head-in-each-branch-out'.hs b/corpora/vendored/cpp/declaration/type-instance-head-in-each-branch-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/type-instance-head-in-each-branch-out'.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE TypeFamilies #-}
+
+module Pantry.Jar where
+
+type family Label a
+
+type instance
+#ifdef WITH_KINDS
+    Label (Jar a) =
+#else
+    Label Jar =
+#endif
+        JarLabel
diff --git a/corpora/vendored/cpp/declaration/type-instance-head-in-each-branch-out.hs b/corpora/vendored/cpp/declaration/type-instance-head-in-each-branch-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/type-instance-head-in-each-branch-out.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE TypeFamilies #-}
+
+module Pantry.Jar where
+
+type family Label a
+
+type instance
+#ifdef WITH_KINDS
+  Label (Jar a) =
+#else
+  Label Jar =
+#endif
+    JarLabel
diff --git a/corpora/vendored/cpp/declaration/type-instance-head-in-each-branch.hs b/corpora/vendored/cpp/declaration/type-instance-head-in-each-branch.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/type-instance-head-in-each-branch.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE TypeFamilies #-}
+
+module Pantry.Jar where
+
+type family Label a
+
+#ifdef WITH_KINDS
+type instance Label (Jar a) =
+#else
+type instance Label Jar =
+#endif
+  JarLabel
diff --git a/corpora/vendored/cpp/declaration/type-synonym-head-in-each-branch-out'.hs b/corpora/vendored/cpp/declaration/type-synonym-head-in-each-branch-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/type-synonym-head-in-each-branch-out'.hs
@@ -0,0 +1,19 @@
+{-# LANGUAGE CPP #-}
+
+module Shelf.Crate where
+
+type
+#ifdef WITH_LABELS
+    Crate item label =
+#else
+    Crate item =
+#endif
+    [item]
+
+type
+#ifdef WITH_LABELS
+    Box item label =
+#else
+    Box item =
+#endif
+    Maybe item
diff --git a/corpora/vendored/cpp/declaration/type-synonym-head-in-each-branch-out.hs b/corpora/vendored/cpp/declaration/type-synonym-head-in-each-branch-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/type-synonym-head-in-each-branch-out.hs
@@ -0,0 +1,19 @@
+{-# LANGUAGE CPP #-}
+
+module Shelf.Crate where
+
+type
+#ifdef WITH_LABELS
+  Crate item label =
+#else
+  Crate item =
+#endif
+  [item]
+
+type
+#ifdef WITH_LABELS
+  Box item label =
+#else
+  Box item =
+#endif
+  Maybe item
diff --git a/corpora/vendored/cpp/declaration/type-synonym-head-in-each-branch.hs b/corpora/vendored/cpp/declaration/type-synonym-head-in-each-branch.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/type-synonym-head-in-each-branch.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE CPP #-}
+
+module Shelf.Crate where
+
+#ifdef WITH_LABELS
+type Crate item label =
+#else
+type Crate item =
+#endif
+  [item]
+
+#ifdef WITH_LABELS
+type Box item label
+#else
+type Box item
+#endif
+  = Maybe item
diff --git a/corpora/vendored/cpp/declaration/where-after-an-export-list-in-a-conditional-out'.hs b/corpora/vendored/cpp/declaration/where-after-an-export-list-in-a-conditional-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/where-after-an-export-list-in-a-conditional-out'.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE CPP #-}
+
+-- | Shapes, with an export list unless the doctests read the module.
+module Shapes
+#ifndef DOCTEST
+    ( Shape (..)
+    , area
+    )
+#endif
+where
+
+data Shape = Square Double | Circle Double
+
+area :: Shape -> Double
+area (Square a) = a * a
+area (Circle r) = pi * r * r
diff --git a/corpora/vendored/cpp/declaration/where-after-an-export-list-in-a-conditional-out.hs b/corpora/vendored/cpp/declaration/where-after-an-export-list-in-a-conditional-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/where-after-an-export-list-in-a-conditional-out.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE CPP #-}
+
+-- | Shapes, with an export list unless the doctests read the module.
+module Shapes
+#ifndef DOCTEST
+  ( Shape (..),
+    area,
+  )
+#endif
+where
+
+data Shape = Square Double | Circle Double
+
+area :: Shape -> Double
+area (Square a) = a * a
+area (Circle r) = pi * r * r
diff --git a/corpora/vendored/cpp/declaration/where-after-an-export-list-in-a-conditional.hs b/corpora/vendored/cpp/declaration/where-after-an-export-list-in-a-conditional.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/where-after-an-export-list-in-a-conditional.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE CPP #-}
+-- | Shapes, with an export list unless the doctests read the module.
+module Shapes
+#ifndef DOCTEST
+  ( Shape (..)
+  , area
+  )
+#endif
+where
+
+data Shape = Square Double | Circle Double
+
+area :: Shape -> Double
+area (Square a) = a * a
+area (Circle r) = pi * r * r
diff --git a/corpora/vendored/cpp/declaration/where-clause-after-the-branches-out'.hs b/corpora/vendored/cpp/declaration/where-clause-after-the-branches-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/where-clause-after-the-branches-out'.hs
@@ -0,0 +1,50 @@
+{-# LANGUAGE CPP #-}
+
+-- A where clause written once, after the branches of an equation, stays
+-- there rather than going into each of them.
+module Cache.Evict where
+
+evict :: Int -> Int
+#if MIN_VERSION_base(4,16,0)
+evict n = keep (n - 1)
+#else
+evict n = keep n
+#endif
+    where
+        keep = max 0
+
+-- Guards in one branch and not the other.
+shrink :: Int -> Int
+#if MIN_VERSION_base(4,16,0)
+shrink n
+    | n > limit = limit
+    | otherwise = n
+#else
+shrink n = min n limit
+#endif
+    where
+        limit = 64
+
+-- The same for an alternative of a case.
+stale :: Maybe Int -> Int
+stale m = case m of
+#if MIN_VERSION_base(4,16,0)
+    Just n -> age n
+#else
+    Just n -> age (n + 1)
+#endif
+        where
+            age = subtract 1
+    Nothing -> 0
+
+-- A where clause in each branch stays in each.
+expire :: Int -> Int
+#if MIN_VERSION_base(4,16,0)
+expire n = ttl n
+    where
+        ttl = (* 2)
+#else
+expire n = ttl n
+    where
+        ttl = id
+#endif
diff --git a/corpora/vendored/cpp/declaration/where-clause-after-the-branches-out.hs b/corpora/vendored/cpp/declaration/where-clause-after-the-branches-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/where-clause-after-the-branches-out.hs
@@ -0,0 +1,50 @@
+{-# LANGUAGE CPP #-}
+
+-- A where clause written once, after the branches of an equation, stays
+-- there rather than going into each of them.
+module Cache.Evict where
+
+evict :: Int -> Int
+#if MIN_VERSION_base(4,16,0)
+evict n = keep (n - 1)
+#else
+evict n = keep n
+#endif
+  where
+    keep = max 0
+
+-- Guards in one branch and not the other.
+shrink :: Int -> Int
+#if MIN_VERSION_base(4,16,0)
+shrink n
+  | n > limit = limit
+  | otherwise = n
+#else
+shrink n = min n limit
+#endif
+  where
+    limit = 64
+
+-- The same for an alternative of a case.
+stale :: Maybe Int -> Int
+stale m = case m of
+#if MIN_VERSION_base(4,16,0)
+  Just n -> age n
+#else
+  Just n -> age (n + 1)
+#endif
+    where
+      age = subtract 1
+  Nothing -> 0
+
+-- A where clause in each branch stays in each.
+expire :: Int -> Int
+#if MIN_VERSION_base(4,16,0)
+expire n = ttl n
+  where
+    ttl = (* 2)
+#else
+expire n = ttl n
+  where
+    ttl = id
+#endif
diff --git a/corpora/vendored/cpp/declaration/where-clause-after-the-branches.hs b/corpora/vendored/cpp/declaration/where-clause-after-the-branches.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/declaration/where-clause-after-the-branches.hs
@@ -0,0 +1,50 @@
+{-# LANGUAGE CPP #-}
+
+-- A where clause written once, after the branches of an equation, stays
+-- there rather than going into each of them.
+module Cache.Evict where
+
+evict :: Int -> Int
+#if MIN_VERSION_base(4,16,0)
+evict n = keep (n - 1)
+#else
+evict n = keep n
+#endif
+  where
+    keep = max 0
+
+-- Guards in one branch and not the other.
+shrink :: Int -> Int
+#if MIN_VERSION_base(4,16,0)
+shrink n
+  | n > limit = limit
+  | otherwise = n
+#else
+shrink n = min n limit
+#endif
+  where
+    limit = 64
+
+-- The same for an alternative of a case.
+stale :: Maybe Int -> Int
+stale m = case m of
+#if MIN_VERSION_base(4,16,0)
+  Just n -> age n
+#else
+  Just n -> age (n + 1)
+#endif
+    where
+      age = subtract 1
+  Nothing -> 0
+
+-- A where clause in each branch stays in each.
+expire :: Int -> Int
+#if MIN_VERSION_base(4,16,0)
+expire n = ttl n
+  where
+    ttl = (* 2)
+#else
+expire n = ttl n
+  where
+    ttl = id
+#endif
diff --git a/corpora/vendored/cpp/directive/conditional-in-a-conditional-around-a-pragma-out.hs b/corpora/vendored/cpp/directive/conditional-in-a-conditional-around-a-pragma-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/directive/conditional-in-a-conditional-around-a-pragma-out.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE CPP #-}
+#if defined(MIN_VERSION_prettyprinter)
+#if MIN_VERSION_prettyprinter(1,7,0)
+{-# OPTIONS_GHC -Wno-warnings-deprecations #-}
+#endif
+#endif
+
+-- | Helpers for command-line options.
+module Options.Help where
+
+helpText :: String
+helpText = "--help"
diff --git a/corpora/vendored/cpp/directive/conditional-in-a-conditional-around-a-pragma.hs b/corpora/vendored/cpp/directive/conditional-in-a-conditional-around-a-pragma.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/directive/conditional-in-a-conditional-around-a-pragma.hs
@@ -0,0 +1,11 @@
+-- | Helpers for command-line options.
+{-# LANGUAGE CPP #-}
+#if defined(MIN_VERSION_prettyprinter)
+#if MIN_VERSION_prettyprinter(1,7,0)
+{-# OPTIONS_GHC -Wno-warnings-deprecations #-}
+#endif
+#endif
+module Options.Help where
+
+helpText :: String
+helpText = "--help"
diff --git a/corpora/vendored/cpp/directive/conditional-in-a-quasi-quotation.hs b/corpora/vendored/cpp/directive/conditional-in-a-quasi-quotation.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/directive/conditional-in-a-quasi-quotation.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE QuasiQuotes #-}
+
+module Test.Programs where
+
+import Data.String.Interpolate (i)
+
+source :: String
+source =
+  [i|
+#if __GLASGOW_HASKELL__ >= 901
+import qualified Data.Type.Ord
+#endif
+
+test :: Proxy x -> Proxy x
+test = id
+|]
diff --git a/corpora/vendored/cpp/directive/define-in-a-conditional-around-a-pragma-out'.hs b/corpora/vendored/cpp/directive/define-in-a-conditional-around-a-pragma-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/directive/define-in-a-conditional-around-a-pragma-out'.hs
@@ -0,0 +1,20 @@
+{-# LANGUAGE CPP #-}
+#if __GLASGOW_HASKELL__ >= 710
+#define OVERLAPPING_ {-# OVERLAPPING #-}
+#else
+{-# LANGUAGE OverlappingInstances #-}
+#define OVERLAPPING_
+#endif
+
+-- | Describing values, more specifically where the compiler lets an
+-- instance say that it overlaps.
+module Data.Describe where
+
+class Describe a where
+    describe :: a -> String
+
+instance Describe a => Describe [a] where
+    describe = concatMap describe
+
+instance OVERLAPPING_ Describe [Char] where
+    describe = id
diff --git a/corpora/vendored/cpp/directive/define-in-a-conditional-around-a-pragma-out.hs b/corpora/vendored/cpp/directive/define-in-a-conditional-around-a-pragma-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/directive/define-in-a-conditional-around-a-pragma-out.hs
@@ -0,0 +1,20 @@
+{-# LANGUAGE CPP #-}
+#if __GLASGOW_HASKELL__ >= 710
+#define OVERLAPPING_ {-# OVERLAPPING #-}
+#else
+{-# LANGUAGE OverlappingInstances #-}
+#define OVERLAPPING_
+#endif
+
+-- | Describing values, more specifically where the compiler lets an
+-- instance say that it overlaps.
+module Data.Describe where
+
+class Describe a where
+  describe :: a -> String
+
+instance Describe a => Describe [a] where
+  describe = concatMap describe
+
+instance OVERLAPPING_ Describe [Char] where
+  describe = id
diff --git a/corpora/vendored/cpp/directive/define-in-a-conditional-around-a-pragma.hs b/corpora/vendored/cpp/directive/define-in-a-conditional-around-a-pragma.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/directive/define-in-a-conditional-around-a-pragma.hs
@@ -0,0 +1,21 @@
+{-# LANGUAGE CPP #-}
+-- | Describing values, more specifically where the compiler lets an
+-- instance say that it overlaps.
+
+#if __GLASGOW_HASKELL__ >= 710
+#define OVERLAPPING_ {-# OVERLAPPING #-}
+#else
+{-# LANGUAGE OverlappingInstances #-}
+#define OVERLAPPING_
+#endif
+
+module Data.Describe where
+
+class Describe a where
+  describe :: a -> String
+
+instance Describe a => Describe [a] where
+  describe = concatMap describe
+
+instance OVERLAPPING_ Describe [Char] where
+  describe = id
diff --git a/corpora/vendored/cpp/directive/directive-above-a-leading-separator-out'.hs b/corpora/vendored/cpp/directive/directive-above-a-leading-separator-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/directive/directive-above-a-leading-separator-out'.hs
@@ -0,0 +1,23 @@
+{-# LANGUAGE CPP #-}
+
+-- A directive written above a bar or a comma leading the line under it goes
+-- above the bar or the comma, which go with the part they lead.
+module Bakery.Shelf where
+
+data Shelf
+    = Empty
+#define WITH_RACKS 1
+    | Racks Int
+#ifdef WITH_TRAYS
+#endif
+    | Trays Int
+#if 0
+-- Bins are not sold yet.
+#endif
+    | Bins Int
+
+data Label = Label
+    { name :: String
+#define WITH_PRICE 1
+    , price :: Int
+    }
diff --git a/corpora/vendored/cpp/directive/directive-above-a-leading-separator-out.hs b/corpora/vendored/cpp/directive/directive-above-a-leading-separator-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/directive/directive-above-a-leading-separator-out.hs
@@ -0,0 +1,23 @@
+{-# LANGUAGE CPP #-}
+
+-- A directive written above a bar or a comma leading the line under it goes
+-- above the bar or the comma, which go with the part they lead.
+module Bakery.Shelf where
+
+data Shelf
+  = Empty
+#define WITH_RACKS 1
+  | Racks Int
+#ifdef WITH_TRAYS
+#endif
+  | Trays Int
+#if 0
+-- Bins are not sold yet.
+#endif
+  | Bins Int
+
+data Label = Label
+  { name :: String,
+#define WITH_PRICE 1
+    price :: Int
+  }
diff --git a/corpora/vendored/cpp/directive/directive-above-a-leading-separator.hs b/corpora/vendored/cpp/directive/directive-above-a-leading-separator.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/directive/directive-above-a-leading-separator.hs
@@ -0,0 +1,23 @@
+{-# LANGUAGE CPP #-}
+
+-- A directive written above a bar or a comma leading the line under it goes
+-- above the bar or the comma, which go with the part they lead.
+module Bakery.Shelf where
+
+data Shelf
+  = Empty
+#define WITH_RACKS 1
+  | Racks Int
+#ifdef WITH_TRAYS
+#endif
+  | Trays Int
+#if 0
+-- Bins are not sold yet.
+#endif
+  | Bins Int
+
+data Label = Label
+  { name :: String
+#define WITH_PRICE 1
+  , price :: Int
+  }
diff --git a/corpora/vendored/cpp/directive/directive-above-a-trailing-comment-out.hs b/corpora/vendored/cpp/directive/directive-above-a-trailing-comment-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/directive/directive-above-a-trailing-comment-out.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Size where
+
+#ifndef NO_CALLSTACK
+import GHC.Stack
+#define TRACED(ty) HasCallStack => ty
+#endif
+
+newtype Size = Size Int
+
+-- A comment with nothing written under it.
diff --git a/corpora/vendored/cpp/directive/directive-above-a-trailing-comment.hs b/corpora/vendored/cpp/directive/directive-above-a-trailing-comment.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/directive/directive-above-a-trailing-comment.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Size where
+
+#ifndef NO_CALLSTACK
+import GHC.Stack
+#define TRACED(ty) HasCallStack => ty
+#endif
+
+newtype Size = Size Int
+
+-- A comment with nothing written under it.
diff --git a/corpora/vendored/cpp/directive/directive-after-a-conditional-out.hs b/corpora/vendored/cpp/directive/directive-after-a-conditional-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/directive/directive-after-a-conditional-out.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE CPP #-}
+#ifdef TRUSTWORTHY
+{-# LANGUAGE Trustworthy #-}
+#endif
+
+#include "terminal.h"
+
+module Terminal.Size where
+
+#if MIN_VERSION_base(4, 20, 0)
+rows :: Int
+rows = 24
+#endif
+
+#if MIN_VERSION_base(4, 18, 0)
+columns :: Int
+columns = 80
+#endif
diff --git a/corpora/vendored/cpp/directive/directive-after-a-conditional.hs b/corpora/vendored/cpp/directive/directive-after-a-conditional.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/directive/directive-after-a-conditional.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE CPP #-}
+#ifdef TRUSTWORTHY
+{-# LANGUAGE Trustworthy #-}
+#endif
+
+#include "terminal.h"
+
+module Terminal.Size where
+
+#if MIN_VERSION_base(4, 20, 0)
+rows :: Int
+rows  =  24
+#endif
+
+#if MIN_VERSION_base(4, 18, 0)
+columns :: Int
+columns  =  80
+#endif
diff --git a/corpora/vendored/cpp/directive/directive-after-a-define-ending-in-an-empty-line-out.hs b/corpora/vendored/cpp/directive/directive-after-a-define-ending-in-an-empty-line-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/directive/directive-after-a-define-ending-in-an-empty-line-out.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Limits where
+
+#define LIMIT \
+  80 \
+
+#include "terminal.h"
+
+width :: Int
+width = LIMIT
diff --git a/corpora/vendored/cpp/directive/directive-after-a-define-ending-in-an-empty-line.hs b/corpora/vendored/cpp/directive/directive-after-a-define-ending-in-an-empty-line.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/directive/directive-after-a-define-ending-in-an-empty-line.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Limits where
+
+#define LIMIT \
+  80 \
+
+#include "terminal.h"
+
+width :: Int
+width  =  LIMIT
diff --git a/corpora/vendored/cpp/directive/directive-at-the-end-of-a-branch-out.hs b/corpora/vendored/cpp/directive/directive-at-the-end-of-a-branch-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/directive/directive-at-the-end-of-a-branch-out.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Palette where
+
+#ifdef TRUE_COLOUR
+colours :: Int
+colours = 16777216
+
+#undef FALLBACK_PALETTE
+#else
+
+#define FALLBACK_PALETTE 1
+#endif
+
+palette :: [Int]
+palette = [0 .. 15]
diff --git a/corpora/vendored/cpp/directive/directive-at-the-end-of-a-branch.hs b/corpora/vendored/cpp/directive/directive-at-the-end-of-a-branch.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/directive/directive-at-the-end-of-a-branch.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Palette where
+
+#ifdef TRUE_COLOUR
+colours :: Int
+colours  =  16777216
+
+#undef FALLBACK_PALETTE
+#else
+
+#define FALLBACK_PALETTE 1
+#endif
+
+palette :: [Int]
+palette  =  [0 .. 15]
diff --git a/corpora/vendored/cpp/directive/directive-left-as-written.hs b/corpora/vendored/cpp/directive/directive-left-as-written.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/directive/directive-left-as-written.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE CPP #-}
+
+-- Lines left as written that hold a directive cannot be put back in every
+-- configuration, and the module is declined.
+module Loom.Reeds where
+
+reeds = 1
+
+{- TILIA_OFF -}
+#if MIN_VERSION_base(4,0,0)
+dents   =   2
+#else
+dents   =   3
+#endif
+{- TILIA_ON -}
diff --git a/corpora/vendored/cpp/directive/directive-outside-conditionals-out.hs b/corpora/vendored/cpp/directive/directive-outside-conditionals-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/directive/directive-outside-conditionals-out.hs
@@ -0,0 +1,21 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Size where
+
+#include "terminal.h"
+
+#if defined(HAVE_IOCTL)
+rows :: Int
+rows = 24
+#else
+rows :: Int
+rows = 0
+#endif
+
+#if defined(HAVE_TERMCAP)
+columns :: Int
+columns = 80
+#else
+columns :: Int
+columns = 0
+#endif
diff --git a/corpora/vendored/cpp/directive/directive-outside-conditionals.hs b/corpora/vendored/cpp/directive/directive-outside-conditionals.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/directive/directive-outside-conditionals.hs
@@ -0,0 +1,21 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Size where
+
+#include "terminal.h"
+
+#if defined(HAVE_IOCTL)
+rows :: Int
+rows  =  24
+#else
+rows :: Int
+rows  =  0
+#endif
+
+#if defined(HAVE_TERMCAP)
+columns :: Int
+columns  =  80
+#else
+columns :: Int
+columns  =  0
+#endif
diff --git a/corpora/vendored/cpp/directive/directive-over-several-lines-out.hs b/corpora/vendored/cpp/directive/directive-over-several-lines-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/directive/directive-over-several-lines-out.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE CPP #-}
+
+module Build.Make (make) where
+
+-- | The make that understands our makefiles.
+make :: String
+#if defined(freebsd_HOST_OS) || defined(dragonfly_HOST_OS) \
+    || defined(openbsd_HOST_OS) || defined(netbsd_HOST_OS)
+make = "gmake"
+#else
+make = "make"
+#endif
diff --git a/corpora/vendored/cpp/directive/directive-over-several-lines.hs b/corpora/vendored/cpp/directive/directive-over-several-lines.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/directive/directive-over-several-lines.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE CPP #-}
+
+module Build.Make (make) where
+
+-- | The make that understands our makefiles.
+make :: String
+#if defined(freebsd_HOST_OS) || defined(dragonfly_HOST_OS) \
+    || defined(openbsd_HOST_OS) || defined(netbsd_HOST_OS)
+make = "gmake"
+#else
+make = "make"
+#endif
diff --git a/corpora/vendored/cpp/directive/directives-inside-a-block-comment-out'.hs b/corpora/vendored/cpp/directive/directives-inside-a-block-comment-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/directive/directives-inside-a-block-comment-out'.hs
@@ -0,0 +1,19 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Win32 where
+
+{-
+typedef struct _KEY_EVENT_RECORD {
+    BOOL bKeyDown;
+    WORD wRepeatCount;
+}
+#ifdef __GNUC__
+/* gcc's alignment is not what win32 expects */
+ PACKED
+#endif
+KEY_EVENT_RECORD;
+-}
+data KeyEvent = KeyEvent
+    { keyDown :: Bool
+    , keyRepeat :: Int
+    }
diff --git a/corpora/vendored/cpp/directive/directives-inside-a-block-comment-out.hs b/corpora/vendored/cpp/directive/directives-inside-a-block-comment-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/directive/directives-inside-a-block-comment-out.hs
@@ -0,0 +1,19 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Win32 where
+
+{-
+typedef struct _KEY_EVENT_RECORD {
+    BOOL bKeyDown;
+    WORD wRepeatCount;
+}
+#ifdef __GNUC__
+/* gcc's alignment is not what win32 expects */
+ PACKED
+#endif
+KEY_EVENT_RECORD;
+-}
+data KeyEvent = KeyEvent
+  { keyDown :: Bool,
+    keyRepeat :: Int
+  }
diff --git a/corpora/vendored/cpp/directive/directives-inside-a-block-comment.hs b/corpora/vendored/cpp/directive/directives-inside-a-block-comment.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/directive/directives-inside-a-block-comment.hs
@@ -0,0 +1,19 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Win32 where
+
+{-
+typedef struct _KEY_EVENT_RECORD {
+    BOOL bKeyDown;
+    WORD wRepeatCount;
+}
+#ifdef __GNUC__
+/* gcc's alignment is not what win32 expects */
+ PACKED
+#endif
+KEY_EVENT_RECORD;
+-}
+data KeyEvent = KeyEvent
+  { keyDown   :: Bool
+  , keyRepeat :: Int
+  }
diff --git a/corpora/vendored/cpp/directive/directives-inside-a-comprehension-a-let-and-a-signature-out'.hs b/corpora/vendored/cpp/directive/directives-inside-a-comprehension-a-let-and-a-signature-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/directive/directives-inside-a-comprehension-a-let-and-a-signature-out'.hs
@@ -0,0 +1,24 @@
+{-# LANGUAGE CPP #-}
+
+module Census.Count where
+
+adults :: [(String, Int)] -> [String]
+adults people =
+    [ name
+#include "census-filter.h"
+    | (name, age) <- people
+    , age >= 18
+    ]
+
+households :: [[String]] -> Int
+households hs =
+    let sizes = fmap length hs
+#define WEIGHTED 1
+        total = sum sizes
+     in total
+
+label
+    :: Int
+#define LABEL_WIDTH 12
+    -> String
+label = show
diff --git a/corpora/vendored/cpp/directive/directives-inside-a-comprehension-a-let-and-a-signature-out.hs b/corpora/vendored/cpp/directive/directives-inside-a-comprehension-a-let-and-a-signature-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/directive/directives-inside-a-comprehension-a-let-and-a-signature-out.hs
@@ -0,0 +1,24 @@
+{-# LANGUAGE CPP #-}
+
+module Census.Count where
+
+adults :: [(String, Int)] -> [String]
+adults people =
+  [ name
+#include "census-filter.h"
+  | (name, age) <- people,
+    age >= 18
+  ]
+
+households :: [[String]] -> Int
+households hs =
+  let sizes = fmap length hs
+#define WEIGHTED 1
+      total = sum sizes
+   in total
+
+label ::
+  Int ->
+#define LABEL_WIDTH 12
+  String
+label = show
diff --git a/corpora/vendored/cpp/directive/directives-inside-a-comprehension-a-let-and-a-signature.hs b/corpora/vendored/cpp/directive/directives-inside-a-comprehension-a-let-and-a-signature.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/directive/directives-inside-a-comprehension-a-let-and-a-signature.hs
@@ -0,0 +1,20 @@
+{-# LANGUAGE CPP #-}
+
+module Census.Count where
+
+adults :: [(String, Int)] -> [String]
+adults people = [ name
+#include "census-filter.h"
+                | (name, age) <- people, age >= 18 ]
+
+households :: [[String]] -> Int
+households hs =
+  let sizes = fmap length hs
+#define WEIGHTED 1
+      total = sum sizes
+  in total
+
+label :: Int
+#define LABEL_WIDTH 12
+      -> String
+label = show
diff --git a/corpora/vendored/cpp/directive/elifdef-and-elifndef-out.hs b/corpora/vendored/cpp/directive/elifdef-and-elifndef-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/directive/elifdef-and-elifndef-out.hs
@@ -0,0 +1,19 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Bell where
+
+bell :: String
+#ifdef VISUAL_BELL
+bell = "\ESC[?5h"
+#elifndef QUIET
+bell = "\a"
+#else
+bell = ""
+#endif
+
+flash :: Int
+#ifdef VISUAL_BELL
+flash = 100
+#elifdef SLOW_TERMINAL
+flash = 400
+#endif
diff --git a/corpora/vendored/cpp/directive/elifdef-and-elifndef.hs b/corpora/vendored/cpp/directive/elifdef-and-elifndef.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/directive/elifdef-and-elifndef.hs
@@ -0,0 +1,19 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Bell where
+
+bell :: String
+#ifdef VISUAL_BELL
+bell  =  "\ESC[?5h"
+#elifndef QUIET
+bell  =  "\a"
+#else
+bell  =  ""
+#endif
+
+flash :: Int
+#ifdef VISUAL_BELL
+flash  =  100
+#elifdef SLOW_TERMINAL
+flash  =  400
+#endif
diff --git a/corpora/vendored/cpp/directive/empty-line-between-conditionals-among-fields-out'.hs b/corpora/vendored/cpp/directive/empty-line-between-conditionals-among-fields-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/directive/empty-line-between-conditionals-among-fields-out'.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE CPP #-}
+
+module Bakery.Loaf (Loaf (..)) where
+
+data Loaf = Loaf
+    { flour :: !Int
+#ifdef WITH_SALT
+    , salt :: !Int
+#endif
+#ifdef WITH_YEAST
+    , yeast :: !Int
+#endif
+    , water :: !Int
+    }
diff --git a/corpora/vendored/cpp/directive/empty-line-between-conditionals-among-fields-out.hs b/corpora/vendored/cpp/directive/empty-line-between-conditionals-among-fields-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/directive/empty-line-between-conditionals-among-fields-out.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE CPP #-}
+
+module Bakery.Loaf (Loaf (..)) where
+
+data Loaf = Loaf
+  { flour :: !Int,
+#ifdef WITH_SALT
+    salt :: !Int,
+#endif
+#ifdef WITH_YEAST
+    yeast :: !Int,
+#endif
+    water :: !Int
+  }
diff --git a/corpora/vendored/cpp/directive/empty-line-between-conditionals-among-fields.hs b/corpora/vendored/cpp/directive/empty-line-between-conditionals-among-fields.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/directive/empty-line-between-conditionals-among-fields.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE CPP #-}
+
+module Bakery.Loaf (Loaf (..)) where
+
+data Loaf = Loaf
+  { flour :: !Int,
+#ifdef WITH_SALT
+    salt :: !Int,
+#endif
+
+#ifdef WITH_YEAST
+    yeast :: !Int,
+#endif
+    water :: !Int
+  }
diff --git a/corpora/vendored/cpp/directive/empty-line-under-a-conditional-going-on-with-a-class-body-out'.hs b/corpora/vendored/cpp/directive/empty-line-under-a-conditional-going-on-with-a-class-body-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/directive/empty-line-under-a-conditional-going-on-with-a-class-body-out'.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE CPP #-}
+
+module A where
+
+#ifdef WITH_LABELS
+class Shelved e where
+    label :: e -> String
+#else
+type Label = ()
+
+class Shelved e where
+#endif
+
+    putAway :: e -> IO ()
diff --git a/corpora/vendored/cpp/directive/empty-line-under-a-conditional-going-on-with-a-class-body-out.hs b/corpora/vendored/cpp/directive/empty-line-under-a-conditional-going-on-with-a-class-body-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/directive/empty-line-under-a-conditional-going-on-with-a-class-body-out.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE CPP #-}
+
+module A where
+
+#ifdef WITH_LABELS
+class Shelved e where
+  label :: e -> String
+#else
+type Label = ()
+
+class Shelved e where
+#endif
+
+  putAway :: e -> IO ()
diff --git a/corpora/vendored/cpp/directive/empty-line-under-a-conditional-going-on-with-a-class-body.hs b/corpora/vendored/cpp/directive/empty-line-under-a-conditional-going-on-with-a-class-body.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/directive/empty-line-under-a-conditional-going-on-with-a-class-body.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE CPP #-}
+
+module A where
+
+#ifdef WITH_LABELS
+class Shelved e where
+  label :: e -> String
+#else
+type Label = ()
+
+class Shelved e where
+#endif
+
+  putAway :: e -> IO ()
diff --git a/corpora/vendored/cpp/directive/empty-line-under-a-conditional-in-a-deep-block-out'.hs b/corpora/vendored/cpp/directive/empty-line-under-a-conditional-in-a-deep-block-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/directive/empty-line-under-a-conditional-in-a-deep-block-out'.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE CPP #-}
+
+module Text.Pretty.Doc where
+
+instance Show Doc where
+    show = render
+        where
+            render = layout 80
+#ifdef DEBUG
+            layout = debugLayout
+#else
+            layout = fastLayout
+#endif
+
+            debugLayout _ = "<doc>"
+            fastLayout _ = ""
diff --git a/corpora/vendored/cpp/directive/empty-line-under-a-conditional-in-a-deep-block-out.hs b/corpora/vendored/cpp/directive/empty-line-under-a-conditional-in-a-deep-block-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/directive/empty-line-under-a-conditional-in-a-deep-block-out.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE CPP #-}
+
+module Text.Pretty.Doc where
+
+instance Show Doc where
+  show = render
+    where
+      render = layout 80
+#ifdef DEBUG
+      layout = debugLayout
+#else
+      layout = fastLayout
+#endif
+
+      debugLayout _ = "<doc>"
+      fastLayout _ = ""
diff --git a/corpora/vendored/cpp/directive/empty-line-under-a-conditional-in-a-deep-block.hs b/corpora/vendored/cpp/directive/empty-line-under-a-conditional-in-a-deep-block.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/directive/empty-line-under-a-conditional-in-a-deep-block.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE CPP #-}
+
+module Text.Pretty.Doc where
+
+instance Show Doc where
+  show = render
+    where
+      render = layout 80
+#ifdef DEBUG
+      layout = debugLayout
+#else
+      layout = fastLayout
+#endif
+
+      debugLayout _ = "<doc>"
+      fastLayout _ = ""
diff --git a/corpora/vendored/cpp/directive/empty-line-under-a-directive-at-the-end-of-a-branch-out.hs b/corpora/vendored/cpp/directive/empty-line-under-a-directive-at-the-end-of-a-branch-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/directive/empty-line-under-a-directive-at-the-end-of-a-branch-out.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE CPP #-}
+
+module Route.Vehicle where
+
+#if defined(WITH_TRAMS)
+trams :: Int
+trams = 1
+#define TRAMS 1
+#endif
diff --git a/corpora/vendored/cpp/directive/empty-line-under-a-directive-at-the-end-of-a-branch.hs b/corpora/vendored/cpp/directive/empty-line-under-a-directive-at-the-end-of-a-branch.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/directive/empty-line-under-a-directive-at-the-end-of-a-branch.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE CPP #-}
+
+module Route.Vehicle where
+
+#if defined(WITH_TRAMS)
+trams :: Int
+trams = 1
+#define TRAMS 1
+
+#endif
diff --git a/corpora/vendored/cpp/directive/empty-lines-between-conditionals-of-imports-and-pragmas-out'.hs b/corpora/vendored/cpp/directive/empty-lines-between-conditionals-of-imports-and-pragmas-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/directive/empty-lines-between-conditionals-of-imports-and-pragmas-out'.hs
@@ -0,0 +1,31 @@
+{-# LANGUAGE CPP #-}
+#ifdef WITH_GENERICS
+{-# LANGUAGE DeriveGeneric #-}
+#endif
+
+#ifdef WITH_FUNCTOR
+{-# LANGUAGE DeriveFunctor #-}
+#endif
+#ifdef WITH_TRAVERSABLE
+{-# LANGUAGE DeriveTraversable #-}
+#endif
+
+-- Conditionals one right after the other are spaced as they were written,
+-- among imports and pragmas, which are regrouped, as anywhere else.
+module Bakery.Oven (Oven (..)) where
+
+#ifdef WITH_GENERICS
+import GHC.Generics (Generic)
+#endif
+
+#ifdef WITH_TIMER
+import Data.Time (UTCTime)
+#endif
+#ifdef WITH_LOG
+import Data.Text (Text)
+#endif
+import Data.Word (Word8)
+
+data Oven = Oven
+    { temperature :: Word8
+    }
diff --git a/corpora/vendored/cpp/directive/empty-lines-between-conditionals-of-imports-and-pragmas-out.hs b/corpora/vendored/cpp/directive/empty-lines-between-conditionals-of-imports-and-pragmas-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/directive/empty-lines-between-conditionals-of-imports-and-pragmas-out.hs
@@ -0,0 +1,31 @@
+{-# LANGUAGE CPP #-}
+#ifdef WITH_GENERICS
+{-# LANGUAGE DeriveGeneric #-}
+#endif
+
+#ifdef WITH_FUNCTOR
+{-# LANGUAGE DeriveFunctor #-}
+#endif
+#ifdef WITH_TRAVERSABLE
+{-# LANGUAGE DeriveTraversable #-}
+#endif
+
+-- Conditionals one right after the other are spaced as they were written,
+-- among imports and pragmas, which are regrouped, as anywhere else.
+module Bakery.Oven (Oven (..)) where
+
+#ifdef WITH_GENERICS
+import GHC.Generics (Generic)
+#endif
+
+#ifdef WITH_TIMER
+import Data.Time (UTCTime)
+#endif
+#ifdef WITH_LOG
+import Data.Text (Text)
+#endif
+import Data.Word (Word8)
+
+data Oven = Oven
+  { temperature :: Word8
+  }
diff --git a/corpora/vendored/cpp/directive/empty-lines-between-conditionals-of-imports-and-pragmas.hs b/corpora/vendored/cpp/directive/empty-lines-between-conditionals-of-imports-and-pragmas.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/directive/empty-lines-between-conditionals-of-imports-and-pragmas.hs
@@ -0,0 +1,31 @@
+{-# LANGUAGE CPP #-}
+#ifdef WITH_GENERICS
+{-# LANGUAGE DeriveGeneric #-}
+#endif
+
+#ifdef WITH_FUNCTOR
+{-# LANGUAGE DeriveFunctor #-}
+#endif
+#ifdef WITH_TRAVERSABLE
+{-# LANGUAGE DeriveTraversable #-}
+#endif
+
+-- Conditionals one right after the other are spaced as they were written,
+-- among imports and pragmas, which are regrouped, as anywhere else.
+module Bakery.Oven (Oven (..)) where
+
+#ifdef WITH_GENERICS
+import GHC.Generics (Generic)
+#endif
+
+#ifdef WITH_TIMER
+import Data.Time (UTCTime)
+#endif
+#ifdef WITH_LOG
+import Data.Text (Text)
+#endif
+import Data.Word (Word8)
+
+data Oven = Oven
+  { temperature :: Word8
+  }
diff --git a/corpora/vendored/cpp/directive/hash-line-naming-the-interpreter-out.hs b/corpora/vendored/cpp/directive/hash-line-naming-the-interpreter-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/directive/hash-line-naming-the-interpreter-out.hs
@@ -0,0 +1,16 @@
+#!/usr/bin/env runghc
+{-# LANGUAGE CPP #-}
+
+-- The line naming the interpreter opens with a hash, but with no keyword
+-- of the preprocessor after it, so it is no directive.
+module Main (main) where
+
+main :: IO ()
+#ifdef VERBOSE
+main = putStrLn "sweeping the chimney" >> sweep
+#else
+main = sweep
+#endif
+
+sweep :: IO ()
+sweep = pure ()
diff --git a/corpora/vendored/cpp/directive/hash-line-naming-the-interpreter.hs b/corpora/vendored/cpp/directive/hash-line-naming-the-interpreter.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/directive/hash-line-naming-the-interpreter.hs
@@ -0,0 +1,16 @@
+#!/usr/bin/env runghc
+{-# LANGUAGE CPP #-}
+
+-- The line naming the interpreter opens with a hash, but with no keyword
+-- of the preprocessor after it, so it is no directive.
+module Main (main) where
+
+main :: IO ()
+#ifdef VERBOSE
+main = putStrLn "sweeping the chimney" >> sweep
+#else
+main = sweep
+#endif
+
+sweep :: IO ()
+sweep  =  pure ()
diff --git a/corpora/vendored/cpp/directive/include-in-a-quasi-quotation.hs b/corpora/vendored/cpp/directive/include-in-a-quasi-quotation.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/directive/include-in-a-quasi-quotation.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE QuasiQuotes #-}
+
+module Terminal.Template where
+
+import Terminal.Quoter (template)
+
+banner :: String
+banner =
+  [template|
+#include "banner.txt"
+|]
diff --git a/corpora/vendored/cpp/directive/labels-named-like-directives-out'.hs b/corpora/vendored/cpp/directive/labels-named-like-directives-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/directive/labels-named-like-directives-out'.hs
@@ -0,0 +1,22 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE OverloadedLabels #-}
+
+-- | Labels named like directives, which cpp leaves alone where they do not
+-- open their line.
+module Record.Fields (columns, defined) where
+
+#if MIN_VERSION_base(4,10,0)
+import GHC.OverloadedLabels (IsLabel (..))
+#endif
+
+columns :: [Column]
+columns =
+    [ #line
+    , #if
+    , #else
+    ]
+
+defined :: Column -> Bool
+defined =
+    hasValue
+        #define
diff --git a/corpora/vendored/cpp/directive/labels-named-like-directives-out.hs b/corpora/vendored/cpp/directive/labels-named-like-directives-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/directive/labels-named-like-directives-out.hs
@@ -0,0 +1,22 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE OverloadedLabels #-}
+
+-- | Labels named like directives, which cpp leaves alone where they do not
+-- open their line.
+module Record.Fields (columns, defined) where
+
+#if MIN_VERSION_base(4,10,0)
+import GHC.OverloadedLabels (IsLabel (..))
+#endif
+
+columns :: [Column]
+columns =
+  [ #line,
+    #if,
+    #else
+  ]
+
+defined :: Column -> Bool
+defined =
+  hasValue
+    #define
diff --git a/corpora/vendored/cpp/directive/labels-named-like-directives.hs b/corpora/vendored/cpp/directive/labels-named-like-directives.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/directive/labels-named-like-directives.hs
@@ -0,0 +1,21 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE OverloadedLabels #-}
+
+-- | Labels named like directives, which cpp leaves alone where they do not
+-- open their line.
+module Record.Fields (columns, defined) where
+
+#if MIN_VERSION_base(4,10,0)
+import GHC.OverloadedLabels (IsLabel (..))
+#endif
+
+columns :: [Column]
+columns =
+  [ #line,
+    #if,   #else
+  ]
+
+defined :: Column -> Bool
+defined =
+  hasValue
+    #define
diff --git a/corpora/vendored/cpp/directive/line-marker-passed-on-by-cpp.hs b/corpora/vendored/cpp/directive/line-marker-passed-on-by-cpp.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/directive/line-marker-passed-on-by-cpp.hs
@@ -0,0 +1,7 @@
+{-# LANGUAGE CPP #-}
+
+module M where
+
+x = 1 -- one
+# 40 "Other.hs"
+y = 2 -- two
diff --git a/corpora/vendored/cpp/directive/spaced-hash-out.hs b/corpora/vendored/cpp/directive/spaced-hash-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/directive/spaced-hash-out.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Signal where
+
+interrupt :: Int
+interrupt = 2
+
+#if defined(HAS_SIGWINCH)
+resize :: Int
+resize = 28
+#else
+resize :: Int
+resize = 0
+#endif
diff --git a/corpora/vendored/cpp/directive/spaced-hash.hs b/corpora/vendored/cpp/directive/spaced-hash.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/directive/spaced-hash.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Signal where
+
+interrupt :: Int
+interrupt  =  2
+
+# if defined(HAS_SIGWINCH)
+resize  ::  Int
+resize  =  28
+# else
+resize  ::  Int
+resize  =  0
+# endif
diff --git a/corpora/vendored/cpp/directive/text-after-else-and-endif-out'.hs b/corpora/vendored/cpp/directive/text-after-else-and-endif-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/directive/text-after-else-and-endif-out'.hs
@@ -0,0 +1,27 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Features
+    ( supportsColour
+#ifndef NO_PASTE
+    , supportsPaste
+#endif /* NO_PASTE */
+    )
+where
+
+#ifdef WINDOWS /* the console */
+supportsColour :: Bool
+supportsColour = False
+#else /* a terminal */
+supportsColour :: Bool
+supportsColour = True
+#endif /* WINDOWS */
+
+#if MIN_VERSION_base(4,20,0)
+#else   /* nothing to add */
+#endif  // MIN_VERSION_base
+
+#ifndef NO_PASTE
+supportsPaste :: Bool
+supportsPaste = True
+#else /* NO_PASTE */
+#endif
diff --git a/corpora/vendored/cpp/directive/text-after-else-and-endif-out.hs b/corpora/vendored/cpp/directive/text-after-else-and-endif-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/directive/text-after-else-and-endif-out.hs
@@ -0,0 +1,27 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Features
+  ( supportsColour,
+#ifndef NO_PASTE
+    supportsPaste,
+#endif /* NO_PASTE */
+  )
+where
+
+#ifdef WINDOWS /* the console */
+supportsColour :: Bool
+supportsColour = False
+#else /* a terminal */
+supportsColour :: Bool
+supportsColour = True
+#endif /* WINDOWS */
+
+#if MIN_VERSION_base(4,20,0)
+#else   /* nothing to add */
+#endif  // MIN_VERSION_base
+
+#ifndef NO_PASTE
+supportsPaste :: Bool
+supportsPaste = True
+#else /* NO_PASTE */
+#endif
diff --git a/corpora/vendored/cpp/directive/text-after-else-and-endif.hs b/corpora/vendored/cpp/directive/text-after-else-and-endif.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/directive/text-after-else-and-endif.hs
@@ -0,0 +1,27 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Features
+  ( supportsColour,
+#ifndef NO_PASTE
+    supportsPaste,
+#endif /* NO_PASTE */
+  )
+where
+
+#ifdef WINDOWS /* the console */
+supportsColour :: Bool
+supportsColour  =  False
+#else /* a terminal */
+supportsColour :: Bool
+supportsColour  =  True
+#endif /* WINDOWS */
+
+#if MIN_VERSION_base(4,20,0)
+#else   /* nothing to add */
+#endif  // MIN_VERSION_base
+
+#ifndef NO_PASTE
+supportsPaste :: Bool
+supportsPaste  =  True
+#else /* NO_PASTE */
+#endif
diff --git a/corpora/vendored/cpp/directive/unbalanced.hs b/corpora/vendored/cpp/directive/unbalanced.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/directive/unbalanced.hs
@@ -0,0 +1,7 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Truncated where
+
+#ifdef SOMETHING
+value :: Int
+value  =  1
diff --git a/corpora/vendored/cpp/expression/argument-at-the-end-behind-a-conditional-out'.hs b/corpora/vendored/cpp/expression/argument-at-the-end-behind-a-conditional-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/argument-at-the-end-behind-a-conditional-out'.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE CPP #-}
+
+module Storage.Open (openFor) where
+
+import Storage.Handle
+
+openFor :: FilePath -> Mode -> IO Handle
+openFor path mode =
+    openWith
+        path
+        mode
+#if MIN_VERSION_storage(0,2,0)
+        closeOnExec
+#endif
diff --git a/corpora/vendored/cpp/expression/argument-at-the-end-behind-a-conditional-out.hs b/corpora/vendored/cpp/expression/argument-at-the-end-behind-a-conditional-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/argument-at-the-end-behind-a-conditional-out.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE CPP #-}
+
+module Storage.Open (openFor) where
+
+import Storage.Handle
+
+openFor :: FilePath -> Mode -> IO Handle
+openFor path mode =
+  openWith
+    path
+    mode
+#if MIN_VERSION_storage(0,2,0)
+    closeOnExec
+#endif
diff --git a/corpora/vendored/cpp/expression/argument-at-the-end-behind-a-conditional.hs b/corpora/vendored/cpp/expression/argument-at-the-end-behind-a-conditional.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/argument-at-the-end-behind-a-conditional.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE CPP #-}
+
+module Storage.Open (openFor) where
+
+import Storage.Handle
+
+openFor :: FilePath -> Mode -> IO Handle
+openFor path mode  =
+  openWith path  mode
+#if MIN_VERSION_storage(0,2,0)
+    closeOnExec
+#endif
diff --git a/corpora/vendored/cpp/expression/argument-behind-a-conditional-out'.hs b/corpora/vendored/cpp/expression/argument-behind-a-conditional-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/argument-behind-a-conditional-out'.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+
+module Records.Process (process) where
+
+import Language.Haskell.TH
+
+process :: [Stmt] -> Exp -> Exp
+process statements result =
+    DoE
+#if MIN_VERSION_template_haskell(2,17,0)
+        Nothing
+#endif
+        (statements ++ [NoBindS result])
diff --git a/corpora/vendored/cpp/expression/argument-behind-a-conditional-out.hs b/corpora/vendored/cpp/expression/argument-behind-a-conditional-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/argument-behind-a-conditional-out.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+
+module Records.Process (process) where
+
+import Language.Haskell.TH
+
+process :: [Stmt] -> Exp -> Exp
+process statements result =
+  DoE
+#if MIN_VERSION_template_haskell(2,17,0)
+    Nothing
+#endif
+    (statements ++ [NoBindS result])
diff --git a/corpora/vendored/cpp/expression/argument-behind-a-conditional.hs b/corpora/vendored/cpp/expression/argument-behind-a-conditional.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/argument-behind-a-conditional.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+
+module Records.Process (process) where
+
+import Language.Haskell.TH
+
+process :: [Stmt] -> Exp -> Exp
+process statements result  =
+  DoE
+#if MIN_VERSION_template_haskell(2,17,0)
+    Nothing
+#endif
+    (statements  ++  [NoBindS result])
diff --git a/corpora/vendored/cpp/expression/arguments-at-the-end-behind-alternatives-out'.hs b/corpora/vendored/cpp/expression/arguments-at-the-end-behind-alternatives-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/arguments-at-the-end-behind-alternatives-out'.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE CPP #-}
+
+module Storage.Create (createFor) where
+
+import Storage.Handle
+
+createFor :: FilePath -> Mode -> IO Handle
+createFor path mode =
+    createWith
+        path
+        mode
+#if MIN_VERSION_storage(0,3,0)
+        closeOnExec
+        inheritable
+#elif MIN_VERSION_storage(0,2,0)
+        closeOnExec
+#endif
diff --git a/corpora/vendored/cpp/expression/arguments-at-the-end-behind-alternatives-out.hs b/corpora/vendored/cpp/expression/arguments-at-the-end-behind-alternatives-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/arguments-at-the-end-behind-alternatives-out.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE CPP #-}
+
+module Storage.Create (createFor) where
+
+import Storage.Handle
+
+createFor :: FilePath -> Mode -> IO Handle
+createFor path mode =
+  createWith
+    path
+    mode
+#if MIN_VERSION_storage(0,3,0)
+    closeOnExec
+    inheritable
+#elif MIN_VERSION_storage(0,2,0)
+    closeOnExec
+#endif
diff --git a/corpora/vendored/cpp/expression/arguments-at-the-end-behind-alternatives.hs b/corpora/vendored/cpp/expression/arguments-at-the-end-behind-alternatives.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/arguments-at-the-end-behind-alternatives.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE CPP #-}
+
+module Storage.Create (createFor) where
+
+import Storage.Handle
+
+createFor :: FilePath -> Mode -> IO Handle
+createFor path mode  =
+  createWith path  mode
+#if MIN_VERSION_storage(0,3,0)
+    closeOnExec  inheritable
+#elif MIN_VERSION_storage(0,2,0)
+    closeOnExec
+#endif
diff --git a/corpora/vendored/cpp/expression/arguments-behind-alternatives-out'.hs b/corpora/vendored/cpp/expression/arguments-behind-alternatives-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/arguments-behind-alternatives-out'.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE CPP #-}
+
+module Completion.Names (fromName) where
+
+import GHC
+
+fromName :: RdrName -> HsExpr GhcPs
+fromName name =
+#if __GLASGOW_HASKELL__ >= 806
+    HsVar
+        NoExt
+#else
+    HsVar
+#endif
+        (L noSrcSpan name)
diff --git a/corpora/vendored/cpp/expression/arguments-behind-alternatives-out.hs b/corpora/vendored/cpp/expression/arguments-behind-alternatives-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/arguments-behind-alternatives-out.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE CPP #-}
+
+module Completion.Names (fromName) where
+
+import GHC
+
+fromName :: RdrName -> HsExpr GhcPs
+fromName name =
+#if __GLASGOW_HASKELL__ >= 806
+  HsVar
+    NoExt
+#else
+  HsVar
+#endif
+    (L noSrcSpan name)
diff --git a/corpora/vendored/cpp/expression/arguments-behind-alternatives.hs b/corpora/vendored/cpp/expression/arguments-behind-alternatives.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/arguments-behind-alternatives.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE CPP #-}
+
+module Completion.Names (fromName) where
+
+import GHC
+
+fromName :: RdrName -> HsExpr GhcPs
+fromName name  =
+#if __GLASGOW_HASKELL__ >= 806
+  HsVar NoExt
+#else
+  HsVar
+#endif
+    (L noSrcSpan  name)
diff --git a/corpora/vendored/cpp/expression/arguments-in-the-middle-behind-alternatives-out'.hs b/corpora/vendored/cpp/expression/arguments-in-the-middle-behind-alternatives-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/arguments-in-the-middle-behind-alternatives-out'.hs
@@ -0,0 +1,21 @@
+{-# LANGUAGE CPP #-}
+
+module Kitchen.Shelf (stock) where
+
+stock :: Pantry -> IO Shelf
+stock pantry = do
+    items <- gather pantry
+    let shelf =
+            Shelf
+                []
+#ifdef WITH_LABELS
+                Nothing
+                labelName
+#else
+                defaultLabel
+                [kind pantry]
+#endif
+                Nothing
+                items
+                extras
+    pure shelf
diff --git a/corpora/vendored/cpp/expression/arguments-in-the-middle-behind-alternatives-out.hs b/corpora/vendored/cpp/expression/arguments-in-the-middle-behind-alternatives-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/arguments-in-the-middle-behind-alternatives-out.hs
@@ -0,0 +1,21 @@
+{-# LANGUAGE CPP #-}
+
+module Kitchen.Shelf (stock) where
+
+stock :: Pantry -> IO Shelf
+stock pantry = do
+  items <- gather pantry
+  let shelf =
+        Shelf
+          []
+#ifdef WITH_LABELS
+          Nothing
+          labelName
+#else
+          defaultLabel
+          [kind pantry]
+#endif
+          Nothing
+          items
+          extras
+  pure shelf
diff --git a/corpora/vendored/cpp/expression/arguments-in-the-middle-behind-alternatives.hs b/corpora/vendored/cpp/expression/arguments-in-the-middle-behind-alternatives.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/arguments-in-the-middle-behind-alternatives.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE CPP #-}
+
+module Kitchen.Shelf (stock) where
+
+stock :: Pantry -> IO Shelf
+stock pantry = do
+  items <- gather pantry
+  let shelf = Shelf []
+#ifdef WITH_LABELS
+                Nothing labelName
+#else
+                defaultLabel [kind pantry]
+#endif
+                Nothing items extras
+  pure shelf
diff --git a/corpora/vendored/cpp/expression/bind-statement-begun-in-each-branch-out'.hs b/corpora/vendored/cpp/expression/bind-statement-begun-in-each-branch-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/bind-statement-begun-in-each-branch-out'.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE CPP #-}
+
+module T where
+
+f :: Int -> IO Int
+f x = do
+#if MIN_VERSION_base(4,0,0)
+    y <-
+        g
+            (h x)
+#else
+    y <-
+        k
+            (h x)
+#endif
+            a
+            b
+    pure y
diff --git a/corpora/vendored/cpp/expression/bind-statement-begun-in-each-branch-out.hs b/corpora/vendored/cpp/expression/bind-statement-begun-in-each-branch-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/bind-statement-begun-in-each-branch-out.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE CPP #-}
+
+module T where
+
+f :: Int -> IO Int
+f x = do
+#if MIN_VERSION_base(4,0,0)
+  y <-
+    g
+      (h x)
+#else
+  y <-
+    k
+      (h x)
+#endif
+      a
+      b
+  pure y
diff --git a/corpora/vendored/cpp/expression/bind-statement-begun-in-each-branch.hs b/corpora/vendored/cpp/expression/bind-statement-begun-in-each-branch.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/bind-statement-begun-in-each-branch.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE CPP #-}
+module T where
+
+f :: Int -> IO Int
+f x = do
+#if MIN_VERSION_base(4,0,0)
+  y <- g (h x)
+#else
+  y <- k (h x)
+#endif
+         a b
+  pure y
diff --git a/corpora/vendored/cpp/expression/branch-continuing-the-line-before-out'.hs b/corpora/vendored/cpp/expression/branch-continuing-the-line-before-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/branch-continuing-the-line-before-out'.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE CPP #-}
+
+module Report.Flush (flush) where
+
+flush :: Bool -> IO ()
+flush verbose =
+#if defined(TRACE)
+    when verbose $
+        do
+            traceIO "flushing"
+            hFlush stdout
+#else
+    when verbose $
+        hFlush stdout
+#endif
diff --git a/corpora/vendored/cpp/expression/branch-continuing-the-line-before-out.hs b/corpora/vendored/cpp/expression/branch-continuing-the-line-before-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/branch-continuing-the-line-before-out.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE CPP #-}
+
+module Report.Flush (flush) where
+
+flush :: Bool -> IO ()
+flush verbose =
+#if defined(TRACE)
+  when verbose $
+    do
+      traceIO "flushing"
+      hFlush stdout
+#else
+  when verbose $
+    hFlush stdout
+#endif
diff --git a/corpora/vendored/cpp/expression/branch-continuing-the-line-before.hs b/corpora/vendored/cpp/expression/branch-continuing-the-line-before.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/branch-continuing-the-line-before.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE CPP #-}
+
+module Report.Flush (flush) where
+
+flush :: Bool -> IO ()
+flush verbose = when verbose $
+#if defined(TRACE)
+  do traceIO "flushing"
+#endif
+     hFlush stdout
diff --git a/corpora/vendored/cpp/expression/branch-opening-a-bracket-it-does-not-close.hs b/corpora/vendored/cpp/expression/branch-opening-a-bracket-it-does-not-close.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/branch-opening-a-bracket-it-does-not-close.hs
@@ -0,0 +1,8 @@
+{-# LANGUAGE CPP #-}
+
+module M where
+
+#ifdef FOO
+f = (1
+#endif
+  + 2)
diff --git a/corpora/vendored/cpp/expression/case-head-broken-in-each-branch-out'.hs b/corpora/vendored/cpp/expression/case-head-broken-in-each-branch-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/case-head-broken-in-each-branch-out'.hs
@@ -0,0 +1,23 @@
+{-# LANGUAGE CPP #-}
+
+-- A case head each branch breaks past column 80 is broken the same way on
+-- every pass, and what both branches go on with stays in each.
+module Parse.Step (step) where
+
+step :: Int -> Char -> Int
+step accumulator character
+#if MIN_VERSION_base(4,16,0)
+    | isDigitCharacter character
+    , notTooLarge accumulator = case multiplyTheAccumulatorByTenSafely
+        accumulator
+        (digitValueOf character) of
+        Just next -> next
+#else
+    | isDigit character
+    , notTooLarge accumulator = case multiplyByTen
+        accumulator
+        (digitToInt character) of
+        Just next -> next
+#endif
+        Nothing -> accumulator
+    | otherwise = accumulator
diff --git a/corpora/vendored/cpp/expression/case-head-broken-in-each-branch-out.hs b/corpora/vendored/cpp/expression/case-head-broken-in-each-branch-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/case-head-broken-in-each-branch-out.hs
@@ -0,0 +1,23 @@
+{-# LANGUAGE CPP #-}
+
+-- A case head each branch breaks past column 80 is broken the same way on
+-- every pass, and what both branches go on with stays in each.
+module Parse.Step (step) where
+
+step :: Int -> Char -> Int
+step accumulator character
+#if MIN_VERSION_base(4,16,0)
+  | isDigitCharacter character,
+    notTooLarge accumulator = case multiplyTheAccumulatorByTenSafely
+      accumulator
+      (digitValueOf character) of
+      Just next -> next
+#else
+  | isDigit character,
+    notTooLarge accumulator = case multiplyByTen
+      accumulator
+      (digitToInt character) of
+      Just next -> next
+#endif
+      Nothing -> accumulator
+  | otherwise = accumulator
diff --git a/corpora/vendored/cpp/expression/case-head-broken-in-each-branch.hs b/corpora/vendored/cpp/expression/case-head-broken-in-each-branch.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/case-head-broken-in-each-branch.hs
@@ -0,0 +1,19 @@
+{-# LANGUAGE CPP #-}
+
+-- A case head each branch breaks past column 80 is broken the same way on
+-- every pass, and what both branches go on with stays in each.
+module Parse.Step (step) where
+
+step :: Int -> Char -> Int
+step accumulator character
+#if MIN_VERSION_base(4,16,0)
+  | isDigitCharacter character
+  , notTooLarge accumulator = case multiplyTheAccumulatorByTenSafely accumulator (digitValueOf character) of
+      Just next -> next
+#else
+  | isDigit character
+  , notTooLarge accumulator = case multiplyByTen accumulator (digitToInt character) of
+      Just next -> next
+#endif
+      Nothing -> accumulator
+  | otherwise = accumulator
diff --git a/corpora/vendored/cpp/expression/case-head-in-each-branch-out'.hs b/corpora/vendored/cpp/expression/case-head-in-each-branch-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/case-head-in-each-branch-out'.hs
@@ -0,0 +1,25 @@
+{-# LANGUAGE CPP #-}
+
+module Data.Aeson.BetterErrors.Internal (key, keyMay) where
+
+key :: Text -> Object -> Parse Value
+key k obj = do
+#if MIN_VERSION_aeson(2,0,0)
+    case KeyMap.lookup (Key.fromText k) obj of
+#else
+    case HashMap.lookup k obj of
+#endif
+        Just v -> pure v
+        Nothing -> missing k
+
+keyMay :: Text -> Maybe Object -> Parse (Maybe Value)
+keyMay k value = case value of
+    Just obj ->
+#if MIN_VERSION_aeson(2,0,0)
+        case KeyMap.lookup (Key.fromText k) obj of
+#else
+        case HashMap.lookup k obj of
+#endif
+            Just v -> pure (Just v)
+            Nothing -> pure Nothing
+    Nothing -> pure Nothing
diff --git a/corpora/vendored/cpp/expression/case-head-in-each-branch-out.hs b/corpora/vendored/cpp/expression/case-head-in-each-branch-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/case-head-in-each-branch-out.hs
@@ -0,0 +1,25 @@
+{-# LANGUAGE CPP #-}
+
+module Data.Aeson.BetterErrors.Internal (key, keyMay) where
+
+key :: Text -> Object -> Parse Value
+key k obj = do
+#if MIN_VERSION_aeson(2,0,0)
+  case KeyMap.lookup (Key.fromText k) obj of
+#else
+  case HashMap.lookup k obj of
+#endif
+    Just v -> pure v
+    Nothing -> missing k
+
+keyMay :: Text -> Maybe Object -> Parse (Maybe Value)
+keyMay k value = case value of
+  Just obj ->
+#if MIN_VERSION_aeson(2,0,0)
+    case KeyMap.lookup (Key.fromText k) obj of
+#else
+    case HashMap.lookup k obj of
+#endif
+      Just v -> pure (Just v)
+      Nothing -> pure Nothing
+  Nothing -> pure Nothing
diff --git a/corpora/vendored/cpp/expression/case-head-in-each-branch.hs b/corpora/vendored/cpp/expression/case-head-in-each-branch.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/case-head-in-each-branch.hs
@@ -0,0 +1,25 @@
+{-# LANGUAGE CPP #-}
+
+module Data.Aeson.BetterErrors.Internal (key, keyMay) where
+
+key :: Text -> Object -> Parse Value
+key k obj = do
+#if MIN_VERSION_aeson(2,0,0)
+  case KeyMap.lookup (Key.fromText k) obj of
+#else
+  case HashMap.lookup k obj of
+#endif
+    Just v -> pure v
+    Nothing -> missing k
+
+keyMay :: Text -> Maybe Object -> Parse (Maybe Value)
+keyMay k value = case value of
+  Just obj ->
+#if MIN_VERSION_aeson(2,0,0)
+    case KeyMap.lookup (Key.fromText k) obj of
+#else
+    case HashMap.lookup k obj of
+#endif
+      Just v -> pure (Just v)
+      Nothing -> pure Nothing
+  Nothing -> pure Nothing
diff --git a/corpora/vendored/cpp/expression/case-head-past-the-column-limit-after-an-arrow-out'.hs b/corpora/vendored/cpp/expression/case-head-past-the-column-limit-after-an-arrow-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/case-head-past-the-column-limit-after-an-arrow-out'.hs
@@ -0,0 +1,22 @@
+{-# LANGUAGE CPP #-}
+
+module Parse.Decimal (decimal) where
+
+decimal :: Int -> String -> Int
+decimal acc input = case input of
+    [] -> acc
+    w : rest -> case w of
+#if MIN_VERSION_base(4,16,0)
+        c
+            | isDigitCharacter c
+            , notTooLarge acc -> case multiplyTheAccumulatorByTenSafely
+                acc
+                (digitValueOf c) of
+                Just next -> decimal next rest
+#else
+        c
+            | isDigit c
+            , notTooLarge acc -> case multiplyByTen acc (digitToInt c) of
+                Just next -> decimal next rest
+#endif
+                Nothing -> acc
diff --git a/corpora/vendored/cpp/expression/case-head-past-the-column-limit-after-an-arrow-out.hs b/corpora/vendored/cpp/expression/case-head-past-the-column-limit-after-an-arrow-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/case-head-past-the-column-limit-after-an-arrow-out.hs
@@ -0,0 +1,22 @@
+{-# LANGUAGE CPP #-}
+
+module Parse.Decimal (decimal) where
+
+decimal :: Int -> String -> Int
+decimal acc input = case input of
+  [] -> acc
+  w : rest -> case w of
+#if MIN_VERSION_base(4,16,0)
+    c
+      | isDigitCharacter c,
+        notTooLarge acc -> case multiplyTheAccumulatorByTenSafely
+          acc
+          (digitValueOf c) of
+          Just next -> decimal next rest
+#else
+    c
+      | isDigit c,
+        notTooLarge acc -> case multiplyByTen acc (digitToInt c) of
+          Just next -> decimal next rest
+#endif
+          Nothing -> acc
diff --git a/corpora/vendored/cpp/expression/case-head-past-the-column-limit-after-an-arrow.hs b/corpora/vendored/cpp/expression/case-head-past-the-column-limit-after-an-arrow.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/case-head-past-the-column-limit-after-an-arrow.hs
@@ -0,0 +1,20 @@
+{-# LANGUAGE CPP #-}
+
+module Parse.Decimal (decimal) where
+
+decimal :: Int -> String -> Int
+decimal acc input = case input of
+  [] -> acc
+  w : rest -> case w of
+#if MIN_VERSION_base(4,16,0)
+    c | isDigitCharacter c
+      , notTooLarge acc
+      -> case multiplyTheAccumulatorByTenSafely acc (digitValueOf c) of
+          Just next -> decimal next rest
+#else
+    c | isDigit c
+      , notTooLarge acc
+      -> case multiplyByTen acc (digitToInt c) of
+          Just next -> decimal next rest
+#endif
+          Nothing -> acc
diff --git a/corpora/vendored/cpp/expression/case-head-past-the-column-limit-after-an-equals-sign-out'.hs b/corpora/vendored/cpp/expression/case-head-past-the-column-limit-after-an-equals-sign-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/case-head-past-the-column-limit-after-an-equals-sign-out'.hs
@@ -0,0 +1,19 @@
+{-# LANGUAGE CPP #-}
+
+module Parse.Step (step) where
+
+step :: Int -> Char -> Int
+step acc c
+#if MIN_VERSION_base(4,16,0)
+    | isDigitCharacter c
+    , notTooLarge acc = case multiplyTheAccumulatorByTenSafely
+        acc
+        (digitValueOf c) of
+        Just next -> next
+#else
+    | isDigit c
+    , notTooLarge acc = case multiplyByTen acc (digitToInt c) of
+        Just next -> next
+#endif
+        Nothing -> acc
+    | otherwise = acc
diff --git a/corpora/vendored/cpp/expression/case-head-past-the-column-limit-after-an-equals-sign-out.hs b/corpora/vendored/cpp/expression/case-head-past-the-column-limit-after-an-equals-sign-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/case-head-past-the-column-limit-after-an-equals-sign-out.hs
@@ -0,0 +1,19 @@
+{-# LANGUAGE CPP #-}
+
+module Parse.Step (step) where
+
+step :: Int -> Char -> Int
+step acc c
+#if MIN_VERSION_base(4,16,0)
+  | isDigitCharacter c,
+    notTooLarge acc = case multiplyTheAccumulatorByTenSafely
+      acc
+      (digitValueOf c) of
+      Just next -> next
+#else
+  | isDigit c,
+    notTooLarge acc = case multiplyByTen acc (digitToInt c) of
+      Just next -> next
+#endif
+      Nothing -> acc
+  | otherwise = acc
diff --git a/corpora/vendored/cpp/expression/case-head-past-the-column-limit-after-an-equals-sign.hs b/corpora/vendored/cpp/expression/case-head-past-the-column-limit-after-an-equals-sign.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/case-head-past-the-column-limit-after-an-equals-sign.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE CPP #-}
+
+module Parse.Step (step) where
+
+step :: Int -> Char -> Int
+step acc c
+#if MIN_VERSION_base(4,16,0)
+  | isDigitCharacter c
+  , notTooLarge acc = case multiplyTheAccumulatorByTenSafely acc (digitValueOf c) of
+      Just next -> next
+#else
+  | isDigit c
+  , notTooLarge acc = case multiplyByTen acc (digitToInt c) of
+      Just next -> next
+#endif
+      Nothing -> acc
+  | otherwise = acc
diff --git a/corpora/vendored/cpp/expression/case-scrutinee-and-if-condition-in-each-branch-out'.hs b/corpora/vendored/cpp/expression/case-scrutinee-and-if-condition-in-each-branch-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/case-scrutinee-and-if-condition-in-each-branch-out'.hs
@@ -0,0 +1,29 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE RecordWildCards #-}
+
+module ImportStylePlugin.Compat (explicitlyImported, spaced) where
+
+-- | The names an import lists, unless it hides them.
+explicitlyImported :: ImportDecl GhcPs -> Maybe [IE GhcPs]
+explicitlyImported ImportDecl{..} =
+    case
+#if __GLASGOW_HASKELL__ >= 906
+        ideclImportList of
+#else
+        ideclHiding of
+#endif
+        Just (Exactly, L _ names) -> Just (fmap unLoc names)
+        _ -> Nothing
+
+-- | An argument put a space away from what it is applied to.
+spaced :: LHsExpr GhcPs -> LHsExpr GhcPs
+spaced e@(L _ (HsApp _ _ (L lb _))) =
+    if
+#if MIN_VERSION_ghc(9,12,0)
+        manchorOp lb == Just (SameLine 0)
+#else
+        manchorOp (ann lb) == Just (SameLine 0)
+#endif
+        then setEntryDP e (SameLine 1)
+        else e
+spaced e = e
diff --git a/corpora/vendored/cpp/expression/case-scrutinee-and-if-condition-in-each-branch-out.hs b/corpora/vendored/cpp/expression/case-scrutinee-and-if-condition-in-each-branch-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/case-scrutinee-and-if-condition-in-each-branch-out.hs
@@ -0,0 +1,29 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE RecordWildCards #-}
+
+module ImportStylePlugin.Compat (explicitlyImported, spaced) where
+
+-- | The names an import lists, unless it hides them.
+explicitlyImported :: ImportDecl GhcPs -> Maybe [IE GhcPs]
+explicitlyImported ImportDecl{..} =
+  case
+#if __GLASGOW_HASKELL__ >= 906
+    ideclImportList of
+#else
+    ideclHiding of
+#endif
+    Just (Exactly, L _ names) -> Just (fmap unLoc names)
+    _ -> Nothing
+
+-- | An argument put a space away from what it is applied to.
+spaced :: LHsExpr GhcPs -> LHsExpr GhcPs
+spaced e@(L _ (HsApp _ _ (L lb _))) =
+  if
+#if MIN_VERSION_ghc(9,12,0)
+    manchorOp lb == Just (SameLine 0)
+#else
+    manchorOp (ann lb) == Just (SameLine 0)
+#endif
+    then setEntryDP e (SameLine 1)
+    else e
+spaced e = e
diff --git a/corpora/vendored/cpp/expression/case-scrutinee-and-if-condition-in-each-branch.hs b/corpora/vendored/cpp/expression/case-scrutinee-and-if-condition-in-each-branch.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/case-scrutinee-and-if-condition-in-each-branch.hs
@@ -0,0 +1,29 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE RecordWildCards #-}
+
+module ImportStylePlugin.Compat (explicitlyImported, spaced) where
+
+-- | The names an import lists, unless it hides them.
+explicitlyImported :: ImportDecl GhcPs -> Maybe [IE GhcPs]
+explicitlyImported ImportDecl{..} =
+  case
+#if __GLASGOW_HASKELL__ >= 906
+    ideclImportList
+#else
+    ideclHiding
+#endif
+  of
+    Just (Exactly, L _ names) -> Just (fmap unLoc names)
+    _ -> Nothing
+
+-- | An argument put a space away from what it is applied to.
+spaced :: LHsExpr GhcPs -> LHsExpr GhcPs
+spaced e@(L _ (HsApp _ _ (L lb _))) =
+#if MIN_VERSION_ghc(9,12,0)
+  if manchorOp lb == Just (SameLine 0)
+#else
+  if manchorOp (ann lb) == Just (SameLine 0)
+#endif
+    then setEntryDP e (SameLine 1)
+    else e
+spaced e = e
diff --git a/corpora/vendored/cpp/expression/code-after-an-optional-prefix-out'.hs b/corpora/vendored/cpp/expression/code-after-an-optional-prefix-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/code-after-an-optional-prefix-out'.hs
@@ -0,0 +1,32 @@
+{-# LANGUAGE CPP #-}
+
+-- Code that one branch puts a prefix in front of, written at the column of
+-- the prefix, comes out once after the conditional.
+module Properties.Json (jsonIso, label, retried) where
+
+jsonIso :: Proxy a -> Property
+jsonIso _ =
+#if MIN_VERSION_QuickCheck(2,9,0)
+    again $
+#endif
+    MkProperty $
+        arbitrary >>= \x ->
+            counterexample "decoded" (Just x == decode (encode x))
+
+label :: String -> Property -> Property
+label s =
+#ifndef LAZY_LABELS
+    s `seq`
+#endif
+    mapTotalResult $
+        \res -> res{labels = s : labels res}
+
+-- Written in each branch, it stays in each.
+retried :: Property -> Property
+retried p =
+#if MIN_VERSION_QuickCheck(2,9,0)
+    again $
+        once p
+#else
+    once p
+#endif
diff --git a/corpora/vendored/cpp/expression/code-after-an-optional-prefix-out.hs b/corpora/vendored/cpp/expression/code-after-an-optional-prefix-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/code-after-an-optional-prefix-out.hs
@@ -0,0 +1,32 @@
+{-# LANGUAGE CPP #-}
+
+-- Code that one branch puts a prefix in front of, written at the column of
+-- the prefix, comes out once after the conditional.
+module Properties.Json (jsonIso, label, retried) where
+
+jsonIso :: Proxy a -> Property
+jsonIso _ =
+#if MIN_VERSION_QuickCheck(2,9,0)
+  again $
+#endif
+  MkProperty $
+    arbitrary >>= \x ->
+      counterexample "decoded" (Just x == decode (encode x))
+
+label :: String -> Property -> Property
+label s =
+#ifndef LAZY_LABELS
+  s `seq`
+#endif
+  mapTotalResult $
+    \res -> res{labels = s : labels res}
+
+-- Written in each branch, it stays in each.
+retried :: Property -> Property
+retried p =
+#if MIN_VERSION_QuickCheck(2,9,0)
+  again $
+    once p
+#else
+  once p
+#endif
diff --git a/corpora/vendored/cpp/expression/code-after-an-optional-prefix-under-an-operator-out'.hs b/corpora/vendored/cpp/expression/code-after-an-optional-prefix-under-an-operator-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/code-after-an-optional-prefix-under-an-operator-out'.hs
@@ -0,0 +1,29 @@
+{-# LANGUAGE CPP #-}
+
+-- An operator leading code that one branch puts a prefix in front of goes
+-- to the end of the line before, and the code comes out once.
+module Ide.Plugin.GHC (adjustWhere, fromString) where
+
+adjustWhere :: AnnSortKey -> AnnSortKey
+adjustWhere tcdDExt =
+    tcdDExt <&>
+#if !MIN_VERSION_ghc(9,9,0)
+        map
+#endif
+        ( \(AddEpAnn ann l) ->
+            if ann == AnnWhere
+                then AddEpAnn AnnWhere d1
+                else AddEpAnn ann l
+        )
+
+fromString :: ShakespeareSettings -> String -> Q Exp
+fromString r str = do
+    s <-
+        qRunIO
+            $ preFilter Nothing r $
+#ifdef WINDOWS
+            filter
+                (/= '\r')
+#endif
+            str
+    contentsToShakespeare r $ contentFromString r s
diff --git a/corpora/vendored/cpp/expression/code-after-an-optional-prefix-under-an-operator-out.hs b/corpora/vendored/cpp/expression/code-after-an-optional-prefix-under-an-operator-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/code-after-an-optional-prefix-under-an-operator-out.hs
@@ -0,0 +1,29 @@
+{-# LANGUAGE CPP #-}
+
+-- An operator leading code that one branch puts a prefix in front of goes
+-- to the end of the line before, and the code comes out once.
+module Ide.Plugin.GHC (adjustWhere, fromString) where
+
+adjustWhere :: AnnSortKey -> AnnSortKey
+adjustWhere tcdDExt =
+  tcdDExt <&>
+#if !MIN_VERSION_ghc(9,9,0)
+    map
+#endif
+    ( \(AddEpAnn ann l) ->
+        if ann == AnnWhere
+          then AddEpAnn AnnWhere d1
+          else AddEpAnn ann l
+    )
+
+fromString :: ShakespeareSettings -> String -> Q Exp
+fromString r str = do
+  s <-
+    qRunIO
+      $ preFilter Nothing r $
+#ifdef WINDOWS
+      filter
+        (/= '\r')
+#endif
+      str
+  contentsToShakespeare r $ contentFromString r s
diff --git a/corpora/vendored/cpp/expression/code-after-an-optional-prefix-under-an-operator.hs b/corpora/vendored/cpp/expression/code-after-an-optional-prefix-under-an-operator.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/code-after-an-optional-prefix-under-an-operator.hs
@@ -0,0 +1,25 @@
+{-# LANGUAGE CPP #-}
+
+-- An operator leading code that one branch puts a prefix in front of goes
+-- to the end of the line before, and the code comes out once.
+module Ide.Plugin.GHC (adjustWhere, fromString) where
+
+adjustWhere :: AnnSortKey -> AnnSortKey
+adjustWhere tcdDExt = tcdDExt <&>
+#if !MIN_VERSION_ghc(9,9,0)
+    map
+#endif
+    (\(AddEpAnn ann l) ->
+    if ann == AnnWhere
+        then AddEpAnn AnnWhere d1
+        else AddEpAnn ann l
+    )
+
+fromString :: ShakespeareSettings -> String -> Q Exp
+fromString r str = do
+    s <- qRunIO $ preFilter Nothing r $
+#ifdef WINDOWS
+          filter (/='\r')
+#endif
+          str
+    contentsToShakespeare r $ contentFromString r s
diff --git a/corpora/vendored/cpp/expression/code-after-an-optional-prefix.hs b/corpora/vendored/cpp/expression/code-after-an-optional-prefix.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/code-after-an-optional-prefix.hs
@@ -0,0 +1,32 @@
+{-# LANGUAGE CPP #-}
+
+-- Code that one branch puts a prefix in front of, written at the column of
+-- the prefix, comes out once after the conditional.
+module Properties.Json (jsonIso, label, retried) where
+
+jsonIso :: Proxy a -> Property
+jsonIso _ =
+#if MIN_VERSION_QuickCheck(2,9,0)
+  again $
+#endif
+  MkProperty $
+    arbitrary >>= \x ->
+      counterexample "decoded" (Just x == decode (encode x))
+
+label :: String -> Property -> Property
+label s =
+#ifndef LAZY_LABELS
+  s `seq`
+#endif
+  mapTotalResult $
+    \res -> res {labels = s : labels res}
+
+-- Written in each branch, it stays in each.
+retried :: Property -> Property
+retried p =
+#if MIN_VERSION_QuickCheck(2,9,0)
+  again $
+  once p
+#else
+  once p
+#endif
diff --git a/corpora/vendored/cpp/expression/code-finishing-what-each-branch-begins-out'.hs b/corpora/vendored/cpp/expression/code-finishing-what-each-branch-begins-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/code-finishing-what-each-branch-begins-out'.hs
@@ -0,0 +1,90 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE LambdaCase #-}
+
+-- What follows a conditional finishes the construct each of its branches
+-- begins, and stays after the conditional rather than going into each
+-- branch.
+module Session.Store where
+
+import Control.Arrow ((>>>))
+import Control.Monad (forM_)
+
+-- Left-hand sides.
+lookupKey :: Maybe (Int, Int) -> Int -> Int
+#if MIN_VERSION_base(4,16,0)
+lookupKey (Just (k, _)) d =
+#else
+lookupKey (Just (k, _)) _d =
+#endif
+    k + 1
+lookupKey Nothing d = d
+
+-- Alternatives of a case.
+expiry :: Maybe (Int, Int) -> Int
+expiry m = case m of
+#if MIN_VERSION_base(4,16,0)
+    Just (_, t) ->
+#else
+    Just (t, _) ->
+#endif
+        t * 60
+    Nothing -> 0
+
+-- Signatures.
+#if MIN_VERSION_base(4,16,0)
+store
+    :: (Show k, Ord k)
+#else
+store
+    :: Show k
+#endif
+    => k -> String
+store = show
+
+-- Applications.
+#if MIN_VERSION_base(4,16,0)
+render k =
+    pad
+        4
+#else
+render k =
+    pad
+        4
+        ' '
+#endif
+        (show k)
+
+-- Blocks.
+dump :: [Int] -> IO ()
+dump ks = do
+#if MIN_VERSION_base(4,16,0)
+    forM_ ks $ \k -> do
+#else
+    forM_ (reverse ks) $ \k -> do
+#endif
+        print k
+        print (k * 2)
+
+-- The alternatives of a lambda case.
+classify :: Int -> Int
+#if MIN_VERSION_base(4,16,0)
+classify =
+    negate >>> abs >>> \case
+#else
+classify =
+    abs >>> \case
+#endif
+        0 -> 1
+        n -> n
+
+-- The qualifiers of a list comprehension.
+names :: [(Int, String)] -> [String]
+#if MIN_VERSION_base(4,16,0)
+names xs =
+    [ show n ++ s
+#else
+names xs =
+    [ s
+#endif
+    | (n, s) <- xs
+    ]
diff --git a/corpora/vendored/cpp/expression/code-finishing-what-each-branch-begins-out.hs b/corpora/vendored/cpp/expression/code-finishing-what-each-branch-begins-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/code-finishing-what-each-branch-begins-out.hs
@@ -0,0 +1,90 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE LambdaCase #-}
+
+-- What follows a conditional finishes the construct each of its branches
+-- begins, and stays after the conditional rather than going into each
+-- branch.
+module Session.Store where
+
+import Control.Arrow ((>>>))
+import Control.Monad (forM_)
+
+-- Left-hand sides.
+lookupKey :: Maybe (Int, Int) -> Int -> Int
+#if MIN_VERSION_base(4,16,0)
+lookupKey (Just (k, _)) d =
+#else
+lookupKey (Just (k, _)) _d =
+#endif
+  k + 1
+lookupKey Nothing d = d
+
+-- Alternatives of a case.
+expiry :: Maybe (Int, Int) -> Int
+expiry m = case m of
+#if MIN_VERSION_base(4,16,0)
+  Just (_, t) ->
+#else
+  Just (t, _) ->
+#endif
+    t * 60
+  Nothing -> 0
+
+-- Signatures.
+#if MIN_VERSION_base(4,16,0)
+store ::
+  (Show k, Ord k) =>
+#else
+store ::
+  Show k =>
+#endif
+  k -> String
+store = show
+
+-- Applications.
+#if MIN_VERSION_base(4,16,0)
+render k =
+  pad
+    4
+#else
+render k =
+  pad
+    4
+    ' '
+#endif
+    (show k)
+
+-- Blocks.
+dump :: [Int] -> IO ()
+dump ks = do
+#if MIN_VERSION_base(4,16,0)
+  forM_ ks $ \k -> do
+#else
+  forM_ (reverse ks) $ \k -> do
+#endif
+    print k
+    print (k * 2)
+
+-- The alternatives of a lambda case.
+classify :: Int -> Int
+#if MIN_VERSION_base(4,16,0)
+classify =
+  negate >>> abs >>> \case
+#else
+classify =
+  abs >>> \case
+#endif
+    0 -> 1
+    n -> n
+
+-- The qualifiers of a list comprehension.
+names :: [(Int, String)] -> [String]
+#if MIN_VERSION_base(4,16,0)
+names xs =
+  [ show n ++ s
+#else
+names xs =
+  [ s
+#endif
+  | (n, s) <- xs
+  ]
diff --git a/corpora/vendored/cpp/expression/code-finishing-what-each-branch-begins.hs b/corpora/vendored/cpp/expression/code-finishing-what-each-branch-begins.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/code-finishing-what-each-branch-begins.hs
@@ -0,0 +1,79 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE LambdaCase #-}
+
+-- What follows a conditional finishes the construct each of its branches
+-- begins, and stays after the conditional rather than going into each
+-- branch.
+module Session.Store where
+
+import Control.Arrow ((>>>))
+import Control.Monad (forM_)
+
+-- Left-hand sides.
+lookupKey :: Maybe (Int, Int) -> Int -> Int
+#if MIN_VERSION_base(4,16,0)
+lookupKey (Just (k, _)) d =
+#else
+lookupKey (Just (k, _)) _d =
+#endif
+  k + 1
+lookupKey Nothing d = d
+
+-- Alternatives of a case.
+expiry :: Maybe (Int, Int) -> Int
+expiry m = case m of
+#if MIN_VERSION_base(4,16,0)
+  Just (_, t) ->
+#else
+  Just (t, _) ->
+#endif
+    t * 60
+  Nothing -> 0
+
+-- Signatures.
+#if MIN_VERSION_base(4,16,0)
+store :: (Show k, Ord k)
+#else
+store :: Show k
+#endif
+  => k -> String
+store = show
+
+-- Applications.
+#if MIN_VERSION_base(4,16,0)
+render k = pad 4
+#else
+render k = pad 4 ' '
+#endif
+             (show k)
+
+-- Blocks.
+dump :: [Int] -> IO ()
+dump ks = do
+#if MIN_VERSION_base(4,16,0)
+  forM_ ks $ \k -> do
+#else
+  forM_ (reverse ks) $ \k -> do
+#endif
+    print k
+    print (k * 2)
+
+-- The alternatives of a lambda case.
+classify :: Int -> Int
+#if MIN_VERSION_base(4,16,0)
+classify = negate >>> abs >>> \ case
+#else
+classify = abs >>> \ case
+#endif
+  0 -> 1
+  n -> n
+
+-- The qualifiers of a list comprehension.
+names :: [(Int, String)] -> [String]
+#if MIN_VERSION_base(4,16,0)
+names xs = [ show n ++ s
+#else
+names xs = [ s
+#endif
+           | (n, s) <- xs
+           ]
diff --git a/corpora/vendored/cpp/expression/code-finishing-what-each-of-three-branches-begins-out'.hs b/corpora/vendored/cpp/expression/code-finishing-what-each-of-three-branches-begins-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/code-finishing-what-each-of-three-branches-begins-out'.hs
@@ -0,0 +1,36 @@
+{-# LANGUAGE CPP #-}
+
+module Mill.Grind where
+
+grind :: Int -> IO Int
+grind kilos = do
+#if defined(STONE_MILL)
+    flour <-
+        stoneGrind
+            (sieve kilos)
+#elif defined(ROLLER_MILL)
+    flour <-
+        rollerGrind
+            (sieve kilos)
+#else
+    flour <-
+        handGrind
+            (sieve kilos)
+#endif
+            coarse
+            fine
+    pure flour
+
+grades :: [(Int, String)] -> [String]
+#if defined(STONE_MILL)
+grades xs =
+    [ show n ++ s
+#elif defined(ROLLER_MILL)
+grades xs =
+    [ s ++ show n
+#else
+grades xs =
+    [ s
+#endif
+    | (n, s) <- xs
+    ]
diff --git a/corpora/vendored/cpp/expression/code-finishing-what-each-of-three-branches-begins-out.hs b/corpora/vendored/cpp/expression/code-finishing-what-each-of-three-branches-begins-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/code-finishing-what-each-of-three-branches-begins-out.hs
@@ -0,0 +1,36 @@
+{-# LANGUAGE CPP #-}
+
+module Mill.Grind where
+
+grind :: Int -> IO Int
+grind kilos = do
+#if defined(STONE_MILL)
+  flour <-
+    stoneGrind
+      (sieve kilos)
+#elif defined(ROLLER_MILL)
+  flour <-
+    rollerGrind
+      (sieve kilos)
+#else
+  flour <-
+    handGrind
+      (sieve kilos)
+#endif
+      coarse
+      fine
+  pure flour
+
+grades :: [(Int, String)] -> [String]
+#if defined(STONE_MILL)
+grades xs =
+  [ show n ++ s
+#elif defined(ROLLER_MILL)
+grades xs =
+  [ s ++ show n
+#else
+grades xs =
+  [ s
+#endif
+  | (n, s) <- xs
+  ]
diff --git a/corpora/vendored/cpp/expression/code-finishing-what-each-of-three-branches-begins.hs b/corpora/vendored/cpp/expression/code-finishing-what-each-of-three-branches-begins.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/code-finishing-what-each-of-three-branches-begins.hs
@@ -0,0 +1,26 @@
+{-# LANGUAGE CPP #-}
+
+module Mill.Grind where
+
+grind :: Int -> IO Int
+grind kilos = do
+#if defined(STONE_MILL)
+  flour <- stoneGrind (sieve kilos)
+#elif defined(ROLLER_MILL)
+  flour <- rollerGrind (sieve kilos)
+#else
+  flour <- handGrind (sieve kilos)
+#endif
+             coarse fine
+  pure flour
+
+grades :: [(Int, String)] -> [String]
+#if defined(STONE_MILL)
+grades xs = [ show n ++ s
+#elif defined(ROLLER_MILL)
+grades xs = [ s ++ show n
+#else
+grades xs = [ s
+#endif
+            | (n, s) <- xs
+            ]
diff --git a/corpora/vendored/cpp/expression/comprehension-in-each-branch-after-its-bracket-out'.hs b/corpora/vendored/cpp/expression/comprehension-in-each-branch-after-its-bracket-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/comprehension-in-each-branch-after-its-bracket-out'.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE CPP #-}
+
+module Setup.Programs where
+
+programNames :: [Maybe String] -> [String]
+programNames programs =
+    [
+#ifdef mingw32_HOST_OS
+    name
+        <> ".exe"
+    | Just name <-
+        programs
+#else
+    name
+    | Just name <-
+        programs
+#endif
+    ]
diff --git a/corpora/vendored/cpp/expression/comprehension-in-each-branch-after-its-bracket-out.hs b/corpora/vendored/cpp/expression/comprehension-in-each-branch-after-its-bracket-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/comprehension-in-each-branch-after-its-bracket-out.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE CPP #-}
+
+module Setup.Programs where
+
+programNames :: [Maybe String] -> [String]
+programNames programs =
+  [
+#ifdef mingw32_HOST_OS
+  name
+    <> ".exe"
+  | Just name <-
+      programs
+#else
+  name
+  | Just name <-
+      programs
+#endif
+  ]
diff --git a/corpora/vendored/cpp/expression/comprehension-in-each-branch-after-its-bracket.hs b/corpora/vendored/cpp/expression/comprehension-in-each-branch-after-its-bracket.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/comprehension-in-each-branch-after-its-bracket.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE CPP #-}
+
+module Setup.Programs where
+
+programNames :: [Maybe String] -> [String]
+programNames programs =
+  [ name
+#ifdef mingw32_HOST_OS
+      <> ".exe"
+  | Just name
+#else
+  | Just name
+#endif
+  <- programs ]
diff --git a/corpora/vendored/cpp/expression/conditional-after-an-optional-prefix-out'.hs b/corpora/vendored/cpp/expression/conditional-after-an-optional-prefix-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/conditional-after-an-optional-prefix-out'.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE CPP #-}
+
+-- A conditional after the prefix one branch puts in front of it comes out
+-- once after the conditional of the prefix.
+module GHC.TcPlugin.API.Names (missingModule) where
+
+missingModule :: HscEnv -> ModuleName -> FindResult -> TcPluginM SDoc
+missingModule hsc_env mod_name other = do
+    let err_doc =
+#if MIN_VERSION_ghc(9,8,0)
+            missingInterfaceErrorDiagnostic defaultOpts $
+#endif
+#if MIN_VERSION_ghc(9,2,0)
+            cannotFindModule hsc_env mod_name other
+#else
+            cannotFindModule (hsc_dflags hsc_env) mod_name other
+#endif
+    pure err_doc
diff --git a/corpora/vendored/cpp/expression/conditional-after-an-optional-prefix-out.hs b/corpora/vendored/cpp/expression/conditional-after-an-optional-prefix-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/conditional-after-an-optional-prefix-out.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE CPP #-}
+
+-- A conditional after the prefix one branch puts in front of it comes out
+-- once after the conditional of the prefix.
+module GHC.TcPlugin.API.Names (missingModule) where
+
+missingModule :: HscEnv -> ModuleName -> FindResult -> TcPluginM SDoc
+missingModule hsc_env mod_name other = do
+  let err_doc =
+#if MIN_VERSION_ghc(9,8,0)
+        missingInterfaceErrorDiagnostic defaultOpts $
+#endif
+#if MIN_VERSION_ghc(9,2,0)
+        cannotFindModule hsc_env mod_name other
+#else
+        cannotFindModule (hsc_dflags hsc_env) mod_name other
+#endif
+  pure err_doc
diff --git a/corpora/vendored/cpp/expression/conditional-after-an-optional-prefix.hs b/corpora/vendored/cpp/expression/conditional-after-an-optional-prefix.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/conditional-after-an-optional-prefix.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE CPP #-}
+
+-- A conditional after the prefix one branch puts in front of it comes out
+-- once after the conditional of the prefix.
+module GHC.TcPlugin.API.Names (missingModule) where
+
+missingModule :: HscEnv -> ModuleName -> FindResult -> TcPluginM SDoc
+missingModule hsc_env mod_name other = do
+  let err_doc =
+#if MIN_VERSION_ghc(9,8,0)
+        missingInterfaceErrorDiagnostic defaultOpts $
+#endif
+#if MIN_VERSION_ghc(9,2,0)
+        cannotFindModule hsc_env mod_name other
+#else
+        cannotFindModule (hsc_dflags hsc_env) mod_name other
+#endif
+  pure err_doc
diff --git a/corpora/vendored/cpp/expression/conditional-extending-an-operand-in-its-else-branch-out'.hs b/corpora/vendored/cpp/expression/conditional-extending-an-operand-in-its-else-branch-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/conditional-extending-an-operand-in-its-else-branch-out'.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE CPP #-}
+
+module Main (main) where
+
+import qualified Properties
+import Test.QuickCheck (quickCheck)
+
+main :: IO ()
+main =
+    mapM_ quickCheck $
+        Properties.basic
+#if __GLASGOW_HASKELL__ < 800
+#else
+            ++ Properties.nonEmpty
+#endif
diff --git a/corpora/vendored/cpp/expression/conditional-extending-an-operand-in-its-else-branch-out.hs b/corpora/vendored/cpp/expression/conditional-extending-an-operand-in-its-else-branch-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/conditional-extending-an-operand-in-its-else-branch-out.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE CPP #-}
+
+module Main (main) where
+
+import qualified Properties
+import Test.QuickCheck (quickCheck)
+
+main :: IO ()
+main =
+  mapM_ quickCheck $
+    Properties.basic
+#if __GLASGOW_HASKELL__ < 800
+#else
+      ++ Properties.nonEmpty
+#endif
diff --git a/corpora/vendored/cpp/expression/conditional-extending-an-operand-in-its-else-branch.hs b/corpora/vendored/cpp/expression/conditional-extending-an-operand-in-its-else-branch.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/conditional-extending-an-operand-in-its-else-branch.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE CPP #-}
+
+module Main (main) where
+
+import qualified Properties
+import Test.QuickCheck (quickCheck)
+
+main :: IO ()
+main =
+  mapM_ quickCheck $
+    Properties.basic
+#if __GLASGOW_HASKELL__ < 800
+#else
+      ++ Properties.nonEmpty
+#endif
diff --git a/corpora/vendored/cpp/expression/conditional-extending-an-operand-out'.hs b/corpora/vendored/cpp/expression/conditional-extending-an-operand-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/conditional-extending-an-operand-out'.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE CPP #-}
+
+module Main (main) where
+
+import qualified Properties
+import Test.QuickCheck (quickCheck)
+
+main :: IO ()
+main =
+    mapM_ quickCheck $
+        Properties.basic
+#if __GLASGOW_HASKELL__ >= 800
+            ++ Properties.nonEmpty
+#endif
diff --git a/corpora/vendored/cpp/expression/conditional-extending-an-operand-out.hs b/corpora/vendored/cpp/expression/conditional-extending-an-operand-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/conditional-extending-an-operand-out.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE CPP #-}
+
+module Main (main) where
+
+import qualified Properties
+import Test.QuickCheck (quickCheck)
+
+main :: IO ()
+main =
+  mapM_ quickCheck $
+    Properties.basic
+#if __GLASGOW_HASKELL__ >= 800
+      ++ Properties.nonEmpty
+#endif
diff --git a/corpora/vendored/cpp/expression/conditional-extending-an-operand.hs b/corpora/vendored/cpp/expression/conditional-extending-an-operand.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/conditional-extending-an-operand.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE CPP #-}
+
+module Main (main) where
+
+import qualified Properties
+import Test.QuickCheck (quickCheck)
+
+main :: IO ()
+main =
+  mapM_ quickCheck $
+    Properties.basic
+#if __GLASGOW_HASKELL__ >= 800
+      ++ Properties.nonEmpty
+#endif
diff --git a/corpora/vendored/cpp/expression/guard-head-in-each-branch-out'.hs b/corpora/vendored/cpp/expression/guard-head-in-each-branch-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/guard-head-in-each-branch-out'.hs
@@ -0,0 +1,33 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE MagicHash #-}
+{-# LANGUAGE UnboxedTuples #-}
+
+module FlatParse.Common.Numbers (anyDigit, report) where
+
+anyDigit :: Word# -> Addr# -> Result
+anyDigit acc s = case indexWord8OffAddr# s 0# of
+#if MIN_VERSION_base(4,16,0)
+    w
+        | 1# <- leWord8# (wordToWord8# 0x30##) w
+        , 1# <- leWord8# w (wordToWord8# 0x39##) -> case timesWord2# acc 10## of
+#else
+    w
+        | 1# <- leWord# 0x30## w
+        , 1# <- leWord# w 0x39## -> case timesWord2# acc 10## of
+#endif
+            (# 0##, r #) -> OK r
+            _ -> Overflow
+    _ -> Fail
+
+report :: Handle -> Status -> IO ()
+report h status
+#ifdef mingw32_HOST_OS
+    | isFailure status = do
+        hPutStrLn h "failed"
+#else
+    | isFailure status
+    , colour = do
+        hPutStrLn h "\ESC[31mfailed\ESC[0m"
+#endif
+        hFlush h
+    | otherwise = pure ()
diff --git a/corpora/vendored/cpp/expression/guard-head-in-each-branch-out.hs b/corpora/vendored/cpp/expression/guard-head-in-each-branch-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/guard-head-in-each-branch-out.hs
@@ -0,0 +1,33 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE MagicHash #-}
+{-# LANGUAGE UnboxedTuples #-}
+
+module FlatParse.Common.Numbers (anyDigit, report) where
+
+anyDigit :: Word# -> Addr# -> Result
+anyDigit acc s = case indexWord8OffAddr# s 0# of
+#if MIN_VERSION_base(4,16,0)
+  w
+    | 1# <- leWord8# (wordToWord8# 0x30##) w,
+      1# <- leWord8# w (wordToWord8# 0x39##) -> case timesWord2# acc 10## of
+#else
+  w
+    | 1# <- leWord# 0x30## w,
+      1# <- leWord# w 0x39## -> case timesWord2# acc 10## of
+#endif
+        (# 0##, r #) -> OK r
+        _ -> Overflow
+  _ -> Fail
+
+report :: Handle -> Status -> IO ()
+report h status
+#ifdef mingw32_HOST_OS
+  | isFailure status = do
+      hPutStrLn h "failed"
+#else
+  | isFailure status,
+    colour = do
+      hPutStrLn h "\ESC[31mfailed\ESC[0m"
+#endif
+      hFlush h
+  | otherwise = pure ()
diff --git a/corpora/vendored/cpp/expression/guard-head-in-each-branch.hs b/corpora/vendored/cpp/expression/guard-head-in-each-branch.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/guard-head-in-each-branch.hs
@@ -0,0 +1,34 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE MagicHash #-}
+{-# LANGUAGE UnboxedTuples #-}
+
+module FlatParse.Common.Numbers (anyDigit, report) where
+
+anyDigit :: Word# -> Addr# -> Result
+anyDigit acc s = case indexWord8OffAddr# s 0# of
+#if MIN_VERSION_base(4,16,0)
+    w | 1# <- leWord8# (wordToWord8# 0x30##) w
+      , 1# <- leWord8# w (wordToWord8# 0x39##)
+      -> case timesWord2# acc 10## of
+#else
+    w | 1# <- leWord# 0x30## w
+      , 1# <- leWord# w 0x39##
+      -> case timesWord2# acc 10## of
+#endif
+          (# 0##, r #) -> OK r
+          _ -> Overflow
+    _ -> Fail
+
+report :: Handle -> Status -> IO ()
+report h status
+#ifdef mingw32_HOST_OS
+  | isFailure status
+  = do
+      hPutStrLn h "failed"
+#else
+  | isFailure status, colour
+  = do
+      hPutStrLn h "\ESC[31mfailed\ESC[0m"
+#endif
+      hFlush h
+  | otherwise = pure ()
diff --git a/corpora/vendored/cpp/expression/inside-an-expression-out'.hs b/corpora/vendored/cpp/expression/inside-an-expression-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/inside-an-expression-out'.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Width where
+
+base :: Int
+base = 80
+
+width :: Int
+width =
+    base
+#ifdef WITH_MARGIN
+        + 4
+#endif
+
+height :: Int
+height = 24
diff --git a/corpora/vendored/cpp/expression/inside-an-expression-out.hs b/corpora/vendored/cpp/expression/inside-an-expression-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/inside-an-expression-out.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Width where
+
+base :: Int
+base = 80
+
+width :: Int
+width =
+  base
+#ifdef WITH_MARGIN
+    + 4
+#endif
+
+height :: Int
+height = 24
diff --git a/corpora/vendored/cpp/expression/inside-an-expression.hs b/corpora/vendored/cpp/expression/inside-an-expression.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/inside-an-expression.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Width where
+
+base :: Int
+base  =  80
+
+width :: Int
+width  =
+  base
+#ifdef WITH_MARGIN
+    + 4
+#endif
+
+height :: Int
+height  =  24
diff --git a/corpora/vendored/cpp/expression/let-after-an-optional-prefix-out'.hs b/corpora/vendored/cpp/expression/let-after-an-optional-prefix-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/let-after-an-optional-prefix-out'.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE CPP #-}
+
+module Kitchen.Scale (weigh) where
+
+weigh :: Scale -> Int -> Int
+weigh scale grams =
+#if defined(CHECKED)
+    assert (grams >= 0) $
+#endif
+    let n = reading scale
+     in n + grams
diff --git a/corpora/vendored/cpp/expression/let-after-an-optional-prefix-out.hs b/corpora/vendored/cpp/expression/let-after-an-optional-prefix-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/let-after-an-optional-prefix-out.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE CPP #-}
+
+module Kitchen.Scale (weigh) where
+
+weigh :: Scale -> Int -> Int
+weigh scale grams =
+#if defined(CHECKED)
+  assert (grams >= 0) $
+#endif
+  let n = reading scale
+   in n + grams
diff --git a/corpora/vendored/cpp/expression/let-after-an-optional-prefix.hs b/corpora/vendored/cpp/expression/let-after-an-optional-prefix.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/let-after-an-optional-prefix.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE CPP #-}
+
+module Kitchen.Scale (weigh) where
+
+weigh :: Scale -> Int -> Int
+weigh scale grams =
+#if defined(CHECKED)
+  assert (grams >= 0) $
+#endif
+  let n = reading scale
+   in n + grams
diff --git a/corpora/vendored/cpp/expression/let-chain-behind-a-conditional-out'.hs b/corpora/vendored/cpp/expression/let-chain-behind-a-conditional-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/let-chain-behind-a-conditional-out'.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE CPP #-}
+
+module Kiln.Batch (batch) where
+
+-- The first let of a chain, written in each branch with in at the end of
+-- its line, stays in each branch as written.
+batch :: Int -> Int -> Int
+batch x s =
+#if defined(LARGE)
+    let a = large x in
+#else
+    let a = small x in
+#endif
+    let b = s + a
+     in scale b
diff --git a/corpora/vendored/cpp/expression/let-chain-behind-a-conditional-out.hs b/corpora/vendored/cpp/expression/let-chain-behind-a-conditional-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/let-chain-behind-a-conditional-out.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE CPP #-}
+
+module Kiln.Batch (batch) where
+
+-- The first let of a chain, written in each branch with in at the end of
+-- its line, stays in each branch as written.
+batch :: Int -> Int -> Int
+batch x s =
+#if defined(LARGE)
+  let a = large x in
+#else
+  let a = small x in
+#endif
+  let b = s + a
+   in scale b
diff --git a/corpora/vendored/cpp/expression/let-chain-behind-a-conditional.hs b/corpora/vendored/cpp/expression/let-chain-behind-a-conditional.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/let-chain-behind-a-conditional.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE CPP #-}
+
+module Kiln.Batch (batch) where
+
+-- The first let of a chain, written in each branch with in at the end of
+-- its line, stays in each branch as written.
+batch :: Int -> Int -> Int
+batch x s =
+#if defined(LARGE)
+  let a = large x in
+#else
+  let a = small x in
+#endif
+  let b = s + a in
+  scale b
diff --git a/corpora/vendored/cpp/expression/lines-continued-inside-nested-conditionals-out'.hs b/corpora/vendored/cpp/expression/lines-continued-inside-nested-conditionals-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/lines-continued-inside-nested-conditionals-out'.hs
@@ -0,0 +1,27 @@
+{-# LANGUAGE CPP #-}
+
+module Bakery.Loaves where
+
+loaves :: [String]
+loaves =
+    [ "rye"
+#ifdef WITH_PASTRY
+    , "brioche"
+#ifdef WITH_BUTTER
+    , "kouign-amann"
+#endif
+#endif
+    ]
+
+proofMinutes :: Int
+proofMinutes =
+    scaled
+#ifdef WITH_PASTRY
+#ifdef WITH_BUTTER
+        120
+#else
+        90
+#endif
+#else
+        60
+#endif
diff --git a/corpora/vendored/cpp/expression/lines-continued-inside-nested-conditionals-out.hs b/corpora/vendored/cpp/expression/lines-continued-inside-nested-conditionals-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/lines-continued-inside-nested-conditionals-out.hs
@@ -0,0 +1,27 @@
+{-# LANGUAGE CPP #-}
+
+module Bakery.Loaves where
+
+loaves :: [String]
+loaves =
+  [ "rye"
+#ifdef WITH_PASTRY
+    , "brioche"
+#ifdef WITH_BUTTER
+    , "kouign-amann"
+#endif
+#endif
+  ]
+
+proofMinutes :: Int
+proofMinutes =
+  scaled
+#ifdef WITH_PASTRY
+#ifdef WITH_BUTTER
+    120
+#else
+    90
+#endif
+#else
+    60
+#endif
diff --git a/corpora/vendored/cpp/expression/lines-continued-inside-nested-conditionals.hs b/corpora/vendored/cpp/expression/lines-continued-inside-nested-conditionals.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/lines-continued-inside-nested-conditionals.hs
@@ -0,0 +1,26 @@
+{-# LANGUAGE CPP #-}
+
+module Bakery.Loaves where
+
+loaves :: [String]
+loaves =
+  [ "rye"
+#ifdef WITH_PASTRY
+  , "brioche"
+#ifdef WITH_BUTTER
+  , "kouign-amann"
+#endif
+#endif
+  ]
+
+proofMinutes :: Int
+proofMinutes = scaled
+#ifdef WITH_PASTRY
+#ifdef WITH_BUTTER
+ 120
+#else
+ 90
+#endif
+#else
+ 60
+#endif
diff --git a/corpora/vendored/cpp/expression/list-items-behind-two-questions-out'.hs b/corpora/vendored/cpp/expression/list-items-behind-two-questions-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/list-items-behind-two-questions-out'.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE CPP #-}
+
+module Laws.Mod (laws) where
+
+#ifdef MIN_VERSION_semirings
+laws :: Ring a => Proxy a -> [Laws]
+#else
+laws :: Proxy a -> [Laws]
+#endif
+laws p =
+    [ eqLaws p
+#ifdef MIN_VERSION_semirings
+    , ringLaws p
+#endif
+#ifdef MIN_VERSION_vector
+    , primLaws p
+#endif
+    ]
diff --git a/corpora/vendored/cpp/expression/list-items-behind-two-questions-out.hs b/corpora/vendored/cpp/expression/list-items-behind-two-questions-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/list-items-behind-two-questions-out.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE CPP #-}
+
+module Laws.Mod (laws) where
+
+#ifdef MIN_VERSION_semirings
+laws :: Ring a => Proxy a -> [Laws]
+#else
+laws :: Proxy a -> [Laws]
+#endif
+laws p =
+  [ eqLaws p
+#ifdef MIN_VERSION_semirings
+    , ringLaws p
+#endif
+#ifdef MIN_VERSION_vector
+    , primLaws p
+#endif
+  ]
diff --git a/corpora/vendored/cpp/expression/list-items-behind-two-questions.hs b/corpora/vendored/cpp/expression/list-items-behind-two-questions.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/list-items-behind-two-questions.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE CPP #-}
+
+module Laws.Mod (laws) where
+
+#ifdef MIN_VERSION_semirings
+laws :: (Ring a) => Proxy a -> [Laws]
+#else
+laws :: Proxy a -> [Laws]
+#endif
+laws p =
+  [ eqLaws p
+#ifdef MIN_VERSION_semirings
+  , ringLaws p
+#endif
+#ifdef MIN_VERSION_vector
+  , primLaws p
+#endif
+  ]
diff --git a/corpora/vendored/cpp/expression/looser-operator-behind-nested-conditionals-out'.hs b/corpora/vendored/cpp/expression/looser-operator-behind-nested-conditionals-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/looser-operator-behind-nested-conditionals-out'.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE CPP #-}
+
+module Network.Retry where
+
+shouldRetry :: Bool
+shouldRetry =
+    timedOut
+#ifdef WITH_TLS
+#ifdef WITH_RENEGOTIATION
+        || renegotiating
+            && attemptsLeft
+#else
+        && attemptsLeft
+#endif
+#else
+        && attemptsLeft
+#endif
diff --git a/corpora/vendored/cpp/expression/looser-operator-behind-nested-conditionals-out.hs b/corpora/vendored/cpp/expression/looser-operator-behind-nested-conditionals-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/looser-operator-behind-nested-conditionals-out.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE CPP #-}
+
+module Network.Retry where
+
+shouldRetry :: Bool
+shouldRetry =
+  timedOut
+#ifdef WITH_TLS
+#ifdef WITH_RENEGOTIATION
+    || renegotiating
+      && attemptsLeft
+#else
+    && attemptsLeft
+#endif
+#else
+    && attemptsLeft
+#endif
diff --git a/corpora/vendored/cpp/expression/looser-operator-behind-nested-conditionals.hs b/corpora/vendored/cpp/expression/looser-operator-behind-nested-conditionals.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/looser-operator-behind-nested-conditionals.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+
+module Network.Retry where
+
+shouldRetry :: Bool
+shouldRetry =
+  timedOut
+#ifdef WITH_TLS
+#ifdef WITH_RENEGOTIATION
+    || renegotiating
+#endif
+#endif
+    && attemptsLeft
diff --git a/corpora/vendored/cpp/expression/operand-differing-across-branches-out'.hs b/corpora/vendored/cpp/expression/operand-differing-across-branches-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/operand-differing-across-branches-out'.hs
@@ -0,0 +1,22 @@
+{-# LANGUAGE CPP #-}
+
+module Main (main) where
+
+main :: IO ()
+main = do
+    when (verbosity >= 4)
+#if MIN_VERSION_base(4,10,0)
+        $ let dump = putStrLn . render
+                where
+                    render = show
+           in liftIO $ dump settings
+#elif MIN_VERSION_base(4,9,0)
+        $ let dump = print
+           in liftIO $ dump settings
+#else
+        $ liftIO
+        $ dump settings
+#endif
+
+    when (verbosity >= 3) $ do
+        putStrLn "done"
diff --git a/corpora/vendored/cpp/expression/operand-differing-across-branches-out.hs b/corpora/vendored/cpp/expression/operand-differing-across-branches-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/operand-differing-across-branches-out.hs
@@ -0,0 +1,22 @@
+{-# LANGUAGE CPP #-}
+
+module Main (main) where
+
+main :: IO ()
+main = do
+  when (verbosity >= 4)
+#if MIN_VERSION_base(4,10,0)
+    $ let dump = putStrLn . render
+            where
+              render = show
+       in liftIO $ dump settings
+#elif MIN_VERSION_base(4,9,0)
+    $ let dump = print
+       in liftIO $ dump settings
+#else
+    $ liftIO
+    $ dump settings
+#endif
+
+  when (verbosity >= 3) $ do
+    putStrLn "done"
diff --git a/corpora/vendored/cpp/expression/operand-differing-across-branches.hs b/corpora/vendored/cpp/expression/operand-differing-across-branches.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/operand-differing-across-branches.hs
@@ -0,0 +1,19 @@
+{-# LANGUAGE CPP #-}
+
+module Main (main) where
+
+main :: IO ()
+main = do
+  when (verbosity >= 4) $
+#if MIN_VERSION_base(4,10,0)
+        let dump = putStrLn . render
+                where render = show
+        in
+#elif MIN_VERSION_base(4,9,0)
+        let dump = print
+        in
+#endif
+        liftIO $ dump settings
+
+  when (verbosity >= 3) $ do
+        putStrLn "done"
diff --git a/corpora/vendored/cpp/expression/operand-in-each-branch-under-an-operator-ending-the-line-out'.hs b/corpora/vendored/cpp/expression/operand-in-each-branch-under-an-operator-ending-the-line-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/operand-in-each-branch-under-an-operator-ending-the-line-out'.hs
@@ -0,0 +1,29 @@
+{-# LANGUAGE CPP #-}
+
+module Data.Array.Lookup ((!?), lookupSpec) where
+
+-- | Returns 'Just' the element of an immutable array at the specified
+-- index, or 'Nothing' if the index is out of bounds.
+(!?) :: (IArray a e, Ix i) => a i e -> i -> Maybe e
+(!?) arr i
+    | inRange b i =
+        Just
+            $ unsafeAt arr
+#if MIN_VERSION_base(4,14,0)
+            $ unsafeIndex b i
+#else
+            $ index b i
+#endif
+    | otherwise = Nothing
+    where
+        b = bounds arr
+
+lookupSpec :: Spec
+lookupSpec = it "reports a name it cannot find" $ do
+    (_, actualStderr) <- runHieDb ["name-refs", "$", "GHC.Base"]
+    actualStderr
+#if MIN_VERSION_base(4,20,0)
+        `shouldBe` "Couldn't find name: $ from module GHC.Internal.Base(ghc-internal)\n"
+#else
+        `shouldBe` "Couldn't find name: $ from module GHC.Base(base)\n"
+#endif
diff --git a/corpora/vendored/cpp/expression/operand-in-each-branch-under-an-operator-ending-the-line-out.hs b/corpora/vendored/cpp/expression/operand-in-each-branch-under-an-operator-ending-the-line-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/operand-in-each-branch-under-an-operator-ending-the-line-out.hs
@@ -0,0 +1,29 @@
+{-# LANGUAGE CPP #-}
+
+module Data.Array.Lookup ((!?), lookupSpec) where
+
+-- | Returns 'Just' the element of an immutable array at the specified
+-- index, or 'Nothing' if the index is out of bounds.
+(!?) :: (IArray a e, Ix i) => a i e -> i -> Maybe e
+(!?) arr i
+  | inRange b i =
+      Just
+        $ unsafeAt arr
+#if MIN_VERSION_base(4,14,0)
+        $ unsafeIndex b i
+#else
+        $ index b i
+#endif
+  | otherwise = Nothing
+  where
+    b = bounds arr
+
+lookupSpec :: Spec
+lookupSpec = it "reports a name it cannot find" $ do
+  (_, actualStderr) <- runHieDb ["name-refs", "$", "GHC.Base"]
+  actualStderr
+#if MIN_VERSION_base(4,20,0)
+    `shouldBe` "Couldn't find name: $ from module GHC.Internal.Base(ghc-internal)\n"
+#else
+    `shouldBe` "Couldn't find name: $ from module GHC.Base(base)\n"
+#endif
diff --git a/corpora/vendored/cpp/expression/operand-in-each-branch-under-an-operator-ending-the-line.hs b/corpora/vendored/cpp/expression/operand-in-each-branch-under-an-operator-ending-the-line.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/operand-in-each-branch-under-an-operator-ending-the-line.hs
@@ -0,0 +1,26 @@
+{-# LANGUAGE CPP #-}
+
+module Data.Array.Lookup ((!?), lookupSpec) where
+
+-- | Returns 'Just' the element of an immutable array at the specified
+-- index, or 'Nothing' if the index is out of bounds.
+(!?) :: (IArray a e, Ix i) => a i e -> i -> Maybe e
+(!?) arr i
+  | inRange b i = Just $ unsafeAt arr $
+#if MIN_VERSION_base(4,14,0)
+    unsafeIndex b i
+#else
+    index b i
+#endif
+  | otherwise = Nothing
+  where b = bounds arr
+
+lookupSpec :: Spec
+lookupSpec = it "reports a name it cannot find" $ do
+  (_, actualStderr) <- runHieDb ["name-refs", "$", "GHC.Base"]
+  actualStderr `shouldBe`
+#if MIN_VERSION_base(4,20,0)
+    "Couldn't find name: $ from module GHC.Internal.Base(ghc-internal)\n"
+#else
+    "Couldn't find name: $ from module GHC.Base(base)\n"
+#endif
diff --git a/corpora/vendored/cpp/expression/operator-and-operand-at-the-end-behind-a-conditional-out'.hs b/corpora/vendored/cpp/expression/operator-and-operand-at-the-end-behind-a-conditional-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/operator-and-operand-at-the-end-behind-a-conditional-out'.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE CPP #-}
+
+module Kitchen.Recipes (readRecipe) where
+
+readRecipe :: FilePath -> IO Text
+readRecipe path =
+    T.readFile path
+#if defined(BUNDLED)
+        `catch` \(e :: IOException) ->
+            maybe
+                (throwIO e)
+                (pure . decodeUtf8)
+                (lookup path bundled)
+#endif
diff --git a/corpora/vendored/cpp/expression/operator-and-operand-at-the-end-behind-a-conditional-out.hs b/corpora/vendored/cpp/expression/operator-and-operand-at-the-end-behind-a-conditional-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/operator-and-operand-at-the-end-behind-a-conditional-out.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE CPP #-}
+
+module Kitchen.Recipes (readRecipe) where
+
+readRecipe :: FilePath -> IO Text
+readRecipe path =
+  T.readFile path
+#if defined(BUNDLED)
+    `catch` \(e :: IOException) ->
+      maybe
+        (throwIO e)
+        (pure . decodeUtf8)
+        (lookup path bundled)
+#endif
diff --git a/corpora/vendored/cpp/expression/operator-and-operand-at-the-end-behind-a-conditional.hs b/corpora/vendored/cpp/expression/operator-and-operand-at-the-end-behind-a-conditional.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/operator-and-operand-at-the-end-behind-a-conditional.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+
+module Kitchen.Recipes (readRecipe) where
+
+readRecipe :: FilePath -> IO Text
+readRecipe path =
+  T.readFile path
+#if defined(BUNDLED)
+  `catch` \(e :: IOException) ->
+    maybe (throwIO e)
+          (pure . decodeUtf8)
+          (lookup path bundled)
+#endif
diff --git a/corpora/vendored/cpp/expression/operator-and-operand-behind-a-conditional-before-an-argument-out'.hs b/corpora/vendored/cpp/expression/operator-and-operand-behind-a-conditional-before-an-argument-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/operator-and-operand-behind-a-conditional-before-an-argument-out'.hs
@@ -0,0 +1,43 @@
+{-# LANGUAGE CPP #-}
+
+module Editor.Options where
+
+editors =
+    choose
+        defaultEditor
+#ifdef WITH_YI
+        ++ yiEditor
+            id
+#else
+        id
+#endif
+
+bracketed =
+    choose
+        (defaultEditor)
+#ifdef WITH_YI
+        ++ yiEditor
+            id
+#else
+        id
+#endif
+
+listed =
+    choose
+        ["GtkSourceView"]
+#ifdef WITH_YI
+        ++ ["Yi"]
+            id
+#else
+        id
+#endif
+
+appended =
+    choose
+        defaultEditor
+#ifdef WITH_YI
+        ++ [yiEditor]
+            id
+#else
+        id
+#endif
diff --git a/corpora/vendored/cpp/expression/operator-and-operand-behind-a-conditional-before-an-argument-out.hs b/corpora/vendored/cpp/expression/operator-and-operand-behind-a-conditional-before-an-argument-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/operator-and-operand-behind-a-conditional-before-an-argument-out.hs
@@ -0,0 +1,43 @@
+{-# LANGUAGE CPP #-}
+
+module Editor.Options where
+
+editors =
+  choose
+    defaultEditor
+#ifdef WITH_YI
+    ++ yiEditor
+      id
+#else
+    id
+#endif
+
+bracketed =
+  choose
+    (defaultEditor)
+#ifdef WITH_YI
+    ++ yiEditor
+      id
+#else
+    id
+#endif
+
+listed =
+  choose
+    ["GtkSourceView"]
+#ifdef WITH_YI
+    ++ ["Yi"]
+      id
+#else
+    id
+#endif
+
+appended =
+  choose
+    defaultEditor
+#ifdef WITH_YI
+    ++ [yiEditor]
+      id
+#else
+    id
+#endif
diff --git a/corpora/vendored/cpp/expression/operator-and-operand-behind-a-conditional-before-an-argument.hs b/corpora/vendored/cpp/expression/operator-and-operand-behind-a-conditional-before-an-argument.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/operator-and-operand-behind-a-conditional-before-an-argument.hs
@@ -0,0 +1,35 @@
+{-# LANGUAGE CPP #-}
+
+module Editor.Options where
+
+editors =
+  choose
+    defaultEditor
+#ifdef WITH_YI
+    ++ yiEditor
+#endif
+    id
+
+bracketed =
+  choose
+    (defaultEditor)
+#ifdef WITH_YI
+    ++ yiEditor
+#endif
+    id
+
+listed =
+  choose
+    ["GtkSourceView"]
+#ifdef WITH_YI
+    ++ ["Yi"]
+#endif
+    id
+
+appended =
+  choose
+    defaultEditor
+#ifdef WITH_YI
+    ++ [yiEditor]
+#endif
+    id
diff --git a/corpora/vendored/cpp/expression/operator-beginning-each-branch-after-its-operand-out'.hs b/corpora/vendored/cpp/expression/operator-beginning-each-branch-after-its-operand-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/operator-beginning-each-branch-after-its-operand-out'.hs
@@ -0,0 +1,36 @@
+{-# LANGUAGE CPP #-}
+
+module GHC.SourceGen.Decl (infixCon, trySharedLock, forced) where
+
+-- | Declares a Haskell-98-style constructor with an infix name.
+infixCon :: Field -> OccNameStr -> Field -> ConDecl'
+infixCon f name f' =
+    renderCon98Decl name
+#if MIN_VERSION_ghc(9,14,0)
+        $ InfixCon (renderField f) (renderField f')
+#else
+        $ InfixCon
+            (hsUnrestricted $ renderField f)
+            (hsUnrestricted $ renderField f')
+#endif
+
+-- | Takes a shared lock on a file, unless another process holds it.
+trySharedLock :: FilePath -> Annex (Maybe LockHandle)
+trySharedLock lockfile =
+    debugLocks
+#ifndef mingw32_HOST_OS
+        $ tryLockShared Nothing lockfile
+#else
+        $ liftIO
+        $ lockShared lockfile
+#endif
+
+-- | Evaluates a value before it returns another.
+forced :: a -> b -> b
+forced x y =
+    x
+#if MIN_VERSION_base(4,20,0)
+        `seq` y
+#else
+        `seq` id y
+#endif
diff --git a/corpora/vendored/cpp/expression/operator-beginning-each-branch-after-its-operand-out.hs b/corpora/vendored/cpp/expression/operator-beginning-each-branch-after-its-operand-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/operator-beginning-each-branch-after-its-operand-out.hs
@@ -0,0 +1,36 @@
+{-# LANGUAGE CPP #-}
+
+module GHC.SourceGen.Decl (infixCon, trySharedLock, forced) where
+
+-- | Declares a Haskell-98-style constructor with an infix name.
+infixCon :: Field -> OccNameStr -> Field -> ConDecl'
+infixCon f name f' =
+  renderCon98Decl name
+#if MIN_VERSION_ghc(9,14,0)
+    $ InfixCon (renderField f) (renderField f')
+#else
+    $ InfixCon
+      (hsUnrestricted $ renderField f)
+      (hsUnrestricted $ renderField f')
+#endif
+
+-- | Takes a shared lock on a file, unless another process holds it.
+trySharedLock :: FilePath -> Annex (Maybe LockHandle)
+trySharedLock lockfile =
+  debugLocks
+#ifndef mingw32_HOST_OS
+    $ tryLockShared Nothing lockfile
+#else
+    $ liftIO
+    $ lockShared lockfile
+#endif
+
+-- | Evaluates a value before it returns another.
+forced :: a -> b -> b
+forced x y =
+  x
+#if MIN_VERSION_base(4,20,0)
+    `seq` y
+#else
+    `seq` id y
+#endif
diff --git a/corpora/vendored/cpp/expression/operator-beginning-each-branch-after-its-operand.hs b/corpora/vendored/cpp/expression/operator-beginning-each-branch-after-its-operand.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/operator-beginning-each-branch-after-its-operand.hs
@@ -0,0 +1,30 @@
+{-# LANGUAGE CPP #-}
+
+module GHC.SourceGen.Decl (infixCon, trySharedLock, forced) where
+
+-- | Declares a Haskell-98-style constructor with an infix name.
+infixCon :: Field -> OccNameStr -> Field -> ConDecl'
+infixCon f name f' = renderCon98Decl name
+#if MIN_VERSION_ghc(9,14,0)
+    $ InfixCon (renderField f) (renderField f')
+#else
+    $ InfixCon (hsUnrestricted $ renderField f) (hsUnrestricted $ renderField f')
+#endif
+
+-- | Takes a shared lock on a file, unless another process holds it.
+trySharedLock :: FilePath -> Annex (Maybe LockHandle)
+trySharedLock lockfile = debugLocks $
+#ifndef mingw32_HOST_OS
+    tryLockShared Nothing lockfile
+#else
+    liftIO $ lockShared lockfile
+#endif
+
+-- | Evaluates a value before it returns another.
+forced :: a -> b -> b
+forced x y = x
+#if MIN_VERSION_base(4,20,0)
+    `seq` y
+#else
+    `seq` id y
+#endif
diff --git a/corpora/vendored/cpp/expression/operators-and-operands-behind-two-conditionals-before-an-argument-out'.hs b/corpora/vendored/cpp/expression/operators-and-operands-behind-two-conditionals-before-an-argument-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/operators-and-operands-behind-two-conditionals-before-an-argument-out'.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE CPP #-}
+
+module Editor.Options where
+
+editors =
+    comboSelectionEditor
+        ["GtkSourceView"]
+#ifdef WITH_YI
+        ++ ["Yi"]
+#endif
+#ifdef WITH_CODE_MIRROR
+        ++ ["CodeMirror"]
+#endif
+            id
diff --git a/corpora/vendored/cpp/expression/operators-and-operands-behind-two-conditionals-before-an-argument-out.hs b/corpora/vendored/cpp/expression/operators-and-operands-behind-two-conditionals-before-an-argument-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/operators-and-operands-behind-two-conditionals-before-an-argument-out.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE CPP #-}
+
+module Editor.Options where
+
+editors =
+  comboSelectionEditor
+    ["GtkSourceView"]
+#ifdef WITH_YI
+    ++ ["Yi"]
+#endif
+#ifdef WITH_CODE_MIRROR
+    ++ ["CodeMirror"]
+#endif
+      id
diff --git a/corpora/vendored/cpp/expression/operators-and-operands-behind-two-conditionals-before-an-argument.hs b/corpora/vendored/cpp/expression/operators-and-operands-behind-two-conditionals-before-an-argument.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/operators-and-operands-behind-two-conditionals-before-an-argument.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE CPP #-}
+
+module Editor.Options where
+
+editors =
+  comboSelectionEditor
+    ["GtkSourceView"]
+#ifdef WITH_YI
+    ++ ["Yi"]
+#endif
+#ifdef WITH_CODE_MIRROR
+    ++ ["CodeMirror"]
+#endif
+    id
diff --git a/corpora/vendored/cpp/expression/optional-argument-on-the-first-line-of-a-hanging-body-out'.hs b/corpora/vendored/cpp/expression/optional-argument-on-the-first-line-of-a-hanging-body-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/optional-argument-on-the-first-line-of-a-hanging-body-out'.hs
@@ -0,0 +1,54 @@
+{-# LANGUAGE CPP #-}
+
+module Game.Strategy where
+
+simple :: Strategy
+simple =
+#ifdef DEBUG
+    Strategy
+        "simple"
+        $ \board -> playSafe board
+#else
+    Strategy $
+        \board -> playSafe board
+#endif
+
+main :: IO ()
+main = do
+    result <-
+#ifdef DEBUG
+        withStrategy
+            trace
+            $ \board -> play board
+#else
+        withStrategy $
+            \board -> play board
+#endif
+    print result
+
+pick :: Maybe Board -> Strategy
+pick b = case b of
+    Just board ->
+#ifdef DEBUG
+        Strategy
+            "picked"
+            $ do
+                playSafe board
+#else
+        Strategy $ do
+            playSafe board
+#endif
+    Nothing -> simple
+
+rollout :: Board -> IO Strategy
+rollout board = do
+    let suggested = withMoves
+#ifdef DEBUG
+            $ Strategy
+                "suggested"
+            $ \moves -> pick board moves
+#else
+            $ Strategy $
+                \moves -> pick board moves
+#endif
+    pure suggested
diff --git a/corpora/vendored/cpp/expression/optional-argument-on-the-first-line-of-a-hanging-body-out.hs b/corpora/vendored/cpp/expression/optional-argument-on-the-first-line-of-a-hanging-body-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/optional-argument-on-the-first-line-of-a-hanging-body-out.hs
@@ -0,0 +1,54 @@
+{-# LANGUAGE CPP #-}
+
+module Game.Strategy where
+
+simple :: Strategy
+simple =
+#ifdef DEBUG
+  Strategy
+    "simple"
+    $ \board -> playSafe board
+#else
+  Strategy $
+    \board -> playSafe board
+#endif
+
+main :: IO ()
+main = do
+  result <-
+#ifdef DEBUG
+    withStrategy
+      trace
+      $ \board -> play board
+#else
+    withStrategy $
+      \board -> play board
+#endif
+  print result
+
+pick :: Maybe Board -> Strategy
+pick b = case b of
+  Just board ->
+#ifdef DEBUG
+    Strategy
+      "picked"
+      $ do
+        playSafe board
+#else
+    Strategy $ do
+      playSafe board
+#endif
+  Nothing -> simple
+
+rollout :: Board -> IO Strategy
+rollout board = do
+  let suggested = withMoves
+#ifdef DEBUG
+        $ Strategy
+          "suggested"
+        $ \moves -> pick board moves
+#else
+        $ Strategy $
+          \moves -> pick board moves
+#endif
+  pure suggested
diff --git a/corpora/vendored/cpp/expression/optional-argument-on-the-first-line-of-a-hanging-body.hs b/corpora/vendored/cpp/expression/optional-argument-on-the-first-line-of-a-hanging-body.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/optional-argument-on-the-first-line-of-a-hanging-body.hs
@@ -0,0 +1,38 @@
+{-# LANGUAGE CPP #-}
+
+module Game.Strategy where
+
+simple :: Strategy
+simple = Strategy
+#ifdef DEBUG
+           "simple"
+#endif
+           $ \board -> playSafe board
+
+main :: IO ()
+main = do
+  result <- withStrategy
+#ifdef DEBUG
+              trace
+#endif
+              $ \board -> play board
+  print result
+
+pick :: Maybe Board -> Strategy
+pick b = case b of
+  Just board -> Strategy
+#ifdef DEBUG
+                  "picked"
+#endif
+                  $ do
+    playSafe board
+  Nothing -> simple
+
+rollout :: Board -> IO Strategy
+rollout board = do
+  let suggested = withMoves $ Strategy
+#ifdef DEBUG
+                                "suggested"
+#endif
+                                $ \moves -> pick board moves
+  pure suggested
diff --git a/corpora/vendored/cpp/expression/record-field-begun-in-each-branch-out'.hs b/corpora/vendored/cpp/expression/record-field-begun-in-each-branch-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/record-field-begun-in-each-branch-out'.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE CPP #-}
+
+module Xeno.DOM (parse) where
+
+parse :: Process
+parse =
+    Process
+        {
+#if MIN_VERSION_bytestring(0,11,0)
+          openF = \(BS name_start name_len) -> do
+#else
+          openF = \(PS _ name_start name_len) -> do
+#endif
+            index <- readRef sizeRef
+            write index name_start name_len
+        }
diff --git a/corpora/vendored/cpp/expression/record-field-begun-in-each-branch-out.hs b/corpora/vendored/cpp/expression/record-field-begun-in-each-branch-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/record-field-begun-in-each-branch-out.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE CPP #-}
+
+module Xeno.DOM (parse) where
+
+parse :: Process
+parse =
+  Process
+    {
+#if MIN_VERSION_bytestring(0,11,0)
+      openF = \(BS name_start name_len) -> do
+#else
+      openF = \(PS _ name_start name_len) -> do
+#endif
+        index <- readRef sizeRef
+        write index name_start name_len
+    }
diff --git a/corpora/vendored/cpp/expression/record-field-begun-in-each-branch.hs b/corpora/vendored/cpp/expression/record-field-begun-in-each-branch.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/record-field-begun-in-each-branch.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE CPP #-}
+
+module Xeno.DOM (parse) where
+
+parse :: Process
+parse = Process {
+#if MIN_VERSION_bytestring(0,11,0)
+    openF = \(BS name_start name_len) -> do
+#else
+    openF = \(PS _ name_start name_len) -> do
+#endif
+      index <- readRef sizeRef
+      write index name_start name_len
+  }
diff --git a/corpora/vendored/cpp/expression/record-fields-begun-in-each-branch-out'.hs b/corpora/vendored/cpp/expression/record-fields-begun-in-each-branch-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/record-fields-begun-in-each-branch-out'.hs
@@ -0,0 +1,30 @@
+{-# LANGUAGE CPP #-}
+
+module Xeno.DOM.Robust (parse) where
+
+parse :: Process
+parse =
+    Process
+        {
+#if MIN_VERSION_bytestring(0,11,0)
+          openF = \(BS name_start name_len) -> do
+            index <- readRef sizeRef
+            write index name_start name_len
+        , textF = \(BS text_start text_len) -> do
+            write 0 text_start text_len
+        , closeF = \closeTag@(BS _ _) -> do
+            parent <- readRef parentRef
+            let openTag = BS (plusForeignPtr offset0 parent) 0
+            pure (openTag == closeTag)
+#else
+          openF = \(PS _ name_start name_len) -> do
+            index <- readRef sizeRef
+            write index name_start name_len
+        , textF = \(PS _ text_start text_len) -> do
+            write 0 text_start text_len
+        , closeF = \closeTag@(PS s _ _) -> do
+            parent <- readRef parentRef
+            let openTag = PS s (parent + offset0) 0
+            pure (openTag == closeTag)
+#endif
+        }
diff --git a/corpora/vendored/cpp/expression/record-fields-begun-in-each-branch-out.hs b/corpora/vendored/cpp/expression/record-fields-begun-in-each-branch-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/record-fields-begun-in-each-branch-out.hs
@@ -0,0 +1,34 @@
+{-# LANGUAGE CPP #-}
+
+module Xeno.DOM.Robust (parse) where
+
+parse :: Process
+parse =
+  Process
+    {
+#if MIN_VERSION_bytestring(0,11,0)
+      openF = \(BS name_start name_len) -> do
+#else
+      openF = \(PS _ name_start name_len) -> do
+#endif
+        index <- readRef sizeRef
+        write index name_start name_len,
+#if MIN_VERSION_bytestring(0,11,0)
+      textF = \(BS text_start text_len) -> do
+#else
+      textF = \(PS _ text_start text_len) -> do
+#endif
+        write 0 text_start text_len,
+#if MIN_VERSION_bytestring(0,11,0)
+      closeF = \closeTag@(BS _ _) -> do
+#else
+      closeF = \closeTag@(PS s _ _) -> do
+#endif
+        parent <- readRef parentRef
+#if MIN_VERSION_bytestring(0,11,0)
+        let openTag = BS (plusForeignPtr offset0 parent) 0
+#else
+        let openTag = PS s (parent + offset0) 0
+#endif
+        pure (openTag == closeTag)
+    }
diff --git a/corpora/vendored/cpp/expression/record-fields-begun-in-each-branch.hs b/corpora/vendored/cpp/expression/record-fields-begun-in-each-branch.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/record-fields-begun-in-each-branch.hs
@@ -0,0 +1,32 @@
+{-# LANGUAGE CPP #-}
+
+module Xeno.DOM.Robust (parse) where
+
+parse :: Process
+parse = Process {
+#if MIN_VERSION_bytestring(0,11,0)
+    openF = \(BS name_start name_len) -> do
+#else
+    openF = \(PS _ name_start name_len) -> do
+#endif
+      index <- readRef sizeRef
+      write index name_start name_len
+#if MIN_VERSION_bytestring(0,11,0)
+  , textF = \(BS text_start text_len) -> do
+#else
+  , textF = \(PS _ text_start text_len) -> do
+#endif
+      write 0 text_start text_len
+#if MIN_VERSION_bytestring(0,11,0)
+  , closeF = \closeTag@(BS _ _) -> do
+#else
+  , closeF = \closeTag@(PS s _ _) -> do
+#endif
+      parent <- readRef parentRef
+#if MIN_VERSION_bytestring(0,11,0)
+      let openTag = BS (plusForeignPtr offset0 parent) 0
+#else
+      let openTag = PS s (parent + offset0) 0
+#endif
+      pure (openTag == closeTag)
+  }
diff --git a/corpora/vendored/cpp/expression/record-update-in-each-branch-but-the-last-out'.hs b/corpora/vendored/cpp/expression/record-update-in-each-branch-but-the-last-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/record-update-in-each-branch-but-the-last-out'.hs
@@ -0,0 +1,22 @@
+{-# LANGUAGE CPP #-}
+
+-- An expression that an #if and an #elif each give a record update of its
+-- own, and the configuration taking neither leaves alone, comes out once.
+module GhcCompat.GhcRelease (ghc_7_10_1) where
+
+ghc_7_10_1 :: GhcRelease
+ghc_7_10_1 =
+    (ghcRelease [7, 10, 1])
+#if MIN_VERSION_GLASGOW_HASKELL(8, 0, 1, 0)
+        { newExtensions =
+            [ Extension.BinaryLiterals
+            , Extension.DeriveAnyClass
+            ]
+        }
+#elif MIN_VERSION_GLASGOW_HASKELL(7, 10, 1, 0)
+        { newExtensions =
+            [ Extension.Opt_BinaryLiterals
+            , Extension.Opt_DeriveAnyClass
+            ]
+        }
+#endif
diff --git a/corpora/vendored/cpp/expression/record-update-in-each-branch-but-the-last-out.hs b/corpora/vendored/cpp/expression/record-update-in-each-branch-but-the-last-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/record-update-in-each-branch-but-the-last-out.hs
@@ -0,0 +1,22 @@
+{-# LANGUAGE CPP #-}
+
+-- An expression that an #if and an #elif each give a record update of its
+-- own, and the configuration taking neither leaves alone, comes out once.
+module GhcCompat.GhcRelease (ghc_7_10_1) where
+
+ghc_7_10_1 :: GhcRelease
+ghc_7_10_1 =
+  (ghcRelease [7, 10, 1])
+#if MIN_VERSION_GLASGOW_HASKELL(8, 0, 1, 0)
+    { newExtensions =
+        [ Extension.BinaryLiterals,
+          Extension.DeriveAnyClass
+        ]
+    }
+#elif MIN_VERSION_GLASGOW_HASKELL(7, 10, 1, 0)
+    { newExtensions =
+        [ Extension.Opt_BinaryLiterals,
+          Extension.Opt_DeriveAnyClass
+        ]
+    }
+#endif
diff --git a/corpora/vendored/cpp/expression/record-update-in-each-branch-but-the-last.hs b/corpora/vendored/cpp/expression/record-update-in-each-branch-but-the-last.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/record-update-in-each-branch-but-the-last.hs
@@ -0,0 +1,22 @@
+{-# LANGUAGE CPP #-}
+
+-- An expression that an #if and an #elif each give a record update of its
+-- own, and the configuration taking neither leaves alone, comes out once.
+module GhcCompat.GhcRelease (ghc_7_10_1) where
+
+ghc_7_10_1 :: GhcRelease
+ghc_7_10_1 =
+  (ghcRelease [7, 10, 1])
+#if MIN_VERSION_GLASGOW_HASKELL(8, 0, 1, 0)
+    { newExtensions =
+        [ Extension.BinaryLiterals,
+          Extension.DeriveAnyClass
+        ]
+    }
+#elif MIN_VERSION_GLASGOW_HASKELL(7, 10, 1, 0)
+    { newExtensions =
+        [ Extension.Opt_BinaryLiterals,
+          Extension.Opt_DeriveAnyClass
+        ]
+    }
+#endif
diff --git a/corpora/vendored/cpp/expression/string-lines-joined-by-cpp.hs b/corpora/vendored/cpp/expression/string-lines-joined-by-cpp.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/string-lines-joined-by-cpp.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE MagicHash #-}
+
+module Table (digits, separator) where
+
+import GHC.Exts (Addr#)
+
+#if defined(mingw32_HOST_OS)
+separator :: Char
+separator = '\\'
+#else
+separator :: Char
+separator = '/'
+#endif
+
+digits :: Addr#
+digits = "\x00\x01\x02\x03\
+        \\x04\x05\x06\x07"#
diff --git a/corpora/vendored/cpp/expression/tight-infix-and-prefix-tokens-begun-in-each-branch-out'.hs b/corpora/vendored/cpp/expression/tight-infix-and-prefix-tokens-begun-in-each-branch-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/tight-infix-and-prefix-tokens-begun-in-each-branch-out'.hs
@@ -0,0 +1,43 @@
+{-# LANGUAGE BangPatterns #-}
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE TypeApplications #-}
+
+module Render.Binding where
+
+renderBinding :: Binding -> Doc
+renderBinding
+#if MIN_VERSION_syntax(2,9,0)
+    b@( Binding
+            (Info hiding relevance lock rewrite)
+            (Named name)
+        ) =
+#else
+    b@( Binding
+            (Info hiding relevance lock)
+            (Named name)
+        ) =
+#endif
+        renderNamed hiding b name
+
+strictName :: Binding -> Name
+strictName
+#if MIN_VERSION_syntax(2,9,0)
+    !Binding
+        { info = Info _ _ _ _
+        , named = Named name
+#else
+    !Binding
+        { info = Info _ _ _
+        , named = Named name
+#endif
+        } = name
+
+defaultInfo :: String
+defaultInfo =
+    show
+#if MIN_VERSION_syntax(2,9,0)
+        @(Maybe Info)
+#else
+        @(Either Text Info)
+#endif
+        Nothing
diff --git a/corpora/vendored/cpp/expression/tight-infix-and-prefix-tokens-begun-in-each-branch-out.hs b/corpora/vendored/cpp/expression/tight-infix-and-prefix-tokens-begun-in-each-branch-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/tight-infix-and-prefix-tokens-begun-in-each-branch-out.hs
@@ -0,0 +1,43 @@
+{-# LANGUAGE BangPatterns #-}
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE TypeApplications #-}
+
+module Render.Binding where
+
+renderBinding :: Binding -> Doc
+renderBinding
+#if MIN_VERSION_syntax(2,9,0)
+  b@( Binding
+        (Info hiding relevance lock rewrite)
+        (Named name)
+      ) =
+#else
+  b@( Binding
+        (Info hiding relevance lock)
+        (Named name)
+      ) =
+#endif
+    renderNamed hiding b name
+
+strictName :: Binding -> Name
+strictName
+#if MIN_VERSION_syntax(2,9,0)
+  !Binding
+    { info = Info _ _ _ _,
+      named = Named name
+#else
+  !Binding
+    { info = Info _ _ _,
+      named = Named name
+#endif
+    } = name
+
+defaultInfo :: String
+defaultInfo =
+  show
+#if MIN_VERSION_syntax(2,9,0)
+    @(Maybe Info)
+#else
+    @(Either Text Info)
+#endif
+    Nothing
diff --git a/corpora/vendored/cpp/expression/tight-infix-and-prefix-tokens-begun-in-each-branch.hs b/corpora/vendored/cpp/expression/tight-infix-and-prefix-tokens-begun-in-each-branch.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/tight-infix-and-prefix-tokens-begun-in-each-branch.hs
@@ -0,0 +1,32 @@
+{-# LANGUAGE BangPatterns #-}
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE TypeApplications #-}
+
+module Render.Binding where
+
+renderBinding :: Binding -> Doc
+renderBinding
+#if MIN_VERSION_syntax(2,9,0)
+  b@(Binding (Info hiding relevance lock rewrite)
+#else
+  b@(Binding (Info hiding relevance lock)
+#endif
+     (Named name)) = renderNamed hiding b name
+
+strictName :: Binding -> Name
+strictName
+#if MIN_VERSION_syntax(2,9,0)
+  !Binding{info = Info _ _ _ _
+#else
+  !Binding{info = Info _ _ _
+#endif
+          , named = Named name} = name
+
+defaultInfo :: String
+defaultInfo = show
+#if MIN_VERSION_syntax(2,9,0)
+  @(Maybe Info
+#else
+  @(Either Text Info
+#endif
+   ) Nothing
diff --git a/corpora/vendored/cpp/expression/two-conditionals-in-one-expression-out'.hs b/corpora/vendored/cpp/expression/two-conditionals-in-one-expression-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/two-conditionals-in-one-expression-out'.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE CPP #-}
+
+module M where
+
+f =
+    a
+#if X
+        + b
+#endif
+#if Y
+        + c
+#endif
diff --git a/corpora/vendored/cpp/expression/two-conditionals-in-one-expression-out.hs b/corpora/vendored/cpp/expression/two-conditionals-in-one-expression-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/two-conditionals-in-one-expression-out.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE CPP #-}
+
+module M where
+
+f =
+  a
+#if X
+    + b
+#endif
+#if Y
+    + c
+#endif
diff --git a/corpora/vendored/cpp/expression/two-conditionals-in-one-expression.hs b/corpora/vendored/cpp/expression/two-conditionals-in-one-expression.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/expression/two-conditionals-in-one-expression.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE CPP #-}
+
+module M where
+
+f =
+  a
+#if X
+    + b
+#endif
+#if Y
+    + c
+#endif
diff --git a/corpora/vendored/cpp/haddock/argument-haddock-over-several-lines-after-a-conditional-out'.hs b/corpora/vendored/cpp/haddock/argument-haddock-over-several-lines-after-a-conditional-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/haddock/argument-haddock-over-several-lines-after-a-conditional-out'.hs
@@ -0,0 +1,23 @@
+{-# LANGUAGE CPP #-}
+
+-- A method written once after a conditional holding the head of its class
+-- in each branch, with the Haddock of an argument over several lines.
+module Pantry.Shelf (Shelved (..)) where
+
+#ifdef WITH_ORDER
+-- | Things that go on a shelf in order.
+class Ord e => Shelved e where
+#else
+-- | Things that go on a shelf.
+class Shelved e where
+#endif
+    -- | Put it away.
+    putAway
+        :: e
+        -- ^ The thing
+        -> Int
+        -- ^ Where it goes,
+        -- when it was put there,
+        --
+        -- and who put it there.
+        -> IO ()
diff --git a/corpora/vendored/cpp/haddock/argument-haddock-over-several-lines-after-a-conditional-out.hs b/corpora/vendored/cpp/haddock/argument-haddock-over-several-lines-after-a-conditional-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/haddock/argument-haddock-over-several-lines-after-a-conditional-out.hs
@@ -0,0 +1,23 @@
+{-# LANGUAGE CPP #-}
+
+-- A method written once after a conditional holding the head of its class
+-- in each branch, with the Haddock of an argument over several lines.
+module Pantry.Shelf (Shelved (..)) where
+
+#ifdef WITH_ORDER
+-- | Things that go on a shelf in order.
+class Ord e => Shelved e where
+#else
+-- | Things that go on a shelf.
+class Shelved e where
+#endif
+  -- | Put it away.
+  putAway ::
+    -- | The thing
+    e ->
+    -- | Where it goes,
+    -- when it was put there,
+    --
+    -- and who put it there.
+    Int ->
+    IO ()
diff --git a/corpora/vendored/cpp/haddock/argument-haddock-over-several-lines-after-a-conditional.hs b/corpora/vendored/cpp/haddock/argument-haddock-over-several-lines-after-a-conditional.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/haddock/argument-haddock-over-several-lines-after-a-conditional.hs
@@ -0,0 +1,23 @@
+{-# LANGUAGE CPP #-}
+
+-- A method written once after a conditional holding the head of its class
+-- in each branch, with the Haddock of an argument over several lines.
+module Pantry.Shelf (Shelved (..)) where
+
+#ifdef WITH_ORDER
+-- | Things that go on a shelf in order.
+class (Ord e) => Shelved e where
+#else
+-- | Things that go on a shelf.
+class Shelved e where
+#endif
+  -- | Put it away.
+  putAway ::
+    -- | The thing
+    e ->
+    -- | Where it goes,
+    -- when it was put there,
+    --
+    -- and who put it there.
+    Int ->
+    IO ()
diff --git a/corpora/vendored/cpp/haddock/comment-above-a-heading-in-one-branch-of-many-out.hs b/corpora/vendored/cpp/haddock/comment-above-a-heading-in-one-branch-of-many-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/haddock/comment-above-a-heading-in-one-branch-of-many-out.hs
@@ -0,0 +1,20 @@
+{-# LANGUAGE CPP #-}
+
+module M where
+
+#if MIN_VERSION_thing(9,0,0)
+#endif
+#ifdef OTHER
+#else /* OTHER */
+-- a remark
+#if MIN_VERSION_thing(9,0,0)
+-- * a heading
+#endif
+#endif /* OTHER */
+#if FLAG
+f2 = 2
+
+-- | documentation
+#else
+f1 = 1
+#endif
diff --git a/corpora/vendored/cpp/haddock/comment-above-a-heading-in-one-branch-of-many.hs b/corpora/vendored/cpp/haddock/comment-above-a-heading-in-one-branch-of-many.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/haddock/comment-above-a-heading-in-one-branch-of-many.hs
@@ -0,0 +1,19 @@
+{-# LANGUAGE CPP #-}
+
+module M where
+
+#if MIN_VERSION_thing(9,0,0)
+#endif
+#ifdef OTHER
+#else /* OTHER */
+-- a remark
+#if MIN_VERSION_thing(9,0,0)
+-- * a heading
+#endif
+#endif /* OTHER */
+#if FLAG
+f2 = 2
+-- | documentation
+#else
+f1 = 1
+#endif
diff --git a/corpora/vendored/cpp/haddock/comment-above-a-heading-in-one-branch-out.hs b/corpora/vendored/cpp/haddock/comment-above-a-heading-in-one-branch-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/haddock/comment-above-a-heading-in-one-branch-out.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE CPP #-}
+
+module M where
+
+#if MIN_VERSION_thing(9,0,0)
+-- * a heading
+f8 = 8
+#else
+-- * a heading
+#endif
+#if MIN_VERSION_thing(1,0,0)
+#else
+-- a remark
+#if MIN_VERSION_thing(9,0,0)
+-- * a heading
+#endif
+#endif
diff --git a/corpora/vendored/cpp/haddock/comment-above-a-heading-in-one-branch.hs b/corpora/vendored/cpp/haddock/comment-above-a-heading-in-one-branch.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/haddock/comment-above-a-heading-in-one-branch.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE CPP #-}
+
+module M where
+
+#if MIN_VERSION_thing(9,0,0)
+-- * a heading
+f8 = 8
+#else
+-- * a heading
+#endif
+#if MIN_VERSION_thing(1,0,0)
+#else
+-- a remark
+#if MIN_VERSION_thing(9,0,0)
+-- * a heading
+#endif
+#endif
diff --git a/corpora/vendored/cpp/haddock/comment-above-the-haddock-of-a-constructor-behind-a-conditional-out'.hs b/corpora/vendored/cpp/haddock/comment-above-the-haddock-of-a-constructor-behind-a-conditional-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/haddock/comment-above-the-haddock-of-a-constructor-behind-a-conditional-out'.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+
+module Route.Vehicle where
+
+data Vehicle
+    = Bus
+        { busLine :: Int
+        }
+-- buses run on every route
+#ifdef WITH_TRAMS
+    | -- | Only where there are rails.
+      Tram
+#endif
diff --git a/corpora/vendored/cpp/haddock/comment-above-the-haddock-of-a-constructor-behind-a-conditional-out.hs b/corpora/vendored/cpp/haddock/comment-above-the-haddock-of-a-constructor-behind-a-conditional-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/haddock/comment-above-the-haddock-of-a-constructor-behind-a-conditional-out.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+
+module Route.Vehicle where
+
+data Vehicle
+  = Bus
+      { busLine :: Int
+      }
+-- buses run on every route
+#ifdef WITH_TRAMS
+  | -- | Only where there are rails.
+    Tram
+#endif
diff --git a/corpora/vendored/cpp/haddock/comment-above-the-haddock-of-a-constructor-behind-a-conditional.hs b/corpora/vendored/cpp/haddock/comment-above-the-haddock-of-a-constructor-behind-a-conditional.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/haddock/comment-above-the-haddock-of-a-constructor-behind-a-conditional.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+
+module Route.Vehicle where
+
+data Vehicle =
+  Bus {
+    busLine :: Int
+  }
+  -- buses run on every route
+#ifdef WITH_TRAMS
+  | Tram
+  -- ^ Only where there are rails.
+#endif
diff --git a/corpora/vendored/cpp/haddock/comment-under-a-moved-haddock-out'.hs b/corpora/vendored/cpp/haddock/comment-under-a-moved-haddock-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/haddock/comment-under-a-moved-haddock-out'.hs
@@ -0,0 +1,27 @@
+{-# LANGUAGE CPP #-}
+
+module Track.Gauge where
+
+data Gauge
+    = Int -- millimetres
+      -- ^ How wide the rails are.
+
+        -- measured between the rails
+        :<>
+        -- | How heavy the rails are.
+        Int
+
+data Track
+    = Track
+#if defined(METRIC)
+        -- | How long the track is.
+
+        -- in metres
+        Double
+#else
+        -- | How long the track is.
+
+        -- in feet
+        Int
+#endif
+        Bool
diff --git a/corpora/vendored/cpp/haddock/comment-under-a-moved-haddock-out.hs b/corpora/vendored/cpp/haddock/comment-under-a-moved-haddock-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/haddock/comment-under-a-moved-haddock-out.hs
@@ -0,0 +1,27 @@
+{-# LANGUAGE CPP #-}
+
+module Track.Gauge where
+
+data Gauge
+  = Int -- millimetres
+    -- ^ How wide the rails are.
+
+      -- measured between the rails
+      :<>
+      -- | How heavy the rails are.
+      Int
+
+data Track
+  = Track
+#if defined(METRIC)
+      -- | How long the track is.
+
+      -- in metres
+      Double
+#else
+      -- | How long the track is.
+
+      -- in feet
+      Int
+#endif
+      Bool
diff --git a/corpora/vendored/cpp/haddock/comment-under-a-moved-haddock.hs b/corpora/vendored/cpp/haddock/comment-under-a-moved-haddock.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/haddock/comment-under-a-moved-haddock.hs
@@ -0,0 +1,19 @@
+{-# LANGUAGE CPP #-}
+module Track.Gauge where
+
+data Gauge
+  = -- | How wide the rails are.
+    Int -- millimetres
+    -- measured between the rails
+    :<> Int -- ^ How heavy the rails are.
+
+data Track
+  = Track
+#if defined(METRIC)
+      -- in metres
+      Double -- ^ How long the track is.
+#else
+      -- in feet
+      Int -- ^ How long the track is.
+#endif
+      Bool
diff --git a/corpora/vendored/cpp/haddock/comments-kept-apart-from-haddocks-out'.hs b/corpora/vendored/cpp/haddock/comments-kept-apart-from-haddocks-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/haddock/comments-kept-apart-from-haddocks-out'.hs
@@ -0,0 +1,21 @@
+{-# LANGUAGE CPP #-}
+
+module Garden.Bed where
+
+-- | Turn the soil over before planting.
+
+-- TODO: skip the beds that were dug last season
+dig :: IO ()
+dig = pure ()
+
+data Bed = Bed
+    { -- the old name was bedWidth
+      width :: Int
+      -- ^ How wide the bed is.
+    , depth :: Int
+    }
+
+#if defined(RAISED_BEDS)
+raised :: Bool
+raised = True
+#endif
diff --git a/corpora/vendored/cpp/haddock/comments-kept-apart-from-haddocks-out.hs b/corpora/vendored/cpp/haddock/comments-kept-apart-from-haddocks-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/haddock/comments-kept-apart-from-haddocks-out.hs
@@ -0,0 +1,22 @@
+{-# LANGUAGE CPP #-}
+
+module Garden.Bed where
+
+-- | Turn the soil over before planting.
+
+-- TODO: skip the beds that were dug last season
+dig :: IO ()
+dig = pure ()
+
+data Bed = Bed
+  { -- the old name was bedWidth
+
+    -- | How wide the bed is.
+    width :: Int,
+    depth :: Int
+  }
+
+#if defined(RAISED_BEDS)
+raised :: Bool
+raised = True
+#endif
diff --git a/corpora/vendored/cpp/haddock/comments-kept-apart-from-haddocks.hs b/corpora/vendored/cpp/haddock/comments-kept-apart-from-haddocks.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/haddock/comments-kept-apart-from-haddocks.hs
@@ -0,0 +1,21 @@
+{-# LANGUAGE CPP #-}
+
+module Garden.Bed where
+
+-- | Turn the soil over before planting.
+
+-- TODO: skip the beds that were dug last season
+dig :: IO ()
+dig = pure ()
+
+data Bed = Bed
+  { -- the old name was bedWidth
+    -- | How wide the bed is.
+    width :: Int,
+    depth :: Int
+  }
+
+#if defined(RAISED_BEDS)
+raised :: Bool
+raised = True
+#endif
diff --git a/corpora/vendored/cpp/haddock/directives-in-a-haddock-out'.hs b/corpora/vendored/cpp/haddock/directives-in-a-haddock-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/haddock/directives-in-a-haddock-out'.hs
@@ -0,0 +1,20 @@
+{-# LANGUAGE CPP #-}
+
+module M where
+
+class Shape a where
+    {- |
+    The area, for example:
+
+#if MIN_VERSION_base(4,10,0)
+    >>> area (Square 2)
+    4.0
+#else
+    >>> area (Square 2.0)
+    4.0
+#endif
+    -}
+    area :: a -> Double
+
+    -- | The perimeter.
+    perimeter :: a -> Double
diff --git a/corpora/vendored/cpp/haddock/directives-in-a-haddock-out.hs b/corpora/vendored/cpp/haddock/directives-in-a-haddock-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/haddock/directives-in-a-haddock-out.hs
@@ -0,0 +1,20 @@
+{-# LANGUAGE CPP #-}
+
+module M where
+
+class Shape a where
+  {- |
+  The area, for example:
+
+#if MIN_VERSION_base(4,10,0)
+  >>> area (Square 2)
+  4.0
+#else
+  >>> area (Square 2.0)
+  4.0
+#endif
+  -}
+  area :: a -> Double
+
+  -- | The perimeter.
+  perimeter :: a -> Double
diff --git a/corpora/vendored/cpp/haddock/directives-in-a-haddock.hs b/corpora/vendored/cpp/haddock/directives-in-a-haddock.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/haddock/directives-in-a-haddock.hs
@@ -0,0 +1,20 @@
+{-# LANGUAGE CPP #-}
+
+module M where
+
+class Shape a where
+  {- |
+The area, for example:
+
+#if MIN_VERSION_base(4,10,0)
+>>> area (Square 2)
+4.0
+#else
+>>> area (Square 2.0)
+4.0
+#endif
+  -}
+  area :: a -> Double
+
+  -- | The perimeter.
+  perimeter :: a -> Double
diff --git a/corpora/vendored/cpp/haddock/dividers-around-a-module-haddock-out'.hs b/corpora/vendored/cpp/haddock/dividers-around-a-module-haddock-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/haddock/dividers-around-a-module-haddock-out'.hs
@@ -0,0 +1,25 @@
+{-# LANGUAGE CPP #-}
+
+-----------------------------------------------------------------------------
+-- |
+-- Module      :  Data.Orchard
+-- License     :  BSD-style (see the file LICENSE)
+--
+-- Trees, the fruit they bear, and when to pick it.
+----------------------------------------------------------------------------
+module Data.Orchard
+    ( Tree (..)
+    , ripe
+    )
+where
+
+#if MIN_VERSION_base(4,8,0)
+import Data.List (sortOn)
+#endif
+
+data Tree = Apple | Pear
+
+---------------------------------------------------------------------------
+-- | Is the fruit ready to pick?
+ripe :: Tree -> Bool
+ripe _ = True
diff --git a/corpora/vendored/cpp/haddock/dividers-around-a-module-haddock-out.hs b/corpora/vendored/cpp/haddock/dividers-around-a-module-haddock-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/haddock/dividers-around-a-module-haddock-out.hs
@@ -0,0 +1,25 @@
+{-# LANGUAGE CPP #-}
+
+-----------------------------------------------------------------------------
+-- |
+-- Module      :  Data.Orchard
+-- License     :  BSD-style (see the file LICENSE)
+--
+-- Trees, the fruit they bear, and when to pick it.
+----------------------------------------------------------------------------
+module Data.Orchard
+  ( Tree (..),
+    ripe,
+  )
+where
+
+#if MIN_VERSION_base(4,8,0)
+import Data.List (sortOn)
+#endif
+
+data Tree = Apple | Pear
+
+---------------------------------------------------------------------------
+-- | Is the fruit ready to pick?
+ripe :: Tree -> Bool
+ripe _ = True
diff --git a/corpora/vendored/cpp/haddock/dividers-around-a-module-haddock.hs b/corpora/vendored/cpp/haddock/dividers-around-a-module-haddock.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/haddock/dividers-around-a-module-haddock.hs
@@ -0,0 +1,24 @@
+{-# LANGUAGE CPP #-}
+-----------------------------------------------------------------------------
+-- |
+-- Module      :  Data.Orchard
+-- License     :  BSD-style (see the file LICENSE)
+--
+-- Trees, the fruit they bear, and when to pick it.
+----------------------------------------------------------------------------
+module Data.Orchard
+  ( Tree (..),
+    ripe,
+  )
+where
+
+#if MIN_VERSION_base(4,8,0)
+import Data.List (sortOn)
+#endif
+
+data Tree = Apple | Pear
+
+---------------------------------------------------------------------------
+-- | Is the fruit ready to pick?
+ripe :: Tree -> Bool
+ripe _ = True
diff --git a/corpora/vendored/cpp/haddock/empty-line-under-a-heading-in-a-nested-branch-out.hs b/corpora/vendored/cpp/haddock/empty-line-under-a-heading-in-a-nested-branch-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/haddock/empty-line-under-a-heading-in-a-nested-branch-out.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+
+module Bakery.Oven where
+
+#ifdef STEAM
+#if MIN_VERSION_bakery(2,0,0)
+-- * Steam injection
+#endif
+-- the oven vents before the loaves go in
+#endif
+
+bake :: Int -> Int
+bake = (+ 20)
diff --git a/corpora/vendored/cpp/haddock/empty-line-under-a-heading-in-a-nested-branch.hs b/corpora/vendored/cpp/haddock/empty-line-under-a-heading-in-a-nested-branch.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/haddock/empty-line-under-a-heading-in-a-nested-branch.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+
+module Bakery.Oven where
+
+#ifdef STEAM
+#if MIN_VERSION_bakery(2,0,0)
+-- * Steam injection
+
+#endif
+-- the oven vents before the loaves go in
+#endif
+bake :: Int -> Int
+bake = (+ 20)
diff --git a/corpora/vendored/cpp/haddock/haddock-above-a-branch-opening-with-an-import.hs b/corpora/vendored/cpp/haddock/haddock-above-a-branch-opening-with-an-import.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/haddock/haddock-above-a-branch-opening-with-an-import.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Platform where
+
+-- | Suspend the program, where the platform lets it. GHC ignores this
+-- Haddock where the branch under it opens with an import.
+#ifdef mingw32_HOST_OS
+suspend :: IO ()
+suspend = pure ()
+#else
+import System.Posix.Signals
+suspend :: IO ()
+suspend = raiseSignal sigSTOP
+#endif
diff --git a/corpora/vendored/cpp/haddock/haddock-above-a-conditional-holding-a-run-out.hs b/corpora/vendored/cpp/haddock/haddock-above-a-conditional-holding-a-run-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/haddock/haddock-above-a-conditional-holding-a-run-out.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE CPP #-}
+
+module Codec.Frames where
+
+-- | The fields every frame opens with.
+#if defined(FRAMES)
+header = 1
+trailer = 2
+#endif
diff --git a/corpora/vendored/cpp/haddock/haddock-above-a-conditional-holding-a-run.hs b/corpora/vendored/cpp/haddock/haddock-above-a-conditional-holding-a-run.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/haddock/haddock-above-a-conditional-holding-a-run.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE CPP #-}
+
+module Codec.Frames where
+
+-- | The fields every frame opens with.
+#if defined(FRAMES)
+header = 1
+trailer = 2
+#endif
diff --git a/corpora/vendored/cpp/haddock/haddock-above-a-field-only-some-configurations-have.hs b/corpora/vendored/cpp/haddock/haddock-above-a-field-only-some-configurations-have.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/haddock/haddock-above-a-field-only-some-configurations-have.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE CPP #-}
+
+module Test.Params where
+
+-- The Haddock documents the field where it is there, and nothing where it
+-- is not.
+data Params = Params
+  { size :: Maybe Int
+  , seed :: Maybe Int
+  -- | Where to start running the tests.
+#ifdef WITH_SKIP
+  , skip :: Maybe Int
+#endif
+  }
diff --git a/corpora/vendored/cpp/haddock/haddock-above-the-imports-of-a-module-without-a-header-out.hs b/corpora/vendored/cpp/haddock/haddock-above-the-imports-of-a-module-without-a-header-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/haddock/haddock-above-the-imports-of-a-module-without-a-header-out.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE CPP #-}
+
+-- \| Count what the standard input holds. With no module line, GHC ignores
+-- this Haddock in every configuration.
+
+import Data.List (genericLength)
+
+main :: IO ()
+main = interact (show . count)
+
+#ifdef COUNT_WORDS
+count :: String -> Integer
+count = genericLength . words
+#else
+count :: String -> Integer
+count = genericLength . lines
+#endif
diff --git a/corpora/vendored/cpp/haddock/haddock-above-the-imports-of-a-module-without-a-header.hs b/corpora/vendored/cpp/haddock/haddock-above-the-imports-of-a-module-without-a-header.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/haddock/haddock-above-the-imports-of-a-module-without-a-header.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE CPP #-}
+
+-- | Count what the standard input holds. With no module line, GHC ignores
+-- this Haddock in every configuration.
+
+import Data.List (genericLength)
+
+main :: IO ()
+main = interact (show . count)
+
+#ifdef COUNT_WORDS
+count :: String -> Integer
+count = genericLength . words
+#else
+count :: String -> Integer
+count = genericLength . lines
+#endif
diff --git a/corpora/vendored/cpp/haddock/haddock-after-a-conditional-holding-a-class-head-out'.hs b/corpora/vendored/cpp/haddock/haddock-after-a-conditional-holding-a-class-head-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/haddock/haddock-after-a-conditional-holding-a-class-head-out'.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE TypeFamilies #-}
+
+module Test.Example where
+
+-- A method's Haddock and signature written once, after a conditional that
+-- holds the head of the class in each branch.
+class
+#ifdef ENABLE_HOOK_ARGS
+    Example e where
+    type Arg e
+#else
+    Example e where
+#endif
+
+    -- | Evaluates an example.
+    evaluate :: e -> IO Bool
diff --git a/corpora/vendored/cpp/haddock/haddock-after-a-conditional-holding-a-class-head-out.hs b/corpora/vendored/cpp/haddock/haddock-after-a-conditional-holding-a-class-head-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/haddock/haddock-after-a-conditional-holding-a-class-head-out.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE TypeFamilies #-}
+
+module Test.Example where
+
+-- A method's Haddock and signature written once, after a conditional that
+-- holds the head of the class in each branch.
+class
+#ifdef ENABLE_HOOK_ARGS
+  Example e where
+  type Arg e
+#else
+  Example e where
+#endif
+
+  -- | Evaluates an example.
+  evaluate :: e -> IO Bool
diff --git a/corpora/vendored/cpp/haddock/haddock-after-a-conditional-holding-a-class-head.hs b/corpora/vendored/cpp/haddock/haddock-after-a-conditional-holding-a-class-head.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/haddock/haddock-after-a-conditional-holding-a-class-head.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE TypeFamilies #-}
+
+module Test.Example where
+
+-- A method's Haddock and signature written once, after a conditional that
+-- holds the head of the class in each branch.
+#ifdef ENABLE_HOOK_ARGS
+class Example e where
+  type Arg e
+#else
+class Example e where
+#endif
+  -- | Evaluates an example.
+  evaluate :: e -> IO Bool
diff --git a/corpora/vendored/cpp/haddock/haddock-after-a-record-whose-last-field-is-optional.hs b/corpora/vendored/cpp/haddock/haddock-after-a-record-whose-last-field-is-optional.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/haddock/haddock-after-a-record-whose-last-field-is-optional.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+
+module Network.Call where
+
+-- The Haddock after the record documents its last field where that is the
+-- optional one, and nothing where it is not.
+data Call
+  = Call
+    { procedure :: Int -- ^ The procedure.
+#ifdef RESERVED_PORT
+    , reserved :: Bool
+#endif
+    } -- ^ A call.
diff --git a/corpora/vendored/cpp/haddock/haddock-and-declaration-asking-the-same-question-at-two-depths-out.hs b/corpora/vendored/cpp/haddock/haddock-and-declaration-asking-the-same-question-at-two-depths-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/haddock/haddock-and-declaration-asking-the-same-question-at-two-depths-out.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE CPP #-}
+
+module Codec.Frames where
+
+#if defined(CHECKED)
+-- | The checksum of a frame.
+#endif
+#if MIN_VERSION_base(4,8,0)
+#if defined(CHECKED)
+checksum = 0
+#endif
+
+header = 1
+trailer = 2
+#endif
diff --git a/corpora/vendored/cpp/haddock/haddock-and-declaration-asking-the-same-question-at-two-depths.hs b/corpora/vendored/cpp/haddock/haddock-and-declaration-asking-the-same-question-at-two-depths.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/haddock/haddock-and-declaration-asking-the-same-question-at-two-depths.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE CPP #-}
+
+module Codec.Frames where
+
+#if defined(CHECKED)
+-- | The checksum of a frame.
+#endif
+#if MIN_VERSION_base(4,8,0)
+#if defined(CHECKED)
+checksum = 0
+#endif
+header = 1
+trailer = 2
+#endif
diff --git a/corpora/vendored/cpp/haddock/haddock-and-declaration-asking-the-same-question-out.hs b/corpora/vendored/cpp/haddock/haddock-and-declaration-asking-the-same-question-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/haddock/haddock-and-declaration-asking-the-same-question-out.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+
+module Codec.Frames where
+
+#if defined(CHECKED)
+-- | The checksum of a frame.
+#endif
+#if defined(CHECKED)
+checksum = 0
+#endif
+
+header = 1
+trailer = 2
diff --git a/corpora/vendored/cpp/haddock/haddock-and-declaration-asking-the-same-question.hs b/corpora/vendored/cpp/haddock/haddock-and-declaration-asking-the-same-question.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/haddock/haddock-and-declaration-asking-the-same-question.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE CPP #-}
+
+module Codec.Frames where
+
+#if defined(CHECKED)
+-- | The checksum of a frame.
+#endif
+#if defined(CHECKED)
+checksum = 0
+#endif
+header = 1
+trailer = 2
diff --git a/corpora/vendored/cpp/haddock/haddock-behind-alternatives-out'.hs b/corpora/vendored/cpp/haddock/haddock-behind-alternatives-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/haddock/haddock-behind-alternatives-out'.hs
@@ -0,0 +1,47 @@
+{-# LANGUAGE CPP #-}
+
+module Kiln.Firing where
+
+-- A Haddock that differs between the branches of a conditional is kept in
+-- each branch, before a constructor, a field and an argument.
+data Firing
+    = Bisque
+    |
+#ifdef GLAZE_ONLY
+      -- | Fired once, glazed.
+#else
+      -- | Fired twice, the second time glazed.
+#endif
+      Glaze
+
+data Kiln = Kiln
+    { temperature :: Int
+    , draw :: Int
+#ifdef ELECTRIC
+      -- ^ Watts drawn.
+#else
+      -- ^ Gas burnt in an hour.
+#endif
+    }
+
+fire
+    :: Kiln
+    -> Int
+#ifdef ELECTRIC
+    -- ^ Minutes to cool.
+#else
+    -- ^ Hours to cool.
+#endif
+    -> Firing
+fire _ _ = Glaze
+
+-- The same for one written after what it documents.
+data Cone
+    =
+#ifdef METRIC
+      -- | Below 1100 degrees.
+#else
+      -- | Below 2000 degrees.
+#endif
+      Low
+    | High
diff --git a/corpora/vendored/cpp/haddock/haddock-behind-alternatives-out.hs b/corpora/vendored/cpp/haddock/haddock-behind-alternatives-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/haddock/haddock-behind-alternatives-out.hs
@@ -0,0 +1,47 @@
+{-# LANGUAGE CPP #-}
+
+module Kiln.Firing where
+
+-- A Haddock that differs between the branches of a conditional is kept in
+-- each branch, before a constructor, a field and an argument.
+data Firing
+  = Bisque
+  |
+#ifdef GLAZE_ONLY
+    -- | Fired once, glazed.
+#else
+    -- | Fired twice, the second time glazed.
+#endif
+    Glaze
+
+data Kiln = Kiln
+  { temperature :: Int,
+#ifdef ELECTRIC
+    -- | Watts drawn.
+#else
+    -- | Gas burnt in an hour.
+#endif
+    draw :: Int
+  }
+
+fire ::
+  Kiln ->
+#ifdef ELECTRIC
+  -- | Minutes to cool.
+#else
+  -- | Hours to cool.
+#endif
+  Int ->
+  Firing
+fire _ _ = Glaze
+
+-- The same for one written after what it documents.
+data Cone
+  =
+#ifdef METRIC
+    -- | Below 1100 degrees.
+#else
+    -- | Below 2000 degrees.
+#endif
+    Low
+  | High
diff --git a/corpora/vendored/cpp/haddock/haddock-behind-alternatives.hs b/corpora/vendored/cpp/haddock/haddock-behind-alternatives.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/haddock/haddock-behind-alternatives.hs
@@ -0,0 +1,45 @@
+{-# LANGUAGE CPP #-}
+
+module Kiln.Firing where
+
+-- A Haddock that differs between the branches of a conditional is kept in
+-- each branch, before a constructor, a field and an argument.
+data Firing
+  = Bisque
+#ifdef GLAZE_ONLY
+  -- | Fired once, glazed.
+#else
+  -- | Fired twice, the second time glazed.
+#endif
+  | Glaze
+
+data Kiln = Kiln
+  { temperature :: Int
+#ifdef ELECTRIC
+  -- | Watts drawn.
+#else
+  -- | Gas burnt in an hour.
+#endif
+  , draw :: Int
+  }
+
+fire ::
+  Kiln ->
+#ifdef ELECTRIC
+  -- | Minutes to cool.
+#else
+  -- | Hours to cool.
+#endif
+  Int ->
+  Firing
+fire _ _ = Glaze
+
+-- The same for one written after what it documents.
+data Cone
+  = Low
+#ifdef METRIC
+  -- ^ Below 1100 degrees.
+#else
+  -- ^ Below 2000 degrees.
+#endif
+  | High
diff --git a/corpora/vendored/cpp/haddock/haddock-in-an-else-branch-above-a-run-out.hs b/corpora/vendored/cpp/haddock/haddock-in-an-else-branch-above-a-run-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/haddock/haddock-in-an-else-branch-above-a-run-out.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE CPP #-}
+
+module Codec.Frames where
+
+#if defined(TERSE)
+#else
+-- | The fields every frame opens with.
+#endif
+header = 1
+trailer = 2
+
+version = 1
diff --git a/corpora/vendored/cpp/haddock/haddock-in-an-else-branch-above-a-run.hs b/corpora/vendored/cpp/haddock/haddock-in-an-else-branch-above-a-run.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/haddock/haddock-in-an-else-branch-above-a-run.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE CPP #-}
+
+module Codec.Frames where
+
+#if defined(TERSE)
+#else
+-- | The fields every frame opens with.
+#endif
+header = 1
+trailer = 2
+
+version = 1
diff --git a/corpora/vendored/cpp/haddock/haddock-in-one-configuration-above-a-run-out.hs b/corpora/vendored/cpp/haddock/haddock-in-one-configuration-above-a-run-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/haddock/haddock-in-one-configuration-above-a-run-out.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE CPP #-}
+
+module Codec.Frames where
+
+#if defined(DOCS)
+-- | The fields every frame opens with.
+#endif
+#if defined(FRAMES)
+header = 1
+trailer = 2
+#endif
+#if defined(FRAMES)
+padding = 3
+checksum = 4
+#endif
diff --git a/corpora/vendored/cpp/haddock/haddock-in-one-configuration-above-a-run.hs b/corpora/vendored/cpp/haddock/haddock-in-one-configuration-above-a-run.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/haddock/haddock-in-one-configuration-above-a-run.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE CPP #-}
+
+module Codec.Frames where
+
+#if defined(DOCS)
+-- | The fields every frame opens with.
+#endif
+#if defined(FRAMES)
+header = 1
+trailer = 2
+#endif
+#if defined(FRAMES)
+padding = 3
+checksum = 4
+#endif
diff --git a/corpora/vendored/cpp/haddock/haddock-of-a-derived-class-behind-a-conditional-out'.hs b/corpora/vendored/cpp/haddock/haddock-of-a-derived-class-behind-a-conditional-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/haddock/haddock-of-a-derived-class-behind-a-conditional-out'.hs
@@ -0,0 +1,24 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE GeneralizedNewtypeDeriving #-}
+
+-- A class of a deriving clause that only some configurations give a
+-- Haddock comes out once, after the conditional of the Haddock.
+module Data.Patch.MapWithMove (PatchMapWithMove (..)) where
+
+newtype PatchMapWithMove k v = PatchMapWithMove'
+    { unPatchMapWithMove' :: PatchMapWithPatchingMove k (Proxy v)
+      -- ^ Extract the underlying 'PatchMapWithPatchingMove k (Proxy v)'
+    }
+    deriving
+        ( Show
+        , Read
+        , Eq
+        , Ord,
+-- Haddock cannot handle documentation here before GHC 8.6
+#if __GLASGOW_HASKELL__ >= 806
+          -- | Compose patches having the same effect as applying the
+          -- patches in turn.
+#endif
+          Semigroup
+        , Monoid
+        )
diff --git a/corpora/vendored/cpp/haddock/haddock-of-a-derived-class-behind-a-conditional-out.hs b/corpora/vendored/cpp/haddock/haddock-of-a-derived-class-behind-a-conditional-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/haddock/haddock-of-a-derived-class-behind-a-conditional-out.hs
@@ -0,0 +1,24 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE GeneralizedNewtypeDeriving #-}
+
+-- A class of a deriving clause that only some configurations give a
+-- Haddock comes out once, after the conditional of the Haddock.
+module Data.Patch.MapWithMove (PatchMapWithMove (..)) where
+
+newtype PatchMapWithMove k v = PatchMapWithMove'
+  { -- | Extract the underlying 'PatchMapWithPatchingMove k (Proxy v)'
+    unPatchMapWithMove' :: PatchMapWithPatchingMove k (Proxy v)
+  }
+  deriving
+    ( Show,
+      Read,
+      Eq,
+      Ord,
+-- Haddock cannot handle documentation here before GHC 8.6
+#if __GLASGOW_HASKELL__ >= 806
+      -- | Compose patches having the same effect as applying the
+      -- patches in turn.
+#endif
+      Semigroup,
+      Monoid
+    )
diff --git a/corpora/vendored/cpp/haddock/haddock-of-a-derived-class-behind-a-conditional.hs b/corpora/vendored/cpp/haddock/haddock-of-a-derived-class-behind-a-conditional.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/haddock/haddock-of-a-derived-class-behind-a-conditional.hs
@@ -0,0 +1,21 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE GeneralizedNewtypeDeriving #-}
+
+-- A class of a deriving clause that only some configurations give a
+-- Haddock comes out once, after the conditional of the Haddock.
+module Data.Patch.MapWithMove (PatchMapWithMove (..)) where
+
+newtype PatchMapWithMove k v = PatchMapWithMove'
+  { -- | Extract the underlying 'PatchMapWithPatchingMove k (Proxy v)'
+    unPatchMapWithMove' :: PatchMapWithPatchingMove k (Proxy v)
+  }
+  deriving ( Show, Read, Eq, Ord
+-- Haddock cannot handle documentation here before GHC 8.6
+           ,
+#if __GLASGOW_HASKELL__ >= 806
+             -- | Compose patches having the same effect as applying the
+             -- patches in turn.
+#endif
+             Semigroup
+           , Monoid
+           )
diff --git a/corpora/vendored/cpp/haddock/haddocks-of-arguments-only-some-configurations-have-out'.hs b/corpora/vendored/cpp/haddock/haddocks-of-arguments-only-some-configurations-have-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/haddock/haddocks-of-arguments-only-some-configurations-have-out'.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE CPP #-}
+
+module Shape.Render where
+
+-- Arguments only some configurations have, each with a Haddock.
+data Shape where
+    Square
+        :: Int
+#if defined(WITH_SIDE)
+        -- ^ The side.
+        -> Int
+        -- ^ The other side.
+#endif
+        -> Shape
diff --git a/corpora/vendored/cpp/haddock/haddocks-of-arguments-only-some-configurations-have-out.hs b/corpora/vendored/cpp/haddock/haddocks-of-arguments-only-some-configurations-have-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/haddock/haddocks-of-arguments-only-some-configurations-have-out.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE CPP #-}
+
+module Shape.Render where
+
+-- Arguments only some configurations have, each with a Haddock.
+data Shape where
+  Square ::
+#if defined(WITH_SIDE)
+    -- | The side.
+#endif
+    Int ->
+#if defined(WITH_SIDE)
+    -- | The other side.
+    Int ->
+#endif
+    Shape
diff --git a/corpora/vendored/cpp/haddock/haddocks-of-arguments-only-some-configurations-have.hs b/corpora/vendored/cpp/haddock/haddocks-of-arguments-only-some-configurations-have.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/haddock/haddocks-of-arguments-only-some-configurations-have.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE CPP #-}
+
+module Shape.Render where
+
+-- Arguments only some configurations have, each with a Haddock.
+data Shape where
+  Square
+    :: Int
+#if defined(WITH_SIDE)
+    -- ^ The side.
+    -> Int
+    -- ^ The other side.
+#endif
+    -> Shape
diff --git a/corpora/vendored/cpp/haddock/haddocks-of-signature-arguments-only-some-configurations-have-out'.hs b/corpora/vendored/cpp/haddock/haddocks-of-signature-arguments-only-some-configurations-have-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/haddock/haddocks-of-signature-arguments-only-some-configurations-have-out'.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE CPP #-}
+
+module Shape.Render where
+
+-- Arguments only some configurations have, each with a Haddock.
+square
+    :: Int
+#if defined(WITH_SIDE)
+    -- ^ The side.
+    -> Int
+    -- ^ The other side.
+#endif
+    -> Shape
+square = undefined
diff --git a/corpora/vendored/cpp/haddock/haddocks-of-signature-arguments-only-some-configurations-have-out.hs b/corpora/vendored/cpp/haddock/haddocks-of-signature-arguments-only-some-configurations-have-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/haddock/haddocks-of-signature-arguments-only-some-configurations-have-out.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE CPP #-}
+
+module Shape.Render where
+
+-- Arguments only some configurations have, each with a Haddock.
+square ::
+#if defined(WITH_SIDE)
+  -- | The side.
+#endif
+  Int ->
+#if defined(WITH_SIDE)
+  -- | The other side.
+  Int ->
+#endif
+  Shape
+square = undefined
diff --git a/corpora/vendored/cpp/haddock/haddocks-of-signature-arguments-only-some-configurations-have.hs b/corpora/vendored/cpp/haddock/haddocks-of-signature-arguments-only-some-configurations-have.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/haddock/haddocks-of-signature-arguments-only-some-configurations-have.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE CPP #-}
+
+module Shape.Render where
+
+-- Arguments only some configurations have, each with a Haddock.
+square
+  :: Int
+#if defined(WITH_SIDE)
+  -- ^ The side.
+  -> Int
+  -- ^ The other side.
+#endif
+  -> Shape
+square = undefined
diff --git a/corpora/vendored/cpp/haddock/lines-like-directives-in-a-haddock-out'.hs b/corpora/vendored/cpp/haddock/lines-like-directives-in-a-haddock-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/haddock/lines-like-directives-in-a-haddock-out'.hs
@@ -0,0 +1,20 @@
+{-# LANGUAGE CPP #-}
+
+module Store where
+
+class Store s where
+    {- | Not yet:
+    #ifdef WITH_LOCKS
+    lock :: s -> IO ()
+    #endif
+    -}
+    open :: s
+
+    {- | Closes the store
+#ifdef WITH_LOCKS
+#ifdef WITH_TIMEOUTS
+    once the lock times out
+#endif
+#endif
+    -}
+    close :: s -> IO ()
diff --git a/corpora/vendored/cpp/haddock/lines-like-directives-in-a-haddock-out.hs b/corpora/vendored/cpp/haddock/lines-like-directives-in-a-haddock-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/haddock/lines-like-directives-in-a-haddock-out.hs
@@ -0,0 +1,20 @@
+{-# LANGUAGE CPP #-}
+
+module Store where
+
+class Store s where
+  {- | Not yet:
+  #ifdef WITH_LOCKS
+  lock :: s -> IO ()
+  #endif
+  -}
+  open :: s
+
+  {- | Closes the store
+#ifdef WITH_LOCKS
+#ifdef WITH_TIMEOUTS
+  once the lock times out
+#endif
+#endif
+  -}
+  close :: s -> IO ()
diff --git a/corpora/vendored/cpp/haddock/lines-like-directives-in-a-haddock.hs b/corpora/vendored/cpp/haddock/lines-like-directives-in-a-haddock.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/haddock/lines-like-directives-in-a-haddock.hs
@@ -0,0 +1,20 @@
+{-# LANGUAGE CPP #-}
+
+module Store where
+
+class Store s where
+  {- | Not yet:
+  #ifdef WITH_LOCKS
+  lock :: s -> IO ()
+  #endif
+  -}
+  open :: s
+
+  {- | Closes the store
+#ifdef WITH_LOCKS
+#ifdef WITH_TIMEOUTS
+  once the lock times out
+#endif
+#endif
+  -}
+  close :: s -> IO ()
diff --git a/corpora/vendored/cpp/haddock/optional-last-field-with-a-haddock-out'.hs b/corpora/vendored/cpp/haddock/optional-last-field-with-a-haddock-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/haddock/optional-last-field-with-a-haddock-out'.hs
@@ -0,0 +1,31 @@
+{-# LANGUAGE CPP #-}
+
+module Kiln.Firing where
+
+-- The fields before a field only some configurations have come out once,
+-- in front of the conditional, where that field has a Haddock, written
+-- after it or before it.
+data Firing = Firing
+    { cone :: Int
+#if defined(GAS)
+    , reduction :: Bool
+      -- ^ Whether the flame is starved of air.
+#endif
+    }
+
+data Schedule = Schedule
+    { ramp :: Int
+#if defined(GAS)
+    , soak :: Int
+      -- ^ Minutes the kiln holds at the top.
+#endif
+    }
+
+data Log = Log
+    { entries :: [String]
+#if defined(GAS)
+      -- read off the gauge
+    , pressure :: Int
+      -- ^ In millibar.
+#endif
+    }
diff --git a/corpora/vendored/cpp/haddock/optional-last-field-with-a-haddock-out.hs b/corpora/vendored/cpp/haddock/optional-last-field-with-a-haddock-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/haddock/optional-last-field-with-a-haddock-out.hs
@@ -0,0 +1,31 @@
+{-# LANGUAGE CPP #-}
+
+module Kiln.Firing where
+
+-- The fields before a field only some configurations have come out once,
+-- in front of the conditional, where that field has a Haddock, written
+-- after it or before it.
+data Firing = Firing
+  { cone :: Int
+#if defined(GAS)
+    , -- | Whether the flame is starved of air.
+      reduction :: Bool
+#endif
+  }
+
+data Schedule = Schedule
+  { ramp :: Int
+#if defined(GAS)
+    , -- | Minutes the kiln holds at the top.
+      soak :: Int
+#endif
+  }
+
+data Log = Log
+  { entries :: [String]
+#if defined(GAS)
+    -- read off the gauge
+    , -- | In millibar.
+      pressure :: Int
+#endif
+  }
diff --git a/corpora/vendored/cpp/haddock/optional-last-field-with-a-haddock.hs b/corpora/vendored/cpp/haddock/optional-last-field-with-a-haddock.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/haddock/optional-last-field-with-a-haddock.hs
@@ -0,0 +1,29 @@
+{-# LANGUAGE CPP #-}
+
+module Kiln.Firing where
+
+-- The fields before a field only some configurations have come out once,
+-- in front of the conditional, where that field has a Haddock, written
+-- after it or before it.
+data Firing = Firing
+  { cone :: Int
+#if defined(GAS)
+  , reduction :: Bool -- ^ Whether the flame is starved of air.
+#endif
+  }
+
+data Schedule = Schedule
+  { ramp :: Int
+#if defined(GAS)
+  , -- | Minutes the kiln holds at the top.
+    soak :: Int
+#endif
+  }
+
+data Log = Log
+  { entries :: [String]
+#if defined(GAS)
+  -- read off the gauge
+  , pressure :: Int -- ^ In millibar.
+#endif
+  }
diff --git a/corpora/vendored/cpp/haddock/triple-dash-under-a-haddock-out.hs b/corpora/vendored/cpp/haddock/triple-dash-under-a-haddock-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/haddock/triple-dash-under-a-haddock-out.hs
@@ -0,0 +1,24 @@
+{-# LANGUAGE CPP #-}
+
+module Data.Window where
+
+#if MIN_VERSION_base(4,8,0)
+import Data.List (sort)
+#endif
+
+-- | Give a window over a list. GHC ends it at a line beginning with three
+-- dashes, so nothing needs to hold the lines from there on off it.
+--
+-- @
+-- window4
+---  :: [Int]
+--   -> [Int]
+-- window4 = window
+-- @
+window :: [Int] -> [Int]
+window = id
+
+-- | All the windows.
+---------------------------------------------------------------------------
+windows :: [[Int]]
+windows = []
diff --git a/corpora/vendored/cpp/haddock/triple-dash-under-a-haddock.hs b/corpora/vendored/cpp/haddock/triple-dash-under-a-haddock.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/haddock/triple-dash-under-a-haddock.hs
@@ -0,0 +1,24 @@
+{-# LANGUAGE CPP #-}
+
+module Data.Window where
+
+#if MIN_VERSION_base(4,8,0)
+import Data.List (sort)
+#endif
+
+-- | Give a window over a list. GHC ends it at a line beginning with three
+-- dashes, so nothing needs to hold the lines from there on off it.
+--
+-- @
+-- window4
+---  :: [Int]
+--   -> [Int]
+-- window4 = window
+-- @
+window :: [Int] -> [Int]
+window = id
+
+-- | All the windows.
+---------------------------------------------------------------------------
+windows :: [[Int]]
+windows = []
diff --git a/corpora/vendored/cpp/haddock/two-conditionals-changing-one-run-of-space-out.hs b/corpora/vendored/cpp/haddock/two-conditionals-changing-one-run-of-space-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/haddock/two-conditionals-changing-one-run-of-space-out.hs
@@ -0,0 +1,23 @@
+{-# LANGUAGE CPP #-}
+
+-- Taking the #else of the first conditional and the branch of the second,
+-- each adds to the space between the first Haddock and the heading, the
+-- second nearer the Haddock, which documents what it adds.
+module Codec.Frame where
+
+#if FAST
+#else
+-- | Decoding a frame.
+#if MIN_VERSION_bytestring(0,11,0)
+#else
+-- | Decoding a frame, copying it first.
+#endif
+#endif
+#if FAST
+#if MIN_VERSION_bytestring(0,11,0)
+#else
+decode = copy
+#endif
+#endif
+
+-- * Encoding
diff --git a/corpora/vendored/cpp/haddock/two-conditionals-changing-one-run-of-space.hs b/corpora/vendored/cpp/haddock/two-conditionals-changing-one-run-of-space.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/haddock/two-conditionals-changing-one-run-of-space.hs
@@ -0,0 +1,23 @@
+{-# LANGUAGE CPP #-}
+
+-- Taking the #else of the first conditional and the branch of the second,
+-- each adds to the space between the first Haddock and the heading, the
+-- second nearer the Haddock, which documents what it adds.
+module Codec.Frame where
+
+#if FAST
+#else
+-- | Decoding a frame.
+#if MIN_VERSION_bytestring(0,11,0)
+#else
+-- | Decoding a frame, copying it first.
+#endif
+#endif
+#if FAST
+
+#if MIN_VERSION_bytestring(0,11,0)
+#else
+decode = copy
+#endif
+#endif
+-- * Encoding
diff --git a/corpora/vendored/cpp/import/comment-above-the-first-import-sorted-down-out.hs b/corpora/vendored/cpp/import/comment-above-the-first-import-sorted-down-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/comment-above-the-first-import-sorted-down-out.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE CPP #-}
+
+-- The empty line above the first import stays at the top of the imports
+-- when sorting moves that import down, as without a conditional.
+module Kiln.Schedule where
+
+import Data.List (sortOn)
+-- For the ramp.
+import Data.Maybe (fromMaybe)
+
+ramp :: Int
+ramp = 100
+
+#ifdef CONE_TEN
+hold :: Int
+hold = 15
+#endif
diff --git a/corpora/vendored/cpp/import/comment-above-the-first-import-sorted-down.hs b/corpora/vendored/cpp/import/comment-above-the-first-import-sorted-down.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/comment-above-the-first-import-sorted-down.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE CPP #-}
+
+-- The empty line above the first import stays at the top of the imports
+-- when sorting moves that import down, as without a conditional.
+module Kiln.Schedule where
+
+-- For the ramp.
+import Data.Maybe (fromMaybe)
+import Data.List (sortOn)
+
+ramp :: Int
+ramp = 100
+#ifdef CONE_TEN
+hold :: Int
+hold = 15
+#endif
diff --git a/corpora/vendored/cpp/import/comment-among-imports-below-a-conditional-out.hs b/corpora/vendored/cpp/import/comment-among-imports-below-a-conditional-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/comment-among-imports-below-a-conditional-out.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE CPP #-}
+
+module Text.Wrap (wrap) where
+
+#if defined(USE_TEXT)
+import Data.Text (Text)
+#endif
+
+-- Splitting into lines.
+
+import Data.Char (isSpace)
+import Data.List (unfoldr)
+
+wrap :: Int -> String -> [String]
+wrap n = unfoldr (\s -> if null s then Nothing else Just (splitAt n s))
diff --git a/corpora/vendored/cpp/import/comment-among-imports-below-a-conditional.hs b/corpora/vendored/cpp/import/comment-among-imports-below-a-conditional.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/comment-among-imports-below-a-conditional.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE CPP #-}
+
+module Text.Wrap (wrap) where
+
+#if defined(USE_TEXT)
+import Data.Text (Text)
+#endif
+
+-- Splitting into lines.
+
+import Data.List (unfoldr)
+import Data.Char (isSpace)
+
+wrap :: Int -> String -> [String]
+wrap n = unfoldr (\s -> if null s then Nothing else Just (splitAt n s))
diff --git a/corpora/vendored/cpp/import/comment-and-define-above-a-conditional-import-out.hs b/corpora/vendored/cpp/import/comment-and-define-above-a-conditional-import-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/comment-and-define-above-a-conditional-import-out.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE CPP #-}
+
+-- A comment and a #define right above a conditional whose branch begins
+-- with imports stay where they were written, once, rather than going into
+-- the branch and a copy of them into an #else.
+module Memory.Pages where
+
+import Data.Word (Word64)
+-- Sizes in bytes.
+-- The page size the allocator assumes.
+#define PAGE_SIZE 4096
+
+#if defined(LINUX)
+import System.Posix.Types (CSize)
+#endif
+
+pageSize :: Word64
+pageSize = PAGE_SIZE
diff --git a/corpora/vendored/cpp/import/comment-and-define-above-a-conditional-import.hs b/corpora/vendored/cpp/import/comment-and-define-above-a-conditional-import.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/comment-and-define-above-a-conditional-import.hs
@@ -0,0 +1,20 @@
+{-# LANGUAGE CPP #-}
+
+-- A comment and a #define right above a conditional whose branch begins
+-- with imports stay where they were written, once, rather than going into
+-- the branch and a copy of them into an #else.
+module Memory.Pages where
+
+import Data.Word (Word64)
+
+-- Sizes in bytes.
+
+-- The page size the allocator assumes.
+#define PAGE_SIZE 4096
+
+#if defined(LINUX)
+import System.Posix.Types (CSize)
+#endif
+
+pageSize :: Word64
+pageSize = PAGE_SIZE
diff --git a/corpora/vendored/cpp/import/comment-between-two-conditional-imports-out.hs b/corpora/vendored/cpp/import/comment-between-two-conditional-imports-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/comment-between-two-conditional-imports-out.hs
@@ -0,0 +1,21 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE PackageImports #-}
+
+-- A comment set apart between two conditionals of imports stays between
+-- them, rather than going with the later conditional into each branch of
+-- the earlier one.
+module Parser.Debug where
+
+import "this" Parser.Core (Parser)
+
+#if defined(__GLASGOW_HASKELL__)
+import System.IO.Unsafe (unsafePerformIO)
+#endif
+
+-- Tracing, only when debugging.
+#if defined(DEBUG)
+import Debug.Trace (trace)
+#endif
+
+run :: Parser a -> a
+run = undefined
diff --git a/corpora/vendored/cpp/import/comment-between-two-conditional-imports.hs b/corpora/vendored/cpp/import/comment-between-two-conditional-imports.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/comment-between-two-conditional-imports.hs
@@ -0,0 +1,22 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE PackageImports #-}
+
+-- A comment set apart between two conditionals of imports stays between
+-- them, rather than going with the later conditional into each branch of
+-- the earlier one.
+module Parser.Debug where
+
+import "this" Parser.Core (Parser)
+
+#if defined(__GLASGOW_HASKELL__)
+import System.IO.Unsafe (unsafePerformIO)
+#endif
+
+-- Tracing, only when debugging.
+
+#if defined(DEBUG)
+import Debug.Trace (trace)
+#endif
+
+run :: Parser a -> a
+run = undefined
diff --git a/corpora/vendored/cpp/import/comment-heading-the-imports-of-each-branch-out.hs b/corpora/vendored/cpp/import/comment-heading-the-imports-of-each-branch-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/comment-heading-the-imports-of-each-branch-out.hs
@@ -0,0 +1,22 @@
+{-# LANGUAGE CPP #-}
+
+-- A comment set apart above the imports of a branch heads them, as at the
+-- top of a module, where no import comes above it.
+module Kiln.Firing (fire) where
+
+#if defined(CONE_TEN)
+import Kiln.Stoneware (fire)
+#elif defined(CONE_SIX)
+-- Mid-fire.
+
+import Data.Char (toUpper)
+import Data.Maybe (fromMaybe)
+
+fire :: Int
+fire = 6
+#else
+-- Earthenware.
+
+import Data.Char (toUpper)
+import Data.Maybe (fromMaybe)
+#endif
diff --git a/corpora/vendored/cpp/import/comment-heading-the-imports-of-each-branch.hs b/corpora/vendored/cpp/import/comment-heading-the-imports-of-each-branch.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/comment-heading-the-imports-of-each-branch.hs
@@ -0,0 +1,22 @@
+{-# LANGUAGE CPP #-}
+
+-- A comment set apart above the imports of a branch heads them, as at the
+-- top of a module, where no import comes above it.
+module Kiln.Firing (fire) where
+
+#if defined(CONE_TEN)
+import Kiln.Stoneware (fire)
+#elif defined(CONE_SIX)
+-- Mid-fire.
+
+import Data.Maybe (fromMaybe)
+import Data.Char (toUpper)
+
+fire :: Int
+fire = 6
+#else
+-- Earthenware.
+
+import Data.Maybe (fromMaybe)
+import Data.Char (toUpper)
+#endif
diff --git a/corpora/vendored/cpp/import/comment-set-apart-above-a-conditional-import-out.hs b/corpora/vendored/cpp/import/comment-set-apart-above-a-conditional-import-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/comment-set-apart-above-a-conditional-import-out.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE CPP #-}
+
+module Garden.Sensor where
+
+import Data.List (sortOn)
+-- Only a garden with a weather station keeps a log.
+#ifdef STATION
+import Garden.Station.Log (readLog)
+#endif
+
+readings :: [Int] -> [Int]
+readings = sortOn negate
diff --git a/corpora/vendored/cpp/import/comment-set-apart-above-a-conditional-import.hs b/corpora/vendored/cpp/import/comment-set-apart-above-a-conditional-import.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/comment-set-apart-above-a-conditional-import.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE CPP #-}
+
+module Garden.Sensor where
+
+import Data.List (sortOn)
+
+-- Only a garden with a weather station keeps a log.
+
+#ifdef STATION
+import Garden.Station.Log (readLog)
+#endif
+
+readings :: [Int] -> [Int]
+readings = sortOn negate
diff --git a/corpora/vendored/cpp/import/comment-set-apart-at-the-end-of-a-branch-of-imports-out.hs b/corpora/vendored/cpp/import/comment-set-apart-at-the-end-of-a-branch-of-imports-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/comment-set-apart-at-the-end-of-a-branch-of-imports-out.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE CPP #-}
+
+-- A comment set apart at the end of a branch of imports, before imports
+-- that follow the #endif, comes out the same on every formatting.
+module Tags.Main where
+
+#if defined(GHC_API)
+import Data.Maybe (fromMaybe)
+-- These modules cannot be imported without the GHC API.
+#endif
+import Data.List (sortOn)
+
+main :: IO ()
+main = pure ()
diff --git a/corpora/vendored/cpp/import/comment-set-apart-at-the-end-of-a-branch-of-imports.hs b/corpora/vendored/cpp/import/comment-set-apart-at-the-end-of-a-branch-of-imports.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/comment-set-apart-at-the-end-of-a-branch-of-imports.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE CPP #-}
+
+-- A comment set apart at the end of a branch of imports, before imports
+-- that follow the #endif, comes out the same on every formatting.
+module Tags.Main where
+
+#if defined(GHC_API)
+import Data.Maybe (fromMaybe)
+
+-- These modules cannot be imported without the GHC API.
+
+#endif
+import Data.List (sortOn)
+
+main :: IO ()
+main = pure ()
diff --git a/corpora/vendored/cpp/import/comment-under-an-import-above-a-conditional-out.hs b/corpora/vendored/cpp/import/comment-under-an-import-above-a-conditional-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/comment-under-an-import-above-a-conditional-out.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+
+module Weather.Station (station) where
+
+import Data.Char (toUpper)
+-- Station names are upper case.
+import Data.Map.Strict (Map)
+#if defined(USE_TEXT)
+import Data.Text (Text)
+#endif
+
+station :: Map String Int
+station = mempty
diff --git a/corpora/vendored/cpp/import/comment-under-an-import-above-a-conditional.hs b/corpora/vendored/cpp/import/comment-under-an-import-above-a-conditional.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/comment-under-an-import-above-a-conditional.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE CPP #-}
+
+module Weather.Station (station) where
+
+import Data.Map.Strict (Map)
+import Data.Char (toUpper)
+-- Station names are upper case.
+
+#if defined(USE_TEXT)
+import Data.Text (Text)
+#endif
+
+station :: Map String Int
+station = mempty
diff --git a/corpora/vendored/cpp/import/comments-among-the-imports-of-a-later-branch-out.hs b/corpora/vendored/cpp/import/comments-among-the-imports-of-a-later-branch-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/comments-among-the-imports-of-a-later-branch-out.hs
@@ -0,0 +1,27 @@
+{-# LANGUAGE CPP #-}
+
+-- The imports of a branch are spaced and sorted as those of the first,
+-- even where the first has declarations before them.
+module Loom.Shuttle (weave) where
+
+import Data.List (sortOn)
+#ifdef USE_TEXT
+import Data.Char (toUpper)
+-- Text, where it is available.
+import Data.Text (Text)
+
+weave :: Text -> Text
+weave = id
+#else
+import Data.Char (toUpper)
+-- Strings otherwise.
+import Data.String (IsString)
+
+-- For the instance only.
+
+import Data.Bits (xor)
+import Data.Coerce (coerce)
+
+weave :: String -> String
+weave = id
+#endif
diff --git a/corpora/vendored/cpp/import/comments-among-the-imports-of-a-later-branch.hs b/corpora/vendored/cpp/import/comments-among-the-imports-of-a-later-branch.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/comments-among-the-imports-of-a-later-branch.hs
@@ -0,0 +1,29 @@
+{-# LANGUAGE CPP #-}
+
+-- The imports of a branch are spaced and sorted as those of the first,
+-- even where the first has declarations before them.
+module Loom.Shuttle (weave) where
+
+import Data.List (sortOn)
+#ifdef USE_TEXT
+-- Text, where it is available.
+
+import Data.Text (Text)
+import Data.Char (toUpper)
+
+weave :: Text -> Text
+weave = id
+#else
+-- Strings otherwise.
+
+import Data.String (IsString)
+import Data.Char (toUpper)
+
+-- For the instance only.
+
+import Data.Coerce (coerce)
+import Data.Bits (xor)
+
+weave :: String -> String
+weave = id
+#endif
diff --git a/corpora/vendored/cpp/import/conditional-imports-out.hs b/corpora/vendored/cpp/import/conditional-imports-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/conditional-imports-out.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Encode (encode) where
+
+import Data.List (intercalate)
+#if MIN_VERSION_base(4,20,0)
+import Data.Foldable (foldl')
+#endif
+import Data.Char (ord)
+
+encode :: String -> String
+encode = intercalate ";" . map (show . ord)
diff --git a/corpora/vendored/cpp/import/conditional-imports.hs b/corpora/vendored/cpp/import/conditional-imports.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/conditional-imports.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Encode (encode) where
+
+import Data.List (intercalate)
+#if MIN_VERSION_base(4,20,0)
+import Data.Foldable (foldl')
+#endif
+import Data.Char (ord)
+
+encode :: String -> String
+encode  =  intercalate ";" . map (show . ord)
diff --git a/corpora/vendored/cpp/import/define-between-imports-folded-together-out.hs b/corpora/vendored/cpp/import/define-between-imports-folded-together-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/define-between-imports-folded-together-out.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Width where
+
+import Data.List (nub, sortOn)
+
+#define WIDTH 80
+width :: Int
+width = WIDTH
diff --git a/corpora/vendored/cpp/import/define-between-imports-folded-together.hs b/corpora/vendored/cpp/import/define-between-imports-folded-together.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/define-between-imports-folded-together.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE CPP #-}
+module Terminal.Width where
+
+import Data.List (nub)
+#define WIDTH 80
+import Data.List (sortOn)
+
+width :: Int
+width  =  WIDTH
diff --git a/corpora/vendored/cpp/import/hiding-behind-a-conditional-out'.hs b/corpora/vendored/cpp/import/hiding-behind-a-conditional-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/hiding-behind-a-conditional-out'.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE CPP #-}
+
+module M where
+
+import Data.Maybe (catMaybes)
+import Language.Haskell.TH.Syntax
+#if MIN_VERSION_template_haskell(2,19,0)
+    hiding (makeRelativeToProject)
+#endif
+import System.Directory (doesFileExist)
+import Yesod.Core
diff --git a/corpora/vendored/cpp/import/hiding-behind-a-conditional-out.hs b/corpora/vendored/cpp/import/hiding-behind-a-conditional-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/hiding-behind-a-conditional-out.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE CPP #-}
+
+module M where
+
+import Data.Maybe (catMaybes)
+import Language.Haskell.TH.Syntax
+#if MIN_VERSION_template_haskell(2,19,0)
+  hiding (makeRelativeToProject)
+#endif
+import System.Directory (doesFileExist)
+import Yesod.Core
diff --git a/corpora/vendored/cpp/import/hiding-behind-a-conditional.hs b/corpora/vendored/cpp/import/hiding-behind-a-conditional.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/hiding-behind-a-conditional.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE CPP #-}
+
+module M where
+
+import Yesod.Core
+import System.Directory (doesFileExist)
+import Language.Haskell.TH.Syntax
+#if MIN_VERSION_template_haskell(2,19,0)
+    hiding (makeRelativeToProject)
+#endif
+import Data.Maybe (catMaybes)
diff --git a/corpora/vendored/cpp/import/import-clause-in-a-branch-with-declarations-out'.hs b/corpora/vendored/cpp/import/import-clause-in-a-branch-with-declarations-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/import-clause-in-a-branch-with-declarations-out'.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE CPP #-}
+
+module B1 (throw) where
+
+import Control.Exception
+#ifdef X
+    hiding (throw)
+
+throw :: Exception e => e -> a
+throw = undefined
+#endif
diff --git a/corpora/vendored/cpp/import/import-clause-in-a-branch-with-declarations-out.hs b/corpora/vendored/cpp/import/import-clause-in-a-branch-with-declarations-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/import-clause-in-a-branch-with-declarations-out.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE CPP #-}
+
+module B1 (throw) where
+
+import Control.Exception
+#ifdef X
+  hiding (throw)
+
+throw :: Exception e => e -> a
+throw = undefined
+#endif
diff --git a/corpora/vendored/cpp/import/import-clause-in-a-branch-with-declarations.hs b/corpora/vendored/cpp/import/import-clause-in-a-branch-with-declarations.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/import-clause-in-a-branch-with-declarations.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE CPP #-}
+module B1 (throw) where
+
+import Control.Exception
+#ifdef X
+  hiding (throw)
+
+throw :: Exception e => e -> a
+throw = undefined
+#endif
diff --git a/corpora/vendored/cpp/import/import-continued-by-a-conditional-folded-with-none-out'.hs b/corpora/vendored/cpp/import/import-continued-by-a-conditional-folded-with-none-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/import-continued-by-a-conditional-folded-with-none-out'.hs
@@ -0,0 +1,24 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Lookup where
+
+import Data.List
+#if MIN_VERSION_base(4,8,0)
+    (sortOn)
+#endif
+import Data.List (nub)
+import Data.Map
+#if MIN_VERSION_containers(0,5,0)
+    hiding (filter)
+#endif
+import Data.Map (Map)
+import Prelude
+#if MIN_VERSION_base(4,8,0)
+    hiding (lookup)
+#else
+    hiding (filter)
+#endif
+import Prelude hiding (lookup)
+
+names :: Map Int String
+names = empty
diff --git a/corpora/vendored/cpp/import/import-continued-by-a-conditional-folded-with-none-out.hs b/corpora/vendored/cpp/import/import-continued-by-a-conditional-folded-with-none-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/import-continued-by-a-conditional-folded-with-none-out.hs
@@ -0,0 +1,24 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Lookup where
+
+import Data.List
+#if MIN_VERSION_base(4,8,0)
+  (sortOn)
+#endif
+import Data.List (nub)
+import Data.Map
+#if MIN_VERSION_containers(0,5,0)
+  hiding (filter)
+#endif
+import Data.Map (Map)
+import Prelude
+#if MIN_VERSION_base(4,8,0)
+  hiding (lookup)
+#else
+  hiding (filter)
+#endif
+import Prelude hiding (lookup)
+
+names :: Map Int String
+names = empty
diff --git a/corpora/vendored/cpp/import/import-continued-by-a-conditional-folded-with-none.hs b/corpora/vendored/cpp/import/import-continued-by-a-conditional-folded-with-none.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/import-continued-by-a-conditional-folded-with-none.hs
@@ -0,0 +1,23 @@
+{-# LANGUAGE CPP #-}
+module Terminal.Lookup where
+
+import Prelude hiding (lookup)
+import Prelude
+#if MIN_VERSION_base(4,8,0)
+  hiding (lookup)
+#else
+  hiding (filter)
+#endif
+import Data.List (nub)
+import Data.List
+#if MIN_VERSION_base(4,8,0)
+  (sortOn)
+#endif
+import Data.Map (Map)
+import Data.Map
+#if MIN_VERSION_containers(0,5,0)
+  hiding (filter)
+#endif
+
+names :: Map Int String
+names  =  empty
diff --git a/corpora/vendored/cpp/import/import-in-one-branch-declarations-in-the-other-out.hs b/corpora/vendored/cpp/import/import-in-one-branch-declarations-in-the-other-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/import-in-one-branch-declarations-in-the-other-out.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Sort where
+
+import Data.Char (toLower)
+
+#if MIN_VERSION_base(4,8,0)
+import Data.List (sortOn)
+#else
+sortOn :: Ord b => (a -> b) -> [a] -> [a]
+sortOn _ = id
+#endif
+
+byName :: [String] -> [String]
+byName = sortOn (fmap toLower)
+
+byLength :: [String] -> [String]
+byLength = sortOn length
diff --git a/corpora/vendored/cpp/import/import-in-one-branch-declarations-in-the-other.hs b/corpora/vendored/cpp/import/import-in-one-branch-declarations-in-the-other.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/import-in-one-branch-declarations-in-the-other.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE CPP #-}
+module Terminal.Sort where
+
+import Data.Char (toLower)
+
+#if MIN_VERSION_base(4,8,0)
+import Data.List (sortOn)
+#else
+sortOn   ::  Ord b => (a -> b) -> [a] -> [a]
+sortOn _  =  id
+#endif
+
+byName :: [String] -> [String]
+byName  =  sortOn (fmap toLower)
+
+byLength :: [String] -> [String]
+byLength  =  sortOn length
diff --git a/corpora/vendored/cpp/import/import-list-behind-a-conditional-out'.hs b/corpora/vendored/cpp/import/import-list-behind-a-conditional-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/import-list-behind-a-conditional-out'.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE CPP #-}
+
+module Kiln.Clock where
+
+-- An import list that a conditional varies whole stays in each branch, on a
+-- line of its own.
+import Data.Word
+#if MIN_VERSION_text(2,0,0)
+    (Word8)
+#else
+    (Word16, Word32)
+#endif
diff --git a/corpora/vendored/cpp/import/import-list-behind-a-conditional-out.hs b/corpora/vendored/cpp/import/import-list-behind-a-conditional-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/import-list-behind-a-conditional-out.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE CPP #-}
+
+module Kiln.Clock where
+
+-- An import list that a conditional varies whole stays in each branch, on a
+-- line of its own.
+import Data.Word
+#if MIN_VERSION_text(2,0,0)
+  (Word8)
+#else
+  (Word16, Word32)
+#endif
diff --git a/corpora/vendored/cpp/import/import-list-behind-a-conditional.hs b/corpora/vendored/cpp/import/import-list-behind-a-conditional.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/import-list-behind-a-conditional.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE CPP #-}
+
+module Kiln.Clock where
+
+-- An import list that a conditional varies whole stays in each branch, on a
+-- line of its own.
+import Data.Word
+#if MIN_VERSION_text(2,0,0)
+  (Word8)
+#else
+  (Word32, Word16)
+#endif
diff --git a/corpora/vendored/cpp/import/import-or-declaration-in-nested-conditionals-out.hs b/corpora/vendored/cpp/import/import-or-declaration-in-nested-conditionals-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/import-or-declaration-in-nested-conditionals-out.hs
@@ -0,0 +1,25 @@
+{-# LANGUAGE CPP #-}
+
+module Kitchen.Compat (boil, simmer) where
+
+import Kitchen.Heat (boil)
+
+#ifdef MODERN_STOVE
+import Kitchen.Heat (simmer)
+#else
+#ifdef GAS
+#if GAS_VERSION >= 3
+import Kitchen.Gas (simmer)
+#else
+simmer :: Pot -> Pot
+simmer = boil
+#endif
+#else
+#if ELECTRIC_VERSION >= 2
+import Kitchen.Electric (simmer)
+#else
+simmer :: Pot -> Pot
+simmer = boil
+#endif
+#endif
+#endif
diff --git a/corpora/vendored/cpp/import/import-or-declaration-in-nested-conditionals.hs b/corpora/vendored/cpp/import/import-or-declaration-in-nested-conditionals.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/import-or-declaration-in-nested-conditionals.hs
@@ -0,0 +1,25 @@
+{-# LANGUAGE CPP #-}
+
+module Kitchen.Compat (boil, simmer) where
+
+import Kitchen.Heat (boil)
+
+#ifdef MODERN_STOVE
+import Kitchen.Heat (simmer)
+#else
+#ifdef GAS
+#if GAS_VERSION >= 3
+import Kitchen.Gas (simmer)
+#else
+simmer :: Pot -> Pot
+simmer = boil
+#endif
+#else
+#if ELECTRIC_VERSION >= 2
+import Kitchen.Electric (simmer)
+#else
+simmer :: Pot -> Pot
+simmer = boil
+#endif
+#endif
+#endif
diff --git a/corpora/vendored/cpp/import/import-with-a-conditional-in-its-head-out'.hs b/corpora/vendored/cpp/import/import-with-a-conditional-in-its-head-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/import-with-a-conditional-in-its-head-out'.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Cache (empty) where
+
+import Data.Char (isSpace)
+import
+#ifdef STRICT_CACHE
+    qualified
+#endif
+    Data.Map as M
+import Text.Read (readMaybe)
+
+empty :: M.Map String String
+empty = M.empty
diff --git a/corpora/vendored/cpp/import/import-with-a-conditional-in-its-head-out.hs b/corpora/vendored/cpp/import/import-with-a-conditional-in-its-head-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/import-with-a-conditional-in-its-head-out.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Cache (empty) where
+
+import Data.Char (isSpace)
+import
+#ifdef STRICT_CACHE
+  qualified
+#endif
+  Data.Map as M
+import Text.Read (readMaybe)
+
+empty :: M.Map String String
+empty = M.empty
diff --git a/corpora/vendored/cpp/import/import-with-a-conditional-in-its-head.hs b/corpora/vendored/cpp/import/import-with-a-conditional-in-its-head.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/import-with-a-conditional-in-its-head.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Cache (empty) where
+
+import Text.Read (readMaybe)
+import
+#ifdef STRICT_CACHE
+  qualified
+#endif
+  Data.Map as M
+import Data.Char (isSpace)
+
+empty :: M.Map String String
+empty  =  M.empty
diff --git a/corpora/vendored/cpp/import/imports-around-a-conditional-holding-a-comment-out.hs b/corpora/vendored/cpp/import/imports-around-a-conditional-holding-a-comment-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/imports-around-a-conditional-holding-a-comment-out.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Size (columns) where
+
+import System.Environment (lookupEnv)
+#ifdef mingw32_HOST_OS
+{- The console size comes from the environment there as well. -}
+#endif
+import Data.Maybe (fromMaybe)
+
+columns :: IO Int
+columns = read . fromMaybe "80" <$> lookupEnv "COLUMNS"
diff --git a/corpora/vendored/cpp/import/imports-around-a-conditional-holding-a-comment.hs b/corpora/vendored/cpp/import/imports-around-a-conditional-holding-a-comment.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/imports-around-a-conditional-holding-a-comment.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Size (columns) where
+
+import System.Environment (lookupEnv)
+#ifdef mingw32_HOST_OS
+  {- The console size comes from the environment there as well. -}
+#endif
+import Data.Maybe (fromMaybe)
+
+columns :: IO Int
+columns  =  read . fromMaybe "80" <$> lookupEnv "COLUMNS"
diff --git a/corpora/vendored/cpp/import/imports-around-a-conditional-holding-a-directive-out.hs b/corpora/vendored/cpp/import/imports-around-a-conditional-holding-a-directive-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/imports-around-a-conditional-holding-a-directive-out.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Width (width) where
+
+import System.Environment (lookupEnv)
+#ifdef WIDE_TERMINALS
+#define DEFAULT_WIDTH 132
+#endif
+import Data.Maybe (fromMaybe)
+
+width :: IO Int
+width = read . fromMaybe "80" <$> lookupEnv "COLUMNS"
diff --git a/corpora/vendored/cpp/import/imports-around-a-conditional-holding-a-directive.hs b/corpora/vendored/cpp/import/imports-around-a-conditional-holding-a-directive.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/imports-around-a-conditional-holding-a-directive.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Width (width) where
+
+import System.Environment (lookupEnv)
+#ifdef WIDE_TERMINALS
+#define DEFAULT_WIDTH 132
+#endif
+import Data.Maybe (fromMaybe)
+
+width :: IO Int
+width  =  read . fromMaybe "80" <$> lookupEnv "COLUMNS"
diff --git a/corpora/vendored/cpp/import/imports-at-an-indented-top-level-out.hs b/corpora/vendored/cpp/import/imports-at-an-indented-top-level-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/imports-at-an-indented-top-level-out.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Bell (bell) where
+
+{-
+import Terminal.Sound
+-}
+import System.IO (hFlush, stdout)
+#ifdef WITH_VISUAL_BELL
+import Terminal.Flash (flash)
+#endif
+import Control.Monad (void)
+
+bell :: IO ()
+bell = void (putStr "\a") >> hFlush stdout
diff --git a/corpora/vendored/cpp/import/imports-at-an-indented-top-level.hs b/corpora/vendored/cpp/import/imports-at-an-indented-top-level.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/imports-at-an-indented-top-level.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Bell (bell) where
+  {-
+import Terminal.Sound
+  -}
+  import System.IO (hFlush, stdout)
+#ifdef WITH_VISUAL_BELL
+  import Terminal.Flash (flash)
+#endif
+  import Control.Monad (void)
+
+  bell :: IO ()
+  bell  =  void (putStr "\a") >> hFlush stdout
diff --git a/corpora/vendored/cpp/import/imports-continued-after-a-conditional-out'.hs b/corpora/vendored/cpp/import/imports-continued-after-a-conditional-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/imports-continued-after-a-conditional-out'.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Lines (wrap) where
+
+import Text.Read (readMaybe)
+#ifdef WITH_TEXT
+import Data.Text
+#else
+import Data.List
+#endif
+#if MIN_VERSION_base(4,20,0)
+    hiding (lines)
+#endif
+import Data.Char (isSpace)
+
+wrap :: Int -> String -> [String]
+wrap n = map (take n) . Prelude.lines
diff --git a/corpora/vendored/cpp/import/imports-continued-after-a-conditional-out.hs b/corpora/vendored/cpp/import/imports-continued-after-a-conditional-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/imports-continued-after-a-conditional-out.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Lines (wrap) where
+
+import Text.Read (readMaybe)
+#ifdef WITH_TEXT
+import Data.Text
+#else
+import Data.List
+#endif
+#if MIN_VERSION_base(4,20,0)
+  hiding (lines)
+#endif
+import Data.Char (isSpace)
+
+wrap :: Int -> String -> [String]
+wrap n = map (take n) . Prelude.lines
diff --git a/corpora/vendored/cpp/import/imports-continued-after-a-conditional.hs b/corpora/vendored/cpp/import/imports-continued-after-a-conditional.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/imports-continued-after-a-conditional.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Lines (wrap) where
+
+import Text.Read (readMaybe)
+#ifdef WITH_TEXT
+import Data.Text
+#else
+import Data.List
+#endif
+#if MIN_VERSION_base(4,20,0)
+    hiding (lines)
+#endif
+import Data.Char (isSpace)
+
+wrap :: Int -> String -> [String]
+wrap n  =  map (take n) . Prelude.lines
diff --git a/corpora/vendored/cpp/import/imports-ending-in-a-conditional-before-declarations-out.hs b/corpora/vendored/cpp/import/imports-ending-in-a-conditional-before-declarations-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/imports-ending-in-a-conditional-before-declarations-out.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Width (width) where
+
+import Data.Char (isSpace)
+#ifdef WITH_WCWIDTH
+import Terminal.Wcwidth (wcwidth)
+#endif
+
+width :: String -> Int
+width = length . filter (not . isSpace)
diff --git a/corpora/vendored/cpp/import/imports-ending-in-a-conditional-before-declarations.hs b/corpora/vendored/cpp/import/imports-ending-in-a-conditional-before-declarations.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/imports-ending-in-a-conditional-before-declarations.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Width (width) where
+
+import Data.Char (isSpace)
+#ifdef WITH_WCWIDTH
+import Terminal.Wcwidth (wcwidth)
+#endif
+width :: String -> Int
+width  =  length . filter (not . isSpace)
diff --git a/corpora/vendored/cpp/import/imports-in-both-branches-out'.hs b/corpora/vendored/cpp/import/imports-in-both-branches-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/imports-in-both-branches-out'.hs
@@ -0,0 +1,21 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Capability (probe) where
+
+import Data.Maybe (fromMaybe)
+import Terminal.Encode (encode)
+#ifdef WITH_TERMINFO
+import Data.List (isPrefixOf)
+import Terminal.Terminfo (lookupCapability)
+#else
+import Terminal.Static (staticCapability)
+#endif
+
+probe :: String -> String
+#ifdef WITH_TERMINFO
+probe name
+    | "x" `isPrefixOf` name = encode name
+    | otherwise = fromMaybe "" (lookupCapability name)
+#else
+probe name = fromMaybe (encode name) (staticCapability name)
+#endif
diff --git a/corpora/vendored/cpp/import/imports-in-both-branches-out.hs b/corpora/vendored/cpp/import/imports-in-both-branches-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/imports-in-both-branches-out.hs
@@ -0,0 +1,21 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Capability (probe) where
+
+import Data.Maybe (fromMaybe)
+import Terminal.Encode (encode)
+#ifdef WITH_TERMINFO
+import Data.List (isPrefixOf)
+import Terminal.Terminfo (lookupCapability)
+#else
+import Terminal.Static (staticCapability)
+#endif
+
+probe :: String -> String
+#ifdef WITH_TERMINFO
+probe name
+  | "x" `isPrefixOf` name = encode name
+  | otherwise = fromMaybe "" (lookupCapability name)
+#else
+probe name = fromMaybe (encode name) (staticCapability name)
+#endif
diff --git a/corpora/vendored/cpp/import/imports-in-both-branches.hs b/corpora/vendored/cpp/import/imports-in-both-branches.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/imports-in-both-branches.hs
@@ -0,0 +1,21 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Capability (probe) where
+
+import Data.Maybe (fromMaybe)
+import Terminal.Encode (encode)
+#ifdef WITH_TERMINFO
+import Data.List (isPrefixOf)
+import Terminal.Terminfo (lookupCapability)
+#else
+import Terminal.Static (staticCapability)
+#endif
+
+probe :: String -> String
+#ifdef WITH_TERMINFO
+probe name
+    | "x" `isPrefixOf` name  =  encode name
+    | otherwise  =  fromMaybe "" (lookupCapability name)
+#else
+probe name  =  fromMaybe (encode name) (staticCapability name)
+#endif
diff --git a/corpora/vendored/cpp/import/imports-in-explicit-braces-out.hs b/corpora/vendored/cpp/import/imports-in-explicit-braces-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/imports-in-explicit-braces-out.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Title (setTitle) where
+
+import System.IO (hFlush, stdout)
+#ifdef WITH_TERMINFO
+import Terminal.Terminfo (lookupCapability)
+#endif
+import Control.Monad (void)
+
+setTitle :: String -> IO ()
+setTitle t = void (putStr ("\ESC]0;" ++ t ++ "\a")) >> hFlush stdout
diff --git a/corpora/vendored/cpp/import/imports-in-explicit-braces.hs b/corpora/vendored/cpp/import/imports-in-explicit-braces.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/imports-in-explicit-braces.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Title (setTitle) where {
+import System.IO (hFlush, stdout);
+#ifdef WITH_TERMINFO
+  import Terminal.Terminfo (lookupCapability);
+#endif
+import Control.Monad (void);
+
+setTitle :: String -> IO ();
+setTitle t  =  void (putStr ("\ESC]0;" ++ t ++ "\a")) >> hFlush stdout
+}
diff --git a/corpora/vendored/cpp/import/imports-merged-across-a-define-out.hs b/corpora/vendored/cpp/import/imports-merged-across-a-define-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/imports-merged-across-a-define-out.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Markup where
+
+import Control.Arrow (first, second)
+import Control.Monad (when)
+#define Html Markup
+#define toHtml toMarkup
+import Data.Maybe (fromMaybe)
+import Data.Text (Text)
+import Text.Blaze (Markup, toMarkup)
+
+label :: Text -> Html
+label = toHtml
diff --git a/corpora/vendored/cpp/import/imports-merged-across-a-define.hs b/corpora/vendored/cpp/import/imports-merged-across-a-define.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/imports-merged-across-a-define.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE CPP #-}
+module Terminal.Markup where
+
+import Data.Text (Text)
+import Control.Arrow (second)
+import Control.Monad (when)
+import Text.Blaze (Markup, toMarkup)
+#define Html Markup
+#define toHtml toMarkup
+import Data.Maybe (fromMaybe)
+import Control.Arrow (first)
+
+label :: Text -> Html
+label  =  toHtml
diff --git a/corpora/vendored/cpp/import/imports-only-in-one-branch-out.hs b/corpora/vendored/cpp/import/imports-only-in-one-branch-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/imports-only-in-one-branch-out.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+
+module B2 where
+
+import Data.Maybe (fromMaybe)
+#ifdef X
+import Data.List (sort)
+
+sorted :: [Int] -> [Int]
+sorted = sort
+#else
+import Data.Char (ord)
+#endif
diff --git a/corpora/vendored/cpp/import/imports-only-in-one-branch.hs b/corpora/vendored/cpp/import/imports-only-in-one-branch.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/imports-only-in-one-branch.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE CPP #-}
+module B2 where
+
+import Data.Maybe (fromMaybe)
+#ifdef X
+import Data.List (sort)
+
+sorted :: [Int] -> [Int]
+sorted = sort
+#else
+import Data.Char (ord)
+#endif
diff --git a/corpora/vendored/cpp/import/imports-written-in-different-branches-out'.hs b/corpora/vendored/cpp/import/imports-written-in-different-branches-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/imports-written-in-different-branches-out'.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Errors (isUnsupported) where
+
+import Control.Exception (IOException)
+#ifndef __MHS__
+import GHC.IO.Exception
+#else
+import System.IO.Error
+#endif
+    (IOErrorType (..), ioe_type)
+import Data.Bool (bool)
+
+isUnsupported :: IOError -> Bool
+isUnsupported e = ioe_type e == UnsupportedOperation
diff --git a/corpora/vendored/cpp/import/imports-written-in-different-branches-out.hs b/corpora/vendored/cpp/import/imports-written-in-different-branches-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/imports-written-in-different-branches-out.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Errors (isUnsupported) where
+
+import Control.Exception (IOException)
+#ifndef __MHS__
+import GHC.IO.Exception
+#else
+import System.IO.Error
+#endif
+  (IOErrorType (..), ioe_type)
+import Data.Bool (bool)
+
+isUnsupported :: IOError -> Bool
+isUnsupported e = ioe_type e == UnsupportedOperation
diff --git a/corpora/vendored/cpp/import/imports-written-in-different-branches.hs b/corpora/vendored/cpp/import/imports-written-in-different-branches.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/imports-written-in-different-branches.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Errors (isUnsupported) where
+
+import Control.Exception (IOException)
+#ifndef __MHS__
+import           GHC.IO.Exception
+#else
+import           System.IO.Error
+#endif
+  ( ioe_type, IOErrorType(..) )
+import Data.Bool (bool)
+
+isUnsupported :: IOError -> Bool
+isUnsupported e  =  ioe_type e == UnsupportedOperation
diff --git a/corpora/vendored/cpp/import/module-with-no-declarations-out.hs b/corpora/vendored/cpp/import/module-with-no-declarations-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/module-with-no-declarations-out.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE CPP #-}
+
+module Ledger.Compat (module X) where
+
+#if MIN_VERSION_base(4,19,0)
+import Data.List as X (unsnoc)
+#else
+import Ledger.Compat.List as X (unsnoc)
+#endif
+import Data.Functor as X ((<&>))
diff --git a/corpora/vendored/cpp/import/module-with-no-declarations.hs b/corpora/vendored/cpp/import/module-with-no-declarations.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/module-with-no-declarations.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE CPP #-}
+
+module Ledger.Compat (module X) where
+
+#if MIN_VERSION_base(4,19,0)
+import Data.List as X (unsnoc)
+#else
+import Ledger.Compat.List as X (unsnoc)
+#endif
+import Data.Functor   as X  ( (<&>) )
diff --git a/corpora/vendored/cpp/import/names-of-a-list-behind-a-conditional-out'.hs b/corpora/vendored/cpp/import/names-of-a-list-behind-a-conditional-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/names-of-a-list-behind-a-conditional-out'.hs
@@ -0,0 +1,28 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Signals where
+
+import Data.List
+    ( nub
+    , sortOn
+#if MIN_VERSION_base(4,8,0)
+    , foldl1
+#endif
+    , group
+    )
+import System.Posix.Signals
+    ( Handler (..)
+    , installHandler
+#if MIN_VERSION_unix(2,7,0)
+    , raiseSignal
+    , sigINT
+#if MIN_VERSION_unix(2,8,0)
+    , sigWINCH
+#endif
+#else
+    , sigTERM
+    , signalProcess
+#endif
+    , blockSignals
+    , emptySignalSet
+    )
diff --git a/corpora/vendored/cpp/import/names-of-a-list-behind-a-conditional-out.hs b/corpora/vendored/cpp/import/names-of-a-list-behind-a-conditional-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/names-of-a-list-behind-a-conditional-out.hs
@@ -0,0 +1,28 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Signals where
+
+import Data.List
+  ( nub,
+    sortOn,
+#if MIN_VERSION_base(4,8,0)
+    foldl1,
+#endif
+    group,
+  )
+import System.Posix.Signals
+  ( Handler (..),
+    installHandler,
+#if MIN_VERSION_unix(2,7,0)
+    raiseSignal,
+    sigINT,
+#if MIN_VERSION_unix(2,8,0)
+    sigWINCH,
+#endif
+#else
+    sigTERM,
+    signalProcess,
+#endif
+    blockSignals,
+    emptySignalSet,
+  )
diff --git a/corpora/vendored/cpp/import/names-of-a-list-behind-a-conditional.hs b/corpora/vendored/cpp/import/names-of-a-list-behind-a-conditional.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/names-of-a-list-behind-a-conditional.hs
@@ -0,0 +1,22 @@
+{-# LANGUAGE CPP #-}
+module Terminal.Signals where
+
+import Data.List
+    ( sortOn, nub
+#if MIN_VERSION_base(4,8,0)
+    , foldl1
+#endif
+    , group
+    )
+import System.Posix.Signals
+    ( installHandler, Handler(..)
+#if MIN_VERSION_unix(2,7,0)
+    , raiseSignal, sigINT
+#if MIN_VERSION_unix(2,8,0)
+    , sigWINCH
+#endif
+#else
+    , signalProcess, sigTERM
+#endif
+    , emptySignalSet, blockSignals
+    )
diff --git a/corpora/vendored/cpp/import/nested-conditional-in-an-import-sorted-down-out'.hs b/corpora/vendored/cpp/import/nested-conditional-in-an-import-sorted-down-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/nested-conditional-in-an-import-sorted-down-out'.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Mask where
+
+import qualified Control.Concurrent as C
+import Control.Exception hiding
+    ( throwIO
+#if MIN_VERSION_base(4,3,0)
+    , mask
+#if MIN_VERSION_base(4,4,0)
+    , allowInterrupt
+#endif
+#else
+    , block
+#endif
+    )
diff --git a/corpora/vendored/cpp/import/nested-conditional-in-an-import-sorted-down-out.hs b/corpora/vendored/cpp/import/nested-conditional-in-an-import-sorted-down-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/nested-conditional-in-an-import-sorted-down-out.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Mask where
+
+import qualified Control.Concurrent as C
+import Control.Exception hiding
+  ( throwIO,
+#if MIN_VERSION_base(4,3,0)
+    mask,
+#if MIN_VERSION_base(4,4,0)
+    allowInterrupt,
+#endif
+#else
+    block,
+#endif
+  )
diff --git a/corpora/vendored/cpp/import/nested-conditional-in-an-import-sorted-down.hs b/corpora/vendored/cpp/import/nested-conditional-in-an-import-sorted-down.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/nested-conditional-in-an-import-sorted-down.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE CPP #-}
+module Terminal.Mask where
+
+import Control.Exception hiding
+    ( throwIO
+#if MIN_VERSION_base(4,3,0)
+    , mask
+#if MIN_VERSION_base(4,4,0)
+    , allowInterrupt
+#endif
+#else
+    , block
+#endif
+    )
+import qualified Control.Concurrent as C
diff --git a/corpora/vendored/cpp/import/own-imports-after-a-conditional-out.hs b/corpora/vendored/cpp/import/own-imports-after-a-conditional-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/own-imports-after-a-conditional-out.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE PackageImports #-}
+
+module Weather.Report (report) where
+
+import Data.List (sortOn)
+#if defined(USE_CONTAINERS)
+import Data.Map (Map)
+#endif
+
+import "this" Weather.Reading (Reading, readingTime)
+
+report :: [Reading] -> [Reading]
+report = sortOn readingTime
diff --git a/corpora/vendored/cpp/import/own-imports-after-a-conditional.hs b/corpora/vendored/cpp/import/own-imports-after-a-conditional.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/own-imports-after-a-conditional.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE PackageImports #-}
+
+module Weather.Report (report) where
+
+import Data.List (sortOn)
+#if defined(USE_CONTAINERS)
+import Data.Map (Map)
+#endif
+import "this" Weather.Reading (Reading, readingTime)
+
+report :: [Reading] -> [Reading]
+report = sortOn readingTime
diff --git a/corpora/vendored/cpp/import/own-imports-before-a-conditional-out.hs b/corpora/vendored/cpp/import/own-imports-before-a-conditional-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/own-imports-before-a-conditional-out.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE PackageImports #-}
+
+module Weather.Report (report) where
+
+import Data.List (sortOn)
+
+import "this" Weather.Reading (Reading, readingTime)
+
+#if defined(USE_CONTAINERS)
+import Data.Map (Map)
+
+import "this" Weather.Station (Station)
+#endif
+
+report :: [Reading] -> [Reading]
+report = sortOn readingTime
diff --git a/corpora/vendored/cpp/import/own-imports-before-a-conditional.hs b/corpora/vendored/cpp/import/own-imports-before-a-conditional.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/own-imports-before-a-conditional.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE PackageImports #-}
+
+module Weather.Report (report) where
+
+import Data.List (sortOn)
+import "this" Weather.Reading (Reading, readingTime)
+#if defined(USE_CONTAINERS)
+import Data.Map (Map)
+import "this" Weather.Station (Station)
+#endif
+
+report :: [Reading] -> [Reading]
+report = sortOn readingTime
diff --git a/corpora/vendored/cpp/import/pragma-and-import-in-a-conditional-with-no-header-out.hs b/corpora/vendored/cpp/import/pragma-and-import-in-a-conditional-with-no-header-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/pragma-and-import-in-a-conditional-with-no-header-out.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE CPP #-}
+#if !MIN_VERSION_base(4,8,0)
+{-# LANGUAGE DeriveDataTypeable #-}
+
+import Control.Applicative ((<$>))
+#endif
+import Data.Int
+
+main :: IO ()
+main = pure ()
diff --git a/corpora/vendored/cpp/import/pragma-and-import-in-a-conditional-with-no-header.hs b/corpora/vendored/cpp/import/pragma-and-import-in-a-conditional-with-no-header.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/pragma-and-import-in-a-conditional-with-no-header.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE CPP #-}
+
+#if !MIN_VERSION_base(4,8,0)
+{-# LANGUAGE DeriveDataTypeable #-}
+import Control.Applicative ((<$>))
+#endif
+
+import Data.Int
+
+main :: IO ()
+main  =  pure ()
diff --git a/corpora/vendored/cpp/import/qualified-imports-written-in-different-branches-out'.hs b/corpora/vendored/cpp/import/qualified-imports-written-in-different-branches-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/qualified-imports-written-in-different-branches-out'.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Text (strip) where
+
+import Text.Read (readMaybe)
+#ifdef WITH_LAZY_TEXT
+import qualified Data.Text.Lazy as T
+#else
+import qualified Data.Text as T
+#endif
+    hiding (lines)
+import Data.Char (isSpace)
+
+strip :: T.Text -> T.Text
+strip = T.strip
diff --git a/corpora/vendored/cpp/import/qualified-imports-written-in-different-branches-out.hs b/corpora/vendored/cpp/import/qualified-imports-written-in-different-branches-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/qualified-imports-written-in-different-branches-out.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Text (strip) where
+
+import Text.Read (readMaybe)
+#ifdef WITH_LAZY_TEXT
+import qualified Data.Text.Lazy as T
+#else
+import qualified Data.Text as T
+#endif
+  hiding (lines)
+import Data.Char (isSpace)
+
+strip :: T.Text -> T.Text
+strip = T.strip
diff --git a/corpora/vendored/cpp/import/qualified-imports-written-in-different-branches.hs b/corpora/vendored/cpp/import/qualified-imports-written-in-different-branches.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/import/qualified-imports-written-in-different-branches.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Text (strip) where
+
+import Text.Read (readMaybe)
+#ifdef WITH_LAZY_TEXT
+import qualified Data.Text.Lazy as T
+#else
+import qualified Data.Text as T
+#endif
+    hiding (lines)
+import Data.Char (isSpace)
+
+strip :: T.Text -> T.Text
+strip  =  T.strip
diff --git a/corpora/vendored/cpp/macro/context-headed-by-a-macro-in-brackets-out'.hs b/corpora/vendored/cpp/macro/context-headed-by-a-macro-in-brackets-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/macro/context-headed-by-a-macro-in-brackets-out'.hs
@@ -0,0 +1,22 @@
+{-# LANGUAGE CPP #-}
+
+-- A macro may stand for more constraints than one, so the brackets written
+-- around a context headed by one stay.
+module Control.Monad.Trans.Fail where
+
+import Data.String (IsString)
+
+#if !MIN_VERSION_base(4,13,0)
+#define IS_MONAD_STRING IsString e,
+#else
+#define IS_MONAD_STRING
+#endif
+
+failing :: (IS_MONAD_STRING Monad m) => e -> m ()
+failing _ = pure ()
+
+class Monad m => MonadFailure e m where
+    failure :: e -> m a
+
+instance (IS_MONAD_STRING Monad m) => MonadFailure e (Maybe' m) where
+    failure _ = undefined
diff --git a/corpora/vendored/cpp/macro/context-headed-by-a-macro-in-brackets-out.hs b/corpora/vendored/cpp/macro/context-headed-by-a-macro-in-brackets-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/macro/context-headed-by-a-macro-in-brackets-out.hs
@@ -0,0 +1,22 @@
+{-# LANGUAGE CPP #-}
+
+-- A macro may stand for more constraints than one, so the brackets written
+-- around a context headed by one stay.
+module Control.Monad.Trans.Fail where
+
+import Data.String (IsString)
+
+#if !MIN_VERSION_base(4,13,0)
+#define IS_MONAD_STRING IsString e,
+#else
+#define IS_MONAD_STRING
+#endif
+
+failing :: (IS_MONAD_STRING Monad m) => e -> m ()
+failing _ = pure ()
+
+class Monad m => MonadFailure e m where
+  failure :: e -> m a
+
+instance (IS_MONAD_STRING Monad m) => MonadFailure e (Maybe' m) where
+  failure _ = undefined
diff --git a/corpora/vendored/cpp/macro/context-headed-by-a-macro-in-brackets.hs b/corpora/vendored/cpp/macro/context-headed-by-a-macro-in-brackets.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/macro/context-headed-by-a-macro-in-brackets.hs
@@ -0,0 +1,22 @@
+{-# LANGUAGE CPP #-}
+
+-- A macro may stand for more constraints than one, so the brackets written
+-- around a context headed by one stay.
+module Control.Monad.Trans.Fail where
+
+import Data.String (IsString)
+
+#if !MIN_VERSION_base(4,13,0)
+#define IS_MONAD_STRING IsString e,
+#else
+#define IS_MONAD_STRING
+#endif
+
+failing :: (IS_MONAD_STRING Monad m) => e -> m ()
+failing _ = pure ()
+
+class Monad m => MonadFailure e m where
+  failure :: e -> m a
+
+instance ((IS_MONAD_STRING Monad m)) => MonadFailure e (Maybe' m) where
+  failure _ = undefined
diff --git a/corpora/vendored/cpp/macro/context-headed-by-a-macro-out'.hs b/corpora/vendored/cpp/macro/context-headed-by-a-macro-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/macro/context-headed-by-a-macro-out'.hs
@@ -0,0 +1,29 @@
+{-# LANGUAGE CPP #-}
+
+-- A macro may stand for a whole constraint and its arrow, or for a pragma,
+-- so a context headed by one gets no parentheses that would close it in.
+module M where
+
+import GHC.Stack (HasCallStack)
+
+#define CALLSTACK HasCallStack =>
+#define OVERLAPS {-# OVERLAPPING #-}
+
+assertEqual :: CALLSTACK (Eq a, Show a) => a -> a -> IO ()
+assertEqual expected actual = print (expected == actual)
+
+firstOf
+    :: CALLSTACK
+        Foldable
+        t
+    => t a -> a
+firstOf = foldr const (error "empty")
+
+same :: Eq a => a -> a -> Bool
+same = (==)
+
+class Pretty a where
+    pretty :: a -> String
+
+instance OVERLAPS (Pretty a, Pretty b) => Pretty (a, b) where
+    pretty (a, b) = pretty a <> pretty b
diff --git a/corpora/vendored/cpp/macro/context-headed-by-a-macro-out.hs b/corpora/vendored/cpp/macro/context-headed-by-a-macro-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/macro/context-headed-by-a-macro-out.hs
@@ -0,0 +1,29 @@
+{-# LANGUAGE CPP #-}
+
+-- A macro may stand for a whole constraint and its arrow, or for a pragma,
+-- so a context headed by one gets no parentheses that would close it in.
+module M where
+
+import GHC.Stack (HasCallStack)
+
+#define CALLSTACK HasCallStack =>
+#define OVERLAPS {-# OVERLAPPING #-}
+
+assertEqual :: CALLSTACK (Eq a, Show a) => a -> a -> IO ()
+assertEqual expected actual = print (expected == actual)
+
+firstOf ::
+  CALLSTACK
+    Foldable
+    t =>
+  t a -> a
+firstOf = foldr const (error "empty")
+
+same :: Eq a => a -> a -> Bool
+same = (==)
+
+class Pretty a where
+  pretty :: a -> String
+
+instance OVERLAPS (Pretty a, Pretty b) => Pretty (a, b) where
+  pretty (a, b) = pretty a <> pretty b
diff --git a/corpora/vendored/cpp/macro/context-headed-by-a-macro.hs b/corpora/vendored/cpp/macro/context-headed-by-a-macro.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/macro/context-headed-by-a-macro.hs
@@ -0,0 +1,26 @@
+{-# LANGUAGE CPP #-}
+
+-- A macro may stand for a whole constraint and its arrow, or for a pragma,
+-- so a context headed by one gets no parentheses that would close it in.
+module M where
+
+import GHC.Stack (HasCallStack)
+
+#define CALLSTACK HasCallStack =>
+#define OVERLAPS {-# OVERLAPPING #-}
+
+assertEqual :: CALLSTACK (Eq a, Show a) => a -> a -> IO ()
+assertEqual expected actual = print (expected == actual)
+
+firstOf :: CALLSTACK
+           Foldable t => t a -> a
+firstOf = foldr const (error "empty")
+
+same :: Eq a => a -> a -> Bool
+same = (==)
+
+class Pretty a where
+  pretty :: a -> String
+
+instance OVERLAPS (Pretty a, Pretty b) => Pretty (a, b) where
+  pretty (a, b) = pretty a <> pretty b
diff --git a/corpora/vendored/cpp/macro/define-above-the-declarations-out.hs b/corpora/vendored/cpp/macro/define-above-the-declarations-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/macro/define-above-the-declarations-out.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE CPP #-}
+
+module Lifted.Instances (lift) where
+
+#define LIFTED(T) instance Lifted m => Lifted (T m) where lifted = lift . lifted
+
+lift :: m a -> t m a
+lift = undefined
+
+#if !MIN_VERSION_transformers(0,6,0)
+LIFTED(ListT)
+#endif
+
+lifted :: m a -> m a
+lifted = id
diff --git a/corpora/vendored/cpp/macro/define-above-the-declarations.hs b/corpora/vendored/cpp/macro/define-above-the-declarations.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/macro/define-above-the-declarations.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE CPP #-}
+
+module Lifted.Instances (lift) where
+
+#define LIFTED(T) instance Lifted m => Lifted (T m) where lifted = lift . lifted
+
+lift :: m a -> t m a
+lift = undefined
+
+#if !MIN_VERSION_transformers(0,6,0)
+LIFTED(ListT)
+#endif
+
+lifted :: m a -> m a
+lifted = id
diff --git a/corpora/vendored/cpp/macro/define-across-lines-out.hs b/corpora/vendored/cpp/macro/define-across-lines-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/macro/define-across-lines-out.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Wrapped where
+
+#define WRAP(a,b)   \
+  ("<" ++ a         \
+       ++ b ++ ">")
+
+both :: String
+both = WRAP ("x","y")
diff --git a/corpora/vendored/cpp/macro/define-across-lines.hs b/corpora/vendored/cpp/macro/define-across-lines.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/macro/define-across-lines.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Wrapped where
+
+#define WRAP(a,b)   \
+  ("<" ++ a         \
+       ++ b ++ ">")
+
+both :: String
+both  =  WRAP("x","y")
diff --git a/corpora/vendored/cpp/macro/define-between-conditionals-out.hs b/corpora/vendored/cpp/macro/define-between-conditionals-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/macro/define-between-conditionals-out.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+
+module M where
+
+-- | documentation
+#if FLAG
+-- a remark
+f9 = 9
+#endif
+#define WIDE 1
+#if FLAG
+-- a remark
+#endif
diff --git a/corpora/vendored/cpp/macro/define-between-conditionals.hs b/corpora/vendored/cpp/macro/define-between-conditionals.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/macro/define-between-conditionals.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+
+module M where
+
+-- | documentation
+#if FLAG
+-- a remark
+f9 = 9
+#endif
+#define WIDE 1
+#if FLAG
+-- a remark
+#endif
diff --git a/corpora/vendored/cpp/macro/define-between-declarations-out.hs b/corpora/vendored/cpp/macro/define-between-declarations-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/macro/define-between-declarations-out.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE CPP #-}
+
+module Lifted.Instances where
+
+lift :: m a -> t m a
+lift = undefined
+
+#define LIFTED(T) instance Lifted m => Lifted (T m) where lifted = lift . lifted
+
+lifted :: m a -> m a
+lifted = id
+
+#if !MIN_VERSION_transformers(0,6,0)
+LIFTED(ListT)
+#endif
diff --git a/corpora/vendored/cpp/macro/define-between-declarations.hs b/corpora/vendored/cpp/macro/define-between-declarations.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/macro/define-between-declarations.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE CPP #-}
+
+module Lifted.Instances where
+
+lift :: m a -> t m a
+lift = undefined
+
+#define LIFTED(T) instance Lifted m => Lifted (T m) where lifted = lift . lifted
+
+lifted :: m a -> m a
+lifted = id
+
+#if !MIN_VERSION_transformers(0,6,0)
+LIFTED(ListT)
+#endif
diff --git a/corpora/vendored/cpp/macro/define-ended-by-a-blank-line-out.hs b/corpora/vendored/cpp/macro/define-ended-by-a-blank-line-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/macro/define-ended-by-a-blank-line-out.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Derived where
+
+class Described a
+
+#define describe(ty)      \
+instance Described ty where { \
+  }                           \
+
+describe(Int)
+describe(Bool)
diff --git a/corpora/vendored/cpp/macro/define-ended-by-a-blank-line.hs b/corpora/vendored/cpp/macro/define-ended-by-a-blank-line.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/macro/define-ended-by-a-blank-line.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Derived where
+
+class Described a
+
+#define describe(ty)      \
+instance Described ty where { \
+  }                           \
+
+describe(Int)
+describe(Bool)
diff --git a/corpora/vendored/cpp/macro/define-in-one-branch-of-a-chain-out.hs b/corpora/vendored/cpp/macro/define-in-one-branch-of-a-chain-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/macro/define-in-one-branch-of-a-chain-out.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE CPP #-}
+
+module Platform.Word where
+
+#if defined(i386_HOST_ARCH)
+#define WORD_BYTES 4
+wordBytes :: Int
+wordBytes = 4
+#elif defined(x86_64_HOST_ARCH)
+#define WORD_BYTES 8
+wordBytes :: Int
+wordBytes = 8
+#else
+wordBytes :: Int
+wordBytes = 0
+#endif
diff --git a/corpora/vendored/cpp/macro/define-in-one-branch-of-a-chain.hs b/corpora/vendored/cpp/macro/define-in-one-branch-of-a-chain.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/macro/define-in-one-branch-of-a-chain.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE CPP #-}
+
+module Platform.Word where
+
+#if defined(i386_HOST_ARCH)
+#define WORD_BYTES 4
+wordBytes :: Int
+wordBytes = 4
+#elif defined(x86_64_HOST_ARCH)
+#define WORD_BYTES 8
+wordBytes :: Int
+wordBytes   =   8
+#else
+wordBytes :: Int
+wordBytes = 0
+#endif
diff --git a/corpora/vendored/cpp/macro/define-out.hs b/corpora/vendored/cpp/macro/define-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/macro/define-out.hs
@@ -0,0 +1,8 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Macro where
+
+#define ESCAPE(n) ("\ESC[" ++ show n ++ "m")
+
+plain :: String
+plain = ESCAPE (0)
diff --git a/corpora/vendored/cpp/macro/define.hs b/corpora/vendored/cpp/macro/define.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/macro/define.hs
@@ -0,0 +1,8 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Macro where
+
+#define ESCAPE(n) ("\ESC[" ++ show n ++ "m")
+
+plain :: String
+plain  =  ESCAPE(0)
diff --git a/corpora/vendored/cpp/macro/haddock-after-a-macro-expanding-longer-out'.hs b/corpora/vendored/cpp/macro/haddock-after-a-macro-expanding-longer-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/macro/haddock-after-a-macro-expanding-longer-out'.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE CPP #-}
+
+module Data.Propagator.Cell where
+
+#define M IO
+
+-- | What a propagator does when its cell changes.
+data Result
+    = -- | Wait for another update.
+      StillBottom (M ())
+    | -- | Nothing is left to do.
+      Done
diff --git a/corpora/vendored/cpp/macro/haddock-after-a-macro-expanding-longer-out.hs b/corpora/vendored/cpp/macro/haddock-after-a-macro-expanding-longer-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/macro/haddock-after-a-macro-expanding-longer-out.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE CPP #-}
+
+module Data.Propagator.Cell where
+
+#define M IO
+
+-- | What a propagator does when its cell changes.
+data Result
+  = -- | Wait for another update.
+    StillBottom (M ())
+  | -- | Nothing is left to do.
+    Done
diff --git a/corpora/vendored/cpp/macro/haddock-after-a-macro-expanding-longer.hs b/corpora/vendored/cpp/macro/haddock-after-a-macro-expanding-longer.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/macro/haddock-after-a-macro-expanding-longer.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE CPP #-}
+
+module Data.Propagator.Cell where
+
+#define M IO
+
+-- | What a propagator does when its cell changes.
+data Result
+  = StillBottom (M ()) -- ^ Wait for another update.
+  | Done -- ^ Nothing is left to do.
diff --git a/corpora/vendored/cpp/macro/macro-above-a-case-out'.hs b/corpora/vendored/cpp/macro/macro-above-a-case-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/macro/macro-above-a-case-out'.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE CPP #-}
+
+module Bounds.Check where
+
+#if defined(ASSERTS)
+#define CHECK(i) if (i) < 0 then error "negative index" else
+#else
+#define CHECK(i)
+#endif
+
+pick :: Int -> String
+pick i =
+    CHECK(i)
+    case i of
+        0 -> "zero"
+        _ -> "more"
diff --git a/corpora/vendored/cpp/macro/macro-above-a-case-out.hs b/corpora/vendored/cpp/macro/macro-above-a-case-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/macro/macro-above-a-case-out.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE CPP #-}
+
+module Bounds.Check where
+
+#if defined(ASSERTS)
+#define CHECK(i) if (i) < 0 then error "negative index" else
+#else
+#define CHECK(i)
+#endif
+
+pick :: Int -> String
+pick i =
+  CHECK(i)
+  case i of
+    0 -> "zero"
+    _ -> "more"
diff --git a/corpora/vendored/cpp/macro/macro-above-a-case.hs b/corpora/vendored/cpp/macro/macro-above-a-case.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/macro/macro-above-a-case.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE CPP #-}
+
+module Bounds.Check where
+
+#if defined(ASSERTS)
+#define CHECK(i) if (i) < 0 then error "negative index" else
+#else
+#define CHECK(i)
+#endif
+
+pick :: Int -> String
+pick i =
+    CHECK(i)
+    case i of
+        0 -> "zero"
+        _ -> "more"
diff --git a/corpora/vendored/cpp/macro/macro-above-a-pragma-in-a-class-out'.hs b/corpora/vendored/cpp/macro/macro-above-a-pragma-in-a-class-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/macro/macro-above-a-pragma-in-a-class-out'.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE CPP #-}
+
+-- A use above a pragma at its indentation stands for a member of the class,
+-- as the pragma is no comment but code.
+module Solver.Measure where
+
+#define SIGNATURE(x) x
+
+class Measure a where
+    size :: a -> Int
+    SIGNATURE(weight :: a -> Int)
+    {-# MINIMAL size #-}
+
+total :: Int
+total = 0
diff --git a/corpora/vendored/cpp/macro/macro-above-a-pragma-in-a-class-out.hs b/corpora/vendored/cpp/macro/macro-above-a-pragma-in-a-class-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/macro/macro-above-a-pragma-in-a-class-out.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE CPP #-}
+
+-- A use above a pragma at its indentation stands for a member of the class,
+-- as the pragma is no comment but code.
+module Solver.Measure where
+
+#define SIGNATURE(x) x
+
+class Measure a where
+  size :: a -> Int
+  SIGNATURE(weight :: a -> Int)
+  {-# MINIMAL size #-}
+
+total :: Int
+total = 0
diff --git a/corpora/vendored/cpp/macro/macro-above-a-pragma-in-a-class.hs b/corpora/vendored/cpp/macro/macro-above-a-pragma-in-a-class.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/macro/macro-above-a-pragma-in-a-class.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE CPP #-}
+
+-- A use above a pragma at its indentation stands for a member of the class,
+-- as the pragma is no comment but code.
+module Solver.Measure where
+
+#define SIGNATURE(x) x
+
+class Measure a where
+    size :: a -> Int
+    SIGNATURE(weight :: a -> Int)
+    {-# MINIMAL size #-}
+
+total :: Int
+total = 0
diff --git a/corpora/vendored/cpp/macro/macro-after-an-opening-brace-out'.hs b/corpora/vendored/cpp/macro/macro-after-an-opening-brace-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/macro/macro-after-an-opening-brace-out'.hs
@@ -0,0 +1,37 @@
+{-# LANGUAGE CPP #-}
+
+module M where
+
+#define SMALL(n) n -> True;
+#define DOUBLED(x) doubled = x * 2;
+
+isSmall :: Int -> Bool
+isSmall w = case w of
+    {
+      SMALL(0)
+      SMALL(1)
+      _ -> False
+    }
+
+isTiny :: Int -> Bool
+isTiny w = case w of
+    {
+#define TINY(n) n -> True;
+      TINY(0)
+#undef TINY
+      _ -> False
+    }
+
+quadrupled :: Int -> Int
+quadrupled x =
+    let {
+          DOUBLED(x)
+          twice = doubled * 2 }
+     in twice
+
+octupled :: Int -> Int
+octupled x = thrice
+    where
+        {
+          DOUBLED(x)
+          thrice = doubled * 4 }
diff --git a/corpora/vendored/cpp/macro/macro-after-an-opening-brace-out.hs b/corpora/vendored/cpp/macro/macro-after-an-opening-brace-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/macro/macro-after-an-opening-brace-out.hs
@@ -0,0 +1,37 @@
+{-# LANGUAGE CPP #-}
+
+module M where
+
+#define SMALL(n) n -> True;
+#define DOUBLED(x) doubled = x * 2;
+
+isSmall :: Int -> Bool
+isSmall w = case w of
+  {
+    SMALL(0)
+    SMALL(1)
+    _ -> False
+  }
+
+isTiny :: Int -> Bool
+isTiny w = case w of
+  {
+#define TINY(n) n -> True;
+    TINY(0)
+#undef TINY
+    _ -> False
+  }
+
+quadrupled :: Int -> Int
+quadrupled x =
+  let {
+        DOUBLED(x)
+        twice = doubled * 2 }
+   in twice
+
+octupled :: Int -> Int
+octupled x = thrice
+  where
+    {
+      DOUBLED(x)
+      thrice = doubled * 4 }
diff --git a/corpora/vendored/cpp/macro/macro-after-an-opening-brace.hs b/corpora/vendored/cpp/macro/macro-after-an-opening-brace.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/macro/macro-after-an-opening-brace.hs
@@ -0,0 +1,33 @@
+{-# LANGUAGE CPP #-}
+
+module M where
+
+#define SMALL(n) n -> True;
+#define DOUBLED(x) doubled = x * 2;
+
+isSmall :: Int -> Bool
+isSmall w = case w of {
+SMALL(0)
+SMALL(1)
+_ -> False
+}
+
+isTiny :: Int -> Bool
+isTiny w = case w of {
+#define TINY(n) n -> True;
+TINY(0)
+#undef TINY
+_ -> False
+}
+
+quadrupled :: Int -> Int
+quadrupled x = let {
+DOUBLED(x)
+twice = doubled * 2
+} in twice
+
+octupled :: Int -> Int
+octupled x = thrice where {
+DOUBLED(x)
+thrice = doubled * 4
+}
diff --git a/corpora/vendored/cpp/macro/macro-among-statements-out'.hs b/corpora/vendored/cpp/macro/macro-among-statements-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/macro/macro-among-statements-out'.hs
@@ -0,0 +1,27 @@
+{-# LANGUAGE CPP #-}
+
+-- A use standing for a statement stays at the column of the statements
+-- around it.
+module Solver.Trail where
+
+#ifdef ENABLE_TRACE
+#define TRACING(x) x
+#else
+#define TRACING(x)
+#endif
+
+step :: Int -> IO ()
+step n = do
+    print n
+    TRACING(print n)
+    print (n + 1)
+
+steps :: [Int] -> IO ()
+steps ns = do
+    let total = sum ns
+    TRACING(print total)
+    forM_ ns $ \n -> do
+        step n
+        TRACING(print n)
+        step (n + 1)
+    pure ()
diff --git a/corpora/vendored/cpp/macro/macro-among-statements-out.hs b/corpora/vendored/cpp/macro/macro-among-statements-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/macro/macro-among-statements-out.hs
@@ -0,0 +1,27 @@
+{-# LANGUAGE CPP #-}
+
+-- A use standing for a statement stays at the column of the statements
+-- around it.
+module Solver.Trail where
+
+#ifdef ENABLE_TRACE
+#define TRACING(x) x
+#else
+#define TRACING(x)
+#endif
+
+step :: Int -> IO ()
+step n = do
+  print n
+  TRACING(print n)
+  print (n + 1)
+
+steps :: [Int] -> IO ()
+steps ns = do
+  let total = sum ns
+  TRACING(print total)
+  forM_ ns $ \n -> do
+    step n
+    TRACING(print n)
+    step (n + 1)
+  pure ()
diff --git a/corpora/vendored/cpp/macro/macro-among-statements.hs b/corpora/vendored/cpp/macro/macro-among-statements.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/macro/macro-among-statements.hs
@@ -0,0 +1,27 @@
+{-# LANGUAGE CPP #-}
+
+-- A use standing for a statement stays at the column of the statements
+-- around it.
+module Solver.Trail where
+
+#ifdef ENABLE_TRACE
+#define TRACING(x) x
+#else
+#define TRACING(x)
+#endif
+
+step :: Int -> IO ()
+step n = do
+    print n
+    TRACING(print n)
+    print (n + 1)
+
+steps :: [Int] -> IO ()
+steps ns = do
+    let total = sum ns
+    TRACING(print total)
+    forM_ ns $ \n -> do
+        step n
+        TRACING(print n)
+        step (n + 1)
+    pure ()
diff --git a/corpora/vendored/cpp/macro/macro-arguments-as-written-out'.hs b/corpora/vendored/cpp/macro/macro-arguments-as-written-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/macro/macro-arguments-as-written-out'.hs
@@ -0,0 +1,34 @@
+{-# LANGUAGE CPP #-}
+
+-- cpp pastes the arguments of a macro into its body as they were written,
+-- spaces and all, so they stay as written.
+module Inspection where
+
+import qualified Database.PostgreSQL.Simple.TypeInfo.Static as TI
+
+#define OIDS(a,b) [TI.a,TI.b]
+#define PAIR(a,b) (TI.a,TI.b)
+#define BOTH(a,b) (Just a,Just b)
+
+oids :: [Oid]
+oids = OIDS (name,text)
+
+spaced :: [Oid]
+spaced = OIDS ( name ,  text )
+
+paired :: PAIR (Oid,Oid)
+paired = PAIR (name,text)
+
+same :: (Maybe Oid, Maybe Oid) -> Bool
+same BOTH (a,b) = a == b
+same _ = False
+
+long :: [Oid]
+long =
+    OIDS
+        (characterVaryingWithAVeryLongName,timestampWithTimeZoneAndAnotherLongName)
+
+broken :: [Oid]
+broken =
+    OIDS
+        (name,text)
diff --git a/corpora/vendored/cpp/macro/macro-arguments-as-written-out.hs b/corpora/vendored/cpp/macro/macro-arguments-as-written-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/macro/macro-arguments-as-written-out.hs
@@ -0,0 +1,34 @@
+{-# LANGUAGE CPP #-}
+
+-- cpp pastes the arguments of a macro into its body as they were written,
+-- spaces and all, so they stay as written.
+module Inspection where
+
+import qualified Database.PostgreSQL.Simple.TypeInfo.Static as TI
+
+#define OIDS(a,b) [TI.a,TI.b]
+#define PAIR(a,b) (TI.a,TI.b)
+#define BOTH(a,b) (Just a,Just b)
+
+oids :: [Oid]
+oids = OIDS (name,text)
+
+spaced :: [Oid]
+spaced = OIDS ( name ,  text )
+
+paired :: PAIR (Oid,Oid)
+paired = PAIR (name,text)
+
+same :: (Maybe Oid, Maybe Oid) -> Bool
+same BOTH (a,b) = a == b
+same _ = False
+
+long :: [Oid]
+long =
+  OIDS
+    (characterVaryingWithAVeryLongName,timestampWithTimeZoneAndAnotherLongName)
+
+broken :: [Oid]
+broken =
+  OIDS
+    (name,text)
diff --git a/corpora/vendored/cpp/macro/macro-arguments-as-written.hs b/corpora/vendored/cpp/macro/macro-arguments-as-written.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/macro/macro-arguments-as-written.hs
@@ -0,0 +1,31 @@
+{-# LANGUAGE CPP #-}
+
+-- cpp pastes the arguments of a macro into its body as they were written,
+-- spaces and all, so they stay as written.
+module Inspection where
+
+import qualified Database.PostgreSQL.Simple.TypeInfo.Static as TI
+
+#define OIDS(a,b) [TI.a,TI.b]
+#define PAIR(a,b) (TI.a,TI.b)
+#define BOTH(a,b) (Just a,Just b)
+
+oids :: [Oid]
+oids = OIDS(name,text)
+
+spaced :: [Oid]
+spaced = OIDS( name ,  text )
+
+paired :: PAIR(Oid,Oid)
+paired = PAIR (name,text)
+
+same :: (Maybe Oid, Maybe Oid) -> Bool
+same BOTH(a,b) = a == b
+same _ = False
+
+long :: [Oid]
+long = OIDS(characterVaryingWithAVeryLongName,timestampWithTimeZoneAndAnotherLongName)
+
+broken :: [Oid]
+broken = OIDS
+  (name,text)
diff --git a/corpora/vendored/cpp/macro/macro-before-a-leading-comma.hs b/corpora/vendored/cpp/macro/macro-before-a-leading-comma.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/macro/macro-before-a-leading-comma.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+
+module Signals (handled) where
+
+#define ALSO(name) , name
+
+handled :: [String]
+handled =
+  [ "INT"
+  , "TERM"
+  ALSO("HUP")
+  , "QUIT"
+  ]
diff --git a/corpora/vendored/cpp/macro/macro-between-equations-out.hs b/corpora/vendored/cpp/macro/macro-between-equations-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/macro/macro-between-equations-out.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE CPP #-}
+
+-- A use standing for an equation stays at the margin between the equations
+-- around it.
+module Table.Lookup where
+
+#define ENTRY(k, v) lookupEntry k = v
+
+lookupEntry :: Int -> String
+lookupEntry 0 = "zero"
+ENTRY(1, "one")
+lookupEntry _ = "many"
diff --git a/corpora/vendored/cpp/macro/macro-between-equations.hs b/corpora/vendored/cpp/macro/macro-between-equations.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/macro/macro-between-equations.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE CPP #-}
+
+-- A use standing for an equation stays at the margin between the equations
+-- around it.
+module Table.Lookup where
+
+#define ENTRY(k, v) lookupEntry k = v
+
+lookupEntry :: Int -> String
+lookupEntry 0 = "zero"
+ENTRY(1, "one")
+lookupEntry _ = "many"
diff --git a/corpora/vendored/cpp/macro/macro-continuing-the-line-above-out'.hs b/corpora/vendored/cpp/macro/macro-continuing-the-line-above-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/macro/macro-continuing-the-line-above-out'.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+
+module Queue.Chan where
+
+#define STRICT(x) {-# UNPACK #-} !(x)
+
+data Chan a
+    = Chan
+        STRICT
+        (Int)
+        STRICT
+        ([a])
+    deriving (Eq)
diff --git a/corpora/vendored/cpp/macro/macro-continuing-the-line-above-out.hs b/corpora/vendored/cpp/macro/macro-continuing-the-line-above-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/macro/macro-continuing-the-line-above-out.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+
+module Queue.Chan where
+
+#define STRICT(x) {-# UNPACK #-} !(x)
+
+data Chan a
+  = Chan
+      STRICT
+      (Int)
+      STRICT
+      ([a])
+  deriving (Eq)
diff --git a/corpora/vendored/cpp/macro/macro-continuing-the-line-above.hs b/corpora/vendored/cpp/macro/macro-continuing-the-line-above.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/macro/macro-continuing-the-line-above.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE CPP #-}
+
+module Queue.Chan where
+
+#define STRICT(x) {-# UNPACK #-} !(x)
+
+data Chan a = Chan STRICT(Int)
+                   STRICT([a])
+  deriving (Eq)
diff --git a/corpora/vendored/cpp/macro/macro-ending-a-block-above-a-comment-out'.hs b/corpora/vendored/cpp/macro/macro-ending-a-block-above-a-comment-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/macro/macro-ending-a-block-above-a-comment-out'.hs
@@ -0,0 +1,24 @@
+{-# LANGUAGE CPP #-}
+
+-- A use ending a block stays in it when a comment under it comes before the
+-- code after the block.
+module Solver.Audit where
+
+#define CHECKED(x) (check x)
+
+audit :: Int -> IO ()
+audit n = do
+    print n
+    CHECKED (n)
+    -- The check has the last word.
+
+summary :: [Int] -> IO ()
+summary ns = do
+    print ns
+#ifdef VERBOSE
+    CHECKED (sum ns)
+-- The total is checked too.
+#endif
+
+total :: Int
+total = 0
diff --git a/corpora/vendored/cpp/macro/macro-ending-a-block-above-a-comment-out.hs b/corpora/vendored/cpp/macro/macro-ending-a-block-above-a-comment-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/macro/macro-ending-a-block-above-a-comment-out.hs
@@ -0,0 +1,24 @@
+{-# LANGUAGE CPP #-}
+
+-- A use ending a block stays in it when a comment under it comes before the
+-- code after the block.
+module Solver.Audit where
+
+#define CHECKED(x) (check x)
+
+audit :: Int -> IO ()
+audit n = do
+  print n
+  CHECKED (n)
+  -- The check has the last word.
+
+summary :: [Int] -> IO ()
+summary ns = do
+  print ns
+#ifdef VERBOSE
+  CHECKED (sum ns)
+-- The total is checked too.
+#endif
+
+total :: Int
+total = 0
diff --git a/corpora/vendored/cpp/macro/macro-ending-a-block-above-a-comment.hs b/corpora/vendored/cpp/macro/macro-ending-a-block-above-a-comment.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/macro/macro-ending-a-block-above-a-comment.hs
@@ -0,0 +1,24 @@
+{-# LANGUAGE CPP #-}
+
+-- A use ending a block stays in it when a comment under it comes before the
+-- code after the block.
+module Solver.Audit where
+
+#define CHECKED(x) (check x)
+
+audit :: Int -> IO ()
+audit n = do
+    print n
+    CHECKED(n)
+    -- The check has the last word.
+
+summary :: [Int] -> IO ()
+summary ns = do
+    print ns
+#ifdef VERBOSE
+    CHECKED(sum ns)
+    -- The total is checked too.
+#endif
+
+total :: Int
+total = 0
diff --git a/corpora/vendored/cpp/macro/macro-for-a-context-before-a-haddock.hs b/corpora/vendored/cpp/macro/macro-for-a-context-before-a-haddock.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/macro/macro-for-a-context-before-a-haddock.hs
@@ -0,0 +1,19 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE ConstraintKinds #-}
+
+#if __GLASGOW_HASKELL__ >= 704
+#define HasCallStack_ HasCallStack =>
+#else
+#define HasCallStack_
+#endif
+
+module Assert (assertFailure) where
+
+import GHC.Stack (HasCallStack)
+
+-- | Signals a failure.
+assertFailure ::
+     HasCallStack_
+     String -- ^ A message that is displayed with the assertion failure
+  -> IO a
+assertFailure = ioError . userError
diff --git a/corpora/vendored/cpp/macro/macro-indented-with-a-tab-out'.hs b/corpora/vendored/cpp/macro/macro-indented-with-a-tab-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/macro/macro-indented-with-a-tab-out'.hs
@@ -0,0 +1,22 @@
+{-# LANGUAGE CPP #-}
+
+-- A use indented with a tab is at the column the tab moves it to: one at
+-- the column of the code under it is a line of its own, and one further in
+-- carries on the line above.
+module Steps where
+
+#define ARG(x) (x)
+#define STEP(x) print "step"
+
+g :: Int -> Maybe Int
+g x = do
+    y <-
+        Just
+            ARG
+            (x)
+    pure y
+
+h :: Int -> IO ()
+h x = do
+    STEP(x ++ "";)
+    pure ()
diff --git a/corpora/vendored/cpp/macro/macro-indented-with-a-tab-out.hs b/corpora/vendored/cpp/macro/macro-indented-with-a-tab-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/macro/macro-indented-with-a-tab-out.hs
@@ -0,0 +1,22 @@
+{-# LANGUAGE CPP #-}
+
+-- A use indented with a tab is at the column the tab moves it to: one at
+-- the column of the code under it is a line of its own, and one further in
+-- carries on the line above.
+module Steps where
+
+#define ARG(x) (x)
+#define STEP(x) print "step"
+
+g :: Int -> Maybe Int
+g x = do
+  y <-
+    Just
+      ARG
+      (x)
+  pure y
+
+h :: Int -> IO ()
+h x = do
+  STEP(x ++ "";)
+  pure ()
diff --git a/corpora/vendored/cpp/macro/macro-indented-with-a-tab.hs b/corpora/vendored/cpp/macro/macro-indented-with-a-tab.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/macro/macro-indented-with-a-tab.hs
@@ -0,0 +1,20 @@
+{-# LANGUAGE CPP #-}
+
+-- A use indented with a tab is at the column the tab moves it to: one at
+-- the column of the code under it is a line of its own, and one further in
+-- carries on the line above.
+module Steps where
+
+#define ARG(x) (x)
+#define STEP(x) print "step"
+
+g :: Int -> Maybe Int
+g x = do
+ y <- Just
+	ARG(x)
+ pure y
+
+h :: Int -> IO ()
+h x = do
+	STEP(x ++ "";)
+        pure ()
diff --git a/corpora/vendored/cpp/macro/macro-inside-a-conditional-out.hs b/corpora/vendored/cpp/macro/macro-inside-a-conditional-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/macro/macro-inside-a-conditional-out.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE CPP #-}
+
+module Lifted.Instances where
+
+#define LIFTED(T) instance Lifted m => Lifted (T m) where lifted = lift . lifted
+LIFTED(IdentityT)
+#if !MIN_VERSION_transformers(0,6,0)
+LIFTED(ListT)
+#endif
+LIFTED(MaybeT)
+#undef LIFTED
diff --git a/corpora/vendored/cpp/macro/macro-inside-a-conditional.hs b/corpora/vendored/cpp/macro/macro-inside-a-conditional.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/macro/macro-inside-a-conditional.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE CPP #-}
+
+module Lifted.Instances where
+
+#define LIFTED(T) instance Lifted m => Lifted (T m) where lifted = lift . lifted
+LIFTED(IdentityT)
+#if !MIN_VERSION_transformers(0,6,0)
+LIFTED(ListT)
+#endif
+LIFTED(MaybeT)
+#undef LIFTED
diff --git a/corpora/vendored/cpp/macro/macro-inside-a-declaration-out'.hs b/corpora/vendored/cpp/macro/macro-inside-a-declaration-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/macro/macro-inside-a-declaration-out'.hs
@@ -0,0 +1,24 @@
+{-# LANGUAGE CPP #-}
+
+module Session.Log where
+
+#define LOG(s) trace (s) (pure ())
+#define STRICT(x) {-# UNPACK #-} !(x)
+
+data Pair = Pair Int
+    STRICT(Int)
+    deriving (Eq)
+
+open :: IO ()
+open = do
+    connect
+    LOG("opened")
+    where
+        connect = pure ()
+
+instance Session IO where
+    close = do
+        disconnect
+        LOG("closed")
+        where
+            disconnect = pure ()
diff --git a/corpora/vendored/cpp/macro/macro-inside-a-declaration-out.hs b/corpora/vendored/cpp/macro/macro-inside-a-declaration-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/macro/macro-inside-a-declaration-out.hs
@@ -0,0 +1,24 @@
+{-# LANGUAGE CPP #-}
+
+module Session.Log where
+
+#define LOG(s) trace (s) (pure ())
+#define STRICT(x) {-# UNPACK #-} !(x)
+
+data Pair = Pair Int
+  STRICT(Int)
+  deriving (Eq)
+
+open :: IO ()
+open = do
+  connect
+  LOG("opened")
+  where
+    connect = pure ()
+
+instance Session IO where
+  close = do
+    disconnect
+    LOG("closed")
+    where
+      disconnect = pure ()
diff --git a/corpora/vendored/cpp/macro/macro-inside-a-declaration.hs b/corpora/vendored/cpp/macro/macro-inside-a-declaration.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/macro/macro-inside-a-declaration.hs
@@ -0,0 +1,24 @@
+{-# LANGUAGE CPP #-}
+
+module Session.Log where
+
+#define LOG(s) trace (s) (pure ())
+#define STRICT(x) {-# UNPACK #-} !(x)
+
+data Pair = Pair Int
+  STRICT(Int)
+  deriving (Eq)
+
+open :: IO ()
+open = do
+  connect
+  LOG("opened")
+  where
+    connect = pure ()
+
+instance Session IO where
+  close = do
+    disconnect
+    LOG("closed")
+    where
+      disconnect = pure ()
diff --git a/corpora/vendored/cpp/macro/macro-on-a-line-of-its-own-out'.hs b/corpora/vendored/cpp/macro/macro-on-a-line-of-its-own-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/macro/macro-on-a-line-of-its-own-out'.hs
@@ -0,0 +1,23 @@
+{-# LANGUAGE CPP #-}
+
+module Survey.Result where
+
+#ifdef WITH_TRACE
+#define TRACE(a) , trace a
+#else
+#define TRACE(a)
+#endif
+
+data Result = Result
+    { passed :: Bool
+    , message :: String
+      TRACE(:: [String])
+    }
+
+done :: Result
+done =
+    Result
+        { passed = True
+        , message = ""
+          TRACE(= [])
+        }
diff --git a/corpora/vendored/cpp/macro/macro-on-a-line-of-its-own-out.hs b/corpora/vendored/cpp/macro/macro-on-a-line-of-its-own-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/macro/macro-on-a-line-of-its-own-out.hs
@@ -0,0 +1,23 @@
+{-# LANGUAGE CPP #-}
+
+module Survey.Result where
+
+#ifdef WITH_TRACE
+#define TRACE(a) , trace a
+#else
+#define TRACE(a)
+#endif
+
+data Result = Result
+  { passed :: Bool,
+    message :: String
+    TRACE(:: [String])
+  }
+
+done :: Result
+done =
+  Result
+    { passed = True,
+      message = ""
+      TRACE(= [])
+    }
diff --git a/corpora/vendored/cpp/macro/macro-on-a-line-of-its-own.hs b/corpora/vendored/cpp/macro/macro-on-a-line-of-its-own.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/macro/macro-on-a-line-of-its-own.hs
@@ -0,0 +1,22 @@
+{-# LANGUAGE CPP #-}
+
+module Survey.Result where
+
+#ifdef WITH_TRACE
+#define TRACE(a) , trace a
+#else
+#define TRACE(a)
+#endif
+
+data Result = Result
+    { passed   :: Bool
+    , message  :: String
+    TRACE(:: [String])
+    }
+
+done :: Result
+done = Result
+    { passed = True
+    , message = ""
+    TRACE(= [])
+    }
diff --git a/corpora/vendored/cpp/macro/macro-opening-a-block-above-a-comment-out'.hs b/corpora/vendored/cpp/macro/macro-opening-a-block-above-a-comment-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/macro/macro-opening-a-block-above-a-comment-out'.hs
@@ -0,0 +1,29 @@
+{-# LANGUAGE CPP #-}
+
+-- A use opening a block stays at the column of the block above a comment,
+-- or above an alternative that matches a constructor.
+module Solver.Decide where
+
+#ifdef ENABLE_TRACE
+#define TRACING(x) x
+#else
+#define TRACING(x)
+#endif
+
+decide :: Int -> IO ()
+decide v = do
+    TRACING(print v)
+    -- Increase the decision level.
+    print (v + 1)
+
+propagate :: Int -> IO ()
+propagate v = do
+    TRACING(print v)
+    {- The queue head moves on. -}
+    print v
+
+classify :: Maybe Int -> String
+classify v = case v of
+    TRACING(_ | False -> "traced")
+    Just _ -> "some"
+    Nothing -> "none"
diff --git a/corpora/vendored/cpp/macro/macro-opening-a-block-above-a-comment-out.hs b/corpora/vendored/cpp/macro/macro-opening-a-block-above-a-comment-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/macro/macro-opening-a-block-above-a-comment-out.hs
@@ -0,0 +1,29 @@
+{-# LANGUAGE CPP #-}
+
+-- A use opening a block stays at the column of the block above a comment,
+-- or above an alternative that matches a constructor.
+module Solver.Decide where
+
+#ifdef ENABLE_TRACE
+#define TRACING(x) x
+#else
+#define TRACING(x)
+#endif
+
+decide :: Int -> IO ()
+decide v = do
+  TRACING(print v)
+  -- Increase the decision level.
+  print (v + 1)
+
+propagate :: Int -> IO ()
+propagate v = do
+  TRACING(print v)
+  {- The queue head moves on. -}
+  print v
+
+classify :: Maybe Int -> String
+classify v = case v of
+  TRACING(_ | False -> "traced")
+  Just _ -> "some"
+  Nothing -> "none"
diff --git a/corpora/vendored/cpp/macro/macro-opening-a-block-above-a-comment.hs b/corpora/vendored/cpp/macro/macro-opening-a-block-above-a-comment.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/macro/macro-opening-a-block-above-a-comment.hs
@@ -0,0 +1,29 @@
+{-# LANGUAGE CPP #-}
+
+-- A use opening a block stays at the column of the block above a comment,
+-- or above an alternative that matches a constructor.
+module Solver.Decide where
+
+#ifdef ENABLE_TRACE
+#define TRACING(x) x
+#else
+#define TRACING(x)
+#endif
+
+decide :: Int -> IO ()
+decide v = do
+    TRACING(print v)
+    -- Increase the decision level.
+    print (v + 1)
+
+propagate :: Int -> IO ()
+propagate v = do
+    TRACING(print v)
+    {- The queue head moves on. -}
+    print v
+
+classify :: Maybe Int -> String
+classify v = case v of
+    TRACING(_ | False -> "traced")
+    Just _ -> "some"
+    Nothing -> "none"
diff --git a/corpora/vendored/cpp/macro/macro-standing-for-a-bracket.hs b/corpora/vendored/cpp/macro/macro-standing-for-a-bracket.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/macro/macro-standing-for-a-bracket.hs
@@ -0,0 +1,6 @@
+{-# LANGUAGE CPP #-}
+
+module M where
+
+#define CLOSE )
+f = (1 CLOSE
diff --git a/corpora/vendored/cpp/macro/macro-uses-at-the-top-level-out'.hs b/corpora/vendored/cpp/macro/macro-uses-at-the-top-level-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/macro/macro-uses-at-the-top-level-out'.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Named where
+
+class Named a where
+    name :: a -> String
+
+#define NAMED(ty, str) \
+instance Named ty where { name _ = str }
+
+#define NAMED_PAIR(a, b) \
+NAMED(a, "first") ; \
+NAMED(b, "second")
+
+NAMED(Int, "int")
+NAMED(Bool, "bool")
+
+NAMED_PAIR(Char, Double)
diff --git a/corpora/vendored/cpp/macro/macro-uses-at-the-top-level-out.hs b/corpora/vendored/cpp/macro/macro-uses-at-the-top-level-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/macro/macro-uses-at-the-top-level-out.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Named where
+
+class Named a where
+  name :: a -> String
+
+#define NAMED(ty, str) \
+instance Named ty where { name _ = str }
+
+#define NAMED_PAIR(a, b) \
+NAMED(a, "first") ; \
+NAMED(b, "second")
+
+NAMED(Int, "int")
+NAMED(Bool, "bool")
+
+NAMED_PAIR(Char, Double)
diff --git a/corpora/vendored/cpp/macro/macro-uses-at-the-top-level.hs b/corpora/vendored/cpp/macro/macro-uses-at-the-top-level.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/macro/macro-uses-at-the-top-level.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Named where
+
+class Named a where
+  name :: a -> String
+
+#define NAMED(ty, str) \
+instance Named ty where { name _ = str }
+
+#define NAMED_PAIR(a, b) \
+NAMED(a, "first") ; \
+NAMED(b, "second")
+
+NAMED(Int, "int")
+NAMED(Bool, "bool")
+
+NAMED_PAIR(Char, Double)
diff --git a/corpora/vendored/cpp/separator/arrow-of-a-bind-after-a-conditional-out'.hs b/corpora/vendored/cpp/separator/arrow-of-a-bind-after-a-conditional-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/arrow-of-a-bind-after-a-conditional-out'.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+
+module Session.Expiry where
+
+expired :: Manager -> IO Status
+expired manager = do
+#if MIN_VERSION_http_client(0,7,0)
+    Left (Rejected _ (Reply status _)) <-
+#else
+    Left (Rejected status _) <-
+#endif
+        request manager
+    pure status
diff --git a/corpora/vendored/cpp/separator/arrow-of-a-bind-after-a-conditional-out.hs b/corpora/vendored/cpp/separator/arrow-of-a-bind-after-a-conditional-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/arrow-of-a-bind-after-a-conditional-out.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+
+module Session.Expiry where
+
+expired :: Manager -> IO Status
+expired manager = do
+#if MIN_VERSION_http_client(0,7,0)
+  Left (Rejected _ (Reply status _)) <-
+#else
+  Left (Rejected status _) <-
+#endif
+    request manager
+  pure status
diff --git a/corpora/vendored/cpp/separator/arrow-of-a-bind-after-a-conditional.hs b/corpora/vendored/cpp/separator/arrow-of-a-bind-after-a-conditional.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/arrow-of-a-bind-after-a-conditional.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+
+module Session.Expiry where
+
+expired :: Manager -> IO Status
+expired manager = do
+#if MIN_VERSION_http_client(0,7,0)
+  Left (Rejected _ (Reply status _))
+#else
+  Left (Rejected status _)
+#endif
+    <- request manager
+  pure status
diff --git a/corpora/vendored/cpp/separator/arrow-of-a-case-alternative-after-a-conditional-out'.hs b/corpora/vendored/cpp/separator/arrow-of-a-case-alternative-after-a-conditional-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/arrow-of-a-case-alternative-after-a-conditional-out'.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+
+module Window.Event where
+
+describe :: Event -> String
+describe event = case event of
+#if MIN_VERSION_base(4,18,0)
+    Resized width _ ->
+#else
+    Resized width ->
+#endif
+        "resized to " <> show width
+    Closed -> "closed"
diff --git a/corpora/vendored/cpp/separator/arrow-of-a-case-alternative-after-a-conditional-out.hs b/corpora/vendored/cpp/separator/arrow-of-a-case-alternative-after-a-conditional-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/arrow-of-a-case-alternative-after-a-conditional-out.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+
+module Window.Event where
+
+describe :: Event -> String
+describe event = case event of
+#if MIN_VERSION_base(4,18,0)
+  Resized width _ ->
+#else
+  Resized width ->
+#endif
+    "resized to " <> show width
+  Closed -> "closed"
diff --git a/corpora/vendored/cpp/separator/arrow-of-a-case-alternative-after-a-conditional.hs b/corpora/vendored/cpp/separator/arrow-of-a-case-alternative-after-a-conditional.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/arrow-of-a-case-alternative-after-a-conditional.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+
+module Window.Event where
+
+describe :: Event -> String
+describe event = case event of
+#if MIN_VERSION_base(4,18,0)
+  Resized width _
+#else
+  Resized width
+#endif
+    -> "resized to " <> show width
+  Closed -> "closed"
diff --git a/corpora/vendored/cpp/separator/arrow-of-a-signature-after-a-conditional-out'.hs b/corpora/vendored/cpp/separator/arrow-of-a-signature-after-a-conditional-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/arrow-of-a-signature-after-a-conditional-out'.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+
+module Report.Render where
+
+render
+    :: Settings
+#if MIN_VERSION_text(2,0,0)
+    -> Text
+#else
+    -> String
+#endif
+    -> Builder
+render settings = build settings . fromText
diff --git a/corpora/vendored/cpp/separator/arrow-of-a-signature-after-a-conditional-out.hs b/corpora/vendored/cpp/separator/arrow-of-a-signature-after-a-conditional-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/arrow-of-a-signature-after-a-conditional-out.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+
+module Report.Render where
+
+render ::
+  Settings ->
+#if MIN_VERSION_text(2,0,0)
+  Text ->
+#else
+  String ->
+#endif
+  Builder
+render settings = build settings . fromText
diff --git a/corpora/vendored/cpp/separator/arrow-of-a-signature-after-a-conditional.hs b/corpora/vendored/cpp/separator/arrow-of-a-signature-after-a-conditional.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/arrow-of-a-signature-after-a-conditional.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+
+module Report.Render where
+
+render
+  :: Settings
+#if MIN_VERSION_text(2,0,0)
+  -> Text
+#else
+  -> String
+#endif
+  -> Builder
+render settings = build settings . fromText
diff --git a/corpora/vendored/cpp/separator/arrows-around-varying-parts-out'.hs b/corpora/vendored/cpp/separator/arrows-around-varying-parts-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/arrows-around-varying-parts-out'.hs
@@ -0,0 +1,64 @@
+{-# LANGUAGE CPP #-}
+
+module Shape.Render where
+
+-- An argument only some configurations have.
+render
+    :: Shape
+#if defined(WITH_SCALE)
+    -> Double
+#endif
+    -> IO ()
+render = undefined
+
+-- An argument every configuration has its own of, with a comment above it.
+outline
+    :: Shape
+#if defined(WITH_DOUBLE)
+    -- In doubles.
+    -> Double
+#else
+    -- In floats.
+    -> Float
+#endif
+    -> IO ()
+outline = undefined
+
+-- A context only some configurations have, before a type over several
+-- lines and before one on a line of its own.
+trace ::
+#if defined(WITH_CALLSTACK)
+    HasCallStack =>
+#endif
+    String
+    -> [(String, Int)]
+    -> IO ()
+trace = undefined
+
+traceShape ::
+#if defined(WITH_CALLSTACK)
+    HasCallStack =>
+#endif
+    Shape -> IO ()
+traceShape = undefined
+
+-- A forall every configuration has its own of.
+measure
+#if defined(WITH_UNITS)
+    :: forall unit
+     . unit
+#else
+    :: forall a
+     . a
+#endif
+    -> Double
+measure = undefined
+
+data Size = Size
+    { width
+#if defined(WITH_DOUBLE)
+        :: Double
+#else
+        :: Float
+#endif
+    }
diff --git a/corpora/vendored/cpp/separator/arrows-around-varying-parts-out.hs b/corpora/vendored/cpp/separator/arrows-around-varying-parts-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/arrows-around-varying-parts-out.hs
@@ -0,0 +1,66 @@
+{-# LANGUAGE CPP #-}
+
+module Shape.Render where
+
+-- An argument only some configurations have.
+render ::
+  Shape ->
+#if defined(WITH_SCALE)
+  Double ->
+  IO ()
+#else
+  IO ()
+#endif
+render = undefined
+
+-- An argument every configuration has its own of, with a comment above it.
+outline ::
+  Shape ->
+#if defined(WITH_DOUBLE)
+  -- In doubles.
+  Double ->
+#else
+  -- In floats.
+  Float ->
+#endif
+  IO ()
+outline = undefined
+
+-- A context only some configurations have, before a type over several
+-- lines and before one on a line of its own.
+trace ::
+#if defined(WITH_CALLSTACK)
+  HasCallStack =>
+#endif
+  String ->
+  [(String, Int)] ->
+  IO ()
+trace = undefined
+
+traceShape ::
+#if defined(WITH_CALLSTACK)
+  HasCallStack =>
+#endif
+  Shape -> IO ()
+traceShape = undefined
+
+-- A forall every configuration has its own of.
+measure ::
+#if defined(WITH_UNITS)
+  forall unit.
+  unit ->
+#else
+  forall a.
+  a ->
+#endif
+  Double
+measure = undefined
+
+data Size = Size
+  { width ::
+#if defined(WITH_DOUBLE)
+      Double
+#else
+      Float
+#endif
+  }
diff --git a/corpora/vendored/cpp/separator/arrows-around-varying-parts.hs b/corpora/vendored/cpp/separator/arrows-around-varying-parts.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/arrows-around-varying-parts.hs
@@ -0,0 +1,64 @@
+{-# LANGUAGE CPP #-}
+
+module Shape.Render where
+
+-- An argument only some configurations have.
+render
+  :: Shape
+#if defined(WITH_SCALE)
+  -> Double
+#endif
+  -> IO ()
+render = undefined
+
+-- An argument every configuration has its own of, with a comment above it.
+outline ::
+  Shape ->
+#if defined(WITH_DOUBLE)
+  -- In doubles.
+  Double ->
+#else
+  -- In floats.
+  Float ->
+#endif
+  IO ()
+outline = undefined
+
+-- A context only some configurations have, before a type over several
+-- lines and before one on a line of its own.
+trace ::
+#if defined(WITH_CALLSTACK)
+  HasCallStack =>
+#endif
+  String ->
+  [(String, Int)] ->
+  IO ()
+trace = undefined
+
+traceShape ::
+#if defined(WITH_CALLSTACK)
+  HasCallStack =>
+#endif
+  Shape -> IO ()
+traceShape = undefined
+
+-- A forall every configuration has its own of.
+measure
+#if defined(WITH_UNITS)
+  :: forall unit
+   . unit
+#else
+  :: forall a
+   . a
+#endif
+  -> Double
+measure = undefined
+
+data Size = Size
+  { width
+#if defined(WITH_DOUBLE)
+      :: Double
+#else
+      :: Float
+#endif
+  }
diff --git a/corpora/vendored/cpp/separator/bar-before-a-constructor-behind-a-conditional-out'.hs b/corpora/vendored/cpp/separator/bar-before-a-constructor-behind-a-conditional-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/bar-before-a-constructor-behind-a-conditional-out'.hs
@@ -0,0 +1,20 @@
+{-# LANGUAGE CPP #-}
+
+module System.Signal (Signal (..), Mask (..)) where
+
+data Signal
+    = Hangup
+    | Interrupt
+#if !defined(mingw32_HOST_OS)
+    | User1
+#endif
+    | Terminate
+
+data Mask
+    = Blocked
+#ifdef POSIX
+    | Masked
+#else
+    | Ignored
+#endif
+    | Delivered
diff --git a/corpora/vendored/cpp/separator/bar-before-a-constructor-behind-a-conditional-out.hs b/corpora/vendored/cpp/separator/bar-before-a-constructor-behind-a-conditional-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/bar-before-a-constructor-behind-a-conditional-out.hs
@@ -0,0 +1,20 @@
+{-# LANGUAGE CPP #-}
+
+module System.Signal (Signal (..), Mask (..)) where
+
+data Signal
+  = Hangup
+  | Interrupt
+#if !defined(mingw32_HOST_OS)
+  | User1
+#endif
+  | Terminate
+
+data Mask
+  = Blocked
+#ifdef POSIX
+  | Masked
+#else
+  | Ignored
+#endif
+  | Delivered
diff --git a/corpora/vendored/cpp/separator/bar-before-a-constructor-behind-a-conditional.hs b/corpora/vendored/cpp/separator/bar-before-a-constructor-behind-a-conditional.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/bar-before-a-constructor-behind-a-conditional.hs
@@ -0,0 +1,20 @@
+{-# LANGUAGE CPP #-}
+
+module System.Signal (Signal (..), Mask (..)) where
+
+data Signal
+  = Hangup
+  | Interrupt
+#if !defined(mingw32_HOST_OS)
+  | User1
+#endif
+  | Terminate
+
+data Mask
+  = Blocked
+#ifdef POSIX
+  | Masked
+#else
+  | Ignored
+#endif
+  | Delivered
diff --git a/corpora/vendored/cpp/separator/bind-statement-finished-after-a-conditional-out'.hs b/corpora/vendored/cpp/separator/bind-statement-finished-after-a-conditional-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/bind-statement-finished-after-a-conditional-out'.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+
+module T where
+
+f :: Int -> IO Int
+f x = do
+#if MIN_VERSION_base(4,0,0)
+    (y, _) <-
+#else
+    y <-
+#endif
+        g x
+    pure y
diff --git a/corpora/vendored/cpp/separator/bind-statement-finished-after-a-conditional-out.hs b/corpora/vendored/cpp/separator/bind-statement-finished-after-a-conditional-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/bind-statement-finished-after-a-conditional-out.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+
+module T where
+
+f :: Int -> IO Int
+f x = do
+#if MIN_VERSION_base(4,0,0)
+  (y, _) <-
+#else
+  y <-
+#endif
+    g x
+  pure y
diff --git a/corpora/vendored/cpp/separator/bind-statement-finished-after-a-conditional.hs b/corpora/vendored/cpp/separator/bind-statement-finished-after-a-conditional.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/bind-statement-finished-after-a-conditional.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE CPP #-}
+module T where
+
+f :: Int -> IO Int
+f x = do
+#if MIN_VERSION_base(4,0,0)
+  (y, _) <-
+#else
+  y <-
+#endif
+    g x
+  pure y
diff --git a/corpora/vendored/cpp/separator/case-of-after-a-conditional-out'.hs b/corpora/vendored/cpp/separator/case-of-after-a-conditional-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/case-of-after-a-conditional-out'.hs
@@ -0,0 +1,30 @@
+{-# LANGUAGE CPP #-}
+
+module Lookup (check, find) where
+
+check :: IO ()
+check = do
+    case answer
+#ifdef SECOND
+        second of
+#else
+        first of
+#endif
+        _ -> pure ()
+
+find :: IO ()
+find = do
+    case lookupModule
+#if __GLASGOW_HASKELL__ >= 900
+        unitState
+#else
+        flags
+#endif
+        (moduleName "Polysemy")
+#if __GLASGOW_HASKELL__ >= 904
+        NoQualifier of
+#else
+        Nothing of
+#endif
+        Found _ -> pure ()
+        _ -> fail "not found"
diff --git a/corpora/vendored/cpp/separator/case-of-after-a-conditional-out.hs b/corpora/vendored/cpp/separator/case-of-after-a-conditional-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/case-of-after-a-conditional-out.hs
@@ -0,0 +1,30 @@
+{-# LANGUAGE CPP #-}
+
+module Lookup (check, find) where
+
+check :: IO ()
+check = do
+  case answer
+#ifdef SECOND
+    second of
+#else
+    first of
+#endif
+    _ -> pure ()
+
+find :: IO ()
+find = do
+  case lookupModule
+#if __GLASGOW_HASKELL__ >= 900
+    unitState
+#else
+    flags
+#endif
+    (moduleName "Polysemy")
+#if __GLASGOW_HASKELL__ >= 904
+    NoQualifier of
+#else
+    Nothing of
+#endif
+    Found _ -> pure ()
+    _ -> fail "not found"
diff --git a/corpora/vendored/cpp/separator/case-of-after-a-conditional.hs b/corpora/vendored/cpp/separator/case-of-after-a-conditional.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/case-of-after-a-conditional.hs
@@ -0,0 +1,32 @@
+{-# LANGUAGE CPP #-}
+
+module Lookup (check, find) where
+
+check :: IO ()
+check = do
+  case answer
+#ifdef SECOND
+    second
+#else
+    first
+#endif
+    of
+    _ -> pure ()
+
+find :: IO ()
+find = do
+  case lookupModule
+#if __GLASGOW_HASKELL__ >= 900
+    unitState
+#else
+    flags
+#endif
+    (moduleName "Polysemy")
+#if __GLASGOW_HASKELL__ >= 904
+    NoQualifier
+#else
+    Nothing
+#endif
+    of
+    Found _ -> pure ()
+    _ -> fail "not found"
diff --git a/corpora/vendored/cpp/separator/comma-after-a-conditional-inside-an-item-out'.hs b/corpora/vendored/cpp/separator/comma-after-a-conditional-inside-an-item-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/comma-after-a-conditional-inside-an-item-out'.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE CPP #-}
+
+module Options where
+
+data Options = Options
+    { optionsLevel
+        :: Maybe
+#if MIN_VERSION_base(4,18,0)
+            Natural
+#else
+            Int
+#endif
+    , optionsName :: Text
+    }
diff --git a/corpora/vendored/cpp/separator/comma-after-a-conditional-inside-an-item-out.hs b/corpora/vendored/cpp/separator/comma-after-a-conditional-inside-an-item-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/comma-after-a-conditional-inside-an-item-out.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE CPP #-}
+
+module Options where
+
+data Options = Options
+  { optionsLevel ::
+      Maybe
+#if MIN_VERSION_base(4,18,0)
+        Natural,
+#else
+        Int,
+#endif
+    optionsName :: Text
+  }
diff --git a/corpora/vendored/cpp/separator/comma-after-a-conditional-inside-an-item.hs b/corpora/vendored/cpp/separator/comma-after-a-conditional-inside-an-item.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/comma-after-a-conditional-inside-an-item.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+
+module Options where
+
+data Options = Options
+  { optionsLevel :: Maybe
+#if MIN_VERSION_base(4,18,0)
+      Natural
+#else
+      Int
+#endif
+  , optionsName :: Text
+  }
diff --git a/corpora/vendored/cpp/separator/comma-after-a-varying-item-out'.hs b/corpora/vendored/cpp/separator/comma-after-a-varying-item-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/comma-after-a-varying-item-out'.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE CPP #-}
+
+module Records.Info where
+
+data RecordInfo = RecordInfo
+    { name :: Name
+    , constraints :: Cxt
+#if MIN_VERSION_template_haskell(2,21,0)
+    , typeVarBinders :: [TyVarBndr BndrVis]
+#elif MIN_VERSION_template_haskell(2,17,0)
+    , typeVarBinders :: [TyVarBndr ()]
+#else
+    , typeVarBinders :: [TyVarBndr]
+#endif
+    , kind :: Maybe Kind
+    }
diff --git a/corpora/vendored/cpp/separator/comma-after-a-varying-item-out.hs b/corpora/vendored/cpp/separator/comma-after-a-varying-item-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/comma-after-a-varying-item-out.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE CPP #-}
+
+module Records.Info where
+
+data RecordInfo = RecordInfo
+  { name :: Name,
+    constraints :: Cxt,
+#if MIN_VERSION_template_haskell(2,21,0)
+    typeVarBinders :: [TyVarBndr BndrVis],
+#elif MIN_VERSION_template_haskell(2,17,0)
+    typeVarBinders :: [TyVarBndr ()],
+#else
+    typeVarBinders :: [TyVarBndr],
+#endif
+    kind :: Maybe Kind
+  }
diff --git a/corpora/vendored/cpp/separator/comma-after-a-varying-item.hs b/corpora/vendored/cpp/separator/comma-after-a-varying-item.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/comma-after-a-varying-item.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE CPP #-}
+
+module Records.Info where
+
+data RecordInfo = RecordInfo
+  { name :: Name
+  , constraints :: Cxt
+#if MIN_VERSION_template_haskell(2,21,0)
+  , typeVarBinders :: [TyVarBndr BndrVis]
+#elif MIN_VERSION_template_haskell(2,17,0)
+  , typeVarBinders :: [TyVarBndr ()]
+#else
+  , typeVarBinders :: [TyVarBndr]
+#endif
+  , kind :: Maybe Kind
+  }
diff --git a/corpora/vendored/cpp/separator/comma-after-an-export-item-with-an-optional-pragma-out'.hs b/corpora/vendored/cpp/separator/comma-after-an-export-item-with-an-optional-pragma-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/comma-after-an-export-item-with-an-optional-pragma-out'.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE CPP #-}
+
+module Archive.Entry
+    ( Entry (..)
+    , packFileEntry,
+#if __GLASGOW_HASKELL__ >= 908
+      {-# DEPRECATED "Use the directory-ospath-streaming package instead" #-}
+#endif
+      getDirectoryContentsRecursive
+    , toTarPath,
+#if __GLASGOW_HASKELL__ >= 908
+      {-# DEPRECATED "Use toTarPath instead" #-}
+#endif
+      toPath
+    )
+where
+
+import Archive.Types
diff --git a/corpora/vendored/cpp/separator/comma-after-an-export-item-with-an-optional-pragma-out.hs b/corpora/vendored/cpp/separator/comma-after-an-export-item-with-an-optional-pragma-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/comma-after-an-export-item-with-an-optional-pragma-out.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE CPP #-}
+
+module Archive.Entry
+  ( Entry (..),
+    packFileEntry,
+#if __GLASGOW_HASKELL__ >= 908
+    {-# DEPRECATED "Use the directory-ospath-streaming package instead" #-}
+#endif
+    getDirectoryContentsRecursive,
+    toTarPath,
+#if __GLASGOW_HASKELL__ >= 908
+    {-# DEPRECATED "Use toTarPath instead" #-}
+#endif
+    toPath,
+  )
+where
+
+import Archive.Types
diff --git a/corpora/vendored/cpp/separator/comma-after-an-export-item-with-an-optional-pragma.hs b/corpora/vendored/cpp/separator/comma-after-an-export-item-with-an-optional-pragma.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/comma-after-an-export-item-with-an-optional-pragma.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE CPP #-}
+
+module Archive.Entry
+  ( Entry (..),
+    packFileEntry,
+#if __GLASGOW_HASKELL__ >= 908
+    {-# DEPRECATED "Use the directory-ospath-streaming package instead" #-}
+#endif
+    getDirectoryContentsRecursive,
+    toTarPath,
+#if __GLASGOW_HASKELL__ >= 908
+    {-# DEPRECATED "Use toTarPath instead" #-}
+#endif
+    toPath
+  )
+where
+
+import Archive.Types
diff --git a/corpora/vendored/cpp/separator/comma-after-an-optional-first-item-before-a-varying-item-out'.hs b/corpora/vendored/cpp/separator/comma-after-an-optional-first-item-before-a-varying-item-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/comma-after-an-optional-first-item-before-a-varying-item-out'.hs
@@ -0,0 +1,19 @@
+{-# LANGUAGE CPP #-}
+
+-- An item only some configurations have, written first with the comma
+-- after it, keeps the comma after it where the item after it varies.
+module Garden.Barn (tools) where
+
+tools :: [Tool]
+tools =
+    [
+#ifdef WITH_SHEARS
+      shears,
+#endif
+#ifdef WITH_RAKE
+      rake
+#else
+      hoe
+#endif
+    , spade
+    ]
diff --git a/corpora/vendored/cpp/separator/comma-after-an-optional-first-item-before-a-varying-item-out.hs b/corpora/vendored/cpp/separator/comma-after-an-optional-first-item-before-a-varying-item-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/comma-after-an-optional-first-item-before-a-varying-item-out.hs
@@ -0,0 +1,19 @@
+{-# LANGUAGE CPP #-}
+
+-- An item only some configurations have, written first with the comma
+-- after it, keeps the comma after it where the item after it varies.
+module Garden.Barn (tools) where
+
+tools :: [Tool]
+tools =
+  [
+#ifdef WITH_SHEARS
+    shears,
+#endif
+#ifdef WITH_RAKE
+    rake,
+#else
+    hoe,
+#endif
+    spade
+  ]
diff --git a/corpora/vendored/cpp/separator/comma-after-an-optional-first-item-before-a-varying-item.hs b/corpora/vendored/cpp/separator/comma-after-an-optional-first-item-before-a-varying-item.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/comma-after-an-optional-first-item-before-a-varying-item.hs
@@ -0,0 +1,19 @@
+{-# LANGUAGE CPP #-}
+
+-- An item only some configurations have, written first with the comma
+-- after it, keeps the comma after it where the item after it varies.
+module Garden.Barn (tools) where
+
+tools :: [Tool]
+tools =
+  [
+#ifdef WITH_SHEARS
+    shears,
+#endif
+#ifdef WITH_RAKE
+    rake,
+#else
+    hoe,
+#endif
+    spade
+  ]
diff --git a/corpora/vendored/cpp/separator/comma-after-an-optional-first-item-out'.hs b/corpora/vendored/cpp/separator/comma-after-an-optional-first-item-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/comma-after-an-optional-first-item-out'.hs
@@ -0,0 +1,24 @@
+{-# LANGUAGE CPP #-}
+
+-- An item only some configurations have, written first with the comma
+-- after it, keeps the comma after it, wherever the other items have theirs.
+module Bakery.Oven (Tray (..), loaves) where
+
+newtype Tray = Tray (Map Shelf Loaf)
+    deriving
+        (
+#ifdef WITH_ORDER
+          Ord,
+#endif
+          Eq
+        )
+
+loaves :: [Loaf]
+loaves =
+    [
+#ifdef WITH_RYE
+      rye,
+#endif
+      wheat
+    , spelt
+    ]
diff --git a/corpora/vendored/cpp/separator/comma-after-an-optional-first-item-out.hs b/corpora/vendored/cpp/separator/comma-after-an-optional-first-item-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/comma-after-an-optional-first-item-out.hs
@@ -0,0 +1,24 @@
+{-# LANGUAGE CPP #-}
+
+-- An item only some configurations have, written first with the comma
+-- after it, keeps the comma after it, wherever the other items have theirs.
+module Bakery.Oven (Tray (..), loaves) where
+
+newtype Tray = Tray (Map Shelf Loaf)
+  deriving
+    (
+#ifdef WITH_ORDER
+      Ord,
+#endif
+      Eq
+    )
+
+loaves :: [Loaf]
+loaves =
+  [
+#ifdef WITH_RYE
+    rye,
+#endif
+    wheat,
+    spelt
+  ]
diff --git a/corpora/vendored/cpp/separator/comma-after-an-optional-first-item.hs b/corpora/vendored/cpp/separator/comma-after-an-optional-first-item.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/comma-after-an-optional-first-item.hs
@@ -0,0 +1,22 @@
+{-# LANGUAGE CPP #-}
+
+-- An item only some configurations have, written first with the comma
+-- after it, keeps the comma after it, wherever the other items have theirs.
+module Bakery.Oven (Tray (..), loaves) where
+
+newtype Tray = Tray (Map Shelf Loaf)
+  deriving (
+#ifdef WITH_ORDER
+  Ord,
+#endif
+  Eq)
+
+loaves :: [Loaf]
+loaves =
+  [
+#ifdef WITH_RYE
+    rye,
+#endif
+    wheat,
+    spelt
+  ]
diff --git a/corpora/vendored/cpp/separator/comma-after-nested-conditionals-out'.hs b/corpora/vendored/cpp/separator/comma-after-nested-conditionals-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/comma-after-nested-conditionals-out'.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE CPP #-}
+
+module Flags where
+
+flags :: [Flag]
+flags =
+    [ verbose
+#ifdef WINDOWS
+#if WORD_SIZE_IN_BITS == 64
+    , wide
+#else
+    , narrow
+#endif
+#else
+    , posix
+#endif
+    , quiet
+    ]
diff --git a/corpora/vendored/cpp/separator/comma-after-nested-conditionals-out.hs b/corpora/vendored/cpp/separator/comma-after-nested-conditionals-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/comma-after-nested-conditionals-out.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE CPP #-}
+
+module Flags where
+
+flags :: [Flag]
+flags =
+  [ verbose,
+#ifdef WINDOWS
+#if WORD_SIZE_IN_BITS == 64
+    wide,
+#else
+    narrow,
+#endif
+#else
+    posix,
+#endif
+    quiet
+  ]
diff --git a/corpora/vendored/cpp/separator/comma-after-nested-conditionals.hs b/corpora/vendored/cpp/separator/comma-after-nested-conditionals.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/comma-after-nested-conditionals.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE CPP #-}
+
+module Flags where
+
+flags :: [Flag]
+flags =
+  [ verbose
+#ifdef WINDOWS
+#if WORD_SIZE_IN_BITS == 64
+  , wide
+#else
+  , narrow
+#endif
+#else
+  , posix
+#endif
+  , quiet
+  ]
diff --git a/corpora/vendored/cpp/separator/comma-after-optional-first-items-in-a-row-out'.hs b/corpora/vendored/cpp/separator/comma-after-optional-first-items-in-a-row-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/comma-after-optional-first-items-in-a-row-out'.hs
@@ -0,0 +1,33 @@
+{-# LANGUAGE CPP #-}
+
+-- Items only some configurations have, written first one after another with
+-- the comma after each, keep the commas after them, wherever the other
+-- items have theirs.
+module Garden.Shed (Shelf (..), tools) where
+
+data Shelf = Shelf
+    {
+#ifdef WITH_TOP
+      top :: Board,
+#endif
+#ifdef WITH_MIDDLE
+      middle :: Board,
+#endif
+#ifdef WITH_BOTTOM
+      bottom :: Board,
+#endif
+      brackets :: Int
+    }
+
+tools :: [Tool]
+tools =
+    [
+#ifdef WITH_RAKE
+      rake,
+#endif
+#ifdef WITH_HOE
+      hoe,
+#endif
+      spade
+    , trowel
+    ]
diff --git a/corpora/vendored/cpp/separator/comma-after-optional-first-items-in-a-row-out.hs b/corpora/vendored/cpp/separator/comma-after-optional-first-items-in-a-row-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/comma-after-optional-first-items-in-a-row-out.hs
@@ -0,0 +1,33 @@
+{-# LANGUAGE CPP #-}
+
+-- Items only some configurations have, written first one after another with
+-- the comma after each, keep the commas after them, wherever the other
+-- items have theirs.
+module Garden.Shed (Shelf (..), tools) where
+
+data Shelf = Shelf
+  {
+#ifdef WITH_TOP
+    top :: Board,
+#endif
+#ifdef WITH_MIDDLE
+    middle :: Board,
+#endif
+#ifdef WITH_BOTTOM
+    bottom :: Board,
+#endif
+    brackets :: Int
+  }
+
+tools :: [Tool]
+tools =
+  [
+#ifdef WITH_RAKE
+    rake,
+#endif
+#ifdef WITH_HOE
+    hoe,
+#endif
+    spade,
+    trowel
+  ]
diff --git a/corpora/vendored/cpp/separator/comma-after-optional-first-items-in-a-row.hs b/corpora/vendored/cpp/separator/comma-after-optional-first-items-in-a-row.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/comma-after-optional-first-items-in-a-row.hs
@@ -0,0 +1,33 @@
+{-# LANGUAGE CPP #-}
+
+-- Items only some configurations have, written first one after another with
+-- the comma after each, keep the commas after them, wherever the other
+-- items have theirs.
+module Garden.Shed (Shelf (..), tools) where
+
+data Shelf = Shelf
+  {
+#ifdef WITH_TOP
+    top :: Board,
+#endif
+#ifdef WITH_MIDDLE
+    middle :: Board,
+#endif
+#ifdef WITH_BOTTOM
+    bottom :: Board,
+#endif
+    brackets :: Int
+  }
+
+tools :: [Tool]
+tools =
+  [
+#ifdef WITH_RAKE
+    rake,
+#endif
+#ifdef WITH_HOE
+    hoe,
+#endif
+    spade,
+    trowel
+  ]
diff --git a/corpora/vendored/cpp/separator/comma-after-several-varying-items-out'.hs b/corpora/vendored/cpp/separator/comma-after-several-varying-items-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/comma-after-several-varying-items-out'.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE CPP #-}
+
+module Test.State where
+
+state :: State
+state =
+    MkState
+        { terminal = undefined
+        , coverageConfidence = undefined
+#if MIN_VERSION_QuickCheck(2,15,0)
+        , maxTestSize = 0
+        , replayStartSize = undefined
+#else
+        , computeSize = undefined
+#endif
+        , numTotMaxShrinks = 0
+        , expected = True
+        }
diff --git a/corpora/vendored/cpp/separator/comma-after-several-varying-items-out.hs b/corpora/vendored/cpp/separator/comma-after-several-varying-items-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/comma-after-several-varying-items-out.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE CPP #-}
+
+module Test.State where
+
+state :: State
+state =
+  MkState
+    { terminal = undefined,
+      coverageConfidence = undefined,
+#if MIN_VERSION_QuickCheck(2,15,0)
+      maxTestSize = 0,
+      replayStartSize = undefined,
+#else
+      computeSize = undefined,
+#endif
+      numTotMaxShrinks = 0,
+      expected = True
+    }
diff --git a/corpora/vendored/cpp/separator/comma-after-several-varying-items.hs b/corpora/vendored/cpp/separator/comma-after-several-varying-items.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/comma-after-several-varying-items.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE CPP #-}
+
+module Test.State where
+
+state :: State
+state = MkState
+  { terminal = undefined
+  , coverageConfidence = undefined
+#if MIN_VERSION_QuickCheck(2,15,0)
+  , maxTestSize = 0
+  , replayStartSize = undefined
+#else
+  , computeSize = undefined
+#endif
+  , numTotMaxShrinks = 0
+  , expected = True
+  }
diff --git a/corpora/vendored/cpp/separator/comma-before-a-varying-field-out'.hs b/corpora/vendored/cpp/separator/comma-before-a-varying-field-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/comma-before-a-varying-field-out'.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE CPP #-}
+
+module Database.Esqueleto.Record (RecordInfo (..)) where
+
+data RecordInfo = RecordInfo
+    { name :: Name
+      -- ^ The original record's name.
+#if MIN_VERSION_template_haskell(2,21,0)
+    , typeVarBinders :: [TyVarBndr BndrVis]
+#elif MIN_VERSION_template_haskell(2,17,0)
+    , typeVarBinders :: [TyVarBndr ()]
+#else
+    , typeVarBinders :: [TyVarBndr]
+#endif
+      -- ^ The original record's type-variable-binders.
+    , kind :: Maybe Kind
+      -- ^ The original record's kind, I think.
+    }
diff --git a/corpora/vendored/cpp/separator/comma-before-a-varying-field-out.hs b/corpora/vendored/cpp/separator/comma-before-a-varying-field-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/comma-before-a-varying-field-out.hs
@@ -0,0 +1,20 @@
+{-# LANGUAGE CPP #-}
+
+module Database.Esqueleto.Record (RecordInfo (..)) where
+
+data RecordInfo = RecordInfo
+  { -- | The original record's name.
+    name :: Name,
+#if MIN_VERSION_template_haskell(2,21,0)
+    -- | The original record's type-variable-binders.
+    typeVarBinders :: [TyVarBndr BndrVis],
+#elif MIN_VERSION_template_haskell(2,17,0)
+    -- | The original record's type-variable-binders.
+    typeVarBinders :: [TyVarBndr ()],
+#else
+    -- | The original record's type-variable-binders.
+    typeVarBinders :: [TyVarBndr],
+#endif
+    -- | The original record's kind, I think.
+    kind :: Maybe Kind
+  }
diff --git a/corpora/vendored/cpp/separator/comma-before-a-varying-field.hs b/corpora/vendored/cpp/separator/comma-before-a-varying-field.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/comma-before-a-varying-field.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE CPP #-}
+
+module Database.Esqueleto.Record (RecordInfo (..)) where
+
+data RecordInfo = RecordInfo
+  { -- | The original record's name.
+    name :: Name
+  , -- | The original record's type-variable-binders.
+#if MIN_VERSION_template_haskell(2,21,0)
+    typeVarBinders :: [TyVarBndr BndrVis]
+#elif MIN_VERSION_template_haskell(2,17,0)
+    typeVarBinders :: [TyVarBndr ()]
+#else
+    typeVarBinders :: [TyVarBndr]
+#endif
+  , -- | The original record's kind, I think.
+    kind :: Maybe Kind
+  }
diff --git a/corpora/vendored/cpp/separator/comma-before-an-optional-field-out'.hs b/corpora/vendored/cpp/separator/comma-before-an-optional-field-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/comma-before-an-optional-field-out'.hs
@@ -0,0 +1,22 @@
+{-# LANGUAGE CPP #-}
+
+module Geometry.Line (Line (..), corners) where
+
+data Line = Line
+    { lineFrom :: Point
+#ifdef WITH_STYLE
+    , lineStyle :: Style
+#endif
+    , lineTo :: Point
+    }
+
+corners :: [Point]
+corners =
+    [ topLeft
+#if WIDE
+    , wideTopRight
+#else
+    , topRight
+#endif
+    , bottomRight
+    ]
diff --git a/corpora/vendored/cpp/separator/comma-before-an-optional-field-out.hs b/corpora/vendored/cpp/separator/comma-before-an-optional-field-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/comma-before-an-optional-field-out.hs
@@ -0,0 +1,22 @@
+{-# LANGUAGE CPP #-}
+
+module Geometry.Line (Line (..), corners) where
+
+data Line = Line
+  { lineFrom :: Point,
+#ifdef WITH_STYLE
+    lineStyle :: Style,
+#endif
+    lineTo :: Point
+  }
+
+corners :: [Point]
+corners =
+  [ topLeft,
+#if WIDE
+    wideTopRight,
+#else
+    topRight,
+#endif
+    bottomRight
+  ]
diff --git a/corpora/vendored/cpp/separator/comma-before-an-optional-field.hs b/corpora/vendored/cpp/separator/comma-before-an-optional-field.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/comma-before-an-optional-field.hs
@@ -0,0 +1,22 @@
+{-# LANGUAGE CPP #-}
+
+module Geometry.Line (Line (..), corners) where
+
+data Line = Line
+  { lineFrom :: Point,
+#ifdef WITH_STYLE
+    lineStyle :: Style,
+#endif
+    lineTo :: Point
+  }
+
+corners :: [Point]
+corners =
+  [ topLeft,
+#if WIDE
+    wideTopRight,
+#else
+    topRight,
+#endif
+    bottomRight
+  ]
diff --git a/corpora/vendored/cpp/separator/comma-before-fields-whose-question-an-import-asks-too-out'.hs b/corpora/vendored/cpp/separator/comma-before-fields-whose-question-an-import-asks-too-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/comma-before-fields-whose-question-an-import-asks-too-out'.hs
@@ -0,0 +1,22 @@
+{-# LANGUAGE CPP #-}
+
+-- Two runs of last fields, the second behind a question an import asks
+-- too, and which the answer to the first settles where it fails.
+module Bakery.Recipe (Recipe (..)) where
+
+#if MIN_VERSION_bakery(2,3,0) && !GLUTEN_FREE
+import Bakery.Yeast (Yeast)
+#endif
+
+data Recipe = Recipe
+    { flour :: !Int
+    , water :: !Int
+#if MIN_VERSION_bakery(2,1,0)
+    , salt :: !Int
+    , sugar :: !Int
+#endif
+#if MIN_VERSION_bakery(2,3,0) && !GLUTEN_FREE
+    , yeast :: !(Maybe Yeast)
+    , rising :: !Bool
+#endif
+    }
diff --git a/corpora/vendored/cpp/separator/comma-before-fields-whose-question-an-import-asks-too-out.hs b/corpora/vendored/cpp/separator/comma-before-fields-whose-question-an-import-asks-too-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/comma-before-fields-whose-question-an-import-asks-too-out.hs
@@ -0,0 +1,22 @@
+{-# LANGUAGE CPP #-}
+
+-- Two runs of last fields, the second behind a question an import asks
+-- too, and which the answer to the first settles where it fails.
+module Bakery.Recipe (Recipe (..)) where
+
+#if MIN_VERSION_bakery(2,3,0) && !GLUTEN_FREE
+import Bakery.Yeast (Yeast)
+#endif
+
+data Recipe = Recipe
+  { flour :: !Int,
+    water :: !Int
+#if MIN_VERSION_bakery(2,1,0)
+    , salt :: !Int,
+    sugar :: !Int
+#endif
+#if MIN_VERSION_bakery(2,3,0) && !GLUTEN_FREE
+    , yeast :: !(Maybe Yeast),
+    rising :: !Bool
+#endif
+  }
diff --git a/corpora/vendored/cpp/separator/comma-before-fields-whose-question-an-import-asks-too.hs b/corpora/vendored/cpp/separator/comma-before-fields-whose-question-an-import-asks-too.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/comma-before-fields-whose-question-an-import-asks-too.hs
@@ -0,0 +1,24 @@
+{-# LANGUAGE CPP #-}
+
+-- Two runs of last fields, the second behind a question an import asks
+-- too, and which the answer to the first settles where it fails.
+module Bakery.Recipe (Recipe (..)) where
+
+#if MIN_VERSION_bakery(2,3,0) && !GLUTEN_FREE
+import Bakery.Yeast (Yeast)
+#endif
+
+data Recipe = Recipe
+  { flour :: !Int
+  , water :: !Int
+
+#if MIN_VERSION_bakery(2,1,0)
+  , salt :: !Int
+  , sugar :: !Int
+#endif
+
+#if MIN_VERSION_bakery(2,3,0) && !GLUTEN_FREE
+  , yeast :: !(Maybe Yeast)
+  , rising :: !Bool
+#endif
+  }
diff --git a/corpora/vendored/cpp/separator/comma-before-optional-last-items-behind-a-nested-conditional-out'.hs b/corpora/vendored/cpp/separator/comma-before-optional-last-items-behind-a-nested-conditional-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/comma-before-optional-last-items-behind-a-nested-conditional-out'.hs
@@ -0,0 +1,29 @@
+{-# LANGUAGE CPP #-}
+
+module Kiln.Glazes where
+
+-- Items only some configurations have, last in the list, in a branch that
+-- opens with a conditional of its own, each come out led by its comma.
+glazes :: [String]
+glazes =
+    [ "clear"
+#ifndef OXIDATION_ONLY
+#ifdef COPPER
+    , "copper red"
+#endif
+    , "celadon"
+#endif
+    ]
+
+data Kiln = Kiln
+    { chamber :: Int
+#ifndef ELECTRIC
+#ifdef PROPANE
+    , tank :: Int
+#endif
+#ifdef DAMPER
+    , damper :: Int
+#endif
+    , flue :: Int
+#endif
+    }
diff --git a/corpora/vendored/cpp/separator/comma-before-optional-last-items-behind-a-nested-conditional-out.hs b/corpora/vendored/cpp/separator/comma-before-optional-last-items-behind-a-nested-conditional-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/comma-before-optional-last-items-behind-a-nested-conditional-out.hs
@@ -0,0 +1,29 @@
+{-# LANGUAGE CPP #-}
+
+module Kiln.Glazes where
+
+-- Items only some configurations have, last in the list, in a branch that
+-- opens with a conditional of its own, each come out led by its comma.
+glazes :: [String]
+glazes =
+  [ "clear"
+#ifndef OXIDATION_ONLY
+#ifdef COPPER
+    , "copper red"
+#endif
+    , "celadon"
+#endif
+  ]
+
+data Kiln = Kiln
+  { chamber :: Int
+#ifndef ELECTRIC
+#ifdef PROPANE
+    , tank :: Int
+#endif
+#ifdef DAMPER
+    , damper :: Int
+#endif
+    , flue :: Int
+#endif
+  }
diff --git a/corpora/vendored/cpp/separator/comma-before-optional-last-items-behind-a-nested-conditional.hs b/corpora/vendored/cpp/separator/comma-before-optional-last-items-behind-a-nested-conditional.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/comma-before-optional-last-items-behind-a-nested-conditional.hs
@@ -0,0 +1,29 @@
+{-# LANGUAGE CPP #-}
+
+module Kiln.Glazes where
+
+-- Items only some configurations have, last in the list, in a branch that
+-- opens with a conditional of its own, each come out led by its comma.
+glazes :: [String]
+glazes =
+  [ "clear"
+#ifndef OXIDATION_ONLY
+#ifdef COPPER
+  , "copper red"
+#endif
+  , "celadon"
+#endif
+  ]
+
+data Kiln = Kiln
+  { chamber :: Int
+#ifndef ELECTRIC
+#ifdef PROPANE
+  , tank :: Int
+#endif
+#ifdef DAMPER
+  , damper :: Int
+#endif
+  , flue :: Int
+#endif
+  }
diff --git a/corpora/vendored/cpp/separator/comma-before-varying-last-items-in-a-row-out'.hs b/corpora/vendored/cpp/separator/comma-before-varying-last-items-in-a-row-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/comma-before-varying-last-items-in-a-row-out'.hs
@@ -0,0 +1,21 @@
+{-# LANGUAGE CPP #-}
+#if __GLASGOW_HASKELL__ >= 708
+{-# LANGUAGE DataKinds #-}
+#endif
+
+module Shapes.Generic where
+
+-- Where the module is formatted once per answer to a question, items under
+-- that question come last in one answer and are followed by more in the
+-- other. The items before them still come out once, as written.
+data Shape = Circle | Square
+    deriving
+        ( Eq
+        , Ord
+#if __GLASGOW_HASKELL__ >= 704
+        , Generic
+#endif
+#if __GLASGOW_HASKELL__ >= 708
+        , Generic1
+#endif
+        )
diff --git a/corpora/vendored/cpp/separator/comma-before-varying-last-items-in-a-row-out.hs b/corpora/vendored/cpp/separator/comma-before-varying-last-items-in-a-row-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/comma-before-varying-last-items-in-a-row-out.hs
@@ -0,0 +1,21 @@
+{-# LANGUAGE CPP #-}
+#if __GLASGOW_HASKELL__ >= 708
+{-# LANGUAGE DataKinds #-}
+#endif
+
+module Shapes.Generic where
+
+-- Where the module is formatted once per answer to a question, items under
+-- that question come last in one answer and are followed by more in the
+-- other. The items before them still come out once, as written.
+data Shape = Circle | Square
+  deriving
+    ( Eq,
+      Ord
+#if __GLASGOW_HASKELL__ >= 704
+      , Generic
+#endif
+#if __GLASGOW_HASKELL__ >= 708
+      , Generic1
+#endif
+    )
diff --git a/corpora/vendored/cpp/separator/comma-before-varying-last-items-in-a-row.hs b/corpora/vendored/cpp/separator/comma-before-varying-last-items-in-a-row.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/comma-before-varying-last-items-in-a-row.hs
@@ -0,0 +1,19 @@
+{-# LANGUAGE CPP #-}
+#if __GLASGOW_HASKELL__ >= 708
+{-# LANGUAGE DataKinds #-}
+#endif
+
+module Shapes.Generic where
+
+-- Where the module is formatted once per answer to a question, items under
+-- that question come last in one answer and are followed by more in the
+-- other. The items before them still come out once, as written.
+data Shape = Circle | Square
+  deriving ( Eq, Ord
+#if __GLASGOW_HASKELL__ >= 704
+           , Generic
+#endif
+#if __GLASGOW_HASKELL__ >= 708
+           , Generic1
+#endif
+           )
diff --git a/corpora/vendored/cpp/separator/comma-before-varying-last-items-out'.hs b/corpora/vendored/cpp/separator/comma-before-varying-last-items-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/comma-before-varying-last-items-out'.hs
@@ -0,0 +1,27 @@
+{-# LANGUAGE CPP #-}
+
+module Shapes.Derived where
+
+-- The comma before items that only some configurations have, where nothing
+-- follows them, goes on the line of the first of them.
+data Shape = Circle | Square
+    deriving
+        ( Eq
+        , Ord
+#ifdef WITH_SHOW
+        , Show
+#endif
+#ifdef WITH_DATA
+        , Data
+        , Typeable
+#endif
+        )
+
+palette :: [Colour]
+palette =
+    [ red
+    , green
+#ifdef WIDE_GAMUT
+    , teal
+#endif
+    ]
diff --git a/corpora/vendored/cpp/separator/comma-before-varying-last-items-out.hs b/corpora/vendored/cpp/separator/comma-before-varying-last-items-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/comma-before-varying-last-items-out.hs
@@ -0,0 +1,27 @@
+{-# LANGUAGE CPP #-}
+
+module Shapes.Derived where
+
+-- The comma before items that only some configurations have, where nothing
+-- follows them, goes on the line of the first of them.
+data Shape = Circle | Square
+  deriving
+    ( Eq,
+      Ord
+#ifdef WITH_SHOW
+      , Show
+#endif
+#ifdef WITH_DATA
+      , Data,
+      Typeable
+#endif
+    )
+
+palette :: [Colour]
+palette =
+  [ red,
+    green
+#ifdef WIDE_GAMUT
+    , teal
+#endif
+  ]
diff --git a/corpora/vendored/cpp/separator/comma-before-varying-last-items.hs b/corpora/vendored/cpp/separator/comma-before-varying-last-items.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/comma-before-varying-last-items.hs
@@ -0,0 +1,22 @@
+{-# LANGUAGE CPP #-}
+
+module Shapes.Derived where
+
+-- The comma before items that only some configurations have, where nothing
+-- follows them, goes on the line of the first of them.
+data Shape = Circle | Square
+  deriving ( Eq, Ord
+#ifdef WITH_SHOW
+           , Show
+#endif
+#ifdef WITH_DATA
+           , Data, Typeable
+#endif
+           )
+
+palette :: [Colour]
+palette = [ red, green
+#ifdef WIDE_GAMUT
+          , teal
+#endif
+          ]
diff --git a/corpora/vendored/cpp/separator/commas-of-optional-items-in-a-branch-holding-a-conditional-out'.hs b/corpora/vendored/cpp/separator/commas-of-optional-items-in-a-branch-holding-a-conditional-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/commas-of-optional-items-in-a-branch-holding-a-conditional-out'.hs
@@ -0,0 +1,33 @@
+{-# LANGUAGE CPP #-}
+
+module Kiln.Shelves where
+
+-- Items only some configurations have, in a branch that holds nothing but
+-- a conditional of its own, come out with a comma each: after them where
+-- they come first, and before them where they come last.
+shelves :: [String]
+shelves =
+    [
+#if defined(TOP_SHELF)
+      "top",
+#endif
+#ifdef WIDE
+#if WIDTH > 60
+      "wide",
+#endif
+#endif
+      "bottom"
+    ]
+
+posts :: [String]
+posts =
+    [ "corner"
+#ifndef PORTABLE
+#ifdef WIDE
+#if WIDTH > 60
+    , "middle"
+#endif
+#endif
+    , "end"
+#endif
+    ]
diff --git a/corpora/vendored/cpp/separator/commas-of-optional-items-in-a-branch-holding-a-conditional-out.hs b/corpora/vendored/cpp/separator/commas-of-optional-items-in-a-branch-holding-a-conditional-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/commas-of-optional-items-in-a-branch-holding-a-conditional-out.hs
@@ -0,0 +1,33 @@
+{-# LANGUAGE CPP #-}
+
+module Kiln.Shelves where
+
+-- Items only some configurations have, in a branch that holds nothing but
+-- a conditional of its own, come out with a comma each: after them where
+-- they come first, and before them where they come last.
+shelves :: [String]
+shelves =
+  [
+#if defined(TOP_SHELF)
+    "top",
+#endif
+#ifdef WIDE
+#if WIDTH > 60
+    "wide",
+#endif
+#endif
+    "bottom"
+  ]
+
+posts :: [String]
+posts =
+  [ "corner"
+#ifndef PORTABLE
+#ifdef WIDE
+#if WIDTH > 60
+    , "middle"
+#endif
+#endif
+    , "end"
+#endif
+  ]
diff --git a/corpora/vendored/cpp/separator/commas-of-optional-items-in-a-branch-holding-a-conditional.hs b/corpora/vendored/cpp/separator/commas-of-optional-items-in-a-branch-holding-a-conditional.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/commas-of-optional-items-in-a-branch-holding-a-conditional.hs
@@ -0,0 +1,33 @@
+{-# LANGUAGE CPP #-}
+
+module Kiln.Shelves where
+
+-- Items only some configurations have, in a branch that holds nothing but
+-- a conditional of its own, come out with a comma each: after them where
+-- they come first, and before them where they come last.
+shelves :: [String]
+shelves =
+  [
+#if defined(TOP_SHELF)
+    "top",
+#endif
+#ifdef WIDE
+#if WIDTH > 60
+    "wide",
+#endif
+#endif
+    "bottom"
+  ]
+
+posts :: [String]
+posts =
+  [ "corner"
+#ifndef PORTABLE
+#ifdef WIDE
+#if WIDTH > 60
+  , "middle"
+#endif
+#endif
+  , "end"
+#endif
+  ]
diff --git a/corpora/vendored/cpp/separator/constructor-after-an-equals-sign-in-each-branch-out'.hs b/corpora/vendored/cpp/separator/constructor-after-an-equals-sign-in-each-branch-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/constructor-after-an-equals-sign-in-each-branch-out'.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE CPP #-}
+
+module Data.UniqMap where
+
+-- | A map keyed by the unique of each key.
+data UniqMap a
+#if MIN_VERSION_containers(0,6,0)
+    = UniqMap{unUniqMap :: IntMap a}
+#else
+    = UniqMap{unUniqMap :: Map Int a}
+#endif
diff --git a/corpora/vendored/cpp/separator/constructor-after-an-equals-sign-in-each-branch-out.hs b/corpora/vendored/cpp/separator/constructor-after-an-equals-sign-in-each-branch-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/constructor-after-an-equals-sign-in-each-branch-out.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE CPP #-}
+
+module Data.UniqMap where
+
+-- | A map keyed by the unique of each key.
+data UniqMap a
+#if MIN_VERSION_containers(0,6,0)
+  = UniqMap{unUniqMap :: IntMap a}
+#else
+  = UniqMap{unUniqMap :: Map Int a}
+#endif
diff --git a/corpora/vendored/cpp/separator/constructor-after-an-equals-sign-in-each-branch.hs b/corpora/vendored/cpp/separator/constructor-after-an-equals-sign-in-each-branch.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/constructor-after-an-equals-sign-in-each-branch.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE CPP #-}
+
+module Data.UniqMap where
+
+-- | A map keyed by the unique of each key.
+data UniqMap a
+#if MIN_VERSION_containers(0,6,0)
+  = UniqMap {unUniqMap :: IntMap a}
+#else
+  = UniqMap {unUniqMap :: Map Int a}
+#endif
diff --git a/corpora/vendored/cpp/separator/do-block-after-a-varying-infix-head-out'.hs b/corpora/vendored/cpp/separator/do-block-after-a-varying-infix-head-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/do-block-after-a-varying-infix-head-out'.hs
@@ -0,0 +1,25 @@
+{-# LANGUAGE CPP #-}
+
+module Audio.Mix where
+
+-- An equation and a case alternative whose head is written infix, with
+-- the operator in each branch and a do block hanging after the separator.
+x
+#if MIN_VERSION_base(4,18,0)
+    <-> y =
+#else
+    `fade` y =
+#endif
+        do
+            unmix x y
+
+loudness :: Tracks -> IO Int
+loudness tracks = case tracks of
+    left
+#if MIN_VERSION_base(4,18,0)
+        :| right ->
+#else
+        :< right ->
+#endif
+            do
+                peak left right
diff --git a/corpora/vendored/cpp/separator/do-block-after-a-varying-infix-head-out.hs b/corpora/vendored/cpp/separator/do-block-after-a-varying-infix-head-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/do-block-after-a-varying-infix-head-out.hs
@@ -0,0 +1,25 @@
+{-# LANGUAGE CPP #-}
+
+module Audio.Mix where
+
+-- An equation and a case alternative whose head is written infix, with
+-- the operator in each branch and a do block hanging after the separator.
+x
+#if MIN_VERSION_base(4,18,0)
+  <-> y =
+#else
+  `fade` y =
+#endif
+    do
+      unmix x y
+
+loudness :: Tracks -> IO Int
+loudness tracks = case tracks of
+  left
+#if MIN_VERSION_base(4,18,0)
+    :| right ->
+#else
+    :< right ->
+#endif
+      do
+        peak left right
diff --git a/corpora/vendored/cpp/separator/do-block-after-a-varying-infix-head.hs b/corpora/vendored/cpp/separator/do-block-after-a-varying-infix-head.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/do-block-after-a-varying-infix-head.hs
@@ -0,0 +1,25 @@
+{-# LANGUAGE CPP #-}
+
+module Audio.Mix where
+
+-- An equation and a case alternative whose head is written infix, with
+-- the operator in each branch and a do block hanging after the separator.
+x
+#if MIN_VERSION_base(4,18,0)
+  <->
+#else
+  `fade`
+#endif
+  y = do
+    unmix x y
+
+loudness :: Tracks -> IO Int
+loudness tracks = case tracks of
+  left
+#if MIN_VERSION_base(4,18,0)
+    :|
+#else
+    :<
+#endif
+    right -> do
+      peak left right
diff --git a/corpora/vendored/cpp/separator/do-block-after-a-varying-infix-pattern-out'.hs b/corpora/vendored/cpp/separator/do-block-after-a-varying-infix-pattern-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/do-block-after-a-varying-infix-pattern-out'.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE CPP #-}
+
+module Audio.Queue where
+
+-- A bind whose pattern is written infix, with the operator in each branch
+-- and a do block hanging after the arrow.
+next :: Queue -> IO Track
+next queue = do
+    track
+#if MIN_VERSION_containers(0,7,0)
+        :< rest <-
+#else
+        :| rest <-
+#endif
+        do
+            pop queue
+    play rest
+    pure track
diff --git a/corpora/vendored/cpp/separator/do-block-after-a-varying-infix-pattern-out.hs b/corpora/vendored/cpp/separator/do-block-after-a-varying-infix-pattern-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/do-block-after-a-varying-infix-pattern-out.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE CPP #-}
+
+module Audio.Queue where
+
+-- A bind whose pattern is written infix, with the operator in each branch
+-- and a do block hanging after the arrow.
+next :: Queue -> IO Track
+next queue = do
+  track
+#if MIN_VERSION_containers(0,7,0)
+    :< rest <-
+#else
+    :| rest <-
+#endif
+    do
+      pop queue
+  play rest
+  pure track
diff --git a/corpora/vendored/cpp/separator/do-block-after-a-varying-infix-pattern.hs b/corpora/vendored/cpp/separator/do-block-after-a-varying-infix-pattern.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/do-block-after-a-varying-infix-pattern.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE CPP #-}
+
+module Audio.Queue where
+
+-- A bind whose pattern is written infix, with the operator in each branch
+-- and a do block hanging after the arrow.
+next :: Queue -> IO Track
+next queue = do
+  track
+#if MIN_VERSION_containers(0,7,0)
+    :<
+#else
+    :|
+#endif
+    rest <- do
+      pop queue
+  play rest
+  pure track
diff --git a/corpora/vendored/cpp/separator/equals-sign-after-a-conditional-out'.hs b/corpora/vendored/cpp/separator/equals-sign-after-a-conditional-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/equals-sign-after-a-conditional-out'.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE CPP #-}
+
+module Codec.Width where
+
+width :: Codec -> Int
+#if MIN_VERSION_base(4,18,0)
+width (Codec _ size) =
+#else
+width (Codec size) =
+#endif
+    size * 8
diff --git a/corpora/vendored/cpp/separator/equals-sign-after-a-conditional-out.hs b/corpora/vendored/cpp/separator/equals-sign-after-a-conditional-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/equals-sign-after-a-conditional-out.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE CPP #-}
+
+module Codec.Width where
+
+width :: Codec -> Int
+#if MIN_VERSION_base(4,18,0)
+width (Codec _ size) =
+#else
+width (Codec size) =
+#endif
+  size * 8
diff --git a/corpora/vendored/cpp/separator/equals-sign-after-a-conditional.hs b/corpora/vendored/cpp/separator/equals-sign-after-a-conditional.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/equals-sign-after-a-conditional.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE CPP #-}
+
+module Codec.Width where
+
+width :: Codec -> Int
+#if MIN_VERSION_base(4,18,0)
+width (Codec _ size)
+#else
+width (Codec size)
+#endif
+  = size * 8
diff --git a/corpora/vendored/cpp/separator/equals-sign-ending-an-operand-in-each-branch-out'.hs b/corpora/vendored/cpp/separator/equals-sign-ending-an-operand-in-each-branch-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/equals-sign-ending-an-operand-in-each-branch-out'.hs
@@ -0,0 +1,29 @@
+{-# LANGUAGE CPP #-}
+
+-- An infix head whose operator and the operand after it, written over
+-- several lines, come in each branch, with the = ending the operand's last
+-- line and the body under it.
+module Weather.Rainfall (Rainfall (..)) where
+
+data Rainfall = Rainfall !Int !Int
+
+instance Monoid Rainfall where
+    mempty = Rainfall 0 0
+
+#ifdef WITH_SEMIGROUP
+instance Semigroup Rainfall where
+#endif
+    (Rainfall am pm)
+#ifdef WITH_SEMIGROUP
+        <> ( Rainfall
+                am'
+                pm'
+           ) =
+            Rainfall (am + am') (max pm pm')
+#else
+        `mappend` ( Rainfall
+                        am'
+                        pm'
+                  ) =
+            Rainfall (am + am') (max pm pm')
+#endif
diff --git a/corpora/vendored/cpp/separator/equals-sign-ending-an-operand-in-each-branch-out.hs b/corpora/vendored/cpp/separator/equals-sign-ending-an-operand-in-each-branch-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/equals-sign-ending-an-operand-in-each-branch-out.hs
@@ -0,0 +1,29 @@
+{-# LANGUAGE CPP #-}
+
+-- An infix head whose operator and the operand after it, written over
+-- several lines, come in each branch, with the = ending the operand's last
+-- line and the body under it.
+module Weather.Rainfall (Rainfall (..)) where
+
+data Rainfall = Rainfall !Int !Int
+
+instance Monoid Rainfall where
+  mempty = Rainfall 0 0
+
+#ifdef WITH_SEMIGROUP
+instance Semigroup Rainfall where
+#endif
+  (Rainfall am pm)
+#ifdef WITH_SEMIGROUP
+    <> ( Rainfall
+           am'
+           pm'
+       ) =
+      Rainfall (am + am') (max pm pm')
+#else
+    `mappend` ( Rainfall
+                  am'
+                  pm'
+              ) =
+      Rainfall (am + am') (max pm pm')
+#endif
diff --git a/corpora/vendored/cpp/separator/equals-sign-ending-an-operand-in-each-branch.hs b/corpora/vendored/cpp/separator/equals-sign-ending-an-operand-in-each-branch.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/equals-sign-ending-an-operand-in-each-branch.hs
@@ -0,0 +1,28 @@
+{-# LANGUAGE CPP #-}
+
+-- An infix head whose operator and the operand after it, written over
+-- several lines, come in each branch, with the = ending the operand's last
+-- line and the body under it.
+module Weather.Rainfall (Rainfall (..)) where
+
+data Rainfall = Rainfall !Int !Int
+
+instance Monoid Rainfall where
+  mempty = Rainfall 0 0
+#ifdef WITH_SEMIGROUP
+instance Semigroup Rainfall where
+#endif
+  (Rainfall am pm)
+#ifdef WITH_SEMIGROUP
+    <> ( Rainfall
+           am'
+           pm'
+       ) =
+    Rainfall (am + am') (max pm pm')
+#else
+    `mappend` ( Rainfall
+                  am'
+                  pm'
+              ) =
+    Rainfall (am + am') (max pm pm')
+#endif
diff --git a/corpora/vendored/cpp/separator/equals-sign-ending-each-branch-of-guards-out'.hs b/corpora/vendored/cpp/separator/equals-sign-ending-each-branch-of-guards-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/equals-sign-ending-each-branch-of-guards-out'.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+
+module Data.Set.Refined where
+
+member :: Key -> Set -> Bool
+member k s
+#if MIN_VERSION_containers(0,6,0)
+    | Just i <- lookupIndex k s =
+#else
+    | Just i <- findIndex k s =
+#endif
+        i >= 0
+    | otherwise = False
diff --git a/corpora/vendored/cpp/separator/equals-sign-ending-each-branch-of-guards-out.hs b/corpora/vendored/cpp/separator/equals-sign-ending-each-branch-of-guards-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/equals-sign-ending-each-branch-of-guards-out.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+
+module Data.Set.Refined where
+
+member :: Key -> Set -> Bool
+member k s
+#if MIN_VERSION_containers(0,6,0)
+  | Just i <- lookupIndex k s =
+#else
+  | Just i <- findIndex k s =
+#endif
+      i >= 0
+  | otherwise = False
diff --git a/corpora/vendored/cpp/separator/equals-sign-ending-each-branch-of-guards.hs b/corpora/vendored/cpp/separator/equals-sign-ending-each-branch-of-guards.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/equals-sign-ending-each-branch-of-guards.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+
+module Data.Set.Refined where
+
+member :: Key -> Set -> Bool
+member k s
+#if MIN_VERSION_containers(0,6,0)
+  | Just i <- lookupIndex k s =
+#else
+  | Just i <- findIndex k s =
+#endif
+      i >= 0
+  | otherwise = False
diff --git a/corpora/vendored/cpp/separator/operand-in-each-branch-running-on-into-a-declaration-out'.hs b/corpora/vendored/cpp/separator/operand-in-each-branch-running-on-into-a-declaration-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/operand-in-each-branch-running-on-into-a-declaration-out'.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE CPP #-}
+
+module Test.Main where
+
+tests :: [Test]
+tests =
+    [unitTests, propertyTests]
+#ifndef RELY_ON_SYSTEM_INSTALL
+        ++ [scriptTests]
+
+-- | The tests that run the script from the source tree.
+scriptTests :: Test
+scriptTests = testGroup "script" []
+#else
+        ++ []
+#endif
diff --git a/corpora/vendored/cpp/separator/operand-in-each-branch-running-on-into-a-declaration-out.hs b/corpora/vendored/cpp/separator/operand-in-each-branch-running-on-into-a-declaration-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/operand-in-each-branch-running-on-into-a-declaration-out.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE CPP #-}
+
+module Test.Main where
+
+tests :: [Test]
+tests =
+  [unitTests, propertyTests]
+#ifndef RELY_ON_SYSTEM_INSTALL
+    ++ [scriptTests]
+
+-- | The tests that run the script from the source tree.
+scriptTests :: Test
+scriptTests = testGroup "script" []
+#else
+    ++ []
+#endif
diff --git a/corpora/vendored/cpp/separator/operand-in-each-branch-running-on-into-a-declaration.hs b/corpora/vendored/cpp/separator/operand-in-each-branch-running-on-into-a-declaration.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/operand-in-each-branch-running-on-into-a-declaration.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE CPP #-}
+
+module Test.Main where
+
+tests :: [Test]
+tests = [unitTests, propertyTests] ++
+#ifndef RELY_ON_SYSTEM_INSTALL
+  [scriptTests]
+
+-- | The tests that run the script from the source tree.
+scriptTests :: Test
+scriptTests = testGroup "script" []
+#else
+  []
+#endif
diff --git a/corpora/vendored/cpp/separator/operator-continuing-a-statement-after-a-conditional-out'.hs b/corpora/vendored/cpp/separator/operator-continuing-a-statement-after-a-conditional-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/operator-continuing-a-statement-after-a-conditional-out'.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE CPP #-}
+
+module Lens.Classy where
+
+makeClassy :: Name -> Q [Dec]
+makeClassy name = do
+    methods <- classMethods name
+#if MIN_VERSION_template_haskell(2,21,0)
+    classD (cxt []) name [] [] [] methods $
+#else
+    classD (cxt []) name [] [] methods $
+#endif
+        sigD (mkName "lensOf") (conT name)
+            : fmap pure methods
diff --git a/corpora/vendored/cpp/separator/operator-continuing-a-statement-after-a-conditional-out.hs b/corpora/vendored/cpp/separator/operator-continuing-a-statement-after-a-conditional-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/operator-continuing-a-statement-after-a-conditional-out.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE CPP #-}
+
+module Lens.Classy where
+
+makeClassy :: Name -> Q [Dec]
+makeClassy name = do
+  methods <- classMethods name
+#if MIN_VERSION_template_haskell(2,21,0)
+  classD (cxt []) name [] [] [] methods $
+#else
+  classD (cxt []) name [] [] methods $
+#endif
+    sigD (mkName "lensOf") (conT name)
+      : fmap pure methods
diff --git a/corpora/vendored/cpp/separator/operator-continuing-a-statement-after-a-conditional.hs b/corpora/vendored/cpp/separator/operator-continuing-a-statement-after-a-conditional.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/operator-continuing-a-statement-after-a-conditional.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE CPP #-}
+
+module Lens.Classy where
+
+makeClassy :: Name -> Q [Dec]
+makeClassy name = do
+  methods <- classMethods name
+#if MIN_VERSION_template_haskell(2,21,0)
+  classD (cxt []) name [] [] [] methods
+#else
+  classD (cxt []) name [] [] methods
+#endif
+    $ sigD (mkName "lensOf") (conT name)
+    : fmap pure methods
diff --git a/corpora/vendored/cpp/separator/operator-continuing-a-statement-in-each-branch-out'.hs b/corpora/vendored/cpp/separator/operator-continuing-a-statement-in-each-branch-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/operator-continuing-a-statement-in-each-branch-out'.hs
@@ -0,0 +1,24 @@
+{-# LANGUAGE CPP #-}
+
+module Report (report, flush) where
+
+report :: Double -> IO ()
+report total = do
+    print
+#ifdef ROUNDED
+        $ round total
+#else
+        $ truncate total
+#endif
+    hFlush stdout
+
+flush :: [String] -> IO ()
+flush items = do
+    forM_ items
+#ifdef VERBOSE
+        $ \item -> print item $ do
+#else
+        $ \item -> putStrLn item $ do
+#endif
+            hFlush stdout
+    pure ()
diff --git a/corpora/vendored/cpp/separator/operator-continuing-a-statement-in-each-branch-out.hs b/corpora/vendored/cpp/separator/operator-continuing-a-statement-in-each-branch-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/operator-continuing-a-statement-in-each-branch-out.hs
@@ -0,0 +1,24 @@
+{-# LANGUAGE CPP #-}
+
+module Report (report, flush) where
+
+report :: Double -> IO ()
+report total = do
+  print
+#ifdef ROUNDED
+    $ round total
+#else
+    $ truncate total
+#endif
+  hFlush stdout
+
+flush :: [String] -> IO ()
+flush items = do
+  forM_ items
+#ifdef VERBOSE
+    $ \item -> print item $ do
+#else
+    $ \item -> putStrLn item $ do
+#endif
+      hFlush stdout
+  pure ()
diff --git a/corpora/vendored/cpp/separator/operator-continuing-a-statement-in-each-branch.hs b/corpora/vendored/cpp/separator/operator-continuing-a-statement-in-each-branch.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/operator-continuing-a-statement-in-each-branch.hs
@@ -0,0 +1,25 @@
+{-# LANGUAGE CPP #-}
+
+module Report (report, flush) where
+
+report :: Double -> IO ()
+report total = do
+  print
+#ifdef ROUNDED
+    $ round total
+#else
+    $ truncate total
+#endif
+  hFlush stdout
+
+flush :: [String] -> IO ()
+flush items = do
+  forM_ items
+#ifdef VERBOSE
+    $ \item -> print item
+#else
+    $ \item -> putStrLn item
+#endif
+    $ do
+      hFlush stdout
+  pure ()
diff --git a/corpora/vendored/cpp/separator/semicolon-before-an-optional-statement-out'.hs b/corpora/vendored/cpp/separator/semicolon-before-an-optional-statement-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/semicolon-before-an-optional-statement-out'.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE CPP #-}
+
+module Toolchain.Probe where
+
+probe :: IO ()
+probe = do
+    { detect
+#if defined(mingw32_HOST_OS)
+    ; registry
+#endif
+    ; report
+    }
diff --git a/corpora/vendored/cpp/separator/semicolon-before-an-optional-statement-out.hs b/corpora/vendored/cpp/separator/semicolon-before-an-optional-statement-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/semicolon-before-an-optional-statement-out.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE CPP #-}
+
+module Toolchain.Probe where
+
+probe :: IO ()
+probe = do
+  { detect
+#if defined(mingw32_HOST_OS)
+  ; registry
+#endif
+  ; report
+  }
diff --git a/corpora/vendored/cpp/separator/semicolon-before-an-optional-statement.hs b/corpora/vendored/cpp/separator/semicolon-before-an-optional-statement.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/semicolon-before-an-optional-statement.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE CPP #-}
+
+module Toolchain.Probe where
+
+probe :: IO ()
+probe = do { detect
+#if defined(mingw32_HOST_OS)
+           ; registry
+#endif
+           ; report }
diff --git a/corpora/vendored/cpp/separator/separators-after-a-varying-infix-head-out'.hs b/corpora/vendored/cpp/separator/separators-after-a-varying-infix-head-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/separators-after-a-varying-infix-head-out'.hs
@@ -0,0 +1,23 @@
+{-# LANGUAGE CPP #-}
+
+module Audio.Mix where
+
+-- An equation and a case alternative whose head is written infix, with
+-- the operator in each branch and what follows it written once.
+x
+#if MIN_VERSION_base(4,18,0)
+    <-> y =
+#else
+    `fade` y =
+#endif
+        unmix x y
+
+loudness :: Tracks -> Int
+loudness tracks = case tracks of
+    left
+#if MIN_VERSION_base(4,18,0)
+        :| right ->
+#else
+        :< right ->
+#endif
+            peak left right
diff --git a/corpora/vendored/cpp/separator/separators-after-a-varying-infix-head-out.hs b/corpora/vendored/cpp/separator/separators-after-a-varying-infix-head-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/separators-after-a-varying-infix-head-out.hs
@@ -0,0 +1,23 @@
+{-# LANGUAGE CPP #-}
+
+module Audio.Mix where
+
+-- An equation and a case alternative whose head is written infix, with
+-- the operator in each branch and what follows it written once.
+x
+#if MIN_VERSION_base(4,18,0)
+  <-> y =
+#else
+  `fade` y =
+#endif
+    unmix x y
+
+loudness :: Tracks -> Int
+loudness tracks = case tracks of
+  left
+#if MIN_VERSION_base(4,18,0)
+    :| right ->
+#else
+    :< right ->
+#endif
+      peak left right
diff --git a/corpora/vendored/cpp/separator/separators-after-a-varying-infix-head.hs b/corpora/vendored/cpp/separator/separators-after-a-varying-infix-head.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/separator/separators-after-a-varying-infix-head.hs
@@ -0,0 +1,23 @@
+{-# LANGUAGE CPP #-}
+
+module Audio.Mix where
+
+-- An equation and a case alternative whose head is written infix, with
+-- the operator in each branch and what follows it written once.
+x
+#if MIN_VERSION_base(4,18,0)
+  <->
+#else
+  `fade`
+#endif
+  y = unmix x y
+
+loudness :: Tracks -> Int
+loudness tracks = case tracks of
+  left
+#if MIN_VERSION_base(4,18,0)
+    :|
+#else
+    :<
+#endif
+    right -> peak left right
diff --git a/corpora/vendored/cpp/settled/code-put-aside-with-if-0-out.hs b/corpora/vendored/cpp/settled/code-put-aside-with-if-0-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/settled/code-put-aside-with-if-0-out.hs
@@ -0,0 +1,23 @@
+{-# LANGUAGE CPP #-}
+#if defined(UNBOXED_TICKS)
+{-# LANGUAGE MagicHash #-}
+#endif
+
+module Kiln.Clock where
+
+#if defined(UNBOXED_TICKS)
+import GHC.Exts (Int#, (+#))
+#endif
+
+#if 0
+tick :: Int -> Int
+tick n = n + 2
+#else
+tick :: Int -> Int
+tick n = n + 1
+#endif
+
+#if 1
+seconds :: Int -> Int
+seconds t = t * 60
+#endif
diff --git a/corpora/vendored/cpp/settled/code-put-aside-with-if-0.hs b/corpora/vendored/cpp/settled/code-put-aside-with-if-0.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/settled/code-put-aside-with-if-0.hs
@@ -0,0 +1,22 @@
+{-# LANGUAGE CPP #-}
+#if defined(UNBOXED_TICKS)
+{-# LANGUAGE MagicHash #-}
+#endif
+module Kiln.Clock where
+
+#if defined(UNBOXED_TICKS)
+import GHC.Exts (Int#, (+#))
+#endif
+
+#if 0
+tick :: Int -> Int
+tick   n   =   n + 2
+#else
+tick :: Int -> Int
+tick   n   =   n + 1
+#endif
+
+#if 1
+seconds :: Int -> Int
+seconds   t   =   t * 60
+#endif
diff --git a/corpora/vendored/cpp/settled/compiler-version-settled-by-another-out.hs b/corpora/vendored/cpp/settled/compiler-version-settled-by-another-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/settled/compiler-version-settled-by-another-out.hs
@@ -0,0 +1,21 @@
+{-# LANGUAGE CPP #-}
+#if __GLASGOW_HASKELL__ >= 800
+{-# LANGUAGE MagicHash #-}
+#endif
+
+module Unboxed where
+
+import GHC.Exts
+
+#if __GLASGOW_HASKELL__ >= 802
+unbox :: Int -> Int#
+unbox (I# n) = n
+#endif
+
+#if __GLASGOW_HASKELL__ > 900
+twice :: Int# -> Int#
+twice n = n *# 2#
+#else
+twice :: Int -> Int
+twice n = n * 2
+#endif
diff --git a/corpora/vendored/cpp/settled/compiler-version-settled-by-another.hs b/corpora/vendored/cpp/settled/compiler-version-settled-by-another.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/settled/compiler-version-settled-by-another.hs
@@ -0,0 +1,20 @@
+{-# LANGUAGE CPP #-}
+#if __GLASGOW_HASKELL__ >= 800
+{-# LANGUAGE MagicHash #-}
+#endif
+module Unboxed where
+
+import GHC.Exts
+
+#if __GLASGOW_HASKELL__ >= 802
+unbox :: Int -> Int#
+unbox (I# n) = n
+#endif
+
+#if __GLASGOW_HASKELL__ > 900
+twice :: Int# -> Int#
+twice n = n *# 2#
+#else
+twice :: Int -> Int
+twice n = n*2
+#endif
diff --git a/corpora/vendored/cpp/settled/complement-settled-by-a-guard-asked-twice-out.hs b/corpora/vendored/cpp/settled/complement-settled-by-a-guard-asked-twice-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/settled/complement-settled-by-a-guard-asked-twice-out.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE CPP #-}
+#if API_LEVEL >= 3
+{-# LANGUAGE MagicHash #-}
+#endif
+
+module Counter where
+
+#if API_LEVEL >= 3
+import GHC.Exts (Int (I#), (+#))
+#endif
+
+step :: Int -> Int
+#if API_LEVEL < 3
+step n = n + 1
+#else
+step (I# n) = I# (n +# 1#)
+#endif
diff --git a/corpora/vendored/cpp/settled/complement-settled-by-a-guard-asked-twice.hs b/corpora/vendored/cpp/settled/complement-settled-by-a-guard-asked-twice.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/settled/complement-settled-by-a-guard-asked-twice.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE CPP #-}
+#if API_LEVEL >= 3
+{-# LANGUAGE MagicHash #-}
+#endif
+module Counter where
+
+#if API_LEVEL >= 3
+import GHC.Exts (Int (I#), (+#))
+#endif
+
+step :: Int -> Int
+#if API_LEVEL < 3
+step n = n+1
+#else
+step (I# n) = I# (n +# 1#)
+#endif
diff --git a/corpora/vendored/cpp/settled/complement-settled-by-a-pragma-around-an-argument-and-its-else-out'.hs b/corpora/vendored/cpp/settled/complement-settled-by-a-pragma-around-an-argument-and-its-else-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/settled/complement-settled-by-a-pragma-around-an-argument-and-its-else-out'.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE OverloadedRecordDot #-}
+#ifdef PLAIN_RECORDS
+{-# LANGUAGE NoOverloadedRecordDot #-}
+#endif
+
+module Shop.Basket where
+
+total basket =
+    sum
+#ifndef PLAIN_RECORDS
+        basket.prices
+#else
+        (prices basket)
+#endif
diff --git a/corpora/vendored/cpp/settled/complement-settled-by-a-pragma-around-an-argument-and-its-else-out.hs b/corpora/vendored/cpp/settled/complement-settled-by-a-pragma-around-an-argument-and-its-else-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/settled/complement-settled-by-a-pragma-around-an-argument-and-its-else-out.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE OverloadedRecordDot #-}
+#ifdef PLAIN_RECORDS
+{-# LANGUAGE NoOverloadedRecordDot #-}
+#endif
+
+module Shop.Basket where
+
+total basket =
+  sum
+#ifndef PLAIN_RECORDS
+    basket.prices
+#else
+    (prices basket)
+#endif
diff --git a/corpora/vendored/cpp/settled/complement-settled-by-a-pragma-around-an-argument-and-its-else.hs b/corpora/vendored/cpp/settled/complement-settled-by-a-pragma-around-an-argument-and-its-else.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/settled/complement-settled-by-a-pragma-around-an-argument-and-its-else.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE OverloadedRecordDot #-}
+#ifdef PLAIN_RECORDS
+{-# LANGUAGE NoOverloadedRecordDot #-}
+#endif
+module Shop.Basket where
+
+total basket =
+  sum
+#ifndef PLAIN_RECORDS
+    basket.prices
+#else
+    (prices basket)
+#endif
diff --git a/corpora/vendored/cpp/settled/complement-settled-by-a-pragma-around-an-argument-out'.hs b/corpora/vendored/cpp/settled/complement-settled-by-a-pragma-around-an-argument-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/settled/complement-settled-by-a-pragma-around-an-argument-out'.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE OverloadedRecordDot #-}
+#ifdef PLAIN_RECORDS
+{-# LANGUAGE NoOverloadedRecordDot #-}
+#endif
+
+module Shop.Basket where
+
+total basket =
+    sum
+#ifndef PLAIN_RECORDS
+        basket.prices
+#endif
diff --git a/corpora/vendored/cpp/settled/complement-settled-by-a-pragma-around-an-argument-out.hs b/corpora/vendored/cpp/settled/complement-settled-by-a-pragma-around-an-argument-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/settled/complement-settled-by-a-pragma-around-an-argument-out.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE OverloadedRecordDot #-}
+#ifdef PLAIN_RECORDS
+{-# LANGUAGE NoOverloadedRecordDot #-}
+#endif
+
+module Shop.Basket where
+
+total basket =
+  sum
+#ifndef PLAIN_RECORDS
+    basket.prices
+#endif
diff --git a/corpora/vendored/cpp/settled/complement-settled-by-a-pragma-around-an-argument.hs b/corpora/vendored/cpp/settled/complement-settled-by-a-pragma-around-an-argument.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/settled/complement-settled-by-a-pragma-around-an-argument.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE OverloadedRecordDot #-}
+#ifdef PLAIN_RECORDS
+{-# LANGUAGE NoOverloadedRecordDot #-}
+#endif
+module Shop.Basket where
+
+total basket =
+  sum
+#ifndef PLAIN_RECORDS
+    basket.prices
+#endif
diff --git a/corpora/vendored/cpp/settled/complement-settled-by-a-pragma-turning-an-extension-off-out.hs b/corpora/vendored/cpp/settled/complement-settled-by-a-pragma-turning-an-extension-off-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/settled/complement-settled-by-a-pragma-turning-an-extension-off-out.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE OverloadedRecordDot #-}
+#ifdef PLAIN_RECORDS
+{-# LANGUAGE NoOverloadedRecordDot #-}
+#endif
+
+module Shop.Basket where
+
+#ifndef PLAIN_RECORDS
+total basket = sum basket.prices
+#endif
diff --git a/corpora/vendored/cpp/settled/complement-settled-by-a-pragma-turning-an-extension-off.hs b/corpora/vendored/cpp/settled/complement-settled-by-a-pragma-turning-an-extension-off.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/settled/complement-settled-by-a-pragma-turning-an-extension-off.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE OverloadedRecordDot #-}
+#ifdef PLAIN_RECORDS
+{-# LANGUAGE NoOverloadedRecordDot #-}
+#endif
+module Shop.Basket where
+
+#ifndef PLAIN_RECORDS
+total basket = sum basket.prices
+#endif
diff --git a/corpora/vendored/cpp/settled/complement-settled-by-a-pragma-under-an-else-out.hs b/corpora/vendored/cpp/settled/complement-settled-by-a-pragma-under-an-else-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/settled/complement-settled-by-a-pragma-under-an-else-out.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE CPP #-}
+#ifdef PORTABLE
+{-# LANGUAGE Safe #-}
+#else
+{-# LANGUAGE MagicHash #-}
+#endif
+
+module Counter where
+
+import GHC.Exts
+
+step :: Int -> Int
+#ifndef PORTABLE
+step (I# n) = I# (n +# 1#)
+#else
+step n = n + 1
+#endif
diff --git a/corpora/vendored/cpp/settled/complement-settled-by-a-pragma-under-an-else.hs b/corpora/vendored/cpp/settled/complement-settled-by-a-pragma-under-an-else.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/settled/complement-settled-by-a-pragma-under-an-else.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE CPP #-}
+#ifdef PORTABLE
+{-# LANGUAGE Safe #-}
+#else
+{-# LANGUAGE MagicHash #-}
+#endif
+module Counter where
+
+import GHC.Exts
+
+step :: Int -> Int
+#ifndef PORTABLE
+step (I# n) = I# (n +# 1#)
+#else
+step n = n+1
+#endif
diff --git a/corpora/vendored/cpp/settled/complementary-conditionals-inside-an-expression.hs b/corpora/vendored/cpp/settled/complementary-conditionals-inside-an-expression.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/settled/complementary-conditionals-inside-an-expression.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE CPP #-}
+
+module Emacs.Module.Common where
+
+checked :: Env -> Value -> IO Value
+checked env x = withValue env x $ \y ->
+#ifdef CHECKED
+    check y
+#endif
+#ifndef CHECKED
+    y
+#endif
diff --git a/corpora/vendored/cpp/settled/defined-without-parentheses-out.hs b/corpora/vendored/cpp/settled/defined-without-parentheses-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/settled/defined-without-parentheses-out.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE CPP #-}
+#if defined mingw32_HOST_OS
+{-# LANGUAGE MagicHash #-}
+#endif
+
+-- defined takes its name with or without parentheses, and an answer in one
+-- spelling settles a question asked in the other.
+module Path.Drive where
+
+drive :: Int
+#if defined(mingw32_HOST_OS) && !defined FORCE_POSIX
+drive = I# 3#
+#else
+drive = 0
+#endif
diff --git a/corpora/vendored/cpp/settled/defined-without-parentheses.hs b/corpora/vendored/cpp/settled/defined-without-parentheses.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/settled/defined-without-parentheses.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE CPP #-}
+#if defined mingw32_HOST_OS
+{-# LANGUAGE MagicHash #-}
+#endif
+-- defined takes its name with or without parentheses, and an answer in one
+-- spelling settles a question asked in the other.
+module Path.Drive where
+
+drive :: Int
+#if defined(mingw32_HOST_OS) && !defined FORCE_POSIX
+drive = I# 3#
+#else
+drive = 0
+#endif
diff --git a/corpora/vendored/cpp/settled/guards-nothing-can-settle-out.hs b/corpora/vendored/cpp/settled/guards-nothing-can-settle-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/settled/guards-nothing-can-settle-out.hs
@@ -0,0 +1,22 @@
+{-# LANGUAGE CPP #-}
+#if MIN_TOOL_VERSION_ghc(9,6,0)
+{-# LANGUAGE TypeData #-}
+#endif
+
+module Orchard.Fruit where
+
+#if MIN_TOOL_VERSION_ghc(9,6,0)
+type data Season = Spring | Autumn
+#else
+data Season = Spring | Autumn
+#endif
+
+#if MIN_TOOL_VERSION_ghc(9,4,0) && ORCHARD_FEATURES >= 0x0100
+ripe :: Int
+ripe = 1
+#endif
+
+#if HAS_FEATURE(FLAG(PRUNED))
+pruned :: Bool
+pruned = True
+#endif
diff --git a/corpora/vendored/cpp/settled/guards-nothing-can-settle.hs b/corpora/vendored/cpp/settled/guards-nothing-can-settle.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/settled/guards-nothing-can-settle.hs
@@ -0,0 +1,21 @@
+{-# LANGUAGE CPP #-}
+#if MIN_TOOL_VERSION_ghc(9,6,0)
+{-# LANGUAGE TypeData #-}
+#endif
+module Orchard.Fruit where
+
+#if MIN_TOOL_VERSION_ghc(9,6,0)
+type  data  Season  =  Spring  |  Autumn
+#else
+data  Season  =  Spring  |  Autumn
+#endif
+
+#if MIN_TOOL_VERSION_ghc(9,4,0) && ORCHARD_FEATURES >= 0x0100
+ripe :: Int
+ripe  =  1
+#endif
+
+#if HAS_FEATURE(FLAG(PRUNED))
+pruned :: Bool
+pruned  =  True
+#endif
diff --git a/corpora/vendored/cpp/settled/if-settled-by-an-ifdef-out.hs b/corpora/vendored/cpp/settled/if-settled-by-an-ifdef-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/settled/if-settled-by-an-ifdef-out.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE CPP #-}
+#ifdef USE_ST
+{-# LANGUAGE RankNTypes #-}
+#endif
+
+module Run where
+
+#if USE_ST
+run :: (forall s. s -> s) -> Int
+run f = f 1
+#endif
+
+count :: Int -> String
+count n = "count: " ++ show n
diff --git a/corpora/vendored/cpp/settled/if-settled-by-an-ifdef.hs b/corpora/vendored/cpp/settled/if-settled-by-an-ifdef.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/settled/if-settled-by-an-ifdef.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+#ifdef USE_ST
+{-# LANGUAGE RankNTypes #-}
+#endif
+module Run where
+
+#if USE_ST
+run :: (forall s. s -> s) -> Int
+run f = f 1
+#endif
+
+count :: Int -> String
+count n = "count: " ++ show n
diff --git a/corpora/vendored/cpp/settled/if-settled-inside-another-conditional-out.hs b/corpora/vendored/cpp/settled/if-settled-inside-another-conditional-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/settled/if-settled-inside-another-conditional-out.hs
@@ -0,0 +1,19 @@
+{-# LANGUAGE CPP #-}
+#if !defined(javascript_HOST_ARCH)
+{-# LANGUAGE CApiFFI #-}
+#endif
+
+module Clock where
+
+#ifndef mingw32_HOST_OS
+import Foreign.C
+
+#if defined(javascript_HOST_ARCH) || defined(__MHS__)
+foreign import ccall unsafe "time.h time" time :: CLong -> IO CLong
+#else
+foreign import capi unsafe "time.h time" time :: CLong -> IO CLong
+#endif
+
+now :: IO CLong
+now = time 0
+#endif
diff --git a/corpora/vendored/cpp/settled/if-settled-inside-another-conditional.hs b/corpora/vendored/cpp/settled/if-settled-inside-another-conditional.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/settled/if-settled-inside-another-conditional.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE CPP #-}
+#if !defined(javascript_HOST_ARCH)
+{-# LANGUAGE CApiFFI #-}
+#endif
+module Clock where
+
+#ifndef mingw32_HOST_OS
+import Foreign.C
+
+#if defined(javascript_HOST_ARCH) || defined(__MHS__)
+foreign import ccall unsafe "time.h time" time :: CLong -> IO CLong
+#else
+foreign import capi unsafe "time.h time" time :: CLong -> IO CLong
+#endif
+
+now :: IO CLong
+now = time 0
+#endif
diff --git a/corpora/vendored/cpp/settled/ifdef-asked-again-as-ifndef-out.hs b/corpora/vendored/cpp/settled/ifdef-asked-again-as-ifndef-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/settled/ifdef-asked-again-as-ifndef-out.hs
@@ -0,0 +1,23 @@
+{-# LANGUAGE CPP #-}
+#ifndef mingw32_HOST_OS
+{-# LANGUAGE CApiFFI #-}
+#endif
+
+module Process.Self where
+
+#ifdef mingw32_HOST_OS
+import System.Win32.Process (getCurrentProcessId)
+#endif
+#ifndef mingw32_HOST_OS
+import Foreign.C.Types (CInt (..))
+#endif
+
+selfId :: IO Int
+#ifdef mingw32_HOST_OS
+selfId = fromIntegral <$> getCurrentProcessId
+#endif
+#ifndef mingw32_HOST_OS
+selfId = fromIntegral <$> getPid
+
+foreign import capi "unistd.h getpid" getPid :: IO CInt
+#endif
diff --git a/corpora/vendored/cpp/settled/ifdef-asked-again-as-ifndef.hs b/corpora/vendored/cpp/settled/ifdef-asked-again-as-ifndef.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/settled/ifdef-asked-again-as-ifndef.hs
@@ -0,0 +1,22 @@
+{-# LANGUAGE CPP #-}
+#ifndef mingw32_HOST_OS
+{-# LANGUAGE CApiFFI #-}
+#endif
+module Process.Self where
+
+#ifdef mingw32_HOST_OS
+import System.Win32.Process (getCurrentProcessId)
+#endif
+#ifndef mingw32_HOST_OS
+import Foreign.C.Types (CInt (..))
+#endif
+
+selfId :: IO Int
+#ifdef mingw32_HOST_OS
+selfId  =  fromIntegral <$> getCurrentProcessId
+#endif
+#ifndef mingw32_HOST_OS
+selfId  =  fromIntegral <$> getPid
+
+foreign import capi "unistd.h getpid" getPid :: IO CInt
+#endif
diff --git a/corpora/vendored/cpp/settled/items-settled-by-an-exact-version-out'.hs b/corpora/vendored/cpp/settled/items-settled-by-an-exact-version-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/settled/items-settled-by-an-exact-version-out'.hs
@@ -0,0 +1,29 @@
+{-# LANGUAGE CPP #-}
+#if __GLASGOW_HASKELL__ == 904
+{-# LANGUAGE MagicHash #-}
+#endif
+
+-- Where the version is exactly the one asked about above, both conditionals
+-- in the list are settled: the first holds and the second does not.
+module Weather.Checks (checks) where
+
+#if __GLASGOW_HASKELL__ >= 904
+hailCheck :: Check
+hailCheck = case radar of
+    Doppler -> Check 3
+    Pulse n -> Check n
+    _ -> Check 0
+#endif
+
+checks :: [(String, Check)]
+checks =
+    [ ("wind", windCheck)
+    , ("rain", rainCheck)
+#if __GLASGOW_HASKELL__ >= 904
+    , ("hail", hailCheck)
+    , ("snow", snowCheck)
+#endif
+#if __GLASGOW_HASKELL__ >= 906
+    , ("fog", fogCheck)
+#endif
+    ]
diff --git a/corpora/vendored/cpp/settled/items-settled-by-an-exact-version-out.hs b/corpora/vendored/cpp/settled/items-settled-by-an-exact-version-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/settled/items-settled-by-an-exact-version-out.hs
@@ -0,0 +1,29 @@
+{-# LANGUAGE CPP #-}
+#if __GLASGOW_HASKELL__ == 904
+{-# LANGUAGE MagicHash #-}
+#endif
+
+-- Where the version is exactly the one asked about above, both conditionals
+-- in the list are settled: the first holds and the second does not.
+module Weather.Checks (checks) where
+
+#if __GLASGOW_HASKELL__ >= 904
+hailCheck :: Check
+hailCheck = case radar of
+  Doppler -> Check 3
+  Pulse n -> Check n
+  _ -> Check 0
+#endif
+
+checks :: [(String, Check)]
+checks =
+  [ ("wind", windCheck),
+    ("rain", rainCheck)
+#if __GLASGOW_HASKELL__ >= 904
+    , ("hail", hailCheck),
+    ("snow", snowCheck)
+#endif
+#if __GLASGOW_HASKELL__ >= 906
+    , ("fog", fogCheck)
+#endif
+  ]
diff --git a/corpora/vendored/cpp/settled/items-settled-by-an-exact-version.hs b/corpora/vendored/cpp/settled/items-settled-by-an-exact-version.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/settled/items-settled-by-an-exact-version.hs
@@ -0,0 +1,31 @@
+{-# LANGUAGE CPP #-}
+#if __GLASGOW_HASKELL__ == 904
+{-# LANGUAGE MagicHash #-}
+#endif
+
+-- Where the version is exactly the one asked about above, both conditionals
+-- in the list are settled: the first holds and the second does not.
+module Weather.Checks (checks) where
+
+#if __GLASGOW_HASKELL__ >= 904
+hailCheck :: Check
+hailCheck = case radar of
+  Doppler -> Check 3
+  Pulse n -> Check n
+  _ -> Check 0
+#endif
+
+checks :: [(String, Check)]
+checks =
+  [ ("wind", windCheck),
+    ("rain", rainCheck)
+#if __GLASGOW_HASKELL__ >= 904
+    ,
+    ("hail", hailCheck),
+    ("snow", snowCheck)
+#endif
+#if __GLASGOW_HASKELL__ >= 906
+    ,
+    ("fog", fogCheck)
+#endif
+  ]
diff --git a/corpora/vendored/cpp/settled/one-host-operating-system-at-a-time-out.hs b/corpora/vendored/cpp/settled/one-host-operating-system-at-a-time-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/settled/one-host-operating-system-at-a-time-out.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE CPP #-}
+
+module Kiln.Display (display) where
+
+-- GHC defines the macro of one operating system, so no configuration takes
+-- both conditionals, and the import never follows a declaration.
+#ifdef darwin_HOST_OS
+screen :: Int
+screen = 0
+#endif
+
+#ifdef linux_HOST_OS
+import Data.Maybe (fromMaybe)
+#endif
+
+display :: Maybe String -> String
+display = maybe "" id
diff --git a/corpora/vendored/cpp/settled/one-host-operating-system-at-a-time.hs b/corpora/vendored/cpp/settled/one-host-operating-system-at-a-time.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/settled/one-host-operating-system-at-a-time.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE CPP #-}
+module Kiln.Display (display) where
+
+-- GHC defines the macro of one operating system, so no configuration takes
+-- both conditionals, and the import never follows a declaration.
+#ifdef darwin_HOST_OS
+screen :: Int
+screen = 0
+#endif
+
+#ifdef linux_HOST_OS
+import Data.Maybe (fromMaybe)
+#endif
+
+display :: Maybe String -> String
+display = maybe "" id
diff --git a/corpora/vendored/cpp/settled/settled-conditional-holding-a-nested-one-out'.hs b/corpora/vendored/cpp/settled/settled-conditional-holding-a-nested-one-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/settled/settled-conditional-holding-a-nested-one-out'.hs
@@ -0,0 +1,20 @@
+{-# LANGUAGE CPP #-}
+#if MIN_VERSION_base(4,16,0)
+{-# LANGUAGE OverloadedRecordDot #-}
+#endif
+
+module Queue.Depth where
+
+data Queue = Queue{items :: [Int]}
+
+depth :: Queue -> Int
+depth q =
+#if !MIN_VERSION_base(4,16,0)
+    length (items q)
+#else
+#if defined(TRACE_QUEUE)
+    traceShow q.items (length q.items)
+#else
+    length q.items
+#endif
+#endif
diff --git a/corpora/vendored/cpp/settled/settled-conditional-holding-a-nested-one-out.hs b/corpora/vendored/cpp/settled/settled-conditional-holding-a-nested-one-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/settled/settled-conditional-holding-a-nested-one-out.hs
@@ -0,0 +1,20 @@
+{-# LANGUAGE CPP #-}
+#if MIN_VERSION_base(4,16,0)
+{-# LANGUAGE OverloadedRecordDot #-}
+#endif
+
+module Queue.Depth where
+
+data Queue = Queue{items :: [Int]}
+
+depth :: Queue -> Int
+depth q =
+#if !MIN_VERSION_base(4,16,0)
+  length (items q)
+#else
+#if defined(TRACE_QUEUE)
+  traceShow q.items (length q.items)
+#else
+  length q.items
+#endif
+#endif
diff --git a/corpora/vendored/cpp/settled/settled-conditional-holding-a-nested-one.hs b/corpora/vendored/cpp/settled/settled-conditional-holding-a-nested-one.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/settled/settled-conditional-holding-a-nested-one.hs
@@ -0,0 +1,19 @@
+{-# LANGUAGE CPP #-}
+#if MIN_VERSION_base(4,16,0)
+{-# LANGUAGE OverloadedRecordDot #-}
+#endif
+module Queue.Depth where
+
+data Queue = Queue{items :: [Int]}
+
+depth :: Queue -> Int
+depth q =
+#if !MIN_VERSION_base(4,16,0)
+  length  (items q)
+#else
+#if defined(TRACE_QUEUE)
+  traceShow q.items (length q.items)
+#else
+  length  q.items
+#endif
+#endif
diff --git a/corpora/vendored/cpp/settled/settled-in-imports-and-in-declarations-out'.hs b/corpora/vendored/cpp/settled/settled-in-imports-and-in-declarations-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/settled/settled-in-imports-and-in-declarations-out'.hs
@@ -0,0 +1,37 @@
+{-# LANGUAGE CPP #-}
+#if __GLASGOW_HASKELL__
+{-# LANGUAGE DeriveLift #-}
+{-# LANGUAGE StandaloneDeriving #-}
+{-# LANGUAGE TemplateHaskellQuotes #-}
+#endif
+#ifdef USE_ST
+{-# LANGUAGE RankNTypes #-}
+#endif
+
+module Graph where
+
+import Data.List (sort)
+#ifdef __GLASGOW_HASKELL__
+import Language.Haskell.TH.Syntax (Lift (..))
+#endif
+
+data SCC v = AcyclicSCC v
+
+#ifdef __GLASGOW_HASKELL__
+deriving instance Show v => Show (SCC v)
+
+#if MIN_VERSION_template_haskell(2,15,0)
+deriving instance Lift v => Lift (SCC v)
+#else
+instance Lift v => Lift (SCC v) where
+    lift (AcyclicSCC v) = [|AcyclicSCC v|]
+#endif
+#endif
+
+#if USE_ST
+run :: (forall s. s -> s) -> Int
+run f = f 1
+#endif
+
+f :: Int
+f = 1
diff --git a/corpora/vendored/cpp/settled/settled-in-imports-and-in-declarations-out.hs b/corpora/vendored/cpp/settled/settled-in-imports-and-in-declarations-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/settled/settled-in-imports-and-in-declarations-out.hs
@@ -0,0 +1,37 @@
+{-# LANGUAGE CPP #-}
+#if __GLASGOW_HASKELL__
+{-# LANGUAGE DeriveLift #-}
+{-# LANGUAGE StandaloneDeriving #-}
+{-# LANGUAGE TemplateHaskellQuotes #-}
+#endif
+#ifdef USE_ST
+{-# LANGUAGE RankNTypes #-}
+#endif
+
+module Graph where
+
+import Data.List (sort)
+#ifdef __GLASGOW_HASKELL__
+import Language.Haskell.TH.Syntax (Lift (..))
+#endif
+
+data SCC v = AcyclicSCC v
+
+#ifdef __GLASGOW_HASKELL__
+deriving instance Show v => Show (SCC v)
+
+#if MIN_VERSION_template_haskell(2,15,0)
+deriving instance Lift v => Lift (SCC v)
+#else
+instance Lift v => Lift (SCC v) where
+  lift (AcyclicSCC v) = [|AcyclicSCC v|]
+#endif
+#endif
+
+#if USE_ST
+run :: (forall s. s -> s) -> Int
+run f = f 1
+#endif
+
+f :: Int
+f = 1
diff --git a/corpora/vendored/cpp/settled/settled-in-imports-and-in-declarations.hs b/corpora/vendored/cpp/settled/settled-in-imports-and-in-declarations.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/settled/settled-in-imports-and-in-declarations.hs
@@ -0,0 +1,38 @@
+{-# LANGUAGE CPP #-}
+#if __GLASGOW_HASKELL__
+{-# LANGUAGE StandaloneDeriving #-}
+{-# LANGUAGE DeriveLift #-}
+{-# LANGUAGE TemplateHaskellQuotes #-}
+#endif
+#ifdef USE_ST
+{-# LANGUAGE RankNTypes #-}
+#endif
+module Graph where
+
+import Data.List (sort)
+
+#ifdef __GLASGOW_HASKELL__
+import Language.Haskell.TH.Syntax (Lift(..))
+#endif
+
+data SCC v = AcyclicSCC v
+
+#ifdef __GLASGOW_HASKELL__
+deriving instance Show v => Show (SCC v)
+
+#if MIN_VERSION_template_haskell(2,15,0)
+deriving instance Lift v => Lift (SCC v)
+#else
+instance Lift v => Lift (SCC v) where
+  lift (AcyclicSCC v) = [| AcyclicSCC v |]
+#endif
+
+#endif
+
+#if USE_ST
+run :: (forall s. s -> s) -> Int
+run f = f 1
+#endif
+
+f :: Int
+f = 1
diff --git a/corpora/vendored/cpp/settled/undefined-macro-compared-with-a-number-out.hs b/corpora/vendored/cpp/settled/undefined-macro-compared-with-a-number-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/settled/undefined-macro-compared-with-a-number-out.hs
@@ -0,0 +1,19 @@
+{-# LANGUAGE CPP #-}
+#ifdef BRUSH_SIZE
+{-# LANGUAGE MagicHash #-}
+#endif
+
+-- A macro that is not defined stands for 0 where it is compared with a
+-- number, so where the first conditional fails, the last one fails too.
+module Chimney.Brush (bristles) where
+
+#ifdef BRUSH_SIZE
+import GHC.Exts (Int (I#), (*#))
+#endif
+
+bristles :: Int -> Int
+#if BRUSH_SIZE >= 3
+bristles (I# n) = I# (n *# 40#)
+#else
+bristles n = n * 20
+#endif
diff --git a/corpora/vendored/cpp/settled/undefined-macro-compared-with-a-number.hs b/corpora/vendored/cpp/settled/undefined-macro-compared-with-a-number.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/settled/undefined-macro-compared-with-a-number.hs
@@ -0,0 +1,19 @@
+{-# LANGUAGE CPP #-}
+#ifdef BRUSH_SIZE
+{-# LANGUAGE MagicHash #-}
+#endif
+
+-- A macro that is not defined stands for 0 where it is compared with a
+-- number, so where the first conditional fails, the last one fails too.
+module Chimney.Brush (bristles) where
+
+#ifdef BRUSH_SIZE
+import GHC.Exts (Int (I#), (*#))
+#endif
+
+bristles :: Int -> Int
+#if BRUSH_SIZE >= 3
+bristles (I# n) = I# (n *# 40#)
+#else
+bristles n = n*20
+#endif
diff --git a/corpora/vendored/cpp/settled/version-range-settled-by-its-bound-out'.hs b/corpora/vendored/cpp/settled/version-range-settled-by-its-bound-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/settled/version-range-settled-by-its-bound-out'.hs
@@ -0,0 +1,21 @@
+{-# LANGUAGE CPP #-}
+#if MIN_VERSION_base(4,10,0)
+{-# LANGUAGE MagicHash #-}
+#endif
+
+module Raise (raiseIt, sorted) where
+
+import Control.Exception
+#if MIN_VERSION_base(4,10,0) && !MIN_VERSION_base(4,12,0)
+    hiding (throw)
+import GHC.Exts (raise#)
+#endif
+import Data.List (sort)
+
+#if MIN_VERSION_base(4,10,0)
+raiseIt :: SomeException -> a
+raiseIt = raise#
+#endif
+
+sorted :: [Int] -> [Int]
+sorted = sort
diff --git a/corpora/vendored/cpp/settled/version-range-settled-by-its-bound-out.hs b/corpora/vendored/cpp/settled/version-range-settled-by-its-bound-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/settled/version-range-settled-by-its-bound-out.hs
@@ -0,0 +1,21 @@
+{-# LANGUAGE CPP #-}
+#if MIN_VERSION_base(4,10,0)
+{-# LANGUAGE MagicHash #-}
+#endif
+
+module Raise (raiseIt, sorted) where
+
+import Control.Exception
+#if MIN_VERSION_base(4,10,0) && !MIN_VERSION_base(4,12,0)
+  hiding (throw)
+import GHC.Exts (raise#)
+#endif
+import Data.List (sort)
+
+#if MIN_VERSION_base(4,10,0)
+raiseIt :: SomeException -> a
+raiseIt = raise#
+#endif
+
+sorted :: [Int] -> [Int]
+sorted = sort
diff --git a/corpora/vendored/cpp/settled/version-range-settled-by-its-bound.hs b/corpora/vendored/cpp/settled/version-range-settled-by-its-bound.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/settled/version-range-settled-by-its-bound.hs
@@ -0,0 +1,20 @@
+{-# LANGUAGE CPP #-}
+#if MIN_VERSION_base(4,10,0)
+{-# LANGUAGE MagicHash #-}
+#endif
+module Raise (raiseIt, sorted) where
+
+import Control.Exception
+#if MIN_VERSION_base(4,10,0) && !MIN_VERSION_base(4,12,0)
+  hiding (throw)
+import GHC.Exts (raise#)
+#endif
+import Data.List (sort)
+
+#if MIN_VERSION_base(4,10,0)
+raiseIt :: SomeException -> a
+raiseIt = raise#
+#endif
+
+sorted :: [Int] -> [Int]
+sorted = sort
diff --git a/corpora/vendored/cpp/settled/version-settled-by-an-older-version-out.hs b/corpora/vendored/cpp/settled/version-settled-by-an-older-version-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/settled/version-settled-by-an-older-version-out.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE CPP #-}
+#if MIN_VERSION_base(4,10,0)
+{-# LANGUAGE MagicHash #-}
+#endif
+
+module Words where
+
+#if MIN_VERSION_base(4,11,0)
+import GHC.Exts (Int (I#), (+#))
+#endif
+
+#if MIN_VERSION_base(4,11,0)
+plusOne :: Int -> Int
+plusOne (I# n) = I# (n +# 1#)
+#else
+plusOne :: Int -> Int
+plusOne n = n + 1
+#endif
diff --git a/corpora/vendored/cpp/settled/version-settled-by-an-older-version.hs b/corpora/vendored/cpp/settled/version-settled-by-an-older-version.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/settled/version-settled-by-an-older-version.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE CPP #-}
+#if MIN_VERSION_base(4,10,0)
+{-# LANGUAGE MagicHash #-}
+#endif
+module Words where
+
+#if MIN_VERSION_base(4,11,0)
+import GHC.Exts (Int (I#), (+#))
+#endif
+
+#if MIN_VERSION_base(4,11,0)
+plusOne :: Int -> Int
+plusOne (I# n) = I# (n +# 1#)
+#else
+plusOne :: Int -> Int
+plusOne n = n+1
+#endif
diff --git a/corpora/vendored/cpp/settled/version-settled-holding-every-declaration-out.hs b/corpora/vendored/cpp/settled/version-settled-holding-every-declaration-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/settled/version-settled-holding-every-declaration-out.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE CPP #-}
+#if MIN_VERSION_base(4,10,0)
+{-# LANGUAGE MagicHash #-}
+#endif
+
+module Words where
+
+import Data.Bits (shiftL)
+#if MIN_VERSION_base(4,11,0)
+import GHC.Exts (Int (I#), uncheckedIShiftL#)
+
+double :: Int -> Int
+double (I# n) = I# (uncheckedIShiftL# n 1#)
+#endif
diff --git a/corpora/vendored/cpp/settled/version-settled-holding-every-declaration.hs b/corpora/vendored/cpp/settled/version-settled-holding-every-declaration.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/settled/version-settled-holding-every-declaration.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+#if MIN_VERSION_base(4,10,0)
+{-# LANGUAGE MagicHash #-}
+#endif
+module Words where
+
+import Data.Bits (shiftL)
+#if MIN_VERSION_base(4,11,0)
+import GHC.Exts (Int (I#), uncheckedIShiftL#)
+
+double :: Int -> Int
+double (I# n) = I# (uncheckedIShiftL# n 1#)
+#endif
diff --git a/corpora/vendored/cpp/settled/version-settled-where-answers-read-alike-out'.hs b/corpora/vendored/cpp/settled/version-settled-where-answers-read-alike-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/settled/version-settled-where-answers-read-alike-out'.hs
@@ -0,0 +1,22 @@
+{-# LANGUAGE CPP #-}
+
+-- No answer turns an extension on, but taking no branch of the first
+-- conditional and the branch of the second leaves a comma with nothing
+-- before it.
+module Data.Compat
+    (
+#if !(MIN_VERSION_base(4,16,0))
+      Solo (..)
+#endif
+#if !(MIN_VERSION_base(4,14,0))
+    , Pair (..)
+#endif
+    )
+where
+
+#if !(MIN_VERSION_base(4,16,0))
+newtype Solo a = Solo a
+#endif
+#if !(MIN_VERSION_base(4,14,0))
+data Pair a = Pair a a
+#endif
diff --git a/corpora/vendored/cpp/settled/version-settled-where-answers-read-alike-out.hs b/corpora/vendored/cpp/settled/version-settled-where-answers-read-alike-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/settled/version-settled-where-answers-read-alike-out.hs
@@ -0,0 +1,22 @@
+{-# LANGUAGE CPP #-}
+
+-- No answer turns an extension on, but taking no branch of the first
+-- conditional and the branch of the second leaves a comma with nothing
+-- before it.
+module Data.Compat
+  (
+#if !(MIN_VERSION_base(4,16,0))
+    Solo (..),
+#endif
+#if !(MIN_VERSION_base(4,14,0))
+    Pair (..),
+#endif
+  )
+where
+
+#if !(MIN_VERSION_base(4,16,0))
+newtype Solo a = Solo a
+#endif
+#if !(MIN_VERSION_base(4,14,0))
+data Pair a = Pair a a
+#endif
diff --git a/corpora/vendored/cpp/settled/version-settled-where-answers-read-alike.hs b/corpora/vendored/cpp/settled/version-settled-where-answers-read-alike.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/settled/version-settled-where-answers-read-alike.hs
@@ -0,0 +1,21 @@
+{-# LANGUAGE CPP #-}
+
+-- No answer turns an extension on, but taking no branch of the first
+-- conditional and the branch of the second leaves a comma with nothing
+-- before it.
+module Data.Compat
+  (
+#if !(MIN_VERSION_base(4,16,0))
+    Solo (..)
+#endif
+#if !(MIN_VERSION_base(4,14,0))
+  , Pair (..)
+#endif
+  ) where
+
+#if !(MIN_VERSION_base(4,16,0))
+newtype Solo a = Solo a
+#endif
+#if !(MIN_VERSION_base(4,14,0))
+data Pair a = Pair a a
+#endif
diff --git a/corpora/vendored/cpp/settled/versions-compared-with-less-than-out.hs b/corpora/vendored/cpp/settled/versions-compared-with-less-than-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/settled/versions-compared-with-less-than-out.hs
@@ -0,0 +1,34 @@
+{-# LANGUAGE CPP #-}
+#if __GLASGOW_HASKELL__ >= 904
+{-# LANGUAGE MagicHash #-}
+#endif
+
+-- An answer to >= settles the comparisons with <, <= and != that follow
+-- from it, so no configuration takes the code written for MagicHash
+-- without the pragma that turns it on.
+module Counter.Unboxed where
+
+#if __GLASGOW_HASKELL__ >= 904
+import GHC.Exts (Int (I#), (*#), (+#))
+#endif
+
+step :: Int -> Int
+#if __GLASGOW_HASKELL__ < 906
+step n = n + 1
+#else
+step (I# n) = I# (n +# 1#)
+#endif
+
+twice :: Int -> Int
+#if __GLASGOW_HASKELL__ <= 905
+twice n = n * 2
+#else
+twice (I# n) = I# (n *# 2#)
+#endif
+
+nine :: Int
+#if __GLASGOW_HASKELL__ != 906
+nine = 9
+#else
+nine = I# 9#
+#endif
diff --git a/corpora/vendored/cpp/settled/versions-compared-with-less-than.hs b/corpora/vendored/cpp/settled/versions-compared-with-less-than.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/settled/versions-compared-with-less-than.hs
@@ -0,0 +1,33 @@
+{-# LANGUAGE CPP #-}
+#if __GLASGOW_HASKELL__ >= 904
+{-# LANGUAGE MagicHash #-}
+#endif
+-- An answer to >= settles the comparisons with <, <= and != that follow
+-- from it, so no configuration takes the code written for MagicHash
+-- without the pragma that turns it on.
+module Counter.Unboxed where
+
+#if __GLASGOW_HASKELL__ >= 904
+import GHC.Exts (Int (I#), (*#), (+#))
+#endif
+
+step :: Int -> Int
+#if __GLASGOW_HASKELL__ < 906
+step n = n+1
+#else
+step (I# n) = I# (n +# 1#)
+#endif
+
+twice :: Int -> Int
+#if __GLASGOW_HASKELL__ <= 905
+twice n = n*2
+#else
+twice (I# n) = I# (n *# 2#)
+#endif
+
+nine :: Int
+#if __GLASGOW_HASKELL__ != 906
+nine = 9
+#else
+nine = I# 9#
+#endif
diff --git a/corpora/vendored/cpp/whole/branches-of-different-lengths-out'.hs b/corpora/vendored/cpp/whole/branches-of-different-lengths-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/whole/branches-of-different-lengths-out'.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE CPP #-}
+
+module M where
+
+before = 1
+
+#ifdef FOO
+mid = case x of
+    A -> 1
+    B -> 2
+#else
+mid = 3
+#endif
+
+after = 4
diff --git a/corpora/vendored/cpp/whole/branches-of-different-lengths-out.hs b/corpora/vendored/cpp/whole/branches-of-different-lengths-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/whole/branches-of-different-lengths-out.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE CPP #-}
+
+module M where
+
+before = 1
+
+#ifdef FOO
+mid = case x of
+  A -> 1
+  B -> 2
+#else
+mid = 3
+#endif
+
+after = 4
diff --git a/corpora/vendored/cpp/whole/branches-of-different-lengths.hs b/corpora/vendored/cpp/whole/branches-of-different-lengths.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/whole/branches-of-different-lengths.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE CPP #-}
+
+module M where
+
+before = 1
+
+#ifdef FOO
+mid = case x of
+  A -> 1
+  B -> 2
+#else
+mid = 3
+#endif
+
+after = 4
diff --git a/corpora/vendored/cpp/whole/branches-saying-the-same-thing-out.hs b/corpora/vendored/cpp/whole/branches-saying-the-same-thing-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/whole/branches-saying-the-same-thing-out.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE CPP #-}
+
+module M where
+
+#ifdef FOO
+mid = 2
+#else
+mid = 2
+#endif
diff --git a/corpora/vendored/cpp/whole/branches-saying-the-same-thing.hs b/corpora/vendored/cpp/whole/branches-saying-the-same-thing.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/whole/branches-saying-the-same-thing.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE CPP #-}
+
+module M where
+
+#ifdef FOO
+mid = 2
+#else
+mid  =  2
+#endif
diff --git a/corpora/vendored/cpp/whole/conditional-with-an-elif-and-an-empty-branch-out'.hs b/corpora/vendored/cpp/whole/conditional-with-an-elif-and-an-empty-branch-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/whole/conditional-with-an-elif-and-an-empty-branch-out'.hs
@@ -0,0 +1,40 @@
+{-# LANGUAGE CPP #-}
+
+module Kiln.Vents where
+
+-- A conditional after the one binding of a block, with an #elif and a
+-- branch that holds nothing, comes out as one conditional, as written.
+flues :: Int
+flues = lit
+    where
+        lit = 1
+#ifdef SEALED
+#elif defined(CHIMNEY)
+        drawn = 2
+#else
+        drawn = 3
+#endif
+
+dampers :: Int
+dampers = shut
+    where
+        shut = 0
+#ifdef SEALED
+        tight = 1
+#elif defined(CHIMNEY)
+#else
+        tight = 2
+#endif
+
+vents :: Int
+vents = open
+    where
+        open = 2
+#ifdef SEALED
+#elif defined(DAMPER)
+#if DAMPER > 1
+        shut = 1
+#endif
+#else
+        shut = 0
+#endif
diff --git a/corpora/vendored/cpp/whole/conditional-with-an-elif-and-an-empty-branch-out.hs b/corpora/vendored/cpp/whole/conditional-with-an-elif-and-an-empty-branch-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/whole/conditional-with-an-elif-and-an-empty-branch-out.hs
@@ -0,0 +1,40 @@
+{-# LANGUAGE CPP #-}
+
+module Kiln.Vents where
+
+-- A conditional after the one binding of a block, with an #elif and a
+-- branch that holds nothing, comes out as one conditional, as written.
+flues :: Int
+flues = lit
+  where
+    lit = 1
+#ifdef SEALED
+#elif defined(CHIMNEY)
+    drawn = 2
+#else
+    drawn = 3
+#endif
+
+dampers :: Int
+dampers = shut
+  where
+    shut = 0
+#ifdef SEALED
+    tight = 1
+#elif defined(CHIMNEY)
+#else
+    tight = 2
+#endif
+
+vents :: Int
+vents = open
+  where
+    open = 2
+#ifdef SEALED
+#elif defined(DAMPER)
+#if DAMPER > 1
+    shut = 1
+#endif
+#else
+    shut = 0
+#endif
diff --git a/corpora/vendored/cpp/whole/conditional-with-an-elif-and-an-empty-branch.hs b/corpora/vendored/cpp/whole/conditional-with-an-elif-and-an-empty-branch.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/whole/conditional-with-an-elif-and-an-empty-branch.hs
@@ -0,0 +1,40 @@
+{-# LANGUAGE CPP #-}
+
+module Kiln.Vents where
+
+-- A conditional after the one binding of a block, with an #elif and a
+-- branch that holds nothing, comes out as one conditional, as written.
+flues :: Int
+flues = lit
+  where
+    lit = 1
+#ifdef SEALED
+#elif defined(CHIMNEY)
+    drawn = 2
+#else
+    drawn = 3
+#endif
+
+dampers :: Int
+dampers = shut
+  where
+    shut = 0
+#ifdef SEALED
+    tight = 1
+#elif defined(CHIMNEY)
+#else
+    tight = 2
+#endif
+
+vents :: Int
+vents = open
+  where
+    open = 2
+#ifdef SEALED
+#elif defined(DAMPER)
+#if DAMPER > 1
+    shut = 1
+#endif
+#else
+    shut = 0
+#endif
diff --git a/corpora/vendored/cpp/whole/conditional-with-no-empty-lines-around-it-out.hs b/corpora/vendored/cpp/whole/conditional-with-no-empty-lines-around-it-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/whole/conditional-with-no-empty-lines-around-it-out.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+
+module M where
+
+before = 1
+
+#ifdef FOO
+mid = 2
+#else
+mid = 3
+#endif
+
+after = 4
diff --git a/corpora/vendored/cpp/whole/conditional-with-no-empty-lines-around-it.hs b/corpora/vendored/cpp/whole/conditional-with-no-empty-lines-around-it.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/whole/conditional-with-no-empty-lines-around-it.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE CPP #-}
+
+module M where
+before = 1
+#ifdef FOO
+mid = 2
+#else
+mid = 3
+#endif
+after = 4
diff --git a/corpora/vendored/cpp/whole/elif-chain-out.hs b/corpora/vendored/cpp/whole/elif-chain-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/whole/elif-chain-out.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Newline where
+
+newline :: String
+#if defined(TARGET_WINDOWS)
+newline = "\r\n"
+#elif defined(TARGET_CLASSIC_MAC)
+newline = "\r"
+#else
+newline = "\n"
+#endif
+
+indent :: Int
+indent = 2
diff --git a/corpora/vendored/cpp/whole/elif-chain-without-else-out.hs b/corpora/vendored/cpp/whole/elif-chain-without-else-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/whole/elif-chain-without-else-out.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE CPP #-}
+
+module M where
+
+#if A
+mid = 1
+#elif B
+mid = 2
+#endif
+
+after = 4
diff --git a/corpora/vendored/cpp/whole/elif-chain-without-else.hs b/corpora/vendored/cpp/whole/elif-chain-without-else.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/whole/elif-chain-without-else.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE CPP #-}
+
+module M where
+
+#if A
+mid = 1
+#elif B
+mid = 2
+#endif
+
+after = 4
diff --git a/corpora/vendored/cpp/whole/elif-chain.hs b/corpora/vendored/cpp/whole/elif-chain.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/whole/elif-chain.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Newline where
+
+newline :: String
+#if defined(TARGET_WINDOWS)
+newline  =  "\r\n"
+#elif defined(TARGET_CLASSIC_MAC)
+newline  =  "\r"
+#else
+newline  =  "\n"
+#endif
+
+indent :: Int
+indent  =  2
diff --git a/corpora/vendored/cpp/whole/empty-conditional-out.hs b/corpora/vendored/cpp/whole/empty-conditional-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/whole/empty-conditional-out.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Features where
+
+supportsColour :: Bool
+supportsColour = True
+
+#if MIN_VERSION_base(4,20,0)
+#endif
+
+supportsPaste :: Bool
+supportsPaste = True
diff --git a/corpora/vendored/cpp/whole/empty-conditional.hs b/corpora/vendored/cpp/whole/empty-conditional.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/whole/empty-conditional.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Features where
+
+supportsColour :: Bool
+supportsColour  =  True
+
+#if MIN_VERSION_base(4,20,0)
+#else
+#endif
+
+supportsPaste :: Bool
+supportsPaste  =  True
diff --git a/corpora/vendored/cpp/whole/no-alternative-out.hs b/corpora/vendored/cpp/whole/no-alternative-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/whole/no-alternative-out.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Legacy where
+
+columns :: Int
+columns = 80
+
+#if !MIN_VERSION_base(4,19,0)
+rows :: Int
+rows = 24
+#endif
+
+title :: String
+title = "session"
diff --git a/corpora/vendored/cpp/whole/no-alternative.hs b/corpora/vendored/cpp/whole/no-alternative.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/whole/no-alternative.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Legacy where
+
+columns :: Int
+columns  =  80
+
+#if !MIN_VERSION_base(4,19,0)
+rows    ::  Int
+rows  =  24
+#endif
+
+title :: String
+title  =  "session"
diff --git a/corpora/vendored/cpp/whole/one-line-declarations-around-a-conditional-out.hs b/corpora/vendored/cpp/whole/one-line-declarations-around-a-conditional-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/whole/one-line-declarations-around-a-conditional-out.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE CPP #-}
+
+module Shapes.Instances where
+
+instance Shape Circle
+instance Shape Square
+
+#if defined(TRIANGLES)
+instance Shape Triangle
+#endif
+
+instance Shape Hexagon
+instance Shape Octagon
diff --git a/corpora/vendored/cpp/whole/one-line-declarations-around-a-conditional.hs b/corpora/vendored/cpp/whole/one-line-declarations-around-a-conditional.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/whole/one-line-declarations-around-a-conditional.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE CPP #-}
+
+module Shapes.Instances where
+
+instance Shape Circle
+instance Shape Square
+#if defined(TRIANGLES)
+instance Shape Triangle
+#endif
+instance Shape Hexagon
+instance Shape Octagon
diff --git a/corpora/vendored/cpp/whole/preprocessor-turned-on-by-a-flag-out.hs b/corpora/vendored/cpp/whole/preprocessor-turned-on-by-a-flag-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/whole/preprocessor-turned-on-by-a-flag-out.hs
@@ -0,0 +1,10 @@
+{-# OPTIONS -cpp #-}
+
+module Version where
+
+#if __GLASGOW_HASKELL__ >= 900
+f :: Int
+#else
+f :: Integer
+#endif
+f = 1
diff --git a/corpora/vendored/cpp/whole/preprocessor-turned-on-by-a-flag.hs b/corpora/vendored/cpp/whole/preprocessor-turned-on-by-a-flag.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/whole/preprocessor-turned-on-by-a-flag.hs
@@ -0,0 +1,9 @@
+{-# OPTIONS -cpp #-}
+module Version where
+
+#if __GLASGOW_HASKELL__ >= 900
+f :: Int
+#else
+f :: Integer
+#endif
+f = 1
diff --git a/corpora/vendored/cpp/whole/side-by-side-out.hs b/corpora/vendored/cpp/whole/side-by-side-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/whole/side-by-side-out.hs
@@ -0,0 +1,22 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Feature where
+
+#ifdef WITH_MOUSE
+mouse :: Bool
+mouse = True
+#else
+mouse :: Bool
+mouse = False
+#endif
+
+always :: Bool
+always = True
+
+#ifdef WITH_BRACKETED_PASTE
+paste :: Bool
+paste = True
+#endif
+
+version :: Int
+version = 3
diff --git a/corpora/vendored/cpp/whole/side-by-side.hs b/corpora/vendored/cpp/whole/side-by-side.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/whole/side-by-side.hs
@@ -0,0 +1,22 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Feature where
+
+#ifdef WITH_MOUSE
+mouse  ::  Bool
+mouse  =  True
+#else
+mouse  ::  Bool
+mouse  =  False
+#endif
+
+always :: Bool
+always  =  True
+
+#ifdef WITH_BRACKETED_PASTE
+paste  ::  Bool
+paste  =  True
+#endif
+
+version :: Int
+version  =  3
diff --git a/corpora/vendored/cpp/whole/whole-declarations-out.hs b/corpora/vendored/cpp/whole/whole-declarations-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/whole/whole-declarations-out.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Palette where
+
+reset :: String
+reset = "\ESC[0m"
+
+#ifdef TRUECOLOUR
+paint :: Int -> Int -> Int -> String
+paint r g b = "\ESC[38;2;" ++ show r ++ ";" ++ show g ++ ";" ++ show b ++ "m"
+#else
+paint :: Int -> Int -> Int -> String
+paint _ _ _ = ""
+#endif
+
+clear :: String
+clear = "\ESC[2J"
diff --git a/corpora/vendored/cpp/whole/whole-declarations.hs b/corpora/vendored/cpp/whole/whole-declarations.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/cpp/whole/whole-declarations.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE CPP #-}
+
+module Terminal.Palette where
+
+reset :: String
+reset  =  "\ESC[0m"
+
+#ifdef TRUECOLOUR
+paint    ::  Int -> Int -> Int -> String
+paint r g b  =  "\ESC[38;2;" ++ show r ++ ";" ++ show g ++ ";" ++ show b ++ "m"
+#else
+paint    ::  Int -> Int -> Int -> String
+paint _ _ _  =  ""
+#endif
+
+clear :: String
+clear  =  "\ESC[2J"
diff --git a/corpora/vendored/declaration/binding/guards-starting-on-the-head-line-out'.hs b/corpora/vendored/declaration/binding/guards-starting-on-the-head-line-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/binding/guards-starting-on-the-head-line-out'.hs
@@ -0,0 +1,21 @@
+module Tariff.Band where
+
+band :: Int -> Char
+band kwh
+    | kwh < 100 = 'A'
+    | kwh < 500 = 'B'
+    | otherwise = 'C'
+
+charge :: Int -> Int
+charge kwh
+    | kwh < 100 =
+        kwh * 3
+            + standing
+    | otherwise =
+        kwh * 2
+            + standing
+
+rebate :: Int -> Int
+rebate kwh | kwh > 900 = 50
+rebate kwh | kwh > 600 = 20
+rebate _ = 0
diff --git a/corpora/vendored/declaration/binding/guards-starting-on-the-head-line-out.hs b/corpora/vendored/declaration/binding/guards-starting-on-the-head-line-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/binding/guards-starting-on-the-head-line-out.hs
@@ -0,0 +1,21 @@
+module Tariff.Band where
+
+band :: Int -> Char
+band kwh
+  | kwh < 100 = 'A'
+  | kwh < 500 = 'B'
+  | otherwise = 'C'
+
+charge :: Int -> Int
+charge kwh
+  | kwh < 100 =
+      kwh * 3
+        + standing
+  | otherwise =
+      kwh * 2
+        + standing
+
+rebate :: Int -> Int
+rebate kwh | kwh > 900 = 50
+rebate kwh | kwh > 600 = 20
+rebate _ = 0
diff --git a/corpora/vendored/declaration/binding/guards-starting-on-the-head-line.hs b/corpora/vendored/declaration/binding/guards-starting-on-the-head-line.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/binding/guards-starting-on-the-head-line.hs
@@ -0,0 +1,17 @@
+module Tariff.Band where
+
+band :: Int -> Char
+band kwh | kwh < 100 = 'A'
+         | kwh < 500 = 'B'
+         | otherwise = 'C'
+
+charge :: Int -> Int
+charge kwh | kwh < 100 = kwh * 3
+               + standing
+           | otherwise = kwh * 2
+               + standing
+
+rebate :: Int -> Int
+rebate kwh | kwh > 900 = 50
+rebate kwh | kwh > 600 = 20
+rebate _ = 0
diff --git a/corpora/vendored/declaration/binding/guards-written-on-one-line-out.hs b/corpora/vendored/declaration/binding/guards-written-on-one-line-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/binding/guards-written-on-one-line-out.hs
@@ -0,0 +1,7 @@
+module Shipping.Rate where
+
+zone :: Int -> Int
+zone km | km < 50 = 1 | km < 400 = 2 | otherwise = 3
+
+expressRate :: Int
+expressRate | base <- 12, base > 10 = base * 2 | otherwise = 20
diff --git a/corpora/vendored/declaration/binding/guards-written-on-one-line.hs b/corpora/vendored/declaration/binding/guards-written-on-one-line.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/binding/guards-written-on-one-line.hs
@@ -0,0 +1,7 @@
+module Shipping.Rate where
+
+zone :: Int -> Int
+zone km | km < 50 = 1 | km < 400 = 2 | otherwise = 3
+
+expressRate :: Int
+expressRate | base <- 12, base > 10 = base * 2 | otherwise = 20
diff --git a/corpora/vendored/declaration/binding/infix-definition-heads-across-lines-out'.hs b/corpora/vendored/declaration/binding/infix-definition-heads-across-lines-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/binding/infix-definition-heads-across-lines-out'.hs
@@ -0,0 +1,16 @@
+module Audio.Mix where
+
+(<+>) :: Track -> Track -> Gain -> Track
+( a
+    <+> b
+    )
+    g = amplify g (overlay a b)
+
+mixdown :: Track -> Track -> Gain -> Track
+mixdown x y = go
+    where
+        ( a
+            `blend` b
+            )
+            h = crossfade h a b
+        go = (x `blend` y)
diff --git a/corpora/vendored/declaration/binding/infix-definition-heads-across-lines-out.hs b/corpora/vendored/declaration/binding/infix-definition-heads-across-lines-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/binding/infix-definition-heads-across-lines-out.hs
@@ -0,0 +1,16 @@
+module Audio.Mix where
+
+(<+>) :: Track -> Track -> Gain -> Track
+( a
+    <+> b
+  )
+  g = amplify g (overlay a b)
+
+mixdown :: Track -> Track -> Gain -> Track
+mixdown x y = go
+  where
+    ( a
+        `blend` b
+      )
+      h = crossfade h a b
+    go = (x `blend` y)
diff --git a/corpora/vendored/declaration/binding/infix-definition-heads-across-lines.hs b/corpora/vendored/declaration/binding/infix-definition-heads-across-lines.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/binding/infix-definition-heads-across-lines.hs
@@ -0,0 +1,12 @@
+module Audio.Mix where
+
+(<+>) :: Track -> Track -> Gain -> Track
+(a
+  <+> b) g = amplify g (overlay a b)
+
+mixdown :: Track -> Track -> Gain -> Track
+mixdown x y = go
+  where
+    (a
+      `blend` b) h = crossfade h a b
+    go = (x `blend` y)
diff --git a/corpora/vendored/declaration/binding/infix-definitions-with-further-arguments-out'.hs b/corpora/vendored/declaration/binding/infix-definitions-with-further-arguments-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/binding/infix-definitions-with-further-arguments-out'.hs
@@ -0,0 +1,14 @@
+module Audio.Mix where
+
+infixl 6 <+>
+
+(<+>) :: Track -> Track -> Gain -> Track
+(a <+> b) g = amplify g (overlay a b)
+
+fadeInto :: Track -> Track -> Seconds -> Track
+(a `fadeInto` b) t = crossfade t a b
+
+duckUnder :: Track -> Track -> Gain -> Track
+(voice `duckUnder` music) g
+    | silent voice = music
+    | otherwise = overlay voice (amplify g music)
diff --git a/corpora/vendored/declaration/binding/infix-definitions-with-further-arguments-out.hs b/corpora/vendored/declaration/binding/infix-definitions-with-further-arguments-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/binding/infix-definitions-with-further-arguments-out.hs
@@ -0,0 +1,14 @@
+module Audio.Mix where
+
+infixl 6 <+>
+
+(<+>) :: Track -> Track -> Gain -> Track
+(a <+> b) g = amplify g (overlay a b)
+
+fadeInto :: Track -> Track -> Seconds -> Track
+(a `fadeInto` b) t = crossfade t a b
+
+duckUnder :: Track -> Track -> Gain -> Track
+(voice `duckUnder` music) g
+  | silent voice = music
+  | otherwise = overlay voice (amplify g music)
diff --git a/corpora/vendored/declaration/binding/infix-definitions-with-further-arguments.hs b/corpora/vendored/declaration/binding/infix-definitions-with-further-arguments.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/binding/infix-definitions-with-further-arguments.hs
@@ -0,0 +1,14 @@
+module Audio.Mix where
+
+infixl 6 <+>
+
+(<+>) :: Track -> Track -> Gain -> Track
+(a <+> b) g = amplify g (overlay a b)
+
+fadeInto :: Track -> Track -> Seconds -> Track
+(a `fadeInto` b) t = crossfade t a b
+
+duckUnder :: Track -> Track -> Gain -> Track
+(voice `duckUnder` music) g
+  | silent voice = music
+  | otherwise = overlay voice (amplify g music)
diff --git a/corpora/vendored/declaration/binding/operators-defined-prefix-and-infix-out'.hs b/corpora/vendored/declaration/binding/operators-defined-prefix-and-infix-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/binding/operators-defined-prefix-and-infix-out'.hs
@@ -0,0 +1,18 @@
+module Vector.Plane where
+
+infixl 6 |+|
+
+(|+|) :: Vec -> Vec -> Vec
+(|+|) (Vec a b) (Vec c d) = Vec (a + c) (b + d)
+
+(|-|) :: Vec -> Vec -> Vec
+u |-| Vec c d = u |+| Vec (negate c) (negate d)
+
+cross :: Vec -> Vec -> Double
+Vec a b `cross` Vec c d = a * d - b * c
+
+area :: Vec -> Vec -> Double
+area u v = abs (u `wedge` v) / 2
+    where
+        (Vec a b) `wedge` (Vec c d) = a * d - b * c
+        wedge' x = (`wedge` x)
diff --git a/corpora/vendored/declaration/binding/operators-defined-prefix-and-infix-out.hs b/corpora/vendored/declaration/binding/operators-defined-prefix-and-infix-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/binding/operators-defined-prefix-and-infix-out.hs
@@ -0,0 +1,18 @@
+module Vector.Plane where
+
+infixl 6 |+|
+
+(|+|) :: Vec -> Vec -> Vec
+(|+|) (Vec a b) (Vec c d) = Vec (a + c) (b + d)
+
+(|-|) :: Vec -> Vec -> Vec
+u |-| Vec c d = u |+| Vec (negate c) (negate d)
+
+cross :: Vec -> Vec -> Double
+Vec a b `cross` Vec c d = a * d - b * c
+
+area :: Vec -> Vec -> Double
+area u v = abs (u `wedge` v) / 2
+  where
+    (Vec a b) `wedge` (Vec c d) = a * d - b * c
+    wedge' x = (`wedge` x)
diff --git a/corpora/vendored/declaration/binding/operators-defined-prefix-and-infix.hs b/corpora/vendored/declaration/binding/operators-defined-prefix-and-infix.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/binding/operators-defined-prefix-and-infix.hs
@@ -0,0 +1,18 @@
+module Vector.Plane where
+
+infixl 6 |+|
+
+(|+|) :: Vec -> Vec -> Vec
+(|+|) (Vec a b) (Vec c d) = Vec (a + c) (b + d)
+
+(|-|) :: Vec -> Vec -> Vec
+u |-| Vec c d = u |+| Vec (negate c) (negate d)
+
+cross :: Vec -> Vec -> Double
+Vec a b `cross` Vec c d = a * d - b * c
+
+area :: Vec -> Vec -> Double
+area u v = abs (u `wedge` v) / 2
+  where
+    (Vec a b) `wedge` (Vec c d) = a * d - b * c
+    wedge' x = (`wedge` x)
diff --git a/corpora/vendored/declaration/binding/pattern-bindings-under-signatures-out'.hs b/corpora/vendored/declaration/binding/pattern-bindings-under-signatures-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/binding/pattern-bindings-under-signatures-out'.hs
@@ -0,0 +1,20 @@
+module Grid.Bounds where
+
+width, height :: Int
+(width, height) = (80, 24)
+
+margin, gutter :: Int
+~(margin, gutter) = (2, 1)
+
+_ = width > height
+
+cols, rows :: Int
+(cols, rows) = (w `div` cell, h `div` cell)
+    where
+        ~(w, h) = case screens of
+            [] -> (width, height)
+            s : _ -> s
+        cell = 8
+
+cells :: [(Int, Int)]
+cells = [(x, y) | let (w, h) = (width, height), x <- [0 .. w], y <- [0 .. h]]
diff --git a/corpora/vendored/declaration/binding/pattern-bindings-under-signatures-out.hs b/corpora/vendored/declaration/binding/pattern-bindings-under-signatures-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/binding/pattern-bindings-under-signatures-out.hs
@@ -0,0 +1,20 @@
+module Grid.Bounds where
+
+width, height :: Int
+(width, height) = (80, 24)
+
+margin, gutter :: Int
+~(margin, gutter) = (2, 1)
+
+_ = width > height
+
+cols, rows :: Int
+(cols, rows) = (w `div` cell, h `div` cell)
+  where
+    ~(w, h) = case screens of
+      [] -> (width, height)
+      s : _ -> s
+    cell = 8
+
+cells :: [(Int, Int)]
+cells = [(x, y) | let (w, h) = (width, height), x <- [0 .. w], y <- [0 .. h]]
diff --git a/corpora/vendored/declaration/binding/pattern-bindings-under-signatures.hs b/corpora/vendored/declaration/binding/pattern-bindings-under-signatures.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/binding/pattern-bindings-under-signatures.hs
@@ -0,0 +1,20 @@
+module Grid.Bounds where
+
+width, height :: Int
+(width, height) = (80, 24)
+
+margin, gutter :: Int
+~(margin, gutter) = (2, 1)
+
+_ = width > height
+
+cols, rows :: Int
+(cols, rows) = (w `div` cell, h `div` cell)
+  where
+    ~(w, h) = case screens of
+      [] -> (width, height)
+      s : _ -> s
+    cell = 8
+
+cells :: [(Int, Int)]
+cells = [(x, y) | let (w, h) = (width, height), x <- [0 .. w], y <- [0 .. h]]
diff --git a/corpora/vendored/declaration/class/associated-families-across-lines-out'.hs b/corpora/vendored/declaration/class/associated-families-across-lines-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/class/associated-families-across-lines-out'.hs
@@ -0,0 +1,23 @@
+{-# LANGUAGE TypeFamilies #-}
+
+module Board.Piece where
+
+import Data.Kind (Type)
+
+class Piece p where
+    type
+        Move
+            p
+    type
+        Square p
+            :: Type
+    data
+        Capture
+            p
+            side
+    moves :: p -> [Move p]
+
+class Board b where
+    type
+        Cell b
+            :: Type
diff --git a/corpora/vendored/declaration/class/associated-families-across-lines-out.hs b/corpora/vendored/declaration/class/associated-families-across-lines-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/class/associated-families-across-lines-out.hs
@@ -0,0 +1,23 @@
+{-# LANGUAGE TypeFamilies #-}
+
+module Board.Piece where
+
+import Data.Kind (Type)
+
+class Piece p where
+  type
+    Move
+      p
+  type
+    Square p ::
+      Type
+  data
+    Capture
+      p
+      side
+  moves :: p -> [Move p]
+
+class Board b where
+  type
+    Cell b ::
+      Type
diff --git a/corpora/vendored/declaration/class/associated-families-across-lines.hs b/corpora/vendored/declaration/class/associated-families-across-lines.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/class/associated-families-across-lines.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE TypeFamilies #-}
+
+module Board.Piece where
+
+import Data.Kind (Type)
+
+class Piece p where
+  type Move
+    p
+  type Square p
+    :: Type
+  data Capture
+    p side
+  moves :: p -> [Move p]
+
+class Board b where type Cell b
+                         :: Type
diff --git a/corpora/vendored/declaration/class/associated-types-out'.hs b/corpora/vendored/declaration/class/associated-types-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/class/associated-types-out'.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE TypeFamilies #-}
+
+module Store.Container where
+
+import Data.Kind (Type)
+
+class Container f where
+    type Elem f :: Type
+    type Elem f = Int
+    data Cursor f
+    empty :: f
+    insert :: Elem f -> f -> f
+
+instance Container [a] where
+    type Elem [a] = a
+    data Cursor [a] = ListCursor Int
+    empty = []
+    insert = (:)
diff --git a/corpora/vendored/declaration/class/associated-types-out.hs b/corpora/vendored/declaration/class/associated-types-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/class/associated-types-out.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE TypeFamilies #-}
+
+module Store.Container where
+
+import Data.Kind (Type)
+
+class Container f where
+  type Elem f :: Type
+  type Elem f = Int
+  data Cursor f
+  empty :: f
+  insert :: Elem f -> f -> f
+
+instance Container [a] where
+  type Elem [a] = a
+  data Cursor [a] = ListCursor Int
+  empty = []
+  insert = (:)
diff --git a/corpora/vendored/declaration/class/associated-types.hs b/corpora/vendored/declaration/class/associated-types.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/class/associated-types.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE TypeFamilies #-}
+
+module Store.Container where
+
+import Data.Kind (Type)
+
+class Container f where
+  type Elem f :: Type
+  type Elem f = Int
+  data Cursor f
+  empty :: f
+  insert :: Elem f -> f -> f
+
+instance Container [a] where
+  type Elem [a] = a
+  data Cursor [a] = ListCursor Int
+  empty = []
+  insert = (:)
diff --git a/corpora/vendored/declaration/class/blank-lines-between-members-out'.hs b/corpora/vendored/declaration/class/blank-lines-between-members-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/class/blank-lines-between-members-out'.hs
@@ -0,0 +1,28 @@
+{-# LANGUAGE DefaultSignatures #-}
+
+class Storable a where
+    put :: a -> Bytes
+
+    -- for when there is no hand-written instance
+    default put :: Generic a => a -> Bytes
+
+    -- which is what this then uses
+    put = genericPut
+
+class Sized a where
+    width :: a -> Int
+
+    height :: a -> Int
+
+class Packed a where
+    pack :: a -> Bytes
+    unpack :: Bytes -> a
+
+type family Width a where
+    -- the ones that fit in a machine word
+    Width Int = 64
+    Width Word = 64
+
+    -- and the ones that do not
+    Width Integer = Unbounded
+    Width Rational = Unbounded
diff --git a/corpora/vendored/declaration/class/blank-lines-between-members-out.hs b/corpora/vendored/declaration/class/blank-lines-between-members-out.hs
--- a/corpora/vendored/declaration/class/blank-lines-between-members-out.hs
+++ b/corpora/vendored/declaration/class/blank-lines-between-members-out.hs
@@ -4,7 +4,7 @@
   put :: a -> Bytes
 
   -- for when there is no hand-written instance
-  default put :: (Generic a) => a -> Bytes
+  default put :: Generic a => a -> Bytes
 
   -- which is what this then uses
   put = genericPut
diff --git a/corpora/vendored/declaration/class/classes-named-by-operators-out'.hs b/corpora/vendored/declaration/class/classes-named-by-operators-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/class/classes-named-by-operators-out'.hs
@@ -0,0 +1,21 @@
+module Route.Join where
+
+class (:<>) a b
+
+class
+    (:<|>)
+        a
+        b
+
+class a :+: b
+
+class (f :. g) a where
+    through :: f (g a) -> a
+
+class (f `Under` g) a
+
+class
+    ( path
+        :/ rest
+    )
+        method
diff --git a/corpora/vendored/declaration/class/classes-named-by-operators-out.hs b/corpora/vendored/declaration/class/classes-named-by-operators-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/class/classes-named-by-operators-out.hs
@@ -0,0 +1,21 @@
+module Route.Join where
+
+class (:<>) a b
+
+class
+  (:<|>)
+    a
+    b
+
+class a :+: b
+
+class (f :. g) a where
+  through :: f (g a) -> a
+
+class (f `Under` g) a
+
+class
+  ( path
+      :/ rest
+  )
+    method
diff --git a/corpora/vendored/declaration/class/classes-named-by-operators.hs b/corpora/vendored/declaration/class/classes-named-by-operators.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/class/classes-named-by-operators.hs
@@ -0,0 +1,19 @@
+module Route.Join where
+
+class (:<>) a b
+
+class (:<|>)
+  a
+  b
+
+class a :+: b
+
+class (f :. g) a where
+  through :: f (g a) -> a
+
+class (f `Under` g) a
+
+class
+  (path
+    :/ rest)
+  method
diff --git a/corpora/vendored/declaration/class/comment-above-a-member-out.hs b/corpora/vendored/declaration/class/comment-above-a-member-out.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/class/comment-above-a-member-out.hs
+++ /dev/null
@@ -1,24 +0,0 @@
-module Terminal.Grid where
-
-instance Applicative Grid where
-  pure = Grid . repeat
-  -- applied cell by cell
-  Grid fs <*> Grid xs = Grid (zipWith ($) fs xs)
-
-instance Monad Parser where
-  return = pure
-  {- the first version:
-  p >>= f = Parser (\s -> undefined)
-  -}
-  p >>= f = Parser (\s -> runParser p s >>= \(a, s') -> runParser (f a) s')
-
-  -- set apart as written
-  (>>) = (*>)
-
-class Cell a where
-  blank :: a
-  -- the one shown for a cell nothing was put in
-  placeholder :: a
-
-  -- | How wide it is.
-  width :: a -> Int
diff --git a/corpora/vendored/declaration/class/comment-above-a-member.hs b/corpora/vendored/declaration/class/comment-above-a-member.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/class/comment-above-a-member.hs
+++ /dev/null
@@ -1,23 +0,0 @@
-module Terminal.Grid where
-
-instance Applicative Grid where
-  pure = Grid . repeat
-  -- applied cell by cell
-  Grid fs <*> Grid xs = Grid (zipWith ($) fs xs)
-
-instance Monad Parser where
-  return = pure
-  {- the first version:
-  p >>= f = Parser (\s -> undefined)
-  -}
-  p >>= f = Parser (\s -> runParser p s >>= \(a, s') -> runParser (f a) s')
-
-  -- set apart as written
-  (>>) = (*>)
-
-class Cell a where
-  blank :: a
-  -- the one shown for a cell nothing was put in
-  placeholder :: a
-  -- | How wide it is.
-  width :: a -> Int
diff --git a/corpora/vendored/declaration/class/comment-under-the-last-member-out.hs b/corpora/vendored/declaration/class/comment-under-the-last-member-out.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/class/comment-under-the-last-member-out.hs
+++ /dev/null
@@ -1,24 +0,0 @@
-module Terminal.Time where
-
-class Timed a where
-  timeType ::
-    Maybe Word ->
-    Bool ->
-    a
-  -- TODO interval type
-
-class Zoned a where
-  zonedType ::
-    Maybe Word ->
-    -- | With time zone
-    Bool ->
-    a
-  -- TODO interval type
-
-instance Timed Int where
-  timeType precision zoned =
-    if zoned then 1 else 0
-  -- TODO use the precision
-
-clock :: Int
-clock = 1
diff --git a/corpora/vendored/declaration/class/comment-under-the-last-member.hs b/corpora/vendored/declaration/class/comment-under-the-last-member.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/class/comment-under-the-last-member.hs
+++ /dev/null
@@ -1,20 +0,0 @@
-module Terminal.Time where
-
-class Timed a where
-  timeType ::
-    Maybe Word ->
-    Bool ->
-    a
-  -- TODO interval type
-
-class Zoned a where
-  zonedType :: Maybe Word -> Bool {-^ With time zone -} -> a
-  -- TODO interval type
-
-instance Timed Int where
-  timeType precision zoned =
-    if zoned then 1 else 0
-  -- TODO use the precision
-
-clock :: Int
-clock = 1
diff --git a/corpora/vendored/declaration/class/default-declarations-out.hs b/corpora/vendored/declaration/class/default-declarations-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/class/default-declarations-out.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE NamedDefaults #-}
+
+module Calc.Literal where
+
+import Data.String (IsString)
+import Data.Text (Text)
+
+default (Integer, Double)
+
+default IsString (Text)
diff --git a/corpora/vendored/declaration/class/default-declarations.hs b/corpora/vendored/declaration/class/default-declarations.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/class/default-declarations.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE NamedDefaults #-}
+
+module Calc.Literal where
+
+import Data.String (IsString)
+import Data.Text (Text)
+
+default (Integer,Double)
+
+default IsString (Text)
diff --git a/corpora/vendored/declaration/class/default-types-written-with-brackets-out.hs b/corpora/vendored/declaration/class/default-types-written-with-brackets-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/class/default-types-written-with-brackets-out.hs
@@ -0,0 +1,5 @@
+{-# LANGUAGE ExtendedDefaultRules #-}
+
+module Shell.Session where
+
+default ((), [], Integer, Double)
diff --git a/corpora/vendored/declaration/class/default-types-written-with-brackets.hs b/corpora/vendored/declaration/class/default-types-written-with-brackets.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/class/default-types-written-with-brackets.hs
@@ -0,0 +1,5 @@
+{-# LANGUAGE ExtendedDefaultRules #-}
+
+module Shell.Session where
+
+default ((), [], Integer, Double)
diff --git a/corpora/vendored/declaration/class/empty-context-out'.hs b/corpora/vendored/declaration/class/empty-context-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/class/empty-context-out'.hs
@@ -0,0 +1,10 @@
+module Report.Pretty where
+
+class () => Pretty a where
+    pretty :: a -> String
+
+class Show a => Loud a where
+    loud :: a -> String
+
+width :: () => Int
+width = 80
diff --git a/corpora/vendored/declaration/class/empty-context-out.hs b/corpora/vendored/declaration/class/empty-context-out.hs
--- a/corpora/vendored/declaration/class/empty-context-out.hs
+++ b/corpora/vendored/declaration/class/empty-context-out.hs
@@ -3,7 +3,7 @@
 class () => Pretty a where
   pretty :: a -> String
 
-class (Show a) => Loud a where
+class Show a => Loud a where
   loud :: a -> String
 
 width :: () => Int
diff --git a/corpora/vendored/declaration/class/family-equations-with-a-forall-out'.hs b/corpora/vendored/declaration/class/family-equations-with-a-forall-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/class/family-equations-with-a-forall-out'.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE TypeFamilies #-}
+
+module Container.Inner where
+
+type family Inner c where
+    forall a. Inner [a] = a
+    forall k v. Inner (Map k v) = v
+    Inner c = c
+
+type family Outer c
+
+type instance forall a. Outer (Maybe a) = a
+
+type instance forall e i. Outer (Indexed i e) = (i, e)
diff --git a/corpora/vendored/declaration/class/family-equations-with-a-forall-out.hs b/corpora/vendored/declaration/class/family-equations-with-a-forall-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/class/family-equations-with-a-forall-out.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE TypeFamilies #-}
+
+module Container.Inner where
+
+type family Inner c where
+  forall a. Inner [a] = a
+  forall k v. Inner (Map k v) = v
+  Inner c = c
+
+type family Outer c
+
+type instance forall a. Outer (Maybe a) = a
+
+type instance forall e i. Outer (Indexed i e) = (i, e)
diff --git a/corpora/vendored/declaration/class/family-equations-with-a-forall.hs b/corpora/vendored/declaration/class/family-equations-with-a-forall.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/class/family-equations-with-a-forall.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE TypeFamilies #-}
+
+module Container.Inner where
+
+type family Inner c where
+  forall a. Inner [a] = a
+  forall k v. Inner (Map k v) = v
+  Inner c = c
+
+type family Outer c
+
+type instance forall a. Outer (Maybe a) = a
+
+type instance forall e i. Outer (Indexed i e) = (i, e)
diff --git a/corpora/vendored/declaration/class/functional-dependencies-of-several-variables-out'.hs b/corpora/vendored/declaration/class/functional-dependencies-of-several-variables-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/class/functional-dependencies-of-several-variables-out'.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE FunctionalDependencies #-}
+
+module Unit.Convert where
+
+class Convert from to result | from to -> result, result -> from where
+    convert :: from -> to -> result
+
+class Scale a b | a -> b, b -> a where
+    scale :: a -> b
diff --git a/corpora/vendored/declaration/class/functional-dependencies-of-several-variables-out.hs b/corpora/vendored/declaration/class/functional-dependencies-of-several-variables-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/class/functional-dependencies-of-several-variables-out.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE FunctionalDependencies #-}
+
+module Unit.Convert where
+
+class Convert from to result | from to -> result, result -> from where
+  convert :: from -> to -> result
+
+class Scale a b | a -> b, b -> a where
+  scale :: a -> b
diff --git a/corpora/vendored/declaration/class/functional-dependencies-of-several-variables.hs b/corpora/vendored/declaration/class/functional-dependencies-of-several-variables.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/class/functional-dependencies-of-several-variables.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE FunctionalDependencies #-}
+
+module Unit.Convert where
+
+class Convert from to result | from to -> result, result -> from where
+  convert :: from -> to -> result
+
+class Scale a b|a->b,b->a where
+  scale :: a -> b
diff --git a/corpora/vendored/declaration/class/functional-dependency-determining-several-variables-out'.hs b/corpora/vendored/declaration/class/functional-dependency-determining-several-variables-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/class/functional-dependency-determining-several-variables-out'.hs
@@ -0,0 +1,6 @@
+{-# LANGUAGE FunctionalDependencies #-}
+
+module Index.Lookup where
+
+class Indexed store key value | store -> key value where
+    lookupIn :: store -> key -> Maybe value
diff --git a/corpora/vendored/declaration/class/functional-dependency-determining-several-variables-out.hs b/corpora/vendored/declaration/class/functional-dependency-determining-several-variables-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/class/functional-dependency-determining-several-variables-out.hs
@@ -0,0 +1,6 @@
+{-# LANGUAGE FunctionalDependencies #-}
+
+module Index.Lookup where
+
+class Indexed store key value | store -> key value where
+  lookupIn :: store -> key -> Maybe value
diff --git a/corpora/vendored/declaration/class/functional-dependency-determining-several-variables.hs b/corpora/vendored/declaration/class/functional-dependency-determining-several-variables.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/class/functional-dependency-determining-several-variables.hs
@@ -0,0 +1,6 @@
+{-# LANGUAGE FunctionalDependencies #-}
+
+module Index.Lookup where
+
+class Indexed store key value | store -> key value where
+  lookupIn :: store -> key -> Maybe value
diff --git a/corpora/vendored/declaration/class/haddocks-in-a-class-without-a-body-out'.hs b/corpora/vendored/declaration/class/haddocks-in-a-class-without-a-body-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/class/haddocks-in-a-class-without-a-body-out'.hs
@@ -0,0 +1,14 @@
+module Data.CoerceSubst where
+
+class
+    Substitute
+        (from :: Type)
+        (to :: Type)
+    -- ^ the type substituted
+
+    -- ^ what it is substituted with
+
+class Known a -- ^ the type known
+
+class Narrowed a b | a -> b
+    -- | a class with no body
diff --git a/corpora/vendored/declaration/class/haddocks-in-a-class-without-a-body-out.hs b/corpora/vendored/declaration/class/haddocks-in-a-class-without-a-body-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/class/haddocks-in-a-class-without-a-body-out.hs
@@ -0,0 +1,14 @@
+module Data.CoerceSubst where
+
+class
+  Substitute
+    (from :: Type)
+    (to :: Type)
+  -- ^ the type substituted
+
+  -- ^ what it is substituted with
+
+class Known a -- ^ the type known
+
+class Narrowed a b | a -> b
+  -- | a class with no body
diff --git a/corpora/vendored/declaration/class/haddocks-in-a-class-without-a-body.hs b/corpora/vendored/declaration/class/haddocks-in-a-class-without-a-body.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/class/haddocks-in-a-class-without-a-body.hs
@@ -0,0 +1,12 @@
+module Data.CoerceSubst where
+
+class Substitute
+  (from :: Type)
+  -- ^ the type substituted
+  (to :: Type)
+  -- ^ what it is substituted with
+
+class Known a -- ^ the type known
+
+class Narrowed a b | a -> b
+  -- | a class with no body
diff --git a/corpora/vendored/declaration/class/kind-argument-on-a-family-instance-out.hs b/corpora/vendored/declaration/class/kind-argument-on-a-family-instance-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/class/kind-argument-on-a-family-instance-out.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE TypeFamilies #-}
+
+module Shape.Fallback where
+
+import Data.Kind (Type)
+
+type family Fallback (a :: k) :: k
+
+type instance Fallback @Type a = Maybe a
+
+type instance Fallback @(Type -> Type) f = f
diff --git a/corpora/vendored/declaration/class/kind-argument-on-a-family-instance.hs b/corpora/vendored/declaration/class/kind-argument-on-a-family-instance.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/class/kind-argument-on-a-family-instance.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE TypeFamilies #-}
+
+module Shape.Fallback where
+
+import Data.Kind (Type)
+
+type family Fallback (a :: k) :: k
+
+type instance Fallback @Type a = Maybe a
+
+type instance Fallback @(Type -> Type) f = f
diff --git a/corpora/vendored/declaration/class/kinded-parameters-across-lines-out'.hs b/corpora/vendored/declaration/class/kinded-parameters-across-lines-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/class/kinded-parameters-across-lines-out'.hs
@@ -0,0 +1,16 @@
+module Shape.Measure where
+
+class Sized (s :: *)
+
+class
+    Measured
+        ( m
+            :: * -> *
+        )
+
+class
+    Fitted
+        (outer :: *)
+        ( inner
+            :: *
+        )
diff --git a/corpora/vendored/declaration/class/kinded-parameters-across-lines-out.hs b/corpora/vendored/declaration/class/kinded-parameters-across-lines-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/class/kinded-parameters-across-lines-out.hs
@@ -0,0 +1,16 @@
+module Shape.Measure where
+
+class Sized (s :: *)
+
+class
+  Measured
+    ( m ::
+        * -> *
+    )
+
+class
+  Fitted
+    (outer :: *)
+    ( inner ::
+        *
+    )
diff --git a/corpora/vendored/declaration/class/kinded-parameters-across-lines.hs b/corpora/vendored/declaration/class/kinded-parameters-across-lines.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/class/kinded-parameters-across-lines.hs
@@ -0,0 +1,10 @@
+module Shape.Measure where
+
+class Sized (s :: *)
+
+class Measured
+  (m
+     :: * -> *)
+
+class Fitted (outer :: *) (inner
+  :: *)
diff --git a/corpora/vendored/declaration/class/named-default-over-several-lines-out'.hs b/corpora/vendored/declaration/class/named-default-over-several-lines-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/class/named-default-over-several-lines-out'.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE NamedDefaults #-}
+
+-- The class a named default is for stays on the line of default.
+module Calc.Literal where
+
+import Data.String (IsString)
+import Data.Text (Text)
+
+default IsString
+    ( Text
+    , String
+    )
diff --git a/corpora/vendored/declaration/class/named-default-over-several-lines-out.hs b/corpora/vendored/declaration/class/named-default-over-several-lines-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/class/named-default-over-several-lines-out.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE NamedDefaults #-}
+
+-- The class a named default is for stays on the line of default.
+module Calc.Literal where
+
+import Data.String (IsString)
+import Data.Text (Text)
+
+default IsString
+  ( Text,
+    String
+  )
diff --git a/corpora/vendored/declaration/class/named-default-over-several-lines.hs b/corpora/vendored/declaration/class/named-default-over-several-lines.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/class/named-default-over-several-lines.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE NamedDefaults #-}
+
+-- The class a named default is for stays on the line of default.
+module Calc.Literal where
+
+import Data.String (IsString)
+import Data.Text (Text)
+
+default IsString
+  (Text, String)
diff --git a/corpora/vendored/declaration/class/standalone-deriving-via-a-bracketed-type-out.hs b/corpora/vendored/declaration/class/standalone-deriving-via-a-bracketed-type-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/class/standalone-deriving-via-a-bracketed-type-out.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE DerivingVia #-}
+
+module Score.Total where
+
+import Data.Monoid (Sum (..))
+
+newtype Score = Score Int
+
+deriving via (Sum Int) instance Semigroup Score
diff --git a/corpora/vendored/declaration/class/standalone-deriving-via-a-bracketed-type.hs b/corpora/vendored/declaration/class/standalone-deriving-via-a-bracketed-type.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/class/standalone-deriving-via-a-bracketed-type.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE DerivingVia #-}
+
+module Score.Total where
+
+import Data.Monoid (Sum (..))
+
+newtype Score = Score Int
+
+deriving via (Sum Int) instance Semigroup Score
diff --git a/corpora/vendored/declaration/class/standalone-deriving-with-a-strategy-out.hs b/corpora/vendored/declaration/class/standalone-deriving-with-a-strategy-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/class/standalone-deriving-with-a-strategy-out.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE DeriveAnyClass #-}
+{-# LANGUAGE DerivingStrategies #-}
+
+module Geometry.Point where
+
+data Point = Point Int Int
+
+deriving stock instance Eq Point
+
+deriving stock instance Show Point
+
+newtype Distance = Distance Double
+
+deriving newtype instance Num Distance
+
+deriving anyclass instance Describable Point
diff --git a/corpora/vendored/declaration/class/standalone-deriving-with-a-strategy.hs b/corpora/vendored/declaration/class/standalone-deriving-with-a-strategy.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/class/standalone-deriving-with-a-strategy.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE DeriveAnyClass #-}
+{-# LANGUAGE DerivingStrategies #-}
+
+module Geometry.Point where
+
+data Point = Point Int Int
+
+deriving stock instance Eq Point
+
+deriving stock instance Show Point
+
+newtype Distance = Distance Double
+
+deriving newtype instance Num Distance
+
+deriving anyclass instance Describable Point
diff --git a/corpora/vendored/declaration/class/where-without-members-out.hs b/corpora/vendored/declaration/class/where-without-members-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/class/where-without-members-out.hs
@@ -0,0 +1,7 @@
+module Shelf.Marker where
+
+class Marker a where
+
+instance Marker Int where
+
+instance Show Marked where
diff --git a/corpora/vendored/declaration/class/where-without-members.hs b/corpora/vendored/declaration/class/where-without-members.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/class/where-without-members.hs
@@ -0,0 +1,7 @@
+module Shelf.Marker where
+
+class Marker a where
+
+instance Marker Int where
+
+instance Show Marked where
diff --git a/corpora/vendored/declaration/data/block-haddock-on-the-left-of-an-infix-constructor-out.hs b/corpora/vendored/declaration/data/block-haddock-on-the-left-of-an-infix-constructor-out.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/data/block-haddock-on-the-left-of-an-infix-constructor-out.hs
+++ /dev/null
@@ -1,10 +0,0 @@
-module Kiln.Infix where
-
--- A block Haddock ends where it closes, so the constructor stays on the
--- line it is written on.
-data Ratio = Integer {- ^ the numerator -} :% Integer
-
-data Interval
-  = Double {- ^ the lower bound -}
-      :..
-      Double
diff --git a/corpora/vendored/declaration/data/block-haddock-on-the-left-of-an-infix-constructor.hs b/corpora/vendored/declaration/data/block-haddock-on-the-left-of-an-infix-constructor.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/data/block-haddock-on-the-left-of-an-infix-constructor.hs
+++ /dev/null
@@ -1,9 +0,0 @@
-module Kiln.Infix where
-
--- A block Haddock ends where it closes, so the constructor stays on the
--- line it is written on.
-data Ratio = Integer {- ^ the numerator -} :% Integer
-
-data Interval
-  = Double {- ^ the lower bound -}
-      :.. Double
diff --git a/corpora/vendored/declaration/data/comment-above-a-documented-brace-out.hs b/corpora/vendored/declaration/data/comment-above-a-documented-brace-out.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/data/comment-above-a-documented-brace-out.hs
+++ /dev/null
@@ -1,10 +0,0 @@
-module Terminal.Size where
-
-data Size
-  = MkSize
-  -- static
-  { -- | how tall the terminal is
-    rows :: Int,
-    -- | how wide it is
-    columns :: Int
-  }
diff --git a/corpora/vendored/declaration/data/comment-above-a-documented-brace.hs b/corpora/vendored/declaration/data/comment-above-a-documented-brace.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/data/comment-above-a-documented-brace.hs
+++ /dev/null
@@ -1,10 +0,0 @@
-module Terminal.Size where
-
-data Size
-  = MkSize
-  -- static
-  { rows :: Int
-    -- ^ how tall the terminal is
-  , columns :: Int
-    -- ^ how wide it is
-  }
diff --git a/corpora/vendored/declaration/data/comment-above-a-moved-haddock-out.hs b/corpora/vendored/declaration/data/comment-above-a-moved-haddock-out.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/data/comment-above-a-moved-haddock-out.hs
+++ /dev/null
@@ -1,9 +0,0 @@
-module Terminal.Size where
-
-data Size = Size
-  { rows :: Int,
-    -- Measured once at startup; the terminal is not resized while we run.
-
-    -- | How wide the terminal is.
-    columns :: Int
-  }
diff --git a/corpora/vendored/declaration/data/comment-above-a-moved-haddock.hs b/corpora/vendored/declaration/data/comment-above-a-moved-haddock.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/data/comment-above-a-moved-haddock.hs
+++ /dev/null
@@ -1,8 +0,0 @@
-module Terminal.Size where
-
-data Size = Size
-  { rows :: Int
-  -- Measured once at startup; the terminal is not resized while we run.
-  , columns :: Int
-  -- ^ How wide the terminal is.
-  }
diff --git a/corpora/vendored/declaration/data/comment-after-the-equals-sign-out.hs b/corpora/vendored/declaration/data/comment-after-the-equals-sign-out.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/data/comment-after-the-equals-sign-out.hs
+++ /dev/null
@@ -1,16 +0,0 @@
-module M where
-
-data Answer
-  = {- in the order asked -}
-    Yes
-  | No
-
-data Size
-  = {- small
-    ones first -}
-    Small
-  | Large
-
-newtype Count
-  = {- of answers -}
-    Count Int
diff --git a/corpora/vendored/declaration/data/comment-after-the-equals-sign.hs b/corpora/vendored/declaration/data/comment-after-the-equals-sign.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/data/comment-after-the-equals-sign.hs
+++ /dev/null
@@ -1,11 +0,0 @@
-module M where
-
-data Answer = {- in the order asked -}
-  Yes | No
-
-data Size = {- small
-  ones first -}
-  Small | Large
-
-newtype Count = {- of answers -}
-  Count Int
diff --git a/corpora/vendored/declaration/data/comment-between-a-haddock-and-its-constructor-out.hs b/corpora/vendored/declaration/data/comment-between-a-haddock-and-its-constructor-out.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/data/comment-between-a-haddock-and-its-constructor-out.hs
+++ /dev/null
@@ -1,21 +0,0 @@
-module Shape.Kind where
-
-data Shape
-  = Circle Double
-  | -- | A rectangle, given its width and height.
-
-    -- Squares are rectangles too, for now.
-    Rectangle Double Double
-  | -- | A polygon, given its corners,
-    -- in clockwise order.
-
-    -- Corners may repeat.
-    Polygon [(Double, Double)]
-
-data Style = Style
-  { strokeWidth :: Double,
-    -- | The colour of the fill.
-
-    -- Transparent when absent.
-    fill :: Maybe String
-  }
diff --git a/corpora/vendored/declaration/data/comment-between-a-haddock-and-its-constructor.hs b/corpora/vendored/declaration/data/comment-between-a-haddock-and-its-constructor.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/data/comment-between-a-haddock-and-its-constructor.hs
+++ /dev/null
@@ -1,21 +0,0 @@
-module Shape.Kind where
-
-data Shape
-  = Circle Double
-  -- | A rectangle, given its width and height.
-
-  -- Squares are rectangles too, for now.
-  | Rectangle Double Double
-  -- | A polygon, given its corners,
-  -- in clockwise order.
-
-  -- Corners may repeat.
-  | Polygon [(Double, Double)]
-
-data Style = Style
-  { strokeWidth :: Double
-  -- | The colour of the fill.
-
-  -- Transparent when absent.
-  , fill :: Maybe String
-  }
diff --git a/corpora/vendored/declaration/data/comment-between-constructors-out.hs b/corpora/vendored/declaration/data/comment-between-constructors-out.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/data/comment-between-constructors-out.hs
+++ /dev/null
@@ -1,28 +0,0 @@
-module Kiln.Glaze where
-
--- A comment between constructors keeps the empty lines the author left
--- around it, but for one above it when it joins the line of a bar.
-data Finish
-  = Matte
-  | -- Dry to the touch.
-
-    Satin
-  | -- Somewhere between the two.
-
-    Gloss
-
--- A Haddock belongs to its constructor, and no empty line goes around it.
-data Kiln
-  = Electric
-  | -- | Fired with gas, for reduction.
-    Gas
-  | Wood
-
--- The same between the constructors of a GADT.
-data Firing a where
-  Bisque :: Firing ()
-  -- The first firing, unglazed.
-
-  Glaze :: Firing Finish
-  -- | Fired once more, low.
-  Luster :: Firing Finish
diff --git a/corpora/vendored/declaration/data/comment-between-constructors.hs b/corpora/vendored/declaration/data/comment-between-constructors.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/data/comment-between-constructors.hs
+++ /dev/null
@@ -1,33 +0,0 @@
-module Kiln.Glaze where
-
--- A comment between constructors keeps the empty lines the author left
--- around it, but for one above it when it joins the line of a bar.
-data Finish
-  = Matte
-  -- Dry to the touch.
-
-  | Satin
-
-  -- Somewhere between the two.
-
-  | Gloss
-
--- A Haddock belongs to its constructor, and no empty line goes around it.
-data Kiln
-  = Electric
-
-  -- | Fired with gas, for reduction.
-
-  | Gas
-  | Wood
-
--- The same between the constructors of a GADT.
-data Firing a where
-  Bisque :: Firing ()
-  -- The first firing, unglazed.
-
-  Glaze :: Firing Finish
-
-  -- | Fired once more, low.
-
-  Luster :: Firing Finish
diff --git a/corpora/vendored/declaration/data/comment-in-empty-deriving-brackets-out.hs b/corpora/vendored/declaration/data/comment-in-empty-deriving-brackets-out.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/data/comment-in-empty-deriving-brackets-out.hs
+++ /dev/null
@@ -1,15 +0,0 @@
-data Node = Leaf | Branch
-  deriving ({-! CNode !-})
-
--- * Section
-
-data Edge = Edge
-  deriving ({- nothing yet -})
-
-data Face = Face
-  deriving
-    ( -- room for classes later
-    )
-
-size :: Int
-size = 1
diff --git a/corpora/vendored/declaration/data/comment-in-empty-deriving-brackets.hs b/corpora/vendored/declaration/data/comment-in-empty-deriving-brackets.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/data/comment-in-empty-deriving-brackets.hs
+++ /dev/null
@@ -1,13 +0,0 @@
-data Node = Leaf | Branch
-  deriving ({-! CNode !-})
-
--- * Section
-
-data Edge = Edge
-  deriving ({- nothing yet -})
-
-data Face = Face deriving ( -- room for classes later
-  )
-
-size :: Int
-size = 1
diff --git a/corpora/vendored/declaration/data/comment-in-record-braces-out.hs b/corpora/vendored/declaration/data/comment-in-record-braces-out.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/data/comment-in-record-braces-out.hs
+++ /dev/null
@@ -1,8 +0,0 @@
-data Empty = Empty
-  { -- room for fields later
-  }
-
-data One = One
-  { only :: Int
-    -- and nothing else
-  }
diff --git a/corpora/vendored/declaration/data/comment-in-record-braces.hs b/corpora/vendored/declaration/data/comment-in-record-braces.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/data/comment-in-record-braces.hs
+++ /dev/null
@@ -1,7 +0,0 @@
-data Empty = Empty {
-  -- room for fields later
-  }
-
-data One = One { only :: Int
-  -- and nothing else
-  }
diff --git a/corpora/vendored/declaration/data/constructors-under-a-broken-forall-out'.hs b/corpora/vendored/declaration/data/constructors-under-a-broken-forall-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/constructors-under-a-broken-forall-out'.hs
@@ -0,0 +1,24 @@
+module Job.Handler where
+
+data Handler
+    = forall a
+       . Handler
+            (a -> IO ())
+            a
+
+data Hook a
+    = Show a
+      => Hook
+            { hookRun :: a -> IO ()
+            }
+
+data Task
+    = forall a
+       . Task
+            { taskRun :: a -> IO ()
+            }
+
+data Step = forall a
+     . Step
+        { stepRun :: a -> IO ()
+        }
diff --git a/corpora/vendored/declaration/data/constructors-under-a-broken-forall-out.hs b/corpora/vendored/declaration/data/constructors-under-a-broken-forall-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/constructors-under-a-broken-forall-out.hs
@@ -0,0 +1,24 @@
+module Job.Handler where
+
+data Handler
+  = forall a.
+    Handler
+      (a -> IO ())
+      a
+
+data Hook a
+  = Show a =>
+    Hook
+      { hookRun :: a -> IO ()
+      }
+
+data Task
+  = forall a.
+    Task
+      { taskRun :: a -> IO ()
+      }
+
+data Step = forall a.
+  Step
+    { stepRun :: a -> IO ()
+    }
diff --git a/corpora/vendored/declaration/data/constructors-under-a-broken-forall.hs b/corpora/vendored/declaration/data/constructors-under-a-broken-forall.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/constructors-under-a-broken-forall.hs
@@ -0,0 +1,24 @@
+module Job.Handler where
+
+data Handler
+  = forall a.
+    Handler
+      (a -> IO ())
+      a
+
+data Hook a
+  = Show a =>
+    Hook
+      { hookRun :: a -> IO ()
+      }
+
+data Task
+  = forall a.
+    Task
+      { taskRun :: a -> IO ()
+      }
+
+data Step = forall a.
+  Step
+    { stepRun :: a -> IO ()
+    }
diff --git a/corpora/vendored/declaration/data/data-family-and-its-instances-out'.hs b/corpora/vendored/declaration/data/data-family-and-its-instances-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/data-family-and-its-instances-out'.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE TypeFamilies #-}
+
+module Sensor.Buffer where
+
+data family Buffer a
+
+data instance Buffer Int = IntBuffer [Int]
+
+newtype instance Buffer Bool = BoolBuffer Integer
+
+data instance Buffer Double
+    = Empty
+    | Samples [Double] Int
diff --git a/corpora/vendored/declaration/data/data-family-and-its-instances-out.hs b/corpora/vendored/declaration/data/data-family-and-its-instances-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/data-family-and-its-instances-out.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE TypeFamilies #-}
+
+module Sensor.Buffer where
+
+data family Buffer a
+
+data instance Buffer Int = IntBuffer [Int]
+
+newtype instance Buffer Bool = BoolBuffer Integer
+
+data instance Buffer Double
+  = Empty
+  | Samples [Double] Int
diff --git a/corpora/vendored/declaration/data/data-family-and-its-instances.hs b/corpora/vendored/declaration/data/data-family-and-its-instances.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/data-family-and-its-instances.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE TypeFamilies #-}
+
+module Sensor.Buffer where
+
+data family Buffer a
+
+data instance Buffer Int = IntBuffer [Int]
+
+newtype instance Buffer Bool = BoolBuffer Integer
+
+data instance Buffer Double
+  = Empty
+  | Samples [Double] Int
diff --git a/corpora/vendored/declaration/data/deriving-strategies-out'.hs b/corpora/vendored/declaration/data/deriving-strategies-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/deriving-strategies-out'.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE DeriveAnyClass #-}
+{-# LANGUAGE DerivingVia #-}
+
+module Ledger.Amount where
+
+import Data.Monoid (Sum (..))
+
+newtype Amount = Amount Int deriving newtype (Num)
+
+newtype Credit = Credit Int
+    deriving (Semigroup, Monoid) via (Sum Int)
+
+data Entry = Entry Amount String
+    deriving stock (Show)
+
+data Note = Note String
+    deriving anyclass (Describable)
diff --git a/corpora/vendored/declaration/data/deriving-strategies-out.hs b/corpora/vendored/declaration/data/deriving-strategies-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/deriving-strategies-out.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE DeriveAnyClass #-}
+{-# LANGUAGE DerivingVia #-}
+
+module Ledger.Amount where
+
+import Data.Monoid (Sum (..))
+
+newtype Amount = Amount Int deriving newtype (Num)
+
+newtype Credit = Credit Int
+  deriving (Semigroup, Monoid) via (Sum Int)
+
+data Entry = Entry Amount String
+  deriving stock (Show)
+
+data Note = Note String
+  deriving anyclass (Describable)
diff --git a/corpora/vendored/declaration/data/deriving-strategies.hs b/corpora/vendored/declaration/data/deriving-strategies.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/deriving-strategies.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE DeriveAnyClass #-}
+{-# LANGUAGE DerivingVia #-}
+
+module Ledger.Amount where
+
+import Data.Monoid (Sum (..))
+
+newtype Amount = Amount Int deriving newtype (Num)
+
+newtype Credit = Credit Int
+  deriving (Semigroup, Monoid) via (Sum Int)
+
+data Entry = Entry Amount String
+  deriving stock Show
+
+data Note = Note String
+  deriving anyclass (Describable)
diff --git a/corpora/vendored/declaration/data/deriving-without-parentheses-out'.hs b/corpora/vendored/declaration/data/deriving-without-parentheses-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/deriving-without-parentheses-out'.hs
@@ -0,0 +1,12 @@
+module Garden.Bed where
+
+data Soil = Clay | Loam | Sand
+    deriving (Show)
+
+newtype Depth = Depth Int deriving (Eq)
+
+data Bed = Bed
+    { soil :: Soil
+    , depth :: Depth
+    }
+    deriving (Show)
diff --git a/corpora/vendored/declaration/data/deriving-without-parentheses-out.hs b/corpora/vendored/declaration/data/deriving-without-parentheses-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/deriving-without-parentheses-out.hs
@@ -0,0 +1,12 @@
+module Garden.Bed where
+
+data Soil = Clay | Loam | Sand
+  deriving (Show)
+
+newtype Depth = Depth Int deriving (Eq)
+
+data Bed = Bed
+  { soil :: Soil,
+    depth :: Depth
+  }
+  deriving (Show)
diff --git a/corpora/vendored/declaration/data/deriving-without-parentheses.hs b/corpora/vendored/declaration/data/deriving-without-parentheses.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/deriving-without-parentheses.hs
@@ -0,0 +1,12 @@
+module Garden.Bed where
+
+data Soil = Clay | Loam | Sand
+  deriving Show
+
+newtype Depth = Depth Int deriving Eq
+
+data Bed = Bed
+  { soil :: Soil,
+    depth :: Depth
+  }
+  deriving Show
diff --git a/corpora/vendored/declaration/data/empty-context-out'.hs b/corpora/vendored/declaration/data/empty-context-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/empty-context-out'.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE DatatypeContexts #-}
+{-# LANGUAGE GADTs #-}
+
+module Report.Cells where
+
+data () => Cell a = Cell a
+
+newtype () => Width = Width Int
+
+data Some = forall a. () => Some a
+
+data Shown where
+    Shown :: () => Int -> Shown
diff --git a/corpora/vendored/declaration/data/existential-constructors-out'.hs b/corpora/vendored/declaration/data/existential-constructors-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/existential-constructors-out'.hs
@@ -0,0 +1,13 @@
+module Job.Queue where
+
+data Job = forall a. Job a (a -> IO ())
+
+data Relay = forall a b. a ~ b => Relay (a -> b)
+
+data Worker
+    = forall s. Worker s (s -> IO s)
+    | forall s. Show s => Named String s
+
+data Step
+    = forall input output
+       . Step (input -> output) input
diff --git a/corpora/vendored/declaration/data/existential-constructors-out.hs b/corpora/vendored/declaration/data/existential-constructors-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/existential-constructors-out.hs
@@ -0,0 +1,13 @@
+module Job.Queue where
+
+data Job = forall a. Job a (a -> IO ())
+
+data Relay = forall a b. a ~ b => Relay (a -> b)
+
+data Worker
+  = forall s. Worker s (s -> IO s)
+  | forall s. Show s => Named String s
+
+data Step
+  = forall input output.
+    Step (input -> output) input
diff --git a/corpora/vendored/declaration/data/existential-constructors.hs b/corpora/vendored/declaration/data/existential-constructors.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/existential-constructors.hs
@@ -0,0 +1,12 @@
+module Job.Queue where
+
+data Job = forall a. Job a (a -> IO ())
+
+data Relay = forall a b. a ~ b => Relay (a -> b)
+
+data Worker
+  = forall s. Worker s (s -> IO s)
+  | forall s. Show s => Named String s
+
+data Step = forall input output.
+            Step (input -> output) input
diff --git a/corpora/vendored/declaration/data/gadt-constructor-names-across-lines-out'.hs b/corpora/vendored/declaration/data/gadt-constructor-names-across-lines-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/gadt-constructor-names-across-lines-out'.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE GADTs #-}
+
+module Traffic where
+
+data Phase a where
+    Wait
+        , Hold :: Int -> Phase Int
+    Stop
+        , Go
+            :: Phase Bool
diff --git a/corpora/vendored/declaration/data/gadt-constructor-names-across-lines-out.hs b/corpora/vendored/declaration/data/gadt-constructor-names-across-lines-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/gadt-constructor-names-across-lines-out.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE GADTs #-}
+
+module Traffic where
+
+data Phase a where
+  Wait,
+    Hold :: Int -> Phase Int
+  Stop,
+    Go ::
+      Phase Bool
diff --git a/corpora/vendored/declaration/data/gadt-constructor-names-across-lines.hs b/corpora/vendored/declaration/data/gadt-constructor-names-across-lines.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/gadt-constructor-names-across-lines.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE GADTs #-}
+
+module Traffic where
+
+data Phase a where
+  Wait,
+    Hold :: Int -> Phase Int
+  Stop,
+    Go ::
+    Phase Bool
diff --git a/corpora/vendored/declaration/data/gadt-constructor-names-on-one-line-out'.hs b/corpora/vendored/declaration/data/gadt-constructor-names-on-one-line-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/gadt-constructor-names-on-one-line-out'.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE GADTs #-}
+
+module Traffic where
+
+data Signal where
+    Wait, Hold
+        :: Int -> Signal
+    Stop, Go
+        :: Int
+        {- ^ The delay. -}
+        -> Signal
diff --git a/corpora/vendored/declaration/data/gadt-constructor-names-on-one-line-out.hs b/corpora/vendored/declaration/data/gadt-constructor-names-on-one-line-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/gadt-constructor-names-on-one-line-out.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE GADTs #-}
+
+module Traffic where
+
+data Signal where
+  Wait, Hold ::
+    Int -> Signal
+  Stop, Go ::
+    -- | The delay.
+    Int ->
+    Signal
diff --git a/corpora/vendored/declaration/data/gadt-constructor-names-on-one-line.hs b/corpora/vendored/declaration/data/gadt-constructor-names-on-one-line.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/gadt-constructor-names-on-one-line.hs
@@ -0,0 +1,8 @@
+{-# LANGUAGE GADTs #-}
+
+module Traffic where
+
+data Signal where
+  Wait, Hold ::
+    Int -> Signal
+  Stop, Go :: Int {- ^ The delay. -} -> Signal
diff --git a/corpora/vendored/declaration/data/gadt-constructor-types-quantified-in-brackets-out'.hs b/corpora/vendored/declaration/data/gadt-constructor-types-quantified-in-brackets-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/gadt-constructor-types-quantified-in-brackets-out'.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE GADTs #-}
+
+-- GHC rejects a forall or a context inside a constructor's type, but its
+-- parser takes them, and the brackets around one making up the whole type
+-- keep it from being read as the constructor's own.
+module Query.Shape where
+
+data Query a where
+    Fetch :: (forall b. Query b)
+    Guarded :: (Show a => Query a)
+    Late :: Int -> forall b. b -> Query b
+    Checked :: Int -> Show a => Query a
diff --git a/corpora/vendored/declaration/data/gadt-constructor-types-quantified-in-brackets-out.hs b/corpora/vendored/declaration/data/gadt-constructor-types-quantified-in-brackets-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/gadt-constructor-types-quantified-in-brackets-out.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE GADTs #-}
+
+-- GHC rejects a forall or a context inside a constructor's type, but its
+-- parser takes them, and the brackets around one making up the whole type
+-- keep it from being read as the constructor's own.
+module Query.Shape where
+
+data Query a where
+  Fetch :: (forall b. Query b)
+  Guarded :: (Show a => Query a)
+  Late :: Int -> forall b. b -> Query b
+  Checked :: Int -> Show a => Query a
diff --git a/corpora/vendored/declaration/data/gadt-constructor-types-quantified-in-brackets.hs b/corpora/vendored/declaration/data/gadt-constructor-types-quantified-in-brackets.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/gadt-constructor-types-quantified-in-brackets.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE GADTs #-}
+
+-- GHC rejects a forall or a context inside a constructor's type, but its
+-- parser takes them, and the brackets around one making up the whole type
+-- keep it from being read as the constructor's own.
+module Query.Shape where
+
+data Query a where
+  Fetch :: (forall b. Query b)
+  Guarded :: (Show a => Query a)
+  Late :: Int -> forall b. b -> Query b
+  Checked :: Int -> Show a => Query a
diff --git a/corpora/vendored/declaration/data/gadt-constructor-with-a-multiplicity-variable-out'.hs b/corpora/vendored/declaration/data/gadt-constructor-with-a-multiplicity-variable-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/gadt-constructor-with-a-multiplicity-variable-out'.hs
@@ -0,0 +1,7 @@
+{-# LANGUAGE GADTs #-}
+{-# LANGUAGE LinearTypes #-}
+
+module Resource.Lease where
+
+data Lease m a where
+    Lease :: a %m -> Lease m a
diff --git a/corpora/vendored/declaration/data/gadt-constructor-with-a-multiplicity-variable-out.hs b/corpora/vendored/declaration/data/gadt-constructor-with-a-multiplicity-variable-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/gadt-constructor-with-a-multiplicity-variable-out.hs
@@ -0,0 +1,7 @@
+{-# LANGUAGE GADTs #-}
+{-# LANGUAGE LinearTypes #-}
+
+module Resource.Lease where
+
+data Lease m a where
+  Lease :: a %m -> Lease m a
diff --git a/corpora/vendored/declaration/data/gadt-constructor-with-a-multiplicity-variable.hs b/corpora/vendored/declaration/data/gadt-constructor-with-a-multiplicity-variable.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/gadt-constructor-with-a-multiplicity-variable.hs
@@ -0,0 +1,7 @@
+{-# LANGUAGE GADTs #-}
+{-# LANGUAGE LinearTypes #-}
+
+module Resource.Lease where
+
+data Lease m a where
+  Lease :: a %m -> Lease m a
diff --git a/corpora/vendored/declaration/data/gadt-constructors-sharing-a-signature-out'.hs b/corpora/vendored/declaration/data/gadt-constructors-sharing-a-signature-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/gadt-constructors-sharing-a-signature-out'.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE GADTs #-}
+
+module Traffic.Signal where
+
+data Light where
+    Red, Amber, Green :: Light
+    Flashing :: Light -> Light
+
+data Phase a where
+    Stop, Go :: Phase Bool
+    Wait, Hold :: Int -> Phase Int
diff --git a/corpora/vendored/declaration/data/gadt-constructors-sharing-a-signature-out.hs b/corpora/vendored/declaration/data/gadt-constructors-sharing-a-signature-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/gadt-constructors-sharing-a-signature-out.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE GADTs #-}
+
+module Traffic.Signal where
+
+data Light where
+  Red, Amber, Green :: Light
+  Flashing :: Light -> Light
+
+data Phase a where
+  Stop, Go :: Phase Bool
+  Wait, Hold :: Int -> Phase Int
diff --git a/corpora/vendored/declaration/data/gadt-constructors-sharing-a-signature.hs b/corpora/vendored/declaration/data/gadt-constructors-sharing-a-signature.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/gadt-constructors-sharing-a-signature.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE GADTs #-}
+
+module Traffic.Signal where
+
+data Light where
+  Red, Amber, Green :: Light
+  Flashing :: Light -> Light
+
+data Phase a where
+  Stop,Go :: Phase Bool
+  Wait , Hold :: Int -> Phase Int
diff --git a/corpora/vendored/declaration/data/gadt-constructors-with-a-forall-out'.hs b/corpora/vendored/declaration/data/gadt-constructors-with-a-forall-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/gadt-constructors-with-a-forall-out'.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE GADTs #-}
+
+module Event.Payload where
+
+data Payload where
+    Payload :: forall a. Show a => a -> Payload
+    Pair
+        :: forall a b
+         . (Show a, Show b)
+        => a
+        -> b
+        -> Payload
+    Labelled :: forall a. {label :: String, value :: a} -> Payload
diff --git a/corpora/vendored/declaration/data/gadt-constructors-with-a-forall-out.hs b/corpora/vendored/declaration/data/gadt-constructors-with-a-forall-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/gadt-constructors-with-a-forall-out.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE GADTs #-}
+
+module Event.Payload where
+
+data Payload where
+  Payload :: forall a. Show a => a -> Payload
+  Pair ::
+    forall a b.
+    (Show a, Show b) =>
+    a ->
+    b ->
+    Payload
+  Labelled :: forall a. {label :: String, value :: a} -> Payload
diff --git a/corpora/vendored/declaration/data/gadt-constructors-with-a-forall.hs b/corpora/vendored/declaration/data/gadt-constructors-with-a-forall.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/gadt-constructors-with-a-forall.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE GADTs #-}
+
+module Event.Payload where
+
+data Payload where
+  Payload :: forall a. Show a => a -> Payload
+  Pair ::
+    forall a b.
+    (Show a, Show b) =>
+    a ->
+    b ->
+    Payload
+  Labelled :: forall a. { label :: String, value :: a } -> Payload
diff --git a/corpora/vendored/declaration/data/gadt-constructors-with-bracketed-and-operator-arguments-out'.hs b/corpora/vendored/declaration/data/gadt-constructors-with-bracketed-and-operator-arguments-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/gadt-constructors-with-bracketed-and-operator-arguments-out'.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE GADTs #-}
+
+module Query.Expr where
+
+import Data.Type.Equality ((:~:))
+
+data Expr a where
+    Literal :: Int -> Expr Int
+    Lambda :: (Expr a -> Expr b) -> Expr (a -> b)
+    Cast :: a :~: b -> Expr a -> Expr b
+    Pair
+        :: (Expr a, Expr b)
+        -> a :~: b
+        -> Expr (a, b)
diff --git a/corpora/vendored/declaration/data/gadt-constructors-with-bracketed-and-operator-arguments-out.hs b/corpora/vendored/declaration/data/gadt-constructors-with-bracketed-and-operator-arguments-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/gadt-constructors-with-bracketed-and-operator-arguments-out.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE GADTs #-}
+
+module Query.Expr where
+
+import Data.Type.Equality ((:~:))
+
+data Expr a where
+  Literal :: Int -> Expr Int
+  Lambda :: (Expr a -> Expr b) -> Expr (a -> b)
+  Cast :: a :~: b -> Expr a -> Expr b
+  Pair ::
+    (Expr a, Expr b) ->
+    a :~: b ->
+    Expr (a, b)
diff --git a/corpora/vendored/declaration/data/gadt-constructors-with-bracketed-and-operator-arguments.hs b/corpora/vendored/declaration/data/gadt-constructors-with-bracketed-and-operator-arguments.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/gadt-constructors-with-bracketed-and-operator-arguments.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE GADTs #-}
+
+module Query.Expr where
+
+import Data.Type.Equality ((:~:))
+
+data Expr a where
+  Literal :: Int -> Expr Int
+  Lambda :: (Expr a -> Expr b) -> Expr (a -> b)
+  Cast :: a :~: b -> Expr a -> Expr b
+  Pair ::
+    (Expr a, Expr b) ->
+    a :~: b ->
+    Expr (a, b)
diff --git a/corpora/vendored/declaration/data/gadt-constructors-with-nested-foralls-out'.hs b/corpora/vendored/declaration/data/gadt-constructors-with-nested-foralls-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/gadt-constructors-with-nested-foralls-out'.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE GADTs #-}
+{-# LANGUAGE RequiredTypeArguments #-}
+
+module Label.Tagged where
+
+import Data.Kind (Type)
+
+type Tagged :: k -> Type
+data Tagged t where
+    Tag :: forall k. forall (t :: k). Ord k => k -> Tagged t
+    Named :: forall k. forall (t :: k) -> String -> Tagged t
diff --git a/corpora/vendored/declaration/data/gadt-constructors-with-nested-foralls-out.hs b/corpora/vendored/declaration/data/gadt-constructors-with-nested-foralls-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/gadt-constructors-with-nested-foralls-out.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE GADTs #-}
+{-# LANGUAGE RequiredTypeArguments #-}
+
+module Label.Tagged where
+
+import Data.Kind (Type)
+
+type Tagged :: k -> Type
+data Tagged t where
+  Tag :: forall k. forall (t :: k). Ord k => k -> Tagged t
+  Named :: forall k. forall (t :: k) -> String -> Tagged t
diff --git a/corpora/vendored/declaration/data/gadt-constructors-with-nested-foralls.hs b/corpora/vendored/declaration/data/gadt-constructors-with-nested-foralls.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/gadt-constructors-with-nested-foralls.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE GADTs #-}
+{-# LANGUAGE RequiredTypeArguments #-}
+
+module Label.Tagged where
+
+import Data.Kind (Type)
+
+type Tagged :: k -> Type
+data Tagged t where
+  Tag :: forall k. forall (t :: k). Ord k => k -> Tagged t
+  Named :: forall k. forall (t :: k) -> String -> Tagged t
diff --git a/corpora/vendored/declaration/data/gadt-result-type-in-brackets-before-a-comment-out'.hs b/corpora/vendored/declaration/data/gadt-result-type-in-brackets-before-a-comment-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/gadt-result-type-in-brackets-before-a-comment-out'.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE GADTs #-}
+
+-- A comment after the brackets of a result type stays with the type, ahead
+-- of a Haddock that goes under it.
+module Stack.Frame where
+
+data Frame where
+    Push
+        :: Int
+        -> Maybe Frame -- not empty
+        -- ^ The frames above.
diff --git a/corpora/vendored/declaration/data/gadt-result-type-in-brackets-before-a-comment-out.hs b/corpora/vendored/declaration/data/gadt-result-type-in-brackets-before-a-comment-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/gadt-result-type-in-brackets-before-a-comment-out.hs
@@ -0,0 +1,8 @@
+{-# LANGUAGE GADTs #-}
+
+-- A comment after the brackets of a result type stays with the type, ahead
+-- of a Haddock that goes under it.
+module Stack.Frame where
+
+data Frame where
+  Push :: Int -> {- | The frames above. -} Maybe Frame -- not empty
diff --git a/corpora/vendored/declaration/data/gadt-result-type-in-brackets-before-a-comment.hs b/corpora/vendored/declaration/data/gadt-result-type-in-brackets-before-a-comment.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/gadt-result-type-in-brackets-before-a-comment.hs
@@ -0,0 +1,8 @@
+{-# LANGUAGE GADTs #-}
+
+-- A comment after the brackets of a result type stays with the type, ahead
+-- of a Haddock that goes under it.
+module Stack.Frame where
+
+data Frame where
+  Push :: Int -> {- | The frames above. -} (Maybe Frame) -- not empty
diff --git a/corpora/vendored/declaration/data/gadt-result-type-with-a-kind-signature-and-a-haddock-out'.hs b/corpora/vendored/declaration/data/gadt-result-type-with-a-kind-signature-and-a-haddock-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/gadt-result-type-with-a-kind-signature-and-a-haddock-out'.hs
@@ -0,0 +1,23 @@
+{-# LANGUAGE GADTs #-}
+
+-- The brackets GHC drops from a result type with a kind signature come
+-- back under its Haddock too.
+module Stack.Frame where
+
+import Data.Kind (Type)
+
+data Frame where
+    Push
+        :: Int
+        -> ( Frame :: Type
+           )
+        -- ^ The frame after a push.
+    Pop
+        :: ( Frame :: Type
+           )
+        -- ^ The frame after a pop.
+    Peek
+        :: Int
+        -> ( Frame :: Type
+           )
+        -- ^ The frame on top.
diff --git a/corpora/vendored/declaration/data/gadt-result-type-with-a-kind-signature-and-a-haddock-out.hs b/corpora/vendored/declaration/data/gadt-result-type-with-a-kind-signature-and-a-haddock-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/gadt-result-type-with-a-kind-signature-and-a-haddock-out.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE GADTs #-}
+
+-- The brackets GHC drops from a result type with a kind signature come
+-- back under its Haddock too.
+module Stack.Frame where
+
+import Data.Kind (Type)
+
+data Frame where
+  Push ::
+    Int ->
+    -- | The frame after a push.
+    (Frame :: Type)
+  Pop ::
+    -- | The frame after a pop.
+    (Frame :: Type)
+  Peek :: Int -> {- | The frame on top. -} (Frame :: Type)
diff --git a/corpora/vendored/declaration/data/gadt-result-type-with-a-kind-signature-and-a-haddock.hs b/corpora/vendored/declaration/data/gadt-result-type-with-a-kind-signature-and-a-haddock.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/gadt-result-type-with-a-kind-signature-and-a-haddock.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE GADTs #-}
+
+-- The brackets GHC drops from a result type with a kind signature come
+-- back under its Haddock too.
+module Stack.Frame where
+
+import Data.Kind (Type)
+
+data Frame where
+  Push :: Int -> (Frame :: Type) -- ^ The frame after a push.
+  Pop :: (Frame :: Type) -- ^ The frame after a pop.
+  Peek :: Int -> {- | The frame on top. -} (Frame :: Type)
diff --git a/corpora/vendored/declaration/data/gadt-result-type-with-a-kind-signature-out'.hs b/corpora/vendored/declaration/data/gadt-result-type-with-a-kind-signature-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/gadt-result-type-with-a-kind-signature-out'.hs
@@ -0,0 +1,8 @@
+{-# LANGUAGE GADTs #-}
+
+module Stack.Frame where
+
+import Data.Kind (Type)
+
+data Frame where
+    Push :: Int -> (Frame :: Type)
diff --git a/corpora/vendored/declaration/data/gadt-result-type-with-a-kind-signature-out.hs b/corpora/vendored/declaration/data/gadt-result-type-with-a-kind-signature-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/gadt-result-type-with-a-kind-signature-out.hs
@@ -0,0 +1,8 @@
+{-# LANGUAGE GADTs #-}
+
+module Stack.Frame where
+
+import Data.Kind (Type)
+
+data Frame where
+  Push :: Int -> (Frame :: Type)
diff --git a/corpora/vendored/declaration/data/gadt-result-type-with-a-kind-signature.hs b/corpora/vendored/declaration/data/gadt-result-type-with-a-kind-signature.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/gadt-result-type-with-a-kind-signature.hs
@@ -0,0 +1,8 @@
+{-# LANGUAGE GADTs #-}
+
+module Stack.Frame where
+
+import Data.Kind (Type)
+
+data Frame where
+  Push :: Int -> (Frame :: Type)
diff --git a/corpora/vendored/declaration/data/gadt-where-without-constructors-out.hs b/corpora/vendored/declaration/data/gadt-where-without-constructors-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/gadt-where-without-constructors-out.hs
@@ -0,0 +1,5 @@
+{-# LANGUAGE GADTs #-}
+
+module Shelf.Never where
+
+data Never where
diff --git a/corpora/vendored/declaration/data/gadt-where-without-constructors.hs b/corpora/vendored/declaration/data/gadt-where-without-constructors.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/gadt-where-without-constructors.hs
@@ -0,0 +1,5 @@
+{-# LANGUAGE GADTs #-}
+
+module Shelf.Never where
+
+data Never where
diff --git a/corpora/vendored/declaration/data/haddock-with-a-blank-under-it-out.hs b/corpora/vendored/declaration/data/haddock-with-a-blank-under-it-out.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/data/haddock-with-a-blank-under-it-out.hs
+++ /dev/null
@@ -1,8 +0,0 @@
-module Terminal.Size where
-
-data Unit
-  = -- | measured in rows
-    --
-    Rows
-  | -- | measured in columns
-    Columns
diff --git a/corpora/vendored/declaration/data/haddock-with-a-blank-under-it.hs b/corpora/vendored/declaration/data/haddock-with-a-blank-under-it.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/data/haddock-with-a-blank-under-it.hs
+++ /dev/null
@@ -1,8 +0,0 @@
-module Terminal.Size where
-
-data Unit
-  = Rows
-  -- ^ measured in rows
-  --
-  | Columns
-  -- ^ measured in columns
diff --git a/corpora/vendored/declaration/data/head-written-across-lines-out'.hs b/corpora/vendored/declaration/data/head-written-across-lines-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/head-written-across-lines-out'.hs
@@ -0,0 +1,36 @@
+module Storage.Table where
+
+import Data.Kind (Type)
+
+data
+    Table
+        key
+        value
+    = Table [(key, value)]
+
+newtype
+    Index
+        key
+        value = Index (key -> Maybe value)
+
+data
+    {-# CTYPE "storage.h" "struct page" #-}
+    Page = Page Int
+
+data
+    Shard
+        :: Type -> Type
+    where
+    Shard :: Int -> Shard a
+
+data
+    Cursor
+        :: Type
+        -> Type
+    where
+    Start :: Cursor a
+    Next :: a -> Cursor a -> Cursor a
+
+data Journal entry where
+    Empty :: Journal entry
+    Append :: entry -> Journal entry -> Journal entry
diff --git a/corpora/vendored/declaration/data/head-written-across-lines-out.hs b/corpora/vendored/declaration/data/head-written-across-lines-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/head-written-across-lines-out.hs
@@ -0,0 +1,36 @@
+module Storage.Table where
+
+import Data.Kind (Type)
+
+data
+  Table
+    key
+    value
+  = Table [(key, value)]
+
+newtype
+  Index
+    key
+    value = Index (key -> Maybe value)
+
+data
+  {-# CTYPE "storage.h" "struct page" #-}
+  Page = Page Int
+
+data
+  Shard ::
+    Type -> Type
+  where
+  Shard :: Int -> Shard a
+
+data
+  Cursor ::
+    Type ->
+    Type
+  where
+  Start :: Cursor a
+  Next :: a -> Cursor a -> Cursor a
+
+data Journal entry where
+  Empty :: Journal entry
+  Append :: entry -> Journal entry -> Journal entry
diff --git a/corpora/vendored/declaration/data/head-written-across-lines.hs b/corpora/vendored/declaration/data/head-written-across-lines.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/head-written-across-lines.hs
@@ -0,0 +1,32 @@
+module Storage.Table where
+
+import Data.Kind (Type)
+
+data
+  Table
+    key
+    value
+  = Table [(key, value)]
+
+newtype Index key
+              value = Index (key -> Maybe value)
+
+data
+  {-# CTYPE "storage.h" "struct page" #-}
+  Page = Page Int
+
+data Shard ::
+  Type -> Type where
+  Shard :: Int -> Shard a
+
+data Cursor
+  :: Type
+  -> Type
+  where
+    Start :: Cursor a
+    Next :: a -> Cursor a -> Cursor a
+
+data Journal entry
+  where
+  Empty :: Journal entry
+  Append :: entry -> Journal entry -> Journal entry
diff --git a/corpora/vendored/declaration/data/infix-constructors-with-bracketed-arguments-out.hs b/corpora/vendored/declaration/data/infix-constructors-with-bracketed-arguments-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/infix-constructors-with-bracketed-arguments-out.hs
@@ -0,0 +1,3 @@
+module Tree.Branch where
+
+data Tree a = Leaf a | (Tree a) :^: (Tree a)
diff --git a/corpora/vendored/declaration/data/infix-constructors-with-bracketed-arguments.hs b/corpora/vendored/declaration/data/infix-constructors-with-bracketed-arguments.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/infix-constructors-with-bracketed-arguments.hs
@@ -0,0 +1,3 @@
+module Tree.Branch where
+
+data Tree a = Leaf a | (Tree a) :^: (Tree a)
diff --git a/corpora/vendored/declaration/data/infix-head-with-further-arguments-out'.hs b/corpora/vendored/declaration/data/infix-head-with-further-arguments-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/infix-head-with-further-arguments-out'.hs
@@ -0,0 +1,24 @@
+module Functor.Compose where
+
+data (f :.: g) a = Compose (f (g a))
+
+newtype (f `Over` g) a = Over (f (g a))
+
+data (f :+: g) a = InLeft (f a) | InRight (g a)
+
+data (f :*: g) a = f a :*: g a
+
+data
+    ( f
+        :=> g
+    )
+        a
+    = Arrow (f a -> g a)
+    | Constant (g a)
+
+data
+    ( f
+        `Then` g
+    )
+        a
+        b = Then (f a) (g b)
diff --git a/corpora/vendored/declaration/data/infix-head-with-further-arguments-out.hs b/corpora/vendored/declaration/data/infix-head-with-further-arguments-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/infix-head-with-further-arguments-out.hs
@@ -0,0 +1,24 @@
+module Functor.Compose where
+
+data (f :.: g) a = Compose (f (g a))
+
+newtype (f `Over` g) a = Over (f (g a))
+
+data (f :+: g) a = InLeft (f a) | InRight (g a)
+
+data (f :*: g) a = f a :*: g a
+
+data
+  ( f
+      :=> g
+  )
+    a
+  = Arrow (f a -> g a)
+  | Constant (g a)
+
+data
+  ( f
+      `Then` g
+  )
+    a
+    b = Then (f a) (g b)
diff --git a/corpora/vendored/declaration/data/infix-head-with-further-arguments.hs b/corpora/vendored/declaration/data/infix-head-with-further-arguments.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/infix-head-with-further-arguments.hs
@@ -0,0 +1,20 @@
+module Functor.Compose where
+
+data (f :.: g) a = Compose (f (g a))
+
+newtype (f `Over` g) a = Over (f (g a))
+
+data (f :+: g) a = InLeft (f a) | InRight (g a)
+
+data (f :*: g) a = f a :*: g a
+
+data (f
+       :=>
+       g)
+  a = Arrow (f a -> g a)
+    | Constant (g a)
+
+data (f
+       `Then`
+       g)
+  a b = Then (f a) (g b)
diff --git a/corpora/vendored/declaration/data/nounpack-and-lazy-fields-out'.hs b/corpora/vendored/declaration/data/nounpack-and-lazy-fields-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/nounpack-and-lazy-fields-out'.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE StrictData #-}
+
+module Sensor.Reading where
+
+data Reading = Reading
+    { readingTime :: {-# NOUNPACK #-} !Double
+    , readingLabel :: ~String
+    }
+
+data Sample = Sample {-# NOUNPACK #-} !Int ~[Double]
diff --git a/corpora/vendored/declaration/data/nounpack-and-lazy-fields-out.hs b/corpora/vendored/declaration/data/nounpack-and-lazy-fields-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/nounpack-and-lazy-fields-out.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE StrictData #-}
+
+module Sensor.Reading where
+
+data Reading = Reading
+  { readingTime :: {-# NOUNPACK #-} !Double,
+    readingLabel :: ~String
+  }
+
+data Sample = Sample {-# NOUNPACK #-} !Int ~[Double]
diff --git a/corpora/vendored/declaration/data/nounpack-and-lazy-fields.hs b/corpora/vendored/declaration/data/nounpack-and-lazy-fields.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/nounpack-and-lazy-fields.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE StrictData #-}
+
+module Sensor.Reading where
+
+data Reading = Reading
+  { readingTime :: {-# NOUNPACK #-} !Double,
+    readingLabel :: ~String
+  }
+
+data Sample = Sample {-# NOUNPACK #-} !Int ~[Double]
diff --git a/corpora/vendored/declaration/data/operator-constructors-defined-prefix-out'.hs b/corpora/vendored/declaration/data/operator-constructors-defined-prefix-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/operator-constructors-defined-prefix-out'.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE GADTs #-}
+
+module Circuit.Signal where
+
+data Signal = (:>) Int Signal | Silent
+
+data Sample = (:@){level :: Int, offset :: Double}
+
+data Trace a where
+    Idle :: Trace a
+    (:|) :: a -> Trace a -> Trace a
+    Mark, (:!) :: Trace a
diff --git a/corpora/vendored/declaration/data/operator-constructors-defined-prefix-out.hs b/corpora/vendored/declaration/data/operator-constructors-defined-prefix-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/operator-constructors-defined-prefix-out.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE GADTs #-}
+
+module Circuit.Signal where
+
+data Signal = (:>) Int Signal | Silent
+
+data Sample = (:@){level :: Int, offset :: Double}
+
+data Trace a where
+  Idle :: Trace a
+  (:|) :: a -> Trace a -> Trace a
+  Mark, (:!) :: Trace a
diff --git a/corpora/vendored/declaration/data/operator-constructors-defined-prefix.hs b/corpora/vendored/declaration/data/operator-constructors-defined-prefix.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/operator-constructors-defined-prefix.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE GADTs #-}
+
+module Circuit.Signal where
+
+data Signal = (:>) Int Signal | Silent
+
+data Sample = (:@) {level :: Int, offset :: Double}
+
+data Trace a where
+  Idle :: Trace a
+  (:|) :: a -> Trace a -> Trace a
+  Mark, (:!) :: Trace a
diff --git a/corpora/vendored/declaration/data/phantom-and-inferred-roles-out.hs b/corpora/vendored/declaration/data/phantom-and-inferred-roles-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/phantom-and-inferred-roles-out.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE RoleAnnotations #-}
+
+module Unit.Measure where
+
+type role Quantity phantom representational
+
+newtype Quantity u a = Quantity a
+
+type role Tagged nominal _ phantom
+
+data Tagged k a b = Tagged k a
diff --git a/corpora/vendored/declaration/data/phantom-and-inferred-roles.hs b/corpora/vendored/declaration/data/phantom-and-inferred-roles.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/phantom-and-inferred-roles.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE RoleAnnotations #-}
+
+module Unit.Measure where
+
+type role Quantity phantom representational
+
+newtype Quantity u a = Quantity a
+
+type role Tagged nominal _ phantom
+
+data Tagged k a b = Tagged k a
diff --git a/corpora/vendored/declaration/data/record-braces-out'.hs b/corpora/vendored/declaration/data/record-braces-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/record-braces-out'.hs
@@ -0,0 +1,24 @@
+{-# LANGUAGE GADTs #-}
+{-# LANGUAGE LinearTypes #-}
+
+newtype Sku = Sku{unSku :: Text}
+
+data Crate = Crate{crateSku :: Sku, crateCount :: Int}
+
+data Parcel
+    = Letter{letterWeight :: Int}
+    | Box{boxWeight :: !Int, boxFragile :: {-# UNPACK #-} !Bool}
+    | Pallet
+        { palletCrates :: [Crate]
+        , palletWrapped :: Bool
+        }
+
+data Lease a = Lease{leased %1 :: a, leaseDays :: Int}
+
+data Shipment where
+    Shipment :: {shipmentParcels :: [Parcel]} -> Shipment
+
+data Manifest = Manifest
+    { manifestId :: Int
+    , manifestShipments :: [Shipment]
+    }
diff --git a/corpora/vendored/declaration/data/record-braces-under-a-constructor-on-its-own-line-out'.hs b/corpora/vendored/declaration/data/record-braces-under-a-constructor-on-its-own-line-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/record-braces-under-a-constructor-on-its-own-line-out'.hs
@@ -0,0 +1,21 @@
+module Network.Endpoint where
+
+data Endpoint
+    = Tcp
+        { tcpPort :: Int
+        }
+
+data Address
+    = Address
+        { addressHost :: String
+        , addressPort :: Int
+        }
+
+newtype Port
+    = Port
+        { unPort :: Int
+        }
+
+data Socket = Socket
+    { socketFd :: Int
+    }
diff --git a/corpora/vendored/declaration/data/record-braces-under-a-constructor-on-its-own-line-out.hs b/corpora/vendored/declaration/data/record-braces-under-a-constructor-on-its-own-line-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/record-braces-under-a-constructor-on-its-own-line-out.hs
@@ -0,0 +1,21 @@
+module Network.Endpoint where
+
+data Endpoint
+  = Tcp
+      { tcpPort :: Int
+      }
+
+data Address
+  = Address
+      { addressHost :: String,
+        addressPort :: Int
+      }
+
+newtype Port
+  = Port
+      { unPort :: Int
+      }
+
+data Socket = Socket
+  { socketFd :: Int
+  }
diff --git a/corpora/vendored/declaration/data/record-braces-under-a-constructor-on-its-own-line.hs b/corpora/vendored/declaration/data/record-braces-under-a-constructor-on-its-own-line.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/record-braces-under-a-constructor-on-its-own-line.hs
@@ -0,0 +1,21 @@
+module Network.Endpoint where
+
+data Endpoint =
+  Tcp {
+    tcpPort :: Int
+  }
+
+data Address
+  = Address
+  { addressHost :: String,
+    addressPort :: Int
+  }
+
+newtype Port
+  = Port
+  { unPort :: Int
+  }
+
+data Socket = Socket
+  { socketFd :: Int
+  }
diff --git a/corpora/vendored/declaration/data/record-braces-under-several-constructors-out'.hs b/corpora/vendored/declaration/data/record-braces-under-several-constructors-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/record-braces-under-several-constructors-out'.hs
@@ -0,0 +1,36 @@
+module Network.Endpoint where
+
+data Endpoint
+    = Tcp
+        { tcpHost :: String
+        , tcpPort :: Int
+        }
+    | Unix
+        { unixPath :: FilePath
+        }
+
+data Shape
+    = Circle
+        { radius :: Double
+        }
+    | Rect
+        { width :: Double
+        , height :: Double
+        }
+
+data Event
+    = Click
+        { clickX :: Int
+        , clickY :: Int
+        }
+    | Key
+        { keyCode :: Int
+        }
+    | Quit
+
+data Route
+    = Direct
+    | Relayed
+        { relayHost :: String
+        , relayHops :: Int
+        }
diff --git a/corpora/vendored/declaration/data/record-braces-under-several-constructors-out.hs b/corpora/vendored/declaration/data/record-braces-under-several-constructors-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/record-braces-under-several-constructors-out.hs
@@ -0,0 +1,36 @@
+module Network.Endpoint where
+
+data Endpoint
+  = Tcp
+      { tcpHost :: String,
+        tcpPort :: Int
+      }
+  | Unix
+      { unixPath :: FilePath
+      }
+
+data Shape
+  = Circle
+      { radius :: Double
+      }
+  | Rect
+      { width :: Double,
+        height :: Double
+      }
+
+data Event
+  = Click
+      { clickX :: Int,
+        clickY :: Int
+      }
+  | Key
+      { keyCode :: Int
+      }
+  | Quit
+
+data Route
+  = Direct
+  | Relayed
+      { relayHost :: String,
+        relayHops :: Int
+      }
diff --git a/corpora/vendored/declaration/data/record-braces-under-several-constructors.hs b/corpora/vendored/declaration/data/record-braces-under-several-constructors.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/record-braces-under-several-constructors.hs
@@ -0,0 +1,33 @@
+module Network.Endpoint where
+
+data Endpoint
+  = Tcp
+      { tcpHost :: String,
+        tcpPort :: Int
+      }
+  | Unix
+      { unixPath :: FilePath
+      }
+
+data Shape = Circle
+  { radius :: Double
+  } | Rect
+  { width :: Double,
+    height :: Double
+  }
+
+data Event = Click {
+    clickX :: Int,
+    clickY :: Int
+  }
+  | Key {
+    keyCode :: Int
+  }
+  | Quit
+
+data Route
+  = Direct
+  | Relayed
+  { relayHost :: String,
+    relayHops :: Int
+  }
diff --git a/corpora/vendored/declaration/data/record-field-names-across-lines-out'.hs b/corpora/vendored/declaration/data/record-field-names-across-lines-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/record-field-names-across-lines-out'.hs
@@ -0,0 +1,10 @@
+module Shelf.Record where
+
+data Shelf = Shelf
+    { width
+      , height :: Int
+    , leftEdge, rightEdge
+        :: Maybe Bracket
+    , topLabel
+      , bottomLabel :: Either LabelPrintingError (Maybe LabelText, Colour)
+    }
diff --git a/corpora/vendored/declaration/data/record-field-names-across-lines-out.hs b/corpora/vendored/declaration/data/record-field-names-across-lines-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/record-field-names-across-lines-out.hs
@@ -0,0 +1,9 @@
+module Shelf.Record where
+
+data Shelf = Shelf
+  { width,
+    height :: Int,
+    leftEdge, rightEdge ::
+      Maybe Bracket,
+    topLabel, bottomLabel :: Either LabelPrintingError (Maybe LabelText, Colour)
+  }
diff --git a/corpora/vendored/declaration/data/record-field-names-across-lines.hs b/corpora/vendored/declaration/data/record-field-names-across-lines.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/record-field-names-across-lines.hs
@@ -0,0 +1,9 @@
+module Shelf.Record where
+
+data Shelf = Shelf
+  { width,
+    height :: Int,
+    leftEdge, rightEdge
+      :: Maybe Bracket,
+    topLabel, bottomLabel :: Either LabelPrintingError (Maybe LabelText, Colour)
+  }
diff --git a/corpora/vendored/declaration/data/record-fields-with-a-multiplicity-out.hs b/corpora/vendored/declaration/data/record-fields-with-a-multiplicity-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/record-fields-with-a-multiplicity-out.hs
@@ -0,0 +1,7 @@
+{-# LANGUAGE LinearTypes #-}
+
+module Resource.Lease where
+
+import GHC.Exts (Multiplicity (..))
+
+data Lease m a = Lease{leased %m :: a, leaseDays %'Many :: Int}
diff --git a/corpora/vendored/declaration/data/record-fields-with-a-multiplicity.hs b/corpora/vendored/declaration/data/record-fields-with-a-multiplicity.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/record-fields-with-a-multiplicity.hs
@@ -0,0 +1,7 @@
+{-# LANGUAGE LinearTypes #-}
+
+module Resource.Lease where
+
+import GHC.Exts (Multiplicity (..))
+
+data Lease m a = Lease {leased %m :: a, leaseDays %'Many :: Int}
diff --git a/corpora/vendored/declaration/data/role-annotations-across-lines-out'.hs b/corpora/vendored/declaration/data/role-annotations-across-lines-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/role-annotations-across-lines-out'.hs
@@ -0,0 +1,24 @@
+{-# LANGUAGE RoleAnnotations #-}
+
+module Cache.Key where
+
+type role
+    Key
+        nominal
+        phantom
+
+data Key k v = Key Int
+
+type role
+    Slot
+        representational
+        _
+
+newtype Slot a b = Slot a
+
+type role
+    Entry
+        nominal
+        representational
+
+data Entry k v = Entry k v
diff --git a/corpora/vendored/declaration/data/role-annotations-across-lines-out.hs b/corpora/vendored/declaration/data/role-annotations-across-lines-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/role-annotations-across-lines-out.hs
@@ -0,0 +1,24 @@
+{-# LANGUAGE RoleAnnotations #-}
+
+module Cache.Key where
+
+type role
+  Key
+    nominal
+    phantom
+
+data Key k v = Key Int
+
+type role
+  Slot
+    representational
+    _
+
+newtype Slot a b = Slot a
+
+type role
+  Entry
+    nominal
+    representational
+
+data Entry k v = Entry k v
diff --git a/corpora/vendored/declaration/data/role-annotations-across-lines.hs b/corpora/vendored/declaration/data/role-annotations-across-lines.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/role-annotations-across-lines.hs
@@ -0,0 +1,22 @@
+{-# LANGUAGE RoleAnnotations #-}
+
+module Cache.Key where
+
+type role
+  Key nominal phantom
+
+data Key k v = Key Int
+
+type role Slot
+  representational
+  _
+
+newtype Slot a b = Slot a
+
+type
+  role
+    Entry
+      nominal
+    representational
+
+data Entry k v = Entry k v
diff --git a/corpora/vendored/declaration/data/several-deriving-clauses-out'.hs b/corpora/vendored/declaration/data/several-deriving-clauses-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/several-deriving-clauses-out'.hs
@@ -0,0 +1,12 @@
+module Ledger.Account where
+
+data Account = Account
+    { owner :: String
+    , balance :: Int
+    }
+    deriving (Eq)
+    deriving (Show)
+
+newtype Number = Number Int
+    deriving (Eq, Ord)
+    deriving (Show)
diff --git a/corpora/vendored/declaration/data/several-deriving-clauses-out.hs b/corpora/vendored/declaration/data/several-deriving-clauses-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/several-deriving-clauses-out.hs
@@ -0,0 +1,12 @@
+module Ledger.Account where
+
+data Account = Account
+  { owner :: String,
+    balance :: Int
+  }
+  deriving (Eq)
+  deriving (Show)
+
+newtype Number = Number Int
+  deriving (Eq, Ord)
+  deriving (Show)
diff --git a/corpora/vendored/declaration/data/several-deriving-clauses.hs b/corpora/vendored/declaration/data/several-deriving-clauses.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/several-deriving-clauses.hs
@@ -0,0 +1,10 @@
+module Ledger.Account where
+
+data Account = Account
+  { owner :: String,
+    balance :: Int
+  }
+  deriving (Eq)
+  deriving (Show)
+
+newtype Number = Number Int deriving (Eq, Ord) deriving (Show)
diff --git a/corpora/vendored/declaration/data/type-data-out'.hs b/corpora/vendored/declaration/data/type-data-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/type-data-out'.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE TypeData #-}
+
+module Engine.Mode where
+
+type data Mode = Idle | Running | Stopped
+
+type data Gear where
+    Low :: Gear
+    High :: Gear
diff --git a/corpora/vendored/declaration/data/type-data-out.hs b/corpora/vendored/declaration/data/type-data-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/type-data-out.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE TypeData #-}
+
+module Engine.Mode where
+
+type data Mode = Idle | Running | Stopped
+
+type data Gear where
+  Low :: Gear
+  High :: Gear
diff --git a/corpora/vendored/declaration/data/type-data.hs b/corpora/vendored/declaration/data/type-data.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/data/type-data.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE TypeData #-}
+
+module Engine.Mode where
+
+type data Mode = Idle | Running | Stopped
+
+type data Gear where
+  Low :: Gear
+  High :: Gear
diff --git a/corpora/vendored/declaration/family/closed-family-equations-across-lines-out'.hs b/corpora/vendored/declaration/family/closed-family-equations-across-lines-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/family/closed-family-equations-across-lines-out'.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE TypeFamilies #-}
+
+module Garden.Bed where
+
+type family Harvest crop where
+    Harvest Tomato =
+        (Basket, Crate)
+    Harvest Bean =
+        [Pod]
+    Harvest crop = crop
+
+type family Soil bed season where
+    Soil Raised Spring = Loam
+    Soil
+        bed
+        season = Clay
diff --git a/corpora/vendored/declaration/family/closed-family-equations-across-lines-out.hs b/corpora/vendored/declaration/family/closed-family-equations-across-lines-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/family/closed-family-equations-across-lines-out.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE TypeFamilies #-}
+
+module Garden.Bed where
+
+type family Harvest crop where
+  Harvest Tomato =
+    (Basket, Crate)
+  Harvest Bean =
+    [Pod]
+  Harvest crop = crop
+
+type family Soil bed season where
+  Soil Raised Spring = Loam
+  Soil
+    bed
+    season = Clay
diff --git a/corpora/vendored/declaration/family/closed-family-equations-across-lines.hs b/corpora/vendored/declaration/family/closed-family-equations-across-lines.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/family/closed-family-equations-across-lines.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE TypeFamilies #-}
+
+module Garden.Bed where
+
+type family Harvest crop where
+  Harvest Tomato
+    = (Basket, Crate)
+  Harvest Bean =
+    [Pod]
+  Harvest crop = crop
+
+type family Soil bed season where
+  Soil Raised Spring = Loam
+  Soil
+    bed
+    season = Clay
diff --git a/corpora/vendored/declaration/family/data-instance-head-across-lines-out'.hs b/corpora/vendored/declaration/family/data-instance-head-across-lines-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/family/data-instance-head-across-lines-out'.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE TypeFamilies #-}
+
+module Grid.Text where
+
+data family Grid row
+
+data instance
+    Grid
+        [Char]
+    = Text
+        ( Int
+        , Int
+        )
+        [Char]
diff --git a/corpora/vendored/declaration/family/data-instance-head-across-lines-out.hs b/corpora/vendored/declaration/family/data-instance-head-across-lines-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/family/data-instance-head-across-lines-out.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE TypeFamilies #-}
+
+module Grid.Text where
+
+data family Grid row
+
+data instance
+  Grid
+    [Char]
+  = Text
+      ( Int,
+        Int
+      )
+      [Char]
diff --git a/corpora/vendored/declaration/family/data-instance-head-across-lines.hs b/corpora/vendored/declaration/family/data-instance-head-across-lines.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/family/data-instance-head-across-lines.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE TypeFamilies #-}
+
+module Grid.Text where
+
+data family Grid row
+
+data instance
+  Grid [
+    Char
+  ] = Text (
+    Int,
+    Int
+  ) [Char]
diff --git a/corpora/vendored/declaration/family/data-instances-of-two-arguments-out'.hs b/corpora/vendored/declaration/family/data-instances-of-two-arguments-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/family/data-instances-of-two-arguments-out'.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE TypeFamilies #-}
+
+module Grid.Cell where
+
+data family Grid row col
+
+data instance Grid Int col = IntRow [col]
+
+data instance Grid Bool col where
+    Flags :: [Bool] -> Grid Bool col
+    NoFlags
+        :: Grid
+            Bool
+            col
+
+newtype instance Grid [Double] col = Readings
+    { readings :: [Double]
+    }
diff --git a/corpora/vendored/declaration/family/data-instances-of-two-arguments-out.hs b/corpora/vendored/declaration/family/data-instances-of-two-arguments-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/family/data-instances-of-two-arguments-out.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE TypeFamilies #-}
+
+module Grid.Cell where
+
+data family Grid row col
+
+data instance Grid Int col = IntRow [col]
+
+data instance Grid Bool col where
+  Flags :: [Bool] -> Grid Bool col
+  NoFlags ::
+    Grid
+      Bool
+      col
+
+newtype instance Grid [Double] col = Readings
+  { readings :: [Double]
+  }
diff --git a/corpora/vendored/declaration/family/data-instances-of-two-arguments.hs b/corpora/vendored/declaration/family/data-instances-of-two-arguments.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/family/data-instances-of-two-arguments.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE TypeFamilies #-}
+
+module Grid.Cell where
+
+data family Grid row col
+
+data instance Grid Int col = IntRow [col]
+
+data instance Grid Bool col where
+  Flags :: [Bool] -> Grid Bool col
+  NoFlags
+    :: Grid Bool
+         col
+
+newtype instance Grid [Double] col = Readings {
+  readings :: [Double]
+}
diff --git a/corpora/vendored/declaration/family/data-instances-with-a-forall-out.hs b/corpora/vendored/declaration/family/data-instances-with-a-forall-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/family/data-instances-with-a-forall-out.hs
@@ -0,0 +1,7 @@
+{-# LANGUAGE TypeFamilies #-}
+
+module Container.Slot where
+
+data family Slot c
+
+data instance forall a. Slot [a] = ListSlot Int
diff --git a/corpora/vendored/declaration/family/data-instances-with-a-forall.hs b/corpora/vendored/declaration/family/data-instances-with-a-forall.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/family/data-instances-with-a-forall.hs
@@ -0,0 +1,7 @@
+{-# LANGUAGE TypeFamilies #-}
+
+module Container.Slot where
+
+data family Slot c
+
+data instance forall a. Slot [a] = ListSlot Int
diff --git a/corpora/vendored/declaration/family/family-heads-across-lines-out'.hs b/corpora/vendored/declaration/family/family-heads-across-lines-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/family/family-heads-across-lines-out'.hs
@@ -0,0 +1,31 @@
+{-# LANGUAGE TypeFamilyDependencies #-}
+
+module Ledger.Book where
+
+import Data.Kind (Type)
+
+type family
+    Balance
+        account
+        currency
+
+type family
+    Posting account
+        :: Type
+
+data family
+    Journal
+        entry
+        period
+        :: Type -> Type
+
+type family
+    Column sheet =
+        column | column -> sheet
+
+type family
+    Rate from to
+        :: Type
+    where
+    Rate from from = Int
+    Rate from to = Double
diff --git a/corpora/vendored/declaration/family/family-heads-across-lines-out.hs b/corpora/vendored/declaration/family/family-heads-across-lines-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/family/family-heads-across-lines-out.hs
@@ -0,0 +1,31 @@
+{-# LANGUAGE TypeFamilyDependencies #-}
+
+module Ledger.Book where
+
+import Data.Kind (Type)
+
+type family
+  Balance
+    account
+    currency
+
+type family
+  Posting account ::
+    Type
+
+data family
+  Journal
+    entry
+    period ::
+    Type -> Type
+
+type family
+  Column sheet =
+    column | column -> sheet
+
+type family
+  Rate from to ::
+    Type
+  where
+  Rate from from = Int
+  Rate from to = Double
diff --git a/corpora/vendored/declaration/family/family-heads-across-lines.hs b/corpora/vendored/declaration/family/family-heads-across-lines.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/family/family-heads-across-lines.hs
@@ -0,0 +1,24 @@
+{-# LANGUAGE TypeFamilyDependencies #-}
+
+module Ledger.Book where
+
+import Data.Kind (Type)
+
+type family Balance
+  account
+  currency
+
+type family Posting account
+  :: Type
+
+data family Journal
+    entry period
+  :: Type -> Type
+
+type family Column sheet
+  = column | column -> sheet
+
+type family Rate from to
+  :: Type where
+  Rate from from = Int
+  Rate from to = Double
diff --git a/corpora/vendored/declaration/family/family-named-by-an-operator-out'.hs b/corpora/vendored/declaration/family/family-named-by-an-operator-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/family/family-named-by-an-operator-out'.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE DataKinds #-}
+{-# LANGUAGE TypeFamilies #-}
+{-# LANGUAGE TypeOperators #-}
+
+module Circuit.Path where
+
+type family (++) (xs :: [k]) (ys :: [k]) :: [k] where
+    (++) '[] ys = ys
+    (++) (x ': xs) ys = x ': (xs ++ ys)
diff --git a/corpora/vendored/declaration/family/family-named-by-an-operator-out.hs b/corpora/vendored/declaration/family/family-named-by-an-operator-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/family/family-named-by-an-operator-out.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE DataKinds #-}
+{-# LANGUAGE TypeFamilies #-}
+{-# LANGUAGE TypeOperators #-}
+
+module Circuit.Path where
+
+type family (++) (xs :: [k]) (ys :: [k]) :: [k] where
+  (++) '[] ys = ys
+  (++) (x ': xs) ys = x ': (xs ++ ys)
diff --git a/corpora/vendored/declaration/family/family-named-by-an-operator.hs b/corpora/vendored/declaration/family/family-named-by-an-operator.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/family/family-named-by-an-operator.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE DataKinds #-}
+{-# LANGUAGE TypeFamilies #-}
+{-# LANGUAGE TypeOperators #-}
+
+module Circuit.Path where
+
+type family (++) (xs :: [k]) (ys :: [k]) :: [k] where
+  (++) '[] ys = ys
+  (++) (x ': xs) ys = x ': (xs ++ ys)
diff --git a/corpora/vendored/declaration/family/family-result-variable-with-a-kind-out.hs b/corpora/vendored/declaration/family/family-result-variable-with-a-kind-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/family/family-result-variable-with-a-kind-out.hs
@@ -0,0 +1,7 @@
+{-# LANGUAGE TypeFamilyDependencies #-}
+
+module Wire.Frame where
+
+import Data.Kind (Type)
+
+type family Envelope payload = (envelope :: Type) | envelope -> payload
diff --git a/corpora/vendored/declaration/family/family-result-variable-with-a-kind.hs b/corpora/vendored/declaration/family/family-result-variable-with-a-kind.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/family/family-result-variable-with-a-kind.hs
@@ -0,0 +1,7 @@
+{-# LANGUAGE TypeFamilyDependencies #-}
+
+module Wire.Frame where
+
+import Data.Kind (Type)
+
+type family Envelope payload = (envelope :: Type) | envelope -> payload
diff --git a/corpora/vendored/declaration/family/infix-equation-heads-across-lines-out'.hs b/corpora/vendored/declaration/family/infix-equation-heads-across-lines-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/family/infix-equation-heads-across-lines-out'.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE DataKinds #-}
+{-# LANGUAGE TypeFamilies #-}
+
+module Stock.Count where
+
+type family ((a :: Count) `Within` (b :: Count)) (c :: Count) :: Bool where
+    ( a
+        `Within` b
+        )
+        c = a `AtMost` c
diff --git a/corpora/vendored/declaration/family/infix-equation-heads-across-lines-out.hs b/corpora/vendored/declaration/family/infix-equation-heads-across-lines-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/family/infix-equation-heads-across-lines-out.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE DataKinds #-}
+{-# LANGUAGE TypeFamilies #-}
+
+module Stock.Count where
+
+type family ((a :: Count) `Within` (b :: Count)) (c :: Count) :: Bool where
+  ( a
+      `Within` b
+    )
+    c = a `AtMost` c
diff --git a/corpora/vendored/declaration/family/infix-equation-heads-across-lines.hs b/corpora/vendored/declaration/family/infix-equation-heads-across-lines.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/family/infix-equation-heads-across-lines.hs
@@ -0,0 +1,8 @@
+{-# LANGUAGE DataKinds #-}
+{-# LANGUAGE TypeFamilies #-}
+
+module Stock.Count where
+
+type family ((a :: Count) `Within` (b :: Count)) (c :: Count) :: Bool where
+  (a
+    `Within` b) c = a `AtMost` c
diff --git a/corpora/vendored/declaration/family/infix-family-heads-out'.hs b/corpora/vendored/declaration/family/infix-family-heads-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/family/infix-family-heads-out'.hs
@@ -0,0 +1,23 @@
+{-# LANGUAGE DataKinds #-}
+{-# LANGUAGE TypeFamilies #-}
+
+module Stock.Count where
+
+data Count = None | More Count
+
+type family (a :: Count) + (b :: Count) :: Count where
+    'None + b = b
+    'More a + b = 'More (a + b)
+
+type family (a :: Count) `AtMost` (b :: Count) :: Bool where
+    'None `AtMost` b = 'True
+    'More a `AtMost` 'None = 'False
+    'More a `AtMost` 'More b = a `AtMost` b
+
+type family ((a :: Count) `Within` (b :: Count)) (c :: Count) :: Bool where
+    (a `Within` b) c = a `AtMost` c
+
+type family
+    (a :: Count)
+        `Times` (b :: Count)
+        :: Count
diff --git a/corpora/vendored/declaration/family/infix-family-heads-out.hs b/corpora/vendored/declaration/family/infix-family-heads-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/family/infix-family-heads-out.hs
@@ -0,0 +1,23 @@
+{-# LANGUAGE DataKinds #-}
+{-# LANGUAGE TypeFamilies #-}
+
+module Stock.Count where
+
+data Count = None | More Count
+
+type family (a :: Count) + (b :: Count) :: Count where
+  'None + b = b
+  'More a + b = 'More (a + b)
+
+type family (a :: Count) `AtMost` (b :: Count) :: Bool where
+  'None `AtMost` b = 'True
+  'More a `AtMost` 'None = 'False
+  'More a `AtMost` 'More b = a `AtMost` b
+
+type family ((a :: Count) `Within` (b :: Count)) (c :: Count) :: Bool where
+  (a `Within` b) c = a `AtMost` c
+
+type family
+  (a :: Count)
+    `Times` (b :: Count) ::
+    Count
diff --git a/corpora/vendored/declaration/family/infix-family-heads.hs b/corpora/vendored/declaration/family/infix-family-heads.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/family/infix-family-heads.hs
@@ -0,0 +1,22 @@
+{-# LANGUAGE DataKinds #-}
+{-# LANGUAGE TypeFamilies #-}
+
+module Stock.Count where
+
+data Count = None | More Count
+
+type family (a :: Count) + (b :: Count) :: Count where
+  'None + b = b
+  'More a + b = 'More (a + b)
+
+type family (a :: Count) `AtMost` (b :: Count) :: Bool where
+  'None `AtMost` b = 'True
+  'More a `AtMost` 'None = 'False
+  'More a `AtMost` 'More b = a `AtMost` b
+
+type family ((a :: Count) `Within` (b :: Count)) (c :: Count) :: Bool where
+  (a `Within` b) c = a `AtMost` c
+
+type family
+  (a :: Count)
+    `Times` (b :: Count) :: Count
diff --git a/corpora/vendored/declaration/family/injectivity-annotations-out'.hs b/corpora/vendored/declaration/family/injectivity-annotations-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/family/injectivity-annotations-out'.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE TypeFamilyDependencies #-}
+
+module Wire.Codec where
+
+type family Encoded a = bytes | bytes -> a
+
+type family Framed header body = frame | frame -> header body
+
+type family Tagged label = tagged where
+    Tagged label = (label, Int)
+
+type family Packed a b c = packed | packed -> a b c where
+    Packed a b c = (a, b, c)
diff --git a/corpora/vendored/declaration/family/injectivity-annotations-out.hs b/corpora/vendored/declaration/family/injectivity-annotations-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/family/injectivity-annotations-out.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE TypeFamilyDependencies #-}
+
+module Wire.Codec where
+
+type family Encoded a = bytes | bytes -> a
+
+type family Framed header body = frame | frame -> header body
+
+type family Tagged label = tagged where
+  Tagged label = (label, Int)
+
+type family Packed a b c = packed | packed -> a b c where
+  Packed a b c = (a, b, c)
diff --git a/corpora/vendored/declaration/family/injectivity-annotations.hs b/corpora/vendored/declaration/family/injectivity-annotations.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/family/injectivity-annotations.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE TypeFamilyDependencies #-}
+
+module Wire.Codec where
+
+type family Encoded a = bytes | bytes -> a
+
+type family Framed header body = frame | frame -> header body
+
+type family Tagged label = tagged where
+  Tagged label = (label, Int)
+
+type family Packed a b c = packed|packed->a b c where
+  Packed a b c = (a, b, c)
diff --git a/corpora/vendored/declaration/family/type-instance-broken-after-its-forall-out'.hs b/corpora/vendored/declaration/family/type-instance-broken-after-its-forall-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/family/type-instance-broken-after-its-forall-out'.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE TypeFamilies #-}
+
+module Container where
+
+type family Outer c
+
+type instance
+    forall e i
+     . Outer (Indexed i e) = (i, e)
diff --git a/corpora/vendored/declaration/family/type-instance-broken-after-its-forall-out.hs b/corpora/vendored/declaration/family/type-instance-broken-after-its-forall-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/family/type-instance-broken-after-its-forall-out.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE TypeFamilies #-}
+
+module Container where
+
+type family Outer c
+
+type instance
+  forall e i.
+    Outer (Indexed i e) = (i, e)
diff --git a/corpora/vendored/declaration/family/type-instance-broken-after-its-forall.hs b/corpora/vendored/declaration/family/type-instance-broken-after-its-forall.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/family/type-instance-broken-after-its-forall.hs
@@ -0,0 +1,8 @@
+{-# LANGUAGE TypeFamilies #-}
+
+module Container where
+
+type family Outer c
+
+type instance forall e i.
+  Outer (Indexed i e) = (i, e)
diff --git a/corpora/vendored/declaration/foreign/calling-conventions-and-safety-out.hs b/corpora/vendored/declaration/foreign/calling-conventions-and-safety-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/foreign/calling-conventions-and-safety-out.hs
@@ -0,0 +1,23 @@
+{-# LANGUAGE CApiFFI #-}
+{-# LANGUAGE JavaScriptFFI #-}
+
+module Audio.Device where
+
+import Foreign.C.Types (CInt (..))
+import Foreign.Ptr (FunPtr)
+
+type Handler = CInt -> IO ()
+
+foreign import ccall safe "audio_open" openDevice :: CInt -> IO CInt
+
+foreign import ccall interruptible "audio_wait" waitDevice :: Handler
+
+foreign import stdcall "audio_close" closeDevice :: Handler
+
+foreign import capi "audio.h AUDIO_RATE" defaultRate :: CInt
+
+foreign import javascript "navigator.audioDevices" deviceCount :: IO Int
+
+foreign import ccall "dynamic" runHandler :: FunPtr Handler -> Handler
+
+foreign import ccall "wrapper" wrapHandler :: Handler -> IO (FunPtr Handler)
diff --git a/corpora/vendored/declaration/foreign/calling-conventions-and-safety.hs b/corpora/vendored/declaration/foreign/calling-conventions-and-safety.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/foreign/calling-conventions-and-safety.hs
@@ -0,0 +1,23 @@
+{-# LANGUAGE CApiFFI #-}
+{-# LANGUAGE JavaScriptFFI #-}
+
+module Audio.Device where
+
+import Foreign.C.Types (CInt (..))
+import Foreign.Ptr (FunPtr)
+
+type Handler = CInt -> IO ()
+
+foreign import ccall safe "audio_open" openDevice :: CInt -> IO CInt
+
+foreign import ccall interruptible "audio_wait" waitDevice :: Handler
+
+foreign import stdcall "audio_close" closeDevice :: Handler
+
+foreign import capi "audio.h AUDIO_RATE" defaultRate :: CInt
+
+foreign import javascript "navigator.audioDevices" deviceCount :: IO Int
+
+foreign import ccall "dynamic" runHandler :: FunPtr Handler -> Handler
+
+foreign import ccall "wrapper" wrapHandler :: Handler -> IO (FunPtr Handler)
diff --git a/corpora/vendored/declaration/foreign/foreign-declarations-across-lines-out'.hs b/corpora/vendored/declaration/foreign/foreign-declarations-across-lines-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/foreign/foreign-declarations-across-lines-out'.hs
@@ -0,0 +1,29 @@
+module Audio.Mixer where
+
+import Foreign.C.Types (CFloat (..), CInt (..))
+
+foreign import ccall unsafe "mixer_gain"
+    mixerGain :: CInt -> CFloat -> IO ()
+
+foreign import ccall "mixer_level"
+    mixerLevel
+        :: CInt -> IO CFloat
+
+foreign import ccall "mixer_route"
+    mixerRoute
+        :: CInt
+        -> CInt
+        -> IO CInt
+
+foreign export ccall "mixer_version"
+    mixerVersion :: CInt
+
+foreign export ccall
+    mixerReset
+        :: CInt -> IO ()
+
+mixerVersion :: CInt
+mixerVersion = 3
+
+mixerReset :: CInt -> IO ()
+mixerReset _ = pure ()
diff --git a/corpora/vendored/declaration/foreign/foreign-declarations-across-lines-out.hs b/corpora/vendored/declaration/foreign/foreign-declarations-across-lines-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/foreign/foreign-declarations-across-lines-out.hs
@@ -0,0 +1,29 @@
+module Audio.Mixer where
+
+import Foreign.C.Types (CFloat (..), CInt (..))
+
+foreign import ccall unsafe "mixer_gain"
+  mixerGain :: CInt -> CFloat -> IO ()
+
+foreign import ccall "mixer_level"
+  mixerLevel ::
+    CInt -> IO CFloat
+
+foreign import ccall "mixer_route"
+  mixerRoute ::
+    CInt ->
+    CInt ->
+    IO CInt
+
+foreign export ccall "mixer_version"
+  mixerVersion :: CInt
+
+foreign export ccall
+  mixerReset ::
+    CInt -> IO ()
+
+mixerVersion :: CInt
+mixerVersion = 3
+
+mixerReset :: CInt -> IO ()
+mixerReset _ = pure ()
diff --git a/corpora/vendored/declaration/foreign/foreign-declarations-across-lines.hs b/corpora/vendored/declaration/foreign/foreign-declarations-across-lines.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/foreign/foreign-declarations-across-lines.hs
@@ -0,0 +1,27 @@
+module Audio.Mixer where
+
+import Foreign.C.Types (CFloat (..), CInt (..))
+
+foreign import ccall unsafe "mixer_gain"
+  mixerGain :: CInt -> CFloat -> IO ()
+
+foreign import ccall "mixer_level" mixerLevel
+  :: CInt -> IO CFloat
+
+foreign import ccall "mixer_route"
+  mixerRoute ::
+    CInt ->
+    CInt ->
+    IO CInt
+
+foreign export ccall "mixer_version"
+  mixerVersion :: CInt
+
+foreign export ccall mixerReset
+  :: CInt -> IO ()
+
+mixerVersion :: CInt
+mixerVersion = 3
+
+mixerReset :: CInt -> IO ()
+mixerReset _ = pure ()
diff --git a/corpora/vendored/declaration/foreign/foreign-export-out.hs b/corpora/vendored/declaration/foreign/foreign-export-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/foreign/foreign-export-out.hs
@@ -0,0 +1,11 @@
+module Plugin.Entry where
+
+triple :: Int -> Int
+triple = (* 3)
+
+foreign export ccall triple :: Int -> Int
+
+foreign export ccall "plugin_scale" scale :: Double -> Double -> Double
+
+scale :: Double -> Double -> Double
+scale = (*)
diff --git a/corpora/vendored/declaration/foreign/foreign-export.hs b/corpora/vendored/declaration/foreign/foreign-export.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/foreign/foreign-export.hs
@@ -0,0 +1,11 @@
+module Plugin.Entry where
+
+triple :: Int -> Int
+triple = (* 3)
+
+foreign export ccall triple :: Int -> Int
+
+foreign export ccall "plugin_scale" scale :: Double -> Double -> Double
+
+scale :: Double -> Double -> Double
+scale = (*)
diff --git a/corpora/vendored/declaration/foreign/foreign-import-entity-across-lines-out'.hs b/corpora/vendored/declaration/foreign/foreign-import-entity-across-lines-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/foreign/foreign-import-entity-across-lines-out'.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE MultilineStrings #-}
+
+module Canvas.Script where
+
+import Foreign.C.Types (CInt (..))
+
+foreign import javascript
+    """
+    ((width, height) => width * height)
+    """
+    canvasArea :: Int -> Int -> Int
+
+foreign import ccall
+    "static vendor/canvas/include/canvas_surface.h \
+    \canvas_clear"
+    canvasClear :: CInt -> IO ()
diff --git a/corpora/vendored/declaration/foreign/foreign-import-entity-across-lines-out.hs b/corpora/vendored/declaration/foreign/foreign-import-entity-across-lines-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/foreign/foreign-import-entity-across-lines-out.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE MultilineStrings #-}
+
+module Canvas.Script where
+
+import Foreign.C.Types (CInt (..))
+
+foreign import javascript
+  """
+  ((width, height) => width * height)
+  """
+  canvasArea :: Int -> Int -> Int
+
+foreign import ccall
+  "static vendor/canvas/include/canvas_surface.h \
+  \canvas_clear"
+  canvasClear :: CInt -> IO ()
diff --git a/corpora/vendored/declaration/foreign/foreign-import-entity-across-lines.hs b/corpora/vendored/declaration/foreign/foreign-import-entity-across-lines.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/foreign/foreign-import-entity-across-lines.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE MultilineStrings #-}
+
+module Canvas.Script where
+
+import Foreign.C.Types (CInt (..))
+
+foreign import javascript
+  """
+  ((width, height) => width * height)
+  """
+  canvasArea :: Int -> Int -> Int
+
+foreign import ccall "static vendor/canvas/include/canvas_surface.h \
+                     \canvas_clear"
+  canvasClear :: CInt -> IO ()
diff --git a/corpora/vendored/declaration/foreign/foreign-import-of-an-operator-out.hs b/corpora/vendored/declaration/foreign/foreign-import-of-an-operator-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/foreign/foreign-import-of-an-operator-out.hs
@@ -0,0 +1,5 @@
+module Circuit.Native where
+
+import Foreign.C.Types (CInt (..))
+
+foreign import ccall "wire_join" (<+>) :: CInt -> CInt -> CInt
diff --git a/corpora/vendored/declaration/foreign/foreign-import-of-an-operator.hs b/corpora/vendored/declaration/foreign/foreign-import-of-an-operator.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/foreign/foreign-import-of-an-operator.hs
@@ -0,0 +1,5 @@
+module Circuit.Native where
+
+import Foreign.C.Types (CInt (..))
+
+foreign import ccall "wire_join" (<+>) :: CInt -> CInt -> CInt
diff --git a/corpora/vendored/declaration/foreign/foreign-import-without-an-entity-out.hs b/corpora/vendored/declaration/foreign/foreign-import-without-an-entity-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/foreign/foreign-import-without-an-entity-out.hs
@@ -0,0 +1,5 @@
+module Math.Libm where
+
+foreign import ccall sin :: Double -> Double
+
+foreign import ccall unsafe cos :: Double -> Double
diff --git a/corpora/vendored/declaration/foreign/foreign-import-without-an-entity.hs b/corpora/vendored/declaration/foreign/foreign-import-without-an-entity.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/foreign/foreign-import-without-an-entity.hs
@@ -0,0 +1,5 @@
+module Math.Libm where
+
+foreign import ccall sin :: Double -> Double
+
+foreign import ccall unsafe cos :: Double -> Double
diff --git a/corpora/vendored/declaration/grouping/bindings-under-a-run-of-signatures-out.hs b/corpora/vendored/declaration/grouping/bindings-under-a-run-of-signatures-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/grouping/bindings-under-a-run-of-signatures-out.hs
@@ -0,0 +1,14 @@
+module Palette where
+
+red, green :: Colour
+blue, alpha :: Colour
+
+red = Colour 255 0 0
+green = Colour 0 255 0
+blue = Colour 0 0 255
+alpha = Colour 0 0 0
+
+black, white :: Colour
+black = Colour 0 0 0
+
+white = Colour 255 255 255
diff --git a/corpora/vendored/declaration/grouping/bindings-under-a-run-of-signatures.hs b/corpora/vendored/declaration/grouping/bindings-under-a-run-of-signatures.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/grouping/bindings-under-a-run-of-signatures.hs
@@ -0,0 +1,14 @@
+module Palette where
+
+red, green :: Colour
+blue, alpha :: Colour
+
+red = Colour 255 0 0
+green = Colour 0 255 0
+blue = Colour 0 0 255
+alpha = Colour 0 0 0
+
+black, white :: Colour
+black = Colour 0 0 0
+
+white = Colour 255 255 255
diff --git a/corpora/vendored/declaration/grouping/blank-lines-between-implicit-parameter-bindings-out'.hs b/corpora/vendored/declaration/grouping/blank-lines-between-implicit-parameter-bindings-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/grouping/blank-lines-between-implicit-parameter-bindings-out'.hs
@@ -0,0 +1,22 @@
+{-# LANGUAGE ImplicitParams #-}
+
+module Render.Settings where
+
+render page =
+    let ?width = 80
+        ?indent = 2
+
+        ?colour = False
+     in layout page
+
+preview page = layout page
+    where
+        ?width = 40
+
+        ?colour = True
+
+session = do
+    let ?width = 120
+
+        ?colour = True
+    run
diff --git a/corpora/vendored/declaration/grouping/blank-lines-between-implicit-parameter-bindings-out.hs b/corpora/vendored/declaration/grouping/blank-lines-between-implicit-parameter-bindings-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/grouping/blank-lines-between-implicit-parameter-bindings-out.hs
@@ -0,0 +1,22 @@
+{-# LANGUAGE ImplicitParams #-}
+
+module Render.Settings where
+
+render page =
+  let ?width = 80
+      ?indent = 2
+
+      ?colour = False
+   in layout page
+
+preview page = layout page
+  where
+    ?width = 40
+
+    ?colour = True
+
+session = do
+  let ?width = 120
+
+      ?colour = True
+  run
diff --git a/corpora/vendored/declaration/grouping/blank-lines-between-implicit-parameter-bindings.hs b/corpora/vendored/declaration/grouping/blank-lines-between-implicit-parameter-bindings.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/grouping/blank-lines-between-implicit-parameter-bindings.hs
@@ -0,0 +1,22 @@
+{-# LANGUAGE ImplicitParams #-}
+
+module Render.Settings where
+
+render page =
+  let ?width = 80
+      ?indent = 2
+
+      ?colour = False
+   in layout page
+
+preview page = layout page
+  where
+    ?width = 40
+
+    ?colour = True
+
+session = do
+  let ?width = 120
+
+      ?colour = True
+  run
diff --git a/corpora/vendored/declaration/grouping/declarations-written-on-one-line-out.hs b/corpora/vendored/declaration/grouping/declarations-written-on-one-line-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/grouping/declarations-written-on-one-line-out.hs
@@ -0,0 +1,3 @@
+module Kiln.Tiny where
+
+size :: Int; size = 3; label = "kiln"
diff --git a/corpora/vendored/declaration/grouping/declarations-written-on-one-line.hs b/corpora/vendored/declaration/grouping/declarations-written-on-one-line.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/grouping/declarations-written-on-one-line.hs
@@ -0,0 +1,1 @@
+module Kiln.Tiny where { size :: Int; size = 3; label = "kiln" }
diff --git a/corpora/vendored/declaration/grouping/deriving-blocks-the-author-grouped-out.hs b/corpora/vendored/declaration/grouping/deriving-blocks-the-author-grouped-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/grouping/deriving-blocks-the-author-grouped-out.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE DerivingVia #-}
+{-# LANGUAGE StandaloneDeriving #-}
+
+module Ledger.Posting where
+
+newtype Tallied a = Tallied a
+
+deriving via Tallied Receipt instance Eq Receipt
+deriving via Tallied Receipt instance Ord Receipt
+deriving via Tallied Receipt instance Show Receipt
+
+deriving via Tallied Invoice instance Eq Invoice
+deriving via Tallied Invoice instance Ord Invoice
+-- A note written against the block it stands in, and staying inside it.
+deriving via Tallied Invoice instance Show Invoice
+
+deriving via Tallied Memo instance Eq Memo
diff --git a/corpora/vendored/declaration/grouping/deriving-blocks-the-author-grouped.hs b/corpora/vendored/declaration/grouping/deriving-blocks-the-author-grouped.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/grouping/deriving-blocks-the-author-grouped.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE DerivingVia #-}
+{-# LANGUAGE StandaloneDeriving #-}
+
+module Ledger.Posting where
+
+newtype Tallied a = Tallied a
+
+deriving via Tallied Receipt instance Eq Receipt
+deriving via Tallied Receipt instance Ord Receipt
+deriving via Tallied Receipt instance Show Receipt
+
+deriving via Tallied Invoice instance Eq Invoice
+deriving via Tallied Invoice instance Ord Invoice
+-- A note written against the block it stands in, and staying inside it.
+deriving via Tallied Invoice instance Show Invoice
+
+deriving via Tallied Memo instance Eq Memo
diff --git a/corpora/vendored/declaration/grouping/one-line-declarations-the-author-grouped-out'.hs b/corpora/vendored/declaration/grouping/one-line-declarations-the-author-grouped-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/grouping/one-line-declarations-the-author-grouped-out'.hs
@@ -0,0 +1,40 @@
+{-# LANGUAGE TypeFamilies #-}
+
+module Geometry.Units where
+
+infixl 6 |+|
+infixl 7 |*|
+
+(|+|), (|*|) :: Length -> Length -> Length
+(|+|) = lift2 (+)
+(|*|) = lift2 (*)
+
+type Metres = Double
+type Seconds = Double
+
+newtype Length = Length Metres
+newtype Duration = Duration Seconds
+
+class Measured a
+
+instance Measured Length
+instance Measured Duration
+
+type family Unit a
+
+type instance Unit Length = Metres
+-- A note written against the run it stands in, and staying inside it.
+type instance Unit Duration = Seconds
+
+zero = Length 0
+unit = Length 1
+
+lift2 f (Length a) (Length b) =
+    Length (f a b)
+
+double = lift2 (+) unit unit
+
+-- | Set apart by its Haddock.
+half = Length 0.5
+
+quarter = Length 0.25
diff --git a/corpora/vendored/declaration/grouping/one-line-declarations-the-author-grouped-out.hs b/corpora/vendored/declaration/grouping/one-line-declarations-the-author-grouped-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/grouping/one-line-declarations-the-author-grouped-out.hs
@@ -0,0 +1,40 @@
+{-# LANGUAGE TypeFamilies #-}
+
+module Geometry.Units where
+
+infixl 6 |+|
+infixl 7 |*|
+
+(|+|), (|*|) :: Length -> Length -> Length
+(|+|) = lift2 (+)
+(|*|) = lift2 (*)
+
+type Metres = Double
+type Seconds = Double
+
+newtype Length = Length Metres
+newtype Duration = Duration Seconds
+
+class Measured a
+
+instance Measured Length
+instance Measured Duration
+
+type family Unit a
+
+type instance Unit Length = Metres
+-- A note written against the run it stands in, and staying inside it.
+type instance Unit Duration = Seconds
+
+zero = Length 0
+unit = Length 1
+
+lift2 f (Length a) (Length b) =
+  Length (f a b)
+
+double = lift2 (+) unit unit
+
+-- | Set apart by its Haddock.
+half = Length 0.5
+
+quarter = Length 0.25
diff --git a/corpora/vendored/declaration/grouping/one-line-declarations-the-author-grouped.hs b/corpora/vendored/declaration/grouping/one-line-declarations-the-author-grouped.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/grouping/one-line-declarations-the-author-grouped.hs
@@ -0,0 +1,32 @@
+{-# LANGUAGE TypeFamilies #-}
+
+module Geometry.Units where
+
+infixl 6 |+|
+infixl 7 |*|
+(|+|), (|*|) :: Length -> Length -> Length
+(|+|) = lift2 (+)
+(|*|) = lift2 (*)
+
+type Metres = Double
+type Seconds = Double
+newtype Length = Length Metres
+newtype Duration = Duration Seconds
+
+class Measured a
+instance Measured Length
+instance Measured Duration
+
+type family Unit a
+type instance Unit Length = Metres
+-- A note written against the run it stands in, and staying inside it.
+type instance Unit Duration = Seconds
+
+zero = Length 0
+unit = Length 1
+lift2 f (Length a) (Length b) =
+  Length (f a b)
+double = lift2 (+) unit unit
+-- | Set apart by its Haddock.
+half = Length 0.5
+quarter = Length 0.25
diff --git a/corpora/vendored/declaration/grouping/signatures-above-a-pattern-binding-out.hs b/corpora/vendored/declaration/grouping/signatures-above-a-pattern-binding-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/grouping/signatures-above-a-pattern-binding-out.hs
@@ -0,0 +1,15 @@
+module Sensor.Calibration where
+
+import Data.List.NonEmpty (NonEmpty (..))
+
+offset :: Double
+gain :: Double
+(offset, gain) = (0.5, 1.2)
+
+lastReading :: Int
+firstReading :| [lastReading] = 3 :| [4]
+
+threshold :: Double
+
+(low, high) = (0.1, 0.9)
+threshold = 0.5
diff --git a/corpora/vendored/declaration/grouping/signatures-above-a-pattern-binding.hs b/corpora/vendored/declaration/grouping/signatures-above-a-pattern-binding.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/grouping/signatures-above-a-pattern-binding.hs
@@ -0,0 +1,14 @@
+module Sensor.Calibration where
+
+import Data.List.NonEmpty (NonEmpty (..))
+
+offset :: Double
+gain :: Double
+(offset, gain) = (0.5, 1.2)
+
+lastReading :: Int
+firstReading :| [lastReading] = 3 :| [4]
+
+threshold :: Double
+(low, high) = (0.1, 0.9)
+threshold = 0.5
diff --git a/corpora/vendored/declaration/grouping/signatures-with-haddocks-under-them-out'.hs b/corpora/vendored/declaration/grouping/signatures-with-haddocks-under-them-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/grouping/signatures-with-haddocks-under-them-out'.hs
@@ -0,0 +1,20 @@
+module Kiln.Shelf where
+
+parens
+    :: Doc
+    -> Doc
+    -- ^ Wrap a document in parentheses.
+brackets
+    :: Doc
+    -> Doc
+    -- ^ Wrap a document in brackets.
+parens = wrap '(' ')'
+brackets = wrap '[' ']'
+
+class Shelved a where
+    height
+        :: a
+        -> Word
+        -- ^ How high it sits.
+
+    depth :: a -> Word
diff --git a/corpora/vendored/declaration/grouping/signatures-with-haddocks-under-them-out.hs b/corpora/vendored/declaration/grouping/signatures-with-haddocks-under-them-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/grouping/signatures-with-haddocks-under-them-out.hs
@@ -0,0 +1,20 @@
+module Kiln.Shelf where
+
+parens ::
+  Doc ->
+  -- | Wrap a document in parentheses.
+  Doc
+brackets ::
+  Doc ->
+  -- | Wrap a document in brackets.
+  Doc
+parens = wrap '(' ')'
+brackets = wrap '[' ']'
+
+class Shelved a where
+  height ::
+    a ->
+    -- | How high it sits.
+    Word
+
+  depth :: a -> Word
diff --git a/corpora/vendored/declaration/grouping/signatures-with-haddocks-under-them.hs b/corpora/vendored/declaration/grouping/signatures-with-haddocks-under-them.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/grouping/signatures-with-haddocks-under-them.hs
@@ -0,0 +1,11 @@
+module Kiln.Shelf where
+
+parens :: Doc -> Doc -- ^ Wrap a document in parentheses.
+brackets :: Doc -> Doc -- ^ Wrap a document in brackets.
+parens = wrap '(' ')'
+brackets = wrap '[' ']'
+
+class Shelved a where
+  height :: a -> Word -- ^ How high it sits.
+
+  depth :: a -> Word
diff --git a/corpora/vendored/declaration/grouping/splices-the-author-grouped-out.hs b/corpora/vendored/declaration/grouping/splices-the-author-grouped-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/grouping/splices-the-author-grouped-out.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE TemplateHaskell #-}
+
+module Store.Lenses where
+
+makeLenses ''Config
+-- A note written against the run it stands in, and staying inside it.
+makeLenses ''Options
+
+makeLenses ''State
+#if defined(PRISMS)
+makePrisms ''Event
+#endif
+makeLenses ''Event
diff --git a/corpora/vendored/declaration/grouping/splices-the-author-grouped.hs b/corpora/vendored/declaration/grouping/splices-the-author-grouped.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/grouping/splices-the-author-grouped.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE TemplateHaskell #-}
+
+module Store.Lenses where
+
+makeLenses ''Config
+-- A note written against the run it stands in, and staying inside it.
+makeLenses ''Options
+
+makeLenses ''State
+#if defined(PRISMS)
+makePrisms ''Event
+#endif
+makeLenses ''Event
diff --git a/corpora/vendored/declaration/instance/associated-instances-across-lines-out'.hs b/corpora/vendored/declaration/instance/associated-instances-across-lines-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/instance/associated-instances-across-lines-out'.hs
@@ -0,0 +1,22 @@
+{-# LANGUAGE TypeFamilies #-}
+
+module Board.Rook where
+
+data Rook = Rook
+
+instance Piece Rook where
+    type
+        Move
+            Rook =
+            Slide
+    type
+        Square Rook =
+            (Int, Int)
+    newtype
+        Capture
+            Rook
+            side
+        = Taken side
+    data Promotion Rook
+        = Never
+    moves _ = []
diff --git a/corpora/vendored/declaration/instance/associated-instances-across-lines-out.hs b/corpora/vendored/declaration/instance/associated-instances-across-lines-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/instance/associated-instances-across-lines-out.hs
@@ -0,0 +1,22 @@
+{-# LANGUAGE TypeFamilies #-}
+
+module Board.Rook where
+
+data Rook = Rook
+
+instance Piece Rook where
+  type
+    Move
+      Rook =
+      Slide
+  type
+    Square Rook =
+      (Int, Int)
+  newtype
+    Capture
+      Rook
+      side
+    = Taken side
+  data Promotion Rook
+    = Never
+  moves _ = []
diff --git a/corpora/vendored/declaration/instance/associated-instances-across-lines.hs b/corpora/vendored/declaration/instance/associated-instances-across-lines.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/instance/associated-instances-across-lines.hs
@@ -0,0 +1,19 @@
+{-# LANGUAGE TypeFamilies #-}
+
+module Board.Rook where
+
+data Rook = Rook
+
+instance Piece Rook where
+  type
+    Move
+      Rook
+    = Slide
+  type Square Rook =
+    (Int, Int)
+  newtype Capture
+    Rook side
+    = Taken side
+  data Promotion Rook =
+    Never
+  moves _ = []
diff --git a/corpora/vendored/declaration/instance/instance-heads-with-a-forall-out'.hs b/corpora/vendored/declaration/instance/instance-heads-with-a-forall-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/instance/instance-heads-with-a-forall-out'.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE DerivingVia #-}
+{-# LANGUAGE StandaloneDeriving #-}
+
+module Codec.Wrapped where
+
+instance forall a. Show a => Show (Wrapped a) where
+    show (Wrapped x) = "Wrapped " <> show x
+
+deriving instance forall a. Eq a => Eq (Wrapped a)
+
+newtype Count = Count Int
+    deriving (Semigroup) via forall k. Const (Sum Int) (k :: Type)
diff --git a/corpora/vendored/declaration/instance/instance-heads-with-a-forall-out.hs b/corpora/vendored/declaration/instance/instance-heads-with-a-forall-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/instance/instance-heads-with-a-forall-out.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE DerivingVia #-}
+{-# LANGUAGE StandaloneDeriving #-}
+
+module Codec.Wrapped where
+
+instance forall a. Show a => Show (Wrapped a) where
+  show (Wrapped x) = "Wrapped " <> show x
+
+deriving instance forall a. Eq a => Eq (Wrapped a)
+
+newtype Count = Count Int
+  deriving (Semigroup) via forall k. Const (Sum Int) (k :: Type)
diff --git a/corpora/vendored/declaration/instance/instance-heads-with-a-forall.hs b/corpora/vendored/declaration/instance/instance-heads-with-a-forall.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/instance/instance-heads-with-a-forall.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE DerivingVia #-}
+{-# LANGUAGE StandaloneDeriving #-}
+
+module Codec.Wrapped where
+
+instance forall a. (Show a) => Show (Wrapped a) where
+  show (Wrapped x) = "Wrapped " <> show x
+
+deriving instance forall a. (Eq a) => Eq (Wrapped a)
+
+newtype Count = Count Int
+  deriving (Semigroup) via forall k. Const (Sum Int) (k :: Type)
diff --git a/corpora/vendored/declaration/instance/instance-signatures-out'.hs b/corpora/vendored/declaration/instance/instance-signatures-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/instance/instance-signatures-out'.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE InstanceSigs #-}
+
+module Tally.Show where
+
+newtype Tally = Tally Int
+
+instance Show Tally where
+    show :: Tally -> String
+    show (Tally n) = replicate n '|'
+    showsPrec
+        :: Int
+        -> Tally
+        -> ShowS
+    showsPrec _ t = showString (show t)
+
+instance Eq Tally where
+    (==) :: Tally -> Tally -> Bool
+    Tally a == Tally b = a == b
diff --git a/corpora/vendored/declaration/instance/instance-signatures-out.hs b/corpora/vendored/declaration/instance/instance-signatures-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/instance/instance-signatures-out.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE InstanceSigs #-}
+
+module Tally.Show where
+
+newtype Tally = Tally Int
+
+instance Show Tally where
+  show :: Tally -> String
+  show (Tally n) = replicate n '|'
+  showsPrec ::
+    Int ->
+    Tally ->
+    ShowS
+  showsPrec _ t = showString (show t)
+
+instance Eq Tally where
+  (==) :: Tally -> Tally -> Bool
+  Tally a == Tally b = a == b
diff --git a/corpora/vendored/declaration/instance/instance-signatures.hs b/corpora/vendored/declaration/instance/instance-signatures.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/instance/instance-signatures.hs
@@ -0,0 +1,19 @@
+{-# LANGUAGE InstanceSigs #-}
+
+module Tally.Show where
+
+newtype Tally = Tally Int
+
+instance Show Tally where
+  show :: Tally -> String
+  show (Tally n) = replicate n '|'
+  showsPrec
+    :: Int
+    -> Tally
+    -> ShowS
+  showsPrec _ t = showString (show t)
+
+instance Eq Tally
+  where
+    (==) :: Tally -> Tally -> Bool
+    Tally a == Tally b = a == b
diff --git a/corpora/vendored/declaration/instance/nested-tuples-in-an-instance-head-out'.hs b/corpora/vendored/declaration/instance/nested-tuples-in-an-instance-head-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/instance/nested-tuples-in-an-instance-head-out'.hs
@@ -0,0 +1,18 @@
+module Survey.Point where
+
+instance (Plot x, Plot (y, z)) => Plot (x, (y, z)) where
+    plot = undefined
+
+instance
+    ( Plot x
+    , Plot
+        ( y
+        , z
+        )
+    )
+    => Plot
+        ( x
+        , (y, z)
+        )
+    where
+    plot = undefined
diff --git a/corpora/vendored/declaration/instance/nested-tuples-in-an-instance-head-out.hs b/corpora/vendored/declaration/instance/nested-tuples-in-an-instance-head-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/instance/nested-tuples-in-an-instance-head-out.hs
@@ -0,0 +1,18 @@
+module Survey.Point where
+
+instance (Plot x, Plot (y, z)) => Plot (x, (y, z)) where
+  plot = undefined
+
+instance
+  ( Plot x,
+    Plot
+      ( y,
+        z
+      )
+  ) =>
+  Plot
+    ( x,
+      (y, z)
+    )
+  where
+  plot = undefined
diff --git a/corpora/vendored/declaration/instance/nested-tuples-in-an-instance-head.hs b/corpora/vendored/declaration/instance/nested-tuples-in-an-instance-head.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/instance/nested-tuples-in-an-instance-head.hs
@@ -0,0 +1,12 @@
+module Survey.Point where
+
+instance (Plot x, Plot (y, z)) => Plot (x, (y, z)) where
+  plot = undefined
+
+instance (Plot x,
+          Plot (y,
+                z)) => Plot (
+    x,
+    (y, z)
+  ) where
+  plot = undefined
diff --git a/corpora/vendored/declaration/instance/operator-methods-defined-prefix-out'.hs b/corpora/vendored/declaration/instance/operator-methods-defined-prefix-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/instance/operator-methods-defined-prefix-out'.hs
@@ -0,0 +1,15 @@
+module Tally.Join where
+
+newtype Tally = Tally Int
+
+instance Semigroup Tally where (<>) (Tally a) (Tally b) = Tally (a + b)
+
+instance Ord Tally where
+    (<=) (Tally a) (Tally b) = a <= b
+    max
+        (Tally a)
+        (Tally b) =
+            Tally (max a b)
+    (>=)
+        a
+        b = b <= a
diff --git a/corpora/vendored/declaration/instance/operator-methods-defined-prefix-out.hs b/corpora/vendored/declaration/instance/operator-methods-defined-prefix-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/instance/operator-methods-defined-prefix-out.hs
@@ -0,0 +1,15 @@
+module Tally.Join where
+
+newtype Tally = Tally Int
+
+instance Semigroup Tally where (<>) (Tally a) (Tally b) = Tally (a + b)
+
+instance Ord Tally where
+  (<=) (Tally a) (Tally b) = a <= b
+  max
+    (Tally a)
+    (Tally b) =
+      Tally (max a b)
+  (>=)
+    a
+    b = b <= a
diff --git a/corpora/vendored/declaration/instance/operator-methods-defined-prefix.hs b/corpora/vendored/declaration/instance/operator-methods-defined-prefix.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/instance/operator-methods-defined-prefix.hs
@@ -0,0 +1,15 @@
+module Tally.Join where
+
+newtype Tally = Tally Int
+
+instance Semigroup Tally where (<>) (Tally a) (Tally b) = Tally (a + b)
+
+instance Ord Tally where
+  (<=) (Tally a) (Tally b) = a <= b
+  max
+    (Tally a)
+    (Tally b)
+    = Tally (max a b)
+  (>=)
+    a
+    b = b <= a
diff --git a/corpora/vendored/declaration/splice/bare-splices-out'.hs b/corpora/vendored/declaration/splice/bare-splices-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/splice/bare-splices-out'.hs
@@ -0,0 +1,29 @@
+{-# LANGUAGE TemplateHaskell #-}
+
+module Shop.Catalogue where
+
+import Shop.Schema.Derive (deriveCodec, deriveTable)
+
+deriveCodec ''Product
+
+deriveTable
+    ''Category
+    "categories"
+
+[d|
+    currency :: String
+    currency = "EUR"
+    |]
+
+[d| type Quantity = * |]
+
+[d|
+    data Unit = Piece | Kilogram | Litre
+        deriving (Eq, Show)
+    |]
+
+do
+    codecs <- traverse deriveCodec [''Discount, ''Bundle]
+    pure (concat codecs)
+
+do [d|catalogueVersion = 3|]
diff --git a/corpora/vendored/declaration/splice/bare-splices-out.hs b/corpora/vendored/declaration/splice/bare-splices-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/splice/bare-splices-out.hs
@@ -0,0 +1,29 @@
+{-# LANGUAGE TemplateHaskell #-}
+
+module Shop.Catalogue where
+
+import Shop.Schema.Derive (deriveCodec, deriveTable)
+
+deriveCodec ''Product
+
+deriveTable
+  ''Category
+  "categories"
+
+[d|
+  currency :: String
+  currency = "EUR"
+  |]
+
+[d| type Quantity = * |]
+
+[d|
+  data Unit = Piece | Kilogram | Litre
+    deriving (Eq, Show)
+  |]
+
+do
+  codecs <- traverse deriveCodec [''Discount, ''Bundle]
+  pure (concat codecs)
+
+do [d|catalogueVersion = 3|]
diff --git a/corpora/vendored/declaration/splice/bare-splices.hs b/corpora/vendored/declaration/splice/bare-splices.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/splice/bare-splices.hs
@@ -0,0 +1,27 @@
+{-# LANGUAGE TemplateHaskell #-}
+
+module Shop.Catalogue where
+
+import Shop.Schema.Derive (deriveCodec, deriveTable)
+
+deriveCodec ''Product
+
+deriveTable
+  ''Category
+    "categories"
+
+[d| currency :: String
+    currency = "EUR" |]
+
+[d| type Quantity = * |]
+
+[d|
+  data Unit = Piece | Kilogram | Litre
+    deriving (Eq, Show)
+  |]
+
+do
+  codecs <- traverse deriveCodec [''Discount, ''Bundle]
+  pure (concat codecs)
+
+do [d| catalogueVersion = 3 |]
diff --git a/corpora/vendored/declaration/splice/dollar-splices-out'.hs b/corpora/vendored/declaration/splice/dollar-splices-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/splice/dollar-splices-out'.hs
@@ -0,0 +1,24 @@
+{-# LANGUAGE TemplateHaskell #-}
+
+module Shop.Schema where
+
+import Shop.Schema.Derive
+
+$(deriveCodec ''Customer)
+$(deriveCodec ''Supplier)
+
+$deriveEverything
+
+$$(deriveStaged ''Shipment)
+
+$(deriveTable ''Invoice "invoices")
+
+$( deriveTable
+    ''Payment
+    "payments"
+ )
+
+$( do
+    codecs <- traverse deriveCodec [''Refund, ''Voucher]
+    pure (concat codecs)
+ )
diff --git a/corpora/vendored/declaration/splice/dollar-splices-out.hs b/corpora/vendored/declaration/splice/dollar-splices-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/splice/dollar-splices-out.hs
@@ -0,0 +1,24 @@
+{-# LANGUAGE TemplateHaskell #-}
+
+module Shop.Schema where
+
+import Shop.Schema.Derive
+
+$(deriveCodec ''Customer)
+$(deriveCodec ''Supplier)
+
+$deriveEverything
+
+$$(deriveStaged ''Shipment)
+
+$(deriveTable ''Invoice "invoices")
+
+$( deriveTable
+     ''Payment
+     "payments"
+ )
+
+$( do
+     codecs <- traverse deriveCodec [''Refund, ''Voucher]
+     pure (concat codecs)
+ )
diff --git a/corpora/vendored/declaration/splice/dollar-splices.hs b/corpora/vendored/declaration/splice/dollar-splices.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/splice/dollar-splices.hs
@@ -0,0 +1,21 @@
+{-# LANGUAGE TemplateHaskell #-}
+
+module Shop.Schema where
+
+import Shop.Schema.Derive
+
+$(deriveCodec ''Customer)
+$(deriveCodec ''Supplier)
+
+$deriveEverything
+
+$$(deriveStaged ''Shipment)
+
+$(   deriveTable   ''Invoice   "invoices")
+
+$( deriveTable
+     ''Payment
+       "payments" )
+
+$(do codecs <- traverse deriveCodec [''Refund, ''Voucher]
+     pure (concat codecs))
diff --git a/corpora/vendored/declaration/splice/operator-chains-in-splices-out'.hs b/corpora/vendored/declaration/splice/operator-chains-in-splices-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/splice/operator-chains-in-splices-out'.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE TemplateHaskell #-}
+
+module Schema.Tables where
+
+import Schema.Derive (deriveColumns, deriveTable)
+
+concat <$> traverse deriveTable [''Account, ''Ledger]
+
+concat
+    <$> traverse deriveTable [''Invoice, ''Payment]
+
+(<>)
+    <$> deriveTable ''Refund
+    <*> deriveColumns ''Refund
+
+$( concat
+    <$> traverse deriveColumns [''Account, ''Ledger]
+ )
diff --git a/corpora/vendored/declaration/splice/operator-chains-in-splices-out.hs b/corpora/vendored/declaration/splice/operator-chains-in-splices-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/splice/operator-chains-in-splices-out.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE TemplateHaskell #-}
+
+module Schema.Tables where
+
+import Schema.Derive (deriveColumns, deriveTable)
+
+concat <$> traverse deriveTable [''Account, ''Ledger]
+
+concat
+  <$> traverse deriveTable [''Invoice, ''Payment]
+
+(<>)
+  <$> deriveTable ''Refund
+  <*> deriveColumns ''Refund
+
+$( concat
+     <$> traverse deriveColumns [''Account, ''Ledger]
+ )
diff --git a/corpora/vendored/declaration/splice/operator-chains-in-splices.hs b/corpora/vendored/declaration/splice/operator-chains-in-splices.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/splice/operator-chains-in-splices.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE TemplateHaskell #-}
+
+module Schema.Tables where
+
+import Schema.Derive (deriveColumns, deriveTable)
+
+concat <$> traverse deriveTable [''Account, ''Ledger]
+
+concat <$>
+  traverse deriveTable [''Invoice, ''Payment]
+
+(<>) <$> deriveTable ''Refund
+  <*> deriveColumns ''Refund
+
+$(concat <$>
+    traverse deriveColumns [''Account, ''Ledger])
diff --git a/corpora/vendored/declaration/splice/splices-headed-by-a-block-out'.hs b/corpora/vendored/declaration/splice/splices-headed-by-a-block-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/splice/splices-headed-by-a-block-out'.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE TemplateHaskell #-}
+
+module Store.Derived where
+
+import Store.Derive (deriveCodec, deriveStore, storageMode, withPrefix)
+
+case storageMode of
+    Persistent -> deriveStore ''Account
+    Ephemeral -> pure []
+
+let options = withPrefix "account" defaultOptions
+ in deriveCodec options ''Account
+
+case storageMode of Persistent -> deriveStore ''Ledger; Ephemeral -> pure []
diff --git a/corpora/vendored/declaration/splice/splices-headed-by-a-block-out.hs b/corpora/vendored/declaration/splice/splices-headed-by-a-block-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/splice/splices-headed-by-a-block-out.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE TemplateHaskell #-}
+
+module Store.Derived where
+
+import Store.Derive (deriveCodec, deriveStore, storageMode, withPrefix)
+
+case storageMode of
+  Persistent -> deriveStore ''Account
+  Ephemeral -> pure []
+
+let options = withPrefix "account" defaultOptions
+ in deriveCodec options ''Account
+
+case storageMode of Persistent -> deriveStore ''Ledger; Ephemeral -> pure []
diff --git a/corpora/vendored/declaration/splice/splices-headed-by-a-block.hs b/corpora/vendored/declaration/splice/splices-headed-by-a-block.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/splice/splices-headed-by-a-block.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE TemplateHaskell #-}
+
+module Store.Derived where
+
+import Store.Derive (deriveCodec, deriveStore, storageMode, withPrefix)
+
+case storageMode of
+  Persistent -> deriveStore ''Account
+  Ephemeral -> pure []
+
+let options = withPrefix "account" defaultOptions
+ in deriveCodec options ''Account
+
+case storageMode of Persistent -> deriveStore ''Ledger; Ephemeral -> pure []
diff --git a/corpora/vendored/declaration/type/comment-after-an-arrow-out.hs b/corpora/vendored/declaration/type/comment-after-an-arrow-out.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/type/comment-after-an-arrow-out.hs
+++ /dev/null
@@ -1,13 +0,0 @@
-module M where
-
-f ::
-  Int ->
-  {- the count -}
-  Bool
-g ::
-  Int -> -- the count
-  Int ->
-  {- the limit,
-  if any -}
-  Bool
-h :: Int -> {- a -} Bool
diff --git a/corpora/vendored/declaration/type/comment-after-an-arrow.hs b/corpora/vendored/declaration/type/comment-after-an-arrow.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/type/comment-after-an-arrow.hs
+++ /dev/null
@@ -1,12 +0,0 @@
-module M where
-
-f :: Int -> {- the count -}
-  Bool
-
-g ::
-  Int -> -- the count
-  Int -> {- the limit,
-    if any -}
-  Bool
-
-h :: Int -> {- a -} Bool
diff --git a/corpora/vendored/declaration/type/comment-between-a-haddock-and-its-argument-out.hs b/corpora/vendored/declaration/type/comment-between-a-haddock-and-its-argument-out.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/type/comment-between-a-haddock-and-its-argument-out.hs
+++ /dev/null
@@ -1,19 +0,0 @@
-module Shape.Draw where
-
-draw ::
-  -- | How thick the lines are.
-  Double ->
-  -- | What to draw.
-
-  -- Shapes are drawn in the order given.
-  [Shape] ->
-  IO ()
-draw _ _ = pure ()
-
-class Drawable a where
-  render ::
-    -- | The thing to render.
-
-    -- It is rendered at the origin.
-    a ->
-    String
diff --git a/corpora/vendored/declaration/type/comment-between-a-haddock-and-its-argument.hs b/corpora/vendored/declaration/type/comment-between-a-haddock-and-its-argument.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/type/comment-between-a-haddock-and-its-argument.hs
+++ /dev/null
@@ -1,19 +0,0 @@
-module Shape.Draw where
-
-draw ::
-  -- | How thick the lines are.
-  Double ->
-  -- | What to draw.
-
-  -- Shapes are drawn in the order given.
-  [Shape] ->
-  IO ()
-draw _ _ = pure ()
-
-class Drawable a where
-  render ::
-    -- | The thing to render.
-
-    -- It is rendered at the origin.
-    a ->
-    String
diff --git a/corpora/vendored/declaration/type/comment-in-operator-chain-out.hs b/corpora/vendored/declaration/type/comment-in-operator-chain-out.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/type/comment-in-operator-chain-out.hs
+++ /dev/null
@@ -1,8 +0,0 @@
-{-# LANGUAGE TypeOperators #-}
-
--- An operator written at the end of a line goes to the start of the next,
--- and a comment written after it stays with the operand it follows.
-type Shape =
-  Circle -- round
-    :+: Square -- angular
-    :+: Segment -- and flat
diff --git a/corpora/vendored/declaration/type/comment-in-operator-chain.hs b/corpora/vendored/declaration/type/comment-in-operator-chain.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/type/comment-in-operator-chain.hs
+++ /dev/null
@@ -1,7 +0,0 @@
-{-# LANGUAGE TypeOperators #-}
-
--- An operator written at the end of a line goes to the start of the next,
--- and a comment written after it stays with the operand it follows.
-type Shape = Circle :+: -- round
-             Square :+: -- angular
-             Segment -- and flat
diff --git a/corpora/vendored/declaration/type/context-after-an-argument-out'.hs b/corpora/vendored/declaration/type/context-after-an-argument-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/context-after-an-argument-out'.hs
@@ -0,0 +1,13 @@
+module Stats.Summary where
+
+summarise :: Ord a => [a] -> Show a => String
+summarise xs = show (maximum xs)
+
+spread
+    :: Num a
+    => [a]
+    -> [a]
+    -> Ord a
+    => Show a
+    => [a] -> String
+spread lo hi xs = show (zipWith3 between lo hi xs)
diff --git a/corpora/vendored/declaration/type/context-after-an-argument-out.hs b/corpora/vendored/declaration/type/context-after-an-argument-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/context-after-an-argument-out.hs
@@ -0,0 +1,13 @@
+module Stats.Summary where
+
+summarise :: Ord a => [a] -> Show a => String
+summarise xs = show (maximum xs)
+
+spread ::
+  Num a =>
+  [a] ->
+  [a] ->
+  Ord a =>
+  Show a =>
+  [a] -> String
+spread lo hi xs = show (zipWith3 between lo hi xs)
diff --git a/corpora/vendored/declaration/type/context-after-an-argument.hs b/corpora/vendored/declaration/type/context-after-an-argument.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/context-after-an-argument.hs
@@ -0,0 +1,11 @@
+module Stats.Summary where
+
+summarise :: Ord a => [a] -> Show a => String
+summarise xs = show (maximum xs)
+
+spread ::
+  Num a =>
+  [a] -> [a] ->
+  Ord a => Show a =>
+  [a] -> String
+spread lo hi xs = show (zipWith3 between lo hi xs)
diff --git a/corpora/vendored/declaration/type/equality-constraints-out.hs b/corpora/vendored/declaration/type/equality-constraints-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/equality-constraints-out.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE TypeFamilies #-}
+
+module Unit.Convert where
+
+convert :: from ~ to => Quantity from -> Quantity to
+convert = coerceUnit
+
+sameUnit :: (Unit a ~ Unit b, Show a) => a -> b -> Bool
+sameUnit _ _ = True
+
+widen :: a ~ Int => a -> Integer
+widen = toInteger
diff --git a/corpora/vendored/declaration/type/equality-constraints.hs b/corpora/vendored/declaration/type/equality-constraints.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/equality-constraints.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE TypeFamilies #-}
+
+module Unit.Convert where
+
+convert :: (from ~ to) => Quantity from -> Quantity to
+convert = coerceUnit
+
+sameUnit :: (Unit a ~ Unit b, Show a) => a -> b -> Bool
+sameUnit _ _ = True
+
+widen :: a ~ Int => a -> Integer
+widen = toInteger
diff --git a/corpora/vendored/declaration/type/forall-binders-across-several-lines-out'.hs b/corpora/vendored/declaration/type/forall-binders-across-several-lines-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/forall-binders-across-several-lines-out'.hs
@@ -0,0 +1,41 @@
+{-# LANGUAGE TypeFamilies #-}
+
+module Plugin.Slot where
+
+import Data.Kind (Type)
+
+data Slot
+    = forall
+        ( f
+            :: Type -> Type
+        )
+        (a :: Type)
+       . Slot (f a)
+
+data Handle where
+    Handle
+        :: forall
+            ( m
+                :: Type -> Type
+            )
+            (r :: Type)
+         . m r -> Handle
+
+connect
+    :: forall
+        ( m
+            :: Type -> Type
+        )
+        (r :: Type)
+     . m r -> ()
+connect _ = ()
+
+type family Apply f x y where
+    forall
+        ( f
+            :: Type -> Type -> Type
+        )
+        (x :: Type)
+        (y :: Type)
+     . Apply f x y =
+        f x y
diff --git a/corpora/vendored/declaration/type/forall-binders-across-several-lines-out.hs b/corpora/vendored/declaration/type/forall-binders-across-several-lines-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/forall-binders-across-several-lines-out.hs
@@ -0,0 +1,41 @@
+{-# LANGUAGE TypeFamilies #-}
+
+module Plugin.Slot where
+
+import Data.Kind (Type)
+
+data Slot
+  = forall
+      ( f ::
+          Type -> Type
+      )
+      (a :: Type).
+    Slot (f a)
+
+data Handle where
+  Handle ::
+    forall
+      ( m ::
+          Type -> Type
+      )
+      (r :: Type).
+    m r -> Handle
+
+connect ::
+  forall
+    ( m ::
+        Type -> Type
+    )
+    (r :: Type).
+  m r -> ()
+connect _ = ()
+
+type family Apply f x y where
+  forall
+    ( f ::
+        Type -> Type -> Type
+    )
+    (x :: Type)
+    (y :: Type).
+    Apply f x y =
+      f x y
diff --git a/corpora/vendored/declaration/type/forall-binders-across-several-lines.hs b/corpora/vendored/declaration/type/forall-binders-across-several-lines.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/forall-binders-across-several-lines.hs
@@ -0,0 +1,35 @@
+{-# LANGUAGE TypeFamilies #-}
+
+module Plugin.Slot where
+
+import Data.Kind (Type)
+
+data Slot =
+  forall
+    (f ::
+       Type -> Type)
+    (a :: Type)
+  . Slot (f a)
+
+data Handle where
+  Handle :: forall
+              (m ::
+                 Type -> Type)
+              (r :: Type)
+          . m r -> Handle
+
+connect :: forall
+             (m ::
+                Type -> Type)
+             (r :: Type)
+         . m r -> ()
+connect _ = ()
+
+type family Apply f x y where
+  forall
+    (f ::
+       Type -> Type -> Type)
+    (x :: Type)
+    (y :: Type)
+    . Apply f x y =
+        f x y
diff --git a/corpora/vendored/declaration/type/forall-over-documented-arguments-out'.hs b/corpora/vendored/declaration/type/forall-over-documented-arguments-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/forall-over-documented-arguments-out'.hs
@@ -0,0 +1,23 @@
+module Cache.Evict where
+
+evict
+    :: forall k
+     . Ord k
+    => forall v
+     . Int
+    -- ^ How many entries to keep.
+
+    -- The oldest go first.
+    -> Map k v
+    -> Map k v
+evict = undefined
+
+refresh
+    :: forall k
+     . Ord k
+    => forall v
+     . k
+    -- ^ The key to refresh.
+    -> Map k v
+    -> Map k v
+refresh = undefined
diff --git a/corpora/vendored/declaration/type/forall-over-documented-arguments-out.hs b/corpora/vendored/declaration/type/forall-over-documented-arguments-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/forall-over-documented-arguments-out.hs
@@ -0,0 +1,22 @@
+module Cache.Evict where
+
+evict ::
+  forall k.
+  Ord k =>
+  forall v.
+  -- | How many entries to keep.
+  Int ->
+  -- The oldest go first.
+  Map k v ->
+  Map k v
+evict = undefined
+
+refresh ::
+  forall k.
+  Ord k =>
+  forall v.
+  -- | The key to refresh.
+  k ->
+  Map k v ->
+  Map k v
+refresh = undefined
diff --git a/corpora/vendored/declaration/type/forall-over-documented-arguments.hs b/corpora/vendored/declaration/type/forall-over-documented-arguments.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/forall-over-documented-arguments.hs
@@ -0,0 +1,18 @@
+module Cache.Evict where
+
+evict ::
+  forall k.
+  (Ord k) =>
+  forall v.
+  -- | How many entries to keep.
+  Int ->
+  -- The oldest go first.
+  Map k v ->
+  Map k v
+evict = undefined
+
+refresh :: forall k. Ord k => forall v.
+  k -- ^ The key to refresh.
+  -> Map k v
+  -> Map k v
+refresh = undefined
diff --git a/corpora/vendored/declaration/type/function-arrow-written-prefix-out'.hs b/corpora/vendored/declaration/type/function-arrow-written-prefix-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/function-arrow-written-prefix-out'.hs
@@ -0,0 +1,11 @@
+module Pipe.Stage where
+
+class Composable p where
+    compose :: p b c -> p a b -> p a c
+
+instance Composable (->) where
+    compose = (.)
+
+type Reader r = (->) r
+
+newtype Stage a = Stage ((->) a a)
diff --git a/corpora/vendored/declaration/type/function-arrow-written-prefix-out.hs b/corpora/vendored/declaration/type/function-arrow-written-prefix-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/function-arrow-written-prefix-out.hs
@@ -0,0 +1,11 @@
+module Pipe.Stage where
+
+class Composable p where
+  compose :: p b c -> p a b -> p a c
+
+instance Composable (->) where
+  compose = (.)
+
+type Reader r = (->) r
+
+newtype Stage a = Stage ((->) a a)
diff --git a/corpora/vendored/declaration/type/function-arrow-written-prefix.hs b/corpora/vendored/declaration/type/function-arrow-written-prefix.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/function-arrow-written-prefix.hs
@@ -0,0 +1,11 @@
+module Pipe.Stage where
+
+class Composable p where
+  compose :: p b c -> p a b -> p a c
+
+instance Composable (->) where
+  compose = (.)
+
+type Reader r = (->) r
+
+newtype Stage a = Stage ( (->) a a )
diff --git a/corpora/vendored/declaration/type/implicit-parameter-constraints-out.hs b/corpora/vendored/declaration/type/implicit-parameter-constraints-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/implicit-parameter-constraints-out.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE ImplicitParams #-}
+
+module Report.Order where
+
+import Data.List (sortBy)
+
+ordered :: (?compare :: a -> a -> Ordering) => [a] -> [a]
+ordered = sortBy ?compare
+
+ranked :: (?compare :: a -> a -> Ordering, ?limit :: Int) => [a] -> [a]
+ranked = take ?limit . ordered
diff --git a/corpora/vendored/declaration/type/implicit-parameter-constraints.hs b/corpora/vendored/declaration/type/implicit-parameter-constraints.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/implicit-parameter-constraints.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE ImplicitParams #-}
+
+module Report.Order where
+
+import Data.List (sortBy)
+
+ordered :: (?compare :: a -> a -> Ordering) => [a] -> [a]
+ordered = sortBy ?compare
+
+ranked :: (?compare::a -> a -> Ordering, ?limit :: Int) => [a] -> [a]
+ranked = take ?limit . ordered
diff --git a/corpora/vendored/declaration/type/implicit-parameters-across-lines-out'.hs b/corpora/vendored/declaration/type/implicit-parameters-across-lines-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/implicit-parameters-across-lines-out'.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE ImplicitParams #-}
+
+module Report.Page where
+
+paginate
+    :: ( ?pageSize
+            :: Int
+       , ?header :: String
+       )
+    => [String] -> [[String]]
+paginate = chunk ?pageSize . (?header :)
diff --git a/corpora/vendored/declaration/type/implicit-parameters-across-lines-out.hs b/corpora/vendored/declaration/type/implicit-parameters-across-lines-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/implicit-parameters-across-lines-out.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE ImplicitParams #-}
+
+module Report.Page where
+
+paginate ::
+  ( ?pageSize ::
+      Int,
+    ?header :: String
+  ) =>
+  [String] -> [[String]]
+paginate = chunk ?pageSize . (?header :)
diff --git a/corpora/vendored/declaration/type/implicit-parameters-across-lines.hs b/corpora/vendored/declaration/type/implicit-parameters-across-lines.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/implicit-parameters-across-lines.hs
@@ -0,0 +1,8 @@
+{-# LANGUAGE ImplicitParams #-}
+
+module Report.Page where
+
+paginate ::  (?pageSize
+               :: Int
+             ,?header :: String) => [String] -> [[String]]
+paginate = chunk ?pageSize . (?header :)
diff --git a/corpora/vendored/declaration/type/inferred-invisible-and-wildcard-binders-out.hs b/corpora/vendored/declaration/type/inferred-invisible-and-wildcard-binders-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/inferred-invisible-and-wildcard-binders-out.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE TypeAbstractions #-}
+
+module Shelf.Tag where
+
+import Data.Kind (Type)
+
+data Tagged @k (t :: k) a = Tagged a
+
+type Ignore :: Type -> Type -> Type
+type Ignore a _ = a
+
+untag :: forall {k} (t :: k) a. Tagged t a -> a
+untag (Tagged x) = x
diff --git a/corpora/vendored/declaration/type/inferred-invisible-and-wildcard-binders.hs b/corpora/vendored/declaration/type/inferred-invisible-and-wildcard-binders.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/inferred-invisible-and-wildcard-binders.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE TypeAbstractions #-}
+
+module Shelf.Tag where
+
+import Data.Kind (Type)
+
+data Tagged @k (t :: k) a = Tagged a
+
+type Ignore :: Type -> Type -> Type
+type Ignore a _ = a
+
+untag :: forall {k} (t :: k) a. Tagged t a -> a
+untag (Tagged x) = x
diff --git a/corpora/vendored/declaration/type/kind-applications-in-a-row-out.hs b/corpora/vendored/declaration/type/kind-applications-in-a-row-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/kind-applications-in-a-row-out.hs
@@ -0,0 +1,9 @@
+module Functor.Nest where
+
+import Data.Functor.Compose (Compose (..))
+import Data.Kind (Type)
+import Data.Proxy (Proxy (..))
+
+type Nested = Compose @Type @Type Maybe []
+
+type Wrapped = Proxy @(Type -> Type) (Maybe :: Type -> Type)
diff --git a/corpora/vendored/declaration/type/kind-applications-in-a-row.hs b/corpora/vendored/declaration/type/kind-applications-in-a-row.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/kind-applications-in-a-row.hs
@@ -0,0 +1,9 @@
+module Functor.Nest where
+
+import Data.Functor.Compose (Compose (..))
+import Data.Kind (Type)
+import Data.Proxy (Proxy (..))
+
+type Nested = Compose @Type @Type Maybe []
+
+type Wrapped = Proxy @(Type -> Type) (Maybe :: Type -> Type)
diff --git a/corpora/vendored/declaration/type/kind-applications-out.hs b/corpora/vendored/declaration/type/kind-applications-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/kind-applications-out.hs
@@ -0,0 +1,11 @@
+module Schema.Field where
+
+import Data.Kind (Type)
+import Data.Proxy (Proxy (..))
+
+type Untyped = Proxy @Type
+
+type Wrapper = Proxy @(Type -> Type) Maybe
+
+fieldProxy :: Proxy @Type Int
+fieldProxy = Proxy
diff --git a/corpora/vendored/declaration/type/kind-applications-to-operators-out.hs b/corpora/vendored/declaration/type/kind-applications-to-operators-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/kind-applications-to-operators-out.hs
@@ -0,0 +1,10 @@
+module Registry.Equal where
+
+import Data.Kind (Type)
+import Data.Type.Equality ((:~~:))
+
+data (a :: k) :=: (b :: k) = Equal
+
+type SameType = (:=:) @Type
+
+type Matching = (:~~:) @(Type -> Type) @Type
diff --git a/corpora/vendored/declaration/type/kind-applications-to-operators.hs b/corpora/vendored/declaration/type/kind-applications-to-operators.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/kind-applications-to-operators.hs
@@ -0,0 +1,10 @@
+module Registry.Equal where
+
+import Data.Kind (Type)
+import Data.Type.Equality ((:~~:))
+
+data (a :: k) :=: (b :: k) = Equal
+
+type SameType = (:=:) @Type
+
+type Matching = (:~~:) @(Type -> Type) @Type
diff --git a/corpora/vendored/declaration/type/kind-applications.hs b/corpora/vendored/declaration/type/kind-applications.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/kind-applications.hs
@@ -0,0 +1,11 @@
+module Schema.Field where
+
+import Data.Kind (Type)
+import Data.Proxy (Proxy (..))
+
+type Untyped = Proxy @Type
+
+type Wrapper = Proxy @(Type -> Type) Maybe
+
+fieldProxy :: Proxy @Type   Int
+fieldProxy = Proxy
diff --git a/corpora/vendored/declaration/type/kind-signature-inside-a-type-out.hs b/corpora/vendored/declaration/type/kind-signature-inside-a-type-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/kind-signature-inside-a-type-out.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE DataKinds #-}
+
+module Matrix.Size where
+
+import GHC.TypeLits (Nat)
+
+rows :: Proxy (n :: Nat) -> Int
+rows _ = 0
+
+type Square = Matrix (3 :: Nat) (3 :: Nat)
diff --git a/corpora/vendored/declaration/type/kind-signature-inside-a-type.hs b/corpora/vendored/declaration/type/kind-signature-inside-a-type.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/kind-signature-inside-a-type.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE DataKinds #-}
+
+module Matrix.Size where
+
+import GHC.TypeLits (Nat)
+
+rows :: Proxy (n :: Nat) -> Int
+rows _ = 0
+
+type Square = Matrix (3 :: Nat) (3::Nat)
diff --git a/corpora/vendored/declaration/type/kind-signature-on-an-operator-type-out.hs b/corpora/vendored/declaration/type/kind-signature-on-an-operator-type-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/kind-signature-on-an-operator-type-out.hs
@@ -0,0 +1,5 @@
+{-# LANGUAGE DataKinds #-}
+
+module Registry.Stack where
+
+type Push x (xs :: [k]) = (x ': xs :: [k])
diff --git a/corpora/vendored/declaration/type/kind-signature-on-an-operator-type.hs b/corpora/vendored/declaration/type/kind-signature-on-an-operator-type.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/kind-signature-on-an-operator-type.hs
@@ -0,0 +1,5 @@
+{-# LANGUAGE DataKinds #-}
+
+module Registry.Stack where
+
+type Push x (xs :: [k]) = (x ': xs :: [k])
diff --git a/corpora/vendored/declaration/type/kinded-parameters-of-types-across-lines-out'.hs b/corpora/vendored/declaration/type/kinded-parameters-of-types-across-lines-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/kinded-parameters-of-types-across-lines-out'.hs
@@ -0,0 +1,23 @@
+{-# LANGUAGE TypeFamilies #-}
+
+module Ledger.Shape where
+
+import Data.Kind (Type)
+
+type Cell
+    ( a
+        :: Type
+    ) = Maybe a
+
+data
+    Column
+        ( f
+            :: Type -> Type
+        ) = Column (f Int)
+
+type family
+    Width
+        ( s
+            :: Type
+        )
+        :: Type
diff --git a/corpora/vendored/declaration/type/kinded-parameters-of-types-across-lines-out.hs b/corpora/vendored/declaration/type/kinded-parameters-of-types-across-lines-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/kinded-parameters-of-types-across-lines-out.hs
@@ -0,0 +1,23 @@
+{-# LANGUAGE TypeFamilies #-}
+
+module Ledger.Shape where
+
+import Data.Kind (Type)
+
+type Cell
+  ( a ::
+      Type
+  ) = Maybe a
+
+data
+  Column
+    ( f ::
+        Type -> Type
+    ) = Column (f Int)
+
+type family
+  Width
+    ( s ::
+        Type
+    ) ::
+    Type
diff --git a/corpora/vendored/declaration/type/kinded-parameters-of-types-across-lines.hs b/corpora/vendored/declaration/type/kinded-parameters-of-types-across-lines.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/kinded-parameters-of-types-across-lines.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE TypeFamilies #-}
+
+module Ledger.Shape where
+
+import Data.Kind (Type)
+
+type Cell (a
+  :: Type) = Maybe a
+
+data Column (f ::
+  Type -> Type) = Column (f Int)
+
+type family Width (s
+  :: Type) :: Type
diff --git a/corpora/vendored/declaration/type/lists-and-tuples-without-puns-out.hs b/corpora/vendored/declaration/type/lists-and-tuples-without-puns-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/lists-and-tuples-without-puns-out.hs
@@ -0,0 +1,8 @@
+{-# LANGUAGE DataKinds #-}
+{-# LANGUAGE NoListTuplePuns #-}
+
+module Shape.Dims where
+
+type Dims = [Int, Int, Int]
+
+type Point = (Double, Double)
diff --git a/corpora/vendored/declaration/type/lists-and-tuples-without-puns.hs b/corpora/vendored/declaration/type/lists-and-tuples-without-puns.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/lists-and-tuples-without-puns.hs
@@ -0,0 +1,8 @@
+{-# LANGUAGE DataKinds #-}
+{-# LANGUAGE NoListTuplePuns #-}
+
+module Shape.Dims where
+
+type Dims = [Int,Int, Int]
+
+type Point = (Double,   Double)
diff --git a/corpora/vendored/declaration/type/lone-variable-context-out.hs b/corpora/vendored/declaration/type/lone-variable-context-out.hs
--- a/corpora/vendored/declaration/type/lone-variable-context-out.hs
+++ b/corpora/vendored/declaration/type/lone-variable-context-out.hs
@@ -3,7 +3,7 @@
 variable :: r => Int
 variable = undefined
 
-applied :: (Show a) => a -> a
+applied :: Show a => a -> a
 applied = id
 
 pair :: (r, s) => Int
@@ -17,6 +17,6 @@
 
 quotedVariable = describe (r => Int)
 
-quotedApplied = describe ((Show a) => a)
+quotedApplied = describe (Show a => a)
 
 quotedPair = describe ((r, s) => Int)
diff --git a/corpora/vendored/declaration/type/multiplicity-variables-out'.hs b/corpora/vendored/declaration/type/multiplicity-variables-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/multiplicity-variables-out'.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE LinearTypes #-}
+
+module Resource.Handle where
+
+consume :: Handle %1 -> ()
+consume = undefined
+
+relay :: forall m a. (a %m -> a) -> a %m -> a
+relay f x = f x
+
+transfer
+    :: Handle
+    %m -> Buffer
+    %1 -> IO ()
+transfer = undefined
diff --git a/corpora/vendored/declaration/type/multiplicity-variables-out.hs b/corpora/vendored/declaration/type/multiplicity-variables-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/multiplicity-variables-out.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE LinearTypes #-}
+
+module Resource.Handle where
+
+consume :: Handle %1 -> ()
+consume = undefined
+
+relay :: forall m a. (a %m -> a) -> a %m -> a
+relay f x = f x
+
+transfer ::
+  Handle %m ->
+  Buffer %1 ->
+  IO ()
+transfer = undefined
diff --git a/corpora/vendored/declaration/type/multiplicity-variables.hs b/corpora/vendored/declaration/type/multiplicity-variables.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/multiplicity-variables.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE LinearTypes #-}
+
+module Resource.Handle where
+
+consume :: Handle %1 -> ()
+consume = undefined
+
+relay :: forall m a. (a %m -> a) -> a %m -> a
+relay f x = f x
+
+transfer ::
+  Handle %m ->
+  Buffer %1 ->
+  IO ()
+transfer = undefined
diff --git a/corpora/vendored/declaration/type/parentheses-around-a-lone-constraint-out'.hs b/corpora/vendored/declaration/type/parentheses-around-a-lone-constraint-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/parentheses-around-a-lone-constraint-out'.hs
@@ -0,0 +1,48 @@
+{-# LANGUAGE ImplicitParams #-}
+{-# LANGUAGE QuantifiedConstraints #-}
+
+module Shop.Ledger where
+
+import Data.Kind (Constraint)
+
+total :: Num a => [a] -> a
+total = sum
+
+balance :: Ord a => a -> a -> a
+balance = max
+
+audit :: (Show a, Eq a) => a -> String
+audit = show
+
+settle :: a ~ Int => a -> a
+settle = id
+
+opened :: () => Int
+opened = 0
+
+rated :: (?rate :: Double) => Double -> Double
+rated = (* ?rate)
+
+kept :: (c :: Constraint) => Int
+kept = 0
+
+lifted :: (forall x. Eq x => Eq (f x)) => f Int -> Bool
+lifted = undefined
+
+implied :: (Eq a => Show a) => a -> String
+implied = undefined
+
+class Monoid a => Ledger a
+
+instance Show a => Ledger [a]
+
+instance
+    ( Show a
+    )
+    => Ledger (Maybe a)
+
+settled
+    :: ( Monad m
+       )
+    => m ()
+settled = pure ()
diff --git a/corpora/vendored/declaration/type/parentheses-around-a-lone-constraint-out.hs b/corpora/vendored/declaration/type/parentheses-around-a-lone-constraint-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/parentheses-around-a-lone-constraint-out.hs
@@ -0,0 +1,48 @@
+{-# LANGUAGE ImplicitParams #-}
+{-# LANGUAGE QuantifiedConstraints #-}
+
+module Shop.Ledger where
+
+import Data.Kind (Constraint)
+
+total :: Num a => [a] -> a
+total = sum
+
+balance :: Ord a => a -> a -> a
+balance = max
+
+audit :: (Show a, Eq a) => a -> String
+audit = show
+
+settle :: a ~ Int => a -> a
+settle = id
+
+opened :: () => Int
+opened = 0
+
+rated :: (?rate :: Double) => Double -> Double
+rated = (* ?rate)
+
+kept :: (c :: Constraint) => Int
+kept = 0
+
+lifted :: (forall x. Eq x => Eq (f x)) => f Int -> Bool
+lifted = undefined
+
+implied :: (Eq a => Show a) => a -> String
+implied = undefined
+
+class Monoid a => Ledger a
+
+instance Show a => Ledger [a]
+
+instance
+  ( Show a
+  ) =>
+  Ledger (Maybe a)
+
+settled ::
+  ( Monad m
+  ) =>
+  m ()
+settled = pure ()
diff --git a/corpora/vendored/declaration/type/parentheses-around-a-lone-constraint.hs b/corpora/vendored/declaration/type/parentheses-around-a-lone-constraint.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/parentheses-around-a-lone-constraint.hs
@@ -0,0 +1,47 @@
+{-# LANGUAGE ImplicitParams #-}
+{-# LANGUAGE QuantifiedConstraints #-}
+
+module Shop.Ledger where
+
+import Data.Kind (Constraint)
+
+total :: (Num a) => [a] -> a
+total = sum
+
+balance :: ((Ord a)) => a -> a -> a
+balance = max
+
+audit :: ((Show a, Eq a)) => a -> String
+audit = show
+
+settle :: (a ~ Int) => a -> a
+settle = id
+
+opened :: () => Int
+opened = 0
+
+rated :: (?rate :: Double) => Double -> Double
+rated = (* ?rate)
+
+kept :: (c :: Constraint) => Int
+kept = 0
+
+lifted :: (forall x. Eq x => Eq (f x)) => f Int -> Bool
+lifted = undefined
+
+implied :: (Eq a => Show a) => a -> String
+implied = undefined
+
+class (Monoid a) => Ledger a
+
+instance (Show a) => Ledger [a]
+
+instance
+  ( Show a
+  ) => Ledger (Maybe a)
+
+settled
+  :: ( Monad m
+     )
+  => m ()
+settled = pure ()
diff --git a/corpora/vendored/declaration/type/pattern-signature-for-several-names-on-one-line-out.hs b/corpora/vendored/declaration/type/pattern-signature-for-several-names-on-one-line-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/pattern-signature-for-several-names-on-one-line-out.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE PatternSynonyms #-}
+
+module Colour.Named where
+
+data Colour = Colour Int Int Int
+
+pattern Black, White :: Colour
+pattern Black = Colour 0 0 0
+pattern White = Colour 255 255 255
diff --git a/corpora/vendored/declaration/type/pattern-signature-for-several-names-on-one-line.hs b/corpora/vendored/declaration/type/pattern-signature-for-several-names-on-one-line.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/pattern-signature-for-several-names-on-one-line.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE PatternSynonyms #-}
+
+module Colour.Named where
+
+data Colour = Colour Int Int Int
+
+pattern Black,   White :: Colour
+pattern Black = Colour 0 0 0
+pattern White = Colour 255 255 255
diff --git a/corpora/vendored/declaration/type/pattern-signature-for-several-names-past-the-column-limit-out'.hs b/corpora/vendored/declaration/type/pattern-signature-for-several-names-past-the-column-limit-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/pattern-signature-for-several-names-past-the-column-limit-out'.hs
@@ -0,0 +1,25 @@
+{-# LANGUAGE PatternSynonyms #-}
+
+module Weather.Code where
+
+newtype Code = Code Int
+
+pattern
+    Clear
+    , Cloudy
+    , Overcast
+    , Drizzle
+    , Rain
+    , Thunderstorm
+    , Snow
+    , Hail
+    , Fog :: Code
+pattern Clear = Code 0
+pattern Cloudy = Code 1
+pattern Overcast = Code 2
+pattern Drizzle = Code 3
+pattern Rain = Code 4
+pattern Thunderstorm = Code 5
+pattern Snow = Code 6
+pattern Hail = Code 7
+pattern Fog = Code 8
diff --git a/corpora/vendored/declaration/type/pattern-signature-for-several-names-past-the-column-limit-out.hs b/corpora/vendored/declaration/type/pattern-signature-for-several-names-past-the-column-limit-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/pattern-signature-for-several-names-past-the-column-limit-out.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE PatternSynonyms #-}
+
+module Weather.Code where
+
+newtype Code = Code Int
+
+pattern
+  Clear, Cloudy, Overcast, Drizzle, Rain, Thunderstorm, Snow, Hail, Fog :: Code
+pattern Clear = Code 0
+pattern Cloudy = Code 1
+pattern Overcast = Code 2
+pattern Drizzle = Code 3
+pattern Rain = Code 4
+pattern Thunderstorm = Code 5
+pattern Snow = Code 6
+pattern Hail = Code 7
+pattern Fog = Code 8
diff --git a/corpora/vendored/declaration/type/pattern-signature-for-several-names-past-the-column-limit.hs b/corpora/vendored/declaration/type/pattern-signature-for-several-names-past-the-column-limit.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/pattern-signature-for-several-names-past-the-column-limit.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE PatternSynonyms #-}
+
+module Weather.Code where
+
+newtype Code = Code Int
+
+pattern Clear, Cloudy, Overcast, Drizzle, Rain, Thunderstorm, Snow, Hail, Fog :: Code
+pattern Clear = Code 0
+pattern Cloudy = Code 1
+pattern Overcast = Code 2
+pattern Drizzle = Code 3
+pattern Rain = Code 4
+pattern Thunderstorm = Code 5
+pattern Snow = Code 6
+pattern Hail = Code 7
+pattern Fog = Code 8
diff --git a/corpora/vendored/declaration/type/promoted-constructors-out.hs b/corpora/vendored/declaration/type/promoted-constructors-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/promoted-constructors-out.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE DataKinds #-}
+
+module Door.State where
+
+data Lock = Locked | Open
+
+newtype Door (s :: Lock) = Door String
+
+shut :: Door 'Open -> Door 'Locked
+shut (Door name) = Door name
+
+type Always = Proxy 'True
diff --git a/corpora/vendored/declaration/type/promoted-constructors.hs b/corpora/vendored/declaration/type/promoted-constructors.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/promoted-constructors.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE DataKinds #-}
+
+module Door.State where
+
+data Lock = Locked | Open
+
+newtype Door (s :: Lock) = Door String
+
+shut :: Door 'Open -> Door 'Locked
+shut (Door name) = Door name
+
+type Always = Proxy 'True
diff --git a/corpora/vendored/declaration/type/promoted-infix-operators-out.hs b/corpora/vendored/declaration/type/promoted-infix-operators-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/promoted-infix-operators-out.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE DataKinds #-}
+{-# LANGUAGE TypeOperators #-}
+
+module Stack.Level where
+
+data Couple a b = Couple a b
+
+type Levels = Int ': Bool ': '[]
+
+type Paired = Int '`Couple` Bool
+
+type Push = '(:)
diff --git a/corpora/vendored/declaration/type/promoted-infix-operators.hs b/corpora/vendored/declaration/type/promoted-infix-operators.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/promoted-infix-operators.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE DataKinds #-}
+{-# LANGUAGE TypeOperators #-}
+
+module Stack.Level where
+
+data Couple a b = Couple a b
+
+type Levels = Int ': Bool ': '[]
+
+type Paired = Int '`Couple` Bool
+
+type Push = '(:)
diff --git a/corpora/vendored/declaration/type/promoted-lists-and-tuples-nested-in-each-other-out.hs b/corpora/vendored/declaration/type/promoted-lists-and-tuples-nested-in-each-other-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/promoted-lists-and-tuples-nested-in-each-other-out.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE DataKinds #-}
+
+-- A promoted list or tuple whose first item is itself promoted keeps a
+-- space before that item, or its opening would read as a character.
+module Registry.Flags where
+
+type Entry = '( '[Int, Bool], "flags")
+
+type Entries = '[ '(1, "one"), '(2, "two")]
diff --git a/corpora/vendored/declaration/type/promoted-lists-and-tuples-nested-in-each-other.hs b/corpora/vendored/declaration/type/promoted-lists-and-tuples-nested-in-each-other.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/promoted-lists-and-tuples-nested-in-each-other.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE DataKinds #-}
+
+-- A promoted list or tuple whose first item is itself promoted keeps a
+-- space before that item, or its opening would read as a character.
+module Registry.Flags where
+
+type Entry = '( '[Int, Bool], "flags")
+
+type Entries = '[ '(1, "one"), '(2, "two")]
diff --git a/corpora/vendored/declaration/type/promoted-lists-and-tuples-opening-with-a-character-out'.hs b/corpora/vendored/declaration/type/promoted-lists-and-tuples-opening-with-a-character-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/promoted-lists-and-tuples-opening-with-a-character-out'.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE DataKinds #-}
+{-# LANGUAGE TypeFamilies #-}
+
+-- A promoted tuple or list whose first item is a character keeps a space
+-- after its tick, or the tick and the bracket would read as a character.
+module Key.Binding where
+
+type family Shortcut key where
+    Shortcut '( 'q', mods) = Quit
+    Shortcut '( 's', mods) = Save
+    Shortcut key = Ignore
+
+type Arrows = '[ 'h', 'j', 'k', 'l']
diff --git a/corpora/vendored/declaration/type/promoted-lists-and-tuples-opening-with-a-character-out.hs b/corpora/vendored/declaration/type/promoted-lists-and-tuples-opening-with-a-character-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/promoted-lists-and-tuples-opening-with-a-character-out.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE DataKinds #-}
+{-# LANGUAGE TypeFamilies #-}
+
+-- A promoted tuple or list whose first item is a character keeps a space
+-- after its tick, or the tick and the bracket would read as a character.
+module Key.Binding where
+
+type family Shortcut key where
+  Shortcut '( 'q', mods) = Quit
+  Shortcut '( 's', mods) = Save
+  Shortcut key = Ignore
+
+type Arrows = '[ 'h', 'j', 'k', 'l']
diff --git a/corpora/vendored/declaration/type/promoted-lists-and-tuples-opening-with-a-character.hs b/corpora/vendored/declaration/type/promoted-lists-and-tuples-opening-with-a-character.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/promoted-lists-and-tuples-opening-with-a-character.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE DataKinds #-}
+{-# LANGUAGE TypeFamilies #-}
+
+-- A promoted tuple or list whose first item is a character keeps a space
+-- after its tick, or the tick and the bracket would read as a character.
+module Key.Binding where
+
+type family Shortcut key where
+  Shortcut '( 'q', mods) = Quit
+  Shortcut '(  's' , mods) = Save
+  Shortcut key = Ignore
+
+type Arrows = '[ 'h', 'j', 'k', 'l']
diff --git a/corpora/vendored/declaration/type/promoted-lists-and-tuples-opening-with-an-operand-out.hs b/corpora/vendored/declaration/type/promoted-lists-and-tuples-opening-with-an-operand-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/promoted-lists-and-tuples-opening-with-an-operand-out.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE DataKinds #-}
+{-# LANGUAGE TypeOperators #-}
+
+-- A promoted list or tuple whose first item begins with a promoted type,
+-- as an operand, under a kind signature or applied to a kind, keeps a space
+-- before that item, or its opening would read as a character.
+module Schema.Columns where
+
+type Nested = '[ 'True ': '[], '[]]
+
+type Empty = '[ '[] :: [Bool]]
+
+type Labelled = '( 'Just "id" :: Maybe Symbol, 'False)
+
+type Absent = '[ 'Nothing @Bool, 'Just 'True]
diff --git a/corpora/vendored/declaration/type/promoted-lists-and-tuples-opening-with-an-operand.hs b/corpora/vendored/declaration/type/promoted-lists-and-tuples-opening-with-an-operand.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/promoted-lists-and-tuples-opening-with-an-operand.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE DataKinds #-}
+{-# LANGUAGE TypeOperators #-}
+
+-- A promoted list or tuple whose first item begins with a promoted type,
+-- as an operand, under a kind signature or applied to a kind, keeps a space
+-- before that item, or its opening would read as a character.
+module Schema.Columns where
+
+type Nested = '[ 'True ': '[], '[]]
+
+type Empty = '[ '[] :: [Bool]]
+
+type Labelled = '( 'Just "id" :: Maybe Symbol, 'False)
+
+type Absent = '[ 'Nothing @Bool, 'Just 'True]
diff --git a/corpora/vendored/declaration/type/promoted-lists-and-tuples-out.hs b/corpora/vendored/declaration/type/promoted-lists-and-tuples-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/promoted-lists-and-tuples-out.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE DataKinds #-}
+
+-- A promoted list whose first item is promoted itself keeps a space after
+-- its tick, or the two ticks would read as a character literal.
+module Api.Routes where
+
+type Methods = Proxy '[ 'Get, 'Post]
+
+type Columns = Proxy '[Int, String]
+
+type Header = Proxy '(Int, Bool)
+
+type None = Proxy '[]
diff --git a/corpora/vendored/declaration/type/promoted-lists-and-tuples.hs b/corpora/vendored/declaration/type/promoted-lists-and-tuples.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/promoted-lists-and-tuples.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE DataKinds #-}
+
+-- A promoted list whose first item is promoted itself keeps a space after
+-- its tick, or the two ticks would read as a character literal.
+module Api.Routes where
+
+type Methods = Proxy '[ 'Get, 'Post]
+
+type Columns = Proxy '[Int,String]
+
+type Header = Proxy '(Int, Bool)
+
+type None = Proxy '[]
diff --git a/corpora/vendored/declaration/type/qualified-type-operators-out'.hs b/corpora/vendored/declaration/type/qualified-type-operators-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/qualified-type-operators-out'.hs
@@ -0,0 +1,20 @@
+{-# LANGUAGE DataKinds #-}
+{-# LANGUAGE TypeOperators #-}
+
+module Grid.Size where
+
+import qualified Data.List.NonEmpty as NE
+import Data.Proxy (Proxy (..))
+import qualified GHC.TypeLits as T
+
+type Cells = 4 T.* 3 T.+ 2
+
+type Border = Proxy (2 T.* (4 T.+ 3))
+
+type Total =
+    10
+        T.+ 2
+            T.* 3
+        T.- 1
+
+type Layers = Proxy ('[Maybe (Either Bool Char), Int] 'NE.:| '[ '[Int]])
diff --git a/corpora/vendored/declaration/type/qualified-type-operators-out.hs b/corpora/vendored/declaration/type/qualified-type-operators-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/qualified-type-operators-out.hs
@@ -0,0 +1,20 @@
+{-# LANGUAGE DataKinds #-}
+{-# LANGUAGE TypeOperators #-}
+
+module Grid.Size where
+
+import qualified Data.List.NonEmpty as NE
+import Data.Proxy (Proxy (..))
+import qualified GHC.TypeLits as T
+
+type Cells = 4 T.* 3 T.+ 2
+
+type Border = Proxy (2 T.* (4 T.+ 3))
+
+type Total =
+  10
+    T.+ 2
+      T.* 3
+    T.- 1
+
+type Layers = Proxy ('[Maybe (Either Bool Char), Int] 'NE.:| '[ '[Int]])
diff --git a/corpora/vendored/declaration/type/qualified-type-operators.hs b/corpora/vendored/declaration/type/qualified-type-operators.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/qualified-type-operators.hs
@@ -0,0 +1,20 @@
+{-# LANGUAGE DataKinds #-}
+{-# LANGUAGE TypeOperators #-}
+
+module Grid.Size where
+
+import qualified Data.List.NonEmpty as NE
+import Data.Proxy (Proxy (..))
+import qualified GHC.TypeLits as T
+
+type Cells = 4 T.* 3 T.+ 2
+
+type Border = Proxy (2 T.* (4 T.+ 3))
+
+type Total =
+  10
+    T.+ 2
+    T.* 3
+    T.- 1
+
+type Layers = Proxy ('[Maybe (Either Bool Char), Int] 'NE.:| '[ '[Int]])
diff --git a/corpora/vendored/declaration/type/quantified-constraints-out'.hs b/corpora/vendored/declaration/type/quantified-constraints-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/quantified-constraints-out'.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE QuantifiedConstraints #-}
+
+module Lift.Compare where
+
+equalBoth :: (forall x. Eq x => Eq (f x)) => f Int -> f Int -> Bool
+equalBoth = (==)
+
+describeBoth
+    :: ( forall x. Show (f x)
+       , forall x
+          . Show x
+         => Show (g x)
+       )
+    => f Int -> g Int -> String
+describeBoth a b = show a ++ show b
diff --git a/corpora/vendored/declaration/type/quantified-constraints-out.hs b/corpora/vendored/declaration/type/quantified-constraints-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/quantified-constraints-out.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE QuantifiedConstraints #-}
+
+module Lift.Compare where
+
+equalBoth :: (forall x. Eq x => Eq (f x)) => f Int -> f Int -> Bool
+equalBoth = (==)
+
+describeBoth ::
+  ( forall x. Show (f x),
+    forall x.
+    Show x =>
+    Show (g x)
+  ) =>
+  f Int -> g Int -> String
+describeBoth a b = show a ++ show b
diff --git a/corpora/vendored/declaration/type/quantified-constraints.hs b/corpora/vendored/declaration/type/quantified-constraints.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/quantified-constraints.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE QuantifiedConstraints #-}
+
+module Lift.Compare where
+
+equalBoth :: (forall x. Eq x => Eq (f x)) => f Int -> f Int -> Bool
+equalBoth = (==)
+
+describeBoth ::
+  ( forall x. Show (f x),
+    forall x. Show x
+      => Show (g x)
+  ) =>
+  f Int -> g Int -> String
+describeBoth a b = show a ++ show b
diff --git a/corpora/vendored/declaration/type/quoted-type-arguments-out'.hs b/corpora/vendored/declaration/type/quoted-type-arguments-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/quoted-type-arguments-out'.hs
@@ -0,0 +1,36 @@
+{-# LANGUAGE LinearTypes #-}
+{-# LANGUAGE RequiredTypeArguments #-}
+{-# LANGUAGE UnicodeSyntax #-}
+
+plain = describe (Bool)
+
+arrow = describe (Char → Bool)
+
+quantified = describe (∀ k. Holder k)
+
+constrained = describe (Readable r ⇒ r)
+
+constrainedTwice = describe ((Readable r, Countable r) ⇒ r)
+
+linear = describe (Char ⊸ Bool)
+
+linearUnicode = describe (Char ⊸ Bool)
+
+multiplicity = describe (∀ n. Char %n → Bool)
+
+wrapped =
+    describe
+        ( ( ∀ k
+             . Holder k
+          )
+        )
+
+sprawling =
+    describe
+        ( ∀ k n
+           . (Readable k, Countable k)
+          ⇒ Holder k
+          %n → Maybe
+            (Char, Word)
+          ⊸ Text
+        )
diff --git a/corpora/vendored/declaration/type/quoted-type-arguments-out.hs b/corpora/vendored/declaration/type/quoted-type-arguments-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/quoted-type-arguments-out.hs
@@ -0,0 +1,36 @@
+{-# LANGUAGE LinearTypes #-}
+{-# LANGUAGE RequiredTypeArguments #-}
+{-# LANGUAGE UnicodeSyntax #-}
+
+plain = describe (Bool)
+
+arrow = describe (Char → Bool)
+
+quantified = describe (∀ k. Holder k)
+
+constrained = describe (Readable r ⇒ r)
+
+constrainedTwice = describe ((Readable r, Countable r) ⇒ r)
+
+linear = describe (Char ⊸ Bool)
+
+linearUnicode = describe (Char ⊸ Bool)
+
+multiplicity = describe (∀ n. Char %n → Bool)
+
+wrapped =
+  describe
+    ( ( ∀ k.
+        Holder k
+      )
+    )
+
+sprawling =
+  describe
+    ( ∀ k n.
+      (Readable k, Countable k) ⇒
+      Holder k %n →
+      Maybe
+        (Char, Word) ⊸
+      Text
+    )
diff --git a/corpora/vendored/declaration/type/quoted-type-arguments.hs b/corpora/vendored/declaration/type/quoted-type-arguments.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/quoted-type-arguments.hs
@@ -0,0 +1,32 @@
+{-# LANGUAGE LinearTypes #-}
+{-# LANGUAGE RequiredTypeArguments #-}
+{-# LANGUAGE UnicodeSyntax #-}
+
+plain = describe (Bool)
+
+arrow = describe (Char -> Bool)
+
+quantified = describe (forall k. Holder k)
+
+constrained = describe (Readable r => r)
+
+constrainedTwice = describe ((Readable r, Countable r) => r)
+
+linear = describe (Char %1 -> Bool)
+
+linearUnicode = describe (Char ⊸ Bool)
+
+multiplicity = describe (forall n. Char %n -> Bool)
+
+wrapped =
+  describe
+    ( ( forall k.
+          Holder k
+      )
+    )
+
+sprawling = describe (forall k n. (Readable k, Countable k)
+    => Holder k
+    %n -> Maybe
+        (Char , Word)
+    ⊸ Text)
diff --git a/corpora/vendored/declaration/type/signature-for-several-names-out'.hs b/corpora/vendored/declaration/type/signature-for-several-names-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/signature-for-several-names-out'.hs
@@ -0,0 +1,25 @@
+{-# LANGUAGE PatternSynonyms #-}
+
+module Gears.Shift where
+
+shiftUp, shiftDown, skipUp, skipDown
+    :: forall n. Int -> n -> Int -> n
+shiftUp = undefined
+shiftDown = undefined
+skipUp = undefined
+skipDown = undefined
+
+lowGear
+    , highGear
+        :: Int
+lowGear = 1
+highGear = 5
+
+class Gearbox g where
+    engage, release
+        :: g -> g
+
+pattern Neutral, Reverse
+    :: Int
+pattern Neutral = 0
+pattern Reverse = -1
diff --git a/corpora/vendored/declaration/type/signature-for-several-names-out.hs b/corpora/vendored/declaration/type/signature-for-several-names-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/signature-for-several-names-out.hs
@@ -0,0 +1,25 @@
+{-# LANGUAGE PatternSynonyms #-}
+
+module Gears.Shift where
+
+shiftUp, shiftDown, skipUp, skipDown ::
+  forall n. Int -> n -> Int -> n
+shiftUp = undefined
+shiftDown = undefined
+skipUp = undefined
+skipDown = undefined
+
+lowGear,
+  highGear ::
+    Int
+lowGear = 1
+highGear = 5
+
+class Gearbox g where
+  engage, release ::
+    g -> g
+
+pattern Neutral, Reverse ::
+  Int
+pattern Neutral = 0
+pattern Reverse = -1
diff --git a/corpora/vendored/declaration/type/signature-for-several-names.hs b/corpora/vendored/declaration/type/signature-for-several-names.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/signature-for-several-names.hs
@@ -0,0 +1,25 @@
+{-# LANGUAGE PatternSynonyms #-}
+
+module Gears.Shift where
+
+shiftUp, shiftDown, skipUp, skipDown
+  :: forall n . Int -> n -> Int -> n
+shiftUp = undefined
+shiftDown = undefined
+skipUp = undefined
+skipDown = undefined
+
+lowGear,
+  highGear
+  :: Int
+lowGear = 1
+highGear = 5
+
+class Gearbox g where
+  engage, release
+    :: g -> g
+
+pattern Neutral, Reverse
+  :: Int
+pattern Neutral = 0
+pattern Reverse = -1
diff --git a/corpora/vendored/declaration/type/signature-written-with-leading-arrows-out'.hs b/corpora/vendored/declaration/type/signature-written-with-leading-arrows-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/signature-written-with-leading-arrows-out'.hs
@@ -0,0 +1,40 @@
+module Shape.Draw where
+
+-- Comments above an arrow, at the end of a line and between an argument's
+-- Haddock and the next argument, and Haddocks under what they document.
+draw
+    -- What it draws with.
+    :: Pen
+    -- How thick the lines are.
+    -> Double
+    -> [Shape] -- in the order given
+    -> IO ()
+draw _ _ _ = pure ()
+
+fill
+    :: forall m
+     . MonadIO m
+    -- Only the outline is filled.
+    => Shape
+    -- ^ What to fill.
+    -> Colour
+    -- ^ What to fill it with.
+
+    -- Black, unless asked.
+    -> m ()
+    -- ^ Done once the shape is filled.
+fill _ _ = pure ()
+
+data Brush where
+    Round
+        :: Double
+        -- ^ The radius.
+        -> Brush
+    Flat
+        :: Double
+        -- ^ The width.
+
+        -- Flat brushes are square.
+        -> Double
+        -- ^ The height.
+        -> Brush
diff --git a/corpora/vendored/declaration/type/signature-written-with-leading-arrows-out.hs b/corpora/vendored/declaration/type/signature-written-with-leading-arrows-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/signature-written-with-leading-arrows-out.hs
@@ -0,0 +1,42 @@
+module Shape.Draw where
+
+-- Comments above an arrow, at the end of a line and between an argument's
+-- Haddock and the next argument, and Haddocks under what they document.
+draw ::
+  -- What it draws with.
+  Pen ->
+  -- How thick the lines are.
+  Double ->
+  [Shape] -> -- in the order given
+  IO ()
+draw _ _ _ = pure ()
+
+fill ::
+  forall m.
+  MonadIO m =>
+  -- Only the outline is filled.
+
+  -- | What to fill.
+  Shape ->
+  -- | What to fill it with.
+  Colour ->
+
+  -- Black, unless asked.
+
+  -- | Done once the shape is filled.
+  m ()
+fill _ _ = pure ()
+
+data Brush where
+  Round ::
+    -- | The radius.
+    Double ->
+    Brush
+  Flat ::
+    -- | The width.
+    Double ->
+    -- | The height.
+
+    -- Flat brushes are square.
+    Double ->
+    Brush
diff --git a/corpora/vendored/declaration/type/signature-written-with-leading-arrows.hs b/corpora/vendored/declaration/type/signature-written-with-leading-arrows.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/signature-written-with-leading-arrows.hs
@@ -0,0 +1,40 @@
+module Shape.Draw where
+
+-- Comments above an arrow, at the end of a line and between an argument's
+-- Haddock and the next argument, and Haddocks under what they document.
+draw
+  -- What it draws with.
+  :: Pen
+  -- How thick the lines are.
+  -> Double
+  -> [Shape] -- in the order given
+  -> IO ()
+draw _ _ _ = pure ()
+
+fill
+  :: forall m
+   . (MonadIO m)
+  -- Only the outline is filled.
+  => Shape
+  -- ^ What to fill.
+  -> Colour
+  -- ^ What to fill it with.
+
+  -- Black, unless asked.
+  -> m ()
+  -- ^ Done once the shape is filled.
+fill _ _ = pure ()
+
+data Brush where
+  Round
+    :: Double
+    -- ^ The radius.
+    -> Brush
+  Flat
+    :: Double
+    -- ^ The width.
+
+    -- Flat brushes are square.
+    -> Double
+    -- ^ The height.
+    -> Brush
diff --git a/corpora/vendored/declaration/type/standalone-kind-signatures-across-several-lines-out'.hs b/corpora/vendored/declaration/type/standalone-kind-signatures-across-several-lines-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/standalone-kind-signatures-across-several-lines-out'.hs
@@ -0,0 +1,16 @@
+module Pipeline.Stage where
+
+import Data.Kind (Constraint, Type)
+
+type Stage
+    :: (Type -> Type)
+    -> Type
+    -> Type
+data Stage m a = Stage (m a)
+
+type Runnable
+    :: (Type -> Type) -> Constraint
+class Runnable m
+
+type Label :: Type
+type Label = String
diff --git a/corpora/vendored/declaration/type/standalone-kind-signatures-across-several-lines-out.hs b/corpora/vendored/declaration/type/standalone-kind-signatures-across-several-lines-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/standalone-kind-signatures-across-several-lines-out.hs
@@ -0,0 +1,16 @@
+module Pipeline.Stage where
+
+import Data.Kind (Constraint, Type)
+
+type Stage ::
+  (Type -> Type) ->
+  Type ->
+  Type
+data Stage m a = Stage (m a)
+
+type Runnable ::
+  (Type -> Type) -> Constraint
+class Runnable m
+
+type Label :: Type
+type Label = String
diff --git a/corpora/vendored/declaration/type/standalone-kind-signatures-across-several-lines.hs b/corpora/vendored/declaration/type/standalone-kind-signatures-across-several-lines.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/standalone-kind-signatures-across-several-lines.hs
@@ -0,0 +1,15 @@
+module Pipeline.Stage where
+
+import Data.Kind (Constraint, Type)
+
+type Stage :: (Type -> Type)
+           -> Type
+           -> Type
+data Stage m a = Stage (m a)
+
+type Runnable ::
+  (Type -> Type) -> Constraint
+class Runnable m
+
+type Label :: Type
+type Label = String
diff --git a/corpora/vendored/declaration/type/synonym-for-a-forall-out'.hs b/corpora/vendored/declaration/type/synonym-for-a-forall-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/synonym-for-a-forall-out'.hs
@@ -0,0 +1,11 @@
+module Effect.Handler where
+
+type Natural f g = forall a. f a -> g a
+
+type Handler m n =
+    forall x
+     . m x
+    -> n x
+
+type Lifted m =
+    forall a b. (a -> m b) -> [a] -> m [b]
diff --git a/corpora/vendored/declaration/type/synonym-for-a-forall-out.hs b/corpora/vendored/declaration/type/synonym-for-a-forall-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/synonym-for-a-forall-out.hs
@@ -0,0 +1,11 @@
+module Effect.Handler where
+
+type Natural f g = forall a. f a -> g a
+
+type Handler m n =
+  forall x.
+  m x ->
+  n x
+
+type Lifted m =
+  forall a b. (a -> m b) -> [a] -> m [b]
diff --git a/corpora/vendored/declaration/type/synonym-for-a-forall.hs b/corpora/vendored/declaration/type/synonym-for-a-forall.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/synonym-for-a-forall.hs
@@ -0,0 +1,11 @@
+module Effect.Handler where
+
+type Natural f g = forall a .   f a -> g a
+
+type Handler m n =
+  forall x.
+  m x ->
+  n x
+
+type Lifted m =
+  forall a b. (a -> m b) -> [a] -> m [b]
diff --git a/corpora/vendored/declaration/type/synonym-for-a-splice-out.hs b/corpora/vendored/declaration/type/synonym-for-a-splice-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/synonym-for-a-splice-out.hs
@@ -0,0 +1,7 @@
+{-# LANGUAGE TemplateHaskell #-}
+
+module Sql.Row where
+
+type Row = $(tupleOf 3 [t|Int|])
+
+type Key = $keyType
diff --git a/corpora/vendored/declaration/type/synonym-for-a-splice.hs b/corpora/vendored/declaration/type/synonym-for-a-splice.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/synonym-for-a-splice.hs
@@ -0,0 +1,7 @@
+{-# LANGUAGE TemplateHaskell #-}
+
+module Sql.Row where
+
+type Row = $(   tupleOf 3 [t|Int|] )
+
+type Key = $keyType
diff --git a/corpora/vendored/declaration/type/ticks-that-would-read-as-character-literals-out.hs b/corpora/vendored/declaration/type/ticks-that-would-read-as-character-literals-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/ticks-that-would-read-as-character-literals-out.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE DataKinds #-}
+
+module Music.Pitch where
+
+import Data.Proxy (Proxy (..))
+
+data Pitch = C | C' | D | D'
+
+type Sharp = Proxy ' C'
+
+type Chord = Proxy '[ 'Just ' D', 'Nothing]
+
+type Voices = Proxy '[Maybe Pitch, Either Pitch Int]
diff --git a/corpora/vendored/declaration/type/ticks-that-would-read-as-character-literals.hs b/corpora/vendored/declaration/type/ticks-that-would-read-as-character-literals.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/ticks-that-would-read-as-character-literals.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE DataKinds #-}
+
+module Music.Pitch where
+
+import Data.Proxy (Proxy (..))
+
+data Pitch = C | C' | D | D'
+
+type Sharp = Proxy ' C'
+
+type Chord = Proxy '[ 'Just ' D', 'Nothing]
+
+type Voices = Proxy '[Maybe Pitch,   Either Pitch Int]
diff --git a/corpora/vendored/declaration/type/type-level-literals-out.hs b/corpora/vendored/declaration/type/type-level-literals-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/type-level-literals-out.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE DataKinds #-}
+
+module Api.Paths where
+
+type Users = Proxy "users"
+
+type Limit = Proxy 100
+
+type Initial = Proxy 'u'
diff --git a/corpora/vendored/declaration/type/type-level-literals.hs b/corpora/vendored/declaration/type/type-level-literals.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/type-level-literals.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE DataKinds #-}
+
+module Api.Paths where
+
+type Users = Proxy "users"
+
+type Limit = Proxy 100
+
+type Initial = Proxy 'u'
diff --git a/corpora/vendored/declaration/type/type-level-string-across-several-lines-out'.hs b/corpora/vendored/declaration/type/type-level-string-across-several-lines-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/type-level-string-across-several-lines-out'.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE DataKinds #-}
+
+module Help.Usage where
+
+import Data.Proxy (Proxy (..))
+
+type Usage =
+    "usage: convert [--verbose] \
+    \<input> <output>"
+
+type Hint = Proxy "see --help"
+
+type Footer =
+    Proxy
+        "report bugs to \
+        \the issue tracker"
diff --git a/corpora/vendored/declaration/type/type-level-string-across-several-lines-out.hs b/corpora/vendored/declaration/type/type-level-string-across-several-lines-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/type-level-string-across-several-lines-out.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE DataKinds #-}
+
+module Help.Usage where
+
+import Data.Proxy (Proxy (..))
+
+type Usage =
+  "usage: convert [--verbose] \
+  \<input> <output>"
+
+type Hint = Proxy "see --help"
+
+type Footer =
+  Proxy
+    "report bugs to \
+    \the issue tracker"
diff --git a/corpora/vendored/declaration/type/type-level-string-across-several-lines.hs b/corpora/vendored/declaration/type/type-level-string-across-several-lines.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/type-level-string-across-several-lines.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE DataKinds #-}
+
+module Help.Usage where
+
+import Data.Proxy (Proxy (..))
+
+type Usage = "usage: convert [--verbose] \
+             \<input> <output>"
+
+type Hint = Proxy "see --help"
+
+type Footer = Proxy "report bugs to \
+                    \the issue tracker"
diff --git a/corpora/vendored/declaration/type/type-operator-chains-across-lines-out'.hs b/corpora/vendored/declaration/type/type-operator-chains-across-lines-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/type-operator-chains-across-lines-out'.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE DataKinds #-}
+{-# LANGUAGE TypeOperators #-}
+
+module Api.Library where
+
+import Servant.API
+
+type LibraryApi =
+    "books"
+            :> ( Get '[JSON] [Book]
+                    :<|> Capture "isbn" Isbn :> Get '[JSON] Book
+               )
+        :<|> "loans"
+            :> ( "open" :> Get '[JSON] [Loan]
+                    :<|> "closed" :> Get '[JSON] [Loan]
+               )
diff --git a/corpora/vendored/declaration/type/type-operator-chains-across-lines-out.hs b/corpora/vendored/declaration/type/type-operator-chains-across-lines-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/type-operator-chains-across-lines-out.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE DataKinds #-}
+{-# LANGUAGE TypeOperators #-}
+
+module Api.Library where
+
+import Servant.API
+
+type LibraryApi =
+  "books"
+      :> ( Get '[JSON] [Book]
+             :<|> Capture "isbn" Isbn :> Get '[JSON] Book
+         )
+    :<|> "loans"
+      :> ( "open" :> Get '[JSON] [Loan]
+             :<|> "closed" :> Get '[JSON] [Loan]
+         )
diff --git a/corpora/vendored/declaration/type/type-operator-chains-across-lines.hs b/corpora/vendored/declaration/type/type-operator-chains-across-lines.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/type-operator-chains-across-lines.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE DataKinds #-}
+{-# LANGUAGE TypeOperators #-}
+
+module Api.Library where
+
+import Servant.API
+
+type LibraryApi =
+       "books" :> (    Get '[JSON] [Book]
+                  :<|> Capture "isbn" Isbn :> Get '[JSON] Book
+                  )
+  :<|> "loans" :> (    "open" :> Get '[JSON] [Loan]
+                  :<|> "closed" :> Get '[JSON] [Loan]
+                  )
diff --git a/corpora/vendored/declaration/type/type-operators-defined-prefix-out.hs b/corpora/vendored/declaration/type/type-operators-defined-prefix-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/type-operators-defined-prefix-out.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE RoleAnnotations #-}
+{-# LANGUAGE TypeOperators #-}
+
+module Circuit.Wire where
+
+import Data.Kind (Type)
+
+type (:+:) :: (Type -> Type) -> (Type -> Type) -> Type -> Type
+data (:+:) f g a = Wired (f a) | Bridged (g a)
+
+type role (:+:) representational representational nominal
+
+type (~>) f g = forall a. f a -> g a
diff --git a/corpora/vendored/declaration/type/type-operators-defined-prefix.hs b/corpora/vendored/declaration/type/type-operators-defined-prefix.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/type-operators-defined-prefix.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE RoleAnnotations #-}
+{-# LANGUAGE TypeOperators #-}
+
+module Circuit.Wire where
+
+import Data.Kind (Type)
+
+type (:+:) :: (Type -> Type) -> (Type -> Type) -> Type -> Type
+data (:+:) f g a = Wired (f a) | Bridged (g a)
+
+type role (:+:) representational representational nominal
+
+type (~>) f g = forall a. f a -> g a
diff --git a/corpora/vendored/declaration/type/type-splices-out.hs b/corpora/vendored/declaration/type/type-splices-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/type-splices-out.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE TemplateHaskell #-}
+
+module Query.Column where
+
+import Language.Haskell.TH (conT)
+
+count :: $(conT ''Int)
+count = 0
+
+label :: Maybe $columnType -> String
+label = maybe "" show
diff --git a/corpora/vendored/declaration/type/type-splices.hs b/corpora/vendored/declaration/type/type-splices.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/type-splices.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE TemplateHaskell #-}
+
+module Query.Column where
+
+import Language.Haskell.TH (conT)
+
+count :: $(conT ''Int)
+count = 0
+
+label :: Maybe $columnType -> String
+label = maybe "" show
diff --git a/corpora/vendored/declaration/type/type-synonym-head-across-lines-out'.hs b/corpora/vendored/declaration/type/type-synonym-head-across-lines-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/type-synonym-head-across-lines-out'.hs
@@ -0,0 +1,15 @@
+module Http.Route where
+
+type Handler
+    request
+    response = request -> IO response
+
+type Middleware
+    request
+    response =
+    Handler request response -> Handler request response
+
+type ( failure
+        `Or` success
+     )
+    context = Either (failure, context) (success, context)
diff --git a/corpora/vendored/declaration/type/type-synonym-head-across-lines-out.hs b/corpora/vendored/declaration/type/type-synonym-head-across-lines-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/type-synonym-head-across-lines-out.hs
@@ -0,0 +1,15 @@
+module Http.Route where
+
+type Handler
+  request
+  response = request -> IO response
+
+type Middleware
+  request
+  response =
+  Handler request response -> Handler request response
+
+type ( failure
+         `Or` success
+     )
+  context = Either (failure, context) (success, context)
diff --git a/corpora/vendored/declaration/type/type-synonym-head-across-lines.hs b/corpora/vendored/declaration/type/type-synonym-head-across-lines.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/type-synonym-head-across-lines.hs
@@ -0,0 +1,14 @@
+module Http.Route where
+
+type Handler
+  request
+  response = request -> IO response
+
+type Middleware request
+                response
+  = Handler request response -> Handler request response
+
+type (failure
+       `Or`
+       success)
+  context = Either (failure, context) (success, context)
diff --git a/corpora/vendored/declaration/type/type-synonym-with-parameters-out.hs b/corpora/vendored/declaration/type/type-synonym-with-parameters-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/type-synonym-with-parameters-out.hs
@@ -0,0 +1,7 @@
+module Parser.Types where
+
+type Parser a = String -> Either String (a, String)
+
+type Pair a b = (a, b)
+
+type Handler m = Request -> m Response
diff --git a/corpora/vendored/declaration/type/type-synonym-with-parameters.hs b/corpora/vendored/declaration/type/type-synonym-with-parameters.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/type-synonym-with-parameters.hs
@@ -0,0 +1,7 @@
+module Parser.Types where
+
+type Parser a = String -> Either String (a, String)
+
+type Pair a b = (a, b)
+
+type   Handler   m = Request -> m Response
diff --git a/corpora/vendored/declaration/type/unboxed-tuples-and-sums-out'.hs b/corpora/vendored/declaration/type/unboxed-tuples-and-sums-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/unboxed-tuples-and-sums-out'.hs
@@ -0,0 +1,25 @@
+{-# LANGUAGE UnboxedSums #-}
+{-# LANGUAGE UnboxedTuples #-}
+
+module Codec.Digit where
+
+split :: Int -> (# Int, Int #)
+split n = (# quot n 10, rem n 10 #)
+
+classify :: (# Int | Char #) -> String
+classify _ = "?"
+
+ignored :: (# #) -> Int
+ignored (# #) = 0
+
+nothing :: (# #)
+nothing = (# #)
+
+spread
+    :: Int
+    -> (#
+          Int
+        , Int
+        , Int
+       #)
+spread n = (# n, n, n #)
diff --git a/corpora/vendored/declaration/type/unboxed-tuples-and-sums-out.hs b/corpora/vendored/declaration/type/unboxed-tuples-and-sums-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/unboxed-tuples-and-sums-out.hs
@@ -0,0 +1,25 @@
+{-# LANGUAGE UnboxedSums #-}
+{-# LANGUAGE UnboxedTuples #-}
+
+module Codec.Digit where
+
+split :: Int -> (# Int, Int #)
+split n = (# quot n 10, rem n 10 #)
+
+classify :: (# Int | Char #) -> String
+classify _ = "?"
+
+ignored :: (# #) -> Int
+ignored (# #) = 0
+
+nothing :: (# #)
+nothing = (# #)
+
+spread ::
+  Int ->
+  (#
+    Int,
+    Int,
+    Int
+  #)
+spread n = (# n, n, n #)
diff --git a/corpora/vendored/declaration/type/unboxed-tuples-and-sums.hs b/corpora/vendored/declaration/type/unboxed-tuples-and-sums.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/unboxed-tuples-and-sums.hs
@@ -0,0 +1,20 @@
+{-# LANGUAGE UnboxedSums #-}
+{-# LANGUAGE UnboxedTuples #-}
+
+module Codec.Digit where
+
+split :: Int -> (# Int, Int #)
+split n = (# quot n 10, rem n 10 #)
+
+classify :: (# Int | Char #) -> String
+classify _ = "?"
+
+ignored :: (# #) -> Int
+ignored (# #) = 0
+
+nothing :: (# #)
+nothing = (# #)
+
+spread :: Int -> (#Int,Int,
+  Int #)
+spread n = (# n, n, n #)
diff --git a/corpora/vendored/declaration/type/visible-forall-out'.hs b/corpora/vendored/declaration/type/visible-forall-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/visible-forall-out'.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE RequiredTypeArguments #-}
+
+module Memory.Layout where
+
+sizeOf :: forall a -> Storable a => Int
+sizeOf = undefined
+
+alignmentOf
+    :: forall a
+    -> Storable a
+    => Int
+alignmentOf = undefined
diff --git a/corpora/vendored/declaration/type/visible-forall-out.hs b/corpora/vendored/declaration/type/visible-forall-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/visible-forall-out.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE RequiredTypeArguments #-}
+
+module Memory.Layout where
+
+sizeOf :: forall a -> Storable a => Int
+sizeOf = undefined
+
+alignmentOf ::
+  forall a ->
+  Storable a =>
+  Int
+alignmentOf = undefined
diff --git a/corpora/vendored/declaration/type/visible-forall.hs b/corpora/vendored/declaration/type/visible-forall.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/visible-forall.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE RequiredTypeArguments #-}
+
+module Memory.Layout where
+
+sizeOf :: forall a -> (Storable a) => Int
+sizeOf = undefined
+
+alignmentOf
+  :: forall a
+  -> Storable a
+  => Int
+alignmentOf = undefined
diff --git a/corpora/vendored/declaration/type/wildcard-binder-with-a-kind-out.hs b/corpora/vendored/declaration/type/wildcard-binder-with-a-kind-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/wildcard-binder-with-a-kind-out.hs
@@ -0,0 +1,8 @@
+{-# LANGUAGE TypeAbstractions #-}
+
+module Shelf.Keep where
+
+import Data.Kind (Type)
+
+type Keep :: Type -> Type -> Type
+type Keep a (_ :: Type) = a
diff --git a/corpora/vendored/declaration/type/wildcard-binder-with-a-kind.hs b/corpora/vendored/declaration/type/wildcard-binder-with-a-kind.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/wildcard-binder-with-a-kind.hs
@@ -0,0 +1,8 @@
+{-# LANGUAGE TypeAbstractions #-}
+
+module Shelf.Keep where
+
+import Data.Kind (Type)
+
+type Keep :: Type -> Type -> Type
+type Keep a (_ :: Type) = a
diff --git a/corpora/vendored/declaration/type/wildcards-in-signatures-out.hs b/corpora/vendored/declaration/type/wildcards-in-signatures-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/wildcards-in-signatures-out.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE PartialTypeSignatures #-}
+
+module Survey.Answer where
+
+tally :: _ -> Int
+tally = length
+
+firstWord :: String -> Maybe _
+firstWord = fmap fst . uncons . words
+
+shown :: _ => a -> String
+shown = show
+
+parsed = read @_ "12" :: Int
diff --git a/corpora/vendored/declaration/type/wildcards-in-signatures.hs b/corpora/vendored/declaration/type/wildcards-in-signatures.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/declaration/type/wildcards-in-signatures.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE PartialTypeSignatures #-}
+
+module Survey.Answer where
+
+tally :: _ -> Int
+tally = length
+
+firstWord :: String -> Maybe _
+firstWord = fmap fst . uncons . words
+
+shown :: _ => a -> String
+shown = show
+
+parsed = read @_ "12" :: Int
diff --git a/corpora/vendored/declaration/value/blank-lines-between-implicit-parameter-bindings-out.hs b/corpora/vendored/declaration/value/blank-lines-between-implicit-parameter-bindings-out.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/blank-lines-between-implicit-parameter-bindings-out.hs
+++ /dev/null
@@ -1,22 +0,0 @@
-{-# LANGUAGE ImplicitParams #-}
-
-module Render.Settings where
-
-render page =
-  let ?width = 80
-      ?indent = 2
-
-      ?colour = False
-   in layout page
-
-preview page = layout page
-  where
-    ?width = 40
-
-    ?colour = True
-
-session = do
-  let ?width = 120
-
-      ?colour = True
-  run
diff --git a/corpora/vendored/declaration/value/blank-lines-between-implicit-parameter-bindings.hs b/corpora/vendored/declaration/value/blank-lines-between-implicit-parameter-bindings.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/blank-lines-between-implicit-parameter-bindings.hs
+++ /dev/null
@@ -1,22 +0,0 @@
-{-# LANGUAGE ImplicitParams #-}
-
-module Render.Settings where
-
-render page =
-  let ?width = 80
-      ?indent = 2
-
-      ?colour = False
-   in layout page
-
-preview page = layout page
-  where
-    ?width = 40
-
-    ?colour = True
-
-session = do
-  let ?width = 120
-
-      ?colour = True
-  run
diff --git a/corpora/vendored/declaration/value/block-comment-across-lines-after-a-separator-out.hs b/corpora/vendored/declaration/value/block-comment-across-lines-after-a-separator-out.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/block-comment-across-lines-after-a-separator-out.hs
+++ /dev/null
@@ -1,18 +0,0 @@
-module Ledger.Entry where
-
-amount entry = case entry of
-  Credit n ->
-    {- paid in,
-    as written -}
-    n
-  Debit n -> negate n
-
-signed = \n ->
-  {- the sign
-  is the caller's -}
-  n
-
-opening =
-  {- carried over
-  from last year -}
-  0
diff --git a/corpora/vendored/declaration/value/block-comment-across-lines-after-a-separator.hs b/corpora/vendored/declaration/value/block-comment-across-lines-after-a-separator.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/block-comment-across-lines-after-a-separator.hs
+++ /dev/null
@@ -1,15 +0,0 @@
-module Ledger.Entry where
-
-amount entry = case entry of
-  Credit n -> {- paid in,
-    as written -}
-    n
-  Debit n -> negate n
-
-signed = \n -> {- the sign
-  is the caller's -}
-  n
-
-opening = {- carried over
-  from last year -}
-  0
diff --git a/corpora/vendored/declaration/value/comment-across-a-separator-out.hs b/corpora/vendored/declaration/value/comment-across-a-separator-out.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/comment-across-a-separator-out.hs
+++ /dev/null
@@ -1,30 +0,0 @@
--- A block comment closes itself, so it is printed where the region that
--- carries it is printed. It must not be carried back across the token that
--- opens a body, or it comes out in front of what is being defined.
-plain =
-  {- one at a time -}
-  1
-
-withArguments n m =
-  {- takes two -}
-  n + m
-
-inAnAlternative n =
-  case n of
-    0 ->
-      {- the base case -}
-      stop
-    _ -> go n
-
--- A token in the middle of a construct is another matter: a comment after
--- it stays after it, neither leaving the construct nor landing in front of
--- it.
-inTheMiddle n =
-  case n of {- worth a look -}
-    0 -> stop
-    _ -> go n
-
--- A line comment owns the rest of its line wherever it is put, so it stays
--- at the end of the line the author wrote it on.
-heldBack n = -- one at a time
-  n
diff --git a/corpora/vendored/declaration/value/comment-across-a-separator.hs b/corpora/vendored/declaration/value/comment-across-a-separator.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/comment-across-a-separator.hs
+++ /dev/null
@@ -1,27 +0,0 @@
--- A block comment closes itself, so it is printed where the region that
--- carries it is printed. It must not be carried back across the token that
--- opens a body, or it comes out in front of what is being defined.
-plain = {- one at a time -}
-  1
-
-withArguments n m = {- takes two -}
-  n + m
-
-inAnAlternative n =
-  case n of
-    0 -> {- the base case -}
-      stop
-    _ -> go n
-
--- A token in the middle of a construct is another matter: a comment after
--- it stays after it, neither leaving the construct nor landing in front of
--- it.
-inTheMiddle n =
-  case n of {- worth a look -}
-    0 -> stop
-    _ -> go n
-
--- A line comment owns the rest of its line wherever it is put, so it stays
--- at the end of the line the author wrote it on.
-heldBack n = -- one at a time
-  n
diff --git a/corpora/vendored/declaration/value/comment-after-a-guard-bar-out.hs b/corpora/vendored/declaration/value/comment-after-a-guard-bar-out.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/comment-after-a-guard-bar-out.hs
+++ /dev/null
@@ -1,8 +0,0 @@
-module Tariff.Discount where
-
-discount :: Int -> Bool -> Int
-discount age student
-  | -- children travel free
-    age < 12 = 0
-  | {- students -} student = 50
-  | otherwise = 100
diff --git a/corpora/vendored/declaration/value/comment-after-a-guard-bar.hs b/corpora/vendored/declaration/value/comment-after-a-guard-bar.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/comment-after-a-guard-bar.hs
+++ /dev/null
@@ -1,8 +0,0 @@
-module Tariff.Discount where
-
-discount :: Int -> Bool -> Int
-discount age student
-  | -- children travel free
-    age < 12 = 0
-  | {- students -} student = 50
-  | otherwise = 100
diff --git a/corpora/vendored/declaration/value/comment-after-a-guard-separator-out.hs b/corpora/vendored/declaration/value/comment-after-a-guard-separator-out.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/comment-after-a-guard-separator-out.hs
+++ /dev/null
@@ -1,19 +0,0 @@
-module M where
-
-f x
-  | x > 0 =
-      {- positive -}
-      1
-  | x < 0 = -- negative
-      2
-  | otherwise =
-      {- zero,
-      or close -}
-      3
-
-g x = case x of
-  Just y
-    | y > 0 ->
-        {- positive -}
-        y
-  _ -> 0
diff --git a/corpora/vendored/declaration/value/comment-after-a-guard-separator.hs b/corpora/vendored/declaration/value/comment-after-a-guard-separator.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/comment-after-a-guard-separator.hs
+++ /dev/null
@@ -1,16 +0,0 @@
-module M where
-
-f x
-  | x > 0 = {- positive -}
-      1
-  | x < 0 = -- negative
-      2
-  | otherwise = {- zero,
-      or close -}
-      3
-
-g x = case x of
-  Just y
-    | y > 0 -> {- positive -}
-        y
-  _ -> 0
diff --git a/corpora/vendored/declaration/value/comment-after-do-out.hs b/corpora/vendored/declaration/value/comment-after-do-out.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/comment-after-do-out.hs
+++ /dev/null
@@ -1,8 +0,0 @@
-warmEverything =
-  entries
-    >>= \entry -> -- one at a time, so a failure names the entry
-      warm entry
-
-reportOn entry = do -- the counters are read once, before any of this runs
-  hits <- readCounter entry
-  pure hits
diff --git a/corpora/vendored/declaration/value/comment-after-do.hs b/corpora/vendored/declaration/value/comment-after-do.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/comment-after-do.hs
+++ /dev/null
@@ -1,8 +0,0 @@
-warmEverything =
-  entries
-    >>= \entry -> -- one at a time, so a failure names the entry
-      warm entry
-
-reportOn entry = do -- the counters are read once, before any of this runs
-  hits <- readCounter entry
-  pure hits
diff --git a/corpora/vendored/declaration/value/comment-below-keyword-out.hs b/corpora/vendored/declaration/value/comment-below-keyword-out.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/comment-below-keyword-out.hs
+++ /dev/null
@@ -1,27 +0,0 @@
-afterAnEquals n =
-  let step = -- one at a time
-        -- and no faster than that
-        1
-   in n + step
-
-afterAnArrow n =
-  case compare n 0 of
-    GT -> -- above zero
-      -- so we climb
-      climb n
-    EQ -> stay
-    LT -> fall n
-
-afterThen n =
-  if n > 0
-    then -- the only interesting branch
-      -- and the only one worth a remark
-      climb n
-    else fall n
-
-afterElse n =
-  if n > 0
-    then climb n
-    else -- everything that is left
-      -- which is most of it
-      fall n
diff --git a/corpora/vendored/declaration/value/comment-below-keyword.hs b/corpora/vendored/declaration/value/comment-below-keyword.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/comment-below-keyword.hs
+++ /dev/null
@@ -1,27 +0,0 @@
-afterAnEquals n =
-  let step = -- one at a time
-        -- and no faster than that
-        1
-   in n + step
-
-afterAnArrow n =
-  case compare n 0 of
-    GT -> -- above zero
-      -- so we climb
-      climb n
-    EQ -> stay
-    LT -> fall n
-
-afterThen n =
-  if n > 0
-    then -- the only interesting branch
-      -- and the only one worth a remark
-      climb n
-    else fall n
-
-afterElse n =
-  if n > 0
-    then climb n
-    else -- everything that is left
-      -- which is most of it
-      fall n
diff --git a/corpora/vendored/declaration/value/comment-carried-on-out.hs b/corpora/vendored/declaration/value/comment-carried-on-out.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/comment-carried-on-out.hs
+++ /dev/null
@@ -1,51 +0,0 @@
--- A comment lined up under a line that ended in one, with nothing below it
--- at that column, carries that remark on rather than beginning one about
--- what follows.
-carriedOn xs ys =
-  [ (a, b)
-  | a <-
-      xs
-        + xs -- said once
-        -- and never twice
-  | b <- ys
-  ]
-
--- The same, where what follows is not a sibling but nothing at all.
-class
-  a -- said once
-    :+ b -- said twice
-    -- and a third time
-
--- Code below at the comment's own column is code the comment sits over,
--- however the line above ended.
-sitsOver =
-  opening
-    <> -- said once
-    -- and never twice
-    closing
-
--- Lined up with nothing, because the line above was blank.
-afterAGap = do
-  a --
-
-  bar
-
--- Lined up with a line that has a comment on it but does not end in one, so
--- there is no remark above to carry on.
-codeAfterTheComment =
-  g
-    (a {- said once -} + b)
-    -- and this is about something else
-  where
-    h = 1
-
--- An empty line under the remark still separates what it trails from what
--- comes next.
-gapUnderTheRemark = a ++ b
-  where
-    a =
-      [1]
-        ++ [2] -- said once
-        -- and never twice
-
-    b = []
diff --git a/corpora/vendored/declaration/value/comment-carried-on.hs b/corpora/vendored/declaration/value/comment-carried-on.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/comment-carried-on.hs
+++ /dev/null
@@ -1,49 +0,0 @@
--- A comment lined up under a line that ended in one, with nothing below it
--- at that column, carries that remark on rather than beginning one about
--- what follows.
-carriedOn xs ys =
-  [ (a, b)
-  | a <- xs
-      + xs -- said once
-      -- and never twice
-  | b <- ys
-  ]
-
--- The same, where what follows is not a sibling but nothing at all.
-class
-  a -- said once
-    :+ b -- said twice
-    -- and a third time
-
--- Code below at the comment's own column is code the comment sits over,
--- however the line above ended.
-sitsOver =
-  opening
-    <> -- said once
-    -- and never twice
-    closing
-
--- Lined up with nothing, because the line above was blank.
-afterAGap = do
-  a --
-
-  bar
-
--- Lined up with a line that has a comment on it but does not end in one, so
--- there is no remark above to carry on.
-codeAfterTheComment = g
-      (a {- said once -} + b)
-      -- and this is about something else
-  where
-    h = 1
-
--- An empty line under the remark still separates what it trails from what
--- comes next.
-gapUnderTheRemark = a ++ b
-  where
-    a =
-      [1]
-        ++ [2] -- said once
-        -- and never twice
-
-    b = []
diff --git a/corpora/vendored/declaration/value/comment-in-operator-chain-out.hs b/corpora/vendored/declaration/value/comment-in-operator-chain-out.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/comment-in-operator-chain-out.hs
+++ /dev/null
@@ -1,53 +0,0 @@
-{-# LANGUAGE PatternSynonyms #-}
-
-everyOperandAnnotated =
-  base -- what we started from
-    + delta -- what was added
-    - refund -- and what came back
-
-annotatedOperators =
-  base
-    + delta -- the adjustment
-    - refund -- the reimbursement
-
-remarkBetweenOperatorAndOperand =
-  opening
-    <> -- said once
-    -- and never twice
-    closing
-
-lastOperandOnly =
-  first
-    `mappend` second
-    `mappend` third -- and no further
-
--- An operator written at the end of a line goes to the start of the next,
--- and a comment written after it stays with the operand it follows.
-operatorsAtLineEnds =
-  base -- what we started from
-    + delta -- what was added
-    - refund -- and what came back
-
--- The same, one level of precedence down.
-tighterOperatorAtLineEnd =
-  base
-    + rate -- per unit
-      * units
-
--- The same, for a constructor in a pattern.
-headOf
-  ( x -- the one we want
-      :| _
-    ) = x
-
--- The same, for a pattern synonym.
-pattern x -- the head
-  :< xs =
-  (x, xs)
-
--- A comment written on a line of its own between such an operator and its
--- operand comes before the operator.
-remarkUnderAnOperatorAtLineEnd =
-  base
-    -- what is added
-    ++ extra
diff --git a/corpora/vendored/declaration/value/comment-in-operator-chain.hs b/corpora/vendored/declaration/value/comment-in-operator-chain.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/comment-in-operator-chain.hs
+++ /dev/null
@@ -1,48 +0,0 @@
-{-# LANGUAGE PatternSynonyms #-}
-
-everyOperandAnnotated =
-  base -- what we started from
-    + delta -- what was added
-    - refund -- and what came back
-
-annotatedOperators =
-  base
-    + -- the adjustment
-      delta
-    - -- the reimbursement
-      refund
-
-remarkBetweenOperatorAndOperand =
-  opening
-    <> -- said once
-      -- and never twice
-      closing
-
-lastOperandOnly =
-  first
-    `mappend` second
-    `mappend` third -- and no further
-
--- An operator written at the end of a line goes to the start of the next,
--- and a comment written after it stays with the operand it follows.
-operatorsAtLineEnds = base + -- what we started from
-  delta - -- what was added
-  refund -- and what came back
-
--- The same, one level of precedence down.
-tighterOperatorAtLineEnd = base + rate * -- per unit
-  units
-
--- The same, for a constructor in a pattern.
-headOf (x :| -- the one we want
-  _) = x
-
--- The same, for a pattern synonym.
-pattern x :< -- the head
-  xs = (x, xs)
-
--- A comment written on a line of its own between such an operator and its
--- operand comes before the operator.
-remarkUnderAnOperatorAtLineEnd = base ++
-  -- what is added
-  extra
diff --git a/corpora/vendored/declaration/value/comment-on-record-wildcard-out.hs b/corpora/vendored/declaration/value/comment-on-record-wildcard-out.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/comment-on-record-wildcard-out.hs
+++ /dev/null
@@ -1,28 +0,0 @@
-{-# LANGUAGE RecordWildCards #-}
-
-wildcardAlone =
-  Shape
-    { .. -- whatever is in scope
-    }
-
-wildcardLast =
-  Shape
-    { name = "circle",
-      colour = Red,
-      .. -- and the radius comes from above
-    }
-
-wildcardWithARemarkAbove =
-  Shape
-    { name = "square",
-      -- the sides are already bound
-      .. -- so they need no mention
-    }
-
-wildcardInAPattern Shape{..} = name -- bound by the wildcard
-
-wildcardInAPatternWithFields
-  Shape
-    { name, -- named outright
-      ..
-    } = name
diff --git a/corpora/vendored/declaration/value/comment-on-record-wildcard.hs b/corpora/vendored/declaration/value/comment-on-record-wildcard.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/comment-on-record-wildcard.hs
+++ /dev/null
@@ -1,28 +0,0 @@
-{-# LANGUAGE RecordWildCards #-}
-
-wildcardAlone =
-  Shape
-    { .. -- whatever is in scope
-    }
-
-wildcardLast =
-  Shape
-    { name = "circle",
-      colour = Red,
-      .. -- and the radius comes from above
-    }
-
-wildcardWithARemarkAbove =
-  Shape
-    { name = "square",
-      -- the sides are already bound
-      .. -- so they need no mention
-    }
-
-wildcardInAPattern Shape {..} = name -- bound by the wildcard
-
-wildcardInAPatternWithFields
-  Shape
-    { name, -- named outright
-      ..
-    } = name
diff --git a/corpora/vendored/declaration/value/comment-under-the-last-guard-out.hs b/corpora/vendored/declaration/value/comment-under-the-last-guard-out.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/comment-under-the-last-guard-out.hs
+++ /dev/null
@@ -1,20 +0,0 @@
-module Tariff.Zone where
-
-zoneOf :: Double -> Int
-zoneOf distance = case distance of
-  d
-    | d > 10 -> 3
-    | d > 5 -> 2
-  -- short trips are all zone 1
-  _ -> 1
-
-fare :: Int -> Int
-fare zone
-  | zone > 2 = 4
-  | otherwise =
-      let base = 2
-       in base + zone
-  -- the base fare has not changed since the last review
-
-surcharge :: Int
-surcharge = 1
diff --git a/corpora/vendored/declaration/value/comment-under-the-last-guard.hs b/corpora/vendored/declaration/value/comment-under-the-last-guard.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/comment-under-the-last-guard.hs
+++ /dev/null
@@ -1,20 +0,0 @@
-module Tariff.Zone where
-
-zoneOf :: Double -> Int
-zoneOf distance = case distance of
-   d
-     | d > 10    -> 3
-     | d > 5     -> 2
-       -- short trips are all zone 1
-   _ -> 1
-
-fare :: Int -> Int
-fare zone
-    | zone > 2  = 4
-    | otherwise =
-        let base = 2
-         in base + zone
-    -- the base fare has not changed since the last review
-
-surcharge :: Int
-surcharge = 1
diff --git a/corpora/vendored/declaration/value/comments-before-the-equals-sign-out.hs b/corpora/vendored/declaration/value/comments-before-the-equals-sign-out.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/comments-before-the-equals-sign-out.hs
+++ /dev/null
@@ -1,12 +0,0 @@
--- Block comments written between what is defined and its equals sign stay
--- there, however many of them there are.
-summarized {- options -} {- tree -} =
-  foldr step []
-
-applied x {- before -} {- the sign -} =
-  x
-
-oneLine {- first -} {- second -} = 0
-
-several {- one -} {- two -} {- three -} =
-  ()
diff --git a/corpora/vendored/declaration/value/comments-before-the-equals-sign.hs b/corpora/vendored/declaration/value/comments-before-the-equals-sign.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/comments-before-the-equals-sign.hs
+++ /dev/null
@@ -1,12 +0,0 @@
--- Block comments written between what is defined and its equals sign stay
--- there, however many of them there are.
-summarized {- options -} {- tree -} =
-  foldr step []
-
-applied x {- before -} {- the sign -} =
-  x
-
-oneLine {- first -} {- second -} = 0
-
-several {- one -} {- two -} {- three -} =
-  ()
diff --git a/corpora/vendored/declaration/value/do-block-after-a-guard-out.hs b/corpora/vendored/declaration/value/do-block-after-a-guard-out.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/do-block-after-a-guard-out.hs
+++ /dev/null
@@ -1,46 +0,0 @@
-greet :: Maybe String -> IO ()
-greet name
-  | Just n <- name,
-    not (null n) = do
-      putStrLn "Hello,"
-      putStrLn n
-  | otherwise = pure ()
-
-describe :: Maybe Int -> IO ()
-describe x = case x of
-  Just n
-    | n > 0 -> do
-        print n
-        print (n * 2)
-  _ -> pure ()
-
-classify :: Int -> String
-classify n
-  | n > 0 = case n of
-      1 -> "one"
-      _ -> "many"
-  | otherwise = "none"
-
-withRemark :: Int -> IO ()
-withRemark n
-  | n > 0 = do -- only positive ones
-      print n
-      print n
-  | otherwise = pure ()
-
-withNote :: Int -> IO ()
-withNote n
-  | n > 0 =
-      -- only positive ones
-      do
-        print n
-        print n
-  | otherwise = pure ()
-
-withTwoRemarks :: Int -> IO ()
-withTwoRemarks n
-  | n > 0 = -- only positive ones
-      do -- twice
-        print n
-        print n
-  | otherwise = pure ()
diff --git a/corpora/vendored/declaration/value/do-block-after-a-guard.hs b/corpora/vendored/declaration/value/do-block-after-a-guard.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/do-block-after-a-guard.hs
+++ /dev/null
@@ -1,46 +0,0 @@
-greet :: Maybe String -> IO ()
-greet name
-  | Just n <- name
-  , not (null n)
-  = do putStrLn "Hello,"
-       putStrLn n
-  | otherwise = pure ()
-
-describe :: Maybe Int -> IO ()
-describe x = case x of
-  Just n
-    | n > 0
-    -> do print n
-          print (n * 2)
-  _ -> pure ()
-
-classify :: Int -> String
-classify n
-  | n > 0
-  = case n of
-      1 -> "one"
-      _ -> "many"
-  | otherwise = "none"
-
-withRemark :: Int -> IO ()
-withRemark n
-  | n > 0    -- only positive ones
-  = do print n
-       print n
-  | otherwise = pure ()
-
-withNote :: Int -> IO ()
-withNote n
-  | n > 0
-  -- only positive ones
-  = do print n
-       print n
-  | otherwise = pure ()
-
-withTwoRemarks :: Int -> IO ()
-withTwoRemarks n
-  | n > 0    -- only positive ones
-  = do       -- twice
-       print n
-       print n
-  | otherwise = pure ()
diff --git a/corpora/vendored/declaration/value/do-block-after-a-leading-dollar-out.hs b/corpora/vendored/declaration/value/do-block-after-a-leading-dollar-out.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/do-block-after-a-leading-dollar-out.hs
+++ /dev/null
@@ -1,19 +0,0 @@
-textRoundtrip :: IO ()
-textRoundtrip =
-  fmap id $
-    withConnection $ do
-      encode
-      decode
-
-roundtrip :: IO ()
-roundtrip =
-  withConnection $ do
-    encode
-    decode
-
-withRemark :: IO ()
-withRemark =
-  withConnection $ -- a fresh connection
-    do
-      encode
-      decode
diff --git a/corpora/vendored/declaration/value/do-block-after-a-leading-dollar.hs b/corpora/vendored/declaration/value/do-block-after-a-leading-dollar.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/do-block-after-a-leading-dollar.hs
+++ /dev/null
@@ -1,21 +0,0 @@
-textRoundtrip :: IO ()
-textRoundtrip =
-  fmap id
-    $ withConnection
-    $ do
-      encode
-      decode
-
-roundtrip :: IO ()
-roundtrip =
-  withConnection
-    $ do
-      encode
-      decode
-
-withRemark :: IO ()
-withRemark =
-  withConnection    -- a fresh connection
-    $ do
-      encode
-      decode
diff --git a/corpora/vendored/declaration/value/empty-case-out.hs b/corpora/vendored/declaration/value/empty-case-out.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/empty-case-out.hs
+++ /dev/null
@@ -1,7 +0,0 @@
-f x = case x of
-  {}
-
-g x =
-  case aScrutineeTooLongToKeepOnTheLineTheCaseOpensOn
-    anotherArgumentThatPushesItFurtherStillOverTheEdge of
-    {}
diff --git a/corpora/vendored/declaration/value/empty-case.hs b/corpora/vendored/declaration/value/empty-case.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/empty-case.hs
+++ /dev/null
@@ -1,6 +0,0 @@
-f x = case x of
-  {}
-
-g x =
-  case aScrutineeTooLongToKeepOnTheLineTheCaseOpensOn
-    anotherArgumentThatPushesItFurtherStillOverTheEdge of {}
diff --git a/corpora/vendored/declaration/value/fixity-local-to-a-binding-out.hs b/corpora/vendored/declaration/value/fixity-local-to-a-binding-out.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/fixity-local-to-a-binding-out.hs
+++ /dev/null
@@ -1,29 +0,0 @@
--- A fixity declared among local bindings decides the layout of the operator
--- they bind.
-module Setting.Fallback where
-
-import Text.Read (readMaybe)
-
-data Setting = Number Int | Switch Bool | Word String
-
-parsed :: String -> Maybe Setting
-parsed input =
-  Number
-    <$> readMaybe input
-    <!> Switch
-      <$> readMaybe input
-    <!> pure (Word input)
-  where
-    infixl 3 <!>
-    Nothing <!> y = y
-    x <!> _ = x
-
-firstOf :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int
-firstOf a b c =
-  let infixr 3 <!>
-      Nothing <!> y = y
-      x <!> _ = x
-   in negate
-        <$> a
-        <!> b
-        <!> c
diff --git a/corpora/vendored/declaration/value/fixity-local-to-a-binding.hs b/corpora/vendored/declaration/value/fixity-local-to-a-binding.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/fixity-local-to-a-binding.hs
+++ /dev/null
@@ -1,29 +0,0 @@
--- A fixity declared among local bindings decides the layout of the operator
--- they bind.
-module Setting.Fallback where
-
-import Text.Read (readMaybe)
-
-data Setting = Number Int | Switch Bool | Word String
-
-parsed :: String -> Maybe Setting
-parsed input =
-  Number
-    <$> readMaybe input
-      <!> Switch
-    <$> readMaybe input
-      <!> pure (Word input)
-  where
-    infixl 3 <!>
-    Nothing <!> y = y
-    x <!> _ = x
-
-firstOf :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int
-firstOf a b c =
-  let infixr 3 <!>
-      Nothing <!> y = y
-      x <!> _ = x
-   in negate
-        <$> a
-          <!> b
-          <!> c
diff --git a/corpora/vendored/declaration/value/fixity-without-a-precedence-out.hs b/corpora/vendored/declaration/value/fixity-without-a-precedence-out.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/fixity-without-a-precedence-out.hs
+++ /dev/null
@@ -1,24 +0,0 @@
-{-# LANGUAGE ExplicitNamespaces #-}
-
--- A fixity declaration written without a precedence stays without one.
-module Rope.Join where
-
-infixr `joinedTo`
-
-infixl 5 `besides`
-
-infix <~>, `against`
-
-infixr type :~
-
-class Splice r where
-  infixl `splice`
-  splice :: r -> r -> r
-
-data a :~ b = a :~ b
-
-joinedTo, besides, (<~>), against :: String -> String -> String
-joinedTo = (++)
-besides = (++)
-(<~>) = (++)
-against = (++)
diff --git a/corpora/vendored/declaration/value/fixity-without-a-precedence.hs b/corpora/vendored/declaration/value/fixity-without-a-precedence.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/fixity-without-a-precedence.hs
+++ /dev/null
@@ -1,21 +0,0 @@
-{-# LANGUAGE ExplicitNamespaces #-}
-
--- A fixity declaration written without a precedence stays without one.
-module Rope.Join where
-
-infixr `joinedTo`
-infixl 5 `besides`
-infix <~>, `against`
-infixr type :~
-
-class Splice r where
-  infixl `splice`
-  splice :: r -> r -> r
-
-data a :~ b = a :~ b
-
-joinedTo, besides, (<~>), against :: String -> String -> String
-joinedTo = (++)
-besides = (++)
-(<~>) = (++)
-against = (++)
diff --git a/corpora/vendored/declaration/value/function/arrow/case-after-an-arrow-application-out.hs b/corpora/vendored/declaration/value/function/arrow/case-after-an-arrow-application-out.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/function/arrow/case-after-an-arrow-application-out.hs
+++ /dev/null
@@ -1,16 +0,0 @@
-{-# LANGUAGE Arrows #-}
-
-module Cache.Refresh where
-
-refresh mode = proc key -> do
-  fresh <-
-    fetch
-      -< case key of
-        Pinned k -> k
-        Loose k -> normalise k
-  stale <-
-    key
-      >- case mode of
-        Eager -> fetchNow
-        Lazy -> fetchLater
-  returnA -< (fresh, stale)
diff --git a/corpora/vendored/declaration/value/function/arrow/case-after-an-arrow-application.hs b/corpora/vendored/declaration/value/function/arrow/case-after-an-arrow-application.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/function/arrow/case-after-an-arrow-application.hs
+++ /dev/null
@@ -1,12 +0,0 @@
-{-# LANGUAGE Arrows #-}
-
-module Cache.Refresh where
-
-refresh mode = proc key -> do
-  fresh <- fetch -< case key of
-    Pinned k -> k
-    Loose k -> normalise k
-  stale <- key >- case mode of
-    Eager -> fetchNow
-    Lazy -> fetchLater
-  returnA -< (fresh, stale)
diff --git a/corpora/vendored/declaration/value/function/arrow/comment-after-a-command-do-out.hs b/corpora/vendored/declaration/value/function/arrow/comment-after-a-command-do-out.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/function/arrow/comment-after-a-command-do-out.hs
+++ /dev/null
@@ -1,7 +0,0 @@
-{-# LANGUAGE Arrows #-}
-
-module Cache.Pipeline where
-
-widen f = proc entry -> do -- one stage at a time, so a failure names the stage
-  warmed <- f -< entry
-  returnA -< warmed
diff --git a/corpora/vendored/declaration/value/function/arrow/comment-after-a-command-do.hs b/corpora/vendored/declaration/value/function/arrow/comment-after-a-command-do.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/function/arrow/comment-after-a-command-do.hs
+++ /dev/null
@@ -1,7 +0,0 @@
-{-# LANGUAGE Arrows #-}
-
-module Cache.Pipeline where
-
-widen f = proc entry -> do -- one stage at a time, so a failure names the stage
-  warmed <- f -< entry
-  returnA -< warmed
diff --git a/corpora/vendored/declaration/value/function/arrow/comment-in-a-command-chain-out.hs b/corpora/vendored/declaration/value/function/arrow/comment-in-a-command-chain-out.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/function/arrow/comment-in-a-command-chain-out.hs
+++ /dev/null
@@ -1,9 +0,0 @@
-{-# LANGUAGE Arrows #-}
-
-module Cache.Lookup where
-
--- An operator written at the end of a line goes to the start of the next,
--- and a comment written after it stays with the operand it follows.
-fetch local remote = proc key ->
-  (local -< key) -- cheap when it hits
-    <+> (remote -< key)
diff --git a/corpora/vendored/declaration/value/function/arrow/comment-in-a-command-chain.hs b/corpora/vendored/declaration/value/function/arrow/comment-in-a-command-chain.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/function/arrow/comment-in-a-command-chain.hs
+++ /dev/null
@@ -1,8 +0,0 @@
-{-# LANGUAGE Arrows #-}
-
-module Cache.Lookup where
-
--- An operator written at the end of a line goes to the start of the next,
--- and a comment written after it stays with the operand it follows.
-fetch local remote = proc key -> (local -< key) <+> -- cheap when it hits
-  (remote -< key)
diff --git a/corpora/vendored/declaration/value/function/arrow/nested-block-braces-out.hs b/corpora/vendored/declaration/value/function/arrow/nested-block-braces-out.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/function/arrow/nested-block-braces-out.hs
+++ /dev/null
@@ -1,10 +0,0 @@
-{-# LANGUAGE Arrows #-}
-{-# LANGUAGE BlockArguments #-}
-
-module Circuit.Feed where
-
-feed = do step <- pure $ proc x -> do { returnA -< x }; run step
-
-relay = proc x -> do y <- send -< do { encode x }; returnA -< y
-
-echo = proc x -> do (\y -> send -< y) do { encode x }; returnA -< x
diff --git a/corpora/vendored/declaration/value/function/arrow/nested-block-braces.hs b/corpora/vendored/declaration/value/function/arrow/nested-block-braces.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/function/arrow/nested-block-braces.hs
+++ /dev/null
@@ -1,10 +0,0 @@
-{-# LANGUAGE Arrows #-}
-{-# LANGUAGE BlockArguments #-}
-
-module Circuit.Feed where
-
-feed = do { step <- pure $ proc x -> do { returnA -< x }; run step }
-
-relay = proc x -> do { y <- send -< do { encode x }; returnA -< y }
-
-echo = proc x -> do { (\y -> send -< y) do { encode x }; returnA -< x }
diff --git a/corpora/vendored/declaration/value/function/arrow/parenthesised-command-in-a-block-out.hs b/corpora/vendored/declaration/value/function/arrow/parenthesised-command-in-a-block-out.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/function/arrow/parenthesised-command-in-a-block-out.hs
+++ /dev/null
@@ -1,15 +0,0 @@
-{-# LANGUAGE Arrows #-}
-
-module Circuit.Gate where
-
-gate = proc signal -> do
-  ( case signal of
-      High -> open -< signal
-      Low -> shut -< signal
-    )
-  ( case signal of
-      High -> count -< 1
-      Low -> count -< 0
-    )
-    <+> (trace -< signal)
-  returnA -< signal
diff --git a/corpora/vendored/declaration/value/function/arrow/parenthesised-command-in-a-block.hs b/corpora/vendored/declaration/value/function/arrow/parenthesised-command-in-a-block.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/function/arrow/parenthesised-command-in-a-block.hs
+++ /dev/null
@@ -1,12 +0,0 @@
-{-# LANGUAGE Arrows #-}
-
-module Circuit.Gate where
-
-gate = proc signal -> do
-  (case signal of
-     High -> open -< signal
-     Low -> shut -< signal)
-  (case signal of
-     High -> count -< 1
-     Low -> count -< 0) <+> (trace -< signal)
-  returnA -< signal
diff --git a/corpora/vendored/declaration/value/function/block-before-a-signature-out.hs b/corpora/vendored/declaration/value/function/block-before-a-signature-out.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/function/block-before-a-signature-out.hs
+++ /dev/null
@@ -1,32 +0,0 @@
-{-# LANGUAGE BlockArguments #-}
-{-# LANGUAGE LambdaCase #-}
-
-module M where
-
-a = do { pure () } :: IO ()
-
-b = (case x of { A -> y } :: T)
-
-c = run do { x } :: IO ()
-
-d = x <> do { y } :: T
-
-e = \case { A -> y } :: T -> U
-
-f =
-  do
-    x
-    y
-  :: IO ()
-
-g =
-  run do
-    x
-    y
-  :: IO ()
-
-h =
-  f
-    x
-    y ::
-    Int
diff --git a/corpora/vendored/declaration/value/function/block-before-a-signature.hs b/corpora/vendored/declaration/value/function/block-before-a-signature.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/function/block-before-a-signature.hs
+++ /dev/null
@@ -1,32 +0,0 @@
-{-# LANGUAGE BlockArguments #-}
-{-# LANGUAGE LambdaCase #-}
-
-module M where
-
-a = do { pure () } :: IO ()
-
-b = (case x of { A -> y } :: T)
-
-c = run do { x } :: IO ()
-
-d = x <> do { y } :: T
-
-e = \case { A -> y } :: T -> U
-
-f =
-  do
-    x
-    y
-    :: IO ()
-
-g =
-  run do
-    x
-    y
-    :: IO ()
-
-h =
-  f
-    x
-    y ::
-    Int
diff --git a/corpora/vendored/declaration/value/function/do-block-before-an-operator-out.hs b/corpora/vendored/declaration/value/function/do-block-before-an-operator-out.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/function/do-block-before-an-operator-out.hs
+++ /dev/null
@@ -1,19 +0,0 @@
-module Spec where
-
-spec :: IO ()
-spec = do
-  it "adds" $ do
-    sum $ do
-      [1, 2]
-    `shouldBe` 3
-
-  it "adds, written broken" $
-    do
-      sum $ do
-        [1, 2]
-      `shouldBe` 3
-
-recovered :: IO ()
-recovered = when ready $ do
-  run
-  `catch` handler
diff --git a/corpora/vendored/declaration/value/function/do-block-before-an-operator.hs b/corpora/vendored/declaration/value/function/do-block-before-an-operator.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/function/do-block-before-an-operator.hs
+++ /dev/null
@@ -1,19 +0,0 @@
-module Spec where
-
-spec :: IO ()
-spec = do
-  it "adds" $ do
-    sum $ do
-      [1, 2]
-    `shouldBe` 3
-
-  it "adds, written broken" $
-    do
-      sum $ do
-        [1, 2]
-      `shouldBe` 3
-
-recovered :: IO ()
-recovered = when ready $ do
-  run
-  `catch` handler
diff --git a/corpora/vendored/declaration/value/function/let-chain-out.hs b/corpora/vendored/declaration/value/function/let-chain-out.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/function/let-chain-out.hs
+++ /dev/null
@@ -1,25 +0,0 @@
-module Kiln.Glaze where
-
--- A let ending its line with in, and followed by another let, keeps that
--- line, and the next let goes under it; the last one is laid out as usual.
-glaze :: Int -> (Int, Int)
-glaze x =
-  -- Count the first one:
-  let a = x + 1 in
-  let b = a * 2; c = b + 1 in
-  -- Then the second:
-  let d = c - 1
-   in (a, d)
-
--- Written all on one line, the chain stays on it.
-fire :: Int -> Int
-fire x = let a = x + 1 in let b = a * 2 in a + b
-
--- A let whose bindings take several lines chains the same way where its in
--- ends the last of them.
-cool :: Int -> Int
-cool x =
-  let a = x + 1
-      b = a * 2 in
-  let c = a + b
-   in c
diff --git a/corpora/vendored/declaration/value/function/let-chain.hs b/corpora/vendored/declaration/value/function/let-chain.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/function/let-chain.hs
+++ /dev/null
@@ -1,25 +0,0 @@
-module Kiln.Glaze where
-
--- A let ending its line with in, and followed by another let, keeps that
--- line, and the next let goes under it; the last one is laid out as usual.
-glaze :: Int -> (Int, Int)
-glaze x =
-  -- Count the first one:
-  let a = x + 1 in
-  let b = a * 2; c = b + 1 in
-  -- Then the second:
-  let d = c - 1 in
-  (a, d)
-
--- Written all on one line, the chain stays on it.
-fire :: Int -> Int
-fire x = let a = x + 1 in let b = a * 2 in a + b
-
--- A let whose bindings take several lines chains the same way where its in
--- ends the last of them.
-cool :: Int -> Int
-cool x =
-  let a = x + 1
-      b = a * 2 in
-  let c = a + b in
-  c
diff --git a/corpora/vendored/declaration/value/function/nested-block-braces-out.hs b/corpora/vendored/declaration/value/function/nested-block-braces-out.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/function/nested-block-braces-out.hs
+++ /dev/null
@@ -1,21 +0,0 @@
-{-# LANGUAGE BlockArguments #-}
-{-# LANGUAGE RecursiveDo #-}
-{-# LANGUAGE StaticPointers #-}
-
-module Journal.Replay where
-
-replay = do entry <- do { readEntry }; apply entry
-
-retry lock = do withLock lock do { flush }; release lock
-
-warnUnless quiet = do unless quiet if loud then shout else do { warn }; finish
-
-restore = mdo rec { ref <- do { newRef cell }; cell <- load ref }; pure cell
-
-pick mode = case mode of Eager -> run do { fetch }; Lazy -> defer
-
-settle = let first = run do { fetch }; rest = defer in first
-
-profile = do {-# SCC "flush" #-} do { flush }; report
-
-pointer = do static do { flush }; report
diff --git a/corpora/vendored/declaration/value/function/nested-block-braces.hs b/corpora/vendored/declaration/value/function/nested-block-braces.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/function/nested-block-braces.hs
+++ /dev/null
@@ -1,21 +0,0 @@
-{-# LANGUAGE BlockArguments #-}
-{-# LANGUAGE RecursiveDo #-}
-{-# LANGUAGE StaticPointers #-}
-
-module Journal.Replay where
-
-replay = do { entry <- do { readEntry }; apply entry }
-
-retry lock = do { withLock lock do { flush }; release lock }
-
-warnUnless quiet = do { unless quiet if loud then shout else do { warn }; finish }
-
-restore = mdo { rec { ref <- do { newRef cell }; cell <- load ref }; pure cell }
-
-pick mode = case mode of { Eager -> run do { fetch }; Lazy -> defer }
-
-settle = let { first = run do { fetch }; rest = defer } in first
-
-profile = do { {-# SCC "flush" #-} do { flush }; report }
-
-pointer = do { static do { flush }; report }
diff --git a/corpora/vendored/declaration/value/function/record-pattern-braces-out.hs b/corpora/vendored/declaration/value/function/record-pattern-braces-out.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/function/record-pattern-braces-out.hs
+++ /dev/null
@@ -1,23 +0,0 @@
-{-# LANGUAGE LambdaCase #-}
-{-# LANGUAGE NamedFieldPuns #-}
-{-# LANGUAGE RecordWildCards #-}
-
-weight Letter{letterWeight} = letterWeight
-weight Box{boxWeight = w, ..} = if boxFragile then w + 1 else w
-weight Pallet{} = 0
-
-isLetter = \case Letter{} -> True; _ -> False
-
-heavier = \cases Box{boxWeight = a} Box{boxWeight = b} -> a > b; _ _ -> False
-
-describe p@Pallet{palletCrates = Crate{crateCount} : _} = (p, crateCount)
-
-counted crate = case crate of
-  Crate{crateCount = 0} -> "empty"
-  Crate{..} -> show crateCount
-
-unwrap
-  Pallet
-    { palletCrates,
-      palletWrapped = True
-    } = palletCrates
diff --git a/corpora/vendored/declaration/value/function/record-pattern-braces.hs b/corpora/vendored/declaration/value/function/record-pattern-braces.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/function/record-pattern-braces.hs
+++ /dev/null
@@ -1,21 +0,0 @@
-{-# LANGUAGE LambdaCase #-}
-{-# LANGUAGE NamedFieldPuns #-}
-{-# LANGUAGE RecordWildCards #-}
-
-weight Letter {letterWeight} = letterWeight
-weight Box {boxWeight = w, ..} = if boxFragile then w + 1 else w
-weight Pallet {} = 0
-
-isLetter = \case Letter {} -> True; _ -> False
-
-heavier = \cases Box {boxWeight = a} Box {boxWeight = b} -> a > b; _ _ -> False
-
-describe p@Pallet {palletCrates = Crate {crateCount} : _} = (p, crateCount)
-
-counted crate = case crate of
-  Crate {crateCount = 0} -> "empty"
-  Crate {..} -> show crateCount
-
-unwrap Pallet {
-  palletCrates,
-  palletWrapped = True } = palletCrates
diff --git a/corpora/vendored/declaration/value/inlinable-spelled-as-written-out.hs b/corpora/vendored/declaration/value/inlinable-spelled-as-written-out.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/inlinable-spelled-as-written-out.hs
+++ /dev/null
@@ -1,9 +0,0 @@
-module Data.Ring (add, scale) where
-
-add :: (Num a) => a -> a -> a
-add = (+)
-{-# INLINABLE add #-}
-
-scale :: (Num a) => a -> a -> a
-scale = (*)
-{-# INLINEABLE scale #-}
diff --git a/corpora/vendored/declaration/value/inlinable-spelled-as-written.hs b/corpora/vendored/declaration/value/inlinable-spelled-as-written.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/inlinable-spelled-as-written.hs
+++ /dev/null
@@ -1,9 +0,0 @@
-module Data.Ring (add, scale) where
-
-add :: (Num a) => a -> a -> a
-add = (+)
-{-# INLINABLE add #-}
-
-scale :: (Num a) => a -> a -> a
-scale = (*)
-{-# INLINEABLE scale #-}
diff --git a/corpora/vendored/declaration/value/layout-as-written-out.hs b/corpora/vendored/declaration/value/layout-as-written-out.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/layout-as-written-out.hs
+++ /dev/null
@@ -1,8 +0,0 @@
-module M where
-
-onOneLine x = (x, x)
-
-spreadOut x =
-  ( x,
-    x
-  )
diff --git a/corpora/vendored/declaration/value/layout-as-written.hs b/corpora/vendored/declaration/value/layout-as-written.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/layout-as-written.hs
+++ /dev/null
@@ -1,8 +0,0 @@
-module M where
-
-onOneLine x = (x, x)
-
-spreadOut x =
-  ( x,
-    x
-  )
diff --git a/corpora/vendored/declaration/value/list-pattern-written-across-lines-in-a-guard-out.hs b/corpora/vendored/declaration/value/list-pattern-written-across-lines-in-a-guard-out.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/list-pattern-written-across-lines-in-a-guard-out.hs
+++ /dev/null
@@ -1,23 +0,0 @@
-primitives :: [Maybe Int] -> Int
-primitives args = case () of
-  _
-    | [ Just a,
-        Just b
-      ] <- args ->
-        a + b
-    | otherwise -> 0
-
-hdlTemplate :: [Maybe Int] -> Int
-hdlTemplate args
-  | [ Just a,
-      Just b
-    ] <- args =
-      a + b
-  | otherwise = 0
-
-fromArguments :: IO [Maybe Int] -> IO Int
-fromArguments getArgs = do
-  [ Just a,
-    Just b
-    ] <- getArgs
-  pure (a + b)
diff --git a/corpora/vendored/declaration/value/list-pattern-written-across-lines-in-a-guard.hs b/corpora/vendored/declaration/value/list-pattern-written-across-lines-in-a-guard.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/list-pattern-written-across-lines-in-a-guard.hs
+++ /dev/null
@@ -1,22 +0,0 @@
-primitives :: [Maybe Int] -> Int
-primitives args = case () of
-  _
-    | [ Just a
-      , Just b
-      ] <- args
-    -> a + b
-    | otherwise -> 0
-
-hdlTemplate :: [Maybe Int] -> Int
-hdlTemplate args
-  | [ Just a
-    , Just b
-    ] <- args = a + b
-  | otherwise = 0
-
-fromArguments :: IO [Maybe Int] -> IO Int
-fromArguments getArgs = do
-  [ Just a
-    , Just b
-    ] <- getArgs
-  pure (a + b)
diff --git a/corpora/vendored/declaration/value/operand-beginning-with-a-symbol-out.hs b/corpora/vendored/declaration/value/operand-beginning-with-a-symbol-out.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/operand-beginning-with-a-symbol-out.hs
+++ /dev/null
@@ -1,27 +0,0 @@
-{-# LANGUAGE ImplicitParams #-}
-{-# LANGUAGE MagicHash #-}
-{-# LANGUAGE NegativeLiterals #-}
-{-# LANGUAGE OverloadedLabels #-}
-{-# LANGUAGE TemplateHaskell #-}
-
--- A prefix minus or a backslash stays apart from what follows it where that
--- begins with a symbol character, as the two would read as one operator.
-module Ledger.Balance where
-
-debit = - ?amount
-
-credit = - ?rate * ?amount
-
-refund = - #total
-
-drift = - ?rate interval
-
-offset = - $(lookupOffset)
-
-typedOffset = - $$(lookupOffset)
-
-spliced = - $offset
-
-parity = map (\ -1 -> 0) readings
-
-unboxed = \ -1# -> 0#
diff --git a/corpora/vendored/declaration/value/operand-beginning-with-a-symbol.hs b/corpora/vendored/declaration/value/operand-beginning-with-a-symbol.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/operand-beginning-with-a-symbol.hs
+++ /dev/null
@@ -1,27 +0,0 @@
-{-# LANGUAGE ImplicitParams #-}
-{-# LANGUAGE MagicHash #-}
-{-# LANGUAGE NegativeLiterals #-}
-{-# LANGUAGE OverloadedLabels #-}
-{-# LANGUAGE TemplateHaskell #-}
-
--- A prefix minus or a backslash stays apart from what follows it where that
--- begins with a symbol character, as the two would read as one operator.
-module Ledger.Balance where
-
-debit = - ?amount
-
-credit = - ?rate * ?amount
-
-refund = - #total
-
-drift = - ?rate interval
-
-offset = - $(lookupOffset)
-
-typedOffset = - $$(lookupOffset)
-
-spliced = - $offset
-
-parity = map (\ -1 -> 0) readings
-
-unboxed = \ -1# -> 0#
diff --git a/corpora/vendored/declaration/value/operator-beginning-with-a-hash-out.hs b/corpora/vendored/declaration/value/operator-beginning-with-a-hash-out.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/operator-beginning-with-a-hash-out.hs
+++ /dev/null
@@ -1,23 +0,0 @@
-{-# LANGUAGE UnboxedTuples #-}
-
--- With unboxed tuples on, an operator that begins with # keeps the space
--- after an opening parenthesis, and # alone the space before a closing one,
--- so that neither reads as half of an unboxed tuple.
-module Builder.Append
-  ( ( #<| ),
-    (<|#),
-    ( # ),
-    prepended,
-  )
-where
-
-( #<| ), (<|#), ( # ) :: String -> String -> String
-x #<| y = x ++ y
-x <|# y = y ++ x
-x # y = x ++ " " ++ y
-
-infixr 5 #<|
-
-prepended :: [String] -> [String]
-prepended =
-  map ( #<| "!") . map ("?" <|#) . map ("a" # ) . foldr (( #<| ) . pure) []
diff --git a/corpora/vendored/declaration/value/operator-beginning-with-a-hash.hs b/corpora/vendored/declaration/value/operator-beginning-with-a-hash.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/operator-beginning-with-a-hash.hs
+++ /dev/null
@@ -1,23 +0,0 @@
-{-# LANGUAGE UnboxedTuples #-}
-
--- With unboxed tuples on, an operator that begins with # keeps the space
--- after an opening parenthesis, and # alone the space before a closing one,
--- so that neither reads as half of an unboxed tuple.
-module Builder.Append
-  ( ( #<| ),
-    (<|#),
-    ( # ),
-    prepended,
-  )
-where
-
-( #<| ), (<|#), ( # ) :: String -> String -> String
-x #<| y = x ++ y
-x <|# y = y ++ x
-x # y = x ++ " " ++ y
-
-infixr 5 #<|
-
-prepended :: [String] -> [String]
-prepended =
-  map ( #<| "!") . map ("?" <|#) . map ("a" # ) . foldr (( #<| ) . pure) []
diff --git a/corpora/vendored/declaration/value/operator-chain-precedence-out.hs b/corpora/vendored/declaration/value/operator-chain-precedence-out.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/operator-chain-precedence-out.hs
+++ /dev/null
@@ -1,25 +0,0 @@
-infixl 2 `stackOn`
-
-infix 9 `keyedBy`
-
-infixr 1 `orElse`
-
-onOneLine = base `stackOn` middle `keyedBy` name
-
-tighterOperatorNestsUnderLooser =
-  base
-    `stackOn` middle
-      `keyedBy` name
-
-behindADollar =
-  render $
-    base
-      `stackOn` middle
-        `keyedBy` name
-
-oneLevelStaysFlat = first `orElse` second `orElse` third
-
-oneLevelStaysFlatWhenSpread =
-  first
-    `orElse` second
-    `orElse` third
diff --git a/corpora/vendored/declaration/value/operator-chain-precedence.hs b/corpora/vendored/declaration/value/operator-chain-precedence.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/operator-chain-precedence.hs
+++ /dev/null
@@ -1,21 +0,0 @@
-infixl 2 `stackOn`
-
-infix 9 `keyedBy`
-
-infixr 1 `orElse`
-
-onOneLine = base `stackOn` middle `keyedBy` name
-
-tighterOperatorNestsUnderLooser = base
-  `stackOn` middle
-  `keyedBy` name
-
-behindADollar = render $ base
-  `stackOn` middle
-  `keyedBy` name
-
-oneLevelStaysFlat = first `orElse` second `orElse` third
-
-oneLevelStaysFlatWhenSpread = first
-  `orElse` second
-  `orElse` third
diff --git a/corpora/vendored/declaration/value/operator-chains-out.hs b/corpora/vendored/declaration/value/operator-chains-out.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/operator-chains-out.hs
+++ /dev/null
@@ -1,18 +0,0 @@
-module M where
-
-atTheLoosest =
-  a * b
-    + c * d
-
-capturedLocally =
-  a
-    * b
-      + c
-    * d
-  where
-    infixl 8 +
-    x + y = x
-
-blockHandedOn = g $ do
-  h
-  i
diff --git a/corpora/vendored/declaration/value/operator-chains.hs b/corpora/vendored/declaration/value/operator-chains.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/operator-chains.hs
+++ /dev/null
@@ -1,16 +0,0 @@
-module M where
-
-atTheLoosest =
-  a * b
-    + c * d
-
-capturedLocally =
-  a * b
-    + c * d
-  where
-    infixl 8 +
-    x + y = x
-
-blockHandedOn = g $ do
-  h
-  i
diff --git a/corpora/vendored/declaration/value/or-pattern-written-across-lines-out.hs b/corpora/vendored/declaration/value/or-pattern-written-across-lines-out.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/or-pattern-written-across-lines-out.hs
+++ /dev/null
@@ -1,29 +0,0 @@
-{-# LANGUAGE OrPatterns #-}
-
-module Shape.Corners where
-
-hasCorners :: Shape -> Bool
-hasCorners s = case s of
-  ( Square;
-    Triangle
-    ) -> True
-  _ -> False
-
-startsWithCorners :: [Shape] -> Bool
-startsWithCorners
-  ( ( Square;
-      Triangle
-      )
-      : _
-    ) = True
-startsWithCorners _ = False
-
-isFlat :: Shape -> Bool
-isFlat s = case s of
-  Line
-  Point -> True
-  _ -> False
-
-isRound :: Shape -> Bool
-isRound (Circle; Ellipse) = True
-isRound _ = False
diff --git a/corpora/vendored/declaration/value/or-pattern-written-across-lines.hs b/corpora/vendored/declaration/value/or-pattern-written-across-lines.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/or-pattern-written-across-lines.hs
+++ /dev/null
@@ -1,24 +0,0 @@
-{-# LANGUAGE OrPatterns #-}
-
-module Shape.Corners where
-
-hasCorners :: Shape -> Bool
-hasCorners s = case s of
-  (Square;
-   Triangle) -> True
-  _ -> False
-
-startsWithCorners :: [Shape] -> Bool
-startsWithCorners ((Square;
-                    Triangle) : _) = True
-startsWithCorners _ = False
-
-isFlat :: Shape -> Bool
-isFlat s = case s of
-  Line
-  Point -> True
-  _ -> False
-
-isRound :: Shape -> Bool
-isRound (Circle; Ellipse) = True
-isRound _ = False
diff --git a/corpora/vendored/declaration/value/pattern-synonym-record-braces-out.hs b/corpora/vendored/declaration/value/pattern-synonym-record-braces-out.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/pattern-synonym-record-braces-out.hs
+++ /dev/null
@@ -1,16 +0,0 @@
-{-# LANGUAGE PatternSynonyms #-}
-{-# LANGUAGE ViewPatterns #-}
-
-pattern Pair{left, right} = (left, right)
-
-pattern Dozen{dozenSku} <- Crate dozenSku 12
-  where
-    Dozen s = Crate s 12
-
-pattern Named{named} <- (lookupName -> Just named)
-
-pattern Spanning
-  { spanFrom,
-    spanTo
-  } =
-  Range spanFrom spanTo
diff --git a/corpora/vendored/declaration/value/pattern-synonym-record-braces.hs b/corpora/vendored/declaration/value/pattern-synonym-record-braces.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/pattern-synonym-record-braces.hs
+++ /dev/null
@@ -1,14 +0,0 @@
-{-# LANGUAGE PatternSynonyms #-}
-{-# LANGUAGE ViewPatterns #-}
-
-pattern Pair {left, right} = (left, right)
-
-pattern Dozen {dozenSku} <- Crate dozenSku 12
-  where
-    Dozen s = Crate s 12
-
-pattern Named {named} <- (lookupName -> Just named)
-
-pattern Spanning {
-  spanFrom,
-  spanTo } = Range spanFrom spanTo
diff --git a/corpora/vendored/declaration/value/quasi-quotation-written-across-lines-out.hs b/corpora/vendored/declaration/value/quasi-quotation-written-across-lines-out.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/quasi-quotation-written-across-lines-out.hs
+++ /dev/null
@@ -1,25 +0,0 @@
-{-# LANGUAGE QuasiQuotes #-}
-
-exceptions :: [String] -> String
-exceptions es = [i|
-    Encountered one or more exceptions.
-  |] <> concat es
-
-unexpected :: Int -> Maybe String
-unexpected sp = Just (render sp [i|
-    Something went wrong.
-  |] Nothing)
-
-checked :: IO ()
-checked = withMessage [i|
-    Checking.
-  |] $ do
-  check
-  report
-
-check :: Int
-check = 1
-{-# ANN check (Prim [Verilog, VHDL] [i|
-  BlackBox:
-    name: check
-  |]) #-}
diff --git a/corpora/vendored/declaration/value/quasi-quotation-written-across-lines.hs b/corpora/vendored/declaration/value/quasi-quotation-written-across-lines.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/quasi-quotation-written-across-lines.hs
+++ /dev/null
@@ -1,25 +0,0 @@
-{-# LANGUAGE QuasiQuotes #-}
-
-exceptions :: [String] -> String
-exceptions es = [i|
-    Encountered one or more exceptions.
-  |] <> concat es
-
-unexpected :: Int -> Maybe String
-unexpected sp = Just (render sp [i|
-    Something went wrong.
-  |] Nothing)
-
-checked :: IO ()
-checked = withMessage [i|
-    Checking.
-  |] $ do
-  check
-  report
-
-check :: Int
-check = 1
-{-# ANN check (Prim [Verilog, VHDL] [i|
-  BlackBox:
-    name: check
-  |]) #-}
diff --git a/corpora/vendored/declaration/value/quotation-ending-with-a-symbol-out.hs b/corpora/vendored/declaration/value/quotation-ending-with-a-symbol-out.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/quotation-ending-with-a-symbol-out.hs
+++ /dev/null
@@ -1,17 +0,0 @@
-{-# LANGUAGE TemplateHaskell #-}
-
--- A quotation whose body may end with a symbol character keeps a space
--- inside each bracket, as the closing one would read as part of an operator.
-module Chain.Quoted where
-
-fixities = [d| infixl 6 +++ |]
-
-method = [d| class Joinable a where infixr 5 <+> |]
-
-local = [d| joined = x +++ y where infixl 6 +++ |]
-
-kinded = [| Proxy :: Proxy * |]
-
-typedKinded = [|| Proxy :: Proxy * ||]
-
-plain = [d|joined = x ++ y|]
diff --git a/corpora/vendored/declaration/value/quotation-ending-with-a-symbol.hs b/corpora/vendored/declaration/value/quotation-ending-with-a-symbol.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/quotation-ending-with-a-symbol.hs
+++ /dev/null
@@ -1,17 +0,0 @@
-{-# LANGUAGE TemplateHaskell #-}
-
--- A quotation whose body may end with a symbol character keeps a space
--- inside each bracket, as the closing one would read as part of an operator.
-module Chain.Quoted where
-
-fixities = [d| infixl 6 +++ |]
-
-method = [d| class Joinable a where infixr 5 <+> |]
-
-local = [d| joined = x +++ y where infixl 6 +++ |]
-
-kinded = [| Proxy :: Proxy * |]
-
-typedKinded = [|| Proxy :: Proxy * ||]
-
-plain = [d| joined = x ++ y |]
diff --git a/corpora/vendored/declaration/value/quoted-type-arguments-out.hs b/corpora/vendored/declaration/value/quoted-type-arguments-out.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/quoted-type-arguments-out.hs
+++ /dev/null
@@ -1,36 +0,0 @@
-{-# LANGUAGE LinearTypes #-}
-{-# LANGUAGE RequiredTypeArguments #-}
-{-# LANGUAGE UnicodeSyntax #-}
-
-plain = describe (Bool)
-
-arrow = describe (Char -> Bool)
-
-quantified = describe (forall k. Holder k)
-
-constrained = describe ((Readable r) => r)
-
-constrainedTwice = describe ((Readable r, Countable r) => r)
-
-linear = describe (Char %1 -> Bool)
-
-linearUnicode = describe (Char %1 -> Bool)
-
-multiplicity = describe (forall n. Char %n -> Bool)
-
-wrapped =
-  describe
-    ( ( forall k.
-        Holder k
-      )
-    )
-
-sprawling =
-  describe
-    ( forall k n.
-      (Readable k, Countable k) =>
-      Holder k %n ->
-      Maybe
-        (Char, Word) %1 ->
-      Text
-    )
diff --git a/corpora/vendored/declaration/value/quoted-type-arguments.hs b/corpora/vendored/declaration/value/quoted-type-arguments.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/quoted-type-arguments.hs
+++ /dev/null
@@ -1,32 +0,0 @@
-{-# LANGUAGE LinearTypes #-}
-{-# LANGUAGE RequiredTypeArguments #-}
-{-# LANGUAGE UnicodeSyntax #-}
-
-plain = describe (Bool)
-
-arrow = describe (Char -> Bool)
-
-quantified = describe (forall k. Holder k)
-
-constrained = describe (Readable r => r)
-
-constrainedTwice = describe ((Readable r, Countable r) => r)
-
-linear = describe (Char %1 -> Bool)
-
-linearUnicode = describe (Char ⊸ Bool)
-
-multiplicity = describe (forall n. Char %n -> Bool)
-
-wrapped =
-  describe
-    ( ( forall k.
-          Holder k
-      )
-    )
-
-sprawling = describe (forall k n. (Readable k, Countable k)
-    => Holder k
-    %n -> Maybe
-        (Char , Word)
-    ⊸ Text)
diff --git a/corpora/vendored/declaration/value/record-construction-braces-out.hs b/corpora/vendored/declaration/value/record-construction-braces-out.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/record-construction-braces-out.hs
+++ /dev/null
@@ -1,26 +0,0 @@
-{-# LANGUAGE NamedFieldPuns #-}
-{-# LANGUAGE RecordWildCards #-}
-
-emptyCrate = Crate{crateSku = Sku "none", crateCount = 0}
-
-unknownCrate = Crate{}
-
-crateOf crateSku crateCount = Crate{crateSku, crateCount}
-
-crateHere = let crateSku = Sku "here"; crateCount = 1 in Crate{..}
-
-weighted = Scale{(<+>) = (+), unit = 0}
-
-qualified = Inventory.Crate{Inventory.crateCount = 2, ..}
-  where
-    crateSku = Sku "q"
-
-nested = Pallet{palletCrates = [Crate{crateSku = Sku "a", crateCount = 1}], palletWrapped = True}
-
-argument = ship Letter{letterWeight = 20} (Sku "b")
-
-tall =
-  Box
-    { boxWeight = 12,
-      boxFragile = False
-    }
diff --git a/corpora/vendored/declaration/value/record-construction-braces.hs b/corpora/vendored/declaration/value/record-construction-braces.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/record-construction-braces.hs
+++ /dev/null
@@ -1,24 +0,0 @@
-{-# LANGUAGE NamedFieldPuns #-}
-{-# LANGUAGE RecordWildCards #-}
-
-emptyCrate = Crate {crateSku = Sku "none", crateCount = 0}
-
-unknownCrate = Crate {}
-
-crateOf crateSku crateCount = Crate {crateSku, crateCount}
-
-crateHere = let crateSku = Sku "here"; crateCount = 1 in Crate {..}
-
-weighted = Scale {(<+>) = (+), unit = 0}
-
-qualified = Inventory.Crate {Inventory.crateCount = 2, ..}
-  where
-    crateSku = Sku "q"
-
-nested = Pallet {palletCrates = [Crate {crateSku = Sku "a", crateCount = 1}], palletWrapped = True}
-
-argument = ship Letter {letterWeight = 20} (Sku "b")
-
-tall = Box {
-  boxWeight = 12,
-  boxFragile = False }
diff --git a/corpora/vendored/declaration/value/record-update-braces-out.hs b/corpora/vendored/declaration/value/record-update-braces-out.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/record-update-braces-out.hs
+++ /dev/null
@@ -1,22 +0,0 @@
-{-# LANGUAGE OverloadedRecordDot #-}
-{-# LANGUAGE OverloadedRecordUpdate #-}
-
-restock c = c{crateCount = crateCount c + 10}
-
-emptied = (restock emptyCrate){crateCount = 0}
-
-twice c = c{crateCount = 1}{crateSku = Sku "x"}
-
-relabel = map (\c -> c{crateSku = Sku "y"}) . filter ((> 0) . crateCount) -- keep the full ones
-
-clear c = c{}
-
-deep m = m{origin.city = "Lyon", origin.postcode}
-
-byOperator s = s{(<+>) = max}
-
-spread c =
-  c
-    { crateCount = 3,
-      crateSku = Sku "z"
-    }
diff --git a/corpora/vendored/declaration/value/record-update-braces.hs b/corpora/vendored/declaration/value/record-update-braces.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/record-update-braces.hs
+++ /dev/null
@@ -1,20 +0,0 @@
-{-# LANGUAGE OverloadedRecordDot #-}
-{-# LANGUAGE OverloadedRecordUpdate #-}
-
-restock c = c {crateCount = crateCount c + 10}
-
-emptied = (restock emptyCrate) {crateCount = 0}
-
-twice c = c {crateCount = 1} {crateSku = Sku "x"}
-
-relabel = map (\c -> c {crateSku = Sku "y"}) . filter ((> 0) . crateCount) -- keep the full ones
-
-clear c = c {}
-
-deep m = m {origin.city = "Lyon", origin.postcode}
-
-byOperator s = s {(<+>) = max}
-
-spread c = c {
-  crateCount = 3,
-  crateSku = Sku "z" }
diff --git a/corpora/vendored/declaration/value/signature-for-several-names-out.hs b/corpora/vendored/declaration/value/signature-for-several-names-out.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/signature-for-several-names-out.hs
+++ /dev/null
@@ -1,25 +0,0 @@
-{-# LANGUAGE PatternSynonyms #-}
-
-module Gears.Shift where
-
-shiftUp, shiftDown, skipUp, skipDown ::
-  forall n. Int -> n -> Int -> n
-shiftUp = undefined
-shiftDown = undefined
-skipUp = undefined
-skipDown = undefined
-
-lowGear,
-  highGear ::
-    Int
-lowGear = 1
-highGear = 5
-
-class Gearbox g where
-  engage, release ::
-    g -> g
-
-pattern Neutral, Reverse ::
-  Int
-pattern Neutral = 0
-pattern Reverse = -1
diff --git a/corpora/vendored/declaration/value/signature-for-several-names.hs b/corpora/vendored/declaration/value/signature-for-several-names.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/signature-for-several-names.hs
+++ /dev/null
@@ -1,25 +0,0 @@
-{-# LANGUAGE PatternSynonyms #-}
-
-module Gears.Shift where
-
-shiftUp, shiftDown, skipUp, skipDown
-  :: forall n . Int -> n -> Int -> n
-shiftUp = undefined
-shiftDown = undefined
-skipUp = undefined
-skipDown = undefined
-
-lowGear,
-  highGear
-  :: Int
-lowGear = 1
-highGear = 5
-
-class Gearbox g where
-  engage, release
-    :: g -> g
-
-pattern Neutral, Reverse
-  :: Int
-pattern Neutral = 0
-pattern Reverse = -1
diff --git a/corpora/vendored/declaration/value/specialise-spelled-as-written-out.hs b/corpora/vendored/declaration/value/specialise-spelled-as-written-out.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/specialise-spelled-as-written-out.hs
+++ /dev/null
@@ -1,21 +0,0 @@
-module Data.Ring (add, scale, Ring (..)) where
-
-add :: (Num a) => a -> a -> a
-add = (+)
-{-# SPECIALISE add :: Int -> Int -> Int #-}
-{-# SPECIALIZE add :: Double -> Double -> Double #-}
-
-scale :: (Num a) => a -> a -> a
-scale = (*)
-{-# SPECIALISE INLINE scale :: Int -> Int -> Int #-}
-{-# SPECIALIZE NOINLINE scale :: Double -> Double -> Double #-}
-
-newtype Ring a = Ring a
-
-instance (Eq a) => Eq (Ring a) where
-  {-# SPECIALISE instance Eq (Ring Int) #-}
-  Ring a == Ring b = a == b
-
-instance (Ord a) => Ord (Ring a) where
-  {-# SPECIALIZE instance Ord (Ring Int) #-}
-  compare (Ring a) (Ring b) = compare a b
diff --git a/corpora/vendored/declaration/value/specialise-spelled-as-written.hs b/corpora/vendored/declaration/value/specialise-spelled-as-written.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/specialise-spelled-as-written.hs
+++ /dev/null
@@ -1,21 +0,0 @@
-module Data.Ring (add, scale, Ring (..)) where
-
-add :: (Num a) => a -> a -> a
-add = (+)
-{-# SPECIALISE add :: Int -> Int -> Int #-}
-{-# SPECIALIZE add :: Double -> Double -> Double #-}
-
-scale :: (Num a) => a -> a -> a
-scale = (*)
-{-# SPECIALISE INLINE scale :: Int -> Int -> Int #-}
-{-# SPECIALIZE NOINLINE scale :: Double -> Double -> Double #-}
-
-newtype Ring a = Ring a
-
-instance (Eq a) => Eq (Ring a) where
-  {-# SPECIALISE instance Eq (Ring Int) #-}
-  Ring a == Ring b = a == b
-
-instance (Ord a) => Ord (Ring a) where
-  {-# SPECIALIZE instance Ord (Ring Int) #-}
-  compare (Ring a) (Ring b) = compare a b
diff --git a/corpora/vendored/declaration/value/specialise-without-a-head-variable-out.hs b/corpora/vendored/declaration/value/specialise-without-a-head-variable-out.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/specialise-without-a-head-variable-out.hs
+++ /dev/null
@@ -1,4 +0,0 @@
-f :: (Ord a) => a -> a
-f = f
-
-{-# SPECIALISE let x = 2 in f x #-}
diff --git a/corpora/vendored/declaration/value/specialise-without-a-head-variable.hs b/corpora/vendored/declaration/value/specialise-without-a-head-variable.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/specialise-without-a-head-variable.hs
+++ /dev/null
@@ -1,4 +0,0 @@
-f :: (Ord a) => a -> a
-f = f
-
-{-# SPECIALISE let x = 2 in f x #-}
diff --git a/corpora/vendored/declaration/value/typed-quote-written-across-lines-out.hs b/corpora/vendored/declaration/value/typed-quote-written-across-lines-out.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/typed-quote-written-across-lines-out.hs
+++ /dev/null
@@ -1,25 +0,0 @@
-{-# LANGUAGE TemplateHaskell #-}
-
--- The body of a typed quote is indented under its bracket, as that of an
--- untyped one is.
-untyped :: (Quote m) => m Exp
-untyped =
-  [|
-    let x = 1
-     in x + x
-    |]
-
-typed :: (Quote m) => Code m Int
-typed =
-  [||
-    let x = 1
-     in x + x
-    ||]
-
-explicit :: (Quote m) => Code m Int
-explicit =
-  [e||
-    case lookup key table of
-      Just x -> x
-      Nothing -> 0
-    ||]
diff --git a/corpora/vendored/declaration/value/typed-quote-written-across-lines.hs b/corpora/vendored/declaration/value/typed-quote-written-across-lines.hs
deleted file mode 100644
--- a/corpora/vendored/declaration/value/typed-quote-written-across-lines.hs
+++ /dev/null
@@ -1,18 +0,0 @@
-{-# LANGUAGE TemplateHaskell #-}
-
--- The body of a typed quote is indented under its bracket, as that of an
--- untyped one is.
-untyped :: Quote m => m Exp
-untyped =
-  [| let x = 1
-     in x + x |]
-
-typed :: Quote m => Code m Int
-typed =
-  [|| let x = 1
-      in x + x ||]
-
-explicit :: Quote m => Code m Int
-explicit = [e|| case lookup key table of
-  Just x -> x
-  Nothing -> 0 ||]
diff --git a/corpora/vendored/expression/application/block-arguments-across-lines-out'.hs b/corpora/vendored/expression/application/block-arguments-across-lines-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/application/block-arguments-across-lines-out'.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE BlockArguments #-}
+
+module Garden.Watering where
+
+water :: IO ()
+water = whenM
+    do soilIsDry
+    do
+        openValve
+        waitMinutes 5
+        closeValve
+
+harvest :: IO ()
+harvest = bracket
+    do openShed
+    do lockShed
+    \shed -> pick shed
diff --git a/corpora/vendored/expression/application/block-arguments-across-lines-out.hs b/corpora/vendored/expression/application/block-arguments-across-lines-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/application/block-arguments-across-lines-out.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE BlockArguments #-}
+
+module Garden.Watering where
+
+water :: IO ()
+water = whenM
+  do soilIsDry
+  do
+    openValve
+    waitMinutes 5
+    closeValve
+
+harvest :: IO ()
+harvest = bracket
+  do openShed
+  do lockShed
+  \shed -> pick shed
diff --git a/corpora/vendored/expression/application/block-arguments-across-lines.hs b/corpora/vendored/expression/application/block-arguments-across-lines.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/application/block-arguments-across-lines.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE BlockArguments #-}
+
+module Garden.Watering where
+
+water :: IO ()
+water = whenM
+  do soilIsDry
+  do openValve
+     waitMinutes 5
+     closeValve
+
+harvest :: IO ()
+harvest = bracket
+  do openShed
+  do lockShed
+  \shed -> pick shed
diff --git a/corpora/vendored/expression/application/blocks-in-parentheses-out'.hs b/corpora/vendored/expression/application/blocks-in-parentheses-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/application/blocks-in-parentheses-out'.hs
@@ -0,0 +1,26 @@
+module Job.Runner where
+
+enqueue :: Queue -> IO ()
+enqueue q = retrying (do push q; flush q) 3
+
+budget :: Int
+budget =
+    ( let base = 40
+       in base + 2
+    )
+
+bounds :: (Int, Int)
+bounds =
+    ( let lo = 1
+       in lo
+    , let hi = 99
+       in hi
+    )
+
+prompt :: IO ()
+prompt = do
+    ( putStr "> "
+        >> hFlush stdout
+        )
+    line <- getLine
+    run line
diff --git a/corpora/vendored/expression/application/blocks-in-parentheses-out.hs b/corpora/vendored/expression/application/blocks-in-parentheses-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/application/blocks-in-parentheses-out.hs
@@ -0,0 +1,26 @@
+module Job.Runner where
+
+enqueue :: Queue -> IO ()
+enqueue q = retrying (do push q; flush q) 3
+
+budget :: Int
+budget =
+  ( let base = 40
+     in base + 2
+  )
+
+bounds :: (Int, Int)
+bounds =
+  ( let lo = 1
+     in lo,
+    let hi = 99
+     in hi
+  )
+
+prompt :: IO ()
+prompt = do
+  ( putStr "> "
+      >> hFlush stdout
+    )
+  line <- getLine
+  run line
diff --git a/corpora/vendored/expression/application/blocks-in-parentheses.hs b/corpora/vendored/expression/application/blocks-in-parentheses.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/application/blocks-in-parentheses.hs
@@ -0,0 +1,24 @@
+module Job.Runner where
+
+enqueue :: Queue -> IO ()
+enqueue q = retrying (do push q; flush q) 3
+
+budget :: Int
+budget =
+  ( let base = 40
+     in base + 2
+  )
+
+bounds :: (Int, Int)
+bounds =
+  ( let lo = 1
+     in lo
+  , let hi = 99
+     in hi
+  )
+
+prompt :: IO ()
+prompt = do (putStr "> "
+             >> hFlush stdout)
+            line <- getLine
+            run line
diff --git a/corpora/vendored/expression/application/cost-centres-around-compound-expressions-out.hs b/corpora/vendored/expression/application/cost-centres-around-compound-expressions-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/application/cost-centres-around-compound-expressions-out.hs
@@ -0,0 +1,7 @@
+module Profile.Report where
+
+summary :: [Int] -> Int
+summary xs = {-# SCC "summary" #-} (sum xs + length xs)
+
+counted :: [Int] -> [Int]
+counted xs = {-# SCC counted #-} [x | x <- xs, x > 0]
diff --git a/corpora/vendored/expression/application/cost-centres-around-compound-expressions.hs b/corpora/vendored/expression/application/cost-centres-around-compound-expressions.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/application/cost-centres-around-compound-expressions.hs
@@ -0,0 +1,7 @@
+module Profile.Report where
+
+summary :: [Int] -> Int
+summary xs = {-# SCC "summary" #-} (sum xs + length xs)
+
+counted :: [Int] -> [Int]
+counted xs = {-# SCC counted #-} [x | x <- xs, x > 0]
diff --git a/corpora/vendored/expression/application/lambda-with-annotated-patterns-across-lines-out'.hs b/corpora/vendored/expression/application/lambda-with-annotated-patterns-across-lines-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/application/lambda-with-annotated-patterns-across-lines-out'.hs
@@ -0,0 +1,8 @@
+module Codec.Laws where
+
+roundTrips :: Spec
+roundTrips =
+    it "decodes what it encodes" $
+        \(codec :: Codec (Maybe Int))
+         (value :: Maybe Int) ->
+            decode codec (encode codec value) == Right value
diff --git a/corpora/vendored/expression/application/lambda-with-annotated-patterns-across-lines-out.hs b/corpora/vendored/expression/application/lambda-with-annotated-patterns-across-lines-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/application/lambda-with-annotated-patterns-across-lines-out.hs
@@ -0,0 +1,8 @@
+module Codec.Laws where
+
+roundTrips :: Spec
+roundTrips =
+  it "decodes what it encodes" $
+    \(codec :: Codec (Maybe Int))
+     (value :: Maybe Int) ->
+      decode codec (encode codec value) == Right value
diff --git a/corpora/vendored/expression/application/lambda-with-annotated-patterns-across-lines.hs b/corpora/vendored/expression/application/lambda-with-annotated-patterns-across-lines.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/application/lambda-with-annotated-patterns-across-lines.hs
@@ -0,0 +1,7 @@
+module Codec.Laws where
+
+roundTrips :: Spec
+roundTrips =
+  it "decodes what it encodes" $ \(codec :: Codec (Maybe Int))
+  (value :: Maybe Int) ->
+      decode codec (encode codec value) == Right value
diff --git a/corpora/vendored/expression/application/static-pointers-out'.hs b/corpora/vendored/expression/application/static-pointers-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/application/static-pointers-out'.hs
@@ -0,0 +1,23 @@
+{-# LANGUAGE StaticPointers #-}
+
+module Cluster.Task where
+
+import GHC.StaticPtr (StaticPtr)
+
+retries :: StaticPtr Int
+retries = static 3
+
+workers :: StaticPtr [String]
+workers =
+    static
+        [ "alpha"
+        , "beta"
+        , "gamma"
+        ]
+
+job :: StaticPtr (IO ())
+job =
+    static
+        ( runJob
+            "nightly"
+        )
diff --git a/corpora/vendored/expression/application/static-pointers-out.hs b/corpora/vendored/expression/application/static-pointers-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/application/static-pointers-out.hs
@@ -0,0 +1,23 @@
+{-# LANGUAGE StaticPointers #-}
+
+module Cluster.Task where
+
+import GHC.StaticPtr (StaticPtr)
+
+retries :: StaticPtr Int
+retries = static 3
+
+workers :: StaticPtr [String]
+workers =
+  static
+    [ "alpha",
+      "beta",
+      "gamma"
+    ]
+
+job :: StaticPtr (IO ())
+job =
+  static
+    ( runJob
+        "nightly"
+    )
diff --git a/corpora/vendored/expression/application/static-pointers.hs b/corpora/vendored/expression/application/static-pointers.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/application/static-pointers.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE StaticPointers #-}
+
+module Cluster.Task where
+
+import GHC.StaticPtr (StaticPtr)
+
+retries :: StaticPtr Int
+retries = static 3
+
+workers :: StaticPtr [String]
+workers = static [ "alpha"
+                 , "beta", "gamma"
+                 ]
+
+job :: StaticPtr (IO ())
+job = static (runJob
+                "nightly")
diff --git a/corpora/vendored/expression/application/type-annotations-on-expressions-out'.hs b/corpora/vendored/expression/application/type-annotations-on-expressions-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/application/type-annotations-on-expressions-out'.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE TypeAbstractions #-}
+
+module Pair.Literal where
+
+origin :: (Int, Double)
+origin = (0 :: Int, 0.5 :: Double)
+
+swapped =
+    (\ @a x @b y -> (y :: b, x :: a))
+        :: forall a. a -> forall b. b -> (b, a)
+
+limit = (maxBound :: Int) `div` 2
diff --git a/corpora/vendored/expression/application/type-annotations-on-expressions-out.hs b/corpora/vendored/expression/application/type-annotations-on-expressions-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/application/type-annotations-on-expressions-out.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE TypeAbstractions #-}
+
+module Pair.Literal where
+
+origin :: (Int, Double)
+origin = (0 :: Int, 0.5 :: Double)
+
+swapped =
+  (\ @a x @b y -> (y :: b, x :: a)) ::
+    forall a. a -> forall b. b -> (b, a)
+
+limit = (maxBound :: Int) `div` 2
diff --git a/corpora/vendored/expression/application/type-annotations-on-expressions.hs b/corpora/vendored/expression/application/type-annotations-on-expressions.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/application/type-annotations-on-expressions.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE TypeAbstractions #-}
+
+module Pair.Literal where
+
+origin :: (Int, Double)
+origin = (0 :: Int, 0.5 :: Double)
+
+swapped = (\ @a x @b y -> (y :: b, x :: a) )
+    :: forall a. a -> forall b. b -> (b, a)
+
+limit = (maxBound :: Int) `div` 2
diff --git a/corpora/vendored/expression/application/type-applications-to-operators-out.hs b/corpora/vendored/expression/application/type-applications-to-operators-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/application/type-applications-to-operators-out.hs
@@ -0,0 +1,7 @@
+module Text.Join where
+
+joinText :: Text -> Text -> Text
+joinText = (<>) @Text
+
+prependAll :: [Int] -> [[Int]] -> [[Int]]
+prependAll = zipWith ((:) @Int)
diff --git a/corpora/vendored/expression/application/type-applications-to-operators.hs b/corpora/vendored/expression/application/type-applications-to-operators.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/application/type-applications-to-operators.hs
@@ -0,0 +1,7 @@
+module Text.Join where
+
+joinText :: Text -> Text -> Text
+joinText = (<>) @Text
+
+prependAll :: [Int] -> [[Int]] -> [[Int]]
+prependAll = zipWith ((:) @Int)
diff --git a/corpora/vendored/expression/application/types-written-as-arguments-out.hs b/corpora/vendored/expression/application/types-written-as-arguments-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/application/types-written-as-arguments-out.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE RequiredTypeArguments #-}
+
+module Codec.Shape where
+
+describe :: forall t -> Typeable t => String
+describe t = show (typeRep @t)
+
+showable :: String
+showable = describe (forall a. (Show a, Eq a) => a -> String)
+
+constrained :: String
+constrained = describe (Ord [Int] => Int)
diff --git a/corpora/vendored/expression/application/types-written-as-arguments.hs b/corpora/vendored/expression/application/types-written-as-arguments.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/application/types-written-as-arguments.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE RequiredTypeArguments #-}
+
+module Codec.Shape where
+
+describe :: forall t -> (Typeable t) => String
+describe t = show (typeRep @t)
+
+showable :: String
+showable = describe (forall a. (Show a, Eq a) => a -> String)
+
+constrained :: String
+constrained = describe (Ord [Int] => Int)
diff --git a/corpora/vendored/expression/arrow/braced-do-in-a-nested-command-chain-out.hs b/corpora/vendored/expression/arrow/braced-do-in-a-nested-command-chain-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/arrow/braced-do-in-a-nested-command-chain-out.hs
@@ -0,0 +1,7 @@
+{-# LANGUAGE Arrows #-}
+
+module Circuit.Choice where
+
+import Control.Arrow ((<+>), (|||))
+
+pick = proc x -> (sense -< x) <+> do { probe -< x } ||| (fallback -< x)
diff --git a/corpora/vendored/expression/arrow/braced-do-in-a-nested-command-chain.hs b/corpora/vendored/expression/arrow/braced-do-in-a-nested-command-chain.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/arrow/braced-do-in-a-nested-command-chain.hs
@@ -0,0 +1,7 @@
+{-# LANGUAGE Arrows #-}
+
+module Circuit.Choice where
+
+import Control.Arrow ((<+>), (|||))
+
+pick = proc x -> (sense -< x) <+> do { probe -< x } ||| (fallback -< x)
diff --git a/corpora/vendored/expression/arrow/case-after-an-arrow-application-out'.hs b/corpora/vendored/expression/arrow/case-after-an-arrow-application-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/arrow/case-after-an-arrow-application-out'.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE Arrows #-}
+
+module Cache.Refresh where
+
+refresh mode = proc key -> do
+    fresh <-
+        fetch
+            -< case key of
+                Pinned k -> k
+                Loose k -> normalise k
+    stale <-
+        key
+            >- case mode of
+                Eager -> fetchNow
+                Lazy -> fetchLater
+    returnA -< (fresh, stale)
diff --git a/corpora/vendored/expression/arrow/case-after-an-arrow-application-out.hs b/corpora/vendored/expression/arrow/case-after-an-arrow-application-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/arrow/case-after-an-arrow-application-out.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE Arrows #-}
+
+module Cache.Refresh where
+
+refresh mode = proc key -> do
+  fresh <-
+    fetch
+      -< case key of
+        Pinned k -> k
+        Loose k -> normalise k
+  stale <-
+    key
+      >- case mode of
+        Eager -> fetchNow
+        Lazy -> fetchLater
+  returnA -< (fresh, stale)
diff --git a/corpora/vendored/expression/arrow/case-after-an-arrow-application.hs b/corpora/vendored/expression/arrow/case-after-an-arrow-application.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/arrow/case-after-an-arrow-application.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE Arrows #-}
+
+module Cache.Refresh where
+
+refresh mode = proc key -> do
+  fresh <- fetch -< case key of
+    Pinned k -> k
+    Loose k -> normalise k
+  stale <- key >- case mode of
+    Eager -> fetchNow
+    Lazy -> fetchLater
+  returnA -< (fresh, stale)
diff --git a/corpora/vendored/expression/arrow/command-applications-out'.hs b/corpora/vendored/expression/arrow/command-applications-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/arrow/command-applications-out'.hs
@@ -0,0 +1,25 @@
+{-# LANGUAGE Arrows #-}
+
+module Mixer.Envelope where
+
+import Control.Arrow (returnA)
+
+attack = proc (level, rate) ->
+    (\step -> ramp -< level + step * rate) 1
+
+release = proc samples ->
+    (| sustain (\s -> returnA -< s) |) samples
+
+decay = proc (level, mode) ->
+    ( case classify mode of
+        Linear -> \t -> fade -< level - t
+        Curved -> \t -> curve -< level * exp (negate t)
+    )
+        0.5
+
+hold = proc (level, frames) ->
+    (|
+        repeatFor
+            (sample -< level)
+    |)
+        frames
diff --git a/corpora/vendored/expression/arrow/command-applications-out.hs b/corpora/vendored/expression/arrow/command-applications-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/arrow/command-applications-out.hs
@@ -0,0 +1,25 @@
+{-# LANGUAGE Arrows #-}
+
+module Mixer.Envelope where
+
+import Control.Arrow (returnA)
+
+attack = proc (level, rate) ->
+  (\step -> ramp -< level + step * rate) 1
+
+release = proc samples ->
+  (| sustain (\s -> returnA -< s) |) samples
+
+decay = proc (level, mode) ->
+  ( case classify mode of
+      Linear -> \t -> fade -< level - t
+      Curved -> \t -> curve -< level * exp (negate t)
+  )
+    0.5
+
+hold = proc (level, frames) ->
+  (|
+    repeatFor
+      (sample -< level)
+  |)
+    frames
diff --git a/corpora/vendored/expression/arrow/command-applications.hs b/corpora/vendored/expression/arrow/command-applications.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/arrow/command-applications.hs
@@ -0,0 +1,23 @@
+{-# LANGUAGE Arrows #-}
+
+module Mixer.Envelope where
+
+import Control.Arrow (returnA)
+
+attack = proc (level, rate) ->
+  (\step -> ramp -< level + step * rate) 1
+
+release = proc samples ->
+  (| sustain (\s -> returnA -< s) |) samples
+
+decay = proc (level, mode) ->
+  ( case classify mode of
+      Linear -> \t -> fade -< level - t
+      Curved -> \t -> curve -< level * exp (negate t)
+  ) 0.5
+
+hold = proc (level, frames) ->
+  (| repeatFor
+       (sample -< level)
+  |)
+    frames
diff --git a/corpora/vendored/expression/arrow/command-chains-out'.hs b/corpora/vendored/expression/arrow/command-chains-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/arrow/command-chains-out'.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE Arrows #-}
+
+module Circuit.Merge where
+
+import Control.Arrow ((<+>), (|||))
+
+anyOf = proc x -> (sense -< x) <+> (probe -< x) <+> (guess -< x)
+
+either' = proc x -> (left -< x) <+> (right -< x) ||| (fallback -< x)
+
+routed mode = proc x ->
+    (log -< x) <+> case mode of
+        Fast -> quick -< x
+        Slow -> careful -< x
+
+guarded = proc x ->
+    (attempt -< x) `handleA` \err ->
+        recover -< (x, err)
diff --git a/corpora/vendored/expression/arrow/command-chains-out.hs b/corpora/vendored/expression/arrow/command-chains-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/arrow/command-chains-out.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE Arrows #-}
+
+module Circuit.Merge where
+
+import Control.Arrow ((<+>), (|||))
+
+anyOf = proc x -> (sense -< x) <+> (probe -< x) <+> (guess -< x)
+
+either' = proc x -> (left -< x) <+> (right -< x) ||| (fallback -< x)
+
+routed mode = proc x ->
+  (log -< x) <+> case mode of
+    Fast -> quick -< x
+    Slow -> careful -< x
+
+guarded = proc x ->
+  (attempt -< x) `handleA` \err ->
+    recover -< (x, err)
diff --git a/corpora/vendored/expression/arrow/command-chains.hs b/corpora/vendored/expression/arrow/command-chains.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/arrow/command-chains.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE Arrows #-}
+
+module Circuit.Merge where
+
+import Control.Arrow ((<+>), (|||))
+
+anyOf = proc x -> (sense -< x) <+> (probe -< x) <+> (guess -< x)
+
+either' = proc x -> (left -< x) <+> (right -< x) ||| (fallback -< x)
+
+routed mode = proc x -> (log -< x) <+> case mode of
+  Fast -> quick -< x
+  Slow -> careful -< x
+
+guarded = proc x -> (attempt -< x) `handleA` \err ->
+  recover -< (x, err)
diff --git a/corpora/vendored/expression/arrow/commands-after-a-one-line-do-out'.hs b/corpora/vendored/expression/arrow/commands-after-a-one-line-do-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/arrow/commands-after-a-one-line-do-out'.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE Arrows #-}
+
+module Circuit.Fallback where
+
+import Control.Arrow ((<+>))
+
+guarded = proc x ->
+    do sense -< x
+    <+> (fallback -< x)
diff --git a/corpora/vendored/expression/arrow/commands-after-a-one-line-do-out.hs b/corpora/vendored/expression/arrow/commands-after-a-one-line-do-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/arrow/commands-after-a-one-line-do-out.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE Arrows #-}
+
+module Circuit.Fallback where
+
+import Control.Arrow ((<+>))
+
+guarded = proc x ->
+  do sense -< x
+    <+> (fallback -< x)
diff --git a/corpora/vendored/expression/arrow/commands-after-a-one-line-do.hs b/corpora/vendored/expression/arrow/commands-after-a-one-line-do.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/arrow/commands-after-a-one-line-do.hs
@@ -0,0 +1,8 @@
+{-# LANGUAGE Arrows #-}
+
+module Circuit.Fallback where
+
+import Control.Arrow ((<+>))
+
+guarded = proc x -> do sense -< x
+  <+> (fallback -< x)
diff --git a/corpora/vendored/expression/arrow/do-blocks-chained-by-operators-out'.hs b/corpora/vendored/expression/arrow/do-blocks-chained-by-operators-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/arrow/do-blocks-chained-by-operators-out'.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE Arrows #-}
+
+module Parser.Sign where
+
+import Control.Arrow ((<+>))
+
+sign = proc input ->
+    do
+        token Plus -< input
+        returnA -< 1
+        <+> do
+            token Minus -< input
+            returnA -< negate 1
+        <+> do
+            returnA -< 1
diff --git a/corpora/vendored/expression/arrow/do-blocks-chained-by-operators-out.hs b/corpora/vendored/expression/arrow/do-blocks-chained-by-operators-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/arrow/do-blocks-chained-by-operators-out.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE Arrows #-}
+
+module Parser.Sign where
+
+import Control.Arrow ((<+>))
+
+sign = proc input ->
+  do
+    token Plus -< input
+    returnA -< 1
+    <+> do
+      token Minus -< input
+      returnA -< negate 1
+    <+> do
+      returnA -< 1
diff --git a/corpora/vendored/expression/arrow/do-blocks-chained-by-operators.hs b/corpora/vendored/expression/arrow/do-blocks-chained-by-operators.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/arrow/do-blocks-chained-by-operators.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE Arrows #-}
+
+module Parser.Sign where
+
+import Control.Arrow ((<+>))
+
+sign = proc input -> do
+           token Plus -< input
+           returnA -< 1
+      <+> do
+           token Minus -< input
+           returnA -< negate 1
+      <+> do
+           returnA -< 1
diff --git a/corpora/vendored/expression/arrow/if-and-let-commands-out'.hs b/corpora/vendored/expression/arrow/if-and-let-commands-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/arrow/if-and-let-commands-out'.hs
@@ -0,0 +1,19 @@
+{-# LANGUAGE Arrows #-}
+
+module Circuit.Switch where
+
+switch threshold = proc level ->
+    if level > threshold
+        then alarm -< level
+        else returnA -< level
+
+smooth = proc sample -> let halved = sample `div` 2 in average -< halved
+
+relay route = proc packet -> do
+    let hops = length (path packet)
+    if hops > 8 then discard -< packet else forward route -< packet
+
+limit ceiling = proc reading ->
+    let clipped = min ceiling reading
+        scaled = clipped * 2
+     in let shown = show scaled in display -< shown
diff --git a/corpora/vendored/expression/arrow/if-and-let-commands-out.hs b/corpora/vendored/expression/arrow/if-and-let-commands-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/arrow/if-and-let-commands-out.hs
@@ -0,0 +1,19 @@
+{-# LANGUAGE Arrows #-}
+
+module Circuit.Switch where
+
+switch threshold = proc level ->
+  if level > threshold
+    then alarm -< level
+    else returnA -< level
+
+smooth = proc sample -> let halved = sample `div` 2 in average -< halved
+
+relay route = proc packet -> do
+  let hops = length (path packet)
+  if hops > 8 then discard -< packet else forward route -< packet
+
+limit ceiling = proc reading ->
+  let clipped = min ceiling reading
+      scaled = clipped * 2
+   in let shown = show scaled in display -< shown
diff --git a/corpora/vendored/expression/arrow/if-and-let-commands.hs b/corpora/vendored/expression/arrow/if-and-let-commands.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/arrow/if-and-let-commands.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE Arrows #-}
+
+module Circuit.Switch where
+
+switch threshold = proc level ->
+  if level > threshold then alarm -< level
+  else returnA -< level
+
+smooth = proc sample -> let halved = sample `div` 2 in average -< halved
+
+relay route = proc packet -> do
+  let hops = length (path packet)
+  if hops > 8 then discard -< packet else forward route -< packet
+
+limit ceiling = proc reading ->
+  let clipped = min ceiling reading
+      scaled = clipped * 2
+   in let shown = show scaled in display -< shown
diff --git a/corpora/vendored/expression/arrow/if-commands-written-across-lines-out'.hs b/corpora/vendored/expression/arrow/if-commands-written-across-lines-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/arrow/if-commands-written-across-lines-out'.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE Arrows #-}
+
+module Mixer.Gate where
+
+open = proc level -> if loud then pass -< level else hold -< level
+
+route = proc level ->
+    if exceeds threshold level
+        then
+            compress
+                . limit
+                -<
+                    level
+        else
+            pass
+                -<
+                    level
diff --git a/corpora/vendored/expression/arrow/if-commands-written-across-lines-out.hs b/corpora/vendored/expression/arrow/if-commands-written-across-lines-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/arrow/if-commands-written-across-lines-out.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE Arrows #-}
+
+module Mixer.Gate where
+
+open = proc level -> if loud then pass -< level else hold -< level
+
+route = proc level ->
+  if exceeds threshold level
+    then
+      compress
+        . limit
+        -<
+          level
+    else
+      pass
+        -<
+          level
diff --git a/corpora/vendored/expression/arrow/if-commands-written-across-lines.hs b/corpora/vendored/expression/arrow/if-commands-written-across-lines.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/arrow/if-commands-written-across-lines.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE Arrows #-}
+
+module Mixer.Gate where
+
+open = proc level -> if loud then pass -< level else hold -< level
+
+route = proc level ->
+  if
+    exceeds threshold level
+  then
+      compress
+    . limit -< level
+  else
+    pass
+    -<
+    level
diff --git a/corpora/vendored/expression/arrow/lambda-commands-and-do-branches-out'.hs b/corpora/vendored/expression/arrow/lambda-commands-and-do-branches-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/arrow/lambda-commands-and-do-branches-out'.hs
@@ -0,0 +1,25 @@
+{-# LANGUAGE Arrows #-}
+{-# LANGUAGE LambdaCase #-}
+
+module Mixer.Route where
+
+import Control.Arrow (returnA)
+
+pan = proc (left, right) ->
+    (\(l, r) -> balance -< l - r) (left * 2, right * 2)
+
+route = proc track ->
+    ( \case
+        Vocal -> boost -< track
+        _ -> returnA -< track
+    )
+        (kind track)
+
+gate threshold = proc level ->
+    if level > threshold
+        then do
+            opened <- open -< level
+            returnA -< opened
+        else do
+            close -< ()
+            returnA -< 0
diff --git a/corpora/vendored/expression/arrow/lambda-commands-and-do-branches-out.hs b/corpora/vendored/expression/arrow/lambda-commands-and-do-branches-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/arrow/lambda-commands-and-do-branches-out.hs
@@ -0,0 +1,25 @@
+{-# LANGUAGE Arrows #-}
+{-# LANGUAGE LambdaCase #-}
+
+module Mixer.Route where
+
+import Control.Arrow (returnA)
+
+pan = proc (left, right) ->
+  (\(l, r) -> balance -< l - r) (left * 2, right * 2)
+
+route = proc track ->
+  ( \case
+      Vocal -> boost -< track
+      _ -> returnA -< track
+  )
+    (kind track)
+
+gate threshold = proc level ->
+  if level > threshold
+    then do
+      opened <- open -< level
+      returnA -< opened
+    else do
+      close -< ()
+      returnA -< 0
diff --git a/corpora/vendored/expression/arrow/lambda-commands-and-do-branches.hs b/corpora/vendored/expression/arrow/lambda-commands-and-do-branches.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/arrow/lambda-commands-and-do-branches.hs
@@ -0,0 +1,23 @@
+{-# LANGUAGE Arrows #-}
+{-# LANGUAGE LambdaCase #-}
+
+module Mixer.Route where
+
+import Control.Arrow (returnA)
+
+pan = proc (left, right) ->
+  (\(l, r) -> balance -< l - r) (left * 2, right * 2)
+
+route = proc track ->
+  (\case
+     Vocal -> boost -< track
+     _ -> returnA -< track) (kind track)
+
+gate threshold = proc level ->
+  if level > threshold
+    then do
+      opened <- open -< level
+      returnA -< opened
+    else do
+      close -< ()
+      returnA -< 0
diff --git a/corpora/vendored/expression/arrow/nested-block-braces-out.hs b/corpora/vendored/expression/arrow/nested-block-braces-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/arrow/nested-block-braces-out.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE Arrows #-}
+{-# LANGUAGE BlockArguments #-}
+
+module Circuit.Feed where
+
+feed = do { step <- pure $ proc x -> do { returnA -< x }; run step }
+
+relay = proc x -> do { y <- send -< do { encode x }; returnA -< y }
+
+echo = proc x -> do { (\y -> send -< y) do { encode x }; returnA -< x }
diff --git a/corpora/vendored/expression/arrow/nested-block-braces.hs b/corpora/vendored/expression/arrow/nested-block-braces.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/arrow/nested-block-braces.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE Arrows #-}
+{-# LANGUAGE BlockArguments #-}
+
+module Circuit.Feed where
+
+feed = do { step <- pure $ proc x -> do { returnA -< x }; run step }
+
+relay = proc x -> do { y <- send -< do { encode x }; returnA -< y }
+
+echo = proc x -> do { (\y -> send -< y) do { encode x }; returnA -< x }
diff --git a/corpora/vendored/expression/arrow/parenthesised-arrows-out'.hs b/corpora/vendored/expression/arrow/parenthesised-arrows-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/arrow/parenthesised-arrows-out'.hs
@@ -0,0 +1,21 @@
+{-# LANGUAGE Arrows #-}
+
+module Mixer.Shape where
+
+soften = proc level -> (smooth . clip) -< level
+
+shape = proc level ->
+    ( (boost)
+        (curve)
+    )
+        -<
+            ( scale
+                level
+            )
+
+limit = proc signal -> do
+    ( proc s ->
+        ceiling -< s
+        )
+        -<
+            signal
diff --git a/corpora/vendored/expression/arrow/parenthesised-arrows-out.hs b/corpora/vendored/expression/arrow/parenthesised-arrows-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/arrow/parenthesised-arrows-out.hs
@@ -0,0 +1,21 @@
+{-# LANGUAGE Arrows #-}
+
+module Mixer.Shape where
+
+soften = proc level -> (smooth . clip) -< level
+
+shape = proc level ->
+  ( (boost)
+      (curve)
+  )
+    -<
+      ( scale
+          level
+      )
+
+limit = proc signal -> do
+  ( proc s ->
+      ceiling -< s
+    )
+    -<
+      signal
diff --git a/corpora/vendored/expression/arrow/parenthesised-arrows.hs b/corpora/vendored/expression/arrow/parenthesised-arrows.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/arrow/parenthesised-arrows.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE Arrows #-}
+
+module Mixer.Shape where
+
+soften = proc level -> (smooth . clip) -< level
+
+shape = proc level -> ((boost) (
+    curve
+  )) -< (scale
+    level)
+
+limit = proc signal -> do
+  (proc s ->
+     ceiling -< s
+   ) -< signal
diff --git a/corpora/vendored/expression/arrow/parenthesised-command-in-a-block-out'.hs b/corpora/vendored/expression/arrow/parenthesised-command-in-a-block-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/arrow/parenthesised-command-in-a-block-out'.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE Arrows #-}
+
+module Circuit.Gate where
+
+gate = proc signal -> do
+    ( case signal of
+        High -> open -< signal
+        Low -> shut -< signal
+        )
+    ( case signal of
+        High -> count -< 1
+        Low -> count -< 0
+        )
+        <+> (trace -< signal)
+    returnA -< signal
diff --git a/corpora/vendored/expression/arrow/parenthesised-command-in-a-block-out.hs b/corpora/vendored/expression/arrow/parenthesised-command-in-a-block-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/arrow/parenthesised-command-in-a-block-out.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE Arrows #-}
+
+module Circuit.Gate where
+
+gate = proc signal -> do
+  ( case signal of
+      High -> open -< signal
+      Low -> shut -< signal
+    )
+  ( case signal of
+      High -> count -< 1
+      Low -> count -< 0
+    )
+    <+> (trace -< signal)
+  returnA -< signal
diff --git a/corpora/vendored/expression/arrow/parenthesised-command-in-a-block.hs b/corpora/vendored/expression/arrow/parenthesised-command-in-a-block.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/arrow/parenthesised-command-in-a-block.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE Arrows #-}
+
+module Circuit.Gate where
+
+gate = proc signal -> do
+  (case signal of
+     High -> open -< signal
+     Low -> shut -< signal)
+  (case signal of
+     High -> count -< 1
+     Low -> count -< 0) <+> (trace -< signal)
+  returnA -< signal
diff --git a/corpora/vendored/expression/arrow/parenthesised-command-in-a-chain-out'.hs b/corpora/vendored/expression/arrow/parenthesised-command-in-a-chain-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/arrow/parenthesised-command-in-a-chain-out'.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE Arrows #-}
+
+module Circuit.Gate where
+
+import Control.Arrow ((<+>))
+
+gate = proc signal -> do
+    (trace -< signal)
+        <+> ( case signal of
+                High -> count -< 1
+                Low -> count -< 0
+            )
+    returnA -< signal
diff --git a/corpora/vendored/expression/arrow/parenthesised-command-in-a-chain-out.hs b/corpora/vendored/expression/arrow/parenthesised-command-in-a-chain-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/arrow/parenthesised-command-in-a-chain-out.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE Arrows #-}
+
+module Circuit.Gate where
+
+import Control.Arrow ((<+>))
+
+gate = proc signal -> do
+  (trace -< signal)
+    <+> ( case signal of
+            High -> count -< 1
+            Low -> count -< 0
+        )
+  returnA -< signal
diff --git a/corpora/vendored/expression/arrow/parenthesised-command-in-a-chain.hs b/corpora/vendored/expression/arrow/parenthesised-command-in-a-chain.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/arrow/parenthesised-command-in-a-chain.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE Arrows #-}
+
+module Circuit.Gate where
+
+import Control.Arrow ((<+>))
+
+gate = proc signal -> do
+  (trace -< signal) <+> (case signal of
+    High -> count -< 1
+    Low -> count -< 0)
+  returnA -< signal
diff --git a/corpora/vendored/expression/arrow/proc-patterns-out'.hs b/corpora/vendored/expression/arrow/proc-patterns-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/arrow/proc-patterns-out'.hs
@@ -0,0 +1,20 @@
+{-# LANGUAGE Arrows #-}
+
+module Mixer.Channel where
+
+blend = proc (left, right) -> average -< (left, right)
+
+pan =
+    proc
+        ( level
+          , position
+            ) ->
+        mix -< (level * position, level * (1 - position))
+
+mute = proc _ -> returnA -< silence
+
+start = proc () -> do
+    clock -< ()
+    returnA -< silence
+
+route = proc (Stereo left right) -> merge -< (left, right)
diff --git a/corpora/vendored/expression/arrow/proc-patterns-out.hs b/corpora/vendored/expression/arrow/proc-patterns-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/arrow/proc-patterns-out.hs
@@ -0,0 +1,20 @@
+{-# LANGUAGE Arrows #-}
+
+module Mixer.Channel where
+
+blend = proc (left, right) -> average -< (left, right)
+
+pan =
+  proc
+    ( level,
+      position
+      ) ->
+    mix -< (level * position, level * (1 - position))
+
+mute = proc _ -> returnA -< silence
+
+start = proc () -> do
+  clock -< ()
+  returnA -< silence
+
+route = proc (Stereo left right) -> merge -< (left, right)
diff --git a/corpora/vendored/expression/arrow/proc-patterns.hs b/corpora/vendored/expression/arrow/proc-patterns.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/arrow/proc-patterns.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE Arrows #-}
+
+module Mixer.Channel where
+
+blend = proc (left, right) -> average -< (left, right)
+
+pan = proc
+  ( level,
+    position
+  ) -> mix -< (level * position, level * (1 - position))
+
+mute = proc _ -> returnA -< silence
+
+start = proc () -> do
+  clock -< ()
+  returnA -< silence
+
+route = proc (Stereo left right) -> merge -< (left, right)
diff --git a/corpora/vendored/expression/arrow/rec-statements-written-across-lines-out'.hs b/corpora/vendored/expression/arrow/rec-statements-written-across-lines-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/arrow/rec-statements-written-across-lines-out'.hs
@@ -0,0 +1,20 @@
+{-# LANGUAGE Arrows #-}
+
+module Mixer.Feedback where
+
+echo = proc (input, gain) -> do
+    rec output <- delay -< input + feedback
+        feedback <-
+            attenuate
+                gain
+                -<
+                    output
+    returnA -< output
+
+loop = proc input -> do
+    rec state <-
+            accumulate
+                state
+                -<
+                    input
+    returnA -< state
diff --git a/corpora/vendored/expression/arrow/rec-statements-written-across-lines-out.hs b/corpora/vendored/expression/arrow/rec-statements-written-across-lines-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/arrow/rec-statements-written-across-lines-out.hs
@@ -0,0 +1,20 @@
+{-# LANGUAGE Arrows #-}
+
+module Mixer.Feedback where
+
+echo = proc (input, gain) -> do
+  rec output <- delay -< input + feedback
+      feedback <-
+        attenuate
+          gain
+          -<
+            output
+  returnA -< output
+
+loop = proc input -> do
+  rec state <-
+        accumulate
+          state
+          -<
+            input
+  returnA -< state
diff --git a/corpora/vendored/expression/arrow/rec-statements-written-across-lines.hs b/corpora/vendored/expression/arrow/rec-statements-written-across-lines.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/arrow/rec-statements-written-across-lines.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE Arrows #-}
+
+module Mixer.Feedback where
+
+echo = proc (input, gain) -> do
+  rec
+    output <- delay -< input + feedback
+    feedback
+      <- attenuate
+           gain -< output
+  returnA -< output
+
+loop = proc input -> do
+  rec state <- accumulate
+                 state -< input
+  returnA -< state
diff --git a/corpora/vendored/expression/block/block-before-a-signature-as-a-statement-out'.hs b/corpora/vendored/expression/block/block-before-a-signature-as-a-statement-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/block-before-a-signature-as-a-statement-out'.hs
@@ -0,0 +1,24 @@
+{-# LANGUAGE BlockArguments #-}
+
+-- A signature after a block standing as a statement goes a step in from
+-- the statement, where at its column it would begin another one, and the
+-- block's items a step further in, so that the signature ends the block.
+module App.Main where
+
+main = do
+    liftIO $ do
+            connect
+            serve
+        :: App ()
+    case mode of
+            Quiet -> pure ()
+            Loud -> announce
+        :: IO ()
+    shutdown
+
+start = do
+    port <-
+        do
+            lookupPort
+        :: IO Int
+    listen port
diff --git a/corpora/vendored/expression/block/block-before-a-signature-as-a-statement-out.hs b/corpora/vendored/expression/block/block-before-a-signature-as-a-statement-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/block-before-a-signature-as-a-statement-out.hs
@@ -0,0 +1,24 @@
+{-# LANGUAGE BlockArguments #-}
+
+-- A signature after a block standing as a statement goes a step in from
+-- the statement, where at its column it would begin another one, and the
+-- block's items a step further in, so that the signature ends the block.
+module App.Main where
+
+main = do
+  liftIO $ do
+      connect
+      serve
+    :: App ()
+  case mode of
+      Quiet -> pure ()
+      Loud -> announce
+    :: IO ()
+  shutdown
+
+start = do
+  port <-
+    do
+      lookupPort
+    :: IO Int
+  listen port
diff --git a/corpora/vendored/expression/block/block-before-a-signature-as-a-statement.hs b/corpora/vendored/expression/block/block-before-a-signature-as-a-statement.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/block-before-a-signature-as-a-statement.hs
@@ -0,0 +1,23 @@
+{-# LANGUAGE BlockArguments #-}
+
+-- A signature after a block standing as a statement goes a step in from
+-- the statement, where at its column it would begin another one, and the
+-- block's items a step further in, so that the signature ends the block.
+module App.Main where
+
+main = do
+  liftIO $ do
+      connect
+      serve
+    :: App ()
+  case mode of
+      Quiet -> pure ()
+      Loud -> announce
+    :: IO ()
+  shutdown
+
+start = do
+  port <- do
+      lookupPort
+    :: IO Int
+  listen port
diff --git a/corpora/vendored/expression/block/block-before-a-signature-out'.hs b/corpora/vendored/expression/block/block-before-a-signature-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/block-before-a-signature-out'.hs
@@ -0,0 +1,32 @@
+{-# LANGUAGE BlockArguments #-}
+{-# LANGUAGE LambdaCase #-}
+
+module M where
+
+a = do { pure () } :: IO ()
+
+b = (case x of { A -> y } :: T)
+
+c = run do { x } :: IO ()
+
+d = x <> do { y } :: T
+
+e = \case { A -> y } :: T -> U
+
+f =
+    do
+        x
+        y
+    :: IO ()
+
+g =
+    run do
+        x
+        y
+    :: IO ()
+
+h =
+    f
+        x
+        y
+        :: Int
diff --git a/corpora/vendored/expression/block/block-before-a-signature-out.hs b/corpora/vendored/expression/block/block-before-a-signature-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/block-before-a-signature-out.hs
@@ -0,0 +1,32 @@
+{-# LANGUAGE BlockArguments #-}
+{-# LANGUAGE LambdaCase #-}
+
+module M where
+
+a = do { pure () } :: IO ()
+
+b = (case x of { A -> y } :: T)
+
+c = run do { x } :: IO ()
+
+d = x <> do { y } :: T
+
+e = \case { A -> y } :: T -> U
+
+f =
+  do
+    x
+    y
+  :: IO ()
+
+g =
+  run do
+    x
+    y
+  :: IO ()
+
+h =
+  f
+    x
+    y ::
+    Int
diff --git a/corpora/vendored/expression/block/block-before-a-signature.hs b/corpora/vendored/expression/block/block-before-a-signature.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/block-before-a-signature.hs
@@ -0,0 +1,32 @@
+{-# LANGUAGE BlockArguments #-}
+{-# LANGUAGE LambdaCase #-}
+
+module M where
+
+a = do { pure () } :: IO ()
+
+b = (case x of { A -> y } :: T)
+
+c = run do { x } :: IO ()
+
+d = x <> do { y } :: T
+
+e = \case { A -> y } :: T -> U
+
+f =
+  do
+    x
+    y
+    :: IO ()
+
+g =
+  run do
+    x
+    y
+    :: IO ()
+
+h =
+  f
+    x
+    y ::
+    Int
diff --git a/corpora/vendored/expression/block/block-bound-to-an-implicit-parameter-out'.hs b/corpora/vendored/expression/block/block-bound-to-an-implicit-parameter-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/block-bound-to-an-implicit-parameter-out'.hs
@@ -0,0 +1,21 @@
+{-# LANGUAGE ImplicitParams #-}
+
+module Report.Render where
+
+render :: Report -> IO ()
+render report =
+    let ?cleanup = do
+            hFlush stdout
+            hFlush stderr
+     in layout report
+
+renderIn :: Mode -> Report -> String
+renderIn mode report =
+    let ?style = case mode of
+            Plain -> plainStyle
+            Fancy -> fancyStyle
+        ?margins =
+            case mode of
+                Plain -> (0, 0)
+                Fancy -> (2, 4)
+     in layout report
diff --git a/corpora/vendored/expression/block/block-bound-to-an-implicit-parameter-out.hs b/corpora/vendored/expression/block/block-bound-to-an-implicit-parameter-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/block-bound-to-an-implicit-parameter-out.hs
@@ -0,0 +1,21 @@
+{-# LANGUAGE ImplicitParams #-}
+
+module Report.Render where
+
+render :: Report -> IO ()
+render report =
+  let ?cleanup = do
+        hFlush stdout
+        hFlush stderr
+   in layout report
+
+renderIn :: Mode -> Report -> String
+renderIn mode report =
+  let ?style = case mode of
+        Plain -> plainStyle
+        Fancy -> fancyStyle
+      ?margins =
+        case mode of
+          Plain -> (0, 0)
+          Fancy -> (2, 4)
+   in layout report
diff --git a/corpora/vendored/expression/block/block-bound-to-an-implicit-parameter.hs b/corpora/vendored/expression/block/block-bound-to-an-implicit-parameter.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/block-bound-to-an-implicit-parameter.hs
@@ -0,0 +1,21 @@
+{-# LANGUAGE ImplicitParams #-}
+
+module Report.Render where
+
+render :: Report -> IO ()
+render report =
+  let ?cleanup = do
+        hFlush stdout
+        hFlush stderr
+   in layout report
+
+renderIn :: Mode -> Report -> String
+renderIn mode report =
+  let ?style = case mode of
+        Plain -> plainStyle
+        Fancy -> fancyStyle
+      ?margins =
+        case mode of
+          Plain -> (0, 0)
+          Fancy -> (2, 4)
+   in layout report
diff --git a/corpora/vendored/expression/block/block-on-one-line-before-a-closing-brace-out'.hs b/corpora/vendored/expression/block/block-on-one-line-before-a-closing-brace-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/block-on-one-line-before-a-closing-brace-out'.hs
@@ -0,0 +1,17 @@
+module Report.Flush where
+
+flush :: Mode -> IO ()
+flush mode = do
+    case mode of { Plain -> do hFlush stdout }
+    putStrLn "done"
+
+render :: Mode -> Report -> IO ()
+render mode report =
+    let cleanup = case mode of { Plain -> do hFlush stdout }; quiet = True
+     in layout report
+
+finish :: Mode -> IO ()
+finish mode = do { layout; case mode of { Plain -> do hFlush stdout } }
+
+replay :: IO ()
+replay = do { entry <- do { readEntry; do flush }; apply entry }
diff --git a/corpora/vendored/expression/block/block-on-one-line-before-a-closing-brace-out.hs b/corpora/vendored/expression/block/block-on-one-line-before-a-closing-brace-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/block-on-one-line-before-a-closing-brace-out.hs
@@ -0,0 +1,17 @@
+module Report.Flush where
+
+flush :: Mode -> IO ()
+flush mode = do
+  case mode of { Plain -> do hFlush stdout }
+  putStrLn "done"
+
+render :: Mode -> Report -> IO ()
+render mode report =
+  let cleanup = case mode of { Plain -> do hFlush stdout }; quiet = True
+   in layout report
+
+finish :: Mode -> IO ()
+finish mode = do { layout; case mode of { Plain -> do hFlush stdout } }
+
+replay :: IO ()
+replay = do { entry <- do { readEntry; do flush }; apply entry }
diff --git a/corpora/vendored/expression/block/block-on-one-line-before-a-closing-brace.hs b/corpora/vendored/expression/block/block-on-one-line-before-a-closing-brace.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/block-on-one-line-before-a-closing-brace.hs
@@ -0,0 +1,17 @@
+module Report.Flush where
+
+flush :: Mode -> IO ()
+flush mode = do
+  case mode of { Plain -> do hFlush stdout }
+  putStrLn "done"
+
+render :: Mode -> Report -> IO ()
+render mode report =
+  let cleanup = case mode of { Plain -> do hFlush stdout }; quiet = True
+   in layout report
+
+finish :: Mode -> IO ()
+finish mode = do { layout; case mode of { Plain -> do hFlush stdout } }
+
+replay :: IO ()
+replay = do { entry <- do { readEntry; do flush }; apply entry }
diff --git a/corpora/vendored/expression/block/block-on-one-line-bound-to-an-implicit-parameter-out'.hs b/corpora/vendored/expression/block/block-on-one-line-bound-to-an-implicit-parameter-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/block-on-one-line-bound-to-an-implicit-parameter-out'.hs
@@ -0,0 +1,24 @@
+{-# LANGUAGE ImplicitParams #-}
+
+module Report.Render where
+
+render :: Report -> IO ()
+render report =
+    let ?cleanup = do hFlush stdout
+        ?style = case mode report of Plain -> plainStyle
+     in layout report
+
+renderFlushed :: Report -> IO ()
+renderFlushed report = do
+    let ?style = case mode report of Plain -> plainStyle
+    layout report
+
+renderPadded :: Report -> IO ()
+renderPadded report = layout report
+    where
+        ?style = case mode report of Plain -> plainStyle
+
+renderQuietly :: Mode -> Report -> IO ()
+renderQuietly mode report =
+    let ?cleanup = case mode of { Plain -> do hFlush stdout }; ?quiet = True
+     in layout report
diff --git a/corpora/vendored/expression/block/block-on-one-line-bound-to-an-implicit-parameter-out.hs b/corpora/vendored/expression/block/block-on-one-line-bound-to-an-implicit-parameter-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/block-on-one-line-bound-to-an-implicit-parameter-out.hs
@@ -0,0 +1,24 @@
+{-# LANGUAGE ImplicitParams #-}
+
+module Report.Render where
+
+render :: Report -> IO ()
+render report =
+  let ?cleanup = do hFlush stdout
+      ?style = case mode report of Plain -> plainStyle
+   in layout report
+
+renderFlushed :: Report -> IO ()
+renderFlushed report = do
+  let ?style = case mode report of Plain -> plainStyle
+  layout report
+
+renderPadded :: Report -> IO ()
+renderPadded report = layout report
+  where
+    ?style = case mode report of Plain -> plainStyle
+
+renderQuietly :: Mode -> Report -> IO ()
+renderQuietly mode report =
+  let ?cleanup = case mode of { Plain -> do hFlush stdout }; ?quiet = True
+   in layout report
diff --git a/corpora/vendored/expression/block/block-on-one-line-bound-to-an-implicit-parameter.hs b/corpora/vendored/expression/block/block-on-one-line-bound-to-an-implicit-parameter.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/block-on-one-line-bound-to-an-implicit-parameter.hs
@@ -0,0 +1,24 @@
+{-# LANGUAGE ImplicitParams #-}
+
+module Report.Render where
+
+render :: Report -> IO ()
+render report =
+  let ?cleanup = do hFlush stdout
+      ?style = case mode report of Plain -> plainStyle
+   in layout report
+
+renderFlushed :: Report -> IO ()
+renderFlushed report = do
+  let ?style = case mode report of Plain -> plainStyle
+  layout report
+
+renderPadded :: Report -> IO ()
+renderPadded report = layout report
+  where
+    ?style = case mode report of Plain -> plainStyle
+
+renderQuietly :: Mode -> Report -> IO ()
+renderQuietly mode report =
+  let ?cleanup = case mode of { Plain -> do hFlush stdout }; ?quiet = True
+   in layout report
diff --git a/corpora/vendored/expression/block/blocks-as-bodies-of-let-and-multi-way-if-out'.hs b/corpora/vendored/expression/block/blocks-as-bodies-of-let-and-multi-way-if-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/blocks-as-bodies-of-let-and-multi-way-if-out'.hs
@@ -0,0 +1,21 @@
+{-# LANGUAGE MultiWayIf #-}
+
+module Kitchen.Order where
+
+prepare :: Order -> IO Dish
+prepare order =
+    let station = stationFor order
+     in do
+            heat station
+            cook station order
+
+serve :: Table -> Order -> IO ()
+serve table order =
+    if
+        | ready order -> do
+            plate order
+            deliver table order
+        | late order -> case excuse order of
+            Just note -> apologise table note
+            Nothing -> wait
+        | otherwise -> wait
diff --git a/corpora/vendored/expression/block/blocks-as-bodies-of-let-and-multi-way-if-out.hs b/corpora/vendored/expression/block/blocks-as-bodies-of-let-and-multi-way-if-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/blocks-as-bodies-of-let-and-multi-way-if-out.hs
@@ -0,0 +1,21 @@
+{-# LANGUAGE MultiWayIf #-}
+
+module Kitchen.Order where
+
+prepare :: Order -> IO Dish
+prepare order =
+  let station = stationFor order
+   in do
+        heat station
+        cook station order
+
+serve :: Table -> Order -> IO ()
+serve table order =
+  if
+    | ready order -> do
+        plate order
+        deliver table order
+    | late order -> case excuse order of
+        Just note -> apologise table note
+        Nothing -> wait
+    | otherwise -> wait
diff --git a/corpora/vendored/expression/block/blocks-as-bodies-of-let-and-multi-way-if.hs b/corpora/vendored/expression/block/blocks-as-bodies-of-let-and-multi-way-if.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/blocks-as-bodies-of-let-and-multi-way-if.hs
@@ -0,0 +1,21 @@
+{-# LANGUAGE MultiWayIf #-}
+
+module Kitchen.Order where
+
+prepare :: Order -> IO Dish
+prepare order =
+  let station = stationFor order
+   in do
+        heat station
+        cook station order
+
+serve :: Table -> Order -> IO ()
+serve table order =
+  if
+    | ready order -> do
+        plate order
+        deliver table order
+    | late order -> case excuse order of
+        Just note -> apologise table note
+        Nothing -> wait
+    | otherwise -> wait
diff --git a/corpora/vendored/expression/block/braces-across-lines-out'.hs b/corpora/vendored/expression/block/braces-across-lines-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/braces-across-lines-out'.hs
@@ -0,0 +1,37 @@
+module Toolchain.Build where
+
+build :: Target -> IO ()
+build target = do
+    { sources <- collect target
+    ; objects <- mapM compile sources
+
+    ; link objects
+    }
+
+flags :: Mode -> [String]
+flags mode = case mode of
+    { Debug -> ["-g"]
+    ; Release -> ["-O2"]
+    }
+
+compile :: Source -> IO Object
+compile source = case language source of
+    { C -> do
+        run "cc" [path source]
+        object source
+    ; Haskell -> run "ghc" [path source] >> object source
+    }
+
+suffix :: Platform -> String
+suffix platform = extension platform
+    where
+        { extension Windows = ".exe"
+        ; extension _ = ""
+        }
+
+jobs :: Int
+jobs =
+    let { cores = 8
+        ; spare = 1
+        }
+     in cores - spare
diff --git a/corpora/vendored/expression/block/braces-across-lines-out.hs b/corpora/vendored/expression/block/braces-across-lines-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/braces-across-lines-out.hs
@@ -0,0 +1,37 @@
+module Toolchain.Build where
+
+build :: Target -> IO ()
+build target = do
+  { sources <- collect target
+  ; objects <- mapM compile sources
+
+  ; link objects
+  }
+
+flags :: Mode -> [String]
+flags mode = case mode of
+  { Debug -> ["-g"]
+  ; Release -> ["-O2"]
+  }
+
+compile :: Source -> IO Object
+compile source = case language source of
+  { C -> do
+      run "cc" [path source]
+      object source
+  ; Haskell -> run "ghc" [path source] >> object source
+  }
+
+suffix :: Platform -> String
+suffix platform = extension platform
+  where
+    { extension Windows = ".exe"
+    ; extension _ = ""
+    }
+
+jobs :: Int
+jobs =
+  let { cores = 8
+      ; spare = 1
+      }
+   in cores - spare
diff --git a/corpora/vendored/expression/block/braces-across-lines.hs b/corpora/vendored/expression/block/braces-across-lines.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/braces-across-lines.hs
@@ -0,0 +1,30 @@
+module Toolchain.Build where
+
+build :: Target -> IO ()
+build target = do { sources <- collect target
+                  ; objects <- mapM compile sources
+
+                  ; link objects }
+
+flags :: Mode -> [String]
+flags mode = case mode of {
+  Debug -> ["-g"];
+  Release -> ["-O2"]
+}
+
+compile :: Source -> IO Object
+compile source = case language source of
+  { C -> do
+      run "cc" [path source]
+      object source
+  ; Haskell -> run "ghc" [path source] >> object source
+  }
+
+suffix :: Platform -> String
+suffix platform = extension platform
+  where { extension Windows = ".exe"
+        ; extension _ = "" }
+
+jobs :: Int
+jobs = let { cores = 8
+           ; spare = 1 } in cores - spare
diff --git a/corpora/vendored/expression/block/braces-after-a-let-guard-out'.hs b/corpora/vendored/expression/block/braces-after-a-let-guard-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/braces-after-a-let-guard-out'.hs
@@ -0,0 +1,11 @@
+-- A guard that ends with a let, before a right-hand side whose braces open
+-- on the line after its separator.
+module Core.Lint where
+
+lintAlt alt
+    | let { rhs = altRhs alt } = do
+        { ty <- lintExpr rhs
+        ; pure ty
+        }
+    | otherwise =
+        failWith alt
diff --git a/corpora/vendored/expression/block/braces-after-a-let-guard-out.hs b/corpora/vendored/expression/block/braces-after-a-let-guard-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/braces-after-a-let-guard-out.hs
@@ -0,0 +1,11 @@
+-- A guard that ends with a let, before a right-hand side whose braces open
+-- on the line after its separator.
+module Core.Lint where
+
+lintAlt alt
+  | let { rhs = altRhs alt } = do
+      { ty <- lintExpr rhs
+      ; pure ty
+      }
+  | otherwise =
+      failWith alt
diff --git a/corpora/vendored/expression/block/braces-after-a-let-guard.hs b/corpora/vendored/expression/block/braces-after-a-let-guard.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/braces-after-a-let-guard.hs
@@ -0,0 +1,10 @@
+-- A guard that ends with a let, before a right-hand side whose braces open
+-- on the line after its separator.
+module Core.Lint where
+
+lintAlt alt
+  | let rhs = altRhs alt
+  = do { ty <- lintExpr rhs
+       ; pure ty }
+  | otherwise
+  = failWith alt
diff --git a/corpora/vendored/expression/block/braces-on-one-line-out'.hs b/corpora/vendored/expression/block/braces-on-one-line-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/braces-on-one-line-out'.hs
@@ -0,0 +1,24 @@
+{-# LANGUAGE ImplicitParams #-}
+{-# LANGUAGE LambdaCase #-}
+
+module Toolchain.Verilator where
+
+program :: String -> String
+program os =
+    let p = case os of { "mingw32" -> "verilator_bin"; _ -> "verilator" }
+     in p
+
+banner :: IO ()
+banner = do { putStrLn "verilator"; putStrLn "ready" }
+
+level :: Int -> String
+level = \case { 0 -> "quiet"; _ -> "verbose" }
+
+timeout :: Int -> Int
+timeout n = let { base = 10; step = 5 } in base + step * n
+
+retries :: Int
+retries = attempts where { attempts = 3; delay = 100 }
+
+warnings :: [String]
+warnings = let { ?pedantic = True } in collect
diff --git a/corpora/vendored/expression/block/braces-on-one-line-out.hs b/corpora/vendored/expression/block/braces-on-one-line-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/braces-on-one-line-out.hs
@@ -0,0 +1,24 @@
+{-# LANGUAGE ImplicitParams #-}
+{-# LANGUAGE LambdaCase #-}
+
+module Toolchain.Verilator where
+
+program :: String -> String
+program os =
+  let p = case os of { "mingw32" -> "verilator_bin"; _ -> "verilator" }
+   in p
+
+banner :: IO ()
+banner = do { putStrLn "verilator"; putStrLn "ready" }
+
+level :: Int -> String
+level = \case { 0 -> "quiet"; _ -> "verbose" }
+
+timeout :: Int -> Int
+timeout n = let { base = 10; step = 5 } in base + step * n
+
+retries :: Int
+retries = attempts where { attempts = 3; delay = 100 }
+
+warnings :: [String]
+warnings = let { ?pedantic = True } in collect
diff --git a/corpora/vendored/expression/block/braces-on-one-line.hs b/corpora/vendored/expression/block/braces-on-one-line.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/braces-on-one-line.hs
@@ -0,0 +1,24 @@
+{-# LANGUAGE ImplicitParams #-}
+{-# LANGUAGE LambdaCase #-}
+
+module Toolchain.Verilator where
+
+program :: String -> String
+program os =
+  let p = case os of {"mingw32" -> "verilator_bin"; _ -> "verilator"}
+   in p
+
+banner :: IO ()
+banner = do { putStrLn "verilator"; putStrLn "ready" }
+
+level :: Int -> String
+level = \case { 0 -> "quiet"; _ -> "verbose" }
+
+timeout :: Int -> Int
+timeout n = let { base = 10; step = 5 } in base + step * n
+
+retries :: Int
+retries = attempts where { attempts = 3; delay = 100 }
+
+warnings :: [String]
+warnings = let { ?pedantic = True } in collect
diff --git a/corpora/vendored/expression/block/case-after-a-bind-arrow-out'.hs b/corpora/vendored/expression/block/case-after-a-bind-arrow-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/case-after-a-bind-arrow-out'.hs
@@ -0,0 +1,12 @@
+module Inventory.Restock where
+
+restock :: Item -> IO ()
+restock item = do
+    supplier <- case itemOrigin item of
+        Local -> nearestDepot
+        Abroad country -> importer country
+    amount <-
+        case itemStock item of
+            0 -> pure 100
+            n -> pure (100 - n)
+    order supplier item amount
diff --git a/corpora/vendored/expression/block/case-after-a-bind-arrow-out.hs b/corpora/vendored/expression/block/case-after-a-bind-arrow-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/case-after-a-bind-arrow-out.hs
@@ -0,0 +1,12 @@
+module Inventory.Restock where
+
+restock :: Item -> IO ()
+restock item = do
+  supplier <- case itemOrigin item of
+    Local -> nearestDepot
+    Abroad country -> importer country
+  amount <-
+    case itemStock item of
+      0 -> pure 100
+      n -> pure (100 - n)
+  order supplier item amount
diff --git a/corpora/vendored/expression/block/case-after-a-bind-arrow.hs b/corpora/vendored/expression/block/case-after-a-bind-arrow.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/case-after-a-bind-arrow.hs
@@ -0,0 +1,12 @@
+module Inventory.Restock where
+
+restock :: Item -> IO ()
+restock item = do
+  supplier <- case itemOrigin item of
+    Local -> nearestDepot
+    Abroad country -> importer country
+  amount <-
+    case itemStock item of
+      0 -> pure 100
+      n -> pure (100 - n)
+  order supplier item amount
diff --git a/corpora/vendored/expression/block/case-in-if-branches-out'.hs b/corpora/vendored/expression/block/case-in-if-branches-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/case-in-if-branches-out'.hs
@@ -0,0 +1,11 @@
+module Parcel.Label where
+
+label :: Bool -> Maybe String -> String
+label express recipient =
+    if express
+        then case recipient of
+            Just r -> "URGENT: " ++ r
+            Nothing -> "URGENT"
+        else case recipient of
+            Just r -> r
+            Nothing -> "unaddressed"
diff --git a/corpora/vendored/expression/block/case-in-if-branches-out.hs b/corpora/vendored/expression/block/case-in-if-branches-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/case-in-if-branches-out.hs
@@ -0,0 +1,11 @@
+module Parcel.Label where
+
+label :: Bool -> Maybe String -> String
+label express recipient =
+  if express
+    then case recipient of
+      Just r -> "URGENT: " ++ r
+      Nothing -> "URGENT"
+    else case recipient of
+      Just r -> r
+      Nothing -> "unaddressed"
diff --git a/corpora/vendored/expression/block/case-in-if-branches.hs b/corpora/vendored/expression/block/case-in-if-branches.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/case-in-if-branches.hs
@@ -0,0 +1,12 @@
+module Parcel.Label where
+
+label :: Bool -> Maybe String -> String
+label express recipient =
+  if express
+    then case recipient of
+      Just r -> "URGENT: " ++ r
+      Nothing -> "URGENT"
+    else
+      case recipient of
+        Just r -> r
+        Nothing -> "unaddressed"
diff --git a/corpora/vendored/expression/block/case-on-one-line-as-a-statement-out'.hs b/corpora/vendored/expression/block/case-on-one-line-as-a-statement-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/case-on-one-line-as-a-statement-out'.hs
@@ -0,0 +1,27 @@
+module Report.Flush where
+
+flush :: Mode -> IO ()
+flush mode = do
+    case mode of Plain -> hFlush stdout
+    putStrLn "done"
+
+flushLast :: Mode -> IO ()
+flushLast mode = do
+    putStrLn "done"
+    case mode of Plain -> do hFlush stdout
+
+flushTyped :: Mode -> IO ()
+flushTyped mode =
+    do
+        case mode of Plain -> hFlush stdout
+        putStrLn "done"
+    :: IO ()
+
+flushOrSkip :: Mode -> IO ()
+flushOrSkip mode = do
+    putStrLn "done"
+    do { layout; case mode of Plain -> do hFlush stdout }
+        <|> pure ()
+
+finish :: Mode -> IO ()
+finish mode = do { layout; case mode of Plain -> hFlush stdout }
diff --git a/corpora/vendored/expression/block/case-on-one-line-as-a-statement-out.hs b/corpora/vendored/expression/block/case-on-one-line-as-a-statement-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/case-on-one-line-as-a-statement-out.hs
@@ -0,0 +1,27 @@
+module Report.Flush where
+
+flush :: Mode -> IO ()
+flush mode = do
+  case mode of Plain -> hFlush stdout
+  putStrLn "done"
+
+flushLast :: Mode -> IO ()
+flushLast mode = do
+  putStrLn "done"
+  case mode of Plain -> do hFlush stdout
+
+flushTyped :: Mode -> IO ()
+flushTyped mode =
+  do
+    case mode of Plain -> hFlush stdout
+    putStrLn "done"
+  :: IO ()
+
+flushOrSkip :: Mode -> IO ()
+flushOrSkip mode = do
+  putStrLn "done"
+  do layout; case mode of Plain -> do hFlush stdout
+    <|> pure ()
+
+finish :: Mode -> IO ()
+finish mode = do { layout; case mode of Plain -> hFlush stdout }
diff --git a/corpora/vendored/expression/block/case-on-one-line-as-a-statement.hs b/corpora/vendored/expression/block/case-on-one-line-as-a-statement.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/case-on-one-line-as-a-statement.hs
@@ -0,0 +1,27 @@
+module Report.Flush where
+
+flush :: Mode -> IO ()
+flush mode = do
+  case mode of Plain -> hFlush stdout
+  putStrLn "done"
+
+flushLast :: Mode -> IO ()
+flushLast mode = do
+  putStrLn "done"
+  case mode of Plain -> do hFlush stdout
+
+flushTyped :: Mode -> IO ()
+flushTyped mode =
+  do
+    case mode of Plain -> hFlush stdout
+    putStrLn "done"
+  :: IO ()
+
+flushOrSkip :: Mode -> IO ()
+flushOrSkip mode = do
+  putStrLn "done"
+  do layout; case mode of Plain -> do hFlush stdout
+    <|> pure ()
+
+finish :: Mode -> IO ()
+finish mode = do { layout; case mode of Plain -> hFlush stdout }
diff --git a/corpora/vendored/expression/block/case-on-one-line-out.hs b/corpora/vendored/expression/block/case-on-one-line-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/case-on-one-line-out.hs
@@ -0,0 +1,10 @@
+module Queue.Peek where
+
+single :: [a] -> Maybe a
+single xs = case xs of [x] -> Just x; _ -> Nothing
+
+describe :: [a] -> String
+describe xs = case xs of { [_, _] -> "a pair"; _ -> "something" } ++ "."
+
+lowest :: Int
+lowest = case [3, 1, 2] of (x : _) -> x; [] -> 0
diff --git a/corpora/vendored/expression/block/case-on-one-line.hs b/corpora/vendored/expression/block/case-on-one-line.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/case-on-one-line.hs
@@ -0,0 +1,10 @@
+module Queue.Peek where
+
+single :: [a] -> Maybe a
+single xs = case xs of [x] -> Just x; _ -> Nothing
+
+describe :: [a] -> String
+describe xs = case xs of { [_, _] -> "a pair"; _ -> "something" } ++ "."
+
+lowest :: Int
+lowest = case [3, 1, 2] of (x : _) -> x; [] -> 0
diff --git a/corpora/vendored/expression/block/do-block-after-a-guard-out'.hs b/corpora/vendored/expression/block/do-block-after-a-guard-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/do-block-after-a-guard-out'.hs
@@ -0,0 +1,46 @@
+greet :: Maybe String -> IO ()
+greet name
+    | Just n <- name
+    , not (null n) = do
+        putStrLn "Hello,"
+        putStrLn n
+    | otherwise = pure ()
+
+describe :: Maybe Int -> IO ()
+describe x = case x of
+    Just n
+        | n > 0 -> do
+            print n
+            print (n * 2)
+    _ -> pure ()
+
+classify :: Int -> String
+classify n
+    | n > 0 = case n of
+        1 -> "one"
+        _ -> "many"
+    | otherwise = "none"
+
+withRemark :: Int -> IO ()
+withRemark n
+    | n > 0 = do -- only positive ones
+        print n
+        print n
+    | otherwise = pure ()
+
+withNote :: Int -> IO ()
+withNote n
+    | n > 0 =
+        -- only positive ones
+        do
+            print n
+            print n
+    | otherwise = pure ()
+
+withTwoRemarks :: Int -> IO ()
+withTwoRemarks n
+    | n > 0 -- only positive ones
+        = do -- twice
+        print n
+        print n
+    | otherwise = pure ()
diff --git a/corpora/vendored/expression/block/do-block-after-a-guard-out.hs b/corpora/vendored/expression/block/do-block-after-a-guard-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/do-block-after-a-guard-out.hs
@@ -0,0 +1,46 @@
+greet :: Maybe String -> IO ()
+greet name
+  | Just n <- name,
+    not (null n) = do
+      putStrLn "Hello,"
+      putStrLn n
+  | otherwise = pure ()
+
+describe :: Maybe Int -> IO ()
+describe x = case x of
+  Just n
+    | n > 0 -> do
+        print n
+        print (n * 2)
+  _ -> pure ()
+
+classify :: Int -> String
+classify n
+  | n > 0 = case n of
+      1 -> "one"
+      _ -> "many"
+  | otherwise = "none"
+
+withRemark :: Int -> IO ()
+withRemark n
+  | n > 0 = do -- only positive ones
+      print n
+      print n
+  | otherwise = pure ()
+
+withNote :: Int -> IO ()
+withNote n
+  | n > 0 =
+      -- only positive ones
+      do
+        print n
+        print n
+  | otherwise = pure ()
+
+withTwoRemarks :: Int -> IO ()
+withTwoRemarks n
+  | n > 0 -- only positive ones
+    = do -- twice
+      print n
+      print n
+  | otherwise = pure ()
diff --git a/corpora/vendored/expression/block/do-block-after-a-guard.hs b/corpora/vendored/expression/block/do-block-after-a-guard.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/do-block-after-a-guard.hs
@@ -0,0 +1,46 @@
+greet :: Maybe String -> IO ()
+greet name
+  | Just n <- name
+  , not (null n)
+  = do putStrLn "Hello,"
+       putStrLn n
+  | otherwise = pure ()
+
+describe :: Maybe Int -> IO ()
+describe x = case x of
+  Just n
+    | n > 0
+    -> do print n
+          print (n * 2)
+  _ -> pure ()
+
+classify :: Int -> String
+classify n
+  | n > 0
+  = case n of
+      1 -> "one"
+      _ -> "many"
+  | otherwise = "none"
+
+withRemark :: Int -> IO ()
+withRemark n
+  | n > 0    -- only positive ones
+  = do print n
+       print n
+  | otherwise = pure ()
+
+withNote :: Int -> IO ()
+withNote n
+  | n > 0
+  -- only positive ones
+  = do print n
+       print n
+  | otherwise = pure ()
+
+withTwoRemarks :: Int -> IO ()
+withTwoRemarks n
+  | n > 0    -- only positive ones
+  = do       -- twice
+       print n
+       print n
+  | otherwise = pure ()
diff --git a/corpora/vendored/expression/block/empty-case-out'.hs b/corpora/vendored/expression/block/empty-case-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/empty-case-out'.hs
@@ -0,0 +1,7 @@
+f x = case x of
+    {}
+
+g x =
+    case aScrutineeTooLongToKeepOnTheLineTheCaseOpensOn
+        anotherArgumentThatPushesItFurtherStillOverTheEdge of
+        {}
diff --git a/corpora/vendored/expression/block/empty-case-out.hs b/corpora/vendored/expression/block/empty-case-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/empty-case-out.hs
@@ -0,0 +1,7 @@
+f x = case x of
+  {}
+
+g x =
+  case aScrutineeTooLongToKeepOnTheLineTheCaseOpensOn
+    anotherArgumentThatPushesItFurtherStillOverTheEdge of
+    {}
diff --git a/corpora/vendored/expression/block/empty-case.hs b/corpora/vendored/expression/block/empty-case.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/empty-case.hs
@@ -0,0 +1,6 @@
+f x = case x of
+  {}
+
+g x =
+  case aScrutineeTooLongToKeepOnTheLineTheCaseOpensOn
+    anotherArgumentThatPushesItFurtherStillOverTheEdge of {}
diff --git a/corpora/vendored/expression/block/empty-let-and-rec-statements-across-lines-out'.hs b/corpora/vendored/expression/block/empty-let-and-rec-statements-across-lines-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/empty-let-and-rec-statements-across-lines-out'.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE RecursiveDo #-}
+
+module Wiring.Harness where
+
+boot :: IO ()
+boot = do
+    let {}
+    rec {}
+    pure ()
+
+idle :: IO ()
+idle = let {} in pure ()
diff --git a/corpora/vendored/expression/block/empty-let-and-rec-statements-across-lines-out.hs b/corpora/vendored/expression/block/empty-let-and-rec-statements-across-lines-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/empty-let-and-rec-statements-across-lines-out.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE RecursiveDo #-}
+
+module Wiring.Harness where
+
+boot :: IO ()
+boot = do
+  let {}
+  rec {}
+  pure ()
+
+idle :: IO ()
+idle = let {} in pure ()
diff --git a/corpora/vendored/expression/block/empty-let-and-rec-statements-across-lines.hs b/corpora/vendored/expression/block/empty-let-and-rec-statements-across-lines.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/empty-let-and-rec-statements-across-lines.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE RecursiveDo #-}
+
+module Wiring.Harness where
+
+boot :: IO ()
+boot = do
+  let {}
+  rec {}
+  pure ()
+
+idle :: IO ()
+idle = let {} in pure ()
diff --git a/corpora/vendored/expression/block/empty-let-and-rec-statements-on-one-line-out.hs b/corpora/vendored/expression/block/empty-let-and-rec-statements-on-one-line-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/empty-let-and-rec-statements-on-one-line-out.hs
@@ -0,0 +1,6 @@
+{-# LANGUAGE RecursiveDo #-}
+
+module Wiring.Board where
+
+boot :: IO ()
+boot = do { let {}; rec {}; pure () }
diff --git a/corpora/vendored/expression/block/empty-let-and-rec-statements-on-one-line.hs b/corpora/vendored/expression/block/empty-let-and-rec-statements-on-one-line.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/empty-let-and-rec-statements-on-one-line.hs
@@ -0,0 +1,6 @@
+{-# LANGUAGE RecursiveDo #-}
+
+module Wiring.Board where
+
+boot :: IO ()
+boot = do { let {}; rec {}; pure () }
diff --git a/corpora/vendored/expression/block/if-as-a-statement-out'.hs b/corpora/vendored/expression/block/if-as-a-statement-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/if-as-a-statement-out'.hs
@@ -0,0 +1,14 @@
+module Stock.Audit where
+
+audit :: Bool -> Int -> IO ()
+audit verbose expected = do
+    counted <- countShelves
+    if verbose then print counted else pure ()
+    if counted /= expected
+        then warn "the shelves disagree with the ledger"
+        else pure ()
+    if counted == 0
+        then
+            warn "nothing on the shelves"
+        else
+            pure ()
diff --git a/corpora/vendored/expression/block/if-as-a-statement-out.hs b/corpora/vendored/expression/block/if-as-a-statement-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/if-as-a-statement-out.hs
@@ -0,0 +1,14 @@
+module Stock.Audit where
+
+audit :: Bool -> Int -> IO ()
+audit verbose expected = do
+  counted <- countShelves
+  if verbose then print counted else pure ()
+  if counted /= expected
+    then warn "the shelves disagree with the ledger"
+    else pure ()
+  if counted == 0
+    then
+      warn "nothing on the shelves"
+    else
+      pure ()
diff --git a/corpora/vendored/expression/block/if-as-a-statement.hs b/corpora/vendored/expression/block/if-as-a-statement.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/if-as-a-statement.hs
@@ -0,0 +1,13 @@
+module Stock.Audit where
+
+audit :: Bool -> Int -> IO ()
+audit verbose expected = do
+  counted <- countShelves
+  if verbose then print counted else pure ()
+  if counted /= expected
+    then warn "the shelves disagree with the ledger"
+    else pure ()
+  if counted == 0 then
+    warn "nothing on the shelves"
+  else
+    pure ()
diff --git a/corpora/vendored/expression/block/implicit-parameter-bindings-out'.hs b/corpora/vendored/expression/block/implicit-parameter-bindings-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/implicit-parameter-bindings-out'.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE ImplicitParams #-}
+
+module Report.Render where
+
+render :: Report -> String
+render report =
+    let ?margins = (2, 4)
+        ?columns = [Title, Total]
+     in layout report
+
+renderWith :: Mode -> Report -> String
+renderWith mode report =
+    let ?style = case mode of { Plain -> plainStyle; Fancy -> fancyStyle }
+     in layout report
diff --git a/corpora/vendored/expression/block/implicit-parameter-bindings-out.hs b/corpora/vendored/expression/block/implicit-parameter-bindings-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/implicit-parameter-bindings-out.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE ImplicitParams #-}
+
+module Report.Render where
+
+render :: Report -> String
+render report =
+  let ?margins = (2, 4)
+      ?columns = [Title, Total]
+   in layout report
+
+renderWith :: Mode -> Report -> String
+renderWith mode report =
+  let ?style = case mode of { Plain -> plainStyle; Fancy -> fancyStyle }
+   in layout report
diff --git a/corpora/vendored/expression/block/implicit-parameter-bindings.hs b/corpora/vendored/expression/block/implicit-parameter-bindings.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/implicit-parameter-bindings.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE ImplicitParams #-}
+
+module Report.Render where
+
+render :: Report -> String
+render report =
+  let ?margins = (2, 4)
+      ?columns = [Title, Total]
+   in layout report
+
+renderWith :: Mode -> Report -> String
+renderWith mode report =
+  let ?style = case mode of { Plain -> plainStyle; Fancy -> fancyStyle }
+   in layout report
diff --git a/corpora/vendored/expression/block/lambda-case-patterns-in-brackets-out'.hs b/corpora/vendored/expression/block/lambda-case-patterns-in-brackets-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/lambda-case-patterns-in-brackets-out'.hs
@@ -0,0 +1,20 @@
+{-# LANGUAGE LambdaCase #-}
+
+module Route.Planner where
+
+legLength :: (Stop, Stop) -> Int
+legLength = \case
+    (Depot, stop) -> distanceFromDepot stop
+    (stop, Depot) -> distanceFromDepot stop
+    (from, to) -> distance from to
+
+firstStop :: [Stop] -> Maybe Stop
+firstStop = \case
+    [] -> Nothing
+    stop : _ -> Just stop
+
+joinLegs :: Leg -> (Leg, Int) -> Maybe Leg
+joinLegs = \cases
+    leg (Leg from to, _) | to == start leg -> Just (Leg from (end leg))
+    _ (_, 0) -> Nothing
+    _ _ -> Nothing
diff --git a/corpora/vendored/expression/block/lambda-case-patterns-in-brackets-out.hs b/corpora/vendored/expression/block/lambda-case-patterns-in-brackets-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/lambda-case-patterns-in-brackets-out.hs
@@ -0,0 +1,20 @@
+{-# LANGUAGE LambdaCase #-}
+
+module Route.Planner where
+
+legLength :: (Stop, Stop) -> Int
+legLength = \case
+  (Depot, stop) -> distanceFromDepot stop
+  (stop, Depot) -> distanceFromDepot stop
+  (from, to) -> distance from to
+
+firstStop :: [Stop] -> Maybe Stop
+firstStop = \case
+  [] -> Nothing
+  stop : _ -> Just stop
+
+joinLegs :: Leg -> (Leg, Int) -> Maybe Leg
+joinLegs = \cases
+  leg (Leg from to, _) | to == start leg -> Just (Leg from (end leg))
+  _ (_, 0) -> Nothing
+  _ _ -> Nothing
diff --git a/corpora/vendored/expression/block/lambda-case-patterns-in-brackets.hs b/corpora/vendored/expression/block/lambda-case-patterns-in-brackets.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/lambda-case-patterns-in-brackets.hs
@@ -0,0 +1,20 @@
+{-# LANGUAGE LambdaCase #-}
+
+module Route.Planner where
+
+legLength :: (Stop, Stop) -> Int
+legLength = \case
+  (Depot, stop) -> distanceFromDepot stop
+  (stop, Depot) -> distanceFromDepot stop
+  (from, to) -> distance from to
+
+firstStop :: [Stop] -> Maybe Stop
+firstStop = \case
+  [] -> Nothing
+  stop : _ -> Just stop
+
+joinLegs :: Leg -> (Leg, Int) -> Maybe Leg
+joinLegs = \cases
+  leg (Leg from to, _) | to == start leg -> Just (Leg from (end leg))
+  _ (_, 0) -> Nothing
+  _ _ -> Nothing
diff --git a/corpora/vendored/expression/block/lambda-cases-with-guards-only-across-lines-out'.hs b/corpora/vendored/expression/block/lambda-cases-with-guards-only-across-lines-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/lambda-cases-with-guards-only-across-lines-out'.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE LambdaCase #-}
+
+module Route.Lane where
+
+pickLane :: Lane
+pickLane = \cases
+    | busy -> Freight
+        | quiet -> Mixed
+        | otherwise -> Empty
+
+pickSide :: Side
+pickSide = \cases
+    | crowded -> Left
+    | otherwise -> Right
diff --git a/corpora/vendored/expression/block/lambda-cases-with-guards-only-across-lines-out.hs b/corpora/vendored/expression/block/lambda-cases-with-guards-only-across-lines-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/lambda-cases-with-guards-only-across-lines-out.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE LambdaCase #-}
+
+module Route.Lane where
+
+pickLane :: Lane
+pickLane = \cases
+  | busy -> Freight
+    | quiet -> Mixed
+    | otherwise -> Empty
+
+pickSide :: Side
+pickSide = \cases
+  | crowded -> Left
+  | otherwise -> Right
diff --git a/corpora/vendored/expression/block/lambda-cases-with-guards-only-across-lines.hs b/corpora/vendored/expression/block/lambda-cases-with-guards-only-across-lines.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/lambda-cases-with-guards-only-across-lines.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE LambdaCase #-}
+
+module Route.Lane where
+
+pickLane :: Lane
+pickLane = \cases
+  | busy -> Freight
+    | quiet -> Mixed
+    | otherwise -> Empty
+
+pickSide :: Side
+pickSide = \cases
+  | crowded -> Left
+  | otherwise -> Right
diff --git a/corpora/vendored/expression/block/lambda-cases-with-guards-only-out.hs b/corpora/vendored/expression/block/lambda-cases-with-guards-only-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/lambda-cases-with-guards-only-out.hs
@@ -0,0 +1,6 @@
+{-# LANGUAGE LambdaCase #-}
+
+module Route.Lane where
+
+pickLane :: Lane
+pickLane = \cases | busy -> Freight | quiet -> Mixed | otherwise -> Empty
diff --git a/corpora/vendored/expression/block/lambda-cases-with-guards-only.hs b/corpora/vendored/expression/block/lambda-cases-with-guards-only.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/lambda-cases-with-guards-only.hs
@@ -0,0 +1,6 @@
+{-# LANGUAGE LambdaCase #-}
+
+module Route.Lane where
+
+pickLane :: Lane
+pickLane = \cases | busy -> Freight | quiet -> Mixed | otherwise -> Empty
diff --git a/corpora/vendored/expression/block/let-chain-out'.hs b/corpora/vendored/expression/block/let-chain-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/let-chain-out'.hs
@@ -0,0 +1,25 @@
+module Kiln.Glaze where
+
+-- A let ending its line with in, and followed by another let, keeps that
+-- line, and the next let goes under it; the last one is laid out as usual.
+glaze :: Int -> (Int, Int)
+glaze x =
+    -- Count the first one:
+    let a = x + 1 in
+    let b = a * 2; c = b + 1 in
+    -- Then the second:
+    let d = c - 1
+     in (a, d)
+
+-- Written all on one line, the chain stays on it.
+fire :: Int -> Int
+fire x = let a = x + 1 in let b = a * 2 in a + b
+
+-- A let whose bindings take several lines chains the same way where its in
+-- ends the last of them.
+cool :: Int -> Int
+cool x =
+    let a = x + 1
+        b = a * 2 in
+    let c = a + b
+     in c
diff --git a/corpora/vendored/expression/block/let-chain-out.hs b/corpora/vendored/expression/block/let-chain-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/let-chain-out.hs
@@ -0,0 +1,25 @@
+module Kiln.Glaze where
+
+-- A let ending its line with in, and followed by another let, keeps that
+-- line, and the next let goes under it; the last one is laid out as usual.
+glaze :: Int -> (Int, Int)
+glaze x =
+  -- Count the first one:
+  let a = x + 1 in
+  let b = a * 2; c = b + 1 in
+  -- Then the second:
+  let d = c - 1
+   in (a, d)
+
+-- Written all on one line, the chain stays on it.
+fire :: Int -> Int
+fire x = let a = x + 1 in let b = a * 2 in a + b
+
+-- A let whose bindings take several lines chains the same way where its in
+-- ends the last of them.
+cool :: Int -> Int
+cool x =
+  let a = x + 1
+      b = a * 2 in
+  let c = a + b
+   in c
diff --git a/corpora/vendored/expression/block/let-chain.hs b/corpora/vendored/expression/block/let-chain.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/let-chain.hs
@@ -0,0 +1,25 @@
+module Kiln.Glaze where
+
+-- A let ending its line with in, and followed by another let, keeps that
+-- line, and the next let goes under it; the last one is laid out as usual.
+glaze :: Int -> (Int, Int)
+glaze x =
+  -- Count the first one:
+  let a = x + 1 in
+  let b = a * 2; c = b + 1 in
+  -- Then the second:
+  let d = c - 1 in
+  (a, d)
+
+-- Written all on one line, the chain stays on it.
+fire :: Int -> Int
+fire x = let a = x + 1 in let b = a * 2 in a + b
+
+-- A let whose bindings take several lines chains the same way where its in
+-- ends the last of them.
+cool :: Int -> Int
+cool x =
+  let a = x + 1
+      b = a * 2 in
+  let c = a + b in
+  c
diff --git a/corpora/vendored/expression/block/let-ending-a-guard-out'.hs b/corpora/vendored/expression/block/let-ending-a-guard-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/let-ending-a-guard-out'.hs
@@ -0,0 +1,39 @@
+{-# LANGUAGE LambdaCase #-}
+{-# LANGUAGE MultiWayIf #-}
+
+-- A let that ends a guard goes between braces, which end its bindings
+-- before the = or ->, where without them only a parse error ends them and
+-- an = after a signature continues the signature. A let that another
+-- qualifier follows needs none, as the comma ends it.
+module Core.Utils where
+
+mergeAlts alts
+    | let { merged = foldr combine [] alts
+          ; merged :: [Alt]
+          } =
+        merged
+
+simplArg env arg | let { env' = zapSubst env } = simplExpr env' arg
+
+rebuildCase scrut alts = case alts of
+    [alt] | let { (con, rhs) = splitAlt alt } -> rebuild con rhs
+    _ -> fallback scrut
+
+pickCase n = if | let { half = n `div` 2 } -> half | otherwise -> n
+
+lookupFloat = \cases
+    | let { found = Nothing } -> found
+
+exprSize e
+    | let { size = case e of
+                Var _ -> 1
+                App f a -> exprSize f + exprSize a
+          } =
+        size
+
+isTrivial e
+    | Just v <- isVar e
+    , let ty = varType v
+    , isTrivialType ty =
+        True
+    | otherwise = False
diff --git a/corpora/vendored/expression/block/let-ending-a-guard-out.hs b/corpora/vendored/expression/block/let-ending-a-guard-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/let-ending-a-guard-out.hs
@@ -0,0 +1,39 @@
+{-# LANGUAGE LambdaCase #-}
+{-# LANGUAGE MultiWayIf #-}
+
+-- A let that ends a guard goes between braces, which end its bindings
+-- before the = or ->, where without them only a parse error ends them and
+-- an = after a signature continues the signature. A let that another
+-- qualifier follows needs none, as the comma ends it.
+module Core.Utils where
+
+mergeAlts alts
+  | let { merged = foldr combine [] alts
+        ; merged :: [Alt]
+        } =
+      merged
+
+simplArg env arg | let { env' = zapSubst env } = simplExpr env' arg
+
+rebuildCase scrut alts = case alts of
+  [alt] | let { (con, rhs) = splitAlt alt } -> rebuild con rhs
+  _ -> fallback scrut
+
+pickCase n = if | let { half = n `div` 2 } -> half | otherwise -> n
+
+lookupFloat = \cases
+  | let { found = Nothing } -> found
+
+exprSize e
+  | let { size = case e of
+            Var _ -> 1
+            App f a -> exprSize f + exprSize a
+        } =
+      size
+
+isTrivial e
+  | Just v <- isVar e,
+    let ty = varType v,
+    isTrivialType ty =
+      True
+  | otherwise = False
diff --git a/corpora/vendored/expression/block/let-ending-a-guard.hs b/corpora/vendored/expression/block/let-ending-a-guard.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/let-ending-a-guard.hs
@@ -0,0 +1,36 @@
+{-# LANGUAGE LambdaCase #-}
+{-# LANGUAGE MultiWayIf #-}
+
+-- A let that ends a guard goes between braces, which end its bindings
+-- before the = or ->, where without them only a parse error ends them and
+-- an = after a signature continues the signature. A let that another
+-- qualifier follows needs none, as the comma ends it.
+module Core.Utils where
+
+mergeAlts alts
+  | let merged = foldr combine [] alts
+        merged :: [Alt]
+  = merged
+
+simplArg env arg | let env' = zapSubst env = simplExpr env' arg
+
+rebuildCase scrut alts = case alts of
+  [alt] | let (con, rhs) = splitAlt alt -> rebuild con rhs
+  _ -> fallback scrut
+
+pickCase n = if | let half = n `div` 2 -> half | otherwise -> n
+
+lookupFloat = \cases
+  | let found = Nothing -> found
+
+exprSize e
+  | let size = case e of
+          Var _ -> 1
+          App f a -> exprSize f + exprSize a
+  = size
+
+isTrivial e
+  | Just v <- isVar e, let ty = varType v
+  , isTrivialType ty
+  = True
+  | otherwise = False
diff --git a/corpora/vendored/expression/block/let-expression-as-a-statement-out'.hs b/corpora/vendored/expression/block/let-expression-as-a-statement-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/let-expression-as-a-statement-out'.hs
@@ -0,0 +1,9 @@
+module Garden.Watering where
+
+water :: Bed -> IO ()
+water bed = do
+    level <- moisture bed
+    let litres = 30 - level
+     in note ("used " <> show litres)
+    let spare = 5 in note (show spare)
+    done bed
diff --git a/corpora/vendored/expression/block/let-expression-as-a-statement-out.hs b/corpora/vendored/expression/block/let-expression-as-a-statement-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/let-expression-as-a-statement-out.hs
@@ -0,0 +1,9 @@
+module Garden.Watering where
+
+water :: Bed -> IO ()
+water bed = do
+  level <- moisture bed
+  let litres = 30 - level
+   in note ("used " <> show litres)
+  let spare = 5 in note (show spare)
+  done bed
diff --git a/corpora/vendored/expression/block/let-expression-as-a-statement.hs b/corpora/vendored/expression/block/let-expression-as-a-statement.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/let-expression-as-a-statement.hs
@@ -0,0 +1,9 @@
+module Garden.Watering where
+
+water :: Bed -> IO ()
+water bed = do
+  level <- moisture bed
+  let litres = 30 - level
+   in note ("used " <> show litres)
+  let spare = 5 in note (show spare)
+  done bed
diff --git a/corpora/vendored/expression/block/mdo-and-cases-before-a-signature-out'.hs b/corpora/vendored/expression/block/mdo-and-cases-before-a-signature-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/mdo-and-cases-before-a-signature-out'.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE LambdaCase #-}
+{-# LANGUAGE RecursiveDo #-}
+
+module Signal.Loop where
+
+feedback = mdo { out <- delay 0 next; next <- step out; pure out } :: Wire Int
+
+joined = start <> mdo { rest <- follow rest; pure rest } :: Wire Int
+
+pick = \cases { True x _ -> x; False _ y -> y } :: Bool -> Int -> Int -> Int
+
+settle =
+    mdo
+        level <- drain flow
+        flow <- pump level
+        pure level
+    :: Wire Int
diff --git a/corpora/vendored/expression/block/mdo-and-cases-before-a-signature-out.hs b/corpora/vendored/expression/block/mdo-and-cases-before-a-signature-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/mdo-and-cases-before-a-signature-out.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE LambdaCase #-}
+{-# LANGUAGE RecursiveDo #-}
+
+module Signal.Loop where
+
+feedback = mdo { out <- delay 0 next; next <- step out; pure out } :: Wire Int
+
+joined = start <> mdo { rest <- follow rest; pure rest } :: Wire Int
+
+pick = \cases { True x _ -> x; False _ y -> y } :: Bool -> Int -> Int -> Int
+
+settle =
+  mdo
+    level <- drain flow
+    flow <- pump level
+    pure level
+  :: Wire Int
diff --git a/corpora/vendored/expression/block/mdo-and-cases-before-a-signature.hs b/corpora/vendored/expression/block/mdo-and-cases-before-a-signature.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/mdo-and-cases-before-a-signature.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE LambdaCase #-}
+{-# LANGUAGE RecursiveDo #-}
+
+module Signal.Loop where
+
+feedback = mdo { out <- delay 0 next; next <- step out; pure out } :: Wire Int
+
+joined = start <> mdo { rest <- follow rest; pure rest } :: Wire Int
+
+pick = \cases { True x _ -> x; False _ y -> y } :: Bool -> Int -> Int -> Int
+
+settle =
+  mdo
+    level <- drain flow
+    flow <- pump level
+    pure level
+    :: Wire Int
diff --git a/corpora/vendored/expression/block/multi-way-if-applied-to-an-argument-out'.hs b/corpora/vendored/expression/block/multi-way-if-applied-to-an-argument-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/multi-way-if-applied-to-an-argument-out'.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE MultiWayIf #-}
+
+module Shape.Resize where
+
+resize :: Bool -> Double -> Double
+resize grow size = (if | grow -> (* 2) | otherwise -> (/ 2)) size
+
+shrink :: Bool -> Double -> Double
+shrink tight size =
+    if
+            | tight -> (/ 4)
+            | otherwise -> (/ 2)
+        size
diff --git a/corpora/vendored/expression/block/multi-way-if-applied-to-an-argument-out.hs b/corpora/vendored/expression/block/multi-way-if-applied-to-an-argument-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/multi-way-if-applied-to-an-argument-out.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE MultiWayIf #-}
+
+module Shape.Resize where
+
+resize :: Bool -> Double -> Double
+resize grow size = (if | grow -> (* 2) | otherwise -> (/ 2)) size
+
+shrink :: Bool -> Double -> Double
+shrink tight size =
+  if
+      | tight -> (/ 4)
+      | otherwise -> (/ 2)
+    size
diff --git a/corpora/vendored/expression/block/multi-way-if-applied-to-an-argument.hs b/corpora/vendored/expression/block/multi-way-if-applied-to-an-argument.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/multi-way-if-applied-to-an-argument.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE MultiWayIf #-}
+
+module Shape.Resize where
+
+resize :: Bool -> Double -> Double
+resize grow size = (if | grow -> (* 2) | otherwise -> (/ 2)) size
+
+shrink :: Bool -> Double -> Double
+shrink tight size =
+  if | tight -> (/ 4)
+     | otherwise -> (/ 2)
+    size
diff --git a/corpora/vendored/expression/block/multi-way-if-before-an-operator-out'.hs b/corpora/vendored/expression/block/multi-way-if-before-an-operator-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/multi-way-if-before-an-operator-out'.hs
@@ -0,0 +1,42 @@
+{-# LANGUAGE MultiWayIf #-}
+
+-- A multi-way if takes in every line at the column of its guards, since
+-- its block generates no semicolons, so an operator after it puts its
+-- guards on lines of their own a step further in, and a signature after it
+-- goes on a line of its own, left of them.
+module Weather.Report where
+
+import Control.Applicative ((<|>))
+
+summary t =
+    if
+            | t > 30 -> "hot"
+            | otherwise -> "mild"
+        <> suffix
+
+forecast t =
+    if
+            | t > 30 -> hot
+            | otherwise -> mild
+        $ today
+
+pick t = do
+    if
+            | t > 30 -> hot
+            | otherwise -> mild
+        `orElse` fallback
+    report
+
+outlook t =
+    if
+            | t > 30 -> hot
+            | otherwise -> mild
+        <> extra
+        <|> spare <> other
+
+reading t =
+    ( if
+        | t > 30 -> 1
+        | otherwise -> 0
+      :: Int
+    )
diff --git a/corpora/vendored/expression/block/multi-way-if-before-an-operator-out.hs b/corpora/vendored/expression/block/multi-way-if-before-an-operator-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/multi-way-if-before-an-operator-out.hs
@@ -0,0 +1,42 @@
+{-# LANGUAGE MultiWayIf #-}
+
+-- A multi-way if takes in every line at the column of its guards, since
+-- its block generates no semicolons, so an operator after it puts its
+-- guards on lines of their own a step further in, and a signature after it
+-- goes on a line of its own, left of them.
+module Weather.Report where
+
+import Control.Applicative ((<|>))
+
+summary t =
+  if
+      | t > 30 -> "hot"
+      | otherwise -> "mild"
+    <> suffix
+
+forecast t =
+  if
+      | t > 30 -> hot
+      | otherwise -> mild
+    $ today
+
+pick t = do
+  if
+      | t > 30 -> hot
+      | otherwise -> mild
+    `orElse` fallback
+  report
+
+outlook t =
+  if
+      | t > 30 -> hot
+      | otherwise -> mild
+    <> extra
+    <|> spare <> other
+
+reading t =
+  ( if
+      | t > 30 -> 1
+      | otherwise -> 0
+    :: Int
+  )
diff --git a/corpora/vendored/expression/block/multi-way-if-before-an-operator.hs b/corpora/vendored/expression/block/multi-way-if-before-an-operator.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/multi-way-if-before-an-operator.hs
@@ -0,0 +1,36 @@
+{-# LANGUAGE MultiWayIf #-}
+
+-- A multi-way if takes in every line at the column of its guards, since
+-- its block generates no semicolons, so an operator after it puts its
+-- guards on lines of their own a step further in, and a signature after it
+-- goes on a line of its own, left of them.
+module Weather.Report where
+
+import Control.Applicative ((<|>))
+
+summary t =
+  if | t > 30 -> "hot"
+     | otherwise -> "mild"
+    <> suffix
+
+forecast t =
+  if | t > 30 -> hot | otherwise -> mild
+    $ today
+
+pick t = do
+  if | t > 30 -> hot
+     | otherwise -> mild
+    `orElse` fallback
+  report
+
+outlook t =
+  if | t > 30 -> hot
+     | otherwise -> mild
+    <> extra
+    <|> spare <> other
+
+reading t =
+  ( if | t > 30 -> 1
+       | otherwise -> 0
+    :: Int
+  )
diff --git a/corpora/vendored/expression/block/multi-way-if-out'.hs b/corpora/vendored/expression/block/multi-way-if-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/multi-way-if-out'.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE MultiWayIf #-}
+
+module Weather.Advice where
+
+advice :: Int -> String
+advice t =
+    if | t > 30 -> "stay inside" | t < 0 -> "wrap up" | otherwise -> "go out"
+
+wind :: Int -> String
+wind speed =
+    if
+        | speed > 60 -> "gale"
+        | speed > 20 ->
+            "breeze"
+        | otherwise -> "calm"
diff --git a/corpora/vendored/expression/block/multi-way-if-out.hs b/corpora/vendored/expression/block/multi-way-if-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/multi-way-if-out.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE MultiWayIf #-}
+
+module Weather.Advice where
+
+advice :: Int -> String
+advice t =
+  if | t > 30 -> "stay inside" | t < 0 -> "wrap up" | otherwise -> "go out"
+
+wind :: Int -> String
+wind speed =
+  if
+    | speed > 60 -> "gale"
+    | speed > 20 ->
+        "breeze"
+    | otherwise -> "calm"
diff --git a/corpora/vendored/expression/block/multi-way-if.hs b/corpora/vendored/expression/block/multi-way-if.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/multi-way-if.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE MultiWayIf #-}
+
+module Weather.Advice where
+
+advice :: Int -> String
+advice t = if | t > 30 -> "stay inside" | t < 0 -> "wrap up" | otherwise -> "go out"
+
+wind :: Int -> String
+wind speed =
+  if
+    | speed > 60 -> "gale"
+    | speed > 20 ->
+        "breeze"
+    | otherwise -> "calm"
diff --git a/corpora/vendored/expression/block/negated-block-out'.hs b/corpora/vendored/expression/block/negated-block-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/negated-block-out'.hs
@@ -0,0 +1,26 @@
+{-# LANGUAGE BlockArguments #-}
+
+-- A block under a minus ends where the block alone would: a tighter chain
+-- led by it keeps its operators at the column of its items, where a step
+-- further in would carry them onto its last line, a signature after it
+-- goes on a line of its own, and a minus after it puts its items a step
+-- further in, where at their column it would begin another item.
+module Ledger.Balance where
+
+balance entry =
+    -case entry of
+        Debit amount -> amount
+        * rate
+        + fee * count
+
+refund =
+    ( -do
+        amount <- owed
+        pure amount
+      :: Ledger Int
+    )
+
+shortfall entry =
+    -case entry of
+            Debit amount -> amount
+        - 1
diff --git a/corpora/vendored/expression/block/negated-block-out.hs b/corpora/vendored/expression/block/negated-block-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/negated-block-out.hs
@@ -0,0 +1,26 @@
+{-# LANGUAGE BlockArguments #-}
+
+-- A block under a minus ends where the block alone would: a tighter chain
+-- led by it keeps its operators at the column of its items, where a step
+-- further in would carry them onto its last line, a signature after it
+-- goes on a line of its own, and a minus after it puts its items a step
+-- further in, where at their column it would begin another item.
+module Ledger.Balance where
+
+balance entry =
+  -case entry of
+    Debit amount -> amount
+    * rate
+    + fee * count
+
+refund =
+  ( -do
+      amount <- owed
+      pure amount
+    :: Ledger Int
+  )
+
+shortfall entry =
+  -case entry of
+      Debit amount -> amount
+    - 1
diff --git a/corpora/vendored/expression/block/negated-block.hs b/corpora/vendored/expression/block/negated-block.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/negated-block.hs
@@ -0,0 +1,26 @@
+{-# LANGUAGE BlockArguments #-}
+
+-- A block under a minus ends where the block alone would: a tighter chain
+-- led by it keeps its operators at the column of its items, where a step
+-- further in would carry them onto its last line, a signature after it
+-- goes on a line of its own, and a minus after it puts its items a step
+-- further in, where at their column it would begin another item.
+module Ledger.Balance where
+
+balance entry =
+  - case entry of
+      Debit amount -> amount
+    * rate
+    + fee * count
+
+refund =
+  ( - do
+        amount <- owed
+        pure amount
+    :: Ledger Int
+  )
+
+shortfall entry =
+  - case entry of
+      Debit amount -> amount
+    - 1
diff --git a/corpora/vendored/expression/block/nested-block-braces-out'.hs b/corpora/vendored/expression/block/nested-block-braces-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/nested-block-braces-out'.hs
@@ -0,0 +1,24 @@
+{-# LANGUAGE BlockArguments #-}
+{-# LANGUAGE RecursiveDo #-}
+{-# LANGUAGE StaticPointers #-}
+
+module Journal.Replay where
+
+replay = do { entry <- do { readEntry }; apply entry }
+
+retry lock = do { withLock lock do { flush }; release lock }
+
+warnUnless quiet = do
+    { unless quiet if loud then shout else do { warn }
+    ; finish
+    }
+
+restore = mdo { rec { ref <- do { newRef cell }; cell <- load ref }; pure cell }
+
+pick mode = case mode of { Eager -> run do { fetch }; Lazy -> defer }
+
+settle = let { first = run do { fetch }; rest = defer } in first
+
+profile = do { {-# SCC "flush" #-} do { flush }; report }
+
+pointer = do { static do { flush }; report }
diff --git a/corpora/vendored/expression/block/nested-block-braces-out.hs b/corpora/vendored/expression/block/nested-block-braces-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/nested-block-braces-out.hs
@@ -0,0 +1,24 @@
+{-# LANGUAGE BlockArguments #-}
+{-# LANGUAGE RecursiveDo #-}
+{-# LANGUAGE StaticPointers #-}
+
+module Journal.Replay where
+
+replay = do { entry <- do { readEntry }; apply entry }
+
+retry lock = do { withLock lock do { flush }; release lock }
+
+warnUnless quiet = do
+  { unless quiet if loud then shout else do { warn }
+  ; finish
+  }
+
+restore = mdo { rec { ref <- do { newRef cell }; cell <- load ref }; pure cell }
+
+pick mode = case mode of { Eager -> run do { fetch }; Lazy -> defer }
+
+settle = let { first = run do { fetch }; rest = defer } in first
+
+profile = do { {-# SCC "flush" #-} do { flush }; report }
+
+pointer = do { static do { flush }; report }
diff --git a/corpora/vendored/expression/block/nested-block-braces.hs b/corpora/vendored/expression/block/nested-block-braces.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/nested-block-braces.hs
@@ -0,0 +1,21 @@
+{-# LANGUAGE BlockArguments #-}
+{-# LANGUAGE RecursiveDo #-}
+{-# LANGUAGE StaticPointers #-}
+
+module Journal.Replay where
+
+replay = do { entry <- do { readEntry }; apply entry }
+
+retry lock = do { withLock lock do { flush }; release lock }
+
+warnUnless quiet = do { unless quiet if loud then shout else do { warn }; finish }
+
+restore = mdo { rec { ref <- do { newRef cell }; cell <- load ref }; pure cell }
+
+pick mode = case mode of { Eager -> run do { fetch }; Lazy -> defer }
+
+settle = let { first = run do { fetch }; rest = defer } in first
+
+profile = do { {-# SCC "flush" #-} do { flush }; report }
+
+pointer = do { static do { flush }; report }
diff --git a/corpora/vendored/expression/block/qualified-do-out'.hs b/corpora/vendored/expression/block/qualified-do-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/qualified-do-out'.hs
@@ -0,0 +1,20 @@
+{-# LANGUAGE QualifiedDo #-}
+{-# LANGUAGE RecursiveDo #-}
+
+module Ledger.Posting where
+
+import qualified Ledger.Journal as J
+
+post :: Entry -> J.Journal ()
+post entry = J.do
+    account <- J.lookup (entryAccount entry)
+    J.append account entry
+
+postBoth :: Entry -> Entry -> J.Journal ()
+postBoth a b = J.do { post a; post b }
+
+settle :: Entry -> J.Journal ()
+settle entry = J.mdo
+    balance <- J.adjust total entry
+    total <- J.sumOf balance
+    J.close total
diff --git a/corpora/vendored/expression/block/qualified-do-out.hs b/corpora/vendored/expression/block/qualified-do-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/qualified-do-out.hs
@@ -0,0 +1,20 @@
+{-# LANGUAGE QualifiedDo #-}
+{-# LANGUAGE RecursiveDo #-}
+
+module Ledger.Posting where
+
+import qualified Ledger.Journal as J
+
+post :: Entry -> J.Journal ()
+post entry = J.do
+  account <- J.lookup (entryAccount entry)
+  J.append account entry
+
+postBoth :: Entry -> Entry -> J.Journal ()
+postBoth a b = J.do { post a; post b }
+
+settle :: Entry -> J.Journal ()
+settle entry = J.mdo
+  balance <- J.adjust total entry
+  total <- J.sumOf balance
+  J.close total
diff --git a/corpora/vendored/expression/block/qualified-do.hs b/corpora/vendored/expression/block/qualified-do.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/qualified-do.hs
@@ -0,0 +1,20 @@
+{-# LANGUAGE QualifiedDo #-}
+{-# LANGUAGE RecursiveDo #-}
+
+module Ledger.Posting where
+
+import qualified Ledger.Journal as J
+
+post :: Entry -> J.Journal ()
+post entry = J.do
+  account <- J.lookup (entryAccount entry)
+  J.append account entry
+
+postBoth :: Entry -> Entry -> J.Journal ()
+postBoth a b = J.do { post a; post b }
+
+settle :: Entry -> J.Journal ()
+settle entry = J.mdo
+  balance <- J.adjust total entry
+  total <- J.sumOf balance
+  J.close total
diff --git a/corpora/vendored/expression/block/rec-block-across-lines-out'.hs b/corpora/vendored/expression/block/rec-block-across-lines-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/rec-block-across-lines-out'.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE RecursiveDo #-}
+
+module Circuit.Latch where
+
+latch :: Signal -> Circuit Signal
+latch input = do
+    rec q <- nand input qBar
+
+        qBar <- nand input q
+    probe q
+    rec echo <- buffer echo
+    pure q
diff --git a/corpora/vendored/expression/block/rec-block-across-lines-out.hs b/corpora/vendored/expression/block/rec-block-across-lines-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/rec-block-across-lines-out.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE RecursiveDo #-}
+
+module Circuit.Latch where
+
+latch :: Signal -> Circuit Signal
+latch input = do
+  rec q <- nand input qBar
+
+      qBar <- nand input q
+  probe q
+  rec echo <- buffer echo
+  pure q
diff --git a/corpora/vendored/expression/block/rec-block-across-lines.hs b/corpora/vendored/expression/block/rec-block-across-lines.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/rec-block-across-lines.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE RecursiveDo #-}
+
+module Circuit.Latch where
+
+latch :: Signal -> Circuit Signal
+latch input = do
+  rec
+    q <- nand input qBar
+
+    qBar <- nand input q
+  probe q
+  rec echo <- buffer echo
+  pure q
diff --git a/corpora/vendored/expression/block/statements-in-brackets-out'.hs b/corpora/vendored/expression/block/statements-in-brackets-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/statements-in-brackets-out'.hs
@@ -0,0 +1,15 @@
+module Courier.Route where
+
+deliver :: Parcel -> IO ()
+deliver parcel = do
+    ( if fragile parcel
+        then carefully
+        else quickly
+        )
+        dispatch
+        parcel
+    (if urgent parcel then express else standard) parcel
+    ( notify
+        (recipient parcel)
+        )
+    (track parcel)
diff --git a/corpora/vendored/expression/block/statements-in-brackets-out.hs b/corpora/vendored/expression/block/statements-in-brackets-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/statements-in-brackets-out.hs
@@ -0,0 +1,15 @@
+module Courier.Route where
+
+deliver :: Parcel -> IO ()
+deliver parcel = do
+  ( if fragile parcel
+      then carefully
+      else quickly
+    )
+    dispatch
+    parcel
+  (if urgent parcel then express else standard) parcel
+  ( notify
+      (recipient parcel)
+    )
+  (track parcel)
diff --git a/corpora/vendored/expression/block/statements-in-brackets.hs b/corpora/vendored/expression/block/statements-in-brackets.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/statements-in-brackets.hs
@@ -0,0 +1,11 @@
+module Courier.Route where
+
+deliver :: Parcel -> IO ()
+deliver parcel = do
+  (if fragile parcel
+     then carefully
+     else quickly) dispatch parcel
+  (if urgent parcel then express else standard) parcel
+  (notify
+     (recipient parcel))
+  (track parcel)
diff --git a/corpora/vendored/expression/block/statements-opening-with-brackets-out'.hs b/corpora/vendored/expression/block/statements-opening-with-brackets-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/statements-opening-with-brackets-out'.hs
@@ -0,0 +1,26 @@
+{-# LANGUAGE OverloadedRecordDot #-}
+
+-- A statement that opens with brackets written across lines closes them a
+-- step in, where at the statement's column the bracket would begin another
+-- statement, whatever follows them: a signature, a type application, a
+-- record update or a field.
+module Elf.Headers where
+
+parseHeader bytes = do
+    ( case magic bytes of
+        Valid -> pure ()
+        Invalid -> fail "not an ELF file"
+        )
+        :: Get ()
+    ( decode
+        bytes
+        )
+        @Header
+    ( header
+        bytes
+        )
+        { entry = 0
+        }
+    ( section
+        bytes
+        ).size
diff --git a/corpora/vendored/expression/block/statements-opening-with-brackets-out.hs b/corpora/vendored/expression/block/statements-opening-with-brackets-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/statements-opening-with-brackets-out.hs
@@ -0,0 +1,26 @@
+{-# LANGUAGE OverloadedRecordDot #-}
+
+-- A statement that opens with brackets written across lines closes them a
+-- step in, where at the statement's column the bracket would begin another
+-- statement, whatever follows them: a signature, a type application, a
+-- record update or a field.
+module Elf.Headers where
+
+parseHeader bytes = do
+  ( case magic bytes of
+      Valid -> pure ()
+      Invalid -> fail "not an ELF file"
+    ) ::
+    Get ()
+  ( decode
+      bytes
+    )
+    @Header
+  ( header
+      bytes
+    )
+    { entry = 0
+    }
+  ( section
+      bytes
+    ).size
diff --git a/corpora/vendored/expression/block/statements-opening-with-brackets.hs b/corpora/vendored/expression/block/statements-opening-with-brackets.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/block/statements-opening-with-brackets.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE OverloadedRecordDot #-}
+
+-- A statement that opens with brackets written across lines closes them a
+-- step in, where at the statement's column the bracket would begin another
+-- statement, whatever follows them: a signature, a type application, a
+-- record update or a field.
+module Elf.Headers where
+
+parseHeader bytes = do
+  (case magic bytes of
+     Valid -> pure ()
+     Invalid -> fail "not an ELF file") :: Get ()
+  (decode
+     bytes) @Header
+  (header
+     bytes) { entry = 0 }
+  (section
+     bytes).size
diff --git a/corpora/vendored/expression/bracket/comprehension-across-lines-in-a-block-out'.hs b/corpora/vendored/expression/bracket/comprehension-across-lines-in-a-block-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/bracket/comprehension-across-lines-in-a-block-out'.hs
@@ -0,0 +1,11 @@
+-- A comprehension across lines that stands as a statement of a block closes
+-- a step in, where its bracket cannot begin another statement.
+module Chess.Moves where
+
+moves :: Board -> [Move]
+moves board = do
+    piece <- pieces board
+    [ Move piece square
+      | square <- reachable board piece
+      , not (occupied board square)
+      ]
diff --git a/corpora/vendored/expression/bracket/comprehension-across-lines-in-a-block-out.hs b/corpora/vendored/expression/bracket/comprehension-across-lines-in-a-block-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/bracket/comprehension-across-lines-in-a-block-out.hs
@@ -0,0 +1,11 @@
+-- A comprehension across lines that stands as a statement of a block closes
+-- a step in, where its bracket cannot begin another statement.
+module Chess.Moves where
+
+moves :: Board -> [Move]
+moves board = do
+  piece <- pieces board
+  [ Move piece square
+    | square <- reachable board piece,
+      not (occupied board square)
+    ]
diff --git a/corpora/vendored/expression/bracket/comprehension-across-lines-in-a-block.hs b/corpora/vendored/expression/bracket/comprehension-across-lines-in-a-block.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/bracket/comprehension-across-lines-in-a-block.hs
@@ -0,0 +1,10 @@
+-- A comprehension across lines that stands as a statement of a block closes
+-- a step in, where its bracket cannot begin another statement.
+module Chess.Moves where
+
+moves :: Board -> [Move]
+moves board = do
+  piece <- pieces board
+  [ Move piece square
+    | square <- reachable board piece,
+      not (occupied board square) ]
diff --git a/corpora/vendored/expression/bracket/leading-commas-in-a-list-closed-a-step-in-out'.hs b/corpora/vendored/expression/bracket/leading-commas-in-a-list-closed-a-step-in-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/bracket/leading-commas-in-a-list-closed-a-step-in-out'.hs
@@ -0,0 +1,8 @@
+module Pairs where
+
+pairs :: [(Int, Int)]
+pairs = do
+    [ (1, 2)
+      , (3, 4)
+      , (5, 6)
+        ]
diff --git a/corpora/vendored/expression/bracket/leading-commas-in-a-list-closed-a-step-in-out.hs b/corpora/vendored/expression/bracket/leading-commas-in-a-list-closed-a-step-in-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/bracket/leading-commas-in-a-list-closed-a-step-in-out.hs
@@ -0,0 +1,8 @@
+module Pairs where
+
+pairs :: [(Int, Int)]
+pairs = do
+  [ (1, 2),
+    (3, 4),
+    (5, 6)
+    ]
diff --git a/corpora/vendored/expression/bracket/leading-commas-in-a-list-closed-a-step-in.hs b/corpora/vendored/expression/bracket/leading-commas-in-a-list-closed-a-step-in.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/bracket/leading-commas-in-a-list-closed-a-step-in.hs
@@ -0,0 +1,8 @@
+module Pairs where
+
+pairs :: [(Int, Int)]
+pairs = do
+  [ (1, 2),
+    (3, 4),
+    (5, 6)
+    ]
diff --git a/corpora/vendored/expression/bracket/list-pattern-written-across-lines-in-a-guard-out'.hs b/corpora/vendored/expression/bracket/list-pattern-written-across-lines-in-a-guard-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/bracket/list-pattern-written-across-lines-in-a-guard-out'.hs
@@ -0,0 +1,23 @@
+primitives :: [Maybe Int] -> Int
+primitives args = case () of
+    _
+        | [ Just a
+          , Just b
+          ] <- args ->
+            a + b
+        | otherwise -> 0
+
+hdlTemplate :: [Maybe Int] -> Int
+hdlTemplate args
+    | [ Just a
+      , Just b
+      ] <- args =
+        a + b
+    | otherwise = 0
+
+fromArguments :: IO [Maybe Int] -> IO Int
+fromArguments getArgs = do
+    [ Just a
+      , Just b
+        ] <- getArgs
+    pure (a + b)
diff --git a/corpora/vendored/expression/bracket/list-pattern-written-across-lines-in-a-guard-out.hs b/corpora/vendored/expression/bracket/list-pattern-written-across-lines-in-a-guard-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/bracket/list-pattern-written-across-lines-in-a-guard-out.hs
@@ -0,0 +1,23 @@
+primitives :: [Maybe Int] -> Int
+primitives args = case () of
+  _
+    | [ Just a,
+        Just b
+      ] <- args ->
+        a + b
+    | otherwise -> 0
+
+hdlTemplate :: [Maybe Int] -> Int
+hdlTemplate args
+  | [ Just a,
+      Just b
+    ] <- args =
+      a + b
+  | otherwise = 0
+
+fromArguments :: IO [Maybe Int] -> IO Int
+fromArguments getArgs = do
+  [ Just a,
+    Just b
+    ] <- getArgs
+  pure (a + b)
diff --git a/corpora/vendored/expression/bracket/list-pattern-written-across-lines-in-a-guard.hs b/corpora/vendored/expression/bracket/list-pattern-written-across-lines-in-a-guard.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/bracket/list-pattern-written-across-lines-in-a-guard.hs
@@ -0,0 +1,22 @@
+primitives :: [Maybe Int] -> Int
+primitives args = case () of
+  _
+    | [ Just a
+      , Just b
+      ] <- args
+    -> a + b
+    | otherwise -> 0
+
+hdlTemplate :: [Maybe Int] -> Int
+hdlTemplate args
+  | [ Just a
+    , Just b
+    ] <- args = a + b
+  | otherwise = 0
+
+fromArguments :: IO [Maybe Int] -> IO Int
+fromArguments getArgs = do
+  [ Just a
+    , Just b
+    ] <- getArgs
+  pure (a + b)
diff --git a/corpora/vendored/expression/bracket/monad-comprehensions-out'.hs b/corpora/vendored/expression/bracket/monad-comprehensions-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/bracket/monad-comprehensions-out'.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE MonadComprehensions #-}
+
+module Roster.Shift where
+
+pairing :: Maybe Worker -> Maybe Worker -> Maybe (Worker, Worker)
+pairing early late = [(e, l) | e <- early, l <- late, e /= l]
+
+cover :: Shift -> Maybe Worker
+cover shift =
+    [ w
+    | w <- lookupWorker (shiftLead shift)
+    , available w
+    , not (onLeave w (shiftDay shift))
+    ]
diff --git a/corpora/vendored/expression/bracket/monad-comprehensions-out.hs b/corpora/vendored/expression/bracket/monad-comprehensions-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/bracket/monad-comprehensions-out.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE MonadComprehensions #-}
+
+module Roster.Shift where
+
+pairing :: Maybe Worker -> Maybe Worker -> Maybe (Worker, Worker)
+pairing early late = [(e, l) | e <- early, l <- late, e /= l]
+
+cover :: Shift -> Maybe Worker
+cover shift =
+  [ w
+  | w <- lookupWorker (shiftLead shift),
+    available w,
+    not (onLeave w (shiftDay shift))
+  ]
diff --git a/corpora/vendored/expression/bracket/monad-comprehensions.hs b/corpora/vendored/expression/bracket/monad-comprehensions.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/bracket/monad-comprehensions.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE MonadComprehensions #-}
+
+module Roster.Shift where
+
+pairing :: Maybe Worker -> Maybe Worker -> Maybe (Worker, Worker)
+pairing early late = [ (e, l) | e <- early, l <- late, e /= l ]
+
+cover :: Shift -> Maybe Worker
+cover shift =
+  [ w | w <- lookupWorker (shiftLead shift),
+        available w,
+        not (onLeave w (shiftDay shift)) ]
diff --git a/corpora/vendored/expression/bracket/or-pattern-written-across-lines-out'.hs b/corpora/vendored/expression/bracket/or-pattern-written-across-lines-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/bracket/or-pattern-written-across-lines-out'.hs
@@ -0,0 +1,29 @@
+{-# LANGUAGE OrPatterns #-}
+
+module Shape.Corners where
+
+hasCorners :: Shape -> Bool
+hasCorners s = case s of
+    ( Square;
+      Triangle
+        ) -> True
+    _ -> False
+
+startsWithCorners :: [Shape] -> Bool
+startsWithCorners
+    ( ( Square;
+        Triangle
+        )
+        : _
+    ) = True
+startsWithCorners _ = False
+
+isFlat :: Shape -> Bool
+isFlat s = case s of
+    Line
+    Point -> True
+    _ -> False
+
+isRound :: Shape -> Bool
+isRound (Circle; Ellipse) = True
+isRound _ = False
diff --git a/corpora/vendored/expression/bracket/or-pattern-written-across-lines-out.hs b/corpora/vendored/expression/bracket/or-pattern-written-across-lines-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/bracket/or-pattern-written-across-lines-out.hs
@@ -0,0 +1,29 @@
+{-# LANGUAGE OrPatterns #-}
+
+module Shape.Corners where
+
+hasCorners :: Shape -> Bool
+hasCorners s = case s of
+  ( Square;
+    Triangle
+    ) -> True
+  _ -> False
+
+startsWithCorners :: [Shape] -> Bool
+startsWithCorners
+  ( ( Square;
+      Triangle
+      )
+      : _
+  ) = True
+startsWithCorners _ = False
+
+isFlat :: Shape -> Bool
+isFlat s = case s of
+  Line
+  Point -> True
+  _ -> False
+
+isRound :: Shape -> Bool
+isRound (Circle; Ellipse) = True
+isRound _ = False
diff --git a/corpora/vendored/expression/bracket/or-pattern-written-across-lines.hs b/corpora/vendored/expression/bracket/or-pattern-written-across-lines.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/bracket/or-pattern-written-across-lines.hs
@@ -0,0 +1,24 @@
+{-# LANGUAGE OrPatterns #-}
+
+module Shape.Corners where
+
+hasCorners :: Shape -> Bool
+hasCorners s = case s of
+  (Square;
+   Triangle) -> True
+  _ -> False
+
+startsWithCorners :: [Shape] -> Bool
+startsWithCorners ((Square;
+                    Triangle) : _) = True
+startsWithCorners _ = False
+
+isFlat :: Shape -> Bool
+isFlat s = case s of
+  Line
+  Point -> True
+  _ -> False
+
+isRound :: Shape -> Bool
+isRound (Circle; Ellipse) = True
+isRound _ = False
diff --git a/corpora/vendored/expression/bracket/parallel-comprehension-with-guards-out.hs b/corpora/vendored/expression/bracket/parallel-comprehension-with-guards-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/bracket/parallel-comprehension-with-guards-out.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE ParallelListComp #-}
+
+module Census.Pairs where
+
+paired :: [Int] -> [Int] -> [(Int, Int)]
+paired xs ys = [(x, y) | x <- xs, even x | y <- ys, y > 0]
+
+labelled :: [String] -> [Int] -> [String] -> [(String, Int, String)]
+labelled as bs cs = [(a, b, c) | a <- as, b <- bs, b `mod` 2 == 0 | c <- cs]
diff --git a/corpora/vendored/expression/bracket/parallel-comprehension-with-guards.hs b/corpora/vendored/expression/bracket/parallel-comprehension-with-guards.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/bracket/parallel-comprehension-with-guards.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE ParallelListComp #-}
+
+module Census.Pairs where
+
+paired :: [Int] -> [Int] -> [(Int, Int)]
+paired xs ys = [(x, y) | x <- xs, even x | y <- ys, y > 0]
+
+labelled :: [String] -> [Int] -> [String] -> [(String, Int, String)]
+labelled as bs cs = [(a,b,c)  |  a<-as,  b<-bs, b`mod`2 == 0|c<-cs ]
diff --git a/corpora/vendored/expression/bracket/ranges-with-a-step-out.hs b/corpora/vendored/expression/bracket/ranges-with-a-step-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/bracket/ranges-with-a-step-out.hs
@@ -0,0 +1,10 @@
+module Calendar.Weeks where
+
+odds :: [Int]
+odds = [1, 3 .. 99]
+
+mondays :: [Int]
+mondays = [0, 7 ..]
+
+countdown :: [Int]
+countdown = [10, 9 .. 0]
diff --git a/corpora/vendored/expression/bracket/ranges-with-a-step.hs b/corpora/vendored/expression/bracket/ranges-with-a-step.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/bracket/ranges-with-a-step.hs
@@ -0,0 +1,10 @@
+module Calendar.Weeks where
+
+odds :: [Int]
+odds = [1,3..99]
+
+mondays :: [Int]
+mondays = [0, 7 ..]
+
+countdown :: [Int]
+countdown = [10, 9 .. 0]
diff --git a/corpora/vendored/expression/bracket/ranges-with-computed-bounds-out.hs b/corpora/vendored/expression/bracket/ranges-with-computed-bounds-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/bracket/ranges-with-computed-bounds-out.hs
@@ -0,0 +1,13 @@
+module Calendar.Slots where
+
+afterLunch :: Int -> [Int]
+afterLunch lunch = [lunch + 1 ..]
+
+everyOtherFrom :: Int -> [Int]
+everyOtherFrom start = [start, start + 2 ..]
+
+working :: Int -> Int -> [Int]
+working open close = [open + 1 .. close - 1]
+
+countdown :: Int -> [Int]
+countdown n = [n * 2, n * 2 - 2 .. n `div` 2]
diff --git a/corpora/vendored/expression/bracket/ranges-with-computed-bounds.hs b/corpora/vendored/expression/bracket/ranges-with-computed-bounds.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/bracket/ranges-with-computed-bounds.hs
@@ -0,0 +1,13 @@
+module Calendar.Slots where
+
+afterLunch :: Int -> [Int]
+afterLunch lunch = [lunch + 1 ..]
+
+everyOtherFrom :: Int -> [Int]
+everyOtherFrom start = [start, start + 2 ..]
+
+working :: Int -> Int -> [Int]
+working open close = [open + 1 .. close - 1]
+
+countdown :: Int -> [Int]
+countdown n = [n * 2, n * 2 - 2 .. n `div` 2]
diff --git a/corpora/vendored/expression/bracket/transform-comprehensions-across-lines-out'.hs b/corpora/vendored/expression/bracket/transform-comprehensions-across-lines-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/bracket/transform-comprehensions-across-lines-out'.hs
@@ -0,0 +1,41 @@
+{-# LANGUAGE TransformListComp #-}
+
+module Census.Districts where
+
+import Data.List (permutations)
+import GHC.Exts (groupWith, sortWith, the)
+
+latest records = [r | r <- records, then reverse]
+
+byGap xs ys = [(x, y) | x <- xs, y <- ys, then sortWith by (x - y)]
+
+bySum ps = [the s | (s, _) <- ps, then group by (s + 1) using groupWith]
+
+districts households =
+    [ ( the district
+      , sum size
+      )
+    | (district, size) <- households
+    , then group by
+        district
+      using
+        groupWith
+    ]
+
+routes stops =
+    [ route
+    | route <- stops
+    , then group using
+        permutations
+    ]
+
+heaviest parcels =
+    [ parcel
+    | parcel <- parcels
+    , then
+        sortWith
+      by
+        ( negate
+            (weight parcel)
+        )
+    ]
diff --git a/corpora/vendored/expression/bracket/transform-comprehensions-across-lines-out.hs b/corpora/vendored/expression/bracket/transform-comprehensions-across-lines-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/bracket/transform-comprehensions-across-lines-out.hs
@@ -0,0 +1,41 @@
+{-# LANGUAGE TransformListComp #-}
+
+module Census.Districts where
+
+import Data.List (permutations)
+import GHC.Exts (groupWith, sortWith, the)
+
+latest records = [r | r <- records, then reverse]
+
+byGap xs ys = [(x, y) | x <- xs, y <- ys, then sortWith by (x - y)]
+
+bySum ps = [the s | (s, _) <- ps, then group by (s + 1) using groupWith]
+
+districts households =
+  [ ( the district,
+      sum size
+    )
+  | (district, size) <- households,
+    then group by
+      district
+    using
+      groupWith
+  ]
+
+routes stops =
+  [ route
+  | route <- stops,
+    then group using
+      permutations
+  ]
+
+heaviest parcels =
+  [ parcel
+  | parcel <- parcels,
+    then
+      sortWith
+    by
+      ( negate
+          (weight parcel)
+      )
+  ]
diff --git a/corpora/vendored/expression/bracket/transform-comprehensions-across-lines.hs b/corpora/vendored/expression/bracket/transform-comprehensions-across-lines.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/bracket/transform-comprehensions-across-lines.hs
@@ -0,0 +1,36 @@
+{-# LANGUAGE TransformListComp #-}
+
+module Census.Districts where
+
+import Data.List (permutations)
+import GHC.Exts (groupWith, sortWith, the)
+
+latest records = [r | r <- records, then reverse]
+
+byGap xs ys = [(x, y) | x <- xs, y <- ys, then sortWith by (x - y)]
+
+bySum ps = [the s | (s, _) <- ps, then group by (s + 1) using groupWith]
+
+districts households =
+  [ ( the district,
+      sum size )
+  | (district, size) <- households,
+    then group
+      by district
+      using groupWith
+  ]
+
+routes stops =
+  [ route
+  | route <- stops,
+    then
+      group using permutations
+  ]
+
+heaviest parcels =
+  [ parcel
+  | parcel <- parcels,
+    then sortWith
+      by (negate
+            (weight parcel))
+  ]
diff --git a/corpora/vendored/expression/bracket/transform-comprehensions-out'.hs b/corpora/vendored/expression/bracket/transform-comprehensions-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/bracket/transform-comprehensions-out'.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE ParallelListComp #-}
+{-# LANGUAGE TransformListComp #-}
+
+module Census.Tally where
+
+import Data.List (inits)
+import GHC.Exts (groupWith, sortWith, the)
+
+oldest people =
+    [name | (name, age) <- people, then sortWith by negate age, then take 3]
+
+byTown ps = [(the t, sum a) | (t, a) <- ps, then group by t using groupWith]
+
+prefixes xs = [x | x <- xs, then group using inits]
+
+ranked ns ss = [(n, s) | n <- ns, then sortWith by n | s <- ss, then reverse]
diff --git a/corpora/vendored/expression/bracket/transform-comprehensions-out.hs b/corpora/vendored/expression/bracket/transform-comprehensions-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/bracket/transform-comprehensions-out.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE ParallelListComp #-}
+{-# LANGUAGE TransformListComp #-}
+
+module Census.Tally where
+
+import Data.List (inits)
+import GHC.Exts (groupWith, sortWith, the)
+
+oldest people =
+  [name | (name, age) <- people, then sortWith by negate age, then take 3]
+
+byTown ps = [(the t, sum a) | (t, a) <- ps, then group by t using groupWith]
+
+prefixes xs = [x | x <- xs, then group using inits]
+
+ranked ns ss = [(n, s) | n <- ns, then sortWith by n | s <- ss, then reverse]
diff --git a/corpora/vendored/expression/bracket/transform-comprehensions.hs b/corpora/vendored/expression/bracket/transform-comprehensions.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/bracket/transform-comprehensions.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE ParallelListComp #-}
+{-# LANGUAGE TransformListComp #-}
+
+module Census.Tally where
+
+import Data.List (inits)
+import GHC.Exts (groupWith, sortWith, the)
+
+oldest people =
+  [name | (name, age) <- people, then sortWith by negate age, then take 3]
+
+byTown ps = [(the t, sum a) | (t, a) <- ps, then group by t using groupWith]
+
+prefixes xs = [x | x <- xs, then group using inits]
+
+ranked ns ss = [(n, s) | n <- ns, then sortWith by n | s <- ss, then reverse]
diff --git a/corpora/vendored/expression/bracket/unboxed-sums-across-lines-out'.hs b/corpora/vendored/expression/bracket/unboxed-sums-across-lines-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/bracket/unboxed-sums-across-lines-out'.hs
@@ -0,0 +1,19 @@
+{-# LANGUAGE UnboxedSums #-}
+
+module Lexer.Width where
+
+narrow :: (# Int | Char #)
+narrow = (# 7 | #)
+
+wide
+    :: (#
+        Int |
+        Char |
+        Bool |
+        () |
+        Double
+       #)
+wide =
+    (#
+        | | 2.5 | |
+    #)
diff --git a/corpora/vendored/expression/bracket/unboxed-sums-across-lines-out.hs b/corpora/vendored/expression/bracket/unboxed-sums-across-lines-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/bracket/unboxed-sums-across-lines-out.hs
@@ -0,0 +1,19 @@
+{-# LANGUAGE UnboxedSums #-}
+
+module Lexer.Width where
+
+narrow :: (# Int | Char #)
+narrow = (# 7 | #)
+
+wide ::
+  (#
+    Int |
+    Char |
+    Bool |
+    () |
+    Double
+  #)
+wide =
+  (#
+    | | 2.5 | |
+  #)
diff --git a/corpora/vendored/expression/bracket/unboxed-sums-across-lines.hs b/corpora/vendored/expression/bracket/unboxed-sums-across-lines.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/bracket/unboxed-sums-across-lines.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE UnboxedSums #-}
+
+module Lexer.Width where
+
+narrow :: (# Int|Char #)
+narrow = (# 7 | #)
+
+wide :: (# Int |
+  Char | Bool | () |
+  Double #)
+wide = (# |
+  | 2.5 | |
+  #)
diff --git a/corpora/vendored/expression/bracket/unboxed-sums-of-compound-alternatives-out.hs b/corpora/vendored/expression/bracket/unboxed-sums-of-compound-alternatives-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/bracket/unboxed-sums-of-compound-alternatives-out.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE UnboxedSums #-}
+
+module Lexer.Span where
+
+located :: Int -> Int -> (# (Int, Int) | () #)
+located from to = (# (from, to) | #)
+
+shifted :: Int -> (# Int | [Int] #)
+shifted n = (# | [n, n + 1] #)
diff --git a/corpora/vendored/expression/bracket/unboxed-sums-of-compound-alternatives.hs b/corpora/vendored/expression/bracket/unboxed-sums-of-compound-alternatives.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/bracket/unboxed-sums-of-compound-alternatives.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE UnboxedSums #-}
+
+module Lexer.Span where
+
+located :: Int -> Int -> (# (Int, Int) | () #)
+located from to = (# (from, to) | #)
+
+shifted :: Int -> (# Int | [Int] #)
+shifted n = (# | [n, n + 1] #)
diff --git a/corpora/vendored/expression/bracket/unboxed-sums-out'.hs b/corpora/vendored/expression/bracket/unboxed-sums-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/bracket/unboxed-sums-out'.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE UnboxedSums #-}
+
+module Lexer.Token where
+
+classify :: Char -> (# Int | Char | () #)
+classify c
+    | isDigit c = (# digitToInt c | | #)
+    | isAlpha c = (# | c | #)
+    | otherwise = (# | | () #)
+
+describe :: (# Int | Char | () #) -> String
+describe (# n | | #) = show n
+describe (# | c | #) = [c]
+describe (# | | () #) = "blank"
diff --git a/corpora/vendored/expression/bracket/unboxed-sums-out.hs b/corpora/vendored/expression/bracket/unboxed-sums-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/bracket/unboxed-sums-out.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE UnboxedSums #-}
+
+module Lexer.Token where
+
+classify :: Char -> (# Int | Char | () #)
+classify c
+  | isDigit c = (# digitToInt c | | #)
+  | isAlpha c = (# | c | #)
+  | otherwise = (# | | () #)
+
+describe :: (# Int | Char | () #) -> String
+describe (# n | | #) = show n
+describe (# | c | #) = [c]
+describe (# | | () #) = "blank"
diff --git a/corpora/vendored/expression/bracket/unboxed-sums.hs b/corpora/vendored/expression/bracket/unboxed-sums.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/bracket/unboxed-sums.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE UnboxedSums #-}
+
+module Lexer.Token where
+
+classify :: Char -> (# Int | Char | () #)
+classify c
+  | isDigit c = (#digitToInt c| | #)
+  | isAlpha c = (# |c | #)
+  | otherwise = (# | |  () #)
+
+describe :: (# Int | Char | () #) -> String
+describe (#n | | #) = show n
+describe (# | c| #) = [c]
+describe (# | | ()#) = "blank"
diff --git a/corpora/vendored/expression/operator/case-as-an-operand-out'.hs b/corpora/vendored/expression/operator/case-as-an-operand-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/case-as-an-operand-out'.hs
@@ -0,0 +1,33 @@
+module Org.Chart where
+
+import qualified Data.Map as Map
+
+infix 6 =:
+
+(=:) :: String -> String -> (String, String)
+k =: v = (k, v)
+
+chain :: Map.Map Int Int -> Int -> [Int]
+chain bosses n =
+    n : case Map.lookup n bosses of
+        Nothing -> []
+        Just b -> chain bosses b
+
+chain' :: Map.Map Int Int -> Int -> [Int]
+chain' bosses n =
+    n
+        : case Map.lookup n bosses of
+            Nothing -> []
+            Just b -> chain' bosses b
+
+card :: Person -> [(String, String)]
+card p =
+    reverse $
+        "name" =: personName p
+            : "team" =: personTeam p
+            : case personPhone p of
+                Nothing -> []
+                Just phone -> ["phone" =: phone]
+
+final :: Char -> String
+final c = case c of { '.' -> "stop"; _ -> "go" } : []
diff --git a/corpora/vendored/expression/operator/case-as-an-operand-out.hs b/corpora/vendored/expression/operator/case-as-an-operand-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/case-as-an-operand-out.hs
@@ -0,0 +1,33 @@
+module Org.Chart where
+
+import qualified Data.Map as Map
+
+infix 6 =:
+
+(=:) :: String -> String -> (String, String)
+k =: v = (k, v)
+
+chain :: Map.Map Int Int -> Int -> [Int]
+chain bosses n =
+  n : case Map.lookup n bosses of
+    Nothing -> []
+    Just b -> chain bosses b
+
+chain' :: Map.Map Int Int -> Int -> [Int]
+chain' bosses n =
+  n
+    : case Map.lookup n bosses of
+      Nothing -> []
+      Just b -> chain' bosses b
+
+card :: Person -> [(String, String)]
+card p =
+  reverse $
+    "name" =: personName p
+      : "team" =: personTeam p
+      : case personPhone p of
+        Nothing -> []
+        Just phone -> ["phone" =: phone]
+
+final :: Char -> String
+final c = case c of { '.' -> "stop"; _ -> "go" } : []
diff --git a/corpora/vendored/expression/operator/case-as-an-operand.hs b/corpora/vendored/expression/operator/case-as-an-operand.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/case-as-an-operand.hs
@@ -0,0 +1,32 @@
+module Org.Chart where
+
+import qualified Data.Map as Map
+
+infix 6 =:
+
+(=:) :: String -> String -> (String, String)
+k =: v = (k, v)
+
+chain :: Map.Map Int Int -> Int -> [Int]
+chain bosses n = n : case Map.lookup n bosses of
+  Nothing -> []
+  Just b -> chain bosses b
+
+chain' :: Map.Map Int Int -> Int -> [Int]
+chain' bosses n =
+  n
+    : case Map.lookup n bosses of
+        Nothing -> []
+        Just b -> chain' bosses b
+
+card :: Person -> [(String, String)]
+card p =
+  reverse $
+    "name" =: personName p
+      : "team" =: personTeam p
+      : case personPhone p of
+          Nothing -> []
+          Just phone -> ["phone" =: phone]
+
+final :: Char -> String
+final c = case c of {'.' -> "stop"; _ -> "go"} : []
diff --git a/corpora/vendored/expression/operator/comment-before-an-operator-that-may-trail-out'.hs b/corpora/vendored/expression/operator/comment-before-an-operator-that-may-trail-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/comment-before-an-operator-that-may-trail-out'.hs
@@ -0,0 +1,18 @@
+module Kiln.Load where
+
+loaded =
+    stack $
+        -- one shelf at a time
+        shelf
+            : rest
+
+checked =
+    when ready $ do
+        -- or not at all
+        fire
+        cool
+
+stacked =
+    stack $ -- one shelf at a time
+        shelf
+            : rest
diff --git a/corpora/vendored/expression/operator/comment-before-an-operator-that-may-trail-out.hs b/corpora/vendored/expression/operator/comment-before-an-operator-that-may-trail-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/comment-before-an-operator-that-may-trail-out.hs
@@ -0,0 +1,18 @@
+module Kiln.Load where
+
+loaded =
+  stack $
+    -- one shelf at a time
+    shelf
+      : rest
+
+checked =
+  when ready $ do
+    -- or not at all
+    fire
+    cool
+
+stacked =
+  stack $ -- one shelf at a time
+    shelf
+      : rest
diff --git a/corpora/vendored/expression/operator/comment-before-an-operator-that-may-trail.hs b/corpora/vendored/expression/operator/comment-before-an-operator-that-may-trail.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/comment-before-an-operator-that-may-trail.hs
@@ -0,0 +1,19 @@
+module Kiln.Load where
+
+loaded =
+  stack
+    -- one shelf at a time
+    $ shelf
+      : rest
+
+checked =
+  when ready
+    -- or not at all
+    $ do
+      fire
+      cool
+
+stacked =
+  stack $ -- one shelf at a time
+    shelf
+      : rest
diff --git a/corpora/vendored/expression/operator/comments-on-either-side-of-an-operator-that-may-trail-out'.hs b/corpora/vendored/expression/operator/comments-on-either-side-of-an-operator-that-may-trail-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/comments-on-either-side-of-an-operator-that-may-trail-out'.hs
@@ -0,0 +1,20 @@
+module Kiln.Fire where
+
+fired =
+    stack $
+        -- one shelf at a time
+        -- the hottest first
+        shelf
+
+glazed =
+    dip $
+        -- twice over
+        {- thin -} shelf
+
+cooled =
+    wait $
+        -- an hour
+        -- or two
+        -- with the door shut
+        -- and the vents open
+        shelf
diff --git a/corpora/vendored/expression/operator/comments-on-either-side-of-an-operator-that-may-trail-out.hs b/corpora/vendored/expression/operator/comments-on-either-side-of-an-operator-that-may-trail-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/comments-on-either-side-of-an-operator-that-may-trail-out.hs
@@ -0,0 +1,20 @@
+module Kiln.Fire where
+
+fired =
+  stack $
+    -- one shelf at a time
+    -- the hottest first
+    shelf
+
+glazed =
+  dip $
+    -- twice over
+    {- thin -} shelf
+
+cooled =
+  wait $
+    -- an hour
+    -- or two
+    -- with the door shut
+    -- and the vents open
+    shelf
diff --git a/corpora/vendored/expression/operator/comments-on-either-side-of-an-operator-that-may-trail.hs b/corpora/vendored/expression/operator/comments-on-either-side-of-an-operator-that-may-trail.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/comments-on-either-side-of-an-operator-that-may-trail.hs
@@ -0,0 +1,20 @@
+module Kiln.Fire where
+
+fired =
+  stack
+    -- one shelf at a time
+    $ -- the hottest first
+      shelf
+
+glazed =
+  dip
+    -- twice over
+    {- thin -} $ shelf
+
+cooled =
+  wait
+    -- an hour
+    -- or two
+    $ -- with the door shut
+      -- and the vents open
+      shelf
diff --git a/corpora/vendored/expression/operator/do-block-after-a-leading-dollar-out'.hs b/corpora/vendored/expression/operator/do-block-after-a-leading-dollar-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/do-block-after-a-leading-dollar-out'.hs
@@ -0,0 +1,18 @@
+textRoundtrip :: IO ()
+textRoundtrip =
+    fmap id $
+        withConnection $ do
+            encode
+            decode
+
+roundtrip :: IO ()
+roundtrip =
+    withConnection $ do
+        encode
+        decode
+
+withRemark :: IO ()
+withRemark =
+    withConnection $ do -- a fresh connection
+        encode
+        decode
diff --git a/corpora/vendored/expression/operator/do-block-after-a-leading-dollar-out.hs b/corpora/vendored/expression/operator/do-block-after-a-leading-dollar-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/do-block-after-a-leading-dollar-out.hs
@@ -0,0 +1,18 @@
+textRoundtrip :: IO ()
+textRoundtrip =
+  fmap id $
+    withConnection $ do
+      encode
+      decode
+
+roundtrip :: IO ()
+roundtrip =
+  withConnection $ do
+    encode
+    decode
+
+withRemark :: IO ()
+withRemark =
+  withConnection $ do -- a fresh connection
+    encode
+    decode
diff --git a/corpora/vendored/expression/operator/do-block-after-a-leading-dollar.hs b/corpora/vendored/expression/operator/do-block-after-a-leading-dollar.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/do-block-after-a-leading-dollar.hs
@@ -0,0 +1,21 @@
+textRoundtrip :: IO ()
+textRoundtrip =
+  fmap id
+    $ withConnection
+    $ do
+      encode
+      decode
+
+roundtrip :: IO ()
+roundtrip =
+  withConnection
+    $ do
+      encode
+      decode
+
+withRemark :: IO ()
+withRemark =
+  withConnection    -- a fresh connection
+    $ do
+      encode
+      decode
diff --git a/corpora/vendored/expression/operator/do-block-before-an-operator-out'.hs b/corpora/vendored/expression/operator/do-block-before-an-operator-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/do-block-before-an-operator-out'.hs
@@ -0,0 +1,19 @@
+module Spec where
+
+spec :: IO ()
+spec = do
+    it "adds" $ do
+        sum $ do
+            [1, 2]
+        `shouldBe` 3
+
+    it "adds, written broken" $
+        do
+            sum $ do
+                [1, 2]
+            `shouldBe` 3
+
+recovered :: IO ()
+recovered = when ready $ do
+    run
+    `catch` handler
diff --git a/corpora/vendored/expression/operator/do-block-before-an-operator-out.hs b/corpora/vendored/expression/operator/do-block-before-an-operator-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/do-block-before-an-operator-out.hs
@@ -0,0 +1,19 @@
+module Spec where
+
+spec :: IO ()
+spec = do
+  it "adds" $ do
+    sum $ do
+      [1, 2]
+    `shouldBe` 3
+
+  it "adds, written broken" $
+    do
+      sum $ do
+        [1, 2]
+      `shouldBe` 3
+
+recovered :: IO ()
+recovered = when ready $ do
+  run
+  `catch` handler
diff --git a/corpora/vendored/expression/operator/do-block-before-an-operator.hs b/corpora/vendored/expression/operator/do-block-before-an-operator.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/do-block-before-an-operator.hs
@@ -0,0 +1,19 @@
+module Spec where
+
+spec :: IO ()
+spec = do
+  it "adds" $ do
+    sum $ do
+      [1, 2]
+    `shouldBe` 3
+
+  it "adds, written broken" $
+    do
+      sum $ do
+        [1, 2]
+      `shouldBe` 3
+
+recovered :: IO ()
+recovered = when ready $ do
+  run
+  `catch` handler
diff --git a/corpora/vendored/expression/operator/do-blocks-chained-across-lines-out'.hs b/corpora/vendored/expression/operator/do-blocks-chained-across-lines-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/do-blocks-chained-across-lines-out'.hs
@@ -0,0 +1,22 @@
+module Quiz.Bonus where
+
+import Control.Applicative ((<|>))
+
+bonuses :: [Int]
+bonuses =
+    do
+        let base = 10
+        base * 2
+        : do
+            5
+        : []
+
+sign :: Parser (Int -> Int)
+sign =
+    do
+        char '-'
+        pure negate
+        <|> do
+            char '+'
+            pure id
+        <|> pure id
diff --git a/corpora/vendored/expression/operator/do-blocks-chained-across-lines-out.hs b/corpora/vendored/expression/operator/do-blocks-chained-across-lines-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/do-blocks-chained-across-lines-out.hs
@@ -0,0 +1,22 @@
+module Quiz.Bonus where
+
+import Control.Applicative ((<|>))
+
+bonuses :: [Int]
+bonuses =
+  do
+    let base = 10
+    base * 2
+    : do
+      5
+    : []
+
+sign :: Parser (Int -> Int)
+sign =
+  do
+    char '-'
+    pure negate
+    <|> do
+      char '+'
+      pure id
+    <|> pure id
diff --git a/corpora/vendored/expression/operator/do-blocks-chained-across-lines.hs b/corpora/vendored/expression/operator/do-blocks-chained-across-lines.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/do-blocks-chained-across-lines.hs
@@ -0,0 +1,22 @@
+module Quiz.Bonus where
+
+import Control.Applicative ((<|>))
+
+bonuses :: [Int]
+bonuses =
+  do
+    let base = 10
+    base * 2
+  : do
+    5
+  : []
+
+sign :: Parser (Int -> Int)
+sign =
+  do
+    char '-'
+    pure negate
+  <|> do
+    char '+'
+    pure id
+  <|> pure id
diff --git a/corpora/vendored/expression/operator/fixity-declared-for-one-namespace-out'.hs b/corpora/vendored/expression/operator/fixity-declared-for-one-namespace-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/fixity-declared-for-one-namespace-out'.hs
@@ -0,0 +1,26 @@
+{-# LANGUAGE ExplicitNamespaces #-}
+
+-- A fixity declared with a namespace applies to the type or to the
+-- constructor of its name alone: :* binds tighter than :+ in Shape, and
+-- looser in shape.
+module Shape.Sum where
+
+infixr 6 type :+
+infixr 7 type :*
+infixr 7 data :+
+infixr 6 data :*
+
+data a :+ b = a :+ b
+
+data a :* b = a :* b
+
+type Shape =
+    Int
+        :+ Int
+            :* Int
+
+shape :: Int :* (Int :+ Int)
+shape =
+    1
+        :* 2
+            :+ 3
diff --git a/corpora/vendored/expression/operator/fixity-declared-for-one-namespace-out.hs b/corpora/vendored/expression/operator/fixity-declared-for-one-namespace-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/fixity-declared-for-one-namespace-out.hs
@@ -0,0 +1,26 @@
+{-# LANGUAGE ExplicitNamespaces #-}
+
+-- A fixity declared with a namespace applies to the type or to the
+-- constructor of its name alone: :* binds tighter than :+ in Shape, and
+-- looser in shape.
+module Shape.Sum where
+
+infixr 6 type :+
+infixr 7 type :*
+infixr 7 data :+
+infixr 6 data :*
+
+data a :+ b = a :+ b
+
+data a :* b = a :* b
+
+type Shape =
+  Int
+    :+ Int
+      :* Int
+
+shape :: Int :* (Int :+ Int)
+shape =
+  1
+    :* 2
+      :+ 3
diff --git a/corpora/vendored/expression/operator/fixity-declared-for-one-namespace.hs b/corpora/vendored/expression/operator/fixity-declared-for-one-namespace.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/fixity-declared-for-one-namespace.hs
@@ -0,0 +1,24 @@
+{-# LANGUAGE ExplicitNamespaces #-}
+
+-- A fixity declared with a namespace applies to the type or to the
+-- constructor of its name alone: :* binds tighter than :+ in Shape, and
+-- looser in shape.
+module Shape.Sum where
+
+infixr 6 type :+
+infixr 7 type :*
+infixr 7 data :+
+infixr 6 data :*
+
+data a :+ b = a :+ b
+
+data a :* b = a :* b
+
+type Shape = Int
+  :+ Int
+  :* Int
+
+shape :: Int :* (Int :+ Int)
+shape = 1
+  :* 2
+  :+ 3
diff --git a/corpora/vendored/expression/operator/fixity-local-to-a-binding-out'.hs b/corpora/vendored/expression/operator/fixity-local-to-a-binding-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/fixity-local-to-a-binding-out'.hs
@@ -0,0 +1,29 @@
+-- A fixity declared among local bindings decides the layout of the operator
+-- they bind.
+module Setting.Fallback where
+
+import Text.Read (readMaybe)
+
+data Setting = Number Int | Switch Bool | Word String
+
+parsed :: String -> Maybe Setting
+parsed input =
+    Number
+            <$> readMaybe input
+        <!> Switch
+            <$> readMaybe input
+        <!> pure (Word input)
+    where
+        infixl 3 <!>
+        Nothing <!> y = y
+        x <!> _ = x
+
+firstOf :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int
+firstOf a b c =
+    let infixr 3 <!>
+        Nothing <!> y = y
+        x <!> _ = x
+     in negate
+            <$> a
+            <!> b
+            <!> c
diff --git a/corpora/vendored/expression/operator/fixity-local-to-a-binding-out.hs b/corpora/vendored/expression/operator/fixity-local-to-a-binding-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/fixity-local-to-a-binding-out.hs
@@ -0,0 +1,29 @@
+-- A fixity declared among local bindings decides the layout of the operator
+-- they bind.
+module Setting.Fallback where
+
+import Text.Read (readMaybe)
+
+data Setting = Number Int | Switch Bool | Word String
+
+parsed :: String -> Maybe Setting
+parsed input =
+  Number
+      <$> readMaybe input
+    <!> Switch
+      <$> readMaybe input
+    <!> pure (Word input)
+  where
+    infixl 3 <!>
+    Nothing <!> y = y
+    x <!> _ = x
+
+firstOf :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int
+firstOf a b c =
+  let infixr 3 <!>
+      Nothing <!> y = y
+      x <!> _ = x
+   in negate
+        <$> a
+        <!> b
+        <!> c
diff --git a/corpora/vendored/expression/operator/fixity-local-to-a-binding.hs b/corpora/vendored/expression/operator/fixity-local-to-a-binding.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/fixity-local-to-a-binding.hs
@@ -0,0 +1,29 @@
+-- A fixity declared among local bindings decides the layout of the operator
+-- they bind.
+module Setting.Fallback where
+
+import Text.Read (readMaybe)
+
+data Setting = Number Int | Switch Bool | Word String
+
+parsed :: String -> Maybe Setting
+parsed input =
+  Number
+    <$> readMaybe input
+      <!> Switch
+    <$> readMaybe input
+      <!> pure (Word input)
+  where
+    infixl 3 <!>
+    Nothing <!> y = y
+    x <!> _ = x
+
+firstOf :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int
+firstOf a b c =
+  let infixr 3 <!>
+      Nothing <!> y = y
+      x <!> _ = x
+   in negate
+        <$> a
+          <!> b
+          <!> c
diff --git a/corpora/vendored/expression/operator/fixity-of-an-associated-family-out'.hs b/corpora/vendored/expression/operator/fixity-of-an-associated-family-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/fixity-of-an-associated-family-out'.hs
@@ -0,0 +1,25 @@
+{-# LANGUAGE TypeFamilies #-}
+
+-- A fixity declared for a family a class associates applies among types
+-- only: ++ binds tighter than <> in Bundle, and looser in bundle, where
+-- both are the Prelude's.
+module Crate.Bundle where
+
+infixl 7 ++
+infixl 6 <>
+
+class Packable a where
+    type a ++ b
+    type a <> b
+    packWith :: a -> b -> a ++ b
+
+type Bundle a b c =
+    a
+        <> b
+            ++ c
+
+bundle :: String -> String -> String -> String
+bundle a b c =
+    a
+        ++ b
+            <> c
diff --git a/corpora/vendored/expression/operator/fixity-of-an-associated-family-out.hs b/corpora/vendored/expression/operator/fixity-of-an-associated-family-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/fixity-of-an-associated-family-out.hs
@@ -0,0 +1,25 @@
+{-# LANGUAGE TypeFamilies #-}
+
+-- A fixity declared for a family a class associates applies among types
+-- only: ++ binds tighter than <> in Bundle, and looser in bundle, where
+-- both are the Prelude's.
+module Crate.Bundle where
+
+infixl 7 ++
+infixl 6 <>
+
+class Packable a where
+  type a ++ b
+  type a <> b
+  packWith :: a -> b -> a ++ b
+
+type Bundle a b c =
+  a
+    <> b
+      ++ c
+
+bundle :: String -> String -> String -> String
+bundle a b c =
+  a
+    ++ b
+      <> c
diff --git a/corpora/vendored/expression/operator/fixity-of-an-associated-family.hs b/corpora/vendored/expression/operator/fixity-of-an-associated-family.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/fixity-of-an-associated-family.hs
@@ -0,0 +1,23 @@
+{-# LANGUAGE TypeFamilies #-}
+
+-- A fixity declared for a family a class associates applies among types
+-- only: ++ binds tighter than <> in Bundle, and looser in bundle, where
+-- both are the Prelude's.
+module Crate.Bundle where
+
+infixl 7 ++
+infixl 6 <>
+
+class Packable a where
+  type a ++ b
+  type a <> b
+  packWith :: a -> b -> a ++ b
+
+type Bundle a b c = a
+  <> b
+  ++ c
+
+bundle :: String -> String -> String -> String
+bundle a b c = a
+  ++ b
+  <> c
diff --git a/corpora/vendored/expression/operator/fixity-shared-by-a-type-and-a-field-out'.hs b/corpora/vendored/expression/operator/fixity-shared-by-a-type-and-a-field-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/fixity-shared-by-a-type-and-a-field-out'.hs
@@ -0,0 +1,27 @@
+{-# LANGUAGE PatternSynonyms #-}
+
+-- A fixity declared for an operator that names a type and a record field
+-- applies to the field too, whether a newtype, a GADT or a pattern synonym
+-- declares it, so each operator below nests under the one before it.
+module Arrow.Apply where
+
+infixr 1 ~>
+infixr 2 <~
+infixr 3 |>
+
+newtype a ~> b = Morph{(~>) :: a -> b}
+
+type a <~ b = b ~> a
+
+pattern Flipped :: (b -> a) -> a <~ b
+pattern Flipped{(<~)} = Morph (<~)
+
+data a |> b where
+    Pipe :: {(|>) :: a -> b} -> a |> b
+
+applied :: (Int ~> Int) -> (Int <~ Int) -> (Int |> Int) -> Int -> Int
+applied f g h x =
+    f
+        ~> g
+            <~ h
+                |> x + 1
diff --git a/corpora/vendored/expression/operator/fixity-shared-by-a-type-and-a-field-out.hs b/corpora/vendored/expression/operator/fixity-shared-by-a-type-and-a-field-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/fixity-shared-by-a-type-and-a-field-out.hs
@@ -0,0 +1,27 @@
+{-# LANGUAGE PatternSynonyms #-}
+
+-- A fixity declared for an operator that names a type and a record field
+-- applies to the field too, whether a newtype, a GADT or a pattern synonym
+-- declares it, so each operator below nests under the one before it.
+module Arrow.Apply where
+
+infixr 1 ~>
+infixr 2 <~
+infixr 3 |>
+
+newtype a ~> b = Morph{(~>) :: a -> b}
+
+type a <~ b = b ~> a
+
+pattern Flipped :: (b -> a) -> a <~ b
+pattern Flipped{(<~)} = Morph (<~)
+
+data a |> b where
+  Pipe :: {(|>) :: a -> b} -> a |> b
+
+applied :: (Int ~> Int) -> (Int <~ Int) -> (Int |> Int) -> Int -> Int
+applied f g h x =
+  f
+    ~> g
+      <~ h
+        |> x + 1
diff --git a/corpora/vendored/expression/operator/fixity-shared-by-a-type-and-a-field.hs b/corpora/vendored/expression/operator/fixity-shared-by-a-type-and-a-field.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/fixity-shared-by-a-type-and-a-field.hs
@@ -0,0 +1,26 @@
+{-# LANGUAGE PatternSynonyms #-}
+
+-- A fixity declared for an operator that names a type and a record field
+-- applies to the field too, whether a newtype, a GADT or a pattern synonym
+-- declares it, so each operator below nests under the one before it.
+module Arrow.Apply where
+
+infixr 1 ~>
+infixr 2 <~
+infixr 3 |>
+
+newtype a ~> b = Morph {(~>) :: a -> b}
+
+type a <~ b = b ~> a
+
+pattern Flipped :: (b -> a) -> a <~ b
+pattern Flipped {(<~)} = Morph (<~)
+
+data a |> b where
+  Pipe :: {(|>) :: a -> b} -> a |> b
+
+applied :: (Int ~> Int) -> (Int <~ Int) -> (Int |> Int) -> Int -> Int
+applied f g h x = f
+  ~> g
+  <~ h
+  |> x + 1
diff --git a/corpora/vendored/expression/operator/fixity-shared-by-a-type-and-a-term-out'.hs b/corpora/vendored/expression/operator/fixity-shared-by-a-type-and-a-term-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/fixity-shared-by-a-type-and-a-term-out'.hs
@@ -0,0 +1,34 @@
+{-# LANGUAGE PatternSynonyms #-}
+
+-- A fixity declared for an operator that names a type and a term applies
+-- to the term too, be it a method, a pattern synonym or a foreign import,
+-- so each operator below nests under the one before it.
+module Interval.Bounds where
+
+infixr 1 :<
+infixr 2 \/
+infixr 3 /\
+
+type a :< b = (a, b)
+
+type a \/ b = Either a b
+
+type a /\ b = (a, b)
+
+pattern (:<) :: a -> b -> a :< b
+pattern lower :< upper = (lower, upper)
+
+class Lattice l where
+    (\/) :: l -> l -> l
+
+instance Lattice Double where
+    (\/) = max
+
+foreign import ccall unsafe "math.h fmin" (/\) :: Double -> Double -> Double
+
+bounds :: Double -> Double -> Double -> Double :< Double
+bounds x y z =
+    0
+        :< x
+            \/ y
+                /\ z + 1
diff --git a/corpora/vendored/expression/operator/fixity-shared-by-a-type-and-a-term-out.hs b/corpora/vendored/expression/operator/fixity-shared-by-a-type-and-a-term-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/fixity-shared-by-a-type-and-a-term-out.hs
@@ -0,0 +1,34 @@
+{-# LANGUAGE PatternSynonyms #-}
+
+-- A fixity declared for an operator that names a type and a term applies
+-- to the term too, be it a method, a pattern synonym or a foreign import,
+-- so each operator below nests under the one before it.
+module Interval.Bounds where
+
+infixr 1 :<
+infixr 2 \/
+infixr 3 /\
+
+type a :< b = (a, b)
+
+type a \/ b = Either a b
+
+type a /\ b = (a, b)
+
+pattern (:<) :: a -> b -> a :< b
+pattern lower :< upper = (lower, upper)
+
+class Lattice l where
+  (\/) :: l -> l -> l
+
+instance Lattice Double where
+  (\/) = max
+
+foreign import ccall unsafe "math.h fmin" (/\) :: Double -> Double -> Double
+
+bounds :: Double -> Double -> Double -> Double :< Double
+bounds x y z =
+  0
+    :< x
+      \/ y
+        /\ z + 1
diff --git a/corpora/vendored/expression/operator/fixity-shared-by-a-type-and-a-term.hs b/corpora/vendored/expression/operator/fixity-shared-by-a-type-and-a-term.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/fixity-shared-by-a-type-and-a-term.hs
@@ -0,0 +1,33 @@
+{-# LANGUAGE PatternSynonyms #-}
+
+-- A fixity declared for an operator that names a type and a term applies
+-- to the term too, be it a method, a pattern synonym or a foreign import,
+-- so each operator below nests under the one before it.
+module Interval.Bounds where
+
+infixr 1 :<
+infixr 2 \/
+infixr 3 /\
+
+type a :< b = (a, b)
+
+type a \/ b = Either a b
+
+type a /\ b = (a, b)
+
+pattern (:<) :: a -> b -> a :< b
+pattern lower :< upper = (lower, upper)
+
+class Lattice l where
+  (\/) :: l -> l -> l
+
+instance Lattice Double where
+  (\/) = max
+
+foreign import ccall unsafe "math.h fmin" (/\) :: Double -> Double -> Double
+
+bounds :: Double -> Double -> Double -> Double :< Double
+bounds x y z = 0
+  :< x
+  \/ y
+  /\ z + 1
diff --git a/corpora/vendored/expression/operator/fixity-shared-by-a-type-and-its-constructor-out'.hs b/corpora/vendored/expression/operator/fixity-shared-by-a-type-and-its-constructor-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/fixity-shared-by-a-type-and-its-constructor-out'.hs
@@ -0,0 +1,41 @@
+{-# LANGUAGE TypeFamilies #-}
+
+-- A fixity declared for an operator that names a type and a constructor
+-- applies to both, however the constructor is declared, so each operator
+-- below nests under the one before it.
+module Circuit.Wiring where
+
+infixr 5 :+
+infixr 6 :-
+infixr 7 :*
+infixr 8 :/
+
+data a :+ b = a :+ b
+
+data a :- b where
+    (:-) :: a -> b -> a :- b
+
+data family a :* b
+
+data instance Int :* b = Int :* b
+
+class Terminal t where
+    data t :/ u
+
+instance Terminal Bool where
+    data Bool :/ u = Bool :/ u
+
+type Wiring =
+    Int
+        :+ Char
+            :- Int
+                :* Bool
+                    :/ String
+
+wiring :: Wiring
+wiring =
+    1
+        :+ 'a'
+            :- 2
+                :* True
+                    :/ "end"
diff --git a/corpora/vendored/expression/operator/fixity-shared-by-a-type-and-its-constructor-out.hs b/corpora/vendored/expression/operator/fixity-shared-by-a-type-and-its-constructor-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/fixity-shared-by-a-type-and-its-constructor-out.hs
@@ -0,0 +1,41 @@
+{-# LANGUAGE TypeFamilies #-}
+
+-- A fixity declared for an operator that names a type and a constructor
+-- applies to both, however the constructor is declared, so each operator
+-- below nests under the one before it.
+module Circuit.Wiring where
+
+infixr 5 :+
+infixr 6 :-
+infixr 7 :*
+infixr 8 :/
+
+data a :+ b = a :+ b
+
+data a :- b where
+  (:-) :: a -> b -> a :- b
+
+data family a :* b
+
+data instance Int :* b = Int :* b
+
+class Terminal t where
+  data t :/ u
+
+instance Terminal Bool where
+  data Bool :/ u = Bool :/ u
+
+type Wiring =
+  Int
+    :+ Char
+      :- Int
+        :* Bool
+          :/ String
+
+wiring :: Wiring
+wiring =
+  1
+    :+ 'a'
+      :- 2
+        :* True
+          :/ "end"
diff --git a/corpora/vendored/expression/operator/fixity-shared-by-a-type-and-its-constructor.hs b/corpora/vendored/expression/operator/fixity-shared-by-a-type-and-its-constructor.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/fixity-shared-by-a-type-and-its-constructor.hs
@@ -0,0 +1,39 @@
+{-# LANGUAGE TypeFamilies #-}
+
+-- A fixity declared for an operator that names a type and a constructor
+-- applies to both, however the constructor is declared, so each operator
+-- below nests under the one before it.
+module Circuit.Wiring where
+
+infixr 5 :+
+infixr 6 :-
+infixr 7 :*
+infixr 8 :/
+
+data a :+ b = a :+ b
+
+data a :- b where
+  (:-) :: a -> b -> a :- b
+
+data family a :* b
+
+data instance Int :* b = Int :* b
+
+class Terminal t where
+  data t :/ u
+
+instance Terminal Bool where
+  data Bool :/ u = Bool :/ u
+
+type Wiring = Int
+  :+ Char
+  :- Int
+  :* Bool
+  :/ String
+
+wiring :: Wiring
+wiring = 1
+  :+ 'a'
+  :- 2
+  :* True
+  :/ "end"
diff --git a/corpora/vendored/expression/operator/fixity-without-a-precedence-out'.hs b/corpora/vendored/expression/operator/fixity-without-a-precedence-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/fixity-without-a-precedence-out'.hs
@@ -0,0 +1,21 @@
+{-# LANGUAGE ExplicitNamespaces #-}
+
+-- A fixity declaration written without a precedence stays without one.
+module Rope.Join where
+
+infixr `joinedTo`
+infixl 5 `besides`
+infix <~>, `against`
+infixr type :~
+
+class Splice r where
+    infixl `splice`
+    splice :: r -> r -> r
+
+data a :~ b = a :~ b
+
+joinedTo, besides, (<~>), against :: String -> String -> String
+joinedTo = (++)
+besides = (++)
+(<~>) = (++)
+against = (++)
diff --git a/corpora/vendored/expression/operator/fixity-without-a-precedence-out.hs b/corpora/vendored/expression/operator/fixity-without-a-precedence-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/fixity-without-a-precedence-out.hs
@@ -0,0 +1,21 @@
+{-# LANGUAGE ExplicitNamespaces #-}
+
+-- A fixity declaration written without a precedence stays without one.
+module Rope.Join where
+
+infixr `joinedTo`
+infixl 5 `besides`
+infix <~>, `against`
+infixr type :~
+
+class Splice r where
+  infixl `splice`
+  splice :: r -> r -> r
+
+data a :~ b = a :~ b
+
+joinedTo, besides, (<~>), against :: String -> String -> String
+joinedTo = (++)
+besides = (++)
+(<~>) = (++)
+against = (++)
diff --git a/corpora/vendored/expression/operator/fixity-without-a-precedence.hs b/corpora/vendored/expression/operator/fixity-without-a-precedence.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/fixity-without-a-precedence.hs
@@ -0,0 +1,21 @@
+{-# LANGUAGE ExplicitNamespaces #-}
+
+-- A fixity declaration written without a precedence stays without one.
+module Rope.Join where
+
+infixr `joinedTo`
+infixl 5 `besides`
+infix <~>, `against`
+infixr type :~
+
+class Splice r where
+  infixl `splice`
+  splice :: r -> r -> r
+
+data a :~ b = a :~ b
+
+joinedTo, besides, (<~>), against :: String -> String -> String
+joinedTo = (++)
+besides = (++)
+(<~>) = (++)
+against = (++)
diff --git a/corpora/vendored/expression/operator/hanging-operand-after-a-one-line-do-out'.hs b/corpora/vendored/expression/operator/hanging-operand-after-a-one-line-do-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/hanging-operand-after-a-one-line-do-out'.hs
@@ -0,0 +1,7 @@
+module Parser.Sequence where
+
+lexeme =
+    do { skipSpace }
+    >>= \_ -> do
+        token <- word
+        pure token
diff --git a/corpora/vendored/expression/operator/hanging-operand-after-a-one-line-do-out.hs b/corpora/vendored/expression/operator/hanging-operand-after-a-one-line-do-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/hanging-operand-after-a-one-line-do-out.hs
@@ -0,0 +1,5 @@
+module Parser.Sequence where
+
+lexeme = do { skipSpace } >>= \_ -> do
+  token <- word
+  pure token
diff --git a/corpora/vendored/expression/operator/hanging-operand-after-a-one-line-do.hs b/corpora/vendored/expression/operator/hanging-operand-after-a-one-line-do.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/hanging-operand-after-a-one-line-do.hs
@@ -0,0 +1,5 @@
+module Parser.Sequence where
+
+lexeme = do { skipSpace } >>= \_ -> do
+  token <- word
+  pure token
diff --git a/corpora/vendored/expression/operator/lambda-with-patterns-across-lines-after-an-operator-out'.hs b/corpora/vendored/expression/operator/lambda-with-patterns-across-lines-after-an-operator-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/lambda-with-patterns-across-lines-after-an-operator-out'.hs
@@ -0,0 +1,12 @@
+-- A lambda whose patterns take several lines does not hang after the
+-- operator before it, as one whose patterns take one line does.
+module Shop.Receipt where
+
+lines' :: [Order] -> [Line]
+lines' orders =
+    flip map orders $
+        \Order
+            { orderId = number
+            , orderTotal = total
+            } ->
+            Line number total
diff --git a/corpora/vendored/expression/operator/lambda-with-patterns-across-lines-after-an-operator-out.hs b/corpora/vendored/expression/operator/lambda-with-patterns-across-lines-after-an-operator-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/lambda-with-patterns-across-lines-after-an-operator-out.hs
@@ -0,0 +1,12 @@
+-- A lambda whose patterns take several lines does not hang after the
+-- operator before it, as one whose patterns take one line does.
+module Shop.Receipt where
+
+lines' :: [Order] -> [Line]
+lines' orders =
+  flip map orders $
+    \Order
+       { orderId = number,
+         orderTotal = total
+       } ->
+      Line number total
diff --git a/corpora/vendored/expression/operator/lambda-with-patterns-across-lines-after-an-operator.hs b/corpora/vendored/expression/operator/lambda-with-patterns-across-lines-after-an-operator.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/lambda-with-patterns-across-lines-after-an-operator.hs
@@ -0,0 +1,8 @@
+-- A lambda whose patterns take several lines does not hang after the
+-- operator before it, as one whose patterns take one line does.
+module Shop.Receipt where
+
+lines' :: [Order] -> [Line]
+lines' orders = flip map orders $ \Order { orderId = number,
+                                           orderTotal = total } ->
+  Line number total
diff --git a/corpora/vendored/expression/operator/left-section-after-a-block-out'.hs b/corpora/vendored/expression/operator/left-section-after-a-block-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/left-section-after-a-block-out'.hs
@@ -0,0 +1,30 @@
+{-# LANGUAGE MultiWayIf #-}
+
+-- The operator of a left section on a line of its own after a block puts
+-- the block's items a step further in where at their column it would be
+-- taken into the block: a minus, which would begin another item, and any
+-- operator after a multi-way if.
+module Price.Discount where
+
+lowered =
+    map
+        ( case tier of
+                Gold -> 10
+                _ -> 5
+            -
+        )
+
+clamped =
+    map
+        ( if
+                | strict -> floor
+                | otherwise -> ceiling
+            <>
+        )
+
+joined =
+    map
+        ( do
+            base
+            <>
+        )
diff --git a/corpora/vendored/expression/operator/left-section-after-a-block-out.hs b/corpora/vendored/expression/operator/left-section-after-a-block-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/left-section-after-a-block-out.hs
@@ -0,0 +1,30 @@
+{-# LANGUAGE MultiWayIf #-}
+
+-- The operator of a left section on a line of its own after a block puts
+-- the block's items a step further in where at their column it would be
+-- taken into the block: a minus, which would begin another item, and any
+-- operator after a multi-way if.
+module Price.Discount where
+
+lowered =
+  map
+    ( case tier of
+          Gold -> 10
+          _ -> 5
+        -
+    )
+
+clamped =
+  map
+    ( if
+          | strict -> floor
+          | otherwise -> ceiling
+        <>
+    )
+
+joined =
+  map
+    ( do
+        base
+        <>
+    )
diff --git a/corpora/vendored/expression/operator/left-section-after-a-block.hs b/corpora/vendored/expression/operator/left-section-after-a-block.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/left-section-after-a-block.hs
@@ -0,0 +1,20 @@
+{-# LANGUAGE MultiWayIf #-}
+
+-- The operator of a left section on a line of its own after a block puts
+-- the block's items a step further in where at their column it would be
+-- taken into the block: a minus, which would begin another item, and any
+-- operator after a multi-way if.
+module Price.Discount where
+
+lowered = map (case tier of
+                 Gold -> 10
+                 _ -> 5
+              -)
+
+clamped = map (if | strict -> floor
+                  | otherwise -> ceiling
+              <>)
+
+joined = map (do
+                 base
+              <>)
diff --git a/corpora/vendored/expression/operator/minus-after-a-block-out'.hs b/corpora/vendored/expression/operator/minus-after-a-block-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/minus-after-a-block-out'.hs
@@ -0,0 +1,24 @@
+{-# LANGUAGE LambdaCase #-}
+
+-- A minus on a line of its own after a block puts the block's items a step
+-- further in, as an argument after a block does, where at their column it
+-- would begin another item and negate it.
+module Class.Indent where
+
+column inst =
+    let width = case inst of
+                Instance binds -> length binds
+                _ -> 0
+            - 1
+     in width
+
+depth = do
+        level <- current
+        pure level
+    - 1
+
+margin =
+    2 * \case
+            Wide -> 8
+            Narrow -> 4
+        - 1
diff --git a/corpora/vendored/expression/operator/minus-after-a-block-out.hs b/corpora/vendored/expression/operator/minus-after-a-block-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/minus-after-a-block-out.hs
@@ -0,0 +1,24 @@
+{-# LANGUAGE LambdaCase #-}
+
+-- A minus on a line of its own after a block puts the block's items a step
+-- further in, as an argument after a block does, where at their column it
+-- would begin another item and negate it.
+module Class.Indent where
+
+column inst =
+  let width = case inst of
+          Instance binds -> length binds
+          _ -> 0
+        - 1
+   in width
+
+depth = do
+    level <- current
+    pure level
+  - 1
+
+margin =
+  2 * \case
+      Wide -> 8
+      Narrow -> 4
+    - 1
diff --git a/corpora/vendored/expression/operator/minus-after-a-block.hs b/corpora/vendored/expression/operator/minus-after-a-block.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/minus-after-a-block.hs
@@ -0,0 +1,23 @@
+{-# LANGUAGE LambdaCase #-}
+
+-- A minus on a line of its own after a block puts the block's items a step
+-- further in, as an argument after a block does, where at their column it
+-- would begin another item and negate it.
+module Class.Indent where
+
+column inst =
+  let width = case inst of
+                Instance binds -> length binds
+                _ -> 0
+            - 1
+   in width
+
+depth = do
+      level <- current
+      pure level
+  - 1
+
+margin = 2 * \case
+                Wide -> 8
+                Narrow -> 4
+       - 1
diff --git a/corpora/vendored/expression/operator/one-line-block-before-a-dollar-ending-a-line-out'.hs b/corpora/vendored/expression/operator/one-line-block-before-a-dollar-ending-a-line-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/one-line-block-before-a-dollar-ending-a-line-out'.hs
@@ -0,0 +1,6 @@
+module Kiln.Firing where
+
+adjust :: Maybe (Int -> Int) -> Int -> Int
+adjust override heat =
+    case override of { Nothing -> id; Just f -> f } $
+        max 600 heat
diff --git a/corpora/vendored/expression/operator/one-line-block-before-a-dollar-ending-a-line-out.hs b/corpora/vendored/expression/operator/one-line-block-before-a-dollar-ending-a-line-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/one-line-block-before-a-dollar-ending-a-line-out.hs
@@ -0,0 +1,6 @@
+module Kiln.Firing where
+
+adjust :: Maybe (Int -> Int) -> Int -> Int
+adjust override heat =
+  case override of { Nothing -> id; Just f -> f } $
+    max 600 heat
diff --git a/corpora/vendored/expression/operator/one-line-block-before-a-dollar-ending-a-line.hs b/corpora/vendored/expression/operator/one-line-block-before-a-dollar-ending-a-line.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/one-line-block-before-a-dollar-ending-a-line.hs
@@ -0,0 +1,6 @@
+module Kiln.Firing where
+
+adjust :: Maybe (Int -> Int) -> Int -> Int
+adjust override heat =
+  case override of { Nothing -> id; Just f -> f } $
+    max 600 heat
diff --git a/corpora/vendored/expression/operator/one-line-do-after-a-looser-operator-out'.hs b/corpora/vendored/expression/operator/one-line-do-after-a-looser-operator-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/one-line-do-after-a-looser-operator-out'.hs
@@ -0,0 +1,16 @@
+module Config.Lookup where
+
+import Control.Applicative ((<|>))
+
+setting :: Key -> IO (Maybe Text)
+setting key =
+    fromEnvironment key
+        <|> do fromFile key
+            <> fromDefaults key
+
+refresh :: Job -> IO Result
+refresh job =
+    prepare job
+        >>= do run job
+            <> report job
+            <|> skip job
diff --git a/corpora/vendored/expression/operator/one-line-do-after-a-looser-operator-out.hs b/corpora/vendored/expression/operator/one-line-do-after-a-looser-operator-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/one-line-do-after-a-looser-operator-out.hs
@@ -0,0 +1,14 @@
+module Config.Lookup where
+
+import Control.Applicative ((<|>))
+
+setting :: Key -> IO (Maybe Text)
+setting key =
+  fromEnvironment key <|> do fromFile key
+    <> fromDefaults key
+
+refresh :: Job -> IO Result
+refresh job =
+  prepare job >>= do run job
+    <> report job
+    <|> skip job
diff --git a/corpora/vendored/expression/operator/one-line-do-after-a-looser-operator.hs b/corpora/vendored/expression/operator/one-line-do-after-a-looser-operator.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/one-line-do-after-a-looser-operator.hs
@@ -0,0 +1,12 @@
+module Config.Lookup where
+
+import Control.Applicative ((<|>))
+
+setting :: Key -> IO (Maybe Text)
+setting key = fromEnvironment key <|> do fromFile key
+  <> fromDefaults key
+
+refresh :: Job -> IO Result
+refresh job = prepare job >>= do run job
+  <> report job
+  <|> skip job
diff --git a/corpora/vendored/expression/operator/one-line-do-leading-the-last-operand-out'.hs b/corpora/vendored/expression/operator/one-line-do-leading-the-last-operand-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/one-line-do-leading-the-last-operand-out'.hs
@@ -0,0 +1,8 @@
+module Ledger.Sync where
+
+import Control.Applicative ((<|>))
+
+sync :: Ledger -> IO ()
+sync ledger = retrying $
+    do pushEntries ledger
+    <|> queueForLater ledger
diff --git a/corpora/vendored/expression/operator/one-line-do-leading-the-last-operand-out.hs b/corpora/vendored/expression/operator/one-line-do-leading-the-last-operand-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/one-line-do-leading-the-last-operand-out.hs
@@ -0,0 +1,7 @@
+module Ledger.Sync where
+
+import Control.Applicative ((<|>))
+
+sync :: Ledger -> IO ()
+sync ledger = retrying $ do pushEntries ledger
+  <|> queueForLater ledger
diff --git a/corpora/vendored/expression/operator/one-line-do-leading-the-last-operand.hs b/corpora/vendored/expression/operator/one-line-do-leading-the-last-operand.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/one-line-do-leading-the-last-operand.hs
@@ -0,0 +1,7 @@
+module Ledger.Sync where
+
+import Control.Applicative ((<|>))
+
+sync :: Ledger -> IO ()
+sync ledger = retrying $ do pushEntries ledger
+  <|> queueForLater ledger
diff --git a/corpora/vendored/expression/operator/operator-bound-by-a-pattern-out'.hs b/corpora/vendored/expression/operator/operator-bound-by-a-pattern-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/operator-bound-by-a-pattern-out'.hs
@@ -0,0 +1,35 @@
+-- An operator bound by an argument, a lambda or a pattern guard is
+-- infixl 9 where it is in scope, whatever the module declares for an
+-- operator of its name.
+module Score.Tally where
+
+infixr 2 |+|
+
+(|+|) :: Int -> Int -> Int
+a |+| b = a + b
+
+tally :: Int -> Int -> Int -> Int
+tally x y z =
+    x
+        |+| y
+            * z
+
+tallyWith :: (Int -> Int -> Int) -> Int -> Int -> Int -> Int
+tallyWith (|+|) x y z =
+    x
+        |+| y
+        * z
+
+tallyBy :: (Int -> Int -> Int) -> Int -> Int -> Int -> Int
+tallyBy = \(|+|) x y z ->
+    x
+        |+| y
+        * z
+
+tallyIf :: Maybe (Int -> Int -> Int) -> Int -> Int -> Int -> Int
+tallyIf scorer x y z
+    | Just (|+|) <- scorer =
+        x
+            |+| y
+            * z
+    | otherwise = 0
diff --git a/corpora/vendored/expression/operator/operator-bound-by-a-pattern-out.hs b/corpora/vendored/expression/operator/operator-bound-by-a-pattern-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/operator-bound-by-a-pattern-out.hs
@@ -0,0 +1,35 @@
+-- An operator bound by an argument, a lambda or a pattern guard is
+-- infixl 9 where it is in scope, whatever the module declares for an
+-- operator of its name.
+module Score.Tally where
+
+infixr 2 |+|
+
+(|+|) :: Int -> Int -> Int
+a |+| b = a + b
+
+tally :: Int -> Int -> Int -> Int
+tally x y z =
+  x
+    |+| y
+      * z
+
+tallyWith :: (Int -> Int -> Int) -> Int -> Int -> Int -> Int
+tallyWith (|+|) x y z =
+  x
+    |+| y
+    * z
+
+tallyBy :: (Int -> Int -> Int) -> Int -> Int -> Int -> Int
+tallyBy = \(|+|) x y z ->
+  x
+    |+| y
+    * z
+
+tallyIf :: Maybe (Int -> Int -> Int) -> Int -> Int -> Int -> Int
+tallyIf scorer x y z
+  | Just (|+|) <- scorer =
+      x
+        |+| y
+        * z
+  | otherwise = 0
diff --git a/corpora/vendored/expression/operator/operator-bound-by-a-pattern.hs b/corpora/vendored/expression/operator/operator-bound-by-a-pattern.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/operator-bound-by-a-pattern.hs
@@ -0,0 +1,31 @@
+-- An operator bound by an argument, a lambda or a pattern guard is
+-- infixl 9 where it is in scope, whatever the module declares for an
+-- operator of its name.
+module Score.Tally where
+
+infixr 2 |+|
+
+(|+|) :: Int -> Int -> Int
+a |+| b = a + b
+
+tally :: Int -> Int -> Int -> Int
+tally x y z = x
+  |+| y
+  * z
+
+tallyWith :: (Int -> Int -> Int) -> Int -> Int -> Int -> Int
+tallyWith (|+|) x y z = x
+  |+| y
+  * z
+
+tallyBy :: (Int -> Int -> Int) -> Int -> Int -> Int -> Int
+tallyBy = \(|+|) x y z -> x
+  |+| y
+  * z
+
+tallyIf :: Maybe (Int -> Int -> Int) -> Int -> Int -> Int -> Int
+tallyIf scorer x y z
+  | Just (|+|) <- scorer = x
+      |+| y
+      * z
+  | otherwise = 0
diff --git a/corpora/vendored/expression/operator/operator-bound-in-a-do-block-out'.hs b/corpora/vendored/expression/operator/operator-bound-in-a-do-block-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/operator-bound-in-a-do-block-out'.hs
@@ -0,0 +1,32 @@
+-- An operator a do block binds is in scope over the statements after it:
+-- bound by an arrow it is infixl 9, and bound by a let it takes the
+-- fixity declared beside it, whatever the module declares for an operator
+-- of its name.
+module Score.Rounds where
+
+infixr 2 |+|
+
+(|+|) :: Int -> Int -> Int
+a |+| b = a + b
+
+pickScorer :: IO (Int -> Int -> Int)
+pickScorer = pure max
+
+scored :: [Int] -> IO ()
+scored scores = do
+    (|+|) <- pickScorer
+    let total =
+            sum scores
+                |+| length scores
+                * 2
+    print total
+
+settled :: [Int] -> IO ()
+settled scores = do
+    let infixl 7 |+|
+        a |+| b = a - b
+    print (sum scores)
+    print $
+        sum scores
+            |+| length scores
+            + 2
diff --git a/corpora/vendored/expression/operator/operator-bound-in-a-do-block-out.hs b/corpora/vendored/expression/operator/operator-bound-in-a-do-block-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/operator-bound-in-a-do-block-out.hs
@@ -0,0 +1,32 @@
+-- An operator a do block binds is in scope over the statements after it:
+-- bound by an arrow it is infixl 9, and bound by a let it takes the
+-- fixity declared beside it, whatever the module declares for an operator
+-- of its name.
+module Score.Rounds where
+
+infixr 2 |+|
+
+(|+|) :: Int -> Int -> Int
+a |+| b = a + b
+
+pickScorer :: IO (Int -> Int -> Int)
+pickScorer = pure max
+
+scored :: [Int] -> IO ()
+scored scores = do
+  (|+|) <- pickScorer
+  let total =
+        sum scores
+          |+| length scores
+          * 2
+  print total
+
+settled :: [Int] -> IO ()
+settled scores = do
+  let infixl 7 |+|
+      a |+| b = a - b
+  print (sum scores)
+  print $
+    sum scores
+      |+| length scores
+      + 2
diff --git a/corpora/vendored/expression/operator/operator-bound-in-a-do-block.hs b/corpora/vendored/expression/operator/operator-bound-in-a-do-block.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/operator-bound-in-a-do-block.hs
@@ -0,0 +1,30 @@
+-- An operator a do block binds is in scope over the statements after it:
+-- bound by an arrow it is infixl 9, and bound by a let it takes the
+-- fixity declared beside it, whatever the module declares for an operator
+-- of its name.
+module Score.Rounds where
+
+infixr 2 |+|
+
+(|+|) :: Int -> Int -> Int
+a |+| b = a + b
+
+pickScorer :: IO (Int -> Int -> Int)
+pickScorer = pure max
+
+scored :: [Int] -> IO ()
+scored scores = do
+  (|+|) <- pickScorer
+  let total = sum scores
+        |+| length scores
+        * 2
+  print total
+
+settled :: [Int] -> IO ()
+settled scores = do
+  let infixl 7 |+|
+      a |+| b = a - b
+  print (sum scores)
+  print $ sum scores
+    |+| length scores
+    + 2
diff --git a/corpora/vendored/expression/operator/operator-bound-locally-without-a-fixity-out'.hs b/corpora/vendored/expression/operator/operator-bound-locally-without-a-fixity-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/operator-bound-locally-without-a-fixity-out'.hs
@@ -0,0 +1,20 @@
+module Ledger.Balance where
+
+infixr 2 ⊕
+
+(⊕) :: Int -> Int -> Int
+a ⊕ b = a + b
+
+settle :: Int -> Int -> Int -> Int
+settle x y z =
+    x
+        ⊕ y
+            + z
+
+-- Bound in a where without a fixity declaration, the operator is infixl 9.
+settleLocally :: Int -> Int -> Int -> Int
+settleLocally x y z =
+    x ⊕ y
+        + z
+    where
+        a ⊕ b = a * b
diff --git a/corpora/vendored/expression/operator/operator-bound-locally-without-a-fixity-out.hs b/corpora/vendored/expression/operator/operator-bound-locally-without-a-fixity-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/operator-bound-locally-without-a-fixity-out.hs
@@ -0,0 +1,20 @@
+module Ledger.Balance where
+
+infixr 2 ⊕
+
+(⊕) :: Int -> Int -> Int
+a ⊕ b = a + b
+
+settle :: Int -> Int -> Int -> Int
+settle x y z =
+  x
+    ⊕ y
+      + z
+
+-- Bound in a where without a fixity declaration, the operator is infixl 9.
+settleLocally :: Int -> Int -> Int -> Int
+settleLocally x y z =
+  x ⊕ y
+    + z
+  where
+    a ⊕ b = a * b
diff --git a/corpora/vendored/expression/operator/operator-bound-locally-without-a-fixity.hs b/corpora/vendored/expression/operator/operator-bound-locally-without-a-fixity.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/operator-bound-locally-without-a-fixity.hs
@@ -0,0 +1,19 @@
+module Ledger.Balance where
+
+infixr 2 ⊕
+
+(⊕) :: Int -> Int -> Int
+a ⊕ b = a + b
+
+settle :: Int -> Int -> Int -> Int
+settle x y z =
+  x ⊕ y
+    + z
+
+-- Bound in a where without a fixity declaration, the operator is infixl 9.
+settleLocally :: Int -> Int -> Int -> Int
+settleLocally x y z =
+  x ⊕ y
+    + z
+  where
+    a ⊕ b = a * b
diff --git a/corpora/vendored/expression/operator/operator-chain-precedence-out'.hs b/corpora/vendored/expression/operator/operator-chain-precedence-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/operator-chain-precedence-out'.hs
@@ -0,0 +1,25 @@
+infixl 2 `stackOn`
+
+infix 9 `keyedBy`
+
+infixr 1 `orElse`
+
+onOneLine = base `stackOn` middle `keyedBy` name
+
+tighterOperatorNestsUnderLooser =
+    base
+        `stackOn` middle
+            `keyedBy` name
+
+behindADollar =
+    render $
+        base
+            `stackOn` middle
+                `keyedBy` name
+
+oneLevelStaysFlat = first `orElse` second `orElse` third
+
+oneLevelStaysFlatWhenSpread =
+    first
+        `orElse` second
+        `orElse` third
diff --git a/corpora/vendored/expression/operator/operator-chain-precedence-out.hs b/corpora/vendored/expression/operator/operator-chain-precedence-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/operator-chain-precedence-out.hs
@@ -0,0 +1,25 @@
+infixl 2 `stackOn`
+
+infix 9 `keyedBy`
+
+infixr 1 `orElse`
+
+onOneLine = base `stackOn` middle `keyedBy` name
+
+tighterOperatorNestsUnderLooser =
+  base
+    `stackOn` middle
+      `keyedBy` name
+
+behindADollar =
+  render $
+    base
+      `stackOn` middle
+        `keyedBy` name
+
+oneLevelStaysFlat = first `orElse` second `orElse` third
+
+oneLevelStaysFlatWhenSpread =
+  first
+    `orElse` second
+    `orElse` third
diff --git a/corpora/vendored/expression/operator/operator-chain-precedence.hs b/corpora/vendored/expression/operator/operator-chain-precedence.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/operator-chain-precedence.hs
@@ -0,0 +1,21 @@
+infixl 2 `stackOn`
+
+infix 9 `keyedBy`
+
+infixr 1 `orElse`
+
+onOneLine = base `stackOn` middle `keyedBy` name
+
+tighterOperatorNestsUnderLooser = base
+  `stackOn` middle
+  `keyedBy` name
+
+behindADollar = render $ base
+  `stackOn` middle
+  `keyedBy` name
+
+oneLevelStaysFlat = first `orElse` second `orElse` third
+
+oneLevelStaysFlatWhenSpread = first
+  `orElse` second
+  `orElse` third
diff --git a/corpora/vendored/expression/operator/operator-chains-out'.hs b/corpora/vendored/expression/operator/operator-chains-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/operator-chains-out'.hs
@@ -0,0 +1,18 @@
+module M where
+
+atTheLoosest =
+    a * b
+        + c * d
+
+capturedLocally =
+    a
+        * b
+            + c
+        * d
+    where
+        infixl 8 +
+        x + y = x
+
+blockHandedOn = g $ do
+    h
+    i
diff --git a/corpora/vendored/expression/operator/operator-chains-out.hs b/corpora/vendored/expression/operator/operator-chains-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/operator-chains-out.hs
@@ -0,0 +1,18 @@
+module M where
+
+atTheLoosest =
+  a * b
+    + c * d
+
+capturedLocally =
+  a
+    * b
+      + c
+    * d
+  where
+    infixl 8 +
+    x + y = x
+
+blockHandedOn = g $ do
+  h
+  i
diff --git a/corpora/vendored/expression/operator/operator-chains.hs b/corpora/vendored/expression/operator/operator-chains.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/operator-chains.hs
@@ -0,0 +1,16 @@
+module M where
+
+atTheLoosest =
+  a * b
+    + c * d
+
+capturedLocally =
+  a * b
+    + c * d
+  where
+    infixl 8 +
+    x + y = x
+
+blockHandedOn = g $ do
+  h
+  i
diff --git a/corpora/vendored/expression/operator/operator-hidden-by-an-import-out'.hs b/corpora/vendored/expression/operator/operator-hidden-by-an-import-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/operator-hidden-by-an-import-out'.hs
@@ -0,0 +1,24 @@
+-- An import hiding an operator brings no fixity for it, while one hiding
+-- the members of a class still brings that of <>, so the ++ this module
+-- defines without a fixity is infixl 9 and binds tighter than <>.
+module Path.Segments where
+
+import Prelude hiding (Foldable (..), (++))
+
+newtype Path = Path [String]
+
+instance Semigroup Path where
+    Path a <> Path b = Path (a <> b)
+
+(++) :: Path -> String -> Path
+Path segments ++ segment = Path (segments <> [segment])
+
+null :: Path -> Bool
+null (Path segments) = segments == []
+
+logs :: Path -> Path -> Path
+logs root home =
+    root
+            ++ "var"
+        <> home
+            ++ "log"
diff --git a/corpora/vendored/expression/operator/operator-hidden-by-an-import-out.hs b/corpora/vendored/expression/operator/operator-hidden-by-an-import-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/operator-hidden-by-an-import-out.hs
@@ -0,0 +1,24 @@
+-- An import hiding an operator brings no fixity for it, while one hiding
+-- the members of a class still brings that of <>, so the ++ this module
+-- defines without a fixity is infixl 9 and binds tighter than <>.
+module Path.Segments where
+
+import Prelude hiding (Foldable (..), (++))
+
+newtype Path = Path [String]
+
+instance Semigroup Path where
+  Path a <> Path b = Path (a <> b)
+
+(++) :: Path -> String -> Path
+Path segments ++ segment = Path (segments <> [segment])
+
+null :: Path -> Bool
+null (Path segments) = segments == []
+
+logs :: Path -> Path -> Path
+logs root home =
+  root
+      ++ "var"
+    <> home
+      ++ "log"
diff --git a/corpora/vendored/expression/operator/operator-hidden-by-an-import.hs b/corpora/vendored/expression/operator/operator-hidden-by-an-import.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/operator-hidden-by-an-import.hs
@@ -0,0 +1,23 @@
+-- An import hiding an operator brings no fixity for it, while one hiding
+-- the members of a class still brings that of <>, so the ++ this module
+-- defines without a fixity is infixl 9 and binds tighter than <>.
+module Path.Segments where
+
+import Prelude hiding (Foldable (..), (++))
+
+newtype Path = Path [String]
+
+instance Semigroup Path where
+  Path a <> Path b = Path (a <> b)
+
+(++) :: Path -> String -> Path
+Path segments ++ segment = Path (segments <> [segment])
+
+null :: Path -> Bool
+null (Path segments) = segments == []
+
+logs :: Path -> Path -> Path
+logs root home = root
+  ++ "var"
+  <> home
+  ++ "log"
diff --git a/corpora/vendored/expression/operator/operator-qualified-by-its-own-module-out'.hs b/corpora/vendored/expression/operator/operator-qualified-by-its-own-module-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/operator-qualified-by-its-own-module-out'.hs
@@ -0,0 +1,14 @@
+-- An operator qualified by the name of the module that declares it takes
+-- the fixity declared here.
+module Path.Join where
+
+infixr 5 </>
+
+(</>) :: String -> String -> String
+a </> b = a <> "/" <> b
+
+config :: String -> String
+config name =
+    "etc"
+        Path.Join.</> name
+            <> ".d"
diff --git a/corpora/vendored/expression/operator/operator-qualified-by-its-own-module-out.hs b/corpora/vendored/expression/operator/operator-qualified-by-its-own-module-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/operator-qualified-by-its-own-module-out.hs
@@ -0,0 +1,14 @@
+-- An operator qualified by the name of the module that declares it takes
+-- the fixity declared here.
+module Path.Join where
+
+infixr 5 </>
+
+(</>) :: String -> String -> String
+a </> b = a <> "/" <> b
+
+config :: String -> String
+config name =
+  "etc"
+    Path.Join.</> name
+      <> ".d"
diff --git a/corpora/vendored/expression/operator/operator-qualified-by-its-own-module.hs b/corpora/vendored/expression/operator/operator-qualified-by-its-own-module.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/operator-qualified-by-its-own-module.hs
@@ -0,0 +1,13 @@
+-- An operator qualified by the name of the module that declares it takes
+-- the fixity declared here.
+module Path.Join where
+
+infixr 5 </>
+
+(</>) :: String -> String -> String
+a </> b = a <> "/" <> b
+
+config :: String -> String
+config name = "etc"
+  Path.Join.</> name
+  <> ".d"
diff --git a/corpora/vendored/expression/operator/operators-after-a-one-line-do-out'.hs b/corpora/vendored/expression/operator/operators-after-a-one-line-do-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/operators-after-a-one-line-do-out'.hs
@@ -0,0 +1,34 @@
+module Parser.Alternatives
+    (notFollowedBy, option, choice, keyword, signed, escape)
+where
+
+import Control.Applicative ((<|>))
+
+notFollowedBy p =
+    try
+        ( do c <- try p; unexpected (show c)
+          <|> return ()
+        )
+
+option x p =
+    do r <- p; pure r
+    <|> pure x
+
+choice p q =
+    do a <- p; pure a
+    <|> q
+
+keyword = do
+    w <-
+        do string "let"; pure Let
+        <|> do string "in"; pure In
+    pure w
+
+signed p =
+    negate <$> do char '-'; p
+        <|> p
+
+escape = do
+    char '\\'
+    do { gap; pure Nothing }
+        <|> do c <- code; pure (Just c)
diff --git a/corpora/vendored/expression/operator/operators-after-a-one-line-do-out.hs b/corpora/vendored/expression/operator/operators-after-a-one-line-do-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/operators-after-a-one-line-do-out.hs
@@ -0,0 +1,32 @@
+module Parser.Alternatives
+  (notFollowedBy, option, choice, keyword, signed, escape)
+where
+
+import Control.Applicative ((<|>))
+
+notFollowedBy p =
+  try
+    ( do c <- try p; unexpected (show c)
+        <|> return ()
+    )
+
+option x p =
+  do r <- p; pure r
+    <|> pure x
+
+choice p q = do a <- p; pure a
+  <|> q
+
+keyword = do
+  w <- do string "let"; pure Let
+    <|> do string "in"; pure In
+  pure w
+
+signed p =
+  negate <$> do char '-'; p
+    <|> p
+
+escape = do
+  char '\\'
+  do gap; pure Nothing
+    <|> do c <- code; pure (Just c)
diff --git a/corpora/vendored/expression/operator/operators-after-a-one-line-do.hs b/corpora/vendored/expression/operator/operators-after-a-one-line-do.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/operators-after-a-one-line-do.hs
@@ -0,0 +1,26 @@
+module Parser.Alternatives (notFollowedBy, option, choice, keyword, signed, escape) where
+
+import Control.Applicative ((<|>))
+
+notFollowedBy p = try (do c <- try p; unexpected (show c)
+                       <|> return ())
+
+option x p =
+  do r <- p; pure r
+    <|> pure x
+
+choice p q = do a <- p; pure a
+  <|> q
+
+keyword = do
+  w <- do string "let"; pure Let
+    <|> do string "in"; pure In
+  pure w
+
+signed p = negate <$> do char '-'; p
+  <|> p
+
+escape = do
+  char '\\'
+  do gap; pure Nothing
+    <|> do c <- code; pure (Just c)
diff --git a/corpora/vendored/expression/operator/operators-after-a-one-line-mdo-out'.hs b/corpora/vendored/expression/operator/operators-after-a-one-line-mdo-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/operators-after-a-one-line-mdo-out'.hs
@@ -0,0 +1,19 @@
+{-# LANGUAGE RecursiveDo #-}
+
+module Signal.Fallback where
+
+import Control.Applicative ((<|>))
+
+latch input =
+    mdo held <- hold input out; out <- gate held; pure out
+    <|> pure input
+
+loop input =
+    mdo out <- feed input out; pure out
+    <|> idle
+
+settle = do
+    level <-
+        mdo a <- probe b; b <- probe a; pure a
+        <|> pure 0
+    pure level
diff --git a/corpora/vendored/expression/operator/operators-after-a-one-line-mdo-out.hs b/corpora/vendored/expression/operator/operators-after-a-one-line-mdo-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/operators-after-a-one-line-mdo-out.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE RecursiveDo #-}
+
+module Signal.Fallback where
+
+import Control.Applicative ((<|>))
+
+latch input =
+  mdo held <- hold input out; out <- gate held; pure out
+    <|> pure input
+
+loop input = mdo out <- feed input out; pure out
+  <|> idle
+
+settle = do
+  level <- mdo a <- probe b; b <- probe a; pure a
+    <|> pure 0
+  pure level
diff --git a/corpora/vendored/expression/operator/operators-after-a-one-line-mdo.hs b/corpora/vendored/expression/operator/operators-after-a-one-line-mdo.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/operators-after-a-one-line-mdo.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE RecursiveDo #-}
+
+module Signal.Fallback where
+
+import Control.Applicative ((<|>))
+
+latch input =
+  mdo held <- hold input out; out <- gate held; pure out
+    <|> pure input
+
+loop input = mdo out <- feed input out; pure out
+  <|> idle
+
+settle = do
+  level <- mdo a <- probe b; b <- probe a; pure a
+    <|> pure 0
+  pure level
diff --git a/corpora/vendored/expression/operator/qualified-operators-out'.hs b/corpora/vendored/expression/operator/qualified-operators-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/qualified-operators-out'.hs
@@ -0,0 +1,22 @@
+module Queue.Priority where
+
+import qualified Data.Map.Strict as Map
+import Data.Sequence (Seq)
+import qualified Data.Sequence as Seq
+
+bumped :: Int -> Seq Int -> Seq Int
+bumped n queue =
+    n + 1
+        Seq.<| n * 2
+        Seq.<| queue
+
+lookedUp :: Map.Map String Int -> Bool
+lookedUp table =
+    table Map.! "head" + 1
+        <= Map.size table
+        && Map.member "tail" table
+
+audited :: Report -> Bool
+audited r =
+    r `Audit.passes` strict && r `Audit.within` 3
+        || r `Audit.waived` True
diff --git a/corpora/vendored/expression/operator/qualified-operators-out.hs b/corpora/vendored/expression/operator/qualified-operators-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/qualified-operators-out.hs
@@ -0,0 +1,22 @@
+module Queue.Priority where
+
+import qualified Data.Map.Strict as Map
+import Data.Sequence (Seq)
+import qualified Data.Sequence as Seq
+
+bumped :: Int -> Seq Int -> Seq Int
+bumped n queue =
+  n + 1
+    Seq.<| n * 2
+    Seq.<| queue
+
+lookedUp :: Map.Map String Int -> Bool
+lookedUp table =
+  table Map.! "head" + 1
+    <= Map.size table
+    && Map.member "tail" table
+
+audited :: Report -> Bool
+audited r =
+  r `Audit.passes` strict && r `Audit.within` 3
+    || r `Audit.waived` True
diff --git a/corpora/vendored/expression/operator/qualified-operators.hs b/corpora/vendored/expression/operator/qualified-operators.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/qualified-operators.hs
@@ -0,0 +1,22 @@
+module Queue.Priority where
+
+import qualified Data.Map.Strict as Map
+import Data.Sequence (Seq)
+import qualified Data.Sequence as Seq
+
+bumped :: Int -> Seq Int -> Seq Int
+bumped n queue =
+  n + 1
+    Seq.<| n * 2
+    Seq.<| queue
+
+lookedUp :: Map.Map String Int -> Bool
+lookedUp table =
+  table Map.! "head" + 1
+    <= Map.size table
+    && Map.member "tail" table
+
+audited :: Report -> Bool
+audited r =
+  r `Audit.passes` strict && r `Audit.within` 3
+    || r `Audit.waived` True
diff --git a/corpora/vendored/expression/operator/sections-of-compound-operands-out.hs b/corpora/vendored/expression/operator/sections-of-compound-operands-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/sections-of-compound-operands-out.hs
@@ -0,0 +1,7 @@
+module Price.Adjust where
+
+withTax :: [Double] -> [Double]
+withTax = map (rate * base +) . map (* (1 + rate))
+
+tagged :: [String] -> [String]
+tagged = map (++ [marker]) . map ((prefix, suffix) <>)
diff --git a/corpora/vendored/expression/operator/sections-of-compound-operands.hs b/corpora/vendored/expression/operator/sections-of-compound-operands.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/sections-of-compound-operands.hs
@@ -0,0 +1,7 @@
+module Price.Adjust where
+
+withTax :: [Double] -> [Double]
+withTax = map (rate * base +) . map (* (1 + rate))
+
+tagged :: [String] -> [String]
+tagged = map (++ [marker]) . map ((prefix, suffix) <>)
diff --git a/corpora/vendored/expression/operator/separator-before-a-block-out'.hs b/corpora/vendored/expression/operator/separator-before-a-block-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/separator-before-a-block-out'.hs
@@ -0,0 +1,16 @@
+-- An equation hangs on a block after any operator that separates, as ($)
+-- does, by its fixity rather than its name: ($!) and seq, which are infixr
+-- 0 too, let the block stay on the equation's line.
+module Store.Fill where
+
+load path = withFile path $ \handle -> do
+    size <- hFileSize handle
+    readChunks handle size
+
+force path = withFile path $! do
+    touch path
+    readAll path
+
+fill v s = v `seq` do
+    n <- foldM put 0 s
+    pure (slice 0 n v)
diff --git a/corpora/vendored/expression/operator/separator-before-a-block-out.hs b/corpora/vendored/expression/operator/separator-before-a-block-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/separator-before-a-block-out.hs
@@ -0,0 +1,16 @@
+-- An equation hangs on a block after any operator that separates, as ($)
+-- does, by its fixity rather than its name: ($!) and seq, which are infixr
+-- 0 too, let the block stay on the equation's line.
+module Store.Fill where
+
+load path = withFile path $ \handle -> do
+  size <- hFileSize handle
+  readChunks handle size
+
+force path = withFile path $! do
+  touch path
+  readAll path
+
+fill v s = v `seq` do
+  n <- foldM put 0 s
+  pure (slice 0 n v)
diff --git a/corpora/vendored/expression/operator/separator-before-a-block.hs b/corpora/vendored/expression/operator/separator-before-a-block.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/separator-before-a-block.hs
@@ -0,0 +1,16 @@
+-- An equation hangs on a block after any operator that separates, as ($)
+-- does, by its fixity rather than its name: ($!) and seq, which are infixr
+-- 0 too, let the block stay on the equation's line.
+module Store.Fill where
+
+load path = withFile path $ \handle -> do
+  size <- hFileSize handle
+  readChunks handle size
+
+force path = withFile path $! do
+  touch path
+  readAll path
+
+fill v s = v `seq` do
+  n <- foldM put 0 s
+  pure (slice 0 n v)
diff --git a/corpora/vendored/expression/operator/tighter-chain-first-a-step-further-in-out'.hs b/corpora/vendored/expression/operator/tighter-chain-first-a-step-further-in-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/tighter-chain-first-a-step-further-in-out'.hs
@@ -0,0 +1,28 @@
+module Kiln.Firing where
+
+-- A tighter chain written first puts its operators a step further in than
+-- the looser ones after it where a tighter chain follows one of them, as
+-- the later chain does.
+temperature :: Int -> Int -> Int -> Int
+temperature base rise hold =
+    base
+            * rise
+        + hold
+            * 2
+        + 1
+
+-- Where no chain follows the looser operator, the tighter chain stays at
+-- its column, and so it does before a ($), whatever follows it, as in a
+-- pipeline.
+outline :: [String] -> String
+outline lines' =
+    unlines
+        . map trim
+        . filter (not . null)
+        $ lines'
+
+indented :: [String] -> String
+indented lines' =
+    unlines
+        . map ("  " ++)
+        $ header ++ lines'
diff --git a/corpora/vendored/expression/operator/tighter-chain-first-a-step-further-in-out.hs b/corpora/vendored/expression/operator/tighter-chain-first-a-step-further-in-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/tighter-chain-first-a-step-further-in-out.hs
@@ -0,0 +1,28 @@
+module Kiln.Firing where
+
+-- A tighter chain written first puts its operators a step further in than
+-- the looser ones after it where a tighter chain follows one of them, as
+-- the later chain does.
+temperature :: Int -> Int -> Int -> Int
+temperature base rise hold =
+  base
+      * rise
+    + hold
+      * 2
+    + 1
+
+-- Where no chain follows the looser operator, the tighter chain stays at
+-- its column, and so it does before a ($), whatever follows it, as in a
+-- pipeline.
+outline :: [String] -> String
+outline lines' =
+  unlines
+    . map trim
+    . filter (not . null)
+    $ lines'
+
+indented :: [String] -> String
+indented lines' =
+  unlines
+    . map ("  " ++)
+    $ header ++ lines'
diff --git a/corpora/vendored/expression/operator/tighter-chain-first-a-step-further-in.hs b/corpora/vendored/expression/operator/tighter-chain-first-a-step-further-in.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/tighter-chain-first-a-step-further-in.hs
@@ -0,0 +1,28 @@
+module Kiln.Firing where
+
+-- A tighter chain written first puts its operators a step further in than
+-- the looser ones after it where a tighter chain follows one of them, as
+-- the later chain does.
+temperature :: Int -> Int -> Int -> Int
+temperature base rise hold =
+  base
+    * rise
+    + hold
+    * 2
+    + 1
+
+-- Where no chain follows the looser operator, the tighter chain stays at
+-- its column, and so it does before a ($), whatever follows it, as in a
+-- pipeline.
+outline :: [String] -> String
+outline lines' =
+  unlines
+    . map trim
+    . filter (not . null)
+    $ lines'
+
+indented :: [String] -> String
+indented lines' =
+  unlines
+    . map ("  " ++)
+    $ header ++ lines'
diff --git a/corpora/vendored/expression/operator/tighter-chain-led-by-a-block-out'.hs b/corpora/vendored/expression/operator/tighter-chain-led-by-a-block-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/tighter-chain-led-by-a-block-out'.hs
@@ -0,0 +1,15 @@
+module Kiln.Choice where
+
+import Control.Applicative ((<|>))
+
+-- A do block leading a tighter chain written first keeps the operators at
+-- the column of its statements, even where a tighter chain follows the
+-- looser operator, since a step further in would carry them onto its last
+-- line.
+batch :: IO [Pot]
+batch = do
+    pots <- load
+    pure pots
+    <> extras
+    <|> fallback
+        <> spare
diff --git a/corpora/vendored/expression/operator/tighter-chain-led-by-a-block-out.hs b/corpora/vendored/expression/operator/tighter-chain-led-by-a-block-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/tighter-chain-led-by-a-block-out.hs
@@ -0,0 +1,15 @@
+module Kiln.Choice where
+
+import Control.Applicative ((<|>))
+
+-- A do block leading a tighter chain written first keeps the operators at
+-- the column of its statements, even where a tighter chain follows the
+-- looser operator, since a step further in would carry them onto its last
+-- line.
+batch :: IO [Pot]
+batch = do
+  pots <- load
+  pure pots
+  <> extras
+  <|> fallback
+    <> spare
diff --git a/corpora/vendored/expression/operator/tighter-chain-led-by-a-block.hs b/corpora/vendored/expression/operator/tighter-chain-led-by-a-block.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/tighter-chain-led-by-a-block.hs
@@ -0,0 +1,15 @@
+module Kiln.Choice where
+
+import Control.Applicative ((<|>))
+
+-- A do block leading a tighter chain written first keeps the operators at
+-- the column of its statements, even where a tighter chain follows the
+-- looser operator, since a step further in would carry them onto its last
+-- line.
+batch :: IO [Pot]
+batch = do
+  pots <- load
+  pure pots
+  <> extras
+  <|> fallback
+  <> spare
diff --git a/corpora/vendored/expression/operator/type-operator-sharing-a-name-with-a-term-operator-out'.hs b/corpora/vendored/expression/operator/type-operator-sharing-a-name-with-a-term-operator-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/type-operator-sharing-a-name-with-a-term-operator-out'.hs
@@ -0,0 +1,24 @@
+{-# LANGUAGE DataKinds #-}
+{-# LANGUAGE TypeFamilies #-}
+
+-- A type operator the module declares does not take the fixity of the
+-- term operator of its name, so + and ^ bind alike in Restock but not in
+-- restock.
+module Stock.Total where
+
+data Count = None | More Count
+
+type family (a :: Count) + (b :: Count) :: Count
+
+type family (a :: Count) ^ (b :: Count) :: Count
+
+type Restock a b c =
+    a
+        + b
+        ^ c
+
+restock :: Int -> Int -> Int -> Int
+restock a b c =
+    a
+        + b
+            ^ c
diff --git a/corpora/vendored/expression/operator/type-operator-sharing-a-name-with-a-term-operator-out.hs b/corpora/vendored/expression/operator/type-operator-sharing-a-name-with-a-term-operator-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/type-operator-sharing-a-name-with-a-term-operator-out.hs
@@ -0,0 +1,24 @@
+{-# LANGUAGE DataKinds #-}
+{-# LANGUAGE TypeFamilies #-}
+
+-- A type operator the module declares does not take the fixity of the
+-- term operator of its name, so + and ^ bind alike in Restock but not in
+-- restock.
+module Stock.Total where
+
+data Count = None | More Count
+
+type family (a :: Count) + (b :: Count) :: Count
+
+type family (a :: Count) ^ (b :: Count) :: Count
+
+type Restock a b c =
+  a
+    + b
+    ^ c
+
+restock :: Int -> Int -> Int -> Int
+restock a b c =
+  a
+    + b
+      ^ c
diff --git a/corpora/vendored/expression/operator/type-operator-sharing-a-name-with-a-term-operator.hs b/corpora/vendored/expression/operator/type-operator-sharing-a-name-with-a-term-operator.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/type-operator-sharing-a-name-with-a-term-operator.hs
@@ -0,0 +1,22 @@
+{-# LANGUAGE DataKinds #-}
+{-# LANGUAGE TypeFamilies #-}
+
+-- A type operator the module declares does not take the fixity of the
+-- term operator of its name, so + and ^ bind alike in Restock but not in
+-- restock.
+module Stock.Total where
+
+data Count = None | More Count
+
+type family (a :: Count) + (b :: Count) :: Count
+
+type family (a :: Count) ^ (b :: Count) :: Count
+
+type Restock a b c = a
+  + b
+  ^ c
+
+restock :: Int -> Int -> Int -> Int
+restock a b c = a
+  + b
+  ^ c
diff --git a/corpora/vendored/expression/operator/typed-hole-as-an-operator-out.hs b/corpora/vendored/expression/operator/typed-hole-as-an-operator-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/typed-hole-as-an-operator-out.hs
@@ -0,0 +1,16 @@
+module Tally.Draft where
+
+combined :: Int
+combined = 3 `_` 4
+
+scaled :: Int
+scaled = 3 `_factor` 4 + 1
+
+missing :: Int -> Int
+missing n = _ `max` n
+
+pending :: [Int]
+pending = [_ | let _ = combined]
+
+later :: Int
+later = _
diff --git a/corpora/vendored/expression/operator/typed-hole-as-an-operator.hs b/corpora/vendored/expression/operator/typed-hole-as-an-operator.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/operator/typed-hole-as-an-operator.hs
@@ -0,0 +1,16 @@
+module Tally.Draft where
+
+combined :: Int
+combined = 3 `_` 4
+
+scaled :: Int
+scaled = 3 `_factor` 4 + 1
+
+missing :: Int -> Int
+missing n = _ `max` n
+
+pending :: [Int]
+pending = [_ | let _ = combined]
+
+later :: Int
+later = _
diff --git a/corpora/vendored/expression/pattern/brackets-around-bracketed-patterns-out.hs b/corpora/vendored/expression/pattern/brackets-around-bracketed-patterns-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/pattern/brackets-around-bracketed-patterns-out.hs
@@ -0,0 +1,8 @@
+module Ledger.Total where
+
+total :: ([Int], Int) -> Int
+total ((items, carried)) = sum items + carried
+
+single :: [Int] -> Maybe Int
+single (([x])) = Just x
+single _ = Nothing
diff --git a/corpora/vendored/expression/pattern/brackets-around-bracketed-patterns.hs b/corpora/vendored/expression/pattern/brackets-around-bracketed-patterns.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/pattern/brackets-around-bracketed-patterns.hs
@@ -0,0 +1,8 @@
+module Ledger.Total where
+
+total :: ([Int], Int) -> Int
+total ((items, carried)) = sum items + carried
+
+single :: [Int] -> Maybe Int
+single (([x])) = Just x
+single _ = Nothing
diff --git a/corpora/vendored/expression/pattern/explicitly-bidirectional-pattern-synonyms-out'.hs b/corpora/vendored/expression/pattern/explicitly-bidirectional-pattern-synonyms-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/pattern/explicitly-bidirectional-pattern-synonyms-out'.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE PatternSynonyms #-}
+{-# LANGUAGE ViewPatterns #-}
+
+module Geometry.Polar where
+
+pattern Polar :: Double -> Double -> Point
+pattern Polar r theta <- (toPolar -> (r, theta))
+    where
+        Polar r theta = Point (r * cos theta) (r * sin theta)
+
+pattern Degrees :: Double -> Angle
+pattern Degrees d <- (toDegrees -> d)
+    where
+        Degrees d
+            | d < 0 = Degrees (d + 360)
+            | otherwise = Radians (d * pi / 180)
diff --git a/corpora/vendored/expression/pattern/explicitly-bidirectional-pattern-synonyms-out.hs b/corpora/vendored/expression/pattern/explicitly-bidirectional-pattern-synonyms-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/pattern/explicitly-bidirectional-pattern-synonyms-out.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE PatternSynonyms #-}
+{-# LANGUAGE ViewPatterns #-}
+
+module Geometry.Polar where
+
+pattern Polar :: Double -> Double -> Point
+pattern Polar r theta <- (toPolar -> (r, theta))
+  where
+    Polar r theta = Point (r * cos theta) (r * sin theta)
+
+pattern Degrees :: Double -> Angle
+pattern Degrees d <- (toDegrees -> d)
+  where
+    Degrees d
+      | d < 0 = Degrees (d + 360)
+      | otherwise = Radians (d * pi / 180)
diff --git a/corpora/vendored/expression/pattern/explicitly-bidirectional-pattern-synonyms.hs b/corpora/vendored/expression/pattern/explicitly-bidirectional-pattern-synonyms.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/pattern/explicitly-bidirectional-pattern-synonyms.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE PatternSynonyms #-}
+{-# LANGUAGE ViewPatterns #-}
+
+module Geometry.Polar where
+
+pattern Polar :: Double -> Double -> Point
+pattern Polar r theta <- (toPolar -> (r, theta))
+  where Polar r theta = Point (r * cos theta) (r * sin theta)
+
+pattern Degrees :: Double -> Angle
+pattern Degrees d <- (toDegrees -> d) where
+  Degrees d
+    | d < 0 = Degrees (d + 360)
+    | otherwise = Radians (d * pi / 180)
diff --git a/corpora/vendored/expression/pattern/invisible-type-patterns-out.hs b/corpora/vendored/expression/pattern/invisible-type-patterns-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/pattern/invisible-type-patterns-out.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE TypeAbstractions #-}
+
+-- A lambda keeps the space before an invisible pattern, without which the
+-- backslash and the @ would read as one operator.
+module Shape.Measure where
+
+measure :: forall s. Shape s => s -> Double
+measure @s shape = area @s shape / perimeter @s shape
+
+withShape :: (forall s. Shape s => s -> r) -> Blob -> r
+withShape k blob = k (decodeShape blob)
+
+blobArea :: Blob -> Double
+blobArea = withShape (\ @s shape -> area @s shape)
diff --git a/corpora/vendored/expression/pattern/invisible-type-patterns.hs b/corpora/vendored/expression/pattern/invisible-type-patterns.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/pattern/invisible-type-patterns.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE TypeAbstractions #-}
+
+-- A lambda keeps the space before an invisible pattern, without which the
+-- backslash and the @ would read as one operator.
+module Shape.Measure where
+
+measure :: forall s. (Shape s) => s -> Double
+measure @s shape = area @s shape / perimeter @s shape
+
+withShape :: (forall s. (Shape s) => s -> r) -> Blob -> r
+withShape k blob = k (decodeShape blob)
+
+blobArea :: Blob -> Double
+blobArea = withShape (\  @s shape -> area @s shape)
diff --git a/corpora/vendored/expression/pattern/lambda-patterns-beginning-with-a-symbol-out.hs b/corpora/vendored/expression/pattern/lambda-patterns-beginning-with-a-symbol-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/pattern/lambda-patterns-beginning-with-a-symbol-out.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE BangPatterns #-}
+{-# LANGUAGE TemplateHaskell #-}
+
+module Stream.Step where
+
+ignoring :: a -> b -> a
+ignoring = \ ~x ~_ -> x
+
+forcing :: Int -> Int -> Int
+forcing = \ !acc !x -> acc + x
+
+quoted :: Int -> Int
+quoted = \ $([p|n|]) -> n + 1
diff --git a/corpora/vendored/expression/pattern/lambda-patterns-beginning-with-a-symbol.hs b/corpora/vendored/expression/pattern/lambda-patterns-beginning-with-a-symbol.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/pattern/lambda-patterns-beginning-with-a-symbol.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE BangPatterns #-}
+{-# LANGUAGE TemplateHaskell #-}
+
+module Stream.Step where
+
+ignoring :: a -> b -> a
+ignoring = \ ~x  ~_ -> x
+
+forcing :: Int -> Int -> Int
+forcing = \ !acc  !x -> acc + x
+
+quoted :: Int -> Int
+quoted = \ $([p|n|]) -> n + 1
diff --git a/corpora/vendored/expression/pattern/lazy-patterns-out.hs b/corpora/vendored/expression/pattern/lazy-patterns-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/pattern/lazy-patterns-out.hs
@@ -0,0 +1,12 @@
+-- A lambda keeps a space before a lazy or a strict first pattern, without
+-- which the two would read as one operator.
+module Stream.Pairs where
+
+firstOf :: (a, b) -> a
+firstOf ~(a, _) = a
+
+swapLazily :: (a, b) -> (b, a)
+swapLazily = \ ~(a, b) -> (b, a)
+
+count :: [a] -> Int
+count = foldl (\ !n _ -> n + 1) 0
diff --git a/corpora/vendored/expression/pattern/lazy-patterns.hs b/corpora/vendored/expression/pattern/lazy-patterns.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/pattern/lazy-patterns.hs
@@ -0,0 +1,12 @@
+-- A lambda keeps a space before a lazy or a strict first pattern, without
+-- which the two would read as one operator.
+module Stream.Pairs where
+
+firstOf :: (a, b) -> a
+firstOf ~(a, _) = a
+
+swapLazily :: (a, b) -> (b, a)
+swapLazily = \ ~(a, b) -> (b, a)
+
+count :: [a] -> Int
+count = foldl (\ !n _ -> n + 1) 0
diff --git a/corpora/vendored/expression/pattern/multiplicity-on-a-binding-out'.hs b/corpora/vendored/expression/pattern/multiplicity-on-a-binding-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/pattern/multiplicity-on-a-binding-out'.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE LinearTypes #-}
+
+module Handle.Linear where
+
+transfer :: Handle %1 -> Handle
+transfer h = let %1 moved = h in moved
+
+borrow :: Handle -> (Handle, Handle)
+borrow h = (kept, copy)
+    where
+        %Many kept = h
+        %Many copy = h
diff --git a/corpora/vendored/expression/pattern/multiplicity-on-a-binding-out.hs b/corpora/vendored/expression/pattern/multiplicity-on-a-binding-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/pattern/multiplicity-on-a-binding-out.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE LinearTypes #-}
+
+module Handle.Linear where
+
+transfer :: Handle %1 -> Handle
+transfer h = let %1 moved = h in moved
+
+borrow :: Handle -> (Handle, Handle)
+borrow h = (kept, copy)
+  where
+    %Many kept = h
+    %Many copy = h
diff --git a/corpora/vendored/expression/pattern/multiplicity-on-a-binding.hs b/corpora/vendored/expression/pattern/multiplicity-on-a-binding.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/pattern/multiplicity-on-a-binding.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE LinearTypes #-}
+
+module Handle.Linear where
+
+transfer :: Handle %1 -> Handle
+transfer h = let %1 moved = h in moved
+
+borrow :: Handle -> (Handle, Handle)
+borrow h = (kept, copy)
+  where
+    %Many kept = h
+    %Many   copy = h
diff --git a/corpora/vendored/expression/pattern/n-plus-k-patterns-out.hs b/corpora/vendored/expression/pattern/n-plus-k-patterns-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/pattern/n-plus-k-patterns-out.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE NPlusKPatterns #-}
+
+module Peano.Count where
+
+countdown :: Int -> [Int]
+countdown 0 = []
+countdown (n + 1) = n : countdown n
+
+pairs :: Int -> Int
+pairs (n + 2) = 1 + pairs n
+pairs _ = 0
diff --git a/corpora/vendored/expression/pattern/n-plus-k-patterns-written-across-lines-out'.hs b/corpora/vendored/expression/pattern/n-plus-k-patterns-written-across-lines-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/pattern/n-plus-k-patterns-written-across-lines-out'.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE NPlusKPatterns #-}
+
+module Peano.Steps where
+
+predecessor :: Int -> Int
+predecessor
+    ( n
+        + 1
+    ) = n
+
+lastStep :: Int
+(lastStep + 1) = 10
diff --git a/corpora/vendored/expression/pattern/n-plus-k-patterns-written-across-lines-out.hs b/corpora/vendored/expression/pattern/n-plus-k-patterns-written-across-lines-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/pattern/n-plus-k-patterns-written-across-lines-out.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE NPlusKPatterns #-}
+
+module Peano.Steps where
+
+predecessor :: Int -> Int
+predecessor
+  ( n
+      + 1
+  ) = n
+
+lastStep :: Int
+(lastStep + 1) = 10
diff --git a/corpora/vendored/expression/pattern/n-plus-k-patterns-written-across-lines.hs b/corpora/vendored/expression/pattern/n-plus-k-patterns-written-across-lines.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/pattern/n-plus-k-patterns-written-across-lines.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE NPlusKPatterns #-}
+
+module Peano.Steps where
+
+predecessor :: Int -> Int
+predecessor (n
+  + 1) = n
+
+lastStep :: Int
+(lastStep + 1) = 10
diff --git a/corpora/vendored/expression/pattern/n-plus-k-patterns.hs b/corpora/vendored/expression/pattern/n-plus-k-patterns.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/pattern/n-plus-k-patterns.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE NPlusKPatterns #-}
+
+module Peano.Count where
+
+countdown :: Int -> [Int]
+countdown 0 = []
+countdown (n+1) = n : countdown n
+
+pairs :: Int -> Int
+pairs (n  +  2) = 1 + pairs n
+pairs _ = 0
diff --git a/corpora/vendored/expression/pattern/operators-bound-by-patterns-out.hs b/corpora/vendored/expression/pattern/operators-bound-by-patterns-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/pattern/operators-bound-by-patterns-out.hs
@@ -0,0 +1,11 @@
+module Vector.Fold where
+
+zipWithOp :: (a -> b -> c) -> [a] -> [b] -> [c]
+zipWithOp (<+>) (x : xs) (y : ys) = x <+> y : zipWithOp (<+>) xs ys
+zipWithOp _ _ _ = []
+
+both :: (a -> a -> a) -> a -> a -> (a, a -> a -> a)
+both (<+>)@combine x y = (x <+> y, combine)
+
+normOf :: Pair -> Double
+normOf ((:&) x y) = sqrt (x * x + y * y)
diff --git a/corpora/vendored/expression/pattern/operators-bound-by-patterns.hs b/corpora/vendored/expression/pattern/operators-bound-by-patterns.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/pattern/operators-bound-by-patterns.hs
@@ -0,0 +1,11 @@
+module Vector.Fold where
+
+zipWithOp :: (a -> b -> c) -> [a] -> [b] -> [c]
+zipWithOp (<+>) (x : xs) (y : ys) = x <+> y : zipWithOp (<+>) xs ys
+zipWithOp _ _ _ = []
+
+both :: (a -> a -> a) -> a -> a -> (a, a -> a -> a)
+both (<+>)@combine x y = (x <+> y, combine)
+
+normOf :: Pair -> Double
+normOf ((:&) x y) = sqrt (x * x + y * y)
diff --git a/corpora/vendored/expression/pattern/pattern-bindings-out'.hs b/corpora/vendored/expression/pattern/pattern-bindings-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/pattern/pattern-bindings-out'.hs
@@ -0,0 +1,11 @@
+module Range.Split where
+
+(low, high) = (1, 99)
+
+middle :: Int
+middle = let (q, _) = (low + high) `divMod` 2 in q
+
+halves :: [a] -> ([a], [a])
+halves xs = (front, back)
+    where
+        (front, back) = splitAt (length xs `div` 2) xs
diff --git a/corpora/vendored/expression/pattern/pattern-bindings-out.hs b/corpora/vendored/expression/pattern/pattern-bindings-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/pattern/pattern-bindings-out.hs
@@ -0,0 +1,11 @@
+module Range.Split where
+
+(low, high) = (1, 99)
+
+middle :: Int
+middle = let (q, _) = (low + high) `divMod` 2 in q
+
+halves :: [a] -> ([a], [a])
+halves xs = (front, back)
+  where
+    (front, back) = splitAt (length xs `div` 2) xs
diff --git a/corpora/vendored/expression/pattern/pattern-bindings-written-across-lines-out'.hs b/corpora/vendored/expression/pattern/pattern-bindings-written-across-lines-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/pattern/pattern-bindings-written-across-lines-out'.hs
@@ -0,0 +1,14 @@
+module Range.Bounds where
+
+width :: Range -> Int
+width range = high - low
+    where
+        Range low high = range
+        Bounds
+            lower
+            upper = limits range
+
+clamped :: Range -> Int -> Int
+clamped range = max low . min high
+    where
+        Range low high = range
diff --git a/corpora/vendored/expression/pattern/pattern-bindings-written-across-lines-out.hs b/corpora/vendored/expression/pattern/pattern-bindings-written-across-lines-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/pattern/pattern-bindings-written-across-lines-out.hs
@@ -0,0 +1,14 @@
+module Range.Bounds where
+
+width :: Range -> Int
+width range = high - low
+  where
+    Range low high = range
+    Bounds
+      lower
+      upper = limits range
+
+clamped :: Range -> Int -> Int
+clamped range = max low . min high
+  where
+    Range low high = range
diff --git a/corpora/vendored/expression/pattern/pattern-bindings-written-across-lines.hs b/corpora/vendored/expression/pattern/pattern-bindings-written-across-lines.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/pattern/pattern-bindings-written-across-lines.hs
@@ -0,0 +1,12 @@
+module Range.Bounds where
+
+width :: Range -> Int
+width range = high - low
+  where
+    Range low high = range
+    Bounds
+      lower upper = limits range
+
+clamped :: Range -> Int -> Int
+clamped range = max low . min high
+  where Range low high = range
diff --git a/corpora/vendored/expression/pattern/pattern-bindings.hs b/corpora/vendored/expression/pattern/pattern-bindings.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/pattern/pattern-bindings.hs
@@ -0,0 +1,11 @@
+module Range.Split where
+
+(low, high) = (1, 99)
+
+middle :: Int
+middle = let (q, _) = (low + high) `divMod` 2 in q
+
+halves :: [a] -> ([a], [a])
+halves xs = (front, back)
+  where
+    (front, back) = splitAt (length xs `div` 2) xs
diff --git a/corpora/vendored/expression/pattern/pattern-signatures-with-applied-types-out.hs b/corpora/vendored/expression/pattern/pattern-signatures-with-applied-types-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/pattern/pattern-signatures-with-applied-types-out.hs
@@ -0,0 +1,9 @@
+module Stock.Shelves where
+
+import Data.Map (Map)
+
+shelfTotals :: [Map String Int] -> [Int]
+shelfTotals = map (\(shelf :: Map String Int) -> sum shelf)
+
+fullest :: Map String Int -> Maybe Int
+fullest (shelf :: Map String Int) = maximum (Just <$> shelf)
diff --git a/corpora/vendored/expression/pattern/pattern-signatures-with-applied-types.hs b/corpora/vendored/expression/pattern/pattern-signatures-with-applied-types.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/pattern/pattern-signatures-with-applied-types.hs
@@ -0,0 +1,9 @@
+module Stock.Shelves where
+
+import Data.Map (Map)
+
+shelfTotals :: [Map String Int] -> [Int]
+shelfTotals = map (\(shelf :: Map String Int) -> sum shelf)
+
+fullest :: Map String Int -> Maybe Int
+fullest (shelf :: Map String Int) = maximum (Just <$> shelf)
diff --git a/corpora/vendored/expression/pattern/pattern-synonyms-named-by-operators-out.hs b/corpora/vendored/expression/pattern/pattern-synonyms-named-by-operators-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/pattern/pattern-synonyms-named-by-operators-out.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE PatternSynonyms #-}
+
+module Vector.Polar where
+
+pattern (:|) :: Double -> Double -> Pair
+pattern (:|) x y = x :& y
+
+pattern (:%) :: Double -> Double -> Pair
+pattern (:%){(%<), (%>)} = (%<) :& (%>)
diff --git a/corpora/vendored/expression/pattern/pattern-synonyms-named-by-operators.hs b/corpora/vendored/expression/pattern/pattern-synonyms-named-by-operators.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/pattern/pattern-synonyms-named-by-operators.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE PatternSynonyms #-}
+
+module Vector.Polar where
+
+pattern (:|) :: Double -> Double -> Pair
+pattern (:|) x y = x :& y
+
+pattern (:%) :: Double -> Double -> Pair
+pattern (:%) {(%<), (%>)} = (%<) :& (%>)
diff --git a/corpora/vendored/expression/pattern/pattern-synonyms-of-literals-out'.hs b/corpora/vendored/expression/pattern/pattern-synonyms-of-literals-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/pattern/pattern-synonyms-of-literals-out'.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE PatternSynonyms #-}
+
+module Http.Method where
+
+pattern Get :: String
+pattern Get <- "GET"
+    where
+        Get = "GET"
+
+pattern Head <- "HEAD" where Head = "HEAD"
diff --git a/corpora/vendored/expression/pattern/pattern-synonyms-of-literals-out.hs b/corpora/vendored/expression/pattern/pattern-synonyms-of-literals-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/pattern/pattern-synonyms-of-literals-out.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE PatternSynonyms #-}
+
+module Http.Method where
+
+pattern Get :: String
+pattern Get <- "GET"
+  where
+    Get = "GET"
+
+pattern Head <- "HEAD" where Head = "HEAD"
diff --git a/corpora/vendored/expression/pattern/pattern-synonyms-of-literals.hs b/corpora/vendored/expression/pattern/pattern-synonyms-of-literals.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/pattern/pattern-synonyms-of-literals.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE PatternSynonyms #-}
+
+module Http.Method where
+
+pattern Get :: String
+pattern Get <- "GET"
+  where
+    Get = "GET"
+
+pattern Head <- "HEAD" where Head = "HEAD"
diff --git a/corpora/vendored/expression/pattern/pattern-type-signatures-out.hs b/corpora/vendored/expression/pattern/pattern-type-signatures-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/pattern/pattern-type-signatures-out.hs
@@ -0,0 +1,9 @@
+module Server.Guard where
+
+import Control.Exception (SomeException, handle)
+
+quietly :: IO () -> IO ()
+quietly = handle (\(_ :: SomeException) -> pure ())
+
+widen :: Int -> Integer
+widen (n :: Int) = fromIntegral n
diff --git a/corpora/vendored/expression/pattern/pattern-type-signatures-written-across-lines-out'.hs b/corpora/vendored/expression/pattern/pattern-type-signatures-written-across-lines-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/pattern/pattern-type-signatures-written-across-lines-out'.hs
@@ -0,0 +1,9 @@
+module Config.Load where
+
+load :: IO Config
+load = do
+    port :: Int <- readSetting "port"
+    (host, path)
+        :: (String, FilePath) <-
+        readLocation
+    pure (Config host port path)
diff --git a/corpora/vendored/expression/pattern/pattern-type-signatures-written-across-lines-out.hs b/corpora/vendored/expression/pattern/pattern-type-signatures-written-across-lines-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/pattern/pattern-type-signatures-written-across-lines-out.hs
@@ -0,0 +1,9 @@
+module Config.Load where
+
+load :: IO Config
+load = do
+  port :: Int <- readSetting "port"
+  (host, path) ::
+    (String, FilePath) <-
+    readLocation
+  pure (Config host port path)
diff --git a/corpora/vendored/expression/pattern/pattern-type-signatures-written-across-lines.hs b/corpora/vendored/expression/pattern/pattern-type-signatures-written-across-lines.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/pattern/pattern-type-signatures-written-across-lines.hs
@@ -0,0 +1,9 @@
+module Config.Load where
+
+load :: IO Config
+load = do
+  port  ::  Int  <-  readSetting "port"
+  (host, path)
+    :: (String, FilePath)
+    <- readLocation
+  pure (Config host port path)
diff --git a/corpora/vendored/expression/pattern/pattern-type-signatures.hs b/corpora/vendored/expression/pattern/pattern-type-signatures.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/pattern/pattern-type-signatures.hs
@@ -0,0 +1,9 @@
+module Server.Guard where
+
+import Control.Exception (SomeException, handle)
+
+quietly :: IO () -> IO ()
+quietly = handle (\(_ :: SomeException) -> pure ())
+
+widen :: Int -> Integer
+widen (n::Int) = fromIntegral n
diff --git a/corpora/vendored/expression/pattern/patterns-in-brackets-written-across-lines-out'.hs b/corpora/vendored/expression/pattern/patterns-in-brackets-written-across-lines-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/pattern/patterns-in-brackets-written-across-lines-out'.hs
@@ -0,0 +1,25 @@
+module Route.Match where
+
+resolve :: Request -> Either String Handler
+resolve request =
+    checked $ case (methodOf request, pathOf request) of
+        ( Get
+          , ["orders", orderId]
+            ) -> Right (showOrder orderId)
+        (Post, ["orders"]) -> Right createOrder
+        _ -> Left "no route"
+
+prefix :: [Segment] -> Maybe Segment
+prefix segments = case segments of
+    [ first
+      , second
+        ] -> Just (first <> second)
+    [only] -> Just only
+    _ -> Nothing
+
+leading :: Segment -> Segment -> Segment
+leading this that = case [this, that] of
+    ( first
+        : _
+        ) -> first
+    [] -> root
diff --git a/corpora/vendored/expression/pattern/patterns-in-brackets-written-across-lines-out.hs b/corpora/vendored/expression/pattern/patterns-in-brackets-written-across-lines-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/pattern/patterns-in-brackets-written-across-lines-out.hs
@@ -0,0 +1,25 @@
+module Route.Match where
+
+resolve :: Request -> Either String Handler
+resolve request =
+  checked $ case (methodOf request, pathOf request) of
+    ( Get,
+      ["orders", orderId]
+      ) -> Right (showOrder orderId)
+    (Post, ["orders"]) -> Right createOrder
+    _ -> Left "no route"
+
+prefix :: [Segment] -> Maybe Segment
+prefix segments = case segments of
+  [ first,
+    second
+    ] -> Just (first <> second)
+  [only] -> Just only
+  _ -> Nothing
+
+leading :: Segment -> Segment -> Segment
+leading this that = case [this, that] of
+  ( first
+      : _
+    ) -> first
+  [] -> root
diff --git a/corpora/vendored/expression/pattern/patterns-in-brackets-written-across-lines.hs b/corpora/vendored/expression/pattern/patterns-in-brackets-written-across-lines.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/pattern/patterns-in-brackets-written-across-lines.hs
@@ -0,0 +1,22 @@
+module Route.Match where
+
+resolve :: Request -> Either String Handler
+resolve request =
+  checked $ case (methodOf request, pathOf request) of
+    (Get,
+     ["orders", orderId]) -> Right (showOrder orderId)
+    (Post, ["orders"]) -> Right createOrder
+    _ -> Left "no route"
+
+prefix :: [Segment] -> Maybe Segment
+prefix segments = case segments of
+  [  first,
+   second   ] -> Just (first <> second)
+  [only] -> Just only
+  _ -> Nothing
+
+leading :: Segment -> Segment -> Segment
+leading this that = case [this, that] of
+  (first:
+    _) -> first
+  [] -> root
diff --git a/corpora/vendored/expression/pattern/required-type-arguments-out.hs b/corpora/vendored/expression/pattern/required-type-arguments-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/pattern/required-type-arguments-out.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE ExplicitNamespaces #-}
+{-# LANGUAGE RequiredTypeArguments #-}
+
+module Codec.Width where
+
+import Foreign.Storable (Storable, sizeOf)
+
+widthOf :: forall a -> Storable a => Int
+widthOf (type a) = sizeOf (undefined :: a)
+
+header :: Int
+header = widthOf (type Word32) + widthOf (type (Ptr Word8))
diff --git a/corpora/vendored/expression/pattern/required-type-arguments.hs b/corpora/vendored/expression/pattern/required-type-arguments.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/pattern/required-type-arguments.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE ExplicitNamespaces #-}
+{-# LANGUAGE RequiredTypeArguments #-}
+
+module Codec.Width where
+
+import Foreign.Storable (Storable, sizeOf)
+
+widthOf :: forall a -> (Storable a) => Int
+widthOf (type   a) = sizeOf (undefined :: a)
+
+header :: Int
+header = widthOf (type Word32) + widthOf (type  (Ptr Word8))
diff --git a/corpora/vendored/expression/pattern/splice-patterns-out'.hs b/corpora/vendored/expression/pattern/splice-patterns-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/pattern/splice-patterns-out'.hs
@@ -0,0 +1,19 @@
+{-# LANGUAGE TemplateHaskell #-}
+
+-- A lambda keeps the space before a splice pattern, without which the
+-- backslash and the $ would read as one operator.
+module Wire.Frame where
+
+import Wire.Frame.Patterns (footer, header)
+
+isHeader :: Frame -> Bool
+isHeader $header = True
+isHeader _ = False
+
+payload :: Frame -> Maybe Bytes
+payload frame = case frame of
+    $(header) -> Nothing
+    Data bytes -> Just bytes
+
+dropFooters :: [Frame] -> [Frame]
+dropFooters = filter (\ $(footer) -> False)
diff --git a/corpora/vendored/expression/pattern/splice-patterns-out.hs b/corpora/vendored/expression/pattern/splice-patterns-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/pattern/splice-patterns-out.hs
@@ -0,0 +1,19 @@
+{-# LANGUAGE TemplateHaskell #-}
+
+-- A lambda keeps the space before a splice pattern, without which the
+-- backslash and the $ would read as one operator.
+module Wire.Frame where
+
+import Wire.Frame.Patterns (footer, header)
+
+isHeader :: Frame -> Bool
+isHeader $header = True
+isHeader _ = False
+
+payload :: Frame -> Maybe Bytes
+payload frame = case frame of
+  $(header) -> Nothing
+  Data bytes -> Just bytes
+
+dropFooters :: [Frame] -> [Frame]
+dropFooters = filter (\ $(footer) -> False)
diff --git a/corpora/vendored/expression/pattern/splice-patterns-written-across-lines-out'.hs b/corpora/vendored/expression/pattern/splice-patterns-written-across-lines-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/pattern/splice-patterns-written-across-lines-out'.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE QuasiQuotes #-}
+{-# LANGUAGE TemplateHaskell #-}
+
+module Wire.Header where
+
+import Wire.Header.Patterns (field, header)
+
+version :: Header -> Maybe Int
+version h = case h of
+    $( field
+        "version"
+     ) -> Just 1
+    [header|v2|] -> Just 2
+    [header| v3
+legacy
+|] -> Just 3
+    _ -> Nothing
diff --git a/corpora/vendored/expression/pattern/splice-patterns-written-across-lines-out.hs b/corpora/vendored/expression/pattern/splice-patterns-written-across-lines-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/pattern/splice-patterns-written-across-lines-out.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE QuasiQuotes #-}
+{-# LANGUAGE TemplateHaskell #-}
+
+module Wire.Header where
+
+import Wire.Header.Patterns (field, header)
+
+version :: Header -> Maybe Int
+version h = case h of
+  $( field
+       "version"
+   ) -> Just 1
+  [header|v2|] -> Just 2
+  [header| v3
+legacy
+|] -> Just 3
+  _ -> Nothing
diff --git a/corpora/vendored/expression/pattern/splice-patterns-written-across-lines.hs b/corpora/vendored/expression/pattern/splice-patterns-written-across-lines.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/pattern/splice-patterns-written-across-lines.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE QuasiQuotes #-}
+{-# LANGUAGE TemplateHaskell #-}
+
+module Wire.Header where
+
+import Wire.Header.Patterns (field, header)
+
+version :: Header -> Maybe Int
+version h = case h of
+  $(field
+      "version") -> Just 1
+  [header|v2|] -> Just 2
+  [header| v3
+legacy
+|] -> Just 3
+  _ -> Nothing
diff --git a/corpora/vendored/expression/pattern/splice-patterns.hs b/corpora/vendored/expression/pattern/splice-patterns.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/pattern/splice-patterns.hs
@@ -0,0 +1,19 @@
+{-# LANGUAGE TemplateHaskell #-}
+
+-- A lambda keeps the space before a splice pattern, without which the
+-- backslash and the $ would read as one operator.
+module Wire.Frame where
+
+import Wire.Frame.Patterns (footer, header)
+
+isHeader :: Frame -> Bool
+isHeader $header = True
+isHeader _ = False
+
+payload :: Frame -> Maybe Bytes
+payload frame = case frame of
+  $(header) -> Nothing
+  Data bytes -> Just bytes
+
+dropFooters :: [Frame] -> [Frame]
+dropFooters = filter (\ $( footer ) -> False)
diff --git a/corpora/vendored/expression/pattern/type-patterns-with-compound-types-out.hs b/corpora/vendored/expression/pattern/type-patterns-with-compound-types-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/pattern/type-patterns-with-compound-types-out.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE RequiredTypeArguments #-}
+{-# LANGUAGE TypeAbstractions #-}
+
+module Codec.Size where
+
+import Data.Kind (Type)
+
+sizeOf :: forall (a :: Type) -> Storable a => Int
+sizeOf (type (a :: Type)) = byteSize @a
+
+unwrapped :: Wrapped (Maybe Int) -> Proxy Int
+unwrapped (Wrapped @(f a)) = Proxy @a
diff --git a/corpora/vendored/expression/pattern/type-patterns-with-compound-types.hs b/corpora/vendored/expression/pattern/type-patterns-with-compound-types.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/pattern/type-patterns-with-compound-types.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE RequiredTypeArguments #-}
+{-# LANGUAGE TypeAbstractions #-}
+
+module Codec.Size where
+
+import Data.Kind (Type)
+
+sizeOf :: forall (a :: Type) -> Storable a => Int
+sizeOf (type (a :: Type)) = byteSize @a
+
+unwrapped :: Wrapped (Maybe Int) -> Proxy Int
+unwrapped (Wrapped @(f a)) = Proxy @a
diff --git a/corpora/vendored/expression/pattern/unboxed-sum-patterns-written-across-lines-out'.hs b/corpora/vendored/expression/pattern/unboxed-sum-patterns-written-across-lines-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/pattern/unboxed-sum-patterns-written-across-lines-out'.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE UnboxedSums #-}
+
+module Lexer.Slot where
+
+firstSlot :: Bool
+firstSlot = ready
+    where
+        (# ready | #) = (# True | #)
+
+lastSlot :: Bool
+lastSlot = ready
+    where
+        (#
+            | | ready
+            #) =
+            (#
+                | | False
+            #)
diff --git a/corpora/vendored/expression/pattern/unboxed-sum-patterns-written-across-lines-out.hs b/corpora/vendored/expression/pattern/unboxed-sum-patterns-written-across-lines-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/pattern/unboxed-sum-patterns-written-across-lines-out.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE UnboxedSums #-}
+
+module Lexer.Slot where
+
+firstSlot :: Bool
+firstSlot = ready
+  where
+    (# ready | #) = (# True | #)
+
+lastSlot :: Bool
+lastSlot = ready
+  where
+    (#
+      | | ready
+      #) =
+      (#
+        | | False
+      #)
diff --git a/corpora/vendored/expression/pattern/unboxed-sum-patterns-written-across-lines.hs b/corpora/vendored/expression/pattern/unboxed-sum-patterns-written-across-lines.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/pattern/unboxed-sum-patterns-written-across-lines.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE UnboxedSums #-}
+
+module Lexer.Slot where
+
+firstSlot :: Bool
+firstSlot = ready
+  where
+    (# ready | #) = (# True | #)
+
+lastSlot :: Bool
+lastSlot = ready
+  where
+    (# |
+       | ready #) = (# |
+                       | False #)
diff --git a/corpora/vendored/expression/pattern/view-patterns-out'.hs b/corpora/vendored/expression/pattern/view-patterns-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/pattern/view-patterns-out'.hs
@@ -0,0 +1,19 @@
+{-# LANGUAGE ViewPatterns #-}
+
+module Inventory.Stock where
+
+isEmpty :: Shelf -> Bool
+isEmpty (count -> 0) = True
+isEmpty _ = False
+
+restock :: ((Shelf, Supplier), Shelf) -> Bool
+restock ((shelf, _), count -> 0) = True
+restock _ = False
+
+oversized :: Item -> Bool
+oversized
+    ( dimensions ->
+        Box
+            width
+            height
+    ) = width * height > 100
diff --git a/corpora/vendored/expression/pattern/view-patterns-out.hs b/corpora/vendored/expression/pattern/view-patterns-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/pattern/view-patterns-out.hs
@@ -0,0 +1,19 @@
+{-# LANGUAGE ViewPatterns #-}
+
+module Inventory.Stock where
+
+isEmpty :: Shelf -> Bool
+isEmpty (count -> 0) = True
+isEmpty _ = False
+
+restock :: ((Shelf, Supplier), Shelf) -> Bool
+restock ((shelf, _), count -> 0) = True
+restock _ = False
+
+oversized :: Item -> Bool
+oversized
+  ( dimensions ->
+      Box
+        width
+        height
+  ) = width * height > 100
diff --git a/corpora/vendored/expression/pattern/view-patterns-with-compound-views-out.hs b/corpora/vendored/expression/pattern/view-patterns-with-compound-views-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/pattern/view-patterns-with-compound-views-out.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE ViewPatterns #-}
+
+module Inventory.Search where
+
+hasStock :: Shelf -> Bool
+hasStock (filter available . items -> _ : _) = True
+hasStock _ = False
+
+doubled :: [Int] -> [Int]
+doubled (map (* 2) -> counts) = counts
diff --git a/corpora/vendored/expression/pattern/view-patterns-with-compound-views.hs b/corpora/vendored/expression/pattern/view-patterns-with-compound-views.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/pattern/view-patterns-with-compound-views.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE ViewPatterns #-}
+
+module Inventory.Search where
+
+hasStock :: Shelf -> Bool
+hasStock (filter available . items -> _ : _) = True
+hasStock _ = False
+
+doubled :: [Int] -> [Int]
+doubled (map (* 2) -> counts) = counts
diff --git a/corpora/vendored/expression/pattern/view-patterns.hs b/corpora/vendored/expression/pattern/view-patterns.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/pattern/view-patterns.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE ViewPatterns #-}
+
+module Inventory.Stock where
+
+isEmpty :: Shelf -> Bool
+isEmpty (   count   ->   0   ) = True
+isEmpty _ = False
+
+restock :: ((Shelf, Supplier), Shelf) -> Bool
+restock ((shelf, _), count -> 0) = True
+restock _ = False
+
+oversized :: Item -> Bool
+oversized (dimensions -> Box
+                           width
+                           height) = width * height > 100
diff --git a/corpora/vendored/expression/quote/declarations-on-one-line-out.hs b/corpora/vendored/expression/quote/declarations-on-one-line-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/quote/declarations-on-one-line-out.hs
@@ -0,0 +1,7 @@
+{-# LANGUAGE TemplateHaskell #-}
+
+module Grid.Sizes where
+
+sizes = [d|width = 80; height = 24|]
+
+limits = [d|maxWidth :: Int; maxWidth = 200; minWidth = 10|]
diff --git a/corpora/vendored/expression/quote/declarations-on-one-line.hs b/corpora/vendored/expression/quote/declarations-on-one-line.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/quote/declarations-on-one-line.hs
@@ -0,0 +1,7 @@
+{-# LANGUAGE TemplateHaskell #-}
+
+module Grid.Sizes where
+
+sizes = [d| width = 80; height = 24 |]
+
+limits = [d| maxWidth :: Int; maxWidth = 200; minWidth = 10 |]
diff --git a/corpora/vendored/expression/quote/name-and-type-quotes-out.hs b/corpora/vendored/expression/quote/name-and-type-quotes-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/quote/name-and-type-quotes-out.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE TemplateHaskell #-}
+
+module Order.Derive where
+
+priceField :: Name
+priceField = 'price
+
+orderType :: Name
+orderType = ''Order
+
+ledgerType :: Q Type
+ledgerType = [t|Map String Order|]
+
+codePattern :: Q Pat
+codePattern = [p|(code, _)|]
diff --git a/corpora/vendored/expression/quote/name-and-type-quotes.hs b/corpora/vendored/expression/quote/name-and-type-quotes.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/quote/name-and-type-quotes.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE TemplateHaskell #-}
+
+module Order.Derive where
+
+priceField :: Name
+priceField = 'price
+
+orderType :: Name
+orderType = ''Order
+
+ledgerType :: Q Type
+ledgerType = [t|Map String Order|]
+
+codePattern :: Q Pat
+codePattern = [p|(code, _)|]
diff --git a/corpora/vendored/expression/quote/quasi-quotation-on-one-line-out.hs b/corpora/vendored/expression/quote/quasi-quotation-on-one-line-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/quote/quasi-quotation-on-one-line-out.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE QuasiQuotes #-}
+
+module Mail.Greeting where
+
+greeting :: String
+greeting = [str|Dear customer,|]
+
+pending :: Query
+pending = [sql| SELECT id FROM orders WHERE shipped = false |]
diff --git a/corpora/vendored/expression/quote/quasi-quotation-on-one-line.hs b/corpora/vendored/expression/quote/quasi-quotation-on-one-line.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/quote/quasi-quotation-on-one-line.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE QuasiQuotes #-}
+
+module Mail.Greeting where
+
+greeting :: String
+greeting = [str|Dear customer,|]
+
+pending :: Query
+pending = [sql| SELECT id FROM orders WHERE shipped = false |]
diff --git a/corpora/vendored/expression/quote/quasi-quotation-written-across-lines-out'.hs b/corpora/vendored/expression/quote/quasi-quotation-written-across-lines-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/quote/quasi-quotation-written-across-lines-out'.hs
@@ -0,0 +1,25 @@
+{-# LANGUAGE QuasiQuotes #-}
+
+exceptions :: [String] -> String
+exceptions es = [i|
+    Encountered one or more exceptions.
+  |] <> concat es
+
+unexpected :: Int -> Maybe String
+unexpected sp = Just (render sp [i|
+    Something went wrong.
+  |] Nothing)
+
+checked :: IO ()
+checked = withMessage [i|
+    Checking.
+  |] $ do
+    check
+    report
+
+check :: Int
+check = 1
+{-# ANN check (Prim [Verilog, VHDL] [i|
+  BlackBox:
+    name: check
+  |]) #-}
diff --git a/corpora/vendored/expression/quote/quasi-quotation-written-across-lines-out.hs b/corpora/vendored/expression/quote/quasi-quotation-written-across-lines-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/quote/quasi-quotation-written-across-lines-out.hs
@@ -0,0 +1,25 @@
+{-# LANGUAGE QuasiQuotes #-}
+
+exceptions :: [String] -> String
+exceptions es = [i|
+    Encountered one or more exceptions.
+  |] <> concat es
+
+unexpected :: Int -> Maybe String
+unexpected sp = Just (render sp [i|
+    Something went wrong.
+  |] Nothing)
+
+checked :: IO ()
+checked = withMessage [i|
+    Checking.
+  |] $ do
+  check
+  report
+
+check :: Int
+check = 1
+{-# ANN check (Prim [Verilog, VHDL] [i|
+  BlackBox:
+    name: check
+  |]) #-}
diff --git a/corpora/vendored/expression/quote/quasi-quotation-written-across-lines.hs b/corpora/vendored/expression/quote/quasi-quotation-written-across-lines.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/quote/quasi-quotation-written-across-lines.hs
@@ -0,0 +1,25 @@
+{-# LANGUAGE QuasiQuotes #-}
+
+exceptions :: [String] -> String
+exceptions es = [i|
+    Encountered one or more exceptions.
+  |] <> concat es
+
+unexpected :: Int -> Maybe String
+unexpected sp = Just (render sp [i|
+    Something went wrong.
+  |] Nothing)
+
+checked :: IO ()
+checked = withMessage [i|
+    Checking.
+  |] $ do
+  check
+  report
+
+check :: Int
+check = 1
+{-# ANN check (Prim [Verilog, VHDL] [i|
+  BlackBox:
+    name: check
+  |]) #-}
diff --git a/corpora/vendored/expression/quote/quotes-of-operators-and-special-names-out.hs b/corpora/vendored/expression/quote/quotes-of-operators-and-special-names-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/quote/quotes-of-operators-and-special-names-out.hs
@@ -0,0 +1,36 @@
+{-# LANGUAGE TemplateHaskell #-}
+
+module Query.Names where
+
+import qualified Data.List.NonEmpty as NonEmpty
+import qualified Query.Builder as Builder
+
+consName :: Name
+consName = '(:)
+
+appendName :: Name
+appendName = '(<>)
+
+nonEmptyName :: Name
+nonEmptyName = ''(NonEmpty.:|)
+
+joinName :: Name
+joinName = '(Builder.<+>)
+
+eqName :: Name
+eqName = ''(==)
+
+unitName :: Name
+unitName = ''()
+
+listName :: Name
+listName = ''[]
+
+pairName :: Name
+pairName = ''(,)
+
+selectName :: Name
+selectName = 'Builder.select
+
+clauseName :: Name
+clauseName = ''Builder.Clause
diff --git a/corpora/vendored/expression/quote/quotes-of-operators-and-special-names.hs b/corpora/vendored/expression/quote/quotes-of-operators-and-special-names.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/quote/quotes-of-operators-and-special-names.hs
@@ -0,0 +1,36 @@
+{-# LANGUAGE TemplateHaskell #-}
+
+module Query.Names where
+
+import qualified Data.List.NonEmpty as NonEmpty
+import qualified Query.Builder as Builder
+
+consName :: Name
+consName = '(:)
+
+appendName :: Name
+appendName = '(<>)
+
+nonEmptyName :: Name
+nonEmptyName = ''(NonEmpty.:|)
+
+joinName :: Name
+joinName = '(Builder.<+>)
+
+eqName :: Name
+eqName = ''(==)
+
+unitName :: Name
+unitName = ''()
+
+listName :: Name
+listName = ''[]
+
+pairName :: Name
+pairName = ''(,)
+
+selectName :: Name
+selectName = 'Builder.select
+
+clauseName :: Name
+clauseName = ''Builder.Clause
diff --git a/corpora/vendored/expression/quote/splices-written-across-lines-out'.hs b/corpora/vendored/expression/quote/splices-written-across-lines-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/quote/splices-written-across-lines-out'.hs
@@ -0,0 +1,31 @@
+{-# LANGUAGE TemplateHaskell #-}
+
+module Sensor.Calibrate where
+
+import Sensor.Calibrate.Tables (offsetFor, scaleFor, threshold)
+
+baseline :: Double
+baseline = $$threshold
+
+offset :: Double
+offset = $$(offsetFor "probe-a")
+
+scale :: Double
+scale =
+    $$( scaleFor
+            "probe-b"
+      )
+
+limits :: (Double, Double)
+limits =
+    $( tupE
+        [[|minBound|], [|maxBound|]]
+     )
+
+drift :: Double -> Double
+drift x
+    | x > baseline =
+        $$( scaleFor
+                "probe-c"
+          )
+    | otherwise = $$threshold
diff --git a/corpora/vendored/expression/quote/splices-written-across-lines-out.hs b/corpora/vendored/expression/quote/splices-written-across-lines-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/quote/splices-written-across-lines-out.hs
@@ -0,0 +1,31 @@
+{-# LANGUAGE TemplateHaskell #-}
+
+module Sensor.Calibrate where
+
+import Sensor.Calibrate.Tables (offsetFor, scaleFor, threshold)
+
+baseline :: Double
+baseline = $$threshold
+
+offset :: Double
+offset = $$(offsetFor "probe-a")
+
+scale :: Double
+scale =
+  $$( scaleFor
+        "probe-b"
+    )
+
+limits :: (Double, Double)
+limits =
+  $( tupE
+       [[|minBound|], [|maxBound|]]
+   )
+
+drift :: Double -> Double
+drift x
+  | x > baseline =
+      $$( scaleFor
+            "probe-c"
+        )
+  | otherwise = $$threshold
diff --git a/corpora/vendored/expression/quote/splices-written-across-lines.hs b/corpora/vendored/expression/quote/splices-written-across-lines.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/quote/splices-written-across-lines.hs
@@ -0,0 +1,25 @@
+{-# LANGUAGE TemplateHaskell #-}
+
+module Sensor.Calibrate where
+
+import Sensor.Calibrate.Tables (offsetFor, scaleFor, threshold)
+
+baseline :: Double
+baseline = $$threshold
+
+offset :: Double
+offset  =  $$(   offsetFor   "probe-a"  )
+
+scale :: Double
+scale = $$(  scaleFor
+  "probe-b" )
+
+limits :: (Double, Double)
+limits = $(tupE
+  [ [|minBound|], [|maxBound|] ])
+
+drift :: Double -> Double
+drift x
+  | x > baseline = $$(scaleFor
+      "probe-c")
+  | otherwise = $$threshold
diff --git a/corpora/vendored/expression/quote/type-quotes-of-functions-and-tuples-out.hs b/corpora/vendored/expression/quote/type-quotes-of-functions-and-tuples-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/quote/type-quotes-of-functions-and-tuples-out.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE TemplateHaskell #-}
+
+module Schema.Derive where
+
+handlerType :: Q Type
+handlerType = [t|Request -> IO Response|]
+
+pairType :: Q Type
+pairType = [t|(Key, [Value])|]
diff --git a/corpora/vendored/expression/quote/type-quotes-of-functions-and-tuples.hs b/corpora/vendored/expression/quote/type-quotes-of-functions-and-tuples.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/quote/type-quotes-of-functions-and-tuples.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE TemplateHaskell #-}
+
+module Schema.Derive where
+
+handlerType :: Q Type
+handlerType = [t|Request -> IO Response|]
+
+pairType :: Q Type
+pairType = [t|(Key, [Value])|]
diff --git a/corpora/vendored/expression/quote/typed-quote-written-across-lines-out'.hs b/corpora/vendored/expression/quote/typed-quote-written-across-lines-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/quote/typed-quote-written-across-lines-out'.hs
@@ -0,0 +1,25 @@
+{-# LANGUAGE TemplateHaskell #-}
+
+-- The body of a typed quote is indented under its bracket, as that of an
+-- untyped one is.
+untyped :: Quote m => m Exp
+untyped =
+    [|
+        let x = 1
+         in x + x
+        |]
+
+typed :: Quote m => Code m Int
+typed =
+    [||
+        let x = 1
+         in x + x
+        ||]
+
+explicit :: Quote m => Code m Int
+explicit =
+    [e||
+        case lookup key table of
+            Just x -> x
+            Nothing -> 0
+        ||]
diff --git a/corpora/vendored/expression/quote/typed-quote-written-across-lines-out.hs b/corpora/vendored/expression/quote/typed-quote-written-across-lines-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/quote/typed-quote-written-across-lines-out.hs
@@ -0,0 +1,25 @@
+{-# LANGUAGE TemplateHaskell #-}
+
+-- The body of a typed quote is indented under its bracket, as that of an
+-- untyped one is.
+untyped :: Quote m => m Exp
+untyped =
+  [|
+    let x = 1
+     in x + x
+    |]
+
+typed :: Quote m => Code m Int
+typed =
+  [||
+    let x = 1
+     in x + x
+    ||]
+
+explicit :: Quote m => Code m Int
+explicit =
+  [e||
+    case lookup key table of
+      Just x -> x
+      Nothing -> 0
+    ||]
diff --git a/corpora/vendored/expression/quote/typed-quote-written-across-lines.hs b/corpora/vendored/expression/quote/typed-quote-written-across-lines.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/quote/typed-quote-written-across-lines.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE TemplateHaskell #-}
+
+-- The body of a typed quote is indented under its bracket, as that of an
+-- untyped one is.
+untyped :: Quote m => m Exp
+untyped =
+  [| let x = 1
+     in x + x |]
+
+typed :: Quote m => Code m Int
+typed =
+  [|| let x = 1
+      in x + x ||]
+
+explicit :: Quote m => Code m Int
+explicit = [e|| case lookup key table of
+  Just x -> x
+  Nothing -> 0 ||]
diff --git a/corpora/vendored/expression/record/case-as-a-field-value-out'.hs b/corpora/vendored/expression/record/case-as-a-field-value-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/record/case-as-a-field-value-out'.hs
@@ -0,0 +1,24 @@
+module Kiln.Settings where
+
+defaults :: Mode -> Settings
+defaults mode =
+    Settings
+        { peak =
+            -- Glazes need it hotter.
+            case mode of
+                Bisque -> 1000
+                Glaze -> 1240
+        , hold = case mode of
+            Bisque -> 10
+            Glaze -> 20
+        }
+
+cooler :: Mode -> Settings -> Settings
+cooler mode s =
+    s
+        { peak =
+            -- Leave a margin either way.
+            case mode of
+                Bisque -> peak s - 50
+                Glaze -> peak s - 20
+        }
diff --git a/corpora/vendored/expression/record/case-as-a-field-value-out.hs b/corpora/vendored/expression/record/case-as-a-field-value-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/record/case-as-a-field-value-out.hs
@@ -0,0 +1,24 @@
+module Kiln.Settings where
+
+defaults :: Mode -> Settings
+defaults mode =
+  Settings
+    { peak =
+        -- Glazes need it hotter.
+        case mode of
+          Bisque -> 1000
+          Glaze -> 1240,
+      hold = case mode of
+        Bisque -> 10
+        Glaze -> 20
+    }
+
+cooler :: Mode -> Settings -> Settings
+cooler mode s =
+  s
+    { peak =
+        -- Leave a margin either way.
+        case mode of
+          Bisque -> peak s - 50
+          Glaze -> peak s - 20
+    }
diff --git a/corpora/vendored/expression/record/case-as-a-field-value.hs b/corpora/vendored/expression/record/case-as-a-field-value.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/record/case-as-a-field-value.hs
@@ -0,0 +1,22 @@
+module Kiln.Settings where
+
+defaults :: Mode -> Settings
+defaults mode = Settings
+  { peak =
+      -- Glazes need it hotter.
+      case mode of
+        Bisque -> 1000
+        Glaze -> 1240
+  , hold = case mode of
+      Bisque -> 10
+      Glaze -> 20
+  }
+
+cooler :: Mode -> Settings -> Settings
+cooler mode s = s
+  { peak =
+      -- Leave a margin either way.
+      case mode of
+        Bisque -> peak s - 50
+        Glaze -> peak s - 20
+  }
diff --git a/corpora/vendored/expression/record/field-selection-on-a-bracketed-expression-out.hs b/corpora/vendored/expression/record/field-selection-on-a-bracketed-expression-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/record/field-selection-on-a-bracketed-expression-out.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE OverloadedRecordDot #-}
+
+module Staff.Lookup where
+
+deskOf :: Directory -> String -> Desk
+deskOf directory key = (find key directory).desk
+
+firstLevel :: [Person] -> Int
+firstLevel people = (head people).desk.level
diff --git a/corpora/vendored/expression/record/field-selection-on-a-bracketed-expression.hs b/corpora/vendored/expression/record/field-selection-on-a-bracketed-expression.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/record/field-selection-on-a-bracketed-expression.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE OverloadedRecordDot #-}
+
+module Staff.Lookup where
+
+deskOf :: Directory -> String -> Desk
+deskOf directory key = (find key directory).desk
+
+firstLevel :: [Person] -> Int
+firstLevel people = (head people).desk.level
diff --git a/corpora/vendored/expression/record/pattern-synonym-record-braces-out'.hs b/corpora/vendored/expression/record/pattern-synonym-record-braces-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/record/pattern-synonym-record-braces-out'.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE PatternSynonyms #-}
+{-# LANGUAGE ViewPatterns #-}
+
+pattern Pair{left, right} = (left, right)
+
+pattern Dozen{dozenSku} <- Crate dozenSku 12
+    where
+        Dozen s = Crate s 12
+
+pattern Named{named} <- (lookupName -> Just named)
+
+pattern Spanning
+    { spanFrom
+    , spanTo
+    } = Range spanFrom spanTo
diff --git a/corpora/vendored/expression/record/pattern-synonym-record-braces-out.hs b/corpora/vendored/expression/record/pattern-synonym-record-braces-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/record/pattern-synonym-record-braces-out.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE PatternSynonyms #-}
+{-# LANGUAGE ViewPatterns #-}
+
+pattern Pair{left, right} = (left, right)
+
+pattern Dozen{dozenSku} <- Crate dozenSku 12
+  where
+    Dozen s = Crate s 12
+
+pattern Named{named} <- (lookupName -> Just named)
+
+pattern Spanning
+  { spanFrom,
+    spanTo
+  } = Range spanFrom spanTo
diff --git a/corpora/vendored/expression/record/pattern-synonym-record-braces.hs b/corpora/vendored/expression/record/pattern-synonym-record-braces.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/record/pattern-synonym-record-braces.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE PatternSynonyms #-}
+{-# LANGUAGE ViewPatterns #-}
+
+pattern Pair {left, right} = (left, right)
+
+pattern Dozen {dozenSku} <- Crate dozenSku 12
+  where
+    Dozen s = Crate s 12
+
+pattern Named {named} <- (lookupName -> Just named)
+
+pattern Spanning {
+  spanFrom,
+  spanTo } = Range spanFrom spanTo
diff --git a/corpora/vendored/expression/record/record-construction-braces-out'.hs b/corpora/vendored/expression/record/record-construction-braces-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/record/record-construction-braces-out'.hs
@@ -0,0 +1,30 @@
+{-# LANGUAGE NamedFieldPuns #-}
+{-# LANGUAGE RecordWildCards #-}
+
+emptyCrate = Crate{crateSku = Sku "none", crateCount = 0}
+
+unknownCrate = Crate{}
+
+crateOf crateSku crateCount = Crate{crateSku, crateCount}
+
+crateHere = let crateSku = Sku "here"; crateCount = 1 in Crate{..}
+
+weighted = Scale{(<+>) = (+), unit = 0}
+
+qualified = Inventory.Crate{Inventory.crateCount = 2, ..}
+    where
+        crateSku = Sku "q"
+
+nested =
+    Pallet
+        { palletCrates = [Crate{crateSku = Sku "a", crateCount = 1}]
+        , palletWrapped = True
+        }
+
+argument = ship Letter{letterWeight = 20} (Sku "b")
+
+tall =
+    Box
+        { boxWeight = 12
+        , boxFragile = False
+        }
diff --git a/corpora/vendored/expression/record/record-construction-braces-out.hs b/corpora/vendored/expression/record/record-construction-braces-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/record/record-construction-braces-out.hs
@@ -0,0 +1,30 @@
+{-# LANGUAGE NamedFieldPuns #-}
+{-# LANGUAGE RecordWildCards #-}
+
+emptyCrate = Crate{crateSku = Sku "none", crateCount = 0}
+
+unknownCrate = Crate{}
+
+crateOf crateSku crateCount = Crate{crateSku, crateCount}
+
+crateHere = let crateSku = Sku "here"; crateCount = 1 in Crate{..}
+
+weighted = Scale{(<+>) = (+), unit = 0}
+
+qualified = Inventory.Crate{Inventory.crateCount = 2, ..}
+  where
+    crateSku = Sku "q"
+
+nested =
+  Pallet
+    { palletCrates = [Crate{crateSku = Sku "a", crateCount = 1}],
+      palletWrapped = True
+    }
+
+argument = ship Letter{letterWeight = 20} (Sku "b")
+
+tall =
+  Box
+    { boxWeight = 12,
+      boxFragile = False
+    }
diff --git a/corpora/vendored/expression/record/record-construction-braces.hs b/corpora/vendored/expression/record/record-construction-braces.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/record/record-construction-braces.hs
@@ -0,0 +1,24 @@
+{-# LANGUAGE NamedFieldPuns #-}
+{-# LANGUAGE RecordWildCards #-}
+
+emptyCrate = Crate {crateSku = Sku "none", crateCount = 0}
+
+unknownCrate = Crate {}
+
+crateOf crateSku crateCount = Crate {crateSku, crateCount}
+
+crateHere = let crateSku = Sku "here"; crateCount = 1 in Crate {..}
+
+weighted = Scale {(<+>) = (+), unit = 0}
+
+qualified = Inventory.Crate {Inventory.crateCount = 2, ..}
+  where
+    crateSku = Sku "q"
+
+nested = Pallet {palletCrates = [Crate {crateSku = Sku "a", crateCount = 1}], palletWrapped = True}
+
+argument = ship Letter {letterWeight = 20} (Sku "b")
+
+tall = Box {
+  boxWeight = 12,
+  boxFragile = False }
diff --git a/corpora/vendored/expression/record/record-dot-syntax-out.hs b/corpora/vendored/expression/record/record-dot-syntax-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/record/record-dot-syntax-out.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE OverloadedRecordDot #-}
+
+module Staff.Directory where
+
+data Person = Person{name :: String, desk :: Desk}
+
+newtype Desk = Desk{level :: Int}
+
+nameOf :: Person -> String
+nameOf p = p.name
+
+levels :: [Person] -> [Int]
+levels = map (.desk.level)
+
+label :: Person -> String
+label p = p.name <> " on level " <> show p.desk.level
diff --git a/corpora/vendored/expression/record/record-dot-syntax.hs b/corpora/vendored/expression/record/record-dot-syntax.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/record/record-dot-syntax.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE OverloadedRecordDot #-}
+
+module Staff.Directory where
+
+data Person = Person {name :: String, desk :: Desk}
+
+newtype Desk = Desk {level :: Int}
+
+nameOf :: Person -> String
+nameOf p = p.name
+
+levels :: [Person] -> [Int]
+levels = map (.desk.level)
+
+label :: Person -> String
+label p = p.name <> " on level " <> show p.desk.level
diff --git a/corpora/vendored/expression/record/record-pattern-braces-out'.hs b/corpora/vendored/expression/record/record-pattern-braces-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/record/record-pattern-braces-out'.hs
@@ -0,0 +1,23 @@
+{-# LANGUAGE LambdaCase #-}
+{-# LANGUAGE NamedFieldPuns #-}
+{-# LANGUAGE RecordWildCards #-}
+
+weight Letter{letterWeight} = letterWeight
+weight Box{boxWeight = w, ..} = if boxFragile then w + 1 else w
+weight Pallet{} = 0
+
+isLetter = \case Letter{} -> True; _ -> False
+
+heavier = \cases Box{boxWeight = a} Box{boxWeight = b} -> a > b; _ _ -> False
+
+describe p@Pallet{palletCrates = Crate{crateCount} : _} = (p, crateCount)
+
+counted crate = case crate of
+    Crate{crateCount = 0} -> "empty"
+    Crate{..} -> show crateCount
+
+unwrap
+    Pallet
+        { palletCrates
+        , palletWrapped = True
+        } = palletCrates
diff --git a/corpora/vendored/expression/record/record-pattern-braces-out.hs b/corpora/vendored/expression/record/record-pattern-braces-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/record/record-pattern-braces-out.hs
@@ -0,0 +1,23 @@
+{-# LANGUAGE LambdaCase #-}
+{-# LANGUAGE NamedFieldPuns #-}
+{-# LANGUAGE RecordWildCards #-}
+
+weight Letter{letterWeight} = letterWeight
+weight Box{boxWeight = w, ..} = if boxFragile then w + 1 else w
+weight Pallet{} = 0
+
+isLetter = \case Letter{} -> True; _ -> False
+
+heavier = \cases Box{boxWeight = a} Box{boxWeight = b} -> a > b; _ _ -> False
+
+describe p@Pallet{palletCrates = Crate{crateCount} : _} = (p, crateCount)
+
+counted crate = case crate of
+  Crate{crateCount = 0} -> "empty"
+  Crate{..} -> show crateCount
+
+unwrap
+  Pallet
+    { palletCrates,
+      palletWrapped = True
+    } = palletCrates
diff --git a/corpora/vendored/expression/record/record-pattern-braces.hs b/corpora/vendored/expression/record/record-pattern-braces.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/record/record-pattern-braces.hs
@@ -0,0 +1,21 @@
+{-# LANGUAGE LambdaCase #-}
+{-# LANGUAGE NamedFieldPuns #-}
+{-# LANGUAGE RecordWildCards #-}
+
+weight Letter {letterWeight} = letterWeight
+weight Box {boxWeight = w, ..} = if boxFragile then w + 1 else w
+weight Pallet {} = 0
+
+isLetter = \case Letter {} -> True; _ -> False
+
+heavier = \cases Box {boxWeight = a} Box {boxWeight = b} -> a > b; _ _ -> False
+
+describe p@Pallet {palletCrates = Crate {crateCount} : _} = (p, crateCount)
+
+counted crate = case crate of
+  Crate {crateCount = 0} -> "empty"
+  Crate {..} -> show crateCount
+
+unwrap Pallet {
+  palletCrates,
+  palletWrapped = True } = palletCrates
diff --git a/corpora/vendored/expression/record/record-patterns-with-fields-across-lines-out'.hs b/corpora/vendored/expression/record/record-patterns-with-fields-across-lines-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/record/record-patterns-with-fields-across-lines-out'.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE NamedFieldPuns #-}
+
+module Warehouse.Pallet where
+
+firstCount :: Pallet -> Int
+firstCount
+    Pallet
+        { palletCrates =
+            Crate{crateCount} : _
+        } = crateCount
+
+corner :: Pallet -> (Int, Int)
+corner Pallet{palletSpot = (row, column)} = (row, column)
diff --git a/corpora/vendored/expression/record/record-patterns-with-fields-across-lines-out.hs b/corpora/vendored/expression/record/record-patterns-with-fields-across-lines-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/record/record-patterns-with-fields-across-lines-out.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE NamedFieldPuns #-}
+
+module Warehouse.Pallet where
+
+firstCount :: Pallet -> Int
+firstCount
+  Pallet
+    { palletCrates =
+        Crate{crateCount} : _
+    } = crateCount
+
+corner :: Pallet -> (Int, Int)
+corner Pallet{palletSpot = (row, column)} = (row, column)
diff --git a/corpora/vendored/expression/record/record-patterns-with-fields-across-lines.hs b/corpora/vendored/expression/record/record-patterns-with-fields-across-lines.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/record/record-patterns-with-fields-across-lines.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE NamedFieldPuns #-}
+
+module Warehouse.Pallet where
+
+firstCount :: Pallet -> Int
+firstCount Pallet
+  { palletCrates =
+      Crate {crateCount} : _
+  } = crateCount
+
+corner :: Pallet -> (Int, Int)
+corner Pallet {palletSpot = (row, column)} = (row, column)
diff --git a/corpora/vendored/expression/record/record-update-as-an-argument-out'.hs b/corpora/vendored/expression/record/record-update-as-an-argument-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/record/record-update-as-an-argument-out'.hs
@@ -0,0 +1,12 @@
+module Kiln.Batches where
+
+firstBatch :: Maybe Batch
+firstBatch =
+    Just
+        -- the one already loaded
+        current
+            { batchSize = 12
+            }
+
+emptied :: Maybe Batch
+emptied = Just current{batchSize = 0}
diff --git a/corpora/vendored/expression/record/record-update-as-an-argument-out.hs b/corpora/vendored/expression/record/record-update-as-an-argument-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/record/record-update-as-an-argument-out.hs
@@ -0,0 +1,12 @@
+module Kiln.Batches where
+
+firstBatch :: Maybe Batch
+firstBatch =
+  Just
+    -- the one already loaded
+    current
+      { batchSize = 12
+      }
+
+emptied :: Maybe Batch
+emptied = Just current{batchSize = 0}
diff --git a/corpora/vendored/expression/record/record-update-as-an-argument.hs b/corpora/vendored/expression/record/record-update-as-an-argument.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/record/record-update-as-an-argument.hs
@@ -0,0 +1,11 @@
+module Kiln.Batches where
+
+firstBatch :: Maybe Batch
+firstBatch = Just
+  -- the one already loaded
+  current
+    { batchSize = 12
+    }
+
+emptied :: Maybe Batch
+emptied = Just current {batchSize = 0}
diff --git a/corpora/vendored/expression/record/record-update-braces-out'.hs b/corpora/vendored/expression/record/record-update-braces-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/record/record-update-braces-out'.hs
@@ -0,0 +1,22 @@
+{-# LANGUAGE OverloadedRecordDot #-}
+{-# LANGUAGE OverloadedRecordUpdate #-}
+
+restock c = c{crateCount = crateCount c + 10}
+
+emptied = (restock emptyCrate){crateCount = 0}
+
+twice c = c{crateCount = 1}{crateSku = Sku "x"}
+
+relabel = map (\c -> c{crateSku = Sku "y"}) . filter ((> 0) . crateCount) -- keep the full ones
+
+clear c = c{}
+
+deep m = m{origin.city = "Lyon", origin.postcode}
+
+byOperator s = s{(<+>) = max}
+
+spread c =
+    c
+        { crateCount = 3
+        , crateSku = Sku "z"
+        }
diff --git a/corpora/vendored/expression/record/record-update-braces-out.hs b/corpora/vendored/expression/record/record-update-braces-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/record/record-update-braces-out.hs
@@ -0,0 +1,22 @@
+{-# LANGUAGE OverloadedRecordDot #-}
+{-# LANGUAGE OverloadedRecordUpdate #-}
+
+restock c = c{crateCount = crateCount c + 10}
+
+emptied = (restock emptyCrate){crateCount = 0}
+
+twice c = c{crateCount = 1}{crateSku = Sku "x"}
+
+relabel = map (\c -> c{crateSku = Sku "y"}) . filter ((> 0) . crateCount) -- keep the full ones
+
+clear c = c{}
+
+deep m = m{origin.city = "Lyon", origin.postcode}
+
+byOperator s = s{(<+>) = max}
+
+spread c =
+  c
+    { crateCount = 3,
+      crateSku = Sku "z"
+    }
diff --git a/corpora/vendored/expression/record/record-update-braces.hs b/corpora/vendored/expression/record/record-update-braces.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/record/record-update-braces.hs
@@ -0,0 +1,20 @@
+{-# LANGUAGE OverloadedRecordDot #-}
+{-# LANGUAGE OverloadedRecordUpdate #-}
+
+restock c = c {crateCount = crateCount c + 10}
+
+emptied = (restock emptyCrate) {crateCount = 0}
+
+twice c = c {crateCount = 1} {crateSku = Sku "x"}
+
+relabel = map (\c -> c {crateSku = Sku "y"}) . filter ((> 0) . crateCount) -- keep the full ones
+
+clear c = c {}
+
+deep m = m {origin.city = "Lyon", origin.postcode}
+
+byOperator s = s {(<+>) = max}
+
+spread c = c {
+  crateCount = 3,
+  crateSku = Sku "z" }
diff --git a/corpora/vendored/expression/record/records-named-by-operators-out.hs b/corpora/vendored/expression/record/records-named-by-operators-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/record/records-named-by-operators-out.hs
@@ -0,0 +1,9 @@
+module Vector.Pair where
+
+data Pair = (:&){(<.) :: Double, (.>) :: Double}
+
+origin :: Pair
+origin = (:&){(<.) = 0, (.>) = 0}
+
+swapped :: Pair -> Pair
+swapped ((:&){(<.) = x, (.>) = y}) = (:&){(<.) = y, (.>) = x}
diff --git a/corpora/vendored/expression/record/records-named-by-operators.hs b/corpora/vendored/expression/record/records-named-by-operators.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/expression/record/records-named-by-operators.hs
@@ -0,0 +1,9 @@
+module Vector.Pair where
+
+data Pair = (:&) {(<.) :: Double, (.>) :: Double}
+
+origin :: Pair
+origin = (:&) {(<.) = 0, (.>) = 0}
+
+swapped :: Pair -> Pair
+swapped ((:&) {(<.) = x, (.>) = y}) = (:&) {(<.) = y, (.>) = x}
diff --git a/corpora/vendored/haddock/comment/block-comment-above-a-haddock-out.hs b/corpora/vendored/haddock/comment/block-comment-above-a-haddock-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/comment/block-comment-above-a-haddock-out.hs
@@ -0,0 +1,6 @@
+module Cache.Cold where
+
+{- Not exported: the eviction order is Cache.Warm's business. -}
+-- | Drop everything the cache is holding.
+cool :: IO ()
+cool = pure ()
diff --git a/corpora/vendored/haddock/comment/block-comment-above-a-haddock.hs b/corpora/vendored/haddock/comment/block-comment-above-a-haddock.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/comment/block-comment-above-a-haddock.hs
@@ -0,0 +1,6 @@
+module Cache.Cold where
+
+{- Not exported: the eviction order is Cache.Warm's business. -}
+-- | Drop everything the cache is holding.
+cool :: IO ()
+cool = pure ()
diff --git a/corpora/vendored/haddock/comment/block-comment-under-a-haddock-out.hs b/corpora/vendored/haddock/comment/block-comment-under-a-haddock-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/comment/block-comment-under-a-haddock-out.hs
@@ -0,0 +1,6 @@
+module Cache.Size where
+
+-- | How many entries the cache holds, which the type already fixes.
+{-@ entries :: Cache n a -> {k : Int | k == n} @-}
+entries :: Cache n a -> Int
+entries = const 0
diff --git a/corpora/vendored/haddock/comment/block-comment-under-a-haddock.hs b/corpora/vendored/haddock/comment/block-comment-under-a-haddock.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/comment/block-comment-under-a-haddock.hs
@@ -0,0 +1,6 @@
+module Cache.Size where
+
+-- | How many entries the cache holds, which the type already fixes.
+{-@ entries :: Cache n a -> {k : Int | k == n} @-}
+entries :: Cache n a -> Int
+entries = const 0
diff --git a/corpora/vendored/haddock/comment/comment-above-a-documented-brace-out'.hs b/corpora/vendored/haddock/comment/comment-above-a-documented-brace-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/comment/comment-above-a-documented-brace-out'.hs
@@ -0,0 +1,10 @@
+module Terminal.Size where
+
+data Size
+    = MkSize
+        -- static
+        { rows :: Int
+          -- ^ how tall the terminal is
+        , columns :: Int
+          -- ^ how wide it is
+        }
diff --git a/corpora/vendored/haddock/comment/comment-above-a-documented-brace-out.hs b/corpora/vendored/haddock/comment/comment-above-a-documented-brace-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/comment/comment-above-a-documented-brace-out.hs
@@ -0,0 +1,10 @@
+module Terminal.Size where
+
+data Size
+  = MkSize
+      -- static
+      { -- | how tall the terminal is
+        rows :: Int,
+        -- | how wide it is
+        columns :: Int
+      }
diff --git a/corpora/vendored/haddock/comment/comment-above-a-documented-brace.hs b/corpora/vendored/haddock/comment/comment-above-a-documented-brace.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/comment/comment-above-a-documented-brace.hs
@@ -0,0 +1,10 @@
+module Terminal.Size where
+
+data Size
+  = MkSize
+  -- static
+  { rows :: Int
+    -- ^ how tall the terminal is
+  , columns :: Int
+    -- ^ how wide it is
+  }
diff --git a/corpora/vendored/haddock/comment/comment-above-a-haddock-put-under-its-field-out'.hs b/corpora/vendored/haddock/comment/comment-above-a-haddock-put-under-its-field-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/comment/comment-above-a-haddock-put-under-its-field-out'.hs
@@ -0,0 +1,8 @@
+module Garden.Path where
+
+data Path = Path
+    { length :: Int
+      -- measured along the middle
+    , width :: Int
+      -- ^ How wide the path is.
+    }
diff --git a/corpora/vendored/haddock/comment/comment-above-a-haddock-put-under-its-field-out.hs b/corpora/vendored/haddock/comment/comment-above-a-haddock-put-under-its-field-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/comment/comment-above-a-haddock-put-under-its-field-out.hs
@@ -0,0 +1,9 @@
+module Garden.Path where
+
+data Path = Path
+  { length :: Int,
+    -- measured along the middle
+
+    -- | How wide the path is.
+    width :: Int
+  }
diff --git a/corpora/vendored/haddock/comment/comment-above-a-haddock-put-under-its-field.hs b/corpora/vendored/haddock/comment/comment-above-a-haddock-put-under-its-field.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/comment/comment-above-a-haddock-put-under-its-field.hs
@@ -0,0 +1,8 @@
+module Garden.Path where
+
+data Path = Path
+  { length :: Int,
+    -- measured along the middle
+    -- | How wide the path is.
+    width :: Int
+  }
diff --git a/corpora/vendored/haddock/comment/comment-above-a-moved-haddock-out'.hs b/corpora/vendored/haddock/comment/comment-above-a-moved-haddock-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/comment/comment-above-a-moved-haddock-out'.hs
@@ -0,0 +1,8 @@
+module Terminal.Size where
+
+data Size = Size
+    { rows :: Int
+      -- Measured once at startup; the terminal is not resized while we run.
+    , columns :: Int
+      -- ^ How wide the terminal is.
+    }
diff --git a/corpora/vendored/haddock/comment/comment-above-a-moved-haddock-out.hs b/corpora/vendored/haddock/comment/comment-above-a-moved-haddock-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/comment/comment-above-a-moved-haddock-out.hs
@@ -0,0 +1,9 @@
+module Terminal.Size where
+
+data Size = Size
+  { rows :: Int,
+    -- Measured once at startup; the terminal is not resized while we run.
+
+    -- | How wide the terminal is.
+    columns :: Int
+  }
diff --git a/corpora/vendored/haddock/comment/comment-above-a-moved-haddock.hs b/corpora/vendored/haddock/comment/comment-above-a-moved-haddock.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/comment/comment-above-a-moved-haddock.hs
@@ -0,0 +1,8 @@
+module Terminal.Size where
+
+data Size = Size
+  { rows :: Int
+  -- Measured once at startup; the terminal is not resized while we run.
+  , columns :: Int
+  -- ^ How wide the terminal is.
+  }
diff --git a/corpora/vendored/haddock/comment/comment-between-a-haddock-and-its-argument-out'.hs b/corpora/vendored/haddock/comment/comment-between-a-haddock-and-its-argument-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/comment/comment-between-a-haddock-and-its-argument-out'.hs
@@ -0,0 +1,19 @@
+module Shape.Draw where
+
+draw
+    :: Double
+    -- ^ How thick the lines are.
+
+    -- Shapes are drawn in the order given.
+    -> [Shape]
+    -- ^ What to draw.
+    -> IO ()
+draw _ _ = pure ()
+
+class Drawable a where
+    render
+
+        -- It is rendered at the origin.
+        :: a
+        -- ^ The thing to render.
+        -> String
diff --git a/corpora/vendored/haddock/comment/comment-between-a-haddock-and-its-argument-out.hs b/corpora/vendored/haddock/comment/comment-between-a-haddock-and-its-argument-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/comment/comment-between-a-haddock-and-its-argument-out.hs
@@ -0,0 +1,19 @@
+module Shape.Draw where
+
+draw ::
+  -- | How thick the lines are.
+  Double ->
+  -- | What to draw.
+
+  -- Shapes are drawn in the order given.
+  [Shape] ->
+  IO ()
+draw _ _ = pure ()
+
+class Drawable a where
+  render ::
+    -- | The thing to render.
+
+    -- It is rendered at the origin.
+    a ->
+    String
diff --git a/corpora/vendored/haddock/comment/comment-between-a-haddock-and-its-argument.hs b/corpora/vendored/haddock/comment/comment-between-a-haddock-and-its-argument.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/comment/comment-between-a-haddock-and-its-argument.hs
@@ -0,0 +1,19 @@
+module Shape.Draw where
+
+draw ::
+  -- | How thick the lines are.
+  Double ->
+  -- | What to draw.
+
+  -- Shapes are drawn in the order given.
+  [Shape] ->
+  IO ()
+draw _ _ = pure ()
+
+class Drawable a where
+  render ::
+    -- | The thing to render.
+
+    -- It is rendered at the origin.
+    a ->
+    String
diff --git a/corpora/vendored/haddock/comment/comment-between-a-haddock-and-its-constructor-out'.hs b/corpora/vendored/haddock/comment/comment-between-a-haddock-and-its-constructor-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/comment/comment-between-a-haddock-and-its-constructor-out'.hs
@@ -0,0 +1,21 @@
+module Shape.Kind where
+
+data Shape
+    = Circle Double
+    | -- | A rectangle, given its width and height.
+
+      -- Squares are rectangles too, for now.
+      Rectangle Double Double
+    | -- | A polygon, given its corners,
+      -- in clockwise order.
+
+      -- Corners may repeat.
+      Polygon [(Double, Double)]
+
+data Style = Style
+    { strokeWidth :: Double
+
+      -- Transparent when absent.
+    , fill :: Maybe String
+      -- ^ The colour of the fill.
+    }
diff --git a/corpora/vendored/haddock/comment/comment-between-a-haddock-and-its-constructor-out.hs b/corpora/vendored/haddock/comment/comment-between-a-haddock-and-its-constructor-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/comment/comment-between-a-haddock-and-its-constructor-out.hs
@@ -0,0 +1,21 @@
+module Shape.Kind where
+
+data Shape
+  = Circle Double
+  | -- | A rectangle, given its width and height.
+
+    -- Squares are rectangles too, for now.
+    Rectangle Double Double
+  | -- | A polygon, given its corners,
+    -- in clockwise order.
+
+    -- Corners may repeat.
+    Polygon [(Double, Double)]
+
+data Style = Style
+  { strokeWidth :: Double,
+    -- | The colour of the fill.
+
+    -- Transparent when absent.
+    fill :: Maybe String
+  }
diff --git a/corpora/vendored/haddock/comment/comment-between-a-haddock-and-its-constructor.hs b/corpora/vendored/haddock/comment/comment-between-a-haddock-and-its-constructor.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/comment/comment-between-a-haddock-and-its-constructor.hs
@@ -0,0 +1,21 @@
+module Shape.Kind where
+
+data Shape
+  = Circle Double
+  -- | A rectangle, given its width and height.
+
+  -- Squares are rectangles too, for now.
+  | Rectangle Double Double
+  -- | A polygon, given its corners,
+  -- in clockwise order.
+
+  -- Corners may repeat.
+  | Polygon [(Double, Double)]
+
+data Style = Style
+  { strokeWidth :: Double
+  -- | The colour of the fill.
+
+  -- Transparent when absent.
+  , fill :: Maybe String
+  }
diff --git a/corpora/vendored/haddock/comment/comment-between-an-argument-and-its-moved-haddock-out'.hs b/corpora/vendored/haddock/comment/comment-between-an-argument-and-its-moved-haddock-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/comment/comment-between-an-argument-and-its-moved-haddock-out'.hs
@@ -0,0 +1,18 @@
+module Shape.Scale where
+
+scale
+    :: Double -- never negative
+    -- a factor below one shrinks it
+
+    -- ^ How much larger to make it.
+    -> Shape
+    -> Shape
+scale _ s = s
+
+data Box = Box
+    { width :: Double
+      -- measured inside the border
+
+      -- ^ How wide the box is.
+    , height :: Double
+    }
diff --git a/corpora/vendored/haddock/comment/comment-between-an-argument-and-its-moved-haddock-out.hs b/corpora/vendored/haddock/comment/comment-between-an-argument-and-its-moved-haddock-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/comment/comment-between-an-argument-and-its-moved-haddock-out.hs
@@ -0,0 +1,16 @@
+module Shape.Scale where
+
+scale ::
+  -- | How much larger to make it.
+  Double -> -- never negative
+  -- a factor below one shrinks it
+  Shape ->
+  Shape
+scale _ s = s
+
+data Box = Box
+  { -- | How wide the box is.
+    width :: Double,
+    -- measured inside the border
+    height :: Double
+  }
diff --git a/corpora/vendored/haddock/comment/comment-between-an-argument-and-its-moved-haddock.hs b/corpora/vendored/haddock/comment/comment-between-an-argument-and-its-moved-haddock.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/comment/comment-between-an-argument-and-its-moved-haddock.hs
@@ -0,0 +1,16 @@
+module Shape.Scale where
+
+scale ::
+  -- | How much larger to make it.
+  Double -> -- never negative
+  -- a factor below one shrinks it
+  Shape ->
+  Shape
+scale _ s = s
+
+data Box = Box
+  { width :: Double
+    -- measured inside the border
+    -- ^ How wide the box is.
+  , height :: Double
+  }
diff --git a/corpora/vendored/haddock/comment/comment-held-off-a-haddock-out.hs b/corpora/vendored/haddock/comment/comment-held-off-a-haddock-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/comment/comment-held-off-a-haddock-out.hs
@@ -0,0 +1,8 @@
+module Cache.Hit where
+
+hits :: Int
+hits = 0 -- counted since the last eviction
+
+-- | Whether the last lookup found anything.
+found :: Bool
+found = True
diff --git a/corpora/vendored/haddock/comment/comment-held-off-a-haddock.hs b/corpora/vendored/haddock/comment/comment-held-off-a-haddock.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/comment/comment-held-off-a-haddock.hs
@@ -0,0 +1,7 @@
+module Cache.Hit where
+
+hits :: Int
+hits = 0 -- counted since the last eviction
+-- | Whether the last lookup found anything.
+found :: Bool
+found = True
diff --git a/corpora/vendored/haddock/comment/comment-under-a-block-haddock-out.hs b/corpora/vendored/haddock/comment/comment-under-a-block-haddock-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/comment/comment-under-a-block-haddock-out.hs
@@ -0,0 +1,6 @@
+module Cache.Warm where
+
+{- | Fill the cache before the first request arrives. -}
+-- TODO: measure whether this still earns its keep
+warm :: IO ()
+warm = pure ()
diff --git a/corpora/vendored/haddock/comment/comment-under-a-block-haddock.hs b/corpora/vendored/haddock/comment/comment-under-a-block-haddock.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/comment/comment-under-a-block-haddock.hs
@@ -0,0 +1,6 @@
+module Cache.Warm where
+
+{- | Fill the cache before the first request arrives. -}
+-- TODO: measure whether this still earns its keep
+warm :: IO ()
+warm = pure ()
diff --git a/corpora/vendored/haddock/comment/comment-under-a-haddock-after-a-type-synonym-out'.hs b/corpora/vendored/haddock/comment/comment-under-a-haddock-after-a-type-synonym-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/comment/comment-under-a-haddock-after-a-type-synonym-out'.hs
@@ -0,0 +1,8 @@
+module Garden.Frost where
+
+type Week =
+    -- | from 1 up to 52
+    Int
+
+-- Weeks of a leap year are counted the same.
+type Frost = (Week, Int)
diff --git a/corpora/vendored/haddock/comment/comment-under-a-haddock-after-a-type-synonym-out.hs b/corpora/vendored/haddock/comment/comment-under-a-haddock-after-a-type-synonym-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/comment/comment-under-a-haddock-after-a-type-synonym-out.hs
@@ -0,0 +1,8 @@
+module Garden.Frost where
+
+type Week =
+  -- | from 1 up to 52
+  Int
+
+-- Weeks of a leap year are counted the same.
+type Frost = (Week, Int)
diff --git a/corpora/vendored/haddock/comment/comment-under-a-haddock-after-a-type-synonym.hs b/corpora/vendored/haddock/comment/comment-under-a-haddock-after-a-type-synonym.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/comment/comment-under-a-haddock-after-a-type-synonym.hs
@@ -0,0 +1,5 @@
+module Garden.Frost where
+
+type Week = Int {- ^ from 1 up to 52 -}
+-- Weeks of a leap year are counted the same.
+type Frost = (Week, Int)
diff --git a/corpora/vendored/haddock/comment/comment-under-a-moved-haddock-out'.hs b/corpora/vendored/haddock/comment/comment-under-a-moved-haddock-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/comment/comment-under-a-moved-haddock-out'.hs
@@ -0,0 +1,38 @@
+module Track.Step
+    ( Step (..)
+    , Stride (..)
+    , left -- ^ A step to the left.
+
+      -- Steps are counted from the start.
+    , right
+    )
+where
+
+data Step
+    = Int -- metres
+      -- ^ How far to the left.
+
+        -- measured along the track
+        :<=
+        -- | How far to the right.
+        Int
+
+data Stride
+    = Int -- \^ how far
+      -- ^ A stride to the left.
+
+        -- counted in paces
+        :<<
+        Int
+    | Stride
+        -- | How many paces.
+
+        -- taken at a walk
+        Int
+        Bool
+
+left :: Step
+left = 1 :<= 0
+
+right :: Step
+right = 0 :<= 1
diff --git a/corpora/vendored/haddock/comment/comment-under-a-moved-haddock-out.hs b/corpora/vendored/haddock/comment/comment-under-a-moved-haddock-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/comment/comment-under-a-moved-haddock-out.hs
@@ -0,0 +1,38 @@
+module Track.Step
+  ( Step (..),
+    Stride (..),
+    left, -- ^ A step to the left.
+
+    -- Steps are counted from the start.
+    right,
+  )
+where
+
+data Step
+  = Int -- metres
+    -- ^ How far to the left.
+
+      -- measured along the track
+      :<=
+      -- | How far to the right.
+      Int
+
+data Stride
+  = Int -- \^ how far
+    -- ^ A stride to the left.
+
+      -- counted in paces
+      :<<
+      Int
+  | Stride
+      -- | How many paces.
+
+      -- taken at a walk
+      Int
+      Bool
+
+left :: Step
+left = 1 :<= 0
+
+right :: Step
+right = 0 :<= 1
diff --git a/corpora/vendored/haddock/comment/comment-under-a-moved-haddock.hs b/corpora/vendored/haddock/comment/comment-under-a-moved-haddock.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/comment/comment-under-a-moved-haddock.hs
@@ -0,0 +1,29 @@
+module Track.Step
+  ( Step (..)
+  , Stride (..)
+  , left -- ^ A step to the left.
+  , -- Steps are counted from the start.
+    right
+  ) where
+
+data Step
+  = -- | How far to the left.
+    Int -- metres
+    -- measured along the track
+    :<= Int -- ^ How far to the right.
+
+data Stride
+  = -- | A stride to the left.
+    Int -- ^ how far
+    -- counted in paces
+    :<< Int
+  | Stride
+      -- taken at a walk
+      Int -- ^ How many paces.
+      Bool
+
+left :: Step
+left = 1 :<= 0
+
+right :: Step
+right = 0 :<= 1
diff --git a/corpora/vendored/haddock/comment/comment-under-a-synonym-argument-haddock-out'.hs b/corpora/vendored/haddock/comment/comment-under-a-synonym-argument-haddock-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/comment/comment-under-a-synonym-argument-haddock-out'.hs
@@ -0,0 +1,8 @@
+module Pottery.Wheel where
+
+type Spin =
+    Int
+    -- ^ How fast the wheel turns.
+
+    -- the clay is centred first
+    -> Clay
diff --git a/corpora/vendored/haddock/comment/comment-under-a-synonym-argument-haddock-out.hs b/corpora/vendored/haddock/comment/comment-under-a-synonym-argument-haddock-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/comment/comment-under-a-synonym-argument-haddock-out.hs
@@ -0,0 +1,7 @@
+module Pottery.Wheel where
+
+type Spin =
+  -- | How fast the wheel turns.
+  Int ->
+  -- the clay is centred first
+  Clay
diff --git a/corpora/vendored/haddock/comment/comment-under-a-synonym-argument-haddock.hs b/corpora/vendored/haddock/comment/comment-under-a-synonym-argument-haddock.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/comment/comment-under-a-synonym-argument-haddock.hs
@@ -0,0 +1,7 @@
+module Pottery.Wheel where
+
+type Spin =
+  -- | How fast the wheel turns.
+  Int ->
+  -- the clay is centred first
+  Clay
diff --git a/corpora/vendored/haddock/comment/comments-above-a-haddock-other-than-a-divider-out.hs b/corpora/vendored/haddock/comment/comments-above-a-haddock-other-than-a-divider-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/comment/comments-above-a-haddock-other-than-a-divider-out.hs
@@ -0,0 +1,13 @@
+module Data.Orchard.Season where
+
+-- The season is counted from the first frost.
+
+-- | How long the season lasts, in days.
+season :: Int
+season = 200
+
+--- The rest is guesswork.
+
+-- | When the first frost comes.
+frost :: Int
+frost = 300
diff --git a/corpora/vendored/haddock/comment/comments-above-a-haddock-other-than-a-divider.hs b/corpora/vendored/haddock/comment/comments-above-a-haddock-other-than-a-divider.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/comment/comments-above-a-haddock-other-than-a-divider.hs
@@ -0,0 +1,11 @@
+module Data.Orchard.Season where
+
+-- The season is counted from the first frost.
+-- | How long the season lasts, in days.
+season :: Int
+season = 200
+
+--- The rest is guesswork.
+-- | When the first frost comes.
+frost :: Int
+frost = 300
diff --git a/corpora/vendored/haddock/comment/divider-above-a-haddock-out'.hs b/corpora/vendored/haddock/comment/divider-above-a-haddock-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/comment/divider-above-a-haddock-out'.hs
@@ -0,0 +1,17 @@
+module Data.Orchard.Harvest where
+
+---------------------------------------------------------------------------
+-- | Pick whatever is ripe.
+pick :: [Int] -> [Int]
+pick = filter (> 0)
+
+-- Kept for the old reports.
+---------------------------------------------------------------------------
+-- | Weigh what was picked.
+weigh :: [Int] -> Int
+weigh = sum
+
+class Store a where
+    -------------------------------------------------------------------------
+    -- | Put the harvest away.
+    store :: a -> IO ()
diff --git a/corpora/vendored/haddock/comment/divider-above-a-haddock-out.hs b/corpora/vendored/haddock/comment/divider-above-a-haddock-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/comment/divider-above-a-haddock-out.hs
@@ -0,0 +1,17 @@
+module Data.Orchard.Harvest where
+
+---------------------------------------------------------------------------
+-- | Pick whatever is ripe.
+pick :: [Int] -> [Int]
+pick = filter (> 0)
+
+-- Kept for the old reports.
+---------------------------------------------------------------------------
+-- | Weigh what was picked.
+weigh :: [Int] -> Int
+weigh = sum
+
+class Store a where
+  -------------------------------------------------------------------------
+  -- | Put the harvest away.
+  store :: a -> IO ()
diff --git a/corpora/vendored/haddock/comment/divider-above-a-haddock.hs b/corpora/vendored/haddock/comment/divider-above-a-haddock.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/comment/divider-above-a-haddock.hs
@@ -0,0 +1,17 @@
+module Data.Orchard.Harvest where
+
+---------------------------------------------------------------------------
+-- | Pick whatever is ripe.
+pick :: [Int] -> [Int]
+pick = filter (> 0)
+
+-- Kept for the old reports.
+---------------------------------------------------------------------------
+-- | Weigh what was picked.
+weigh :: [Int] -> Int
+weigh = sum
+
+class Store a where
+  -------------------------------------------------------------------------
+  -- | Put the harvest away.
+  store :: a -> IO ()
diff --git a/corpora/vendored/haddock/comment/dividers-around-a-module-haddock-out'.hs b/corpora/vendored/haddock/comment/dividers-around-a-module-haddock-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/comment/dividers-around-a-module-haddock-out'.hs
@@ -0,0 +1,17 @@
+-----------------------------------------------------------------------------
+-- |
+-- Module      :  Data.Orchard
+-- License     :  BSD-style (see the file LICENSE)
+--
+-- Trees, the fruit they bear, and when to pick it.
+----------------------------------------------------------------------------
+module Data.Orchard
+    ( Tree (..)
+    , ripe
+    )
+where
+
+data Tree = Apple | Pear
+
+ripe :: Tree -> Bool
+ripe _ = True
diff --git a/corpora/vendored/haddock/comment/dividers-around-a-module-haddock-out.hs b/corpora/vendored/haddock/comment/dividers-around-a-module-haddock-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/comment/dividers-around-a-module-haddock-out.hs
@@ -0,0 +1,17 @@
+-----------------------------------------------------------------------------
+-- |
+-- Module      :  Data.Orchard
+-- License     :  BSD-style (see the file LICENSE)
+--
+-- Trees, the fruit they bear, and when to pick it.
+----------------------------------------------------------------------------
+module Data.Orchard
+  ( Tree (..),
+    ripe,
+  )
+where
+
+data Tree = Apple | Pear
+
+ripe :: Tree -> Bool
+ripe _ = True
diff --git a/corpora/vendored/haddock/comment/dividers-around-a-module-haddock.hs b/corpora/vendored/haddock/comment/dividers-around-a-module-haddock.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/comment/dividers-around-a-module-haddock.hs
@@ -0,0 +1,17 @@
+-----------------------------------------------------------------------------
+-- |
+-- Module      :  Data.Orchard
+-- License     :  BSD-style (see the file LICENSE)
+--
+-- Trees, the fruit they bear, and when to pick it.
+----------------------------------------------------------------------------
+module Data.Orchard
+  ( Tree (..),
+    ripe,
+  )
+where
+
+data Tree = Apple | Pear
+
+ripe :: Tree -> Bool
+ripe _ = True
diff --git a/corpora/vendored/haddock/comment/haddock-carried-on-under-comments-moved-above-out'.hs b/corpora/vendored/haddock/comment/haddock-carried-on-under-comments-moved-above-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/comment/haddock-carried-on-under-comments-moved-above-out'.hs
@@ -0,0 +1,9 @@
+module Kiln.Batch where
+
+data Batch = Batch
+    { pieces :: Int
+      -- counted before the firing
+
+      -- ^ How many pieces go in.
+      -- Broken ones are left out.
+    }
diff --git a/corpora/vendored/haddock/comment/haddock-carried-on-under-comments-moved-above-out.hs b/corpora/vendored/haddock/comment/haddock-carried-on-under-comments-moved-above-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/comment/haddock-carried-on-under-comments-moved-above-out.hs
@@ -0,0 +1,8 @@
+module Kiln.Batch where
+
+data Batch = Batch
+  { -- | How many pieces go in.
+    -- Broken ones are left out.
+    pieces :: Int
+    -- counted before the firing
+  }
diff --git a/corpora/vendored/haddock/comment/haddock-carried-on-under-comments-moved-above.hs b/corpora/vendored/haddock/comment/haddock-carried-on-under-comments-moved-above.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/comment/haddock-carried-on-under-comments-moved-above.hs
@@ -0,0 +1,8 @@
+module Kiln.Batch where
+
+data Batch = Batch
+  { pieces :: Int
+      -- counted before the firing
+      -- ^ How many pieces go in.
+      -- Broken ones are left out.
+  }
diff --git a/corpora/vendored/haddock/comment/haddock-held-off-a-comment-out.hs b/corpora/vendored/haddock/comment/haddock-held-off-a-comment-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/comment/haddock-held-off-a-comment-out.hs
@@ -0,0 +1,7 @@
+module Cache.Evict where
+
+-- | Drop the entries nothing has asked for lately.
+
+-- TODO: the threshold wants to come from the configuration
+evict :: IO ()
+evict = pure ()
diff --git a/corpora/vendored/haddock/comment/haddock-held-off-a-comment.hs b/corpora/vendored/haddock/comment/haddock-held-off-a-comment.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/comment/haddock-held-off-a-comment.hs
@@ -0,0 +1,7 @@
+module Cache.Evict where
+
+-- | Drop the entries nothing has asked for lately.
+
+-- TODO: the threshold wants to come from the configuration
+evict :: IO ()
+evict = pure ()
diff --git a/corpora/vendored/haddock/comment/trailing-comment-over-a-moved-haddock-out'.hs b/corpora/vendored/haddock/comment/trailing-comment-over-a-moved-haddock-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/comment/trailing-comment-over-a-moved-haddock-out'.hs
@@ -0,0 +1,8 @@
+module Cache.Stats where
+
+data Stats = Stats
+    { hits :: Int
+      -- Misc
+    , misses :: Int
+      -- ^ lookups that found nothing
+    }
diff --git a/corpora/vendored/haddock/comment/trailing-comment-over-a-moved-haddock-out.hs b/corpora/vendored/haddock/comment/trailing-comment-over-a-moved-haddock-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/comment/trailing-comment-over-a-moved-haddock-out.hs
@@ -0,0 +1,9 @@
+module Cache.Stats where
+
+data Stats = Stats
+  { hits :: Int,
+    -- Misc
+
+    -- | lookups that found nothing
+    misses :: Int
+  }
diff --git a/corpora/vendored/haddock/comment/trailing-comment-over-a-moved-haddock.hs b/corpora/vendored/haddock/comment/trailing-comment-over-a-moved-haddock.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/comment/trailing-comment-over-a-moved-haddock.hs
@@ -0,0 +1,8 @@
+module Cache.Stats where
+
+data Stats = Stats
+    { hits :: Int
+    , -- Misc
+      misses :: Int
+    -- ^ lookups that found nothing
+    }
diff --git a/corpora/vendored/haddock/comment/triple-dash-under-a-haddock-out.hs b/corpora/vendored/haddock/comment/triple-dash-under-a-haddock-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/comment/triple-dash-under-a-haddock-out.hs
@@ -0,0 +1,18 @@
+module Data.Window where
+
+-- | Give a window over a list. GHC ends it at a line beginning with three
+-- dashes, so nothing needs to hold the lines from there on off it.
+--
+-- @
+-- window4
+---  :: [Int]
+--   -> [Int]
+-- window4 = window
+-- @
+window :: [Int] -> [Int]
+window = id
+
+-- | All the windows.
+---------------------------------------------------------------------------
+windows :: [[Int]]
+windows = []
diff --git a/corpora/vendored/haddock/comment/triple-dash-under-a-haddock.hs b/corpora/vendored/haddock/comment/triple-dash-under-a-haddock.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/comment/triple-dash-under-a-haddock.hs
@@ -0,0 +1,18 @@
+module Data.Window where
+
+-- | Give a window over a list. GHC ends it at a line beginning with three
+-- dashes, so nothing needs to hold the lines from there on off it.
+--
+-- @
+-- window4
+---  :: [Int]
+--   -> [Int]
+-- window4 = window
+-- @
+window :: [Int] -> [Int]
+window = id
+
+-- | All the windows.
+---------------------------------------------------------------------------
+windows :: [[Int]]
+windows = []
diff --git a/corpora/vendored/haddock/placement/block-haddock-on-the-left-of-an-infix-constructor-out'.hs b/corpora/vendored/haddock/placement/block-haddock-on-the-left-of-an-infix-constructor-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/block-haddock-on-the-left-of-an-infix-constructor-out'.hs
@@ -0,0 +1,10 @@
+module Kiln.Infix where
+
+-- A block Haddock ends where it closes, so the constructor stays on the
+-- line it is written on.
+data Ratio = Integer {- ^ the numerator -} :% Integer
+
+data Interval
+    = Double {- ^ the lower bound -}
+        :..
+        Double
diff --git a/corpora/vendored/haddock/placement/block-haddock-on-the-left-of-an-infix-constructor-out.hs b/corpora/vendored/haddock/placement/block-haddock-on-the-left-of-an-infix-constructor-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/block-haddock-on-the-left-of-an-infix-constructor-out.hs
@@ -0,0 +1,10 @@
+module Kiln.Infix where
+
+-- A block Haddock ends where it closes, so the constructor stays on the
+-- line it is written on.
+data Ratio = Integer {- ^ the numerator -} :% Integer
+
+data Interval
+  = Double {- ^ the lower bound -}
+      :..
+      Double
diff --git a/corpora/vendored/haddock/placement/block-haddock-on-the-left-of-an-infix-constructor.hs b/corpora/vendored/haddock/placement/block-haddock-on-the-left-of-an-infix-constructor.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/block-haddock-on-the-left-of-an-infix-constructor.hs
@@ -0,0 +1,9 @@
+module Kiln.Infix where
+
+-- A block Haddock ends where it closes, so the constructor stays on the
+-- line it is written on.
+data Ratio = Integer {- ^ the numerator -} :% Integer
+
+data Interval
+  = Double {- ^ the lower bound -}
+      :.. Double
diff --git a/corpora/vendored/haddock/placement/block-haddock-put-under-what-it-documents-out'.hs b/corpora/vendored/haddock/placement/block-haddock-put-under-what-it-documents-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/block-haddock-put-under-what-it-documents-out'.hs
@@ -0,0 +1,23 @@
+{-# LANGUAGE GADTs #-}
+
+module Pottery.Order where
+
+data Order = Order
+    { count :: Int
+      -- ^ How many pots.
+    }
+
+data Batch where
+    Batch
+        :: { firedOn :: Day
+             -- ^ When it was fired.
+           }
+        -> Batch
+    Sample
+        :: Int
+        -- ^ How many to try.
+        -> Batch
+    Seconds
+        :: Int
+        -> Batch
+        -- ^ What is left.
diff --git a/corpora/vendored/haddock/placement/block-haddock-put-under-what-it-documents-out.hs b/corpora/vendored/haddock/placement/block-haddock-put-under-what-it-documents-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/block-haddock-put-under-what-it-documents-out.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE GADTs #-}
+
+module Pottery.Order where
+
+data Order = Order{{- | How many pots. -} count :: Int}
+
+data Batch where
+  Batch :: {{- | When it was fired. -} firedOn :: Day} -> Batch
+  Sample :: {- | How many to try. -} Int -> Batch
+  Seconds :: Int -> {- | What is left. -} Batch
diff --git a/corpora/vendored/haddock/placement/block-haddock-put-under-what-it-documents.hs b/corpora/vendored/haddock/placement/block-haddock-put-under-what-it-documents.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/block-haddock-put-under-what-it-documents.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE GADTs #-}
+
+module Pottery.Order where
+
+data Order = Order {{- | How many pots. -} count :: Int}
+
+data Batch where
+  Batch :: {{- | When it was fired. -} firedOn :: Day} -> Batch
+  Sample :: {- | How many to try. -} Int -> Batch
+  Seconds :: Int -> {- | What is left. -} Batch
diff --git a/corpora/vendored/haddock/placement/comment-after-the-left-of-an-infix-constructor-out'.hs b/corpora/vendored/haddock/placement/comment-after-the-left-of-an-infix-constructor-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/comment-after-the-left-of-an-infix-constructor-out'.hs
@@ -0,0 +1,16 @@
+-- A comment written after the left argument of an infix constructor stays
+-- out of the argument's Haddock, which goes on the line under it.
+module Geometry.Walk where
+
+data Step
+    = Int -- in metres
+      -- ^ A step to the left.
+        :<=
+        -- | how many steps
+        Int
+
+data Stride
+    = Int -- \^ how far
+      -- ^ A stride to the left.
+        :<<
+        Int
diff --git a/corpora/vendored/haddock/placement/comment-after-the-left-of-an-infix-constructor-out.hs b/corpora/vendored/haddock/placement/comment-after-the-left-of-an-infix-constructor-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/comment-after-the-left-of-an-infix-constructor-out.hs
@@ -0,0 +1,16 @@
+-- A comment written after the left argument of an infix constructor stays
+-- out of the argument's Haddock, which goes on the line under it.
+module Geometry.Walk where
+
+data Step
+  = Int -- in metres
+    -- ^ A step to the left.
+      :<=
+      -- | how many steps
+      Int
+
+data Stride
+  = Int -- \^ how far
+    -- ^ A stride to the left.
+      :<<
+      Int
diff --git a/corpora/vendored/haddock/placement/comment-after-the-left-of-an-infix-constructor.hs b/corpora/vendored/haddock/placement/comment-after-the-left-of-an-infix-constructor.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/comment-after-the-left-of-an-infix-constructor.hs
@@ -0,0 +1,13 @@
+-- A comment written after the left argument of an infix constructor stays
+-- out of the argument's Haddock, which goes on the line under it.
+module Geometry.Walk where
+
+data Step
+  = -- | A step to the left.
+    Int -- in metres
+    :<= Int -- ^ how many steps
+
+data Stride
+  = -- | A stride to the left.
+    Int -- ^ how far
+    :<< Int
diff --git a/corpora/vendored/haddock/placement/comment-before-a-haddock-printed-after-the-code-out'.hs b/corpora/vendored/haddock/placement/comment-before-a-haddock-printed-after-the-code-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/comment-before-a-haddock-printed-after-the-code-out'.hs
@@ -0,0 +1,22 @@
+{-# LANGUAGE GADTs #-}
+
+module Kiln.Glaze where
+
+class Glaze g where
+    meltPoint
+        :: g
+        -> Int -- in degrees
+        -- ^ How hot it has to get.
+    opaque
+        :: g
+        -> Bool -- after one firing
+        -- ^ Whether it hides the clay.
+
+data Batch where
+    Seconds
+        :: Int
+        -> Batch -- unsold
+        -- ^ What is left.
+
+class Narrowed a b | a -> b -- one glaze to a kiln
+    -- | a class with no body
diff --git a/corpora/vendored/haddock/placement/comment-before-a-haddock-printed-after-the-code-out.hs b/corpora/vendored/haddock/placement/comment-before-a-haddock-printed-after-the-code-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/comment-before-a-haddock-printed-after-the-code-out.hs
@@ -0,0 +1,19 @@
+{-# LANGUAGE GADTs #-}
+
+module Kiln.Glaze where
+
+class Glaze g where
+  meltPoint ::
+    g ->
+    -- | How hot it has to get.
+    Int -- in degrees
+  opaque ::
+    g ->
+    -- | Whether it hides the clay.
+    Bool -- after one firing
+
+data Batch where
+  Seconds :: Int -> {- | What is left. -} Batch -- unsold
+
+class Narrowed a b | a -> b -- one glaze to a kiln
+  -- | a class with no body
diff --git a/corpora/vendored/haddock/placement/comment-before-a-haddock-printed-after-the-code.hs b/corpora/vendored/haddock/placement/comment-before-a-haddock-printed-after-the-code.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/comment-before-a-haddock-printed-after-the-code.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE GADTs #-}
+
+module Kiln.Glaze where
+
+class Glaze g where
+  meltPoint :: g -> Int -- in degrees
+    -- ^ How hot it has to get.
+  opaque :: g -> Bool -- after one firing
+                      -- ^ Whether it hides the clay.
+
+data Batch where
+  Seconds :: Int -> {- | What is left. -} Batch -- unsold
+
+class Narrowed a b | a -> b -- one glaze to a kiln
+  -- | a class with no body
diff --git a/corpora/vendored/haddock/placement/constructor-haddock-on-the-declarations-line-out'.hs b/corpora/vendored/haddock/placement/constructor-haddock-on-the-declarations-line-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/constructor-haddock-on-the-declarations-line-out'.hs
@@ -0,0 +1,13 @@
+module Pottery.Clay where
+
+data Clay
+    = {- | Fired at a low heat. -}
+      Earthenware
+
+data Glaze
+    = -- | Shows the clay.
+      Clear
+
+data Slip
+    = {- | -}
+      Liquid
diff --git a/corpora/vendored/haddock/placement/constructor-haddock-on-the-declarations-line-out.hs b/corpora/vendored/haddock/placement/constructor-haddock-on-the-declarations-line-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/constructor-haddock-on-the-declarations-line-out.hs
@@ -0,0 +1,13 @@
+module Pottery.Clay where
+
+data Clay
+  = {- | Fired at a low heat. -}
+    Earthenware
+
+data Glaze
+  = -- | Shows the clay.
+    Clear
+
+data Slip
+  = {- | -}
+    Liquid
diff --git a/corpora/vendored/haddock/placement/constructor-haddock-on-the-declarations-line.hs b/corpora/vendored/haddock/placement/constructor-haddock-on-the-declarations-line.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/constructor-haddock-on-the-declarations-line.hs
@@ -0,0 +1,7 @@
+module Pottery.Clay where
+
+data Clay = {- | Fired at a low heat. -} Earthenware
+
+data Glaze = Clear {- ^ Shows the clay. -}
+
+data Slip = Liquid {- ^ -}
diff --git a/corpora/vendored/haddock/placement/field-haddock-on-the-declarations-line-out'.hs b/corpora/vendored/haddock/placement/field-haddock-on-the-declarations-line-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/field-haddock-on-the-declarations-line-out'.hs
@@ -0,0 +1,18 @@
+module Pottery.Kiln where
+
+data Kiln = Kiln
+    { temperature :: Int
+      {- ^ In degrees. -}
+    }
+
+newtype Shelf = Shelf
+    { height :: Int
+      {- ^ In centimetres. -}
+    }
+
+data Firing
+    = Bisque
+    | Glaze
+        { cone :: Int
+          {- ^ How hot. -}
+        }
diff --git a/corpora/vendored/haddock/placement/field-haddock-on-the-declarations-line-out.hs b/corpora/vendored/haddock/placement/field-haddock-on-the-declarations-line-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/field-haddock-on-the-declarations-line-out.hs
@@ -0,0 +1,18 @@
+module Pottery.Kiln where
+
+data Kiln = Kiln
+  { -- | In degrees.
+    temperature :: Int
+  }
+
+newtype Shelf = Shelf
+  { -- | In centimetres.
+    height :: Int
+  }
+
+data Firing
+  = Bisque
+  | Glaze
+      { -- | How hot.
+        cone :: Int
+      }
diff --git a/corpora/vendored/haddock/placement/field-haddock-on-the-declarations-line.hs b/corpora/vendored/haddock/placement/field-haddock-on-the-declarations-line.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/field-haddock-on-the-declarations-line.hs
@@ -0,0 +1,7 @@
+module Pottery.Kiln where
+
+data Kiln = Kiln {temperature :: Int {- ^ In degrees. -}}
+
+newtype Shelf = Shelf {height :: Int {- ^ In centimetres. -}}
+
+data Firing = Bisque | Glaze {cone :: Int {- ^ How hot. -}}
diff --git a/corpora/vendored/haddock/placement/haddock-above-a-deriving-clause-out'.hs b/corpora/vendored/haddock/placement/haddock-above-a-deriving-clause-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/haddock-above-a-deriving-clause-out'.hs
@@ -0,0 +1,24 @@
+{-# LANGUAGE DerivingStrategies #-}
+
+module Shop.Item where
+
+-- A Haddock above a deriving clause documents the first class in it, but
+-- above a strategy it documents nothing.
+data Item = Item String Int
+    deriving
+        ( -- | Compared by name, then by price.
+          Eq
+        , Ord
+        )
+
+data Size = Small | Large
+    deriving
+        ( -- | As the catalogue prints it.
+          Show
+        )
+
+data Colour
+    = Red
+    | Blue
+    -- \| As the catalogue prints it.
+    deriving stock (Show)
diff --git a/corpora/vendored/haddock/placement/haddock-above-a-deriving-clause-out.hs b/corpora/vendored/haddock/placement/haddock-above-a-deriving-clause-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/haddock-above-a-deriving-clause-out.hs
@@ -0,0 +1,24 @@
+{-# LANGUAGE DerivingStrategies #-}
+
+module Shop.Item where
+
+-- A Haddock above a deriving clause documents the first class in it, but
+-- above a strategy it documents nothing.
+data Item = Item String Int
+  deriving
+    ( -- | Compared by name, then by price.
+      Eq,
+      Ord
+    )
+
+data Size = Small | Large
+  deriving
+    ( -- | As the catalogue prints it.
+      Show
+    )
+
+data Colour
+  = Red
+  | Blue
+  -- \| As the catalogue prints it.
+  deriving stock (Show)
diff --git a/corpora/vendored/haddock/placement/haddock-above-a-deriving-clause.hs b/corpora/vendored/haddock/placement/haddock-above-a-deriving-clause.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/haddock-above-a-deriving-clause.hs
@@ -0,0 +1,19 @@
+{-# LANGUAGE DerivingStrategies #-}
+
+module Shop.Item where
+
+-- A Haddock above a deriving clause documents the first class in it, but
+-- above a strategy it documents nothing.
+data Item = Item String Int
+  -- | Compared by name, then by price.
+  deriving (Eq, Ord)
+
+data Size = Small | Large
+  -- | As the catalogue prints it.
+  deriving Show
+
+data Colour
+  = Red
+  | Blue
+  -- | As the catalogue prints it.
+  deriving stock Show
diff --git a/corpora/vendored/haddock/placement/haddock-after-a-type-synonym-out'.hs b/corpora/vendored/haddock/placement/haddock-after-a-type-synonym-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/haddock-after-a-type-synonym-out'.hs
@@ -0,0 +1,15 @@
+module Http.Header where
+
+import Data.Word (Word8)
+
+type Name =
+    -- | Compared without regard to case.
+    String
+
+type Value =
+    -- | The bytes as they were sent.
+    [Word8]
+
+type Field =
+    -- | One line of a header.
+    (Name, Value)
diff --git a/corpora/vendored/haddock/placement/haddock-after-a-type-synonym-out.hs b/corpora/vendored/haddock/placement/haddock-after-a-type-synonym-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/haddock-after-a-type-synonym-out.hs
@@ -0,0 +1,15 @@
+module Http.Header where
+
+import Data.Word (Word8)
+
+type Name =
+  -- | Compared without regard to case.
+  String
+
+type Value =
+  -- | The bytes as they were sent.
+  [Word8]
+
+type Field =
+  -- | One line of a header.
+  (Name, Value)
diff --git a/corpora/vendored/haddock/placement/haddock-after-a-type-synonym.hs b/corpora/vendored/haddock/placement/haddock-after-a-type-synonym.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/haddock-after-a-type-synonym.hs
@@ -0,0 +1,10 @@
+module Http.Header where
+
+import Data.Word (Word8)
+
+type Name = String -- ^ Compared without regard to case.
+
+type Value = [Word8]
+  -- ^ The bytes as they were sent.
+
+type Field = (Name, Value) {- ^ One line of a header. -}
diff --git a/corpora/vendored/haddock/placement/haddock-after-an-argument-across-lines-out'.hs b/corpora/vendored/haddock/placement/haddock-after-an-argument-across-lines-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/haddock-after-an-argument-across-lines-out'.hs
@@ -0,0 +1,11 @@
+module Scale.Weigh where
+
+class Scale s where
+    weigh
+        :: s
+        -> ( Int
+           , Int
+           )
+        -- ^ Tare and gross, in grams.
+        -> Int
+        -- ^ What the goods weigh.
diff --git a/corpora/vendored/haddock/placement/haddock-after-an-argument-across-lines-out.hs b/corpora/vendored/haddock/placement/haddock-after-an-argument-across-lines-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/haddock-after-an-argument-across-lines-out.hs
@@ -0,0 +1,11 @@
+module Scale.Weigh where
+
+class Scale s where
+  weigh ::
+    s ->
+    -- | Tare and gross, in grams.
+    ( Int,
+      Int
+    ) ->
+    -- | What the goods weigh.
+    Int
diff --git a/corpora/vendored/haddock/placement/haddock-after-an-argument-across-lines.hs b/corpora/vendored/haddock/placement/haddock-after-an-argument-across-lines.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/haddock-after-an-argument-across-lines.hs
@@ -0,0 +1,8 @@
+module Scale.Weigh where
+
+class Scale s where
+  weigh
+    :: s
+    -> (Int,
+        Int) -- ^ Tare and gross, in grams.
+    -> Int -- ^ What the goods weigh.
diff --git a/corpora/vendored/haddock/placement/haddock-after-what-it-documents-out'.hs b/corpora/vendored/haddock/placement/haddock-after-what-it-documents-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/haddock-after-what-it-documents-out'.hs
@@ -0,0 +1,20 @@
+module Kiln.Firing where
+
+data Cone = Cone Int
+
+firingCone :: Cone
+firingCone = Cone 6
+-- ^ The cone most of the glazes mature at.
+
+bisqueCone :: Cone
+bisqueCone = Cone 4
+-- ^ The cone a first firing goes to.
+
+class Kiln k where
+    peak :: k -> Int
+    -- ^ The hottest the kiln gets, in degrees.
+
+    rampRate :: k -> Int
+    -- ^ How fast it climbs, in degrees an hour.
+
+    cool :: k -> k
diff --git a/corpora/vendored/haddock/placement/haddock-after-what-it-documents-out.hs b/corpora/vendored/haddock/placement/haddock-after-what-it-documents-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/haddock-after-what-it-documents-out.hs
@@ -0,0 +1,20 @@
+module Kiln.Firing where
+
+data Cone = Cone Int
+
+firingCone :: Cone
+firingCone = Cone 6
+-- ^ The cone most of the glazes mature at.
+
+bisqueCone :: Cone
+bisqueCone = Cone 4
+-- ^ The cone a first firing goes to.
+
+class Kiln k where
+  peak :: k -> Int
+  -- ^ The hottest the kiln gets, in degrees.
+
+  rampRate :: k -> Int
+  -- ^ How fast it climbs, in degrees an hour.
+
+  cool :: k -> k
diff --git a/corpora/vendored/haddock/placement/haddock-after-what-it-documents.hs b/corpora/vendored/haddock/placement/haddock-after-what-it-documents.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/haddock-after-what-it-documents.hs
@@ -0,0 +1,17 @@
+module Kiln.Firing where
+
+data Cone = Cone Int
+
+firingCone :: Cone
+firingCone = Cone 6
+-- ^ The cone most of the glazes mature at.
+bisqueCone :: Cone
+bisqueCone = Cone 4
+-- ^ The cone a first firing goes to.
+
+class Kiln k where
+  peak :: k -> Int
+  -- ^ The hottest the kiln gets, in degrees.
+  rampRate :: k -> Int
+  -- ^ How fast it climbs, in degrees an hour.
+  cool :: k -> k
diff --git a/corpora/vendored/haddock/placement/haddock-in-a-deriving-clause-out.hs b/corpora/vendored/haddock/placement/haddock-in-a-deriving-clause-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/haddock-in-a-deriving-clause-out.hs
@@ -0,0 +1,5 @@
+module Shape.Kind where
+
+-- A Haddock on a class in a deriving clause stays in front of it, rather
+-- than going under it as the Haddock of an argument does.
+data Kind = Polygon | Curve deriving ({- | how they are shown -} Show, Read)
diff --git a/corpora/vendored/haddock/placement/haddock-in-a-deriving-clause.hs b/corpora/vendored/haddock/placement/haddock-in-a-deriving-clause.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/haddock-in-a-deriving-clause.hs
@@ -0,0 +1,5 @@
+module Shape.Kind where
+
+-- A Haddock on a class in a deriving clause stays in front of it, rather
+-- than going under it as the Haddock of an argument does.
+data Kind = Polygon | Curve {- | how they are shown -} deriving (Show, Read)
diff --git a/corpora/vendored/haddock/placement/haddock-of-what-precedes-under-another-haddock-out.hs b/corpora/vendored/haddock/placement/haddock-of-what-precedes-under-another-haddock-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/haddock-of-what-precedes-under-another-haddock-out.hs
@@ -0,0 +1,17 @@
+module Derived.Types where
+
+data Tree = Leaf | Node Tree Tree
+
+-- TODO: derive the arity once families are handled
+
+-- $(deriving_th ''Tree)
+
+-- ^ A recursive definition.
+
+data List a = Nil | Cons a (List a)
+
+size :: Int
+size = 1
+-- ^ The size.
+
+-- ^ More on the size.
diff --git a/corpora/vendored/haddock/placement/haddock-of-what-precedes-under-another-haddock.hs b/corpora/vendored/haddock/placement/haddock-of-what-precedes-under-another-haddock.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/haddock-of-what-precedes-under-another-haddock.hs
@@ -0,0 +1,14 @@
+module Derived.Types where
+
+data Tree = Leaf | Node Tree Tree
+-- TODO: derive the arity once families are handled
+-- $(deriving_th ''Tree)
+
+-- ^ A recursive definition.
+data List a = Nil | Cons a (List a)
+
+size :: Int
+size = 1
+-- ^ The size.
+
+-- ^ More on the size.
diff --git a/corpora/vendored/haddock/placement/haddock-on-an-infix-constructor-out'.hs b/corpora/vendored/haddock/placement/haddock-on-an-infix-constructor-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/haddock-on-an-infix-constructor-out'.hs
@@ -0,0 +1,20 @@
+module Circuit.Wire where
+
+data Wire
+    = Cable Int
+    | -- | Two wires in series.
+      Wire :-> Wire
+    | -- | Two wires side by side.
+      Wire :|| Wire
+
+data Edge
+    = -- | A wire between two pins.
+      Int :-: Int
+
+data Reading
+    = -- | The voltage.
+      Double
+        -- | A voltage read at a time.
+        :@
+        -- | The time, in milliseconds.
+        Int
diff --git a/corpora/vendored/haddock/placement/haddock-on-an-infix-constructor-out.hs b/corpora/vendored/haddock/placement/haddock-on-an-infix-constructor-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/haddock-on-an-infix-constructor-out.hs
@@ -0,0 +1,20 @@
+module Circuit.Wire where
+
+data Wire
+  = Cable Int
+  | -- | Two wires in series.
+    Wire :-> Wire
+  | -- | Two wires side by side.
+    Wire :|| Wire
+
+data Edge
+  = -- | A wire between two pins.
+    Int :-: Int
+
+data Reading
+  = -- | The voltage.
+    Double
+      -- | A voltage read at a time.
+      :@
+      -- | The time, in milliseconds.
+      Int
diff --git a/corpora/vendored/haddock/placement/haddock-on-an-infix-constructor.hs b/corpora/vendored/haddock/placement/haddock-on-an-infix-constructor.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/haddock-on-an-infix-constructor.hs
@@ -0,0 +1,15 @@
+module Circuit.Wire where
+
+data Wire
+  = Cable Int
+  | -- | Two wires in series.
+    Wire :-> Wire
+  | -- | Two wires side by side.
+    Wire :|| Wire
+
+data Edge = Int :-: Int -- ^ A wire between two pins.
+
+data Reading
+  = Double -- ^ The voltage.
+    :@ -- ^ A voltage read at a time.
+    Int -- ^ The time, in milliseconds.
diff --git a/corpora/vendored/haddock/placement/haddock-on-the-result-of-a-gadt-constructor-out'.hs b/corpora/vendored/haddock/placement/haddock-on-the-result-of-a-gadt-constructor-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/haddock-on-the-result-of-a-gadt-constructor-out'.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE GADTs #-}
+
+module Garden.Harvest where
+
+-- Each kind of harvest says what it leaves behind.
+data Harvest a where
+    Early
+        :: Int
+        -- ^ the week it is picked in
+        -> Harvest Int
+        -- ^ the crop, ready to store
+    Late
+        :: String
+        -- ^ the bed
+        -> Harvest String
+        -- ^ the crop, ready to eat
diff --git a/corpora/vendored/haddock/placement/haddock-on-the-result-of-a-gadt-constructor-out.hs b/corpora/vendored/haddock/placement/haddock-on-the-result-of-a-gadt-constructor-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/haddock-on-the-result-of-a-gadt-constructor-out.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE GADTs #-}
+
+module Garden.Harvest where
+
+-- Each kind of harvest says what it leaves behind.
+data Harvest a where
+  Early ::
+    -- | the week it is picked in
+    Int ->
+    -- | the crop, ready to store
+    Harvest Int
+  Late ::
+    -- | the bed
+    String ->
+    -- | the crop, ready to eat
+    Harvest String
diff --git a/corpora/vendored/haddock/placement/haddock-on-the-result-of-a-gadt-constructor.hs b/corpora/vendored/haddock/placement/haddock-on-the-result-of-a-gadt-constructor.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/haddock-on-the-result-of-a-gadt-constructor.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE GADTs #-}
+
+module Garden.Harvest where
+
+-- Each kind of harvest says what it leaves behind.
+data Harvest a where
+  Early ::
+    Int -> -- ^ the week it is picked in
+    Harvest Int -- ^ the crop, ready to store
+  Late ::
+    String -> -- ^ the bed
+    Harvest String -- ^ the crop, ready to eat
diff --git a/corpora/vendored/haddock/placement/haddock-with-a-blank-under-it-out'.hs b/corpora/vendored/haddock/placement/haddock-with-a-blank-under-it-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/haddock-with-a-blank-under-it-out'.hs
@@ -0,0 +1,8 @@
+module Terminal.Size where
+
+data Unit
+    = -- | measured in rows
+      --
+      Rows
+    | -- | measured in columns
+      Columns
diff --git a/corpora/vendored/haddock/placement/haddock-with-a-blank-under-it-out.hs b/corpora/vendored/haddock/placement/haddock-with-a-blank-under-it-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/haddock-with-a-blank-under-it-out.hs
@@ -0,0 +1,8 @@
+module Terminal.Size where
+
+data Unit
+  = -- | measured in rows
+    --
+    Rows
+  | -- | measured in columns
+    Columns
diff --git a/corpora/vendored/haddock/placement/haddock-with-a-blank-under-it.hs b/corpora/vendored/haddock/placement/haddock-with-a-blank-under-it.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/haddock-with-a-blank-under-it.hs
@@ -0,0 +1,8 @@
+module Terminal.Size where
+
+data Unit
+  = Rows
+  -- ^ measured in rows
+  --
+  | Columns
+  -- ^ measured in columns
diff --git a/corpora/vendored/haddock/placement/haddock-without-a-space-after-its-trigger-out'.hs b/corpora/vendored/haddock/placement/haddock-without-a-space-after-its-trigger-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/haddock-without-a-space-after-its-trigger-out'.hs
@@ -0,0 +1,18 @@
+module Options where
+
+data Options = Options
+    { recover :: Bool
+      -- ^ Recover from errors.
+      --
+      -- Invalid input is taken literally.
+    , strict :: Bool
+    }
+
+parse
+    :: Options
+    -- ^ Options to parse with.
+    --
+    -- Strict ones reject what others let through.
+    -> String
+    -> Maybe Int
+parse _ _ = Nothing
diff --git a/corpora/vendored/haddock/placement/haddock-without-a-space-after-its-trigger-out.hs b/corpora/vendored/haddock/placement/haddock-without-a-space-after-its-trigger-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/haddock-without-a-space-after-its-trigger-out.hs
@@ -0,0 +1,18 @@
+module Options where
+
+data Options = Options
+  { -- | Recover from errors.
+    --
+    --  Invalid input is taken literally.
+    recover :: Bool,
+    strict :: Bool
+  }
+
+parse ::
+  -- | Options to parse with.
+  --
+  --  Strict ones reject what others let through.
+  Options ->
+  String ->
+  Maybe Int
+parse _ _ = Nothing
diff --git a/corpora/vendored/haddock/placement/haddock-without-a-space-after-its-trigger.hs b/corpora/vendored/haddock/placement/haddock-without-a-space-after-its-trigger.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/haddock-without-a-space-after-its-trigger.hs
@@ -0,0 +1,18 @@
+module Options where
+
+data Options = Options
+  { recover :: Bool
+    -- ^Recover from errors.
+    --
+    -- Invalid input is taken literally.
+  , strict :: Bool
+  }
+
+parse ::
+  Options ->
+  -- ^Options to parse with.
+  --
+  -- Strict ones reject what others let through.
+  String ->
+  Maybe Int
+parse _ _ = Nothing
diff --git a/corpora/vendored/haddock/placement/haddocks-ending-method-signature-lines-out'.hs b/corpora/vendored/haddock/placement/haddocks-ending-method-signature-lines-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/haddocks-ending-method-signature-lines-out'.hs
@@ -0,0 +1,11 @@
+module Kiln.Glaze where
+
+class Glaze g where
+    meltPoint
+        :: g
+        -> Int
+        -- ^ In degrees.
+    opaque
+        :: g
+        -> Bool
+        -- ^ Whether it hides the clay.
diff --git a/corpora/vendored/haddock/placement/haddocks-ending-method-signature-lines-out.hs b/corpora/vendored/haddock/placement/haddocks-ending-method-signature-lines-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/haddocks-ending-method-signature-lines-out.hs
@@ -0,0 +1,11 @@
+module Kiln.Glaze where
+
+class Glaze g where
+  meltPoint ::
+    g ->
+    -- | In degrees.
+    Int
+  opaque ::
+    g ->
+    -- | Whether it hides the clay.
+    Bool
diff --git a/corpora/vendored/haddock/placement/haddocks-ending-method-signature-lines.hs b/corpora/vendored/haddock/placement/haddocks-ending-method-signature-lines.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/haddocks-ending-method-signature-lines.hs
@@ -0,0 +1,5 @@
+module Kiln.Glaze where
+
+class Glaze g where
+  meltPoint :: g -> Int -- ^ In degrees.
+  opaque :: g -> Bool -- ^ Whether it hides the clay.
diff --git a/corpora/vendored/haddock/placement/haddocks-on-an-infix-constructor-and-its-arguments-out'.hs b/corpora/vendored/haddock/placement/haddocks-on-an-infix-constructor-and-its-arguments-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/haddocks-on-an-infix-constructor-and-its-arguments-out'.hs
@@ -0,0 +1,13 @@
+module Geometry.Span where
+
+data Step
+    = Int -- ^ A step to the right.
+        :=>
+        -- | how far
+        Int
+
+data Span
+    = Int -- ^ the start
+        :->
+        -- | the end
+        Int
diff --git a/corpora/vendored/haddock/placement/haddocks-on-an-infix-constructor-and-its-arguments-out.hs b/corpora/vendored/haddock/placement/haddocks-on-an-infix-constructor-and-its-arguments-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/haddocks-on-an-infix-constructor-and-its-arguments-out.hs
@@ -0,0 +1,13 @@
+module Geometry.Span where
+
+data Step
+  = Int -- ^ A step to the right.
+      :=>
+      -- | how far
+      Int
+
+data Span
+  = Int -- ^ the start
+      :->
+      -- | the end
+      Int
diff --git a/corpora/vendored/haddock/placement/haddocks-on-an-infix-constructor-and-its-arguments.hs b/corpora/vendored/haddock/placement/haddocks-on-an-infix-constructor-and-its-arguments.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/haddocks-on-an-infix-constructor-and-its-arguments.hs
@@ -0,0 +1,9 @@
+module Geometry.Span where
+
+data Step
+  = -- | A step to the right.
+    Int :=> Int -- ^ how far
+
+data Span
+  = Int -- ^ the start
+    :-> Int -- ^ the end
diff --git a/corpora/vendored/haddock/placement/haddocks-on-positional-fields-out'.hs b/corpora/vendored/haddock/placement/haddocks-on-positional-fields-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/haddocks-on-positional-fields-out'.hs
@@ -0,0 +1,18 @@
+module Shop.Order where
+
+data Order
+    = Phone
+        -- | The caller's number.
+        String
+        -- | How many items.
+        Int
+    | Counter
+        -- | The till.
+        !Int
+        Bool
+    | -- | Bought online.
+      Online
+        -- | The account the order is billed to.
+        String
+
+data Line = Line {- | The quantity. -} Int Double
diff --git a/corpora/vendored/haddock/placement/haddocks-on-positional-fields-out.hs b/corpora/vendored/haddock/placement/haddocks-on-positional-fields-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/haddocks-on-positional-fields-out.hs
@@ -0,0 +1,18 @@
+module Shop.Order where
+
+data Order
+  = Phone
+      -- | The caller's number.
+      String
+      -- | How many items.
+      Int
+  | Counter
+      -- | The till.
+      !Int
+      Bool
+  | -- | Bought online.
+    Online
+      -- | The account the order is billed to.
+      String
+
+data Line = Line {- | The quantity. -} Int Double
diff --git a/corpora/vendored/haddock/placement/haddocks-on-positional-fields.hs b/corpora/vendored/haddock/placement/haddocks-on-positional-fields.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/haddocks-on-positional-fields.hs
@@ -0,0 +1,13 @@
+module Shop.Order where
+
+data Order
+  = Phone
+      String -- ^ The caller's number.
+      Int -- ^ How many items.
+  | Counter
+      !Int -- ^ The till.
+      Bool
+  | -- | Bought online.
+    Online String -- ^ The account the order is billed to.
+
+data Line = Line {- | The quantity. -} Int Double
diff --git a/corpora/vendored/haddock/placement/moved-haddock-beginning-with-a-dollar-out'.hs b/corpora/vendored/haddock/placement/moved-haddock-beginning-with-a-dollar-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/moved-haddock-beginning-with-a-dollar-out'.hs
@@ -0,0 +1,12 @@
+module Kiln.Price where
+
+-- A dollar that a Haddock moved in front of what it documents begins with
+-- stays as written.
+charge
+    :: Int
+    -- ^ $1 for each unit
+    -> Int
+    {- ^ $5 at least,
+    $10 at most -}
+    -> Int
+charge = const
diff --git a/corpora/vendored/haddock/placement/moved-haddock-beginning-with-a-dollar-out.hs b/corpora/vendored/haddock/placement/moved-haddock-beginning-with-a-dollar-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/moved-haddock-beginning-with-a-dollar-out.hs
@@ -0,0 +1,12 @@
+module Kiln.Price where
+
+-- A dollar that a Haddock moved in front of what it documents begins with
+-- stays as written.
+charge ::
+  -- | $1 for each unit
+  Int ->
+  {- | $5 at least,
+  $10 at most -}
+  Int ->
+  Int
+charge = const
diff --git a/corpora/vendored/haddock/placement/moved-haddock-beginning-with-a-dollar.hs b/corpora/vendored/haddock/placement/moved-haddock-beginning-with-a-dollar.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/moved-haddock-beginning-with-a-dollar.hs
@@ -0,0 +1,10 @@
+module Kiln.Price where
+
+-- A dollar that a Haddock moved in front of what it documents begins with
+-- stays as written.
+charge ::
+  Int -- ^ $1 for each unit
+  -> Int {- ^ $5 at least,
+  $10 at most -}
+  -> Int
+charge = const
diff --git a/corpora/vendored/haddock/placement/moved-haddock-continued-with-a-dollar-out'.hs b/corpora/vendored/haddock/placement/moved-haddock-continued-with-a-dollar-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/moved-haddock-continued-with-a-dollar-out'.hs
@@ -0,0 +1,14 @@
+module M where
+
+f
+    :: Int
+    -- ^ the price,
+    --$5 at most
+    -> Int
+f = id
+
+data T
+    = -- | the price,
+      --$5 at most
+      T
+        Int
diff --git a/corpora/vendored/haddock/placement/moved-haddock-continued-with-a-dollar-out.hs b/corpora/vendored/haddock/placement/moved-haddock-continued-with-a-dollar-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/moved-haddock-continued-with-a-dollar-out.hs
@@ -0,0 +1,14 @@
+module M where
+
+f ::
+  -- | the price,
+  --$5 at most
+  Int ->
+  Int
+f = id
+
+data T
+  = -- | the price,
+    --$5 at most
+    T
+      Int
diff --git a/corpora/vendored/haddock/placement/moved-haddock-continued-with-a-dollar.hs b/corpora/vendored/haddock/placement/moved-haddock-continued-with-a-dollar.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/moved-haddock-continued-with-a-dollar.hs
@@ -0,0 +1,11 @@
+module M where
+
+f ::
+  Int -> -- ^ the price,
+         --$5 at most
+  Int
+f = id
+
+data T = T
+  Int -- ^ the price,
+      --$5 at most
diff --git a/corpora/vendored/haddock/placement/moved-haddock-over-several-lines-past-a-trailing-comment-out'.hs b/corpora/vendored/haddock/placement/moved-haddock-over-several-lines-past-a-trailing-comment-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/moved-haddock-over-several-lines-past-a-trailing-comment-out'.hs
@@ -0,0 +1,10 @@
+module Garden.Pest where
+
+data Pest
+    = -- | Leaves eaten from the edge in.
+      -- Most active after rain.
+      Slug Int -- counted per bed
+    | -- | Sap taken from the stems.
+      -- Ladybirds keep them down.
+      Aphid
+    | Mildew
diff --git a/corpora/vendored/haddock/placement/moved-haddock-over-several-lines-past-a-trailing-comment-out.hs b/corpora/vendored/haddock/placement/moved-haddock-over-several-lines-past-a-trailing-comment-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/moved-haddock-over-several-lines-past-a-trailing-comment-out.hs
@@ -0,0 +1,10 @@
+module Garden.Pest where
+
+data Pest
+  = -- | Leaves eaten from the edge in.
+    -- Most active after rain.
+    Slug Int -- counted per bed
+  | -- | Sap taken from the stems.
+    -- Ladybirds keep them down.
+    Aphid
+  | Mildew
diff --git a/corpora/vendored/haddock/placement/moved-haddock-over-several-lines-past-a-trailing-comment.hs b/corpora/vendored/haddock/placement/moved-haddock-over-several-lines-past-a-trailing-comment.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/moved-haddock-over-several-lines-past-a-trailing-comment.hs
@@ -0,0 +1,10 @@
+module Garden.Pest where
+
+data Pest
+  = Slug Int -- counted per bed
+  -- ^ Leaves eaten from the edge in.
+  -- Most active after rain.
+  | Aphid
+  -- ^ Sap taken from the stems.
+  -- Ladybirds keep them down.
+  | Mildew
diff --git a/corpora/vendored/haddock/placement/moved-haddocks-without-a-space-after-the-trigger-out'.hs b/corpora/vendored/haddock/placement/moved-haddocks-without-a-space-after-the-trigger-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/moved-haddocks-without-a-space-after-the-trigger-out'.hs
@@ -0,0 +1,14 @@
+module Garden.Soil where
+
+data Soil
+    = -- | Heavy, and slow to drain.
+      Clay
+    | -- | Light, and quick to dry out.
+      Sand
+
+data Bed = Bed
+    { bedDepth :: Int
+      -- ^ How deep it is dug.
+    , bedSoil :: Soil
+      -- ^ What it is dug into.
+    }
diff --git a/corpora/vendored/haddock/placement/moved-haddocks-without-a-space-after-the-trigger-out.hs b/corpora/vendored/haddock/placement/moved-haddocks-without-a-space-after-the-trigger-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/moved-haddocks-without-a-space-after-the-trigger-out.hs
@@ -0,0 +1,14 @@
+module Garden.Soil where
+
+data Soil
+  = -- | Heavy, and slow to drain.
+    Clay
+  | -- | Light, and quick to dry out.
+    Sand
+
+data Bed = Bed
+  { -- | How deep it is dug.
+    bedDepth :: Int,
+    -- | What it is dug into.
+    bedSoil :: Soil
+  }
diff --git a/corpora/vendored/haddock/placement/moved-haddocks-without-a-space-after-the-trigger.hs b/corpora/vendored/haddock/placement/moved-haddocks-without-a-space-after-the-trigger.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/moved-haddocks-without-a-space-after-the-trigger.hs
@@ -0,0 +1,14 @@
+module Garden.Soil where
+
+data Soil
+  = Clay
+  -- ^Heavy, and slow to drain.
+  | Sand
+  -- ^Light, and quick to dry out.
+
+data Bed = Bed
+  { -- |How deep it is dug.
+    bedDepth :: Int,
+    -- |What it is dug into.
+    bedSoil :: Soil
+  }
diff --git a/corpora/vendored/haddock/placement/one-line-declaration-holding-a-haddock-out'.hs b/corpora/vendored/haddock/placement/one-line-declaration-holding-a-haddock-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/one-line-declaration-holding-a-haddock-out'.hs
@@ -0,0 +1,14 @@
+module Shape where
+
+data Corner
+    = -- | Drawn with an arc.
+      Rounded
+
+data Edge = Straight
+
+width
+    :: Int
+    -- ^ In pixels.
+width = 4
+
+height = 3
diff --git a/corpora/vendored/haddock/placement/one-line-declaration-holding-a-haddock-out.hs b/corpora/vendored/haddock/placement/one-line-declaration-holding-a-haddock-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/one-line-declaration-holding-a-haddock-out.hs
@@ -0,0 +1,14 @@
+module Shape where
+
+data Corner
+  = -- | Drawn with an arc.
+    Rounded
+
+data Edge = Straight
+
+width ::
+  -- | In pixels.
+  Int
+width = 4
+
+height = 3
diff --git a/corpora/vendored/haddock/placement/one-line-declaration-holding-a-haddock.hs b/corpora/vendored/haddock/placement/one-line-declaration-holding-a-haddock.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/placement/one-line-declaration-holding-a-haddock.hs
@@ -0,0 +1,7 @@
+module Shape where
+
+data Corner = Rounded -- ^ Drawn with an arc.
+data Edge = Straight
+width :: Int -- ^ In pixels.
+width = 4
+height = 3
diff --git a/corpora/vendored/haddock/section/comment-right-above-a-named-chunk-out'.hs b/corpora/vendored/haddock/section/comment-right-above-a-named-chunk-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/section/comment-right-above-a-named-chunk-out'.hs
@@ -0,0 +1,13 @@
+module Garden.Guide
+    ( -- $sowing
+      sow
+    )
+where
+
+-- Written after the second greenhouse went up.
+
+-- $sowing
+-- Seeds go in twice a year: once under glass and once outside.
+
+sow :: Int -> Int
+sow = id
diff --git a/corpora/vendored/haddock/section/comment-right-above-a-named-chunk-out.hs b/corpora/vendored/haddock/section/comment-right-above-a-named-chunk-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/section/comment-right-above-a-named-chunk-out.hs
@@ -0,0 +1,13 @@
+module Garden.Guide
+  ( -- $sowing
+    sow,
+  )
+where
+
+-- Written after the second greenhouse went up.
+
+-- $sowing
+-- Seeds go in twice a year: once under glass and once outside.
+
+sow :: Int -> Int
+sow = id
diff --git a/corpora/vendored/haddock/section/comment-right-above-a-named-chunk.hs b/corpora/vendored/haddock/section/comment-right-above-a-named-chunk.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/section/comment-right-above-a-named-chunk.hs
@@ -0,0 +1,12 @@
+module Garden.Guide
+  ( -- $sowing
+    sow,
+  )
+where
+
+-- Written after the second greenhouse went up.
+-- $sowing
+-- Seeds go in twice a year: once under glass and once outside.
+
+sow :: Int -> Int
+sow = id
diff --git a/corpora/vendored/haddock/section/comment-right-under-an-export-above-a-heading-out'.hs b/corpora/vendored/haddock/section/comment-right-under-an-export-above-a-heading-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/section/comment-right-under-an-export-above-a-heading-out'.hs
@@ -0,0 +1,15 @@
+module Ledger
+    ( -- * Accounts
+      open
+    , close
+      ----------------------------------------------------------------------
+
+      -- * Journals
+    , record
+    )
+where
+
+open, close, record :: Int
+open = 1
+close = 2
+record = 3
diff --git a/corpora/vendored/haddock/section/comment-right-under-an-export-above-a-heading-out.hs b/corpora/vendored/haddock/section/comment-right-under-an-export-above-a-heading-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/section/comment-right-under-an-export-above-a-heading-out.hs
@@ -0,0 +1,15 @@
+module Ledger
+  ( -- * Accounts
+    open,
+    close,
+    ----------------------------------------------------------------------
+
+    -- * Journals
+    record,
+  )
+where
+
+open, close, record :: Int
+open = 1
+close = 2
+record = 3
diff --git a/corpora/vendored/haddock/section/comment-right-under-an-export-above-a-heading.hs b/corpora/vendored/haddock/section/comment-right-under-an-export-above-a-heading.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/section/comment-right-under-an-export-above-a-heading.hs
@@ -0,0 +1,15 @@
+module Ledger
+  ( -- * Accounts
+    open,
+    close,
+    ----------------------------------------------------------------------
+
+    -- * Journals
+    record,
+  )
+where
+
+open, close, record :: Int
+open = 1
+close = 2
+record = 3
diff --git a/corpora/vendored/haddock/section/empty-line-above-a-chunk-in-an-export-list-out'.hs b/corpora/vendored/haddock/section/empty-line-above-a-chunk-in-an-export-list-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/section/empty-line-above-a-chunk-in-an-export-list-out'.hs
@@ -0,0 +1,26 @@
+module Ledger
+    ( -- * Accounts
+
+      -- | Opening and closing.
+      open
+    , close
+
+      -- | Moving money.
+    , transfer
+      -- | Undoing a transfer.
+    , reverse
+
+      -- * Journals
+      -- | Writing it all down.
+    , record
+    )
+where
+
+import Prelude hiding (reverse)
+
+open, close, transfer, reverse, record :: Int
+open = 1
+close = 2
+transfer = 3
+reverse = 4
+record = 5
diff --git a/corpora/vendored/haddock/section/empty-line-above-a-chunk-in-an-export-list-out.hs b/corpora/vendored/haddock/section/empty-line-above-a-chunk-in-an-export-list-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/section/empty-line-above-a-chunk-in-an-export-list-out.hs
@@ -0,0 +1,26 @@
+module Ledger
+  ( -- * Accounts
+
+    -- | Opening and closing.
+    open,
+    close,
+
+    -- | Moving money.
+    transfer,
+    -- | Undoing a transfer.
+    reverse,
+
+    -- * Journals
+    -- | Writing it all down.
+    record,
+  )
+where
+
+import Prelude hiding (reverse)
+
+open, close, transfer, reverse, record :: Int
+open = 1
+close = 2
+transfer = 3
+reverse = 4
+record = 5
diff --git a/corpora/vendored/haddock/section/empty-line-above-a-chunk-in-an-export-list.hs b/corpora/vendored/haddock/section/empty-line-above-a-chunk-in-an-export-list.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/section/empty-line-above-a-chunk-in-an-export-list.hs
@@ -0,0 +1,26 @@
+module Ledger
+  ( -- * Accounts
+
+    -- | Opening and closing.
+    open,
+    close,
+
+    -- | Moving money.
+    transfer,
+    -- | Undoing a transfer.
+    reverse,
+
+    -- * Journals
+    -- | Writing it all down.
+    record,
+  )
+where
+
+import Prelude hiding (reverse)
+
+open, close, transfer, reverse, record :: Int
+open = 1
+close = 2
+transfer = 3
+reverse = 4
+record = 5
diff --git a/corpora/vendored/haddock/section/haddock-after-another-doc-item-in-an-export-list-out'.hs b/corpora/vendored/haddock/section/haddock-after-another-doc-item-in-an-export-list-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/section/haddock-after-another-doc-item-in-an-export-list-out'.hs
@@ -0,0 +1,19 @@
+-- A Haddock that follows another doc item in an export list is held off it
+-- by an empty line.
+module Job.Queue
+    ( {- $intro -}
+
+      -- | Running jobs.
+      run
+      {- | Stopping a job. -}
+
+      -- | Stopping every job.
+    , stop
+    )
+where
+
+run :: IO ()
+run = pure ()
+
+stop :: IO ()
+stop = pure ()
diff --git a/corpora/vendored/haddock/section/haddock-after-another-doc-item-in-an-export-list-out.hs b/corpora/vendored/haddock/section/haddock-after-another-doc-item-in-an-export-list-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/section/haddock-after-another-doc-item-in-an-export-list-out.hs
@@ -0,0 +1,19 @@
+-- A Haddock that follows another doc item in an export list is held off it
+-- by an empty line.
+module Job.Queue
+  ( {- $intro -}
+
+    -- | Running jobs.
+    run,
+    {- | Stopping a job. -}
+
+    -- | Stopping every job.
+    stop,
+  )
+where
+
+run :: IO ()
+run = pure ()
+
+stop :: IO ()
+stop = pure ()
diff --git a/corpora/vendored/haddock/section/haddock-after-another-doc-item-in-an-export-list.hs b/corpora/vendored/haddock/section/haddock-after-another-doc-item-in-an-export-list.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/section/haddock-after-another-doc-item-in-an-export-list.hs
@@ -0,0 +1,16 @@
+-- A Haddock that follows another doc item in an export list is held off it
+-- by an empty line.
+module Job.Queue
+  ( {- $intro -}
+    -- | Running jobs.
+    run,
+    {- | Stopping a job. -}
+    -- | Stopping every job.
+    stop,
+  ) where
+
+run :: IO ()
+run = pure ()
+
+stop :: IO ()
+stop = pure ()
diff --git a/corpora/vendored/haddock/section/named-chunk-under-a-haddock-out.hs b/corpora/vendored/haddock/section/named-chunk-under-a-haddock-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/section/named-chunk-under-a-haddock-out.hs
@@ -0,0 +1,10 @@
+module Cache.Doctest where
+
+-- | The examples below are run by doctest.
+
+-- $setup
+-- >>> import Cache.Warm
+
+-- | Warm the cache and say how long it took.
+timed :: IO ()
+timed = pure ()
diff --git a/corpora/vendored/haddock/section/named-chunk-under-a-haddock.hs b/corpora/vendored/haddock/section/named-chunk-under-a-haddock.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/section/named-chunk-under-a-haddock.hs
@@ -0,0 +1,10 @@
+module Cache.Doctest where
+
+-- | The examples below are run by doctest.
+
+-- $setup
+-- >>> import Cache.Warm
+
+-- | Warm the cache and say how long it took.
+timed :: IO ()
+timed = pure ()
diff --git a/corpora/vendored/haddock/section/section-anchor-with-a-blank-line-out'.hs b/corpora/vendored/haddock/section/section-anchor-with-a-blank-line-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/section/section-anchor-with-a-blank-line-out'.hs
@@ -0,0 +1,17 @@
+module Terminal.Size
+    ( -- * Getting started
+      -- $intro
+      --
+
+      -- * Measuring
+      -- $measuring
+      rows
+    , columns
+    )
+where
+
+rows :: Int
+rows = 24
+
+columns :: Int
+columns = 80
diff --git a/corpora/vendored/haddock/section/section-anchor-with-a-blank-line-out.hs b/corpora/vendored/haddock/section/section-anchor-with-a-blank-line-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/section/section-anchor-with-a-blank-line-out.hs
@@ -0,0 +1,17 @@
+module Terminal.Size
+  ( -- * Getting started
+    -- $intro
+    --
+
+    -- * Measuring
+    -- $measuring
+    rows,
+    columns,
+  )
+where
+
+rows :: Int
+rows = 24
+
+columns :: Int
+columns = 80
diff --git a/corpora/vendored/haddock/section/section-anchor-with-a-blank-line.hs b/corpora/vendored/haddock/section/section-anchor-with-a-blank-line.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/section/section-anchor-with-a-blank-line.hs
@@ -0,0 +1,17 @@
+module Terminal.Size
+  ( -- * Getting started
+    -- $intro
+    --
+
+    -- * Measuring
+    -- $measuring
+    rows,
+    columns,
+  )
+where
+
+rows :: Int
+rows = 24
+
+columns :: Int
+columns = 80
diff --git a/corpora/vendored/haddock/section/section-heading-under-a-haddock-out.hs b/corpora/vendored/haddock/section/section-heading-under-a-haddock-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/section/section-heading-under-a-haddock-out.hs
@@ -0,0 +1,9 @@
+module Cache.Report where
+
+-- | Everything under here is about reporting, not about the cache itself.
+
+-- * Counters
+
+-- | How many lookups found something.
+hits :: Int
+hits = 0
diff --git a/corpora/vendored/haddock/section/section-heading-under-a-haddock.hs b/corpora/vendored/haddock/section/section-heading-under-a-haddock.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/section/section-heading-under-a-haddock.hs
@@ -0,0 +1,9 @@
+module Cache.Report where
+
+-- | Everything under here is about reporting, not about the cache itself.
+
+-- * Counters
+
+-- | How many lookups found something.
+hits :: Int
+hits = 0
diff --git a/corpora/vendored/haddock/section/section-headings-among-comments-out'.hs b/corpora/vendored/haddock/section/section-headings-among-comments-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/section/section-headings-among-comments-out'.hs
@@ -0,0 +1,30 @@
+module Inventory
+    ( -- * Items
+      -- in the order they come in
+      Item
+    , newItem
+    )
+where
+
+count = 0
+
+-- Plan:
+--
+-- * Count what comes in. Count what goes
+--   out as well.
+--
+-- * Never count twice.
+
+-- | One thing on a shelf.
+data Item = Item
+
+----------------------------------------------------------------------------
+-- * Making items
+----------------------------------------------------------------------------
+
+newItem :: Item
+newItem = Item
+
+-- * Checking items
+-- once there is something to check
+check = True
diff --git a/corpora/vendored/haddock/section/section-headings-among-comments-out.hs b/corpora/vendored/haddock/section/section-headings-among-comments-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/section/section-headings-among-comments-out.hs
@@ -0,0 +1,30 @@
+module Inventory
+  ( -- * Items
+    -- in the order they come in
+    Item,
+    newItem,
+  )
+where
+
+count = 0
+
+-- Plan:
+--
+-- * Count what comes in. Count what goes
+--   out as well.
+--
+-- * Never count twice.
+
+-- | One thing on a shelf.
+data Item = Item
+
+----------------------------------------------------------------------------
+-- * Making items
+----------------------------------------------------------------------------
+
+newItem :: Item
+newItem = Item
+
+-- * Checking items
+-- once there is something to check
+check = True
diff --git a/corpora/vendored/haddock/section/section-headings-among-comments.hs b/corpora/vendored/haddock/section/section-headings-among-comments.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/section/section-headings-among-comments.hs
@@ -0,0 +1,30 @@
+module Inventory
+  ( -- * Items
+    -- in the order they come in
+    Item,
+    newItem,
+  )
+where
+
+count = 0
+
+-- Plan:
+--
+-- * Count what comes in. Count what goes
+--   out as well.
+--
+-- * Never count twice.
+
+-- | One thing on a shelf.
+data Item = Item
+
+----------------------------------------------------------------------------
+-- * Making items
+----------------------------------------------------------------------------
+
+newItem :: Item
+newItem = Item
+
+-- * Checking items
+-- once there is something to check
+check = True
diff --git a/corpora/vendored/haddock/section/section-headings-among-exports-out'.hs b/corpora/vendored/haddock/section/section-headings-among-exports-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/section/section-headings-among-exports-out'.hs
@@ -0,0 +1,20 @@
+module Database.Query
+    ( -- * Setup
+      -- $setup
+
+      -- * Language
+      where_
+    , on
+    , groupBy
+    , orderBy
+
+      -- ** Joins
+    , InnerJoin (..)
+    , CrossJoin (..)
+
+      -- * Running
+    , select
+    , delete
+      -- $running
+    )
+where
diff --git a/corpora/vendored/haddock/section/section-headings-among-exports-out.hs b/corpora/vendored/haddock/section/section-headings-among-exports-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/section/section-headings-among-exports-out.hs
@@ -0,0 +1,20 @@
+module Database.Query
+  ( -- * Setup
+    -- $setup
+
+    -- * Language
+    where_,
+    on,
+    groupBy,
+    orderBy,
+
+    -- ** Joins
+    InnerJoin (..),
+    CrossJoin (..),
+
+    -- * Running
+    select,
+    delete,
+    -- $running
+  )
+where
diff --git a/corpora/vendored/haddock/section/section-headings-among-exports.hs b/corpora/vendored/haddock/section/section-headings-among-exports.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/section/section-headings-among-exports.hs
@@ -0,0 +1,16 @@
+module Database.Query
+  ( -- * Setup
+    -- $setup
+
+    -- * Language
+    where_, on, groupBy
+  , orderBy
+    -- ** Joins
+  , InnerJoin (..)
+  , CrossJoin (..)
+    -- * Running
+  , select
+  , delete
+    -- $running
+  )
+where
diff --git a/corpora/vendored/haddock/text/block-haddock-with-a-tight-trigger-out.hs b/corpora/vendored/haddock/text/block-haddock-with-a-tight-trigger-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/text/block-haddock-with-a-tight-trigger-out.hs
@@ -0,0 +1,7 @@
+module Options where
+
+{-| Parse the options.
+Strict ones reject more.
+-}
+parse :: String -> Maybe Int
+parse _ = Nothing
diff --git a/corpora/vendored/haddock/text/block-haddock-with-a-tight-trigger.hs b/corpora/vendored/haddock/text/block-haddock-with-a-tight-trigger.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/text/block-haddock-with-a-tight-trigger.hs
@@ -0,0 +1,7 @@
+module Options where
+
+{-|Parse the options.
+Strict ones reject more.
+-}
+parse :: String -> Maybe Int
+parse _ = Nothing
diff --git a/corpora/vendored/haddock/text/haddock-holding-only-a-space-out'.hs b/corpora/vendored/haddock/text/haddock-holding-only-a-space-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/text/haddock-holding-only-a-space-out'.hs
@@ -0,0 +1,28 @@
+{- | -}
+module Kiln.Glaze where
+
+-- A Haddock that holds nothing but a space, as the one above the header
+-- does, would lose it at the end of its line and hold nothing, so it comes
+-- out as a block comment. The same goes before a constructor, a field and
+-- an argument.
+data Finish
+    = {- | -}
+      Matte
+    | Gloss
+
+data Kiln = Kiln
+    { temperature :: Int
+      {- ^ -}
+    }
+
+fire
+    :: Int
+    {- ^ -}
+    -> Kiln
+fire = Kiln
+
+-- One with nothing after its trigger stays as it is.
+
+-- |
+glaze :: Finish
+glaze = Matte
diff --git a/corpora/vendored/haddock/text/haddock-holding-only-a-space-out.hs b/corpora/vendored/haddock/text/haddock-holding-only-a-space-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/text/haddock-holding-only-a-space-out.hs
@@ -0,0 +1,26 @@
+{- | -}
+module Kiln.Glaze where
+
+-- A Haddock that holds nothing but a space, as the one above the header
+-- does, would lose it at the end of its line and hold nothing, so it comes
+-- out as a block comment. The same goes before a constructor, a field and
+-- an argument.
+data Finish
+  = {- | -}
+    Matte
+  | Gloss
+
+data Kiln = Kiln
+  { {- | -} temperature :: Int
+  }
+
+fire ::
+  {- | -} Int ->
+  Kiln
+fire = Kiln
+
+-- One with nothing after its trigger stays as it is.
+
+-- |
+glaze :: Finish
+glaze = Matte
diff --git a/corpora/vendored/haddock/text/haddock-holding-only-a-space.hs b/corpora/vendored/haddock/text/haddock-holding-only-a-space.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/text/haddock-holding-only-a-space.hs
@@ -0,0 +1,28 @@
+-- | 
+module Kiln.Glaze where
+
+-- A Haddock that holds nothing but a space, as the one above the header
+-- does, would lose it at the end of its line and hold nothing, so it comes
+-- out as a block comment. The same goes before a constructor, a field and
+-- an argument.
+data Finish
+  = -- | 
+    Matte
+  | Gloss
+
+data Kiln = Kiln
+  { -- | 
+    temperature :: Int
+  }
+
+fire ::
+  -- | 
+  Int ->
+  Kiln
+fire = Kiln
+
+-- One with nothing after its trigger stays as it is.
+
+-- |
+glaze :: Finish
+glaze = Matte
diff --git a/corpora/vendored/haddock/text/haddock-holding-only-spaces-over-lines-out'.hs b/corpora/vendored/haddock/text/haddock-holding-only-spaces-over-lines-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/text/haddock-holding-only-spaces-over-lines-out'.hs
@@ -0,0 +1,23 @@
+-- A Haddock written as lines that hold nothing but spaces at their ends
+-- says nothing once the spaces go, and the next pass reads it as a
+-- comment, so it comes out as one.
+module Kiln.Shelf where
+
+data Shelf = Shelf
+    { height :: Int
+      -- \|
+      --
+    }
+
+data Load
+    = -- \|
+      --
+      Bisque
+    | Glaze
+
+fire
+    :: Int
+    -- \|
+    --
+    -> Shelf
+fire = Shelf
diff --git a/corpora/vendored/haddock/text/haddock-holding-only-spaces-over-lines-out.hs b/corpora/vendored/haddock/text/haddock-holding-only-spaces-over-lines-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/text/haddock-holding-only-spaces-over-lines-out.hs
@@ -0,0 +1,23 @@
+-- A Haddock written as lines that hold nothing but spaces at their ends
+-- says nothing once the spaces go, and the next pass reads it as a
+-- comment, so it comes out as one.
+module Kiln.Shelf where
+
+data Shelf = Shelf
+  { -- \|
+    --
+    height :: Int
+  }
+
+data Load
+  = -- \|
+    --
+    Bisque
+  | Glaze
+
+fire ::
+  -- \|
+  --
+  Int ->
+  Shelf
+fire = Shelf
diff --git a/corpora/vendored/haddock/text/haddock-holding-only-spaces-over-lines.hs b/corpora/vendored/haddock/text/haddock-holding-only-spaces-over-lines.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/text/haddock-holding-only-spaces-over-lines.hs
@@ -0,0 +1,23 @@
+-- A Haddock written as lines that hold nothing but spaces at their ends
+-- says nothing once the spaces go, and the next pass reads it as a
+-- comment, so it comes out as one.
+module Kiln.Shelf where
+
+data Shelf = Shelf
+  { -- |
+    -- 
+    height :: Int
+  }
+
+data Load
+  = -- | 
+    -- 
+    Bisque
+  | Glaze
+
+fire ::
+  -- |
+  -- 
+  Int ->
+  Shelf
+fire = Shelf
diff --git a/corpora/vendored/haddock/text/haddock-lines-ending-in-unicode-spaces-out.hs b/corpora/vendored/haddock/text/haddock-lines-ending-in-unicode-spaces-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/text/haddock-lines-ending-in-unicode-spaces-out.hs
@@ -0,0 +1,9 @@
+-- | Read the header of a texture file, whose levels follow it.
+--
+-- The version is checked first:
+-- anything else is not read.
+module Kiln.Header (header) where
+
+-- | The size of the header in bytes.
+header :: Int
+header = 80
diff --git a/corpora/vendored/haddock/text/haddock-lines-ending-in-unicode-spaces.hs b/corpora/vendored/haddock/text/haddock-lines-ending-in-unicode-spaces.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/text/haddock-lines-ending-in-unicode-spaces.hs
@@ -0,0 +1,9 @@
+-- | Read the header of a texture file, whose levels follow it. 
+--
+-- The version is checked first: 
+-- anything else is not read.
+module Kiln.Header (header) where
+
+-- | The size of the header in bytes. 
+header :: Int
+header = 80
diff --git a/corpora/vendored/haddock/text/haddock-that-documents-nothing-out'.hs b/corpora/vendored/haddock/text/haddock-that-documents-nothing-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/text/haddock-that-documents-nothing-out'.hs
@@ -0,0 +1,53 @@
+-- A Haddock in a local signature documents nothing, so it comes out as
+-- ordinary comments, a comment for each of its lines.
+twoLines :: Int
+twoLines = g 1 2
+    where
+        g
+            :: Int -- \^ a
+            -> Int -- \^ b, which goes
+                   --   on to a second line
+            -> Int
+        g = (+)
+
+-- The same over three lines, the last of them lined up with the code.
+threeLines :: Int
+threeLines = g 1 2
+    where
+        g
+            :: Int -- \^ a, which goes
+                   --   on to a second line
+            --   and a third
+            -> Int
+            -> Int
+        g = (+)
+
+-- One on the lines above a local binding.
+above :: Int
+above = g
+    where
+        -- \| What g is,
+        -- over two lines.
+        g = 1
+
+-- A block one stays one comment.
+block :: Int
+block = g 1
+    where
+        g
+            :: Int {- \^ a, which goes
+                        on to a second line -}
+            -> Int
+        g = id
+
+-- A block one above a local binding has only its trigger escaped: the lines
+-- under it are its text.
+blockAbove :: Int
+blockAbove = g
+    where
+        {- \| What g is, as these would write it:
+
+        -- | One.
+        {- * Two. -}
+        -}
+        g = 1
diff --git a/corpora/vendored/haddock/text/haddock-that-documents-nothing-out.hs b/corpora/vendored/haddock/text/haddock-that-documents-nothing-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/text/haddock-that-documents-nothing-out.hs
@@ -0,0 +1,54 @@
+-- A Haddock in a local signature documents nothing, so it comes out as
+-- ordinary comments, a comment for each of its lines.
+twoLines :: Int
+twoLines = g 1 2
+  where
+    g ::
+      Int -> -- \^ a
+      Int -> -- \^ b, which goes
+             --   on to a second line
+      Int
+    g = (+)
+
+-- The same over three lines, the last of them lined up with the code.
+threeLines :: Int
+threeLines = g 1 2
+  where
+    g ::
+      Int -> -- \^ a, which goes
+             --   on to a second line
+      --   and a third
+      Int ->
+      Int
+    g = (+)
+
+-- One on the lines above a local binding.
+above :: Int
+above = g
+  where
+    -- \| What g is,
+    -- over two lines.
+    g = 1
+
+-- A block one stays one comment.
+block :: Int
+block = g 1
+  where
+    g ::
+      Int {- \^ a, which goes
+               on to a second line -}
+      ->
+      Int
+    g = id
+
+-- A block one above a local binding has only its trigger escaped: the lines
+-- under it are its text.
+blockAbove :: Int
+blockAbove = g
+  where
+    {- \| What g is, as these would write it:
+
+    -- | One.
+    {- * Two. -}
+    -}
+    g = 1
diff --git a/corpora/vendored/haddock/text/haddock-that-documents-nothing.hs b/corpora/vendored/haddock/text/haddock-that-documents-nothing.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/text/haddock-that-documents-nothing.hs
@@ -0,0 +1,53 @@
+-- A Haddock in a local signature documents nothing, so it comes out as
+-- ordinary comments, a comment for each of its lines.
+twoLines :: Int
+twoLines = g 1 2
+  where
+    g
+      :: Int -- ^ a
+      -> Int -- ^ b, which goes
+             --   on to a second line
+      -> Int
+    g = (+)
+
+-- The same over three lines, the last of them lined up with the code.
+threeLines :: Int
+threeLines = g 1 2
+  where
+    g
+      :: Int -- ^ a, which goes
+             --   on to a second line
+      --   and a third
+      -> Int
+      -> Int
+    g = (+)
+
+-- One on the lines above a local binding.
+above :: Int
+above = g
+  where
+    -- | What g is,
+    -- over two lines.
+    g = 1
+
+-- A block one stays one comment.
+block :: Int
+block = g 1
+  where
+    g
+      :: Int {- ^ a, which goes
+                  on to a second line -}
+      -> Int
+    g = id
+
+-- A block one above a local binding has only its trigger escaped: the lines
+-- under it are its text.
+blockAbove :: Int
+blockAbove = g
+  where
+    {- | What g is, as these would write it:
+
+    -- | One.
+    {- * Two. -}
+    -}
+    g = 1
diff --git a/corpora/vendored/haddock/text/haddock-with-a-tight-trigger-out.hs b/corpora/vendored/haddock/text/haddock-with-a-tight-trigger-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/text/haddock-with-a-tight-trigger-out.hs
@@ -0,0 +1,5 @@
+module Terminal.Size where
+
+-- | Rows and columns, as the terminal reported them when we
+-- started up.
+data Size = Size Int Int
diff --git a/corpora/vendored/haddock/text/haddock-with-a-tight-trigger.hs b/corpora/vendored/haddock/text/haddock-with-a-tight-trigger.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/text/haddock-with-a-tight-trigger.hs
@@ -0,0 +1,5 @@
+module Terminal.Size where
+
+-- |Rows and columns, as the terminal reported them when we
+-- started up.
+data Size = Size Int Int
diff --git a/corpora/vendored/haddock/text/haddocks-in-a-do-block-out'.hs b/corpora/vendored/haddock/text/haddocks-in-a-do-block-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/text/haddocks-in-a-do-block-out'.hs
@@ -0,0 +1,17 @@
+-- Comments in a do block that open as Haddocks would document nothing, so
+-- their triggers are escaped.
+module Kiln.Firing (fire) where
+
+fire :: IO ()
+fire = do
+    -- \| heat slowly at first, or the glaze cracks
+    rampUp 100
+    -- \* hold at the peak
+    -- \^ for about ten minutes
+    hold 10
+    {- \| let it cool on its own:
+    * no opening the lid
+    -}
+    coolDown
+    -- \$ventilation
+    pure ()
diff --git a/corpora/vendored/haddock/text/haddocks-in-a-do-block-out.hs b/corpora/vendored/haddock/text/haddocks-in-a-do-block-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/text/haddocks-in-a-do-block-out.hs
@@ -0,0 +1,17 @@
+-- Comments in a do block that open as Haddocks would document nothing, so
+-- their triggers are escaped.
+module Kiln.Firing (fire) where
+
+fire :: IO ()
+fire = do
+  -- \| heat slowly at first, or the glaze cracks
+  rampUp 100
+  -- \* hold at the peak
+  -- \^ for about ten minutes
+  hold 10
+  {- \| let it cool on its own:
+  * no opening the lid
+  -}
+  coolDown
+  -- \$ventilation
+  pure ()
diff --git a/corpora/vendored/haddock/text/haddocks-in-a-do-block.hs b/corpora/vendored/haddock/text/haddocks-in-a-do-block.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/haddock/text/haddocks-in-a-do-block.hs
@@ -0,0 +1,17 @@
+-- Comments in a do block that open as Haddocks would document nothing, so
+-- their triggers are escaped.
+module Kiln.Firing (fire) where
+
+fire :: IO ()
+fire = do
+  -- | heat slowly at first, or the glaze cracks
+  rampUp 100
+  -- * hold at the peak
+  -- ^ for about ten minutes
+  hold 10
+  {- | let it cool on its own:
+  * no opening the lid
+  -}
+  coolDown
+  -- $ventilation
+  pure ()
diff --git a/corpora/vendored/import/a-comment-with-no-name-after-it-out.hs b/corpora/vendored/import/a-comment-with-no-name-after-it-out.hs
deleted file mode 100644
--- a/corpora/vendored/import/a-comment-with-no-name-after-it-out.hs
+++ /dev/null
@@ -1,10 +0,0 @@
-module Ledger.Journal where
-
-import Ledger.Entry (entryDate)
-import Ledger.Entry
-  ( entryNarration,
-    -- kept as written, trailing spaces and all
-  )
-
-dated :: Entry -> Int
-dated = entryDate
diff --git a/corpora/vendored/import/a-comment-with-no-name-after-it.hs b/corpora/vendored/import/a-comment-with-no-name-after-it.hs
deleted file mode 100644
--- a/corpora/vendored/import/a-comment-with-no-name-after-it.hs
+++ /dev/null
@@ -1,10 +0,0 @@
-module Ledger.Journal where
-
-import Ledger.Entry (entryDate)
-import Ledger.Entry
-  ( entryNarration
-  -- kept as written, trailing spaces and all
-  )
-
-dated :: Entry -> Int
-dated = entryDate
diff --git a/corpora/vendored/import/block-comment-in-a-one-line-list-out.hs b/corpora/vendored/import/block-comment-in-a-one-line-list-out.hs
deleted file mode 100644
--- a/corpora/vendored/import/block-comment-in-a-one-line-list-out.hs
+++ /dev/null
@@ -1,6 +0,0 @@
-module Inventory.Count where
-
-import Data.Map.Strict (Map, {- strict in the counts -} insertWith)
-
-bump :: String -> Map String Int -> Map String Int
-bump item = insertWith (+) item 1
diff --git a/corpora/vendored/import/block-comment-in-a-one-line-list.hs b/corpora/vendored/import/block-comment-in-a-one-line-list.hs
deleted file mode 100644
--- a/corpora/vendored/import/block-comment-in-a-one-line-list.hs
+++ /dev/null
@@ -1,6 +0,0 @@
-module Inventory.Count where
-
-import Data.Map.Strict (Map, {- strict in the counts -} insertWith)
-
-bump :: String -> Map String Int -> Map String Int
-bump item = insertWith (+) item 1
diff --git a/corpora/vendored/import/comment-above-the-first-import-out.hs b/corpora/vendored/import/comment-above-the-first-import-out.hs
deleted file mode 100644
--- a/corpora/vendored/import/comment-above-the-first-import-out.hs
+++ /dev/null
@@ -1,9 +0,0 @@
-module Survey.Tally where
-
-import Data.Map.Strict (Map)
-import qualified Data.Map.Strict as Map
--- answers arrive as text and are counted per question
-import Survey.Answer (Answer, answerText)
-
-tally :: [Answer] -> Map String Int
-tally = foldr (\a -> Map.insertWith (+) (answerText a) 1) Map.empty
diff --git a/corpora/vendored/import/comment-above-the-first-import-with-no-module-line-out.hs b/corpora/vendored/import/comment-above-the-first-import-with-no-module-line-out.hs
deleted file mode 100644
--- a/corpora/vendored/import/comment-above-the-first-import-with-no-module-line-out.hs
+++ /dev/null
@@ -1,9 +0,0 @@
-{-# LANGUAGE OverloadedStrings #-}
-
-import Data.Text (Text)
-import qualified Data.Text.IO as Text
--- the report is written to standard output, one question per line
-import System.IO (stdout)
-
-main :: IO ()
-main = Text.hPutStrLn stdout ("questions" :: Text)
diff --git a/corpora/vendored/import/comment-above-the-first-import-with-no-module-line.hs b/corpora/vendored/import/comment-above-the-first-import-with-no-module-line.hs
deleted file mode 100644
--- a/corpora/vendored/import/comment-above-the-first-import-with-no-module-line.hs
+++ /dev/null
@@ -1,9 +0,0 @@
-{-# LANGUAGE OverloadedStrings #-}
-
--- the report is written to standard output, one question per line
-import System.IO (stdout)
-import Data.Text (Text)
-import qualified Data.Text.IO as Text
-
-main :: IO ()
-main = Text.hPutStrLn stdout ("questions" :: Text)
diff --git a/corpora/vendored/import/comment-above-the-first-import.hs b/corpora/vendored/import/comment-above-the-first-import.hs
deleted file mode 100644
--- a/corpora/vendored/import/comment-above-the-first-import.hs
+++ /dev/null
@@ -1,9 +0,0 @@
-module Survey.Tally where
-
--- answers arrive as text and are counted per question
-import Survey.Answer (Answer, answerText)
-import Data.Map.Strict (Map)
-import qualified Data.Map.Strict as Map
-
-tally :: [Answer] -> Map String Int
-tally = foldr (\a -> Map.insertWith (+) (answerText a) 1) Map.empty
diff --git a/corpora/vendored/import/comment-after-the-opening-bracket-out.hs b/corpora/vendored/import/comment-after-the-opening-bracket-out.hs
deleted file mode 100644
--- a/corpora/vendored/import/comment-after-the-opening-bracket-out.hs
+++ /dev/null
@@ -1,16 +0,0 @@
-module M where
-
-import Data.List
-  ( {- for the order -}
-    sortOn,
-  )
-import Data.Map
-  ( {- the map
-    itself -}
-    Map,
-    fromList,
-  )
-import Data.Maybe hiding
-  ( {- not these -}
-    fromJust,
-  )
diff --git a/corpora/vendored/import/comment-after-the-opening-bracket.hs b/corpora/vendored/import/comment-after-the-opening-bracket.hs
deleted file mode 100644
--- a/corpora/vendored/import/comment-after-the-opening-bracket.hs
+++ /dev/null
@@ -1,9 +0,0 @@
-module M where
-
-import Data.List ( {- for the order -}
-  sortOn )
-import Data.Map ( {- the map
-    itself -} Map,
-  fromList )
-import Data.Maybe hiding ( {- not these -}
-  fromJust )
diff --git a/corpora/vendored/import/comment-in-import-list-out.hs b/corpora/vendored/import/comment-in-import-list-out.hs
deleted file mode 100644
--- a/corpora/vendored/import/comment-in-import-list-out.hs
+++ /dev/null
@@ -1,7 +0,0 @@
-import Alpha
-  ( -- nothing taken yet
-  )
-import Beta
-  ( one,
-    -- and nothing else
-  )
diff --git a/corpora/vendored/import/comment-in-import-list.hs b/corpora/vendored/import/comment-in-import-list.hs
deleted file mode 100644
--- a/corpora/vendored/import/comment-in-import-list.hs
+++ /dev/null
@@ -1,6 +0,0 @@
-import Alpha (
-  -- nothing taken yet
-  )
-import Beta (one
-  -- and nothing else
-  )
diff --git a/corpora/vendored/import/comment-inside-a-repeated-import-out.hs b/corpora/vendored/import/comment-inside-a-repeated-import-out.hs
deleted file mode 100644
--- a/corpora/vendored/import/comment-inside-a-repeated-import-out.hs
+++ /dev/null
@@ -1,17 +0,0 @@
-module Cache.Report where
-
-import Cache.Entry
-  ( Entry
-      ( key
-        -- the path the entry was read from
-      ),
-  )
-import Cache.Entry
-  ( Entry
-      ( hits
-        -- counted since the last eviction
-      ),
-  )
-
-describe :: Entry -> String
-describe _ = "entry"
diff --git a/corpora/vendored/import/comment-inside-a-repeated-import.hs b/corpora/vendored/import/comment-inside-a-repeated-import.hs
deleted file mode 100644
--- a/corpora/vendored/import/comment-inside-a-repeated-import.hs
+++ /dev/null
@@ -1,17 +0,0 @@
-module Cache.Report where
-
-import Cache.Entry
-  ( Entry
-      ( key
-      -- the path the entry was read from
-      )
-  )
-import Cache.Entry
-  ( Entry
-      ( hits
-      -- counted since the last eviction
-      )
-  )
-
-describe :: Entry -> String
-describe _ = "entry"
diff --git a/corpora/vendored/import/comment-inside-import-out.hs b/corpora/vendored/import/comment-inside-import-out.hs
deleted file mode 100644
--- a/corpora/vendored/import/comment-inside-import-out.hs
+++ /dev/null
@@ -1,3 +0,0 @@
-import qualified
-  -- on a line of its own
-  Gamma
diff --git a/corpora/vendored/import/comment-inside-import.hs b/corpora/vendored/import/comment-inside-import.hs
deleted file mode 100644
--- a/corpora/vendored/import/comment-inside-import.hs
+++ /dev/null
@@ -1,3 +0,0 @@
-import qualified
-  -- on a line of its own
-  Gamma
diff --git a/corpora/vendored/import/comment-set-apart-from-the-first-import-out.hs b/corpora/vendored/import/comment-set-apart-from-the-first-import-out.hs
deleted file mode 100644
--- a/corpora/vendored/import/comment-set-apart-from-the-first-import-out.hs
+++ /dev/null
@@ -1,11 +0,0 @@
-module Survey.Export where
-
---------------------------------------------------------------------------------
--- the answers go out as CSV; nothing here touches the database
-
-import Data.List (intercalate)
-import qualified Data.Map.Strict as Map
-import Survey.Answer (Answer, answerText)
-
-row :: [Answer] -> String
-row = intercalate "," . fmap answerText
diff --git a/corpora/vendored/import/comment-set-apart-from-the-first-import-with-no-module-line-out.hs b/corpora/vendored/import/comment-set-apart-from-the-first-import-with-no-module-line-out.hs
deleted file mode 100644
--- a/corpora/vendored/import/comment-set-apart-from-the-first-import-with-no-module-line-out.hs
+++ /dev/null
@@ -1,10 +0,0 @@
-{-# LANGUAGE OverloadedStrings #-}
-
--- Copyright the survey's authors. Released under the BSD3 licence.
-
-import Data.Text (Text)
-import qualified Data.Text.IO as Text
-import System.IO (stdout)
-
-main :: IO ()
-main = Text.hPutStrLn stdout ("questions" :: Text)
diff --git a/corpora/vendored/import/comment-set-apart-from-the-first-import-with-no-module-line.hs b/corpora/vendored/import/comment-set-apart-from-the-first-import-with-no-module-line.hs
deleted file mode 100644
--- a/corpora/vendored/import/comment-set-apart-from-the-first-import-with-no-module-line.hs
+++ /dev/null
@@ -1,10 +0,0 @@
-{-# LANGUAGE OverloadedStrings #-}
-
--- Copyright the survey's authors. Released under the BSD3 licence.
-
-import System.IO (stdout)
-import Data.Text (Text)
-import qualified Data.Text.IO as Text
-
-main :: IO ()
-main = Text.hPutStrLn stdout ("questions" :: Text)
diff --git a/corpora/vendored/import/comment-set-apart-from-the-first-import.hs b/corpora/vendored/import/comment-set-apart-from-the-first-import.hs
deleted file mode 100644
--- a/corpora/vendored/import/comment-set-apart-from-the-first-import.hs
+++ /dev/null
@@ -1,11 +0,0 @@
-module Survey.Export where
-
---------------------------------------------------------------------------------
--- the answers go out as CSV; nothing here touches the database
-
-import Survey.Answer (Answer, answerText)
-import Data.List (intercalate)
-import qualified Data.Map.Strict as Map
-
-row :: [Answer] -> String
-row = intercalate "," . fmap answerText
diff --git a/corpora/vendored/import/comment/a-comment-with-no-name-after-it-out'.hs b/corpora/vendored/import/comment/a-comment-with-no-name-after-it-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/comment/a-comment-with-no-name-after-it-out'.hs
@@ -0,0 +1,10 @@
+module Ledger.Journal where
+
+import Ledger.Entry (entryDate)
+import Ledger.Entry
+    ( entryNarration
+      -- kept as written, trailing spaces and all
+    )
+
+dated :: Entry -> Int
+dated = entryDate
diff --git a/corpora/vendored/import/comment/a-comment-with-no-name-after-it-out.hs b/corpora/vendored/import/comment/a-comment-with-no-name-after-it-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/comment/a-comment-with-no-name-after-it-out.hs
@@ -0,0 +1,10 @@
+module Ledger.Journal where
+
+import Ledger.Entry (entryDate)
+import Ledger.Entry
+  ( entryNarration,
+    -- kept as written, trailing spaces and all
+  )
+
+dated :: Entry -> Int
+dated = entryDate
diff --git a/corpora/vendored/import/comment/a-comment-with-no-name-after-it.hs b/corpora/vendored/import/comment/a-comment-with-no-name-after-it.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/comment/a-comment-with-no-name-after-it.hs
@@ -0,0 +1,10 @@
+module Ledger.Journal where
+
+import Ledger.Entry (entryDate)
+import Ledger.Entry
+  ( entryNarration
+  -- kept as written, trailing spaces and all
+  )
+
+dated :: Entry -> Int
+dated = entryDate
diff --git a/corpora/vendored/import/comment/block-and-line-comment-above-the-first-import-out.hs b/corpora/vendored/import/comment/block-and-line-comment-above-the-first-import-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/comment/block-and-line-comment-above-the-first-import-out.hs
@@ -0,0 +1,10 @@
+module Survey.Merge where
+
+import Data.List (sortOn)
+import qualified Data.Map.Strict as Map
+{- Answers from older surveys are migrated before they are merged. -}
+-- The migration is kept apart from the merge itself.
+import Survey.Migrate (migrate)
+
+merge :: [(Int, String)] -> [(Int, String)]
+merge = sortOn fst . Map.toList . Map.fromList . fmap migrate
diff --git a/corpora/vendored/import/comment/block-and-line-comment-above-the-first-import.hs b/corpora/vendored/import/comment/block-and-line-comment-above-the-first-import.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/comment/block-and-line-comment-above-the-first-import.hs
@@ -0,0 +1,10 @@
+module Survey.Merge where
+
+{- Answers from older surveys are migrated before they are merged. -}
+-- The migration is kept apart from the merge itself.
+import Survey.Migrate (migrate)
+import Data.List (sortOn)
+import qualified Data.Map.Strict as Map
+
+merge :: [(Int, String)] -> [(Int, String)]
+merge = sortOn fst . Map.toList . Map.fromList . fmap migrate
diff --git a/corpora/vendored/import/comment/block-comment-in-a-one-line-list-out.hs b/corpora/vendored/import/comment/block-comment-in-a-one-line-list-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/comment/block-comment-in-a-one-line-list-out.hs
@@ -0,0 +1,6 @@
+module Inventory.Count where
+
+import Data.Map.Strict (Map, {- strict in the counts -} insertWith)
+
+bump :: String -> Map String Int -> Map String Int
+bump item = insertWith (+) item 1
diff --git a/corpora/vendored/import/comment/block-comment-in-a-one-line-list.hs b/corpora/vendored/import/comment/block-comment-in-a-one-line-list.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/comment/block-comment-in-a-one-line-list.hs
@@ -0,0 +1,6 @@
+module Inventory.Count where
+
+import Data.Map.Strict (Map, {- strict in the counts -} insertWith)
+
+bump :: String -> Map String Int -> Map String Int
+bump item = insertWith (+) item 1
diff --git a/corpora/vendored/import/comment/comment-above-the-first-import-out.hs b/corpora/vendored/import/comment/comment-above-the-first-import-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/comment/comment-above-the-first-import-out.hs
@@ -0,0 +1,9 @@
+module Survey.Tally where
+
+import Data.Map.Strict (Map)
+import qualified Data.Map.Strict as Map
+-- answers arrive as text and are counted per question
+import Survey.Answer (Answer, answerText)
+
+tally :: [Answer] -> Map String Int
+tally = foldr (\a -> Map.insertWith (+) (answerText a) 1) Map.empty
diff --git a/corpora/vendored/import/comment/comment-above-the-first-import-with-no-module-line-out.hs b/corpora/vendored/import/comment/comment-above-the-first-import-with-no-module-line-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/comment/comment-above-the-first-import-with-no-module-line-out.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE OverloadedStrings #-}
+
+import Data.Text (Text)
+import qualified Data.Text.IO as Text
+-- the report is written to standard output, one question per line
+import System.IO (stdout)
+
+main :: IO ()
+main = Text.hPutStrLn stdout ("questions" :: Text)
diff --git a/corpora/vendored/import/comment/comment-above-the-first-import-with-no-module-line.hs b/corpora/vendored/import/comment/comment-above-the-first-import-with-no-module-line.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/comment/comment-above-the-first-import-with-no-module-line.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE OverloadedStrings #-}
+
+-- the report is written to standard output, one question per line
+import System.IO (stdout)
+import Data.Text (Text)
+import qualified Data.Text.IO as Text
+
+main :: IO ()
+main = Text.hPutStrLn stdout ("questions" :: Text)
diff --git a/corpora/vendored/import/comment/comment-above-the-first-import.hs b/corpora/vendored/import/comment/comment-above-the-first-import.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/comment/comment-above-the-first-import.hs
@@ -0,0 +1,9 @@
+module Survey.Tally where
+
+-- answers arrive as text and are counted per question
+import Survey.Answer (Answer, answerText)
+import Data.Map.Strict (Map)
+import qualified Data.Map.Strict as Map
+
+tally :: [Answer] -> Map String Int
+tally = foldr (\a -> Map.insertWith (+) (answerText a) 1) Map.empty
diff --git a/corpora/vendored/import/comment/comment-after-the-opening-bracket-out'.hs b/corpora/vendored/import/comment/comment-after-the-opening-bracket-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/comment/comment-after-the-opening-bracket-out'.hs
@@ -0,0 +1,16 @@
+module M where
+
+import Data.List
+    ( {- for the order -}
+      sortOn
+    )
+import Data.Map
+    ( {- the map
+      itself -}
+      Map
+    , fromList
+    )
+import Data.Maybe hiding
+    ( {- not these -}
+      fromJust
+    )
diff --git a/corpora/vendored/import/comment/comment-after-the-opening-bracket-out.hs b/corpora/vendored/import/comment/comment-after-the-opening-bracket-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/comment/comment-after-the-opening-bracket-out.hs
@@ -0,0 +1,16 @@
+module M where
+
+import Data.List
+  ( {- for the order -}
+    sortOn,
+  )
+import Data.Map
+  ( {- the map
+    itself -}
+    Map,
+    fromList,
+  )
+import Data.Maybe hiding
+  ( {- not these -}
+    fromJust,
+  )
diff --git a/corpora/vendored/import/comment/comment-after-the-opening-bracket.hs b/corpora/vendored/import/comment/comment-after-the-opening-bracket.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/comment/comment-after-the-opening-bracket.hs
@@ -0,0 +1,9 @@
+module M where
+
+import Data.List ( {- for the order -}
+  sortOn )
+import Data.Map ( {- the map
+    itself -} Map,
+  fromList )
+import Data.Maybe hiding ( {- not these -}
+  fromJust )
diff --git a/corpora/vendored/import/comment/comment-carrying-on-the-remark-of-the-last-import-out.hs b/corpora/vendored/import/comment/comment-carrying-on-the-remark-of-the-last-import-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/comment/comment-carrying-on-the-remark-of-the-last-import-out.hs
@@ -0,0 +1,7 @@
+module Garden.Shed where
+
+import Garden.Seasons -- every job is planned by season
+                      -- so the seasons come before anything else
+import Garden.Tools
+
+data Shed = Shed
diff --git a/corpora/vendored/import/comment/comment-carrying-on-the-remark-of-the-last-import-set-apart-out.hs b/corpora/vendored/import/comment/comment-carrying-on-the-remark-of-the-last-import-set-apart-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/comment/comment-carrying-on-the-remark-of-the-last-import-set-apart-out.hs
@@ -0,0 +1,9 @@
+-- The empty line under a comment carrying on the remark of the last import
+-- stays at the end of the imports when sorting moves that import.
+module Garden.Shed where
+
+import Garden.Seasons -- every job is planned by season
+                      -- so the seasons come before anything else
+import Garden.Tools
+
+data Shed = Shed
diff --git a/corpora/vendored/import/comment/comment-carrying-on-the-remark-of-the-last-import-set-apart.hs b/corpora/vendored/import/comment/comment-carrying-on-the-remark-of-the-last-import-set-apart.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/comment/comment-carrying-on-the-remark-of-the-last-import-set-apart.hs
@@ -0,0 +1,9 @@
+-- The empty line under a comment carrying on the remark of the last import
+-- stays at the end of the imports when sorting moves that import.
+module Garden.Shed where
+
+import Garden.Tools
+import Garden.Seasons -- every job is planned by season
+                      -- so the seasons come before anything else
+
+data Shed = Shed
diff --git a/corpora/vendored/import/comment/comment-carrying-on-the-remark-of-the-last-import.hs b/corpora/vendored/import/comment/comment-carrying-on-the-remark-of-the-last-import.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/comment/comment-carrying-on-the-remark-of-the-last-import.hs
@@ -0,0 +1,6 @@
+module Garden.Shed where
+
+import Garden.Tools
+import Garden.Seasons -- every job is planned by season
+                      -- so the seasons come before anything else
+data Shed = Shed
diff --git a/corpora/vendored/import/comment/comment-in-import-list-out'.hs b/corpora/vendored/import/comment/comment-in-import-list-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/comment/comment-in-import-list-out'.hs
@@ -0,0 +1,7 @@
+import Alpha
+    ( -- nothing taken yet
+    )
+import Beta
+    ( one
+      -- and nothing else
+    )
diff --git a/corpora/vendored/import/comment/comment-in-import-list-out.hs b/corpora/vendored/import/comment/comment-in-import-list-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/comment/comment-in-import-list-out.hs
@@ -0,0 +1,7 @@
+import Alpha
+  ( -- nothing taken yet
+  )
+import Beta
+  ( one,
+    -- and nothing else
+  )
diff --git a/corpora/vendored/import/comment/comment-in-import-list.hs b/corpora/vendored/import/comment/comment-in-import-list.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/comment/comment-in-import-list.hs
@@ -0,0 +1,6 @@
+import Alpha (
+  -- nothing taken yet
+  )
+import Beta (one
+  -- and nothing else
+  )
diff --git a/corpora/vendored/import/comment/comment-inside-import-out'.hs b/corpora/vendored/import/comment/comment-inside-import-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/comment/comment-inside-import-out'.hs
@@ -0,0 +1,3 @@
+import qualified
+    -- on a line of its own
+    Gamma
diff --git a/corpora/vendored/import/comment/comment-inside-import-out.hs b/corpora/vendored/import/comment/comment-inside-import-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/comment/comment-inside-import-out.hs
@@ -0,0 +1,3 @@
+import qualified
+  -- on a line of its own
+  Gamma
diff --git a/corpora/vendored/import/comment/comment-inside-import.hs b/corpora/vendored/import/comment/comment-inside-import.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/comment/comment-inside-import.hs
@@ -0,0 +1,3 @@
+import qualified
+  -- on a line of its own
+  Gamma
diff --git a/corpora/vendored/import/comment/comment-right-under-an-import-out.hs b/corpora/vendored/import/comment/comment-right-under-an-import-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/comment/comment-right-under-an-import-out.hs
@@ -0,0 +1,10 @@
+module Weather.Station (station) where
+
+import Data.Char (toUpper)
+-- Station names are upper case.
+import Data.Map.Strict (Map)
+import Text.Read (readMaybe)
+-- Kept for reading observations.
+
+station :: Map String Int
+station = mempty
diff --git a/corpora/vendored/import/comment/comment-right-under-an-import.hs b/corpora/vendored/import/comment/comment-right-under-an-import.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/comment/comment-right-under-an-import.hs
@@ -0,0 +1,11 @@
+module Weather.Station (station) where
+
+import Data.Map.Strict (Map)
+import Data.Char (toUpper)
+-- Station names are upper case.
+
+import Text.Read (readMaybe)
+-- Kept for reading observations.
+
+station :: Map String Int
+station = mempty
diff --git a/corpora/vendored/import/comment/comment-set-apart-among-the-imports-out.hs b/corpora/vendored/import/comment/comment-set-apart-among-the-imports-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/comment/comment-set-apart-among-the-imports-out.hs
@@ -0,0 +1,13 @@
+module Weather.Station (station) where
+
+import Data.Char (toUpper)
+import Data.Map.Strict (Map)
+
+-- Reading the observations.
+
+import Data.List (sortOn)
+-- readMaybe rejects malformed numbers.
+import Text.Read (readMaybe)
+
+station :: Map String Int
+station = mempty
diff --git a/corpora/vendored/import/comment/comment-set-apart-among-the-imports.hs b/corpora/vendored/import/comment/comment-set-apart-among-the-imports.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/comment/comment-set-apart-among-the-imports.hs
@@ -0,0 +1,13 @@
+module Weather.Station (station) where
+
+import Data.Map.Strict (Map)
+import Data.Char (toUpper)
+
+-- Reading the observations.
+
+-- readMaybe rejects malformed numbers.
+import Text.Read (readMaybe)
+import Data.List (sortOn)
+
+station :: Map String Int
+station = mempty
diff --git a/corpora/vendored/import/comment/comment-set-apart-from-the-first-import-out.hs b/corpora/vendored/import/comment/comment-set-apart-from-the-first-import-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/comment/comment-set-apart-from-the-first-import-out.hs
@@ -0,0 +1,11 @@
+module Survey.Export where
+
+--------------------------------------------------------------------------------
+-- the answers go out as CSV; nothing here touches the database
+
+import Data.List (intercalate)
+import qualified Data.Map.Strict as Map
+import Survey.Answer (Answer, answerText)
+
+row :: [Answer] -> String
+row = intercalate "," . fmap answerText
diff --git a/corpora/vendored/import/comment/comment-set-apart-from-the-first-import-with-no-module-line-out.hs b/corpora/vendored/import/comment/comment-set-apart-from-the-first-import-with-no-module-line-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/comment/comment-set-apart-from-the-first-import-with-no-module-line-out.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE OverloadedStrings #-}
+
+-- Copyright the survey's authors. Released under the BSD3 licence.
+
+import Data.Text (Text)
+import qualified Data.Text.IO as Text
+import System.IO (stdout)
+
+main :: IO ()
+main = Text.hPutStrLn stdout ("questions" :: Text)
diff --git a/corpora/vendored/import/comment/comment-set-apart-from-the-first-import-with-no-module-line.hs b/corpora/vendored/import/comment/comment-set-apart-from-the-first-import-with-no-module-line.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/comment/comment-set-apart-from-the-first-import-with-no-module-line.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE OverloadedStrings #-}
+
+-- Copyright the survey's authors. Released under the BSD3 licence.
+
+import System.IO (stdout)
+import Data.Text (Text)
+import qualified Data.Text.IO as Text
+
+main :: IO ()
+main = Text.hPutStrLn stdout ("questions" :: Text)
diff --git a/corpora/vendored/import/comment/comment-set-apart-from-the-first-import.hs b/corpora/vendored/import/comment/comment-set-apart-from-the-first-import.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/comment/comment-set-apart-from-the-first-import.hs
@@ -0,0 +1,11 @@
+module Survey.Export where
+
+--------------------------------------------------------------------------------
+-- the answers go out as CSV; nothing here touches the database
+
+import Survey.Answer (Answer, answerText)
+import Data.List (intercalate)
+import qualified Data.Map.Strict as Map
+
+row :: [Answer] -> String
+row = intercalate "," . fmap answerText
diff --git a/corpora/vendored/import/comment/comment-under-the-last-import-at-the-end-of-the-module-out.hs b/corpora/vendored/import/comment/comment-under-the-last-import-at-the-end-of-the-module-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/comment/comment-under-the-last-import-at-the-end-of-the-module-out.hs
@@ -0,0 +1,5 @@
+module Garden.Prelude where
+
+import Garden.Compost
+import Garden.Soil
+-- import Garden.Mulch
diff --git a/corpora/vendored/import/comment/comment-under-the-last-import-at-the-end-of-the-module.hs b/corpora/vendored/import/comment/comment-under-the-last-import-at-the-end-of-the-module.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/comment/comment-under-the-last-import-at-the-end-of-the-module.hs
@@ -0,0 +1,5 @@
+module Garden.Prelude where
+
+import Garden.Soil
+import Garden.Compost
+-- import Garden.Mulch
diff --git a/corpora/vendored/import/comment/comments-after-the-alias-and-the-opening-bracket-out'.hs b/corpora/vendored/import/comment/comments-after-the-alias-and-the-opening-bracket-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/comment/comments-after-the-alias-and-the-opening-bracket-out'.hs
@@ -0,0 +1,8 @@
+module M where
+
+import Data.List as L -- for the order
+    ( -- only this
+      sort
+    )
+
+f = L.sort
diff --git a/corpora/vendored/import/comment/comments-after-the-alias-and-the-opening-bracket-out.hs b/corpora/vendored/import/comment/comments-after-the-alias-and-the-opening-bracket-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/comment/comments-after-the-alias-and-the-opening-bracket-out.hs
@@ -0,0 +1,8 @@
+module M where
+
+import Data.List as L -- for the order
+  ( -- only this
+    sort,
+  )
+
+f = L.sort
diff --git a/corpora/vendored/import/comment/comments-after-the-alias-and-the-opening-bracket.hs b/corpora/vendored/import/comment/comments-after-the-alias-and-the-opening-bracket.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/comment/comments-after-the-alias-and-the-opening-bracket.hs
@@ -0,0 +1,7 @@
+module M where
+
+import Data.List as -- for the order
+  L ( -- only this
+    sort )
+
+f = L.sort
diff --git a/corpora/vendored/import/comment/comments-over-and-on-top-of-the-first-import-out.hs b/corpora/vendored/import/comment/comments-over-and-on-top-of-the-first-import-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/comment/comments-over-and-on-top-of-the-first-import-out.hs
@@ -0,0 +1,11 @@
+module Survey.Weights where
+
+-- weights are read once and kept for the whole run
+
+import Data.IORef (IORef, newIORef)
+import Data.Map.Strict (Map)
+-- answers are matched to their questions by position
+import Survey.Answer (Answer)
+
+weights :: IO (IORef (Map Int Double))
+weights = newIORef mempty
diff --git a/corpora/vendored/import/comment/comments-over-and-on-top-of-the-first-import.hs b/corpora/vendored/import/comment/comments-over-and-on-top-of-the-first-import.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/comment/comments-over-and-on-top-of-the-first-import.hs
@@ -0,0 +1,11 @@
+module Survey.Weights where
+
+-- weights are read once and kept for the whole run
+
+-- answers are matched to their questions by position
+import Survey.Answer (Answer)
+import Data.IORef (IORef, newIORef)
+import Data.Map.Strict (Map)
+
+weights :: IO (IORef (Map Int Double))
+weights = newIORef mempty
diff --git a/corpora/vendored/import/comment/empty-lines-in-an-import-list-out'.hs b/corpora/vendored/import/comment/empty-lines-in-an-import-list-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/comment/empty-lines-in-an-import-list-out'.hs
@@ -0,0 +1,15 @@
+module Weather.Station (station) where
+
+import Data.Map.Strict
+    ( Map
+
+      -- Construction
+    , empty
+    , insert
+
+      -- Query
+    , member
+    )
+
+station :: Map String Int
+station = insert "Oslo" 1 empty
diff --git a/corpora/vendored/import/comment/empty-lines-in-an-import-list-out.hs b/corpora/vendored/import/comment/empty-lines-in-an-import-list-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/comment/empty-lines-in-an-import-list-out.hs
@@ -0,0 +1,15 @@
+module Weather.Station (station) where
+
+import Data.Map.Strict
+  ( Map,
+
+    -- Construction
+    empty,
+    insert,
+
+    -- Query
+    member,
+  )
+
+station :: Map String Int
+station = insert "Oslo" 1 empty
diff --git a/corpora/vendored/import/comment/empty-lines-in-an-import-list.hs b/corpora/vendored/import/comment/empty-lines-in-an-import-list.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/comment/empty-lines-in-an-import-list.hs
@@ -0,0 +1,15 @@
+module Weather.Station (station) where
+
+import Data.Map.Strict
+  ( Map,
+
+    -- Construction
+    empty,
+    insert,
+
+    -- Query
+    member,
+  )
+
+station :: Map String Int
+station = insert "Oslo" 1 empty
diff --git a/corpora/vendored/import/comment/line-comment-after-the-opening-bracket-out'.hs b/corpora/vendored/import/comment/line-comment-after-the-opening-bracket-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/comment/line-comment-after-the-opening-bracket-out'.hs
@@ -0,0 +1,15 @@
+module M where
+
+import Data.Char hiding
+    ( -- not these
+      ord
+    )
+import Data.Map
+    ( -- the map
+      -- and its builder
+      Map
+    , fromList
+    )
+import Data.Set
+    ( -- nothing yet
+    )
diff --git a/corpora/vendored/import/comment/line-comment-after-the-opening-bracket-out.hs b/corpora/vendored/import/comment/line-comment-after-the-opening-bracket-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/comment/line-comment-after-the-opening-bracket-out.hs
@@ -0,0 +1,15 @@
+module M where
+
+import Data.Char hiding
+  ( -- not these
+    ord,
+  )
+import Data.Map
+  ( -- the map
+    -- and its builder
+    Map,
+    fromList,
+  )
+import Data.Set
+  ( -- nothing yet
+  )
diff --git a/corpora/vendored/import/comment/line-comment-after-the-opening-bracket.hs b/corpora/vendored/import/comment/line-comment-after-the-opening-bracket.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/comment/line-comment-after-the-opening-bracket.hs
@@ -0,0 +1,9 @@
+module M where
+
+import Data.Map ( -- the map
+                  -- and its builder
+  Map, fromList )
+import Data.Set ( -- nothing yet
+  )
+import Data.Char hiding ( -- not these
+  ord )
diff --git a/corpora/vendored/import/comment/line-comment-between-hiding-and-its-list-out.hs b/corpora/vendored/import/comment/line-comment-between-hiding-and-its-list-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/comment/line-comment-between-hiding-and-its-list-out.hs
@@ -0,0 +1,6 @@
+module Inventory.Index where
+
+import Data.Map hiding (filter, map) -- the Prelude's are the ones meant below
+
+index :: [(String, Int)] -> Map String Int
+index = fromList . map id . filter ((> 0) . snd)
diff --git a/corpora/vendored/import/comment/line-comment-between-hiding-and-its-list.hs b/corpora/vendored/import/comment/line-comment-between-hiding-and-its-list.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/comment/line-comment-between-hiding-and-its-list.hs
@@ -0,0 +1,7 @@
+module Inventory.Index where
+
+import Data.Map hiding -- the Prelude's are the ones meant below
+  (filter, map)
+
+index :: [(String, Int)] -> Map String Int
+index = fromList . map id . filter ((> 0) . snd)
diff --git a/corpora/vendored/import/comment/lines-of-semicolons-above-the-first-import-out.hs b/corpora/vendored/import/comment/lines-of-semicolons-above-the-first-import-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/comment/lines-of-semicolons-above-the-first-import-out.hs
@@ -0,0 +1,8 @@
+module Survey.Weights where
+
+import Data.Map.Strict (Map)
+-- weights are read once and kept for the whole run
+import Survey.Answer (Answer)
+
+weights :: Map Int Double
+weights = mempty
diff --git a/corpora/vendored/import/comment/lines-of-semicolons-above-the-first-import.hs b/corpora/vendored/import/comment/lines-of-semicolons-above-the-first-import.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/comment/lines-of-semicolons-above-the-first-import.hs
@@ -0,0 +1,10 @@
+module Survey.Weights where
+
+-- weights are read once and kept for the whole run
+;;;; ;;
+import Survey.Answer (Answer)
+; ; ;
+import Data.Map.Strict (Map)
+
+weights :: Map Int Double
+weights = mempty
diff --git a/corpora/vendored/import/comments-over-and-on-top-of-the-first-import-out.hs b/corpora/vendored/import/comments-over-and-on-top-of-the-first-import-out.hs
deleted file mode 100644
--- a/corpora/vendored/import/comments-over-and-on-top-of-the-first-import-out.hs
+++ /dev/null
@@ -1,11 +0,0 @@
-module Survey.Weights where
-
--- weights are read once and kept for the whole run
-
-import Data.IORef (IORef, newIORef)
-import Data.Map.Strict (Map)
--- answers are matched to their questions by position
-import Survey.Answer (Answer)
-
-weights :: IO (IORef (Map Int Double))
-weights = newIORef mempty
diff --git a/corpora/vendored/import/comments-over-and-on-top-of-the-first-import.hs b/corpora/vendored/import/comments-over-and-on-top-of-the-first-import.hs
deleted file mode 100644
--- a/corpora/vendored/import/comments-over-and-on-top-of-the-first-import.hs
+++ /dev/null
@@ -1,11 +0,0 @@
-module Survey.Weights where
-
--- weights are read once and kept for the whole run
-
--- answers are matched to their questions by position
-import Survey.Answer (Answer)
-import Data.IORef (IORef, newIORef)
-import Data.Map.Strict (Map)
-
-weights :: IO (IORef (Map Int Double))
-weights = newIORef mempty
diff --git a/corpora/vendored/import/hiding-a-name-beside-its-constructors-out.hs b/corpora/vendored/import/hiding-a-name-beside-its-constructors-out.hs
deleted file mode 100644
--- a/corpora/vendored/import/hiding-a-name-beside-its-constructors-out.hs
+++ /dev/null
@@ -1,10 +0,0 @@
-module Studio.Palette where
-
-import Studio.Colour (Colour (Green))
-import Studio.Colour hiding (Colour, Colour (Blue, Red), Shade, Shade (..))
-import Studio.Paint hiding (Paint, Paint (..))
-
-data Swatch = Colour | Shade
-
-swatch :: Swatch
-swatch = Colour
diff --git a/corpora/vendored/import/hiding-a-name-beside-its-constructors.hs b/corpora/vendored/import/hiding-a-name-beside-its-constructors.hs
deleted file mode 100644
--- a/corpora/vendored/import/hiding-a-name-beside-its-constructors.hs
+++ /dev/null
@@ -1,11 +0,0 @@
-module Studio.Palette where
-
-import Studio.Colour hiding (Colour (Red), Colour, Colour (Blue), Shade, Shade (..))
-import Studio.Colour (Colour, Colour (Green))
-import Studio.Paint
-  hiding (Paint (..), Paint)
-
-data Swatch = Colour | Shade
-
-swatch :: Swatch
-swatch = Colour
diff --git a/corpora/vendored/import/hiding-written-on-a-line-of-its-own-out.hs b/corpora/vendored/import/hiding-written-on-a-line-of-its-own-out.hs
deleted file mode 100644
--- a/corpora/vendored/import/hiding-written-on-a-line-of-its-own-out.hs
+++ /dev/null
@@ -1,11 +0,0 @@
-module Inventory.Search where
-
-import Data.Map hiding (filter, map)
-import Data.Set hiding
-  ( filter,
-    map,
-  )
-import qualified Data.Text as T hiding (null)
-
-matching :: (k -> Bool) -> Map k v -> [k]
-matching p = Prelude.filter p . keys
diff --git a/corpora/vendored/import/hiding-written-on-a-line-of-its-own.hs b/corpora/vendored/import/hiding-written-on-a-line-of-its-own.hs
deleted file mode 100644
--- a/corpora/vendored/import/hiding-written-on-a-line-of-its-own.hs
+++ /dev/null
@@ -1,13 +0,0 @@
-module Inventory.Search where
-
-import Data.Map
-  hiding (filter, map)
-import Data.Set hiding
-  ( filter,
-    map
-  )
-import qualified Data.Text as T
-  hiding (null)
-
-matching :: (k -> Bool) -> Map k v -> [k]
-matching p = Prelude.filter p . keys
diff --git a/corpora/vendored/import/layout/hiding-written-on-a-line-of-its-own-out'.hs b/corpora/vendored/import/layout/hiding-written-on-a-line-of-its-own-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/layout/hiding-written-on-a-line-of-its-own-out'.hs
@@ -0,0 +1,11 @@
+module Inventory.Search where
+
+import Data.Map hiding (filter, map)
+import Data.Set hiding
+    ( filter
+    , map
+    )
+import qualified Data.Text as T hiding (null)
+
+matching :: (k -> Bool) -> Map k v -> [k]
+matching p = Prelude.filter p . keys
diff --git a/corpora/vendored/import/layout/hiding-written-on-a-line-of-its-own-out.hs b/corpora/vendored/import/layout/hiding-written-on-a-line-of-its-own-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/layout/hiding-written-on-a-line-of-its-own-out.hs
@@ -0,0 +1,11 @@
+module Inventory.Search where
+
+import Data.Map hiding (filter, map)
+import Data.Set hiding
+  ( filter,
+    map,
+  )
+import qualified Data.Text as T hiding (null)
+
+matching :: (k -> Bool) -> Map k v -> [k]
+matching p = Prelude.filter p . keys
diff --git a/corpora/vendored/import/layout/hiding-written-on-a-line-of-its-own.hs b/corpora/vendored/import/layout/hiding-written-on-a-line-of-its-own.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/layout/hiding-written-on-a-line-of-its-own.hs
@@ -0,0 +1,13 @@
+module Inventory.Search where
+
+import Data.Map
+  hiding (filter, map)
+import Data.Set hiding
+  ( filter,
+    map
+  )
+import qualified Data.Text as T
+  hiding (null)
+
+matching :: (k -> Bool) -> Map k v -> [k]
+matching p = Prelude.filter p . keys
diff --git a/corpora/vendored/import/layout/level-after-the-module-name-out.hs b/corpora/vendored/import/layout/level-after-the-module-name-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/layout/level-after-the-module-name-out.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE ExplicitLevelImports #-}
+{-# LANGUAGE ImportQualifiedPost #-}
+
+module Weather.Derive where
+
+import Weather.Lift quote
+import Weather.Syntax splice (deriveForecast)
+import Weather.Syntax quote qualified as Quoted
+
+forecast :: String
+forecast = "fair"
diff --git a/corpora/vendored/import/layout/level-after-the-module-name.hs b/corpora/vendored/import/layout/level-after-the-module-name.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/layout/level-after-the-module-name.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE ExplicitLevelImports #-}
+{-# LANGUAGE ImportQualifiedPost #-}
+
+module Weather.Derive where
+
+import Weather.Syntax splice (deriveForecast)
+import Weather.Lift quote
+import Weather.Syntax quote qualified as Quoted
+
+forecast :: String
+forecast = "fair"
diff --git a/corpora/vendored/import/layout/list-written-across-lines-out'.hs b/corpora/vendored/import/layout/list-written-across-lines-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/layout/list-written-across-lines-out'.hs
@@ -0,0 +1,22 @@
+module Inventory.Ledger where
+
+import Data.Map.Strict
+    ( Map
+    , insertWith
+    )
+import Data.Sequence
+    ( Seq
+    , empty
+    , fromList
+    )
+import Data.Text
+    ( Text
+    , pack
+    )
+import Data.Time
+    ( UTCTime
+    , getCurrentTime
+    )
+
+record :: Text -> Int -> Map Text Int -> Map Text Int
+record = insertWith (+)
diff --git a/corpora/vendored/import/layout/list-written-across-lines-out.hs b/corpora/vendored/import/layout/list-written-across-lines-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/layout/list-written-across-lines-out.hs
@@ -0,0 +1,22 @@
+module Inventory.Ledger where
+
+import Data.Map.Strict
+  ( Map,
+    insertWith,
+  )
+import Data.Sequence
+  ( Seq,
+    empty,
+    fromList,
+  )
+import Data.Text
+  ( Text,
+    pack,
+  )
+import Data.Time
+  ( UTCTime,
+    getCurrentTime,
+  )
+
+record :: Text -> Int -> Map Text Int -> Map Text Int
+record = insertWith (+)
diff --git a/corpora/vendored/import/layout/list-written-across-lines.hs b/corpora/vendored/import/layout/list-written-across-lines.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/layout/list-written-across-lines.hs
@@ -0,0 +1,16 @@
+module Inventory.Ledger where
+
+import Data.Map.Strict
+  ( Map,
+    insertWith
+  )
+import Data.Sequence (Seq, empty,
+  fromList)
+import Data.Text (Text, pack
+  )
+import Data.Time
+  (
+    UTCTime, getCurrentTime)
+
+record :: Text -> Int -> Map Text Int -> Map Text Int
+record = insertWith (+)
diff --git a/corpora/vendored/import/layout/list-written-on-one-line-out.hs b/corpora/vendored/import/layout/list-written-on-one-line-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/layout/list-written-on-one-line-out.hs
@@ -0,0 +1,9 @@
+module Inventory.Stock where
+
+import Data.List (sortOn)
+import Data.Map.Strict (Map, adjust, findWithDefault)
+import qualified Data.Set as Set (Set, member)
+import Data.Text (Text)
+
+inStock :: Text -> Map Text Int -> Bool
+inStock item = (> 0) . findWithDefault 0 item
diff --git a/corpora/vendored/import/layout/list-written-on-one-line.hs b/corpora/vendored/import/layout/list-written-on-one-line.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/layout/list-written-on-one-line.hs
@@ -0,0 +1,12 @@
+module Inventory.Stock where
+
+import Data.List
+  (sortOn)
+import Data.Map.Strict
+  (Map, adjust, findWithDefault)
+import qualified Data.Set as Set
+  (Set, member)
+import Data.Text (Text)
+
+inStock :: Text -> Map Text Int -> Bool
+inStock item = (> 0) . findWithDefault 0 item
diff --git a/corpora/vendored/import/layout/names-of-a-type-on-the-next-line-out'.hs b/corpora/vendored/import/layout/names-of-a-type-on-the-next-line-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/layout/names-of-a-type-on-the-next-line-out'.hs
@@ -0,0 +1,14 @@
+module Shapes.Area where
+
+import Data.Either
+    ( Either (Left, Right)
+    , either
+    )
+import Shapes.Kind
+    ( Shape (Circle, Square)
+    , Unit (..)
+    , area
+    )
+
+describe :: Shape -> Either String Double
+describe s = Right (area s)
diff --git a/corpora/vendored/import/layout/names-of-a-type-on-the-next-line-out.hs b/corpora/vendored/import/layout/names-of-a-type-on-the-next-line-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/layout/names-of-a-type-on-the-next-line-out.hs
@@ -0,0 +1,14 @@
+module Shapes.Area where
+
+import Data.Either
+  ( Either (Left, Right),
+    either,
+  )
+import Shapes.Kind
+  ( Shape (Circle, Square),
+    Unit (..),
+    area,
+  )
+
+describe :: Shape -> Either String Double
+describe s = Right (area s)
diff --git a/corpora/vendored/import/layout/names-of-a-type-on-the-next-line.hs b/corpora/vendored/import/layout/names-of-a-type-on-the-next-line.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/layout/names-of-a-type-on-the-next-line.hs
@@ -0,0 +1,14 @@
+module Shapes.Area where
+
+import Data.Either (Either
+  (Left, Right), either)
+import Shapes.Kind
+  ( Shape
+      (Circle, Square),
+    Unit
+      (..),
+    area
+  )
+
+describe :: Shape -> Either String Double
+describe s = Right (area s)
diff --git a/corpora/vendored/import/layout/names-of-a-type-written-across-lines-out'.hs b/corpora/vendored/import/layout/names-of-a-type-written-across-lines-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/layout/names-of-a-type-written-across-lines-out'.hs
@@ -0,0 +1,16 @@
+module Shapes.Perimeter where
+
+import Shapes.Kind
+    ( Shape
+        ( Circle
+        , Square
+        )
+    , Side
+        ( Bottom
+        , Top
+        )
+    , perimeter
+    )
+
+total :: [Shape] -> Double
+total = sum . fmap perimeter
diff --git a/corpora/vendored/import/layout/names-of-a-type-written-across-lines-out.hs b/corpora/vendored/import/layout/names-of-a-type-written-across-lines-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/layout/names-of-a-type-written-across-lines-out.hs
@@ -0,0 +1,16 @@
+module Shapes.Perimeter where
+
+import Shapes.Kind
+  ( Shape
+      ( Circle,
+        Square
+      ),
+    Side
+      ( Bottom,
+        Top
+      ),
+    perimeter,
+  )
+
+total :: [Shape] -> Double
+total = sum . fmap perimeter
diff --git a/corpora/vendored/import/layout/names-of-a-type-written-across-lines.hs b/corpora/vendored/import/layout/names-of-a-type-written-across-lines.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/layout/names-of-a-type-written-across-lines.hs
@@ -0,0 +1,14 @@
+module Shapes.Perimeter where
+
+import Shapes.Kind
+  ( Shape
+      ( Circle,
+        Square
+      ),
+    Side (Top,
+      Bottom),
+    perimeter
+  )
+
+total :: [Shape] -> Double
+total = sum . fmap perimeter
diff --git a/corpora/vendored/import/layout/package-name-with-a-string-gap-out.hs b/corpora/vendored/import/layout/package-name-with-a-string-gap-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/layout/package-name-with-a-string-gap-out.hs
@@ -0,0 +1,7 @@
+{-# LANGUAGE ImportQualifiedPost #-}
+{-# LANGUAGE PackageImports #-}
+
+module M where
+
+import "ba\
+       \se" Data.List qualified as L
diff --git a/corpora/vendored/import/layout/package-name-with-a-string-gap.hs b/corpora/vendored/import/layout/package-name-with-a-string-gap.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/layout/package-name-with-a-string-gap.hs
@@ -0,0 +1,7 @@
+{-# LANGUAGE ImportQualifiedPost #-}
+{-# LANGUAGE PackageImports #-}
+
+module M where
+
+import qualified "ba\
+                 \se" Data.List as L
diff --git a/corpora/vendored/import/layout/qualified-after-the-module-name-out.hs b/corpora/vendored/import/layout/qualified-after-the-module-name-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/layout/qualified-after-the-module-name-out.hs
@@ -0,0 +1,6 @@
+{-# LANGUAGE ImportQualifiedPost #-}
+
+module M where
+
+import Data.Map qualified as M
+import Data.Set qualified as S
diff --git a/corpora/vendored/import/layout/qualified-after-the-module-name.hs b/corpora/vendored/import/layout/qualified-after-the-module-name.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/layout/qualified-after-the-module-name.hs
@@ -0,0 +1,4 @@
+{-# LANGUAGE ImportQualifiedPost #-}
+module M where
+import Data.Map qualified as M
+import qualified Data.Set as S
diff --git a/corpora/vendored/import/layout/qualified-before-the-module-name-out.hs b/corpora/vendored/import/layout/qualified-before-the-module-name-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/layout/qualified-before-the-module-name-out.hs
@@ -0,0 +1,4 @@
+module M where
+
+import qualified Data.Map as M
+import qualified Data.Set as S
diff --git a/corpora/vendored/import/layout/qualified-before-the-module-name.hs b/corpora/vendored/import/layout/qualified-before-the-module-name.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/layout/qualified-before-the-module-name.hs
@@ -0,0 +1,3 @@
+module M where
+import qualified Data.Map as M
+import qualified Data.Set as S
diff --git a/corpora/vendored/import/line-comment-between-hiding-and-its-list-out.hs b/corpora/vendored/import/line-comment-between-hiding-and-its-list-out.hs
deleted file mode 100644
--- a/corpora/vendored/import/line-comment-between-hiding-and-its-list-out.hs
+++ /dev/null
@@ -1,9 +0,0 @@
-module Inventory.Index where
-
-import Data.Map hiding -- the Prelude's are the ones meant below
-  ( filter,
-    map,
-  )
-
-index :: [(String, Int)] -> Map String Int
-index = fromList . map id . filter ((> 0) . snd)
diff --git a/corpora/vendored/import/line-comment-between-hiding-and-its-list.hs b/corpora/vendored/import/line-comment-between-hiding-and-its-list.hs
deleted file mode 100644
--- a/corpora/vendored/import/line-comment-between-hiding-and-its-list.hs
+++ /dev/null
@@ -1,7 +0,0 @@
-module Inventory.Index where
-
-import Data.Map hiding -- the Prelude's are the ones meant below
-  (filter, map)
-
-index :: [(String, Int)] -> Map String Int
-index = fromList . map id . filter ((> 0) . snd)
diff --git a/corpora/vendored/import/list-written-across-lines-out.hs b/corpora/vendored/import/list-written-across-lines-out.hs
deleted file mode 100644
--- a/corpora/vendored/import/list-written-across-lines-out.hs
+++ /dev/null
@@ -1,22 +0,0 @@
-module Inventory.Ledger where
-
-import Data.Map.Strict
-  ( Map,
-    insertWith,
-  )
-import Data.Sequence
-  ( Seq,
-    empty,
-    fromList,
-  )
-import Data.Text
-  ( Text,
-    pack,
-  )
-import Data.Time
-  ( UTCTime,
-    getCurrentTime,
-  )
-
-record :: Text -> Int -> Map Text Int -> Map Text Int
-record = insertWith (+)
diff --git a/corpora/vendored/import/list-written-across-lines.hs b/corpora/vendored/import/list-written-across-lines.hs
deleted file mode 100644
--- a/corpora/vendored/import/list-written-across-lines.hs
+++ /dev/null
@@ -1,16 +0,0 @@
-module Inventory.Ledger where
-
-import Data.Map.Strict
-  ( Map,
-    insertWith
-  )
-import Data.Sequence (Seq, empty,
-  fromList)
-import Data.Text (Text, pack
-  )
-import Data.Time
-  (
-    UTCTime, getCurrentTime)
-
-record :: Text -> Int -> Map Text Int -> Map Text Int
-record = insertWith (+)
diff --git a/corpora/vendored/import/list-written-on-one-line-out.hs b/corpora/vendored/import/list-written-on-one-line-out.hs
deleted file mode 100644
--- a/corpora/vendored/import/list-written-on-one-line-out.hs
+++ /dev/null
@@ -1,9 +0,0 @@
-module Inventory.Stock where
-
-import Data.List (sortOn)
-import Data.Map.Strict (Map, adjust, findWithDefault)
-import qualified Data.Set as Set (Set, member)
-import Data.Text (Text)
-
-inStock :: Text -> Map Text Int -> Bool
-inStock item = (> 0) . findWithDefault 0 item
diff --git a/corpora/vendored/import/list-written-on-one-line.hs b/corpora/vendored/import/list-written-on-one-line.hs
deleted file mode 100644
--- a/corpora/vendored/import/list-written-on-one-line.hs
+++ /dev/null
@@ -1,12 +0,0 @@
-module Inventory.Stock where
-
-import Data.List
-  (sortOn)
-import Data.Map.Strict
-  (Map, adjust, findWithDefault)
-import qualified Data.Set as Set
-  (Set, member)
-import Data.Text (Text)
-
-inStock :: Text -> Map Text Int -> Bool
-inStock item = (> 0) . findWithDefault 0 item
diff --git a/corpora/vendored/import/merging-a-list-written-across-lines-out.hs b/corpora/vendored/import/merging-a-list-written-across-lines-out.hs
deleted file mode 100644
--- a/corpora/vendored/import/merging-a-list-written-across-lines-out.hs
+++ /dev/null
@@ -1,21 +0,0 @@
-module Billing.Tax where
-
-import Billing.Rate
-  ( Rate,
-    rateFor,
-    rateName,
-  )
-import Billing.Region
-  ( Region,
-    regionCode,
-    regionName,
-  )
-import Data.Map
-  ( Map,
-    empty,
-    lookup,
-    member,
-  )
-
-tax :: Region -> Double
-tax _ = 0
diff --git a/corpora/vendored/import/merging-a-list-written-across-lines.hs b/corpora/vendored/import/merging-a-list-written-across-lines.hs
deleted file mode 100644
--- a/corpora/vendored/import/merging-a-list-written-across-lines.hs
+++ /dev/null
@@ -1,21 +0,0 @@
-module Billing.Tax where
-
-import Billing.Rate (Rate)
-import Billing.Rate
-  ( rateFor,
-    rateName
-  )
-import Billing.Region
-  ( Region,
-    regionCode
-  )
-import Billing.Region (regionName)
-import Data.Map (Map)
-import Data.Map
-  ( lookup,
-    member
-  )
-import Data.Map (empty)
-
-tax :: Region -> Double
-tax _ = 0
diff --git a/corpora/vendored/import/merging-an-import-with-an-empty-list-out.hs b/corpora/vendored/import/merging-an-import-with-an-empty-list-out.hs
deleted file mode 100644
--- a/corpora/vendored/import/merging-an-import-with-an-empty-list-out.hs
+++ /dev/null
@@ -1,9 +0,0 @@
-module Billing.Currency where
-
-import Data.Map (Map)
-import Data.Set
-import Data.Set (Set)
-import Data.Text ()
-
-rates :: Map String Double
-rates = mempty
diff --git a/corpora/vendored/import/merging-an-import-with-an-empty-list.hs b/corpora/vendored/import/merging-an-import-with-an-empty-list.hs
deleted file mode 100644
--- a/corpora/vendored/import/merging-an-import-with-an-empty-list.hs
+++ /dev/null
@@ -1,11 +0,0 @@
-module Billing.Currency where
-
-import Data.Map ()
-import Data.Map (Map)
-import Data.Set
-import Data.Set (Set)
-import Data.Text ()
-import Data.Text ()
-
-rates :: Map String Double
-rates = mempty
diff --git a/corpora/vendored/import/merging-around-an-anchored-comment-out.hs b/corpora/vendored/import/merging-around-an-anchored-comment-out.hs
deleted file mode 100644
--- a/corpora/vendored/import/merging-around-an-anchored-comment-out.hs
+++ /dev/null
@@ -1,13 +0,0 @@
-module Ledger.Rules where
-
-import Ledger.Rule
-  ( ruleName,
-    rulePriority,
-  )
-import Ledger.Rule
-  ( ruleMatcher,
-    -- matched against the whole description
-  )
-
-named :: Rule -> String
-named = ruleName
diff --git a/corpora/vendored/import/merging-around-an-anchored-comment.hs b/corpora/vendored/import/merging-around-an-anchored-comment.hs
deleted file mode 100644
--- a/corpora/vendored/import/merging-around-an-anchored-comment.hs
+++ /dev/null
@@ -1,11 +0,0 @@
-module Ledger.Rules where
-
-import Ledger.Rule (ruleName)
-import Ledger.Rule
-  ( ruleMatcher
-  -- matched against the whole description
-  )
-import Ledger.Rule (rulePriority)
-
-named :: Rule -> String
-named = ruleName
diff --git a/corpora/vendored/import/merging-entries-naming-one-type-out.hs b/corpora/vendored/import/merging-entries-naming-one-type-out.hs
deleted file mode 100644
--- a/corpora/vendored/import/merging-entries-naming-one-type-out.hs
+++ /dev/null
@@ -1,7 +0,0 @@
-module Billing.Payment where
-
-import Billing.Method (Card (..), Method (Cash))
-import Billing.Status (Status (Due, Paid), settle)
-
-pay :: Method -> Status
-pay _ = Paid
diff --git a/corpora/vendored/import/merging-entries-naming-one-type.hs b/corpora/vendored/import/merging-entries-naming-one-type.hs
deleted file mode 100644
--- a/corpora/vendored/import/merging-entries-naming-one-type.hs
+++ /dev/null
@@ -1,10 +0,0 @@
-module Billing.Payment where
-
-import Billing.Method (Method, Card (Visa))
-import Billing.Method (Method (Cash), Card (..))
-import Billing.Status (Status (Paid))
-import Billing.Status (Status (Due, Paid), settle, settle)
-import Billing.Status (settle)
-
-pay :: Method -> Status
-pay _ = Paid
diff --git a/corpora/vendored/import/merging-imports-hiding-a-name-and-its-constructors-out.hs b/corpora/vendored/import/merging-imports-hiding-a-name-and-its-constructors-out.hs
deleted file mode 100644
--- a/corpora/vendored/import/merging-imports-hiding-a-name-and-its-constructors-out.hs
+++ /dev/null
@@ -1,10 +0,0 @@
-module Studio.Mixer where
-
-import Studio.Colour hiding (Colour)
-import Studio.Colour hiding (Colour, Colour (..))
-import Studio.Colour hiding (Colour (..))
-
-data Tint = Colour
-
-mix :: Tint
-mix = Colour
diff --git a/corpora/vendored/import/merging-imports-hiding-a-name-and-its-constructors.hs b/corpora/vendored/import/merging-imports-hiding-a-name-and-its-constructors.hs
deleted file mode 100644
--- a/corpora/vendored/import/merging-imports-hiding-a-name-and-its-constructors.hs
+++ /dev/null
@@ -1,11 +0,0 @@
-module Studio.Mixer where
-
-import Studio.Colour hiding (Colour (..), Colour)
-import Studio.Colour hiding (Colour (..))
-import Studio.Colour hiding (Colour, Colour (..))
-import Studio.Colour hiding (Colour)
-
-data Tint = Colour
-
-mix :: Tint
-mix = Colour
diff --git a/corpora/vendored/import/merging-imports-that-hide-names-out.hs b/corpora/vendored/import/merging-imports-that-hide-names-out.hs
deleted file mode 100644
--- a/corpora/vendored/import/merging-imports-that-hide-names-out.hs
+++ /dev/null
@@ -1,15 +0,0 @@
-module Library.Catalogue where
-
-import Data.Map.Strict (delete, insert)
-import Data.Map.Strict hiding (delete)
-import Data.Map.Strict hiding (insert)
-import qualified Data.Set as Set hiding
-  ( filter,
-    map,
-  )
-import Data.Text (Text)
-import Library.Shelf hiding (Shelf (Bottom, Top), shelfName)
-import Library.Shelf hiding (Shelf (Top), shelfName)
-
-shelve :: Text -> Map Text Int -> Map Text Int
-shelve title = insert title 1 . delete title
diff --git a/corpora/vendored/import/merging-imports-that-hide-names.hs b/corpora/vendored/import/merging-imports-that-hide-names.hs
deleted file mode 100644
--- a/corpora/vendored/import/merging-imports-that-hide-names.hs
+++ /dev/null
@@ -1,20 +0,0 @@
-module Library.Catalogue where
-
-import Data.Map.Strict hiding (insert)
-import Data.Text (Text)
-import Data.Map.Strict hiding (delete)
-import Data.Map.Strict (insert)
-import qualified Data.Set as Set hiding (map, filter)
-import Data.Map.Strict (delete)
-import qualified Data.Set as Set hiding
-  ( filter,
-    map,
-    map
-  )
-import Library.Shelf hiding (Shelf (Top), shelfName)
-import Library.Shelf hiding (shelfName, Shelf (Bottom, Top))
-import Library.Shelf hiding (Shelf (Top, Bottom), shelfName)
-import Data.Map.Strict hiding (insert)
-
-shelve :: Text -> Map Text Int -> Map Text Int
-shelve title = insert title 1 . delete title
diff --git a/corpora/vendored/import/merging-keeps-a-comment-above-a-name-out.hs b/corpora/vendored/import/merging-keeps-a-comment-above-a-name-out.hs
deleted file mode 100644
--- a/corpora/vendored/import/merging-keeps-a-comment-above-a-name-out.hs
+++ /dev/null
@@ -1,11 +0,0 @@
-module Ledger.Balance where
-
-import Ledger.Account
-  ( accountKind,
-    accountName,
-    -- carried in from the period before this one
-    accountOpening,
-  )
-
-label :: Account -> String
-label = accountName
diff --git a/corpora/vendored/import/merging-keeps-a-comment-above-a-name.hs b/corpora/vendored/import/merging-keeps-a-comment-above-a-name.hs
deleted file mode 100644
--- a/corpora/vendored/import/merging-keeps-a-comment-above-a-name.hs
+++ /dev/null
@@ -1,11 +0,0 @@
-module Ledger.Balance where
-
-import Ledger.Account (accountName)
-import Ledger.Account
-  ( -- carried in from the period before this one
-    accountOpening,
-    accountKind
-  )
-
-label :: Account -> String
-label = accountName
diff --git a/corpora/vendored/import/merging-keeps-a-comment-above-the-block-out.hs b/corpora/vendored/import/merging-keeps-a-comment-above-the-block-out.hs
deleted file mode 100644
--- a/corpora/vendored/import/merging-keeps-a-comment-above-the-block-out.hs
+++ /dev/null
@@ -1,7 +0,0 @@
-module Telemetry.Report where
-
--- both halves of a sink live in the one module
-import Telemetry.Sink (sinkFlush, sinkName)
-
-describe :: Sink -> String
-describe = sinkName
diff --git a/corpora/vendored/import/merging-keeps-a-comment-above-the-block.hs b/corpora/vendored/import/merging-keeps-a-comment-above-the-block.hs
deleted file mode 100644
--- a/corpora/vendored/import/merging-keeps-a-comment-above-the-block.hs
+++ /dev/null
@@ -1,8 +0,0 @@
-module Telemetry.Report where
-
--- both halves of a sink live in the one module
-import Telemetry.Sink (sinkName)
-import Telemetry.Sink (sinkFlush)
-
-describe :: Sink -> String
-describe = sinkName
diff --git a/corpora/vendored/import/merging-keeps-a-comment-inside-a-thing-out.hs b/corpora/vendored/import/merging-keeps-a-comment-inside-a-thing-out.hs
deleted file mode 100644
--- a/corpora/vendored/import/merging-keeps-a-comment-inside-a-thing-out.hs
+++ /dev/null
@@ -1,12 +0,0 @@
-module Survey.Render where
-
-import Survey.Form
-  ( Form
-      ( formLocale,
-        formPages, -- in the order they are shown
-        formTitle
-      ),
-  )
-
-title :: Form -> String
-title = formTitle
diff --git a/corpora/vendored/import/merging-keeps-a-comment-inside-a-thing.hs b/corpora/vendored/import/merging-keeps-a-comment-inside-a-thing.hs
deleted file mode 100644
--- a/corpora/vendored/import/merging-keeps-a-comment-inside-a-thing.hs
+++ /dev/null
@@ -1,12 +0,0 @@
-module Survey.Render where
-
-import Survey.Form (Form (formTitle))
-import Survey.Form
-  ( Form
-      ( formPages, -- in the order they are shown
-        formLocale
-      )
-  )
-
-title :: Form -> String
-title = formTitle
diff --git a/corpora/vendored/import/merging-keeps-a-trailing-comment-out.hs b/corpora/vendored/import/merging-keeps-a-trailing-comment-out.hs
deleted file mode 100644
--- a/corpora/vendored/import/merging-keeps-a-trailing-comment-out.hs
+++ /dev/null
@@ -1,10 +0,0 @@
-module Ledger.Summary where
-
-import Ledger.Posting
-  ( postingAccount,
-    postingAmount, -- signed, negative for credits
-    postingDate,
-  )
-
-total :: [Posting] -> Int
-total = sum . map postingAmount
diff --git a/corpora/vendored/import/merging-keeps-a-trailing-comment.hs b/corpora/vendored/import/merging-keeps-a-trailing-comment.hs
deleted file mode 100644
--- a/corpora/vendored/import/merging-keeps-a-trailing-comment.hs
+++ /dev/null
@@ -1,10 +0,0 @@
-module Ledger.Summary where
-
-import Ledger.Posting (postingDate)
-import Ledger.Posting
-  ( postingAccount,
-    postingAmount -- signed, negative for credits
-  )
-
-total :: [Posting] -> Int
-total = sum . map postingAmount
diff --git a/corpora/vendored/import/merging-lists-written-on-one-line-out.hs b/corpora/vendored/import/merging-lists-written-on-one-line-out.hs
deleted file mode 100644
--- a/corpora/vendored/import/merging-lists-written-on-one-line-out.hs
+++ /dev/null
@@ -1,8 +0,0 @@
-module Billing.Invoice where
-
-import Data.Map.Strict (Map, empty, insert)
-import qualified Data.Set as Set (Set, fromList)
-import Data.Text (Text)
-
-lines' :: Map Text Int
-lines' = insert "total" 0 empty
diff --git a/corpora/vendored/import/merging-lists-written-on-one-line.hs b/corpora/vendored/import/merging-lists-written-on-one-line.hs
deleted file mode 100644
--- a/corpora/vendored/import/merging-lists-written-on-one-line.hs
+++ /dev/null
@@ -1,10 +0,0 @@
-module Billing.Invoice where
-
-import Data.Map.Strict (Map)
-import Data.Text (Text)
-import Data.Map.Strict (insert, empty)
-import qualified Data.Set as Set (Set)
-import qualified Data.Set as Set (fromList)
-
-lines' :: Map Text Int
-lines' = insert "total" 0 empty
diff --git a/corpora/vendored/import/merging-names-of-a-type-written-across-lines-out.hs b/corpora/vendored/import/merging-names-of-a-type-written-across-lines-out.hs
deleted file mode 100644
--- a/corpora/vendored/import/merging-names-of-a-type-written-across-lines-out.hs
+++ /dev/null
@@ -1,13 +0,0 @@
-module Billing.Refund where
-
-import Billing.Status
-  ( Status
-      ( Disputed,
-        Paid,
-        Refunded
-      ),
-    refund,
-  )
-
-undo :: Status -> Status
-undo _ = Refunded
diff --git a/corpora/vendored/import/merging-names-of-a-type-written-across-lines.hs b/corpora/vendored/import/merging-names-of-a-type-written-across-lines.hs
deleted file mode 100644
--- a/corpora/vendored/import/merging-names-of-a-type-written-across-lines.hs
+++ /dev/null
@@ -1,10 +0,0 @@
-module Billing.Refund where
-
-import Billing.Status (Status (Paid), refund)
-import Billing.Status
-  ( Status (Refunded,
-      Disputed)
-  )
-
-undo :: Status -> Status
-undo _ = Refunded
diff --git a/corpora/vendored/import/merging-only-imports-that-agree-out.hs b/corpora/vendored/import/merging-only-imports-that-agree-out.hs
deleted file mode 100644
--- a/corpora/vendored/import/merging-only-imports-that-agree-out.hs
+++ /dev/null
@@ -1,15 +0,0 @@
-{-# LANGUAGE PackageImports #-}
-{-# LANGUAGE Trustworthy #-}
-
-module Billing.Report where
-
-import Data.Text (Text, lines)
-import Data.Text hiding (map)
-import qualified Data.Text (toUpper)
-import qualified Data.Text as T (pack, unpack)
-import qualified Data.Text as Text (pack)
-import safe Data.Text (strip)
-import "text" Data.Text (unpack, words)
-
-title :: Text -> Text
-title = T.pack . T.unpack
diff --git a/corpora/vendored/import/merging-only-imports-that-agree.hs b/corpora/vendored/import/merging-only-imports-that-agree.hs
deleted file mode 100644
--- a/corpora/vendored/import/merging-only-imports-that-agree.hs
+++ /dev/null
@@ -1,18 +0,0 @@
-{-# LANGUAGE PackageImports #-}
-{-# LANGUAGE Trustworthy #-}
-
-module Billing.Report where
-
-import qualified Data.Text as Text (pack)
-import Data.Text (Text)
-import "text" Data.Text (unpack)
-import qualified Data.Text as T (pack)
-import Data.Text hiding (map)
-import safe Data.Text (strip)
-import qualified Data.Text (toUpper)
-import qualified Data.Text as T (unpack)
-import "text" Data.Text (words)
-import Data.Text (lines)
-
-title :: Text -> Text
-title = T.pack . T.unpack
diff --git a/corpora/vendored/import/merging/comment-inside-a-repeated-import-out'.hs b/corpora/vendored/import/merging/comment-inside-a-repeated-import-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/merging/comment-inside-a-repeated-import-out'.hs
@@ -0,0 +1,17 @@
+module Cache.Report where
+
+import Cache.Entry
+    ( Entry
+        ( key
+          -- the path the entry was read from
+        )
+    )
+import Cache.Entry
+    ( Entry
+        ( hits
+          -- counted since the last eviction
+        )
+    )
+
+describe :: Entry -> String
+describe _ = "entry"
diff --git a/corpora/vendored/import/merging/comment-inside-a-repeated-import-out.hs b/corpora/vendored/import/merging/comment-inside-a-repeated-import-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/merging/comment-inside-a-repeated-import-out.hs
@@ -0,0 +1,17 @@
+module Cache.Report where
+
+import Cache.Entry
+  ( Entry
+      ( key
+        -- the path the entry was read from
+      ),
+  )
+import Cache.Entry
+  ( Entry
+      ( hits
+        -- counted since the last eviction
+      ),
+  )
+
+describe :: Entry -> String
+describe _ = "entry"
diff --git a/corpora/vendored/import/merging/comment-inside-a-repeated-import.hs b/corpora/vendored/import/merging/comment-inside-a-repeated-import.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/merging/comment-inside-a-repeated-import.hs
@@ -0,0 +1,17 @@
+module Cache.Report where
+
+import Cache.Entry
+  ( Entry
+      ( key
+      -- the path the entry was read from
+      )
+  )
+import Cache.Entry
+  ( Entry
+      ( hits
+      -- counted since the last eviction
+      )
+  )
+
+describe :: Entry -> String
+describe _ = "entry"
diff --git a/corpora/vendored/import/merging/hiding-a-name-beside-its-constructors-out.hs b/corpora/vendored/import/merging/hiding-a-name-beside-its-constructors-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/merging/hiding-a-name-beside-its-constructors-out.hs
@@ -0,0 +1,10 @@
+module Studio.Palette where
+
+import Studio.Colour (Colour (Green))
+import Studio.Colour hiding (Colour, Colour (Blue, Red), Shade, Shade (..))
+import Studio.Paint hiding (Paint, Paint (..))
+
+data Swatch = Colour | Shade
+
+swatch :: Swatch
+swatch = Colour
diff --git a/corpora/vendored/import/merging/hiding-a-name-beside-its-constructors.hs b/corpora/vendored/import/merging/hiding-a-name-beside-its-constructors.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/merging/hiding-a-name-beside-its-constructors.hs
@@ -0,0 +1,11 @@
+module Studio.Palette where
+
+import Studio.Colour hiding (Colour (Red), Colour, Colour (Blue), Shade, Shade (..))
+import Studio.Colour (Colour, Colour (Green))
+import Studio.Paint
+  hiding (Paint (..), Paint)
+
+data Swatch = Colour | Shade
+
+swatch :: Swatch
+swatch = Colour
diff --git a/corpora/vendored/import/merging/merging-a-list-written-across-lines-out'.hs b/corpora/vendored/import/merging/merging-a-list-written-across-lines-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/merging/merging-a-list-written-across-lines-out'.hs
@@ -0,0 +1,21 @@
+module Billing.Tax where
+
+import Billing.Rate
+    ( Rate
+    , rateFor
+    , rateName
+    )
+import Billing.Region
+    ( Region
+    , regionCode
+    , regionName
+    )
+import Data.Map
+    ( Map
+    , empty
+    , lookup
+    , member
+    )
+
+tax :: Region -> Double
+tax _ = 0
diff --git a/corpora/vendored/import/merging/merging-a-list-written-across-lines-out.hs b/corpora/vendored/import/merging/merging-a-list-written-across-lines-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/merging/merging-a-list-written-across-lines-out.hs
@@ -0,0 +1,21 @@
+module Billing.Tax where
+
+import Billing.Rate
+  ( Rate,
+    rateFor,
+    rateName,
+  )
+import Billing.Region
+  ( Region,
+    regionCode,
+    regionName,
+  )
+import Data.Map
+  ( Map,
+    empty,
+    lookup,
+    member,
+  )
+
+tax :: Region -> Double
+tax _ = 0
diff --git a/corpora/vendored/import/merging/merging-a-list-written-across-lines.hs b/corpora/vendored/import/merging/merging-a-list-written-across-lines.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/merging/merging-a-list-written-across-lines.hs
@@ -0,0 +1,21 @@
+module Billing.Tax where
+
+import Billing.Rate (Rate)
+import Billing.Rate
+  ( rateFor,
+    rateName
+  )
+import Billing.Region
+  ( Region,
+    regionCode
+  )
+import Billing.Region (regionName)
+import Data.Map (Map)
+import Data.Map
+  ( lookup,
+    member
+  )
+import Data.Map (empty)
+
+tax :: Region -> Double
+tax _ = 0
diff --git a/corpora/vendored/import/merging/merging-an-import-with-an-empty-list-out.hs b/corpora/vendored/import/merging/merging-an-import-with-an-empty-list-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/merging/merging-an-import-with-an-empty-list-out.hs
@@ -0,0 +1,9 @@
+module Billing.Currency where
+
+import Data.Map (Map)
+import Data.Set
+import Data.Set (Set)
+import Data.Text ()
+
+rates :: Map String Double
+rates = mempty
diff --git a/corpora/vendored/import/merging/merging-an-import-with-an-empty-list.hs b/corpora/vendored/import/merging/merging-an-import-with-an-empty-list.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/merging/merging-an-import-with-an-empty-list.hs
@@ -0,0 +1,11 @@
+module Billing.Currency where
+
+import Data.Map ()
+import Data.Map (Map)
+import Data.Set
+import Data.Set (Set)
+import Data.Text ()
+import Data.Text ()
+
+rates :: Map String Double
+rates = mempty
diff --git a/corpora/vendored/import/merging/merging-around-an-anchored-comment-out'.hs b/corpora/vendored/import/merging/merging-around-an-anchored-comment-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/merging/merging-around-an-anchored-comment-out'.hs
@@ -0,0 +1,10 @@
+module Ledger.Rules where
+
+import Ledger.Rule (ruleName, rulePriority)
+import Ledger.Rule
+    ( ruleMatcher
+      -- matched against the whole description
+    )
+
+named :: Rule -> String
+named = ruleName
diff --git a/corpora/vendored/import/merging/merging-around-an-anchored-comment-out.hs b/corpora/vendored/import/merging/merging-around-an-anchored-comment-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/merging/merging-around-an-anchored-comment-out.hs
@@ -0,0 +1,10 @@
+module Ledger.Rules where
+
+import Ledger.Rule (ruleName, rulePriority)
+import Ledger.Rule
+  ( ruleMatcher,
+    -- matched against the whole description
+  )
+
+named :: Rule -> String
+named = ruleName
diff --git a/corpora/vendored/import/merging/merging-around-an-anchored-comment.hs b/corpora/vendored/import/merging/merging-around-an-anchored-comment.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/merging/merging-around-an-anchored-comment.hs
@@ -0,0 +1,11 @@
+module Ledger.Rules where
+
+import Ledger.Rule (ruleName)
+import Ledger.Rule
+  ( ruleMatcher
+  -- matched against the whole description
+  )
+import Ledger.Rule (rulePriority)
+
+named :: Rule -> String
+named = ruleName
diff --git a/corpora/vendored/import/merging/merging-entries-naming-one-type-out.hs b/corpora/vendored/import/merging/merging-entries-naming-one-type-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/merging/merging-entries-naming-one-type-out.hs
@@ -0,0 +1,7 @@
+module Billing.Payment where
+
+import Billing.Method (Card (..), Method (Cash))
+import Billing.Status (Status (Due, Paid), settle)
+
+pay :: Method -> Status
+pay _ = Paid
diff --git a/corpora/vendored/import/merging/merging-entries-naming-one-type.hs b/corpora/vendored/import/merging/merging-entries-naming-one-type.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/merging/merging-entries-naming-one-type.hs
@@ -0,0 +1,10 @@
+module Billing.Payment where
+
+import Billing.Method (Method, Card (Visa))
+import Billing.Method (Method (Cash), Card (..))
+import Billing.Status (Status (Paid))
+import Billing.Status (Status (Due, Paid), settle, settle)
+import Billing.Status (settle)
+
+pay :: Method -> Status
+pay _ = Paid
diff --git a/corpora/vendored/import/merging/merging-imports-hiding-a-name-and-its-constructors-out.hs b/corpora/vendored/import/merging/merging-imports-hiding-a-name-and-its-constructors-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/merging/merging-imports-hiding-a-name-and-its-constructors-out.hs
@@ -0,0 +1,10 @@
+module Studio.Mixer where
+
+import Studio.Colour hiding (Colour)
+import Studio.Colour hiding (Colour, Colour (..))
+import Studio.Colour hiding (Colour (..))
+
+data Tint = Colour
+
+mix :: Tint
+mix = Colour
diff --git a/corpora/vendored/import/merging/merging-imports-hiding-a-name-and-its-constructors.hs b/corpora/vendored/import/merging/merging-imports-hiding-a-name-and-its-constructors.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/merging/merging-imports-hiding-a-name-and-its-constructors.hs
@@ -0,0 +1,11 @@
+module Studio.Mixer where
+
+import Studio.Colour hiding (Colour (..), Colour)
+import Studio.Colour hiding (Colour (..))
+import Studio.Colour hiding (Colour, Colour (..))
+import Studio.Colour hiding (Colour)
+
+data Tint = Colour
+
+mix :: Tint
+mix = Colour
diff --git a/corpora/vendored/import/merging/merging-imports-that-hide-names-out'.hs b/corpora/vendored/import/merging/merging-imports-that-hide-names-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/merging/merging-imports-that-hide-names-out'.hs
@@ -0,0 +1,15 @@
+module Library.Catalogue where
+
+import Data.Map.Strict (delete, insert)
+import Data.Map.Strict hiding (delete)
+import Data.Map.Strict hiding (insert)
+import qualified Data.Set as Set hiding
+    ( filter
+    , map
+    )
+import Data.Text (Text)
+import Library.Shelf hiding (Shelf (Bottom, Top), shelfName)
+import Library.Shelf hiding (Shelf (Top), shelfName)
+
+shelve :: Text -> Map Text Int -> Map Text Int
+shelve title = insert title 1 . delete title
diff --git a/corpora/vendored/import/merging/merging-imports-that-hide-names-out.hs b/corpora/vendored/import/merging/merging-imports-that-hide-names-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/merging/merging-imports-that-hide-names-out.hs
@@ -0,0 +1,15 @@
+module Library.Catalogue where
+
+import Data.Map.Strict (delete, insert)
+import Data.Map.Strict hiding (delete)
+import Data.Map.Strict hiding (insert)
+import qualified Data.Set as Set hiding
+  ( filter,
+    map,
+  )
+import Data.Text (Text)
+import Library.Shelf hiding (Shelf (Bottom, Top), shelfName)
+import Library.Shelf hiding (Shelf (Top), shelfName)
+
+shelve :: Text -> Map Text Int -> Map Text Int
+shelve title = insert title 1 . delete title
diff --git a/corpora/vendored/import/merging/merging-imports-that-hide-names.hs b/corpora/vendored/import/merging/merging-imports-that-hide-names.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/merging/merging-imports-that-hide-names.hs
@@ -0,0 +1,20 @@
+module Library.Catalogue where
+
+import Data.Map.Strict hiding (insert)
+import Data.Text (Text)
+import Data.Map.Strict hiding (delete)
+import Data.Map.Strict (insert)
+import qualified Data.Set as Set hiding (map, filter)
+import Data.Map.Strict (delete)
+import qualified Data.Set as Set hiding
+  ( filter,
+    map,
+    map
+  )
+import Library.Shelf hiding (Shelf (Top), shelfName)
+import Library.Shelf hiding (shelfName, Shelf (Bottom, Top))
+import Library.Shelf hiding (Shelf (Top, Bottom), shelfName)
+import Data.Map.Strict hiding (insert)
+
+shelve :: Text -> Map Text Int -> Map Text Int
+shelve title = insert title 1 . delete title
diff --git a/corpora/vendored/import/merging/merging-keeps-a-comment-above-a-name-out'.hs b/corpora/vendored/import/merging/merging-keeps-a-comment-above-a-name-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/merging/merging-keeps-a-comment-above-a-name-out'.hs
@@ -0,0 +1,11 @@
+module Ledger.Balance where
+
+import Ledger.Account
+    ( accountKind
+    , accountName
+      -- carried in from the period before this one
+    , accountOpening
+    )
+
+label :: Account -> String
+label = accountName
diff --git a/corpora/vendored/import/merging/merging-keeps-a-comment-above-a-name-out.hs b/corpora/vendored/import/merging/merging-keeps-a-comment-above-a-name-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/merging/merging-keeps-a-comment-above-a-name-out.hs
@@ -0,0 +1,11 @@
+module Ledger.Balance where
+
+import Ledger.Account
+  ( accountKind,
+    accountName,
+    -- carried in from the period before this one
+    accountOpening,
+  )
+
+label :: Account -> String
+label = accountName
diff --git a/corpora/vendored/import/merging/merging-keeps-a-comment-above-a-name.hs b/corpora/vendored/import/merging/merging-keeps-a-comment-above-a-name.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/merging/merging-keeps-a-comment-above-a-name.hs
@@ -0,0 +1,11 @@
+module Ledger.Balance where
+
+import Ledger.Account (accountName)
+import Ledger.Account
+  ( -- carried in from the period before this one
+    accountOpening,
+    accountKind
+  )
+
+label :: Account -> String
+label = accountName
diff --git a/corpora/vendored/import/merging/merging-keeps-a-comment-above-the-block-out.hs b/corpora/vendored/import/merging/merging-keeps-a-comment-above-the-block-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/merging/merging-keeps-a-comment-above-the-block-out.hs
@@ -0,0 +1,7 @@
+module Telemetry.Report where
+
+-- both halves of a sink live in the one module
+import Telemetry.Sink (sinkFlush, sinkName)
+
+describe :: Sink -> String
+describe = sinkName
diff --git a/corpora/vendored/import/merging/merging-keeps-a-comment-above-the-block.hs b/corpora/vendored/import/merging/merging-keeps-a-comment-above-the-block.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/merging/merging-keeps-a-comment-above-the-block.hs
@@ -0,0 +1,8 @@
+module Telemetry.Report where
+
+-- both halves of a sink live in the one module
+import Telemetry.Sink (sinkName)
+import Telemetry.Sink (sinkFlush)
+
+describe :: Sink -> String
+describe = sinkName
diff --git a/corpora/vendored/import/merging/merging-keeps-a-comment-inside-a-thing-out'.hs b/corpora/vendored/import/merging/merging-keeps-a-comment-inside-a-thing-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/merging/merging-keeps-a-comment-inside-a-thing-out'.hs
@@ -0,0 +1,12 @@
+module Survey.Render where
+
+import Survey.Form
+    ( Form
+        ( formLocale
+        , formPages -- in the order they are shown
+        , formTitle
+        )
+    )
+
+title :: Form -> String
+title = formTitle
diff --git a/corpora/vendored/import/merging/merging-keeps-a-comment-inside-a-thing-out.hs b/corpora/vendored/import/merging/merging-keeps-a-comment-inside-a-thing-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/merging/merging-keeps-a-comment-inside-a-thing-out.hs
@@ -0,0 +1,12 @@
+module Survey.Render where
+
+import Survey.Form
+  ( Form
+      ( formLocale,
+        formPages, -- in the order they are shown
+        formTitle
+      ),
+  )
+
+title :: Form -> String
+title = formTitle
diff --git a/corpora/vendored/import/merging/merging-keeps-a-comment-inside-a-thing.hs b/corpora/vendored/import/merging/merging-keeps-a-comment-inside-a-thing.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/merging/merging-keeps-a-comment-inside-a-thing.hs
@@ -0,0 +1,12 @@
+module Survey.Render where
+
+import Survey.Form (Form (formTitle))
+import Survey.Form
+  ( Form
+      ( formPages, -- in the order they are shown
+        formLocale
+      )
+  )
+
+title :: Form -> String
+title = formTitle
diff --git a/corpora/vendored/import/merging/merging-keeps-a-trailing-comment-out'.hs b/corpora/vendored/import/merging/merging-keeps-a-trailing-comment-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/merging/merging-keeps-a-trailing-comment-out'.hs
@@ -0,0 +1,10 @@
+module Ledger.Summary where
+
+import Ledger.Posting
+    ( postingAccount
+    , postingAmount -- signed, negative for credits
+    , postingDate
+    )
+
+total :: [Posting] -> Int
+total = sum . map postingAmount
diff --git a/corpora/vendored/import/merging/merging-keeps-a-trailing-comment-out.hs b/corpora/vendored/import/merging/merging-keeps-a-trailing-comment-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/merging/merging-keeps-a-trailing-comment-out.hs
@@ -0,0 +1,10 @@
+module Ledger.Summary where
+
+import Ledger.Posting
+  ( postingAccount,
+    postingAmount, -- signed, negative for credits
+    postingDate,
+  )
+
+total :: [Posting] -> Int
+total = sum . map postingAmount
diff --git a/corpora/vendored/import/merging/merging-keeps-a-trailing-comment.hs b/corpora/vendored/import/merging/merging-keeps-a-trailing-comment.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/merging/merging-keeps-a-trailing-comment.hs
@@ -0,0 +1,10 @@
+module Ledger.Summary where
+
+import Ledger.Posting (postingDate)
+import Ledger.Posting
+  ( postingAccount,
+    postingAmount -- signed, negative for credits
+  )
+
+total :: [Posting] -> Int
+total = sum . map postingAmount
diff --git a/corpora/vendored/import/merging/merging-keeps-the-comments-of-an-import-folded-in-out.hs b/corpora/vendored/import/merging/merging-keeps-the-comments-of-an-import-folded-in-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/merging/merging-keeps-the-comments-of-an-import-folded-in-out.hs
@@ -0,0 +1,10 @@
+module Billing.Ledger where
+
+import Data.List
+import Data.Map (Map, empty)
+-- an empty ledger to begin with
+import Data.Text () -- for the instances
+-- the instances only
+
+ledger :: Map String Int
+ledger = empty
diff --git a/corpora/vendored/import/merging/merging-keeps-the-comments-of-an-import-folded-in.hs b/corpora/vendored/import/merging/merging-keeps-the-comments-of-an-import-folded-in.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/merging/merging-keeps-the-comments-of-an-import-folded-in.hs
@@ -0,0 +1,13 @@
+module Billing.Ledger where
+
+import Data.Text () -- for the instances
+import Data.Map (Map)
+import Data.Map (empty)
+-- an empty ledger to begin with
+
+import Data.List
+-- the instances only
+import Data.Text ()
+
+ledger :: Map String Int
+ledger = empty
diff --git a/corpora/vendored/import/merging/merging-lists-written-on-one-line-out.hs b/corpora/vendored/import/merging/merging-lists-written-on-one-line-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/merging/merging-lists-written-on-one-line-out.hs
@@ -0,0 +1,8 @@
+module Billing.Invoice where
+
+import Data.Map.Strict (Map, empty, insert)
+import qualified Data.Set as Set (Set, fromList)
+import Data.Text (Text)
+
+lines' :: Map Text Int
+lines' = insert "total" 0 empty
diff --git a/corpora/vendored/import/merging/merging-lists-written-on-one-line.hs b/corpora/vendored/import/merging/merging-lists-written-on-one-line.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/merging/merging-lists-written-on-one-line.hs
@@ -0,0 +1,10 @@
+module Billing.Invoice where
+
+import Data.Map.Strict (Map)
+import Data.Text (Text)
+import Data.Map.Strict (insert, empty)
+import qualified Data.Set as Set (Set)
+import qualified Data.Set as Set (fromList)
+
+lines' :: Map Text Int
+lines' = insert "total" 0 empty
diff --git a/corpora/vendored/import/merging/merging-names-of-a-type-written-across-lines-out'.hs b/corpora/vendored/import/merging/merging-names-of-a-type-written-across-lines-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/merging/merging-names-of-a-type-written-across-lines-out'.hs
@@ -0,0 +1,13 @@
+module Billing.Refund where
+
+import Billing.Status
+    ( Status
+        ( Disputed
+        , Paid
+        , Refunded
+        )
+    , refund
+    )
+
+undo :: Status -> Status
+undo _ = Refunded
diff --git a/corpora/vendored/import/merging/merging-names-of-a-type-written-across-lines-out.hs b/corpora/vendored/import/merging/merging-names-of-a-type-written-across-lines-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/merging/merging-names-of-a-type-written-across-lines-out.hs
@@ -0,0 +1,13 @@
+module Billing.Refund where
+
+import Billing.Status
+  ( Status
+      ( Disputed,
+        Paid,
+        Refunded
+      ),
+    refund,
+  )
+
+undo :: Status -> Status
+undo _ = Refunded
diff --git a/corpora/vendored/import/merging/merging-names-of-a-type-written-across-lines.hs b/corpora/vendored/import/merging/merging-names-of-a-type-written-across-lines.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/merging/merging-names-of-a-type-written-across-lines.hs
@@ -0,0 +1,10 @@
+module Billing.Refund where
+
+import Billing.Status (Status (Paid), refund)
+import Billing.Status
+  ( Status (Refunded,
+      Disputed)
+  )
+
+undo :: Status -> Status
+undo _ = Refunded
diff --git a/corpora/vendored/import/merging/merging-one-line-lists-around-a-comment-out'.hs b/corpora/vendored/import/merging/merging-one-line-lists-around-a-comment-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/merging/merging-one-line-lists-around-a-comment-out'.hs
@@ -0,0 +1,12 @@
+module Ledger.Report where
+
+import Ledger.Account
+    ( Account
+      -- what an account is called, and what it opened with
+    , accountName
+    , accountOpening
+    )
+import Ledger.Entry (entryAmount)
+
+summary :: Account -> String
+summary account = accountName account <> show (accountOpening account)
diff --git a/corpora/vendored/import/merging/merging-one-line-lists-around-a-comment-out.hs b/corpora/vendored/import/merging/merging-one-line-lists-around-a-comment-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/merging/merging-one-line-lists-around-a-comment-out.hs
@@ -0,0 +1,12 @@
+module Ledger.Report where
+
+import Ledger.Account
+  ( Account,
+    -- what an account is called, and what it opened with
+    accountName,
+    accountOpening,
+  )
+import Ledger.Entry (entryAmount)
+
+summary :: Account -> String
+summary account = accountName account <> show (accountOpening account)
diff --git a/corpora/vendored/import/merging/merging-one-line-lists-around-a-comment.hs b/corpora/vendored/import/merging/merging-one-line-lists-around-a-comment.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/merging/merging-one-line-lists-around-a-comment.hs
@@ -0,0 +1,9 @@
+module Ledger.Report where
+
+import Ledger.Account (Account)
+import Ledger.Entry (entryAmount)
+-- what an account is called, and what it opened with
+import Ledger.Account (accountName, accountOpening)
+
+summary :: Account -> String
+summary account = accountName account <> show (accountOpening account)
diff --git a/corpora/vendored/import/merging/merging-only-imports-that-agree-out.hs b/corpora/vendored/import/merging/merging-only-imports-that-agree-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/merging/merging-only-imports-that-agree-out.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE PackageImports #-}
+{-# LANGUAGE Trustworthy #-}
+
+module Billing.Report where
+
+import Data.Text (Text, lines)
+import Data.Text hiding (map)
+import qualified Data.Text (toUpper)
+import qualified Data.Text as T (pack, unpack)
+import qualified Data.Text as Text (pack)
+import safe Data.Text (strip)
+import "text" Data.Text (unpack, words)
+
+title :: Text -> Text
+title = T.pack . T.unpack
diff --git a/corpora/vendored/import/merging/merging-only-imports-that-agree.hs b/corpora/vendored/import/merging/merging-only-imports-that-agree.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/merging/merging-only-imports-that-agree.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE PackageImports #-}
+{-# LANGUAGE Trustworthy #-}
+
+module Billing.Report where
+
+import qualified Data.Text as Text (pack)
+import Data.Text (Text)
+import "text" Data.Text (unpack)
+import qualified Data.Text as T (pack)
+import Data.Text hiding (map)
+import safe Data.Text (strip)
+import qualified Data.Text (toUpper)
+import qualified Data.Text as T (unpack)
+import "text" Data.Text (words)
+import Data.Text (lines)
+
+title :: Text -> Text
+title = T.pack . T.unpack
diff --git a/corpora/vendored/import/merging/merging-repeated-imports-without-lists-out.hs b/corpora/vendored/import/merging/merging-repeated-imports-without-lists-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/merging/merging-repeated-imports-without-lists-out.hs
@@ -0,0 +1,7 @@
+module Garden.Rows where
+
+import Data.Char
+import Data.List
+
+rows :: [String] -> [String]
+rows = sort . map (map toUpper)
diff --git a/corpora/vendored/import/merging/merging-repeated-imports-without-lists.hs b/corpora/vendored/import/merging/merging-repeated-imports-without-lists.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/merging/merging-repeated-imports-without-lists.hs
@@ -0,0 +1,8 @@
+module Garden.Rows where
+
+import Data.List
+import Data.Char
+import Data.List
+
+rows :: [String] -> [String]
+rows = sort . map (map toUpper)
diff --git a/corpora/vendored/import/merging/source-imports-merged-among-themselves-out.hs b/corpora/vendored/import/merging/source-imports-merged-among-themselves-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/merging/source-imports-merged-among-themselves-out.hs
@@ -0,0 +1,8 @@
+module Ledger.Posting where
+
+import {-# SOURCE #-} qualified Ledger.Journal as Journal
+import Ledger.Types (Balance)
+import {-# SOURCE #-} Ledger.Types (Account, Currency)
+
+post :: Account -> Balance -> Journal.Entry
+post = undefined
diff --git a/corpora/vendored/import/merging/source-imports-merged-among-themselves.hs b/corpora/vendored/import/merging/source-imports-merged-among-themselves.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/merging/source-imports-merged-among-themselves.hs
@@ -0,0 +1,9 @@
+module Ledger.Posting where
+
+import Ledger.Types (Balance)
+import {-# SOURCE #-} Ledger.Types (Account)
+import {-#SOURCE#-} qualified Ledger.Journal as Journal
+import {-# SOURCE #-} Ledger.Types (Currency)
+
+post :: Account -> Balance -> Journal.Entry
+post = undefined
diff --git a/corpora/vendored/import/names-of-a-type-on-the-next-line-out.hs b/corpora/vendored/import/names-of-a-type-on-the-next-line-out.hs
deleted file mode 100644
--- a/corpora/vendored/import/names-of-a-type-on-the-next-line-out.hs
+++ /dev/null
@@ -1,14 +0,0 @@
-module Shapes.Area where
-
-import Data.Either
-  ( Either (Left, Right),
-    either,
-  )
-import Shapes.Kind
-  ( Shape (Circle, Square),
-    Unit (..),
-    area,
-  )
-
-describe :: Shape -> Either String Double
-describe s = Right (area s)
diff --git a/corpora/vendored/import/names-of-a-type-on-the-next-line.hs b/corpora/vendored/import/names-of-a-type-on-the-next-line.hs
deleted file mode 100644
--- a/corpora/vendored/import/names-of-a-type-on-the-next-line.hs
+++ /dev/null
@@ -1,14 +0,0 @@
-module Shapes.Area where
-
-import Data.Either (Either
-  (Left, Right), either)
-import Shapes.Kind
-  ( Shape
-      (Circle, Square),
-    Unit
-      (..),
-    area
-  )
-
-describe :: Shape -> Either String Double
-describe s = Right (area s)
diff --git a/corpora/vendored/import/names-of-a-type-written-across-lines-out.hs b/corpora/vendored/import/names-of-a-type-written-across-lines-out.hs
deleted file mode 100644
--- a/corpora/vendored/import/names-of-a-type-written-across-lines-out.hs
+++ /dev/null
@@ -1,16 +0,0 @@
-module Shapes.Perimeter where
-
-import Shapes.Kind
-  ( Shape
-      ( Circle,
-        Square
-      ),
-    Side
-      ( Bottom,
-        Top
-      ),
-    perimeter,
-  )
-
-total :: [Shape] -> Double
-total = sum . fmap perimeter
diff --git a/corpora/vendored/import/names-of-a-type-written-across-lines.hs b/corpora/vendored/import/names-of-a-type-written-across-lines.hs
deleted file mode 100644
--- a/corpora/vendored/import/names-of-a-type-written-across-lines.hs
+++ /dev/null
@@ -1,14 +0,0 @@
-module Shapes.Perimeter where
-
-import Shapes.Kind
-  ( Shape
-      ( Circle,
-        Square
-      ),
-    Side (Top,
-      Bottom),
-    perimeter
-  )
-
-total :: [Shape] -> Double
-total = sum . fmap perimeter
diff --git a/corpora/vendored/import/package-name-with-a-string-gap-out.hs b/corpora/vendored/import/package-name-with-a-string-gap-out.hs
deleted file mode 100644
--- a/corpora/vendored/import/package-name-with-a-string-gap-out.hs
+++ /dev/null
@@ -1,7 +0,0 @@
-{-# LANGUAGE ImportQualifiedPost #-}
-{-# LANGUAGE PackageImports #-}
-
-module M where
-
-import "ba\
-       \se" Data.List qualified as L
diff --git a/corpora/vendored/import/package-name-with-a-string-gap.hs b/corpora/vendored/import/package-name-with-a-string-gap.hs
deleted file mode 100644
--- a/corpora/vendored/import/package-name-with-a-string-gap.hs
+++ /dev/null
@@ -1,7 +0,0 @@
-{-# LANGUAGE ImportQualifiedPost #-}
-{-# LANGUAGE PackageImports #-}
-
-module M where
-
-import qualified "ba\
-                 \se" Data.List as L
diff --git a/corpora/vendored/import/qualified-after-the-module-name-out.hs b/corpora/vendored/import/qualified-after-the-module-name-out.hs
deleted file mode 100644
--- a/corpora/vendored/import/qualified-after-the-module-name-out.hs
+++ /dev/null
@@ -1,6 +0,0 @@
-{-# LANGUAGE ImportQualifiedPost #-}
-
-module M where
-
-import Data.Map qualified as M
-import Data.Set qualified as S
diff --git a/corpora/vendored/import/qualified-after-the-module-name.hs b/corpora/vendored/import/qualified-after-the-module-name.hs
deleted file mode 100644
--- a/corpora/vendored/import/qualified-after-the-module-name.hs
+++ /dev/null
@@ -1,4 +0,0 @@
-{-# LANGUAGE ImportQualifiedPost #-}
-module M where
-import Data.Map qualified as M
-import qualified Data.Set as S
diff --git a/corpora/vendored/import/qualified-before-the-module-name-out.hs b/corpora/vendored/import/qualified-before-the-module-name-out.hs
deleted file mode 100644
--- a/corpora/vendored/import/qualified-before-the-module-name-out.hs
+++ /dev/null
@@ -1,4 +0,0 @@
-module M where
-
-import qualified Data.Map as M
-import qualified Data.Set as S
diff --git a/corpora/vendored/import/qualified-before-the-module-name.hs b/corpora/vendored/import/qualified-before-the-module-name.hs
deleted file mode 100644
--- a/corpora/vendored/import/qualified-before-the-module-name.hs
+++ /dev/null
@@ -1,3 +0,0 @@
-module M where
-import Data.Map qualified as M
-import qualified Data.Set as S
diff --git a/corpora/vendored/import/sorting-imports-at-different-levels-out.hs b/corpora/vendored/import/sorting-imports-at-different-levels-out.hs
deleted file mode 100644
--- a/corpora/vendored/import/sorting-imports-at-different-levels-out.hs
+++ /dev/null
@@ -1,10 +0,0 @@
-{-# LANGUAGE ExplicitLevelImports #-}
-
-module Weather.Splices where
-
-import Weather.Syntax (rain)
-import splice Weather.Syntax (snow, sun)
-import quote Weather.Syntax (hail, wind)
-
-forecast :: String
-forecast = "fair"
diff --git a/corpora/vendored/import/sorting-imports-at-different-levels.hs b/corpora/vendored/import/sorting-imports-at-different-levels.hs
deleted file mode 100644
--- a/corpora/vendored/import/sorting-imports-at-different-levels.hs
+++ /dev/null
@@ -1,12 +0,0 @@
-{-# LANGUAGE ExplicitLevelImports #-}
-
-module Weather.Splices where
-
-import quote Weather.Syntax (wind)
-import Weather.Syntax (rain)
-import splice Weather.Syntax (sun)
-import splice Weather.Syntax (snow)
-import quote Weather.Syntax (hail)
-
-forecast :: String
-forecast = "fair"
diff --git a/corpora/vendored/import/sorting-imports-out.hs b/corpora/vendored/import/sorting-imports-out.hs
deleted file mode 100644
--- a/corpora/vendored/import/sorting-imports-out.hs
+++ /dev/null
@@ -1,17 +0,0 @@
-{-# LANGUAGE PackageImports #-}
-
-module Weather.Station where
-
-import Control.Monad (forM_)
-import Data.Char (toUpper)
-import Data.Map (lookup)
-import qualified Data.Map as Map
-import Data.Map.Strict (Map)
-import Weather.Reading (Reading)
-import "base" Data.List (sort)
-import "containers" Data.Set (Set)
-import "this" Weather.Units (Celsius)
-import Prelude hiding (lookup)
-
-readings :: Map String Reading
-readings = mempty
diff --git a/corpora/vendored/import/sorting-imports.hs b/corpora/vendored/import/sorting-imports.hs
deleted file mode 100644
--- a/corpora/vendored/import/sorting-imports.hs
+++ /dev/null
@@ -1,17 +0,0 @@
-{-# LANGUAGE PackageImports #-}
-
-module Weather.Station where
-
-import Prelude hiding (lookup)
-import "this" Weather.Units (Celsius)
-import Data.Map.Strict (Map)
-import "containers" Data.Set (Set)
-import Control.Monad (forM_)
-import qualified Data.Map as Map
-import Data.Map (lookup)
-import "base" Data.List (sort)
-import Weather.Reading (Reading)
-import Data.Char (toUpper)
-
-readings :: Map String Reading
-readings = mempty
diff --git a/corpora/vendored/import/sorting-keeps-comments-with-their-names-out.hs b/corpora/vendored/import/sorting-keeps-comments-with-their-names-out.hs
deleted file mode 100644
--- a/corpora/vendored/import/sorting-keeps-comments-with-their-names-out.hs
+++ /dev/null
@@ -1,11 +0,0 @@
-module Survey.Answer where
-
-import Survey.Question
-  ( questionId, -- unique within a survey, not across surveys
-    -- answered before the respondent may go on
-    questionRequired,
-    questionText,
-  )
-
-ask :: Question -> String
-ask = questionText
diff --git a/corpora/vendored/import/sorting-keeps-comments-with-their-names.hs b/corpora/vendored/import/sorting-keeps-comments-with-their-names.hs
deleted file mode 100644
--- a/corpora/vendored/import/sorting-keeps-comments-with-their-names.hs
+++ /dev/null
@@ -1,11 +0,0 @@
-module Survey.Answer where
-
-import Survey.Question
-  ( questionText,
-    questionId, -- unique within a survey, not across surveys
-    -- answered before the respondent may go on
-    questionRequired
-  )
-
-ask :: Question -> String
-ask = questionText
diff --git a/corpora/vendored/import/sorting-names-by-namespace-out.hs b/corpora/vendored/import/sorting-names-by-namespace-out.hs
deleted file mode 100644
--- a/corpora/vendored/import/sorting-names-by-namespace-out.hs
+++ /dev/null
@@ -1,9 +0,0 @@
-{-# LANGUAGE ExplicitNamespaces #-}
-{-# LANGUAGE PatternSynonyms #-}
-
-module Weather.Gusts where
-
-import Weather.Level (Measured (measure), gust, pattern Squall, type Gust, data Calm, data Gale)
-
-strongest :: Gust -> Gale
-strongest = measure
diff --git a/corpora/vendored/import/sorting-names-by-namespace.hs b/corpora/vendored/import/sorting-names-by-namespace.hs
deleted file mode 100644
--- a/corpora/vendored/import/sorting-names-by-namespace.hs
+++ /dev/null
@@ -1,9 +0,0 @@
-{-# LANGUAGE ExplicitNamespaces #-}
-{-# LANGUAGE PatternSynonyms #-}
-
-module Weather.Gusts where
-
-import Weather.Level (data Gale, type Gust, pattern Squall, Measured (measure), data Calm, gust, data Gale)
-
-strongest :: Gust -> Gale
-strongest = measure
diff --git a/corpora/vendored/import/sorting-names-in-a-list-out.hs b/corpora/vendored/import/sorting-names-in-a-list-out.hs
deleted file mode 100644
--- a/corpora/vendored/import/sorting-names-in-a-list-out.hs
+++ /dev/null
@@ -1,20 +0,0 @@
-{-# LANGUAGE ExplicitNamespaces #-}
-{-# LANGUAGE PatternSynonyms #-}
-
-module Weather.Alert where
-
-import Weather.Level
-  ( Alert,
-    Level (Calm, Warning, (:>)),
-    lower,
-    raise,
-    (!),
-    (<+>),
-    pattern Breeze,
-    pattern Storm,
-    type (:*:),
-    type (~>),
-  )
-
-alert :: Level -> Alert
-alert = raise
diff --git a/corpora/vendored/import/sorting-names-in-a-list.hs b/corpora/vendored/import/sorting-names-in-a-list.hs
deleted file mode 100644
--- a/corpora/vendored/import/sorting-names-in-a-list.hs
+++ /dev/null
@@ -1,20 +0,0 @@
-{-# LANGUAGE ExplicitNamespaces #-}
-{-# LANGUAGE PatternSynonyms #-}
-
-module Weather.Alert where
-
-import Weather.Level
-  ( (<+>),
-    type (~>),
-    raise,
-    pattern Storm,
-    Level ((:>), Warning, Calm),
-    lower,
-    (!),
-    Alert,
-    pattern Breeze,
-    type (:*:)
-  )
-
-alert :: Level -> Alert
-alert = raise
diff --git a/corpora/vendored/import/sorting-the-prelude-under-rebindable-syntax-out.hs b/corpora/vendored/import/sorting-the-prelude-under-rebindable-syntax-out.hs
deleted file mode 100644
--- a/corpora/vendored/import/sorting-the-prelude-under-rebindable-syntax-out.hs
+++ /dev/null
@@ -1,11 +0,0 @@
-{-# LANGUAGE RebindableSyntax #-}
-
-module Weather.Forecast where
-
-import Control.Monad (when)
-import Data.List (foldl')
-import Prelude (Double, (+))
-import Weather.Reading (Reading)
-
-warmer :: Double -> Double
-warmer = (+ 1)
diff --git a/corpora/vendored/import/sorting-the-prelude-under-rebindable-syntax.hs b/corpora/vendored/import/sorting-the-prelude-under-rebindable-syntax.hs
deleted file mode 100644
--- a/corpora/vendored/import/sorting-the-prelude-under-rebindable-syntax.hs
+++ /dev/null
@@ -1,11 +0,0 @@
-{-# LANGUAGE RebindableSyntax #-}
-
-module Weather.Forecast where
-
-import Weather.Reading (Reading)
-import Prelude (Double, (+))
-import Data.List (foldl')
-import Control.Monad (when)
-
-warmer :: Double -> Double
-warmer = (+ 1)
diff --git a/corpora/vendored/import/sorting-the-prelude-without-implicit-prelude-out.hs b/corpora/vendored/import/sorting-the-prelude-without-implicit-prelude-out.hs
deleted file mode 100644
--- a/corpora/vendored/import/sorting-the-prelude-without-implicit-prelude-out.hs
+++ /dev/null
@@ -1,11 +0,0 @@
-{-# LANGUAGE NoImplicitPrelude #-}
-
-module Weather.Forecast where
-
-import Control.Monad (when)
-import Data.List (foldl')
-import Prelude (Double, (+))
-import Weather.Reading (Reading)
-
-warmer :: Double -> Double
-warmer = (+ 1)
diff --git a/corpora/vendored/import/sorting-the-prelude-without-implicit-prelude.hs b/corpora/vendored/import/sorting-the-prelude-without-implicit-prelude.hs
deleted file mode 100644
--- a/corpora/vendored/import/sorting-the-prelude-without-implicit-prelude.hs
+++ /dev/null
@@ -1,11 +0,0 @@
-{-# LANGUAGE NoImplicitPrelude #-}
-
-module Weather.Forecast where
-
-import Weather.Reading (Reading)
-import Prelude (Double, (+))
-import Data.List (foldl')
-import Control.Monad (when)
-
-warmer :: Double -> Double
-warmer = (+ 1)
diff --git a/corpora/vendored/import/sorting/imports-of-this-package-set-apart-out.hs b/corpora/vendored/import/sorting/imports-of-this-package-set-apart-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/sorting/imports-of-this-package-set-apart-out.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE PackageImports #-}
+
+-- Imports that name "this" package come from the project itself, so they
+-- are sorted into a group of their own after the others.
+module Weather.Report where
+
+import Data.List (sortOn)
+import Data.Map.Strict (Map)
+
+import "this" Weather.Reading (Reading, temperature)
+import "this" Weather.Units (Celsius)
+
+report :: Map String Reading -> [Celsius]
+report = fmap temperature . sortOn temperature . foldr (:) []
diff --git a/corpora/vendored/import/sorting/imports-of-this-package-set-apart.hs b/corpora/vendored/import/sorting/imports-of-this-package-set-apart.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/sorting/imports-of-this-package-set-apart.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE PackageImports #-}
+
+-- Imports that name "this" package come from the project itself, so they
+-- are sorted into a group of their own after the others.
+module Weather.Report where
+
+import "this" Weather.Units (Celsius)
+import Data.List (sortOn)
+import "this" Weather.Reading (Reading, temperature)
+import Data.Map.Strict (Map)
+
+report :: Map String Reading -> [Celsius]
+report = fmap temperature . sortOn temperature . foldr (:) []
diff --git a/corpora/vendored/import/sorting/sorting-imports-at-different-levels-out.hs b/corpora/vendored/import/sorting/sorting-imports-at-different-levels-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/sorting/sorting-imports-at-different-levels-out.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE ExplicitLevelImports #-}
+
+module Weather.Splices where
+
+import Weather.Syntax (rain)
+import splice Weather.Syntax (snow, sun)
+import quote Weather.Syntax (hail, wind)
+
+forecast :: String
+forecast = "fair"
diff --git a/corpora/vendored/import/sorting/sorting-imports-at-different-levels.hs b/corpora/vendored/import/sorting/sorting-imports-at-different-levels.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/sorting/sorting-imports-at-different-levels.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE ExplicitLevelImports #-}
+
+module Weather.Splices where
+
+import quote Weather.Syntax (wind)
+import Weather.Syntax (rain)
+import splice Weather.Syntax (sun)
+import splice Weather.Syntax (snow)
+import quote Weather.Syntax (hail)
+
+forecast :: String
+forecast = "fair"
diff --git a/corpora/vendored/import/sorting/sorting-imports-out.hs b/corpora/vendored/import/sorting/sorting-imports-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/sorting/sorting-imports-out.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE PackageImports #-}
+
+module Weather.Station where
+
+import Control.Monad (forM_)
+import Data.Char (toUpper)
+import Data.Map (lookup)
+import qualified Data.Map as Map
+import Data.Map.Strict (Map)
+import Weather.Reading (Reading)
+import "base" Data.List (sort)
+import "containers" Data.Set (Set)
+import Prelude hiding (lookup)
+
+readings :: Map String Reading
+readings = mempty
diff --git a/corpora/vendored/import/sorting/sorting-imports.hs b/corpora/vendored/import/sorting/sorting-imports.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/sorting/sorting-imports.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE PackageImports #-}
+
+module Weather.Station where
+
+import Prelude hiding (lookup)
+import Data.Map.Strict (Map)
+import "containers" Data.Set (Set)
+import Control.Monad (forM_)
+import qualified Data.Map as Map
+import Data.Map (lookup)
+import "base" Data.List (sort)
+import Weather.Reading (Reading)
+import Data.Char (toUpper)
+
+readings :: Map String Reading
+readings = mempty
diff --git a/corpora/vendored/import/sorting/sorting-keeps-comments-with-their-names-out'.hs b/corpora/vendored/import/sorting/sorting-keeps-comments-with-their-names-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/sorting/sorting-keeps-comments-with-their-names-out'.hs
@@ -0,0 +1,11 @@
+module Survey.Answer where
+
+import Survey.Question
+    ( questionId -- unique within a survey, not across surveys
+      -- answered before the respondent may go on
+    , questionRequired
+    , questionText
+    )
+
+ask :: Question -> String
+ask = questionText
diff --git a/corpora/vendored/import/sorting/sorting-keeps-comments-with-their-names-out.hs b/corpora/vendored/import/sorting/sorting-keeps-comments-with-their-names-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/sorting/sorting-keeps-comments-with-their-names-out.hs
@@ -0,0 +1,11 @@
+module Survey.Answer where
+
+import Survey.Question
+  ( questionId, -- unique within a survey, not across surveys
+    -- answered before the respondent may go on
+    questionRequired,
+    questionText,
+  )
+
+ask :: Question -> String
+ask = questionText
diff --git a/corpora/vendored/import/sorting/sorting-keeps-comments-with-their-names.hs b/corpora/vendored/import/sorting/sorting-keeps-comments-with-their-names.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/sorting/sorting-keeps-comments-with-their-names.hs
@@ -0,0 +1,11 @@
+module Survey.Answer where
+
+import Survey.Question
+  ( questionText,
+    questionId, -- unique within a survey, not across surveys
+    -- answered before the respondent may go on
+    questionRequired
+  )
+
+ask :: Question -> String
+ask = questionText
diff --git a/corpora/vendored/import/sorting/sorting-names-by-namespace-out'.hs b/corpora/vendored/import/sorting/sorting-names-by-namespace-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/sorting/sorting-names-by-namespace-out'.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE ExplicitNamespaces #-}
+{-# LANGUAGE PatternSynonyms #-}
+
+module Weather.Gusts where
+
+import Weather.Level
+    ( Measured (measure)
+    , gust
+    , pattern Squall
+    , type Gust
+    , data Calm
+    , data Gale
+    )
+
+strongest :: Gust -> Gale
+strongest = measure
diff --git a/corpora/vendored/import/sorting/sorting-names-by-namespace-out.hs b/corpora/vendored/import/sorting/sorting-names-by-namespace-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/sorting/sorting-names-by-namespace-out.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE ExplicitNamespaces #-}
+{-# LANGUAGE PatternSynonyms #-}
+
+module Weather.Gusts where
+
+import Weather.Level
+  ( Measured (measure),
+    gust,
+    pattern Squall,
+    type Gust,
+    data Calm,
+    data Gale,
+  )
+
+strongest :: Gust -> Gale
+strongest = measure
diff --git a/corpora/vendored/import/sorting/sorting-names-by-namespace.hs b/corpora/vendored/import/sorting/sorting-names-by-namespace.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/sorting/sorting-names-by-namespace.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE ExplicitNamespaces #-}
+{-# LANGUAGE PatternSynonyms #-}
+
+module Weather.Gusts where
+
+import Weather.Level (data Gale, type Gust, pattern Squall, Measured (measure), data Calm, gust, data Gale)
+
+strongest :: Gust -> Gale
+strongest = measure
diff --git a/corpora/vendored/import/sorting/sorting-names-in-a-list-out'.hs b/corpora/vendored/import/sorting/sorting-names-in-a-list-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/sorting/sorting-names-in-a-list-out'.hs
@@ -0,0 +1,20 @@
+{-# LANGUAGE ExplicitNamespaces #-}
+{-# LANGUAGE PatternSynonyms #-}
+
+module Weather.Alert where
+
+import Weather.Level
+    ( Alert
+    , Level (Calm, Warning, (:>))
+    , lower
+    , raise
+    , (!)
+    , (<+>)
+    , pattern Breeze
+    , pattern Storm
+    , type (:*:)
+    , type (~>)
+    )
+
+alert :: Level -> Alert
+alert = raise
diff --git a/corpora/vendored/import/sorting/sorting-names-in-a-list-out.hs b/corpora/vendored/import/sorting/sorting-names-in-a-list-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/sorting/sorting-names-in-a-list-out.hs
@@ -0,0 +1,20 @@
+{-# LANGUAGE ExplicitNamespaces #-}
+{-# LANGUAGE PatternSynonyms #-}
+
+module Weather.Alert where
+
+import Weather.Level
+  ( Alert,
+    Level (Calm, Warning, (:>)),
+    lower,
+    raise,
+    (!),
+    (<+>),
+    pattern Breeze,
+    pattern Storm,
+    type (:*:),
+    type (~>),
+  )
+
+alert :: Level -> Alert
+alert = raise
diff --git a/corpora/vendored/import/sorting/sorting-names-in-a-list.hs b/corpora/vendored/import/sorting/sorting-names-in-a-list.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/sorting/sorting-names-in-a-list.hs
@@ -0,0 +1,20 @@
+{-# LANGUAGE ExplicitNamespaces #-}
+{-# LANGUAGE PatternSynonyms #-}
+
+module Weather.Alert where
+
+import Weather.Level
+  ( (<+>),
+    type (~>),
+    raise,
+    pattern Storm,
+    Level ((:>), Warning, Calm),
+    lower,
+    (!),
+    Alert,
+    pattern Breeze,
+    type (:*:)
+  )
+
+alert :: Level -> Alert
+alert = raise
diff --git a/corpora/vendored/import/sorting/sorting-the-prelude-under-rebindable-syntax-out.hs b/corpora/vendored/import/sorting/sorting-the-prelude-under-rebindable-syntax-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/sorting/sorting-the-prelude-under-rebindable-syntax-out.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE RebindableSyntax #-}
+
+module Weather.Forecast where
+
+import Control.Monad (when)
+import Data.List (foldl')
+import Prelude (Double, (+))
+import Weather.Reading (Reading)
+
+warmer :: Double -> Double
+warmer = (+ 1)
diff --git a/corpora/vendored/import/sorting/sorting-the-prelude-under-rebindable-syntax.hs b/corpora/vendored/import/sorting/sorting-the-prelude-under-rebindable-syntax.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/sorting/sorting-the-prelude-under-rebindable-syntax.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE RebindableSyntax #-}
+
+module Weather.Forecast where
+
+import Weather.Reading (Reading)
+import Prelude (Double, (+))
+import Data.List (foldl')
+import Control.Monad (when)
+
+warmer :: Double -> Double
+warmer = (+ 1)
diff --git a/corpora/vendored/import/sorting/sorting-the-prelude-without-implicit-prelude-out.hs b/corpora/vendored/import/sorting/sorting-the-prelude-without-implicit-prelude-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/sorting/sorting-the-prelude-without-implicit-prelude-out.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE NoImplicitPrelude #-}
+
+module Weather.Forecast where
+
+import Control.Monad (when)
+import Data.List (foldl')
+import Prelude (Double, (+))
+import Weather.Reading (Reading)
+
+warmer :: Double -> Double
+warmer = (+ 1)
diff --git a/corpora/vendored/import/sorting/sorting-the-prelude-without-implicit-prelude.hs b/corpora/vendored/import/sorting/sorting-the-prelude-without-implicit-prelude.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/import/sorting/sorting-the-prelude-without-implicit-prelude.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE NoImplicitPrelude #-}
+
+module Weather.Forecast where
+
+import Weather.Reading (Reading)
+import Prelude (Double, (+))
+import Data.List (foldl')
+import Control.Monad (when)
+
+warmer :: Double -> Double
+warmer = (+ 1)
diff --git a/corpora/vendored/lexical/abstract-closed-family-in-a-quotation-out.hs b/corpora/vendored/lexical/abstract-closed-family-in-a-quotation-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/lexical/abstract-closed-family-in-a-quotation-out.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE TemplateHaskell #-}
+{-# LANGUAGE TypeFamilies #-}
+
+-- A quotation ending with the dots of an abstract closed family keeps a
+-- space before its closing bracket, as the two would read as one operator.
+module Store.Signature where
+
+element = [d| type family Element c where .. |]
+
+plain = [d|type family Key c|]
diff --git a/corpora/vendored/lexical/abstract-closed-family-in-a-quotation.hs b/corpora/vendored/lexical/abstract-closed-family-in-a-quotation.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/lexical/abstract-closed-family-in-a-quotation.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE TemplateHaskell #-}
+{-# LANGUAGE TypeFamilies #-}
+
+-- A quotation ending with the dots of an abstract closed family keeps a
+-- space before its closing bracket, as the two would read as one operator.
+module Store.Signature where
+
+element = [d|  type family Element c where ..   |]
+
+plain = [d|  type family Key c  |]
diff --git a/corpora/vendored/lexical/control-escapes-before-a-string-gap-out'.hs b/corpora/vendored/lexical/control-escapes-before-a-string-gap-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/lexical/control-escapes-before-a-string-gap-out'.hs
@@ -0,0 +1,14 @@
+-- A control escape ending in a backslash is not taken for the start of a
+-- string gap that follows it.
+module Terminal.Record where
+
+record :: String
+record =
+    "name\^\\
+    \age\^\\
+    \town"
+
+bold :: String
+bold =
+    "\^[[1m\
+    \done"
diff --git a/corpora/vendored/lexical/control-escapes-before-a-string-gap-out.hs b/corpora/vendored/lexical/control-escapes-before-a-string-gap-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/lexical/control-escapes-before-a-string-gap-out.hs
@@ -0,0 +1,14 @@
+-- A control escape ending in a backslash is not taken for the start of a
+-- string gap that follows it.
+module Terminal.Record where
+
+record :: String
+record =
+  "name\^\\
+  \age\^\\
+  \town"
+
+bold :: String
+bold =
+  "\^[[1m\
+  \done"
diff --git a/corpora/vendored/lexical/control-escapes-before-a-string-gap.hs b/corpora/vendored/lexical/control-escapes-before-a-string-gap.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/lexical/control-escapes-before-a-string-gap.hs
@@ -0,0 +1,13 @@
+-- A control escape ending in a backslash is not taken for the start of a
+-- string gap that follows it.
+module Terminal.Record where
+
+record :: String
+record =
+  "name\^\\
+  \age\^\\
+  \town"
+
+bold :: String
+bold = "\^[[1m\
+       \done"
diff --git a/corpora/vendored/lexical/extended-literals-out.hs b/corpora/vendored/lexical/extended-literals-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/lexical/extended-literals-out.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE ExtendedLiterals #-}
+{-# LANGUAGE MagicHash #-}
+
+module Packet.Header where
+
+import GHC.Exts
+
+version :: Word8#
+version = 4#Word8
+
+flags :: Word32#
+flags = 0x0000ff00#Word32
+
+checksum :: Int64#
+checksum = -0b1010#Int64
+
+port :: Int16#
+port = 8080#Int16
diff --git a/corpora/vendored/lexical/extended-literals.hs b/corpora/vendored/lexical/extended-literals.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/lexical/extended-literals.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE ExtendedLiterals #-}
+{-# LANGUAGE MagicHash #-}
+
+module Packet.Header where
+
+import GHC.Exts
+
+version :: Word8#
+version = 4#Word8
+
+flags :: Word32#
+flags = 0x0000ff00#Word32
+
+checksum :: Int64#
+checksum =  -0b1010#Int64
+
+port :: Int16#
+port = 8080#Int16
diff --git a/corpora/vendored/lexical/label-after-an-opening-parenthesis-out.hs b/corpora/vendored/lexical/label-after-an-opening-parenthesis-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/lexical/label-after-an-opening-parenthesis-out.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE OverloadedLabels #-}
+{-# LANGUAGE UnboxedTuples #-}
+
+-- With unboxed tuples on, a label right after an opening parenthesis keeps
+-- the space before it, in brackets and in a tuple alike, so that the two do
+-- not read as the opening of an unboxed tuple.
+module Form.Fields where
+
+name = view ( #name) form
+
+pair = ( #first, #last)
+
+fallback = view ( #nickname `orElse` #name) form
+
+age = ( #age form :: Int)
diff --git a/corpora/vendored/lexical/label-after-an-opening-parenthesis.hs b/corpora/vendored/lexical/label-after-an-opening-parenthesis.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/lexical/label-after-an-opening-parenthesis.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE OverloadedLabels #-}
+{-# LANGUAGE UnboxedTuples #-}
+
+-- With unboxed tuples on, a label right after an opening parenthesis keeps
+-- the space before it, in brackets and in a tuple alike, so that the two do
+-- not read as the opening of an unboxed tuple.
+module Form.Fields where
+
+name = view ( #name ) form
+
+pair = ( #first, #last )
+
+fallback = view ( #nickname `orElse` #name ) form
+
+age = ( #age form :: Int )
diff --git a/corpora/vendored/lexical/lexical-negation-out.hs b/corpora/vendored/lexical/lexical-negation-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/lexical/lexical-negation-out.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE LexicalNegation #-}
+
+-- With LexicalNegation, a minus right before an operand negates it, so
+-- f -x applies f to the negation of x and f - x subtracts.
+module Thermostat.Swing where
+
+swing :: Int -> Int
+swing x = offset -x
+
+drop' :: Int -> Int
+drop' x = offset - x
+
+coldest :: Int
+coldest = -40
+
+flipped :: Int -> Int
+flipped t = abs -t + max -1 t
diff --git a/corpora/vendored/lexical/lexical-negation.hs b/corpora/vendored/lexical/lexical-negation.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/lexical/lexical-negation.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE LexicalNegation #-}
+
+-- With LexicalNegation, a minus right before an operand negates it, so
+-- f -x applies f to the negation of x and f - x subtracts.
+module Thermostat.Swing where
+
+swing :: Int -> Int
+swing x = offset -x
+
+drop' :: Int -> Int
+drop' x = offset - x
+
+coldest :: Int
+coldest = -40
+
+flipped :: Int -> Int
+flipped t = abs -t + max -1 t
diff --git a/corpora/vendored/lexical/multiline-string-trailing-space-out'.hs b/corpora/vendored/lexical/multiline-string-trailing-space-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/lexical/multiline-string-trailing-space-out'.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE MultilineStrings #-}
+
+script :: String
+script =
+    """
+    (function (x) { 
+      log(x); 
+    })
+    """
diff --git a/corpora/vendored/lexical/multiline-string-trailing-space-out.hs b/corpora/vendored/lexical/multiline-string-trailing-space-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/lexical/multiline-string-trailing-space-out.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE MultilineStrings #-}
+
+script :: String
+script =
+  """
+  (function (x) { 
+    log(x); 
+  })
+  """
diff --git a/corpora/vendored/lexical/multiline-string-trailing-space.hs b/corpora/vendored/lexical/multiline-string-trailing-space.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/lexical/multiline-string-trailing-space.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE MultilineStrings #-}
+
+script :: String
+script =
+  """
+  (function (x) { 
+    log(x); 
+  })
+  """
diff --git a/corpora/vendored/lexical/multiline-strings-as-type-arguments-out'.hs b/corpora/vendored/lexical/multiline-strings-as-type-arguments-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/lexical/multiline-strings-as-type-arguments-out'.hs
@@ -0,0 +1,23 @@
+{-# LANGUAGE DataKinds #-}
+{-# LANGUAGE MultilineStrings #-}
+
+module Shell.Banner where
+
+type Banner =
+    """
+    Welcome to the shell.
+      Type help to begin."""
+
+farewell :: String
+farewell =
+    render
+        @"""Goodbye,
+         and thank you.
+         """
+
+greeting :: String
+greeting =
+    render @"Hello"
+        ++ render
+            @"""
+             Welcome back."""
diff --git a/corpora/vendored/lexical/multiline-strings-as-type-arguments-out.hs b/corpora/vendored/lexical/multiline-strings-as-type-arguments-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/lexical/multiline-strings-as-type-arguments-out.hs
@@ -0,0 +1,23 @@
+{-# LANGUAGE DataKinds #-}
+{-# LANGUAGE MultilineStrings #-}
+
+module Shell.Banner where
+
+type Banner =
+  """
+  Welcome to the shell.
+    Type help to begin."""
+
+farewell :: String
+farewell =
+  render
+    @"""Goodbye,
+     and thank you.
+     """
+
+greeting :: String
+greeting =
+  render @"Hello"
+    ++ render
+      @"""
+       Welcome back."""
diff --git a/corpora/vendored/lexical/multiline-strings-as-type-arguments.hs b/corpora/vendored/lexical/multiline-strings-as-type-arguments.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/lexical/multiline-strings-as-type-arguments.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE DataKinds #-}
+{-# LANGUAGE MultilineStrings #-}
+
+module Shell.Banner where
+
+type Banner = """
+  Welcome to the shell.
+    Type help to begin."""
+
+farewell :: String
+farewell = render @"""Goodbye,
+                   and thank you.
+                   """
+
+greeting :: String
+greeting = render @"Hello" ++ render @"""
+  Welcome back."""
diff --git a/corpora/vendored/lexical/negated-character-literal-out'.hs b/corpora/vendored/lexical/negated-character-literal-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/lexical/negated-character-literal-out'.hs
@@ -0,0 +1,7 @@
+module Cipher.Mirror where
+
+instance Num Char where
+    negate c = toEnum (255 - fromEnum c)
+
+mirroredA :: Char
+mirroredA = -'a'
diff --git a/corpora/vendored/lexical/negated-character-literal-out.hs b/corpora/vendored/lexical/negated-character-literal-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/lexical/negated-character-literal-out.hs
@@ -0,0 +1,7 @@
+module Cipher.Mirror where
+
+instance Num Char where
+  negate c = toEnum (255 - fromEnum c)
+
+mirroredA :: Char
+mirroredA = -'a'
diff --git a/corpora/vendored/lexical/negated-character-literal.hs b/corpora/vendored/lexical/negated-character-literal.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/lexical/negated-character-literal.hs
@@ -0,0 +1,7 @@
+module Cipher.Mirror where
+
+instance Num Char where
+  negate c = toEnum (255 - fromEnum c)
+
+mirroredA :: Char
+mirroredA = - 'a'
diff --git a/corpora/vendored/lexical/negation-of-a-negative-primitive-literal-out.hs b/corpora/vendored/lexical/negation-of-a-negative-primitive-literal-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/lexical/negation-of-a-negative-primitive-literal-out.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE MagicHash #-}
+{-# LANGUAGE RebindableSyntax #-}
+
+-- A primitive literal may be written negative, so a minus in front of one
+-- keeps its distance, as the two would begin a comment.
+module Signal.Invert where
+
+inverted = - -1#
+
+halved = - -0.5##
diff --git a/corpora/vendored/lexical/negation-of-a-negative-primitive-literal.hs b/corpora/vendored/lexical/negation-of-a-negative-primitive-literal.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/lexical/negation-of-a-negative-primitive-literal.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE MagicHash #-}
+{-# LANGUAGE RebindableSyntax #-}
+
+-- A primitive literal may be written negative, so a minus in front of one
+-- keeps its distance, as the two would begin a comment.
+module Signal.Invert where
+
+inverted = - -1#
+
+halved = - -0.5##
diff --git a/corpora/vendored/lexical/negation-under-negative-literals-out.hs b/corpora/vendored/lexical/negation-under-negative-literals-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/lexical/negation-under-negative-literals-out.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE NegativeLiterals #-}
+
+-- With NegativeLiterals, -1 is a literal and - 1 a negation, so the space
+-- after the minus stays.
+module Thermostat.Shift where
+
+shift :: Int -> Int
+shift x = x + negate (- 1)
+
+lowest :: Int
+lowest = -128
diff --git a/corpora/vendored/lexical/negation-under-negative-literals.hs b/corpora/vendored/lexical/negation-under-negative-literals.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/lexical/negation-under-negative-literals.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE NegativeLiterals #-}
+
+-- With NegativeLiterals, -1 is a literal and - 1 a negation, so the space
+-- after the minus stays.
+module Thermostat.Shift where
+
+shift :: Int -> Int
+shift x = x + negate (- 1)
+
+lowest :: Int
+lowest = -128
diff --git a/corpora/vendored/lexical/negative-literals-out.hs b/corpora/vendored/lexical/negative-literals-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/lexical/negative-literals-out.hs
@@ -0,0 +1,10 @@
+module Thermostat.Offset where
+
+lower :: Int -> Int
+lower x = subtract (-1) x
+
+below :: Double
+below = negate 2 * (-0.5)
+
+opposite :: Int -> Int
+opposite n = -n
diff --git a/corpora/vendored/lexical/negative-literals.hs b/corpora/vendored/lexical/negative-literals.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/lexical/negative-literals.hs
@@ -0,0 +1,10 @@
+module Thermostat.Offset where
+
+lower :: Int -> Int
+lower x = subtract (-1) x
+
+below :: Double
+below = negate 2 * (-0.5)
+
+opposite :: Int -> Int
+opposite n = - n
diff --git a/corpora/vendored/lexical/operand-beginning-with-a-symbol-out.hs b/corpora/vendored/lexical/operand-beginning-with-a-symbol-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/lexical/operand-beginning-with-a-symbol-out.hs
@@ -0,0 +1,27 @@
+{-# LANGUAGE ImplicitParams #-}
+{-# LANGUAGE MagicHash #-}
+{-# LANGUAGE NegativeLiterals #-}
+{-# LANGUAGE OverloadedLabels #-}
+{-# LANGUAGE TemplateHaskell #-}
+
+-- A prefix minus or a backslash stays apart from what follows it where that
+-- begins with a symbol character, as the two would read as one operator.
+module Ledger.Balance where
+
+debit = - ?amount
+
+credit = - ?rate * ?amount
+
+refund = - #total
+
+drift = - ?rate interval
+
+offset = - $(lookupOffset)
+
+typedOffset = - $$(lookupOffset)
+
+spliced = - $offset
+
+parity = map (\ -1 -> 0) readings
+
+unboxed = \ -1# -> 0#
diff --git a/corpora/vendored/lexical/operand-beginning-with-a-symbol.hs b/corpora/vendored/lexical/operand-beginning-with-a-symbol.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/lexical/operand-beginning-with-a-symbol.hs
@@ -0,0 +1,27 @@
+{-# LANGUAGE ImplicitParams #-}
+{-# LANGUAGE MagicHash #-}
+{-# LANGUAGE NegativeLiterals #-}
+{-# LANGUAGE OverloadedLabels #-}
+{-# LANGUAGE TemplateHaskell #-}
+
+-- A prefix minus or a backslash stays apart from what follows it where that
+-- begins with a symbol character, as the two would read as one operator.
+module Ledger.Balance where
+
+debit = - ?amount
+
+credit = - ?rate * ?amount
+
+refund = - #total
+
+drift = - ?rate interval
+
+offset = - $(lookupOffset)
+
+typedOffset = - $$(lookupOffset)
+
+spliced = - $offset
+
+parity = map (\ -1 -> 0) readings
+
+unboxed = \ -1# -> 0#
diff --git a/corpora/vendored/lexical/operator-beginning-with-a-hash-out'.hs b/corpora/vendored/lexical/operator-beginning-with-a-hash-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/lexical/operator-beginning-with-a-hash-out'.hs
@@ -0,0 +1,23 @@
+{-# LANGUAGE UnboxedTuples #-}
+
+-- With unboxed tuples on, an operator that begins with # keeps the space
+-- after an opening parenthesis, and # alone the space before a closing one,
+-- so that neither reads as half of an unboxed tuple.
+module Builder.Append
+    ( ( #<| )
+    , (<|#)
+    , ( # )
+    , prepended
+    )
+where
+
+( #<| ), (<|#), ( # ) :: String -> String -> String
+x #<| y = x ++ y
+x <|# y = y ++ x
+x # y = x ++ " " ++ y
+
+infixr 5 #<|
+
+prepended :: [String] -> [String]
+prepended =
+    map ( #<| "!") . map ("?" <|#) . map ("a" # ) . foldr (( #<| ) . pure) []
diff --git a/corpora/vendored/lexical/operator-beginning-with-a-hash-out.hs b/corpora/vendored/lexical/operator-beginning-with-a-hash-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/lexical/operator-beginning-with-a-hash-out.hs
@@ -0,0 +1,23 @@
+{-# LANGUAGE UnboxedTuples #-}
+
+-- With unboxed tuples on, an operator that begins with # keeps the space
+-- after an opening parenthesis, and # alone the space before a closing one,
+-- so that neither reads as half of an unboxed tuple.
+module Builder.Append
+  ( ( #<| ),
+    (<|#),
+    ( # ),
+    prepended,
+  )
+where
+
+( #<| ), (<|#), ( # ) :: String -> String -> String
+x #<| y = x ++ y
+x <|# y = y ++ x
+x # y = x ++ " " ++ y
+
+infixr 5 #<|
+
+prepended :: [String] -> [String]
+prepended =
+  map ( #<| "!") . map ("?" <|#) . map ("a" # ) . foldr (( #<| ) . pure) []
diff --git a/corpora/vendored/lexical/operator-beginning-with-a-hash.hs b/corpora/vendored/lexical/operator-beginning-with-a-hash.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/lexical/operator-beginning-with-a-hash.hs
@@ -0,0 +1,23 @@
+{-# LANGUAGE UnboxedTuples #-}
+
+-- With unboxed tuples on, an operator that begins with # keeps the space
+-- after an opening parenthesis, and # alone the space before a closing one,
+-- so that neither reads as half of an unboxed tuple.
+module Builder.Append
+  ( ( #<| ),
+    (<|#),
+    ( # ),
+    prepended,
+  )
+where
+
+( #<| ), (<|#), ( # ) :: String -> String -> String
+x #<| y = x ++ y
+x <|# y = y ++ x
+x # y = x ++ " " ++ y
+
+infixr 5 #<|
+
+prepended :: [String] -> [String]
+prepended =
+  map ( #<| "!") . map ("?" <|#) . map ("a" # ) . foldr (( #<| ) . pure) []
diff --git a/corpora/vendored/lexical/primitive-literals-out'.hs b/corpora/vendored/lexical/primitive-literals-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/lexical/primitive-literals-out'.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE MagicHash #-}
+{-# LANGUAGE UnboxedTuples #-}
+
+module Buffer.Raw where
+
+import GHC.Exts
+
+greeting :: Addr#
+greeting = "hello, world"#
+
+spread :: Addr#
+spread =
+    "first line\n\
+    \second line"#
+
+sizes :: (# Int#, Word#, Double#, Char# #)
+sizes = (# 4#, 8##, 0.5##, 'x'# #)
diff --git a/corpora/vendored/lexical/primitive-literals-out.hs b/corpora/vendored/lexical/primitive-literals-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/lexical/primitive-literals-out.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE MagicHash #-}
+{-# LANGUAGE UnboxedTuples #-}
+
+module Buffer.Raw where
+
+import GHC.Exts
+
+greeting :: Addr#
+greeting = "hello, world"#
+
+spread :: Addr#
+spread =
+  "first line\n\
+  \second line"#
+
+sizes :: (# Int#, Word#, Double#, Char# #)
+sizes = (# 4#, 8##, 0.5##, 'x'# #)
diff --git a/corpora/vendored/lexical/primitive-literals.hs b/corpora/vendored/lexical/primitive-literals.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/lexical/primitive-literals.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE MagicHash #-}
+{-# LANGUAGE UnboxedTuples #-}
+
+module Buffer.Raw where
+
+import GHC.Exts
+
+greeting :: Addr#
+greeting = "hello, world"#
+
+spread :: Addr#
+spread =
+  "first line\n\
+  \second line"#
+
+sizes :: (# Int#, Word#, Double#, Char# #)
+sizes = (# 4#, 8##, 0.5##, 'x'# #)
diff --git a/corpora/vendored/lexical/quotation-ending-with-a-symbol-out.hs b/corpora/vendored/lexical/quotation-ending-with-a-symbol-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/lexical/quotation-ending-with-a-symbol-out.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE TemplateHaskell #-}
+
+-- A quotation whose body may end with a symbol character keeps a space
+-- inside each bracket, as the closing one would read as part of an operator.
+module Chain.Quoted where
+
+fixities = [d| infixl 6 +++ |]
+
+method = [d| class Joinable a where infixr 5 <+> |]
+
+local = [d| joined = x +++ y where infixl 6 +++ |]
+
+kinded = [| Proxy :: Proxy * |]
+
+typedKinded = [|| Proxy :: Proxy * ||]
+
+plain = [d|joined = x ++ y|]
diff --git a/corpora/vendored/lexical/quotation-ending-with-a-symbol.hs b/corpora/vendored/lexical/quotation-ending-with-a-symbol.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/lexical/quotation-ending-with-a-symbol.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE TemplateHaskell #-}
+
+-- A quotation whose body may end with a symbol character keeps a space
+-- inside each bracket, as the closing one would read as part of an operator.
+module Chain.Quoted where
+
+fixities = [d| infixl 6 +++ |]
+
+method = [d| class Joinable a where infixr 5 <+> |]
+
+local = [d| joined = x +++ y where infixl 6 +++ |]
+
+kinded = [| Proxy :: Proxy * |]
+
+typedKinded = [|| Proxy :: Proxy * ||]
+
+plain = [d| joined = x ++ y |]
diff --git a/corpora/vendored/lexical/sections-of-ordinary-operators-with-unboxed-tuples-out.hs b/corpora/vendored/lexical/sections-of-ordinary-operators-with-unboxed-tuples-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/lexical/sections-of-ordinary-operators-with-unboxed-tuples-out.hs
@@ -0,0 +1,8 @@
+{-# LANGUAGE UnboxedTuples #-}
+
+-- With unboxed tuples on, only an operator that begins with # needs a space
+-- after the opening parenthesis of its section.
+module Price.Round where
+
+bumped :: [Int] -> [Int]
+bumped = map (+ 1) . map (`div` 2) . map (* 3)
diff --git a/corpora/vendored/lexical/sections-of-ordinary-operators-with-unboxed-tuples.hs b/corpora/vendored/lexical/sections-of-ordinary-operators-with-unboxed-tuples.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/lexical/sections-of-ordinary-operators-with-unboxed-tuples.hs
@@ -0,0 +1,8 @@
+{-# LANGUAGE UnboxedTuples #-}
+
+-- With unboxed tuples on, only an operator that begins with # needs a space
+-- after the opening parenthesis of its section.
+module Price.Round where
+
+bumped :: [Int] -> [Int]
+bumped = map (+ 1) . map (`div` 2) . map (* 3)
diff --git a/corpora/vendored/lexical/string-gaps-across-and-within-lines-out'.hs b/corpora/vendored/lexical/string-gaps-across-and-within-lines-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/lexical/string-gaps-across-and-within-lines-out'.hs
@@ -0,0 +1,10 @@
+module Help.Usage where
+
+usage :: String
+usage =
+    "Usage: brew [options] recipe\n\
+    \  --dry-run   show what would be done\n\
+    \  --verbose   say more\n"
+
+banner :: String
+banner = "brew \ \version 2"
diff --git a/corpora/vendored/lexical/string-gaps-across-and-within-lines-out.hs b/corpora/vendored/lexical/string-gaps-across-and-within-lines-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/lexical/string-gaps-across-and-within-lines-out.hs
@@ -0,0 +1,10 @@
+module Help.Usage where
+
+usage :: String
+usage =
+  "Usage: brew [options] recipe\n\
+  \  --dry-run   show what would be done\n\
+  \  --verbose   say more\n"
+
+banner :: String
+banner = "brew \ \version 2"
diff --git a/corpora/vendored/lexical/string-gaps-across-and-within-lines.hs b/corpora/vendored/lexical/string-gaps-across-and-within-lines.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/lexical/string-gaps-across-and-within-lines.hs
@@ -0,0 +1,10 @@
+module Help.Usage where
+
+usage :: String
+usage =
+  "Usage: brew [options] recipe\n\
+    \  --dry-run   show what would be done\n\
+        \  --verbose   say more\n"
+
+banner :: String
+banner = "brew \   \version 2"
diff --git a/corpora/vendored/lexical/string-literals-as-written-out'.hs b/corpora/vendored/lexical/string-literals-as-written-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/lexical/string-literals-as-written-out'.hs
@@ -0,0 +1,41 @@
+-- A string comes out as written wherever it is, in a pattern, a pragma or
+-- a rule's name: its gaps line up under its opening quote, and nothing is
+-- escaped or quoted that was not.
+module Text.Written where
+
+isLong :: String -> Bool
+isLong
+    "a very long string \
+    \that goes on" = True
+isLong _ = False
+
+{-# DEPRECATED
+    old
+    "use the new one, \
+    \which is better"
+    #-}
+old :: Int
+old = 1
+
+{-# WARNING new ["one", "two"] #-}
+new :: Int
+new = 2
+
+{-# RULES "f/∘" forall x. f (g x) = h x #-}
+
+f :: Int -> Int
+f = id
+{-# SCC f "f_label" #-}
+
+g :: Int -> Int
+g = id
+{-# SCC g #-}
+
+h :: Int -> Int
+h = id
+
+x :: Int
+x = {-# SCC foo #-} 1
+
+y :: Int
+y = {-# SCC "bar" #-} 2
diff --git a/corpora/vendored/lexical/string-literals-as-written-out.hs b/corpora/vendored/lexical/string-literals-as-written-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/lexical/string-literals-as-written-out.hs
@@ -0,0 +1,41 @@
+-- A string comes out as written wherever it is, in a pattern, a pragma or
+-- a rule's name: its gaps line up under its opening quote, and nothing is
+-- escaped or quoted that was not.
+module Text.Written where
+
+isLong :: String -> Bool
+isLong
+  "a very long string \
+  \that goes on" = True
+isLong _ = False
+
+{-# DEPRECATED
+  old
+  "use the new one, \
+  \which is better"
+  #-}
+old :: Int
+old = 1
+
+{-# WARNING new ["one", "two"] #-}
+new :: Int
+new = 2
+
+{-# RULES "f/∘" forall x. f (g x) = h x #-}
+
+f :: Int -> Int
+f = id
+{-# SCC f "f_label" #-}
+
+g :: Int -> Int
+g = id
+{-# SCC g #-}
+
+h :: Int -> Int
+h = id
+
+x :: Int
+x = {-# SCC foo #-} 1
+
+y :: Int
+y = {-# SCC "bar" #-} 2
diff --git a/corpora/vendored/lexical/string-literals-as-written.hs b/corpora/vendored/lexical/string-literals-as-written.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/lexical/string-literals-as-written.hs
@@ -0,0 +1,37 @@
+-- A string comes out as written wherever it is, in a pattern, a pragma or
+-- a rule's name: its gaps line up under its opening quote, and nothing is
+-- escaped or quoted that was not.
+module Text.Written where
+
+isLong :: String -> Bool
+isLong "a very long string \
+       \that goes on" = True
+isLong _ = False
+
+{-# DEPRECATED old "use the new one, \
+                   \which is better" #-}
+old :: Int
+old = 1
+
+{-# WARNING new ["one", "two"] #-}
+new :: Int
+new = 2
+
+{-# RULES "f/∘" forall x. f (g x) = h x #-}
+
+f :: Int -> Int
+f = id
+{-# SCC f "f_label" #-}
+
+g :: Int -> Int
+g = id
+{-# SCC g #-}
+
+h :: Int -> Int
+h = id
+
+x :: Int
+x = {-# SCC foo #-} 1
+
+y :: Int
+y = {-# SCC "bar" #-} 2
diff --git a/corpora/vendored/lexical/tabs-after-a-gap-in-a-multiline-string-out'.hs b/corpora/vendored/lexical/tabs-after-a-gap-in-a-multiline-string-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/lexical/tabs-after-a-gap-in-a-multiline-string-out'.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE MultilineStrings #-}
+
+-- GHC reads a string gap as \&, two columns wide, before it expands tabs,
+-- so a tab after a gap stops at the next multiple of eight from there.
+module Help.Usage where
+
+usage :: String
+usage =
+    """
+    Usage:
+    \ \    tilia [options] file
+    \ \ \ \ tilia --help
+    """
diff --git a/corpora/vendored/lexical/tabs-after-a-gap-in-a-multiline-string-out.hs b/corpora/vendored/lexical/tabs-after-a-gap-in-a-multiline-string-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/lexical/tabs-after-a-gap-in-a-multiline-string-out.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE MultilineStrings #-}
+
+-- GHC reads a string gap as \&, two columns wide, before it expands tabs,
+-- so a tab after a gap stops at the next multiple of eight from there.
+module Help.Usage where
+
+usage :: String
+usage =
+  """
+  Usage:
+  \ \    tilia [options] file
+  \ \ \ \ tilia --help
+  """
diff --git a/corpora/vendored/lexical/tabs-after-a-gap-in-a-multiline-string.hs b/corpora/vendored/lexical/tabs-after-a-gap-in-a-multiline-string.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/lexical/tabs-after-a-gap-in-a-multiline-string.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE MultilineStrings #-}
+
+-- GHC reads a string gap as \&, two columns wide, before it expands tabs,
+-- so a tab after a gap stops at the next multiple of eight from there.
+module Help.Usage where
+
+usage :: String
+usage =
+  """
+  Usage:
+  \ \	tilia [options] file
+  \ \ \ \	tilia --help
+  """
diff --git a/corpora/vendored/lexical/tabs-after-indentation-in-a-multiline-string-out'.hs b/corpora/vendored/lexical/tabs-after-indentation-in-a-multiline-string-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/lexical/tabs-after-indentation-in-a-multiline-string-out'.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE MultilineStrings #-}
+
+-- Tabs after other indentation stop at the next multiple of eight, as GHC
+-- reads them.
+module Help.Options where
+
+options :: String
+options =
+    """
+    Options:
+          --batch      read recipes from a file
+                  --strict  stop at the first warning
+                  --quiet   print nothing
+    """
diff --git a/corpora/vendored/lexical/tabs-after-indentation-in-a-multiline-string-out.hs b/corpora/vendored/lexical/tabs-after-indentation-in-a-multiline-string-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/lexical/tabs-after-indentation-in-a-multiline-string-out.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE MultilineStrings #-}
+
+-- Tabs after other indentation stop at the next multiple of eight, as GHC
+-- reads them.
+module Help.Options where
+
+options :: String
+options =
+  """
+  Options:
+        --batch      read recipes from a file
+                --strict  stop at the first warning
+                --quiet   print nothing
+  """
diff --git a/corpora/vendored/lexical/tabs-after-indentation-in-a-multiline-string.hs b/corpora/vendored/lexical/tabs-after-indentation-in-a-multiline-string.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/lexical/tabs-after-indentation-in-a-multiline-string.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE MultilineStrings #-}
+
+-- Tabs after other indentation stop at the next multiple of eight, as GHC
+-- reads them.
+module Help.Options where
+
+options :: String
+options =
+  """
+  Options:
+  	--batch      read recipes from a file
+  		--strict  stop at the first warning
+  	 	--quiet   print nothing
+  """
diff --git a/corpora/vendored/lexical/tabs-in-a-multiline-string-out'.hs b/corpora/vendored/lexical/tabs-in-a-multiline-string-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/lexical/tabs-in-a-multiline-string-out'.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE MultilineStrings #-}
+
+-- Tabs that indent the lines of a multiline string come out as the spaces
+-- they stand for, which is how GHC reads them.
+module Help.Commands where
+
+commands :: String
+commands =
+    """
+    Commands:
+          build   compile the recipe
+            --fast  skip the checks
+          test    run the checks
+    """
diff --git a/corpora/vendored/lexical/tabs-in-a-multiline-string-out.hs b/corpora/vendored/lexical/tabs-in-a-multiline-string-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/lexical/tabs-in-a-multiline-string-out.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE MultilineStrings #-}
+
+-- Tabs that indent the lines of a multiline string come out as the spaces
+-- they stand for, which is how GHC reads them.
+module Help.Commands where
+
+commands :: String
+commands =
+  """
+  Commands:
+        build   compile the recipe
+          --fast  skip the checks
+        test    run the checks
+  """
diff --git a/corpora/vendored/lexical/tabs-in-a-multiline-string.hs b/corpora/vendored/lexical/tabs-in-a-multiline-string.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/lexical/tabs-in-a-multiline-string.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE MultilineStrings #-}
+
+-- Tabs that indent the lines of a multiline string come out as the spaces
+-- they stand for, which is how GHC reads them.
+module Help.Commands where
+
+commands :: String
+commands =
+  """
+  Commands:
+  	build   compile the recipe
+  	  --fast  skip the checks
+  	test    run the checks
+  """
diff --git a/corpora/vendored/lexical/typed-holes-out.hs b/corpora/vendored/lexical/typed-holes-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/lexical/typed-holes-out.hs
@@ -0,0 +1,7 @@
+module Invoice.Total where
+
+total :: [Item] -> Money
+total items = sum (map _price items) + _
+
+discounted :: Rate -> [Item] -> Money
+discounted rate = _applyRate rate . total
diff --git a/corpora/vendored/lexical/typed-holes.hs b/corpora/vendored/lexical/typed-holes.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/lexical/typed-holes.hs
@@ -0,0 +1,7 @@
+module Invoice.Total where
+
+total :: [Item] -> Money
+total items = sum (map _price items) + _
+
+discounted :: Rate -> [Item] -> Money
+discounted rate = _applyRate rate . total
diff --git a/corpora/vendored/lexical/unicode-arrow-tails-out'.hs b/corpora/vendored/lexical/unicode-arrow-tails-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/lexical/unicode-arrow-tails-out'.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE Arrows #-}
+{-# LANGUAGE UnicodeSyntax #-}
+
+-- Where UnicodeSyntax is in force, the arrow tails that point right come
+-- out in their Unicode forms as well, whichever form they were written in.
+module Circuit.Probe where
+
+probe sensor = proc reading → do
+    level ← reading ⤚ sensor
+    scaled ← level ⤚ calibrate
+    shown ← (scaled, level) ⤜ display level
+    logged ← shown ⤜ record scaled
+    returnA ⤙ logged
diff --git a/corpora/vendored/lexical/unicode-arrow-tails-out.hs b/corpora/vendored/lexical/unicode-arrow-tails-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/lexical/unicode-arrow-tails-out.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE Arrows #-}
+{-# LANGUAGE UnicodeSyntax #-}
+
+-- Where UnicodeSyntax is in force, the arrow tails that point right come
+-- out in their Unicode forms as well, whichever form they were written in.
+module Circuit.Probe where
+
+probe sensor = proc reading → do
+  level ← reading ⤚ sensor
+  scaled ← level ⤚ calibrate
+  shown ← (scaled, level) ⤜ display level
+  logged ← shown ⤜ record scaled
+  returnA ⤙ logged
diff --git a/corpora/vendored/lexical/unicode-arrow-tails.hs b/corpora/vendored/lexical/unicode-arrow-tails.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/lexical/unicode-arrow-tails.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE Arrows #-}
+{-# LANGUAGE UnicodeSyntax #-}
+
+-- Where UnicodeSyntax is in force, the arrow tails that point right come
+-- out in their Unicode forms as well, whichever form they were written in.
+module Circuit.Probe where
+
+probe sensor = proc reading -> do
+  level <- reading >- sensor
+  scaled <- level ⤚ calibrate
+  shown <- (scaled, level) >>- display level
+  logged <- shown ⤜ record scaled
+  returnA -< logged
diff --git a/corpora/vendored/lexical/unicode-syntax-in-force-out'.hs b/corpora/vendored/lexical/unicode-syntax-in-force-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/lexical/unicode-syntax-in-force-out'.hs
@@ -0,0 +1,50 @@
+{-# LANGUAGE Arrows #-}
+{-# LANGUAGE FunctionalDependencies #-}
+{-# LANGUAGE GADTs #-}
+{-# LANGUAGE KindSignatures #-}
+{-# LANGUAGE LinearTypes #-}
+{-# LANGUAGE PatternSynonyms #-}
+{-# LANGUAGE TemplateHaskellQuotes #-}
+{-# LANGUAGE UnicodeSyntax #-}
+{-# LANGUAGE ViewPatterns #-}
+
+-- Where UnicodeSyntax is in force, every symbol that has a Unicode form
+-- comes out in it, whichever form it was written in.
+module Garden.Beds where
+
+apply ∷ ∀ a b. Show a ⇒ (a → b) → a → IO b
+apply f x = do
+    y ← pure (f x)
+    print x
+    pure y
+
+none ∷ ∀ . Int
+none = 1
+
+data Bed (f ∷ ★ → ★) = Bed
+
+seal ∷ a ⊸ a
+seal x = x
+
+class Plot a b | a → b where
+    plant ∷ a → b
+
+data Row where
+    Row ∷ Int ⊸ Row
+    Named ∷ {rowName ∷ Int} → Row
+
+pattern First x ← x : _
+
+measure (length → n) = n
+
+water f = proc x → do
+    y ← f ⤙ x
+    f ⤛ y
+
+tend f g = proc x → ⦇ (<+>) (f ⤙ x) (g ⤙ x) ⦈
+
+spring = ⟦1 + 2⟧
+
+summer = [e|3|]
+
+autumn = [d|frost = 1|]
diff --git a/corpora/vendored/lexical/unicode-syntax-in-force-out.hs b/corpora/vendored/lexical/unicode-syntax-in-force-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/lexical/unicode-syntax-in-force-out.hs
@@ -0,0 +1,50 @@
+{-# LANGUAGE Arrows #-}
+{-# LANGUAGE FunctionalDependencies #-}
+{-# LANGUAGE GADTs #-}
+{-# LANGUAGE KindSignatures #-}
+{-# LANGUAGE LinearTypes #-}
+{-# LANGUAGE PatternSynonyms #-}
+{-# LANGUAGE TemplateHaskellQuotes #-}
+{-# LANGUAGE UnicodeSyntax #-}
+{-# LANGUAGE ViewPatterns #-}
+
+-- Where UnicodeSyntax is in force, every symbol that has a Unicode form
+-- comes out in it, whichever form it was written in.
+module Garden.Beds where
+
+apply ∷ ∀ a b. Show a ⇒ (a → b) → a → IO b
+apply f x = do
+  y ← pure (f x)
+  print x
+  pure y
+
+none ∷ ∀ . Int
+none = 1
+
+data Bed (f ∷ ★ → ★) = Bed
+
+seal ∷ a ⊸ a
+seal x = x
+
+class Plot a b | a → b where
+  plant ∷ a → b
+
+data Row where
+  Row ∷ Int ⊸ Row
+  Named ∷ {rowName ∷ Int} → Row
+
+pattern First x ← x : _
+
+measure (length → n) = n
+
+water f = proc x → do
+  y ← f ⤙ x
+  f ⤛ y
+
+tend f g = proc x → ⦇ (<+>) (f ⤙ x) (g ⤙ x) ⦈
+
+spring = ⟦1 + 2⟧
+
+summer = [e|3|]
+
+autumn = [d|frost = 1|]
diff --git a/corpora/vendored/lexical/unicode-syntax-in-force.hs b/corpora/vendored/lexical/unicode-syntax-in-force.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/lexical/unicode-syntax-in-force.hs
@@ -0,0 +1,50 @@
+{-# LANGUAGE Arrows #-}
+{-# LANGUAGE FunctionalDependencies #-}
+{-# LANGUAGE GADTs #-}
+{-# LANGUAGE KindSignatures #-}
+{-# LANGUAGE LinearTypes #-}
+{-# LANGUAGE PatternSynonyms #-}
+{-# LANGUAGE TemplateHaskellQuotes #-}
+{-# LANGUAGE UnicodeSyntax #-}
+{-# LANGUAGE ViewPatterns #-}
+
+-- Where UnicodeSyntax is in force, every symbol that has a Unicode form
+-- comes out in it, whichever form it was written in.
+module Garden.Beds where
+
+apply ∷ forall a b. (Show a) => (a → b) -> a → IO b
+apply f x = do
+  y <- pure (f x)
+  print x
+  pure y
+
+none ∷ forall. Int
+none = 1
+
+data Bed (f :: * -> ★) = Bed
+
+seal :: a %1 -> a
+seal x = x
+
+class Plot a b | a -> b where
+  plant :: a -> b
+
+data Row where
+  Row :: Int %1 -> Row
+  Named :: {rowName :: Int} -> Row
+
+pattern First x <- x : _
+
+measure (length -> n) = n
+
+water f = proc x -> do
+  y <- f -< x
+  f -<< y
+
+tend f g = proc x -> (| (<+>) (f -< x) (g -< x) |)
+
+spring = [|1 + 2|]
+
+summer = [e|3|]
+
+autumn = [d|frost = 1|]
diff --git a/corpora/vendored/lexical/view-pattern-beginning-with-a-label-out.hs b/corpora/vendored/lexical/view-pattern-beginning-with-a-label-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/lexical/view-pattern-beginning-with-a-label-out.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE OverloadedLabels #-}
+{-# LANGUAGE UnboxedTuples #-}
+{-# LANGUAGE ViewPatterns #-}
+
+-- With unboxed tuples on, a view pattern that begins with a label keeps the
+-- space after an opening parenthesis, in brackets and in a tuple alike.
+module Form.Match where
+
+named ( #name -> n) = n
+
+paired ( #first -> f, #last -> l) = f <> l
+
+fallback ( #nickname `orElse` #name -> n) = n
diff --git a/corpora/vendored/lexical/view-pattern-beginning-with-a-label.hs b/corpora/vendored/lexical/view-pattern-beginning-with-a-label.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/lexical/view-pattern-beginning-with-a-label.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE OverloadedLabels #-}
+{-# LANGUAGE UnboxedTuples #-}
+{-# LANGUAGE ViewPatterns #-}
+
+-- With unboxed tuples on, a view pattern that begins with a label keeps the
+-- space after an opening parenthesis, in brackets and in a tuple alike.
+module Form.Match where
+
+named ( #name -> n ) = n
+
+paired ( #first -> f, #last -> l ) = f <> l
+
+fallback ( #nickname `orElse` #name -> n ) = n
diff --git a/corpora/vendored/line-break/as-written/empty-line-under-a-short-line-out'.hs b/corpora/vendored/line-break/as-written/empty-line-under-a-short-line-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/as-written/empty-line-under-a-short-line-out'.hs
@@ -0,0 +1,49 @@
+{-# LANGUAGE QuasiQuotes #-}
+
+module Main (main) where
+
+short =
+    fo
+
+        -- An empty line under a line that ends left of the comment.
+        a
+
+long =
+    foo
+
+        -- The same under a line that ends right of it.
+        a
+
+rows =
+    ( header
+        ++ footer
+    )
+
+        -- An empty line under a closing parenthesis.
+        : concatMap render items
+
+options =
+    [ flag "a"
+    ]
+
+        -- Options of this command alone.
+        ++ commandFlags
+
+alone =
+    do
+
+        -- An empty line under a do on its own line.
+        x
+
+after = do
+
+    -- An empty line under a do at the end of a line.
+    x
+
+main = pure ()
+    where
+        page = [text|
+  <p>A quoted page.</p>
+|]
+
+        title = "A page"
diff --git a/corpora/vendored/line-break/as-written/empty-line-under-a-short-line-out.hs b/corpora/vendored/line-break/as-written/empty-line-under-a-short-line-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/as-written/empty-line-under-a-short-line-out.hs
@@ -0,0 +1,49 @@
+{-# LANGUAGE QuasiQuotes #-}
+
+module Main (main) where
+
+short =
+  fo
+
+    -- An empty line under a line that ends left of the comment.
+    a
+
+long =
+  foo
+
+    -- The same under a line that ends right of it.
+    a
+
+rows =
+  ( header
+      ++ footer
+  )
+
+    -- An empty line under a closing parenthesis.
+    : concatMap render items
+
+options =
+  [ flag "a"
+  ]
+
+    -- Options of this command alone.
+    ++ commandFlags
+
+alone =
+  do
+
+    -- An empty line under a do on its own line.
+    x
+
+after = do
+
+  -- An empty line under a do at the end of a line.
+  x
+
+main = pure ()
+  where
+    page = [text|
+  <p>A quoted page.</p>
+|]
+
+    title = "A page"
diff --git a/corpora/vendored/line-break/as-written/empty-line-under-a-short-line.hs b/corpora/vendored/line-break/as-written/empty-line-under-a-short-line.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/as-written/empty-line-under-a-short-line.hs
@@ -0,0 +1,49 @@
+{-# LANGUAGE QuasiQuotes #-}
+
+module Main (main) where
+
+short =
+  fo
+
+    -- An empty line under a line that ends left of the comment.
+    a
+
+long =
+  foo
+
+    -- The same under a line that ends right of it.
+    a
+
+rows =
+  ( header
+      ++ footer
+  ) :
+
+  -- An empty line under a closing parenthesis.
+  concatMap render items
+
+options =
+  [ flag "a"
+  ] ++
+
+    -- Options of this command alone.
+    commandFlags
+
+alone =
+  do
+
+    -- An empty line under a do on its own line.
+    x
+
+after = do
+
+  -- An empty line under a do at the end of a line.
+  x
+
+main = pure ()
+  where
+    page = [text|
+  <p>A quoted page.</p>
+|]
+
+    title = "A page"
diff --git a/corpora/vendored/line-break/as-written/layout-as-written-out'.hs b/corpora/vendored/line-break/as-written/layout-as-written-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/as-written/layout-as-written-out'.hs
@@ -0,0 +1,8 @@
+module M where
+
+onOneLine x = (x, x)
+
+spreadOut x =
+    ( x
+    , x
+    )
diff --git a/corpora/vendored/line-break/as-written/layout-as-written-out.hs b/corpora/vendored/line-break/as-written/layout-as-written-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/as-written/layout-as-written-out.hs
@@ -0,0 +1,8 @@
+module M where
+
+onOneLine x = (x, x)
+
+spreadOut x =
+  ( x,
+    x
+  )
diff --git a/corpora/vendored/line-break/as-written/layout-as-written.hs b/corpora/vendored/line-break/as-written/layout-as-written.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/as-written/layout-as-written.hs
@@ -0,0 +1,8 @@
+module M where
+
+onOneLine x = (x, x)
+
+spreadOut x =
+  ( x,
+    x
+  )
diff --git a/corpora/vendored/line-break/as-written/list-written-over-several-lines-out'.hs b/corpora/vendored/line-break/as-written/list-written-over-several-lines-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/as-written/list-written-over-several-lines-out'.hs
@@ -0,0 +1,8 @@
+-- The items of a list written over several lines keep their lines, so that
+-- the rows of a table stay rows.
+module Loom.Weaves where
+
+weaves =
+    [ ("plain", Weave Plain 1 1, "one thread over and one under, the simplest weave of all")
+    , ("twill", Weave Twill 2 1, "diagonal ribs")
+    ]
diff --git a/corpora/vendored/line-break/as-written/list-written-over-several-lines-out.hs b/corpora/vendored/line-break/as-written/list-written-over-several-lines-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/as-written/list-written-over-several-lines-out.hs
@@ -0,0 +1,8 @@
+-- The items of a list written over several lines keep their lines, so that
+-- the rows of a table stay rows.
+module Loom.Weaves where
+
+weaves =
+  [ ("plain", Weave Plain 1 1, "one thread over and one under, the simplest weave of all"),
+    ("twill", Weave Twill 2 1, "diagonal ribs")
+  ]
diff --git a/corpora/vendored/line-break/as-written/list-written-over-several-lines.hs b/corpora/vendored/line-break/as-written/list-written-over-several-lines.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/as-written/list-written-over-several-lines.hs
@@ -0,0 +1,8 @@
+-- The items of a list written over several lines keep their lines, so that
+-- the rows of a table stay rows.
+module Loom.Weaves where
+
+weaves =
+  [ ("plain", Weave Plain 1 1, "one thread over and one under, the simplest weave of all"),
+    ("twill", Weave Twill 2 1, "diagonal ribs")
+  ]
diff --git a/corpora/vendored/line-break/as-written/run-of-one-line-declarations-in-a-quote-out'.hs b/corpora/vendored/line-break/as-written/run-of-one-line-declarations-in-a-quote-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/as-written/run-of-one-line-declarations-in-a-quote-out'.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE TemplateHaskell #-}
+
+-- A run of one-line declarations in a declaration quote keeps its lines as
+-- well, wherever the quote puts them.
+module Loom.Quoted where
+
+declarations =
+    [d|
+        tension = 3
+        weave threads thread colour = summarise (findWithDefault colour threads) xyyyy
+        shuttleCount = 2
+        |]
diff --git a/corpora/vendored/line-break/as-written/run-of-one-line-declarations-in-a-quote-out.hs b/corpora/vendored/line-break/as-written/run-of-one-line-declarations-in-a-quote-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/as-written/run-of-one-line-declarations-in-a-quote-out.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE TemplateHaskell #-}
+
+-- A run of one-line declarations in a declaration quote keeps its lines as
+-- well, wherever the quote puts them.
+module Loom.Quoted where
+
+declarations =
+  [d|
+    tension = 3
+    weave threads thread colour = summarise (findWithDefault colour threads) xyyyy
+    shuttleCount = 2
+    |]
diff --git a/corpora/vendored/line-break/as-written/run-of-one-line-declarations-in-a-quote.hs b/corpora/vendored/line-break/as-written/run-of-one-line-declarations-in-a-quote.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/as-written/run-of-one-line-declarations-in-a-quote.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE TemplateHaskell #-}
+
+-- A run of one-line declarations in a declaration quote keeps its lines as
+-- well, wherever the quote puts them.
+module Loom.Quoted where
+
+declarations =
+  [d|
+    tension = 3
+    weave threads thread colour = summarise (findWithDefault colour threads) xyyyy
+    shuttleCount = 2
+    |]
diff --git a/corpora/vendored/line-break/as-written/run-of-one-line-declarations-out'.hs b/corpora/vendored/line-break/as-written/run-of-one-line-declarations-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/as-written/run-of-one-line-declarations-out'.hs
@@ -0,0 +1,10 @@
+-- One-line declarations of one kind written together keep their lines
+-- however long, so that a run stays a run, and one standing apart breaks.
+module Loom.Run where
+
+tension = 3
+weave threads thread colour = summarise (findWithDefault colour thread threads) (count threads)
+shuttleCount = 2
+
+warp threads thread colour =
+    summarise (findWithDefault colour thread threads) (count threads)
diff --git a/corpora/vendored/line-break/as-written/run-of-one-line-declarations-out.hs b/corpora/vendored/line-break/as-written/run-of-one-line-declarations-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/as-written/run-of-one-line-declarations-out.hs
@@ -0,0 +1,10 @@
+-- One-line declarations of one kind written together keep their lines
+-- however long, so that a run stays a run, and one standing apart breaks.
+module Loom.Run where
+
+tension = 3
+weave threads thread colour = summarise (findWithDefault colour thread threads) (count threads)
+shuttleCount = 2
+
+warp threads thread colour =
+  summarise (findWithDefault colour thread threads) (count threads)
diff --git a/corpora/vendored/line-break/as-written/run-of-one-line-declarations.hs b/corpora/vendored/line-break/as-written/run-of-one-line-declarations.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/as-written/run-of-one-line-declarations.hs
@@ -0,0 +1,9 @@
+-- One-line declarations of one kind written together keep their lines
+-- however long, so that a run stays a run, and one standing apart breaks.
+module Loom.Run where
+
+tension = 3
+weave threads thread colour = summarise (findWithDefault colour thread threads) (count threads)
+shuttleCount = 2
+
+warp threads thread colour = summarise (findWithDefault colour thread threads) (count threads)
diff --git a/corpora/vendored/line-break/column-limit/case-out'.hs b/corpora/vendored/line-break/column-limit/case-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/case-out'.hs
@@ -0,0 +1,8 @@
+-- A case written on one line that runs past column 80 is broken, one
+-- alternative per line.
+module Loom.Cases where
+
+shade colour = case colour of
+    Dyed dye -> saturationOf dye
+    Bleached -> 0
+    Plain -> defaultShade
diff --git a/corpora/vendored/line-break/column-limit/case-out.hs b/corpora/vendored/line-break/column-limit/case-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/case-out.hs
@@ -0,0 +1,8 @@
+-- A case written on one line that runs past column 80 is broken, one
+-- alternative per line.
+module Loom.Cases where
+
+shade colour = case colour of
+  Dyed dye -> saturationOf dye
+  Bleached -> 0
+  Plain -> defaultShade
diff --git a/corpora/vendored/line-break/column-limit/case.hs b/corpora/vendored/line-break/column-limit/case.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/case.hs
@@ -0,0 +1,5 @@
+-- A case written on one line that runs past column 80 is broken, one
+-- alternative per line.
+module Loom.Cases where
+
+shade colour = case colour of Dyed dye -> saturationOf dye; Bleached -> 0; Plain -> defaultShade
diff --git a/corpora/vendored/line-break/column-limit/class-and-instance-heads-out'.hs b/corpora/vendored/line-break/column-limit/class-and-instance-heads-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/class-and-instance-heads-out'.hs
@@ -0,0 +1,20 @@
+-- The head of a class or an instance that runs past column 80 is broken
+-- after its keyword, before what it constrains, and before its where.
+module Loom.Heads where
+
+class
+    (Ord thread, Show thread, Hashable thread, Monoid (Spool thread))
+    => Threadable thread
+    where
+    spin :: thread -> Spool thread
+
+instance
+    (Ord thread, Show thread, Hashable thread)
+    => Threadable (Warp thread Cotton)
+    where
+    spin = spinWarp
+
+instance
+    (Ord thread, Show thread, Hashable thread) => Threadable (Weft thread)
+    where
+    spin = spinWeft
diff --git a/corpora/vendored/line-break/column-limit/class-and-instance-heads-out.hs b/corpora/vendored/line-break/column-limit/class-and-instance-heads-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/class-and-instance-heads-out.hs
@@ -0,0 +1,19 @@
+-- The head of a class or an instance that runs past column 80 is broken
+-- after its keyword, before what it constrains, and before its where.
+module Loom.Heads where
+
+class
+  (Ord thread, Show thread, Hashable thread, Monoid (Spool thread)) =>
+  Threadable thread
+  where
+  spin :: thread -> Spool thread
+
+instance
+  (Ord thread, Show thread, Hashable thread) => Threadable (Warp thread Cotton)
+  where
+  spin = spinWarp
+
+instance
+  (Ord thread, Show thread, Hashable thread) => Threadable (Weft thread)
+  where
+  spin = spinWeft
diff --git a/corpora/vendored/line-break/column-limit/class-and-instance-heads.hs b/corpora/vendored/line-break/column-limit/class-and-instance-heads.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/class-and-instance-heads.hs
@@ -0,0 +1,12 @@
+-- The head of a class or an instance that runs past column 80 is broken
+-- after its keyword, before what it constrains, and before its where.
+module Loom.Heads where
+
+class (Ord thread, Show thread, Hashable thread, Monoid (Spool thread)) => Threadable thread where
+  spin :: thread -> Spool thread
+
+instance (Ord thread, Show thread, Hashable thread) => Threadable (Warp thread Cotton) where
+  spin = spinWarp
+
+instance (Ord thread, Show thread, Hashable thread) => Threadable (Weft thread) where
+  spin = spinWeft
diff --git a/corpora/vendored/line-break/column-limit/class-member-after-a-broken-head-out'.hs b/corpora/vendored/line-break/column-limit/class-member-after-a-broken-head-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/class-member-after-a-broken-head-out'.hs
@@ -0,0 +1,23 @@
+-- A class whose head runs past column 80 puts the members written after its
+-- where on lines of their own, as an instance does.
+module Loom.Members where
+
+class
+    (Ord thread, Show thread, Hashable thread, Monoid (Spool thread))
+    => Spinnable thread
+    where
+    spin :: thread -> Spool thread
+
+class
+    (Ord thread, Show thread, Hashable thread)
+    => Wound thread spool
+        | thread -> spool
+    where
+    wind :: thread -> spool
+    unwind :: spool -> thread
+
+instance
+    (Ord thread, Show thread, Hashable thread, Monoid (Spool thread))
+    => Spinnable (Warp thread)
+    where
+    spin = spinWarp
diff --git a/corpora/vendored/line-break/column-limit/class-member-after-a-broken-head-out.hs b/corpora/vendored/line-break/column-limit/class-member-after-a-broken-head-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/class-member-after-a-broken-head-out.hs
@@ -0,0 +1,23 @@
+-- A class whose head runs past column 80 puts the members written after its
+-- where on lines of their own, as an instance does.
+module Loom.Members where
+
+class
+  (Ord thread, Show thread, Hashable thread, Monoid (Spool thread)) =>
+  Spinnable thread
+  where
+  spin :: thread -> Spool thread
+
+class
+  (Ord thread, Show thread, Hashable thread) =>
+  Wound thread spool
+    | thread -> spool
+  where
+  wind :: thread -> spool
+  unwind :: spool -> thread
+
+instance
+  (Ord thread, Show thread, Hashable thread, Monoid (Spool thread)) =>
+  Spinnable (Warp thread)
+  where
+  spin = spinWarp
diff --git a/corpora/vendored/line-break/column-limit/class-member-after-a-broken-head.hs b/corpora/vendored/line-break/column-limit/class-member-after-a-broken-head.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/class-member-after-a-broken-head.hs
@@ -0,0 +1,9 @@
+-- A class whose head runs past column 80 puts the members written after its
+-- where on lines of their own, as an instance does.
+module Loom.Members where
+
+class (Ord thread, Show thread, Hashable thread, Monoid (Spool thread)) => Spinnable thread where spin :: thread -> Spool thread
+
+class (Ord thread, Show thread, Hashable thread) => Wound thread spool | thread -> spool where wind :: thread -> spool; unwind :: spool -> thread
+
+instance (Ord thread, Show thread, Hashable thread, Monoid (Spool thread)) => Spinnable (Warp thread) where spin = spinWarp
diff --git a/corpora/vendored/line-break/column-limit/command-chain-out'.hs b/corpora/vendored/line-break/column-limit/command-chain-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/command-chain-out'.hs
@@ -0,0 +1,12 @@
+-- An operand of a command chain other than the last stays on one line as
+-- written where it runs past column 80, as in a chain of expressions.
+{-# LANGUAGE Arrows #-}
+
+module Circuit.Watch where
+
+import Control.Arrow (returnA, (<+>))
+
+watch = proc x ->
+    (record -< describeTheSignal (signalStrength x) (signalPhase x) (sampleRate x)) <+> do
+        y <- sense -< x
+        returnA -< y
diff --git a/corpora/vendored/line-break/column-limit/command-chain-out.hs b/corpora/vendored/line-break/column-limit/command-chain-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/command-chain-out.hs
@@ -0,0 +1,12 @@
+-- An operand of a command chain other than the last stays on one line as
+-- written where it runs past column 80, as in a chain of expressions.
+{-# LANGUAGE Arrows #-}
+
+module Circuit.Watch where
+
+import Control.Arrow (returnA, (<+>))
+
+watch = proc x ->
+  (record -< describeTheSignal (signalStrength x) (signalPhase x) (sampleRate x)) <+> do
+    y <- sense -< x
+    returnA -< y
diff --git a/corpora/vendored/line-break/column-limit/command-chain.hs b/corpora/vendored/line-break/column-limit/command-chain.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/command-chain.hs
@@ -0,0 +1,11 @@
+-- An operand of a command chain other than the last stays on one line as
+-- written where it runs past column 80, as in a chain of expressions.
+{-# LANGUAGE Arrows #-}
+
+module Circuit.Watch where
+
+import Control.Arrow ((<+>), returnA)
+
+watch = proc x -> (record -< describeTheSignal (signalStrength x) (signalPhase x) (sampleRate x)) <+> do
+  y <- sense -< x
+  returnA -< y
diff --git a/corpora/vendored/line-break/column-limit/comment-lined-up-under-a-binding-out'.hs b/corpora/vendored/line-break/column-limit/comment-lined-up-under-a-binding-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/comment-lined-up-under-a-binding-out'.hs
@@ -0,0 +1,11 @@
+-- A binding that runs past column 80 with a comment lined up under it is
+-- broken, and the comment stays lined up with the start of the binding.
+module Loom.Comments where
+
+bobbins threads = do
+    let tightened =
+            map
+                (adjustTension tension)
+                (spinAll threads (length threads) defaultTwist)
+        -- The comment lined up with the binding.
+    pure tightened
diff --git a/corpora/vendored/line-break/column-limit/comment-lined-up-under-a-binding-out.hs b/corpora/vendored/line-break/column-limit/comment-lined-up-under-a-binding-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/comment-lined-up-under-a-binding-out.hs
@@ -0,0 +1,11 @@
+-- A binding that runs past column 80 with a comment lined up under it is
+-- broken, and the comment stays lined up with the start of the binding.
+module Loom.Comments where
+
+bobbins threads = do
+  let tightened =
+        map
+          (adjustTension tension)
+          (spinAll threads (length threads) defaultTwist)
+      -- The comment lined up with the binding.
+  pure tightened
diff --git a/corpora/vendored/line-break/column-limit/comment-lined-up-under-a-binding.hs b/corpora/vendored/line-break/column-limit/comment-lined-up-under-a-binding.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/comment-lined-up-under-a-binding.hs
@@ -0,0 +1,8 @@
+-- A binding that runs past column 80 with a comment lined up under it is
+-- broken, and the comment stays lined up with the start of the binding.
+module Loom.Comments where
+
+bobbins threads = do
+  let tightened = map (adjustTension tension) (spinAll threads (length threads) defaultTwist)
+      -- The comment lined up with the binding.
+  pure tightened
diff --git a/corpora/vendored/line-break/column-limit/comment-under-a-right-hand-side-out'.hs b/corpora/vendored/line-break/column-limit/comment-under-a-right-hand-side-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/comment-under-a-right-hand-side-out'.hs
@@ -0,0 +1,11 @@
+-- A right-hand side that runs past column 80 with a comment lined up under
+-- it is broken where it starts a line of its own, and the comment stays
+-- lined up with its start.
+module Ledger.Match where
+
+instance Eq Ledger where
+    a == b =
+        ledgerName a == ledgerName b
+            && ledgerOwner a == ledgerOwner b
+            && ledgerYear a == ledgerYear b -- names only
+        -- the rest follows from them
diff --git a/corpora/vendored/line-break/column-limit/comment-under-a-right-hand-side-out.hs b/corpora/vendored/line-break/column-limit/comment-under-a-right-hand-side-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/comment-under-a-right-hand-side-out.hs
@@ -0,0 +1,11 @@
+-- A right-hand side that runs past column 80 with a comment lined up under
+-- it is broken where it starts a line of its own, and the comment stays
+-- lined up with its start.
+module Ledger.Match where
+
+instance Eq Ledger where
+  a == b =
+    ledgerName a == ledgerName b
+      && ledgerOwner a == ledgerOwner b
+      && ledgerYear a == ledgerYear b -- names only
+    -- the rest follows from them
diff --git a/corpora/vendored/line-break/column-limit/comment-under-a-right-hand-side.hs b/corpora/vendored/line-break/column-limit/comment-under-a-right-hand-side.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/comment-under-a-right-hand-side.hs
@@ -0,0 +1,8 @@
+-- A right-hand side that runs past column 80 with a comment lined up under
+-- it is broken where it starts a line of its own, and the comment stays
+-- lined up with its start.
+module Ledger.Match where
+
+instance Eq Ledger where
+  a == b = ledgerName a == ledgerName b && ledgerOwner a == ledgerOwner b && ledgerYear a == ledgerYear b -- names only
+           -- the rest follows from them
diff --git a/corpora/vendored/line-break/column-limit/conditional-carrying-on-a-line-out'.hs b/corpora/vendored/line-break/column-limit/conditional-carrying-on-a-line-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/conditional-carrying-on-a-line-out'.hs
@@ -0,0 +1,19 @@
+-- The alternatives of a conditional that carry on the line before the
+-- conditional are laid out a step right of that line, and only then broken
+-- where they run past column 80.
+{-# LANGUAGE CPP #-}
+
+module Report.Flush (flush) where
+
+flush :: Bool -> IO ()
+flush verbose =
+#if defined(TRACE)
+    when verbose $
+        do
+            traceIO
+                "flushing the standard output and the standard error streams first"
+            hFlush stdout
+#else
+    when verbose $
+        hFlush stdout
+#endif
diff --git a/corpora/vendored/line-break/column-limit/conditional-carrying-on-a-line-out.hs b/corpora/vendored/line-break/column-limit/conditional-carrying-on-a-line-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/conditional-carrying-on-a-line-out.hs
@@ -0,0 +1,19 @@
+-- The alternatives of a conditional that carry on the line before the
+-- conditional are laid out a step right of that line, and only then broken
+-- where they run past column 80.
+{-# LANGUAGE CPP #-}
+
+module Report.Flush (flush) where
+
+flush :: Bool -> IO ()
+flush verbose =
+#if defined(TRACE)
+  when verbose $
+    do
+      traceIO
+        "flushing the standard output and the standard error streams first"
+      hFlush stdout
+#else
+  when verbose $
+    hFlush stdout
+#endif
diff --git a/corpora/vendored/line-break/column-limit/conditional-carrying-on-a-line.hs b/corpora/vendored/line-break/column-limit/conditional-carrying-on-a-line.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/conditional-carrying-on-a-line.hs
@@ -0,0 +1,13 @@
+-- The alternatives of a conditional that carry on the line before the
+-- conditional are laid out a step right of that line, and only then broken
+-- where they run past column 80.
+{-# LANGUAGE CPP #-}
+
+module Report.Flush (flush) where
+
+flush :: Bool -> IO ()
+flush verbose = when verbose $
+#if defined(TRACE)
+  do traceIO "flushing the standard output and the standard error streams first"
+#endif
+     hFlush stdout
diff --git a/corpora/vendored/line-break/column-limit/data-declaration-out'.hs b/corpora/vendored/line-break/column-limit/data-declaration-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/data-declaration-out'.hs
@@ -0,0 +1,15 @@
+-- A data declaration that runs past column 80 is broken before its
+-- constructors, one per line, and before its deriving clause.
+module Loom.Data where
+
+data Fibre
+    = Cotton
+    | Wool
+    | Silk
+    | Linen
+    | Hemp
+    | Jute
+    | Ramie
+    | Bamboo
+    | Alpaca
+    deriving (Eq, Show)
diff --git a/corpora/vendored/line-break/column-limit/data-declaration-out.hs b/corpora/vendored/line-break/column-limit/data-declaration-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/data-declaration-out.hs
@@ -0,0 +1,15 @@
+-- A data declaration that runs past column 80 is broken before its
+-- constructors, one per line, and before its deriving clause.
+module Loom.Data where
+
+data Fibre
+  = Cotton
+  | Wool
+  | Silk
+  | Linen
+  | Hemp
+  | Jute
+  | Ramie
+  | Bamboo
+  | Alpaca
+  deriving (Eq, Show)
diff --git a/corpora/vendored/line-break/column-limit/data-declaration.hs b/corpora/vendored/line-break/column-limit/data-declaration.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/data-declaration.hs
@@ -0,0 +1,5 @@
+-- A data declaration that runs past column 80 is broken before its
+-- constructors, one per line, and before its deriving clause.
+module Loom.Data where
+
+data Fibre = Cotton | Wool | Silk | Linen | Hemp | Jute | Ramie | Bamboo | Alpaca deriving (Eq, Show)
diff --git a/corpora/vendored/line-break/column-limit/declaration-an-extension-varies-out'.hs b/corpora/vendored/line-break/column-limit/declaration-an-extension-varies-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/declaration-an-extension-varies-out'.hs
@@ -0,0 +1,20 @@
+-- A declaration that an extension switched behind a conditional varies goes
+-- whole into each branch, and is broken there where it runs past column 80.
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE OverloadedRecordDot #-}
+#ifdef PLAIN_RECORDS
+{-# LANGUAGE NoOverloadedRecordDot #-}
+#endif
+
+module Shop.Basket (total) where
+
+#ifdef PLAIN_RECORDS
+total basket =
+    sum basket . prices
+        + sum basket . taxes
+        + sum basket . fees
+        + basket . postage
+#else
+total basket =
+    sum basket.prices + sum basket.taxes + sum basket.fees + basket.postage
+#endif
diff --git a/corpora/vendored/line-break/column-limit/declaration-an-extension-varies-out.hs b/corpora/vendored/line-break/column-limit/declaration-an-extension-varies-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/declaration-an-extension-varies-out.hs
@@ -0,0 +1,20 @@
+-- A declaration that an extension switched behind a conditional varies goes
+-- whole into each branch, and is broken there where it runs past column 80.
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE OverloadedRecordDot #-}
+#ifdef PLAIN_RECORDS
+{-# LANGUAGE NoOverloadedRecordDot #-}
+#endif
+
+module Shop.Basket (total) where
+
+#ifdef PLAIN_RECORDS
+total basket =
+  sum basket . prices
+    + sum basket . taxes
+    + sum basket . fees
+    + basket . postage
+#else
+total basket =
+  sum basket.prices + sum basket.taxes + sum basket.fees + basket.postage
+#endif
diff --git a/corpora/vendored/line-break/column-limit/declaration-an-extension-varies.hs b/corpora/vendored/line-break/column-limit/declaration-an-extension-varies.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/declaration-an-extension-varies.hs
@@ -0,0 +1,10 @@
+-- A declaration that an extension switched behind a conditional varies goes
+-- whole into each branch, and is broken there where it runs past column 80.
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE OverloadedRecordDot #-}
+#ifdef PLAIN_RECORDS
+{-# LANGUAGE NoOverloadedRecordDot #-}
+#endif
+module Shop.Basket (total) where
+
+total basket = sum basket.prices + sum basket.taxes + sum basket.fees + basket.postage
diff --git a/corpora/vendored/line-break/column-limit/do-block-out'.hs b/corpora/vendored/line-break/column-limit/do-block-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/do-block-out'.hs
@@ -0,0 +1,8 @@
+-- A do block written on one line that runs past column 80 is broken, one
+-- statement per line.
+module Loom.Blocks where
+
+weave loom = do
+    threads <- spinAll (loomWarp loom)
+    tighten threads
+    pure (length threads)
diff --git a/corpora/vendored/line-break/column-limit/do-block-out.hs b/corpora/vendored/line-break/column-limit/do-block-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/do-block-out.hs
@@ -0,0 +1,8 @@
+-- A do block written on one line that runs past column 80 is broken, one
+-- statement per line.
+module Loom.Blocks where
+
+weave loom = do
+  threads <- spinAll (loomWarp loom)
+  tighten threads
+  pure (length threads)
diff --git a/corpora/vendored/line-break/column-limit/do-block.hs b/corpora/vendored/line-break/column-limit/do-block.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/do-block.hs
@@ -0,0 +1,5 @@
+-- A do block written on one line that runs past column 80 is broken, one
+-- statement per line.
+module Loom.Blocks where
+
+weave loom = do threads <- spinAll (loomWarp loom); tighten threads; pure (length threads)
diff --git a/corpora/vendored/line-break/column-limit/documented-record-field-out'.hs b/corpora/vendored/line-break/column-limit/documented-record-field-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/documented-record-field-out'.hs
@@ -0,0 +1,21 @@
+{-# LANGUAGE GADTs #-}
+
+-- A documented field of a record written on one line is broken where it
+-- runs past column 80, wherever its Haddock goes.
+module Kiln.Batch where
+
+data Batch where
+    Batch
+        :: { firedOn
+                :: Map
+                    KilnIdentifier
+                    (Either FiringFailure (NonEmpty FiringRecord))
+             -- ^ When it was fired.
+           }
+        -> Batch
+
+data Order = Order
+    { firedOn
+        :: Map KilnIdentifier (Either FiringFailure (NonEmpty FiringRecord))
+      -- ^ When it was fired.
+    }
diff --git a/corpora/vendored/line-break/column-limit/documented-record-field-out.hs b/corpora/vendored/line-break/column-limit/documented-record-field-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/documented-record-field-out.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE GADTs #-}
+
+-- A documented field of a record written on one line is broken where it
+-- runs past column 80, wherever its Haddock goes.
+module Kiln.Batch where
+
+data Batch where
+  Batch ::
+    { {- | When it was fired. -} firedOn ::
+        Map KilnIdentifier (Either FiringFailure (NonEmpty FiringRecord))
+    } ->
+    Batch
+
+data Order = Order
+  { {- | When it was fired. -} firedOn ::
+      Map KilnIdentifier (Either FiringFailure (NonEmpty FiringRecord))
+  }
diff --git a/corpora/vendored/line-break/column-limit/documented-record-field.hs b/corpora/vendored/line-break/column-limit/documented-record-field.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/documented-record-field.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE GADTs #-}
+
+-- A documented field of a record written on one line is broken where it
+-- runs past column 80, wherever its Haddock goes.
+module Kiln.Batch where
+
+data Batch where
+  Batch :: {{- | When it was fired. -} firedOn :: Map KilnIdentifier (Either FiringFailure (NonEmpty FiringRecord))} -> Batch
+
+data Order = Order {{- | When it was fired. -} firedOn :: Map KilnIdentifier (Either FiringFailure (NonEmpty FiringRecord))}
diff --git a/corpora/vendored/line-break/column-limit/equation-head-out'.hs b/corpora/vendored/line-break/column-limit/equation-head-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/equation-head-out'.hs
@@ -0,0 +1,28 @@
+-- The head of an equation that runs past column 80 puts each of its
+-- patterns on a line of its own, a step in from the name, and what follows
+-- the head goes a step past the patterns.
+module Loom.Heads where
+
+weave
+    (Loom name warp weft tension)
+    (Pattern repeats colours)
+    (Shuttle speed load)
+    threads = name
+
+(Loom name warp weft tension)
+    `interlace` (Pattern repeats colours shuttleSpeed bobbin) = name
+
+tension
+    (Loom name warp weft tension)
+    (Pattern repeats colours)
+    (Shuttle speed load)
+        | speed > load = warp
+        | otherwise = weft
+
+instance Woven Loom where
+    woven
+        (Loom name warp weft tension)
+        (Pattern repeats colours)
+        (Shuttle speed load) = do
+            spin name
+            pure warp
diff --git a/corpora/vendored/line-break/column-limit/equation-head-out.hs b/corpora/vendored/line-break/column-limit/equation-head-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/equation-head-out.hs
@@ -0,0 +1,28 @@
+-- The head of an equation that runs past column 80 puts each of its
+-- patterns on a line of its own, a step in from the name, and what follows
+-- the head goes a step past the patterns.
+module Loom.Heads where
+
+weave
+  (Loom name warp weft tension)
+  (Pattern repeats colours)
+  (Shuttle speed load)
+  threads = name
+
+(Loom name warp weft tension)
+  `interlace` (Pattern repeats colours shuttleSpeed bobbin) = name
+
+tension
+  (Loom name warp weft tension)
+  (Pattern repeats colours)
+  (Shuttle speed load)
+    | speed > load = warp
+    | otherwise = weft
+
+instance Woven Loom where
+  woven
+    (Loom name warp weft tension)
+    (Pattern repeats colours)
+    (Shuttle speed load) = do
+      spin name
+      pure warp
diff --git a/corpora/vendored/line-break/column-limit/equation-head.hs b/corpora/vendored/line-break/column-limit/equation-head.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/equation-head.hs
@@ -0,0 +1,17 @@
+-- The head of an equation that runs past column 80 puts each of its
+-- patterns on a line of its own, a step in from the name, and what follows
+-- the head goes a step past the patterns.
+module Loom.Heads where
+
+weave (Loom name warp weft tension) (Pattern repeats colours) (Shuttle speed load) threads = name
+
+(Loom name warp weft tension) `interlace` (Pattern repeats colours shuttleSpeed bobbin) = name
+
+tension (Loom name warp weft tension) (Pattern repeats colours) (Shuttle speed load)
+  | speed > load = warp
+  | otherwise = weft
+
+instance Woven Loom where
+  woven (Loom name warp weft tension) (Pattern repeats colours) (Shuttle speed load) = do
+    spin name
+    pure warp
diff --git a/corpora/vendored/line-break/column-limit/equation-out'.hs b/corpora/vendored/line-break/column-limit/equation-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/equation-out'.hs
@@ -0,0 +1,18 @@
+-- An equation that runs past column 80 is broken after its =, -> or <-.
+module Loom.Equations where
+
+weave threads thread colour =
+    summarise (findWithDefault colour thread threads) (count threads)
+
+shade colour = case colour of
+    Dyed dye ->
+        blendWithBackground
+            (saturationOf dye)
+            (lightnessOf dye)
+            (backgroundOf loom)
+    Plain -> colour
+
+bobbins threads = do
+    spun <-
+        spinAll (filter (not . frayed) threads) (length threads) (twistOf loom)
+    pure spun
diff --git a/corpora/vendored/line-break/column-limit/equation-out.hs b/corpora/vendored/line-break/column-limit/equation-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/equation-out.hs
@@ -0,0 +1,15 @@
+-- An equation that runs past column 80 is broken after its =, -> or <-.
+module Loom.Equations where
+
+weave threads thread colour =
+  summarise (findWithDefault colour thread threads) (count threads)
+
+shade colour = case colour of
+  Dyed dye ->
+    blendWithBackground (saturationOf dye) (lightnessOf dye) (backgroundOf loom)
+  Plain -> colour
+
+bobbins threads = do
+  spun <-
+    spinAll (filter (not . frayed) threads) (length threads) (twistOf loom)
+  pure spun
diff --git a/corpora/vendored/line-break/column-limit/equation.hs b/corpora/vendored/line-break/column-limit/equation.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/equation.hs
@@ -0,0 +1,12 @@
+-- An equation that runs past column 80 is broken after its =, -> or <-.
+module Loom.Equations where
+
+weave threads thread colour = summarise (findWithDefault colour thread threads) (count threads)
+
+shade colour = case colour of
+  Dyed dye -> blendWithBackground (saturationOf dye) (lightnessOf dye) (backgroundOf loom)
+  Plain -> colour
+
+bobbins threads = do
+  spun <- spinAll (filter (not . frayed) threads) (length threads) (twistOf loom)
+  pure spun
diff --git a/corpora/vendored/line-break/column-limit/existential-constructor-out'.hs b/corpora/vendored/line-break/column-limit/existential-constructor-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/existential-constructor-out'.hs
@@ -0,0 +1,16 @@
+-- A constructor with a forall that runs past column 80 stays beside the =
+-- where its forall was written there, and its forall and context break
+-- before its arguments do.
+module Editor.Buffer where
+
+data Buffer = forall editor content
+     . (TextEditor editor, Show content, Monoid content)
+    => Buffer{bufferEditor :: editor, bufferContent :: content}
+
+data Cont u w a
+    = Cont (GenHaxl u w a)
+    | forall b
+       . Cont u w b
+            :>>=
+            (b -> GenHaxl u w a -> Either SomeException (Result u w b))
+    | Return (IVar u w a)
diff --git a/corpora/vendored/line-break/column-limit/existential-constructor-out.hs b/corpora/vendored/line-break/column-limit/existential-constructor-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/existential-constructor-out.hs
@@ -0,0 +1,14 @@
+-- A constructor with a forall that runs past column 80 stays beside the =
+-- where its forall was written there, and its forall and context break
+-- before its arguments do.
+module Editor.Buffer where
+
+data Buffer = forall editor content.
+  (TextEditor editor, Show content, Monoid content) =>
+  Buffer{bufferEditor :: editor, bufferContent :: content}
+
+data Cont u w a
+  = Cont (GenHaxl u w a)
+  | forall b.
+    Cont u w b :>>= (b -> GenHaxl u w a -> Either SomeException (Result u w b))
+  | Return (IVar u w a)
diff --git a/corpora/vendored/line-break/column-limit/existential-constructor.hs b/corpora/vendored/line-break/column-limit/existential-constructor.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/existential-constructor.hs
@@ -0,0 +1,11 @@
+-- A constructor with a forall that runs past column 80 stays beside the =
+-- where its forall was written there, and its forall and context break
+-- before its arguments do.
+module Editor.Buffer where
+
+data Buffer = forall editor content. (TextEditor editor, Show content, Monoid content) => Buffer {bufferEditor :: editor, bufferContent :: content}
+
+data Cont u w a
+  = Cont (GenHaxl u w a)
+  | forall b. Cont u w b :>>= (b -> GenHaxl u w a -> Either SomeException (Result u w b))
+  | Return (IVar u w a)
diff --git a/corpora/vendored/line-break/column-limit/field-under-a-haddock-out'.hs b/corpora/vendored/line-break/column-limit/field-under-a-haddock-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/field-under-a-haddock-out'.hs
@@ -0,0 +1,12 @@
+-- A field under a Haddock that runs past column 80 is broken as it would be
+-- without the Haddock.
+module Shelf.Size where
+
+data Shelf = Shelf
+    { height
+        :: Map
+            ShelfIdentifier
+            (Either MeasurementFailure (NonEmpty MeasurementRecord))
+      -- ^ The height.
+    , width :: Int
+    }
diff --git a/corpora/vendored/line-break/column-limit/field-under-a-haddock-out.hs b/corpora/vendored/line-break/column-limit/field-under-a-haddock-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/field-under-a-haddock-out.hs
@@ -0,0 +1,12 @@
+-- A field under a Haddock that runs past column 80 is broken as it would be
+-- without the Haddock.
+module Shelf.Size where
+
+data Shelf = Shelf
+  { -- | The height.
+    height ::
+      Map
+        ShelfIdentifier
+        (Either MeasurementFailure (NonEmpty MeasurementRecord)),
+    width :: Int
+  }
diff --git a/corpora/vendored/line-break/column-limit/field-under-a-haddock.hs b/corpora/vendored/line-break/column-limit/field-under-a-haddock.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/field-under-a-haddock.hs
@@ -0,0 +1,9 @@
+-- A field under a Haddock that runs past column 80 is broken as it would be
+-- without the Haddock.
+module Shelf.Size where
+
+data Shelf = Shelf
+  { -- | The height.
+    height :: Map ShelfIdentifier (Either MeasurementFailure (NonEmpty MeasurementRecord)),
+    width :: Int
+  }
diff --git a/corpora/vendored/line-break/column-limit/function-application-out'.hs b/corpora/vendored/line-break/column-limit/function-application-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/function-application-out'.hs
@@ -0,0 +1,10 @@
+-- A function application that runs past column 80 even on a line of its own
+-- is broken, one argument per line.
+module Loom.Applications where
+
+bobbins threads =
+    arrangeOnBeam
+        (reverse (sortOn tension threads))
+        (beamWidth defaultLoom)
+        (beamDepth defaultLoom)
+        2
diff --git a/corpora/vendored/line-break/column-limit/function-application-out.hs b/corpora/vendored/line-break/column-limit/function-application-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/function-application-out.hs
@@ -0,0 +1,10 @@
+-- A function application that runs past column 80 even on a line of its own
+-- is broken, one argument per line.
+module Loom.Applications where
+
+bobbins threads =
+  arrangeOnBeam
+    (reverse (sortOn tension threads))
+    (beamWidth defaultLoom)
+    (beamDepth defaultLoom)
+    2
diff --git a/corpora/vendored/line-break/column-limit/function-application.hs b/corpora/vendored/line-break/column-limit/function-application.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/function-application.hs
@@ -0,0 +1,5 @@
+-- A function application that runs past column 80 even on a line of its own
+-- is broken, one argument per line.
+module Loom.Applications where
+
+bobbins threads = arrangeOnBeam (reverse (sortOn tension threads)) (beamWidth defaultLoom) (beamDepth defaultLoom) 2
diff --git a/corpora/vendored/line-break/column-limit/guard-out'.hs b/corpora/vendored/line-break/column-limit/guard-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/guard-out'.hs
@@ -0,0 +1,15 @@
+-- Guards that run past column 80 go on lines of their own and break there,
+-- but a guard written beside the head of its equation before a do keeps
+-- its line.
+module Loom.Guards where
+
+shade colour
+    | isDyed colour
+        && saturationOf colour > threshold
+        && lightnessOf colour < 50 =
+        Dark
+shade colour = Light
+
+weaveWith loom | hasWarp loom && hasWeft loom && tensionOf loom > minimumTension && isReady loom = do
+    spin loom
+    beat loom
diff --git a/corpora/vendored/line-break/column-limit/guard-out.hs b/corpora/vendored/line-break/column-limit/guard-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/guard-out.hs
@@ -0,0 +1,13 @@
+-- Guards that run past column 80 go on lines of their own and break there,
+-- but a guard written beside the head of its equation before a do keeps
+-- its line.
+module Loom.Guards where
+
+shade colour
+  | isDyed colour && saturationOf colour > threshold && lightnessOf colour < 50 =
+      Dark
+shade colour = Light
+
+weaveWith loom | hasWarp loom && hasWeft loom && tensionOf loom > minimumTension && isReady loom = do
+  spin loom
+  beat loom
diff --git a/corpora/vendored/line-break/column-limit/guard.hs b/corpora/vendored/line-break/column-limit/guard.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/guard.hs
@@ -0,0 +1,11 @@
+-- Guards that run past column 80 go on lines of their own and break there,
+-- but a guard written beside the head of its equation before a do keeps
+-- its line.
+module Loom.Guards where
+
+shade colour | isDyed colour && saturationOf colour > threshold && lightnessOf colour < 50 = Dark
+shade colour = Light
+
+weaveWith loom | hasWarp loom && hasWeft loom && tensionOf loom > minimumTension && isReady loom = do
+  spin loom
+  beat loom
diff --git a/corpora/vendored/line-break/column-limit/if-after-a-comment-out'.hs b/corpora/vendored/line-break/column-limit/if-after-a-comment-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/if-after-a-comment-out'.hs
@@ -0,0 +1,13 @@
+-- The condition of an if goes under the if, a step in, where a comment
+-- ends the line of the if, and is broken there where it runs past column
+-- 80.
+module Search.Proof where
+
+tryAll xs = do
+    holes <- getHoles
+    if -- anything but the top is fine for a hole
+        ( holesOK holes (binderTy binder)
+            && (null psnames || name `elem` psnames || allowed)
+        )
+        then try xs
+        else tryAll xs
diff --git a/corpora/vendored/line-break/column-limit/if-after-a-comment-out.hs b/corpora/vendored/line-break/column-limit/if-after-a-comment-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/if-after-a-comment-out.hs
@@ -0,0 +1,13 @@
+-- The condition of an if goes under the if, a step in, where a comment
+-- ends the line of the if, and is broken there where it runs past column
+-- 80.
+module Search.Proof where
+
+tryAll xs = do
+  holes <- getHoles
+  if -- anything but the top is fine for a hole
+    ( holesOK holes (binderTy binder)
+        && (null psnames || name `elem` psnames || allowed)
+    )
+    then try xs
+    else tryAll xs
diff --git a/corpora/vendored/line-break/column-limit/if-after-a-comment.hs b/corpora/vendored/line-break/column-limit/if-after-a-comment.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/if-after-a-comment.hs
@@ -0,0 +1,11 @@
+-- The condition of an if goes under the if, a step in, where a comment
+-- ends the line of the if, and is broken there where it runs past column
+-- 80.
+module Search.Proof where
+
+tryAll xs = do
+  holes <- getHoles
+  if -- anything but the top is fine for a hole
+     (holesOK holes (binderTy binder) && (null psnames || name `elem` psnames || allowed))
+     then try xs
+     else tryAll xs
diff --git a/corpora/vendored/line-break/column-limit/if-then-else-out'.hs b/corpora/vendored/line-break/column-limit/if-then-else-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/if-then-else-out'.hs
@@ -0,0 +1,7 @@
+-- An if that runs past column 80 is broken before its then and its else.
+module Loom.Ifs where
+
+shuttle loom =
+    if loomWidth loom > shuttleReach
+        then throwFromBothSides loom
+        else throwOnce loom
diff --git a/corpora/vendored/line-break/column-limit/if-then-else-out.hs b/corpora/vendored/line-break/column-limit/if-then-else-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/if-then-else-out.hs
@@ -0,0 +1,7 @@
+-- An if that runs past column 80 is broken before its then and its else.
+module Loom.Ifs where
+
+shuttle loom =
+  if loomWidth loom > shuttleReach
+    then throwFromBothSides loom
+    else throwOnce loom
diff --git a/corpora/vendored/line-break/column-limit/if-then-else.hs b/corpora/vendored/line-break/column-limit/if-then-else.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/if-then-else.hs
@@ -0,0 +1,4 @@
+-- An if that runs past column 80 is broken before its then and its else.
+module Loom.Ifs where
+
+shuttle loom = if loomWidth loom > shuttleReach then throwFromBothSides loom else throwOnce loom
diff --git a/corpora/vendored/line-break/column-limit/import-list-out'.hs b/corpora/vendored/line-break/column-limit/import-list-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/import-list-out'.hs
@@ -0,0 +1,15 @@
+-- An import list written on one line that runs past column 80 is broken,
+-- one name per line.
+module Loom.Imports where
+
+import Data.Map.Strict
+    ( Map
+    , adjust
+    , alter
+    , delete
+    , empty
+    , findWithDefault
+    , fromList
+    , insert
+    )
+import Data.Set (Set, member)
diff --git a/corpora/vendored/line-break/column-limit/import-list-out.hs b/corpora/vendored/line-break/column-limit/import-list-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/import-list-out.hs
@@ -0,0 +1,15 @@
+-- An import list written on one line that runs past column 80 is broken,
+-- one name per line.
+module Loom.Imports where
+
+import Data.Map.Strict
+  ( Map,
+    adjust,
+    alter,
+    delete,
+    empty,
+    findWithDefault,
+    fromList,
+    insert,
+  )
+import Data.Set (Set, member)
diff --git a/corpora/vendored/line-break/column-limit/import-list.hs b/corpora/vendored/line-break/column-limit/import-list.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/import-list.hs
@@ -0,0 +1,6 @@
+-- An import list written on one line that runs past column 80 is broken,
+-- one name per line.
+module Loom.Imports where
+
+import Data.Map.Strict (Map, adjust, alter, delete, empty, findWithDefault, fromList, insert)
+import Data.Set (Set, member)
diff --git a/corpora/vendored/line-break/column-limit/lambda-out'.hs b/corpora/vendored/line-break/column-limit/lambda-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/lambda-out'.hs
@@ -0,0 +1,8 @@
+-- A lambda that runs past column 80 is broken after its arrow.
+module Loom.Lambdas where
+
+rethreader = \loom ->
+    rewind
+        (reverse (loomWarp loom))
+        (loomTension loom + 3)
+        (spoolsOf defaultLoom)
diff --git a/corpora/vendored/line-break/column-limit/lambda-out.hs b/corpora/vendored/line-break/column-limit/lambda-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/lambda-out.hs
@@ -0,0 +1,5 @@
+-- A lambda that runs past column 80 is broken after its arrow.
+module Loom.Lambdas where
+
+rethreader = \loom ->
+  rewind (reverse (loomWarp loom)) (loomTension loom + 3) (spoolsOf defaultLoom)
diff --git a/corpora/vendored/line-break/column-limit/lambda.hs b/corpora/vendored/line-break/column-limit/lambda.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/lambda.hs
@@ -0,0 +1,4 @@
+-- A lambda that runs past column 80 is broken after its arrow.
+module Loom.Lambdas where
+
+rethreader = \loom -> rewind (reverse (loomWarp loom)) (loomTension loom + 3) (spoolsOf defaultLoom)
diff --git a/corpora/vendored/line-break/column-limit/let-in-out'.hs b/corpora/vendored/line-break/column-limit/let-in-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/let-in-out'.hs
@@ -0,0 +1,6 @@
+-- A let that runs past column 80 is broken before its in.
+module Loom.Lets where
+
+tension loom =
+    let threads = loomWarp loom
+     in sum (map threadTension threads) `div` length threads
diff --git a/corpora/vendored/line-break/column-limit/let-in-out.hs b/corpora/vendored/line-break/column-limit/let-in-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/let-in-out.hs
@@ -0,0 +1,6 @@
+-- A let that runs past column 80 is broken before its in.
+module Loom.Lets where
+
+tension loom =
+  let threads = loomWarp loom
+   in sum (map threadTension threads) `div` length threads
diff --git a/corpora/vendored/line-break/column-limit/let-in.hs b/corpora/vendored/line-break/column-limit/let-in.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/let-in.hs
@@ -0,0 +1,4 @@
+-- A let that runs past column 80 is broken before its in.
+module Loom.Lets where
+
+tension loom = let threads = loomWarp loom in sum (map threadTension threads) `div` length threads
diff --git a/corpora/vendored/line-break/column-limit/list-comprehension-out'.hs b/corpora/vendored/line-break/column-limit/list-comprehension-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/list-comprehension-out'.hs
@@ -0,0 +1,10 @@
+-- A list comprehension that runs past column 80 is broken before its bar,
+-- one qualifier per line.
+module Loom.Comprehensions where
+
+spools looms =
+    [ spool
+    | loom <- looms
+    , spool <- loomSpools loom
+    , spoolLength spool > minimumLength
+    ]
diff --git a/corpora/vendored/line-break/column-limit/list-comprehension-out.hs b/corpora/vendored/line-break/column-limit/list-comprehension-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/list-comprehension-out.hs
@@ -0,0 +1,10 @@
+-- A list comprehension that runs past column 80 is broken before its bar,
+-- one qualifier per line.
+module Loom.Comprehensions where
+
+spools looms =
+  [ spool
+  | loom <- looms,
+    spool <- loomSpools loom,
+    spoolLength spool > minimumLength
+  ]
diff --git a/corpora/vendored/line-break/column-limit/list-comprehension.hs b/corpora/vendored/line-break/column-limit/list-comprehension.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/list-comprehension.hs
@@ -0,0 +1,5 @@
+-- A list comprehension that runs past column 80 is broken before its bar,
+-- one qualifier per line.
+module Loom.Comprehensions where
+
+spools looms = [spool | loom <- looms, spool <- loomSpools loom, spoolLength spool > minimumLength]
diff --git a/corpora/vendored/line-break/column-limit/list-out'.hs b/corpora/vendored/line-break/column-limit/list-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/list-out'.hs
@@ -0,0 +1,10 @@
+-- A list written on one line that runs past column 80 is broken, one item
+-- per line.
+module Loom.Lists where
+
+looms =
+    [ Loom "warp" 120 Cotton
+    , Loom "weft" 80 Wool
+    , Loom "tapestry" 200 Silk
+    , Loom "rug" 90 Jute
+    ]
diff --git a/corpora/vendored/line-break/column-limit/list-out.hs b/corpora/vendored/line-break/column-limit/list-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/list-out.hs
@@ -0,0 +1,10 @@
+-- A list written on one line that runs past column 80 is broken, one item
+-- per line.
+module Loom.Lists where
+
+looms =
+  [ Loom "warp" 120 Cotton,
+    Loom "weft" 80 Wool,
+    Loom "tapestry" 200 Silk,
+    Loom "rug" 90 Jute
+  ]
diff --git a/corpora/vendored/line-break/column-limit/list.hs b/corpora/vendored/line-break/column-limit/list.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/list.hs
@@ -0,0 +1,5 @@
+-- A list written on one line that runs past column 80 is broken, one item
+-- per line.
+module Loom.Lists where
+
+looms = [Loom "warp" 120 Cotton, Loom "weft" 80 Wool, Loom "tapestry" 200 Silk, Loom "rug" 90 Jute]
diff --git a/corpora/vendored/line-break/column-limit/local-binding-out'.hs b/corpora/vendored/line-break/column-limit/local-binding-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/local-binding-out'.hs
@@ -0,0 +1,16 @@
+-- A local binding that runs past column 80 is broken after its =, also
+-- where it is written on the line of its where or let.
+module Loom.LocalBindings where
+
+selvedge loom = finish edgeThreads loom
+    where
+        edgeThreads =
+            take (selvedgeWidth loom) (dropWhile (not . isEdge) (loomWarp loom))
+
+bobbins threads = do
+    let spun =
+            spinAll
+                (filter (not . frayed) threads)
+                (length threads)
+                (twistOf loom)
+    pure spun
diff --git a/corpora/vendored/line-break/column-limit/local-binding-out.hs b/corpora/vendored/line-break/column-limit/local-binding-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/local-binding-out.hs
@@ -0,0 +1,13 @@
+-- A local binding that runs past column 80 is broken after its =, also
+-- where it is written on the line of its where or let.
+module Loom.LocalBindings where
+
+selvedge loom = finish edgeThreads loom
+  where
+    edgeThreads =
+      take (selvedgeWidth loom) (dropWhile (not . isEdge) (loomWarp loom))
+
+bobbins threads = do
+  let spun =
+        spinAll (filter (not . frayed) threads) (length threads) (twistOf loom)
+  pure spun
diff --git a/corpora/vendored/line-break/column-limit/local-binding.hs b/corpora/vendored/line-break/column-limit/local-binding.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/local-binding.hs
@@ -0,0 +1,10 @@
+-- A local binding that runs past column 80 is broken after its =, also
+-- where it is written on the line of its where or let.
+module Loom.LocalBindings where
+
+selvedge loom = finish edgeThreads loom
+  where edgeThreads = take (selvedgeWidth loom) (dropWhile (not . isEdge) (loomWarp loom))
+
+bobbins threads = do
+  let spun = spinAll (filter (not . frayed) threads) (length threads) (twistOf loom)
+  pure spun
diff --git a/corpora/vendored/line-break/column-limit/module-header-out'.hs b/corpora/vendored/line-break/column-limit/module-header-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/module-header-out'.hs
@@ -0,0 +1,7 @@
+-- A module header written on one line that runs past column 80 is broken
+-- before its export list, which stays on one line where that fits.
+module Loom.Settings.Internal
+    (Settings (..), defaultSettings, warpTension, weftDensity)
+where
+
+import Loom.Settings.Types
diff --git a/corpora/vendored/line-break/column-limit/module-header-out.hs b/corpora/vendored/line-break/column-limit/module-header-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/module-header-out.hs
@@ -0,0 +1,7 @@
+-- A module header written on one line that runs past column 80 is broken
+-- before its export list, which stays on one line where that fits.
+module Loom.Settings.Internal
+  (Settings (..), defaultSettings, warpTension, weftDensity)
+where
+
+import Loom.Settings.Types
diff --git a/corpora/vendored/line-break/column-limit/module-header.hs b/corpora/vendored/line-break/column-limit/module-header.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/module-header.hs
@@ -0,0 +1,5 @@
+-- A module header written on one line that runs past column 80 is broken
+-- before its export list, which stays on one line where that fits.
+module Loom.Settings.Internal (Settings (..), defaultSettings, warpTension, weftDensity) where
+
+import Loom.Settings.Types
diff --git a/corpora/vendored/line-break/column-limit/operands-of-a-chain-before-the-last-out'.hs b/corpora/vendored/line-break/column-limit/operands-of-a-chain-before-the-last-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/operands-of-a-chain-before-the-last-out'.hs
@@ -0,0 +1,23 @@
+module Loom.Weave where
+
+warp threads =
+    fmap
+        (tension . shuttle)
+        (filter (not . frayed) (zip threads (cycle loomPalette)))
+        <> leftovers threads
+
+weft rows =
+    rows
+        ++ [ measure (fromIntegral (length rows)) (shuttleSpeed loomSettings)
+           , finish
+           ]
+        ++ remnants rows
+
+knot strand rest =
+    strand
+        : ( if knotted strand
+                && any (`elem` [Warp, Weft, Selvedge, Heddle]) rest
+                then Reed
+                else Shed
+          )
+        : rest
diff --git a/corpora/vendored/line-break/column-limit/operands-of-a-chain-before-the-last-out.hs b/corpora/vendored/line-break/column-limit/operands-of-a-chain-before-the-last-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/operands-of-a-chain-before-the-last-out.hs
@@ -0,0 +1,22 @@
+module Loom.Weave where
+
+warp threads =
+  fmap
+    (tension . shuttle)
+    (filter (not . frayed) (zip threads (cycle loomPalette)))
+    <> leftovers threads
+
+weft rows =
+  rows
+    ++ [ measure (fromIntegral (length rows)) (shuttleSpeed loomSettings),
+         finish
+       ]
+    ++ remnants rows
+
+knot strand rest =
+  strand
+    : ( if knotted strand && any (`elem` [Warp, Weft, Selvedge, Heddle]) rest
+          then Reed
+          else Shed
+      )
+    : rest
diff --git a/corpora/vendored/line-break/column-limit/operands-of-a-chain-before-the-last.hs b/corpora/vendored/line-break/column-limit/operands-of-a-chain-before-the-last.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/operands-of-a-chain-before-the-last.hs
@@ -0,0 +1,15 @@
+module Loom.Weave where
+
+warp threads =
+  fmap (tension . shuttle) (filter (not . frayed) (zip threads (cycle loomPalette)))
+    <> leftovers threads
+
+weft rows =
+  rows
+    ++ [measure (fromIntegral (length rows)) (shuttleSpeed loomSettings), finish]
+    ++ remnants rows
+
+knot strand rest =
+  strand
+    : (if knotted strand && any (`elem` [Warp, Weft, Selvedge, Heddle]) rest then Reed else Shed)
+    : rest
diff --git a/corpora/vendored/line-break/column-limit/operator-chain-out'.hs b/corpora/vendored/line-break/column-limit/operator-chain-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/operator-chain-out'.hs
@@ -0,0 +1,20 @@
+-- An operator chain that runs past column 80 is broken before its
+-- operators, or after a lone trailing $, one operand per line.
+module Loom.Chains where
+
+tightened spun =
+    map (adjustTension tension) spun
+        ++ map (adjustTension (tension + 1)) (reverse spun)
+
+beam loom =
+    pure $
+        arrangeOnBeam
+            (reverse (loomWarp loom))
+            (beamWidth defaultLoom)
+            (beamDepth loom)
+
+wind loom =
+    liftIO
+        $ spoolAll (loomWarp loom)
+        $ tighten (tensionOf loom)
+        $ threadsOf defaultLoom
diff --git a/corpora/vendored/line-break/column-limit/operator-chain-out.hs b/corpora/vendored/line-break/column-limit/operator-chain-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/operator-chain-out.hs
@@ -0,0 +1,20 @@
+-- An operator chain that runs past column 80 is broken before its
+-- operators, or after a lone trailing $, one operand per line.
+module Loom.Chains where
+
+tightened spun =
+  map (adjustTension tension) spun
+    ++ map (adjustTension (tension + 1)) (reverse spun)
+
+beam loom =
+  pure $
+    arrangeOnBeam
+      (reverse (loomWarp loom))
+      (beamWidth defaultLoom)
+      (beamDepth loom)
+
+wind loom =
+  liftIO
+    $ spoolAll (loomWarp loom)
+    $ tighten (tensionOf loom)
+    $ threadsOf defaultLoom
diff --git a/corpora/vendored/line-break/column-limit/operator-chain.hs b/corpora/vendored/line-break/column-limit/operator-chain.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/operator-chain.hs
@@ -0,0 +1,9 @@
+-- An operator chain that runs past column 80 is broken before its
+-- operators, or after a lone trailing $, one operand per line.
+module Loom.Chains where
+
+tightened spun = map (adjustTension tension) spun ++ map (adjustTension (tension + 1)) (reverse spun)
+
+beam loom = pure $ arrangeOnBeam (reverse (loomWarp loom)) (beamWidth defaultLoom) (beamDepth loom)
+
+wind loom = liftIO $ spoolAll (loomWarp loom) $ tighten (tensionOf loom) $ threadsOf defaultLoom
diff --git a/corpora/vendored/line-break/column-limit/parentheses-out'.hs b/corpora/vendored/line-break/column-limit/parentheses-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/parentheses-out'.hs
@@ -0,0 +1,23 @@
+-- Parentheses break together with what they hold, and keep their line
+-- around what cannot break.
+module Loom.Parentheses where
+
+finish loom =
+    tie
+        ( bind
+            (edgeThreads loom)
+            (selvedgeWidth defaultLoom)
+            (selvedgeTension defaultLoom)
+        )
+        loom
+
+knot loom =
+    tie
+        ( bind (edgeThreads loom) $
+            selvedgeWidth defaultLoom + selvedgeTension defaultLoom * 2
+        )
+        loom
+
+label =
+    describe
+        ("a description of the loom, long enough that it cannot fit on any line at all")
diff --git a/corpora/vendored/line-break/column-limit/parentheses-out.hs b/corpora/vendored/line-break/column-limit/parentheses-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/parentheses-out.hs
@@ -0,0 +1,23 @@
+-- Parentheses break together with what they hold, and keep their line
+-- around what cannot break.
+module Loom.Parentheses where
+
+finish loom =
+  tie
+    ( bind
+        (edgeThreads loom)
+        (selvedgeWidth defaultLoom)
+        (selvedgeTension defaultLoom)
+    )
+    loom
+
+knot loom =
+  tie
+    ( bind (edgeThreads loom) $
+        selvedgeWidth defaultLoom + selvedgeTension defaultLoom * 2
+    )
+    loom
+
+label =
+  describe
+    ("a description of the loom, long enough that it cannot fit on any line at all")
diff --git a/corpora/vendored/line-break/column-limit/parentheses.hs b/corpora/vendored/line-break/column-limit/parentheses.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/parentheses.hs
@@ -0,0 +1,9 @@
+-- Parentheses break together with what they hold, and keep their line
+-- around what cannot break.
+module Loom.Parentheses where
+
+finish loom = tie (bind (edgeThreads loom) (selvedgeWidth defaultLoom) (selvedgeTension defaultLoom)) loom
+
+knot loom = tie (bind (edgeThreads loom) $ selvedgeWidth defaultLoom + selvedgeTension defaultLoom * 2) loom
+
+label = describe ("a description of the loom, long enough that it cannot fit on any line at all")
diff --git a/corpora/vendored/line-break/column-limit/pattern-out'.hs b/corpora/vendored/line-break/column-limit/pattern-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/pattern-out'.hs
@@ -0,0 +1,50 @@
+{-# LANGUAGE Arrows #-}
+
+-- A pattern that runs past column 80 is broken over several lines, but for
+-- the patterns of a lambda, a case alternative and a proc, which keep their
+-- line, since whether what follows them hangs depends on it.
+module Loom.Patterns where
+
+tension
+    callSite
+    ( Loom
+        (Warp warpName warpCount)
+        (Weft weftName weftCount)
+        (Shuttle speedOfIt load)
+    ) = warpCount
+
+( Loom
+    (Warp warpName warpCount)
+    (Weft weftName weftCount)
+    (Shuttle speedOfIt load)
+    )
+    `interlace` other = other
+
+thread
+    Shuttle
+        { shuttleName = name
+        , shuttleSpeed = speed
+        , shuttleLoad = load
+        , shuttleOwner = o
+        } = name
+
+spin = do
+    ( warpThread
+      , weftThread
+      , shuttleThread
+      , bobbinThread
+      , spindleThread
+      , heddleThread
+        ) <- fetchAllThreads
+    pure warpThread
+
+weave = \(Loom (Warp warpName warpCount) (Weft weftName weftCount) (Shuttle speedOfIt)) ->
+    warpCount
+
+pick loom = case loom of
+    Loom (Warp warpName warpCount) (Weft weftName weftCount) (Shuttle speedOfIt) ->
+        warpCount
+
+circuit = proc
+    (Loom (Warp warpName warpCount) (Weft weftName weftCount) (Shuttle speed)) ->
+    returnA -< warpCount
diff --git a/corpora/vendored/line-break/column-limit/pattern-out.hs b/corpora/vendored/line-break/column-limit/pattern-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/pattern-out.hs
@@ -0,0 +1,50 @@
+{-# LANGUAGE Arrows #-}
+
+-- A pattern that runs past column 80 is broken over several lines, but for
+-- the patterns of a lambda, a case alternative and a proc, which keep their
+-- line, since whether what follows them hangs depends on it.
+module Loom.Patterns where
+
+tension
+  callSite
+  ( Loom
+      (Warp warpName warpCount)
+      (Weft weftName weftCount)
+      (Shuttle speedOfIt load)
+  ) = warpCount
+
+( Loom
+    (Warp warpName warpCount)
+    (Weft weftName weftCount)
+    (Shuttle speedOfIt load)
+  )
+  `interlace` other = other
+
+thread
+  Shuttle
+    { shuttleName = name,
+      shuttleSpeed = speed,
+      shuttleLoad = load,
+      shuttleOwner = o
+    } = name
+
+spin = do
+  ( warpThread,
+    weftThread,
+    shuttleThread,
+    bobbinThread,
+    spindleThread,
+    heddleThread
+    ) <- fetchAllThreads
+  pure warpThread
+
+weave = \(Loom (Warp warpName warpCount) (Weft weftName weftCount) (Shuttle speedOfIt)) ->
+  warpCount
+
+pick loom = case loom of
+  Loom (Warp warpName warpCount) (Weft weftName weftCount) (Shuttle speedOfIt) ->
+    warpCount
+
+circuit = proc
+  (Loom (Warp warpName warpCount) (Weft weftName weftCount) (Shuttle speed)) ->
+  returnA -< warpCount
diff --git a/corpora/vendored/line-break/column-limit/pattern-synonym-record-out'.hs b/corpora/vendored/line-break/column-limit/pattern-synonym-record-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/pattern-synonym-record-out'.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE PatternSynonyms #-}
+
+-- The fields of a pattern synonym that run past column 80 are broken one
+-- per line, and what it stands for stays after its = where it fits.
+module Loom.Point where
+
+pattern Point
+    { pointLeft
+    , pointRight
+    , pointAbove
+    , pointBelow
+    , pointDepth
+    , pointHeight
+    } = (pointLeft, pointRight)
diff --git a/corpora/vendored/line-break/column-limit/pattern-synonym-record-out.hs b/corpora/vendored/line-break/column-limit/pattern-synonym-record-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/pattern-synonym-record-out.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE PatternSynonyms #-}
+
+-- The fields of a pattern synonym that run past column 80 are broken one
+-- per line, and what it stands for stays after its = where it fits.
+module Loom.Point where
+
+pattern Point
+  { pointLeft,
+    pointRight,
+    pointAbove,
+    pointBelow,
+    pointDepth,
+    pointHeight
+  } = (pointLeft, pointRight)
diff --git a/corpora/vendored/line-break/column-limit/pattern-synonym-record.hs b/corpora/vendored/line-break/column-limit/pattern-synonym-record.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/pattern-synonym-record.hs
@@ -0,0 +1,7 @@
+{-# LANGUAGE PatternSynonyms #-}
+
+-- The fields of a pattern synonym that run past column 80 are broken one
+-- per line, and what it stands for stays after its = where it fits.
+module Loom.Point where
+
+pattern Point {pointLeft, pointRight, pointAbove, pointBelow, pointDepth, pointHeight} = (pointLeft, pointRight)
diff --git a/corpora/vendored/line-break/column-limit/pattern.hs b/corpora/vendored/line-break/column-limit/pattern.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/pattern.hs
@@ -0,0 +1,23 @@
+{-# LANGUAGE Arrows #-}
+
+-- A pattern that runs past column 80 is broken over several lines, but for
+-- the patterns of a lambda, a case alternative and a proc, which keep their
+-- line, since whether what follows them hangs depends on it.
+module Loom.Patterns where
+
+tension callSite (Loom (Warp warpName warpCount) (Weft weftName weftCount) (Shuttle speedOfIt load)) = warpCount
+
+(Loom (Warp warpName warpCount) (Weft weftName weftCount) (Shuttle speedOfIt load)) `interlace` other = other
+
+thread Shuttle{shuttleName = name, shuttleSpeed = speed, shuttleLoad = load, shuttleOwner = o} = name
+
+spin = do
+  (warpThread, weftThread, shuttleThread, bobbinThread, spindleThread, heddleThread) <- fetchAllThreads
+  pure warpThread
+
+weave = \(Loom (Warp warpName warpCount) (Weft weftName weftCount) (Shuttle speedOfIt)) -> warpCount
+
+pick loom = case loom of
+  Loom (Warp warpName warpCount) (Weft weftName weftCount) (Shuttle speedOfIt) -> warpCount
+
+circuit = proc (Loom (Warp warpName warpCount) (Weft weftName weftCount) (Shuttle speed)) -> returnA -< warpCount
diff --git a/corpora/vendored/line-break/column-limit/proc-out'.hs b/corpora/vendored/line-break/column-limit/proc-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/proc-out'.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE Arrows #-}
+
+-- A proc whose pattern runs past column 80 is broken before the pattern,
+-- and its -> ends the pattern's line.
+module Circuit.Switch where
+
+switch threshold = proc
+    (levelOfTheSignal, thresholdOfTheAlarm, rangeOfTheSensor) ->
+    alarm -< levelOfTheSignal
diff --git a/corpora/vendored/line-break/column-limit/proc-out.hs b/corpora/vendored/line-break/column-limit/proc-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/proc-out.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE Arrows #-}
+
+-- A proc whose pattern runs past column 80 is broken before the pattern,
+-- and its -> ends the pattern's line.
+module Circuit.Switch where
+
+switch threshold = proc
+  (levelOfTheSignal, thresholdOfTheAlarm, rangeOfTheSensor) ->
+  alarm -< levelOfTheSignal
diff --git a/corpora/vendored/line-break/column-limit/proc.hs b/corpora/vendored/line-break/column-limit/proc.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/proc.hs
@@ -0,0 +1,7 @@
+{-# LANGUAGE Arrows #-}
+
+-- A proc whose pattern runs past column 80 is broken before the pattern,
+-- and its -> ends the pattern's line.
+module Circuit.Switch where
+
+switch threshold = proc (levelOfTheSignal, thresholdOfTheAlarm, rangeOfTheSensor) -> alarm -< levelOfTheSignal
diff --git a/corpora/vendored/line-break/column-limit/record-after-a-broken-head-out'.hs b/corpora/vendored/line-break/column-limit/record-after-a-broken-head-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/record-after-a-broken-head-out'.hs
@@ -0,0 +1,19 @@
+module Loom.Settings where
+
+data
+    Settings
+        warp
+        weft
+        heddle
+        shuttle
+        reed
+        beam
+        treadle
+        bobbin
+        selvedge
+        harness
+        pick = Settings
+    { settingsWarpTension :: warp
+    , settingsWeftDensity :: weft
+    , settingsReed :: reed
+    }
diff --git a/corpora/vendored/line-break/column-limit/record-after-a-broken-head-out.hs b/corpora/vendored/line-break/column-limit/record-after-a-broken-head-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/record-after-a-broken-head-out.hs
@@ -0,0 +1,19 @@
+module Loom.Settings where
+
+data
+  Settings
+    warp
+    weft
+    heddle
+    shuttle
+    reed
+    beam
+    treadle
+    bobbin
+    selvedge
+    harness
+    pick = Settings
+  { settingsWarpTension :: warp,
+    settingsWeftDensity :: weft,
+    settingsReed :: reed
+  }
diff --git a/corpora/vendored/line-break/column-limit/record-after-a-broken-head.hs b/corpora/vendored/line-break/column-limit/record-after-a-broken-head.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/record-after-a-broken-head.hs
@@ -0,0 +1,3 @@
+module Loom.Settings where
+
+data Settings warp weft heddle shuttle reed beam treadle bobbin selvedge harness pick = Settings {settingsWarpTension :: warp, settingsWeftDensity :: weft, settingsReed :: reed}
diff --git a/corpora/vendored/line-break/column-limit/record-out'.hs b/corpora/vendored/line-break/column-limit/record-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/record-out'.hs
@@ -0,0 +1,27 @@
+-- A record construction or update that runs past column 80 is broken, one
+-- field per line, and a field that runs past it is broken after its =.
+module Loom.Records where
+
+defaultLoom =
+    Loom
+        { loomName = "workshop"
+        , loomWarp = []
+        , loomWeft = []
+        , loomTension = 3
+        , loomWidth = 120
+        }
+
+rethread loom =
+    loom
+        { loomWarp = reverse (loomWarp loom)
+        , loomTension = loomTension loom + tension
+        }
+
+restrung loom =
+    loom
+        { loomWeft =
+            respool
+                (loomWeft loom)
+                (spoolLength defaultLoom)
+                (twistOf defaultLoom)
+        }
diff --git a/corpora/vendored/line-break/column-limit/record-out.hs b/corpora/vendored/line-break/column-limit/record-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/record-out.hs
@@ -0,0 +1,24 @@
+-- A record construction or update that runs past column 80 is broken, one
+-- field per line, and a field that runs past it is broken after its =.
+module Loom.Records where
+
+defaultLoom =
+  Loom
+    { loomName = "workshop",
+      loomWarp = [],
+      loomWeft = [],
+      loomTension = 3,
+      loomWidth = 120
+    }
+
+rethread loom =
+  loom
+    { loomWarp = reverse (loomWarp loom),
+      loomTension = loomTension loom + tension
+    }
+
+restrung loom =
+  loom
+    { loomWeft =
+        respool (loomWeft loom) (spoolLength defaultLoom) (twistOf defaultLoom)
+    }
diff --git a/corpora/vendored/line-break/column-limit/record.hs b/corpora/vendored/line-break/column-limit/record.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/record.hs
@@ -0,0 +1,9 @@
+-- A record construction or update that runs past column 80 is broken, one
+-- field per line, and a field that runs past it is broken after its =.
+module Loom.Records where
+
+defaultLoom = Loom{loomName = "workshop", loomWarp = [], loomWeft = [], loomTension = 3, loomWidth = 120}
+
+rethread loom = loom{loomWarp = reverse (loomWarp loom), loomTension = loomTension loom + tension}
+
+restrung loom = loom{loomWeft = respool (loomWeft loom) (spoolLength defaultLoom) (twistOf defaultLoom)}
diff --git a/corpora/vendored/line-break/column-limit/signature-naming-several-things-out'.hs b/corpora/vendored/line-break/column-limit/signature-naming-several-things-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/signature-naming-several-things-out'.hs
@@ -0,0 +1,11 @@
+-- A signature naming several things that runs past column 80 is broken
+-- after its names, one per line, and after its :: where its type does not
+-- fit.
+module Loom.Signatures where
+
+tension
+    , shuttleCount
+    , spoolLength
+    , beamWidth
+    , beamDepth
+    , warpCount :: Loom -> Int
diff --git a/corpora/vendored/line-break/column-limit/signature-naming-several-things-out.hs b/corpora/vendored/line-break/column-limit/signature-naming-several-things-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/signature-naming-several-things-out.hs
@@ -0,0 +1,11 @@
+-- A signature naming several things that runs past column 80 is broken
+-- after its names, one per line, and after its :: where its type does not
+-- fit.
+module Loom.Signatures where
+
+tension,
+  shuttleCount,
+  spoolLength,
+  beamWidth,
+  beamDepth,
+  warpCount :: Loom -> Int
diff --git a/corpora/vendored/line-break/column-limit/signature-naming-several-things.hs b/corpora/vendored/line-break/column-limit/signature-naming-several-things.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/signature-naming-several-things.hs
@@ -0,0 +1,6 @@
+-- A signature naming several things that runs past column 80 is broken
+-- after its names, one per line, and after its :: where its type does not
+-- fit.
+module Loom.Signatures where
+
+tension, shuttleCount, spoolLength, beamWidth, beamDepth, warpCount :: Loom -> Int
diff --git a/corpora/vendored/line-break/column-limit/signature-out'.hs b/corpora/vendored/line-break/column-limit/signature-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/signature-out'.hs
@@ -0,0 +1,20 @@
+-- A signature naming one thing that runs past column 80 is broken after its
+-- :: and its =>, at the top level, in a class and among local bindings.
+module Loom.Signatures where
+
+weave
+    :: (Ord thread, Show colour)
+    => Map thread colour -> thread -> colour -> Either String Int
+weave = undefined
+
+class Shuttle shuttle where
+    throw
+        :: (Ord thread, Show colour)
+        => shuttle -> Map thread colour -> thread -> Either String Int
+
+selvedge loom = edgeThreads loom
+    where
+        edgeThreads
+            :: Ord thread
+            => Loom thread -> Map thread Colour -> [(thread, Colour)]
+        edgeThreads = undefined
diff --git a/corpora/vendored/line-break/column-limit/signature-out.hs b/corpora/vendored/line-break/column-limit/signature-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/signature-out.hs
@@ -0,0 +1,19 @@
+-- A signature naming one thing that runs past column 80 is broken after its
+-- :: and its =>, at the top level, in a class and among local bindings.
+module Loom.Signatures where
+
+weave ::
+  (Ord thread, Show colour) =>
+  Map thread colour -> thread -> colour -> Either String Int
+weave = undefined
+
+class Shuttle shuttle where
+  throw ::
+    (Ord thread, Show colour) =>
+    shuttle -> Map thread colour -> thread -> Either String Int
+
+selvedge loom = edgeThreads loom
+  where
+    edgeThreads ::
+      Ord thread => Loom thread -> Map thread Colour -> [(thread, Colour)]
+    edgeThreads = undefined
diff --git a/corpora/vendored/line-break/column-limit/signature.hs b/corpora/vendored/line-break/column-limit/signature.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/signature.hs
@@ -0,0 +1,14 @@
+-- A signature naming one thing that runs past column 80 is broken after its
+-- :: and its =>, at the top level, in a class and among local bindings.
+module Loom.Signatures where
+
+weave :: (Ord thread, Show colour) => Map thread colour -> thread -> colour -> Either String Int
+weave = undefined
+
+class Shuttle shuttle where
+  throw :: (Ord thread, Show colour) => shuttle -> Map thread colour -> thread -> Either String Int
+
+selvedge loom = edgeThreads loom
+  where
+    edgeThreads :: (Ord thread) => Loom thread -> Map thread Colour -> [(thread, Colour)]
+    edgeThreads = undefined
diff --git a/corpora/vendored/line-break/column-limit/transform-comprehension-out'.hs b/corpora/vendored/line-break/column-limit/transform-comprehension-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/transform-comprehension-out'.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE TransformListComp #-}
+
+-- A comprehension that runs past column 80 is broken before each
+-- qualifier, and a then qualifier stays on one line where it fits.
+module Census.Oldest where
+
+import GHC.Exts (sortWith)
+
+oldest people =
+    [ name
+    | (name, age, town) <- people
+    , town == "Lyon"
+    , then sortWith by negate age
+    , then take 3
+    ]
diff --git a/corpora/vendored/line-break/column-limit/transform-comprehension-out.hs b/corpora/vendored/line-break/column-limit/transform-comprehension-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/transform-comprehension-out.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE TransformListComp #-}
+
+-- A comprehension that runs past column 80 is broken before each
+-- qualifier, and a then qualifier stays on one line where it fits.
+module Census.Oldest where
+
+import GHC.Exts (sortWith)
+
+oldest people =
+  [ name
+  | (name, age, town) <- people,
+    town == "Lyon",
+    then sortWith by negate age,
+    then take 3
+  ]
diff --git a/corpora/vendored/line-break/column-limit/transform-comprehension.hs b/corpora/vendored/line-break/column-limit/transform-comprehension.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/transform-comprehension.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE TransformListComp #-}
+
+-- A comprehension that runs past column 80 is broken before each
+-- qualifier, and a then qualifier stays on one line where it fits.
+module Census.Oldest where
+
+import GHC.Exts (sortWith)
+
+oldest people = [name | (name, age, town) <- people, town == "Lyon", then sortWith by negate age, then take 3]
diff --git a/corpora/vendored/line-break/column-limit/tuple-out'.hs b/corpora/vendored/line-break/column-limit/tuple-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/tuple-out'.hs
@@ -0,0 +1,10 @@
+-- A tuple written on one line that runs past column 80 is broken, one item
+-- per line.
+module Loom.Tuples where
+
+counts =
+    ( countWarp defaultLoom
+    , countWeft defaultLoom
+    , countSelvedge defaultLoom
+    , shuttleCount
+    )
diff --git a/corpora/vendored/line-break/column-limit/tuple-out.hs b/corpora/vendored/line-break/column-limit/tuple-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/tuple-out.hs
@@ -0,0 +1,10 @@
+-- A tuple written on one line that runs past column 80 is broken, one item
+-- per line.
+module Loom.Tuples where
+
+counts =
+  ( countWarp defaultLoom,
+    countWeft defaultLoom,
+    countSelvedge defaultLoom,
+    shuttleCount
+  )
diff --git a/corpora/vendored/line-break/column-limit/tuple.hs b/corpora/vendored/line-break/column-limit/tuple.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/line-break/column-limit/tuple.hs
@@ -0,0 +1,5 @@
+-- A tuple written on one line that runs past column 80 is broken, one item
+-- per line.
+module Loom.Tuples where
+
+counts = (countWarp defaultLoom, countWeft defaultLoom, countSelvedge defaultLoom, shuttleCount)
diff --git a/corpora/vendored/magic-comment/left-as-written-out.hs b/corpora/vendored/magic-comment/left-as-written-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/magic-comment/left-as-written-out.hs
@@ -0,0 +1,28 @@
+-- The lines from a {- TILIA_OFF -} to the next {- TILIA_ON -} come out as
+-- written, comments and all, and everything around them is formatted.
+module Loom.Patterns where
+
+import Data.List (sortOn)
+
+-- | The threads of each pattern, lined up by hand.
+patterns :: [(String, [Int])]
+{- TILIA_OFF -}
+patterns =
+    -- name          warp  weft  twist
+    [ ("herringbone", [ 3,    2,    4 ])
+    , ("houndstooth", [ 2,    3,    5 ])
+    ]
+{- TILIA_ON -}
+-- the order the looms take them in
+
+ordered :: [(String, [Int])]
+ordered = sortOn fst patterns
+
+{- TILIA_OFF -}
+-- A table   kept   as   it   is:
+--   herringbone   twill
+--   houndstooth   check
+{- TILIA_ON -}
+
+count :: Int
+count = length ordered
diff --git a/corpora/vendored/magic-comment/left-as-written-to-the-end-out.hs b/corpora/vendored/magic-comment/left-as-written-to-the-end-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/magic-comment/left-as-written-to-the-end-out.hs
@@ -0,0 +1,10 @@
+-- A {- TILIA_OFF -} with no {- TILIA_ON -} after it leaves the rest of the
+-- module as written.
+module Loom.Shuttles where
+
+shuttles :: Int
+shuttles = 4
+{- TILIA_OFF -}
+spare   =   [ 1 ,   2 ]
+
+broken   =   [ ]
diff --git a/corpora/vendored/magic-comment/left-as-written-to-the-end.hs b/corpora/vendored/magic-comment/left-as-written-to-the-end.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/magic-comment/left-as-written-to-the-end.hs
@@ -0,0 +1,10 @@
+-- A {- TILIA_OFF -} with no {- TILIA_ON -} after it leaves the rest of the
+-- module as written.
+module Loom.Shuttles where
+
+shuttles   ::   Int
+shuttles = 4
+{- TILIA_OFF -}
+spare   =   [ 1 ,   2 ]
+
+broken   =   [ ]
diff --git a/corpora/vendored/magic-comment/left-as-written.hs b/corpora/vendored/magic-comment/left-as-written.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/magic-comment/left-as-written.hs
@@ -0,0 +1,28 @@
+-- The lines from a {- TILIA_OFF -} to the next {- TILIA_ON -} come out as
+-- written, comments and all, and everything around them is formatted.
+module Loom.Patterns where
+
+import Data.List (sortOn)
+
+-- | The threads of each pattern, lined up by hand.
+patterns :: [(String, [Int])]
+{- TILIA_OFF -}
+patterns =
+    -- name          warp  weft  twist
+    [ ("herringbone", [ 3,    2,    4 ])
+    , ("houndstooth", [ 2,    3,    5 ])
+    ]
+{- TILIA_ON -}
+-- the order the looms take them in
+
+ordered   ::   [(String, [Int])]
+ordered = sortOn   fst patterns
+
+{- TILIA_OFF -}
+-- A table   kept   as   it   is:
+--   herringbone   twill
+--   houndstooth   check
+{- TILIA_ON -}
+
+count :: Int
+count =   length   ordered
diff --git a/corpora/vendored/magic-comment/magic-comment-above-the-where-of-the-header.hs b/corpora/vendored/magic-comment/magic-comment-above-the-where-of-the-header.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/magic-comment/magic-comment-above-the-where-of-the-header.hs
@@ -0,0 +1,8 @@
+-- A {- TILIA_OFF -} above the where of the module header is not between
+-- top-level declarations, so it is not honoured, and the module is
+-- declined.
+module Loom.Warp
+{- TILIA_OFF -}
+  where
+
+warp   =   [ 1 ,   2 ]
diff --git a/corpora/vendored/magic-comment/magic-comment-inside-a-declaration.hs b/corpora/vendored/magic-comment/magic-comment-inside-a-declaration.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/magic-comment/magic-comment-inside-a-declaration.hs
@@ -0,0 +1,9 @@
+-- A {- TILIA_OFF -} inside a declaration is not honoured, and the module is
+-- declined.
+module Loom.Heddles where
+
+heddles = threaded
+  where
+{- TILIA_OFF -}
+    threaded   =   [ 1 ,   2 ]
+{- TILIA_ON -}
diff --git a/corpora/vendored/magic-comment/magic-comment-inside-another-comment-out.hs b/corpora/vendored/magic-comment/magic-comment-inside-another-comment-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/magic-comment/magic-comment-inside-another-comment-out.hs
@@ -0,0 +1,9 @@
+-- A {- TILIA_OFF -} inside another comment turns nothing off, nor does a
+-- {- in a line comment open one, so this module is formatted.
+{- To leave a module as written, put
+{- TILIA_OFF -}
+above it.
+-}
+module Loom.Treadles (treadles) where
+
+treadles = [1, 2]
diff --git a/corpora/vendored/magic-comment/magic-comment-inside-another-comment.hs b/corpora/vendored/magic-comment/magic-comment-inside-another-comment.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/magic-comment/magic-comment-inside-another-comment.hs
@@ -0,0 +1,9 @@
+-- A {- TILIA_OFF -} inside another comment turns nothing off, nor does a
+-- {- in a line comment open one, so this module is formatted.
+{- To leave a module as written, put
+{- TILIA_OFF -}
+above it.
+-}
+module Loom.Treadles   (   treadles )   where
+
+treadles   =   [ 1 ,   2 ]
diff --git a/corpora/vendored/magic-comment/turned-off-throughout-out.hs b/corpora/vendored/magic-comment/turned-off-throughout-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/magic-comment/turned-off-throughout-out.hs
@@ -0,0 +1,7 @@
+{-# LANGUAGE CPP #-}
+-- A {- TILIA_OFF -} above all the code, with no {- TILIA_ON -} after it,
+-- leaves the whole module as written.
+{- TILIA_OFF -}
+module Loom.Frames   (   frames )   where
+
+frames   =   [ 1 ,   2 ]
diff --git a/corpora/vendored/magic-comment/turned-off-throughout.hs b/corpora/vendored/magic-comment/turned-off-throughout.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/magic-comment/turned-off-throughout.hs
@@ -0,0 +1,7 @@
+{-# LANGUAGE CPP #-}
+-- A {- TILIA_OFF -} above all the code, with no {- TILIA_ON -} after it,
+-- leaves the whole module as written.
+{- TILIA_OFF -}
+module Loom.Frames   (   frames )   where
+
+frames   =   [ 1 ,   2 ]
diff --git a/corpora/vendored/module-header/comment-above-the-imports-under-a-module-warning-out.hs b/corpora/vendored/module-header/comment-above-the-imports-under-a-module-warning-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/module-header/comment-above-the-imports-under-a-module-warning-out.hs
@@ -0,0 +1,6 @@
+module Garden.Greenhouse {-# WARNING "Use polytunnels." #-} where
+
+-- The rest is kept for the old planting records.
+import Garden.Polytunnel
+
+data Greenhouse = Greenhouse
diff --git a/corpora/vendored/module-header/comment-above-the-imports-under-a-module-warning.hs b/corpora/vendored/module-header/comment-above-the-imports-under-a-module-warning.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/module-header/comment-above-the-imports-under-a-module-warning.hs
@@ -0,0 +1,6 @@
+module Garden.Greenhouse {-# WARNING "Use polytunnels." #-} where
+
+-- The rest is kept for the old planting records.
+import Garden.Polytunnel
+
+data Greenhouse = Greenhouse
diff --git a/corpora/vendored/module-header/comment-after-declarations-on-the-module-line-out.hs b/corpora/vendored/module-header/comment-after-declarations-on-the-module-line-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/module-header/comment-after-declarations-on-the-module-line-out.hs
@@ -0,0 +1,3 @@
+module Kiln.Size where
+
+size :: Int; size = 3; label = "kiln" -- all of it
diff --git a/corpora/vendored/module-header/comment-after-declarations-on-the-module-line.hs b/corpora/vendored/module-header/comment-after-declarations-on-the-module-line.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/module-header/comment-after-declarations-on-the-module-line.hs
@@ -0,0 +1,1 @@
+module Kiln.Size where { size :: Int; size = 3; label = "kiln" } -- all of it
diff --git a/corpora/vendored/module-header/comment-beside-the-where-of-a-module-without-imports-out'.hs b/corpora/vendored/module-header/comment-beside-the-where-of-a-module-without-imports-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/module-header/comment-beside-the-where-of-a-module-without-imports-out'.hs
@@ -0,0 +1,9 @@
+-- A comment beside the where of the module header stays beside it in a
+-- module without imports, wherever the where goes.
+module Ledger.Book
+    ( opening
+    )
+where -- until the API settles
+
+opening :: Int
+opening = 0
diff --git a/corpora/vendored/module-header/comment-beside-the-where-of-a-module-without-imports-out.hs b/corpora/vendored/module-header/comment-beside-the-where-of-a-module-without-imports-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/module-header/comment-beside-the-where-of-a-module-without-imports-out.hs
@@ -0,0 +1,9 @@
+-- A comment beside the where of the module header stays beside it in a
+-- module without imports, wherever the where goes.
+module Ledger.Book
+  ( opening,
+  )
+where -- until the API settles
+
+opening :: Int
+opening = 0
diff --git a/corpora/vendored/module-header/comment-beside-the-where-of-a-module-without-imports.hs b/corpora/vendored/module-header/comment-beside-the-where-of-a-module-without-imports.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/module-header/comment-beside-the-where-of-a-module-without-imports.hs
@@ -0,0 +1,8 @@
+-- A comment beside the where of the module header stays beside it in a
+-- module without imports, wherever the where goes.
+module Ledger.Book
+  ( opening
+  ) where -- until the API settles
+
+opening :: Int
+opening = 0
diff --git a/corpora/vendored/module-header/comment-opening-with-a-word-like-stack-out'.hs b/corpora/vendored/module-header/comment-opening-with-a-word-like-stack-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/module-header/comment-opening-with-a-word-like-stack-out'.hs
@@ -0,0 +1,8 @@
+-- stacks of disks, the smallest on top,
+-- and never a larger disk on a smaller one
+module Hanoi (moves) where
+
+moves :: Int -> a -> a -> a -> [(a, a)]
+moves 0 _ _ _ = []
+moves n from to via =
+    moves (n - 1) from via to ++ [(from, to)] ++ moves (n - 1) via to from
diff --git a/corpora/vendored/module-header/comment-opening-with-a-word-like-stack-out.hs b/corpora/vendored/module-header/comment-opening-with-a-word-like-stack-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/module-header/comment-opening-with-a-word-like-stack-out.hs
@@ -0,0 +1,8 @@
+-- stacks of disks, the smallest on top,
+-- and never a larger disk on a smaller one
+module Hanoi (moves) where
+
+moves :: Int -> a -> a -> a -> [(a, a)]
+moves 0 _ _ _ = []
+moves n from to via =
+  moves (n - 1) from via to ++ [(from, to)] ++ moves (n - 1) via to from
diff --git a/corpora/vendored/module-header/comment-opening-with-a-word-like-stack.hs b/corpora/vendored/module-header/comment-opening-with-a-word-like-stack.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/module-header/comment-opening-with-a-word-like-stack.hs
@@ -0,0 +1,8 @@
+-- stacks of disks, the smallest on top,
+-- and never a larger disk on a smaller one
+module Hanoi (moves) where
+
+moves :: Int -> a -> a -> a -> [(a, a)]
+moves 0 _ _ _ = []
+moves n from to via =
+  moves (n - 1) from via to ++ [(from, to)] ++ moves (n - 1) via to from
diff --git a/corpora/vendored/module-header/comments-beside-the-where-of-the-header-out.hs b/corpora/vendored/module-header/comments-beside-the-where-of-the-header-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/module-header/comments-beside-the-where-of-the-header-out.hs
@@ -0,0 +1,10 @@
+-- Comments written before and after the where of the module header stay on
+-- their side of it.
+module Ledger.Book
+-- everything is exported
+where {- until the API settles -}
+
+import Ledger.Entry (Entry)
+
+opening :: Entry -> Int
+opening _ = 0
diff --git a/corpora/vendored/module-header/comments-beside-the-where-of-the-header.hs b/corpora/vendored/module-header/comments-beside-the-where-of-the-header.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/module-header/comments-beside-the-where-of-the-header.hs
@@ -0,0 +1,10 @@
+-- Comments written before and after the where of the module header stay on
+-- their side of it.
+module Ledger.Book
+  -- everything is exported
+  where {- until the API settles -}
+
+import Ledger.Entry (Entry)
+
+opening :: Entry -> Int
+opening _ = 0
diff --git a/corpora/vendored/module-header/haddock-after-an-export-out'.hs b/corpora/vendored/module-header/haddock-after-an-export-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/module-header/haddock-after-an-export-out'.hs
@@ -0,0 +1,10 @@
+module Job.Queue
+    ( run -- ^ The main entry point.
+    , Job (..) -- ^ A job and its fields.
+    , enqueue
+    , Priority (High, Low) -- ^ How urgent a job is.
+    )
+where
+
+run :: IO ()
+run = pure ()
diff --git a/corpora/vendored/module-header/haddock-after-an-export-out.hs b/corpora/vendored/module-header/haddock-after-an-export-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/module-header/haddock-after-an-export-out.hs
@@ -0,0 +1,10 @@
+module Job.Queue
+  ( run, -- ^ The main entry point.
+    Job (..), -- ^ A job and its fields.
+    enqueue,
+    Priority (High, Low), -- ^ How urgent a job is.
+  )
+where
+
+run :: IO ()
+run = pure ()
diff --git a/corpora/vendored/module-header/haddock-after-an-export.hs b/corpora/vendored/module-header/haddock-after-an-export.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/module-header/haddock-after-an-export.hs
@@ -0,0 +1,9 @@
+module Job.Queue
+  ( run -- ^ The main entry point.
+  , Job (..) -- ^ A job and its fields.
+  , enqueue
+  , Priority (High, Low) -- ^ How urgent a job is.
+  ) where
+
+run :: IO ()
+run = pure ()
diff --git a/corpora/vendored/module-header/module-pragma-on-a-line-of-its-own-out'.hs b/corpora/vendored/module-header/module-pragma-on-a-line-of-its-own-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/module-header/module-pragma-on-a-line-of-its-own-out'.hs
@@ -0,0 +1,5 @@
+module Tutorial
+    {-# DEPRECATED "Use something else" #-}
+where
+
+x = 1
diff --git a/corpora/vendored/module-header/module-pragma-on-a-line-of-its-own-out.hs b/corpora/vendored/module-header/module-pragma-on-a-line-of-its-own-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/module-header/module-pragma-on-a-line-of-its-own-out.hs
@@ -0,0 +1,5 @@
+module Tutorial
+  {-# DEPRECATED "Use something else" #-}
+where
+
+x = 1
diff --git a/corpora/vendored/module-header/module-pragma-on-a-line-of-its-own.hs b/corpora/vendored/module-header/module-pragma-on-a-line-of-its-own.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/module-header/module-pragma-on-a-line-of-its-own.hs
@@ -0,0 +1,5 @@
+module Tutorial
+    {-# DEPRECATED "Use something else" #-}
+    where
+
+x = 1
diff --git a/corpora/vendored/module-header/module-pragma-on-the-line-of-the-name-out.hs b/corpora/vendored/module-header/module-pragma-on-the-line-of-the-name-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/module-header/module-pragma-on-the-line-of-the-name-out.hs
@@ -0,0 +1,3 @@
+module Tutorial {-# WARNING "Use something else" #-} where
+
+x = 1
diff --git a/corpora/vendored/module-header/module-pragma-on-the-line-of-the-name.hs b/corpora/vendored/module-header/module-pragma-on-the-line-of-the-name.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/module-header/module-pragma-on-the-line-of-the-name.hs
@@ -0,0 +1,4 @@
+module Tutorial {-# WARNING "Use something else" #-}
+    where
+
+x = 1
diff --git a/corpora/vendored/module-header/module-pragma-with-several-messages-out'.hs b/corpora/vendored/module-header/module-pragma-with-several-messages-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/module-header/module-pragma-with-several-messages-out'.hs
@@ -0,0 +1,14 @@
+module Ledger.Journal.Old
+    {-# DEPRECATED
+        [ "Entries are kept in Ledger.Journal now."
+        , "This module goes away in the next major version."
+        ]
+        #-}
+    (post, total)
+where
+
+post :: Int -> [Int] -> [Int]
+post = (:)
+
+total :: [Int] -> Int
+total = sum
diff --git a/corpora/vendored/module-header/module-pragma-with-several-messages-out.hs b/corpora/vendored/module-header/module-pragma-with-several-messages-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/module-header/module-pragma-with-several-messages-out.hs
@@ -0,0 +1,14 @@
+module Ledger.Journal.Old
+  {-# DEPRECATED
+    [ "Entries are kept in Ledger.Journal now.",
+      "This module goes away in the next major version."
+    ]
+    #-}
+  (post, total)
+where
+
+post :: Int -> [Int] -> [Int]
+post = (:)
+
+total :: [Int] -> Int
+total = sum
diff --git a/corpora/vendored/module-header/module-pragma-with-several-messages.hs b/corpora/vendored/module-header/module-pragma-with-several-messages.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/module-header/module-pragma-with-several-messages.hs
@@ -0,0 +1,10 @@
+module Ledger.Journal.Old
+  {-# DEPRECATED [ "Entries are kept in Ledger.Journal now.",
+                   "This module goes away in the next major version." ] #-}
+  (post, total) where
+
+post :: Int -> [Int] -> [Int]
+post = (:)
+
+total :: [Int] -> Int
+total = sum
diff --git a/corpora/vendored/module-header/module-pragma-written-across-lines-out'.hs b/corpora/vendored/module-header/module-pragma-written-across-lines-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/module-header/module-pragma-written-across-lines-out'.hs
@@ -0,0 +1,9 @@
+module Ledger.Legacy
+    {-# WARNING
+        in "x-legacy-ledger" "Balances here ignore pending transfers"
+        #-}
+    (balance)
+where
+
+balance :: [Int] -> Int
+balance = sum
diff --git a/corpora/vendored/module-header/module-pragma-written-across-lines-out.hs b/corpora/vendored/module-header/module-pragma-written-across-lines-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/module-header/module-pragma-written-across-lines-out.hs
@@ -0,0 +1,9 @@
+module Ledger.Legacy
+  {-# WARNING
+    in "x-legacy-ledger" "Balances here ignore pending transfers"
+    #-}
+  (balance)
+where
+
+balance :: [Int] -> Int
+balance = sum
diff --git a/corpora/vendored/module-header/module-pragma-written-across-lines.hs b/corpora/vendored/module-header/module-pragma-written-across-lines.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/module-header/module-pragma-written-across-lines.hs
@@ -0,0 +1,6 @@
+module Ledger.Legacy {-# WARNING in "x-legacy-ledger"
+  "Balances here ignore pending transfers"
+  #-} (balance) where
+
+balance :: [Int] -> Int
+balance = sum
diff --git a/corpora/vendored/module-header/named-default-in-an-export-list-out'.hs b/corpora/vendored/module-header/named-default-in-an-export-list-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/module-header/named-default-in-an-export-list-out'.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE NamedDefaults #-}
+
+module Calc.Text
+    ( default IsString
+    , Text
+    , pack
+    )
+where
+
+import Data.String (IsString)
+import Data.Text (Text, pack)
+
+default IsString (Text)
diff --git a/corpora/vendored/module-header/named-default-in-an-export-list-out.hs b/corpora/vendored/module-header/named-default-in-an-export-list-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/module-header/named-default-in-an-export-list-out.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE NamedDefaults #-}
+
+module Calc.Text
+  ( default IsString,
+    Text,
+    pack,
+  )
+where
+
+import Data.String (IsString)
+import Data.Text (Text, pack)
+
+default IsString (Text)
diff --git a/corpora/vendored/module-header/named-default-in-an-export-list.hs b/corpora/vendored/module-header/named-default-in-an-export-list.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/module-header/named-default-in-an-export-list.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE NamedDefaults #-}
+
+module Calc.Text
+  ( default IsString,
+    Text,
+    pack,
+  )
+where
+
+import Data.String (IsString)
+import Data.Text (Text, pack)
+
+default IsString (Text)
diff --git a/corpora/vendored/module-header/names-of-a-type-in-an-export-list-out'.hs b/corpora/vendored/module-header/names-of-a-type-in-an-export-list-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/module-header/names-of-a-type-in-an-export-list-out'.hs
@@ -0,0 +1,17 @@
+module Shapes.Kind
+    ( Shape (Circle, Square)
+    , Side
+        ( Top
+        , Bottom
+        )
+    , area
+    )
+where
+
+data Shape = Circle Double | Square Double
+
+data Side = Top | Bottom
+
+area :: Shape -> Double
+area (Circle r) = pi * r * r
+area (Square a) = a * a
diff --git a/corpora/vendored/module-header/names-of-a-type-in-an-export-list-out.hs b/corpora/vendored/module-header/names-of-a-type-in-an-export-list-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/module-header/names-of-a-type-in-an-export-list-out.hs
@@ -0,0 +1,17 @@
+module Shapes.Kind
+  ( Shape (Circle, Square),
+    Side
+      ( Top,
+        Bottom
+      ),
+    area,
+  )
+where
+
+data Shape = Circle Double | Square Double
+
+data Side = Top | Bottom
+
+area :: Shape -> Double
+area (Circle r) = pi * r * r
+area (Square a) = a * a
diff --git a/corpora/vendored/module-header/names-of-a-type-in-an-export-list.hs b/corpora/vendored/module-header/names-of-a-type-in-an-export-list.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/module-header/names-of-a-type-in-an-export-list.hs
@@ -0,0 +1,17 @@
+module Shapes.Kind
+  ( Shape
+      (Circle, Square),
+    Side
+      ( Top,
+        Bottom
+      ),
+    area
+  ) where
+
+data Shape = Circle Double | Square Double
+
+data Side = Top | Bottom
+
+area :: Shape -> Double
+area (Circle r) = pi * r * r
+area (Square a) = a * a
diff --git a/corpora/vendored/module-header/namespaced-names-in-an-export-list-out'.hs b/corpora/vendored/module-header/namespaced-names-in-an-export-list-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/module-header/namespaced-names-in-an-export-list-out'.hs
@@ -0,0 +1,20 @@
+{-# LANGUAGE ExplicitNamespaces #-}
+{-# LANGUAGE PatternSynonyms #-}
+{-# LANGUAGE TypeOperators #-}
+
+module Garden.Plot
+    ( type (+:) (..)
+    , type (:-) (Edged)
+    , pattern Fallow
+    , Plot
+    )
+where
+
+data a +: b = Beside a b
+
+data a :- b = Edged a b
+
+data Plot = Sown | Bare
+
+pattern Fallow :: Plot
+pattern Fallow = Bare
diff --git a/corpora/vendored/module-header/namespaced-names-in-an-export-list-out.hs b/corpora/vendored/module-header/namespaced-names-in-an-export-list-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/module-header/namespaced-names-in-an-export-list-out.hs
@@ -0,0 +1,20 @@
+{-# LANGUAGE ExplicitNamespaces #-}
+{-# LANGUAGE PatternSynonyms #-}
+{-# LANGUAGE TypeOperators #-}
+
+module Garden.Plot
+  ( type (+:) (..),
+    type (:-) (Edged),
+    pattern Fallow,
+    Plot,
+  )
+where
+
+data a +: b = Beside a b
+
+data a :- b = Edged a b
+
+data Plot = Sown | Bare
+
+pattern Fallow :: Plot
+pattern Fallow = Bare
diff --git a/corpora/vendored/module-header/namespaced-names-in-an-export-list.hs b/corpora/vendored/module-header/namespaced-names-in-an-export-list.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/module-header/namespaced-names-in-an-export-list.hs
@@ -0,0 +1,20 @@
+{-# LANGUAGE ExplicitNamespaces #-}
+{-# LANGUAGE PatternSynonyms #-}
+{-# LANGUAGE TypeOperators #-}
+
+module Garden.Plot
+  ( type (+:)(..),
+    type (:-)(Edged),
+    pattern Fallow,
+    Plot,
+  )
+where
+
+data a +: b = Beside a b
+
+data a :- b = Edged a b
+
+data Plot = Sown | Bare
+
+pattern Fallow :: Plot
+pattern Fallow = Bare
diff --git a/corpora/vendored/module-header/nothing-but-empty-lines-out.hs b/corpora/vendored/module-header/nothing-but-empty-lines-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/module-header/nothing-but-empty-lines-out.hs
diff --git a/corpora/vendored/module-header/nothing-but-empty-lines.hs b/corpora/vendored/module-header/nothing-but-empty-lines.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/module-header/nothing-but-empty-lines.hs
@@ -0,0 +1,3 @@
+
+
+
diff --git a/corpora/vendored/module-header/pragmas-and-a-comment-without-a-module-out.hs b/corpora/vendored/module-header/pragmas-and-a-comment-without-a-module-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/module-header/pragmas-and-a-comment-without-a-module-out.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE BangPatterns #-}
+{-# LANGUAGE DerivingStrategies #-}
+{-# LANGUAGE ScopedTypeVariables #-}
+
+{- Shared settings for the scripts in this directory: each of them
+   includes this file before its first declaration.
+
+     ./build.sh --include settings.hs
+-}
diff --git a/corpora/vendored/module-header/pragmas-and-a-comment-without-a-module.hs b/corpora/vendored/module-header/pragmas-and-a-comment-without-a-module.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/module-header/pragmas-and-a-comment-without-a-module.hs
@@ -0,0 +1,8 @@
+{-# language ScopedTypeVariables, BangPatterns #-}
+{-# Language DerivingStrategies #-}
+
+    {- Shared settings for the scripts in this directory: each of them
+       includes this file before its first declaration.
+
+         ./build.sh --include settings.hs
+    -}
diff --git a/corpora/vendored/module-header/stack-script-header-in-a-block-comment-out'.hs b/corpora/vendored/module-header/stack-script-header-in-a-block-comment-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/module-header/stack-script-header-in-a-block-comment-out'.hs
@@ -0,0 +1,16 @@
+#!/usr/bin/env stack
+{- stack script
+     --snapshot lts-22.21
+     --package containers
+-}
+
+-- Count how often each word occurs in the input.
+module Main (main) where
+
+import qualified Data.Map.Strict as Map
+
+main :: IO ()
+main = do
+    input <- getContents
+    let counts = Map.fromListWith (+) [(w, 1 :: Int) | w <- words input]
+    mapM_ print (Map.toList counts)
diff --git a/corpora/vendored/module-header/stack-script-header-in-a-block-comment-out.hs b/corpora/vendored/module-header/stack-script-header-in-a-block-comment-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/module-header/stack-script-header-in-a-block-comment-out.hs
@@ -0,0 +1,16 @@
+#!/usr/bin/env stack
+{- stack script
+     --snapshot lts-22.21
+     --package containers
+-}
+
+-- Count how often each word occurs in the input.
+module Main (main) where
+
+import qualified Data.Map.Strict as Map
+
+main :: IO ()
+main = do
+  input <- getContents
+  let counts = Map.fromListWith (+) [(w, 1 :: Int) | w <- words input]
+  mapM_ print (Map.toList counts)
diff --git a/corpora/vendored/module-header/stack-script-header-in-a-block-comment.hs b/corpora/vendored/module-header/stack-script-header-in-a-block-comment.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/module-header/stack-script-header-in-a-block-comment.hs
@@ -0,0 +1,15 @@
+#!/usr/bin/env stack
+{- stack script
+     --snapshot lts-22.21
+     --package containers
+-}
+-- Count how often each word occurs in the input.
+module Main (main) where
+
+import qualified Data.Map.Strict as Map
+
+main :: IO ()
+main = do
+  input <- getContents
+  let counts = Map.fromListWith (+) [(w, 1 :: Int) | w <- words input]
+  mapM_ print (Map.toList counts)
diff --git a/corpora/vendored/module-header/stack-script-header-over-a-comment-out.hs b/corpora/vendored/module-header/stack-script-header-over-a-comment-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/module-header/stack-script-header-over-a-comment-out.hs
@@ -0,0 +1,11 @@
+#!/usr/bin/env stack
+-- stack script --snapshot lts-22.21 --package text
+
+-- Print each line of the input with its words in reverse order.
+module Main (main) where
+
+import qualified Data.Text as T
+import qualified Data.Text.IO as T
+
+main :: IO ()
+main = T.interact (T.unlines . map (T.unwords . reverse . T.words) . T.lines)
diff --git a/corpora/vendored/module-header/stack-script-header-over-a-comment.hs b/corpora/vendored/module-header/stack-script-header-over-a-comment.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/module-header/stack-script-header-over-a-comment.hs
@@ -0,0 +1,10 @@
+#!/usr/bin/env stack
+-- stack script --snapshot lts-22.21 --package text
+-- Print each line of the input with its words in reverse order.
+module Main (main) where
+
+import qualified Data.Text as T
+import qualified Data.Text.IO as T
+
+main :: IO ()
+main = T.interact (T.unlines . map (T.unwords . reverse . T.words) . T.lines)
diff --git a/corpora/vendored/module-header/warning-on-an-export-with-several-messages-out'.hs b/corpora/vendored/module-header/warning-on-an-export-with-several-messages-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/module-header/warning-on-an-export-with-several-messages-out'.hs
@@ -0,0 +1,9 @@
+module Garden.Hose
+    ( {-# DEPRECATED ["Hoses are on timers now.", "Use schedule."] #-} spray
+    , schedule
+    )
+where
+
+spray, schedule :: Int
+spray = schedule
+schedule = 6
diff --git a/corpora/vendored/module-header/warning-on-an-export-with-several-messages-out.hs b/corpora/vendored/module-header/warning-on-an-export-with-several-messages-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/module-header/warning-on-an-export-with-several-messages-out.hs
@@ -0,0 +1,9 @@
+module Garden.Hose
+  ( {-# DEPRECATED ["Hoses are on timers now.", "Use schedule."] #-} spray,
+    schedule,
+  )
+where
+
+spray, schedule :: Int
+spray = schedule
+schedule = 6
diff --git a/corpora/vendored/module-header/warning-on-an-export-with-several-messages.hs b/corpora/vendored/module-header/warning-on-an-export-with-several-messages.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/module-header/warning-on-an-export-with-several-messages.hs
@@ -0,0 +1,9 @@
+module Garden.Hose
+  ( {-# DEPRECATED ["Hoses are on timers now.", "Use schedule."] #-} spray,
+    schedule,
+  )
+where
+
+spray, schedule :: Int
+spray = schedule
+schedule = 6
diff --git a/corpora/vendored/module-header/warnings-beginning-the-lines-of-exports-out'.hs b/corpora/vendored/module-header/warnings-beginning-the-lines-of-exports-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/module-header/warnings-beginning-the-lines-of-exports-out'.hs
@@ -0,0 +1,21 @@
+module Kiln.Firing
+    ( {-# DEPRECATED
+        [ "Glazes are mixed by weight now."
+        , "Use weigh."
+        ]
+        #-}
+      measure
+    , fire
+    , {-# DEPRECATED "Use fire." #-} bake
+    , {-# WARNING
+        in "x-heat" "Runs past the cone's rating."
+        #-}
+      overfire
+    )
+where
+
+measure, fire, bake, overfire :: Int
+measure = 0
+fire = 1
+bake = fire
+overfire = 2
diff --git a/corpora/vendored/module-header/warnings-beginning-the-lines-of-exports-out.hs b/corpora/vendored/module-header/warnings-beginning-the-lines-of-exports-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/module-header/warnings-beginning-the-lines-of-exports-out.hs
@@ -0,0 +1,21 @@
+module Kiln.Firing
+  ( {-# DEPRECATED
+      [ "Glazes are mixed by weight now.",
+        "Use weigh."
+      ]
+      #-}
+    measure,
+    fire,
+    {-# DEPRECATED "Use fire." #-} bake,
+    {-# WARNING
+      in "x-heat" "Runs past the cone's rating."
+      #-}
+    overfire,
+  )
+where
+
+measure, fire, bake, overfire :: Int
+measure = 0
+fire = 1
+bake = fire
+overfire = 2
diff --git a/corpora/vendored/module-header/warnings-beginning-the-lines-of-exports.hs b/corpora/vendored/module-header/warnings-beginning-the-lines-of-exports.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/module-header/warnings-beginning-the-lines-of-exports.hs
@@ -0,0 +1,15 @@
+module Kiln.Firing
+  ( {-# DEPRECATED ["Glazes are mixed by weight now.",
+                    "Use weigh."] #-} measure,
+    fire,
+    {-# DEPRECATED "Use fire." #-} bake,
+    {-# WARNING in "x-heat"
+          "Runs past the cone's rating." #-} overfire,
+  )
+where
+
+measure, fire, bake, overfire :: Int
+measure = 0
+fire = 1
+bake = fire
+overfire = 2
diff --git a/corpora/vendored/module-header/warnings-on-exports-out'.hs b/corpora/vendored/module-header/warnings-on-exports-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/module-header/warnings-on-exports-out'.hs
@@ -0,0 +1,12 @@
+module Archive.Store
+    ( {-# DEPRECATED "Use put instead." #-} store
+    , put
+    , Entry (..)
+    )
+where
+
+store :: Entry -> IO ()
+store = put
+
+put :: Entry -> IO ()
+put _ = pure ()
diff --git a/corpora/vendored/module-header/warnings-on-exports-out.hs b/corpora/vendored/module-header/warnings-on-exports-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/module-header/warnings-on-exports-out.hs
@@ -0,0 +1,12 @@
+module Archive.Store
+  ( {-# DEPRECATED "Use put instead." #-} store,
+    put,
+    Entry (..),
+  )
+where
+
+store :: Entry -> IO ()
+store = put
+
+put :: Entry -> IO ()
+put _ = pure ()
diff --git a/corpora/vendored/module-header/warnings-on-exports.hs b/corpora/vendored/module-header/warnings-on-exports.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/module-header/warnings-on-exports.hs
@@ -0,0 +1,12 @@
+module Archive.Store
+  ( {-# DEPRECATED "Use put instead." #-} store,
+    put,
+    Entry (..),
+  )
+where
+
+store :: Entry -> IO ()
+store = put
+
+put :: Entry -> IO ()
+put _ = pure ()
diff --git a/corpora/vendored/other/block-comment-above-a-haddock-out.hs b/corpora/vendored/other/block-comment-above-a-haddock-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/block-comment-above-a-haddock-out.hs
+++ /dev/null
@@ -1,6 +0,0 @@
-module Cache.Cold where
-
-{- Not exported: the eviction order is Cache.Warm's business. -}
--- | Drop everything the cache is holding.
-cool :: IO ()
-cool = pure ()
diff --git a/corpora/vendored/other/block-comment-above-a-haddock.hs b/corpora/vendored/other/block-comment-above-a-haddock.hs
deleted file mode 100644
--- a/corpora/vendored/other/block-comment-above-a-haddock.hs
+++ /dev/null
@@ -1,6 +0,0 @@
-module Cache.Cold where
-
-{- Not exported: the eviction order is Cache.Warm's business. -}
--- | Drop everything the cache is holding.
-cool :: IO ()
-cool = pure ()
diff --git a/corpora/vendored/other/block-comment-after-a-trailing-comma-out.hs b/corpora/vendored/other/block-comment-after-a-trailing-comma-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/block-comment-after-a-trailing-comma-out.hs
+++ /dev/null
@@ -1,4 +0,0 @@
-module Terminal.Keys (Key, keys {- modifiers -}) where
-
-import Data.Array (Array, bounds, (!) {- assocs -})
-import Data.List (nub, sortOn {- group -})
diff --git a/corpora/vendored/other/block-comment-after-a-trailing-comma.hs b/corpora/vendored/other/block-comment-after-a-trailing-comma.hs
deleted file mode 100644
--- a/corpora/vendored/other/block-comment-after-a-trailing-comma.hs
+++ /dev/null
@@ -1,4 +0,0 @@
-module Terminal.Keys (Key, keys, {- modifiers -}) where
-
-import Data.Array (Array, (!), bounds, {- assocs -})
-import Data.List (sortOn, nub,{- group -})
diff --git a/corpora/vendored/other/block-comment-before-a-closing-bracket-out.hs b/corpora/vendored/other/block-comment-before-a-closing-bracket-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/block-comment-before-a-closing-bracket-out.hs
+++ /dev/null
@@ -1,15 +0,0 @@
-module Terminal.Keys where
-
-import Data.ByteString.Char8 ({- IsString -})
-import Data.List hiding (sort {- the local one -})
-
-recordKey :: Key -> IO (Bool {- already bound -}, Int)
-recordKey = undefined
-
-modifiers = (shift {- left or right -}, control {- either -})
-
-arrows = [up, down, left, right {- and no others -}]
-
-pressed = bind (key {- as reported -}) action
-
-pending = [{- none yet -}]
diff --git a/corpora/vendored/other/block-comment-before-a-closing-bracket.hs b/corpora/vendored/other/block-comment-before-a-closing-bracket.hs
deleted file mode 100644
--- a/corpora/vendored/other/block-comment-before-a-closing-bracket.hs
+++ /dev/null
@@ -1,15 +0,0 @@
-module Terminal.Keys where
-
-import Data.ByteString.Char8 ({- IsString -})
-import Data.List hiding (sort {- the local one -})
-
-recordKey :: Key -> IO (Bool {- already bound -}, Int)
-recordKey = undefined
-
-modifiers = (shift {- left or right -}, control {- either -})
-
-arrows = [up, down, left, right {- and no others -}]
-
-pressed = bind (key {- as reported -}) action
-
-pending = [{- none yet -}]
diff --git a/corpora/vendored/other/block-comment-indented-with-tabs-out.hs b/corpora/vendored/other/block-comment-indented-with-tabs-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/block-comment-indented-with-tabs-out.hs
+++ /dev/null
@@ -1,17 +0,0 @@
--- The lines of a moved block comment stay where they were against its first
--- line, a tab counting up to the next multiple of eight, as GHC counts.
-module Tabs where
-
-underTabs :: Int
-underTabs = g
-  where
-    {- a
-       b -}
-    g = 1
-
-overATab :: Int
-overATab = g
-  where
-    {- a
-        b -}
-    g = 1
diff --git a/corpora/vendored/other/block-comment-indented-with-tabs.hs b/corpora/vendored/other/block-comment-indented-with-tabs.hs
deleted file mode 100644
--- a/corpora/vendored/other/block-comment-indented-with-tabs.hs
+++ /dev/null
@@ -1,17 +0,0 @@
--- The lines of a moved block comment stay where they were against its first
--- line, a tab counting up to the next multiple of eight, as GHC counts.
-module Tabs where
-
-underTabs :: Int
-underTabs = g
-	where
-		{- a
-                   b -}
-		g = 1
-
-overATab :: Int
-overATab = g
-    where
-      {- a
-	  b -}
-      g = 1
diff --git a/corpora/vendored/other/block-comment-that-code-follows-above-an-empty-line-out.hs b/corpora/vendored/other/block-comment-that-code-follows-above-an-empty-line-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/block-comment-that-code-follows-above-an-empty-line-out.hs
+++ /dev/null
@@ -1,17 +0,0 @@
-module M where
-
-f x =
-  if x
-    then {- a
-         b -}
-      y
-    else z
-
-g = 1
-
-data T
-  = T {- a
-      b -}
-      Int
-
-h = 2
diff --git a/corpora/vendored/other/block-comment-that-code-follows-above-an-empty-line.hs b/corpora/vendored/other/block-comment-that-code-follows-above-an-empty-line.hs
deleted file mode 100644
--- a/corpora/vendored/other/block-comment-that-code-follows-above-an-empty-line.hs
+++ /dev/null
@@ -1,11 +0,0 @@
-module M where
-
-f x = if x then {- a
-  b -} y else z
-
-g = 1
-
-data T = T {- a
-  b -} Int
-
-h = 2
diff --git a/corpora/vendored/other/block-comment-under-a-haddock-out.hs b/corpora/vendored/other/block-comment-under-a-haddock-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/block-comment-under-a-haddock-out.hs
+++ /dev/null
@@ -1,6 +0,0 @@
-module Cache.Size where
-
--- | How many entries the cache holds, which the type already fixes.
-{-@ entries :: Cache n a -> {k : Int | k == n} @-}
-entries :: Cache n a -> Int
-entries = const 0
diff --git a/corpora/vendored/other/block-comment-under-a-haddock.hs b/corpora/vendored/other/block-comment-under-a-haddock.hs
deleted file mode 100644
--- a/corpora/vendored/other/block-comment-under-a-haddock.hs
+++ /dev/null
@@ -1,6 +0,0 @@
-module Cache.Size where
-
--- | How many entries the cache holds, which the type already fixes.
-{-@ entries :: Cache n a -> {k : Int | k == n} @-}
-entries :: Cache n a -> Int
-entries = const 0
diff --git a/corpora/vendored/other/comment-above-the-first-binding-out.hs b/corpora/vendored/other/comment-above-the-first-binding-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-above-the-first-binding-out.hs
+++ /dev/null
@@ -1,9 +0,0 @@
-module Route.Fare where
-
-fare :: Int -> Int
-fare riders =
-  let
-      -- the share the operator keeps
-      operator = 3
-      levy = 1
-   in operator * riders + levy
diff --git a/corpora/vendored/other/comment-above-the-first-binding.hs b/corpora/vendored/other/comment-above-the-first-binding.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-above-the-first-binding.hs
+++ /dev/null
@@ -1,9 +0,0 @@
-module Route.Fare where
-
-fare :: Int -> Int
-fare riders =
-  let
-      -- the share the operator keeps
-      operator = 3
-      levy = 1
-   in operator * riders + levy
diff --git a/corpora/vendored/other/comment-above-the-in-keyword-out.hs b/corpora/vendored/other/comment-above-the-in-keyword-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-above-the-in-keyword-out.hs
+++ /dev/null
@@ -1,7 +0,0 @@
-module Route.Total where
-
-total :: Int -> Int
-total stops =
-  let each = 12
-      -- the sum every caller ends up wanting
-   in each * stops
diff --git a/corpora/vendored/other/comment-above-the-in-keyword.hs b/corpora/vendored/other/comment-above-the-in-keyword.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-above-the-in-keyword.hs
+++ /dev/null
@@ -1,7 +0,0 @@
-module Route.Total where
-
-total :: Int -> Int
-total stops =
-  let each = 12
-      -- the sum every caller ends up wanting
-   in each * stops
diff --git a/corpora/vendored/other/comment-after-closing-bracket-out.hs b/corpora/vendored/other/comment-after-closing-bracket-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-after-closing-bracket-out.hs
+++ /dev/null
@@ -1,27 +0,0 @@
-tupleOfHalves =
-  combine
-    ( north,
-      south
-    ) -- the two halves
-    ( east,
-      west
-    ) -- and the other two
-
-nestedRuns =
-  render
-    [ [ alpha,
-        beta
-      ] -- the inner run
-    ] -- the outer run
-
-runningTotal =
-  weigh
-    ( heavier
-        + lighter
-    ) -- everything so far
-
-blockAfterBracket =
-  measure
-    ( width,
-      height
-    ) {- taken at the widest point -}
diff --git a/corpora/vendored/other/comment-after-closing-bracket.hs b/corpora/vendored/other/comment-after-closing-bracket.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-after-closing-bracket.hs
+++ /dev/null
@@ -1,22 +0,0 @@
-tupleOfHalves =
-  combine
-    ( north,
-      south ) -- the two halves
-    ( east,
-      west ) -- and the other two
-
-nestedRuns =
-  render
-    [ [ alpha,
-        beta ] -- the inner run
-    ] -- the outer run
-
-runningTotal =
-  weigh
-    ( heavier
-        + lighter ) -- everything so far
-
-blockAfterBracket =
-  measure
-    ( width,
-      height ) {- taken at the widest point -}
diff --git a/corpora/vendored/other/comment-after-header-pragma-out.hs b/corpora/vendored/other/comment-after-header-pragma-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-after-header-pragma-out.hs
+++ /dev/null
@@ -1,8 +0,0 @@
-{-# LANGUAGE DeriveFunctor #-}
-{-# LANGUAGE DeriveTraversable #-} -- Foldable and Functor come with it
--- said about the pragma below, not about the module
-{-# LANGUAGE OverloadedStrings #-}
-{-# OPTIONS_GHC -Wno-orphans #-} -- until the instances move upstream
-{-# OPTIONS_HADDOCK not-home #-}
-
-module Header where
diff --git a/corpora/vendored/other/comment-after-header-pragma.hs b/corpora/vendored/other/comment-after-header-pragma.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-after-header-pragma.hs
+++ /dev/null
@@ -1,9 +0,0 @@
-{-# LANGUAGE DeriveTraversable #-} -- Foldable and Functor come with it
-{-# LANGUAGE DeriveFunctor #-}
-
--- said about the pragma below, not about the module
-{-# LANGUAGE OverloadedStrings #-}
-{-# OPTIONS_GHC -Wno-orphans #-} -- until the instances move upstream
-{-# OPTIONS_HADDOCK not-home #-}
-
-module Header where
diff --git a/corpora/vendored/other/comment-after-opening-bracket-out.hs b/corpora/vendored/other/comment-after-opening-bracket-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-after-opening-bracket-out.hs
+++ /dev/null
@@ -1,31 +0,0 @@
-import Data.List
-  ( -- on a line of its own
-    sort,
-  )
-
-parenthesised =
-  ( -- on a line of its own
-    value
-  )
-
-listed =
-  [ -- on a line of its own
-    first,
-    second
-  ]
-
-typed ::
-  ( -- on a line of its own
-    Int
-  )
-typed = 0
-
-data Colour
-  = Red
-  | -- on a line of its own
-    Green
-
-data Shape = Circle
-  { -- on a line of its own
-    radius :: Int
-  }
diff --git a/corpora/vendored/other/comment-after-opening-bracket.hs b/corpora/vendored/other/comment-after-opening-bracket.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-after-opening-bracket.hs
+++ /dev/null
@@ -1,26 +0,0 @@
-import Data.List
-  (
-  -- on a line of its own
-  sort)
-
-parenthesised = (
-  -- on a line of its own
-  value)
-
-listed = [
-  -- on a line of its own
-  first, second]
-
-typed :: (
-  -- on a line of its own
-  Int)
-typed = 0
-
-data Colour =
-  Red
-  -- on a line of its own
-  | Green
-
-data Shape = Circle {
-  -- on a line of its own
-  radius :: Int }
diff --git a/corpora/vendored/other/comment-after-the-in-keyword-out.hs b/corpora/vendored/other/comment-after-the-in-keyword-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-after-the-in-keyword-out.hs
+++ /dev/null
@@ -1,7 +0,0 @@
-module Route.Trim where
-
-trim :: Int -> Int
-trim n =
-  let kept = n - 1
-   in -- rounded down on purpose
-      kept
diff --git a/corpora/vendored/other/comment-after-the-in-keyword.hs b/corpora/vendored/other/comment-after-the-in-keyword.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-after-the-in-keyword.hs
+++ /dev/null
@@ -1,7 +0,0 @@
-module Route.Trim where
-
-trim :: Int -> Int
-trim n =
-  let kept = n - 1
-   in -- rounded down on purpose
-      kept
diff --git a/corpora/vendored/other/comment-after-the-let-keyword-out.hs b/corpora/vendored/other/comment-after-the-let-keyword-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-after-the-let-keyword-out.hs
+++ /dev/null
@@ -1,8 +0,0 @@
-module Route.Cost where
-
-leg :: Int -> Int
-leg n =
-  let -- charged once, whatever the distance
-      base = 40
-      perStop = 7
-   in base + perStop * n
diff --git a/corpora/vendored/other/comment-after-the-let-keyword.hs b/corpora/vendored/other/comment-after-the-let-keyword.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-after-the-let-keyword.hs
+++ /dev/null
@@ -1,8 +0,0 @@
-module Route.Cost where
-
-leg :: Int -> Int
-leg n =
-  let -- charged once, whatever the distance
-      base = 40
-      perStop = 7
-   in base + perStop * n
diff --git a/corpora/vendored/other/comment-at-the-column-after-a-closing-bracket-out.hs b/corpora/vendored/other/comment-at-the-column-after-a-closing-bracket-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-at-the-column-after-a-closing-bracket-out.hs
+++ /dev/null
@@ -1,19 +0,0 @@
-module Loom.Warp where
-
-warpThreads :: Int
-warpThreads = (count 1)
--- leaves out the selvedge
-
-weftThreads :: [Int]
-weftThreads = [count 2]
--- the same in a list
-
-shedHeight :: Int
-shedHeight =
-  lift
-    treadle
-    (count 3)
--- and in the last argument
-
-reedDents :: Int
-reedDents = 12
diff --git a/corpora/vendored/other/comment-at-the-column-after-a-closing-bracket.hs b/corpora/vendored/other/comment-at-the-column-after-a-closing-bracket.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-at-the-column-after-a-closing-bracket.hs
+++ /dev/null
@@ -1,19 +0,0 @@
-module Loom.Warp where
-
-warpThreads :: Int
-warpThreads = (count 1)
-                       -- leaves out the selvedge
-
-weftThreads :: [Int]
-weftThreads = [count 2]
-                       -- the same in a list
-
-shedHeight :: Int
-shedHeight =
-  lift
-    treadle
-    (count 3)
-             -- and in the last argument
-
-reedDents :: Int
-reedDents = 12
diff --git a/corpora/vendored/other/comment-at-the-let-column-above-the-in-keyword-out.hs b/corpora/vendored/other/comment-at-the-let-column-above-the-in-keyword-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-at-the-let-column-above-the-in-keyword-out.hs
+++ /dev/null
@@ -1,7 +0,0 @@
-module Route.Return where
-
-fare :: Int -> Int
-fare single =
-  let outward = single
-      -- the way back costs the same
-   in outward * 2
diff --git a/corpora/vendored/other/comment-at-the-let-column-above-the-in-keyword.hs b/corpora/vendored/other/comment-at-the-let-column-above-the-in-keyword.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-at-the-let-column-above-the-in-keyword.hs
+++ /dev/null
@@ -1,7 +0,0 @@
-module Route.Return where
-
-fare :: Int -> Int
-fare single =
-  let outward = single
-  -- the way back costs the same
-  in outward * 2
diff --git a/corpora/vendored/other/comment-before-closing-bracket-out.hs b/corpora/vendored/other/comment-before-closing-bracket-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-before-closing-bracket-out.hs
+++ /dev/null
@@ -1,41 +0,0 @@
-oneElement =
-  [ first
-    -- and nothing after it
-  ]
-
-severalElements =
-  [ first,
-    second
-    -- and nothing after them
-  ]
-
-blockComment =
-  [ first
-    {- room
-       for more -}
-  ]
-
-nested =
-  [ outer,
-    [ inner
-      -- innermost
-    ]
-  ]
-
-comprehension =
-  [ x | x <- xs
-  -- and only those
-  ]
-    ++ rest
-
-comprehensionAlone =
-  [ x | x <- xs
-  -- and nothing after it
-  ]
-
-openSequence =
-  [ first
-    ..
-    -- and on from there
-  ]
-    ++ rest
diff --git a/corpora/vendored/other/comment-before-closing-bracket.hs b/corpora/vendored/other/comment-before-closing-bracket.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-before-closing-bracket.hs
+++ /dev/null
@@ -1,29 +0,0 @@
-oneElement = [ first
-  -- and nothing after it
-  ]
-
-severalElements = [ first, second
-  -- and nothing after them
-  ]
-
-blockComment = [ first
-  {- room
-     for more -}
-  ]
-
-nested = [ outer, [ inner
-    -- innermost
-    ]
-  ]
-
-comprehension = [ x | x <- xs
-  -- and only those
-  ] ++ rest
-
-comprehensionAlone = [ x | x <- xs
-  -- and nothing after it
-  ]
-
-openSequence = [ first ..
-  -- and on from there
-  ] ++ rest
diff --git a/corpora/vendored/other/comment-before-closing-quote-out.hs b/corpora/vendored/other/comment-before-closing-quote-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-before-closing-quote-out.hs
+++ /dev/null
@@ -1,21 +0,0 @@
-{-# LANGUAGE TemplateHaskell #-}
-
--- A comment before the bracket that closes a quote stays inside the quote.
-expression =
-  [|
-    lookup key table
-    -- or a default, when the key is missing
-    |]
-    ++ fallbacks
-
-typed =
-  [||
-    width * height
-    -- in pixels
-    ||]
-
-declarations =
-  [d|
-    answer = 42
-    -- and that is all
-    |]
diff --git a/corpora/vendored/other/comment-before-closing-quote.hs b/corpora/vendored/other/comment-before-closing-quote.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-before-closing-quote.hs
+++ /dev/null
@@ -1,14 +0,0 @@
-{-# LANGUAGE TemplateHaskell #-}
-
--- A comment before the bracket that closes a quote stays inside the quote.
-expression = [| lookup key table
-  -- or a default, when the key is missing
-  |] ++ fallbacks
-
-typed = [|| width * height
-  -- in pixels
-  ||]
-
-declarations = [d| answer = 42
-  -- and that is all
-  |]
diff --git a/corpora/vendored/other/comment-beside-a-wildcard-out.hs b/corpora/vendored/other/comment-beside-a-wildcard-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-beside-a-wildcard-out.hs
+++ /dev/null
@@ -1,19 +0,0 @@
-{-# LANGUAGE PatternSynonyms #-}
-
--- A comment written beside the wildcard of an item stays inside its
--- parentheses.
-module Ledger.Entry
-  ( Entry ({- fields too -} ..),
-    Side (Debit, {- and the rest -} ..),
-    total,
-  )
-where
-
-import Ledger.Money (Money (.. {- abstract upstream -}), add)
-
-data Entry = Entry{entrySide :: Side, entryAmount :: Money}
-
-data Side = Debit | Credit
-
-total :: [Entry] -> Money
-total = foldr (add . entryAmount) mempty
diff --git a/corpora/vendored/other/comment-beside-a-wildcard.hs b/corpora/vendored/other/comment-beside-a-wildcard.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-beside-a-wildcard.hs
+++ /dev/null
@@ -1,18 +0,0 @@
-{-# LANGUAGE PatternSynonyms #-}
-
--- A comment written beside the wildcard of an item stays inside its
--- parentheses.
-module Ledger.Entry
-  ( Entry({- fields too -}..)
-  , Side(Debit, {- and the rest -} ..)
-  , total
-  ) where
-
-import Ledger.Money (Money(.. {- abstract upstream -}), add)
-
-data Entry = Entry { entrySide :: Side, entryAmount :: Money }
-
-data Side = Debit | Credit
-
-total :: [Entry] -> Money
-total = foldr (add . entryAmount) mempty
diff --git a/corpora/vendored/other/comment-between-let-bindings-out.hs b/corpora/vendored/other/comment-between-let-bindings-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-between-let-bindings-out.hs
+++ /dev/null
@@ -1,8 +0,0 @@
-module Route.Split where
-
-split :: Int -> Int
-split total =
-  let outward = total `div` 2
-      -- whatever is left over rides home
-      homeward = total - outward
-   in homeward
diff --git a/corpora/vendored/other/comment-between-let-bindings.hs b/corpora/vendored/other/comment-between-let-bindings.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-between-let-bindings.hs
+++ /dev/null
@@ -1,8 +0,0 @@
-module Route.Split where
-
-split :: Int -> Int
-split total =
-  let outward = total `div` 2
-      -- whatever is left over rides home
-      homeward = total - outward
-   in homeward
diff --git a/corpora/vendored/other/comment-carried-on-past-its-second-line-out.hs b/corpora/vendored/other/comment-carried-on-past-its-second-line-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-carried-on-past-its-second-line-out.hs
+++ /dev/null
@@ -1,21 +0,0 @@
-module Kiln.Schedule where
-
-rampRate :: Int -> Int
-rampRate held =
-  clamp
-    ( between
-        (floorOf held)
-        (ceilingOf held) -- the kiln never reports
-        -- a reading below this
-        -- once the burners are lit
-    )
-
-soakTime :: Int -> Int
-soakTime held =
-  clamp
-    ( between
-        (floorOf held)
-        (ceilingOf held)
-      -- a remark of its own, begun here
-      -- and carried on to a second line
-    )
diff --git a/corpora/vendored/other/comment-carried-on-past-its-second-line.hs b/corpora/vendored/other/comment-carried-on-past-its-second-line.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-carried-on-past-its-second-line.hs
+++ /dev/null
@@ -1,21 +0,0 @@
-module Kiln.Schedule where
-
-rampRate :: Int -> Int
-rampRate held =
-  clamp
-    ( between
-        (floorOf held)
-        (ceilingOf held) -- the kiln never reports
-        -- a reading below this
-        -- once the burners are lit
-    )
-
-soakTime :: Int -> Int
-soakTime held =
-  clamp
-    ( between
-        (floorOf held)
-        (ceilingOf held)
-        -- a remark of its own, begun here
-        -- and carried on to a second line
-    )
diff --git a/corpora/vendored/other/comment-carried-on-under-a-displaced-remark-out.hs b/corpora/vendored/other/comment-carried-on-under-a-displaced-remark-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-carried-on-under-a-displaced-remark-out.hs
+++ /dev/null
@@ -1,10 +0,0 @@
--- Where an operator joins its operand, their remarks are for one line. The
--- second goes on a line of its own, and what carries it on goes with it.
-guess =
-  catA
-    [ isBinaryDoc
-        >>> constA isoLatin1, -- 0. guess
-        -- the content
-        -- this handling
-      getChildren -- 1. guess
-    ]
diff --git a/corpora/vendored/other/comment-carried-on-under-a-displaced-remark.hs b/corpora/vendored/other/comment-carried-on-under-a-displaced-remark.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-carried-on-under-a-displaced-remark.hs
+++ /dev/null
@@ -1,8 +0,0 @@
--- Where an operator joins its operand, their remarks are for one line. The
--- second goes on a line of its own, and what carries it on goes with it.
-guess = catA [ isBinaryDoc
-               >>>                    -- 0. guess
-               constA isoLatin1       -- the content
-                                      -- this handling
-             , getChildren            -- 1. guess
-             ]
diff --git a/corpora/vendored/other/comment-carried-on-under-a-remark-and-more-out.hs b/corpora/vendored/other/comment-carried-on-under-a-remark-and-more-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-carried-on-under-a-remark-and-more-out.hs
+++ /dev/null
@@ -1,20 +0,0 @@
--- A comment under the remark that ends the line above, lined up with it or
--- indented further, carries the remark on, even where the code under it
--- begins at the same column.
-data AttrTable a -- for all attribute identifiers not contained in the
-                 -- finite map the value is 'undef'
-  = SoftTable a -- updated attributes
-  | FrozenTable a
-
-data Part
-  = Literal String -- a literal string
-  | Variable String -- some input; the
-                    -- string names the variable
-  | Optional Part
-
-decode :: String -> Either String String
-decode b = -- returning an Either means the whole result
-           -- is in memory at once anyway
-  case reverse b of
-    [] -> Left "empty"
-    s -> Right s
diff --git a/corpora/vendored/other/comment-carried-on-under-a-remark-and-more.hs b/corpora/vendored/other/comment-carried-on-under-a-remark-and-more.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-carried-on-under-a-remark-and-more.hs
+++ /dev/null
@@ -1,20 +0,0 @@
--- A comment under the remark that ends the line above, lined up with it or
--- indented further, carries the remark on, even where the code under it
--- begins at the same column.
-data AttrTable a = -- for all attribute identifiers not contained in the
-                   -- finite map the value is 'undef'
-                   SoftTable a  -- updated attributes
-                 | FrozenTable a
-
-data Part
-  = Literal String  -- a literal string
-  | Variable String  -- some input; the
-                          -- string names the variable
-  | Optional Part
-
-decode :: String -> Either String String
-decode b = -- returning an Either means the whole result
-           -- is in memory at once anyway
-           case reverse b of
-             [] -> Left "empty"
-             s -> Right s
diff --git a/corpora/vendored/other/comment-carried-on-under-a-remark-out.hs b/corpora/vendored/other/comment-carried-on-under-a-remark-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-carried-on-under-a-remark-out.hs
+++ /dev/null
@@ -1,18 +0,0 @@
--- A comment lined up under the remark that ends the line above carries that
--- remark on, and stays under it.
-data Directive
-  = Wrapper String -- use this wrapper
-  | ActionType String -- type signature of actions,
-                      -- with optional typeclasses
-  | TypeClass String
-
-data Record = Record
-  { actionType :: String, -- type signature of actions,
-                          -- with optional typeclasses
-    typeClass :: String
-  }
-
-carriedOn = a + b -- said once
-                  -- and never twice
-
-nextOne = 1
diff --git a/corpora/vendored/other/comment-carried-on-under-a-remark.hs b/corpora/vendored/other/comment-carried-on-under-a-remark.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-carried-on-under-a-remark.hs
+++ /dev/null
@@ -1,17 +0,0 @@
--- A comment lined up under the remark that ends the line above carries that
--- remark on, and stays under it.
-data Directive
-  = Wrapper String  -- use this wrapper
-  | ActionType String  -- type signature of actions,
-                       -- with optional typeclasses
-  | TypeClass String
-
-data Record = Record
-  { actionType :: String  -- type signature of actions,
-                          -- with optional typeclasses
-  , typeClass :: String
-  }
-
-carriedOn = a + b  -- said once
-                   -- and never twice
-nextOne = 1
diff --git a/corpora/vendored/other/comment-held-off-a-haddock-out.hs b/corpora/vendored/other/comment-held-off-a-haddock-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-held-off-a-haddock-out.hs
+++ /dev/null
@@ -1,8 +0,0 @@
-module Cache.Hit where
-
-hits :: Int
-hits = 0 -- counted since the last eviction
-
--- | Whether the last lookup found anything.
-found :: Bool
-found = True
diff --git a/corpora/vendored/other/comment-held-off-a-haddock.hs b/corpora/vendored/other/comment-held-off-a-haddock.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-held-off-a-haddock.hs
+++ /dev/null
@@ -1,7 +0,0 @@
-module Cache.Hit where
-
-hits :: Int
-hits = 0 -- counted since the last eviction
--- | Whether the last lookup found anything.
-found :: Bool
-found = True
diff --git a/corpora/vendored/other/comment-in-a-do-let-out.hs b/corpora/vendored/other/comment-in-a-do-let-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-in-a-do-let-out.hs
+++ /dev/null
@@ -1,8 +0,0 @@
-module Route.Plan where
-
-plan :: IO Int
-plan = do
-  let -- worked out before anything is printed
-      stops = 9
-  print stops
-  pure stops
diff --git a/corpora/vendored/other/comment-in-a-do-let.hs b/corpora/vendored/other/comment-in-a-do-let.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-in-a-do-let.hs
+++ /dev/null
@@ -1,8 +0,0 @@
-module Route.Plan where
-
-plan :: IO Int
-plan = do
-  let -- worked out before anything is printed
-      stops = 9
-  print stops
-  pure stops
diff --git a/corpora/vendored/other/comment-in-a-one-line-let-out.hs b/corpora/vendored/other/comment-in-a-one-line-let-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-in-a-one-line-let-out.hs
+++ /dev/null
@@ -1,4 +0,0 @@
-module Route.Once where
-
-once :: Int
-once = let n = 1 {- settled when the timetable is built -} in n
diff --git a/corpora/vendored/other/comment-in-a-one-line-let.hs b/corpora/vendored/other/comment-in-a-one-line-let.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-in-a-one-line-let.hs
+++ /dev/null
@@ -1,4 +0,0 @@
-module Route.Once where
-
-once :: Int
-once = let n = 1 {- settled when the timetable is built -} in n
diff --git a/corpora/vendored/other/comment-in-a-tuple-section-out.hs b/corpora/vendored/other/comment-in-a-tuple-section-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-in-a-tuple-section-out.hs
+++ /dev/null
@@ -1,14 +0,0 @@
-{-# LANGUAGE TupleSections #-}
-
-module Queue.Pairs where
-
-pending = (,Nothing {- yet -})
-
-leftOnly = (Left x, {- the right comes later -})
-
-rightOnly =
-  (,Right y
-  -- and the left from the caller
-  )
-
-done = (x, y)
diff --git a/corpora/vendored/other/comment-in-a-tuple-section.hs b/corpora/vendored/other/comment-in-a-tuple-section.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-in-a-tuple-section.hs
+++ /dev/null
@@ -1,13 +0,0 @@
-{-# LANGUAGE TupleSections #-}
-
-module Queue.Pairs where
-
-pending = (, Nothing {- yet -})
-
-leftOnly = (Left x, {- the right comes later -} )
-
-rightOnly = (, Right y
-  -- and the left from the caller
-  )
-
-done = (x, y)
diff --git a/corpora/vendored/other/comment-inside-a-language-pragma-out.hs b/corpora/vendored/other/comment-inside-a-language-pragma-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-inside-a-language-pragma-out.hs
+++ /dev/null
@@ -1,16 +0,0 @@
-{-# LANGUAGE DataKinds #-}
-{-# LANGUAGE
-    ScopedTypeVariables
-  , LambdaCase -- for classify
-  , {- and for nothing else -} BangPatterns
-  #-}
-{-# LANGUAGE TupleSections #-}
-
-module Kiln.Commented where
-
--- GHC skips the comments inside the pragma and reads the names around
--- them, and a comment there stays where it is written.
-classify :: Int -> String
-classify = \case
-  0 -> "zero"
-  _ -> "other"
diff --git a/corpora/vendored/other/comment-inside-a-language-pragma.hs b/corpora/vendored/other/comment-inside-a-language-pragma.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-inside-a-language-pragma.hs
+++ /dev/null
@@ -1,15 +0,0 @@
-{-# LANGUAGE TupleSections #-}
-{-# LANGUAGE
-    ScopedTypeVariables
-  , LambdaCase -- for classify
-  , {- and for nothing else -} BangPatterns
-  #-}
-{-# LANGUAGE DataKinds #-}
-module Kiln.Commented where
-
--- GHC skips the comments inside the pragma and reads the names around
--- them, and a comment there stays where it is written.
-classify :: Int -> String
-classify = \case
-  0 -> "zero"
-  _ -> "other"
diff --git a/corpora/vendored/other/comment-opening-with-a-word-like-stack-out.hs b/corpora/vendored/other/comment-opening-with-a-word-like-stack-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-opening-with-a-word-like-stack-out.hs
+++ /dev/null
@@ -1,8 +0,0 @@
--- stacks of disks, the smallest on top,
--- and never a larger disk on a smaller one
-module Hanoi (moves) where
-
-moves :: Int -> a -> a -> a -> [(a, a)]
-moves 0 _ _ _ = []
-moves n from to via =
-  moves (n - 1) from via to ++ [(from, to)] ++ moves (n - 1) via to from
diff --git a/corpora/vendored/other/comment-opening-with-a-word-like-stack.hs b/corpora/vendored/other/comment-opening-with-a-word-like-stack.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-opening-with-a-word-like-stack.hs
+++ /dev/null
@@ -1,8 +0,0 @@
--- stacks of disks, the smallest on top,
--- and never a larger disk on a smaller one
-module Hanoi (moves) where
-
-moves :: Int -> a -> a -> a -> [(a, a)]
-moves 0 _ _ _ = []
-moves n from to via =
-  moves (n - 1) from via to ++ [(from, to)] ++ moves (n - 1) via to from
diff --git a/corpora/vendored/other/comment-over-a-hoisted-pragma-out.hs b/corpora/vendored/other/comment-over-a-hoisted-pragma-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-over-a-hoisted-pragma-out.hs
+++ /dev/null
@@ -1,9 +0,0 @@
-{-# LANGUAGE OverloadedStrings #-}
--- eviction order is Cache.Warm's business
-{-# OPTIONS_GHC -Wno-unused-imports #-}
-
--- | Cooling the cache.
-module Cache.Cool where
-
-cool :: IO ()
-cool = pure ()
diff --git a/corpora/vendored/other/comment-over-a-hoisted-pragma.hs b/corpora/vendored/other/comment-over-a-hoisted-pragma.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-over-a-hoisted-pragma.hs
+++ /dev/null
@@ -1,11 +0,0 @@
--- | Cooling the cache.
-
-{-# LANGUAGE OverloadedStrings #-}
-
--- eviction order is Cache.Warm's business
-{-# OPTIONS_GHC -Wno-unused-imports #-}
-
-module Cache.Cool where
-
-cool :: IO ()
-cool = pure ()
diff --git a/corpora/vendored/other/comment-paragraph-trailing-the-module-out.hs b/corpora/vendored/other/comment-paragraph-trailing-the-module-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-paragraph-trailing-the-module-out.hs
+++ /dev/null
@@ -1,12 +0,0 @@
-module Kiln.Firing where
-
-holdFor :: Int -> Int -> Int
-holdFor minutes degrees = minutes * degrees
-
--- The lines of this paragraph belong to one another, and the lexer hands
--- each of them over on its own. An empty line written over every one would
--- take the paragraph apart and set out each line as a remark of its own.
-
--- A second paragraph, which the empty line above it does set apart. The
--- spacing between the two is the author's, and so is the lack of it within
--- either.
diff --git a/corpora/vendored/other/comment-paragraph-trailing-the-module.hs b/corpora/vendored/other/comment-paragraph-trailing-the-module.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-paragraph-trailing-the-module.hs
+++ /dev/null
@@ -1,12 +0,0 @@
-module Kiln.Firing where
-
-holdFor :: Int -> Int -> Int
-holdFor minutes degrees = minutes * degrees
-
--- The lines of this paragraph belong to one another, and the lexer hands
--- each of them over on its own. An empty line written over every one would
--- take the paragraph apart and set out each line as a remark of its own.
-
--- A second paragraph, which the empty line above it does set apart. The
--- spacing between the two is the author's, and so is the lack of it within
--- either.
diff --git a/corpora/vendored/other/comment-spliced-into-a-line-out.hs b/corpora/vendored/other/comment-spliced-into-a-line-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-spliced-into-a-line-out.hs
+++ /dev/null
@@ -1,7 +0,0 @@
-module Terminal.Size where
-
-resize d = case d of
-  Size
-    { rows = r,
-      columns = c {-, depth = d-}
-    } -> r + c
diff --git a/corpora/vendored/other/comment-spliced-into-a-line.hs b/corpora/vendored/other/comment-spliced-into-a-line.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-spliced-into-a-line.hs
+++ /dev/null
@@ -1,5 +0,0 @@
-module Terminal.Size where
-
-resize d = case d of
-  Size{ rows = r, columns = c
-      {-, depth = d-} } -> r + c
diff --git a/corpora/vendored/other/comment-trailing-a-let-binding-out.hs b/corpora/vendored/other/comment-trailing-a-let-binding-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-trailing-a-let-binding-out.hs
+++ /dev/null
@@ -1,7 +0,0 @@
-module Route.Delay where
-
-delay :: Int -> Int
-delay minutes =
-  let slack = 4 -- padding the timetable already allows
-      late = minutes - slack
-   in max 0 late
diff --git a/corpora/vendored/other/comment-trailing-a-let-binding.hs b/corpora/vendored/other/comment-trailing-a-let-binding.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-trailing-a-let-binding.hs
+++ /dev/null
@@ -1,7 +0,0 @@
-module Route.Delay where
-
-delay :: Int -> Int
-delay minutes =
-  let slack = 4 -- padding the timetable already allows
-      late = minutes - slack
-   in max 0 late
diff --git a/corpora/vendored/other/comment-trailing-the-last-let-binding-out.hs b/corpora/vendored/other/comment-trailing-the-last-let-binding-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-trailing-the-last-let-binding-out.hs
+++ /dev/null
@@ -1,7 +0,0 @@
-module Route.Final where
-
-final :: Int -> Int
-final n =
-  let first = n
-      second = first + 1 -- the one the caller actually gets
-   in second
diff --git a/corpora/vendored/other/comment-trailing-the-last-let-binding.hs b/corpora/vendored/other/comment-trailing-the-last-let-binding.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-trailing-the-last-let-binding.hs
+++ /dev/null
@@ -1,7 +0,0 @@
-module Route.Final where
-
-final :: Int -> Int
-final n =
-  let first = n
-      second = first + 1 -- the one the caller actually gets
-   in second
diff --git a/corpora/vendored/other/comment-under-a-block-comment-before-a-closing-bracket-out.hs b/corpora/vendored/other/comment-under-a-block-comment-before-a-closing-bracket-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-under-a-block-comment-before-a-closing-bracket-out.hs
+++ /dev/null
@@ -1,20 +0,0 @@
-module Garden.Beds where
-
-perennials =
-  [ sage,
-    thyme {- both kinds -}
-    -- and more next spring
-  ]
-
-annuals =
-  [ basil,
-    dill {- self-seeding -}
-    -- if left alone
-  ]
-
-border =
-  plant
-    ( lavender,
-      rosemary {- by the path -}
-      -- in full sun
-    )
diff --git a/corpora/vendored/other/comment-under-a-block-comment-before-a-closing-bracket.hs b/corpora/vendored/other/comment-under-a-block-comment-before-a-closing-bracket.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-under-a-block-comment-before-a-closing-bracket.hs
+++ /dev/null
@@ -1,18 +0,0 @@
-module Garden.Beds where
-
-perennials =
-  [ sage,
-    thyme {- both kinds -}
-    -- and more next spring
-  ]
-
-annuals =
-  [ basil
-  , dill {- self-seeding -}
-  -- if left alone
-  ]
-
-border = plant
-  ( lavender, rosemary {- by the path -}
-    -- in full sun
-  )
diff --git a/corpora/vendored/other/comment-under-a-block-haddock-out.hs b/corpora/vendored/other/comment-under-a-block-haddock-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-under-a-block-haddock-out.hs
+++ /dev/null
@@ -1,6 +0,0 @@
-module Cache.Warm where
-
-{- | Fill the cache before the first request arrives. -}
--- TODO: measure whether this still earns its keep
-warm :: IO ()
-warm = pure ()
diff --git a/corpora/vendored/other/comment-under-a-block-haddock.hs b/corpora/vendored/other/comment-under-a-block-haddock.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-under-a-block-haddock.hs
+++ /dev/null
@@ -1,6 +0,0 @@
-module Cache.Warm where
-
-{- | Fill the cache before the first request arrives. -}
--- TODO: measure whether this still earns its keep
-warm :: IO ()
-warm = pure ()
diff --git a/corpora/vendored/other/comment-under-a-declaration-before-a-directive-out.hs b/corpora/vendored/other/comment-under-a-declaration-before-a-directive-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-under-a-declaration-before-a-directive-out.hs
+++ /dev/null
@@ -1,15 +0,0 @@
-{-# LANGUAGE CPP #-}
-
--- An empty line next to a directive is the preprocessor support's to
--- place: it goes under the #endif, and the comment stays under the
--- declaration it was written under.
-module Kiln.Firing where
-
-#if MIN_VERSION_base(4,0,0)
-firingTemperature :: Int
-firingTemperature = 1280
--- Cone 10, for stoneware.
-#endif
-
-coolingRate :: Int
-coolingRate = 100
diff --git a/corpora/vendored/other/comment-under-a-declaration-before-a-directive.hs b/corpora/vendored/other/comment-under-a-declaration-before-a-directive.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-under-a-declaration-before-a-directive.hs
+++ /dev/null
@@ -1,15 +0,0 @@
-{-# LANGUAGE CPP #-}
-
--- An empty line next to a directive is the preprocessor support's to
--- place: it goes under the #endif, and the comment stays under the
--- declaration it was written under.
-module Kiln.Firing where
-
-#if MIN_VERSION_base(4,0,0)
-firingTemperature :: Int
-firingTemperature = 1280
--- Cone 10, for stoneware.
-
-#endif
-coolingRate :: Int
-coolingRate = 100
diff --git a/corpora/vendored/other/comment-under-a-declaration-out.hs b/corpora/vendored/other/comment-under-a-declaration-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-under-a-declaration-out.hs
+++ /dev/null
@@ -1,55 +0,0 @@
--- A comment written right under a declaration, with an empty line after
--- it, is a remark on that declaration and stays with it.
-module Kiln.Firing where
-
-firingTemperature :: Int
-firingTemperature = 1280
--- Cone 10, for stoneware.
-
-coolingRate :: Int
-coolingRate = 100
--- Per hour, down to 600.
-
--- Then left to cool on its own.
-soakMinutes :: Int
-soakMinutes = 30
-
--- The same in a class and in an instance.
-class Glazed a where
-  glaze :: a -> String
-  -- Applied before the bisque firing.
-
-  coats :: a -> Int
-
-instance Glazed Int where
-  glaze _ = "celadon"
-  -- Thin, so that it pools in the carving.
-
-  coats _ = 2
-
--- After a trailing comment as well.
-shelves :: Int
-shelves = 4 -- of silicon carbide
--- Kiln wash on the top side only.
-
-posts :: Int
-posts = 12
-
--- With no empty line under it, a comment is about what follows, and an
--- empty line still goes between the two declarations.
-cones :: Int
-cones = 3
-
--- Witness cones, one per shelf.
-coneHeight :: Int
-coneHeight = 2
-
--- An empty line inside a block comment is no empty line between them.
-reduction :: Bool
-reduction = True
-
-{- Reduction starts at cone 010,
-
-   and ends with the firing. -}
-oxidation :: Bool
-oxidation = False
diff --git a/corpora/vendored/other/comment-under-a-declaration.hs b/corpora/vendored/other/comment-under-a-declaration.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-under-a-declaration.hs
+++ /dev/null
@@ -1,53 +0,0 @@
--- A comment written right under a declaration, with an empty line after
--- it, is a remark on that declaration and stays with it.
-module Kiln.Firing where
-
-firingTemperature :: Int
-firingTemperature = 1280
--- Cone 10, for stoneware.
-
-coolingRate :: Int
-coolingRate = 100
--- Per hour, down to 600.
-
--- Then left to cool on its own.
-soakMinutes :: Int
-soakMinutes = 30
-
--- The same in a class and in an instance.
-class Glazed a where
-  glaze :: a -> String
-  -- Applied before the bisque firing.
-
-  coats :: a -> Int
-
-instance Glazed Int where
-  glaze _ = "celadon"
-  -- Thin, so that it pools in the carving.
-
-  coats _ = 2
-
--- After a trailing comment as well.
-shelves :: Int
-shelves = 4 -- of silicon carbide
--- Kiln wash on the top side only.
-
-posts :: Int
-posts = 12
-
--- With no empty line under it, a comment is about what follows, and an
--- empty line still goes between the two declarations.
-cones :: Int
-cones = 3
--- Witness cones, one per shelf.
-coneHeight :: Int
-coneHeight = 2
-
--- An empty line inside a block comment is no empty line between them.
-reduction :: Bool
-reduction = True
-{- Reduction starts at cone 010,
-
-   and ends with the firing. -}
-oxidation :: Bool
-oxidation = False
diff --git a/corpora/vendored/other/comment-under-a-hoisted-pragma-after-another-out.hs b/corpora/vendored/other/comment-under-a-hoisted-pragma-after-another-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-under-a-hoisted-pragma-after-another-out.hs
+++ /dev/null
@@ -1,9 +0,0 @@
---------------------
-
-{-# OPTIONS_GHC -Wall #-}
-
--- | The module.
-
--- a remark
-
-module T where
diff --git a/corpora/vendored/other/comment-under-a-hoisted-pragma-after-another.hs b/corpora/vendored/other/comment-under-a-hoisted-pragma-after-another.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-under-a-hoisted-pragma-after-another.hs
+++ /dev/null
@@ -1,7 +0,0 @@
--- | The module.
---------------------
-
-{-# OPTIONS_GHC -Wall #-}
--- a remark
-
-module T where
diff --git a/corpora/vendored/other/comment-under-a-hoisted-pragma-out.hs b/corpora/vendored/other/comment-under-a-hoisted-pragma-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-under-a-hoisted-pragma-out.hs
+++ /dev/null
@@ -1,17 +0,0 @@
-{-# OPTIONS_GHC -Wno-incomplete-patterns #-}
-
--- | Warming the cache.
---
---   Usage:
---   @
---
---     import qualified Cache.Warm as Warm
---
---   @
-
--- the shapes below are exhaustive, but not obviously so
-
-module Cache.Warm where
-
-warm :: IO ()
-warm = pure ()
diff --git a/corpora/vendored/other/comment-under-a-hoisted-pragma.hs b/corpora/vendored/other/comment-under-a-hoisted-pragma.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-under-a-hoisted-pragma.hs
+++ /dev/null
@@ -1,16 +0,0 @@
--- | Warming the cache.
---
---   Usage:
---   @
---
---     import qualified Cache.Warm as Warm
---
---   @
-
-{-# OPTIONS_GHC -Wno-incomplete-patterns #-}
-  -- the shapes below are exhaustive, but not obviously so
-
-module Cache.Warm where
-
-warm :: IO ()
-warm = pure ()
diff --git a/corpora/vendored/other/comment-under-a-quasi-quotation-out.hs b/corpora/vendored/other/comment-under-a-quasi-quotation-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-under-a-quasi-quotation-out.hs
+++ /dev/null
@@ -1,19 +0,0 @@
-{-# LANGUAGE QuasiQuotes #-}
-
--- A comment under a quasi-quotation written over several lines stays out of
--- it.
-module Physics.Body (setAngle, reindexed) where
-
-setAngle :: Ptr Body -> Double -> IO ()
-setAngle bodyPtr angle = [C.block| void {
-  cpBodySetAngle($(cpBody* bodyPtr), $(double angle));
-  } |]
-  -- FIXME reindex
-
-reindexed :: Ptr Body -> IO ()
-reindexed bodyPtr = do
-  [C.block| void {
-    cpSpaceReindexShapesForBody($(cpBody* bodyPtr));
-    } |]
-  -- once per body
-  pure ()
diff --git a/corpora/vendored/other/comment-under-a-quasi-quotation.hs b/corpora/vendored/other/comment-under-a-quasi-quotation.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-under-a-quasi-quotation.hs
+++ /dev/null
@@ -1,19 +0,0 @@
-{-# LANGUAGE QuasiQuotes #-}
-
--- A comment under a quasi-quotation written over several lines stays out of
--- it.
-module Physics.Body (setAngle, reindexed) where
-
-setAngle :: Ptr Body -> Double -> IO ()
-setAngle bodyPtr angle = [C.block| void {
-  cpBodySetAngle($(cpBody* bodyPtr), $(double angle));
-  } |]
-  -- FIXME reindex
-
-reindexed :: Ptr Body -> IO ()
-reindexed bodyPtr = do
-  [C.block| void {
-    cpSpaceReindexShapesForBody($(cpBody* bodyPtr));
-    } |]
-    -- once per body
-  pure ()
diff --git a/corpora/vendored/other/comment-under-a-right-hand-side-above-the-in-keyword-out.hs b/corpora/vendored/other/comment-under-a-right-hand-side-above-the-in-keyword-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-under-a-right-hand-side-above-the-in-keyword-out.hs
+++ /dev/null
@@ -1,7 +0,0 @@
-module Route.Clamp where
-
-stops :: Int -> Int -> Int
-stops wanted total =
-  let served = min wanted total
-      -- never more than the line has
-   in served + 1
diff --git a/corpora/vendored/other/comment-under-a-right-hand-side-above-the-in-keyword.hs b/corpora/vendored/other/comment-under-a-right-hand-side-above-the-in-keyword.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-under-a-right-hand-side-above-the-in-keyword.hs
+++ /dev/null
@@ -1,7 +0,0 @@
-module Route.Clamp where
-
-stops :: Int -> Int -> Int
-stops wanted total =
-  let served = min wanted total
-        -- never more than the line has
-   in served + 1
diff --git a/corpora/vendored/other/comment-under-a-right-hand-side-out.hs b/corpora/vendored/other/comment-under-a-right-hand-side-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-under-a-right-hand-side-out.hs
+++ /dev/null
@@ -1,41 +0,0 @@
-module Alternatives where
-
-main :: IO ()
-main = do
-  let value =
-        one <|> two
-        -- Alt one two
-  print value
-
-combined =
-  one <|> two
-  -- Alt one two
-
-next = 1
-
-local = value
-  where
-    value =
-      one <|> two
-      -- Alt one two
-      -- and nothing else
-    other = 1
-
-apart = do
-  let value =
-        one <|> two
-  -- about what follows
-  print value
-
-bound = do
-  x <-
-    one <|> two
-    -- Alt one two
-  print x
-
-instance Semigroup Meta where
-  Meta a <> Meta b = Meta (b <> a)
-  -- the second one wins
-
-instance Monoid Meta where
-  mempty = Meta mempty
diff --git a/corpora/vendored/other/comment-under-a-right-hand-side.hs b/corpora/vendored/other/comment-under-a-right-hand-side.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-under-a-right-hand-side.hs
+++ /dev/null
@@ -1,40 +0,0 @@
-module Alternatives where
-
-main :: IO ()
-main = do
-  let value =
-        one <|> two
-        -- Alt one two
-  print value
-
-combined =
-  one <|> two
-  -- Alt one two
-next = 1
-
-local = value
-  where
-    value =
-      one <|> two
-      -- Alt one two
-      -- and nothing else
-    other = 1
-
-apart = do
-  let value =
-        one <|> two
-  -- about what follows
-  print value
-
-bound = do
-  x <-
-    one <|> two
-    -- Alt one two
-  print x
-
-instance Semigroup Meta where
-  Meta a <> Meta b = Meta (b <> a)
-  -- the second one wins
-
-instance Monoid Meta where
-  mempty = Meta mempty
diff --git a/corpora/vendored/other/comment-under-the-last-part-of-a-construct-out.hs b/corpora/vendored/other/comment-under-the-last-part-of-a-construct-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-under-the-last-part-of-a-construct-out.hs
+++ /dev/null
@@ -1,59 +0,0 @@
--- A comment lined up with the last line of a construct, and not with what
--- follows the construct, stays inside it.
-module Loom.Warp where
-
-import Control.Applicative ((<|>))
-
-threads ::
-  Int ->
-  Int
-  -- counted across the whole width
-threads ends = ends * 2
-
-tension :: Int
-tension = pull 3 4
-  where
-    pull ::
-      Int ->
-      -- \^ Weight on the beam
-      Int ->
-      -- \^ Turns of the brake
-      Int
-      -- \^ What the warp takes
-    pull weight turns = weight * turns
-
-data Shed
-  = Plain Int
-  | Twill
-      Int
-      -- Shafts raised
-      Int
-      -- Shafts lowered
-  deriving (Show)
-
-sett :: Maybe Int
-sett =
-  id
-    ( Just 12
-        <|> Just 16
-    )
-    -- ends per centimetre
-
-reed :: Int
-reed = 60
-
-selvedge :: String
-selvedge =
-  "doubled"
-    <> " ends"
-  -- on both sides
-
-beam :: Int
-beam = 2
-
--- At the end of the module, where nothing follows the construct, too.
-loom :: Int
-loom = shuttles
-  where
-    shuttles = 2
-    -- and a spare
diff --git a/corpora/vendored/other/comment-under-the-last-part-of-a-construct.hs b/corpora/vendored/other/comment-under-the-last-part-of-a-construct.hs
deleted file mode 100644
--- a/corpora/vendored/other/comment-under-the-last-part-of-a-construct.hs
+++ /dev/null
@@ -1,54 +0,0 @@
--- A comment lined up with the last line of a construct, and not with what
--- follows the construct, stays inside it.
-module Loom.Warp where
-
-import Control.Applicative ((<|>))
-
-threads
-  :: Int
-  -> Int
-  -- counted across the whole width
-threads ends = ends * 2
-
-tension :: Int
-tension = pull 3 4
-  where
-    pull
-      :: Int
-      -- ^ Weight on the beam
-      -> Int
-      -- ^ Turns of the brake
-      -> Int
-      -- ^ What the warp takes
-    pull weight turns = weight * turns
-
-data Shed
-  = Plain Int
-  | Twill
-      Int
-      -- Shafts raised
-      Int
-      -- Shafts lowered
-        deriving (Show)
-
-sett :: Maybe Int
-sett = id (Just 12
-            <|> Just 16)
-            -- ends per centimetre
-
-reed :: Int
-reed = 60
-
-selvedge :: String
-selvedge = "doubled"
-  <> " ends"
-  -- on both sides
-beam :: Int
-beam = 2
-
--- At the end of the module, where nothing follows the construct, too.
-loom :: Int
-loom = shuttles
-  where
-    shuttles = 2
-    -- and a spare
diff --git a/corpora/vendored/other/commented-language-pragma-repeating-an-extension-out.hs b/corpora/vendored/other/commented-language-pragma-repeating-an-extension-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/commented-language-pragma-repeating-an-extension-out.hs
+++ /dev/null
@@ -1,13 +0,0 @@
-{-# LANGUAGE LambdaCase #-}
-{-# LANGUAGE LambdaCase -- for classify
-  #-}
-{-# LANGUAGE TupleSections #-}
-
-module Kiln.Repeated where
-
--- A pragma that names an extension again but holds a comment stays, with
--- the comment.
-classify :: Int -> String
-classify = \case
-  0 -> "zero"
-  _ -> "other"
diff --git a/corpora/vendored/other/commented-language-pragma-repeating-an-extension.hs b/corpora/vendored/other/commented-language-pragma-repeating-an-extension.hs
deleted file mode 100644
--- a/corpora/vendored/other/commented-language-pragma-repeating-an-extension.hs
+++ /dev/null
@@ -1,12 +0,0 @@
-{-# LANGUAGE LambdaCase #-}
-{-# LANGUAGE TupleSections #-}
-{-# LANGUAGE LambdaCase -- for classify
-  #-}
-module Kiln.Repeated where
-
--- A pragma that names an extension again but holds a comment stays, with
--- the comment.
-classify :: Int -> String
-classify = \case
-  0 -> "zero"
-  _ -> "other"
diff --git a/corpora/vendored/other/comments-after-an-item-before-a-leading-comma-out.hs b/corpora/vendored/other/comments-after-an-item-before-a-leading-comma-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/comments-after-an-item-before-a-leading-comma-out.hs
+++ /dev/null
@@ -1,6 +0,0 @@
-module Survey.Tally
-  ( count, {- the total -} -- so far
-    reset, {- to zero -}
-    tally, -- by answer
-  )
-where
diff --git a/corpora/vendored/other/comments-after-an-item-before-a-leading-comma.hs b/corpora/vendored/other/comments-after-an-item-before-a-leading-comma.hs
deleted file mode 100644
--- a/corpora/vendored/other/comments-after-an-item-before-a-leading-comma.hs
+++ /dev/null
@@ -1,6 +0,0 @@
-module Survey.Tally
-  ( count {- the total -} -- so far
-  , reset {- to zero -}
-  , tally -- by answer
-  )
-where
diff --git a/corpora/vendored/other/comments-beside-an-alternative-and-a-bracket-out.hs b/corpora/vendored/other/comments-beside-an-alternative-and-a-bracket-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/comments-beside-an-alternative-and-a-bracket-out.hs
+++ /dev/null
@@ -1,16 +0,0 @@
-module M where
-
-atTheEnd = case x of
-  a -> -- why
-    b
-
-onItsOwnLine = case x of
-  a ->
-    -- why
-    b
-
-beforeTheClosingBracket =
-  [ a,
-    b
-    -- and that is all
-  ]
diff --git a/corpora/vendored/other/comments-beside-an-alternative-and-a-bracket.hs b/corpora/vendored/other/comments-beside-an-alternative-and-a-bracket.hs
deleted file mode 100644
--- a/corpora/vendored/other/comments-beside-an-alternative-and-a-bracket.hs
+++ /dev/null
@@ -1,16 +0,0 @@
-module M where
-
-atTheEnd = case x of
-  a -> -- why
-    b
-
-onItsOwnLine = case x of
-  a ->
-    -- why
-    b
-
-beforeTheClosingBracket =
-  [ a,
-    b
-    -- and that is all
-  ]
diff --git a/corpora/vendored/other/comments-beside-the-where-of-the-header-out.hs b/corpora/vendored/other/comments-beside-the-where-of-the-header-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/comments-beside-the-where-of-the-header-out.hs
+++ /dev/null
@@ -1,10 +0,0 @@
--- Comments written before and after the where of the module header stay on
--- their side of it.
-module Ledger.Book
--- everything is exported
-where {- until the API settles -}
-
-import Ledger.Entry (Entry)
-
-opening :: Entry -> Int
-opening _ = 0
diff --git a/corpora/vendored/other/comments-beside-the-where-of-the-header.hs b/corpora/vendored/other/comments-beside-the-where-of-the-header.hs
deleted file mode 100644
--- a/corpora/vendored/other/comments-beside-the-where-of-the-header.hs
+++ /dev/null
@@ -1,10 +0,0 @@
--- Comments written before and after the where of the module header stay on
--- their side of it.
-module Ledger.Book
-  -- everything is exported
-  where {- until the API settles -}
-
-import Ledger.Entry (Entry)
-
-opening :: Entry -> Int
-opening _ = 0
diff --git a/corpora/vendored/other/comments-kept-where-written-out.hs b/corpora/vendored/other/comments-kept-where-written-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/comments-kept-where-written-out.hs
+++ /dev/null
@@ -1,17 +0,0 @@
-module M where
-
--- a note
-between = 1
-
-inside = g
-  where
-    -- about g
-    g = 1
-
-selfDelimiting =
-  {- here -} 1
-
-notOnOneLine =
-  ( -- here
-    1
-  )
diff --git a/corpora/vendored/other/comments-kept-where-written.hs b/corpora/vendored/other/comments-kept-where-written.hs
deleted file mode 100644
--- a/corpora/vendored/other/comments-kept-where-written.hs
+++ /dev/null
@@ -1,17 +0,0 @@
-module M where
-
--- a note
-between = 1
-
-inside = g
-  where
-    -- about g
-    g = 1
-
-selfDelimiting =
-  {- here -} 1
-
-notOnOneLine =
-  ( -- here
-    1
-  )
diff --git a/corpora/vendored/other/comments-where-they-are-hard-to-put-back-out.hs b/corpora/vendored/other/comments-where-they-are-hard-to-put-back-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/comments-where-they-are-hard-to-put-back-out.hs
+++ /dev/null
@@ -1,25 +0,0 @@
-module M where
-
--- | A heading
-
--- and a note under it
-data T = T
-  { a :: Int, -- the first
-    -- the second
-    b :: Int
-  }
-
-f x -- what to do with this?
-  | x > 0 = g x
-  | otherwise = h x
-  where
-    g = id
-
-    -- about h
-    h = negate
-
-xs =
-  [ one,
-    {- inline -} two
-    -- last
-  ]
diff --git a/corpora/vendored/other/comments-where-they-are-hard-to-put-back.hs b/corpora/vendored/other/comments-where-they-are-hard-to-put-back.hs
deleted file mode 100644
--- a/corpora/vendored/other/comments-where-they-are-hard-to-put-back.hs
+++ /dev/null
@@ -1,25 +0,0 @@
-module M where
-
--- | A heading
-
--- and a note under it
-data T = T
-  { a :: Int, -- the first
-    -- the second
-    b :: Int
-  }
-
-f x -- what to do with this?
-  | x > 0 = g x
-  | otherwise = h x
-  where
-    g = id
-
-    -- about h
-    h = negate
-
-xs =
-  [ one,
-    {- inline -} two
-    -- last
-  ]
diff --git a/corpora/vendored/other/cpp/argument-at-the-end-behind-a-conditional-out.hs b/corpora/vendored/other/cpp/argument-at-the-end-behind-a-conditional-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/argument-at-the-end-behind-a-conditional-out.hs
+++ /dev/null
@@ -1,14 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Storage.Open (openFor) where
-
-import Storage.Handle
-
-openFor :: FilePath -> Mode -> IO Handle
-openFor path mode =
-  openWith
-    path
-    mode
-#if MIN_VERSION_storage(0,2,0)
-    closeOnExec
-#endif
diff --git a/corpora/vendored/other/cpp/argument-at-the-end-behind-a-conditional.hs b/corpora/vendored/other/cpp/argument-at-the-end-behind-a-conditional.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/argument-at-the-end-behind-a-conditional.hs
+++ /dev/null
@@ -1,12 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Storage.Open (openFor) where
-
-import Storage.Handle
-
-openFor :: FilePath -> Mode -> IO Handle
-openFor path mode  =
-  openWith path  mode
-#if MIN_VERSION_storage(0,2,0)
-    closeOnExec
-#endif
diff --git a/corpora/vendored/other/cpp/argument-behind-a-conditional-out.hs b/corpora/vendored/other/cpp/argument-behind-a-conditional-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/argument-behind-a-conditional-out.hs
+++ /dev/null
@@ -1,13 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Records.Process (process) where
-
-import Language.Haskell.TH
-
-process :: [Stmt] -> Exp -> Exp
-process statements result =
-  DoE
-#if MIN_VERSION_template_haskell(2,17,0)
-    Nothing
-#endif
-    (statements ++ [NoBindS result])
diff --git a/corpora/vendored/other/cpp/argument-behind-a-conditional.hs b/corpora/vendored/other/cpp/argument-behind-a-conditional.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/argument-behind-a-conditional.hs
+++ /dev/null
@@ -1,13 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Records.Process (process) where
-
-import Language.Haskell.TH
-
-process :: [Stmt] -> Exp -> Exp
-process statements result  =
-  DoE
-#if MIN_VERSION_template_haskell(2,17,0)
-    Nothing
-#endif
-    (statements  ++  [NoBindS result])
diff --git a/corpora/vendored/other/cpp/arguments-at-the-end-behind-alternatives-out.hs b/corpora/vendored/other/cpp/arguments-at-the-end-behind-alternatives-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/arguments-at-the-end-behind-alternatives-out.hs
+++ /dev/null
@@ -1,17 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Storage.Create (createFor) where
-
-import Storage.Handle
-
-createFor :: FilePath -> Mode -> IO Handle
-createFor path mode =
-  createWith
-    path
-    mode
-#if MIN_VERSION_storage(0,3,0)
-    closeOnExec
-    inheritable
-#elif MIN_VERSION_storage(0,2,0)
-    closeOnExec
-#endif
diff --git a/corpora/vendored/other/cpp/arguments-at-the-end-behind-alternatives.hs b/corpora/vendored/other/cpp/arguments-at-the-end-behind-alternatives.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/arguments-at-the-end-behind-alternatives.hs
+++ /dev/null
@@ -1,14 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Storage.Create (createFor) where
-
-import Storage.Handle
-
-createFor :: FilePath -> Mode -> IO Handle
-createFor path mode  =
-  createWith path  mode
-#if MIN_VERSION_storage(0,3,0)
-    closeOnExec  inheritable
-#elif MIN_VERSION_storage(0,2,0)
-    closeOnExec
-#endif
diff --git a/corpora/vendored/other/cpp/arguments-behind-alternatives-out.hs b/corpora/vendored/other/cpp/arguments-behind-alternatives-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/arguments-behind-alternatives-out.hs
+++ /dev/null
@@ -1,15 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Completion.Names (fromName) where
-
-import GHC
-
-fromName :: RdrName -> HsExpr GhcPs
-fromName name =
-#if __GLASGOW_HASKELL__ >= 806
-  HsVar
-    NoExt
-#else
-  HsVar
-#endif
-    (L noSrcSpan name)
diff --git a/corpora/vendored/other/cpp/arguments-behind-alternatives.hs b/corpora/vendored/other/cpp/arguments-behind-alternatives.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/arguments-behind-alternatives.hs
+++ /dev/null
@@ -1,14 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Completion.Names (fromName) where
-
-import GHC
-
-fromName :: RdrName -> HsExpr GhcPs
-fromName name  =
-#if __GLASGOW_HASKELL__ >= 806
-  HsVar NoExt
-#else
-  HsVar
-#endif
-    (L noSrcSpan  name)
diff --git a/corpora/vendored/other/cpp/bind-statement-begun-in-each-branch-out.hs b/corpora/vendored/other/cpp/bind-statement-begun-in-each-branch-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/bind-statement-begun-in-each-branch-out.hs
+++ /dev/null
@@ -1,18 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module T where
-
-f :: Int -> IO Int
-f x = do
-#if MIN_VERSION_base(4,0,0)
-  y <-
-    g
-      (h x)
-#else
-  y <-
-    k
-      (h x)
-#endif
-      a
-      b
-  pure y
diff --git a/corpora/vendored/other/cpp/bind-statement-begun-in-each-branch.hs b/corpora/vendored/other/cpp/bind-statement-begun-in-each-branch.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/bind-statement-begun-in-each-branch.hs
+++ /dev/null
@@ -1,12 +0,0 @@
-{-# LANGUAGE CPP #-}
-module T where
-
-f :: Int -> IO Int
-f x = do
-#if MIN_VERSION_base(4,0,0)
-  y <- g (h x)
-#else
-  y <- k (h x)
-#endif
-         a b
-  pure y
diff --git a/corpora/vendored/other/cpp/bind-statement-finished-after-a-conditional-out.hs b/corpora/vendored/other/cpp/bind-statement-finished-after-a-conditional-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/bind-statement-finished-after-a-conditional-out.hs
+++ /dev/null
@@ -1,13 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module T where
-
-f :: Int -> IO Int
-f x = do
-#if MIN_VERSION_base(4,0,0)
-  (y, _) <-
-#else
-  y <-
-#endif
-    g x
-  pure y
diff --git a/corpora/vendored/other/cpp/bind-statement-finished-after-a-conditional.hs b/corpora/vendored/other/cpp/bind-statement-finished-after-a-conditional.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/bind-statement-finished-after-a-conditional.hs
+++ /dev/null
@@ -1,12 +0,0 @@
-{-# LANGUAGE CPP #-}
-module T where
-
-f :: Int -> IO Int
-f x = do
-#if MIN_VERSION_base(4,0,0)
-  (y, _) <-
-#else
-  y <-
-#endif
-    g x
-  pure y
diff --git a/corpora/vendored/other/cpp/branch-continuing-the-line-before-out.hs b/corpora/vendored/other/cpp/branch-continuing-the-line-before-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/branch-continuing-the-line-before-out.hs
+++ /dev/null
@@ -1,15 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Report.Flush (flush) where
-
-flush :: Bool -> IO ()
-flush verbose =
-#if defined(TRACE)
-  when verbose $
-    do
-      traceIO "flushing"
-      hFlush stdout
-#else
-  when verbose $
-    hFlush stdout
-#endif
diff --git a/corpora/vendored/other/cpp/branch-continuing-the-line-before.hs b/corpora/vendored/other/cpp/branch-continuing-the-line-before.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/branch-continuing-the-line-before.hs
+++ /dev/null
@@ -1,10 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Report.Flush (flush) where
-
-flush :: Bool -> IO ()
-flush verbose = when verbose $
-#if defined(TRACE)
-  do traceIO "flushing"
-#endif
-     hFlush stdout
diff --git a/corpora/vendored/other/cpp/branch-holding-only-a-comment-out.hs b/corpora/vendored/other/cpp/branch-holding-only-a-comment-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/branch-holding-only-a-comment-out.hs
+++ /dev/null
@@ -1,13 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Features where
-
-supportsColour :: Bool
-supportsColour = True
-
-#ifdef WINDOWS
--- The console has no bracketed paste mode.
-#endif
-
-supportsPaste :: Bool
-supportsPaste = True
diff --git a/corpora/vendored/other/cpp/branch-holding-only-a-comment.hs b/corpora/vendored/other/cpp/branch-holding-only-a-comment.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/branch-holding-only-a-comment.hs
+++ /dev/null
@@ -1,13 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Features where
-
-supportsColour :: Bool
-supportsColour  =  True
-
-#ifdef WINDOWS
--- The console has no bracketed paste mode.
-#endif
-
-supportsPaste :: Bool
-supportsPaste  =  True
diff --git a/corpora/vendored/other/cpp/branch-holding-only-an-error-out.hs b/corpora/vendored/other/cpp/branch-holding-only-an-error-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/branch-holding-only-an-error-out.hs
+++ /dev/null
@@ -1,17 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Word (wordSize) where
-
-#if !defined(__GLASGOW_HASKELL__)
-#error "Only GHC is supported."
-#endif
-
-wordSize :: Int
-wordSize =
-#if WORD_SIZE_IN_BITS == 64
-  64
-#elif WORD_SIZE_IN_BITS == 32
-  32
-#else
-#error "Unsupported word size."
-#endif
diff --git a/corpora/vendored/other/cpp/branch-holding-only-an-error.hs b/corpora/vendored/other/cpp/branch-holding-only-an-error.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/branch-holding-only-an-error.hs
+++ /dev/null
@@ -1,17 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Word (wordSize) where
-
-#if !defined(__GLASGOW_HASKELL__)
-#error "Only GHC is supported."
-#endif
-
-wordSize :: Int
-wordSize =
-#if WORD_SIZE_IN_BITS == 64
-  64
-#elif WORD_SIZE_IN_BITS == 32
-  32
-#else
-#error "Unsupported word size."
-#endif
diff --git a/corpora/vendored/other/cpp/branch-opening-a-bracket-it-does-not-close.hs b/corpora/vendored/other/cpp/branch-opening-a-bracket-it-does-not-close.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/branch-opening-a-bracket-it-does-not-close.hs
+++ /dev/null
@@ -1,8 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module M where
-
-#ifdef FOO
-f = (1
-#endif
-  + 2)
diff --git a/corpora/vendored/other/cpp/branch-with-a-where-clause-out.hs b/corpora/vendored/other/cpp/branch-with-a-where-clause-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/branch-with-a-where-clause-out.hs
+++ /dev/null
@@ -1,13 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Cache.Warm where
-
-warm :: IO ()
-warm = do
-#if TRACING
-  report (label 1)
-  where
-    label n = "warm " <> show n
-#else
-  pure ()
-#endif
diff --git a/corpora/vendored/other/cpp/branch-with-a-where-clause.hs b/corpora/vendored/other/cpp/branch-with-a-where-clause.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/branch-with-a-where-clause.hs
+++ /dev/null
@@ -1,13 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Cache.Warm where
-
-warm :: IO ()
-warm = do
-#if TRACING
-  report (label 1)
-  where
-    label n = "warm " <> show n
-#else
-  pure ()
-#endif
diff --git a/corpora/vendored/other/cpp/branches-ending-a-body-differently-out.hs b/corpora/vendored/other/cpp/branches-ending-a-body-differently-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/branches-ending-a-body-differently-out.hs
+++ /dev/null
@@ -1,14 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Console.Encoding where
-
-unicodeSupported :: Handle -> IO Bool
-unicodeSupported h = do
-#ifndef __MHS__
-  (== Just "UTF-8") . fmap show <$> hGetEncoding h
-#else
-  return True
-
-canonicalize :: FilePath -> IO FilePath
-canonicalize = return
-#endif
diff --git a/corpora/vendored/other/cpp/branches-ending-a-body-differently.hs b/corpora/vendored/other/cpp/branches-ending-a-body-differently.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/branches-ending-a-body-differently.hs
+++ /dev/null
@@ -1,14 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Console.Encoding where
-
-unicodeSupported :: Handle -> IO Bool
-unicodeSupported h = do
-#ifndef __MHS__
-  (== Just "UTF-8") . fmap show <$> hGetEncoding h
-#else
-  return True
-
-canonicalize :: FilePath -> IO FilePath
-canonicalize = return
-#endif
diff --git a/corpora/vendored/other/cpp/branches-of-different-lengths-out.hs b/corpora/vendored/other/cpp/branches-of-different-lengths-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/branches-of-different-lengths-out.hs
+++ /dev/null
@@ -1,15 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module M where
-
-before = 1
-
-#ifdef FOO
-mid = case x of
-  A -> 1
-  B -> 2
-#else
-mid = 3
-#endif
-
-after = 4
diff --git a/corpora/vendored/other/cpp/branches-of-different-lengths.hs b/corpora/vendored/other/cpp/branches-of-different-lengths.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/branches-of-different-lengths.hs
+++ /dev/null
@@ -1,15 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module M where
-
-before = 1
-
-#ifdef FOO
-mid = case x of
-  A -> 1
-  B -> 2
-#else
-mid = 3
-#endif
-
-after = 4
diff --git a/corpora/vendored/other/cpp/branches-saying-the-same-thing-out.hs b/corpora/vendored/other/cpp/branches-saying-the-same-thing-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/branches-saying-the-same-thing-out.hs
+++ /dev/null
@@ -1,9 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module M where
-
-#ifdef FOO
-mid = 2
-#else
-mid = 2
-#endif
diff --git a/corpora/vendored/other/cpp/branches-saying-the-same-thing.hs b/corpora/vendored/other/cpp/branches-saying-the-same-thing.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/branches-saying-the-same-thing.hs
+++ /dev/null
@@ -1,9 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module M where
-
-#ifdef FOO
-mid = 2
-#else
-mid  =  2
-#endif
diff --git a/corpora/vendored/other/cpp/case-head-in-each-branch-out.hs b/corpora/vendored/other/cpp/case-head-in-each-branch-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/case-head-in-each-branch-out.hs
+++ /dev/null
@@ -1,25 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Data.Aeson.BetterErrors.Internal (key, keyMay) where
-
-key :: Text -> Object -> Parse Value
-key k obj = do
-#if MIN_VERSION_aeson(2,0,0)
-  case KeyMap.lookup (Key.fromText k) obj of
-#else
-  case HashMap.lookup k obj of
-#endif
-    Just v -> pure v
-    Nothing -> missing k
-
-keyMay :: Text -> Maybe Object -> Parse (Maybe Value)
-keyMay k value = case value of
-  Just obj ->
-#if MIN_VERSION_aeson(2,0,0)
-    case KeyMap.lookup (Key.fromText k) obj of
-#else
-    case HashMap.lookup k obj of
-#endif
-      Just v -> pure (Just v)
-      Nothing -> pure Nothing
-  Nothing -> pure Nothing
diff --git a/corpora/vendored/other/cpp/case-head-in-each-branch.hs b/corpora/vendored/other/cpp/case-head-in-each-branch.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/case-head-in-each-branch.hs
+++ /dev/null
@@ -1,25 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Data.Aeson.BetterErrors.Internal (key, keyMay) where
-
-key :: Text -> Object -> Parse Value
-key k obj = do
-#if MIN_VERSION_aeson(2,0,0)
-  case KeyMap.lookup (Key.fromText k) obj of
-#else
-  case HashMap.lookup k obj of
-#endif
-    Just v -> pure v
-    Nothing -> missing k
-
-keyMay :: Text -> Maybe Object -> Parse (Maybe Value)
-keyMay k value = case value of
-  Just obj ->
-#if MIN_VERSION_aeson(2,0,0)
-    case KeyMap.lookup (Key.fromText k) obj of
-#else
-    case HashMap.lookup k obj of
-#endif
-      Just v -> pure (Just v)
-      Nothing -> pure Nothing
-  Nothing -> pure Nothing
diff --git a/corpora/vendored/other/cpp/case-of-after-a-conditional-out.hs b/corpora/vendored/other/cpp/case-of-after-a-conditional-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/case-of-after-a-conditional-out.hs
+++ /dev/null
@@ -1,30 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Lookup (check, find) where
-
-check :: IO ()
-check = do
-  case answer
-#ifdef SECOND
-    second of
-#else
-    first of
-#endif
-    _ -> pure ()
-
-find :: IO ()
-find = do
-  case lookupModule
-#if __GLASGOW_HASKELL__ >= 900
-    unitState
-#else
-    flags
-#endif
-    (moduleName "Polysemy")
-#if __GLASGOW_HASKELL__ >= 904
-    NoQualifier of
-#else
-    Nothing of
-#endif
-    Found _ -> pure ()
-    _ -> fail "not found"
diff --git a/corpora/vendored/other/cpp/case-of-after-a-conditional.hs b/corpora/vendored/other/cpp/case-of-after-a-conditional.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/case-of-after-a-conditional.hs
+++ /dev/null
@@ -1,32 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Lookup (check, find) where
-
-check :: IO ()
-check = do
-  case answer
-#ifdef SECOND
-    second
-#else
-    first
-#endif
-    of
-    _ -> pure ()
-
-find :: IO ()
-find = do
-  case lookupModule
-#if __GLASGOW_HASKELL__ >= 900
-    unitState
-#else
-    flags
-#endif
-    (moduleName "Polysemy")
-#if __GLASGOW_HASKELL__ >= 904
-    NoQualifier
-#else
-    Nothing
-#endif
-    of
-    Found _ -> pure ()
-    _ -> fail "not found"
diff --git a/corpora/vendored/other/cpp/code-after-an-optional-prefix-out.hs b/corpora/vendored/other/cpp/code-after-an-optional-prefix-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/code-after-an-optional-prefix-out.hs
+++ /dev/null
@@ -1,32 +0,0 @@
-{-# LANGUAGE CPP #-}
-
--- Code that one branch puts a prefix in front of, written at the column of
--- the prefix, comes out once after the conditional.
-module Properties.Json (jsonIso, label, retried) where
-
-jsonIso :: Proxy a -> Property
-jsonIso _ =
-#if MIN_VERSION_QuickCheck(2,9,0)
-  again $
-#endif
-  MkProperty $
-    arbitrary >>= \x ->
-      counterexample "decoded" (Just x == decode (encode x))
-
-label :: String -> Property -> Property
-label s =
-#ifndef LAZY_LABELS
-  s `seq`
-#endif
-  mapTotalResult $
-    \res -> res{labels = s : labels res}
-
--- Written in each branch, it stays in each.
-retried :: Property -> Property
-retried p =
-#if MIN_VERSION_QuickCheck(2,9,0)
-  again $
-    once p
-#else
-  once p
-#endif
diff --git a/corpora/vendored/other/cpp/code-after-an-optional-prefix.hs b/corpora/vendored/other/cpp/code-after-an-optional-prefix.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/code-after-an-optional-prefix.hs
+++ /dev/null
@@ -1,32 +0,0 @@
-{-# LANGUAGE CPP #-}
-
--- Code that one branch puts a prefix in front of, written at the column of
--- the prefix, comes out once after the conditional.
-module Properties.Json (jsonIso, label, retried) where
-
-jsonIso :: Proxy a -> Property
-jsonIso _ =
-#if MIN_VERSION_QuickCheck(2,9,0)
-  again $
-#endif
-  MkProperty $
-    arbitrary >>= \x ->
-      counterexample "decoded" (Just x == decode (encode x))
-
-label :: String -> Property -> Property
-label s =
-#ifndef LAZY_LABELS
-  s `seq`
-#endif
-  mapTotalResult $
-    \res -> res {labels = s : labels res}
-
--- Written in each branch, it stays in each.
-retried :: Property -> Property
-retried p =
-#if MIN_VERSION_QuickCheck(2,9,0)
-  again $
-  once p
-#else
-  once p
-#endif
diff --git a/corpora/vendored/other/cpp/code-finishing-what-each-branch-begins-out.hs b/corpora/vendored/other/cpp/code-finishing-what-each-branch-begins-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/code-finishing-what-each-branch-begins-out.hs
+++ /dev/null
@@ -1,90 +0,0 @@
-{-# LANGUAGE CPP #-}
-{-# LANGUAGE LambdaCase #-}
-
--- What follows a conditional finishes the construct each of its branches
--- begins, and stays after the conditional rather than going into each
--- branch.
-module Session.Store where
-
-import Control.Arrow ((>>>))
-import Control.Monad (forM_)
-
--- Left-hand sides.
-lookupKey :: Maybe (Int, Int) -> Int -> Int
-#if MIN_VERSION_base(4,16,0)
-lookupKey (Just (k, _)) d =
-#else
-lookupKey (Just (k, _)) _d =
-#endif
-  k + 1
-lookupKey Nothing d = d
-
--- Alternatives of a case.
-expiry :: Maybe (Int, Int) -> Int
-expiry m = case m of
-#if MIN_VERSION_base(4,16,0)
-  Just (_, t) ->
-#else
-  Just (t, _) ->
-#endif
-    t * 60
-  Nothing -> 0
-
--- Signatures.
-#if MIN_VERSION_base(4,16,0)
-store ::
-  (Show k, Ord k) =>
-#else
-store ::
-  (Show k) =>
-#endif
-  k -> String
-store = show
-
--- Applications.
-#if MIN_VERSION_base(4,16,0)
-render k =
-  pad
-    4
-#else
-render k =
-  pad
-    4
-    ' '
-#endif
-    (show k)
-
--- Blocks.
-dump :: [Int] -> IO ()
-dump ks = do
-#if MIN_VERSION_base(4,16,0)
-  forM_ ks $ \k -> do
-#else
-  forM_ (reverse ks) $ \k -> do
-#endif
-    print k
-    print (k * 2)
-
--- The alternatives of a lambda case.
-classify :: Int -> Int
-#if MIN_VERSION_base(4,16,0)
-classify =
-  negate >>> abs >>> \case
-#else
-classify =
-  abs >>> \case
-#endif
-    0 -> 1
-    n -> n
-
--- The qualifiers of a list comprehension.
-names :: [(Int, String)] -> [String]
-#if MIN_VERSION_base(4,16,0)
-names xs =
-  [ show n ++ s
-#else
-names xs =
-  [ s
-#endif
-  | (n, s) <- xs
-  ]
diff --git a/corpora/vendored/other/cpp/code-finishing-what-each-branch-begins.hs b/corpora/vendored/other/cpp/code-finishing-what-each-branch-begins.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/code-finishing-what-each-branch-begins.hs
+++ /dev/null
@@ -1,79 +0,0 @@
-{-# LANGUAGE CPP #-}
-{-# LANGUAGE LambdaCase #-}
-
--- What follows a conditional finishes the construct each of its branches
--- begins, and stays after the conditional rather than going into each
--- branch.
-module Session.Store where
-
-import Control.Arrow ((>>>))
-import Control.Monad (forM_)
-
--- Left-hand sides.
-lookupKey :: Maybe (Int, Int) -> Int -> Int
-#if MIN_VERSION_base(4,16,0)
-lookupKey (Just (k, _)) d =
-#else
-lookupKey (Just (k, _)) _d =
-#endif
-  k + 1
-lookupKey Nothing d = d
-
--- Alternatives of a case.
-expiry :: Maybe (Int, Int) -> Int
-expiry m = case m of
-#if MIN_VERSION_base(4,16,0)
-  Just (_, t) ->
-#else
-  Just (t, _) ->
-#endif
-    t * 60
-  Nothing -> 0
-
--- Signatures.
-#if MIN_VERSION_base(4,16,0)
-store :: (Show k, Ord k)
-#else
-store :: Show k
-#endif
-  => k -> String
-store = show
-
--- Applications.
-#if MIN_VERSION_base(4,16,0)
-render k = pad 4
-#else
-render k = pad 4 ' '
-#endif
-             (show k)
-
--- Blocks.
-dump :: [Int] -> IO ()
-dump ks = do
-#if MIN_VERSION_base(4,16,0)
-  forM_ ks $ \k -> do
-#else
-  forM_ (reverse ks) $ \k -> do
-#endif
-    print k
-    print (k * 2)
-
--- The alternatives of a lambda case.
-classify :: Int -> Int
-#if MIN_VERSION_base(4,16,0)
-classify = negate >>> abs >>> \ case
-#else
-classify = abs >>> \ case
-#endif
-  0 -> 1
-  n -> n
-
--- The qualifiers of a list comprehension.
-names :: [(Int, String)] -> [String]
-#if MIN_VERSION_base(4,16,0)
-names xs = [ show n ++ s
-#else
-names xs = [ s
-#endif
-           | (n, s) <- xs
-           ]
diff --git a/corpora/vendored/other/cpp/comma-after-a-conditional-inside-an-item-out.hs b/corpora/vendored/other/cpp/comma-after-a-conditional-inside-an-item-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/comma-after-a-conditional-inside-an-item-out.hs
+++ /dev/null
@@ -1,14 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Options where
-
-data Options = Options
-  { optionsLevel ::
-      Maybe
-#if MIN_VERSION_base(4,18,0)
-        Natural,
-#else
-        Int,
-#endif
-    optionsName :: Text
-  }
diff --git a/corpora/vendored/other/cpp/comma-after-a-conditional-inside-an-item.hs b/corpora/vendored/other/cpp/comma-after-a-conditional-inside-an-item.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/comma-after-a-conditional-inside-an-item.hs
+++ /dev/null
@@ -1,13 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Options where
-
-data Options = Options
-  { optionsLevel :: Maybe
-#if MIN_VERSION_base(4,18,0)
-      Natural
-#else
-      Int
-#endif
-  , optionsName :: Text
-  }
diff --git a/corpora/vendored/other/cpp/comma-after-a-varying-item-out.hs b/corpora/vendored/other/cpp/comma-after-a-varying-item-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/comma-after-a-varying-item-out.hs
+++ /dev/null
@@ -1,16 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Records.Info where
-
-data RecordInfo = RecordInfo
-  { name :: Name,
-    constraints :: Cxt,
-#if MIN_VERSION_template_haskell(2,21,0)
-    typeVarBinders :: [TyVarBndr BndrVis],
-#elif MIN_VERSION_template_haskell(2,17,0)
-    typeVarBinders :: [TyVarBndr ()],
-#else
-    typeVarBinders :: [TyVarBndr],
-#endif
-    kind :: Maybe Kind
-  }
diff --git a/corpora/vendored/other/cpp/comma-after-a-varying-item.hs b/corpora/vendored/other/cpp/comma-after-a-varying-item.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/comma-after-a-varying-item.hs
+++ /dev/null
@@ -1,16 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Records.Info where
-
-data RecordInfo = RecordInfo
-  { name :: Name
-  , constraints :: Cxt
-#if MIN_VERSION_template_haskell(2,21,0)
-  , typeVarBinders :: [TyVarBndr BndrVis]
-#elif MIN_VERSION_template_haskell(2,17,0)
-  , typeVarBinders :: [TyVarBndr ()]
-#else
-  , typeVarBinders :: [TyVarBndr]
-#endif
-  , kind :: Maybe Kind
-  }
diff --git a/corpora/vendored/other/cpp/comma-after-nested-conditionals-out.hs b/corpora/vendored/other/cpp/comma-after-nested-conditionals-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/comma-after-nested-conditionals-out.hs
+++ /dev/null
@@ -1,18 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Flags where
-
-flags :: [Flag]
-flags =
-  [ verbose,
-#ifdef WINDOWS
-#if WORD_SIZE_IN_BITS == 64
-    wide,
-#else
-    narrow,
-#endif
-#else
-    posix,
-#endif
-    quiet
-  ]
diff --git a/corpora/vendored/other/cpp/comma-after-nested-conditionals.hs b/corpora/vendored/other/cpp/comma-after-nested-conditionals.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/comma-after-nested-conditionals.hs
+++ /dev/null
@@ -1,18 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Flags where
-
-flags :: [Flag]
-flags =
-  [ verbose
-#ifdef WINDOWS
-#if WORD_SIZE_IN_BITS == 64
-  , wide
-#else
-  , narrow
-#endif
-#else
-  , posix
-#endif
-  , quiet
-  ]
diff --git a/corpora/vendored/other/cpp/comma-after-several-varying-items-out.hs b/corpora/vendored/other/cpp/comma-after-several-varying-items-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/comma-after-several-varying-items-out.hs
+++ /dev/null
@@ -1,18 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Test.State where
-
-state :: State
-state =
-  MkState
-    { terminal = undefined,
-      coverageConfidence = undefined,
-#if MIN_VERSION_QuickCheck(2,15,0)
-      maxTestSize = 0,
-      replayStartSize = undefined,
-#else
-      computeSize = undefined,
-#endif
-      numTotMaxShrinks = 0,
-      expected = True
-    }
diff --git a/corpora/vendored/other/cpp/comma-after-several-varying-items.hs b/corpora/vendored/other/cpp/comma-after-several-varying-items.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/comma-after-several-varying-items.hs
+++ /dev/null
@@ -1,17 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Test.State where
-
-state :: State
-state = MkState
-  { terminal = undefined
-  , coverageConfidence = undefined
-#if MIN_VERSION_QuickCheck(2,15,0)
-  , maxTestSize = 0
-  , replayStartSize = undefined
-#else
-  , computeSize = undefined
-#endif
-  , numTotMaxShrinks = 0
-  , expected = True
-  }
diff --git a/corpora/vendored/other/cpp/comma-before-varying-last-items-in-a-row-out.hs b/corpora/vendored/other/cpp/comma-before-varying-last-items-in-a-row-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/comma-before-varying-last-items-in-a-row-out.hs
+++ /dev/null
@@ -1,21 +0,0 @@
-{-# LANGUAGE CPP #-}
-#if __GLASGOW_HASKELL__ >= 708
-{-# LANGUAGE DataKinds #-}
-#endif
-
-module Shapes.Generic where
-
--- Where the module is formatted once per answer to a question, items under
--- that question come last in one answer and are followed by more in the
--- other. The items before them still come out once, as written.
-data Shape = Circle | Square
-  deriving
-    ( Eq,
-      Ord
-#if __GLASGOW_HASKELL__ >= 704
-      , Generic
-#endif
-#if __GLASGOW_HASKELL__ >= 708
-      , Generic1
-#endif
-    )
diff --git a/corpora/vendored/other/cpp/comma-before-varying-last-items-in-a-row.hs b/corpora/vendored/other/cpp/comma-before-varying-last-items-in-a-row.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/comma-before-varying-last-items-in-a-row.hs
+++ /dev/null
@@ -1,19 +0,0 @@
-{-# LANGUAGE CPP #-}
-#if __GLASGOW_HASKELL__ >= 708
-{-# LANGUAGE DataKinds #-}
-#endif
-
-module Shapes.Generic where
-
--- Where the module is formatted once per answer to a question, items under
--- that question come last in one answer and are followed by more in the
--- other. The items before them still come out once, as written.
-data Shape = Circle | Square
-  deriving ( Eq, Ord
-#if __GLASGOW_HASKELL__ >= 704
-           , Generic
-#endif
-#if __GLASGOW_HASKELL__ >= 708
-           , Generic1
-#endif
-           )
diff --git a/corpora/vendored/other/cpp/comma-before-varying-last-items-out.hs b/corpora/vendored/other/cpp/comma-before-varying-last-items-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/comma-before-varying-last-items-out.hs
+++ /dev/null
@@ -1,27 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Shapes.Derived where
-
--- The comma before items that only some configurations have, where nothing
--- follows them, goes on the line of the first of them.
-data Shape = Circle | Square
-  deriving
-    ( Eq,
-      Ord
-#ifdef WITH_SHOW
-      , Show
-#endif
-#ifdef WITH_DATA
-      , Data,
-      Typeable
-#endif
-    )
-
-palette :: [Colour]
-palette =
-  [ red,
-    green
-#ifdef WIDE_GAMUT
-    , teal
-#endif
-  ]
diff --git a/corpora/vendored/other/cpp/comma-before-varying-last-items.hs b/corpora/vendored/other/cpp/comma-before-varying-last-items.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/comma-before-varying-last-items.hs
+++ /dev/null
@@ -1,22 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Shapes.Derived where
-
--- The comma before items that only some configurations have, where nothing
--- follows them, goes on the line of the first of them.
-data Shape = Circle | Square
-  deriving ( Eq, Ord
-#ifdef WITH_SHOW
-           , Show
-#endif
-#ifdef WITH_DATA
-           , Data, Typeable
-#endif
-           )
-
-palette :: [Colour]
-palette = [ red, green
-#ifdef WIDE_GAMUT
-          , teal
-#endif
-          ]
diff --git a/corpora/vendored/other/cpp/comment-above-a-conditional-at-the-end-of-a-branch-out.hs b/corpora/vendored/other/cpp/comment-above-a-conditional-at-the-end-of-a-branch-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/comment-above-a-conditional-at-the-end-of-a-branch-out.hs
+++ /dev/null
@@ -1,19 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Route.Vehicle where
-
-data Vehicle
-  =
-#ifdef WITH_TRAMS
-  Bus
-    { busLine :: Int
-    }
-  | -- buses run on every route
-
-    Tram
-#else
-  Bus
-  { busLine :: Int
-  }
--- buses run on every route
-#endif
diff --git a/corpora/vendored/other/cpp/comment-above-a-conditional-at-the-end-of-a-branch.hs b/corpora/vendored/other/cpp/comment-above-a-conditional-at-the-end-of-a-branch.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/comment-above-a-conditional-at-the-end-of-a-branch.hs
+++ /dev/null
@@ -1,13 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Route.Vehicle where
-
-data Vehicle =
-  Bus {
-    busLine :: Int
-  }
-  -- buses run on every route
-
-#ifdef WITH_TRAMS
-  | Tram
-#endif
diff --git a/corpora/vendored/other/cpp/comment-above-a-conditional-in-a-where-clause-out.hs b/corpora/vendored/other/cpp/comment-above-a-conditional-in-a-where-clause-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/comment-above-a-conditional-in-a-where-clause-out.hs
+++ /dev/null
@@ -1,20 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Format (formatOf) where
-
-import System.FilePath (takeExtension)
-import Terminal.Format.Types
-
-formatOf :: FilePath -> Format
-formatOf path = go (takeExtension path)
-  where
-    go ".txt" = Plain
-    go ".ansi" = Escaped
-#if MIN_VERSION_zlib(0,6,0)
-    go ".z" = Deflated
-#endif
--- Only a new enough encoder knows the compressed form.
-#if MIN_VERSION_zlib(0,7,0)
-    go ".gz" = Compressed
-#endif
-    go _ = Binary -- anything else is passed through
diff --git a/corpora/vendored/other/cpp/comment-above-a-conditional-in-a-where-clause.hs b/corpora/vendored/other/cpp/comment-above-a-conditional-in-a-where-clause.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/comment-above-a-conditional-in-a-where-clause.hs
+++ /dev/null
@@ -1,20 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Format (formatOf) where
-
-import System.FilePath (takeExtension)
-import Terminal.Format.Types
-
-formatOf :: FilePath -> Format
-formatOf path = go (takeExtension path)
-  where
-    go ".txt"   = Plain
-    go ".ansi"  = Escaped
-#if MIN_VERSION_zlib(0,6,0)
-    go ".z"     = Deflated
-#endif
-    -- Only a new enough encoder knows the compressed form.
-#if MIN_VERSION_zlib(0,7,0)
-    go ".gz"    = Compressed
-#endif
-    go _        = Binary  -- anything else is passed through
diff --git a/corpora/vendored/other/cpp/comment-above-a-conditional-out.hs b/corpora/vendored/other/cpp/comment-above-a-conditional-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/comment-above-a-conditional-out.hs
+++ /dev/null
@@ -1,25 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Colour
-  ( -- * Colours
-    Colour (..),
-
--- A terminal without true colour knows only the sixteen named ones.
-#ifdef TRUE_COLOUR
-    rgb,
-#else
-    named,
-
--- The bright ones are an extension of their own.
-#ifdef BRIGHT
-    -- ** Bright
-    bright,
-#endif
-#endif
-
-    -- * Rendering
-    render,
-  )
-where
-
-import Terminal.Colour.Internal
diff --git a/corpora/vendored/other/cpp/comment-above-a-conditional.hs b/corpora/vendored/other/cpp/comment-above-a-conditional.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/comment-above-a-conditional.hs
+++ /dev/null
@@ -1,26 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Colour
-  ( -- * Colours
-    Colour (..),
-
-    -- A terminal without true colour knows only the sixteen named ones.
-#ifdef TRUE_COLOUR
-    rgb,
-#else
-    named,
-
-    -- The bright ones are an extension of their own.
-#ifdef BRIGHT
-    -- ** Bright
-    bright,
-#endif
-
-#endif
-
-    -- * Rendering
-    render,
-  )
-where
-
-import Terminal.Colour.Internal
diff --git a/corpora/vendored/other/cpp/comment-above-a-directive-at-a-distance-out.hs b/corpora/vendored/other/cpp/comment-above-a-directive-at-a-distance-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/comment-above-a-directive-at-a-distance-out.hs
+++ /dev/null
@@ -1,13 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Main (main) where
-
-main :: IO ()
-main = do
-  putStrLn "start"
-  -- Sockets are not available on Windows.
-
-#if !defined(mingw32_HOST_OS)
-  putStrLn "sockets"
-#endif
-  putStrLn "stop"
diff --git a/corpora/vendored/other/cpp/comment-above-a-directive-at-a-distance.hs b/corpora/vendored/other/cpp/comment-above-a-directive-at-a-distance.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/comment-above-a-directive-at-a-distance.hs
+++ /dev/null
@@ -1,13 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Main (main) where
-
-main :: IO ()
-main = do
-  putStrLn "start"
-  -- Sockets are not available on Windows.
-
-#if !defined(mingw32_HOST_OS)
-  putStrLn "sockets"
-#endif
-  putStrLn "stop"
diff --git a/corpora/vendored/other/cpp/comment-above-a-heading-in-one-branch-of-many-out.hs b/corpora/vendored/other/cpp/comment-above-a-heading-in-one-branch-of-many-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/comment-above-a-heading-in-one-branch-of-many-out.hs
+++ /dev/null
@@ -1,20 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module M where
-
-#if MIN_VERSION_thing(9,0,0)
-#endif
-#ifdef OTHER
-#else /* OTHER */
--- a remark
-#if MIN_VERSION_thing(9,0,0)
--- * a heading
-#endif
-#endif /* OTHER */
-#if FLAG
-f2 = 2
-
--- | documentation
-#else
-f1 = 1
-#endif
diff --git a/corpora/vendored/other/cpp/comment-above-a-heading-in-one-branch-of-many.hs b/corpora/vendored/other/cpp/comment-above-a-heading-in-one-branch-of-many.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/comment-above-a-heading-in-one-branch-of-many.hs
+++ /dev/null
@@ -1,19 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module M where
-
-#if MIN_VERSION_thing(9,0,0)
-#endif
-#ifdef OTHER
-#else /* OTHER */
--- a remark
-#if MIN_VERSION_thing(9,0,0)
--- * a heading
-#endif
-#endif /* OTHER */
-#if FLAG
-f2 = 2
--- | documentation
-#else
-f1 = 1
-#endif
diff --git a/corpora/vendored/other/cpp/comment-above-a-heading-in-one-branch-out.hs b/corpora/vendored/other/cpp/comment-above-a-heading-in-one-branch-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/comment-above-a-heading-in-one-branch-out.hs
+++ /dev/null
@@ -1,18 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module M where
-
-#if MIN_VERSION_thing(9,0,0)
--- * a heading
-
-f8 = 8
-#else
--- * a heading
-#endif
-#if MIN_VERSION_thing(1,0,0)
-#else
--- a remark
-#if MIN_VERSION_thing(9,0,0)
--- * a heading
-#endif
-#endif
diff --git a/corpora/vendored/other/cpp/comment-above-a-heading-in-one-branch.hs b/corpora/vendored/other/cpp/comment-above-a-heading-in-one-branch.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/comment-above-a-heading-in-one-branch.hs
+++ /dev/null
@@ -1,17 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module M where
-
-#if MIN_VERSION_thing(9,0,0)
--- * a heading
-f8 = 8
-#else
--- * a heading
-#endif
-#if MIN_VERSION_thing(1,0,0)
-#else
--- a remark
-#if MIN_VERSION_thing(9,0,0)
--- * a heading
-#endif
-#endif
diff --git a/corpora/vendored/other/cpp/comment-above-the-haddock-of-a-constructor-behind-a-conditional-out.hs b/corpora/vendored/other/cpp/comment-above-the-haddock-of-a-constructor-behind-a-conditional-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/comment-above-the-haddock-of-a-constructor-behind-a-conditional-out.hs
+++ /dev/null
@@ -1,20 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Route.Vehicle where
-
-data Vehicle
-  =
-#ifdef WITH_TRAMS
-  Bus
-    { busLine :: Int
-    }
-  | -- buses run on every route
-
-    -- | Only where there are rails.
-    Tram
-#else
-  Bus
-  { busLine :: Int
-  }
--- buses run on every route
-#endif
diff --git a/corpora/vendored/other/cpp/comment-above-the-haddock-of-a-constructor-behind-a-conditional.hs b/corpora/vendored/other/cpp/comment-above-the-haddock-of-a-constructor-behind-a-conditional.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/comment-above-the-haddock-of-a-constructor-behind-a-conditional.hs
+++ /dev/null
@@ -1,13 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Route.Vehicle where
-
-data Vehicle =
-  Bus {
-    busLine :: Int
-  }
-  -- buses run on every route
-#ifdef WITH_TRAMS
-  | Tram
-  -- ^ Only where there are rails.
-#endif
diff --git a/corpora/vendored/other/cpp/comment-above-the-in-keyword-before-a-directive-out.hs b/corpora/vendored/other/cpp/comment-above-the-in-keyword-before-a-directive-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/comment-above-the-in-keyword-before-a-directive-out.hs
+++ /dev/null
@@ -1,14 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Route.Night where
-
-surcharge :: Int -> Int
-surcharge fare =
-  let base = fare + 1
-      -- night buses cost more where they run
-   in
-#ifdef NIGHT_SERVICE
-      base * 2
-#else
-      base
-#endif
diff --git a/corpora/vendored/other/cpp/comment-above-the-in-keyword-before-a-directive.hs b/corpora/vendored/other/cpp/comment-above-the-in-keyword-before-a-directive.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/comment-above-the-in-keyword-before-a-directive.hs
+++ /dev/null
@@ -1,14 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Route.Night where
-
-surcharge :: Int -> Int
-surcharge fare =
-  let base = fare + 1
-  -- night buses cost more where they run
-  in
-#ifdef NIGHT_SERVICE
-     base * 2
-#else
-     base
-#endif
diff --git a/corpora/vendored/other/cpp/comment-at-the-end-of-a-branch-out.hs b/corpora/vendored/other/cpp/comment-at-the-end-of-a-branch-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/comment-at-the-end-of-a-branch-out.hs
+++ /dev/null
@@ -1,14 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Timing where
-
-timeout :: Int
-#ifdef SLOW_LINK
-timeout = 30000
--- A serial line needs a great deal longer than a pipe does.
-#else
-timeout = 250
-#endif
-
-retries :: Int
-retries = 3
diff --git a/corpora/vendored/other/cpp/comment-at-the-end-of-a-branch.hs b/corpora/vendored/other/cpp/comment-at-the-end-of-a-branch.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/comment-at-the-end-of-a-branch.hs
+++ /dev/null
@@ -1,14 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Timing where
-
-timeout :: Int
-#ifdef SLOW_LINK
-timeout  =  30000
--- A serial line needs a great deal longer than a pipe does.
-#else
-timeout  =  250
-#endif
-
-retries :: Int
-retries  =  3
diff --git a/corpora/vendored/other/cpp/comment-before-a-constructor-behind-a-conditional-out.hs b/corpora/vendored/other/cpp/comment-before-a-constructor-behind-a-conditional-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/comment-before-a-constructor-behind-a-conditional-out.hs
+++ /dev/null
@@ -1,18 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Route.Vehicle where
-
-data Vehicle
-  =
-#ifdef WITH_TRAMS
-  Bus
-    { busLine :: Int
-    }
-  | -- buses run on every route
-    Tram
-#else
-  Bus
-  { busLine :: Int
-  }
--- buses run on every route
-#endif
diff --git a/corpora/vendored/other/cpp/comment-before-a-constructor-behind-a-conditional.hs b/corpora/vendored/other/cpp/comment-before-a-constructor-behind-a-conditional.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/comment-before-a-constructor-behind-a-conditional.hs
+++ /dev/null
@@ -1,12 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Route.Vehicle where
-
-data Vehicle =
-  Bus {
-    busLine :: Int
-  }
-  -- buses run on every route
-#ifdef WITH_TRAMS
-  | Tram
-#endif
diff --git a/corpora/vendored/other/cpp/comments-around-code-shared-after-a-conditional-out.hs b/corpora/vendored/other/cpp/comments-around-code-shared-after-a-conditional-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/comments-around-code-shared-after-a-conditional-out.hs
+++ /dev/null
@@ -1,25 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Config.Load where
-
-#if MIN_VERSION_base(4,16,0)
-load (Just path) verbose = -- with a path
-#else
-load path verbose = -- without one
-#endif
-  -- before the body
-  readConfig path verbose -- after the body
--- after the declaration
-
-retry r =
-#if MIN_VERSION_base(4,16,0)
-  backoff
-    r -- end of the first branch
-#else
-  backoff
-    r
-    2
-#endif
-    -- before the argument
-    (limit r) -- trailing
-    -- under the argument
diff --git a/corpora/vendored/other/cpp/comments-around-code-shared-after-a-conditional.hs b/corpora/vendored/other/cpp/comments-around-code-shared-after-a-conditional.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/comments-around-code-shared-after-a-conditional.hs
+++ /dev/null
@@ -1,22 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Config.Load where
-
-#if MIN_VERSION_base(4,16,0)
-load (Just path) verbose = -- with a path
-#else
-load path verbose = -- without one
-#endif
-  -- before the body
-  readConfig path verbose -- after the body
--- after the declaration
-
-retry r =
-#if MIN_VERSION_base(4,16,0)
-  backoff r -- end of the first branch
-#else
-  backoff r 2
-#endif
-    -- before the argument
-    (limit r) -- trailing
-    -- under the argument
diff --git a/corpora/vendored/other/cpp/comments-either-side-of-a-conditional-out.hs b/corpora/vendored/other/cpp/comments-either-side-of-a-conditional-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/comments-either-side-of-a-conditional-out.hs
+++ /dev/null
@@ -1,15 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module M where
-
--- above
-before = 1 -- trailing
-
-#ifdef FOO
-mid = 2
-#else
-mid = 3
-#endif
-
--- below
-after = 4
diff --git a/corpora/vendored/other/cpp/comments-either-side-of-a-conditional.hs b/corpora/vendored/other/cpp/comments-either-side-of-a-conditional.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/comments-either-side-of-a-conditional.hs
+++ /dev/null
@@ -1,15 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module M where
-
--- above
-before = 1 -- trailing
-
-#ifdef FOO
-mid = 2
-#else
-mid = 3
-#endif
-
--- below
-after = 4
diff --git a/corpora/vendored/other/cpp/comments-in-branches-out.hs b/corpora/vendored/other/cpp/comments-in-branches-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/comments-in-branches-out.hs
+++ /dev/null
@@ -1,16 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Timing where
-
--- | How long to wait for a response.
-timeout :: Int
-#ifdef SLOW_LINK
--- A serial line needs a great deal longer than a pipe does.
-timeout = 30000 -- milliseconds
-#else
-timeout = 250
-#endif
-
--- | Retries before giving up.
-retries :: Int
-retries = 3
diff --git a/corpora/vendored/other/cpp/comments-in-branches.hs b/corpora/vendored/other/cpp/comments-in-branches.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/comments-in-branches.hs
+++ /dev/null
@@ -1,16 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Timing where
-
--- | How long to wait for a response.
-timeout :: Int
-#ifdef SLOW_LINK
--- A serial line needs a great deal longer than a pipe does.
-timeout  =  30000 -- milliseconds
-#else
-timeout  =  250
-#endif
-
--- | Retries before giving up.
-retries :: Int
-retries  =  3
diff --git a/corpora/vendored/other/cpp/compiler-version-settled-by-another-out.hs b/corpora/vendored/other/cpp/compiler-version-settled-by-another-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/compiler-version-settled-by-another-out.hs
+++ /dev/null
@@ -1,21 +0,0 @@
-{-# LANGUAGE CPP #-}
-#if __GLASGOW_HASKELL__ >= 800
-{-# LANGUAGE MagicHash #-}
-#endif
-
-module Unboxed where
-
-import GHC.Exts
-
-#if __GLASGOW_HASKELL__ >= 802
-unbox :: Int -> Int#
-unbox (I# n) = n
-#endif
-
-#if __GLASGOW_HASKELL__ > 900
-twice :: Int# -> Int#
-twice n = n *# 2#
-#else
-twice :: Int -> Int
-twice n = n * 2
-#endif
diff --git a/corpora/vendored/other/cpp/compiler-version-settled-by-another.hs b/corpora/vendored/other/cpp/compiler-version-settled-by-another.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/compiler-version-settled-by-another.hs
+++ /dev/null
@@ -1,20 +0,0 @@
-{-# LANGUAGE CPP #-}
-#if __GLASGOW_HASKELL__ >= 800
-{-# LANGUAGE MagicHash #-}
-#endif
-module Unboxed where
-
-import GHC.Exts
-
-#if __GLASGOW_HASKELL__ >= 802
-unbox :: Int -> Int#
-unbox (I# n) = n
-#endif
-
-#if __GLASGOW_HASKELL__ > 900
-twice :: Int# -> Int#
-twice n = n *# 2#
-#else
-twice :: Int -> Int
-twice n = n*2
-#endif
diff --git a/corpora/vendored/other/cpp/conditional-extending-an-operand-out.hs b/corpora/vendored/other/cpp/conditional-extending-an-operand-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/conditional-extending-an-operand-out.hs
+++ /dev/null
@@ -1,14 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Main (main) where
-
-import qualified Properties
-import Test.QuickCheck (quickCheck)
-
-main :: IO ()
-main =
-  mapM_ quickCheck $
-    Properties.basic
-#if __GLASGOW_HASKELL__ >= 800
-      ++ Properties.nonEmpty
-#endif
diff --git a/corpora/vendored/other/cpp/conditional-extending-an-operand.hs b/corpora/vendored/other/cpp/conditional-extending-an-operand.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/conditional-extending-an-operand.hs
+++ /dev/null
@@ -1,14 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Main (main) where
-
-import qualified Properties
-import Test.QuickCheck (quickCheck)
-
-main :: IO ()
-main =
-  mapM_ quickCheck $
-    Properties.basic
-#if __GLASGOW_HASKELL__ >= 800
-      ++ Properties.nonEmpty
-#endif
diff --git a/corpora/vendored/other/cpp/conditional-from-a-where-clause-indented-with-a-tab-out.hs b/corpora/vendored/other/cpp/conditional-from-a-where-clause-indented-with-a-tab-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/conditional-from-a-where-clause-indented-with-a-tab-out.hs
+++ /dev/null
@@ -1,21 +0,0 @@
-{-# LANGUAGE CPP #-}
-
--- A conditional that begins among bindings indented with a tab and goes on
--- into the declarations after it stays one conditional, as it does where
--- they are indented with spaces.
-module T where
-
-f :: Int -> Int
-f x = y
-  where
-    y = x + 1
-#if defined(EXTRA)
-    z = 2
-
-g :: Int
-g = 1
-#else
-
-g :: Int
-g = 2
-#endif
diff --git a/corpora/vendored/other/cpp/conditional-from-a-where-clause-indented-with-a-tab.hs b/corpora/vendored/other/cpp/conditional-from-a-where-clause-indented-with-a-tab.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/conditional-from-a-where-clause-indented-with-a-tab.hs
+++ /dev/null
@@ -1,21 +0,0 @@
-{-# LANGUAGE CPP #-}
-
--- A conditional that begins among bindings indented with a tab and goes on
--- into the declarations after it stays one conditional, as it does where
--- they are indented with spaces.
-module T where
-
-f :: Int -> Int
-f x = y
-  where
-	y = x + 1
-#if defined(EXTRA)
-	z = 2
-
-g :: Int
-g = 1
-#else
-
-g :: Int
-g = 2
-#endif
diff --git a/corpora/vendored/other/cpp/conditional-from-a-where-clause-into-declarations-out.hs b/corpora/vendored/other/cpp/conditional-from-a-where-clause-into-declarations-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/conditional-from-a-where-clause-into-declarations-out.hs
+++ /dev/null
@@ -1,50 +0,0 @@
-{-# LANGUAGE CPP #-}
-
--- A conditional that begins in a where clause and goes on into the
--- declarations after it stays one conditional.
-module Data.Witness where
-
-withWitness :: Witness a -> ((Known a) => r) -> r
-withWitness w k = go k
-  where
-    go :: ((Known a) => r) -> r
-#if MIN_VERSION_base(4,17,0)
-    go = withDict @(Known a) w
-#else
-    go r = unsafeCoerce (Wrap r) w
-
--- the dictionary of a class with one method is that method
-#if __GLASGOW_HASKELL__ >= 810
-type Wrap :: Type -> Type -> Type
-#endif
-newtype Wrap a r = Wrap ((Known a) => r)
-#endif
-
--- Without an #else.
-render :: Witness a -> String
-render w = label w
-  where
-    label _ = "witness"
-#if WITNESS_DEBUG
-    debug = show . Debugged
-
-#if __GLASGOW_HASKELL__ >= 810
-type Debugged :: Type -> Type
-#endif
-newtype Debugged a = Debugged (Witness a)
-  deriving (Show)
-#endif
-
--- Bindings lined up after a let leave the conditional in two.
-trace :: Witness a -> IO ()
-trace w = do
-  let name = "witness"
-#if WITNESS_DEBUG
-      shown = show (Debugged w)
-#endif
-#if WITNESS_DEBUG
-#if __GLASGOW_HASKELL__ >= 810
-  putStrLn shown
-#endif
-#endif
-  putStrLn name
diff --git a/corpora/vendored/other/cpp/conditional-from-a-where-clause-into-declarations.hs b/corpora/vendored/other/cpp/conditional-from-a-where-clause-into-declarations.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/conditional-from-a-where-clause-into-declarations.hs
+++ /dev/null
@@ -1,49 +0,0 @@
-{-# LANGUAGE CPP #-}
-
--- A conditional that begins in a where clause and goes on into the
--- declarations after it stays one conditional.
-module Data.Witness where
-
-withWitness :: Witness a -> ((Known a) => r) -> r
-withWitness w k = go k
-  where
-    go :: ((Known a) => r) -> r
-#if MIN_VERSION_base(4,17,0)
-    go = withDict @(Known a) w
-#else
-    go r = unsafeCoerce (Wrap r) w
-
--- the dictionary of a class with one method is that method
-#if __GLASGOW_HASKELL__ >= 810
-type Wrap :: Type -> Type -> Type
-#endif
-newtype Wrap a r = Wrap ((Known a) => r)
-#endif
-
--- Without an #else.
-render :: Witness a -> String
-render w = label w
-  where
-    label _ = "witness"
-#if WITNESS_DEBUG
-    debug = show . Debugged
-
-#if __GLASGOW_HASKELL__ >= 810
-type Debugged :: Type -> Type
-#endif
-newtype Debugged a = Debugged (Witness a)
-  deriving (Show)
-#endif
-
--- Bindings lined up after a let leave the conditional in two.
-trace :: Witness a -> IO ()
-trace w = do
-  let
-    name = "witness"
-#if WITNESS_DEBUG
-    shown = show (Debugged w)
-#if __GLASGOW_HASKELL__ >= 810
-  putStrLn shown
-#endif
-#endif
-  putStrLn name
diff --git a/corpora/vendored/other/cpp/conditional-going-on-past-a-declaration-out.hs b/corpora/vendored/other/cpp/conditional-going-on-past-a-declaration-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/conditional-going-on-past-a-declaration-out.hs
+++ /dev/null
@@ -1,22 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Socket.Spec where
-
--- | Everything the server answers.
-spec :: Spec
-spec = do
-  describe "routes" $ do
-    it "serves GET" $ get "/" `shouldRespondWith` 200
-    it "serves POST" $ post "/" "" `shouldRespondWith` 200 -- and nothing else
-#if !defined(mingw32_HOST_OS)
-  -- No unix sockets on Windows.
-  describe "sockets"
-    $ it "works with a unix socket"
-    $ withServer socketPath
-  where
-    socketPath = "/tmp/test.socket"
-
--- | Run the server on a socket for as long as the inner action runs.
-withServer :: FilePath -> IO a -> IO a
-withServer path inner = bracket (listenOn path) close (const inner)
-#endif
diff --git a/corpora/vendored/other/cpp/conditional-going-on-past-a-declaration.hs b/corpora/vendored/other/cpp/conditional-going-on-past-a-declaration.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/conditional-going-on-past-a-declaration.hs
+++ /dev/null
@@ -1,21 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Socket.Spec where
-
--- | Everything the server answers.
-spec :: Spec
-spec = do
-  describe "routes" $ do
-    it "serves GET" $ get "/" `shouldRespondWith` 200
-    it "serves POST" $ post "/" "" `shouldRespondWith` 200 -- and nothing else
-#if !defined(mingw32_HOST_OS)
-  -- No unix sockets on Windows.
-  describe "sockets" $
-    it "works with a unix socket" $
-      withServer socketPath
-  where socketPath = "/tmp/test.socket"
-
--- | Run the server on a socket for as long as the inner action runs.
-withServer :: FilePath -> IO a -> IO a
-withServer path inner = bracket (listenOn path) close (const inner)
-#endif
diff --git a/corpora/vendored/other/cpp/conditional-imports-out.hs b/corpora/vendored/other/cpp/conditional-imports-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/conditional-imports-out.hs
+++ /dev/null
@@ -1,12 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Encode (encode) where
-
-import Data.List (intercalate)
-#if MIN_VERSION_base(4,20,0)
-import Data.Foldable (foldl')
-#endif
-import Data.Char (ord)
-
-encode :: String -> String
-encode = intercalate ";" . map (show . ord)
diff --git a/corpora/vendored/other/cpp/conditional-imports.hs b/corpora/vendored/other/cpp/conditional-imports.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/conditional-imports.hs
+++ /dev/null
@@ -1,12 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Encode (encode) where
-
-import Data.List (intercalate)
-#if MIN_VERSION_base(4,20,0)
-import Data.Foldable (foldl')
-#endif
-import Data.Char (ord)
-
-encode :: String -> String
-encode  =  intercalate ";" . map (show . ord)
diff --git a/corpora/vendored/other/cpp/conditional-with-no-empty-lines-around-it-out.hs b/corpora/vendored/other/cpp/conditional-with-no-empty-lines-around-it-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/conditional-with-no-empty-lines-around-it-out.hs
+++ /dev/null
@@ -1,13 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module M where
-
-before = 1
-
-#ifdef FOO
-mid = 2
-#else
-mid = 3
-#endif
-
-after = 4
diff --git a/corpora/vendored/other/cpp/conditional-with-no-empty-lines-around-it.hs b/corpora/vendored/other/cpp/conditional-with-no-empty-lines-around-it.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/conditional-with-no-empty-lines-around-it.hs
+++ /dev/null
@@ -1,10 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module M where
-before = 1
-#ifdef FOO
-mid = 2
-#else
-mid = 3
-#endif
-after = 4
diff --git a/corpora/vendored/other/cpp/context-headed-by-a-macro-out.hs b/corpora/vendored/other/cpp/context-headed-by-a-macro-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/context-headed-by-a-macro-out.hs
+++ /dev/null
@@ -1,29 +0,0 @@
-{-# LANGUAGE CPP #-}
-
--- A macro may stand for a whole constraint and its arrow, or for a pragma,
--- so a context headed by one gets no parentheses that would close it in.
-module M where
-
-import GHC.Stack (HasCallStack)
-
-#define CALLSTACK HasCallStack =>
-#define OVERLAPS {-# OVERLAPPING #-}
-
-assertEqual :: CALLSTACK (Eq a, Show a) => a -> a -> IO ()
-assertEqual expected actual = print (expected == actual)
-
-firstOf ::
-  CALLSTACK
-    Foldable
-    t =>
-  t a -> a
-firstOf = foldr const (error "empty")
-
-same :: (Eq a) => a -> a -> Bool
-same = (==)
-
-class Pretty a where
-  pretty :: a -> String
-
-instance OVERLAPS (Pretty a, Pretty b) => Pretty (a, b) where
-  pretty (a, b) = pretty a <> pretty b
diff --git a/corpora/vendored/other/cpp/context-headed-by-a-macro.hs b/corpora/vendored/other/cpp/context-headed-by-a-macro.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/context-headed-by-a-macro.hs
+++ /dev/null
@@ -1,26 +0,0 @@
-{-# LANGUAGE CPP #-}
-
--- A macro may stand for a whole constraint and its arrow, or for a pragma,
--- so a context headed by one gets no parentheses that would close it in.
-module M where
-
-import GHC.Stack (HasCallStack)
-
-#define CALLSTACK HasCallStack =>
-#define OVERLAPS {-# OVERLAPPING #-}
-
-assertEqual :: CALLSTACK (Eq a, Show a) => a -> a -> IO ()
-assertEqual expected actual = print (expected == actual)
-
-firstOf :: CALLSTACK
-           Foldable t => t a -> a
-firstOf = foldr const (error "empty")
-
-same :: Eq a => a -> a -> Bool
-same = (==)
-
-class Pretty a where
-  pretty :: a -> String
-
-instance OVERLAPS (Pretty a, Pretty b) => Pretty (a, b) where
-  pretty (a, b) = pretty a <> pretty b
diff --git a/corpora/vendored/other/cpp/context-in-one-branch-out.hs b/corpora/vendored/other/cpp/context-in-one-branch-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/context-in-one-branch-out.hs
+++ /dev/null
@@ -1,26 +0,0 @@
-{-# LANGUAGE CPP #-}
-{-# LANGUAGE ExplicitForAll #-}
-
--- A context in one branch only, before a type written over several lines.
-module Terminal.Trace where
-
-import GHC.Stack (HasCallStack)
-
-traceMessage ::
-#ifdef WITH_CALLSTACK
-  (HasCallStack) =>
-#endif
-  String ->
-  [(String, Int)] ->
-  IO ()
-traceMessage message _pairs = putStrLn message
-
-traceLevel ::
-  forall a.
-#ifdef WITH_CALLSTACK
-  (HasCallStack) =>
-#endif
-  (Show a) =>
-  a ->
-  IO ()
-traceLevel = print
diff --git a/corpora/vendored/other/cpp/context-in-one-branch.hs b/corpora/vendored/other/cpp/context-in-one-branch.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/context-in-one-branch.hs
+++ /dev/null
@@ -1,26 +0,0 @@
-{-# LANGUAGE CPP #-}
-{-# LANGUAGE ExplicitForAll #-}
-
--- A context in one branch only, before a type written over several lines.
-module Terminal.Trace where
-
-import GHC.Stack (HasCallStack)
-
-traceMessage ::
-#ifdef WITH_CALLSTACK
-  HasCallStack =>
-#endif
-  String ->
-  [(String, Int)] ->
-  IO ()
-traceMessage message _pairs = putStrLn message
-
-traceLevel ::
-  forall a.
-#ifdef WITH_CALLSTACK
-  HasCallStack =>
-#endif
-  Show a =>
-  a ->
-  IO ()
-traceLevel = print
diff --git a/corpora/vendored/other/cpp/data-or-newtype-out.hs b/corpora/vendored/other/cpp/data-or-newtype-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/data-or-newtype-out.hs
+++ /dev/null
@@ -1,19 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Cell where
-
-import Data.IORef (IORef)
-
--- | A cell of the screen.
-#ifdef PROFILING
-data Cell = Cell
-  { cellRef :: {-# UNPACK #-} !(IORef Char),
-    cellCount :: {-# UNPACK #-} !Int
-#else
-newtype Cell = Cell
-  { cellRef :: IORef Char
-#endif
-  }
-
-blank :: Char
-blank = ' '
diff --git a/corpora/vendored/other/cpp/data-or-newtype.hs b/corpora/vendored/other/cpp/data-or-newtype.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/data-or-newtype.hs
+++ /dev/null
@@ -1,18 +0,0 @@
-{-# LANGUAGE CPP #-}
-module Terminal.Cell where
-
-import Data.IORef (IORef)
-
--- | A cell of the screen.
-#ifdef PROFILING
-data Cell = Cell
-  { cellRef :: {-# UNPACK #-} !(IORef Char)
-  , cellCount :: {-# UNPACK #-} !Int
-#else
-newtype Cell = Cell
-  { cellRef :: IORef Char
-#endif
-  }
-
-blank :: Char
-blank  =  ' '
diff --git a/corpora/vendored/other/cpp/define-across-lines-out.hs b/corpora/vendored/other/cpp/define-across-lines-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/define-across-lines-out.hs
+++ /dev/null
@@ -1,10 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Wrapped where
-
-#define WRAP(a,b)   \
-  ("<" ++ a         \
-       ++ b ++ ">")
-
-both :: String
-both = WRAP ("x", "y")
diff --git a/corpora/vendored/other/cpp/define-across-lines.hs b/corpora/vendored/other/cpp/define-across-lines.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/define-across-lines.hs
+++ /dev/null
@@ -1,10 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Wrapped where
-
-#define WRAP(a,b)   \
-  ("<" ++ a         \
-       ++ b ++ ">")
-
-both :: String
-both  =  WRAP("x","y")
diff --git a/corpora/vendored/other/cpp/define-between-conditionals-out.hs b/corpora/vendored/other/cpp/define-between-conditionals-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/define-between-conditionals-out.hs
+++ /dev/null
@@ -1,13 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module M where
-
--- | documentation
-#if FLAG
--- a remark
-f9 = 9
-#endif
-#define WIDE 1
-#if FLAG
--- a remark
-#endif
diff --git a/corpora/vendored/other/cpp/define-between-conditionals.hs b/corpora/vendored/other/cpp/define-between-conditionals.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/define-between-conditionals.hs
+++ /dev/null
@@ -1,13 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module M where
-
--- | documentation
-#if FLAG
--- a remark
-f9 = 9
-#endif
-#define WIDE 1
-#if FLAG
--- a remark
-#endif
diff --git a/corpora/vendored/other/cpp/define-ended-by-a-blank-line-out.hs b/corpora/vendored/other/cpp/define-ended-by-a-blank-line-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/define-ended-by-a-blank-line-out.hs
+++ /dev/null
@@ -1,12 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Derived where
-
-class Described a
-
-#define describe(ty)      \
-instance Described ty where { \
-  }                           \
-
-describe(Int)
-describe(Bool)
diff --git a/corpora/vendored/other/cpp/define-ended-by-a-blank-line.hs b/corpora/vendored/other/cpp/define-ended-by-a-blank-line.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/define-ended-by-a-blank-line.hs
+++ /dev/null
@@ -1,12 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Derived where
-
-class Described a
-
-#define describe(ty)      \
-instance Described ty where { \
-  }                           \
-
-describe(Int)
-describe(Bool)
diff --git a/corpora/vendored/other/cpp/define-in-a-quasiquote.hs b/corpora/vendored/other/cpp/define-in-a-quasiquote.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/define-in-a-quasiquote.hs
+++ /dev/null
@@ -1,12 +0,0 @@
-{-# LANGUAGE CPP #-}
-{-# LANGUAGE QuasiQuotes #-}
-
-module Terminal.Template where
-
-import Terminal.Quoter (template)
-
-banner :: String
-banner =
-  [template|
-#include "banner.txt"
-|]
diff --git a/corpora/vendored/other/cpp/define-out.hs b/corpora/vendored/other/cpp/define-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/define-out.hs
+++ /dev/null
@@ -1,8 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Macro where
-
-#define ESCAPE(n) ("\ESC[" ++ show n ++ "m")
-
-plain :: String
-plain = ESCAPE (0)
diff --git a/corpora/vendored/other/cpp/define.hs b/corpora/vendored/other/cpp/define.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/define.hs
+++ /dev/null
@@ -1,8 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Macro where
-
-#define ESCAPE(n) ("\ESC[" ++ show n ++ "m")
-
-plain :: String
-plain  =  ESCAPE(0)
diff --git a/corpora/vendored/other/cpp/directive-above-a-trailing-comment-out.hs b/corpora/vendored/other/cpp/directive-above-a-trailing-comment-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/directive-above-a-trailing-comment-out.hs
+++ /dev/null
@@ -1,12 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Size where
-
-#ifndef NO_CALLSTACK
-import GHC.Stack
-#define TRACED(ty) HasCallStack => ty
-#endif
-
-newtype Size = Size Int
-
--- A comment with nothing written under it.
diff --git a/corpora/vendored/other/cpp/directive-above-a-trailing-comment.hs b/corpora/vendored/other/cpp/directive-above-a-trailing-comment.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/directive-above-a-trailing-comment.hs
+++ /dev/null
@@ -1,12 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Size where
-
-#ifndef NO_CALLSTACK
-import GHC.Stack
-#define TRACED(ty) HasCallStack => ty
-#endif
-
-newtype Size = Size Int
-
--- A comment with nothing written under it.
diff --git a/corpora/vendored/other/cpp/directive-after-a-conditional-out.hs b/corpora/vendored/other/cpp/directive-after-a-conditional-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/directive-after-a-conditional-out.hs
+++ /dev/null
@@ -1,18 +0,0 @@
-{-# LANGUAGE CPP #-}
-#ifdef TRUSTWORTHY
-{-# LANGUAGE Trustworthy #-}
-#endif
-
-#include "terminal.h"
-
-module Terminal.Size where
-
-#if MIN_VERSION_base(4, 20, 0)
-rows :: Int
-rows = 24
-#endif
-
-#if MIN_VERSION_base(4, 18, 0)
-columns :: Int
-columns = 80
-#endif
diff --git a/corpora/vendored/other/cpp/directive-after-a-conditional.hs b/corpora/vendored/other/cpp/directive-after-a-conditional.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/directive-after-a-conditional.hs
+++ /dev/null
@@ -1,18 +0,0 @@
-{-# LANGUAGE CPP #-}
-#ifdef TRUSTWORTHY
-{-# LANGUAGE Trustworthy #-}
-#endif
-
-#include "terminal.h"
-
-module Terminal.Size where
-
-#if MIN_VERSION_base(4, 20, 0)
-rows :: Int
-rows  =  24
-#endif
-
-#if MIN_VERSION_base(4, 18, 0)
-columns :: Int
-columns  =  80
-#endif
diff --git a/corpora/vendored/other/cpp/directive-after-a-define-ending-in-an-empty-line-out.hs b/corpora/vendored/other/cpp/directive-after-a-define-ending-in-an-empty-line-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/directive-after-a-define-ending-in-an-empty-line-out.hs
+++ /dev/null
@@ -1,11 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Limits where
-
-#define LIMIT \
-  80 \
-
-#include "terminal.h"
-
-width :: Int
-width = LIMIT
diff --git a/corpora/vendored/other/cpp/directive-after-a-define-ending-in-an-empty-line.hs b/corpora/vendored/other/cpp/directive-after-a-define-ending-in-an-empty-line.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/directive-after-a-define-ending-in-an-empty-line.hs
+++ /dev/null
@@ -1,11 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Limits where
-
-#define LIMIT \
-  80 \
-
-#include "terminal.h"
-
-width :: Int
-width  =  LIMIT
diff --git a/corpora/vendored/other/cpp/directive-at-the-end-of-a-branch-out.hs b/corpora/vendored/other/cpp/directive-at-the-end-of-a-branch-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/directive-at-the-end-of-a-branch-out.hs
+++ /dev/null
@@ -1,16 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Palette where
-
-#ifdef TRUE_COLOUR
-colours :: Int
-colours = 16777216
-
-#undef FALLBACK_PALETTE
-#else
-
-#define FALLBACK_PALETTE 1
-#endif
-
-palette :: [Int]
-palette = [0 .. 15]
diff --git a/corpora/vendored/other/cpp/directive-at-the-end-of-a-branch.hs b/corpora/vendored/other/cpp/directive-at-the-end-of-a-branch.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/directive-at-the-end-of-a-branch.hs
+++ /dev/null
@@ -1,16 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Palette where
-
-#ifdef TRUE_COLOUR
-colours :: Int
-colours  =  16777216
-
-#undef FALLBACK_PALETTE
-#else
-
-#define FALLBACK_PALETTE 1
-#endif
-
-palette :: [Int]
-palette  =  [0 .. 15]
diff --git a/corpora/vendored/other/cpp/directive-outside-conditionals-out.hs b/corpora/vendored/other/cpp/directive-outside-conditionals-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/directive-outside-conditionals-out.hs
+++ /dev/null
@@ -1,21 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Size where
-
-#include "terminal.h"
-
-#if defined(HAVE_IOCTL)
-rows :: Int
-rows = 24
-#else
-rows :: Int
-rows = 0
-#endif
-
-#if defined(HAVE_TERMCAP)
-columns :: Int
-columns = 80
-#else
-columns :: Int
-columns = 0
-#endif
diff --git a/corpora/vendored/other/cpp/directive-outside-conditionals.hs b/corpora/vendored/other/cpp/directive-outside-conditionals.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/directive-outside-conditionals.hs
+++ /dev/null
@@ -1,21 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Size where
-
-#include "terminal.h"
-
-#if defined(HAVE_IOCTL)
-rows :: Int
-rows  =  24
-#else
-rows :: Int
-rows  =  0
-#endif
-
-#if defined(HAVE_TERMCAP)
-columns :: Int
-columns  =  80
-#else
-columns :: Int
-columns  =  0
-#endif
diff --git a/corpora/vendored/other/cpp/directive-over-several-lines-out.hs b/corpora/vendored/other/cpp/directive-over-several-lines-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/directive-over-several-lines-out.hs
+++ /dev/null
@@ -1,12 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Build.Make (make) where
-
--- | The make that understands our makefiles.
-make :: String
-#if defined(freebsd_HOST_OS) || defined(dragonfly_HOST_OS) \
-    || defined(openbsd_HOST_OS) || defined(netbsd_HOST_OS)
-make = "gmake"
-#else
-make = "make"
-#endif
diff --git a/corpora/vendored/other/cpp/directive-over-several-lines.hs b/corpora/vendored/other/cpp/directive-over-several-lines.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/directive-over-several-lines.hs
+++ /dev/null
@@ -1,12 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Build.Make (make) where
-
--- | The make that understands our makefiles.
-make :: String
-#if defined(freebsd_HOST_OS) || defined(dragonfly_HOST_OS) \
-    || defined(openbsd_HOST_OS) || defined(netbsd_HOST_OS)
-make = "gmake"
-#else
-make = "make"
-#endif
diff --git a/corpora/vendored/other/cpp/directives-in-a-haddock-out.hs b/corpora/vendored/other/cpp/directives-in-a-haddock-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/directives-in-a-haddock-out.hs
+++ /dev/null
@@ -1,20 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module M where
-
-class Shape a where
-  {- |
-  The area, for example:
-
-#if MIN_VERSION_base(4,10,0)
-  >>> area (Square 2)
-  4.0
-#else
-  >>> area (Square 2.0)
-  4.0
-#endif
-  -}
-  area :: a -> Double
-
-  -- | The perimeter.
-  perimeter :: a -> Double
diff --git a/corpora/vendored/other/cpp/directives-in-a-haddock.hs b/corpora/vendored/other/cpp/directives-in-a-haddock.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/directives-in-a-haddock.hs
+++ /dev/null
@@ -1,20 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module M where
-
-class Shape a where
-  {- |
-The area, for example:
-
-#if MIN_VERSION_base(4,10,0)
->>> area (Square 2)
-4.0
-#else
->>> area (Square 2.0)
-4.0
-#endif
-  -}
-  area :: a -> Double
-
-  -- | The perimeter.
-  perimeter :: a -> Double
diff --git a/corpora/vendored/other/cpp/directives-inside-a-block-comment-out.hs b/corpora/vendored/other/cpp/directives-inside-a-block-comment-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/directives-inside-a-block-comment-out.hs
+++ /dev/null
@@ -1,19 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Win32 where
-
-{-
-typedef struct _KEY_EVENT_RECORD {
-    BOOL bKeyDown;
-    WORD wRepeatCount;
-}
-#ifdef __GNUC__
-/* gcc's alignment is not what win32 expects */
- PACKED
-#endif
-KEY_EVENT_RECORD;
--}
-data KeyEvent = KeyEvent
-  { keyDown :: Bool,
-    keyRepeat :: Int
-  }
diff --git a/corpora/vendored/other/cpp/directives-inside-a-block-comment.hs b/corpora/vendored/other/cpp/directives-inside-a-block-comment.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/directives-inside-a-block-comment.hs
+++ /dev/null
@@ -1,19 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Win32 where
-
-{-
-typedef struct _KEY_EVENT_RECORD {
-    BOOL bKeyDown;
-    WORD wRepeatCount;
-}
-#ifdef __GNUC__
-/* gcc's alignment is not what win32 expects */
- PACKED
-#endif
-KEY_EVENT_RECORD;
--}
-data KeyEvent = KeyEvent
-  { keyDown   :: Bool
-  , keyRepeat :: Int
-  }
diff --git a/corpora/vendored/other/cpp/elif-chain-out.hs b/corpora/vendored/other/cpp/elif-chain-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/elif-chain-out.hs
+++ /dev/null
@@ -1,15 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Newline where
-
-newline :: String
-#if defined(TARGET_WINDOWS)
-newline = "\r\n"
-#elif defined(TARGET_CLASSIC_MAC)
-newline = "\r"
-#else
-newline = "\n"
-#endif
-
-indent :: Int
-indent = 2
diff --git a/corpora/vendored/other/cpp/elif-chain-without-else-out.hs b/corpora/vendored/other/cpp/elif-chain-without-else-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/elif-chain-without-else-out.hs
+++ /dev/null
@@ -1,11 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module M where
-
-#if A
-mid = 1
-#elif B
-mid = 2
-#endif
-
-after = 4
diff --git a/corpora/vendored/other/cpp/elif-chain-without-else.hs b/corpora/vendored/other/cpp/elif-chain-without-else.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/elif-chain-without-else.hs
+++ /dev/null
@@ -1,11 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module M where
-
-#if A
-mid = 1
-#elif B
-mid = 2
-#endif
-
-after = 4
diff --git a/corpora/vendored/other/cpp/elif-chain.hs b/corpora/vendored/other/cpp/elif-chain.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/elif-chain.hs
+++ /dev/null
@@ -1,15 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Newline where
-
-newline :: String
-#if defined(TARGET_WINDOWS)
-newline  =  "\r\n"
-#elif defined(TARGET_CLASSIC_MAC)
-newline  =  "\r"
-#else
-newline  =  "\n"
-#endif
-
-indent :: Int
-indent  =  2
diff --git a/corpora/vendored/other/cpp/empty-conditional-out.hs b/corpora/vendored/other/cpp/empty-conditional-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/empty-conditional-out.hs
+++ /dev/null
@@ -1,12 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Features where
-
-supportsColour :: Bool
-supportsColour = True
-
-#if MIN_VERSION_base(4,20,0)
-#endif
-
-supportsPaste :: Bool
-supportsPaste = True
diff --git a/corpora/vendored/other/cpp/empty-conditional.hs b/corpora/vendored/other/cpp/empty-conditional.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/empty-conditional.hs
+++ /dev/null
@@ -1,13 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Features where
-
-supportsColour :: Bool
-supportsColour  =  True
-
-#if MIN_VERSION_base(4,20,0)
-#else
-#endif
-
-supportsPaste :: Bool
-supportsPaste  =  True
diff --git a/corpora/vendored/other/cpp/empty-line-under-a-directive-at-the-end-of-a-branch-out.hs b/corpora/vendored/other/cpp/empty-line-under-a-directive-at-the-end-of-a-branch-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/empty-line-under-a-directive-at-the-end-of-a-branch-out.hs
+++ /dev/null
@@ -1,9 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Route.Vehicle where
-
-#if defined(WITH_TRAMS)
-trams :: Int
-trams = 1
-#define TRAMS 1
-#endif
diff --git a/corpora/vendored/other/cpp/empty-line-under-a-directive-at-the-end-of-a-branch.hs b/corpora/vendored/other/cpp/empty-line-under-a-directive-at-the-end-of-a-branch.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/empty-line-under-a-directive-at-the-end-of-a-branch.hs
+++ /dev/null
@@ -1,10 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Route.Vehicle where
-
-#if defined(WITH_TRAMS)
-trams :: Int
-trams = 1
-#define TRAMS 1
-
-#endif
diff --git a/corpora/vendored/other/cpp/export-list-varying-after-the-name-out.hs b/corpora/vendored/other/cpp/export-list-varying-after-the-name-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/export-list-varying-after-the-name-out.hs
+++ /dev/null
@@ -1,18 +0,0 @@
-{-# LANGUAGE CPP #-}
-
--- | Things to export, or none.
-module Things
-#ifdef HIDE
-  () where
-#else
-  ( thing,
-    other,
-  )
-where
-
-thing :: Int
-thing = 1
-
-other :: Int
-other = 2
-#endif
diff --git a/corpora/vendored/other/cpp/export-list-varying-after-the-name.hs b/corpora/vendored/other/cpp/export-list-varying-after-the-name.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/export-list-varying-after-the-name.hs
+++ /dev/null
@@ -1,16 +0,0 @@
-{-# LANGUAGE CPP #-}
--- | Things to export, or none.
-module Things
-#ifdef HIDE
-  () where
-#else
-  ( thing
-  , other
-  ) where
-
-thing :: Int
-thing = 1
-
-other :: Int
-other = 2
-#endif
diff --git a/corpora/vendored/other/cpp/guard-head-in-each-branch-out.hs b/corpora/vendored/other/cpp/guard-head-in-each-branch-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/guard-head-in-each-branch-out.hs
+++ /dev/null
@@ -1,33 +0,0 @@
-{-# LANGUAGE CPP #-}
-{-# LANGUAGE MagicHash #-}
-{-# LANGUAGE UnboxedTuples #-}
-
-module FlatParse.Common.Numbers (anyDigit, report) where
-
-anyDigit :: Word# -> Addr# -> Result
-anyDigit acc s = case indexWord8OffAddr# s 0# of
-#if MIN_VERSION_base(4,16,0)
-  w
-    | 1# <- leWord8# (wordToWord8# 0x30##) w,
-      1# <- leWord8# w (wordToWord8# 0x39##) -> case timesWord2# acc 10## of
-#else
-  w
-    | 1# <- leWord# 0x30## w,
-      1# <- leWord# w 0x39## -> case timesWord2# acc 10## of
-#endif
-        (# 0##, r #) -> OK r
-        _ -> Overflow
-  _ -> Fail
-
-report :: Handle -> Status -> IO ()
-report h status
-#ifdef mingw32_HOST_OS
-  | isFailure status = do
-      hPutStrLn h "failed"
-#else
-  | isFailure status,
-    colour = do
-      hPutStrLn h "\ESC[31mfailed\ESC[0m"
-#endif
-      hFlush h
-  | otherwise = pure ()
diff --git a/corpora/vendored/other/cpp/guard-head-in-each-branch.hs b/corpora/vendored/other/cpp/guard-head-in-each-branch.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/guard-head-in-each-branch.hs
+++ /dev/null
@@ -1,34 +0,0 @@
-{-# LANGUAGE CPP #-}
-{-# LANGUAGE MagicHash #-}
-{-# LANGUAGE UnboxedTuples #-}
-
-module FlatParse.Common.Numbers (anyDigit, report) where
-
-anyDigit :: Word# -> Addr# -> Result
-anyDigit acc s = case indexWord8OffAddr# s 0# of
-#if MIN_VERSION_base(4,16,0)
-    w | 1# <- leWord8# (wordToWord8# 0x30##) w
-      , 1# <- leWord8# w (wordToWord8# 0x39##)
-      -> case timesWord2# acc 10## of
-#else
-    w | 1# <- leWord# 0x30## w
-      , 1# <- leWord# w 0x39##
-      -> case timesWord2# acc 10## of
-#endif
-          (# 0##, r #) -> OK r
-          _ -> Overflow
-    _ -> Fail
-
-report :: Handle -> Status -> IO ()
-report h status
-#ifdef mingw32_HOST_OS
-  | isFailure status
-  = do
-      hPutStrLn h "failed"
-#else
-  | isFailure status, colour
-  = do
-      hPutStrLn h "\ESC[31mfailed\ESC[0m"
-#endif
-      hFlush h
-  | otherwise = pure ()
diff --git a/corpora/vendored/other/cpp/haddock-after-a-conditional-holding-a-class-head-out.hs b/corpora/vendored/other/cpp/haddock-after-a-conditional-holding-a-class-head-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/haddock-after-a-conditional-holding-a-class-head-out.hs
+++ /dev/null
@@ -1,17 +0,0 @@
-{-# LANGUAGE CPP #-}
-{-# LANGUAGE TypeFamilies #-}
-
-module Test.Example where
-
--- A method's Haddock and signature written once, after a conditional that
--- holds the head of the class in each branch.
-class
-#ifdef ENABLE_HOOK_ARGS
-  Example e where
-  type Arg e
-#else
-  Example e where
-#endif
-
-  -- | Evaluates an example.
-  evaluate :: e -> IO Bool
diff --git a/corpora/vendored/other/cpp/haddock-after-a-conditional-holding-a-class-head.hs b/corpora/vendored/other/cpp/haddock-after-a-conditional-holding-a-class-head.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/haddock-after-a-conditional-holding-a-class-head.hs
+++ /dev/null
@@ -1,15 +0,0 @@
-{-# LANGUAGE CPP #-}
-{-# LANGUAGE TypeFamilies #-}
-
-module Test.Example where
-
--- A method's Haddock and signature written once, after a conditional that
--- holds the head of the class in each branch.
-#ifdef ENABLE_HOOK_ARGS
-class Example e where
-  type Arg e
-#else
-class Example e where
-#endif
-  -- | Evaluates an example.
-  evaluate :: e -> IO Bool
diff --git a/corpora/vendored/other/cpp/haddock-behind-alternatives-out.hs b/corpora/vendored/other/cpp/haddock-behind-alternatives-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/haddock-behind-alternatives-out.hs
+++ /dev/null
@@ -1,47 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Kiln.Firing where
-
--- A Haddock that differs between the branches of a conditional is kept in
--- each branch, before a constructor, a field and an argument.
-data Firing
-  = Bisque
-  |
-#ifdef GLAZE_ONLY
-    -- | Fired once, glazed.
-#else
-    -- | Fired twice, the second time glazed.
-#endif
-    Glaze
-
-data Kiln = Kiln
-  { temperature :: Int,
-#ifdef ELECTRIC
-    -- | Watts drawn.
-#else
-    -- | Gas burnt in an hour.
-#endif
-    draw :: Int
-  }
-
-fire ::
-  Kiln ->
-#ifdef ELECTRIC
-  -- | Minutes to cool.
-#else
-  -- | Hours to cool.
-#endif
-  Int ->
-  Firing
-fire _ _ = Glaze
-
--- The same for one written after what it documents.
-data Cone
-  =
-#ifdef METRIC
-    -- | Below 1100 degrees.
-#else
-    -- | Below 2000 degrees.
-#endif
-    Low
-  | High
diff --git a/corpora/vendored/other/cpp/haddock-behind-alternatives.hs b/corpora/vendored/other/cpp/haddock-behind-alternatives.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/haddock-behind-alternatives.hs
+++ /dev/null
@@ -1,45 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Kiln.Firing where
-
--- A Haddock that differs between the branches of a conditional is kept in
--- each branch, before a constructor, a field and an argument.
-data Firing
-  = Bisque
-#ifdef GLAZE_ONLY
-  -- | Fired once, glazed.
-#else
-  -- | Fired twice, the second time glazed.
-#endif
-  | Glaze
-
-data Kiln = Kiln
-  { temperature :: Int
-#ifdef ELECTRIC
-  -- | Watts drawn.
-#else
-  -- | Gas burnt in an hour.
-#endif
-  , draw :: Int
-  }
-
-fire ::
-  Kiln ->
-#ifdef ELECTRIC
-  -- | Minutes to cool.
-#else
-  -- | Hours to cool.
-#endif
-  Int ->
-  Firing
-fire _ _ = Glaze
-
--- The same for one written after what it documents.
-data Cone
-  = Low
-#ifdef METRIC
-  -- ^ Below 1100 degrees.
-#else
-  -- ^ Below 2000 degrees.
-#endif
-  | High
diff --git a/corpora/vendored/other/cpp/hiding-behind-a-conditional-out.hs b/corpora/vendored/other/cpp/hiding-behind-a-conditional-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/hiding-behind-a-conditional-out.hs
+++ /dev/null
@@ -1,11 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module M where
-
-import Data.Maybe (catMaybes)
-import Language.Haskell.TH.Syntax
-#if MIN_VERSION_template_haskell(2,19,0)
-  hiding (makeRelativeToProject)
-#endif
-import System.Directory (doesFileExist)
-import Yesod.Core
diff --git a/corpora/vendored/other/cpp/hiding-behind-a-conditional.hs b/corpora/vendored/other/cpp/hiding-behind-a-conditional.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/hiding-behind-a-conditional.hs
+++ /dev/null
@@ -1,11 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module M where
-
-import Yesod.Core
-import System.Directory (doesFileExist)
-import Language.Haskell.TH.Syntax
-#if MIN_VERSION_template_haskell(2,19,0)
-    hiding (makeRelativeToProject)
-#endif
-import Data.Maybe (catMaybes)
diff --git a/corpora/vendored/other/cpp/if-settled-by-an-ifdef-out.hs b/corpora/vendored/other/cpp/if-settled-by-an-ifdef-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/if-settled-by-an-ifdef-out.hs
+++ /dev/null
@@ -1,14 +0,0 @@
-{-# LANGUAGE CPP #-}
-#ifdef USE_ST
-{-# LANGUAGE RankNTypes #-}
-#endif
-
-module Run where
-
-#if USE_ST
-run :: (forall s. s -> s) -> Int
-run f = f 1
-#endif
-
-count :: Int -> String
-count n = "count: " ++ show n
diff --git a/corpora/vendored/other/cpp/if-settled-by-an-ifdef.hs b/corpora/vendored/other/cpp/if-settled-by-an-ifdef.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/if-settled-by-an-ifdef.hs
+++ /dev/null
@@ -1,13 +0,0 @@
-{-# LANGUAGE CPP #-}
-#ifdef USE_ST
-{-# LANGUAGE RankNTypes #-}
-#endif
-module Run where
-
-#if USE_ST
-run :: (forall s. s -> s) -> Int
-run f = f 1
-#endif
-
-count :: Int -> String
-count n = "count: " ++ show n
diff --git a/corpora/vendored/other/cpp/if-settled-inside-another-conditional-out.hs b/corpora/vendored/other/cpp/if-settled-inside-another-conditional-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/if-settled-inside-another-conditional-out.hs
+++ /dev/null
@@ -1,19 +0,0 @@
-{-# LANGUAGE CPP #-}
-#if !defined(javascript_HOST_ARCH)
-{-# LANGUAGE CApiFFI #-}
-#endif
-
-module Clock where
-
-#ifndef mingw32_HOST_OS
-import Foreign.C
-
-#if defined(javascript_HOST_ARCH) || defined(__MHS__)
-foreign import ccall unsafe "time.h time" time :: CLong -> IO CLong
-#else
-foreign import capi unsafe "time.h time" time :: CLong -> IO CLong
-#endif
-
-now :: IO CLong
-now = time 0
-#endif
diff --git a/corpora/vendored/other/cpp/if-settled-inside-another-conditional.hs b/corpora/vendored/other/cpp/if-settled-inside-another-conditional.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/if-settled-inside-another-conditional.hs
+++ /dev/null
@@ -1,18 +0,0 @@
-{-# LANGUAGE CPP #-}
-#if !defined(javascript_HOST_ARCH)
-{-# LANGUAGE CApiFFI #-}
-#endif
-module Clock where
-
-#ifndef mingw32_HOST_OS
-import Foreign.C
-
-#if defined(javascript_HOST_ARCH) || defined(__MHS__)
-foreign import ccall unsafe "time.h time" time :: CLong -> IO CLong
-#else
-foreign import capi unsafe "time.h time" time :: CLong -> IO CLong
-#endif
-
-now :: IO CLong
-now = time 0
-#endif
diff --git a/corpora/vendored/other/cpp/import-clause-in-a-branch-with-declarations-out.hs b/corpora/vendored/other/cpp/import-clause-in-a-branch-with-declarations-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/import-clause-in-a-branch-with-declarations-out.hs
+++ /dev/null
@@ -1,11 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module B1 (throw) where
-
-import Control.Exception
-#ifdef X
-  hiding (throw)
-
-throw :: (Exception e) => e -> a
-throw = undefined
-#endif
diff --git a/corpora/vendored/other/cpp/import-clause-in-a-branch-with-declarations.hs b/corpora/vendored/other/cpp/import-clause-in-a-branch-with-declarations.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/import-clause-in-a-branch-with-declarations.hs
+++ /dev/null
@@ -1,10 +0,0 @@
-{-# LANGUAGE CPP #-}
-module B1 (throw) where
-
-import Control.Exception
-#ifdef X
-  hiding (throw)
-
-throw :: Exception e => e -> a
-throw = undefined
-#endif
diff --git a/corpora/vendored/other/cpp/import-in-one-branch-declarations-in-the-other-out.hs b/corpora/vendored/other/cpp/import-in-one-branch-declarations-in-the-other-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/import-in-one-branch-declarations-in-the-other-out.hs
+++ /dev/null
@@ -1,18 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Sort where
-
-import Data.Char (toLower)
-
-#if MIN_VERSION_base(4,8,0)
-import Data.List (sortOn)
-#else
-sortOn :: (Ord b) => (a -> b) -> [a] -> [a]
-sortOn _ = id
-#endif
-
-byName :: [String] -> [String]
-byName = sortOn (fmap toLower)
-
-byLength :: [String] -> [String]
-byLength = sortOn length
diff --git a/corpora/vendored/other/cpp/import-in-one-branch-declarations-in-the-other.hs b/corpora/vendored/other/cpp/import-in-one-branch-declarations-in-the-other.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/import-in-one-branch-declarations-in-the-other.hs
+++ /dev/null
@@ -1,17 +0,0 @@
-{-# LANGUAGE CPP #-}
-module Terminal.Sort where
-
-import Data.Char (toLower)
-
-#if MIN_VERSION_base(4,8,0)
-import Data.List (sortOn)
-#else
-sortOn   ::  Ord b => (a -> b) -> [a] -> [a]
-sortOn _  =  id
-#endif
-
-byName :: [String] -> [String]
-byName  =  sortOn (fmap toLower)
-
-byLength :: [String] -> [String]
-byLength  =  sortOn length
diff --git a/corpora/vendored/other/cpp/import-list-behind-a-conditional-out.hs b/corpora/vendored/other/cpp/import-list-behind-a-conditional-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/import-list-behind-a-conditional-out.hs
+++ /dev/null
@@ -1,23 +0,0 @@
-{-# LANGUAGE CPP #-}
-{-# LANGUAGE ExplicitForAll #-}
-
-module Kiln.Clock where
-
--- An import list that a conditional varies whole stays in each branch, on a
--- line of its own.
-import Data.Word
-#if MIN_VERSION_text(2,0,0)
-  (Word8)
-#else
-  (Word16, Word32)
-#endif
-
--- The same for the binders of a forall.
-lookupCont ::
-#if defined(__GLASGOW_HASKELL__)
-  forall r k v.
-#else
-  forall k v r.
-#endif
-  k -> (v -> r) -> r
-lookupCont = undefined
diff --git a/corpora/vendored/other/cpp/import-list-behind-a-conditional.hs b/corpora/vendored/other/cpp/import-list-behind-a-conditional.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/import-list-behind-a-conditional.hs
+++ /dev/null
@@ -1,23 +0,0 @@
-{-# LANGUAGE CPP #-}
-{-# LANGUAGE ExplicitForAll #-}
-
-module Kiln.Clock where
-
--- An import list that a conditional varies whole stays in each branch, on a
--- line of its own.
-import Data.Word
-#if MIN_VERSION_text(2,0,0)
-  (Word8)
-#else
-  (Word32, Word16)
-#endif
-
--- The same for the binders of a forall.
-lookupCont ::
-#if defined(__GLASGOW_HASKELL__)
-  forall r k v.
-#else
-  forall k v r.
-#endif
-  k -> (v -> r) -> r
-lookupCont = undefined
diff --git a/corpora/vendored/other/cpp/import-with-a-conditional-in-its-head-out.hs b/corpora/vendored/other/cpp/import-with-a-conditional-in-its-head-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/import-with-a-conditional-in-its-head-out.hs
+++ /dev/null
@@ -1,14 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Cache (empty) where
-
-import Data.Char (isSpace)
-import
-#ifdef STRICT_CACHE
-  qualified
-#endif
-  Data.Map as M
-import Text.Read (readMaybe)
-
-empty :: M.Map String String
-empty = M.empty
diff --git a/corpora/vendored/other/cpp/import-with-a-conditional-in-its-head.hs b/corpora/vendored/other/cpp/import-with-a-conditional-in-its-head.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/import-with-a-conditional-in-its-head.hs
+++ /dev/null
@@ -1,14 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Cache (empty) where
-
-import Text.Read (readMaybe)
-import
-#ifdef STRICT_CACHE
-  qualified
-#endif
-  Data.Map as M
-import Data.Char (isSpace)
-
-empty :: M.Map String String
-empty  =  M.empty
diff --git a/corpora/vendored/other/cpp/imports-around-a-conditional-holding-a-comment-out.hs b/corpora/vendored/other/cpp/imports-around-a-conditional-holding-a-comment-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/imports-around-a-conditional-holding-a-comment-out.hs
+++ /dev/null
@@ -1,12 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Size (columns) where
-
-import System.Environment (lookupEnv)
-#ifdef mingw32_HOST_OS
-{- The console size comes from the environment there as well. -}
-#endif
-import Data.Maybe (fromMaybe)
-
-columns :: IO Int
-columns = read . fromMaybe "80" <$> lookupEnv "COLUMNS"
diff --git a/corpora/vendored/other/cpp/imports-around-a-conditional-holding-a-comment.hs b/corpora/vendored/other/cpp/imports-around-a-conditional-holding-a-comment.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/imports-around-a-conditional-holding-a-comment.hs
+++ /dev/null
@@ -1,12 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Size (columns) where
-
-import System.Environment (lookupEnv)
-#ifdef mingw32_HOST_OS
-  {- The console size comes from the environment there as well. -}
-#endif
-import Data.Maybe (fromMaybe)
-
-columns :: IO Int
-columns  =  read . fromMaybe "80" <$> lookupEnv "COLUMNS"
diff --git a/corpora/vendored/other/cpp/imports-around-a-conditional-holding-a-directive-out.hs b/corpora/vendored/other/cpp/imports-around-a-conditional-holding-a-directive-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/imports-around-a-conditional-holding-a-directive-out.hs
+++ /dev/null
@@ -1,12 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Width (width) where
-
-import System.Environment (lookupEnv)
-#ifdef WIDE_TERMINALS
-#define DEFAULT_WIDTH 132
-#endif
-import Data.Maybe (fromMaybe)
-
-width :: IO Int
-width = read . fromMaybe "80" <$> lookupEnv "COLUMNS"
diff --git a/corpora/vendored/other/cpp/imports-around-a-conditional-holding-a-directive.hs b/corpora/vendored/other/cpp/imports-around-a-conditional-holding-a-directive.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/imports-around-a-conditional-holding-a-directive.hs
+++ /dev/null
@@ -1,12 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Width (width) where
-
-import System.Environment (lookupEnv)
-#ifdef WIDE_TERMINALS
-#define DEFAULT_WIDTH 132
-#endif
-import Data.Maybe (fromMaybe)
-
-width :: IO Int
-width  =  read . fromMaybe "80" <$> lookupEnv "COLUMNS"
diff --git a/corpora/vendored/other/cpp/imports-at-an-indented-top-level-out.hs b/corpora/vendored/other/cpp/imports-at-an-indented-top-level-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/imports-at-an-indented-top-level-out.hs
+++ /dev/null
@@ -1,15 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Bell (bell) where
-
-{-
-import Terminal.Sound
--}
-import System.IO (hFlush, stdout)
-#ifdef WITH_VISUAL_BELL
-import Terminal.Flash (flash)
-#endif
-import Control.Monad (void)
-
-bell :: IO ()
-bell = void (putStr "\a") >> hFlush stdout
diff --git a/corpora/vendored/other/cpp/imports-at-an-indented-top-level.hs b/corpora/vendored/other/cpp/imports-at-an-indented-top-level.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/imports-at-an-indented-top-level.hs
+++ /dev/null
@@ -1,14 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Bell (bell) where
-  {-
-import Terminal.Sound
-  -}
-  import System.IO (hFlush, stdout)
-#ifdef WITH_VISUAL_BELL
-  import Terminal.Flash (flash)
-#endif
-  import Control.Monad (void)
-
-  bell :: IO ()
-  bell  =  void (putStr "\a") >> hFlush stdout
diff --git a/corpora/vendored/other/cpp/imports-continued-after-a-conditional-out.hs b/corpora/vendored/other/cpp/imports-continued-after-a-conditional-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/imports-continued-after-a-conditional-out.hs
+++ /dev/null
@@ -1,17 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Lines (wrap) where
-
-import Text.Read (readMaybe)
-#ifdef WITH_TEXT
-import Data.Text
-#else
-import Data.List
-#endif
-#if MIN_VERSION_base(4,20,0)
-  hiding (lines)
-#endif
-import Data.Char (isSpace)
-
-wrap :: Int -> String -> [String]
-wrap n = map (take n) . Prelude.lines
diff --git a/corpora/vendored/other/cpp/imports-continued-after-a-conditional.hs b/corpora/vendored/other/cpp/imports-continued-after-a-conditional.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/imports-continued-after-a-conditional.hs
+++ /dev/null
@@ -1,17 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Lines (wrap) where
-
-import Text.Read (readMaybe)
-#ifdef WITH_TEXT
-import Data.Text
-#else
-import Data.List
-#endif
-#if MIN_VERSION_base(4,20,0)
-    hiding (lines)
-#endif
-import Data.Char (isSpace)
-
-wrap :: Int -> String -> [String]
-wrap n  =  map (take n) . Prelude.lines
diff --git a/corpora/vendored/other/cpp/imports-ending-in-a-conditional-before-declarations-out.hs b/corpora/vendored/other/cpp/imports-ending-in-a-conditional-before-declarations-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/imports-ending-in-a-conditional-before-declarations-out.hs
+++ /dev/null
@@ -1,11 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Width (width) where
-
-import Data.Char (isSpace)
-#ifdef WITH_WCWIDTH
-import Terminal.Wcwidth (wcwidth)
-#endif
-
-width :: String -> Int
-width = length . filter (not . isSpace)
diff --git a/corpora/vendored/other/cpp/imports-ending-in-a-conditional-before-declarations.hs b/corpora/vendored/other/cpp/imports-ending-in-a-conditional-before-declarations.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/imports-ending-in-a-conditional-before-declarations.hs
+++ /dev/null
@@ -1,10 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Width (width) where
-
-import Data.Char (isSpace)
-#ifdef WITH_WCWIDTH
-import Terminal.Wcwidth (wcwidth)
-#endif
-width :: String -> Int
-width  =  length . filter (not . isSpace)
diff --git a/corpora/vendored/other/cpp/imports-in-both-branches-out.hs b/corpora/vendored/other/cpp/imports-in-both-branches-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/imports-in-both-branches-out.hs
+++ /dev/null
@@ -1,21 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Capability (probe) where
-
-import Data.Maybe (fromMaybe)
-import Terminal.Encode (encode)
-#ifdef WITH_TERMINFO
-import Data.List (isPrefixOf)
-import Terminal.Terminfo (lookupCapability)
-#else
-import Terminal.Static (staticCapability)
-#endif
-
-probe :: String -> String
-#ifdef WITH_TERMINFO
-probe name
-  | "x" `isPrefixOf` name = encode name
-  | otherwise = fromMaybe "" (lookupCapability name)
-#else
-probe name = fromMaybe (encode name) (staticCapability name)
-#endif
diff --git a/corpora/vendored/other/cpp/imports-in-both-branches.hs b/corpora/vendored/other/cpp/imports-in-both-branches.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/imports-in-both-branches.hs
+++ /dev/null
@@ -1,21 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Capability (probe) where
-
-import Data.Maybe (fromMaybe)
-import Terminal.Encode (encode)
-#ifdef WITH_TERMINFO
-import Data.List (isPrefixOf)
-import Terminal.Terminfo (lookupCapability)
-#else
-import Terminal.Static (staticCapability)
-#endif
-
-probe :: String -> String
-#ifdef WITH_TERMINFO
-probe name
-    | "x" `isPrefixOf` name  =  encode name
-    | otherwise  =  fromMaybe "" (lookupCapability name)
-#else
-probe name  =  fromMaybe (encode name) (staticCapability name)
-#endif
diff --git a/corpora/vendored/other/cpp/imports-in-explicit-braces-out.hs b/corpora/vendored/other/cpp/imports-in-explicit-braces-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/imports-in-explicit-braces-out.hs
+++ /dev/null
@@ -1,12 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Title (setTitle) where
-
-import System.IO (hFlush, stdout)
-#ifdef WITH_TERMINFO
-import Terminal.Terminfo (lookupCapability)
-#endif
-import Control.Monad (void)
-
-setTitle :: String -> IO ()
-setTitle t = void (putStr ("\ESC]0;" ++ t ++ "\a")) >> hFlush stdout
diff --git a/corpora/vendored/other/cpp/imports-in-explicit-braces.hs b/corpora/vendored/other/cpp/imports-in-explicit-braces.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/imports-in-explicit-braces.hs
+++ /dev/null
@@ -1,12 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Title (setTitle) where {
-import System.IO (hFlush, stdout);
-#ifdef WITH_TERMINFO
-  import Terminal.Terminfo (lookupCapability);
-#endif
-import Control.Monad (void);
-
-setTitle :: String -> IO ();
-setTitle t  =  void (putStr ("\ESC]0;" ++ t ++ "\a")) >> hFlush stdout
-}
diff --git a/corpora/vendored/other/cpp/imports-merged-across-a-define-out.hs b/corpora/vendored/other/cpp/imports-merged-across-a-define-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/imports-merged-across-a-define-out.hs
+++ /dev/null
@@ -1,14 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Markup where
-
-import Control.Arrow (first, second)
-import Control.Monad (when)
-#define Html Markup
-#define toHtml toMarkup
-import Data.Maybe (fromMaybe)
-import Data.Text (Text)
-import Text.Blaze (Markup, toMarkup)
-
-label :: Text -> Html
-label = toHtml
diff --git a/corpora/vendored/other/cpp/imports-merged-across-a-define.hs b/corpora/vendored/other/cpp/imports-merged-across-a-define.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/imports-merged-across-a-define.hs
+++ /dev/null
@@ -1,14 +0,0 @@
-{-# LANGUAGE CPP #-}
-module Terminal.Markup where
-
-import Data.Text (Text)
-import Control.Arrow (second)
-import Control.Monad (when)
-import Text.Blaze (Markup, toMarkup)
-#define Html Markup
-#define toHtml toMarkup
-import Data.Maybe (fromMaybe)
-import Control.Arrow (first)
-
-label :: Text -> Html
-label  =  toHtml
diff --git a/corpora/vendored/other/cpp/imports-only-in-one-branch-out.hs b/corpora/vendored/other/cpp/imports-only-in-one-branch-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/imports-only-in-one-branch-out.hs
+++ /dev/null
@@ -1,13 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module B2 where
-
-import Data.Maybe (fromMaybe)
-#ifdef X
-import Data.List (sort)
-
-sorted :: [Int] -> [Int]
-sorted = sort
-#else
-import Data.Char (ord)
-#endif
diff --git a/corpora/vendored/other/cpp/imports-only-in-one-branch.hs b/corpora/vendored/other/cpp/imports-only-in-one-branch.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/imports-only-in-one-branch.hs
+++ /dev/null
@@ -1,12 +0,0 @@
-{-# LANGUAGE CPP #-}
-module B2 where
-
-import Data.Maybe (fromMaybe)
-#ifdef X
-import Data.List (sort)
-
-sorted :: [Int] -> [Int]
-sorted = sort
-#else
-import Data.Char (ord)
-#endif
diff --git a/corpora/vendored/other/cpp/imports-written-in-different-branches-out.hs b/corpora/vendored/other/cpp/imports-written-in-different-branches-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/imports-written-in-different-branches-out.hs
+++ /dev/null
@@ -1,15 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Errors (isUnsupported) where
-
-import Control.Exception (IOException)
-#ifndef __MHS__
-import GHC.IO.Exception
-#else
-import System.IO.Error
-#endif
-  (IOErrorType (..), ioe_type)
-import Data.Bool (bool)
-
-isUnsupported :: IOError -> Bool
-isUnsupported e = ioe_type e == UnsupportedOperation
diff --git a/corpora/vendored/other/cpp/imports-written-in-different-branches.hs b/corpora/vendored/other/cpp/imports-written-in-different-branches.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/imports-written-in-different-branches.hs
+++ /dev/null
@@ -1,15 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Errors (isUnsupported) where
-
-import Control.Exception (IOException)
-#ifndef __MHS__
-import           GHC.IO.Exception
-#else
-import           System.IO.Error
-#endif
-  ( ioe_type, IOErrorType(..) )
-import Data.Bool (bool)
-
-isUnsupported :: IOError -> Bool
-isUnsupported e  =  ioe_type e == UnsupportedOperation
diff --git a/corpora/vendored/other/cpp/inside-a-binding-group-out.hs b/corpora/vendored/other/cpp/inside-a-binding-group-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/inside-a-binding-group-out.hs
+++ /dev/null
@@ -1,14 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Describe where
-
-describe :: Int -> String
-describe n = go n
-  where
-    go 0 = "none"
-#ifdef VERBOSE
-    go 1 = "exactly one"
-#else
-    go 1 = "1"
-#endif
-    go k = show k
diff --git a/corpora/vendored/other/cpp/inside-a-binding-group.hs b/corpora/vendored/other/cpp/inside-a-binding-group.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/inside-a-binding-group.hs
+++ /dev/null
@@ -1,14 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Describe where
-
-describe :: Int -> String
-describe n  =  go n
-  where
-    go 0  =  "none"
-#ifdef VERBOSE
-    go 1  =  "exactly one"
-#else
-    go 1  =  "1"
-#endif
-    go k  =  show k
diff --git a/corpora/vendored/other/cpp/inside-a-signature-out.hs b/corpora/vendored/other/cpp/inside-a-signature-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/inside-a-signature-out.hs
+++ /dev/null
@@ -1,12 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Trace where
-
-import GHC.Stack (HasCallStack)
-
-traceMessage ::
-#ifdef WITH_CALLSTACK
-  (HasCallStack) =>
-#endif
-  String -> [(String, Int)] -> Maybe String -> Either String Int -> IO ()
-traceMessage message _pairs _fallback _outcome = putStrLn message
diff --git a/corpora/vendored/other/cpp/inside-a-signature.hs b/corpora/vendored/other/cpp/inside-a-signature.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/inside-a-signature.hs
+++ /dev/null
@@ -1,12 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Trace where
-
-import GHC.Stack (HasCallStack)
-
-traceMessage ::
-#ifdef WITH_CALLSTACK
-  (HasCallStack) =>
-#endif
-  String -> [(String, Int)] -> Maybe String -> Either String Int -> IO ()
-traceMessage message _pairs _fallback _outcome  =  putStrLn message
diff --git a/corpora/vendored/other/cpp/inside-an-expression-out.hs b/corpora/vendored/other/cpp/inside-an-expression-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/inside-an-expression-out.hs
+++ /dev/null
@@ -1,16 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Width where
-
-base :: Int
-base = 80
-
-width :: Int
-width =
-  base
-#ifdef WITH_MARGIN
-    + 4
-#endif
-
-height :: Int
-height = 24
diff --git a/corpora/vendored/other/cpp/inside-an-expression.hs b/corpora/vendored/other/cpp/inside-an-expression.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/inside-an-expression.hs
+++ /dev/null
@@ -1,16 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Width where
-
-base :: Int
-base  =  80
-
-width :: Int
-width  =
-  base
-#ifdef WITH_MARGIN
-    + 4
-#endif
-
-height :: Int
-height  =  24
diff --git a/corpora/vendored/other/cpp/labels-named-like-directives-out.hs b/corpora/vendored/other/cpp/labels-named-like-directives-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/labels-named-like-directives-out.hs
+++ /dev/null
@@ -1,22 +0,0 @@
-{-# LANGUAGE CPP #-}
-{-# LANGUAGE OverloadedLabels #-}
-
--- | Labels named like directives, which cpp leaves alone where they do not
--- open their line.
-module Record.Fields (columns, defined) where
-
-#if MIN_VERSION_base(4,10,0)
-import GHC.OverloadedLabels (IsLabel (..))
-#endif
-
-columns :: [Column]
-columns =
-  [ #line,
-    #if,
-    #else
-  ]
-
-defined :: Column -> Bool
-defined =
-  hasValue
-    #define
diff --git a/corpora/vendored/other/cpp/labels-named-like-directives.hs b/corpora/vendored/other/cpp/labels-named-like-directives.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/labels-named-like-directives.hs
+++ /dev/null
@@ -1,21 +0,0 @@
-{-# LANGUAGE CPP #-}
-{-# LANGUAGE OverloadedLabels #-}
-
--- | Labels named like directives, which cpp leaves alone where they do not
--- open their line.
-module Record.Fields (columns, defined) where
-
-#if MIN_VERSION_base(4,10,0)
-import GHC.OverloadedLabels (IsLabel (..))
-#endif
-
-columns :: [Column]
-columns =
-  [ #line,
-    #if,   #else
-  ]
-
-defined :: Column -> Bool
-defined =
-  hasValue
-    #define
diff --git a/corpora/vendored/other/cpp/let-chain-behind-a-conditional-out.hs b/corpora/vendored/other/cpp/let-chain-behind-a-conditional-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/let-chain-behind-a-conditional-out.hs
+++ /dev/null
@@ -1,15 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Kiln.Batch (batch) where
-
--- The first let of a chain, written in each branch with in at the end of
--- its line, stays in each branch as written.
-batch :: Int -> Int -> Int
-batch x s =
-#if defined(LARGE)
-  let a = large x in
-#else
-  let a = small x in
-#endif
-  let b = s + a
-   in scale b
diff --git a/corpora/vendored/other/cpp/let-chain-behind-a-conditional.hs b/corpora/vendored/other/cpp/let-chain-behind-a-conditional.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/let-chain-behind-a-conditional.hs
+++ /dev/null
@@ -1,15 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Kiln.Batch (batch) where
-
--- The first let of a chain, written in each branch with in at the end of
--- its line, stays in each branch as written.
-batch :: Int -> Int -> Int
-batch x s =
-#if defined(LARGE)
-  let a = large x in
-#else
-  let a = small x in
-#endif
-  let b = s + a in
-  scale b
diff --git a/corpora/vendored/other/cpp/line-marker-passed-on-by-cpp.hs b/corpora/vendored/other/cpp/line-marker-passed-on-by-cpp.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/line-marker-passed-on-by-cpp.hs
+++ /dev/null
@@ -1,7 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module M where
-
-x = 1 -- one
-# 40 "Other.hs"
-y = 2 -- two
diff --git a/corpora/vendored/other/cpp/list-items-behind-two-questions-out.hs b/corpora/vendored/other/cpp/list-items-behind-two-questions-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/list-items-behind-two-questions-out.hs
+++ /dev/null
@@ -1,18 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Laws.Mod (laws) where
-
-#ifdef MIN_VERSION_semirings
-laws :: (Ring a) => Proxy a -> [Laws]
-#else
-laws :: Proxy a -> [Laws]
-#endif
-laws p =
-  [ eqLaws p
-#ifdef MIN_VERSION_semirings
-    , ringLaws p
-#endif
-#ifdef MIN_VERSION_vector
-    , primLaws p
-#endif
-  ]
diff --git a/corpora/vendored/other/cpp/list-items-behind-two-questions.hs b/corpora/vendored/other/cpp/list-items-behind-two-questions.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/list-items-behind-two-questions.hs
+++ /dev/null
@@ -1,18 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Laws.Mod (laws) where
-
-#ifdef MIN_VERSION_semirings
-laws :: (Ring a) => Proxy a -> [Laws]
-#else
-laws :: Proxy a -> [Laws]
-#endif
-laws p =
-  [ eqLaws p
-#ifdef MIN_VERSION_semirings
-  , ringLaws p
-#endif
-#ifdef MIN_VERSION_vector
-  , primLaws p
-#endif
-  ]
diff --git a/corpora/vendored/other/cpp/macro-above-a-case-out.hs b/corpora/vendored/other/cpp/macro-above-a-case-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/macro-above-a-case-out.hs
+++ /dev/null
@@ -1,16 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Bounds.Check where
-
-#if defined(ASSERTS)
-#define CHECK(i) if (i) < 0 then error "negative index" else
-#else
-#define CHECK(i)
-#endif
-
-pick :: Int -> String
-pick i =
-  CHECK(i)
-  case i of
-    0 -> "zero"
-    _ -> "more"
diff --git a/corpora/vendored/other/cpp/macro-above-a-case.hs b/corpora/vendored/other/cpp/macro-above-a-case.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/macro-above-a-case.hs
+++ /dev/null
@@ -1,16 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Bounds.Check where
-
-#if defined(ASSERTS)
-#define CHECK(i) if (i) < 0 then error "negative index" else
-#else
-#define CHECK(i)
-#endif
-
-pick :: Int -> String
-pick i =
-    CHECK(i)
-    case i of
-        0 -> "zero"
-        _ -> "more"
diff --git a/corpora/vendored/other/cpp/macro-among-statements-out.hs b/corpora/vendored/other/cpp/macro-among-statements-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/macro-among-statements-out.hs
+++ /dev/null
@@ -1,27 +0,0 @@
-{-# LANGUAGE CPP #-}
-
--- A use standing for a statement stays at the column of the statements
--- around it.
-module Solver.Trail where
-
-#ifdef ENABLE_TRACE
-#define TRACING(x) x
-#else
-#define TRACING(x)
-#endif
-
-step :: Int -> IO ()
-step n = do
-  print n
-  TRACING(print n)
-  print (n + 1)
-
-steps :: [Int] -> IO ()
-steps ns = do
-  let total = sum ns
-  TRACING(print total)
-  forM_ ns $ \n -> do
-    step n
-    TRACING(print n)
-    step (n + 1)
-  pure ()
diff --git a/corpora/vendored/other/cpp/macro-among-statements.hs b/corpora/vendored/other/cpp/macro-among-statements.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/macro-among-statements.hs
+++ /dev/null
@@ -1,27 +0,0 @@
-{-# LANGUAGE CPP #-}
-
--- A use standing for a statement stays at the column of the statements
--- around it.
-module Solver.Trail where
-
-#ifdef ENABLE_TRACE
-#define TRACING(x) x
-#else
-#define TRACING(x)
-#endif
-
-step :: Int -> IO ()
-step n = do
-    print n
-    TRACING(print n)
-    print (n + 1)
-
-steps :: [Int] -> IO ()
-steps ns = do
-    let total = sum ns
-    TRACING(print total)
-    forM_ ns $ \n -> do
-        step n
-        TRACING(print n)
-        step (n + 1)
-    pure ()
diff --git a/corpora/vendored/other/cpp/macro-before-a-leading-comma.hs b/corpora/vendored/other/cpp/macro-before-a-leading-comma.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/macro-before-a-leading-comma.hs
+++ /dev/null
@@ -1,13 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Signals (handled) where
-
-#define ALSO(name) , name
-
-handled :: [String]
-handled =
-  [ "INT"
-  , "TERM"
-  ALSO("HUP")
-  , "QUIT"
-  ]
diff --git a/corpora/vendored/other/cpp/macro-between-equations-out.hs b/corpora/vendored/other/cpp/macro-between-equations-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/macro-between-equations-out.hs
+++ /dev/null
@@ -1,12 +0,0 @@
-{-# LANGUAGE CPP #-}
-
--- A use standing for an equation stays at the margin between the equations
--- around it.
-module Table.Lookup where
-
-#define ENTRY(k, v) lookupEntry k = v
-
-lookupEntry :: Int -> String
-lookupEntry 0 = "zero"
-ENTRY(1, "one")
-lookupEntry _ = "many"
diff --git a/corpora/vendored/other/cpp/macro-between-equations.hs b/corpora/vendored/other/cpp/macro-between-equations.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/macro-between-equations.hs
+++ /dev/null
@@ -1,12 +0,0 @@
-{-# LANGUAGE CPP #-}
-
--- A use standing for an equation stays at the margin between the equations
--- around it.
-module Table.Lookup where
-
-#define ENTRY(k, v) lookupEntry k = v
-
-lookupEntry :: Int -> String
-lookupEntry 0 = "zero"
-ENTRY(1, "one")
-lookupEntry _ = "many"
diff --git a/corpora/vendored/other/cpp/macro-continuing-the-line-above-out.hs b/corpora/vendored/other/cpp/macro-continuing-the-line-above-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/macro-continuing-the-line-above-out.hs
+++ /dev/null
@@ -1,13 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Queue.Chan where
-
-#define STRICT(x) {-# UNPACK #-} !(x)
-
-data Chan a
-  = Chan
-      STRICT
-      (Int)
-      STRICT
-      ([a])
-  deriving (Eq)
diff --git a/corpora/vendored/other/cpp/macro-continuing-the-line-above.hs b/corpora/vendored/other/cpp/macro-continuing-the-line-above.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/macro-continuing-the-line-above.hs
+++ /dev/null
@@ -1,9 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Queue.Chan where
-
-#define STRICT(x) {-# UNPACK #-} !(x)
-
-data Chan a = Chan STRICT(Int)
-                   STRICT([a])
-  deriving (Eq)
diff --git a/corpora/vendored/other/cpp/macro-indented-with-a-tab-out.hs b/corpora/vendored/other/cpp/macro-indented-with-a-tab-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/macro-indented-with-a-tab-out.hs
+++ /dev/null
@@ -1,22 +0,0 @@
-{-# LANGUAGE CPP #-}
-
--- A use indented with a tab is at the column the tab moves it to: one at
--- the column of the code under it is a line of its own, and one further in
--- carries on the line above.
-module Steps where
-
-#define ARG(x) (x)
-#define STEP(x) print (x)
-
-g :: Int -> Maybe Int
-g x = do
-  y <-
-    Just
-      ARG
-      (x)
-  pure y
-
-h :: Int -> IO ()
-h x = do
-  STEP(x ++ "";)
-  pure ()
diff --git a/corpora/vendored/other/cpp/macro-indented-with-a-tab.hs b/corpora/vendored/other/cpp/macro-indented-with-a-tab.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/macro-indented-with-a-tab.hs
+++ /dev/null
@@ -1,20 +0,0 @@
-{-# LANGUAGE CPP #-}
-
--- A use indented with a tab is at the column the tab moves it to: one at
--- the column of the code under it is a line of its own, and one further in
--- carries on the line above.
-module Steps where
-
-#define ARG(x) (x)
-#define STEP(x) print (x)
-
-g :: Int -> Maybe Int
-g x = do
- y <- Just
-	ARG(x)
- pure y
-
-h :: Int -> IO ()
-h x = do
-	STEP(x ++ "";)
-        pure ()
diff --git a/corpora/vendored/other/cpp/macro-inside-a-conditional-out.hs b/corpora/vendored/other/cpp/macro-inside-a-conditional-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/macro-inside-a-conditional-out.hs
+++ /dev/null
@@ -1,11 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Lifted.Instances where
-
-#define LIFTED(T) instance Lifted m => Lifted (T m) where lifted = lift . lifted
-LIFTED(IdentityT)
-#if !MIN_VERSION_transformers(0,6,0)
-LIFTED(ListT)
-#endif
-LIFTED(MaybeT)
-#undef LIFTED
diff --git a/corpora/vendored/other/cpp/macro-inside-a-conditional.hs b/corpora/vendored/other/cpp/macro-inside-a-conditional.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/macro-inside-a-conditional.hs
+++ /dev/null
@@ -1,11 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Lifted.Instances where
-
-#define LIFTED(T) instance Lifted m => Lifted (T m) where lifted = lift . lifted
-LIFTED(IdentityT)
-#if !MIN_VERSION_transformers(0,6,0)
-LIFTED(ListT)
-#endif
-LIFTED(MaybeT)
-#undef LIFTED
diff --git a/corpora/vendored/other/cpp/macro-inside-a-declaration-out.hs b/corpora/vendored/other/cpp/macro-inside-a-declaration-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/macro-inside-a-declaration-out.hs
+++ /dev/null
@@ -1,24 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Session.Log where
-
-#define LOG(s) trace (s) (pure ())
-#define STRICT(x) {-# UNPACK #-} !(x)
-
-data Pair = Pair Int
-  STRICT(Int)
-  deriving (Eq)
-
-open :: IO ()
-open = do
-  connect
-  LOG("opened")
-  where
-    connect = pure ()
-
-instance Session IO where
-  close = do
-    disconnect
-    LOG("closed")
-    where
-      disconnect = pure ()
diff --git a/corpora/vendored/other/cpp/macro-inside-a-declaration.hs b/corpora/vendored/other/cpp/macro-inside-a-declaration.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/macro-inside-a-declaration.hs
+++ /dev/null
@@ -1,24 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Session.Log where
-
-#define LOG(s) trace (s) (pure ())
-#define STRICT(x) {-# UNPACK #-} !(x)
-
-data Pair = Pair Int
-  STRICT(Int)
-  deriving (Eq)
-
-open :: IO ()
-open = do
-  connect
-  LOG("opened")
-  where
-    connect = pure ()
-
-instance Session IO where
-  close = do
-    disconnect
-    LOG("closed")
-    where
-      disconnect = pure ()
diff --git a/corpora/vendored/other/cpp/macro-on-a-line-of-its-own-out.hs b/corpora/vendored/other/cpp/macro-on-a-line-of-its-own-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/macro-on-a-line-of-its-own-out.hs
+++ /dev/null
@@ -1,23 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Survey.Result where
-
-#ifdef WITH_TRACE
-#define TRACE(a) , trace a
-#else
-#define TRACE(a)
-#endif
-
-data Result = Result
-  { passed :: Bool,
-    message :: String
-    TRACE(:: [String])
-  }
-
-done :: Result
-done =
-  Result
-    { passed = True,
-      message = ""
-      TRACE(= [])
-    }
diff --git a/corpora/vendored/other/cpp/macro-on-a-line-of-its-own.hs b/corpora/vendored/other/cpp/macro-on-a-line-of-its-own.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/macro-on-a-line-of-its-own.hs
+++ /dev/null
@@ -1,22 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Survey.Result where
-
-#ifdef WITH_TRACE
-#define TRACE(a) , trace a
-#else
-#define TRACE(a)
-#endif
-
-data Result = Result
-    { passed   :: Bool
-    , message  :: String
-    TRACE(:: [String])
-    }
-
-done :: Result
-done = Result
-    { passed = True
-    , message = ""
-    TRACE(= [])
-    }
diff --git a/corpora/vendored/other/cpp/macro-standing-for-a-bracket.hs b/corpora/vendored/other/cpp/macro-standing-for-a-bracket.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/macro-standing-for-a-bracket.hs
+++ /dev/null
@@ -1,6 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module M where
-
-#define CLOSE )
-f = (1 CLOSE
diff --git a/corpora/vendored/other/cpp/macro-uses-at-the-top-level-out.hs b/corpora/vendored/other/cpp/macro-uses-at-the-top-level-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/macro-uses-at-the-top-level-out.hs
+++ /dev/null
@@ -1,18 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Named where
-
-class Named a where
-  name :: a -> String
-
-#define NAMED(ty, str) \
-instance Named ty where { name _ = str }
-
-#define NAMED_PAIR(a, b) \
-NAMED(a, "first") ; \
-NAMED(b, "second")
-
-NAMED(Int, "int")
-NAMED(Bool, "bool")
-
-NAMED_PAIR(Char, Double)
diff --git a/corpora/vendored/other/cpp/macro-uses-at-the-top-level.hs b/corpora/vendored/other/cpp/macro-uses-at-the-top-level.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/macro-uses-at-the-top-level.hs
+++ /dev/null
@@ -1,18 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Named where
-
-class Named a where
-  name :: a -> String
-
-#define NAMED(ty, str) \
-instance Named ty where { name _ = str }
-
-#define NAMED_PAIR(a, b) \
-NAMED(a, "first") ; \
-NAMED(b, "second")
-
-NAMED(Int, "int")
-NAMED(Bool, "bool")
-
-NAMED_PAIR(Char, Double)
diff --git a/corpora/vendored/other/cpp/method-moving-to-an-instance-of-its-own-out.hs b/corpora/vendored/other/cpp/method-moving-to-an-instance-of-its-own-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/method-moving-to-an-instance-of-its-own-out.hs
+++ /dev/null
@@ -1,18 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Report.Summary where
-
--- | How many examples ran, and how many of them failed.
-data Summary = Summary Int Int
-
--- Combining summaries.
-instance Monoid Summary where
-  mempty = Summary 0 0
-
-#if MIN_VERSION_base(4,11,0)
-instance Semigroup Summary where
-#endif
-  Summary x1 x2 `mappend` Summary y1 y2 = Summary (x1 + y1) (x2 + y2)
-
-isSuccess :: Summary -> Bool
-isSuccess (Summary _ failures) = failures == 0
diff --git a/corpora/vendored/other/cpp/method-moving-to-an-instance-of-its-own.hs b/corpora/vendored/other/cpp/method-moving-to-an-instance-of-its-own.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/method-moving-to-an-instance-of-its-own.hs
+++ /dev/null
@@ -1,17 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Report.Summary where
-
--- | How many examples ran, and how many of them failed.
-data Summary = Summary Int Int
-
--- Combining summaries.
-instance Monoid Summary where
-  mempty = Summary 0 0
-#if MIN_VERSION_base(4,11,0)
-instance Semigroup Summary where
-#endif
-  Summary x1 x2 `mappend` Summary y1 y2 = Summary (x1 + y1) (x2 + y2)
-
-isSuccess :: Summary -> Bool
-isSuccess (Summary _ failures) = failures == 0
diff --git a/corpora/vendored/other/cpp/more-configurations-than-formattings-out.hs b/corpora/vendored/other/cpp/more-configurations-than-formattings-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/more-configurations-than-formattings-out.hs
+++ /dev/null
@@ -1,62 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Build.Flags where
-
-#ifdef WITH_MOUSE
-mouse :: Bool
-mouse = True
-#else
-mouse :: Bool
-mouse = False
-#endif
-
-#ifdef WITH_PASTE
-paste :: Bool
-paste = True
-#else
-paste :: Bool
-paste = False
-#endif
-
-#ifdef WITH_COLOUR
-colour :: Bool
-colour = True
-#else
-colour :: Bool
-colour = False
-#endif
-
-#ifdef WITH_TITLE
-title :: Bool
-title = True
-#else
-title :: Bool
-title = False
-#endif
-
-#ifdef WITH_CURSOR
-cursor :: Bool
-cursor = True
-#else
-cursor :: Bool
-cursor = False
-#endif
-
-#ifdef WITH_RESIZE
-resize :: Bool
-resize = True
-#else
-resize :: Bool
-resize = False
-#endif
-
-#ifdef WITH_UNICODE
-unicode :: Bool
-unicode = True
-#else
-unicode :: Bool
-unicode = False
-#endif
-
-everything :: [Bool]
-everything = [mouse, paste, colour, title, cursor, resize, unicode]
diff --git a/corpora/vendored/other/cpp/more-configurations-than-formattings.hs b/corpora/vendored/other/cpp/more-configurations-than-formattings.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/more-configurations-than-formattings.hs
+++ /dev/null
@@ -1,62 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Build.Flags where
-
-#ifdef WITH_MOUSE
-mouse :: Bool
-mouse  =  True
-#else
-mouse :: Bool
-mouse  =  False
-#endif
-
-#ifdef WITH_PASTE
-paste :: Bool
-paste  =  True
-#else
-paste :: Bool
-paste  =  False
-#endif
-
-#ifdef WITH_COLOUR
-colour :: Bool
-colour  =  True
-#else
-colour :: Bool
-colour  =  False
-#endif
-
-#ifdef WITH_TITLE
-title :: Bool
-title  =  True
-#else
-title :: Bool
-title  =  False
-#endif
-
-#ifdef WITH_CURSOR
-cursor :: Bool
-cursor  =  True
-#else
-cursor :: Bool
-cursor  =  False
-#endif
-
-#ifdef WITH_RESIZE
-resize :: Bool
-resize  =  True
-#else
-resize :: Bool
-resize  =  False
-#endif
-
-#ifdef WITH_UNICODE
-unicode :: Bool
-unicode  =  True
-#else
-unicode :: Bool
-unicode  =  False
-#endif
-
-everything :: [Bool]
-everything  =  [mouse, paste, colour, title, cursor, resize, unicode]
diff --git a/corpora/vendored/other/cpp/names-of-a-list-behind-a-conditional-out.hs b/corpora/vendored/other/cpp/names-of-a-list-behind-a-conditional-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/names-of-a-list-behind-a-conditional-out.hs
+++ /dev/null
@@ -1,28 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Signals where
-
-import Data.List
-  ( nub,
-    sortOn,
-#if MIN_VERSION_base(4,8,0)
-    foldl1,
-#endif
-    group,
-  )
-import System.Posix.Signals
-  ( Handler (..),
-    installHandler,
-#if MIN_VERSION_unix(2,7,0)
-    raiseSignal,
-    sigINT,
-#if MIN_VERSION_unix(2,8,0)
-    sigWINCH,
-#endif
-#else
-    sigTERM,
-    signalProcess,
-#endif
-    blockSignals,
-    emptySignalSet,
-  )
diff --git a/corpora/vendored/other/cpp/names-of-a-list-behind-a-conditional.hs b/corpora/vendored/other/cpp/names-of-a-list-behind-a-conditional.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/names-of-a-list-behind-a-conditional.hs
+++ /dev/null
@@ -1,22 +0,0 @@
-{-# LANGUAGE CPP #-}
-module Terminal.Signals where
-
-import Data.List
-    ( sortOn, nub
-#if MIN_VERSION_base(4,8,0)
-    , foldl1
-#endif
-    , group
-    )
-import System.Posix.Signals
-    ( installHandler, Handler(..)
-#if MIN_VERSION_unix(2,7,0)
-    , raiseSignal, sigINT
-#if MIN_VERSION_unix(2,8,0)
-    , sigWINCH
-#endif
-#else
-    , signalProcess, sigTERM
-#endif
-    , emptySignalSet, blockSignals
-    )
diff --git a/corpora/vendored/other/cpp/nested-conditional-in-an-import-sorted-down-out.hs b/corpora/vendored/other/cpp/nested-conditional-in-an-import-sorted-down-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/nested-conditional-in-an-import-sorted-down-out.hs
+++ /dev/null
@@ -1,16 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Mask where
-
-import qualified Control.Concurrent as C
-import Control.Exception hiding
-  ( throwIO,
-#if MIN_VERSION_base(4,3,0)
-    mask,
-#if MIN_VERSION_base(4,4,0)
-    allowInterrupt,
-#endif
-#else
-    block,
-#endif
-  )
diff --git a/corpora/vendored/other/cpp/nested-conditional-in-an-import-sorted-down.hs b/corpora/vendored/other/cpp/nested-conditional-in-an-import-sorted-down.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/nested-conditional-in-an-import-sorted-down.hs
+++ /dev/null
@@ -1,15 +0,0 @@
-{-# LANGUAGE CPP #-}
-module Terminal.Mask where
-
-import Control.Exception hiding
-    ( throwIO
-#if MIN_VERSION_base(4,3,0)
-    , mask
-#if MIN_VERSION_base(4,4,0)
-    , allowInterrupt
-#endif
-#else
-    , block
-#endif
-    )
-import qualified Control.Concurrent as C
diff --git a/corpora/vendored/other/cpp/nested-out.hs b/corpora/vendored/other/cpp/nested-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/nested-out.hs
+++ /dev/null
@@ -1,19 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Cursor where
-
-#ifdef ANSI
-home :: String
-home = "\ESC[H"
-
-#ifdef ANSI_PRIVATE
-hide :: String
-hide = "\ESC[?25l"
-#endif
-#else
-home :: String
-home = "\r"
-#endif
-
-bell :: String
-bell = "\a"
diff --git a/corpora/vendored/other/cpp/nested.hs b/corpora/vendored/other/cpp/nested.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/nested.hs
+++ /dev/null
@@ -1,18 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Cursor where
-
-#ifdef ANSI
-home  ::  String
-home  =  "\ESC[H"
-#  ifdef ANSI_PRIVATE
-hide  ::  String
-hide  =  "\ESC[?25l"
-#  endif
-#else
-home  ::  String
-home  =  "\r"
-#endif
-
-bell :: String
-bell  =  "\a"
diff --git a/corpora/vendored/other/cpp/no-alternative-out.hs b/corpora/vendored/other/cpp/no-alternative-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/no-alternative-out.hs
+++ /dev/null
@@ -1,14 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Legacy where
-
-columns :: Int
-columns = 80
-
-#if !MIN_VERSION_base(4,19,0)
-rows :: Int
-rows = 24
-#endif
-
-title :: String
-title = "session"
diff --git a/corpora/vendored/other/cpp/no-alternative.hs b/corpora/vendored/other/cpp/no-alternative.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/no-alternative.hs
+++ /dev/null
@@ -1,14 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Legacy where
-
-columns :: Int
-columns  =  80
-
-#if !MIN_VERSION_base(4,19,0)
-rows    ::  Int
-rows  =  24
-#endif
-
-title :: String
-title  =  "session"
diff --git a/corpora/vendored/other/cpp/one-guard-asked-in-imports-and-in-a-declaration-out.hs b/corpora/vendored/other/cpp/one-guard-asked-in-imports-and-in-a-declaration-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/one-guard-asked-in-imports-and-in-a-declaration-out.hs
+++ /dev/null
@@ -1,25 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Keymap where
-
-import Data.Maybe (fromMaybe)
-
-#ifdef ORDERED
-lookupKey :: Int -> [(Int, String)] -> String
-lookupKey k = fromMaybe "" . lookup k
-#else
-import qualified Data.IntMap as IntMap
-
-lookupKey :: Int -> [(Int, String)] -> String
-lookupKey k = fromMaybe "" . IntMap.lookup k . IntMap.fromList
-#endif
-
-defaultKey :: Int
-defaultKey = 13
-
-backend :: String
-#ifdef ORDERED
-backend = "list"
-#else
-backend = "intmap"
-#endif
diff --git a/corpora/vendored/other/cpp/one-guard-asked-in-imports-and-in-a-declaration.hs b/corpora/vendored/other/cpp/one-guard-asked-in-imports-and-in-a-declaration.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/one-guard-asked-in-imports-and-in-a-declaration.hs
+++ /dev/null
@@ -1,24 +0,0 @@
-{-# LANGUAGE CPP #-}
-module Terminal.Keymap where
-
-import Data.Maybe (fromMaybe)
-
-#ifdef ORDERED
-lookupKey :: Int -> [(Int, String)] -> String
-lookupKey k  =  fromMaybe "" . lookup k
-#else
-import qualified Data.IntMap as IntMap
-
-lookupKey :: Int -> [(Int, String)] -> String
-lookupKey k  =  fromMaybe "" . IntMap.lookup k . IntMap.fromList
-#endif
-
-defaultKey :: Int
-defaultKey  =  13
-
-backend :: String
-#ifdef ORDERED
-backend  =  "list"
-#else
-backend  =  "intmap"
-#endif
diff --git a/corpora/vendored/other/cpp/one-guard-asked-of-a-pragma-an-import-and-an-equation-out.hs b/corpora/vendored/other/cpp/one-guard-asked-of-a-pragma-an-import-and-an-equation-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/one-guard-asked-of-a-pragma-an-import-and-an-equation-out.hs
+++ /dev/null
@@ -1,20 +0,0 @@
-{-# LANGUAGE CPP #-}
-#ifdef FAST
-{-# LANGUAGE MagicHash #-}
-#endif
-
-module Terminal.Same (same) where
-
-#ifdef FAST
-import GHC.Exts (isTrue#, reallyUnsafePtrEquality#)
-#endif
-
-same :: a -> a -> Bool
-#ifdef FAST
-same x y = isTrue# (reallyUnsafePtrEquality# x y)
-#else
-same _ _ = False
-#endif
-{-# INLINE same #-}
-
-infix 4 `same`
diff --git a/corpora/vendored/other/cpp/one-guard-asked-of-a-pragma-an-import-and-an-equation.hs b/corpora/vendored/other/cpp/one-guard-asked-of-a-pragma-an-import-and-an-equation.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/one-guard-asked-of-a-pragma-an-import-and-an-equation.hs
+++ /dev/null
@@ -1,16 +0,0 @@
-{-# LANGUAGE CPP #-}
-#ifdef FAST
-{-# LANGUAGE MagicHash #-}
-#endif
-module Terminal.Same (same) where
-#ifdef FAST
-import GHC.Exts ( isTrue#, reallyUnsafePtrEquality# )
-#endif
-same :: a -> a -> Bool
-#ifdef FAST
-same x y  =  isTrue# (reallyUnsafePtrEquality# x y)
-#else
-same _ _  =  False
-#endif
-{-# INLINE same #-}
-infix 4 `same`
diff --git a/corpora/vendored/other/cpp/one-guard-asked-twice-out.hs b/corpora/vendored/other/cpp/one-guard-asked-twice-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/one-guard-asked-twice-out.hs
+++ /dev/null
@@ -1,43 +0,0 @@
-{-# LANGUAGE CPP #-}
-#if defined(HAVE_PATTERNS)
-{-# LANGUAGE PatternSynonyms #-}
-#endif
-
-module Terminal.Key
-  ( Key (..),
-    keyCode,
-#ifndef NO_NAMES
-    keyName,
-    keyLabel,
-#if defined(HAVE_PATTERNS)
-    pattern Escape,
-    pattern Enter,
-#endif
-    keyGlyph,
-#endif
-  )
-where
-
-data Key = Key Int
-
-keyCode :: Key -> Int
-keyCode (Key c) = c
-
-#ifndef NO_NAMES
-keyName :: Key -> String
-keyName (Key c) = "key" <> show c
-
-keyLabel :: Key -> String
-keyLabel k = "<" <> keyName k <> ">"
-
-keyGlyph :: Key -> Char
-keyGlyph (Key c) = toEnum c
-#endif
-
-#if defined(HAVE_PATTERNS)
-pattern Escape :: Key
-pattern Escape = Key 27
-
-pattern Enter :: Key
-pattern Enter = Key 13
-#endif
diff --git a/corpora/vendored/other/cpp/one-guard-asked-twice.hs b/corpora/vendored/other/cpp/one-guard-asked-twice.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/one-guard-asked-twice.hs
+++ /dev/null
@@ -1,43 +0,0 @@
-{-# LANGUAGE CPP #-}
-#if defined(HAVE_PATTERNS)
-{-# LANGUAGE PatternSynonyms #-}
-#endif
-
-module Terminal.Key
-  ( Key (..),
-    keyCode,
-#ifndef NO_NAMES
-    keyName,
-    keyLabel,
-#if defined(HAVE_PATTERNS)
-    pattern Escape,
-    pattern Enter,
-#endif
-    keyGlyph,
-#endif
-  )
-where
-
-data Key = Key Int
-
-keyCode :: Key -> Int
-keyCode (Key c)  =  c
-
-#ifndef NO_NAMES
-keyName :: Key -> String
-keyName (Key c)  =  "key" <> show c
-
-keyLabel :: Key -> String
-keyLabel k  =  "<" <> keyName k <> ">"
-
-keyGlyph :: Key -> Char
-keyGlyph (Key c)  =  toEnum c
-#endif
-
-#if defined(HAVE_PATTERNS)
-pattern Escape :: Key
-pattern Escape  =  Key 27
-
-pattern Enter :: Key
-pattern Enter  =  Key 13
-#endif
diff --git a/corpora/vendored/other/cpp/one-question-asked-twice-with-a-comment-between-out.hs b/corpora/vendored/other/cpp/one-question-asked-twice-with-a-comment-between-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/one-question-asked-twice-with-a-comment-between-out.hs
+++ /dev/null
@@ -1,14 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Console (isConsole) where
-
-#ifdef WINDOWS
-import System.Win32.Console (getConsoleMode)
-#endif
-
--- Everything below works the same everywhere.
-
-#ifdef WINDOWS
-isConsole :: Handle -> IO Bool
-isConsole h = (/= 0) <$> getConsoleMode h
-#endif
diff --git a/corpora/vendored/other/cpp/one-question-asked-twice-with-a-comment-between.hs b/corpora/vendored/other/cpp/one-question-asked-twice-with-a-comment-between.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/one-question-asked-twice-with-a-comment-between.hs
+++ /dev/null
@@ -1,14 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Console (isConsole) where
-
-#ifdef WINDOWS
-import System.Win32.Console (getConsoleMode)
-#endif
-
--- Everything below works the same everywhere.
-
-#ifdef WINDOWS
-isConsole :: Handle -> IO Bool
-isConsole h = (/= 0) <$> getConsoleMode h
-#endif
diff --git a/corpora/vendored/other/cpp/operand-differing-across-branches-out.hs b/corpora/vendored/other/cpp/operand-differing-across-branches-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/operand-differing-across-branches-out.hs
+++ /dev/null
@@ -1,24 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Main (main) where
-
-main :: IO ()
-main = do
-  when (verbosity >= 4)
-#if MIN_VERSION_base(4,10,0)
-    $
-      let dump = putStrLn . render
-            where
-              render = show
-       in liftIO $ dump settings
-#elif MIN_VERSION_base(4,9,0)
-    $
-      let dump = print
-       in liftIO $ dump settings
-#else
-    $ liftIO
-    $ dump settings
-#endif
-
-  when (verbosity >= 3) $ do
-    putStrLn "done"
diff --git a/corpora/vendored/other/cpp/operand-differing-across-branches.hs b/corpora/vendored/other/cpp/operand-differing-across-branches.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/operand-differing-across-branches.hs
+++ /dev/null
@@ -1,19 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Main (main) where
-
-main :: IO ()
-main = do
-  when (verbosity >= 4) $
-#if MIN_VERSION_base(4,10,0)
-        let dump = putStrLn . render
-                where render = show
-        in
-#elif MIN_VERSION_base(4,9,0)
-        let dump = print
-        in
-#endif
-        liftIO $ dump settings
-
-  when (verbosity >= 3) $ do
-        putStrLn "done"
diff --git a/corpora/vendored/other/cpp/operator-continuing-a-statement-after-a-conditional-out.hs b/corpora/vendored/other/cpp/operator-continuing-a-statement-after-a-conditional-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/operator-continuing-a-statement-after-a-conditional-out.hs
+++ /dev/null
@@ -1,14 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Lens.Classy where
-
-makeClassy :: Name -> Q [Dec]
-makeClassy name = do
-  methods <- classMethods name
-#if MIN_VERSION_template_haskell(2,21,0)
-  classD (cxt []) name [] [] [] methods $
-#else
-  classD (cxt []) name [] [] methods $
-#endif
-    sigD (mkName "lensOf") (conT name)
-      : fmap pure methods
diff --git a/corpora/vendored/other/cpp/operator-continuing-a-statement-after-a-conditional.hs b/corpora/vendored/other/cpp/operator-continuing-a-statement-after-a-conditional.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/operator-continuing-a-statement-after-a-conditional.hs
+++ /dev/null
@@ -1,14 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Lens.Classy where
-
-makeClassy :: Name -> Q [Dec]
-makeClassy name = do
-  methods <- classMethods name
-#if MIN_VERSION_template_haskell(2,21,0)
-  classD (cxt []) name [] [] [] methods
-#else
-  classD (cxt []) name [] [] methods
-#endif
-    $ sigD (mkName "lensOf") (conT name)
-    : fmap pure methods
diff --git a/corpora/vendored/other/cpp/overlap-pragma-behind-a-conditional-out.hs b/corpora/vendored/other/cpp/overlap-pragma-behind-a-conditional-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/overlap-pragma-behind-a-conditional-out.hs
+++ /dev/null
@@ -1,23 +0,0 @@
-{-# LANGUAGE CPP #-}
-{-# LANGUAGE FlexibleInstances #-}
-{-# LANGUAGE StandaloneDeriving #-}
-
-module Route.Stop where
-
-class Describe a where
-  describe :: a -> String
-
-instance
-#if __GLASGOW_HASKELL__ >= 710
-  {-# OVERLAPPABLE #-}
-#endif
-  (Show a) => Describe [a] where
-  describe = unwords . map show
-
-newtype Stop = Stop Int
-
-deriving instance
-#ifdef WITH_OVERLAPS
-  {-# OVERLAPPING #-}
-#endif
-  Show Stop
diff --git a/corpora/vendored/other/cpp/overlap-pragma-behind-a-conditional.hs b/corpora/vendored/other/cpp/overlap-pragma-behind-a-conditional.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/overlap-pragma-behind-a-conditional.hs
+++ /dev/null
@@ -1,23 +0,0 @@
-{-# LANGUAGE CPP #-}
-{-# LANGUAGE FlexibleInstances #-}
-{-# LANGUAGE StandaloneDeriving #-}
-
-module Route.Stop where
-
-class Describe a where
-  describe :: a -> String
-
-instance
-#if __GLASGOW_HASKELL__ >= 710
-    {-# OVERLAPPABLE #-}
-#endif
-    (Show a) => Describe [a] where
-  describe = unwords . map show
-
-newtype Stop = Stop Int
-
-deriving instance
-#ifdef WITH_OVERLAPS
-    {-# OVERLAPPING #-}
-#endif
-    Show Stop
diff --git a/corpora/vendored/other/cpp/pragma-and-import-in-a-conditional-with-no-header-out.hs b/corpora/vendored/other/cpp/pragma-and-import-in-a-conditional-with-no-header-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/pragma-and-import-in-a-conditional-with-no-header-out.hs
+++ /dev/null
@@ -1,10 +0,0 @@
-{-# LANGUAGE CPP #-}
-#if !MIN_VERSION_base(4,8,0)
-{-# LANGUAGE DeriveDataTypeable #-}
-
-import Control.Applicative ((<$>))
-#endif
-import Data.Int
-
-main :: IO ()
-main = pure ()
diff --git a/corpora/vendored/other/cpp/pragma-and-import-in-a-conditional-with-no-header.hs b/corpora/vendored/other/cpp/pragma-and-import-in-a-conditional-with-no-header.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/pragma-and-import-in-a-conditional-with-no-header.hs
+++ /dev/null
@@ -1,11 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-#if !MIN_VERSION_base(4,8,0)
-{-# LANGUAGE DeriveDataTypeable #-}
-import Control.Applicative ((<$>))
-#endif
-
-import Data.Int
-
-main :: IO ()
-main  =  pure ()
diff --git a/corpora/vendored/other/cpp/pragma-behind-a-question-asked-again-inside-out.hs b/corpora/vendored/other/cpp/pragma-behind-a-question-asked-again-inside-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/pragma-behind-a-question-asked-again-inside-out.hs
+++ /dev/null
@@ -1,15 +0,0 @@
-{-# LANGUAGE CPP #-}
-#ifdef USE_MAGIC_PROXY
-{-# LANGUAGE MagicHash #-}
-#endif
-
-module Data.Map.Internal where
-
-import Data.Maybe (fromMaybe)
-#if __GLASGOW_HASKELL__
-import GHC.Exts (build, lazy)
-#ifdef USE_MAGIC_PROXY
-import GHC.Exts (Proxy#, proxy#)
-#endif
-import Data.Coerce
-#endif
diff --git a/corpora/vendored/other/cpp/pragma-behind-a-question-asked-again-inside.hs b/corpora/vendored/other/cpp/pragma-behind-a-question-asked-again-inside.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/pragma-behind-a-question-asked-again-inside.hs
+++ /dev/null
@@ -1,15 +0,0 @@
-{-# LANGUAGE CPP #-}
-#ifdef USE_MAGIC_PROXY
-{-# LANGUAGE MagicHash #-}
-#endif
-
-module Data.Map.Internal where
-
-import Data.Maybe (fromMaybe)
-#if __GLASGOW_HASKELL__
-import GHC.Exts (build, lazy)
-#  ifdef USE_MAGIC_PROXY
-import GHC.Exts (Proxy#, proxy#)
-#  endif
-import Data.Coerce
-#endif
diff --git a/corpora/vendored/other/cpp/preprocessor-turned-on-by-a-flag-out.hs b/corpora/vendored/other/cpp/preprocessor-turned-on-by-a-flag-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/preprocessor-turned-on-by-a-flag-out.hs
+++ /dev/null
@@ -1,10 +0,0 @@
-{-# OPTIONS -cpp #-}
-
-module Version where
-
-#if __GLASGOW_HASKELL__ >= 900
-f :: Int
-#else
-f :: Integer
-#endif
-f = 1
diff --git a/corpora/vendored/other/cpp/preprocessor-turned-on-by-a-flag.hs b/corpora/vendored/other/cpp/preprocessor-turned-on-by-a-flag.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/preprocessor-turned-on-by-a-flag.hs
+++ /dev/null
@@ -1,9 +0,0 @@
-{-# OPTIONS -cpp #-}
-module Version where
-
-#if __GLASGOW_HASKELL__ >= 900
-f :: Int
-#else
-f :: Integer
-#endif
-f = 1
diff --git a/corpora/vendored/other/cpp/qualified-imports-written-in-different-branches-out.hs b/corpora/vendored/other/cpp/qualified-imports-written-in-different-branches-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/qualified-imports-written-in-different-branches-out.hs
+++ /dev/null
@@ -1,15 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Text (strip) where
-
-import Text.Read (readMaybe)
-#ifdef WITH_LAZY_TEXT
-import qualified Data.Text.Lazy as T
-#else
-import qualified Data.Text as T
-#endif
-  hiding (lines)
-import Data.Char (isSpace)
-
-strip :: T.Text -> T.Text
-strip = T.strip
diff --git a/corpora/vendored/other/cpp/qualified-imports-written-in-different-branches.hs b/corpora/vendored/other/cpp/qualified-imports-written-in-different-branches.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/qualified-imports-written-in-different-branches.hs
+++ /dev/null
@@ -1,15 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Text (strip) where
-
-import Text.Read (readMaybe)
-#ifdef WITH_LAZY_TEXT
-import qualified Data.Text.Lazy as T
-#else
-import qualified Data.Text as T
-#endif
-    hiding (lines)
-import Data.Char (isSpace)
-
-strip :: T.Text -> T.Text
-strip  =  T.strip
diff --git a/corpora/vendored/other/cpp/question-asked-again-inside-a-declaration-out.hs b/corpora/vendored/other/cpp/question-asked-again-inside-a-declaration-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/question-asked-again-inside-a-declaration-out.hs
+++ /dev/null
@@ -1,18 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Network.Client (connect) where
-
-#if MIN_VERSION_network(3,0,0)
-connect :: Socket -> SockAddr -> Int -> IO Connection
-connect sock addr timeout = do
-#else
-connect :: Socket -> SockAddr -> IO Connection
-connect sock addr = do
-#endif
-  handle <- socketToHandle sock ReadWriteMode
-  peer <- getPeerName sock
-#if MIN_VERSION_network(3,0,0)
-  withTimeout timeout (open handle peer)
-#else
-  open handle peer
-#endif
diff --git a/corpora/vendored/other/cpp/question-asked-again-inside-a-declaration.hs b/corpora/vendored/other/cpp/question-asked-again-inside-a-declaration.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/question-asked-again-inside-a-declaration.hs
+++ /dev/null
@@ -1,18 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Network.Client (connect) where
-
-#if MIN_VERSION_network(3,0,0)
-connect :: Socket -> SockAddr -> Int -> IO Connection
-connect sock addr timeout = do
-#else
-connect :: Socket -> SockAddr -> IO Connection
-connect sock addr = do
-#endif
-  handle <- socketToHandle sock ReadWriteMode
-  peer <- getPeerName sock
-#if MIN_VERSION_network(3,0,0)
-  withTimeout timeout (open handle peer)
-#else
-  open handle peer
-#endif
diff --git a/corpora/vendored/other/cpp/record-closed-in-each-branch-out.hs b/corpora/vendored/other/cpp/record-closed-in-each-branch-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/record-closed-in-each-branch-out.hs
+++ /dev/null
@@ -1,15 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Network.Address where
-
-data Address = Address
-  { -- | @www.haskell.org@
-    addressHost :: String,
-    -- | @42@
-    addressPort :: Int
-  }
-#if __GLASGOW_HASKELL__ >= 702
-  deriving (Eq, Ord, Show, Generic)
-#else
-  deriving (Eq, Ord, Show)
-#endif
diff --git a/corpora/vendored/other/cpp/record-closed-in-each-branch.hs b/corpora/vendored/other/cpp/record-closed-in-each-branch.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/record-closed-in-each-branch.hs
+++ /dev/null
@@ -1,12 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Network.Address where
-
-data Address = Address
-    { addressHost   :: String  -- ^ @www.haskell.org@
-    , addressPort   :: Int     -- ^ @42@
-#if __GLASGOW_HASKELL__ >= 702
-    } deriving (Eq, Ord, Show, Generic)
-#else
-    } deriving (Eq, Ord, Show)
-#endif
diff --git a/corpora/vendored/other/cpp/record-field-begun-in-each-branch-out.hs b/corpora/vendored/other/cpp/record-field-begun-in-each-branch-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/record-field-begun-in-each-branch-out.hs
+++ /dev/null
@@ -1,16 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Xeno.DOM (parse) where
-
-parse :: Process
-parse =
-  Process
-    {
-#if MIN_VERSION_bytestring(0,11,0)
-      openF = \(BS name_start name_len) -> do
-#else
-      openF = \(PS _ name_start name_len) -> do
-#endif
-        index <- readRef sizeRef
-        write index name_start name_len
-    }
diff --git a/corpora/vendored/other/cpp/record-field-begun-in-each-branch.hs b/corpora/vendored/other/cpp/record-field-begun-in-each-branch.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/record-field-begun-in-each-branch.hs
+++ /dev/null
@@ -1,14 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Xeno.DOM (parse) where
-
-parse :: Process
-parse = Process {
-#if MIN_VERSION_bytestring(0,11,0)
-    openF = \(BS name_start name_len) -> do
-#else
-    openF = \(PS _ name_start name_len) -> do
-#endif
-      index <- readRef sizeRef
-      write index name_start name_len
-  }
diff --git a/corpora/vendored/other/cpp/record-fields-begun-in-each-branch-out.hs b/corpora/vendored/other/cpp/record-fields-begun-in-each-branch-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/record-fields-begun-in-each-branch-out.hs
+++ /dev/null
@@ -1,34 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Xeno.DOM.Robust (parse) where
-
-parse :: Process
-parse =
-  Process
-    {
-#if MIN_VERSION_bytestring(0,11,0)
-      openF = \(BS name_start name_len) -> do
-#else
-      openF = \(PS _ name_start name_len) -> do
-#endif
-        index <- readRef sizeRef
-        write index name_start name_len,
-#if MIN_VERSION_bytestring(0,11,0)
-      textF = \(BS text_start text_len) -> do
-#else
-      textF = \(PS _ text_start text_len) -> do
-#endif
-        write 0 text_start text_len,
-#if MIN_VERSION_bytestring(0,11,0)
-      closeF = \closeTag@(BS _ _) -> do
-#else
-      closeF = \closeTag@(PS s _ _) -> do
-#endif
-        parent <- readRef parentRef
-#if MIN_VERSION_bytestring(0,11,0)
-        let openTag = BS (plusForeignPtr offset0 parent) 0
-#else
-        let openTag = PS s (parent + offset0) 0
-#endif
-        pure (openTag == closeTag)
-    }
diff --git a/corpora/vendored/other/cpp/record-fields-begun-in-each-branch.hs b/corpora/vendored/other/cpp/record-fields-begun-in-each-branch.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/record-fields-begun-in-each-branch.hs
+++ /dev/null
@@ -1,32 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Xeno.DOM.Robust (parse) where
-
-parse :: Process
-parse = Process {
-#if MIN_VERSION_bytestring(0,11,0)
-    openF = \(BS name_start name_len) -> do
-#else
-    openF = \(PS _ name_start name_len) -> do
-#endif
-      index <- readRef sizeRef
-      write index name_start name_len
-#if MIN_VERSION_bytestring(0,11,0)
-  , textF = \(BS text_start text_len) -> do
-#else
-  , textF = \(PS _ text_start text_len) -> do
-#endif
-      write 0 text_start text_len
-#if MIN_VERSION_bytestring(0,11,0)
-  , closeF = \closeTag@(BS _ _) -> do
-#else
-  , closeF = \closeTag@(PS s _ _) -> do
-#endif
-      parent <- readRef parentRef
-#if MIN_VERSION_bytestring(0,11,0)
-      let openTag = BS (plusForeignPtr offset0 parent) 0
-#else
-      let openTag = PS s (parent + offset0) 0
-#endif
-      pure (openTag == closeTag)
-  }
diff --git a/corpora/vendored/other/cpp/ruled-out-branch-holding-nothing-out.hs b/corpora/vendored/other/cpp/ruled-out-branch-holding-nothing-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/ruled-out-branch-holding-nothing-out.hs
+++ /dev/null
@@ -1,12 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module M where
-
-#if FLAG
-g = 1
-#else
-#if FLAG
-#else
-f = 1
-#endif
-#endif
diff --git a/corpora/vendored/other/cpp/ruled-out-branch-holding-nothing.hs b/corpora/vendored/other/cpp/ruled-out-branch-holding-nothing.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/ruled-out-branch-holding-nothing.hs
+++ /dev/null
@@ -1,12 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module M where
-
-#if FLAG
-g = 1
-#else
-#if FLAG
-#else
-f = 1
-#endif
-#endif
diff --git a/corpora/vendored/other/cpp/same-guard-twice-out.hs b/corpora/vendored/other/cpp/same-guard-twice-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/same-guard-twice-out.hs
+++ /dev/null
@@ -1,17 +0,0 @@
-{-# LANGUAGE CPP #-}
-{-# LANGUAGE RankNTypes #-}
-
-module Terminal.Run (runFrame) where
-
-import Control.Monad.ST (ST, runST)
-import Terminal.Buffer (Buffer, freeze, shrink)
-#if defined(ASSERTS)
-import GHC.Stack (HasCallStack)
-#endif
-
-runFrame ::
-#if defined(ASSERTS)
-  (HasCallStack) =>
-#endif
-  (forall s. (Buffer s -> Int -> ST s Buffer) -> ST s Buffer) -> Buffer
-runFrame act = runST (act (\buffer used -> shrink buffer used >> freeze buffer))
diff --git a/corpora/vendored/other/cpp/same-guard-twice.hs b/corpora/vendored/other/cpp/same-guard-twice.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/same-guard-twice.hs
+++ /dev/null
@@ -1,18 +0,0 @@
-{-# LANGUAGE CPP #-}
-{-# LANGUAGE RankNTypes #-}
-
-module Terminal.Run (runFrame) where
-
-import Control.Monad.ST (ST, runST)
-import Terminal.Buffer (Buffer, freeze, shrink)
-
-#if defined(ASSERTS)
-import GHC.Stack (HasCallStack)
-#endif
-
-runFrame ::
-#if defined(ASSERTS)
-  (HasCallStack) =>
-#endif
-  (forall s. (Buffer s -> Int -> ST s Buffer) -> ST s Buffer) -> Buffer
-runFrame act  =  runST (act (\buffer used -> shrink buffer used >> freeze buffer))
diff --git a/corpora/vendored/other/cpp/section-headings-among-comments-out.hs b/corpora/vendored/other/cpp/section-headings-among-comments-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/section-headings-among-comments-out.hs
+++ /dev/null
@@ -1,23 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Inventory where
-
-#ifdef STRICT
-count = 0
-#else
-count = 1
-#endif
-
--- Plan:
---
--- * Count what comes in. Count what goes
---   out as well.
---
--- * Never count twice.
-
-----------------------------------------------------------------------------
--- * Making items
-----------------------------------------------------------------------------
-
--- | One thing on a shelf.
-data Item = Item
diff --git a/corpora/vendored/other/cpp/section-headings-among-comments.hs b/corpora/vendored/other/cpp/section-headings-among-comments.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/section-headings-among-comments.hs
+++ /dev/null
@@ -1,22 +0,0 @@
-{-# LANGUAGE CPP #-}
-module Inventory where
-
-#ifdef STRICT
-count = 0
-#else
-count = 1
-#endif
-
--- Plan:
---
--- * Count what comes in. Count what goes
---   out as well.
---
--- * Never count twice.
-
-----------------------------------------------------------------------------
--- * Making items
-----------------------------------------------------------------------------
-
--- | One thing on a shelf.
-data Item = Item
diff --git a/corpora/vendored/other/cpp/settled-in-imports-and-in-declarations-out.hs b/corpora/vendored/other/cpp/settled-in-imports-and-in-declarations-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/settled-in-imports-and-in-declarations-out.hs
+++ /dev/null
@@ -1,37 +0,0 @@
-{-# LANGUAGE CPP #-}
-#if __GLASGOW_HASKELL__
-{-# LANGUAGE DeriveLift #-}
-{-# LANGUAGE StandaloneDeriving #-}
-{-# LANGUAGE TemplateHaskellQuotes #-}
-#endif
-#ifdef USE_ST
-{-# LANGUAGE RankNTypes #-}
-#endif
-
-module Graph where
-
-import Data.List (sort)
-#ifdef __GLASGOW_HASKELL__
-import Language.Haskell.TH.Syntax (Lift (..))
-#endif
-
-data SCC v = AcyclicSCC v
-
-#ifdef __GLASGOW_HASKELL__
-deriving instance (Show v) => Show (SCC v)
-
-#if MIN_VERSION_template_haskell(2,15,0)
-deriving instance (Lift v) => Lift (SCC v)
-#else
-instance (Lift v) => Lift (SCC v) where
-  lift (AcyclicSCC v) = [|AcyclicSCC v|]
-#endif
-#endif
-
-#if USE_ST
-run :: (forall s. s -> s) -> Int
-run f = f 1
-#endif
-
-f :: Int
-f = 1
diff --git a/corpora/vendored/other/cpp/settled-in-imports-and-in-declarations.hs b/corpora/vendored/other/cpp/settled-in-imports-and-in-declarations.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/settled-in-imports-and-in-declarations.hs
+++ /dev/null
@@ -1,38 +0,0 @@
-{-# LANGUAGE CPP #-}
-#if __GLASGOW_HASKELL__
-{-# LANGUAGE StandaloneDeriving #-}
-{-# LANGUAGE DeriveLift #-}
-{-# LANGUAGE TemplateHaskellQuotes #-}
-#endif
-#ifdef USE_ST
-{-# LANGUAGE RankNTypes #-}
-#endif
-module Graph where
-
-import Data.List (sort)
-
-#ifdef __GLASGOW_HASKELL__
-import Language.Haskell.TH.Syntax (Lift(..))
-#endif
-
-data SCC v = AcyclicSCC v
-
-#ifdef __GLASGOW_HASKELL__
-deriving instance Show v => Show (SCC v)
-
-#if MIN_VERSION_template_haskell(2,15,0)
-deriving instance Lift v => Lift (SCC v)
-#else
-instance Lift v => Lift (SCC v) where
-  lift (AcyclicSCC v) = [| AcyclicSCC v |]
-#endif
-
-#endif
-
-#if USE_ST
-run :: (forall s. s -> s) -> Int
-run f = f 1
-#endif
-
-f :: Int
-f = 1
diff --git a/corpora/vendored/other/cpp/side-by-side-out.hs b/corpora/vendored/other/cpp/side-by-side-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/side-by-side-out.hs
+++ /dev/null
@@ -1,22 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Feature where
-
-#ifdef WITH_MOUSE
-mouse :: Bool
-mouse = True
-#else
-mouse :: Bool
-mouse = False
-#endif
-
-always :: Bool
-always = True
-
-#ifdef WITH_BRACKETED_PASTE
-paste :: Bool
-paste = True
-#endif
-
-version :: Int
-version = 3
diff --git a/corpora/vendored/other/cpp/side-by-side.hs b/corpora/vendored/other/cpp/side-by-side.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/side-by-side.hs
+++ /dev/null
@@ -1,22 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Feature where
-
-#ifdef WITH_MOUSE
-mouse  ::  Bool
-mouse  =  True
-#else
-mouse  ::  Bool
-mouse  =  False
-#endif
-
-always :: Bool
-always  =  True
-
-#ifdef WITH_BRACKETED_PASTE
-paste  ::  Bool
-paste  =  True
-#endif
-
-version :: Int
-version  =  3
diff --git a/corpora/vendored/other/cpp/spaced-hash-out.hs b/corpora/vendored/other/cpp/spaced-hash-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/spaced-hash-out.hs
+++ /dev/null
@@ -1,14 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Signal where
-
-interrupt :: Int
-interrupt = 2
-
-#if defined(HAS_SIGWINCH)
-resize :: Int
-resize = 28
-#else
-resize :: Int
-resize = 0
-#endif
diff --git a/corpora/vendored/other/cpp/spaced-hash.hs b/corpora/vendored/other/cpp/spaced-hash.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/spaced-hash.hs
+++ /dev/null
@@ -1,14 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Signal where
-
-interrupt :: Int
-interrupt  =  2
-
-# if defined(HAS_SIGWINCH)
-resize  ::  Int
-resize  =  28
-# else
-resize  ::  Int
-resize  =  0
-# endif
diff --git a/corpora/vendored/other/cpp/text-after-else-and-endif-out.hs b/corpora/vendored/other/cpp/text-after-else-and-endif-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/text-after-else-and-endif-out.hs
+++ /dev/null
@@ -1,27 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Features
-  ( supportsColour,
-#ifndef NO_PASTE
-    supportsPaste,
-#endif /* NO_PASTE */
-  )
-where
-
-#ifdef WINDOWS /* the console */
-supportsColour :: Bool
-supportsColour = False
-#else /* a terminal */
-supportsColour :: Bool
-supportsColour = True
-#endif /* WINDOWS */
-
-#if MIN_VERSION_base(4,20,0)
-#else   /* nothing to add */
-#endif  // MIN_VERSION_base
-
-#ifndef NO_PASTE
-supportsPaste :: Bool
-supportsPaste = True
-#else /* NO_PASTE */
-#endif
diff --git a/corpora/vendored/other/cpp/text-after-else-and-endif.hs b/corpora/vendored/other/cpp/text-after-else-and-endif.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/text-after-else-and-endif.hs
+++ /dev/null
@@ -1,27 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Features
-  ( supportsColour,
-#ifndef NO_PASTE
-    supportsPaste,
-#endif /* NO_PASTE */
-  )
-where
-
-#ifdef WINDOWS /* the console */
-supportsColour :: Bool
-supportsColour  =  False
-#else /* a terminal */
-supportsColour :: Bool
-supportsColour  =  True
-#endif /* WINDOWS */
-
-#if MIN_VERSION_base(4,20,0)
-#else   /* nothing to add */
-#endif  // MIN_VERSION_base
-
-#ifndef NO_PASTE
-supportsPaste :: Bool
-supportsPaste  =  True
-#else /* NO_PASTE */
-#endif
diff --git a/corpora/vendored/other/cpp/trailing-comment-above-a-directive-out.hs b/corpora/vendored/other/cpp/trailing-comment-above-a-directive-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/trailing-comment-above-a-directive-out.hs
+++ /dev/null
@@ -1,18 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Settings (settings) where
-
-import Options (Options (..), defaultOptions)
-
-settings :: Options
-settings =
-  defaultOptions
-    { optionA = True,
--- Highlighting is on by default, as it was
--- in earlier releases.
-#if MIN_VERSION_base(4,20,0)
-      optionB = True
-#else
-      optionB = False
-#endif
-    }
diff --git a/corpora/vendored/other/cpp/trailing-comment-above-a-directive.hs b/corpora/vendored/other/cpp/trailing-comment-above-a-directive.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/trailing-comment-above-a-directive.hs
+++ /dev/null
@@ -1,18 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Settings (settings) where
-
-import Options (Options (..), defaultOptions)
-
-settings :: Options
-settings =
-  defaultOptions
-    { optionA = True
-    , -- Highlighting is on by default, as it was
-      -- in earlier releases.
-#if MIN_VERSION_base(4,20,0)
-      optionB = True
-#else
-      optionB = False
-#endif
-    }
diff --git a/corpora/vendored/other/cpp/triple-dash-under-a-haddock-out.hs b/corpora/vendored/other/cpp/triple-dash-under-a-haddock-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/triple-dash-under-a-haddock-out.hs
+++ /dev/null
@@ -1,24 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Data.Window where
-
-#if MIN_VERSION_base(4,8,0)
-import Data.List (sort)
-#endif
-
--- | Give a window over a list. GHC ends it at a line beginning with three
--- dashes, so nothing needs to hold the lines from there on off it.
---
--- @
--- window4
----  :: [Int]
---   -> [Int]
--- window4 = window
--- @
-window :: [Int] -> [Int]
-window = id
-
--- | All the windows.
----------------------------------------------------------------------------
-windows :: [[Int]]
-windows = []
diff --git a/corpora/vendored/other/cpp/triple-dash-under-a-haddock.hs b/corpora/vendored/other/cpp/triple-dash-under-a-haddock.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/triple-dash-under-a-haddock.hs
+++ /dev/null
@@ -1,24 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Data.Window where
-
-#if MIN_VERSION_base(4,8,0)
-import Data.List (sort)
-#endif
-
--- | Give a window over a list. GHC ends it at a line beginning with three
--- dashes, so nothing needs to hold the lines from there on off it.
---
--- @
--- window4
----  :: [Int]
---   -> [Int]
--- window4 = window
--- @
-window :: [Int] -> [Int]
-window = id
-
--- | All the windows.
----------------------------------------------------------------------------
-windows :: [[Int]]
-windows = []
diff --git a/corpora/vendored/other/cpp/two-conditionals-changing-one-run-of-space-out.hs b/corpora/vendored/other/cpp/two-conditionals-changing-one-run-of-space-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/two-conditionals-changing-one-run-of-space-out.hs
+++ /dev/null
@@ -1,23 +0,0 @@
-{-# LANGUAGE CPP #-}
-
--- Taking the #else of the first conditional and the branch of the second,
--- each adds to the space between the first Haddock and the heading, the
--- second nearer the Haddock, which documents what it adds.
-module Codec.Frame where
-
-#if FAST
-#else
--- | Decoding a frame.
-#if MIN_VERSION_bytestring(0,11,0)
-#else
--- | Decoding a frame, copying it first.
-#endif
-#endif
-#if FAST
-#if MIN_VERSION_bytestring(0,11,0)
-#else
-decode = copy
-#endif
-#endif
-
--- * Encoding
diff --git a/corpora/vendored/other/cpp/two-conditionals-changing-one-run-of-space.hs b/corpora/vendored/other/cpp/two-conditionals-changing-one-run-of-space.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/two-conditionals-changing-one-run-of-space.hs
+++ /dev/null
@@ -1,23 +0,0 @@
-{-# LANGUAGE CPP #-}
-
--- Taking the #else of the first conditional and the branch of the second,
--- each adds to the space between the first Haddock and the heading, the
--- second nearer the Haddock, which documents what it adds.
-module Codec.Frame where
-
-#if FAST
-#else
--- | Decoding a frame.
-#if MIN_VERSION_bytestring(0,11,0)
-#else
--- | Decoding a frame, copying it first.
-#endif
-#endif
-#if FAST
-
-#if MIN_VERSION_bytestring(0,11,0)
-#else
-decode = copy
-#endif
-#endif
--- * Encoding
diff --git a/corpora/vendored/other/cpp/two-conditionals-in-one-expression-out.hs b/corpora/vendored/other/cpp/two-conditionals-in-one-expression-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/two-conditionals-in-one-expression-out.hs
+++ /dev/null
@@ -1,12 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module M where
-
-f =
-  a
-#if X
-    + b
-#endif
-#if Y
-    + c
-#endif
diff --git a/corpora/vendored/other/cpp/two-conditionals-in-one-expression.hs b/corpora/vendored/other/cpp/two-conditionals-in-one-expression.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/two-conditionals-in-one-expression.hs
+++ /dev/null
@@ -1,12 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module M where
-
-f =
-  a
-#if X
-    + b
-#endif
-#if Y
-    + c
-#endif
diff --git a/corpora/vendored/other/cpp/unbalanced.hs b/corpora/vendored/other/cpp/unbalanced.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/unbalanced.hs
+++ /dev/null
@@ -1,7 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Truncated where
-
-#ifdef SOMETHING
-value :: Int
-value  =  1
diff --git a/corpora/vendored/other/cpp/version-range-settled-by-its-bound-out.hs b/corpora/vendored/other/cpp/version-range-settled-by-its-bound-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/version-range-settled-by-its-bound-out.hs
+++ /dev/null
@@ -1,21 +0,0 @@
-{-# LANGUAGE CPP #-}
-#if MIN_VERSION_base(4,10,0)
-{-# LANGUAGE MagicHash #-}
-#endif
-
-module Raise (raiseIt, sorted) where
-
-import Control.Exception
-#if MIN_VERSION_base(4,10,0) && !MIN_VERSION_base(4,12,0)
-  hiding (throw)
-import GHC.Exts (raise#)
-#endif
-import Data.List (sort)
-
-#if MIN_VERSION_base(4,10,0)
-raiseIt :: SomeException -> a
-raiseIt = raise#
-#endif
-
-sorted :: [Int] -> [Int]
-sorted = sort
diff --git a/corpora/vendored/other/cpp/version-range-settled-by-its-bound.hs b/corpora/vendored/other/cpp/version-range-settled-by-its-bound.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/version-range-settled-by-its-bound.hs
+++ /dev/null
@@ -1,20 +0,0 @@
-{-# LANGUAGE CPP #-}
-#if MIN_VERSION_base(4,10,0)
-{-# LANGUAGE MagicHash #-}
-#endif
-module Raise (raiseIt, sorted) where
-
-import Control.Exception
-#if MIN_VERSION_base(4,10,0) && !MIN_VERSION_base(4,12,0)
-  hiding (throw)
-import GHC.Exts (raise#)
-#endif
-import Data.List (sort)
-
-#if MIN_VERSION_base(4,10,0)
-raiseIt :: SomeException -> a
-raiseIt = raise#
-#endif
-
-sorted :: [Int] -> [Int]
-sorted = sort
diff --git a/corpora/vendored/other/cpp/version-settled-by-an-older-version-out.hs b/corpora/vendored/other/cpp/version-settled-by-an-older-version-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/version-settled-by-an-older-version-out.hs
+++ /dev/null
@@ -1,18 +0,0 @@
-{-# LANGUAGE CPP #-}
-#if MIN_VERSION_base(4,10,0)
-{-# LANGUAGE MagicHash #-}
-#endif
-
-module Words where
-
-#if MIN_VERSION_base(4,11,0)
-import GHC.Exts (Int (I#), (+#))
-#endif
-
-#if MIN_VERSION_base(4,11,0)
-plusOne :: Int -> Int
-plusOne (I# n) = I# (n +# 1#)
-#else
-plusOne :: Int -> Int
-plusOne n = n + 1
-#endif
diff --git a/corpora/vendored/other/cpp/version-settled-by-an-older-version.hs b/corpora/vendored/other/cpp/version-settled-by-an-older-version.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/version-settled-by-an-older-version.hs
+++ /dev/null
@@ -1,17 +0,0 @@
-{-# LANGUAGE CPP #-}
-#if MIN_VERSION_base(4,10,0)
-{-# LANGUAGE MagicHash #-}
-#endif
-module Words where
-
-#if MIN_VERSION_base(4,11,0)
-import GHC.Exts (Int (I#), (+#))
-#endif
-
-#if MIN_VERSION_base(4,11,0)
-plusOne :: Int -> Int
-plusOne (I# n) = I# (n +# 1#)
-#else
-plusOne :: Int -> Int
-plusOne n = n+1
-#endif
diff --git a/corpora/vendored/other/cpp/version-settled-holding-every-declaration-out.hs b/corpora/vendored/other/cpp/version-settled-holding-every-declaration-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/version-settled-holding-every-declaration-out.hs
+++ /dev/null
@@ -1,14 +0,0 @@
-{-# LANGUAGE CPP #-}
-#if MIN_VERSION_base(4,10,0)
-{-# LANGUAGE MagicHash #-}
-#endif
-
-module Words where
-
-import Data.Bits (shiftL)
-#if MIN_VERSION_base(4,11,0)
-import GHC.Exts (Int (I#), uncheckedIShiftL#)
-
-double :: Int -> Int
-double (I# n) = I# (uncheckedIShiftL# n 1#)
-#endif
diff --git a/corpora/vendored/other/cpp/version-settled-holding-every-declaration.hs b/corpora/vendored/other/cpp/version-settled-holding-every-declaration.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/version-settled-holding-every-declaration.hs
+++ /dev/null
@@ -1,13 +0,0 @@
-{-# LANGUAGE CPP #-}
-#if MIN_VERSION_base(4,10,0)
-{-# LANGUAGE MagicHash #-}
-#endif
-module Words where
-
-import Data.Bits (shiftL)
-#if MIN_VERSION_base(4,11,0)
-import GHC.Exts (Int (I#), uncheckedIShiftL#)
-
-double :: Int -> Int
-double (I# n) = I# (uncheckedIShiftL# n 1#)
-#endif
diff --git a/corpora/vendored/other/cpp/version-settled-where-answers-read-alike-out.hs b/corpora/vendored/other/cpp/version-settled-where-answers-read-alike-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/version-settled-where-answers-read-alike-out.hs
+++ /dev/null
@@ -1,22 +0,0 @@
-{-# LANGUAGE CPP #-}
-
--- No answer turns an extension on, but taking no branch of the first
--- conditional and the branch of the second leaves a comma with nothing
--- before it.
-module Data.Compat
-  (
-#if !(MIN_VERSION_base(4,16,0))
-    Solo (..),
-#endif
-#if !(MIN_VERSION_base(4,14,0))
-    Pair (..),
-#endif
-  )
-where
-
-#if !(MIN_VERSION_base(4,16,0))
-newtype Solo a = Solo a
-#endif
-#if !(MIN_VERSION_base(4,14,0))
-data Pair a = Pair a a
-#endif
diff --git a/corpora/vendored/other/cpp/version-settled-where-answers-read-alike.hs b/corpora/vendored/other/cpp/version-settled-where-answers-read-alike.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/version-settled-where-answers-read-alike.hs
+++ /dev/null
@@ -1,21 +0,0 @@
-{-# LANGUAGE CPP #-}
-
--- No answer turns an extension on, but taking no branch of the first
--- conditional and the branch of the second leaves a comma with nothing
--- before it.
-module Data.Compat
-  (
-#if !(MIN_VERSION_base(4,16,0))
-    Solo (..)
-#endif
-#if !(MIN_VERSION_base(4,14,0))
-  , Pair (..)
-#endif
-  ) where
-
-#if !(MIN_VERSION_base(4,16,0))
-newtype Solo a = Solo a
-#endif
-#if !(MIN_VERSION_base(4,14,0))
-data Pair a = Pair a a
-#endif
diff --git a/corpora/vendored/other/cpp/where-after-an-export-list-in-a-conditional-out.hs b/corpora/vendored/other/cpp/where-after-an-export-list-in-a-conditional-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/where-after-an-export-list-in-a-conditional-out.hs
+++ /dev/null
@@ -1,16 +0,0 @@
-{-# LANGUAGE CPP #-}
-
--- | Shapes, with an export list unless the doctests read the module.
-module Shapes
-#ifndef DOCTEST
-  ( Shape (..),
-    area,
-  )
-#endif
-where
-
-data Shape = Square Double | Circle Double
-
-area :: Shape -> Double
-area (Square a) = a * a
-area (Circle r) = pi * r * r
diff --git a/corpora/vendored/other/cpp/where-after-an-export-list-in-a-conditional.hs b/corpora/vendored/other/cpp/where-after-an-export-list-in-a-conditional.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/where-after-an-export-list-in-a-conditional.hs
+++ /dev/null
@@ -1,15 +0,0 @@
-{-# LANGUAGE CPP #-}
--- | Shapes, with an export list unless the doctests read the module.
-module Shapes
-#ifndef DOCTEST
-  ( Shape (..)
-  , area
-  )
-#endif
-where
-
-data Shape = Square Double | Circle Double
-
-area :: Shape -> Double
-area (Square a) = a * a
-area (Circle r) = pi * r * r
diff --git a/corpora/vendored/other/cpp/where-clause-after-the-branches-out.hs b/corpora/vendored/other/cpp/where-clause-after-the-branches-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/where-clause-after-the-branches-out.hs
+++ /dev/null
@@ -1,50 +0,0 @@
-{-# LANGUAGE CPP #-}
-
--- A where clause written once, after the branches of an equation, stays
--- there rather than going into each of them.
-module Cache.Evict where
-
-evict :: Int -> Int
-#if MIN_VERSION_base(4,16,0)
-evict n = keep (n - 1)
-#else
-evict n = keep n
-#endif
-  where
-    keep = max 0
-
--- Guards in one branch and not the other.
-shrink :: Int -> Int
-#if MIN_VERSION_base(4,16,0)
-shrink n
-  | n > limit = limit
-  | otherwise = n
-#else
-shrink n = min n limit
-#endif
-  where
-    limit = 64
-
--- The same for an alternative of a case.
-stale :: Maybe Int -> Int
-stale m = case m of
-#if MIN_VERSION_base(4,16,0)
-  Just n -> age n
-#else
-  Just n -> age (n + 1)
-#endif
-    where
-      age = subtract 1
-  Nothing -> 0
-
--- A where clause in each branch stays in each.
-expire :: Int -> Int
-#if MIN_VERSION_base(4,16,0)
-expire n = ttl n
-  where
-    ttl = (* 2)
-#else
-expire n = ttl n
-  where
-    ttl = id
-#endif
diff --git a/corpora/vendored/other/cpp/where-clause-after-the-branches.hs b/corpora/vendored/other/cpp/where-clause-after-the-branches.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/where-clause-after-the-branches.hs
+++ /dev/null
@@ -1,50 +0,0 @@
-{-# LANGUAGE CPP #-}
-
--- A where clause written once, after the branches of an equation, stays
--- there rather than going into each of them.
-module Cache.Evict where
-
-evict :: Int -> Int
-#if MIN_VERSION_base(4,16,0)
-evict n = keep (n - 1)
-#else
-evict n = keep n
-#endif
-  where
-    keep = max 0
-
--- Guards in one branch and not the other.
-shrink :: Int -> Int
-#if MIN_VERSION_base(4,16,0)
-shrink n
-  | n > limit = limit
-  | otherwise = n
-#else
-shrink n = min n limit
-#endif
-  where
-    limit = 64
-
--- The same for an alternative of a case.
-stale :: Maybe Int -> Int
-stale m = case m of
-#if MIN_VERSION_base(4,16,0)
-  Just n -> age n
-#else
-  Just n -> age (n + 1)
-#endif
-    where
-      age = subtract 1
-  Nothing -> 0
-
--- A where clause in each branch stays in each.
-expire :: Int -> Int
-#if MIN_VERSION_base(4,16,0)
-expire n = ttl n
-  where
-    ttl = (* 2)
-#else
-expire n = ttl n
-  where
-    ttl = id
-#endif
diff --git a/corpora/vendored/other/cpp/whole-declarations-out.hs b/corpora/vendored/other/cpp/whole-declarations-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/whole-declarations-out.hs
+++ /dev/null
@@ -1,17 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Palette where
-
-reset :: String
-reset = "\ESC[0m"
-
-#ifdef TRUECOLOUR
-paint :: Int -> Int -> Int -> String
-paint r g b = "\ESC[38;2;" ++ show r ++ ";" ++ show g ++ ";" ++ show b ++ "m"
-#else
-paint :: Int -> Int -> Int -> String
-paint _ _ _ = ""
-#endif
-
-clear :: String
-clear = "\ESC[2J"
diff --git a/corpora/vendored/other/cpp/whole-declarations.hs b/corpora/vendored/other/cpp/whole-declarations.hs
deleted file mode 100644
--- a/corpora/vendored/other/cpp/whole-declarations.hs
+++ /dev/null
@@ -1,17 +0,0 @@
-{-# LANGUAGE CPP #-}
-
-module Terminal.Palette where
-
-reset :: String
-reset  =  "\ESC[0m"
-
-#ifdef TRUECOLOUR
-paint    ::  Int -> Int -> Int -> String
-paint r g b  =  "\ESC[38;2;" ++ show r ++ ";" ++ show g ++ ";" ++ show b ++ "m"
-#else
-paint    ::  Int -> Int -> Int -> String
-paint _ _ _  =  ""
-#endif
-
-clear :: String
-clear  =  "\ESC[2J"
diff --git a/corpora/vendored/other/declarations-on-one-line-out.hs b/corpora/vendored/other/declarations-on-one-line-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/declarations-on-one-line-out.hs
+++ /dev/null
@@ -1,7 +0,0 @@
-{-# LANGUAGE TemplateHaskell #-}
-
-module Grid.Sizes where
-
-sizes = [d|width = 80; height = 24|]
-
-limits = [d|maxWidth :: Int; maxWidth = 200; minWidth = 10|]
diff --git a/corpora/vendored/other/declarations-on-one-line.hs b/corpora/vendored/other/declarations-on-one-line.hs
deleted file mode 100644
--- a/corpora/vendored/other/declarations-on-one-line.hs
+++ /dev/null
@@ -1,7 +0,0 @@
-{-# LANGUAGE TemplateHaskell #-}
-
-module Grid.Sizes where
-
-sizes = [d| width = 80; height = 24 |]
-
-limits = [d| maxWidth :: Int; maxWidth = 200; minWidth = 10 |]
diff --git a/corpora/vendored/other/deriving-blocks-the-author-grouped-out.hs b/corpora/vendored/other/deriving-blocks-the-author-grouped-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/deriving-blocks-the-author-grouped-out.hs
+++ /dev/null
@@ -1,17 +0,0 @@
-{-# LANGUAGE DerivingVia #-}
-{-# LANGUAGE StandaloneDeriving #-}
-
-module Ledger.Posting where
-
-newtype Tallied a = Tallied a
-
-deriving via Tallied Receipt instance Eq Receipt
-deriving via Tallied Receipt instance Ord Receipt
-deriving via Tallied Receipt instance Show Receipt
-
-deriving via Tallied Invoice instance Eq Invoice
-deriving via Tallied Invoice instance Ord Invoice
--- A note written against the block it stands in, and staying inside it.
-deriving via Tallied Invoice instance Show Invoice
-
-deriving via Tallied Memo instance Eq Memo
diff --git a/corpora/vendored/other/deriving-blocks-the-author-grouped.hs b/corpora/vendored/other/deriving-blocks-the-author-grouped.hs
deleted file mode 100644
--- a/corpora/vendored/other/deriving-blocks-the-author-grouped.hs
+++ /dev/null
@@ -1,17 +0,0 @@
-{-# LANGUAGE DerivingVia #-}
-{-# LANGUAGE StandaloneDeriving #-}
-
-module Ledger.Posting where
-
-newtype Tallied a = Tallied a
-
-deriving via Tallied Receipt instance Eq Receipt
-deriving via Tallied Receipt instance Ord Receipt
-deriving via Tallied Receipt instance Show Receipt
-
-deriving via Tallied Invoice instance Eq Invoice
-deriving via Tallied Invoice instance Ord Invoice
--- A note written against the block it stands in, and staying inside it.
-deriving via Tallied Invoice instance Show Invoice
-
-deriving via Tallied Memo instance Eq Memo
diff --git a/corpora/vendored/other/edition-named-by-the-module-out.hs b/corpora/vendored/other/edition-named-by-the-module-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/edition-named-by-the-module-out.hs
+++ /dev/null
@@ -1,10 +0,0 @@
-{-# LANGUAGE GHC2024 #-}
-
-module Kiln.Edition where
-
--- GHC compiles a module under the edition it names, so LambdaCase, which
--- GHC2024 turns on, is on.
-firing :: Int -> Int
-firing = \case
-  0 -> 1
-  n -> n
diff --git a/corpora/vendored/other/edition-named-by-the-module.hs b/corpora/vendored/other/edition-named-by-the-module.hs
deleted file mode 100644
--- a/corpora/vendored/other/edition-named-by-the-module.hs
+++ /dev/null
@@ -1,9 +0,0 @@
-{-# LANGUAGE GHC2024 #-}
-module Kiln.Edition where
-
--- GHC compiles a module under the edition it names, so LambdaCase, which
--- GHC2024 turns on, is on.
-firing :: Int -> Int
-firing = \case
-  0 -> 1
-  n -> n
diff --git a/corpora/vendored/other/editions-in-written-order-out.hs b/corpora/vendored/other/editions-in-written-order-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/editions-in-written-order-out.hs
+++ /dev/null
@@ -1,8 +0,0 @@
-{-# LANGUAGE Haskell2010 #-}
-{-# LANGUAGE GHC2021 #-}
-
-module Kiln.Edition where
-
--- GHC compiles a module under the edition named last.
-fire :: Int
-fire = 1
diff --git a/corpora/vendored/other/editions-in-written-order.hs b/corpora/vendored/other/editions-in-written-order.hs
deleted file mode 100644
--- a/corpora/vendored/other/editions-in-written-order.hs
+++ /dev/null
@@ -1,7 +0,0 @@
-{-# LANGUAGE Haskell2010 #-}
-{-# LANGUAGE GHC2021 #-}
-module Kiln.Edition where
-
--- GHC compiles a module under the edition named last.
-fire :: Int
-fire = 1
diff --git a/corpora/vendored/other/extension-pack-before-what-it-enables-out.hs b/corpora/vendored/other/extension-pack-before-what-it-enables-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/extension-pack-before-what-it-enables-out.hs
+++ /dev/null
@@ -1,4 +0,0 @@
-{-# LANGUAGE GHC2021 #-}
-{-# LANGUAGE ApplicativeDo #-}
-
-module M where
diff --git a/corpora/vendored/other/extension-pack-before-what-it-enables.hs b/corpora/vendored/other/extension-pack-before-what-it-enables.hs
deleted file mode 100644
--- a/corpora/vendored/other/extension-pack-before-what-it-enables.hs
+++ /dev/null
@@ -1,3 +0,0 @@
-{-# LANGUAGE ApplicativeDo #-}
-{-# LANGUAGE GHC2021 #-}
-module M where
diff --git a/corpora/vendored/other/extension-taken-back-from-the-edition-out.hs b/corpora/vendored/other/extension-taken-back-from-the-edition-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/extension-taken-back-from-the-edition-out.hs
+++ /dev/null
@@ -1,6 +0,0 @@
-{-# LANGUAGE NoStarIsType #-}
-{-# LANGUAGE TypeOperators #-}
-
-module M (type (*)) where
-
-import GHC.TypeLits (type (*))
diff --git a/corpora/vendored/other/extension-taken-back-from-the-edition.hs b/corpora/vendored/other/extension-taken-back-from-the-edition.hs
deleted file mode 100644
--- a/corpora/vendored/other/extension-taken-back-from-the-edition.hs
+++ /dev/null
@@ -1,4 +0,0 @@
-{-# LANGUAGE NoStarIsType #-}
-{-# LANGUAGE TypeOperators #-}
-module M (type (*)) where
-import GHC.TypeLits (type (*))
diff --git a/corpora/vendored/other/extension-turned-off-above-one-implying-it-out.hs b/corpora/vendored/other/extension-turned-off-above-one-implying-it-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/extension-turned-off-above-one-implying-it-out.hs
+++ /dev/null
@@ -1,9 +0,0 @@
-{-# LANGUAGE NoExplicitForAll #-}
-{-# LANGUAGE RankNTypes #-}
-
-module Kiln.Rank where
-
--- RankNTypes turns ExplicitForAll back on, so with it named last, a forall
--- can be written.
-apply :: (forall a. a -> a) -> (Int, Bool)
-apply f = (f 1, f True)
diff --git a/corpora/vendored/other/extension-turned-off-above-one-implying-it.hs b/corpora/vendored/other/extension-turned-off-above-one-implying-it.hs
deleted file mode 100644
--- a/corpora/vendored/other/extension-turned-off-above-one-implying-it.hs
+++ /dev/null
@@ -1,8 +0,0 @@
-{-# LANGUAGE NoExplicitForAll #-}
-{-# LANGUAGE RankNTypes #-}
-module Kiln.Rank where
-
--- RankNTypes turns ExplicitForAll back on, so with it named last, a forall
--- can be written.
-apply :: (forall a. a -> a) -> (Int, Bool)
-apply f = (f 1, f True)
diff --git a/corpora/vendored/other/extension-turned-off-and-on-again-out.hs b/corpora/vendored/other/extension-turned-off-and-on-again-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/extension-turned-off-and-on-again-out.hs
+++ /dev/null
@@ -1,10 +0,0 @@
-{-# LANGUAGE NoLambdaCase #-}
-{-# LANGUAGE LambdaCase #-}
-
-module Kiln.Again where
-
--- The name written last decides, so LambdaCase is on.
-firing :: Int -> Int
-firing = \case
-  0 -> 1
-  n -> n
diff --git a/corpora/vendored/other/extension-turned-off-and-on-again.hs b/corpora/vendored/other/extension-turned-off-and-on-again.hs
deleted file mode 100644
--- a/corpora/vendored/other/extension-turned-off-and-on-again.hs
+++ /dev/null
@@ -1,9 +0,0 @@
-{-# LANGUAGE NoLambdaCase #-}
-{-# LANGUAGE LambdaCase #-}
-module Kiln.Again where
-
--- The name written last decides, so LambdaCase is on.
-firing :: Int -> Int
-firing = \case
-  0 -> 1
-  n -> n
diff --git a/corpora/vendored/other/extension-turned-on-under-an-option-turning-it-off-out.hs b/corpora/vendored/other/extension-turned-on-under-an-option-turning-it-off-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/extension-turned-on-under-an-option-turning-it-off-out.hs
+++ /dev/null
@@ -1,11 +0,0 @@
-{-# OPTIONS_GHC -XNoLambdaCase #-}
-{-# LANGUAGE LambdaCase #-}
-
-module Kiln.Case where
-
--- GHC reads the flags of the options pragmas and the names of the language
--- pragmas in the order they are written, so LambdaCase, named last, is on.
-firing :: Int -> Int
-firing = \case
-  0 -> 1
-  n -> n
diff --git a/corpora/vendored/other/extension-turned-on-under-an-option-turning-it-off.hs b/corpora/vendored/other/extension-turned-on-under-an-option-turning-it-off.hs
deleted file mode 100644
--- a/corpora/vendored/other/extension-turned-on-under-an-option-turning-it-off.hs
+++ /dev/null
@@ -1,10 +0,0 @@
-{-# OPTIONS_GHC -XNoLambdaCase #-}
-{-# LANGUAGE LambdaCase #-}
-module Kiln.Case where
-
--- GHC reads the flags of the options pragmas and the names of the language
--- pragmas in the order they are written, so LambdaCase, named last, is on.
-firing :: Int -> Int
-firing = \case
-  0 -> 1
-  n -> n
diff --git a/corpora/vendored/other/extensions-turned-on-by-flags-out.hs b/corpora/vendored/other/extensions-turned-on-by-flags-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/extensions-turned-on-by-flags-out.hs
+++ /dev/null
@@ -1,15 +0,0 @@
-{-# OPTIONS_GHC -XLambdaCase -fbang-patterns #-}
-{-# OPTIONS_GHC -fglasgow-exts #-}
-
-module Flags where
-
-classify :: Int -> String
-classify = \case
-  0 -> "zero"
-  _ -> "other"
-
-strict :: Int -> Int
-strict !n = n
-
-both :: (forall a. a -> a) -> (Int, Bool)
-both f = (f 1, f True)
diff --git a/corpora/vendored/other/extensions-turned-on-by-flags.hs b/corpora/vendored/other/extensions-turned-on-by-flags.hs
deleted file mode 100644
--- a/corpora/vendored/other/extensions-turned-on-by-flags.hs
+++ /dev/null
@@ -1,14 +0,0 @@
-{-# OPTIONS_GHC -XLambdaCase -fbang-patterns #-}
-{-# OPTIONS_GHC -fglasgow-exts #-}
-module Flags where
-
-classify :: Int -> String
-classify = \case
-  0 -> "zero"
-  _ -> "other"
-
-strict :: Int -> Int
-strict !n = n
-
-both :: (forall a. a -> a) -> (Int, Bool)
-both f = (f 1, f True)
diff --git a/corpora/vendored/other/haddock-held-off-a-comment-out.hs b/corpora/vendored/other/haddock-held-off-a-comment-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/haddock-held-off-a-comment-out.hs
+++ /dev/null
@@ -1,7 +0,0 @@
-module Cache.Evict where
-
--- | Drop the entries nothing has asked for lately.
-
--- TODO: the threshold wants to come from the configuration
-evict :: IO ()
-evict = pure ()
diff --git a/corpora/vendored/other/haddock-held-off-a-comment.hs b/corpora/vendored/other/haddock-held-off-a-comment.hs
deleted file mode 100644
--- a/corpora/vendored/other/haddock-held-off-a-comment.hs
+++ /dev/null
@@ -1,7 +0,0 @@
-module Cache.Evict where
-
--- | Drop the entries nothing has asked for lately.
-
--- TODO: the threshold wants to come from the configuration
-evict :: IO ()
-evict = pure ()
diff --git a/corpora/vendored/other/haddock-holding-only-a-space-out.hs b/corpora/vendored/other/haddock-holding-only-a-space-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/haddock-holding-only-a-space-out.hs
+++ /dev/null
@@ -1,26 +0,0 @@
-{- | -}
-module Kiln.Glaze where
-
--- A Haddock that holds nothing but a space, as the one above the header
--- does, would lose it at the end of its line and hold nothing, so it comes
--- out as a block comment. The same goes before a constructor, a field and
--- an argument.
-data Finish
-  = {- | -}
-    Matte
-  | Gloss
-
-data Kiln = Kiln
-  { {- | -} temperature :: Int
-  }
-
-fire ::
-  {- | -} Int ->
-  Kiln
-fire = Kiln
-
--- One with nothing after its trigger stays as it is.
-
--- |
-glaze :: Finish
-glaze = Matte
diff --git a/corpora/vendored/other/haddock-holding-only-a-space.hs b/corpora/vendored/other/haddock-holding-only-a-space.hs
deleted file mode 100644
--- a/corpora/vendored/other/haddock-holding-only-a-space.hs
+++ /dev/null
@@ -1,28 +0,0 @@
--- | 
-module Kiln.Glaze where
-
--- A Haddock that holds nothing but a space, as the one above the header
--- does, would lose it at the end of its line and hold nothing, so it comes
--- out as a block comment. The same goes before a constructor, a field and
--- an argument.
-data Finish
-  = -- | 
-    Matte
-  | Gloss
-
-data Kiln = Kiln
-  { -- | 
-    temperature :: Int
-  }
-
-fire ::
-  -- | 
-  Int ->
-  Kiln
-fire = Kiln
-
--- One with nothing after its trigger stays as it is.
-
--- |
-glaze :: Finish
-glaze = Matte
diff --git a/corpora/vendored/other/haddock-that-documents-nothing-out.hs b/corpora/vendored/other/haddock-that-documents-nothing-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/haddock-that-documents-nothing-out.hs
+++ /dev/null
@@ -1,54 +0,0 @@
--- A Haddock in a local signature documents nothing, so it comes out as
--- ordinary comments, a comment for each of its lines.
-twoLines :: Int
-twoLines = g 1 2
-  where
-    g ::
-      Int -> -- \^ a
-      Int -> -- \^ b, which goes
-             --   on to a second line
-      Int
-    g = (+)
-
--- The same over three lines, the last of them lined up with the code.
-threeLines :: Int
-threeLines = g 1 2
-  where
-    g ::
-      Int -> -- \^ a, which goes
-             --   on to a second line
-      --   and a third
-      Int ->
-      Int
-    g = (+)
-
--- One on the lines above a local binding.
-above :: Int
-above = g
-  where
-    -- \| What g is,
-    -- over two lines.
-    g = 1
-
--- A block one stays one comment.
-block :: Int
-block = g 1
-  where
-    g ::
-      Int {- \^ a, which goes
-               on to a second line -}
-      ->
-      Int
-    g = id
-
--- A block one above a local binding has only its trigger escaped: the lines
--- under it are its text.
-blockAbove :: Int
-blockAbove = g
-  where
-    {- \| What g is, as these would write it:
-
-    -- | One.
-    {- * Two. -}
-    -}
-    g = 1
diff --git a/corpora/vendored/other/haddock-that-documents-nothing.hs b/corpora/vendored/other/haddock-that-documents-nothing.hs
deleted file mode 100644
--- a/corpora/vendored/other/haddock-that-documents-nothing.hs
+++ /dev/null
@@ -1,53 +0,0 @@
--- A Haddock in a local signature documents nothing, so it comes out as
--- ordinary comments, a comment for each of its lines.
-twoLines :: Int
-twoLines = g 1 2
-  where
-    g
-      :: Int -- ^ a
-      -> Int -- ^ b, which goes
-             --   on to a second line
-      -> Int
-    g = (+)
-
--- The same over three lines, the last of them lined up with the code.
-threeLines :: Int
-threeLines = g 1 2
-  where
-    g
-      :: Int -- ^ a, which goes
-             --   on to a second line
-      --   and a third
-      -> Int
-      -> Int
-    g = (+)
-
--- One on the lines above a local binding.
-above :: Int
-above = g
-  where
-    -- | What g is,
-    -- over two lines.
-    g = 1
-
--- A block one stays one comment.
-block :: Int
-block = g 1
-  where
-    g
-      :: Int {- ^ a, which goes
-                  on to a second line -}
-      -> Int
-    g = id
-
--- A block one above a local binding has only its trigger escaped: the lines
--- under it are its text.
-blockAbove :: Int
-blockAbove = g
-  where
-    {- | What g is, as these would write it:
-
-    -- | One.
-    {- * Two. -}
-    -}
-    g = 1
diff --git a/corpora/vendored/other/haddock-with-a-tight-trigger-out.hs b/corpora/vendored/other/haddock-with-a-tight-trigger-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/haddock-with-a-tight-trigger-out.hs
+++ /dev/null
@@ -1,5 +0,0 @@
-module Terminal.Size where
-
--- | Rows and columns, as the terminal reported them when we
--- started up.
-data Size = Size Int Int
diff --git a/corpora/vendored/other/haddock-with-a-tight-trigger.hs b/corpora/vendored/other/haddock-with-a-tight-trigger.hs
deleted file mode 100644
--- a/corpora/vendored/other/haddock-with-a-tight-trigger.hs
+++ /dev/null
@@ -1,5 +0,0 @@
-module Terminal.Size where
-
--- |Rows and columns, as the terminal reported them when we
--- started up.
-data Size = Size Int Int
diff --git a/corpora/vendored/other/haddock-without-a-space-after-its-trigger-out.hs b/corpora/vendored/other/haddock-without-a-space-after-its-trigger-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/haddock-without-a-space-after-its-trigger-out.hs
+++ /dev/null
@@ -1,18 +0,0 @@
-module Options where
-
-data Options = Options
-  { -- | Recover from errors.
-    --
-    --  Invalid input is taken literally.
-    recover :: Bool,
-    strict :: Bool
-  }
-
-parse ::
-  -- | Options to parse with.
-  --
-  --  Strict ones reject what others let through.
-  Options ->
-  String ->
-  Maybe Int
-parse _ _ = Nothing
diff --git a/corpora/vendored/other/haddock-without-a-space-after-its-trigger.hs b/corpora/vendored/other/haddock-without-a-space-after-its-trigger.hs
deleted file mode 100644
--- a/corpora/vendored/other/haddock-without-a-space-after-its-trigger.hs
+++ /dev/null
@@ -1,18 +0,0 @@
-module Options where
-
-data Options = Options
-  { recover :: Bool
-    -- ^Recover from errors.
-    --
-    -- Invalid input is taken literally.
-  , strict :: Bool
-  }
-
-parse ::
-  Options ->
-  -- ^Options to parse with.
-  --
-  -- Strict ones reject what others let through.
-  String ->
-  Maybe Int
-parse _ _ = Nothing
diff --git a/corpora/vendored/other/language-pragmas-split-and-sorted-out.hs b/corpora/vendored/other/language-pragmas-split-and-sorted-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/language-pragmas-split-and-sorted-out.hs
+++ /dev/null
@@ -1,4 +0,0 @@
-{-# LANGUAGE GADTs #-}
-{-# LANGUAGE OverloadedStrings #-}
-
-module M where
diff --git a/corpora/vendored/other/language-pragmas-split-and-sorted.hs b/corpora/vendored/other/language-pragmas-split-and-sorted.hs
deleted file mode 100644
--- a/corpora/vendored/other/language-pragmas-split-and-sorted.hs
+++ /dev/null
@@ -1,2 +0,0 @@
-{-# LANGUAGE OverloadedStrings, GADTs #-}
-module M where
diff --git a/corpora/vendored/other/line-comment-after-a-block-comment-out.hs b/corpora/vendored/other/line-comment-after-a-block-comment-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/line-comment-after-a-block-comment-out.hs
+++ /dev/null
@@ -1,29 +0,0 @@
-module Survey.Tally
-  ( count, {- the total -} -- so far
-    reset,
-  )
-where
-
-import Data.List
-  ( {- for the order -} -- of answers
-    sortOn,
-  )
-
-count =
-  {- every answer -} -- once
-  length answers
-
-data Answer
-  = {- in the order asked -} -- on the form
-    Yes
-  | No
-
-verdict a = case a of
-  Yes ->
-    {- counted -} -- as one
-    1
-  No -> 0
-
-skipped = \a ->
-  {- left out -} -- of the count
-  0
diff --git a/corpora/vendored/other/line-comment-after-a-block-comment.hs b/corpora/vendored/other/line-comment-after-a-block-comment.hs
deleted file mode 100644
--- a/corpora/vendored/other/line-comment-after-a-block-comment.hs
+++ /dev/null
@@ -1,22 +0,0 @@
-module Survey.Tally
-  ( count, {- the total -} -- so far
-    reset,
-  )
-where
-
-import Data.List ( {- for the order -} -- of answers
-  sortOn )
-
-count = {- every answer -} -- once
-  length answers
-
-data Answer = {- in the order asked -} -- on the form
-  Yes | No
-
-verdict a = case a of
-  Yes -> {- counted -} -- as one
-    1
-  No -> 0
-
-skipped = \a -> {- left out -} -- of the count
-  0
diff --git a/corpora/vendored/other/line-markers-in-a-quasi-quotation-out.hs b/corpora/vendored/other/line-markers-in-a-quasi-quotation-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/line-markers-in-a-quasi-quotation-out.hs
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/usr/bin/env runghc
-{-# LANGUAGE QuasiQuotes #-}
-
--- | Lines that GHC reads past elsewhere are text in a quasi-quotation, and a
--- script's first line is its own.
-module Stitched.Script where
-
-script :: String
-script = [str|
-#!/bin/sh
-# 40 "Template.hs"
-#pragma once
-|]
-
-after :: Int
-after = 1
diff --git a/corpora/vendored/other/line-markers-in-a-quasi-quotation.hs b/corpora/vendored/other/line-markers-in-a-quasi-quotation.hs
deleted file mode 100644
--- a/corpora/vendored/other/line-markers-in-a-quasi-quotation.hs
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/usr/bin/env runghc
-{-# LANGUAGE QuasiQuotes #-}
-
--- | Lines that GHC reads past elsewhere are text in a quasi-quotation, and a
--- script's first line is its own.
-module Stitched.Script where
-
-script :: String
-script = [str|
-#!/bin/sh
-# 40 "Template.hs"
-#pragma once
-|]
-
-after   ::   Int
-after = 1
diff --git a/corpora/vendored/other/line-markers.hs b/corpora/vendored/other/line-markers.hs
deleted file mode 100644
--- a/corpora/vendored/other/line-markers.hs
+++ /dev/null
@@ -1,16 +0,0 @@
--- | Code stitched together from several files, which says where each part
--- of it came from the way cpp does.
-module Stitched where
-
-ownLine :: Int -> Int
-ownLine n = n + 1
-
-# 40 "Template.hs"
-
-fromTheTemplate :: Int -> Int
-fromTheTemplate n = n
-
-#line 12 "Stitched.hs"
-
-andBackAgain :: Int -> Int
-andBackAgain n = n - 1
diff --git a/corpora/vendored/other/module-pragma-on-a-line-of-its-own-out.hs b/corpora/vendored/other/module-pragma-on-a-line-of-its-own-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/module-pragma-on-a-line-of-its-own-out.hs
+++ /dev/null
@@ -1,5 +0,0 @@
-module Tutorial
-  {-# DEPRECATED "Use something else" #-}
-where
-
-x = 1
diff --git a/corpora/vendored/other/module-pragma-on-a-line-of-its-own.hs b/corpora/vendored/other/module-pragma-on-a-line-of-its-own.hs
deleted file mode 100644
--- a/corpora/vendored/other/module-pragma-on-a-line-of-its-own.hs
+++ /dev/null
@@ -1,5 +0,0 @@
-module Tutorial
-    {-# DEPRECATED "Use something else" #-}
-    where
-
-x = 1
diff --git a/corpora/vendored/other/module-pragma-on-the-line-of-the-name-out.hs b/corpora/vendored/other/module-pragma-on-the-line-of-the-name-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/module-pragma-on-the-line-of-the-name-out.hs
+++ /dev/null
@@ -1,3 +0,0 @@
-module Tutorial {-# WARNING "Use something else" #-} where
-
-x = 1
diff --git a/corpora/vendored/other/module-pragma-on-the-line-of-the-name.hs b/corpora/vendored/other/module-pragma-on-the-line-of-the-name.hs
deleted file mode 100644
--- a/corpora/vendored/other/module-pragma-on-the-line-of-the-name.hs
+++ /dev/null
@@ -1,4 +0,0 @@
-module Tutorial {-# WARNING "Use something else" #-}
-    where
-
-x = 1
diff --git a/corpora/vendored/other/moved-haddock-beginning-with-a-dollar-out.hs b/corpora/vendored/other/moved-haddock-beginning-with-a-dollar-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/moved-haddock-beginning-with-a-dollar-out.hs
+++ /dev/null
@@ -1,12 +0,0 @@
-module Kiln.Price where
-
--- A dollar that a Haddock moved in front of what it documents begins with
--- stays as written.
-charge ::
-  -- | $1 for each unit
-  Int ->
-  {- | $5 at least,
-  $10 at most -}
-  Int ->
-  Int
-charge = const
diff --git a/corpora/vendored/other/moved-haddock-beginning-with-a-dollar.hs b/corpora/vendored/other/moved-haddock-beginning-with-a-dollar.hs
deleted file mode 100644
--- a/corpora/vendored/other/moved-haddock-beginning-with-a-dollar.hs
+++ /dev/null
@@ -1,10 +0,0 @@
-module Kiln.Price where
-
--- A dollar that a Haddock moved in front of what it documents begins with
--- stays as written.
-charge ::
-  Int -- ^ $1 for each unit
-  -> Int {- ^ $5 at least,
-  $10 at most -}
-  -> Int
-charge = const
diff --git a/corpora/vendored/other/moved-haddock-continued-with-a-dollar-out.hs b/corpora/vendored/other/moved-haddock-continued-with-a-dollar-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/moved-haddock-continued-with-a-dollar-out.hs
+++ /dev/null
@@ -1,14 +0,0 @@
-module M where
-
-f ::
-  -- | the price,
-  --$5 at most
-  Int ->
-  Int
-f = id
-
-data T
-  = -- | the price,
-    --$5 at most
-    T
-      Int
diff --git a/corpora/vendored/other/moved-haddock-continued-with-a-dollar.hs b/corpora/vendored/other/moved-haddock-continued-with-a-dollar.hs
deleted file mode 100644
--- a/corpora/vendored/other/moved-haddock-continued-with-a-dollar.hs
+++ /dev/null
@@ -1,11 +0,0 @@
-module M where
-
-f ::
-  Int -> -- ^ the price,
-         --$5 at most
-  Int
-f = id
-
-data T = T
-  Int -- ^ the price,
-      --$5 at most
diff --git a/corpora/vendored/other/multiline-string-trailing-space-out.hs b/corpora/vendored/other/multiline-string-trailing-space-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/multiline-string-trailing-space-out.hs
+++ /dev/null
@@ -1,9 +0,0 @@
-{-# LANGUAGE MultilineStrings #-}
-
-script :: String
-script =
-  """
-  (function (x) { 
-    log(x); 
-  })
-  """
diff --git a/corpora/vendored/other/multiline-string-trailing-space.hs b/corpora/vendored/other/multiline-string-trailing-space.hs
deleted file mode 100644
--- a/corpora/vendored/other/multiline-string-trailing-space.hs
+++ /dev/null
@@ -1,9 +0,0 @@
-{-# LANGUAGE MultilineStrings #-}
-
-script :: String
-script =
-  """
-  (function (x) { 
-    log(x); 
-  })
-  """
diff --git a/corpora/vendored/other/named-chunk-under-a-haddock-out.hs b/corpora/vendored/other/named-chunk-under-a-haddock-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/named-chunk-under-a-haddock-out.hs
+++ /dev/null
@@ -1,10 +0,0 @@
-module Cache.Doctest where
-
--- | The examples below are run by doctest.
-
--- $setup
--- >>> import Cache.Warm
-
--- | Warm the cache and say how long it took.
-timed :: IO ()
-timed = pure ()
diff --git a/corpora/vendored/other/named-chunk-under-a-haddock.hs b/corpora/vendored/other/named-chunk-under-a-haddock.hs
deleted file mode 100644
--- a/corpora/vendored/other/named-chunk-under-a-haddock.hs
+++ /dev/null
@@ -1,10 +0,0 @@
-module Cache.Doctest where
-
--- | The examples below are run by doctest.
-
--- $setup
--- >>> import Cache.Warm
-
--- | Warm the cache and say how long it took.
-timed :: IO ()
-timed = pure ()
diff --git a/corpora/vendored/other/names-of-a-type-in-an-export-list-out.hs b/corpora/vendored/other/names-of-a-type-in-an-export-list-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/names-of-a-type-in-an-export-list-out.hs
+++ /dev/null
@@ -1,17 +0,0 @@
-module Shapes.Kind
-  ( Shape (Circle, Square),
-    Side
-      ( Top,
-        Bottom
-      ),
-    area,
-  )
-where
-
-data Shape = Circle Double | Square Double
-
-data Side = Top | Bottom
-
-area :: Shape -> Double
-area (Circle r) = pi * r * r
-area (Square a) = a * a
diff --git a/corpora/vendored/other/names-of-a-type-in-an-export-list.hs b/corpora/vendored/other/names-of-a-type-in-an-export-list.hs
deleted file mode 100644
--- a/corpora/vendored/other/names-of-a-type-in-an-export-list.hs
+++ /dev/null
@@ -1,17 +0,0 @@
-module Shapes.Kind
-  ( Shape
-      (Circle, Square),
-    Side
-      ( Top,
-        Bottom
-      ),
-    area
-  ) where
-
-data Shape = Circle Double | Square Double
-
-data Side = Top | Bottom
-
-area :: Shape -> Double
-area (Circle r) = pi * r * r
-area (Square a) = a * a
diff --git a/corpora/vendored/other/old-options-pragma-in-written-order-out.hs b/corpora/vendored/other/old-options-pragma-in-written-order-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/old-options-pragma-in-written-order-out.hs
+++ /dev/null
@@ -1,13 +0,0 @@
-{-# LANGUAGE BangPatterns #-}
-{-# LANGUAGE ScopedTypeVariables #-}
-{-# OPTIONS_GHC -Wall #-}
-{-# OPTIONS -Wno-orphans #-}
-{-# OPTIONS_GHC -Wno-unused-imports #-}
-{-# OPTIONS -Wno-name-shadowing #-}
-
-module Kiln.Fire where
-
--- GHC reads OPTIONS as it reads OPTIONS_GHC, so the two keep the order they
--- are written in among each other.
-fire :: Int
-fire = 1
diff --git a/corpora/vendored/other/old-options-pragma-in-written-order.hs b/corpora/vendored/other/old-options-pragma-in-written-order.hs
deleted file mode 100644
--- a/corpora/vendored/other/old-options-pragma-in-written-order.hs
+++ /dev/null
@@ -1,12 +0,0 @@
-{-# OPTIONS_GHC -Wall #-}
-{-# LANGUAGE ScopedTypeVariables #-}
-{-# OPTIONS -Wno-orphans #-}
-{-# OPTIONS_GHC -Wno-unused-imports #-}
-{-# LANGUAGE BangPatterns #-}
-{-# OPTIONS -Wno-name-shadowing #-}
-module Kiln.Fire where
-
--- GHC reads OPTIONS as it reads OPTIONS_GHC, so the two keep the order they
--- are written in among each other.
-fire :: Int
-fire = 1
diff --git a/corpora/vendored/other/options-in-written-order-out.hs b/corpora/vendored/other/options-in-written-order-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/options-in-written-order-out.hs
+++ /dev/null
@@ -1,17 +0,0 @@
-{-# LANGUAGE DataKinds #-}
-{-# LANGUAGE TypeOperators #-}
-{-# OPTIONS_GHC -Wall #-}
-{-# OPTIONS_GHC -Wno-unused-imports #-}
-{-# OPTIONS_GHC -Wall #-}
-{-# OPTIONS_GHC -Wall #-}
-{-# OPTIONS_GHC -fplugin=GHC.TypeLits.Normalise #-}
-{-# OPTIONS_GHC -fplugin=GHC.TypeLits.KnownNat.Solver #-}
-
-module Kiln.Glaze where
-
--- GHC reads the flags of the options pragmas in the order they are written,
--- a later one overriding an earlier one, so they keep that order, and a
--- pragma written twice in a row stays twice, since some flags count each
--- time they are given.
-glaze :: Int
-glaze = 1
diff --git a/corpora/vendored/other/options-in-written-order.hs b/corpora/vendored/other/options-in-written-order.hs
deleted file mode 100644
--- a/corpora/vendored/other/options-in-written-order.hs
+++ /dev/null
@@ -1,17 +0,0 @@
-{-# OPTIONS_GHC -Wall #-}
-{-# LANGUAGE TypeOperators #-}
-{-# OPTIONS_GHC -Wno-unused-imports #-}
-{-# OPTIONS_GHC -Wall #-}
-{-# OPTIONS_GHC -Wall #-}
-{-# LANGUAGE DataKinds #-}
-{-# OPTIONS_GHC -fplugin=GHC.TypeLits.Normalise #-}
-{-# OPTIONS_GHC -fplugin=GHC.TypeLits.KnownNat.Solver #-}
-
-module Kiln.Glaze where
-
--- GHC reads the flags of the options pragmas in the order they are written,
--- a later one overriding an earlier one, so they keep that order, and a
--- pragma written twice in a row stays twice, since some flags count each
--- time they are given.
-glaze :: Int
-glaze = 1
diff --git a/corpora/vendored/other/options-pragma-with-no-options-out.hs b/corpora/vendored/other/options-pragma-with-no-options-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/options-pragma-with-no-options-out.hs
+++ /dev/null
@@ -1,7 +0,0 @@
-{-# LANGUAGE OverloadedStrings #-}
-{-# OPTIONS_GHC #-}
-
-module Kiln.Fire where
-
-fire :: Int
-fire = 1
diff --git a/corpora/vendored/other/options-pragma-with-no-options.hs b/corpora/vendored/other/options-pragma-with-no-options.hs
deleted file mode 100644
--- a/corpora/vendored/other/options-pragma-with-no-options.hs
+++ /dev/null
@@ -1,7 +0,0 @@
-{-# LANGUAGE OverloadedStrings #-}
-{-# OPTIONS_GHC #-}
-
-module Kiln.Fire where
-
-fire :: Int
-fire = 1
diff --git a/corpora/vendored/other/position-pragma-in-a-quasi-quotation-out.hs b/corpora/vendored/other/position-pragma-in-a-quasi-quotation-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/position-pragma-in-a-quasi-quotation-out.hs
+++ /dev/null
@@ -1,12 +0,0 @@
-{-# LANGUAGE QuasiQuotes #-}
-
--- | A position pragma in a quasi-quotation is text, and moves nothing.
-module Woven.Template where
-
-template :: String
-template = [str|
-{-# LINE 40 "Template.hs" #-}
-|]
-
-after :: Int
-after = 1
diff --git a/corpora/vendored/other/position-pragma-in-a-quasi-quotation.hs b/corpora/vendored/other/position-pragma-in-a-quasi-quotation.hs
deleted file mode 100644
--- a/corpora/vendored/other/position-pragma-in-a-quasi-quotation.hs
+++ /dev/null
@@ -1,12 +0,0 @@
-{-# LANGUAGE QuasiQuotes #-}
-
--- | A position pragma in a quasi-quotation is text, and moves nothing.
-module Woven.Template where
-
-template :: String
-template = [str|
-{-# LINE 40 "Template.hs" #-}
-|]
-
-after   ::   Int
-after = 1
diff --git a/corpora/vendored/other/position-pragma-only-mentioned-out.hs b/corpora/vendored/other/position-pragma-only-mentioned-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/position-pragma-only-mentioned-out.hs
+++ /dev/null
@@ -1,12 +0,0 @@
--- | Talking about @{-# LINE #-}@ is not carrying one.
-module Woven.Notes where
-
-{- A block comment may name {-# COLUMN #-} too, nested {- and all -}. -}
-
--- | The text a generator would emit.
-marker :: String
-marker = "{-# LINE 40 \"Template.hs\" #-}"
-
--- Nor is --> a comment opener, so a pragma after it still counts.
-described :: Int
-described = 1
diff --git a/corpora/vendored/other/position-pragma-only-mentioned.hs b/corpora/vendored/other/position-pragma-only-mentioned.hs
deleted file mode 100644
--- a/corpora/vendored/other/position-pragma-only-mentioned.hs
+++ /dev/null
@@ -1,12 +0,0 @@
--- | Talking about @{-# LINE #-}@ is not carrying one.
-module Woven.Notes where
-
-{- A block comment may name {-# COLUMN #-} too, nested {- and all -}. -}
-
--- | The text a generator would emit.
-marker :: String
-marker = "{-# LINE 40 \"Template.hs\" #-}"
-
--- Nor is --> a comment opener, so a pragma after it still counts.
-described :: Int
-described = 1
diff --git a/corpora/vendored/other/position-pragmas.hs b/corpora/vendored/other/position-pragmas.hs
deleted file mode 100644
--- a/corpora/vendored/other/position-pragmas.hs
+++ /dev/null
@@ -1,15 +0,0 @@
--- | Generated code, which says where each part of it came from.
-module Woven where
-
-ownLine :: Int -> Int
-ownLine n = n + 1
-
-{-# LINE 40 "Template.hs" #-}
-
-fromTheTemplate :: Int -> Int
-fromTheTemplate n = n
-
-{-# LINE 12 "Woven.hs" #-}
-
-andBackAgain :: Int -> Int
-andBackAgain n = n - 1
diff --git a/corpora/vendored/other/pragma-below-the-module-line-out.hs b/corpora/vendored/other/pragma-below-the-module-line-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/pragma-below-the-module-line-out.hs
+++ /dev/null
@@ -1,8 +0,0 @@
-module Kiln.Size where
-
-{-# LANGUAGE OverloadedStrings #-}
-
--- GHC reads pragmas above the module line alone, so OverloadedStrings is
--- off, and the pragma stays where it is written.
-size :: Int
-size = length "abc"
diff --git a/corpora/vendored/other/pragma-below-the-module-line.hs b/corpora/vendored/other/pragma-below-the-module-line.hs
deleted file mode 100644
--- a/corpora/vendored/other/pragma-below-the-module-line.hs
+++ /dev/null
@@ -1,7 +0,0 @@
-module Kiln.Size where
-{-# LANGUAGE OverloadedStrings #-}
-
--- GHC reads pragmas above the module line alone, so OverloadedStrings is
--- off, and the pragma stays where it is written.
-size :: Int
-size = length "abc"
diff --git a/corpora/vendored/other/prelude-asked-for-above-rebindable-syntax-out.hs b/corpora/vendored/other/prelude-asked-for-above-rebindable-syntax-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/prelude-asked-for-above-rebindable-syntax-out.hs
+++ /dev/null
@@ -1,12 +0,0 @@
-{-# LANGUAGE ImplicitPrelude #-}
-{-# LANGUAGE RebindableSyntax #-}
-
-module Kiln.Rebound where
-
--- RebindableSyntax turns ImplicitPrelude off, so with it named last, the
--- Prelude is not imported, and this map is the only one in scope.
-map :: ()
-map = ()
-
-glaze :: ()
-glaze = map
diff --git a/corpora/vendored/other/prelude-asked-for-above-rebindable-syntax.hs b/corpora/vendored/other/prelude-asked-for-above-rebindable-syntax.hs
deleted file mode 100644
--- a/corpora/vendored/other/prelude-asked-for-above-rebindable-syntax.hs
+++ /dev/null
@@ -1,11 +0,0 @@
-{-# LANGUAGE ImplicitPrelude #-}
-{-# LANGUAGE RebindableSyntax #-}
-module Kiln.Rebound where
-
--- RebindableSyntax turns ImplicitPrelude off, so with it named last, the
--- Prelude is not imported, and this map is the only one in scope.
-map :: ()
-map = ()
-
-glaze :: ()
-glaze = map
diff --git a/corpora/vendored/other/section-anchor-with-a-blank-line-out.hs b/corpora/vendored/other/section-anchor-with-a-blank-line-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/section-anchor-with-a-blank-line-out.hs
+++ /dev/null
@@ -1,17 +0,0 @@
-module Terminal.Size
-  ( -- * Getting started
-    -- $intro
-    --
-
-    -- * Measuring
-    -- $measuring
-    rows,
-    columns,
-  )
-where
-
-rows :: Int
-rows = 24
-
-columns :: Int
-columns = 80
diff --git a/corpora/vendored/other/section-anchor-with-a-blank-line.hs b/corpora/vendored/other/section-anchor-with-a-blank-line.hs
deleted file mode 100644
--- a/corpora/vendored/other/section-anchor-with-a-blank-line.hs
+++ /dev/null
@@ -1,17 +0,0 @@
-module Terminal.Size
-  ( -- * Getting started
-    -- $intro
-    --
-
-    -- * Measuring
-    -- $measuring
-    rows,
-    columns,
-  )
-where
-
-rows :: Int
-rows = 24
-
-columns :: Int
-columns = 80
diff --git a/corpora/vendored/other/section-heading-under-a-haddock-out.hs b/corpora/vendored/other/section-heading-under-a-haddock-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/section-heading-under-a-haddock-out.hs
+++ /dev/null
@@ -1,9 +0,0 @@
-module Cache.Report where
-
--- | Everything under here is about reporting, not about the cache itself.
-
--- * Counters
-
--- | How many lookups found something.
-hits :: Int
-hits = 0
diff --git a/corpora/vendored/other/section-heading-under-a-haddock.hs b/corpora/vendored/other/section-heading-under-a-haddock.hs
deleted file mode 100644
--- a/corpora/vendored/other/section-heading-under-a-haddock.hs
+++ /dev/null
@@ -1,9 +0,0 @@
-module Cache.Report where
-
--- | Everything under here is about reporting, not about the cache itself.
-
--- * Counters
-
--- | How many lookups found something.
-hits :: Int
-hits = 0
diff --git a/corpora/vendored/other/section-headings-among-comments-out.hs b/corpora/vendored/other/section-headings-among-comments-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/section-headings-among-comments-out.hs
+++ /dev/null
@@ -1,30 +0,0 @@
-module Inventory
-  ( -- * Items
-    -- in the order they come in
-    Item,
-    newItem,
-  )
-where
-
-count = 0
-
--- Plan:
---
--- * Count what comes in. Count what goes
---   out as well.
---
--- * Never count twice.
-
--- | One thing on a shelf.
-data Item = Item
-
-----------------------------------------------------------------------------
--- * Making items
-----------------------------------------------------------------------------
-
-newItem :: Item
-newItem = Item
-
--- * Checking items
--- once there is something to check
-check = True
diff --git a/corpora/vendored/other/section-headings-among-comments.hs b/corpora/vendored/other/section-headings-among-comments.hs
deleted file mode 100644
--- a/corpora/vendored/other/section-headings-among-comments.hs
+++ /dev/null
@@ -1,30 +0,0 @@
-module Inventory
-  ( -- * Items
-    -- in the order they come in
-    Item,
-    newItem,
-  )
-where
-
-count = 0
-
--- Plan:
---
--- * Count what comes in. Count what goes
---   out as well.
---
--- * Never count twice.
-
--- | One thing on a shelf.
-data Item = Item
-
-----------------------------------------------------------------------------
--- * Making items
-----------------------------------------------------------------------------
-
-newItem :: Item
-newItem = Item
-
--- * Checking items
--- once there is something to check
-check = True
diff --git a/corpora/vendored/other/splices-the-author-grouped-out.hs b/corpora/vendored/other/splices-the-author-grouped-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/splices-the-author-grouped-out.hs
+++ /dev/null
@@ -1,14 +0,0 @@
-{-# LANGUAGE CPP #-}
-{-# LANGUAGE TemplateHaskell #-}
-
-module Store.Lenses where
-
-makeLenses ''Config
--- A note written against the run it stands in, and staying inside it.
-makeLenses ''Options
-
-makeLenses ''State
-#if defined(PRISMS)
-makePrisms ''Event
-#endif
-makeLenses ''Event
diff --git a/corpora/vendored/other/splices-the-author-grouped.hs b/corpora/vendored/other/splices-the-author-grouped.hs
deleted file mode 100644
--- a/corpora/vendored/other/splices-the-author-grouped.hs
+++ /dev/null
@@ -1,14 +0,0 @@
-{-# LANGUAGE CPP #-}
-{-# LANGUAGE TemplateHaskell #-}
-
-module Store.Lenses where
-
-makeLenses ''Config
--- A note written against the run it stands in, and staying inside it.
-makeLenses ''Options
-
-makeLenses ''State
-#if defined(PRISMS)
-makePrisms ''Event
-#endif
-makeLenses ''Event
diff --git a/corpora/vendored/other/stack-script-header-over-a-comment-out.hs b/corpora/vendored/other/stack-script-header-over-a-comment-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/stack-script-header-over-a-comment-out.hs
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/usr/bin/env stack
--- stack script --snapshot lts-22.21 --package text
-
--- Print each line of the input with its words in reverse order.
-module Main (main) where
-
-import qualified Data.Text as T
-import qualified Data.Text.IO as T
-
-main :: IO ()
-main = T.interact (T.unlines . map (T.unwords . reverse . T.words) . T.lines)
diff --git a/corpora/vendored/other/stack-script-header-over-a-comment.hs b/corpora/vendored/other/stack-script-header-over-a-comment.hs
deleted file mode 100644
--- a/corpora/vendored/other/stack-script-header-over-a-comment.hs
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/usr/bin/env stack
--- stack script --snapshot lts-22.21 --package text
--- Print each line of the input with its words in reverse order.
-module Main (main) where
-
-import qualified Data.Text as T
-import qualified Data.Text.IO as T
-
-main :: IO ()
-main = T.interact (T.unlines . map (T.unwords . reverse . T.words) . T.lines)
diff --git a/corpora/vendored/other/string-literals-as-written-out.hs b/corpora/vendored/other/string-literals-as-written-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/string-literals-as-written-out.hs
+++ /dev/null
@@ -1,41 +0,0 @@
--- A string comes out as written wherever it is, in a pattern, a pragma or
--- a rule's name: its gaps line up under its opening quote, and nothing is
--- escaped or quoted that was not.
-module Text.Written where
-
-isLong :: String -> Bool
-isLong
-  "a very long string \
-  \that goes on" = True
-isLong _ = False
-
-{-# DEPRECATED
-  old
-  "use the new one, \
-  \which is better"
-  #-}
-old :: Int
-old = 1
-
-{-# WARNING new ["one", "two"] #-}
-new :: Int
-new = 2
-
-{-# RULES "f/∘" forall x. f (g x) = h x #-}
-
-f :: Int -> Int
-f = id
-{-# SCC f "f_label" #-}
-
-g :: Int -> Int
-g = id
-{-# SCC g #-}
-
-h :: Int -> Int
-h = id
-
-x :: Int
-x = {-# SCC foo #-} 1
-
-y :: Int
-y = {-# SCC "bar" #-} 2
diff --git a/corpora/vendored/other/string-literals-as-written.hs b/corpora/vendored/other/string-literals-as-written.hs
deleted file mode 100644
--- a/corpora/vendored/other/string-literals-as-written.hs
+++ /dev/null
@@ -1,37 +0,0 @@
--- A string comes out as written wherever it is, in a pattern, a pragma or
--- a rule's name: its gaps line up under its opening quote, and nothing is
--- escaped or quoted that was not.
-module Text.Written where
-
-isLong :: String -> Bool
-isLong "a very long string \
-       \that goes on" = True
-isLong _ = False
-
-{-# DEPRECATED old "use the new one, \
-                   \which is better" #-}
-old :: Int
-old = 1
-
-{-# WARNING new ["one", "two"] #-}
-new :: Int
-new = 2
-
-{-# RULES "f/∘" forall x. f (g x) = h x #-}
-
-f :: Int -> Int
-f = id
-{-# SCC f "f_label" #-}
-
-g :: Int -> Int
-g = id
-{-# SCC g #-}
-
-h :: Int -> Int
-h = id
-
-x :: Int
-x = {-# SCC foo #-} 1
-
-y :: Int
-y = {-# SCC "bar" #-} 2
diff --git a/corpora/vendored/other/trailing-comment-above-comments-under-a-right-hand-side-out.hs b/corpora/vendored/other/trailing-comment-above-comments-under-a-right-hand-side-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/trailing-comment-above-comments-under-a-right-hand-side-out.hs
+++ /dev/null
@@ -1,15 +0,0 @@
-module Matching where
-
-matches :: Int -> Int -> Bool
-matches a b = a == b -- quick test
-              -- and not the full one
-
-instance Eq Ledger where
-  a == b = name a == name b -- names only
-           -- the rest follows from them
-
-render :: Int -> [Int]
-render x = case x of
-  0 -> [1] -- a zero-width space
-       -- to avoid an empty box
-  _ -> []
diff --git a/corpora/vendored/other/trailing-comment-above-comments-under-a-right-hand-side.hs b/corpora/vendored/other/trailing-comment-above-comments-under-a-right-hand-side.hs
deleted file mode 100644
--- a/corpora/vendored/other/trailing-comment-above-comments-under-a-right-hand-side.hs
+++ /dev/null
@@ -1,15 +0,0 @@
-module Matching where
-
-matches :: Int -> Int -> Bool
-matches a b = a == b -- quick test
-              -- and not the full one
-
-instance Eq Ledger where
-  a == b = name a == name b  -- names only
-           -- the rest follows from them
-
-render :: Int -> [Int]
-render x = case x of
-   0   -> [1]  -- a zero-width space
-          -- to avoid an empty box
-   _ -> []
diff --git a/corpora/vendored/other/trailing-comment-over-a-moved-haddock-out.hs b/corpora/vendored/other/trailing-comment-over-a-moved-haddock-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/trailing-comment-over-a-moved-haddock-out.hs
+++ /dev/null
@@ -1,9 +0,0 @@
-module Cache.Stats where
-
-data Stats = Stats
-  { hits :: Int,
-    -- Misc
-
-    -- | lookups that found nothing
-    misses :: Int
-  }
diff --git a/corpora/vendored/other/trailing-comment-over-a-moved-haddock.hs b/corpora/vendored/other/trailing-comment-over-a-moved-haddock.hs
deleted file mode 100644
--- a/corpora/vendored/other/trailing-comment-over-a-moved-haddock.hs
+++ /dev/null
@@ -1,8 +0,0 @@
-module Cache.Stats where
-
-data Stats = Stats
-    { hits :: Int
-    , -- Misc
-      misses :: Int
-    -- ^ lookups that found nothing
-    }
diff --git a/corpora/vendored/other/trailing-comment-with-a-gap-under-it-out.hs b/corpora/vendored/other/trailing-comment-with-a-gap-under-it-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/trailing-comment-with-a-gap-under-it-out.hs
+++ /dev/null
@@ -1,9 +0,0 @@
-module Cache.Probe where
-
-probe :: [Int]
-probe =
-  [ -- the first of these is the one that regressed
-
-    1,
-    2
-  ]
diff --git a/corpora/vendored/other/trailing-comment-with-a-gap-under-it.hs b/corpora/vendored/other/trailing-comment-with-a-gap-under-it.hs
deleted file mode 100644
--- a/corpora/vendored/other/trailing-comment-with-a-gap-under-it.hs
+++ /dev/null
@@ -1,9 +0,0 @@
-module Cache.Probe where
-
-probe :: [Int]
-probe =
-  [ -- the first of these is the one that regressed
-
-    1
-  , 2
-  ]
diff --git a/corpora/vendored/other/triple-dash-under-a-haddock-out.hs b/corpora/vendored/other/triple-dash-under-a-haddock-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/triple-dash-under-a-haddock-out.hs
+++ /dev/null
@@ -1,18 +0,0 @@
-module Data.Window where
-
--- | Give a window over a list. GHC ends it at a line beginning with three
--- dashes, so nothing needs to hold the lines from there on off it.
---
--- @
--- window4
----  :: [Int]
---   -> [Int]
--- window4 = window
--- @
-window :: [Int] -> [Int]
-window = id
-
--- | All the windows.
----------------------------------------------------------------------------
-windows :: [[Int]]
-windows = []
diff --git a/corpora/vendored/other/triple-dash-under-a-haddock.hs b/corpora/vendored/other/triple-dash-under-a-haddock.hs
deleted file mode 100644
--- a/corpora/vendored/other/triple-dash-under-a-haddock.hs
+++ /dev/null
@@ -1,18 +0,0 @@
-module Data.Window where
-
--- | Give a window over a list. GHC ends it at a line beginning with three
--- dashes, so nothing needs to hold the lines from there on off it.
---
--- @
--- window4
----  :: [Int]
---   -> [Int]
--- window4 = window
--- @
-window :: [Int] -> [Int]
-window = id
-
--- | All the windows.
----------------------------------------------------------------------------
-windows :: [[Int]]
-windows = []
diff --git a/corpora/vendored/other/unrecognised-pragma-under-a-hoisted-pragma-out.hs b/corpora/vendored/other/unrecognised-pragma-under-a-hoisted-pragma-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/unrecognised-pragma-under-a-hoisted-pragma-out.hs
+++ /dev/null
@@ -1,13 +0,0 @@
--------------------------------------------------------------------------
-
-{-# LANGUAGE Trustworthy #-}
-{-# OPTIONS_GHC -Wno-unrecognised-pragmas #-}
-
--------------------------------------------------------------------------
-
--- |
--- Module      : T
-
-{-# HLINT ignore "Avoid restricted function" #-}
-
-module T where
diff --git a/corpora/vendored/other/unrecognised-pragma-under-a-hoisted-pragma.hs b/corpora/vendored/other/unrecognised-pragma-under-a-hoisted-pragma.hs
deleted file mode 100644
--- a/corpora/vendored/other/unrecognised-pragma-under-a-hoisted-pragma.hs
+++ /dev/null
@@ -1,11 +0,0 @@
--------------------------------------------------------------------------
--- |
--- Module      : T
--------------------------------------------------------------------------
-
-{-# LANGUAGE Trustworthy #-}
-
-{-# OPTIONS_GHC -Wno-unrecognised-pragmas #-}
-{-# HLINT ignore "Avoid restricted function" #-}
-
-module T where
diff --git a/corpora/vendored/other/warning-category-as-written-out.hs b/corpora/vendored/other/warning-category-as-written-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/warning-category-as-written-out.hs
+++ /dev/null
@@ -1,9 +0,0 @@
-module M where
-
-{-# WARNING in "x-p\&artial" f "Partial" #-}
-f :: Int -> Int
-f = id
-
-{-# WARNING in "x-unsafe" g "Unsafe" #-}
-g :: Int -> Int
-g = id
diff --git a/corpora/vendored/other/warning-category-as-written.hs b/corpora/vendored/other/warning-category-as-written.hs
deleted file mode 100644
--- a/corpora/vendored/other/warning-category-as-written.hs
+++ /dev/null
@@ -1,9 +0,0 @@
-module M where
-
-{-# WARNING in "x-p\&artial" f "Partial" #-}
-f :: Int -> Int
-f = id
-
-{-# WARNING in "x-unsafe" g "Unsafe" #-}
-g :: Int -> Int
-g = id
diff --git a/corpora/vendored/other/warning-pragmas-that-name-nothing-out.hs b/corpora/vendored/other/warning-pragmas-that-name-nothing-out.hs
deleted file mode 100644
--- a/corpora/vendored/other/warning-pragmas-that-name-nothing-out.hs
+++ /dev/null
@@ -1,10 +0,0 @@
-module Kiln.Glaze where
-
--- A DEPRECATED or WARNING pragma that names nothing is a declaration of its
--- own, and is kept.
-{-# DEPRECATED #-}
-
-{-# WARNING #-}
-
-glaze :: Int
-glaze = 1
diff --git a/corpora/vendored/other/warning-pragmas-that-name-nothing.hs b/corpora/vendored/other/warning-pragmas-that-name-nothing.hs
deleted file mode 100644
--- a/corpora/vendored/other/warning-pragmas-that-name-nothing.hs
+++ /dev/null
@@ -1,9 +0,0 @@
-module Kiln.Glaze where
-
--- A DEPRECATED or WARNING pragma that names nothing is a declaration of its
--- own, and is kept.
-{-# DEPRECATED #-}
-{-# warning #-}
-
-glaze :: Int
-glaze = 1
diff --git a/corpora/vendored/pragma/declaration/ann-pragmas-out.hs b/corpora/vendored/pragma/declaration/ann-pragmas-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/ann-pragmas-out.hs
@@ -0,0 +1,10 @@
+module Report.Lint where
+
+{-# ANN module "HLint: ignore Use camelCase" #-}
+
+{-# ANN type Report_Row "HLint: ignore" #-}
+data Report_Row = Report_Row
+
+{-# ANN render_row "HLint: ignore Eta reduce" #-}
+render_row :: Report_Row -> String
+render_row r = describe r
diff --git a/corpora/vendored/pragma/declaration/ann-pragmas.hs b/corpora/vendored/pragma/declaration/ann-pragmas.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/ann-pragmas.hs
@@ -0,0 +1,10 @@
+module Report.Lint where
+
+{-# ANN module "HLint: ignore Use camelCase" #-}
+
+{-# ANN type Report_Row "HLint: ignore" #-}
+data Report_Row = Report_Row
+
+{-# ANN render_row "HLint: ignore Eta reduce" #-}
+render_row :: Report_Row -> String
+render_row r = describe r
diff --git a/corpora/vendored/pragma/declaration/complete-pragma-across-several-lines-out'.hs b/corpora/vendored/pragma/declaration/complete-pragma-across-several-lines-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/complete-pragma-across-several-lines-out'.hs
@@ -0,0 +1,26 @@
+{-# LANGUAGE PatternSynonyms #-}
+
+module Signal.Level where
+
+data Level = Level Int
+
+pattern Low :: Level
+pattern Low <- Level 0
+
+pattern Mid :: Level
+pattern Mid <- Level 1
+
+pattern High :: Level
+pattern High <- Level 2
+
+{-# COMPLETE
+    Low
+    , Mid
+    , High
+    #-}
+
+{-# COMPLETE
+    Low
+    , Mid
+    , High
+    #-}
diff --git a/corpora/vendored/pragma/declaration/complete-pragma-across-several-lines-out.hs b/corpora/vendored/pragma/declaration/complete-pragma-across-several-lines-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/complete-pragma-across-several-lines-out.hs
@@ -0,0 +1,26 @@
+{-# LANGUAGE PatternSynonyms #-}
+
+module Signal.Level where
+
+data Level = Level Int
+
+pattern Low :: Level
+pattern Low <- Level 0
+
+pattern Mid :: Level
+pattern Mid <- Level 1
+
+pattern High :: Level
+pattern High <- Level 2
+
+{-# COMPLETE
+  Low,
+  Mid,
+  High
+  #-}
+
+{-# COMPLETE
+  Low,
+  Mid,
+  High
+  #-}
diff --git a/corpora/vendored/pragma/declaration/complete-pragma-across-several-lines.hs b/corpora/vendored/pragma/declaration/complete-pragma-across-several-lines.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/complete-pragma-across-several-lines.hs
@@ -0,0 +1,22 @@
+{-# LANGUAGE PatternSynonyms #-}
+
+module Signal.Level where
+
+data Level = Level Int
+
+pattern Low :: Level
+pattern Low <- Level 0
+
+pattern Mid :: Level
+pattern Mid <- Level 1
+
+pattern High :: Level
+pattern High <- Level 2
+
+{-# COMPLETE Low,
+             Mid,
+             High #-}
+
+{-# COMPLETE
+  Low, Mid
+  , High #-}
diff --git a/corpora/vendored/pragma/declaration/complete-pragma-out.hs b/corpora/vendored/pragma/declaration/complete-pragma-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/complete-pragma-out.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE PatternSynonyms #-}
+
+module Queue.View where
+
+data Queue a = Queue [a] [a]
+
+pattern Empty :: Queue a
+pattern Empty <- Queue [] []
+
+pattern Front :: a -> Queue a
+pattern Front x <- Queue (x : _) _
+
+{-# COMPLETE Empty, Front #-}
+{-# COMPLETE Empty, Front :: Queue #-}
diff --git a/corpora/vendored/pragma/declaration/complete-pragma-with-a-type-across-lines-out'.hs b/corpora/vendored/pragma/declaration/complete-pragma-with-a-type-across-lines-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/complete-pragma-with-a-type-across-lines-out'.hs
@@ -0,0 +1,25 @@
+{-# LANGUAGE PatternSynonyms #-}
+
+module Sensor.Reading where
+
+data Reading = Reading Int
+
+pattern Low, Normal, High :: Reading
+pattern Low <- Reading 0
+pattern Normal <- Reading 1
+pattern High <- Reading 2
+
+{-# COMPLETE
+    Low
+    , Normal
+    , High :: Reading
+    #-}
+
+{-# COMPLETE
+    Low
+    , Normal
+    , High
+        :: Reading
+    #-}
+
+{-# COMPLETE Low, Normal, High :: Reading #-}
diff --git a/corpora/vendored/pragma/declaration/complete-pragma-with-a-type-across-lines-out.hs b/corpora/vendored/pragma/declaration/complete-pragma-with-a-type-across-lines-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/complete-pragma-with-a-type-across-lines-out.hs
@@ -0,0 +1,25 @@
+{-# LANGUAGE PatternSynonyms #-}
+
+module Sensor.Reading where
+
+data Reading = Reading Int
+
+pattern Low, Normal, High :: Reading
+pattern Low <- Reading 0
+pattern Normal <- Reading 1
+pattern High <- Reading 2
+
+{-# COMPLETE
+  Low,
+  Normal,
+  High :: Reading
+  #-}
+
+{-# COMPLETE
+  Low,
+  Normal,
+  High ::
+    Reading
+  #-}
+
+{-# COMPLETE Low, Normal, High :: Reading #-}
diff --git a/corpora/vendored/pragma/declaration/complete-pragma-with-a-type-across-lines.hs b/corpora/vendored/pragma/declaration/complete-pragma-with-a-type-across-lines.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/complete-pragma-with-a-type-across-lines.hs
@@ -0,0 +1,21 @@
+{-# LANGUAGE PatternSynonyms #-}
+
+module Sensor.Reading where
+
+data Reading = Reading Int
+
+pattern Low, Normal, High :: Reading
+pattern Low <- Reading 0
+pattern Normal <- Reading 1
+pattern High <- Reading 2
+
+{-# COMPLETE Low,
+  Normal,
+  High :: Reading #-}
+
+{-# COMPLETE Low, Normal,
+  High
+  :: Reading #-}
+
+{-# COMPLETE Low, Normal, High
+  :: Reading #-}
diff --git a/corpora/vendored/pragma/declaration/complete-pragma.hs b/corpora/vendored/pragma/declaration/complete-pragma.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/complete-pragma.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE PatternSynonyms #-}
+
+module Queue.View where
+
+data Queue a = Queue [a] [a]
+
+pattern Empty :: Queue a
+pattern Empty <- Queue [] []
+
+pattern Front :: a -> Queue a
+pattern Front x <- Queue (x : _) _
+
+{-# COMPLETE Empty, Front #-}
+{-# COMPLETE Empty,Front :: Queue #-}
diff --git a/corpora/vendored/pragma/declaration/ctype-pragma-out.hs b/corpora/vendored/pragma/declaration/ctype-pragma-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/ctype-pragma-out.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE CApiFFI #-}
+
+module Terminal.Attributes where
+
+import Data.Word (Word32)
+
+data {-# CTYPE "termios.h" "struct termios" #-} Termios
+
+data {-# CTYPE "sys/ioctl.h" "struct winsize" #-} WindowSize
+
+newtype {-# CTYPE "useconds_t" #-} Micros = Micros Word32
diff --git a/corpora/vendored/pragma/declaration/ctype-pragma.hs b/corpora/vendored/pragma/declaration/ctype-pragma.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/ctype-pragma.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE CApiFFI #-}
+
+module Terminal.Attributes where
+
+import Data.Word (Word32)
+
+data {-# CTYPE "termios.h" "struct termios" #-} Termios
+
+data {-#ctype   "sys/ioctl.h"   "struct winsize"#-} WindowSize
+
+newtype {-# CTYPE "useconds_t" #-} Micros = Micros Word32
diff --git a/corpora/vendored/pragma/declaration/inlinable-spelled-as-written-out.hs b/corpora/vendored/pragma/declaration/inlinable-spelled-as-written-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/inlinable-spelled-as-written-out.hs
@@ -0,0 +1,9 @@
+module Data.Ring (add, scale) where
+
+add :: Num a => a -> a -> a
+add = (+)
+{-# INLINABLE add #-}
+
+scale :: Num a => a -> a -> a
+scale = (*)
+{-# INLINEABLE scale #-}
diff --git a/corpora/vendored/pragma/declaration/inlinable-spelled-as-written.hs b/corpora/vendored/pragma/declaration/inlinable-spelled-as-written.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/inlinable-spelled-as-written.hs
@@ -0,0 +1,9 @@
+module Data.Ring (add, scale) where
+
+add :: (Num a) => a -> a -> a
+add = (+)
+{-# INLINABLE add #-}
+
+scale :: (Num a) => a -> a -> a
+scale = (*)
+{-# INLINEABLE scale #-}
diff --git a/corpora/vendored/pragma/declaration/minimal-pragma-across-several-lines-out'.hs b/corpora/vendored/pragma/declaration/minimal-pragma-across-several-lines-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/minimal-pragma-across-several-lines-out'.hs
@@ -0,0 +1,24 @@
+module Bag.Store where
+
+class Store s where
+    empty :: s
+    insert :: Int -> s -> s
+    singleton :: Int -> s
+    (<+>) :: s -> s -> s
+    fromList :: [Int] -> s
+    {-# MINIMAL (empty, insert) | (singleton, (<+>)) | fromList #-}
+
+class Lookup s where
+    member :: Int -> s -> Bool
+    count :: Int -> s -> Int
+    elems :: s -> [Int]
+    (!?) :: s -> Int -> Maybe Int
+    {-# MINIMAL
+        elems
+        , ( member
+            | count
+          )
+        | ( (!?)
+            , member
+          )
+        #-}
diff --git a/corpora/vendored/pragma/declaration/minimal-pragma-across-several-lines-out.hs b/corpora/vendored/pragma/declaration/minimal-pragma-across-several-lines-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/minimal-pragma-across-several-lines-out.hs
@@ -0,0 +1,24 @@
+module Bag.Store where
+
+class Store s where
+  empty :: s
+  insert :: Int -> s -> s
+  singleton :: Int -> s
+  (<+>) :: s -> s -> s
+  fromList :: [Int] -> s
+  {-# MINIMAL (empty, insert) | (singleton, (<+>)) | fromList #-}
+
+class Lookup s where
+  member :: Int -> s -> Bool
+  count :: Int -> s -> Int
+  elems :: s -> [Int]
+  (!?) :: s -> Int -> Maybe Int
+  {-# MINIMAL
+    elems,
+    ( member
+      | count
+    )
+    | ( (!?),
+        member
+      )
+    #-}
diff --git a/corpora/vendored/pragma/declaration/minimal-pragma-across-several-lines.hs b/corpora/vendored/pragma/declaration/minimal-pragma-across-several-lines.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/minimal-pragma-across-several-lines.hs
@@ -0,0 +1,21 @@
+module Bag.Store where
+
+class Store s where
+  empty :: s
+  insert :: Int -> s -> s
+  singleton :: Int -> s
+  (<+>) :: s -> s -> s
+  fromList :: [Int] -> s
+  {-# MINIMAL (empty, insert) | (singleton, (<+>)) | fromList #-}
+
+class Lookup s where
+  member :: Int -> s -> Bool
+  count :: Int -> s -> Int
+  elems :: s -> [Int]
+  (!?) :: s -> Int -> Maybe Int
+  {-# MINIMAL
+        elems, ( member
+               | count )
+      | ( (!?)
+        , member
+        ) #-}
diff --git a/corpora/vendored/pragma/declaration/minimal-pragma-alternatives-across-lines-out'.hs b/corpora/vendored/pragma/declaration/minimal-pragma-alternatives-across-lines-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/minimal-pragma-alternatives-across-lines-out'.hs
@@ -0,0 +1,14 @@
+module Stream.Source where
+
+class Source s where
+    next :: s -> Maybe (Int, s)
+    peek :: s -> Maybe Int
+    skip :: s -> s
+    toList :: s -> [Int]
+    fold :: (Int -> b -> b) -> b -> s -> b
+    {-# MINIMAL
+        next
+        | peek, skip -- one element at a time
+        | toList
+        | fold
+        #-}
diff --git a/corpora/vendored/pragma/declaration/minimal-pragma-alternatives-across-lines-out.hs b/corpora/vendored/pragma/declaration/minimal-pragma-alternatives-across-lines-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/minimal-pragma-alternatives-across-lines-out.hs
@@ -0,0 +1,14 @@
+module Stream.Source where
+
+class Source s where
+  next :: s -> Maybe (Int, s)
+  peek :: s -> Maybe Int
+  skip :: s -> s
+  toList :: s -> [Int]
+  fold :: (Int -> b -> b) -> b -> s -> b
+  {-# MINIMAL
+    next
+    | peek, skip -- one element at a time
+    | toList
+    | fold
+    #-}
diff --git a/corpora/vendored/pragma/declaration/minimal-pragma-alternatives-across-lines.hs b/corpora/vendored/pragma/declaration/minimal-pragma-alternatives-across-lines.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/minimal-pragma-alternatives-across-lines.hs
@@ -0,0 +1,13 @@
+module Stream.Source where
+
+class Source s where
+  next :: s -> Maybe (Int, s)
+  peek :: s -> Maybe Int
+  skip :: s -> s
+  toList :: s -> [Int]
+  fold :: (Int -> b -> b) -> b -> s -> b
+  {-# MINIMAL
+        next
+      | peek, skip -- one element at a time
+      | toList | fold #-}
+
diff --git a/corpora/vendored/pragma/declaration/minimal-pragma-naming-nothing-out'.hs b/corpora/vendored/pragma/declaration/minimal-pragma-naming-nothing-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/minimal-pragma-naming-nothing-out'.hs
@@ -0,0 +1,6 @@
+module Garden.Tool where
+
+class Tool a where
+    sharpen :: a -> a
+    sharpen = id
+    {-# MINIMAL #-}
diff --git a/corpora/vendored/pragma/declaration/minimal-pragma-naming-nothing-out.hs b/corpora/vendored/pragma/declaration/minimal-pragma-naming-nothing-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/minimal-pragma-naming-nothing-out.hs
@@ -0,0 +1,6 @@
+module Garden.Tool where
+
+class Tool a where
+  sharpen :: a -> a
+  sharpen = id
+  {-# MINIMAL #-}
diff --git a/corpora/vendored/pragma/declaration/minimal-pragma-naming-nothing.hs b/corpora/vendored/pragma/declaration/minimal-pragma-naming-nothing.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/minimal-pragma-naming-nothing.hs
@@ -0,0 +1,6 @@
+module Garden.Tool where
+
+class Tool a where
+  sharpen :: a -> a
+  sharpen = id
+  {-# MINIMAL #-}
diff --git a/corpora/vendored/pragma/declaration/minimal-pragma-out'.hs b/corpora/vendored/pragma/declaration/minimal-pragma-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/minimal-pragma-out'.hs
@@ -0,0 +1,11 @@
+module Geometry.Shape where
+
+class Shape a where
+    area :: a -> Double
+    perimeter :: a -> Double
+    sides :: a -> Int
+    {-# MINIMAL area | (perimeter, sides) #-}
+
+class Sized a where
+    size :: a -> Int
+    {-# MINIMAL size #-}
diff --git a/corpora/vendored/pragma/declaration/minimal-pragma-out.hs b/corpora/vendored/pragma/declaration/minimal-pragma-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/minimal-pragma-out.hs
@@ -0,0 +1,11 @@
+module Geometry.Shape where
+
+class Shape a where
+  area :: a -> Double
+  perimeter :: a -> Double
+  sides :: a -> Int
+  {-# MINIMAL area | (perimeter, sides) #-}
+
+class Sized a where
+  size :: a -> Int
+  {-# MINIMAL size #-}
diff --git a/corpora/vendored/pragma/declaration/minimal-pragma.hs b/corpora/vendored/pragma/declaration/minimal-pragma.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/minimal-pragma.hs
@@ -0,0 +1,11 @@
+module Geometry.Shape where
+
+class Shape a where
+  area :: a -> Double
+  perimeter :: a -> Double
+  sides :: a -> Int
+  {-# MINIMAL area | (perimeter, sides) #-}
+
+class Sized a where
+  size :: a -> Int
+  {-# MINIMAL size#-}
diff --git a/corpora/vendored/pragma/declaration/noinline-spelled-as-written-out.hs b/corpora/vendored/pragma/declaration/noinline-spelled-as-written-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/noinline-spelled-as-written-out.hs
@@ -0,0 +1,14 @@
+module Data.Ring (zero, one, double) where
+
+zero :: Int
+zero = 0
+{-# NOINLINE zero #-}
+
+one :: Int
+one = 1
+{-# NOTINLINE one #-}
+
+double :: Num a => a -> a
+double x = x + x
+{-# SPECIALISE NOTINLINE double :: Int -> Int #-}
+{-# SPECIALISE NOINLINE double :: Integer -> Integer #-}
diff --git a/corpora/vendored/pragma/declaration/noinline-spelled-as-written.hs b/corpora/vendored/pragma/declaration/noinline-spelled-as-written.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/noinline-spelled-as-written.hs
@@ -0,0 +1,14 @@
+module Data.Ring (zero, one, double) where
+
+zero :: Int
+zero = 0
+{-# NOINLINE zero #-}
+
+one :: Int
+one = 1
+{-# NOTINLINE one #-}
+
+double :: Num a => a -> a
+double x = x + x
+{-# SPECIALISE NOTINLINE double :: Int -> Int #-}
+{-# SPECIALISE NOINLINE double :: Integer -> Integer #-}
diff --git a/corpora/vendored/pragma/declaration/opaque-and-conlike-out.hs b/corpora/vendored/pragma/declaration/opaque-and-conlike-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/opaque-and-conlike-out.hs
@@ -0,0 +1,13 @@
+module Codec.Checksum where
+
+checksum :: [Int] -> Int
+checksum = foldr (+) 0
+{-# OPAQUE checksum #-}
+
+mask :: Int -> Int
+mask = (`mod` 256)
+{-# INLINE CONLIKE mask #-}
+
+seed :: Int
+seed = 7
+{-# NOINLINE CONLIKE [1] seed #-}
diff --git a/corpora/vendored/pragma/declaration/opaque-and-conlike.hs b/corpora/vendored/pragma/declaration/opaque-and-conlike.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/opaque-and-conlike.hs
@@ -0,0 +1,13 @@
+module Codec.Checksum where
+
+checksum :: [Int] -> Int
+checksum = foldr (+) 0
+{-# OPAQUE checksum #-}
+
+mask :: Int -> Int
+mask = (`mod` 256)
+{-# INLINE CONLIKE mask #-}
+
+seed :: Int
+seed = 7
+{-# NOINLINE   CONLIKE [1] seed #-}
diff --git a/corpora/vendored/pragma/declaration/overlap-modes-out'.hs b/corpora/vendored/pragma/declaration/overlap-modes-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/overlap-modes-out'.hs
@@ -0,0 +1,16 @@
+module Pretty.Instances where
+
+class Pretty a where
+    pretty :: a -> String
+
+instance {-# OVERLAPPABLE #-} Show a => Pretty a where
+    pretty = show
+
+instance {-# OVERLAPPING #-} Pretty String where
+    pretty = id
+
+instance {-# OVERLAPS #-} Pretty [Int] where
+    pretty = concatMap show
+
+instance {-# INCOHERENT #-} Pretty (Maybe a) where
+    pretty _ = "?"
diff --git a/corpora/vendored/pragma/declaration/overlap-modes-out.hs b/corpora/vendored/pragma/declaration/overlap-modes-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/overlap-modes-out.hs
@@ -0,0 +1,16 @@
+module Pretty.Instances where
+
+class Pretty a where
+  pretty :: a -> String
+
+instance {-# OVERLAPPABLE #-} Show a => Pretty a where
+  pretty = show
+
+instance {-# OVERLAPPING #-} Pretty String where
+  pretty = id
+
+instance {-# OVERLAPS #-} Pretty [Int] where
+  pretty = concatMap show
+
+instance {-# INCOHERENT #-} Pretty (Maybe a) where
+  pretty _ = "?"
diff --git a/corpora/vendored/pragma/declaration/overlap-modes.hs b/corpora/vendored/pragma/declaration/overlap-modes.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/overlap-modes.hs
@@ -0,0 +1,16 @@
+module Pretty.Instances where
+
+class Pretty a where
+  pretty :: a -> String
+
+instance {-# OVERLAPPABLE #-} (Show a) => Pretty a where
+  pretty = show
+
+instance {-# OVERLAPPING #-} Pretty String where
+  pretty = id
+
+instance {-# OVERLAPS #-} Pretty [Int] where
+  pretty = concatMap show
+
+instance {-# INCOHERENT #-} Pretty (Maybe a) where
+  pretty _ = "?"
diff --git a/corpora/vendored/pragma/declaration/phase-control-out.hs b/corpora/vendored/pragma/declaration/phase-control-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/phase-control-out.hs
@@ -0,0 +1,17 @@
+module Codec.Fast where
+
+encode :: String -> String
+encode = id
+{-# INLINE [1] encode #-}
+
+decode :: String -> String
+decode = id
+{-# NOINLINE [~1] decode #-}
+
+compose :: Int -> Int
+compose = id
+{-# INLINE [2] compose #-}
+
+{-# SPECIALISE [1] scale :: Int -> Int #-}
+scale :: Num a => a -> a
+scale = (* 2)
diff --git a/corpora/vendored/pragma/declaration/phase-control.hs b/corpora/vendored/pragma/declaration/phase-control.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/phase-control.hs
@@ -0,0 +1,17 @@
+module Codec.Fast where
+
+encode :: String -> String
+encode = id
+{-# INLINE [1] encode #-}
+
+decode :: String -> String
+decode = id
+{-# NOINLINE [~1] decode #-}
+
+compose :: Int -> Int
+compose = id
+{-#   INLINE   [ 2 ]   compose   #-}
+
+{-# SPECIALISE [1] scale :: Int -> Int #-}
+scale :: (Num a) => a -> a
+scale = (* 2)
diff --git a/corpora/vendored/pragma/declaration/pragma-naming-an-associated-type-out'.hs b/corpora/vendored/pragma/declaration/pragma-naming-an-associated-type-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/pragma-naming-an-associated-type-out'.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE TypeFamilies #-}
+
+-- A pragma naming an associated type stays next to the class declaring it.
+module Archive.Box where
+
+class Boxed b where
+    type Content b
+    open :: b -> Content b
+{-# DEPRECATED Content "Use open instead." #-}
diff --git a/corpora/vendored/pragma/declaration/pragma-naming-an-associated-type-out.hs b/corpora/vendored/pragma/declaration/pragma-naming-an-associated-type-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/pragma-naming-an-associated-type-out.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE TypeFamilies #-}
+
+-- A pragma naming an associated type stays next to the class declaring it.
+module Archive.Box where
+
+class Boxed b where
+  type Content b
+  open :: b -> Content b
+{-# DEPRECATED Content "Use open instead." #-}
diff --git a/corpora/vendored/pragma/declaration/pragma-naming-an-associated-type.hs b/corpora/vendored/pragma/declaration/pragma-naming-an-associated-type.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/pragma-naming-an-associated-type.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE TypeFamilies #-}
+
+-- A pragma naming an associated type stays next to the class declaring it.
+module Archive.Box where
+
+class Boxed b where
+  type Content b
+  open :: b -> Content b
+
+{-# DEPRECATED Content "Use open instead." #-}
diff --git a/corpora/vendored/pragma/declaration/pragma-under-a-declaration-that-names-nothing-out.hs b/corpora/vendored/pragma/declaration/pragma-under-a-declaration-that-names-nothing-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/pragma-under-a-declaration-that-names-nothing-out.hs
@@ -0,0 +1,48 @@
+{-# LANGUAGE TemplateHaskell #-}
+{-# LANGUAGE TypeFamilies #-}
+
+-- A pragma is set apart from a declaration next to it that it does not
+-- name, such as an instance, a splice or one with a Haddock.
+module Depot.Crate where
+
+data family Lid c
+
+type family Load c
+
+newtype Crate = Crate{slots :: [Int]}
+
+{-# INLINE seal #-}
+seal :: Crate -> Crate
+seal = id
+
+data instance Lid Crate = CrateLid
+
+{-# INLINE weigh #-}
+weigh :: Crate -> Int
+weigh = sum . slots
+
+type instance Load Crate = Int
+
+{-# INLINE count #-}
+count :: Crate -> Int
+count = length . slots
+
+deriving instance Show Crate
+
+{-# INLINE label #-}
+label :: Crate -> String
+label = show
+
+makeLenses ''Crate
+
+{-# NOINLINE stamp #-}
+stamp :: Crate -> String
+stamp = label
+
+unpack :: Crate -> [Int]
+unpack = slots
+{-# INLINE unpack #-}
+
+-- | Whether the crate holds nothing.
+isEmpty :: Crate -> Bool
+isEmpty = null . slots
diff --git a/corpora/vendored/pragma/declaration/pragma-under-a-declaration-that-names-nothing.hs b/corpora/vendored/pragma/declaration/pragma-under-a-declaration-that-names-nothing.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/pragma-under-a-declaration-that-names-nothing.hs
@@ -0,0 +1,43 @@
+{-# LANGUAGE TemplateHaskell #-}
+{-# LANGUAGE TypeFamilies #-}
+
+-- A pragma is set apart from a declaration next to it that it does not
+-- name, such as an instance, a splice or one with a Haddock.
+module Depot.Crate where
+
+data family Lid c
+
+type family Load c
+
+newtype Crate = Crate {slots :: [Int]}
+{-# INLINE seal #-}
+seal :: Crate -> Crate
+seal = id
+
+data instance Lid Crate = CrateLid
+{-# INLINE weigh #-}
+weigh :: Crate -> Int
+weigh = sum . slots
+
+type instance Load Crate = Int
+{-# INLINE count #-}
+count :: Crate -> Int
+count = length . slots
+
+deriving instance Show Crate
+{-# INLINE label #-}
+label :: Crate -> String
+label = show
+
+makeLenses ''Crate
+{-# NOINLINE stamp #-}
+stamp :: Crate -> String
+stamp = label
+
+unpack :: Crate -> [Int]
+unpack = slots
+{-# INLINE unpack #-}
+
+-- | Whether the crate holds nothing.
+isEmpty :: Crate -> Bool
+isEmpty = null . slots
diff --git a/corpora/vendored/pragma/declaration/pragmas-above-the-haddock-of-what-they-name-out.hs b/corpora/vendored/pragma/declaration/pragmas-above-the-haddock-of-what-they-name-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/pragmas-above-the-haddock-of-what-they-name-out.hs
@@ -0,0 +1,26 @@
+module Shop.Price where
+
+{-# DEPRECATED total "Use sumOf" #-}
+-- | Add the prices up.
+total :: [Int] -> Int
+total = sum
+
+{-# INLINE discount #-}
+{-# WARNING discount "Rounds down" #-}
+-- | Take a tenth off.
+discount :: Int -> Int
+discount p = p - p `div` 10
+
+{-# INLINE tax #-}
+-- | Add a fifth on.
+tax :: Int -> Int
+tax p = p + p `div` 5
+
+{-# NOINLINE rate #-}
+
+-- | The price of nothing.
+free :: Int
+free = 0
+
+rate :: Int
+rate = 5
diff --git a/corpora/vendored/pragma/declaration/pragmas-above-the-haddock-of-what-they-name.hs b/corpora/vendored/pragma/declaration/pragmas-above-the-haddock-of-what-they-name.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/pragmas-above-the-haddock-of-what-they-name.hs
@@ -0,0 +1,26 @@
+module Shop.Price where
+
+{-# DEPRECATED total "Use sumOf" #-}
+-- | Add the prices up.
+total :: [Int] -> Int
+total = sum
+
+{-# INLINE discount #-}
+{-# WARNING discount "Rounds down" #-}
+-- | Take a tenth off.
+discount :: Int -> Int
+discount p = p - p `div` 10
+
+{-# INLINE tax #-}
+
+-- | Add a fifth on.
+tax :: Int -> Int
+tax p = p + p `div` 5
+
+{-# NOINLINE rate #-}
+-- | The price of nothing.
+free :: Int
+free = 0
+
+rate :: Int
+rate = 5
diff --git a/corpora/vendored/pragma/declaration/pragmas-naming-operators-out.hs b/corpora/vendored/pragma/declaration/pragmas-naming-operators-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/pragmas-naming-operators-out.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE PatternSynonyms #-}
+{-# LANGUAGE TypeOperators #-}
+
+module Circuit.Gate where
+
+data (:&) a b = Gate a b
+{-# ANN type (:&) "gate" #-}
+
+pattern (:&&) :: a -> b -> a :& b
+pattern x :&& y = Gate x y
+
+{-# COMPLETE (:&&) :: (:&) #-}
+
+(<&>) :: Bool -> Bool -> Bool
+(<&>) = (&&)
+{-# INLINE (<&>) #-}
+{-# ANN (<&>) "conjunction" #-}
diff --git a/corpora/vendored/pragma/declaration/pragmas-naming-operators.hs b/corpora/vendored/pragma/declaration/pragmas-naming-operators.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/pragmas-naming-operators.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE PatternSynonyms #-}
+{-# LANGUAGE TypeOperators #-}
+
+module Circuit.Gate where
+
+data (:&) a b = Gate a b
+{-# ANN type (:&) "gate" #-}
+
+pattern (:&&) :: a -> b -> a :& b
+pattern x :&& y = Gate x y
+
+{-# COMPLETE (:&&) :: (:&) #-}
+
+(<&>) :: Bool -> Bool -> Bool
+(<&>) = (&&)
+{-# INLINE (<&>) #-}
+{-# ANN (<&>) "conjunction" #-}
diff --git a/corpora/vendored/pragma/declaration/pragmas-next-to-the-data-instance-of-what-they-name-out'.hs b/corpora/vendored/pragma/declaration/pragmas-next-to-the-data-instance-of-what-they-name-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/pragmas-next-to-the-data-instance-of-what-they-name-out'.hs
@@ -0,0 +1,21 @@
+{-# LANGUAGE TypeFamilies #-}
+
+-- A pragma naming a constructor or a field of a data instance, at the top
+-- level or in a class instance, stays next to the instance, as one naming a
+-- member of a type does.
+module Store.Key where
+
+data family Key c
+
+data instance Key Int = IntKey Int
+{-# DEPRECATED IntKey "Use Key Word instead." #-}
+
+newtype instance Key Char = CharKey{charKey :: Char}
+{-# DEPRECATED charKey "Use Key Word instead." #-}
+
+class Keyed c where
+    data Tag c
+
+instance Keyed Int where
+    data Tag Int = IntTag Int
+{-# DEPRECATED IntTag "Use Tag Word instead." #-}
diff --git a/corpora/vendored/pragma/declaration/pragmas-next-to-the-data-instance-of-what-they-name-out.hs b/corpora/vendored/pragma/declaration/pragmas-next-to-the-data-instance-of-what-they-name-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/pragmas-next-to-the-data-instance-of-what-they-name-out.hs
@@ -0,0 +1,21 @@
+{-# LANGUAGE TypeFamilies #-}
+
+-- A pragma naming a constructor or a field of a data instance, at the top
+-- level or in a class instance, stays next to the instance, as one naming a
+-- member of a type does.
+module Store.Key where
+
+data family Key c
+
+data instance Key Int = IntKey Int
+{-# DEPRECATED IntKey "Use Key Word instead." #-}
+
+newtype instance Key Char = CharKey{charKey :: Char}
+{-# DEPRECATED charKey "Use Key Word instead." #-}
+
+class Keyed c where
+  data Tag c
+
+instance Keyed Int where
+  data Tag Int = IntTag Int
+{-# DEPRECATED IntTag "Use Tag Word instead." #-}
diff --git a/corpora/vendored/pragma/declaration/pragmas-next-to-the-data-instance-of-what-they-name.hs b/corpora/vendored/pragma/declaration/pragmas-next-to-the-data-instance-of-what-they-name.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/pragmas-next-to-the-data-instance-of-what-they-name.hs
@@ -0,0 +1,22 @@
+{-# LANGUAGE TypeFamilies #-}
+
+-- A pragma naming a constructor or a field of a data instance, at the top
+-- level or in a class instance, stays next to the instance, as one naming a
+-- member of a type does.
+module Store.Key where
+
+data family Key c
+
+data instance Key Int = IntKey Int
+{-# DEPRECATED IntKey "Use Key Word instead." #-}
+
+newtype instance Key Char = CharKey {charKey :: Char}
+
+{-# DEPRECATED charKey "Use Key Word instead." #-}
+
+class Keyed c where
+  data Tag c
+
+instance Keyed Int where
+  data Tag Int = IntTag Int
+{-# DEPRECATED IntTag "Use Tag Word instead." #-}
diff --git a/corpora/vendored/pragma/declaration/pragmas-next-to-the-type-of-what-they-name-out'.hs b/corpora/vendored/pragma/declaration/pragmas-next-to-the-type-of-what-they-name-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/pragmas-next-to-the-type-of-what-they-name-out'.hs
@@ -0,0 +1,17 @@
+-- A pragma naming a constructor, a field or a method stays next to the type
+-- it belongs to, as one naming the type itself does.
+module Codec.Settings where
+
+{-# DEPRECATED Lossless "Use Quality 100 instead." #-}
+data Mode
+    = Lossless
+    | Quality{qualityLevel :: Int}
+{-# DEPRECATED qualityLevel "Use level instead." #-}
+
+class Encoder e where
+    encode :: e -> String
+    encodeAll :: [e] -> String
+{-# DEPRECATED encodeAll "Use encode on each instead." #-}
+
+data Format = Png | Jpeg
+{-# DEPRECATED Jpeg "Use Png instead." #-}
diff --git a/corpora/vendored/pragma/declaration/pragmas-next-to-the-type-of-what-they-name-out.hs b/corpora/vendored/pragma/declaration/pragmas-next-to-the-type-of-what-they-name-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/pragmas-next-to-the-type-of-what-they-name-out.hs
@@ -0,0 +1,17 @@
+-- A pragma naming a constructor, a field or a method stays next to the type
+-- it belongs to, as one naming the type itself does.
+module Codec.Settings where
+
+{-# DEPRECATED Lossless "Use Quality 100 instead." #-}
+data Mode
+  = Lossless
+  | Quality{qualityLevel :: Int}
+{-# DEPRECATED qualityLevel "Use level instead." #-}
+
+class Encoder e where
+  encode :: e -> String
+  encodeAll :: [e] -> String
+{-# DEPRECATED encodeAll "Use encode on each instead." #-}
+
+data Format = Png | Jpeg
+{-# DEPRECATED Jpeg "Use Png instead." #-}
diff --git a/corpora/vendored/pragma/declaration/pragmas-next-to-the-type-of-what-they-name.hs b/corpora/vendored/pragma/declaration/pragmas-next-to-the-type-of-what-they-name.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/pragmas-next-to-the-type-of-what-they-name.hs
@@ -0,0 +1,18 @@
+-- A pragma naming a constructor, a field or a method stays next to the type
+-- it belongs to, as one naming the type itself does.
+module Codec.Settings where
+
+{-# DEPRECATED Lossless "Use Quality 100 instead." #-}
+data Mode
+  = Lossless
+  | Quality{qualityLevel :: Int}
+{-# DEPRECATED qualityLevel "Use level instead." #-}
+
+class Encoder e where
+  encode :: e -> String
+  encodeAll :: [e] -> String
+{-# DEPRECATED encodeAll "Use encode on each instead." #-}
+
+data Format = Png | Jpeg
+
+{-# DEPRECATED Jpeg "Use Png instead." #-}
diff --git a/corpora/vendored/pragma/declaration/pragmas-next-to-what-they-name-out'.hs b/corpora/vendored/pragma/declaration/pragmas-next-to-what-they-name-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/pragmas-next-to-what-they-name-out'.hs
@@ -0,0 +1,37 @@
+{-# LANGUAGE PatternSynonyms #-}
+{-# LANGUAGE TypeFamilies #-}
+
+-- A pragma stays next to the declaration it names, whatever kind of
+-- declaration that is, but for a fixity declaration.
+module Codec.Legacy where
+
+import Data.Kind (Type)
+
+{-# DEPRECATED Pixel "Use Colour instead." #-}
+type Pixel = Int
+{-# ANN type Pixel "legacy" #-}
+
+{-# WARNING Palette "Palette is partial." #-}
+class Palette p where
+    shade :: p -> Int
+
+type family Channel c
+{-# DEPRECATED Channel "Use Component instead." #-}
+
+{-# DEPRECATED Frame "Use Image instead." #-}
+type Frame :: Type
+data Frame = Frame
+
+{-# INLINE Black #-}
+pattern Black :: Int
+pattern Black = 0
+
+foreign import ccall "blend" blend :: Int -> Int -> Int
+{-# DEPRECATED blend "Use mix instead." #-}
+
+{-# DEPRECATED (<+>) "Use mix instead." #-}
+
+infixl 6 <+>
+
+(<+>) :: Int -> Int -> Int
+(<+>) = blend
diff --git a/corpora/vendored/pragma/declaration/pragmas-next-to-what-they-name-out.hs b/corpora/vendored/pragma/declaration/pragmas-next-to-what-they-name-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/pragmas-next-to-what-they-name-out.hs
@@ -0,0 +1,37 @@
+{-# LANGUAGE PatternSynonyms #-}
+{-# LANGUAGE TypeFamilies #-}
+
+-- A pragma stays next to the declaration it names, whatever kind of
+-- declaration that is, but for a fixity declaration.
+module Codec.Legacy where
+
+import Data.Kind (Type)
+
+{-# DEPRECATED Pixel "Use Colour instead." #-}
+type Pixel = Int
+{-# ANN type Pixel "legacy" #-}
+
+{-# WARNING Palette "Palette is partial." #-}
+class Palette p where
+  shade :: p -> Int
+
+type family Channel c
+{-# DEPRECATED Channel "Use Component instead." #-}
+
+{-# DEPRECATED Frame "Use Image instead." #-}
+type Frame :: Type
+data Frame = Frame
+
+{-# INLINE Black #-}
+pattern Black :: Int
+pattern Black = 0
+
+foreign import ccall "blend" blend :: Int -> Int -> Int
+{-# DEPRECATED blend "Use mix instead." #-}
+
+{-# DEPRECATED (<+>) "Use mix instead." #-}
+
+infixl 6 <+>
+
+(<+>) :: Int -> Int -> Int
+(<+>) = blend
diff --git a/corpora/vendored/pragma/declaration/pragmas-next-to-what-they-name.hs b/corpora/vendored/pragma/declaration/pragmas-next-to-what-they-name.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/pragmas-next-to-what-they-name.hs
@@ -0,0 +1,35 @@
+{-# LANGUAGE PatternSynonyms #-}
+{-# LANGUAGE TypeFamilies #-}
+
+-- A pragma stays next to the declaration it names, whatever kind of
+-- declaration that is, but for a fixity declaration.
+module Codec.Legacy where
+
+import Data.Kind (Type)
+
+{-# DEPRECATED Pixel "Use Colour instead." #-}
+type Pixel = Int
+{-# ANN type Pixel "legacy" #-}
+
+{-# WARNING Palette "Palette is partial." #-}
+class Palette p where
+  shade :: p -> Int
+
+type family Channel c
+{-# DEPRECATED Channel "Use Component instead." #-}
+
+{-# DEPRECATED Frame "Use Image instead." #-}
+type Frame :: Type
+data Frame = Frame
+
+{-# INLINE Black #-}
+pattern Black :: Int
+pattern Black = 0
+
+foreign import ccall "blend" blend :: Int -> Int -> Int
+{-# DEPRECATED blend "Use mix instead." #-}
+
+{-# DEPRECATED (<+>) "Use mix instead." #-}
+infixl 6 <+>
+(<+>) :: Int -> Int -> Int
+(<+>) = blend
diff --git a/corpora/vendored/pragma/declaration/pragmas-the-author-grouped-out.hs b/corpora/vendored/pragma/declaration/pragmas-the-author-grouped-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/pragmas-the-author-grouped-out.hs
@@ -0,0 +1,17 @@
+-- Pragmas written together stay together, whatever their sort, and apart
+-- from the declaration above them where they do not name it.
+module Codec.Pixels where
+
+brighten :: Int -> Int
+brighten = (+ 1)
+
+darken :: Int -> Int
+darken = subtract 1
+
+{-# INLINE brighten #-}
+{-# NOINLINE darken #-}
+{-# RULES "brighten/darken" forall x. brighten (darken x) = x #-}
+{-# RULES "darken/brighten" forall x. darken (brighten x) = x #-}
+
+{-# DEPRECATED brighten "Use lighten instead." #-}
+{-# DEPRECATED darken "Use dim instead." #-}
diff --git a/corpora/vendored/pragma/declaration/pragmas-the-author-grouped.hs b/corpora/vendored/pragma/declaration/pragmas-the-author-grouped.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/pragmas-the-author-grouped.hs
@@ -0,0 +1,16 @@
+-- Pragmas written together stay together, whatever their sort, and apart
+-- from the declaration above them where they do not name it.
+module Codec.Pixels where
+
+brighten :: Int -> Int
+brighten = (+ 1)
+
+darken :: Int -> Int
+darken = subtract 1
+{-# INLINE brighten #-}
+{-# NOINLINE darken #-}
+{-# RULES "brighten/darken" forall x. brighten (darken x) = x #-}
+{-# RULES "darken/brighten" forall x. darken (brighten x) = x #-}
+
+{-# DEPRECATED brighten "Use lighten instead." #-}
+{-# DEPRECATED darken "Use dim instead." #-}
diff --git a/corpora/vendored/pragma/declaration/pragmas-under-bindings-under-signatures-out.hs b/corpora/vendored/pragma/declaration/pragmas-under-bindings-under-signatures-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/pragmas-under-bindings-under-signatures-out.hs
@@ -0,0 +1,10 @@
+-- A declaration written right under a group stays in it where it relates
+-- to any declaration of the group, not only to the first or the last.
+module Strict where
+
+toStrict :: L.ByteString -> B.ByteString
+fromStrict :: B.ByteString -> L.ByteString
+toStrict = L.toStrict
+fromStrict = L.fromStrict
+{-# INLINE toStrict #-}
+{-# INLINE fromStrict #-}
diff --git a/corpora/vendored/pragma/declaration/pragmas-under-bindings-under-signatures.hs b/corpora/vendored/pragma/declaration/pragmas-under-bindings-under-signatures.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/pragmas-under-bindings-under-signatures.hs
@@ -0,0 +1,10 @@
+-- A declaration written right under a group stays in it where it relates
+-- to any declaration of the group, not only to the first or the last.
+module Strict where
+
+toStrict :: L.ByteString -> B.ByteString
+fromStrict :: B.ByteString -> L.ByteString
+toStrict = L.toStrict
+fromStrict = L.fromStrict
+{-# INLINE toStrict #-}
+{-# INLINE fromStrict #-}
diff --git a/corpora/vendored/pragma/declaration/rule-binders-across-several-lines-out'.hs b/corpora/vendored/pragma/declaration/rule-binders-across-several-lines-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/rule-binders-across-several-lines-out'.hs
@@ -0,0 +1,20 @@
+module Ledger.Rewrite where
+
+import Data.Kind (Type)
+
+{-# RULES "put/id" forall (c :: Type). forall (e :: Entry c). put id e = e #-}
+
+{-# RULES
+"fold/entries" forall (c :: Type) (m :: Type -> Type). forall
+    (step :: forall r. Entry c -> r -> m r)
+    (es :: Ledger c).
+    foldEntries step (entries es) =
+        walk step es
+"settle/apply" forall
+    ( f
+        :: Entry c -> Entry c
+    )
+    (l :: Ledger c).
+    settle (apply f l) =
+        \k -> settleWith k f l
+    #-}
diff --git a/corpora/vendored/pragma/declaration/rule-binders-across-several-lines-out.hs b/corpora/vendored/pragma/declaration/rule-binders-across-several-lines-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/rule-binders-across-several-lines-out.hs
@@ -0,0 +1,20 @@
+module Ledger.Rewrite where
+
+import Data.Kind (Type)
+
+{-# RULES "put/id" forall (c :: Type). forall (e :: Entry c). put id e = e #-}
+
+{-# RULES
+"fold/entries" forall (c :: Type) (m :: Type -> Type). forall
+  (step :: forall r. Entry c -> r -> m r)
+  (es :: Ledger c).
+  foldEntries step (entries es) =
+    walk step es
+"settle/apply" forall
+  ( f ::
+      Entry c -> Entry c
+  )
+  (l :: Ledger c).
+  settle (apply f l) =
+    \k -> settleWith k f l
+  #-}
diff --git a/corpora/vendored/pragma/declaration/rule-binders-across-several-lines.hs b/corpora/vendored/pragma/declaration/rule-binders-across-several-lines.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/rule-binders-across-several-lines.hs
@@ -0,0 +1,18 @@
+module Ledger.Rewrite where
+
+import Data.Kind (Type)
+
+{-# RULES "put/id" forall (c :: Type). forall (e :: Entry c). put id e = e #-}
+
+{-# RULES
+"fold/entries" forall (c :: Type) (m :: Type -> Type). forall
+      (step :: forall r. Entry c -> r -> m r)
+      (es :: Ledger c) .
+    foldEntries step (entries es) =
+      walk step es
+"settle/apply" forall (f ::
+                         Entry c -> Entry c)
+                      (l :: Ledger c).
+  settle (apply f l) =
+    \k -> settleWith k f l
+  #-}
diff --git a/corpora/vendored/pragma/declaration/rule-that-is-never-active-out.hs b/corpora/vendored/pragma/declaration/rule-that-is-never-active-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/rule-that-is-never-active-out.hs
@@ -0,0 +1,5 @@
+module Cache.Debug where
+
+{-# RULES "trace/drop" [~] forall s. trace s = id #-}
+
+{-# RULES "probe/off" [~] probe = const () #-}
diff --git a/corpora/vendored/pragma/declaration/rule-that-is-never-active.hs b/corpora/vendored/pragma/declaration/rule-that-is-never-active.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/rule-that-is-never-active.hs
@@ -0,0 +1,5 @@
+module Cache.Debug where
+
+{-# RULES "trace/drop" [ ~ ] forall s. trace s = id #-}
+
+{-# RULES "probe/off" [~]  probe = const () #-}
diff --git a/corpora/vendored/pragma/declaration/rule-with-an-empty-forall-out.hs b/corpora/vendored/pragma/declaration/rule-with-an-empty-forall-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/rule-with-an-empty-forall-out.hs
@@ -0,0 +1,3 @@
+module Buffer.Flush where
+
+{-# RULES "flush/flush" forall. flush . flush = flush #-}
diff --git a/corpora/vendored/pragma/declaration/rule-with-an-empty-forall.hs b/corpora/vendored/pragma/declaration/rule-with-an-empty-forall.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/rule-with-an-empty-forall.hs
@@ -0,0 +1,3 @@
+module Buffer.Flush where
+
+{-# RULES "flush/flush" forall . flush . flush = flush #-}
diff --git a/corpora/vendored/pragma/declaration/rules-across-several-lines-out'.hs b/corpora/vendored/pragma/declaration/rules-across-several-lines-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/rules-across-several-lines-out'.hs
@@ -0,0 +1,14 @@
+module Stream.Fusion where
+
+{-# RULES
+"scan/scan"
+    scan f (scan g s) =
+        scan (f . g) s
+"drain/fill" [2] forall n.
+    drain n (fill n) =
+        id
+"merge/empty" forall s. merge s empty = s
+"lift/const" forall x. lift (const x) = \_ -> x
+    #-}
+
+{-# RULES "batch/unbatch" forall xs. batch (unbatch xs) = xs #-}
diff --git a/corpora/vendored/pragma/declaration/rules-across-several-lines-out.hs b/corpora/vendored/pragma/declaration/rules-across-several-lines-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/rules-across-several-lines-out.hs
@@ -0,0 +1,14 @@
+module Stream.Fusion where
+
+{-# RULES
+"scan/scan"
+  scan f (scan g s) =
+    scan (f . g) s
+"drain/fill" [2] forall n.
+  drain n (fill n) =
+    id
+"merge/empty" forall s. merge s empty = s
+"lift/const" forall x. lift (const x) = \_ -> x
+  #-}
+
+{-# RULES "batch/unbatch" forall xs. batch (unbatch xs) = xs #-}
diff --git a/corpora/vendored/pragma/declaration/rules-across-several-lines.hs b/corpora/vendored/pragma/declaration/rules-across-several-lines.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/rules-across-several-lines.hs
@@ -0,0 +1,14 @@
+module Stream.Fusion where
+
+{-# RULES
+"scan/scan"
+    scan f (scan g s) =
+        scan (f . g) s
+"drain/fill" [2] forall n.
+   drain n (fill n) =
+      id
+"merge/empty" forall s. merge s empty = s
+"lift/const" forall x. lift (const x) = \_ -> x
+  #-}
+
+{-# RULES "batch/unbatch" forall xs. batch (unbatch xs) = xs #-}
diff --git a/corpora/vendored/pragma/declaration/rules-broken-ahead-of-the-equals-sign-out'.hs b/corpora/vendored/pragma/declaration/rules-broken-ahead-of-the-equals-sign-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/rules-broken-ahead-of-the-equals-sign-out'.hs
@@ -0,0 +1,12 @@
+module Stream.Fusion where
+
+{-# RULES
+"zip/unzip" [~2] forall a b. forall (ps :: [(a, b)]).
+    uncurry zip (unzip ps) = ps
+"scan/scan"
+    scan f (scan g s) = scan (f . g) s
+"drain/fill"
+    drain
+        n
+        (fill n) = id
+    #-}
diff --git a/corpora/vendored/pragma/declaration/rules-broken-ahead-of-the-equals-sign-out.hs b/corpora/vendored/pragma/declaration/rules-broken-ahead-of-the-equals-sign-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/rules-broken-ahead-of-the-equals-sign-out.hs
@@ -0,0 +1,12 @@
+module Stream.Fusion where
+
+{-# RULES
+"zip/unzip" [~2] forall a b. forall (ps :: [(a, b)]).
+  uncurry zip (unzip ps) = ps
+"scan/scan"
+  scan f (scan g s) = scan (f . g) s
+"drain/fill"
+  drain
+    n
+    (fill n) = id
+  #-}
diff --git a/corpora/vendored/pragma/declaration/rules-broken-ahead-of-the-equals-sign.hs b/corpora/vendored/pragma/declaration/rules-broken-ahead-of-the-equals-sign.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/rules-broken-ahead-of-the-equals-sign.hs
@@ -0,0 +1,9 @@
+module Stream.Fusion where
+
+{-# RULES
+"zip/unzip" [~2] forall a b. forall (ps :: [(a, b)]). uncurry zip (unzip ps) = ps
+"scan/scan"
+  scan f (scan g s) = scan (f . g) s
+"drain/fill" drain n
+  (fill n) = id
+  #-}
diff --git a/corpora/vendored/pragma/declaration/rules-pragma-with-several-rules-out'.hs b/corpora/vendored/pragma/declaration/rules-pragma-with-several-rules-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/rules-pragma-with-several-rules-out'.hs
@@ -0,0 +1,7 @@
+module Vector.Fuse where
+
+{-# RULES
+"map/map" forall f g xs. map f (map g xs) = map (f . g) xs
+"sum/replicate" [1] forall n (x :: Int). sum (replicate n x) = n * x
+"pair/unpair" [~2] forall a b. forall (ps :: [(a, b)]). pair (unpair ps) = ps
+    #-}
diff --git a/corpora/vendored/pragma/declaration/rules-pragma-with-several-rules-out.hs b/corpora/vendored/pragma/declaration/rules-pragma-with-several-rules-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/rules-pragma-with-several-rules-out.hs
@@ -0,0 +1,7 @@
+module Vector.Fuse where
+
+{-# RULES
+"map/map" forall f g xs. map f (map g xs) = map (f . g) xs
+"sum/replicate" [1] forall n (x :: Int). sum (replicate n x) = n * x
+"pair/unpair" [~2] forall a b. forall (ps :: [(a, b)]). pair (unpair ps) = ps
+  #-}
diff --git a/corpora/vendored/pragma/declaration/rules-pragma-with-several-rules.hs b/corpora/vendored/pragma/declaration/rules-pragma-with-several-rules.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/rules-pragma-with-several-rules.hs
@@ -0,0 +1,7 @@
+module Vector.Fuse where
+
+{-# RULES
+"map/map" forall f g xs. map f (map g xs) = map (f . g) xs
+"sum/replicate" [1] forall n (x :: Int). sum (replicate n x) = n * x
+"pair/unpair" [~2] forall a b. forall (ps :: [(a, b)]). pair (unpair ps) = ps
+  #-}
diff --git a/corpora/vendored/pragma/declaration/scc-pragmas-in-a-where-block-out'.hs b/corpora/vendored/pragma/declaration/scc-pragmas-in-a-where-block-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/scc-pragmas-in-a-where-block-out'.hs
@@ -0,0 +1,14 @@
+module Report.Render where
+
+render :: [Int] -> String
+render rows = header ++ body ++ footer
+    where
+        header = "rows:"
+        {-# SCC header #-}
+        body = concatMap show rows
+        {-# SCC body "render_body" #-}
+        footer = "."
+        {-# SCC
+            footer
+            "render_footer"
+            #-}
diff --git a/corpora/vendored/pragma/declaration/scc-pragmas-in-a-where-block-out.hs b/corpora/vendored/pragma/declaration/scc-pragmas-in-a-where-block-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/scc-pragmas-in-a-where-block-out.hs
@@ -0,0 +1,14 @@
+module Report.Render where
+
+render :: [Int] -> String
+render rows = header ++ body ++ footer
+  where
+    header = "rows:"
+    {-# SCC header #-}
+    body = concatMap show rows
+    {-# SCC body "render_body" #-}
+    footer = "."
+    {-# SCC
+      footer
+      "render_footer"
+      #-}
diff --git a/corpora/vendored/pragma/declaration/scc-pragmas-in-a-where-block.hs b/corpora/vendored/pragma/declaration/scc-pragmas-in-a-where-block.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/scc-pragmas-in-a-where-block.hs
@@ -0,0 +1,12 @@
+module Report.Render where
+
+render :: [Int] -> String
+render rows = header ++ body ++ footer
+  where
+    header = "rows:"
+    {-# SCC header #-}
+    body = concatMap show rows
+    {-# SCC body "render_body" #-}
+    footer = "."
+    {-# SCC footer
+          "render_footer" #-}
diff --git a/corpora/vendored/pragma/declaration/specialise-of-an-applied-function-out.hs b/corpora/vendored/pragma/declaration/specialise-of-an-applied-function-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/specialise-of-an-applied-function-out.hs
@@ -0,0 +1,9 @@
+module Stats.Scale where
+
+scale :: Num a => a -> [a] -> [a]
+scale k = map (* k)
+{-# SPECIALISE scale @Int #-}
+{-# SPECIALISE scale (2 :: Double) #-}
+
+total :: Int
+total = 0
diff --git a/corpora/vendored/pragma/declaration/specialise-of-an-applied-function.hs b/corpora/vendored/pragma/declaration/specialise-of-an-applied-function.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/specialise-of-an-applied-function.hs
@@ -0,0 +1,11 @@
+module Stats.Scale where
+
+scale :: (Num a) => a -> [a] -> [a]
+scale k = map (* k)
+
+{-# SPECIALISE scale @Int #-}
+
+{-# SPECIALISE scale (2 :: Double) #-}
+
+total :: Int
+total = 0
diff --git a/corpora/vendored/pragma/declaration/specialise-spelled-as-written-out'.hs b/corpora/vendored/pragma/declaration/specialise-spelled-as-written-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/specialise-spelled-as-written-out'.hs
@@ -0,0 +1,21 @@
+module Data.Ring (add, scale, Ring (..)) where
+
+add :: Num a => a -> a -> a
+add = (+)
+{-# SPECIALISE add :: Int -> Int -> Int #-}
+{-# SPECIALIZE add :: Double -> Double -> Double #-}
+
+scale :: Num a => a -> a -> a
+scale = (*)
+{-# SPECIALISE INLINE scale :: Int -> Int -> Int #-}
+{-# SPECIALIZE NOINLINE scale :: Double -> Double -> Double #-}
+
+newtype Ring a = Ring a
+
+instance Eq a => Eq (Ring a) where
+    {-# SPECIALISE instance Eq (Ring Int) #-}
+    Ring a == Ring b = a == b
+
+instance Ord a => Ord (Ring a) where
+    {-# SPECIALIZE instance Ord (Ring Int) #-}
+    compare (Ring a) (Ring b) = compare a b
diff --git a/corpora/vendored/pragma/declaration/specialise-spelled-as-written-out.hs b/corpora/vendored/pragma/declaration/specialise-spelled-as-written-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/specialise-spelled-as-written-out.hs
@@ -0,0 +1,21 @@
+module Data.Ring (add, scale, Ring (..)) where
+
+add :: Num a => a -> a -> a
+add = (+)
+{-# SPECIALISE add :: Int -> Int -> Int #-}
+{-# SPECIALIZE add :: Double -> Double -> Double #-}
+
+scale :: Num a => a -> a -> a
+scale = (*)
+{-# SPECIALISE INLINE scale :: Int -> Int -> Int #-}
+{-# SPECIALIZE NOINLINE scale :: Double -> Double -> Double #-}
+
+newtype Ring a = Ring a
+
+instance Eq a => Eq (Ring a) where
+  {-# SPECIALISE instance Eq (Ring Int) #-}
+  Ring a == Ring b = a == b
+
+instance Ord a => Ord (Ring a) where
+  {-# SPECIALIZE instance Ord (Ring Int) #-}
+  compare (Ring a) (Ring b) = compare a b
diff --git a/corpora/vendored/pragma/declaration/specialise-spelled-as-written.hs b/corpora/vendored/pragma/declaration/specialise-spelled-as-written.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/specialise-spelled-as-written.hs
@@ -0,0 +1,21 @@
+module Data.Ring (add, scale, Ring (..)) where
+
+add :: (Num a) => a -> a -> a
+add = (+)
+{-# SPECIALISE add :: Int -> Int -> Int #-}
+{-# SPECIALIZE add :: Double -> Double -> Double #-}
+
+scale :: (Num a) => a -> a -> a
+scale = (*)
+{-# SPECIALISE INLINE scale :: Int -> Int -> Int #-}
+{-# SPECIALIZE NOINLINE scale :: Double -> Double -> Double #-}
+
+newtype Ring a = Ring a
+
+instance (Eq a) => Eq (Ring a) where
+  {-# SPECIALISE instance Eq (Ring Int) #-}
+  Ring a == Ring b = a == b
+
+instance (Ord a) => Ord (Ring a) where
+  {-# SPECIALIZE instance Ord (Ring Int) #-}
+  compare (Ring a) (Ring b) = compare a b
diff --git a/corpora/vendored/pragma/declaration/specialise-to-a-type-across-several-lines-out'.hs b/corpora/vendored/pragma/declaration/specialise-to-a-type-across-several-lines-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/specialise-to-a-type-across-several-lines-out'.hs
@@ -0,0 +1,14 @@
+module Matrix.Scale where
+
+scaleBy :: Num a => a -> [a] -> [a]
+scaleBy k = map (* k)
+{-# SPECIALISE scaleBy
+    :: Int
+    -> [Int]
+    -> [Int]
+    #-}
+{-# SPECIALISE [~1] scaleBy
+    :: Double
+    -> [Double]
+    -> [Double]
+    #-}
diff --git a/corpora/vendored/pragma/declaration/specialise-to-a-type-across-several-lines-out.hs b/corpora/vendored/pragma/declaration/specialise-to-a-type-across-several-lines-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/specialise-to-a-type-across-several-lines-out.hs
@@ -0,0 +1,14 @@
+module Matrix.Scale where
+
+scaleBy :: Num a => a -> [a] -> [a]
+scaleBy k = map (* k)
+{-# SPECIALISE scaleBy ::
+  Int ->
+  [Int] ->
+  [Int]
+  #-}
+{-# SPECIALISE [~1] scaleBy ::
+  Double ->
+  [Double] ->
+  [Double]
+  #-}
diff --git a/corpora/vendored/pragma/declaration/specialise-to-a-type-across-several-lines.hs b/corpora/vendored/pragma/declaration/specialise-to-a-type-across-several-lines.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/specialise-to-a-type-across-several-lines.hs
@@ -0,0 +1,10 @@
+module Matrix.Scale where
+
+scaleBy :: (Num a) => a -> [a] -> [a]
+scaleBy k = map (* k)
+{-# SPECIALISE scaleBy
+      :: Int
+      -> [Int]
+      -> [Int] #-}
+{-# SPECIALISE [~1] scaleBy :: Double ->
+                                 [Double] -> [Double] #-}
diff --git a/corpora/vendored/pragma/declaration/specialise-to-several-types-out.hs b/corpora/vendored/pragma/declaration/specialise-to-several-types-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/specialise-to-several-types-out.hs
@@ -0,0 +1,5 @@
+module Stats.Mean where
+
+mean :: Fractional a => [a] -> a
+mean xs = sum xs / fromIntegral (length xs)
+{-# SPECIALISE mean :: [Double] -> Double, [Float] -> Float #-}
diff --git a/corpora/vendored/pragma/declaration/specialise-to-several-types.hs b/corpora/vendored/pragma/declaration/specialise-to-several-types.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/specialise-to-several-types.hs
@@ -0,0 +1,5 @@
+module Stats.Mean where
+
+mean :: (Fractional a) => [a] -> a
+mean xs = sum xs / fromIntegral (length xs)
+{-# SPECIALISE mean :: [Double] -> Double, [Float] -> Float #-}
diff --git a/corpora/vendored/pragma/declaration/specialise-with-binders-out.hs b/corpora/vendored/pragma/declaration/specialise-with-binders-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/specialise-with-binders-out.hs
@@ -0,0 +1,6 @@
+module Signal.Clamp where
+
+clamp :: Ord a => a -> a -> a -> a
+clamp lo hi = max lo . min hi
+{-# SPECIALISE forall lo. clamp (lo :: Int) #-}
+{-# SPECIALISE [1] forall a. forall (hi :: [a]). clamp [] hi #-}
diff --git a/corpora/vendored/pragma/declaration/specialise-with-binders.hs b/corpora/vendored/pragma/declaration/specialise-with-binders.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/specialise-with-binders.hs
@@ -0,0 +1,6 @@
+module Signal.Clamp where
+
+clamp :: (Ord a) => a -> a -> a -> a
+clamp lo hi = max lo . min hi
+{-# SPECIALISE forall lo. clamp (lo :: Int) #-}
+{-# SPECIALISE [1] forall a. forall (hi :: [a]). clamp [] hi #-}
diff --git a/corpora/vendored/pragma/declaration/specialise-without-a-head-variable-out.hs b/corpora/vendored/pragma/declaration/specialise-without-a-head-variable-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/specialise-without-a-head-variable-out.hs
@@ -0,0 +1,4 @@
+f :: Ord a => a -> a
+f = f
+
+{-# SPECIALISE let x = 2 in f x #-}
diff --git a/corpora/vendored/pragma/declaration/specialise-without-a-head-variable.hs b/corpora/vendored/pragma/declaration/specialise-without-a-head-variable.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/specialise-without-a-head-variable.hs
@@ -0,0 +1,4 @@
+f :: (Ord a) => a -> a
+f = f
+
+{-# SPECIALISE let x = 2 in f x #-}
diff --git a/corpora/vendored/pragma/declaration/warning-category-as-written-out.hs b/corpora/vendored/pragma/declaration/warning-category-as-written-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/warning-category-as-written-out.hs
@@ -0,0 +1,9 @@
+module M where
+
+{-# WARNING in "x-p\&artial" f "Partial" #-}
+f :: Int -> Int
+f = id
+
+{-# WARNING in "x-unsafe" g "Unsafe" #-}
+g :: Int -> Int
+g = id
diff --git a/corpora/vendored/pragma/declaration/warning-category-as-written.hs b/corpora/vendored/pragma/declaration/warning-category-as-written.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/warning-category-as-written.hs
@@ -0,0 +1,9 @@
+module M where
+
+{-# WARNING in "x-p\&artial" f "Partial" #-}
+f :: Int -> Int
+f = id
+
+{-# WARNING in "x-unsafe" g "Unsafe" #-}
+g :: Int -> Int
+g = id
diff --git a/corpora/vendored/pragma/declaration/warning-on-an-instance-across-lines-out'.hs b/corpora/vendored/pragma/declaration/warning-on-an-instance-across-lines-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/warning-on-an-instance-across-lines-out'.hs
@@ -0,0 +1,35 @@
+{-# LANGUAGE DerivingVia #-}
+
+module Vault.Token where
+
+newtype Token = Token String
+
+{-# WARNING expire "A token expires on its own." #-}
+expire :: Token -> Token
+expire = id
+
+instance
+    {-# WARNING "Showing a token prints it." #-}
+    Show Token
+    where
+    show (Token t) = t
+
+instance
+    {-# WARNING "Comparing tokens takes time." #-}
+    Eq Token
+    where
+    Token a == Token b = a == b
+
+deriving instance {-# WARNING "The order says nothing." #-} Ord Token
+
+newtype Stamp = Stamp Int
+
+deriving instance
+    {-# WARNING "Stamps from two vaults do not compare." #-}
+    Eq Stamp
+
+deriving via
+    Int
+    instance
+        {-# WARNING "Stamps from two vaults do not order." #-}
+        Ord Stamp
diff --git a/corpora/vendored/pragma/declaration/warning-on-an-instance-across-lines-out.hs b/corpora/vendored/pragma/declaration/warning-on-an-instance-across-lines-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/warning-on-an-instance-across-lines-out.hs
@@ -0,0 +1,35 @@
+{-# LANGUAGE DerivingVia #-}
+
+module Vault.Token where
+
+newtype Token = Token String
+
+{-# WARNING expire "A token expires on its own." #-}
+expire :: Token -> Token
+expire = id
+
+instance
+  {-# WARNING "Showing a token prints it." #-}
+  Show Token
+  where
+  show (Token t) = t
+
+instance
+  {-# WARNING "Comparing tokens takes time." #-}
+  Eq Token
+  where
+  Token a == Token b = a == b
+
+deriving instance {-# WARNING "The order says nothing." #-} Ord Token
+
+newtype Stamp = Stamp Int
+
+deriving instance
+  {-# WARNING "Stamps from two vaults do not compare." #-}
+  Eq Stamp
+
+deriving via
+  Int
+  instance
+    {-# WARNING "Stamps from two vaults do not order." #-}
+    Ord Stamp
diff --git a/corpora/vendored/pragma/declaration/warning-on-an-instance-across-lines.hs b/corpora/vendored/pragma/declaration/warning-on-an-instance-across-lines.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/warning-on-an-instance-across-lines.hs
@@ -0,0 +1,28 @@
+{-# LANGUAGE DerivingVia #-}
+
+module Vault.Token where
+
+newtype Token = Token String
+
+{-# WARNING expire "A token expires on its own." #-}
+expire :: Token -> Token
+expire = id
+
+instance
+  {-# WARNING "Showing a token prints it." #-}
+  Show Token where
+  show (Token t) = t
+
+instance {-# WARNING "Comparing tokens takes time." #-}
+  Eq Token where
+  Token a == Token b = a == b
+
+deriving instance {-# WARNING "The order says nothing." #-} Ord Token
+
+newtype Stamp = Stamp Int
+
+deriving instance
+  {-# WARNING "Stamps from two vaults do not compare." #-} Eq Stamp
+
+deriving via Int instance
+  {-# WARNING "Stamps from two vaults do not order." #-} Ord Stamp
diff --git a/corpora/vendored/pragma/declaration/warning-on-an-instance-out'.hs b/corpora/vendored/pragma/declaration/warning-on-an-instance-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/warning-on-an-instance-out'.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE StandaloneDeriving #-}
+
+module Vault.Secret where
+
+newtype Secret = Secret String
+
+instance {-# WARNING "Showing a secret prints it." #-} Show Secret where
+    show (Secret s) = s
+
+deriving instance {-# DEPRECATED "Compare digests instead." #-} Eq Secret
+
+instance {-# WARNING in "x-leak" ["Timing.", "Hash it."] #-} Ord Secret where
+    compare (Secret a) (Secret b) = compare a b
diff --git a/corpora/vendored/pragma/declaration/warning-on-an-instance-out.hs b/corpora/vendored/pragma/declaration/warning-on-an-instance-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/warning-on-an-instance-out.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE StandaloneDeriving #-}
+
+module Vault.Secret where
+
+newtype Secret = Secret String
+
+instance {-# WARNING "Showing a secret prints it." #-} Show Secret where
+  show (Secret s) = s
+
+deriving instance {-# DEPRECATED "Compare digests instead." #-} Eq Secret
+
+instance {-# WARNING in "x-leak" ["Timing.", "Hash it."] #-} Ord Secret where
+  compare (Secret a) (Secret b) = compare a b
diff --git a/corpora/vendored/pragma/declaration/warning-on-an-instance.hs b/corpora/vendored/pragma/declaration/warning-on-an-instance.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/warning-on-an-instance.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE StandaloneDeriving #-}
+
+module Vault.Secret where
+
+newtype Secret = Secret String
+
+instance {-# WARNING "Showing a secret prints it." #-} Show Secret where
+  show (Secret s) = s
+
+deriving instance {-# DEPRECATED "Compare digests instead." #-} Eq Secret
+
+instance {-# WARNING in "x-leak" ["Timing.", "Hash it."] #-} Ord Secret where
+  compare (Secret a) (Secret b) = compare a b
diff --git a/corpora/vendored/pragma/declaration/warning-pragma-with-several-groups-out'.hs b/corpora/vendored/pragma/declaration/warning-pragma-with-several-groups-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/warning-pragma-with-several-groups-out'.hs
@@ -0,0 +1,16 @@
+module Kiln.Firing where
+
+heat, cool :: Int -> Int
+heat = (+ 10)
+cool = subtract 10
+{-# DEPRECATED heat "Use raise instead."; cool "Use lower instead." #-}
+
+{-# WARNING
+    in "x-unsafe" vent "Opens the door hot.";
+    in "x-partial" peak "Fails on an empty schedule."
+    #-}
+vent :: Int -> Int
+vent = const 0
+
+peak :: [Int] -> Int
+peak = maximum
diff --git a/corpora/vendored/pragma/declaration/warning-pragma-with-several-groups-out.hs b/corpora/vendored/pragma/declaration/warning-pragma-with-several-groups-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/warning-pragma-with-several-groups-out.hs
@@ -0,0 +1,16 @@
+module Kiln.Firing where
+
+heat, cool :: Int -> Int
+heat = (+ 10)
+cool = subtract 10
+{-# DEPRECATED heat "Use raise instead."; cool "Use lower instead." #-}
+
+{-# WARNING
+  in "x-unsafe" vent "Opens the door hot.";
+  in "x-partial" peak "Fails on an empty schedule."
+  #-}
+vent :: Int -> Int
+vent = const 0
+
+peak :: [Int] -> Int
+peak = maximum
diff --git a/corpora/vendored/pragma/declaration/warning-pragma-with-several-groups.hs b/corpora/vendored/pragma/declaration/warning-pragma-with-several-groups.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/warning-pragma-with-several-groups.hs
@@ -0,0 +1,14 @@
+module Kiln.Firing where
+
+heat, cool :: Int -> Int
+heat = (+ 10)
+cool = subtract 10
+{-# DEPRECATED heat "Use raise instead."; cool "Use lower instead." #-}
+
+{-# WARNING in "x-unsafe" vent "Opens the door hot." ;
+            in "x-partial" peak "Fails on an empty schedule." #-}
+vent :: Int -> Int
+vent = const 0
+
+peak :: [Int] -> Int
+peak = maximum
diff --git a/corpora/vendored/pragma/declaration/warning-pragmas-that-name-nothing-out.hs b/corpora/vendored/pragma/declaration/warning-pragmas-that-name-nothing-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/warning-pragmas-that-name-nothing-out.hs
@@ -0,0 +1,9 @@
+module Kiln.Glaze where
+
+-- A DEPRECATED or WARNING pragma that names nothing is a declaration of its
+-- own, and is kept.
+{-# DEPRECATED #-}
+{-# WARNING #-}
+
+glaze :: Int
+glaze = 1
diff --git a/corpora/vendored/pragma/declaration/warning-pragmas-that-name-nothing.hs b/corpora/vendored/pragma/declaration/warning-pragmas-that-name-nothing.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/warning-pragmas-that-name-nothing.hs
@@ -0,0 +1,9 @@
+module Kiln.Glaze where
+
+-- A DEPRECATED or WARNING pragma that names nothing is a declaration of its
+-- own, and is kept.
+{-# DEPRECATED #-}
+{-# warning #-}
+
+glaze :: Int
+glaze = 1
diff --git a/corpora/vendored/pragma/declaration/warnings-for-a-namespace-out.hs b/corpora/vendored/pragma/declaration/warnings-for-a-namespace-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/warnings-for-a-namespace-out.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE ExplicitNamespaces #-}
+{-# LANGUAGE TypeOperators #-}
+
+module Pair.Both where
+
+data a :* b = a :* b
+
+infixr 6 data :*
+
+{-# DEPRECATED data (:*) "Use the Both constructor instead." #-}
+{-# WARNING type (:*) "The type is going away." #-}
diff --git a/corpora/vendored/pragma/declaration/warnings-for-a-namespace.hs b/corpora/vendored/pragma/declaration/warnings-for-a-namespace.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/warnings-for-a-namespace.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE ExplicitNamespaces #-}
+{-# LANGUAGE TypeOperators #-}
+
+module Pair.Both where
+
+data a :* b = a :* b
+
+infixr 6 data :*
+
+{-# DEPRECATED data (:*) "Use the Both constructor instead." #-}
+{-# WARNING type (:*) "The type is going away." #-}
diff --git a/corpora/vendored/pragma/declaration/warnings-on-lines-of-their-own-out'.hs b/corpora/vendored/pragma/declaration/warnings-on-lines-of-their-own-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/warnings-on-lines-of-their-own-out'.hs
@@ -0,0 +1,22 @@
+{-# LANGUAGE StandaloneDeriving #-}
+
+-- A warning lines up with the export item or instance head it is part of.
+module Vault.Store
+    ( store
+    , {-# DEPRECATED "Use store instead, which also checks the digest." #-}
+      storeUnchecked
+    , {-# DEPRECATED "Use fetch." #-} fetchUnchecked
+    )
+where
+
+newtype Secret = Secret String
+
+instance
+    {-# WARNING "Showing a secret prints it, so it is best left to tests." #-}
+    Show Secret
+    where
+    show (Secret s) = s
+
+deriving instance
+    {-# DEPRECATED "Compare the digests of secrets instead of secrets." #-}
+    Eq Secret
diff --git a/corpora/vendored/pragma/declaration/warnings-on-lines-of-their-own-out.hs b/corpora/vendored/pragma/declaration/warnings-on-lines-of-their-own-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/warnings-on-lines-of-their-own-out.hs
@@ -0,0 +1,22 @@
+{-# LANGUAGE StandaloneDeriving #-}
+
+-- A warning lines up with the export item or instance head it is part of.
+module Vault.Store
+  ( store,
+    {-# DEPRECATED "Use store instead, which also checks the digest." #-}
+    storeUnchecked,
+    {-# DEPRECATED "Use fetch." #-} fetchUnchecked,
+  )
+where
+
+newtype Secret = Secret String
+
+instance
+  {-# WARNING "Showing a secret prints it, so it is best left to tests." #-}
+  Show Secret
+  where
+  show (Secret s) = s
+
+deriving instance
+  {-# DEPRECATED "Compare the digests of secrets instead of secrets." #-}
+  Eq Secret
diff --git a/corpora/vendored/pragma/declaration/warnings-on-lines-of-their-own.hs b/corpora/vendored/pragma/declaration/warnings-on-lines-of-their-own.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/declaration/warnings-on-lines-of-their-own.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE StandaloneDeriving #-}
+
+-- A warning lines up with the export item or instance head it is part of.
+module Vault.Store
+  ( store,
+    {-# DEPRECATED "Use store instead, which also checks the digest." #-} storeUnchecked,
+    {-# DEPRECATED "Use fetch." #-} fetchUnchecked,
+  )
+where
+
+newtype Secret = Secret String
+
+instance {-# WARNING "Showing a secret prints it, so it is best left to tests." #-} Show Secret where
+  show (Secret s) = s
+
+deriving instance {-# DEPRECATED "Compare the digests of secrets instead of secrets." #-} Eq Secret
diff --git a/corpora/vendored/pragma/header/comment-after-header-pragma-out.hs b/corpora/vendored/pragma/header/comment-after-header-pragma-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/header/comment-after-header-pragma-out.hs
@@ -0,0 +1,8 @@
+{-# LANGUAGE DeriveFunctor #-}
+{-# LANGUAGE DeriveTraversable #-} -- Foldable and Functor come with it
+-- said about the pragma below, not about the module
+{-# LANGUAGE OverloadedStrings #-}
+{-# OPTIONS_GHC -Wno-orphans #-} -- until the instances move upstream
+{-# OPTIONS_HADDOCK not-home #-}
+
+module Header where
diff --git a/corpora/vendored/pragma/header/comment-after-header-pragma.hs b/corpora/vendored/pragma/header/comment-after-header-pragma.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/header/comment-after-header-pragma.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE DeriveTraversable #-} -- Foldable and Functor come with it
+{-# LANGUAGE DeriveFunctor #-}
+
+-- said about the pragma below, not about the module
+{-# LANGUAGE OverloadedStrings #-}
+{-# OPTIONS_GHC -Wno-orphans #-} -- until the instances move upstream
+{-# OPTIONS_HADDOCK not-home #-}
+
+module Header where
diff --git a/corpora/vendored/pragma/header/comment-carrying-on-the-remark-of-a-pragma-out.hs b/corpora/vendored/pragma/header/comment-carrying-on-the-remark-of-a-pragma-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/header/comment-carrying-on-the-remark-of-a-pragma-out.hs
@@ -0,0 +1,8 @@
+{-# LANGUAGE UndecidableInstances #-} -- for the instance of Shed
+                                      -- in Garden.Tools
+{-# LANGUAGE ViewPatterns #-}
+{-# OPTIONS_GHC -Wno-orphans #-}
+
+-- The empty line under a comment carrying on the remark of a pragma stays
+-- between that pragma and the next, which keep none, when sorting moves it.
+module Garden.Shed where
diff --git a/corpora/vendored/pragma/header/comment-carrying-on-the-remark-of-a-pragma.hs b/corpora/vendored/pragma/header/comment-carrying-on-the-remark-of-a-pragma.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/header/comment-carrying-on-the-remark-of-a-pragma.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE ViewPatterns #-}
+{-# LANGUAGE UndecidableInstances #-} -- for the instance of Shed
+                                      -- in Garden.Tools
+
+{-# OPTIONS_GHC -Wno-orphans #-}
+
+-- The empty line under a comment carrying on the remark of a pragma stays
+-- between that pragma and the next, which keep none, when sorting moves it.
+module Garden.Shed where
diff --git a/corpora/vendored/pragma/header/comment-over-a-hoisted-pragma-out.hs b/corpora/vendored/pragma/header/comment-over-a-hoisted-pragma-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/header/comment-over-a-hoisted-pragma-out.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE OverloadedStrings #-}
+-- eviction order is Cache.Warm's business
+{-# OPTIONS_GHC -Wno-unused-imports #-}
+
+-- | Cooling the cache.
+module Cache.Cool where
+
+cool :: IO ()
+cool = pure ()
diff --git a/corpora/vendored/pragma/header/comment-over-a-hoisted-pragma.hs b/corpora/vendored/pragma/header/comment-over-a-hoisted-pragma.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/header/comment-over-a-hoisted-pragma.hs
@@ -0,0 +1,11 @@
+-- | Cooling the cache.
+
+{-# LANGUAGE OverloadedStrings #-}
+
+-- eviction order is Cache.Warm's business
+{-# OPTIONS_GHC -Wno-unused-imports #-}
+
+module Cache.Cool where
+
+cool :: IO ()
+cool = pure ()
diff --git a/corpora/vendored/pragma/header/comment-under-a-hoisted-pragma-after-another-out.hs b/corpora/vendored/pragma/header/comment-under-a-hoisted-pragma-after-another-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/header/comment-under-a-hoisted-pragma-after-another-out.hs
@@ -0,0 +1,9 @@
+--------------------
+
+{-# OPTIONS_GHC -Wall #-}
+
+-- | The module.
+
+-- a remark
+
+module T where
diff --git a/corpora/vendored/pragma/header/comment-under-a-hoisted-pragma-after-another.hs b/corpora/vendored/pragma/header/comment-under-a-hoisted-pragma-after-another.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/header/comment-under-a-hoisted-pragma-after-another.hs
@@ -0,0 +1,7 @@
+-- | The module.
+--------------------
+
+{-# OPTIONS_GHC -Wall #-}
+-- a remark
+
+module T where
diff --git a/corpora/vendored/pragma/header/comment-under-a-hoisted-pragma-below-a-block-haddock-out'.hs b/corpora/vendored/pragma/header/comment-under-a-hoisted-pragma-below-a-block-haddock-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/header/comment-under-a-hoisted-pragma-below-a-block-haddock-out'.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE DerivingStrategies #-}
+
+{- |
+Raised beds and what grows in them.
+
+Each bed is a grid of squares, one plant to a square.
+-}
+-- the grid stays square until beds can be irregular
+module Garden.Beds (Bed, plant) where
+
+data Bed = Bed [[Maybe String]]
+    deriving stock (Show)
+
+plant :: String -> Int -> Int -> Bed -> Bed
+plant _ _ _ = id
diff --git a/corpora/vendored/pragma/header/comment-under-a-hoisted-pragma-below-a-block-haddock-out.hs b/corpora/vendored/pragma/header/comment-under-a-hoisted-pragma-below-a-block-haddock-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/header/comment-under-a-hoisted-pragma-below-a-block-haddock-out.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE DerivingStrategies #-}
+
+{- |
+Raised beds and what grows in them.
+
+Each bed is a grid of squares, one plant to a square.
+-}
+-- the grid stays square until beds can be irregular
+module Garden.Beds (Bed, plant) where
+
+data Bed = Bed [[Maybe String]]
+  deriving stock (Show)
+
+plant :: String -> Int -> Int -> Bed -> Bed
+plant _ _ _ = id
diff --git a/corpora/vendored/pragma/header/comment-under-a-hoisted-pragma-below-a-block-haddock.hs b/corpora/vendored/pragma/header/comment-under-a-hoisted-pragma-below-a-block-haddock.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/header/comment-under-a-hoisted-pragma-below-a-block-haddock.hs
@@ -0,0 +1,14 @@
+{- |
+Raised beds and what grows in them.
+
+Each bed is a grid of squares, one plant to a square.
+-}
+{-# LANGUAGE DerivingStrategies #-}
+-- the grid stays square until beds can be irregular
+module Garden.Beds (Bed, plant) where
+
+data Bed = Bed [[Maybe String]]
+  deriving stock (Show)
+
+plant :: String -> Int -> Int -> Bed -> Bed
+plant _ _ _ = id
diff --git a/corpora/vendored/pragma/header/comment-under-a-hoisted-pragma-out.hs b/corpora/vendored/pragma/header/comment-under-a-hoisted-pragma-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/header/comment-under-a-hoisted-pragma-out.hs
@@ -0,0 +1,17 @@
+{-# OPTIONS_GHC -Wno-incomplete-patterns #-}
+
+-- | Warming the cache.
+--
+--   Usage:
+--   @
+--
+--     import qualified Cache.Warm as Warm
+--
+--   @
+
+-- the shapes below are exhaustive, but not obviously so
+
+module Cache.Warm where
+
+warm :: IO ()
+warm = pure ()
diff --git a/corpora/vendored/pragma/header/comment-under-a-hoisted-pragma.hs b/corpora/vendored/pragma/header/comment-under-a-hoisted-pragma.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/header/comment-under-a-hoisted-pragma.hs
@@ -0,0 +1,16 @@
+-- | Warming the cache.
+--
+--   Usage:
+--   @
+--
+--     import qualified Cache.Warm as Warm
+--
+--   @
+
+{-# OPTIONS_GHC -Wno-incomplete-patterns #-}
+  -- the shapes below are exhaustive, but not obviously so
+
+module Cache.Warm where
+
+warm :: IO ()
+warm = pure ()
diff --git a/corpora/vendored/pragma/header/pragma-below-the-module-line-out.hs b/corpora/vendored/pragma/header/pragma-below-the-module-line-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/header/pragma-below-the-module-line-out.hs
@@ -0,0 +1,8 @@
+module Kiln.Size where
+
+{-# LANGUAGE OverloadedStrings #-}
+
+-- GHC reads pragmas above the module line alone, so OverloadedStrings is
+-- off, and the pragma stays where it is written.
+size :: Int
+size = length "abc"
diff --git a/corpora/vendored/pragma/header/pragma-below-the-module-line.hs b/corpora/vendored/pragma/header/pragma-below-the-module-line.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/header/pragma-below-the-module-line.hs
@@ -0,0 +1,7 @@
+module Kiln.Size where
+{-# LANGUAGE OverloadedStrings #-}
+
+-- GHC reads pragmas above the module line alone, so OverloadedStrings is
+-- off, and the pragma stays where it is written.
+size :: Int
+size = length "abc"
diff --git a/corpora/vendored/pragma/header/pragma-with-no-name-out.hs b/corpora/vendored/pragma/header/pragma-with-no-name-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/header/pragma-with-no-name-out.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE BangPatterns #-}
+{-# LANGUAGE LambdaCase #-}
+{-# #-}
+{-# OPTIONS_GHC -Wall #-}
+
+module Weather.Station where
+
+{-# #-}
+reading :: Double
+reading = 21.5
diff --git a/corpora/vendored/pragma/header/pragma-with-no-name.hs b/corpora/vendored/pragma/header/pragma-with-no-name.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/header/pragma-with-no-name.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE LambdaCase #-}
+{-# #-}
+{-# OPTIONS_GHC -Wall #-}
+{-# LANGUAGE BangPatterns #-}
+module Weather.Station where
+
+{-# #-}
+reading :: Double
+reading = 21.5
diff --git a/corpora/vendored/pragma/header/unrecognised-pragma-under-a-hoisted-pragma-out.hs b/corpora/vendored/pragma/header/unrecognised-pragma-under-a-hoisted-pragma-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/header/unrecognised-pragma-under-a-hoisted-pragma-out.hs
@@ -0,0 +1,12 @@
+-------------------------------------------------------------------------
+
+{-# LANGUAGE Trustworthy #-}
+{-# OPTIONS_GHC -Wno-unrecognised-pragmas #-}
+
+-------------------------------------------------------------------------
+-- |
+-- Module      : T
+
+{-# HLINT ignore "Avoid restricted function" #-}
+
+module T where
diff --git a/corpora/vendored/pragma/header/unrecognised-pragma-under-a-hoisted-pragma.hs b/corpora/vendored/pragma/header/unrecognised-pragma-under-a-hoisted-pragma.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/header/unrecognised-pragma-under-a-hoisted-pragma.hs
@@ -0,0 +1,11 @@
+-------------------------------------------------------------------------
+-- |
+-- Module      : T
+-------------------------------------------------------------------------
+
+{-# LANGUAGE Trustworthy #-}
+
+{-# OPTIONS_GHC -Wno-unrecognised-pragmas #-}
+{-# HLINT ignore "Avoid restricted function" #-}
+
+module T where
diff --git a/corpora/vendored/pragma/language/comment-inside-a-language-pragma-out'.hs b/corpora/vendored/pragma/language/comment-inside-a-language-pragma-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/language/comment-inside-a-language-pragma-out'.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE DataKinds #-}
+{-# LANGUAGE
+    ScopedTypeVariables
+  , LambdaCase -- for classify
+  , {- and for nothing else -} BangPatterns
+  #-}
+{-# LANGUAGE TupleSections #-}
+
+module Kiln.Commented where
+
+-- GHC skips the comments inside the pragma and reads the names around
+-- them, and a comment there stays where it is written.
+classify :: Int -> String
+classify = \case
+    0 -> "zero"
+    _ -> "other"
diff --git a/corpora/vendored/pragma/language/comment-inside-a-language-pragma-out.hs b/corpora/vendored/pragma/language/comment-inside-a-language-pragma-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/language/comment-inside-a-language-pragma-out.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE DataKinds #-}
+{-# LANGUAGE
+    ScopedTypeVariables
+  , LambdaCase -- for classify
+  , {- and for nothing else -} BangPatterns
+  #-}
+{-# LANGUAGE TupleSections #-}
+
+module Kiln.Commented where
+
+-- GHC skips the comments inside the pragma and reads the names around
+-- them, and a comment there stays where it is written.
+classify :: Int -> String
+classify = \case
+  0 -> "zero"
+  _ -> "other"
diff --git a/corpora/vendored/pragma/language/comment-inside-a-language-pragma.hs b/corpora/vendored/pragma/language/comment-inside-a-language-pragma.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/language/comment-inside-a-language-pragma.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE TupleSections #-}
+{-# LANGUAGE
+    ScopedTypeVariables
+  , LambdaCase -- for classify
+  , {- and for nothing else -} BangPatterns
+  #-}
+{-# LANGUAGE DataKinds #-}
+module Kiln.Commented where
+
+-- GHC skips the comments inside the pragma and reads the names around
+-- them, and a comment there stays where it is written.
+classify :: Int -> String
+classify = \case
+  0 -> "zero"
+  _ -> "other"
diff --git a/corpora/vendored/pragma/language/commented-language-pragma-repeating-an-extension-out'.hs b/corpora/vendored/pragma/language/commented-language-pragma-repeating-an-extension-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/language/commented-language-pragma-repeating-an-extension-out'.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE LambdaCase #-}
+{-# LANGUAGE LambdaCase -- for classify
+  #-}
+{-# LANGUAGE TupleSections #-}
+
+module Kiln.Repeated where
+
+-- A pragma that names an extension again but holds a comment stays, with
+-- the comment.
+classify :: Int -> String
+classify = \case
+    0 -> "zero"
+    _ -> "other"
diff --git a/corpora/vendored/pragma/language/commented-language-pragma-repeating-an-extension-out.hs b/corpora/vendored/pragma/language/commented-language-pragma-repeating-an-extension-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/language/commented-language-pragma-repeating-an-extension-out.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE LambdaCase #-}
+{-# LANGUAGE LambdaCase -- for classify
+  #-}
+{-# LANGUAGE TupleSections #-}
+
+module Kiln.Repeated where
+
+-- A pragma that names an extension again but holds a comment stays, with
+-- the comment.
+classify :: Int -> String
+classify = \case
+  0 -> "zero"
+  _ -> "other"
diff --git a/corpora/vendored/pragma/language/commented-language-pragma-repeating-an-extension.hs b/corpora/vendored/pragma/language/commented-language-pragma-repeating-an-extension.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/language/commented-language-pragma-repeating-an-extension.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE LambdaCase #-}
+{-# LANGUAGE TupleSections #-}
+{-# LANGUAGE LambdaCase -- for classify
+  #-}
+module Kiln.Repeated where
+
+-- A pragma that names an extension again but holds a comment stays, with
+-- the comment.
+classify :: Int -> String
+classify = \case
+  0 -> "zero"
+  _ -> "other"
diff --git a/corpora/vendored/pragma/language/edition-named-by-an-options-pragma-out.hs b/corpora/vendored/pragma/language/edition-named-by-an-options-pragma-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/language/edition-named-by-an-options-pragma-out.hs
@@ -0,0 +1,9 @@
+{-# OPTIONS_GHC -XHaskell2010 #-}
+{-# LANGUAGE GHC2021 #-}
+
+module Kiln.Edition where
+
+-- GHC compiles a module under the edition named last, whichever pragma
+-- names it, so the options naming Haskell2010 stay above GHC2021.
+fire :: Int
+fire = 1
diff --git a/corpora/vendored/pragma/language/edition-named-by-an-options-pragma.hs b/corpora/vendored/pragma/language/edition-named-by-an-options-pragma.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/language/edition-named-by-an-options-pragma.hs
@@ -0,0 +1,8 @@
+{-# OPTIONS_GHC -XHaskell2010 #-}
+{-# LANGUAGE GHC2021 #-}
+module Kiln.Edition where
+
+-- GHC compiles a module under the edition named last, whichever pragma
+-- names it, so the options naming Haskell2010 stay above GHC2021.
+fire :: Int
+fire = 1
diff --git a/corpora/vendored/pragma/language/edition-named-by-the-module-out'.hs b/corpora/vendored/pragma/language/edition-named-by-the-module-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/language/edition-named-by-the-module-out'.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE GHC2024 #-}
+
+module Kiln.Edition where
+
+-- GHC compiles a module under the edition it names, so LambdaCase, which
+-- GHC2024 turns on, is on.
+firing :: Int -> Int
+firing = \case
+    0 -> 1
+    n -> n
diff --git a/corpora/vendored/pragma/language/edition-named-by-the-module-out.hs b/corpora/vendored/pragma/language/edition-named-by-the-module-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/language/edition-named-by-the-module-out.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE GHC2024 #-}
+
+module Kiln.Edition where
+
+-- GHC compiles a module under the edition it names, so LambdaCase, which
+-- GHC2024 turns on, is on.
+firing :: Int -> Int
+firing = \case
+  0 -> 1
+  n -> n
diff --git a/corpora/vendored/pragma/language/edition-named-by-the-module.hs b/corpora/vendored/pragma/language/edition-named-by-the-module.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/language/edition-named-by-the-module.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE GHC2024 #-}
+module Kiln.Edition where
+
+-- GHC compiles a module under the edition it names, so LambdaCase, which
+-- GHC2024 turns on, is on.
+firing :: Int -> Int
+firing = \case
+  0 -> 1
+  n -> n
diff --git a/corpora/vendored/pragma/language/editions-in-written-order-out.hs b/corpora/vendored/pragma/language/editions-in-written-order-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/language/editions-in-written-order-out.hs
@@ -0,0 +1,8 @@
+{-# LANGUAGE Haskell2010 #-}
+{-# LANGUAGE GHC2021 #-}
+
+module Kiln.Edition where
+
+-- GHC compiles a module under the edition named last.
+fire :: Int
+fire = 1
diff --git a/corpora/vendored/pragma/language/editions-in-written-order.hs b/corpora/vendored/pragma/language/editions-in-written-order.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/language/editions-in-written-order.hs
@@ -0,0 +1,7 @@
+{-# LANGUAGE Haskell2010 #-}
+{-# LANGUAGE GHC2021 #-}
+module Kiln.Edition where
+
+-- GHC compiles a module under the edition named last.
+fire :: Int
+fire = 1
diff --git a/corpora/vendored/pragma/language/extension-pack-before-what-it-enables-out.hs b/corpora/vendored/pragma/language/extension-pack-before-what-it-enables-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/language/extension-pack-before-what-it-enables-out.hs
@@ -0,0 +1,4 @@
+{-# LANGUAGE GHC2021 #-}
+{-# LANGUAGE ApplicativeDo #-}
+
+module M where
diff --git a/corpora/vendored/pragma/language/extension-pack-before-what-it-enables.hs b/corpora/vendored/pragma/language/extension-pack-before-what-it-enables.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/language/extension-pack-before-what-it-enables.hs
@@ -0,0 +1,3 @@
+{-# LANGUAGE ApplicativeDo #-}
+{-# LANGUAGE GHC2021 #-}
+module M where
diff --git a/corpora/vendored/pragma/language/extension-taken-back-from-the-edition-out.hs b/corpora/vendored/pragma/language/extension-taken-back-from-the-edition-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/language/extension-taken-back-from-the-edition-out.hs
@@ -0,0 +1,6 @@
+{-# LANGUAGE NoStarIsType #-}
+{-# LANGUAGE TypeOperators #-}
+
+module M (type (*)) where
+
+import GHC.TypeLits (type (*))
diff --git a/corpora/vendored/pragma/language/extension-taken-back-from-the-edition.hs b/corpora/vendored/pragma/language/extension-taken-back-from-the-edition.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/language/extension-taken-back-from-the-edition.hs
@@ -0,0 +1,4 @@
+{-# LANGUAGE NoStarIsType #-}
+{-# LANGUAGE TypeOperators #-}
+module M (type (*)) where
+import GHC.TypeLits (type (*))
diff --git a/corpora/vendored/pragma/language/extension-turned-off-above-one-implying-it-out.hs b/corpora/vendored/pragma/language/extension-turned-off-above-one-implying-it-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/language/extension-turned-off-above-one-implying-it-out.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE NoExplicitForAll #-}
+{-# LANGUAGE RankNTypes #-}
+
+module Kiln.Rank where
+
+-- RankNTypes turns ExplicitForAll back on, so with it named last, a forall
+-- can be written.
+apply :: (forall a. a -> a) -> (Int, Bool)
+apply f = (f 1, f True)
diff --git a/corpora/vendored/pragma/language/extension-turned-off-above-one-implying-it.hs b/corpora/vendored/pragma/language/extension-turned-off-above-one-implying-it.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/language/extension-turned-off-above-one-implying-it.hs
@@ -0,0 +1,8 @@
+{-# LANGUAGE NoExplicitForAll #-}
+{-# LANGUAGE RankNTypes #-}
+module Kiln.Rank where
+
+-- RankNTypes turns ExplicitForAll back on, so with it named last, a forall
+-- can be written.
+apply :: (forall a. a -> a) -> (Int, Bool)
+apply f = (f 1, f True)
diff --git a/corpora/vendored/pragma/language/extension-turned-off-and-on-again-out'.hs b/corpora/vendored/pragma/language/extension-turned-off-and-on-again-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/language/extension-turned-off-and-on-again-out'.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE NoLambdaCase #-}
+{-# LANGUAGE LambdaCase #-}
+
+module Kiln.Again where
+
+-- The name written last decides, so LambdaCase is on.
+firing :: Int -> Int
+firing = \case
+    0 -> 1
+    n -> n
diff --git a/corpora/vendored/pragma/language/extension-turned-off-and-on-again-out.hs b/corpora/vendored/pragma/language/extension-turned-off-and-on-again-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/language/extension-turned-off-and-on-again-out.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE NoLambdaCase #-}
+{-# LANGUAGE LambdaCase #-}
+
+module Kiln.Again where
+
+-- The name written last decides, so LambdaCase is on.
+firing :: Int -> Int
+firing = \case
+  0 -> 1
+  n -> n
diff --git a/corpora/vendored/pragma/language/extension-turned-off-and-on-again.hs b/corpora/vendored/pragma/language/extension-turned-off-and-on-again.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/language/extension-turned-off-and-on-again.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE NoLambdaCase #-}
+{-# LANGUAGE LambdaCase #-}
+module Kiln.Again where
+
+-- The name written last decides, so LambdaCase is on.
+firing :: Int -> Int
+firing = \case
+  0 -> 1
+  n -> n
diff --git a/corpora/vendored/pragma/language/extension-turned-off-sorted-among-others-out.hs b/corpora/vendored/pragma/language/extension-turned-off-sorted-among-others-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/language/extension-turned-off-sorted-among-others-out.hs
@@ -0,0 +1,7 @@
+{-# LANGUAGE NoMonomorphismRestriction #-}
+{-# LANGUAGE TupleSections #-}
+
+module Garden.Pairs where
+
+-- Without the restriction, the binding below stays polymorphic.
+paired = (,True)
diff --git a/corpora/vendored/pragma/language/extension-turned-off-sorted-among-others.hs b/corpora/vendored/pragma/language/extension-turned-off-sorted-among-others.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/language/extension-turned-off-sorted-among-others.hs
@@ -0,0 +1,5 @@
+{-# LANGUAGE TupleSections, NoMonomorphismRestriction #-}
+module Garden.Pairs where
+
+-- Without the restriction, the binding below stays polymorphic.
+paired = (,True)
diff --git a/corpora/vendored/pragma/language/extension-turned-on-under-an-option-turning-it-off-out'.hs b/corpora/vendored/pragma/language/extension-turned-on-under-an-option-turning-it-off-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/language/extension-turned-on-under-an-option-turning-it-off-out'.hs
@@ -0,0 +1,11 @@
+{-# OPTIONS_GHC -XNoLambdaCase #-}
+{-# LANGUAGE LambdaCase #-}
+
+module Kiln.Case where
+
+-- GHC reads the flags of the options pragmas and the names of the language
+-- pragmas in the order they are written, so LambdaCase, named last, is on.
+firing :: Int -> Int
+firing = \case
+    0 -> 1
+    n -> n
diff --git a/corpora/vendored/pragma/language/extension-turned-on-under-an-option-turning-it-off-out.hs b/corpora/vendored/pragma/language/extension-turned-on-under-an-option-turning-it-off-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/language/extension-turned-on-under-an-option-turning-it-off-out.hs
@@ -0,0 +1,11 @@
+{-# OPTIONS_GHC -XNoLambdaCase #-}
+{-# LANGUAGE LambdaCase #-}
+
+module Kiln.Case where
+
+-- GHC reads the flags of the options pragmas and the names of the language
+-- pragmas in the order they are written, so LambdaCase, named last, is on.
+firing :: Int -> Int
+firing = \case
+  0 -> 1
+  n -> n
diff --git a/corpora/vendored/pragma/language/extension-turned-on-under-an-option-turning-it-off.hs b/corpora/vendored/pragma/language/extension-turned-on-under-an-option-turning-it-off.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/language/extension-turned-on-under-an-option-turning-it-off.hs
@@ -0,0 +1,10 @@
+{-# OPTIONS_GHC -XNoLambdaCase #-}
+{-# LANGUAGE LambdaCase #-}
+module Kiln.Case where
+
+-- GHC reads the flags of the options pragmas and the names of the language
+-- pragmas in the order they are written, so LambdaCase, named last, is on.
+firing :: Int -> Int
+firing = \case
+  0 -> 1
+  n -> n
diff --git a/corpora/vendored/pragma/language/extensions-turned-on-by-flags-out'.hs b/corpora/vendored/pragma/language/extensions-turned-on-by-flags-out'.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/language/extensions-turned-on-by-flags-out'.hs
@@ -0,0 +1,15 @@
+{-# OPTIONS_GHC -XLambdaCase -fbang-patterns #-}
+{-# OPTIONS_GHC -fglasgow-exts #-}
+
+module Flags where
+
+classify ∷ Int → String
+classify = \case
+    0 → "zero"
+    _ → "other"
+
+strict ∷ Int → Int
+strict !n = n
+
+both ∷ (∀ a. a → a) → (Int, Bool)
+both f = (f 1, f True)
diff --git a/corpora/vendored/pragma/language/extensions-turned-on-by-flags-out.hs b/corpora/vendored/pragma/language/extensions-turned-on-by-flags-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/language/extensions-turned-on-by-flags-out.hs
@@ -0,0 +1,15 @@
+{-# OPTIONS_GHC -XLambdaCase -fbang-patterns #-}
+{-# OPTIONS_GHC -fglasgow-exts #-}
+
+module Flags where
+
+classify ∷ Int → String
+classify = \case
+  0 → "zero"
+  _ → "other"
+
+strict ∷ Int → Int
+strict !n = n
+
+both ∷ (∀ a. a → a) → (Int, Bool)
+both f = (f 1, f True)
diff --git a/corpora/vendored/pragma/language/extensions-turned-on-by-flags.hs b/corpora/vendored/pragma/language/extensions-turned-on-by-flags.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/language/extensions-turned-on-by-flags.hs
@@ -0,0 +1,14 @@
+{-# OPTIONS_GHC -XLambdaCase -fbang-patterns #-}
+{-# OPTIONS_GHC -fglasgow-exts #-}
+module Flags where
+
+classify :: Int -> String
+classify = \case
+  0 -> "zero"
+  _ -> "other"
+
+strict :: Int -> Int
+strict !n = n
+
+both :: (forall a. a -> a) -> (Int, Bool)
+both f = (f 1, f True)
diff --git a/corpora/vendored/pragma/language/implicit-prelude-turned-off-by-an-old-flag-out.hs b/corpora/vendored/pragma/language/implicit-prelude-turned-off-by-an-old-flag-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/language/implicit-prelude-turned-off-by-an-old-flag-out.hs
@@ -0,0 +1,13 @@
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
+
+module Garden.Pairs where
+
+import Data.Tuple (swap)
+import Garden.Base (Bool (..))
+import Prelude (Int)
+import System.IO (print)
+
+-- The old flag turns the implicit Prelude off, so the Prelude is sorted
+-- among the other imports rather than put after them.
+paired :: Int -> (Int, Bool)
+paired n = (n, True)
diff --git a/corpora/vendored/pragma/language/implicit-prelude-turned-off-by-an-old-flag.hs b/corpora/vendored/pragma/language/implicit-prelude-turned-off-by-an-old-flag.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/language/implicit-prelude-turned-off-by-an-old-flag.hs
@@ -0,0 +1,13 @@
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
+
+module Garden.Pairs where
+
+import System.IO (print)
+import Garden.Base (Bool (..))
+import Prelude (Int)
+import Data.Tuple (swap)
+
+-- The old flag turns the implicit Prelude off, so the Prelude is sorted
+-- among the other imports rather than put after them.
+paired :: Int -> (Int, Bool)
+paired n = (n, True)
diff --git a/corpora/vendored/pragma/language/language-pragmas-split-and-sorted-out.hs b/corpora/vendored/pragma/language/language-pragmas-split-and-sorted-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/language/language-pragmas-split-and-sorted-out.hs
@@ -0,0 +1,4 @@
+{-# LANGUAGE GADTs #-}
+{-# LANGUAGE OverloadedStrings #-}
+
+module M where
diff --git a/corpora/vendored/pragma/language/language-pragmas-split-and-sorted.hs b/corpora/vendored/pragma/language/language-pragmas-split-and-sorted.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/language/language-pragmas-split-and-sorted.hs
@@ -0,0 +1,2 @@
+{-# LANGUAGE OverloadedStrings, GADTs #-}
+module M where
diff --git a/corpora/vendored/pragma/language/old-options-pragma-in-written-order-out.hs b/corpora/vendored/pragma/language/old-options-pragma-in-written-order-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/language/old-options-pragma-in-written-order-out.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE BangPatterns #-}
+{-# LANGUAGE ScopedTypeVariables #-}
+{-# OPTIONS_GHC -Wall #-}
+{-# OPTIONS -Wno-orphans #-}
+{-# OPTIONS_GHC -Wno-unused-imports #-}
+{-# OPTIONS -Wno-name-shadowing #-}
+
+module Kiln.Fire where
+
+-- GHC reads OPTIONS as it reads OPTIONS_GHC, so the two keep the order they
+-- are written in among each other.
+fire :: Int
+fire = 1
diff --git a/corpora/vendored/pragma/language/old-options-pragma-in-written-order.hs b/corpora/vendored/pragma/language/old-options-pragma-in-written-order.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/language/old-options-pragma-in-written-order.hs
@@ -0,0 +1,12 @@
+{-# OPTIONS_GHC -Wall #-}
+{-# LANGUAGE ScopedTypeVariables #-}
+{-# OPTIONS -Wno-orphans #-}
+{-# OPTIONS_GHC -Wno-unused-imports #-}
+{-# LANGUAGE BangPatterns #-}
+{-# OPTIONS -Wno-name-shadowing #-}
+module Kiln.Fire where
+
+-- GHC reads OPTIONS as it reads OPTIONS_GHC, so the two keep the order they
+-- are written in among each other.
+fire :: Int
+fire = 1
diff --git a/corpora/vendored/pragma/language/options-in-written-order-out.hs b/corpora/vendored/pragma/language/options-in-written-order-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/language/options-in-written-order-out.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE DataKinds #-}
+{-# LANGUAGE TypeOperators #-}
+{-# OPTIONS_GHC -Wall #-}
+{-# OPTIONS_GHC -Wno-unused-imports #-}
+{-# OPTIONS_GHC -Wall #-}
+{-# OPTIONS_GHC -Wall #-}
+{-# OPTIONS_GHC -fplugin=GHC.TypeLits.Normalise #-}
+{-# OPTIONS_GHC -fplugin=GHC.TypeLits.KnownNat.Solver #-}
+
+module Kiln.Glaze where
+
+-- GHC reads the flags of the options pragmas in the order they are written,
+-- a later one overriding an earlier one, so they keep that order, and a
+-- pragma written twice in a row stays twice, since some flags count each
+-- time they are given.
+glaze :: Int
+glaze = 1
diff --git a/corpora/vendored/pragma/language/options-in-written-order.hs b/corpora/vendored/pragma/language/options-in-written-order.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/language/options-in-written-order.hs
@@ -0,0 +1,17 @@
+{-# OPTIONS_GHC -Wall #-}
+{-# LANGUAGE TypeOperators #-}
+{-# OPTIONS_GHC -Wno-unused-imports #-}
+{-# OPTIONS_GHC -Wall #-}
+{-# OPTIONS_GHC -Wall #-}
+{-# LANGUAGE DataKinds #-}
+{-# OPTIONS_GHC -fplugin=GHC.TypeLits.Normalise #-}
+{-# OPTIONS_GHC -fplugin=GHC.TypeLits.KnownNat.Solver #-}
+
+module Kiln.Glaze where
+
+-- GHC reads the flags of the options pragmas in the order they are written,
+-- a later one overriding an earlier one, so they keep that order, and a
+-- pragma written twice in a row stays twice, since some flags count each
+-- time they are given.
+glaze :: Int
+glaze = 1
diff --git a/corpora/vendored/pragma/language/options-one-space-apart-out.hs b/corpora/vendored/pragma/language/options-one-space-apart-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/language/options-one-space-apart-out.hs
@@ -0,0 +1,6 @@
+{-# OPTIONS_GHC -Wall -Wno-orphans #-}
+{-# OPTIONS_GHC "-DGREETING=\"hello,  world\"" -Wno-unused-imports #-}
+
+-- The flags of an options pragma are one space apart, but for the spaces
+-- inside a string literal, which GHC reads as part of one flag.
+module Greeting where
diff --git a/corpora/vendored/pragma/language/options-one-space-apart.hs b/corpora/vendored/pragma/language/options-one-space-apart.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/language/options-one-space-apart.hs
@@ -0,0 +1,6 @@
+{-# OPTIONS_GHC  -Wall    -Wno-orphans #-}
+{-# OPTIONS_GHC "-DGREETING=\"hello,  world\""   -Wno-unused-imports #-}
+
+-- The flags of an options pragma are one space apart, but for the spaces
+-- inside a string literal, which GHC reads as part of one flag.
+module Greeting where
diff --git a/corpora/vendored/pragma/language/options-pragma-with-no-options-out.hs b/corpora/vendored/pragma/language/options-pragma-with-no-options-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/language/options-pragma-with-no-options-out.hs
@@ -0,0 +1,7 @@
+{-# LANGUAGE OverloadedStrings #-}
+{-# OPTIONS_GHC #-}
+
+module Kiln.Fire where
+
+fire :: Int
+fire = 1
diff --git a/corpora/vendored/pragma/language/options-pragma-with-no-options.hs b/corpora/vendored/pragma/language/options-pragma-with-no-options.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/language/options-pragma-with-no-options.hs
@@ -0,0 +1,7 @@
+{-# LANGUAGE OverloadedStrings #-}
+{-# OPTIONS_GHC #-}
+
+module Kiln.Fire where
+
+fire :: Int
+fire = 1
diff --git a/corpora/vendored/pragma/language/others-sorted-around-an-extension-turned-off-out.hs b/corpora/vendored/pragma/language/others-sorted-around-an-extension-turned-off-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/language/others-sorted-around-an-extension-turned-off-out.hs
@@ -0,0 +1,16 @@
+{-# LANGUAGE BangPatterns #-}
+{-# LANGUAGE DataKinds #-}
+{-# LANGUAGE ScopedTypeVariables #-}
+{-# LANGUAGE TypeFamilies #-}
+{-# LANGUAGE NoMonoLocalBinds #-}
+{-# OPTIONS_GHC -Wall #-}
+
+module Kiln.Glaze where
+
+-- NoMonoLocalBinds has to stay under TypeFamilies, which would turn
+-- MonoLocalBinds back on under it, but the pragmas switching neither of the
+-- two sort around them.
+type family Glaze a
+
+coat :: Int -> Int
+coat !n = n + 1
diff --git a/corpora/vendored/pragma/language/others-sorted-around-an-extension-turned-off.hs b/corpora/vendored/pragma/language/others-sorted-around-an-extension-turned-off.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/language/others-sorted-around-an-extension-turned-off.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE TypeFamilies #-}
+{-# LANGUAGE NoMonoLocalBinds #-}
+{-# LANGUAGE ScopedTypeVariables, BangPatterns #-}
+{-# OPTIONS_GHC -Wall #-}
+{-# LANGUAGE DataKinds #-}
+module Kiln.Glaze where
+
+-- NoMonoLocalBinds has to stay under TypeFamilies, which would turn
+-- MonoLocalBinds back on under it, but the pragmas switching neither of the
+-- two sort around them.
+type family Glaze a
+
+coat :: Int -> Int
+coat !n = n + 1
diff --git a/corpora/vendored/pragma/language/prelude-asked-for-above-rebindable-syntax-out.hs b/corpora/vendored/pragma/language/prelude-asked-for-above-rebindable-syntax-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/language/prelude-asked-for-above-rebindable-syntax-out.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE ImplicitPrelude #-}
+{-# LANGUAGE RebindableSyntax #-}
+
+module Kiln.Rebound where
+
+-- RebindableSyntax turns ImplicitPrelude off, so with it named last, the
+-- Prelude is not imported, and this map is the only one in scope.
+map :: ()
+map = ()
+
+glaze :: ()
+glaze = map
diff --git a/corpora/vendored/pragma/language/prelude-asked-for-above-rebindable-syntax.hs b/corpora/vendored/pragma/language/prelude-asked-for-above-rebindable-syntax.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/language/prelude-asked-for-above-rebindable-syntax.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE ImplicitPrelude #-}
+{-# LANGUAGE RebindableSyntax #-}
+module Kiln.Rebound where
+
+-- RebindableSyntax turns ImplicitPrelude off, so with it named last, the
+-- Prelude is not imported, and this map is the only one in scope.
+map :: ()
+map = ()
+
+glaze :: ()
+glaze = map
diff --git a/corpora/vendored/pragma/language/safe-import-under-a-safe-haskell-mode-out.hs b/corpora/vendored/pragma/language/safe-import-under-a-safe-haskell-mode-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/language/safe-import-under-a-safe-haskell-mode-out.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE Haskell98 #-}
+{-# LANGUAGE Trustworthy #-}
+
+module Kiln.Glaze (glazes) where
+
+-- Haskell98 has no foreign imports, so safe is a keyword only because
+-- Trustworthy puts a Safe Haskell mode in force.
+import safe Data.List (sort)
+
+glazes :: [String] -> [String]
+glazes = sort
diff --git a/corpora/vendored/pragma/language/safe-import-under-a-safe-haskell-mode.hs b/corpora/vendored/pragma/language/safe-import-under-a-safe-haskell-mode.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/language/safe-import-under-a-safe-haskell-mode.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE Haskell98 #-}
+{-# LANGUAGE Trustworthy #-}
+module Kiln.Glaze (glazes) where
+
+-- Haskell98 has no foreign imports, so safe is a keyword only because
+-- Trustworthy puts a Safe Haskell mode in force.
+import safe Data.List (sort)
+
+glazes :: [String] -> [String]
+glazes = sort
diff --git a/corpora/vendored/pragma/position/line-markers-in-a-quasi-quotation-out.hs b/corpora/vendored/pragma/position/line-markers-in-a-quasi-quotation-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/position/line-markers-in-a-quasi-quotation-out.hs
@@ -0,0 +1,16 @@
+#!/usr/bin/env runghc
+{-# LANGUAGE QuasiQuotes #-}
+
+-- | Lines that GHC reads past elsewhere are text in a quasi-quotation, and a
+-- script's first line is its own.
+module Stitched.Script where
+
+script :: String
+script = [str|
+#!/bin/sh
+# 40 "Template.hs"
+#pragma once
+|]
+
+after :: Int
+after = 1
diff --git a/corpora/vendored/pragma/position/line-markers-in-a-quasi-quotation.hs b/corpora/vendored/pragma/position/line-markers-in-a-quasi-quotation.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/position/line-markers-in-a-quasi-quotation.hs
@@ -0,0 +1,16 @@
+#!/usr/bin/env runghc
+{-# LANGUAGE QuasiQuotes #-}
+
+-- | Lines that GHC reads past elsewhere are text in a quasi-quotation, and a
+-- script's first line is its own.
+module Stitched.Script where
+
+script :: String
+script = [str|
+#!/bin/sh
+# 40 "Template.hs"
+#pragma once
+|]
+
+after   ::   Int
+after = 1
diff --git a/corpora/vendored/pragma/position/line-markers.hs b/corpora/vendored/pragma/position/line-markers.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/position/line-markers.hs
@@ -0,0 +1,16 @@
+-- | Code stitched together from several files, which says where each part
+-- of it came from the way cpp does.
+module Stitched where
+
+ownLine :: Int -> Int
+ownLine n = n + 1
+
+# 40 "Template.hs"
+
+fromTheTemplate :: Int -> Int
+fromTheTemplate n = n
+
+#line 12 "Stitched.hs"
+
+andBackAgain :: Int -> Int
+andBackAgain n = n - 1
diff --git a/corpora/vendored/pragma/position/position-pragma-after-a-string-gap.hs b/corpora/vendored/pragma/position/position-pragma-after-a-string-gap.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/position/position-pragma-after-a-string-gap.hs
@@ -0,0 +1,10 @@
+-- | A string gap may end right at the closing quote.
+module Woven.Gap where
+
+origin :: String
+origin = "Template.hs\ \"
+
+{-# LINE 40 "Template.hs" #-}
+
+fromTheTemplate :: Int -> Int
+fromTheTemplate n = n
diff --git a/corpora/vendored/pragma/position/position-pragma-in-a-quasi-quotation-out.hs b/corpora/vendored/pragma/position/position-pragma-in-a-quasi-quotation-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/position/position-pragma-in-a-quasi-quotation-out.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE QuasiQuotes #-}
+
+-- | A position pragma in a quasi-quotation is text, and moves nothing.
+module Woven.Template where
+
+template :: String
+template = [str|
+{-# LINE 40 "Template.hs" #-}
+|]
+
+after :: Int
+after = 1
diff --git a/corpora/vendored/pragma/position/position-pragma-in-a-quasi-quotation.hs b/corpora/vendored/pragma/position/position-pragma-in-a-quasi-quotation.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/position/position-pragma-in-a-quasi-quotation.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE QuasiQuotes #-}
+
+-- | A position pragma in a quasi-quotation is text, and moves nothing.
+module Woven.Template where
+
+template :: String
+template = [str|
+{-# LINE 40 "Template.hs" #-}
+|]
+
+after   ::   Int
+after = 1
diff --git a/corpora/vendored/pragma/position/position-pragma-only-mentioned-out.hs b/corpora/vendored/pragma/position/position-pragma-only-mentioned-out.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/position/position-pragma-only-mentioned-out.hs
@@ -0,0 +1,12 @@
+-- | Talking about @{-# LINE #-}@ is not carrying one.
+module Woven.Notes where
+
+{- A block comment may name {-# COLUMN #-} too, nested {- and all -}. -}
+
+-- | The text a generator would emit.
+marker :: String
+marker = "{-# LINE 40 \"Template.hs\" #-}"
+
+-- Nor is --> a comment opener, so a pragma after it still counts.
+described :: Int
+described = 1
diff --git a/corpora/vendored/pragma/position/position-pragma-only-mentioned.hs b/corpora/vendored/pragma/position/position-pragma-only-mentioned.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/position/position-pragma-only-mentioned.hs
@@ -0,0 +1,12 @@
+-- | Talking about @{-# LINE #-}@ is not carrying one.
+module Woven.Notes where
+
+{- A block comment may name {-# COLUMN #-} too, nested {- and all -}. -}
+
+-- | The text a generator would emit.
+marker :: String
+marker = "{-# LINE 40 \"Template.hs\" #-}"
+
+-- Nor is --> a comment opener, so a pragma after it still counts.
+described :: Int
+described = 1
diff --git a/corpora/vendored/pragma/position/position-pragmas.hs b/corpora/vendored/pragma/position/position-pragmas.hs
new file mode 100644
--- /dev/null
+++ b/corpora/vendored/pragma/position/position-pragmas.hs
@@ -0,0 +1,15 @@
+-- | Generated code, which says where each part of it came from.
+module Woven where
+
+ownLine :: Int -> Int
+ownLine n = n + 1
+
+{-# LINE 40 "Template.hs" #-}
+
+fromTheTemplate :: Int -> Int
+fromTheTemplate n = n
+
+{-# LINE 12 "Woven.hs" #-}
+
+andBackAgain :: Int -> Int
+andBackAgain n = n - 1
diff --git a/corpora/vendored/signature/abstract-data-with-a-kind-out.hsig b/corpora/vendored/signature/abstract-data-with-a-kind-out.hsig
deleted file mode 100644
--- a/corpora/vendored/signature/abstract-data-with-a-kind-out.hsig
+++ /dev/null
@@ -1,7 +0,0 @@
-signature Shape where
-
-import Data.Kind (Type)
-
-data Shape :: Type
-
-data Pair :: Type -> Type -> Type
diff --git a/corpora/vendored/signature/abstract-data-with-a-kind.hsig b/corpora/vendored/signature/abstract-data-with-a-kind.hsig
deleted file mode 100644
--- a/corpora/vendored/signature/abstract-data-with-a-kind.hsig
+++ /dev/null
@@ -1,6 +0,0 @@
-signature Shape where
-
-import Data.Kind (Type)
-
-data Shape :: Type
-data Pair :: Type -> Type -> Type
diff --git a/corpora/vendored/signature/class-and-instances-out.hsig b/corpora/vendored/signature/class-and-instances-out.hsig
deleted file mode 100644
--- a/corpora/vendored/signature/class-and-instances-out.hsig
+++ /dev/null
@@ -1,10 +0,0 @@
-signature Ordered where
-
-data Item
-
-class Sized a where
-  size :: a -> Int
-
-instance Sized Item
-
-instance Eq Item
diff --git a/corpora/vendored/signature/class-and-instances.hsig b/corpora/vendored/signature/class-and-instances.hsig
deleted file mode 100644
--- a/corpora/vendored/signature/class-and-instances.hsig
+++ /dev/null
@@ -1,10 +0,0 @@
-signature Ordered where
-
-data Item
-
-class Sized a where
-  size :: a -> Int
-
-instance Sized Item
-
-instance Eq Item
diff --git a/corpora/vendored/signature/comments-after-the-last-declaration-out.hsig b/corpora/vendored/signature/comments-after-the-last-declaration-out.hsig
deleted file mode 100644
--- a/corpora/vendored/signature/comments-after-the-last-declaration-out.hsig
+++ /dev/null
@@ -1,10 +0,0 @@
-signature Ledger where
-
-data Entry
-
-instance Show Entry
-
-post :: Entry -> IO () -- posted before the period closes,
-                       -- and never after
-
--- the journal is append-only
diff --git a/corpora/vendored/signature/comments-after-the-last-declaration.hsig b/corpora/vendored/signature/comments-after-the-last-declaration.hsig
deleted file mode 100644
--- a/corpora/vendored/signature/comments-after-the-last-declaration.hsig
+++ /dev/null
@@ -1,10 +0,0 @@
-signature Ledger where
-
-data Entry
-
-instance Show Entry
-
-post :: Entry -> IO ()   -- posted before the period closes,
-                         -- and never after
-
--- the journal is append-only
diff --git a/corpora/vendored/signature/comments-in-a-signature-out.hsig b/corpora/vendored/signature/comments-in-a-signature-out.hsig
deleted file mode 100644
--- a/corpora/vendored/signature/comments-in-a-signature-out.hsig
+++ /dev/null
@@ -1,10 +0,0 @@
-signature Ledger where
-
--- the amounts are always in minor units
-data Amount
-
-data Entry -- one line of the journal
-
--- posted before the period closes,
--- and never after
-post :: Entry -> IO ()
diff --git a/corpora/vendored/signature/comments-in-a-signature.hsig b/corpora/vendored/signature/comments-in-a-signature.hsig
deleted file mode 100644
--- a/corpora/vendored/signature/comments-in-a-signature.hsig
+++ /dev/null
@@ -1,10 +0,0 @@
-signature Ledger where
-
--- the amounts are always in minor units
-data Amount
-
-data Entry -- one line of the journal
-
--- posted before the period closes,
--- and never after
-post :: Entry -> IO ()
diff --git a/corpora/vendored/signature/consecutive-type-signatures-out.hsig b/corpora/vendored/signature/consecutive-type-signatures-out.hsig
deleted file mode 100644
--- a/corpora/vendored/signature/consecutive-type-signatures-out.hsig
+++ /dev/null
@@ -1,7 +0,0 @@
-signature Store where
-
-data Handle
-
-open :: FilePath -> IO Handle
-
-close :: Handle -> IO ()
diff --git a/corpora/vendored/signature/consecutive-type-signatures.hsig b/corpora/vendored/signature/consecutive-type-signatures.hsig
deleted file mode 100644
--- a/corpora/vendored/signature/consecutive-type-signatures.hsig
+++ /dev/null
@@ -1,5 +0,0 @@
-signature Store where
-
-data Handle
-open :: FilePath -> IO Handle
-close :: Handle -> IO ()
diff --git a/corpora/vendored/signature/documented-declarations-out.hsig b/corpora/vendored/signature/documented-declarations-out.hsig
deleted file mode 100644
--- a/corpora/vendored/signature/documented-declarations-out.hsig
+++ /dev/null
@@ -1,7 +0,0 @@
-signature Clock where
-
--- | A reading of the wall clock.
-data Instant
-
--- | The moment this was asked for.
-now :: IO Instant
diff --git a/corpora/vendored/signature/documented-declarations.hsig b/corpora/vendored/signature/documented-declarations.hsig
deleted file mode 100644
--- a/corpora/vendored/signature/documented-declarations.hsig
+++ /dev/null
@@ -1,7 +0,0 @@
-signature Clock where
-
--- | A reading of the wall clock.
-data Instant
-
--- | The moment this was asked for.
-now :: IO Instant
diff --git a/corpora/vendored/signature/everything-above-the-keyword-out.hsig b/corpora/vendored/signature/everything-above-the-keyword-out.hsig
deleted file mode 100644
--- a/corpora/vendored/signature/everything-above-the-keyword-out.hsig
+++ /dev/null
@@ -1,8 +0,0 @@
-{-# LANGUAGE RoleAnnotations #-}
-
--- the parser leaves these in its own state, not in the tree
-signature Buffer where
-
-type role Buffer nominal
-
-data Buffer a
diff --git a/corpora/vendored/signature/everything-above-the-keyword.hsig b/corpora/vendored/signature/everything-above-the-keyword.hsig
deleted file mode 100644
--- a/corpora/vendored/signature/everything-above-the-keyword.hsig
+++ /dev/null
@@ -1,8 +0,0 @@
-{-# LANGUAGE RoleAnnotations #-}
-
--- the parser leaves these in its own state, not in the tree
-signature Buffer where
-
-type role Buffer nominal
-
-data Buffer a
diff --git a/corpora/vendored/signature/exports-listed-out.hsig b/corpora/vendored/signature/exports-listed-out.hsig
deleted file mode 100644
--- a/corpora/vendored/signature/exports-listed-out.hsig
+++ /dev/null
@@ -1,12 +0,0 @@
-signature Codec
-  ( Codec,
-    encode,
-    decode,
-  )
-where
-
-data Codec
-
-encode :: Codec -> String
-
-decode :: String -> Maybe Codec
diff --git a/corpora/vendored/signature/exports-listed.hsig b/corpora/vendored/signature/exports-listed.hsig
deleted file mode 100644
--- a/corpora/vendored/signature/exports-listed.hsig
+++ /dev/null
@@ -1,12 +0,0 @@
-signature Codec
-  ( Codec,
-    encode,
-    decode,
-  )
-where
-
-data Codec
-
-encode :: Codec -> String
-
-decode :: String -> Maybe Codec
diff --git a/corpora/vendored/signature/fixity-declaration-out.hsig b/corpora/vendored/signature/fixity-declaration-out.hsig
deleted file mode 100644
--- a/corpora/vendored/signature/fixity-declaration-out.hsig
+++ /dev/null
@@ -1,7 +0,0 @@
-signature Combine where
-
-data Chunk
-
-infixr 5 <+>
-
-(<+>) :: Chunk -> Chunk -> Chunk
diff --git a/corpora/vendored/signature/fixity-declaration.hsig b/corpora/vendored/signature/fixity-declaration.hsig
deleted file mode 100644
--- a/corpora/vendored/signature/fixity-declaration.hsig
+++ /dev/null
@@ -1,7 +0,0 @@
-signature Combine where
-
-data Chunk
-
-infixr 5 <+>
-
-(<+>) :: Chunk -> Chunk -> Chunk
diff --git a/corpora/vendored/signature/module-in-the-export-list-out.hsig b/corpora/vendored/signature/module-in-the-export-list-out.hsig
deleted file mode 100644
--- a/corpora/vendored/signature/module-in-the-export-list-out.hsig
+++ /dev/null
@@ -1,7 +0,0 @@
-signature Codec (Codec, module Data.Text) where
-
-import Data.Text
-
-data Codec
-
-encode :: Codec -> Text
diff --git a/corpora/vendored/signature/module-in-the-export-list.hsig b/corpora/vendored/signature/module-in-the-export-list.hsig
deleted file mode 100644
--- a/corpora/vendored/signature/module-in-the-export-list.hsig
+++ /dev/null
@@ -1,7 +0,0 @@
-signature Codec (Codec, module Data.Text) where
-
-import Data.Text
-
-data Codec
-
-encode :: Codec -> Text
diff --git a/corpora/vendored/signature/type-family-out.hsig b/corpora/vendored/signature/type-family-out.hsig
deleted file mode 100644
--- a/corpora/vendored/signature/type-family-out.hsig
+++ /dev/null
@@ -1,11 +0,0 @@
-{-# LANGUAGE TypeFamilies #-}
-
-signature Element where
-
-data Container
-
-type family Elem c
-
-type Name = String
-
-elems :: Container -> [Elem Container]
diff --git a/corpora/vendored/signature/type-family.hsig b/corpora/vendored/signature/type-family.hsig
deleted file mode 100644
--- a/corpora/vendored/signature/type-family.hsig
+++ /dev/null
@@ -1,11 +0,0 @@
-{-# LANGUAGE TypeFamilies #-}
-
-signature Element where
-
-data Container
-
-type family Elem c
-
-type Name = String
-
-elems :: Container -> [Elem Container]
diff --git a/corpora/vendored/signature/type-role-annotation-out.hsig b/corpora/vendored/signature/type-role-annotation-out.hsig
deleted file mode 100644
--- a/corpora/vendored/signature/type-role-annotation-out.hsig
+++ /dev/null
@@ -1,7 +0,0 @@
-{-# LANGUAGE RoleAnnotations #-}
-
-signature Cache where
-
-type role Cache nominal representational
-
-data Cache k v
diff --git a/corpora/vendored/signature/type-role-annotation.hsig b/corpora/vendored/signature/type-role-annotation.hsig
deleted file mode 100644
--- a/corpora/vendored/signature/type-role-annotation.hsig
+++ /dev/null
@@ -1,7 +0,0 @@
-{-# LANGUAGE RoleAnnotations #-}
-
-signature Cache where
-
-type role Cache nominal representational
-
-data Cache k v
diff --git a/src/Tilia/Cabal/Package.hs b/src/Tilia/Cabal/Package.hs
--- a/src/Tilia/Cabal/Package.hs
+++ b/src/Tilia/Cabal/Package.hs
@@ -9,16 +9,20 @@
     readPackageDescription,
     parsePackageDescription,
     declaredModules,
+    declaredModuleNames,
+    modulesOf,
+    renamedModules,
     packageSourceDirs,
-    packageExtensions,
+    sourceDirsOf,
+    moduleExtensions,
     PackageReader,
     newPackageReader,
+    conditionValues,
     ComponentSection (..),
-    BranchSections,
+    BranchSections (..),
     Kind (..),
     packageOf,
     packageComponents,
-    packageBranches,
     addedSources,
     sourceExtensions,
     isDeclaredModule,
@@ -27,14 +31,15 @@
   )
 where
 
+import Control.Applicative ((<|>))
 import Control.Concurrent.MVar (modifyMVar, newMVar)
 import Control.Monad ((<=<))
 import Data.ByteString qualified as BS
 import Data.Either (rights)
-import Data.Foldable (toList)
+import Data.Foldable (for_, toList)
 import Data.Generics.Schemes (listify)
 import Data.IORef
-import Data.List (nub, sortOn)
+import Data.List (nub, sortOn, stripPrefix)
 import Data.List.NonEmpty qualified as NE
 import Data.Map.Strict (Map)
 import Data.Map.Strict qualified as Map
@@ -44,6 +49,7 @@
 import Data.Set qualified as Set
 import Data.Text (Text)
 import Data.Text qualified as T
+import Data.Time.Clock (UTCTime)
 import Distribution.Compiler (CompilerFlavor (..))
 import Distribution.Fields.ParseResult (runParseResult)
 import Distribution.ModuleName qualified as ModuleName
@@ -55,13 +61,18 @@
     CondTree (..),
     ConfVar (..),
     Executable (..),
+    FlagAssignment,
     ForeignLib (..),
     GenericPackageDescription (..),
+    IncludeRenaming (..),
     Library (..),
+    Mixin (..),
+    ModuleRenaming (..),
     PackageDescription (..),
     PackageFlag (..),
     TestSuite (..),
     TestSuiteInterface (..),
+    lookupFlagAssignment,
     pkgName,
     unPackageName,
     unUnqualComponentName,
@@ -76,7 +87,11 @@
 import GHC.Driver.Session qualified as GHC
 import GHC.LanguageExtensions.Type (Extension)
 import Language.Haskell.Extension qualified as Cabal
-import System.Directory (canonicalizePath, doesDirectoryExist)
+import System.Directory
+  ( canonicalizePath,
+    doesDirectoryExist,
+    getModificationTime,
+  )
 import System.FilePath
   ( dropExtension,
     equalFilePath,
@@ -87,8 +102,17 @@
     takeExtension,
     (</>),
   )
+import System.IO.Unsafe (unsafePerformIO)
+
 import Tilia.Cabal.Project (cabalFilesIn, startingDirectory)
-import Tilia.Pragma (Defaults, defaultsOf, lookupEdition, nameSwitch)
+import Tilia.Cpp.Macros (Macros (..))
+import Tilia.Pragma
+  ( Defaults (..),
+    defaultsOf,
+    editionExtensions,
+    lookupEdition,
+    nameSwitch,
+  )
 import Tilia.Process (readProgramOutput)
 import Tilia.Utils (pathUnder, quietly, readBytes, tshow)
 
@@ -99,21 +123,23 @@
   | -- | A @.cabal@ file that could not be read at all, and what went wrong.
     PackageUnreadable FilePath Text
   | -- | A @.cabal@ file that was read but did not parse, and everything the
-    -- parser had to say about it. One message per line, each already
-    -- carrying the position it refers to.
+    -- parser had to say about it: a message for each complaint, of one line
+    -- or more, carrying the position it refers to.
     PackageMalformed FilePath [Text]
   | -- | A @.cabal@ file naming no component whose @hs-source-dirs@ holds
     -- the module.
     FileUnclaimed FilePath
   deriving (Eq, Show)
 
--- | Say what went wrong, in one line.
+-- | Say what went wrong.
 describePackageProblem :: PackageProblem -> Text
 describePackageProblem = \case
   NoPackageFile -> "no .cabal file above it"
   PackageUnreadable file why -> T.pack file <> " could not be read: " <> why
   PackageMalformed file complaints ->
-    T.pack file <> " does not parse:" <> foldMap ("\n  " <>) complaints
+    T.pack file
+      <> " does not parse:"
+      <> foldMap ("\n  " <>) (concatMap T.lines complaints)
   FileUnclaimed file ->
     T.pack file <> " names no component whose hs-source-dirs holds it"
 
@@ -125,11 +151,14 @@
   -- | The compiler's version, where the build plan names it, which spares
   -- asking the compiler.
   Maybe Version ->
-  -- | The @.cabal@ files of the project, which a module no @.cabal@ file
-  -- above it claims is looked for in.
+  -- | The flags the build plan gives each package, by name.
+  Map Text FlagAssignment ->
+  -- | The @.cabal@ files of the project, which a module is looked for in
+  -- where the nearest @.cabal@ file above it does not claim it or cannot be
+  -- read.
   [FilePath] ->
   IO PackageReader
-newPackageReader planned project = do
+newPackageReader planned flags project = do
   covering <- newIORef Map.empty
   described <- newIORef Map.empty
   known <- newMVar (Just <$> planned)
@@ -139,7 +168,7 @@
           version <- compilerVersion
           pure (Just version, version)
       elsewhere file problem = do
-        found <- traverse (componentBranchesOf compiler described) project
+        found <- traverse (componentBranchesOf compiler flags described) project
         pure $ case claiming file (concat (rights found)) of
           Just c -> Right (componentExtensions c)
           Nothing -> Left problem
@@ -149,11 +178,11 @@
     findCabalFile covering from >>= \case
       Nothing -> elsewhere file NoPackageFile
       Just cabalFile ->
-        componentBranchesOf compiler described cabalFile >>= \case
-          Left problem -> pure (Left problem)
+        componentBranchesOf compiler flags described cabalFile >>= \case
+          Left problem -> elsewhere file problem
           Right components
             | equalFilePath file (takeDirectory cabalFile </> setupScript) ->
-                pure (Right (defaultsOf (GHC.languageExtensions Nothing) []))
+                pure (Right (defaultsOf False (editionExtensions Nothing) []))
             | Just c <- claiming file components ->
                 pure (Right (componentExtensions c))
             | otherwise -> elsewhere file (FileUnclaimed cabalFile)
@@ -176,14 +205,19 @@
 -- | Which branch holds the file, of those whose directories cover it.
 claiming :: FilePath -> [ComponentBranch] -> Maybe ComponentBranch
 claiming file components =
-  case sortOn (Down . fst) [((named c, nearness c), c) | c <- components, covered c] of
+  case sortOn
+    (Down . fst)
+    [((named c, nearness c), c) | c <- components, covered c] of
     ((_, c) : _) -> Just c
     [] -> Nothing
   where
     covered = not . null . covering
     named c = any (declares c) (covering c)
     declares c (_, under) =
-      isDeclaredModule (componentModules c) (componentEntries c) (joinPath under)
+      isDeclaredModule
+        (componentModules c)
+        (componentEntries c)
+        (joinPath under)
     nearness = maximum . fmap (length . fst) . covering
     covering c =
       [ (d, under)
@@ -198,6 +232,7 @@
   Set FilePath ->
   -- | The entry points.
   Set FilePath ->
+  -- | The file, named relative to the source directory.
   FilePath ->
   Bool
 isDeclaredModule modules entries path =
@@ -232,16 +267,23 @@
                     then settle (directory : passed) Nothing
                     else climb (directory : passed) parent
     settle passed answer = do
-      modifyIORef' ref (\m -> foldl' (\acc d -> Map.insert d answer acc) m passed)
+      modifyIORef'
+        ref
+        (\m -> foldl' (\acc d -> Map.insert d answer acc) m passed)
       pure answer
 
 -- | What a @.cabal@ file amounts to.
 componentBranchesOf ::
+  -- | The compiler's version, asked for only where a condition names it.
   IO (Maybe Version) ->
+  -- | The flags the build plan gives each package, by name.
+  Map Text FlagAssignment ->
+  -- | What is known already, by @.cabal@ file.
   IORef (Map FilePath (Either PackageProblem [ComponentBranch])) ->
+  -- | The @.cabal@ file.
   FilePath ->
   IO (Either PackageProblem [ComponentBranch])
-componentBranchesOf compiler ref cabalFile = do
+componentBranchesOf compiler flags ref cabalFile = do
   known <- readIORef ref
   case Map.lookup cabalFile known of
     Just answer -> pure answer
@@ -254,23 +296,58 @@
       readPackageDescription cabalFile >>= \case
         Left problem -> pure (Left problem)
         Right description -> do
-          valueOf <- conditionValues compiler description
+          valueOf <-
+            conditionValues
+              compiler
+              (Map.findWithDefault mempty (packageOf description) flags)
+              description
           Right
             <$> traverse
-              (componentBranch (takeDirectory cabalFile))
+              ( componentBranch
+                  (takeDirectory cabalFile)
+                  ( foldMap
+                      (definedBy . sectionInfo . ownSection)
+                      (packageBranches description)
+                  )
+              )
               (sectionsInForce valueOf description)
 
--- | Read and parse a @.cabal@ file, or say why it cannot be.
-readPackageDescription :: FilePath -> IO (Either PackageProblem GenericPackageDescription)
-readPackageDescription cabalFile =
-  readBytes cabalFile >>= \case
-    Left why -> pure (Left (PackageUnreadable cabalFile why))
-    Right bytes -> pure (parsePackageDescription cabalFile bytes)
+-- | Read and parse a @.cabal@ file, or say why it cannot be, parsing it
+-- again only once it has been modified, as an editor may start a session
+-- for every request.
+readPackageDescription ::
+  FilePath ->
+  IO (Either PackageProblem GenericPackageDescription)
+readPackageDescription cabalFile = do
+  modified <- quietly Nothing (Just <$> getModificationTime path)
+  Map.lookup path <$> readIORef descriptionsRead >>= \case
+    Just (at, found) | Just at == modified -> pure found
+    _ -> do
+      found <-
+        readBytes path >>= \case
+          Left why -> pure (Left (PackageUnreadable path why))
+          Right bytes -> pure (parsePackageDescription path bytes)
+      for_ modified $ \at ->
+        atomicModifyIORef'
+          descriptionsRead
+          ((,()) . Map.insert path (at, found))
+      pure found
+  where
+    path = normalise cabalFile
 
+-- | What 'readPackageDescription' has read, by file, with the time each
+-- file was modified when it was read.
+descriptionsRead ::
+  IORef
+    (Map FilePath (UTCTime, Either PackageProblem GenericPackageDescription))
+descriptionsRead = unsafePerformIO (newIORef Map.empty)
+{-# NOINLINE descriptionsRead #-}
+
 -- | Parse what a @.cabal@ file holds, or say why it cannot be.
 parsePackageDescription ::
   -- | Where it comes from, named in what goes wrong.
   FilePath ->
+  -- | What it holds.
   BS.ByteString ->
   Either PackageProblem GenericPackageDescription
 parsePackageDescription cabalFile bytes =
@@ -286,10 +363,12 @@
 conditionValues ::
   -- | The compiler's version, asked for only where a condition names it.
   IO (Maybe Version) ->
-  -- | The package, whose flags take their defaults.
+  -- | The flags the build plan gives the package.
+  FlagAssignment ->
+  -- | The package, whose flags the plan does not set take their defaults.
   GenericPackageDescription ->
   IO (ConfVar -> Either ConfVar Bool)
-conditionValues compiler described = do
+conditionValues compiler planned described = do
   version <-
     if null (listify namesCompiler described)
       then pure Nothing
@@ -297,7 +376,11 @@
   pure $ \case
     OS os -> Right (os == buildOS)
     Arch arch -> Right (arch == buildArch)
-    v@(PackageFlag name) -> maybe (Left v) Right (lookup name defaults)
+    v@(PackageFlag name) ->
+      maybe
+        (Left v)
+        Right
+        (lookupFlagAssignment name planned <|> lookup name defaults)
     v@(Impl GHC range) -> maybe (Left v) (Right . (`withinRange` range)) version
     Impl _ _ -> Right False
   where
@@ -312,18 +395,34 @@
   (simpleParsec . T.unpack . T.strip =<<)
     <$> readProgramOutput "ghc" ["--numeric-version"]
 
--- | One branch, with its directories resolved and its extensions settled.
-componentBranch :: FilePath -> ComponentSection -> IO ComponentBranch
-componentBranch root ComponentSection{..} = do
+-- | One branch, with its directories resolved and what it puts in force
+-- settled.
+componentBranch ::
+  -- | The directory of the package.
+  FilePath ->
+  -- | The macros the package's @cpp-options@ define in any branch.
+  Set Text ->
+  -- | The branch.
+  ComponentSection ->
+  IO ComponentBranch
+componentBranch root anywhere ComponentSection{..} = do
   dirs <- traverse (quietlyCanonical . (root </>)) (sourceDirsOf sectionInfo)
   pure
     ComponentBranch
       { componentDirs = concat dirs,
         componentModules = Set.fromList (fmap (uncurry joined) sectionModules),
         componentEntries = Set.fromList (fmap (uncurry joined) sectionEntries),
-        componentExtensions = extensionsInForce sectionInfo
+        componentExtensions =
+          (extensionsInForce sectionInfo)
+            { defaultsMacros =
+                mempty
+                  { macroDefined = here,
+                    macroUndefined = Set.difference anywhere here
+                  }
+            }
       }
   where
+    here = definedBy sectionInfo
     quietlyCanonical d =
       quietly [] $
         doesDirectoryExist d >>= \case
@@ -342,7 +441,7 @@
   ( \BranchSections{..} ->
       inheritedSection
         <> ownSection
-        <> ComponentSection (builtSettings valueOf) [] []
+        <> ComponentSection (sectionInfo (builtSection valueOf)) [] []
   )
     <$> packageBranches described
 
@@ -358,7 +457,8 @@
 
 -- | Every component of a package, in the order declared: its kind, its
 -- name, which for the main library is the package's own, and its branches.
-packageComponents :: GenericPackageDescription -> [(Kind, Text, [BranchSections])]
+packageComponents ::
+  GenericPackageDescription -> [(Kind, Text, [BranchSections])]
 packageComponents described =
   concat
     [ [(Lib, packageOf described, libraryBranches t) | t <- toList (condLibrary described)],
@@ -381,17 +481,41 @@
 -- extension.
 declaredModules :: [BranchSections] -> [(FilePath, [(Text, FilePath)])]
 declaredModules branches =
-  [ ( d,
-      [ ( T.intercalate "." (fmap T.pack (splitDirectories sub <> [name])),
-          joined sub name
-        )
-      | (sub, name) <- sectionModules section
-      ]
-    )
+  [ (d, modulesOf section)
   | branch <- branches,
     (d, section) <- addedSources branch
   ]
 
+-- | Every module a section declares, with where it would be written under
+-- a source directory, without an extension.
+modulesOf :: ComponentSection -> [(Text, FilePath)]
+modulesOf section =
+  [ ( T.intercalate "." (fmap T.pack (splitDirectories sub <> [name])),
+      joined sub name
+    )
+  | (sub, name) <- sectionModules section
+  ]
+
+-- | The modules of libraries a component's @mixins@ give other names: each
+-- such name, with the library's package and the module's name there.
+renamedModules :: BuildInfo -> [(Text, (Text, Text))]
+renamedModules bi =
+  [ ( dotted new,
+      (T.pack (unPackageName (mixinPackageName mixin)), dotted original)
+    )
+  | mixin <- mixins bi,
+    ModuleRenaming pairs <- [includeProvidesRn (mixinIncludeRenaming mixin)],
+    (original, new) <- pairs
+  ]
+  where
+    dotted = T.intercalate "." . fmap T.pack . ModuleName.components
+
+-- | The names of the modules a package declares, whatever the conditions in
+-- its @.cabal@ file.
+declaredModuleNames :: GenericPackageDescription -> [Text]
+declaredModuleNames =
+  fmap fst . concatMap snd . declaredModules . packageBranches
+
 -- | Every directory any branch of a package names for its files, and then
 -- the package's own.
 packageSourceDirs :: GenericPackageDescription -> [FilePath]
@@ -403,19 +527,43 @@
         d <- hsSourceDirs (sectionInfo (ownSection branch))
       ]
 
--- | What any branch of a package puts in force, all together: every edition
--- it names and every extension it turns on or off, in order.
-packageExtensions :: GenericPackageDescription -> Defaults
-packageExtensions described =
-  defaultsOf
-    baseline
-    (mapMaybe extensionSwitch (concatMap usedExtensions infos))
+-- | What the components of a package that list a module put in force, or
+-- every component where none lists it, all together: every edition they
+-- name and every extension they turn on or off, in order.
+moduleExtensions ::
+  -- | The package.
+  GenericPackageDescription ->
+  -- | The module.
+  Text ->
+  Defaults
+moduleExtensions described = \modName ->
+  maybe whole (byListing Map.!) (Map.lookup modName listing)
   where
-    infos =
-      [sectionInfo (ownSection branch) | branch <- packageBranches described]
-    baseline = case mapMaybe (ghcLanguage <=< defaultLanguage) infos of
-      [] -> GHC.languageExtensions (Just GHC.Haskell98)
-      editions -> nub (concatMap (GHC.languageExtensions . Just) editions)
+    components = [branches | (_, _, branches) <- packageComponents described]
+    listing =
+      Map.fromListWith
+        (flip (<>))
+        [ (m, [i])
+        | (i, branches) <- zip [0 :: Int ..] components,
+          m <- nub (fmap fst (concatMap snd (declaredModules branches)))
+        ]
+    byListing =
+      Map.fromList
+        [ (is, inForce (concatMap (components !!) is))
+        | is <- nub (Map.elems listing)
+        ]
+    whole = inForce (concat components)
+    inForce branches =
+      defaultsOf
+        (namesSafeMode used)
+        baseline
+        (mapMaybe extensionSwitch used)
+      where
+        infos = [sectionInfo (ownSection branch) | branch <- branches]
+        used = concatMap usedExtensions infos
+        baseline = case mapMaybe (ghcLanguage <=< defaultLanguage) infos of
+          [] -> editionExtensions (Just GHC.Haskell98)
+          editions -> foldMap (editionExtensions . Just) editions
 
 -- | What one branch of a component declares.
 data ComponentSection = ComponentSection
@@ -442,9 +590,9 @@
     inheritedSection :: ComponentSection,
     -- | What it declares itself.
     ownSection :: ComponentSection,
-    -- | The build settings of its component in a build, given the value the
-    -- build gives each variable a condition asks about.
-    builtSettings :: (ConfVar -> Either ConfVar Bool) -> BuildInfo
+    -- | Its component as a build configures it, given the value the build
+    -- gives each variable a condition asks about.
+    builtSection :: (ConfVar -> Either ConfVar Bool) -> ComponentSection
   }
 
 -- | Every branch of a library.
@@ -473,19 +621,19 @@
 benchmarkBranches :: CondTree ConfVar Benchmark -> [BranchSections]
 benchmarkBranches = branchesOf $ \b ->
   case benchmarkInterface b of
-    BenchmarkExeV10 _ path -> declaring (benchmarkBuildInfo b) [] [entryPoint path]
+    BenchmarkExeV10 _ path ->
+      declaring (benchmarkBuildInfo b) [] [entryPoint path]
     _ -> declaring (benchmarkBuildInfo b) [] []
 
 -- | Every branch of a component.
 branchesOf ::
-  (Semigroup a) =>
+  Semigroup a =>
   (a -> ComponentSection) ->
   CondTree ConfVar a ->
   [BranchSections]
 branchesOf f root = go mempty root
   where
-    built valueOf =
-      sectionInfo (f (simplifyCondTree valueOf root))
+    built valueOf = f (simplifyCondTree valueOf root)
     go inherited node =
       let own = f (condTreeData node)
        in BranchSections inherited own built
@@ -563,10 +711,26 @@
 extensionsInForce :: BuildInfo -> Defaults
 extensionsInForce bi =
   defaultsOf
-    (GHC.languageExtensions edition)
+    (namesSafeMode (usedExtensions bi))
+    (editionExtensions edition)
     (mapMaybe extensionSwitch (usedExtensions bi))
   where
     edition = ghcLanguage (fromMaybe Cabal.Haskell98 (defaultLanguage bi))
+
+-- | The macros the @-D@ options among a component's @cpp-options@ define.
+definedBy :: BuildInfo -> Set Text
+definedBy bi =
+  Set.fromList
+    [ T.pack (takeWhile (/= '=') name)
+    | Just name@(_ : _) <- stripPrefix "-D" <$> cppOptions bi
+    ]
+
+-- | Does a component name a Safe Haskell mode among its extensions?
+namesSafeMode :: [Cabal.Extension] -> Bool
+namesSafeMode = any $ \case
+  Cabal.EnableExtension e ->
+    e `elem` [Cabal.Safe, Cabal.Trustworthy, Cabal.Unsafe]
+  _ -> False
 
 -- | GHC's reading of an extension Cabal turns on or off, where GHC knows it.
 extensionSwitch :: Cabal.Extension -> Maybe (GHC.OnOff Extension)
diff --git a/src/Tilia/Cabal/Plan.hs b/src/Tilia/Cabal/Plan.hs
--- a/src/Tilia/Cabal/Plan.hs
+++ b/src/Tilia/Cabal/Plan.hs
@@ -20,6 +20,7 @@
     macrosOf,
     versionMacros,
     plannedCompiler,
+    plannedFlags,
     generatedModules,
 
     -- * Readiness
@@ -47,6 +48,7 @@
     decodeStrict,
     eitherDecodeFileStrict,
     withObject,
+    (.!=),
     (.:),
     (.:?),
   )
@@ -70,7 +72,13 @@
 import Data.Text.Read qualified as T
 import Data.Time (UTCTime, getCurrentTime)
 import Distribution.Package (pkgName, pkgVersion, unPackageName)
-import Distribution.PackageDescription (package, packageDescription)
+import Distribution.PackageDescription
+  ( FlagAssignment,
+    mkFlagAssignment,
+    mkFlagName,
+    package,
+    packageDescription,
+  )
 import Distribution.Pretty (prettyShow)
 import Distribution.Version (Version, mkVersion)
 import GHC.IO.Handle (hDuplicate)
@@ -97,6 +105,7 @@
     std_out,
     waitForProcess,
   )
+
 import Tilia.Cabal.Package (readPackageDescription)
 import Tilia.Cabal.Project (cabalFilesIn, projectConfigFiles)
 import Tilia.Cpp.Macros (Macros (..))
@@ -123,7 +132,9 @@
     -- with a @Custom@ build type, whose @Setup.hs@ is entitled to do as it
     -- pleases—is planned whole instead, and its entry is about every
     -- component at once.
-    ppComponents :: [Text]
+    ppComponents :: [Text],
+    -- | The value the plan gives each of its flags.
+    ppFlags :: FlagAssignment
   }
   deriving (Eq, Show)
 
@@ -169,12 +180,13 @@
 
 -- | Every package the compiler can see.
 getInstalledPackages :: Cache -> IO [InstalledPackage]
-getInstalledPackages cache =
-  cachedInstalled cache >>= \case
+getInstalledPackages cache = do
+  compiler <- compilerIdentity
+  cachedInstalled cache compiler >>= \case
     Just packages -> pure packages
     Nothing -> do
       found <- readInstalledPackages
-      storeInstalled cache found
+      storeInstalled cache compiler found
       pure (installedPackages found)
 
 -- | Summarize a 'BuildPlan', and the environment it will be read in, by
@@ -207,7 +219,10 @@
 -- | How a package's cached answers are filed.
 cacheKey :: PlanPackage -> Text
 cacheKey p =
-  ppName p <> "-" <> ppVersion p <> maybe "" (("-" <>) . T.take 16) (sourceHashOf p)
+  ppName p
+    <> "-"
+    <> ppVersion p
+    <> maybe "" (("-" <>) . T.take 16) (sourceHashOf p)
 
 -- | A resolved build plan.
 data BuildPlan = BuildPlan
@@ -236,11 +251,13 @@
     repoPath <- traverse (traverse (.:? "path")) repo
     named <- o .:? "component-name"
     whole <- o .:? "components"
+    flags <- o .:? "flags" .!= Map.empty
     pure
       PlanPackage
         { ppName = name,
           ppVersion = version,
           ppComponents = componentsOf named whole,
+          ppFlags = mkFlagAssignment (first mkFlagName <$> Map.toList flags),
           ppSource = case (kind :: Maybe Text, sourceKind :: Maybe Text) of
             (Just "pre-existing", _) -> PreExisting
             (_, Just "repo-tar") ->
@@ -255,7 +272,8 @@
                     (_, _, Just uri) -> RepoDownloaded uri
                     _ -> RepoNoProvenance
                 )
-            (_, Just "local") -> LocalPackage (maybe "" T.unpack (join sourcePath))
+            (_, Just "local") ->
+              LocalPackage (maybe "" T.unpack (join sourcePath))
             (_, Just "source-repo") -> SourceRepo
             -- Anything else, a local or remote tarball among them, is
             -- treated as already present.
@@ -282,7 +300,8 @@
 -- | Read @plan.json@.
 readBuildPlan :: FilePath -> IO (Either Text BuildPlan)
 readBuildPlan path =
-  decodePlan path >>= traverse (checkedOutIn (takeDirectory (takeDirectory path)))
+  decodePlan path
+    >>= traverse (checkedOutIn (takeDirectory (takeDirectory path)))
 
 -- | Read a plan that is to be trusted as up to date.
 readGivenPlan ::
@@ -402,6 +421,14 @@
   mkVersion . fmap fromInteger
     <$> (numberedVersion =<< T.stripPrefix "ghc-" (bpCompiler plan))
 
+-- | The flags the plan gives each of the project's own packages, by name.
+plannedFlags :: BuildPlan -> Map Text FlagAssignment
+plannedFlags plan =
+  Map.fromList
+    [ (ppName p, ppFlags p)
+    | p@PlanPackage{ppSource = LocalPackage _} <- bpPackages plan
+    ]
+
 -- | The modules @cabal@ writes itself for a plan's packages.
 generatedModules :: BuildPlan -> Set Text
 generatedModules plan =
@@ -438,7 +465,7 @@
   }
   deriving (Eq, Ord, Show)
 
--- | A component as it would be written on the command line.
+-- | A component as a plan names it, after its package.
 spellPlanComponent :: PlanComponent -> Text
 spellPlanComponent c = pcPackage c <> ":" <> pcName c
 
@@ -457,8 +484,12 @@
     Ready
   | -- | No build plan; @cabal@ has not solved this project yet.
     PlanMissing
-  | -- | The plan is older than the files that determine it.
+  | -- | The plan is older than the files that determine it, or names a
+    -- package directory that holds none.
     PlanStale [FilePath]
+  | -- | The plan was solved for a compiler other than the one at hand, and
+    -- names it.
+    PlanForeign Text
   | -- | The plan says nothing about components the run is about to format.
     PlanNarrow [Text]
   | -- | The plan is there, and the packages named have neither been
@@ -468,12 +499,15 @@
 
 -- | Where @cabal@ writes the plan for a project.
 planPathFor :: FilePath -> FilePath
-planPathFor projectDir = projectDir </> "dist-newstyle" </> "cache" </> "plan.json"
+planPathFor projectDir =
+  projectDir </> "dist-newstyle" </> "cache" </> "plan.json"
 
 -- | Check what is missing.
-checkReadiness :: Choice "useCache" -> [PlanComponent] -> FilePath -> IO Readiness
+checkReadiness ::
+  Choice "useCache" -> [PlanComponent] -> FilePath -> IO Readiness
 checkReadiness caching wanted projectDir =
-  readinessOf caching wanted projectDir =<< readBuildPlan (planPathFor projectDir)
+  readinessOf caching wanted projectDir
+    =<< readBuildPlan (planPathFor projectDir)
 
 -- | 'checkReadiness', given the plan as read.
 readinessOf ::
@@ -492,10 +526,17 @@
     cache <- openCache caching =<< tokenForBuildPlan plan
     solved <- cachedSolveTime cache
     newer <- filesNewerThanPlan plan projectDir solved
+    installed <- getInstalledPackages cache
     let covered = plannedComponents plan
         missing = [spellPlanComponent c | c <- wanted, c `notElem` covered]
+        forAnotherCompiler =
+          not (null installed)
+            && any
+              (\p -> ppName p == "base" && not (builtAlready installed p))
+              (bpPackages plan)
     case (newer, missing) of
       (_ : _, _) -> pure (PlanStale newer)
+      _ | forAnotherCompiler -> pure (PlanForeign (bpCompiler plan))
       ([], _ : _) -> pure (PlanNarrow missing)
       ([], []) ->
         sourcesShortOf cache projectDir plan >>= \case
@@ -534,31 +575,32 @@
     matches i = ipName i == ppName p && ipVersion i == ppVersion p
 
 -- | The project files that have changed since the plan was written, and
--- since the last solve, which leaves a plan it would not change as it was.
+-- since the last solve, which leaves a plan it would not change as it was,
+-- and the directories of the plan's local packages that hold none.
 filesNewerThanPlan :: BuildPlan -> FilePath -> Maybe UTCTime -> IO [FilePath]
 filesNewerThanPlan plan projectDir solved = quietly [] $ do
   written <- getModificationTime (planPathFor projectDir)
   let planTime = maybe written (max written) solved
-  configs <- traverse (projectConfigFiles . (projectDir </>)) projectFiles
+  configs <- projectConfigFiles projectDir
   atRootPackage <- cabalFilesIn projectDir
-  inPackages <- concat <$> traverse cabalFilesIn (localDirs plan)
-  let candidates = fmap fst (concat configs) <> atRootPackage <> inPackages
+  inPackages <- traverse cabalFilesIn localDirs
+  let candidates = fmap fst configs <> atRootPackage <> concat inPackages
+      gone = [dir | (dir, []) <- zip localDirs inPackages]
   newer <- traverse (isNewerThan planTime) candidates
-  pure [f | Just f <- newer]
+  pure (gone <> [f | Just f <- newer])
   where
-    projectFiles =
-      ["cabal.project", "cabal.project.local", "cabal.project.freeze"]
-    localDirs p =
-      Data.List.nub [dir | LocalPackage dir <- fmap ppSource (bpPackages p)]
+    localDirs =
+      Data.List.nub [dir | LocalPackage dir <- fmap ppSource (bpPackages plan)]
     isNewerThan planTime path = quietly Nothing $ do
       t <- getModificationTime path
       pure (if t > planTime then Just path else Nothing)
 
 -- | An account of actions we know are not worth attempting.
 data Futility = Futility
-  { -- | Has solving this plan already been tried and left it as narrow?
+  { -- | Has solving this plan already been tried and left it as narrow, or
+    -- solved for another compiler?
     solveWasFutile :: IO Bool,
-    -- | Record that a solve has been run and left it narrow, which is what
+    -- | Record that a solve has been run and left it so, which is what
     -- 'solveWasFutile' answers from afterwards.
     rememberFutileSolve :: IO (),
     -- | The packages an earlier fetch was still short of afterwards.
@@ -628,11 +670,13 @@
   SourcesMissing short -> fetch short
   PlanMissing -> solveThenFetch
   PlanStale _ -> solveThenFetch
-  PlanNarrow _ ->
-    solveWasFutile futility >>= \case
-      True -> fetchWhatIsShort
-      False -> solveThenFetch
+  PlanForeign _ -> solveUnlessFutile
+  PlanNarrow _ -> solveUnlessFutile
   where
+    solveUnlessFutile =
+      solveWasFutile futility >>= \case
+        True -> fetchWhatIsShort
+        False -> solveThenFetch
     wholeProject = ["--enable-tests", "--enable-benchmarks"]
     tryWholeProject args = do
       attempt <- cabal (args <> wholeProject)
@@ -670,6 +714,7 @@
           rememberSolveTime futility started
           checkReadiness caching wanted projectDir >>= \case
             SourcesMissing short -> fetch short
+            PlanForeign _ -> rememberFutileSolve futility >> fetchWhatIsShort
             PlanNarrow _ -> rememberFutileSolve futility >> fetchWhatIsShort
             _ -> pure (Right ())
 
@@ -794,7 +839,10 @@
       repos <- quietly [] (Data.List.sort <$> listDirectory cacheRoot)
       traverse
         (\p -> (,) p <$> tarballFor cacheRoot repos p)
-        (nubOrdOn (\p -> (ppName p, ppVersion p)) [p | p <- bpPackages plan, not (isLocal p)])
+        ( nubOrdOn
+            (\p -> (ppName p, ppVersion p))
+            [p | p <- bpPackages plan, not (isLocal p)]
+        )
     isLocal p = case ppSource p of
       LocalPackage _ -> True
       CheckedOut _ -> True
@@ -832,8 +880,8 @@
       pure (fromMaybe (NE.head places) (listToMaybe found))
   where
     holdsAnIndex dir =
-      quietly False (doesFileExist (dir </> hackage </> "01-index.tar"))
-    hackage = "hackage.haskell.org"
+      quietly False $
+        doesFileExist (dir </> hackageByDefault </> "01-index.tar")
 
 -- | Every directory @cabal@ could be keeping a package cache in, the
 -- platform's own default first.
diff --git a/src/Tilia/Cabal/Project.hs b/src/Tilia/Cabal/Project.hs
--- a/src/Tilia/Cabal/Project.hs
+++ b/src/Tilia/Cabal/Project.hs
@@ -38,6 +38,7 @@
     listDirectory,
   )
 import System.FilePath (takeDirectory, takeFileName, (</>))
+
 import Tilia.Utils (quietly, tshow)
 
 -- | A project, and what marked it out.
@@ -79,7 +80,9 @@
       packages <- cabalFilesAmong directory entries
       pure
         ( [ProjectRoot directory ProjectFile | "cabal.project" `elem` entries],
-          [ProjectRoot directory (PackageFile (takeFileName p)) | p <- take 1 packages]
+          [ ProjectRoot directory (PackageFile (takeFileName p))
+          | p <- take 1 packages
+          ]
         )
 
 -- | Where a walk upwards from a path starts: the path itself if it names a
@@ -101,13 +104,19 @@
     doesFileExist
     (fmap (directory </>) (sort (filter (".cabal" `isSuffixOf`) entries)))
 
--- | A project configuration file and the files it imports, directly or
--- through one another, each once, with its fields or why they do not
--- parse.
+-- | The configuration files @cabal@ reads in a project's directory and the
+-- files they import, directly or through one another, each once, with its
+-- fields or why they do not parse.
 --
--- A file that cannot be read, such as an import from a URL, is passed over.
+-- A file that cannot be read, such as an absent one or an import from a
+-- URL, is passed over.
 projectConfigFiles :: FilePath -> IO [(FilePath, Either Text [Field Position])]
-projectConfigFiles = go Set.empty . pure
+projectConfigFiles directory =
+  go
+    Set.empty
+    [ directory </> name
+    | name <- ["cabal.project", "cabal.project.freeze", "cabal.project.local"]
+    ]
   where
     go _ [] = pure []
     go seen (given : rest) = do
diff --git a/src/Tilia/Cabal/Target.hs b/src/Tilia/Cabal/Target.hs
--- a/src/Tilia/Cabal/Target.hs
+++ b/src/Tilia/Cabal/Target.hs
@@ -9,17 +9,18 @@
     parseTarget,
     Component (..),
     Wanted (..),
-    TargetProblem,
+    TargetProblem (..),
     describeTargetProblem,
     componentsOfTarget,
     componentInPlan,
     filesOfComponents,
     packageFilesOf,
+    projectModules,
   )
 where
 
 import Control.Monad (filterM)
-import Data.Bifunctor (first)
+import Data.Bifunctor (bimap, first)
 import Data.List (isPrefixOf, isSuffixOf, sort, tails)
 import Data.Map.Strict (Map)
 import Data.Map.Strict qualified as Map
@@ -27,23 +28,26 @@
 import Data.Set qualified as Set
 import Data.Text (Text)
 import Data.Text qualified as T
-import Data.Text.Encoding qualified as T
-import Distribution.Fields.Field (Field (..), FieldLine (..), Name (..))
+import Distribution.CabalSpecVersion (cabalSpecLatest)
+import Distribution.FieldGrammar.Parsec (runFieldParser)
+import Distribution.Fields.Field (Field (..), Name (..))
+import Distribution.Fields.ParseResult (runParseResult)
 import Distribution.PackageDescription (GenericPackageDescription (..))
+import Distribution.Parsec (parsecLeadingOptCommaList, parsecToken)
 import Distribution.Parsec.Position (Position)
-import System.Directory (canonicalizePath, doesFileExist, listDirectory)
-import System.FilePath
-  ( dropTrailingPathSeparator,
-    normalise,
-    splitDirectories,
-    takeDirectory,
-    (</>),
+import System.Directory
+  ( canonicalizePath,
+    doesFileExist,
+    listDirectory,
   )
+import System.FilePath (splitDirectories, takeDirectory, (</>))
+
 import Tilia.Cabal.Package
   ( ComponentSection (..),
     Kind (..),
     PackageProblem,
     addedSources,
+    declaredModuleNames,
     describePackageProblem,
     isDeclaredModule,
     joined,
@@ -61,7 +65,7 @@
     projectConfigFiles,
   )
 import Tilia.Ignore (withoutIgnored)
-import Tilia.Utils (fieldWords, quietly, tshow)
+import Tilia.Utils (quietly, tshow)
 
 -- | Which components a run was asked for.
 data Target
@@ -80,7 +84,8 @@
   ["all"] -> Right Everything
   [one] -> Right (Called one)
   [k, name] | Just kind <- kindNamed k -> Right (Qualified Nothing kind name)
-  [package, k, name] | Just kind <- kindNamed k -> Right (Qualified (Just package) kind name)
+  [package, k, name]
+    | Just kind <- kindNamed k -> Right (Qualified (Just package) kind name)
   _ -> Left unrecognised
   where
     unrecognised =
@@ -180,8 +185,6 @@
 componentsOfTarget root target =
   packageFilesOf root >>= \case
     Left problem -> pure (Left problem)
-    Right [] ->
-      pure (Left (NoPackages (prPath root </> markerFile (prMarker root))))
     Right files ->
       traverse componentsInCabalFile files >>= \case
         results
@@ -190,7 +193,12 @@
               let found = concat [cs | Right cs <- results]
               pure $ case filter (targetSelectsComponent target) found of
                 [] | Everything <- target -> Right []
-                [] -> Left (NoSuchTarget (spellTarget target) (spellComponent <$> filter targetable found))
+                [] ->
+                  Left
+                    ( NoSuchTarget
+                        (spellTarget target)
+                        (spellComponent <$> filter targetable found)
+                    )
                 wanted -> Right wanted
 
 -- | Can a component be asked for on its own?
@@ -264,42 +272,63 @@
         (quietly False . doesFileExist)
         [joined directory entry | entry <- entries, admits wanted entry]
 
--- | A directory spelled so that a path can be appended to it without
--- further normalisation.
-asDirectory :: FilePath -> FilePath
-asDirectory = dropTrailingPathSeparator . normalise
-
--- | The @.cabal@ files the project is made of, or which of its
--- configuration files does not parse.
+-- | The @.cabal@ files the project is made of, or why there are none: which
+-- of its configuration files does not parse, or that they name none.
 --
--- A @cabal.project@ names them, possibly through globs; anything else means
--- the marker found by the walk upwards is itself the only package.
+-- Its configuration files name them, possibly through globs, and where the
+-- walk upwards found a @.cabal@ file rather than a @cabal.project@, that
+-- file is one of them too.
 packageFilesOf :: ProjectRoot -> IO (Either TargetProblem [FilePath])
-packageFilesOf root = case prMarker root of
-  PackageFile named -> pure (Right [prPath root </> named])
-  ProjectFile -> do
-    configs <- projectConfigFiles (prPath root </> "cabal.project")
-    case traverse (uncurry (first . ProjectMalformed)) configs of
-      Left problem -> pure (Left problem)
-      Right parsed -> do
-        found <-
-          traverse
-            (packageToCabalFile (prPath root))
-            (concatMap packagesInProjectConfig parsed)
-        pure (Right (Set.toList (Set.fromList (concat found))))
+packageFilesOf root = do
+  configs <- projectConfigFiles (prPath root)
+  case traverse (uncurry (first . ProjectMalformed)) configs of
+    Left problem -> pure (Left problem)
+    Right parsed -> do
+      found <-
+        traverse
+          (packageToCabalFile (prPath root))
+          (concatMap packagesInProjectConfig parsed)
+      pure $ case Set.toList (Set.fromList (marked <> concat found)) of
+        [] -> Left (NoPackages (prPath root </> markerFile (prMarker root)))
+        files -> Right files
+  where
+    marked = case prMarker root of
+      PackageFile named -> [prPath root </> named]
+      ProjectFile -> []
 
--- | The entries of a project configuration file's @packages@ fields.
-packagesInProjectConfig :: [Field Position] -> [Text]
-packagesInProjectConfig = concatMap entries . packagesIn
+-- | The modules the project's own packages declare, whatever the conditions
+-- in their @.cabal@ files, each with the names of those that declare it.
+projectModules :: [FilePath] -> IO (Either TargetProblem (Map Text (Set Text)))
+projectModules files =
+  fmap (Map.unionsWith (<>)) . sequence <$> traverse declaredIn files
+
+-- | The modules a @.cabal@ file declares, each with the name of its package.
+declaredIn :: FilePath -> IO (Either TargetProblem (Map Text (Set Text)))
+declaredIn file =
+  bimap UnreadablePackage modulesOf <$> readPackageDescription file
   where
-    packagesIn = concatMap $ \case
-      Field (Name _ name) ls
-        | name `elem` ["packages", "optional-packages"] ->
-            [T.unwords [T.decodeUtf8Lenient value | FieldLine _ value <- ls]]
-        | otherwise -> []
-      Section _ _ inner -> packagesIn inner
-    entries = fieldWords
+    modulesOf described =
+      Map.fromList
+        [ (name, Set.singleton (packageOf described))
+        | name <- declaredModuleNames described
+        ]
 
+-- | The entries of a project configuration file's @packages@ and
+-- @optional-packages@ fields, read with the parser @cabal@ reads them with,
+-- and none from a field it cannot read.
+packagesInProjectConfig :: [Field Position] -> [Text]
+packagesInProjectConfig = concatMap $ \case
+  Field (Name position name) ls
+    | name `elem` ["packages", "optional-packages"] ->
+        either (const []) (fmap T.pack) . snd . runParseResult $
+          runFieldParser
+            position
+            (parsecLeadingOptCommaList parsecToken)
+            cabalSpecLatest
+            ls
+    | otherwise -> []
+  Section _ _ inner -> packagesInProjectConfig inner
+
 -- | Turn one entry of a @packages@ field into the @.cabal@ files it names.
 packageToCabalFile :: FilePath -> Text -> IO [FilePath]
 packageToCabalFile root entry = do
@@ -358,7 +387,9 @@
                    componentName = "setup",
                    componentRoot = root,
                    componentSources =
-                     Map.singleton "." (Wanted Set.empty (Set.singleton setupScript))
+                     Map.singleton
+                       "."
+                       (Wanted Set.empty (Set.singleton setupScript))
                  }
              | hasSetup
              ]
@@ -369,14 +400,20 @@
 sourcesIn d ComponentSection{..} =
   Map.fromListWith
     (<>)
-    ( [(joined d sub, Wanted (Set.singleton name) Set.empty) | (sub, name) <- sectionModules]
-        <> [(joined d sub, Wanted Set.empty (Set.singleton name)) | (sub, name) <- sectionEntries]
+    ( [ (joined d sub, Wanted (Set.singleton name) Set.empty)
+      | (sub, name) <- sectionModules
+      ]
+        <> [ (joined d sub, Wanted Set.empty (Set.singleton name))
+           | (sub, name) <- sectionEntries
+           ]
     )
 
 -- | The components of a parsed @.cabal@ file, in the order declared.
 declaredComponents :: FilePath -> GenericPackageDescription -> [Component]
 declaredComponents root described =
-  [made kind name branches | (kind, name, branches) <- packageComponents described]
+  [ made kind name branches
+  | (kind, name, branches) <- packageComponents described
+  ]
   where
     made kind name branches =
       Component
@@ -387,7 +424,7 @@
           componentSources =
             Map.unionsWith
               (<>)
-              [ sourcesIn (asDirectory d) declared
+              [ sourcesIn d declared
               | branch <- branches,
                 (d, declared) <- addedSources branch
               ]
diff --git a/src/Tilia/Comments.hs b/src/Tilia/Comments.hs
--- a/src/Tilia/Comments.hs
+++ b/src/Tilia/Comments.hs
@@ -1,7 +1,8 @@
+{-# LANGUAGE DataKinds #-}
 {-# LANGUAGE LambdaCase #-}
 {-# LANGUAGE OverloadedStrings #-}
 
--- | Extracting comments from a parsed module.
+-- | Comments: what the lexer finds, and how each is written back.
 module Tilia.Comments
   ( Comment (..),
     CommentStyle (..),
@@ -15,43 +16,49 @@
     singleLine,
     holdsOff,
     continuesHaddock,
+    isDivider,
     carriedOnFrom,
     carriesOn,
     widenTrigger,
     asOrdinary,
     triggerEscaped,
     opensHaddock,
-    opensSectionHeading,
+    splitTrigger,
     afterOpener,
     triggerOn,
     commentsWithin,
-    Pragma (..),
+    commentRuns,
     commentPragma,
   )
 where
 
 import Data.Char (isSpace)
+import Data.Choice (Choice, fromBool, isTrue)
+import Data.IntMap.Strict (IntMap)
 import Data.IntMap.Strict qualified as IntMap
 import Data.List.NonEmpty (NonEmpty (..))
 import Data.List.NonEmpty qualified as NE
-import Data.Maybe (isJust, listToMaybe, mapMaybe)
+import Data.Maybe (fromMaybe, isJust, listToMaybe, mapMaybe)
 import Data.Text (Text)
 import Data.Text qualified as T
 import GHC.Parser.Lexer qualified as GHC
 import GHC.Types.SrcLoc qualified as GHC
-import Tilia.Pragma (withoutSkippedComments)
+
+import Tilia.Pragma (Pragma, pragmaOf)
 import Tilia.Source.Lines
   ( Lines,
     blankAt,
     columnOf,
     contentColumn,
-    directiveOnLine,
+    endsInBackslash,
+    isDirective,
     lineAt,
-    lineTexts,
+    lineTextsFrom,
     offsetOf,
   )
 import Tilia.Span (Span (..), covers)
 import Tilia.Span.Ghc (spanOfReal)
+import Tilia.Utils (opensLineComment)
 
 -- | One comment.
 data Comment = Comment
@@ -64,6 +71,10 @@
     commentStyle :: CommentStyle,
     -- | What was on the line above it.
     commentAbove :: Above,
+    -- | Where the nearest line above it that is not a directive and begins
+    -- at or left of it begins, if no empty line or line that opens a
+    -- comment comes first.
+    commentBackTo :: Maybe (Int, Int),
     -- | Where the code before it on its opening line stops: the column one
     -- past the last character of that code, or 'Nothing' when the comment
     -- had the line to itself.
@@ -77,6 +88,9 @@
     commentGapAbove :: Bool,
     -- | Whether to leave an empty line below it when it is printed.
     commentGapBelow :: Bool,
+    -- | Whether cpp joins the empty line under it to it, so that this line
+    -- has to stay under it.
+    commentJoined :: Bool,
     -- | Where the first line under it that is neither empty nor a directive
     -- begins, if there is one.
     commentNextLine :: Maybe (Int, Int)
@@ -101,44 +115,78 @@
     TopOfFile
   | -- | An empty line.
     BlankLine
-  | -- | Something, beginning at this column.
-    ContentAt !Int
+  | -- | Something, beginning at the first column and stopping at the
+    -- second, one past its last character.
+    ContentAt !Int !Int
   deriving (Eq, Show)
 
 -- | Every comment in a module, in source order.
 commentsOf ::
+  -- | Does cpp read the module?
+  Choice "readByCpp" ->
   -- | The module's lines, which every comment is read against.
   Lines ->
+  -- | The lines a Haddock's text is read from.
+  Lines ->
   -- | The module's comment tokens, in source order, each where the lexer
   -- found it.
   [(GHC.RealSrcSpan, GHC.Token)] ->
   [Comment]
-commentsOf ls = mapMaybe (uncurry (mkComment ls))
+commentsOf cpp ls haddocks = mapMaybe (uncurry (mkComment cpp ls haddocks))
 
 -- | Build a comment from a token and the span it occupied, where the token
 -- is a comment.
-mkComment :: Lines -> GHC.RealSrcSpan -> GHC.Token -> Maybe Comment
-mkComment ls spn = \case
-  GHC.ITlineComment t _ -> Just (commentAt ls s LineComment (T.pack t))
-  GHC.ITblockComment t _ -> Just (commentAt ls s BlockComment (T.pack t))
-  GHC.ITdocComment _ _ -> Just (commentAt ls s DocComment (sliceSpan (lineTexts ls) s))
+mkComment ::
+  -- | Does cpp read the module?
+  Choice "readByCpp" ->
+  -- | The module's lines, which the comment is read against.
+  Lines ->
+  -- | The lines a Haddock's text is read from.
+  Lines ->
+  -- | Where the token is.
+  GHC.RealSrcSpan ->
+  -- | The token.
+  GHC.Token ->
+  Maybe Comment
+mkComment cpp ls haddocks spn = \case
+  GHC.ITlineComment t _ -> Just (commentAt cpp ls s LineComment (T.pack t))
+  GHC.ITblockComment t _ -> Just (commentAt cpp ls s BlockComment (T.pack t))
+  GHC.ITdocComment _ _ ->
+    Just (commentAt cpp ls s DocComment (sliceSpan haddocks s))
   _ -> Nothing
   where
     s = spanOfReal spn
 
 -- | Build a comment of this style from the span it occupied and its text.
-commentAt :: Lines -> Span -> CommentStyle -> Text -> Comment
-commentAt ls spn style raw =
+commentAt ::
+  -- | Does cpp read the module?
+  Choice "readByCpp" ->
+  -- | The module's lines, which the comment is read against.
+  Lines ->
+  -- | Where it is.
+  Span ->
+  -- | How it was written.
+  CommentStyle ->
+  -- | Its text.
+  Text ->
   Comment
+commentAt cpp ls spn style raw =
+  Comment
     { commentSpan = spn,
       commentBody = normalizeBody (spanStartColumn spn) style raw,
       commentStyle = style,
       commentAbove = above,
+      commentBackTo = backTo,
       commentCodeBeforeStopsAt = codeBeforeStopsAt,
       commentFirstInBrackets = any ((`T.elem` "([{") . snd) (T.unsnoc before'),
       commentFollowed = followed,
       commentGapAbove = above == BlankLine,
       commentGapBelow = not followed && blankAt (spanEndLine spn + 1) ls,
+      commentJoined =
+        isTrue cpp
+          && not followed
+          && any endsInBackslash (lineAt (spanEndLine spn) ls)
+          && blankAt (spanEndLine spn + 1) ls,
       commentNextLine = nextLine
     }
   where
@@ -151,7 +199,25 @@
       Nothing -> TopOfFile
       Just l
         | T.all isSpace l -> BlankLine
-        | otherwise -> ContentAt (contentColumn l)
+        | otherwise ->
+            ContentAt (contentColumn l) (columnOf l (T.length (T.stripEnd l)))
+    backTo =
+      listToMaybe
+        [ (n, column)
+        | (n, l) <-
+            takeWhile
+              (written . snd)
+              [ (n, l)
+              | n <- [spanStartLine spn - 1, spanStartLine spn - 2 .. 1],
+                Just l <- [lineAt n ls],
+                not (isDirective l)
+              ],
+          let column = contentColumn l,
+          column <= spanStartColumn spn
+        ]
+    written l =
+      let t = T.stripStart l
+       in not (T.null t || opensLineComment t || "{-" `T.isPrefixOf` t)
     before' = maybe T.empty (T.stripEnd . T.take startColumn) openingLine
     codeBeforeStopsAt = do
       l <- openingLine
@@ -163,7 +229,7 @@
             takeWhile
               (isJust . snd)
               [(n, lineAt n ls) | n <- [spanEndLine spn + 1 ..]],
-          not (T.all isSpace l || isJust (directiveOnLine l))
+          not (T.all isSpace l || isDirective l)
         ]
     followed = case lineAt (spanEndLine spn) ls of
       Just l -> not (T.all isSpace (T.drop (offsetOf l (spanEndColumn spn)) l))
@@ -183,15 +249,14 @@
           normalizeBody
             (spanStartColumn s)
             BlockComment
-            (sliceSpan (lineTexts ls) s)
+            (sliceSpan ls s)
       }
   _ -> c
   where
     s = commentSpan c
 
--- | Apply the normalizations, in the only order that works: dedent before
--- stripping, since a line of nothing but spaces has to still count as
--- indented when the common indentation is measured.
+-- | Split the text of a comment written at the given column into lines,
+-- dedented, with a space after its dashes and no trailing whitespace.
 normalizeBody :: Int -> CommentStyle -> Text -> NonEmpty Text
 normalizeBody column style raw =
   case NE.nonEmpty (T.lines raw) of
@@ -218,12 +283,16 @@
       | otherwise -> "-- " <> rest
 
 -- | The text a span covers.
-sliceSpan :: [Text] -> Span -> Text
-sliceSpan sourceLines spn =
+sliceSpan ::
+  -- | The module's lines.
+  Lines ->
+  -- | The span.
+  Span ->
+  Text
+sliceSpan ls spn =
   T.intercalate "\n" (zipWith clip [startLine ..] covered)
   where
-    covered =
-      take (endLine - startLine + 1) (drop (startLine - 1) sourceLines)
+    covered = take (endLine - startLine + 1) (lineTextsFrom startLine ls)
     clip n l =
       (if n == startLine then T.drop (offsetOf l startCol) else id)
         . (if n == endLine then T.take (offsetOf l endCol) else id)
@@ -249,20 +318,26 @@
 commentTrailing :: Comment -> Bool
 commentTrailing = isJust . commentCodeBeforeStopsAt
 
--- | Is this a Haddock written as @--@ lines that can go on past its first
--- line, so that a comment written against it is held off from it?
-holdsOff :: Comment -> Bool
-holdsOff c =
-  commentStyle c == DocComment
-    && not (bracketed c)
-    && not (opensSectionHeading (NE.head (commentBody c)))
+-- | Does this text open a Haddock written as @--@ lines, which the lexer
+-- carries on to the lines under it that 'continuesHaddock'?
+holdsOff :: Text -> Bool
+holdsOff t = case T.uncons =<< T.stripPrefix "-- " t of
+  Just (ch, _) -> ch `elem` ("|^$" :: String)
+  Nothing -> False
 
--- | Would the lexer read this comment as more of a Haddock written as @--@
--- lines right above it?
-continuesHaddock :: Comment -> Bool
-continuesHaddock c =
-  not (bracketed c) && not ("---" `T.isPrefixOf` NE.head (commentBody c))
+-- | Would the lexer read a line beginning with this text as more of a
+-- Haddock written as @--@ lines that runs to the end of the line above?
+continuesHaddock :: Text -> Bool
+continuesHaddock t =
+  "--" `T.isPrefixOf` t
+    && not ("---" `T.isPrefixOf` t)
+    && not ("-- $" `T.isPrefixOf` t)
 
+-- | Is this text a divider, a line of three dashes or more and nothing
+-- else?
+isDivider :: Text -> Bool
+isDivider t = "---" `T.isPrefixOf` t && T.all (== '-') t
+
 -- | Is this comment a single line?
 singleLine :: Comment -> Bool
 singleLine c = case commentBody c of
@@ -317,13 +392,16 @@
         ]
     go column line above
       | Just remark <- IntMap.lookup line remarks,
-        above == ContentAt column || remark <= column =
+        beginsAt column above || remark <= column =
           Just (line, remark)
       | Just (col, above') <- IntMap.lookup line ownLineComments,
         col == column,
-        above == ContentAt column =
+        beginsAt column above =
           go column (line - 1) above'
       | otherwise = Nothing
+    beginsAt column = \case
+      ContentAt from _ -> from == column
+      _ -> False
 
 -- | Put a space between a doc comment's trigger and the text after it, so
 -- that @-- |Foo@ comes out as @-- | Foo@.
@@ -336,12 +414,8 @@
     Just (upToTrigger, body) <- splitTrigger headLine,
     not (T.null body),
     not (" " `T.isPrefixOf` body) =
-      c{commentBody = (upToTrigger <> " " <> body) :| fmap shiftOne rest}
+      c{commentBody = (upToTrigger <> " " <> body) :| rest}
   | otherwise = c
-  where
-    shiftOne l = case openerWidth l of
-      Just _ -> l
-      Nothing -> " " <> l
 
 -- | Put a backslash in front of a doc comment's trigger.
 --
@@ -396,7 +470,14 @@
                     then spanEndColumn s
                     else columnOf l (T.length l)
               }
-      pure (commentAt ls piece DocComment (sliceSpan (lineTexts ls) piece))
+      pure
+        ( commentAt
+            (fromBool (commentJoined c))
+            ls
+            piece
+            DocComment
+            (sliceSpan ls piece)
+        )
 
 -- | Has 'asOrdinary' escaped this comment's trigger?
 --
@@ -414,13 +495,15 @@
   Just (ch, _) -> ch `elem` ("|^*$" :: String)
   Nothing -> False
 
--- | Does this line open a Haddock?
+-- | Does this text open a Haddock other than a section heading, or a named
+-- chunk written between brackets?
 opensHaddock :: Text -> Bool
-opensHaddock = isJust . splitTrigger
-
--- | Does this line open a Haddock section heading, @-- *@?
-opensSectionHeading :: Text -> Bool
-opensSectionHeading = maybe False (T.isSuffixOf "*" . fst) . splitTrigger
+opensHaddock t =
+  holdsOff t || case T.stripPrefix "{-" t of
+    Just rest -> documenting (fromMaybe rest (T.stripPrefix " " rest))
+    Nothing -> False
+  where
+    documenting = maybe False ((`elem` ("|^" :: String)) . fst) . T.uncons
 
 -- | Split a doc comment's opening line into everything up to and including
 -- its trigger, and whatever follows.
@@ -458,38 +541,29 @@
 commentsWithin :: Span -> [Comment] -> [Comment]
 commentsWithin s = filter (covers s . commentSpan)
 
--- | A compiler pragma, which is written as a block comment but is not one.
---
--- GHC reads pragmas only from the file header, so where a pragma sits
--- decides whether it does anything at all. That is why recognising one is
--- not enough on its own: see 'Tilia.Parser.pmHeaderEnd' for the boundary
--- that says which pragmas are real.
-data Pragma = Pragma
-  { -- | The name, upper-cased as GHC expects it, e.g. @LANGUAGE@.
-    pragmaName :: Text,
-    -- | Everything between the name and the closing @#-}@, with the
-    -- surrounding whitespace removed, on one line, and without the comments
-    -- GHC skips in a @LANGUAGE@ pragma.
-    pragmaBody :: Text,
-    -- | Whether it holds such a comment.
-    pragmaCommented :: Bool
-  }
-  deriving (Eq, Show)
+-- | The first and the last comment of each run of comments written one
+-- right under another at one column, by the line each comment of the run
+-- begins on.
+commentRuns :: [Comment] -> IntMap (Comment, Comment)
+commentRuns cs =
+  IntMap.fromList
+    [ (spanStartLine (commentSpan c), (NE.head run, NE.last run))
+    | run <- foldr joined [] cs,
+      c <- NE.toList run
+    ]
+  where
+    joined c ((d :| ds) : rest)
+      | continuedBy c d = (c :| d : ds) : rest
+    joined c rest = (c :| []) : rest
+    continuedBy c d =
+      spanStartLine (commentSpan d) == spanEndLine (commentSpan c) + 1
+        && spanStartColumn (commentSpan d) == spanStartColumn (commentSpan c)
 
--- | Recognise a pragma.
+-- | The pragma a comment is, if any.
 commentPragma :: Comment -> Maybe Pragma
-commentPragma c = do
-  inner <- T.stripSuffix "#-}" =<< T.stripPrefix "{-#" (T.strip written)
-  let uncommented = withoutSkippedComments inner
-      (name, body) = T.break isSpace (T.stripStart uncommented)
-  if T.null name
-    then Nothing
-    else
-      Just
-        Pragma
-          { pragmaName = T.toUpper name,
-            pragmaBody = T.strip (T.unwords (fmap T.strip (T.lines body))),
-            pragmaCommented = uncommented /= inner
-          }
+commentPragma c =
+  pragmaOf
+    =<< T.stripSuffix "#-}"
+    =<< T.stripPrefix "{-#" (T.strip written)
   where
     written = T.intercalate "\n" (NE.toList (commentBody c))
diff --git a/src/Tilia/Comments/Attach.hs b/src/Tilia/Comments/Attach.hs
--- a/src/Tilia/Comments/Attach.hs
+++ b/src/Tilia/Comments/Attach.hs
@@ -1,32 +1,39 @@
 {-# LANGUAGE LambdaCase #-}
+{-# LANGUAGE OverloadedStrings #-}
+{-# LANGUAGE PatternSynonyms #-}
 
--- | Attaching a stream of comments to a 'Doc'.
---
--- Attachment happens once, on the finished document, before anything is
--- rendered. A comment becomes an ordinary part of the document like any
--- other, and from then on nothing distinguishes it.
+-- | Attaching comments to a 'Doc'.
 module Tilia.Comments.Attach
   ( attachComments,
     attachScopedComments,
     Margin (..),
     commentText,
+    joinedLine,
   )
 where
 
 import Control.Applicative ((<|>))
-import Data.Bifunctor (first, second)
-import Data.List (unsnoc)
+import Data.Bifunctor (first)
 import Data.List.NonEmpty qualified as NE
-import Data.Map.Strict (Map)
 import Data.Map.Strict qualified as Map
-import Data.Maybe (listToMaybe)
-import Data.Monoid (First (..))
+import Data.Maybe (isJust, listToMaybe)
 import Data.Set qualified as Set
 import Data.Text (Text)
+
 import Tilia.Comments
 import Tilia.Comments.Place
+import Tilia.Doc
+  ( BracketSide (..),
+    Doc (..),
+    SeparatorSide (..),
+    foldlChildren',
+    namesOnly,
+    printsNothing,
+    unwrap,
+    wrap,
+    pattern Cat,
+  )
 import Tilia.Doc.Combinators
-import Tilia.Doc.Internal (Doc (..), foldChildren)
 import Tilia.Span
 
 -- | Attach comments to a 'Doc'.
@@ -35,9 +42,10 @@
 
 -- | What parts of a comment go at the margin.
 data Margin = Margin
-  { -- | A line of a comment, as a preprocessor directive written in one has
+  { -- | A line of the module, by its number, that a comment written over it
+    -- prints at the margin, as a preprocessor directive written in one has
     -- to: the preprocessor reads directives out of comments as well.
-    marginLine :: Text -> Bool,
+    marginLine :: Int -> Bool,
     -- | A comment that goes to the margin when it comes out right above a
     -- preprocessor directive, which it then documents.
     marginComment :: Comment -> Bool
@@ -57,7 +65,7 @@
 -- goes is decided among the regions it could be printed next to in every
 -- configuration it is in.
 attachScopedComments ::
-  (Ord k) =>
+  Ord k =>
   -- | What goes at the margin.
   Margin ->
   -- | The scope of what was written at a span.
@@ -71,18 +79,31 @@
   written <> closingComments margin (unplaced left)
   where
     (written, left) = walk margin placements doc
-    (regions, fences) = markedSpans doc
-    leads = leadingRegions doc
+    found = regionsOf doc
+    regions = reverse (regionsLocated found)
+    fences = reverse (regionsFenced found)
+    openings = reverse (regionsOpenings found)
+    gaps = findingsGapped (regionsFindings found)
+    leads = Map.fromList (findingsLeading (regionsFindings found))
+    elsewhere = Set.fromList (findingsElsewhere (regionsFindings found))
     placements =
       foldMap
         ( \k ->
-            placeComments (inScope k rs) leads (inScope k fs) (inScope k xs)
+            placeComments
+              (inScope k rs)
+              leads
+              elsewhere
+              openings
+              gaps
+              (inScope k fs)
+              (inScope k xs)
         )
         (Set.toList (Map.keysSet rs <> Map.keysSet fs <> Map.keysSet xs))
     rs = byScope id regions
     fs = byScope id fences
     xs = byScope commentSpan cs
-    byScope f ys = reverse <$> Map.fromListWith (<>) [(scopeOf (f y), [y]) | y <- ys]
+    byScope f ys =
+      reverse <$> Map.fromListWith (<>) [(scopeOf (f y), [y]) | y <- ys]
     inScope = Map.findWithDefault []
 
 -- | The comments nothing came to collect, written after everything.
@@ -92,43 +113,153 @@
   -- | The comments.
   [Comment] ->
   Doc
-closingComments margin = \case
-  [] -> mempty
-  (opening : rest) -> placeOne True opening <> foldMap (placeOne False) rest
-  where
-    placeOne opensTheRun c =
-      commentDoc c $
-        DCloseLine
-          <> includeWhen (opensTheRun || commentGapAbove c) blankLine
-          <> commentText margin c
-          <> DCloseLine
+closingComments margin = foldMap $ \c -> commentDoc c (ownLines margin True c)
 
--- | The spans of every 'DLocated' in the document, and of every 'DFence',
--- in that order.
-markedSpans :: Doc -> ([Span], [Span])
-markedSpans = \case
-  DLocated s d -> first (s :) (markedSpans d)
-  DFence s d -> second (s :) (markedSpans d)
-  d -> foldChildren markedSpans d
+-- | What attachment learns of the regions of a document, in one walk over
+-- it in the order it prints, each list most recent first.
+data Regions = Regions
+  { -- | Every 'DLocated'.
+    regionsLocated :: [Span],
+    -- | Every 'DFence'.
+    regionsFenced :: [Span],
+    -- | Every opening bracket.
+    regionsOpenings :: [Span],
+    -- | What the walk finds more seldom.
+    regionsFindings :: !Findings,
+    -- | The region that finished printing last, if no directive came since.
+    regionsAbove :: !(Maybe Span),
+    -- | Whether the declarations have begun.
+    regionsBegun :: !Bool,
+    -- | What the walk passed in the innermost region or fence.
+    regionsPassed :: !Passed
+  }
 
--- | The innermost region each region prints first, where that one was
--- written above it, as the Haddock of a constructor, a field or an argument
--- is.
-leadingRegions :: Doc -> Map Span Span
-leadingRegions = \case
-  DLocated s d
-    | Just h <- firstRegion d,
-      startPoint h < startPoint s ->
-        Map.insert s h (leadingRegions d)
-  d -> foldChildren leadingRegions d
+-- | What 'regionsOf' finds more seldom than a region, each list most recent
+-- first.
+data Findings = Findings
+  { -- | The region that finishes printing last before each
+    -- 'DDeclDelimiter' inside a region or among the declarations, where no
+    -- directive comes after it: the item an empty line is under, which the
+    -- parts of a module's header are not.
+    findingsGapped :: [Span],
+    -- | The innermost region each region prints first, where that one was
+    -- written above it, as the Haddock of a constructor, a field or an
+    -- argument is.
+    findingsLeading :: [(Span, Span)],
+    -- | The regions that do not print last what was written at their end,
+    -- where they print anything written that far, as a signature prints
+    -- the Haddock of its last argument under that argument.
+    findingsElsewhere :: [Span]
+  }
 
--- | The innermost region a document prints first.
-firstRegion :: Doc -> Maybe Span
-firstRegion = getFirst . go
+-- | What 'regionsOf' passed in the innermost region or fence.
+data Passed = Passed
+  { -- | The region printed last, and whether it prints what was written at
+    -- its end elsewhere.
+    passedLast :: !(Maybe (Span, Bool)),
+    -- | The region that ends furthest.
+    passedFurthest :: !(Maybe Span),
+    -- | The innermost region printed first, in the innermost region only:
+    -- a fence passes it on.
+    passedFirst :: !(Maybe Span)
+  }
+
+-- | What attachment learns of the regions of a document.
+regionsOf :: Doc -> Regions
+regionsOf =
+  go False (Regions [] [] [] (Findings [] [] []) Nothing False nothingPassed)
   where
-    go = \case
-      DLocated s d -> First (firstRegion d <|> Just s)
-      d -> foldChildren go d
+    nothingPassed = Passed Nothing Nothing Nothing
+    go inRegion r = \case
+      DLocated s d -> region inRegion s d r
+      DFence s d ->
+        let outer = regionsPassed r
+            inner =
+              go
+                inRegion
+                r
+                  { regionsFenced = s : regionsFenced r,
+                    regionsPassed =
+                      nothingPassed{passedFirst = passedFirst outer}
+                  }
+                d
+            passed = regionsPassed inner
+         in inner
+              { regionsPassed =
+                  Passed
+                    (Just (s, endsElsewhere s passed))
+                    (furthest s outer passed)
+                    (passedFirst passed)
+              }
+      DBracket OpeningBracket (Just s) d ->
+        go inRegion r{regionsOpenings = s : regionsOpenings r} d
+      DCppChoice _ bs e ->
+        let branch r' =
+              go inRegion r'{regionsAbove = Nothing, regionsBegun = begun}
+            begun = regionsBegun r
+         in (foldl' branch r (fmap snd bs <> [e]))
+              { regionsAbove = Nothing,
+                regionsBegun = begun
+              }
+      DCppDirective{} -> r{regionsAbove = Nothing}
+      DDeclarationsStart -> r{regionsBegun = True}
+      DDeclDelimiter _
+        | inRegion || regionsBegun r,
+          Just above <- regionsAbove r ->
+            let f = regionsFindings r
+             in r
+                  { regionsFindings =
+                      f{findingsGapped = above : findingsGapped f}
+                  }
+      d -> foldlChildren' (go inRegion) r d
+    region inRegion s d r =
+      let gapped = not (zeroWidth s || isChoice d)
+          outer = regionsPassed r
+          inner =
+            go
+              (inRegion || gapped)
+              r
+                { regionsLocated = s : regionsLocated r,
+                  regionsPassed = nothingPassed
+                }
+              d
+          passed = regionsPassed inner
+          elsewhere = endsElsewhere s passed
+          led = case passedFirst passed of
+            Just h | startPoint h < startPoint s -> Just (s, h)
+            _ -> Nothing
+          f = regionsFindings inner
+       in inner
+            { regionsFindings =
+                if elsewhere || isJust led
+                  then
+                    f
+                      { findingsLeading =
+                          maybe id (:) led (findingsLeading f),
+                        findingsElsewhere =
+                          (if elsewhere then (s :) else id)
+                            (findingsElsewhere f)
+                      }
+                  else f,
+              regionsAbove = if gapped then Just s else regionsAbove inner,
+              regionsPassed =
+                Passed
+                  (Just (s, elsewhere))
+                  (furthest s outer passed)
+                  (passedFirst outer <|> passedFirst passed <|> Just s)
+            }
+    endsElsewhere s passed = case (passedLast passed, passedFurthest passed) of
+      (Just (l, further), Just f) ->
+        further || endPoint f >= endPoint s && endPoint l /= endPoint s
+      _ -> False
+    furthest s outer passed =
+      Just
+        $! maybe id endingLater (passedFurthest outer)
+        $ maybe id endingLater (passedFurthest passed) s
+    endingLater a b = if endPoint a <= endPoint b then b else a
+    isChoice = \case
+      DCppChoice{} -> True
+      _ -> False
 
 -- | Write the placed comments into the document, each one around the region
 -- it was given to. Taking is destructive: the 'Placements' is threaded
@@ -155,76 +286,133 @@
       | nothingPlaced p = (d, p)
       | otherwise = step p d
     step p = \case
-      DCat a b ->
-        let (a', p') = go p a
-            (b', p'') = go p' b
-         in (DCat a' b', p'')
-      DLocated s d ->
-        let (mine, p') = claimPlaced s p
-            (d', p'') = go p' d
-            write = foldMap (uncurry (writtenAs margin (zeroWidth s)))
-            before' =
-              (Before,) <$> heldOffFrom d [c | (Before, c) <- mine]
-            after' =
-              [(q, c) | (q, c) <- mine, q /= Before, q /= Under ByTheRegion]
-            under' = [(q, c) | (q, c) <- mine, q == Under ByTheRegion]
-            withUnder
-              | null under' = id
-              | otherwise = \x -> DAlign (x <> write under')
-         in ( write before' <> withUnder (DLocated s d' <> write after'),
-              p''
-            )
-      DFence s d -> first (DFence s) (go p d)
+      DIndented n a b | not (namesOnly a) -> both (DIndented n) p a b
+      Cat a b -> both DCat p a b
+      DLocated s d -> case claimPlaced s p of
+        ([], p') -> first (DLocated s) (go p' d)
+        (mine, p') ->
+          let (d', p'') = go p' d
+              write = foldMap (uncurry (writtenAs margin (zeroWidth s)))
+              before' = [(q, c) | (q, c) <- mine, q == Before]
+              after' =
+                [(q, c) | (q, c) <- mine, q /= Before, not (linedUpWithIt q)]
+              under' = [(q, c) | (q, c) <- mine, linedUpWithIt q]
+              linedUpWithIt = \case
+                Under ByTheRegion -> True
+                Under ByTheIndentation -> alignsItself d
+                _ -> False
+              withUnder
+                | null under' = id
+                | otherwise = \x -> align (x <> write under')
+           in ( write before' <> withUnder (DLocated s d' <> write after'),
+                p''
+              )
       DCppChoice cs bs e ->
         let bs' = [(c, go p d) | (c, d) <- bs]
             (e', pe) = go p e
          in ( DCppChoice cs [(c, d') | (c, (d', _)) <- bs'] e',
               foldr (unclaimedByEither . snd . snd) pe bs'
             )
-      DNest n d -> first (DNest n) (go p d)
-      DAlign d -> first DAlign (go p d)
-      DGroup l d -> first (DGroup l) (go p d)
       DVariant a b ->
         let (a', _) = go p a
             (b', p') = go p b
          in (DVariant a' b', p')
-      d -> (d, p)
+      d
+        | Just (w, x) <- unwrap d -> first (wrap w) (go p x)
+        | otherwise -> (d, p)
+    both joined p a b
+      | leadsAnItem a,
+        (lifted@(_ : _), p0) <- foldl claimed ([], p) (openingRegions b) =
+          let (a', p') = go p0 a
+              (b', p'') = go p' b
+           in ( foldMap (\c -> commentDoc c (ownLines margin False c)) lifted
+                  <> joined a' b',
+                p''
+              )
+      | Just o <- trailingRegion a,
+        Just s <- regionAfterBreak b <|> openingRegion b,
+        (passed@(_ : _), p0) <- claimAround o p =
+          let (a', p') = go p0 a
+              (b', p'') = go (placedBefore s passed p') b
+           in (joined a' b', p'')
+      | otherwise =
+          let (a', p') = go p a
+              (b', p'') = go p' b
+           in (joined a' b', p'')
+    claimed (cs, p) s = first (cs <>) (claimOwnLines s p)
 
--- | Hold the last comment, if written as @--@ lines, off a Haddock about to
--- be written under it.
-heldOffFrom :: Doc -> [Comment] -> [Comment]
-heldOffFrom d cs = case unsnoc cs of
-  Just (earlier, c)
-    | not (bracketed c),
-      opensWithHaddock d ->
-        earlier <> [c{commentGapBelow = True}]
-  _ -> cs
+-- | Does a document line its lines up under the column it begins at?
+alignsItself :: Doc -> Bool
+alignsItself = \case
+  DAligned 0 _ -> True
+  DLocated _ d -> alignsItself d
+  DFence _ d -> alignsItself d
+  DGroup _ d -> alignsItself d
+  _ -> False
 
--- | Does this region begin its first line with a Haddock other than a
--- section heading?
-opensWithHaddock :: Doc -> Bool
-opensWithHaddock d = case listToMaybe (fst (firstLine Broken d)) of
-  Just l -> opensHaddock l && not (opensSectionHeading l)
-  Nothing -> False
+-- | Is this a separator hung left of the item it leads, or a comma that
+-- leads one where the merge put it in front, alone or after the place the
+-- line may break before it?
+leadsAnItem :: Doc -> Bool
+leadsAnItem = \case
+  DCat DBreak' d -> leads d
+  d -> leads d
   where
-    firstLine layout = \case
-      DText t -> ([t], False)
-      DCat a b -> case firstLine layout a of
-        (before, True) -> (before, True)
-        (before, False) -> first (before <>) (firstLine layout b)
-      DNest _ x -> firstLine layout x
-      DAlign x -> firstLine layout x
-      DLocated _ x -> firstLine layout x
-      DFence _ x -> firstLine layout x
-      DGroup l x -> firstLine l x
-      DVariant a b -> firstLine layout (case layout of Flat -> a; Broken -> b)
-      DHardBreak -> ([], True)
-      DCloseLine -> ([], True)
-      DCloseLineUnlessAfterOpener _ -> ([], True)
-      DBreak -> ([], layout == Broken)
-      DSoftBreak -> ([], layout == Broken)
-      _ -> ([], False)
+    leads = \case
+      DSeparator LeadingSeparator (DAligned n _) _ -> n < 0
+      DSeparator LeadingSeparator l t ->
+        DSeparator TrailingSeparator l t == comma
+      _ -> False
 
+-- | The region of a separator that trails the part before it, as an
+-- operator does, whose comments go past it where one before it is on lines
+-- of its own.
+trailingRegion :: Doc -> Maybe Span
+trailingRegion = \case
+  DReferent _ d -> trailingRegion d
+  DSeparator TrailingSeparator l _ -> openingRegion l
+  _ -> Nothing
+
+-- | The outermost region that begins the line after the first place a
+-- document breaks, laid out broken.
+regionAfterBreak :: Doc -> Maybe Span
+regionAfterBreak d = go False [d]
+  where
+    go broke = \case
+      [] -> Nothing
+      x : rest -> case x of
+        DLocated s y
+          | broke -> Just s
+          | otherwise -> go broke (y : rest)
+        DBreak -> go True rest
+        DBreak' -> go True rest
+        DNewline -> go True rest
+        DCat a b -> go broke (a : b : rest)
+        DIndented _ a b -> go broke (a : b : rest)
+        DVariant _ brokenD -> go broke (brokenD : rest)
+        _
+          | Just (_, y) <- unwrap x -> go broke (y : rest)
+          | otherwise -> go broke rest
+
+-- | The outermost region a document prints first, past any in front that
+-- print nothing, such as the anchor a branch opens with.
+openingRegion :: Doc -> Maybe Span
+openingRegion = listToMaybe . openingRegions
+
+-- | The regions a document prints first, outermost first, past any in
+-- front that print nothing.
+openingRegions :: Doc -> [Span]
+openingRegions = \case
+  DLocated s d -> s : openingRegions d
+  DCat a b -> after a b
+  DIndented _ a b | not (namesOnly a) -> after a b
+  DVariant _ b -> openingRegions b
+  d -> foldMap (openingRegions . snd) (unwrap d)
+  where
+    after a b
+      | printsNothing a = openingRegions b
+      | otherwise = openingRegions a
+
 -- | Render one 'Comment' where it was placed.
 writtenAs ::
   -- | What goes at the margin.
@@ -236,40 +424,86 @@
   -- | The comment to render.
   Comment ->
   Doc
-writtenAs margin atTheEnd position c = commentDoc c $ case shapeOf position c of
+writtenAs margin atTheEnd position c = commentDoc c $ case placement of
   InPlace -> case position of
-    Before -> includeUnless glued space <> body <> includeUnless atTheEnd space
-    _ -> space <> body
-  EndsTheLine -> space <> body <> DCloseLine <> gapBelow
-  HeldBack spill -> DHoldBack spill (renderComment c)
-  OnItsOwnLines ->
-    DCloseLineUnlessAfterOpener (commentGapAbove c)
-      <> body
-      <> DCloseLine
-      <> gapBelow
+    Before ->
+      includeUnless glued space
+        <> DComment InPlace (commentSpan c) body
+        <> includeUnless atTheEnd space
+    _ -> space <> DComment InPlace (commentSpan c) body
+  EndsTheLine -> DComment EndsTheLine (commentSpan c) body <> gapBelow
+  HeldBack _ ->
+    DComment
+      placement
+      (commentSpan c)
+      (body <> includeWhen gapLeft (DVerbatimBreak AtIndent TrimWhitespace))
+  OnItsOwnLines _ -> ownLines margin atTheEnd c
   where
+    placement = commentPlacement position c
     glued = commentTrailing c && (not atTheEnd || commentFirstInBrackets c)
     body = commentText margin c
-    gapBelow = includeWhen (commentGapBelow c && not atTheEnd) blankLine
+    gapBelow =
+      includeWhen
+        (commentGapBelow c && not atTheEnd)
+        (declDelimiter DeclSeparate)
+    gapLeft =
+      not (commentTrailing c)
+        && not (commentJoined c)
+        && commentGapBelow c
+        && all ((> spanEndLine (commentSpan c) + 1) . fst) (commentNextLine c)
 
+-- | A comment on lines of its own, with the empty lines its author left
+-- around it.
+ownLines ::
+  -- | What goes at the margin.
+  Margin ->
+  -- | Does what follows only mark where the construct ends?
+  Bool ->
+  -- | The comment.
+  Comment ->
+  Doc
+ownLines margin atTheEnd c =
+  DComment
+    (OnItsOwnLines (commentGapAbove c))
+    (commentSpan c)
+    (commentText margin c)
+    <> includeWhen
+      (commentGapBelow c && not atTheEnd)
+      (declDelimiter DeclSeparate)
+
 -- | A comment, and the spacing that goes with it, as one region.
 commentDoc :: Comment -> Doc -> Doc
 commentDoc = located . commentSpan
 
--- | The text of a comment, laid out as it was written.
+-- | The text of a comment, laid out as it was written, and the empty line
+-- cpp joins to it.
 commentText ::
   -- | What goes at the margin.
   Margin ->
   -- | The comment.
   Comment ->
   Doc
-commentText margin c = note . align $ case NE.toList (commentBody c) of
+commentText margin c = note . align $ case numbered c of
   [] -> mempty
-  l : ls -> txt l <> foldMap (\x -> breakBefore x <> txt x) ls
+  (_, l) : ls ->
+    txt l
+      <> foldMap (\(n, x) -> breakBefore n <> txt x) ls
+      <> joinedLine c
   where
-    breakBefore x
-      | marginLine margin x = verbatimBreak AtMargin TrimWhitespace
-      | otherwise = verbatimBreak AtIndent TrimWhitespace
+    breakBefore n
+      | marginLine margin n = DVerbatimBreak AtMargin TrimWhitespace
+      | otherwise = DVerbatimBreak AtIndent TrimWhitespace
     note
-      | marginComment margin c = cppMarginNote
+      | marginComment margin c = DCppMarginNote
       | otherwise = id
+
+-- | The empty line cpp joins to a comment, if it joins one, reproduced
+-- under it.
+joinedLine :: Comment -> Doc
+joinedLine c =
+  includeWhen (commentJoined c) (DVerbatimBreak AtMargin TrimWhitespace)
+
+-- | The lines of a comment, each with the number of the line of the module
+-- it was written on.
+numbered :: Comment -> [(Int, Text)]
+numbered c = zip [spanStartLine (commentSpan c) ..] (NE.toList (commentBody c))
diff --git a/src/Tilia/Comments/Place.hs b/src/Tilia/Comments/Place.hs
--- a/src/Tilia/Comments/Place.hs
+++ b/src/Tilia/Comments/Place.hs
@@ -2,11 +2,14 @@
 module Tilia.Comments.Place
   ( Position (..),
     Alignment (..),
-    Shape (..),
-    shapeOf,
+    CommentPlacement (..),
+    commentPlacement,
     Placements,
     placeComments,
     claimPlaced,
+    claimOwnLines,
+    claimAround,
+    placedBefore,
     unclaimedByEither,
     unplaced,
     nothingPlaced,
@@ -16,23 +19,25 @@
 import Control.Applicative ((<|>))
 import Control.Monad (guard)
 import Data.IntMap.Strict qualified as IntMap
-import Data.List (minimumBy, sortOn)
-import Data.List.NonEmpty (NonEmpty (..))
+import Data.List (minimumBy, partition, sortOn)
 import Data.List.NonEmpty qualified as NE
 import Data.Map.Strict (Map)
 import Data.Map.Strict qualified as Map
 import Data.Ord (Down (..), comparing)
+import Data.Set (Set)
 import Data.Set qualified as Set
+
 import Tilia.Comments
   ( Above (..),
     Comment (..),
     carriedOnFrom,
     carriesOn,
     closesItself,
+    commentRuns,
     commentTrailing,
     singleLine,
   )
-import Tilia.Doc.Internal (Spill (..))
+import Tilia.Doc (CommentPlacement (..), Spill (..))
 import Tilia.Span
 
 -- | Where a comment is emitted in relation to its region.
@@ -49,37 +54,29 @@
 data Alignment
   = -- | The column the region begins at.
     ByTheRegion
-  | -- | The indentation in force after the region.
+  | -- | The indentation in force after the region, or the column it begins
+    -- at where it lines its lines up under that column.
     ByTheIndentation
   deriving (Eq, Show)
 
--- | How a comment is printed in relation to the region carrying it.
-data Shape
-  = -- | Spliced where the region prints, with code able to follow it on the
-    -- same line.
-    InPlace
-  | -- | Printed where the region is, and the line closed after it.
-    EndsTheLine
-  | -- | Held back to the end of whatever line of output it lands on,
-    -- however much of that line is still to be written.
-    HeldBack Spill
-  | -- | On lines of its own, keeping the empty lines the author left around
-    -- it.
-    OnItsOwnLines
-  deriving (Eq, Show)
-
--- | What a comment given to a region at this position will look like.
-shapeOf :: Position -> Comment -> Shape
-shapeOf position c = case position of
+-- | How a comment given to a region at this position is placed.
+commentPlacement ::
+  -- | Where the comment is given to the region.
+  Position ->
+  -- | The comment.
+  Comment ->
+  CommentPlacement
+commentPlacement position c = case position of
   Before
     | closesItself c && commentFollowed c -> InPlace
     | commentTrailing c -> EndsTheLine
-    | otherwise -> OnItsOwnLines
+    | otherwise -> OnItsOwnLines (commentGapAbove c)
   After spill
+    | not (commentTrailing c) -> HeldBack spill
     | closesItself c -> InPlace
     | singleLine c -> HeldBack spill
     | otherwise -> EndsTheLine
-  Under _ -> OnItsOwnLines
+  Under _ -> OnItsOwnLines (commentGapAbove c)
 
 -- | Comment placements not yet written: all of them when placement is
 -- decided, fewer as a walk writes them.
@@ -107,14 +104,27 @@
   -- | The innermost region each region prints first, where that one was
   -- written above it.
   Map Span Span ->
-  -- | The boundaries a comment printed in place may not be carried across.
+  -- | The regions that do not print last what was written at their end,
+  -- which a comment written after them is not given to.
+  Set Span ->
+  -- | The opening brackets, which a comment written after one is not given
+  -- to a region before.
   [Span] ->
+  -- | The items of runs with an empty line under them, each of which takes
+  -- the comments written right under it, down to one with an empty line
+  -- under it, if there is one.
+  [Span] ->
+  -- | The constructs a comment printed in place may not be carried out of.
+  [Span] ->
   -- | The comments to place.
   [Comment] ->
   Placements
-placeComments regions leads fences comments =
+placeComments regions leads elsewhere openings gaps fences comments =
   Placements
-    { placedAt = Map.fromListWith (flip (<>)) [(r, [(p, c)]) | (Just (r, p), c) <- decided],
+    { placedAt =
+        Map.fromListWith
+          (flip (<>))
+          [(r, [(p, c)]) | (Just (r, p), c) <- decided],
       placedNowhere = [c | (Nothing, c) <- decided]
     }
   where
@@ -127,6 +137,9 @@
 
     regionEndPoints = Set.fromList (fmap endPoint regions)
 
+    openingsByEndPoint =
+      Map.fromList [(endPoint o, startPoint o) | o <- openings]
+
     regionsByStartPoint =
       Map.fromListWith wider [(startPoint r, r) | r <- regions]
       where
@@ -139,12 +152,14 @@
           Just (r, After SpillAtIndentation)
       | Just placed <- continues = Just placed
       | Just placed <- under = Just placed
+      | Just r <- takenBy c = Just (r, Under ByTheRegion)
       | Just r <- next =
           Just (maybe (r, Before) (,Under ByTheRegion) (Map.lookup r leads))
       | otherwise = Nothing
       where
         here = commentSpan c
-        asCommentBefore = against =<< (`Map.lookup` commentsByEndPoint) =<< stopsAt
+        asCommentBefore =
+          against =<< (`Map.lookup` commentsByEndPoint) =<< stopsAt
         trailed
           | writtenAgainst || endsItsLine c =
               linedUpUnder <|> endingOn (spanStartLine here)
@@ -154,14 +169,21 @@
           (r, Under ByTheRegion) <- against top
           r <$ guard (candidate r)
         endingOn line =
-          nearest (\r -> (Down (endPoint r), startPoint r)) (filter candidate onThatLine)
+          nearest
+            (\r -> (Down (endPoint r), startPoint r))
+            (filter candidate onThatLine)
           where
             onThatLine = IntMap.findWithDefault [] line regionsByEndLine
         candidate r =
           endPoint r <= startPoint here
+            && r `Set.notMember` elsewhere
             && not (zeroWidth r)
             && not (fencedOff r)
+            && not (openedBetween r)
 
+        openedBetween r = maybe False ((endPoint r <=) . snd) lastOpening
+        lastOpening = Map.lookupLE (startPoint here) openingsByEndPoint
+
         writtenAgainst = maybe False (`Set.member` regionEndPoints) stopsAt
         stopsAt = (,) (spanStartLine here) <$> commentCodeBeforeStopsAt c
 
@@ -169,17 +191,20 @@
           outside (Map.lookup here enclosingRegions)
             || (not heldBack && outside (Map.lookup here enclosingFences))
           where
-            outside = maybe False (\(from, to) -> not (from <= startPoint r && endPoint r <= to))
+            outside =
+              maybe
+                False
+                (\(from, to) -> not (from <= startPoint r && endPoint r <= to))
 
-        heldBack = case shapeOf (After SpillAtIndentation) c of
+        heldBack = case commentPlacement (After SpillAtIndentation) c of
           HeldBack _ -> True
           _ -> False
 
         next = snd <$> Map.lookupGE (endPoint here) regionsByStartPoint
 
         continues
-          | Just (anchor, remark) <- carriedOn c,
-            carriesOn remark here next =
+          | carriesOnItsRemark c,
+            Just (anchor, remark) <- carriedOn c =
               (,linedUpWith remark) <$> endingOn anchor
           | otherwise = Nothing
 
@@ -189,7 +214,8 @@
 
         under
           | Just (top, bottom) <- IntMap.lookup (spanStartLine here) runs,
-            all (beginsUnder (commentNextLine bottom)) next =
+            not (commentGapAbove top),
+            all (beginsUnder (nextCode bottom)) next =
               lineOfCode top
           | otherwise = Nothing
 
@@ -200,12 +226,20 @@
 
         lineOfCode top = do
           r <- nearest (Down . startPoint) (filter linedUp onThatLine)
-          guard (any (larger r) onThatLine)
+          guard (any (larger r) (onThatLine <> fences) && codeEnds)
           pure (r, Under (alignedBy r))
           where
             line = spanStartLine (commentSpan top) - 1
             onThatLine = IntMap.findWithDefault [] line regionsByEndLine
             lineEnd = maximum (fmap endPoint onThatLine)
+            codeEnds = case commentAbove top of
+              ContentAt _ stop ->
+                all ((<= lineEnd) . (line,)) $
+                  maybe
+                    (Just stop)
+                    commentCodeBeforeStopsAt
+                    (Map.lookup (line, stop) commentsByEndPoint)
+              _ -> True
             linedUp r =
               not (zeroWidth r)
                 && endPoint r == lineEnd
@@ -213,20 +247,67 @@
                 && not (fencedOff r)
             startsUnderIt r =
               spanStartColumn r == spanStartColumn here
-                && (spanStartLine r == line || startsItsLine r)
-            holdsTheLine r =
-              commentAbove top == ContentAt (spanStartColumn here)
-                && startPoint r <= (line, spanStartColumn here)
+                && (startsItsLine r || staysRightOfIt r)
+            holdsTheLine r = case commentBackTo top of
+              Just at@(_, column) ->
+                column == spanStartColumn here && startPoint r <= at
+              Nothing -> False
             alignedBy r
               | startsUnderIt r = ByTheRegion
               | otherwise = ByTheIndentation
             startsItsLine r =
               maybe True ((< spanStartLine r) . fst . fst) $
                 Map.lookupLT (startPoint r) regionsByStartPoint
+            staysRightOfIt r =
+              all ((> spanStartColumn here) . snd)
+                . Map.keys
+                . Map.takeWhileAntitone ((<= line) . fst)
+                . Map.dropWhileAntitone ((<= spanStartLine r) . fst)
+                $ regionsByStartPoint
             larger r o = startPoint o < startPoint r && endPoint o == lineEnd
 
-    commentsByEndPoint = Map.fromList [(endPoint (commentSpan c), c) | c <- comments]
+    commentsByEndPoint =
+      Map.fromList [(endPoint (commentSpan c), c) | c <- comments]
 
+    commentsByStartPoint =
+      Map.fromList [(startPoint (commentSpan c), c) | c <- comments]
+
+    writtenUnder a =
+      maybe id (Map.takeWhileAntitone . (>) . fst) (nextRegion a) $
+        Map.dropWhileAntitone (< endPoint a) commentsByStartPoint
+
+    nextRegion a = Map.lookupGE (spanEndLine a + 1, 0) regionsByStartPoint
+
+    takenBy c = do
+      (_, a) <- Map.lookupLT (startPoint (commentSpan c)) gapsByEnd
+      let run =
+            [ x
+            | x <- Map.elems (writtenUnder a),
+              not (commentTrailing x || carriesOnItsRemark x)
+            ]
+          (open, closing) = break emptyLineUnder run
+      top : _ <- pure run
+      final : _ <- pure closing
+      guard (spanStartLine (commentSpan top) == spanEndLine a + 1)
+      guard (commentSpan c `elem` fmap commentSpan (final : open))
+      pure a
+
+    carriesOnItsRemark x = case carriedOn x of
+      Just (_, remark) -> carriesOn remark s (codeFrom <$> after)
+      Nothing -> False
+      where
+        s = commentSpan x
+        after = snd <$> Map.lookupGE (endPoint s) regionsByStartPoint
+        codeFrom r = case commentNextLine x of
+          Just p | fst p > spanStartLine r -> mkSpan p p
+          _ -> r
+
+    gapsByEnd = Map.fromList [(endPoint a, a) | a <- gaps]
+
+    emptyLineUnder x =
+      commentGapBelow x
+        && any ((> spanEndLine (commentSpan x) + 1) . fst) (commentNextLine x)
+
     endsItsLine c =
       not (commentFollowed c)
         || maybe
@@ -242,40 +323,37 @@
         ]
 
     runs =
-      IntMap.fromList
-        [ (spanStartLine (commentSpan c), (NE.head run, NE.last run))
-        | run <- foldr joined [] (sortOn (startPoint . commentSpan) comments),
-          c <- NE.toList run
-        ]
-      where
-        joined c rest
-          | commentTrailing c || commentFollowed c = rest
-          | (d :| ds) : rest' <- rest, continuedBy c d = (c :| d : ds) : rest'
-          | otherwise = (c :| []) : rest
-        continuedBy c d =
-          spanStartLine below == spanEndLine above + 1
-            && spanStartColumn below == spanStartColumn above
-          where
-            above = commentSpan c
-            below = commentSpan d
+      commentRuns
+        (filter (\c -> not (commentTrailing c || commentFollowed c)) comments)
 
+    nextCode c = case commentNextLine c of
+      Just (line, _)
+        | Just (_, bottom) <- IntMap.lookup line runs -> nextCode bottom
+      below -> below
+
     enclosingRegions = enclosures regions (fmap commentSpan comments)
     enclosingFences = enclosures fences (fmap commentSpan comments)
 
-    nearest :: (Ord k) => (Span -> k) -> [Span] -> Maybe Span
+    nearest :: Ord k => (Span -> k) -> [Span] -> Maybe Span
     nearest key = fmap (minimumBy (comparing key)) . NE.nonEmpty
 
 -- | For each inner span that outer spans enclose, the latest start and the
 -- earliest end among them.
 enclosures :: [Span] -> [Span] -> Map Span ((Int, Int), (Int, Int))
 enclosures outer inner =
-  Map.fromList (go (sortOn startPoint outer) Map.empty Set.empty (sortOn startPoint inner))
+  Map.fromList
+    (go (sortOn startPoint outer) Map.empty Set.empty (sortOn startPoint inner))
   where
     go _ _ _ [] = []
     go os latest ends (i : is) =
       let (opened, later) = span ((<= startPoint i) . startPoint) os
-          latest' = foldl' admit latest opened
-          ends' = foldl' (flip (Set.insert . endPoint)) ends opened
+          live = filter ((>= startPoint i) . endPoint) opened
+          latest' = foldl' admit latest live
+          ends' =
+            foldl'
+              (flip (Set.insert . endPoint))
+              (Set.dropWhileAntitone (< startPoint i) ends)
+              live
           bounds = do
             (_, from) <- Map.lookupGE (endPoint i) latest'
             to <- Set.lookupGE (endPoint i) ends'
@@ -284,14 +362,62 @@
     -- A span opened later starts no earlier, so it supersedes those that end
     -- no later than it does.
     admit latest o =
-      Map.insert (endPoint o) (startPoint o) (Map.dropWhileAntitone (<= endPoint o) latest)
+      Map.insert
+        (endPoint o)
+        (startPoint o)
+        (Map.dropWhileAntitone (<= endPoint o) latest)
 
 -- | Claim the comments that belong to the given 'Span'.
 claimPlaced :: Span -> Placements -> ([(Position, Comment)], Placements)
-claimPlaced s p = case Map.updateLookupWithKey forget s (placedAt p) of
-  (found, rest) -> (concat found, p{placedAt = rest})
+claimPlaced s p = case Map.lookup s (placedAt p) of
+  Nothing -> ([], p)
+  Just found -> (found, p{placedAt = Map.delete s (placedAt p)})
+
+-- | Claim the comments given to come before the given 'Span', up to the
+-- first that is to stay in place, leaving it the rest.
+claimOwnLines ::
+  -- | The region.
+  Span ->
+  -- | The placements to claim them from.
+  Placements ->
+  ([Comment], Placements)
+claimOwnLines s p =
+  (fmap snd mine, p{placedAt = Map.update kept s (placedAt p)})
   where
-    forget _ _ = Nothing
+    (before, others) =
+      partition ((== Before) . fst) (Map.findWithDefault [] s (placedAt p))
+    (mine, later) = span ((/= InPlace) . commentPlacement Before . snd) before
+    rest = later <> others
+    kept _ = if null rest then Nothing else Just rest
+
+-- | Claim every comment given to a region, in the order written, where one
+-- to be written before it goes on lines of its own, and none otherwise.
+claimAround ::
+  -- | The region.
+  Span ->
+  -- | The placements to claim them from.
+  Placements ->
+  ([Comment], Placements)
+claimAround s p = case Map.lookup s (placedAt p) of
+  Just found
+    | any onLinesOfItsOwn found ->
+        (fmap snd found, p{placedAt = Map.delete s (placedAt p)})
+  _ -> ([], p)
+  where
+    onLinesOfItsOwn (q, c) = q == Before && commentPlacement Before c /= InPlace
+
+-- | Give comments to a region to be written before it, ahead of those it
+-- has.
+placedBefore ::
+  -- | The region.
+  Span ->
+  -- | The comments.
+  [Comment] ->
+  -- | The placements to give them in.
+  Placements ->
+  Placements
+placedBefore s cs p =
+  p{placedAt = Map.insertWith (<>) s (fmap (Before,) cs) (placedAt p)}
 
 -- | The placements neither of two walks from the same placements claimed.
 unclaimedByEither ::
diff --git a/src/Tilia/Cpp.hs b/src/Tilia/Cpp.hs
--- a/src/Tilia/Cpp.hs
+++ b/src/Tilia/Cpp.hs
@@ -13,6 +13,8 @@
     blankCpp,
     withoutRuledOut,
     everyBranch,
+    joinedByCpp,
+    contextBeforeHaddock,
     CppError (..),
     describeCppError,
 
@@ -21,6 +23,9 @@
     Configurations (..),
     branchLeaves,
     correspondingBranches,
+    countLeaves,
+    answeredLeaves,
+    answeredLinearLeaves,
   )
 where
 
@@ -28,51 +33,92 @@
 import Control.Monad (join, when)
 import Control.Monad.Trans.Class (lift)
 import Control.Monad.Trans.Except (ExceptT, catchE, except, runExceptT, throwE)
-import Control.Monad.Trans.State.Strict (State, evalState, get, put)
+import Control.Monad.Trans.State.Strict (State, evalState, gets, modify')
+import Data.Array (bounds, inRange, listArray, (!))
 import Data.Foldable (traverse_)
+import Data.Generics.Schemes (listify)
+import Data.IntMap.Strict (IntMap)
 import Data.IntMap.Strict qualified as IntMap
-import Data.List (sort)
-import Data.List.NonEmpty (NonEmpty, nonEmpty)
+import Data.IntSet qualified as IntSet
+import Data.List (findIndex, sort)
+import Data.List.NonEmpty (NonEmpty (..), nonEmpty)
+import Data.List.NonEmpty qualified as NE
+import Data.Map.Strict (Map)
 import Data.Map.Strict qualified as Map
-import Data.Maybe (catMaybes, fromMaybe, isNothing, listToMaybe, mapMaybe, maybeToList)
+import Data.Maybe
+  ( catMaybes,
+    fromMaybe,
+    isNothing,
+    listToMaybe,
+    mapMaybe,
+    maybeToList,
+  )
 import Data.Monoid (Any (..))
 import Data.Set qualified as Set
 import Data.Text (Text)
 import Data.Text qualified as T
 import Data.Traversable (for)
 import GHC.Conc (par)
+import GHC.Hs (GhcPs, HsType (..), LHsType)
+import GHC.Types.Name.Occurrence (occNameString)
+import GHC.Types.Name.Reader (rdrNameOcc)
+import GHC.Types.SrcLoc (GenLocated (..))
+
 import Tilia.Cpp.Directives
-import Tilia.Cpp.Fragment (bodyOf, fragmentText, fragmentsOf, linesHeld, reassembled)
+import Tilia.Cpp.Expansion (Macro (..))
+import Tilia.Cpp.Fragment
+  ( bodyOf,
+    fragmentLines,
+    fragmentText,
+    fragmentsOf,
+    linesHeld,
+    reassembled,
+  )
 import Tilia.Cpp.Merge (Settled (..), combine, merge)
-import Tilia.Cpp.Place (CommentSummary, restoreUnprinted, summarizeComments)
-import Tilia.Doc (printDoc)
-import Tilia.Doc.Internal
-  ( Doc (..),
+import Tilia.Cpp.Place
+  ( CommentSummary,
+    carriedBetween,
+    readDifferently,
+    restoreUnprinted,
+    summarizeComments,
+  )
+import Tilia.Doc
+  ( DeclDelimiterStyle (..),
+    Doc (..),
     Layout (..),
     conditionalRange,
     foldChildren,
     mapChildren,
+    printDoc,
     printedFrom,
+    spine,
   )
 import Tilia.Parser
   ( ParsedModule,
     ParserConfig,
+    codeLines,
     importLayout,
     parseConfiguration,
     parseModule,
+    pmExtensions,
+    pmGathered,
+    pmModule,
     pmSource,
     readAlike,
   )
 import Tilia.Render (RenderConfig (..), renderConfiguration)
+import Tilia.Render.Haddock (haddockSpans)
 import Tilia.Source
   ( Lines,
     Written (..),
-    blankAcross,
     comments,
+    directivePresentOnLine,
     dropping,
+    endsInBackslash,
     linesOf,
   )
-import Tilia.Span (spanEndLine, spanStartLine)
+import Tilia.Span (spanEndLine, spanStartLine, startPoint)
+import Tilia.Span.Ghc (spanOf)
 
 ----------------------------------------------------------------------------
 -- Formatting
@@ -103,25 +149,74 @@
               (reading formatter (noAnswers source) source)
           )
       )
-      (configurationBudget * linesHeld source)
+      (configurationBudget * linesHeld source, Map.empty)
+  traverse_ (Left . HaddockReadDifferently) (readDifferently found)
   formatted <-
-    printDoc
-      <$> restoreUnprinted source found document
+    printDoc (rcSettings render)
+      <$> restoreUnprinted source macros found document
   formatted <$ traverse_ (Left . RuledOutBranch) (ruledOutBranch formatted)
   where
     formatter =
       Formatter
         { formatterParser = parser,
           formatterRender = known,
-          formatterPath = path
+          formatterPath = path,
+          formatterMacroLines = macros
         }
+    macros = macroLines source
     known =
       render
-        { rcImportBarriers = maybe [] (importBarriers parser source) groups,
-          rcNameBarriers = maybe [] (sort . concatMap gsOwnLines) groups
+        { rcDirectiveLines = maybe [] (sort . concatMap gsOwnLines) groups,
+          rcImportBarriers = maybe [] (importBarriers layout) groups,
+          rcImportBounds = importBounds,
+          rcMacros = Set.fromList (fmap fst defined),
+          rcMacroArguments = Set.fromList (macroArguments defined source)
         }
+    defined = definedMacros source
     groups = allGroups <$> scanConditionals source
+    layout =
+      fromMaybe
+        IntMap.empty
+        (importLayout parser conditional (blankCpp source))
+    conditional n =
+      any
+        (any (\g -> fst (gsWhole g) <= n && n <= snd (gsWhole g)))
+        groups
+    importBounds = case groups of
+      Just gs@(_ : _) ->
+        importBoundsAt
+          gs
+          (IntMap.keys (IntMap.filter id layout))
+          (length (T.lines source))
+      _ -> const Nothing
 
+-- | The first and the last line an import begins on in every configuration
+-- that has the given line, or in every configuration at all.
+importBoundsAt ::
+  -- | Every conditional of the module, nested ones included.
+  [GroupSpec] ->
+  -- | The lines an import of some configuration begins on, in order.
+  [Int] ->
+  -- | How many lines the module has.
+  Int ->
+  -- | The line, or 'Nothing' for every configuration.
+  Maybe Int ->
+  Maybe (Int, Int)
+importBoundsAt groups starts count = \case
+  Just n | inRange (bounds byLine) n -> byLine ! n
+  _ -> hull starts
+  where
+    byLine = listArray (1, count) (fmap (hull . heldWith) [1 .. count])
+    heldWith n =
+      let taken = [(g, k) | g <- groups, Just k <- [branchOf g n]]
+       in [ i
+          | i <- starts,
+            all (\(g, k) -> maybe True (== k) (branchOf g i)) taken
+          ]
+    branchOf g n =
+      findIndex (\(from, to) -> from <= n && n <= to) (gsBranches g)
+    hull = fmap (\ls -> (NE.head ls, NE.last ls)) . nonEmpty
+
 -- | A module's branches, parsed: as one module where they parse together,
 -- and otherwise as the branch leaves that parse.
 everyBranch ::
@@ -139,35 +234,99 @@
     Left _ ->
       nonEmpty
         [ parsed
-        | Right texts <- [branchLeaves source],
+        | Right texts <-
+            [branchLeaves (withoutOpaque (macroLines source)) source],
           Right parsed <- fmap (parseModule parser path) texts
         ]
 
+-- | The first line holding code that cpp joins to the line before it, since
+-- it ends in a backslash.
+--
+-- What cpp joins to a comment becomes part of the comment, and what it
+-- joins to a line of a string becomes part of the string, so Tilia does not
+-- read such a module as GHC does.
+joinedByCpp ::
+  -- | What to lex with.
+  ParserConfig ->
+  -- | The module, directives and all.
+  Text ->
+  Maybe Int
+joinedByCpp parser source
+  | any endsInBackslash (T.lines source) =
+      fmap minimum . nonEmpty $
+        [ n
+        | (from, to) <- codeLines parser blanked,
+          Just n <- [IntSet.lookupGE from joined],
+          n <= to
+        ]
+  | otherwise = Nothing
+  where
+    blanked = blankCpp source
+    joined =
+      IntSet.fromList
+        [n + 1 | (n, l) <- zip [1 ..] (T.lines blanked), endsInBackslash l]
+
+-- | The line of the first macro the module defines as a context, as
+-- @HasCallStack =>@, that heads a part a Haddock documents, and the macro.
+contextBeforeHaddock ::
+  -- | The module, directives and all.
+  Text ->
+  -- | Its branches, parsed.
+  NonEmpty ParsedModule ->
+  Maybe (Int, Text)
+contextBeforeHaddock source branches
+  | Set.null contexts = Nothing
+  | otherwise =
+      listToMaybe
+        [ found
+        | parsed <- NE.toList branches,
+          L _ (HsDocTy _ part _) <- listify documented (pmModule parsed),
+          Just found <- [headedBy part]
+        ]
+  where
+    contexts =
+      Set.fromList
+        [ name
+        | (name, Macro Nothing body) <- definedMacros source,
+          "=>" `T.isSuffixOf` body
+        ]
+    documented :: LHsType GhcPs -> Bool
+    documented = \case
+      L _ HsDocTy{} -> True
+      _ -> False
+    headedBy (L _ t) = case t of
+      HsAppTy _ f _ -> headedBy f
+      HsTyVar _ _ (L l n)
+        | name <- T.pack (occNameString (rdrNameOcc n)),
+          Set.member name contexts ->
+            (,name) . spanStartLine <$> spanOf l
+      _ -> Nothing
+
 -- | The lines imports must not be sorted across: the directives of every
 -- conditional but one that only continues the item above it, such as a
 -- @hiding@ clause written behind a condition.
 importBarriers ::
-  -- | What to read the module with.
-  ParserConfig ->
-  -- | The module, directives and all.
-  Text ->
+  -- | The lines among the imports of every branch, as 'importLayout' gives
+  -- them.
+  IntMap Bool ->
   -- | Every conditional of the module, nested ones included.
   [GroupSpec] ->
   [Int]
-importBarriers parser source groups =
+importBarriers layout groups =
   sort [l | g <- groups, not (continuesAnItem g), l <- gsOwnLines g]
   where
-    starts = fromMaybe IntMap.empty (importLayout parser (blankCpp source))
     continuesAnItem g =
       let (from, to) = gsWhole g
           held =
             IntMap.elems $
-              fst (IntMap.split to (snd (IntMap.split from starts)))
+              fst (IntMap.split to (snd (IntMap.split from layout)))
        in not (null held) && not (or held)
 
 -- | Formatting that spends the lines it formats out of the budget left, or
--- fails with a 'CppError'.
-type Spending = ExceptT CppError (State Int)
+-- fails with a 'CppError', and files what each configuration came to under
+-- its text.
+type Spending =
+  ExceptT CppError (State (Int, Map Text (Doc, CommentSummary)))
 
 -- | Give up on formatting the module.
 refuse :: CppError -> Spending a
@@ -176,9 +335,9 @@
 -- | Take lines out of the budget, or give up where fewer are left.
 spend :: Int -> Spending ()
 spend n = do
-  budget <- lift get
+  budget <- lift (gets fst)
   when (budget < n) (refuse TooManyConfigurations)
-  lift (put (budget - n))
+  lift (modify' (\(left, filed) -> (left - n, filed)))
 
 -- | What formatting comes to, or 'Nothing' where it fails for a reason
 -- other than the budget running out. What it spent stays spent.
@@ -195,7 +354,9 @@
     -- | What to print it with.
     formatterRender :: RenderConfig,
     -- | The file this is, for the positions in a parse error.
-    formatterPath :: FilePath
+    formatterPath :: FilePath,
+    -- | The module's macro lines, which every configuration leaves out.
+    formatterMacroLines :: [(Int, Text)]
   }
 
 -- | A configuration, with what its conditionals come to worked out once
@@ -207,8 +368,9 @@
     readingSource :: Text,
     -- | Its conditionals.
     readingForest :: Either CppError [GroupSpec],
-    -- | Its conditionals split one at a time, with the reading of the
-    -- baseline they are varied against, where it has any.
+    -- | Its conditionals split one at a time, those asking the question of
+    -- 'readingPragma' together, with the reading of the baseline they are
+    -- varied against, where it has any.
     readingApart :: Maybe (Variation, Reading),
     -- | The conditional to split on first, where one holds a pragma that
     -- changes how the rest is parsed.
@@ -232,17 +394,22 @@
       readingSource = source,
       readingForest = forest,
       readingApart = do
-        apart <- withForest (`variations` source)
+        apart <- withForest (\f -> variations (tied f) f source)
         let baseline = without (vaBaselineDropped apart) reached
         pure (apart, reading formatter baseline (vaBaseline apart)),
-      readingPragma =
-        withForest (\f -> splitOnPragma (formatterParser formatter) f source),
+      readingPragma = pragma,
       readingFormatted =
-        formatSingleConfig formatter reached (withoutOpaque source)
+        formatSingleConfig
+          formatter
+          reached
+          (withoutOpaque (formatterMacroLines formatter) source)
     }
   where
     forest = readConditionals source
     withForest f = either (const Nothing) f forest
+    pragma =
+      withForest (\f -> splitOnPragma (formatterParser formatter) f source)
+    tied f = maybe [] (`sameGuard` f) pragma
 
 -- | What the first configuration 'formatAllConfigs' formats comes to, where
 -- it is sure to start with the one every question is answered in with its
@@ -272,29 +439,39 @@
   forest <- except (readingForest r)
   case readingApart r of
     Nothing -> do
-      spend (linesHeld source)
-      except (readingFormatted r)
+      done <- lift (gets (Map.lookup source . snd))
+      case done of
+        Just found -> pure found
+        Nothing -> do
+          spend (linesHeld source)
+          found <- except (readingFormatted r)
+          lift (modify' (fmap (Map.insert source found)))
+          pure found
     Just (apart, baseline) -> do
-      budget <- lift get
+      budget <- lift (gets fst)
       let pragma = readingPragma r
-          least = max 1 (linesHeld (blanking (fmap gsWhole forest) source))
-          affordable = linearCost (budget `div` least) forest source * least <= budget
+          least = max 1 (linesHeld (vaBaseline apart))
+          linearly =
+            linearCost (budget `div` least) forest * least <= budget
+              && all (reachedAsOne forest) pragma
       base <-
-        if isNothing pragma || affordable
+        if isNothing pragma || linearly
           then
             attempt (formatAllConfigs formatter baseline)
           else pure Nothing
       fragmented <- case (pragma, base) of
-        (Nothing, Just b) -> join <$> attempt (inFragments formatter reached forest source b)
+        (Nothing, Just b) ->
+          join <$> attempt (inFragments formatter reached forest source b)
         _ -> pure Nothing
       linear <- case (fragmented, base) of
-        (Nothing, Just b) | affordable -> oneAtATime apart b
+        (Nothing, Just b) | linearly -> oneAtATime apart b
         _ -> pure Nothing
       case fragmented <|> linear of
         Just found -> pure found
         Nothing -> case maybeToList pragma <> forest of
           g : _ -> together formatter reached (configurationsOn g forest source)
-          [] -> error "Tilia: a module that varies has a conditional to split on"
+          [] ->
+            error "Tilia: a module that varies has a conditional to split on"
   where
     reached = readingReached r
     source = readingSource r
@@ -302,34 +479,40 @@
       varied <- attempt (separately formatter reached apart base)
       pure $ do
         (merged, found) <- varied
-        d <- combine Broken (fst base) (zip (fmap cfgWholes (vaGroups apart)) merged)
+        d <- combine Broken (fst base) merged
         pure (d, found)
 
--- | How many formattings varying a module's conditionals one at a time
--- takes at the least, counted as far as one past the given number.
-linearCost :: Int -> [GroupSpec] -> Text -> Int
-linearCost limit forest source = go forest
+-- | Do the configurations that vary every conditional asking a question as
+-- one, holding the others at their first branch, reach each of them?
+reachedAsOne ::
+  -- | The conditionals at the top level.
+  [GroupSpec] ->
+  -- | One asking the question.
+  GroupSpec ->
+  Bool
+reachedAsOne forest gs =
+  and
+    [ gsGuards g /= gsGuards gs
+    | o <- forest,
+      gsGuards o /= gsGuards gs,
+      g <- allGroups (concat (drop 1 (gsNested o)))
+    ]
+
+-- | How many configurations varying a module's conditionals one at a time
+-- goes through, counted as far as one past the given number.
+linearCost :: Int -> [GroupSpec] -> Int
+linearCost limit forest = go forest
   where
-    written = linesOf (Written source)
     go = \case
       [] -> 1
       gss ->
         upTo
           0
           ( go (concatMap (`nestedIn` 0) gss)
-              : [ if blankAcross r written && all (`blankAcross` written) (take 1 (gsBranches gs))
-                    then 0
-                    else go (nestedIn gs i <> concatMap (`nestedIn` 0) others)
+              : [ go (nestedIn gs i <> concatMap (`nestedIn` 0) others)
                 | (k, gs) <- zip [0 :: Int ..] gss,
                   let others = [o | (j, o) <- zip [0 ..] gss, j /= k],
-                  (i, r) <-
-                    zip
-                      [1 ..]
-                      ( drop 1 (gsBranches gs)
-                          <> [ (1, 0)
-                             | not (gsHasElse gs)
-                             ]
-                      )
+                  i <- [1 .. gsCount gs - 1]
                 ]
           )
     upTo acc = \case
@@ -347,9 +530,18 @@
     vaGroups :: [Configurations]
   }
 
--- | Split a module on every conditional at its top level, one at a time.
-variations :: [GroupSpec] -> Text -> Maybe Variation
-variations forest source
+-- | Split a module on every conditional at its top level, one at a time,
+-- but on those asking one question together.
+variations ::
+  -- | The conditionals asking the question, nested ones included, which
+  -- each configuration answers alike.
+  [GroupSpec] ->
+  -- | The conditionals at the top level.
+  [GroupSpec] ->
+  -- | The module.
+  Text ->
+  Maybe Variation
+variations tied forest source
   | null forest = Nothing
   | otherwise =
       Just
@@ -360,16 +552,26 @@
               [ Configurations
                   { cfgGuards = gsGuards gs,
                     cfgTexts = [held (varying k i) | i <- [0 .. gsCount gs - 1]],
-                    cfgDropped = [gone (varying k i) | i <- [0 .. gsCount gs - 1]],
-                    cfgWholes = Varied [gsWhole gs],
-                    cfgConditionals = [gsConditional gs]
+                    cfgDropped =
+                      [gone (varying k i) | i <- [0 .. gsCount gs - 1]],
+                    cfgWholes = Varied (fmap gsWhole unit),
+                    cfgConditionals = fmap gsConditional unit
                   }
-              | (k, gs) <- zip [0 ..] forest
+              | (k, unit@(gs : _)) <- zip [0 ..] units
               ]
           }
   where
-    held at = blanking (concat [blankingFor gs (at k) | (k, gs) <- zip [0 :: Int ..] forest]) source
-    gone at = concat [droppedFor gs (at k) | (k, gs) <- zip [0 :: Int ..] forest]
+    units = case break isTied forest of
+      (before, _ : after) ->
+        fmap pure before <> [tied] <> [[gs] | gs <- after, not (isTied gs)]
+      _ -> fmap pure forest
+    isTied gs = gsWhole gs `elem` fmap gsWhole tied
+    held at =
+      blanking
+        (concat [blankingFor gs (at k) | (k, unit) <- numbered, gs <- unit])
+        source
+    gone at = concat [droppedFor gs (at k) | (k, unit) <- numbered, gs <- unit]
+    numbered = zip [0 :: Int ..] units
     varying k i j = if j == k then i else 0
 
 -- | Vary each conditional on its own, holding the others at their first
@@ -383,17 +585,20 @@
   Variation ->
   -- | What the baseline was formatted to.
   (Doc, CommentSummary) ->
-  Spending ([Doc], CommentSummary)
+  Spending ([(Varied, Doc)], CommentSummary)
 separately formatter reached v (baseDoc, baseFound) = do
   groups <-
     aheadOf (catMaybes (concat readings)) . for readings . traverse $
       maybe (pure (baseDoc, mempty)) (formatAllConfigs formatter)
   let merged =
         zipWith
-          (mergeOf (reachedLines reached))
+          (mergeOf formatter (reachedLines reached))
           (vaGroups v)
           (fmap (fmap fst) groups)
-  pure (foldr par merged merged, baseFound <> foldMap (foldMap snd) groups)
+  pure
+    ( foldr (par . snd) merged merged,
+      baseFound <> foldMap (foldMap snd) groups
+    )
   where
     readings =
       [ [ if t == vaBaseline v
@@ -433,7 +638,14 @@
           traverse (formatAllConfigs formatter) readings
       pure $ do
         doc <- reassembled body (zip (fmap fst ps) (fmap fst formatted))
-        pure (doc, baseFound <> foldMap snd formatted)
+        pure
+          ( doc,
+            baseFound
+              <> mconcat
+                [ carriedBetween (fragmentLines body f) found
+                | ((f, _), (_, found)) <- zip ps formatted
+                ]
+          )
   where
     parts = do
       body <- bodyOf baseDoc
@@ -443,8 +655,8 @@
           (fragmentsOf body forest)
       pure (body, ps)
 
--- | The outermost conditional around a @LANGUAGE@ pragma that changes how
--- the rest of the module is parsed, if there is one.
+-- | The outermost conditional around a @LANGUAGE@ or options pragma that
+-- changes how the rest of the module is parsed, if there is one.
 --
 -- Formatting a fragment on its own takes the rest of the module to be
 -- parsed alike in every configuration.
@@ -464,7 +676,9 @@
     baseline = blanking (concatMap (`blankingFor` 0) groups) source
     answered g i =
       blanking
-        (blankingFor g i <> concat [blankingFor h 0 | h <- groups, gsWhole h /= gsWhole g])
+        ( blankingFor g i
+            <> concat [blankingFor h 0 | h <- groups, gsWhole h /= gsWhole g]
+        )
         source
     written = T.lines source
     holdsPragma g =
@@ -472,7 +686,8 @@
        in any pragma (take (to - from + 1) (drop (from - 1) written))
     pragma l =
       let u = T.toUpper l
-       in "{-#" `T.isInfixOf` u && "LANGUAGE" `T.isInfixOf` u
+       in "{-#" `T.isInfixOf` u
+            && ("LANGUAGE" `T.isInfixOf` u || "OPTIONS" `T.isInfixOf` u)
 
 -- | Vary the conditionals together, one group at a time.
 together ::
@@ -484,7 +699,7 @@
   Configurations ->
   Spending (Doc, CommentSummary)
 together formatter reached c
-  | differentlyRead = settledOr (fst <$> formatted False)
+  | differentlyRead parser c = settledOr (fst <$> formatted False)
   | otherwise =
       (fst <$> formatted False) `catchE` \case
         e@(ConfigurationNotParsed answers _)
@@ -495,19 +710,16 @@
       (found, blind) <- formatted True
       if blind then unsettled else pure found
     readingOf = reading formatter
-    differentlyRead =
-      or (zipWith (\a b -> not (readAlike parser a b)) texts (drop 1 texts))
     parser = formatterParser formatter
     texts = cfgTexts c
     formatted settle = do
-      let (settledBy, answers) =
-            unzip . (if settle then settling else fmap ((,) [])) $
+      let (settledBy, tries) =
+            unzip . (if settle then settling else fmap ((,) [] . pure)) $
               [(answering c i reached, t) | (i, t) <- zip [0 ..] texts]
-      found <- fmap catMaybes . for (zip [0 ..] answers) $ \(i, (r, t)) ->
-        if null (unconditionalErrors t)
-          then
-            Just . (,) i
-              <$> formatAllConfigs formatter (readingOf r t)
+          answers = fmap NE.head tries
+      found <- fmap catMaybes . for (zip [0 ..] tries) $ \(i, ts) ->
+        if null (unconditionalErrors (snd (NE.head ts)))
+          then Just . (,) i <$> firstParsed ts
           else pure Nothing
       docs <-
         except . traverse (complete (fmap (fmap fst) found)) $
@@ -517,7 +729,7 @@
             | otherwise = foldMap ((settledBy !!) . fst) (listToMaybe found)
           settled = settledAcross (fmap settledIn [0 .. length answers - 1])
           ranges = mapMaybe (conditionalRange . settledConditional) settled
-          varied = Varied (variedLines (cfgWholes c) <> ranges)
+          varied = Varied (variedLines (variedBy parser c) <> ranges)
           merged =
             merge
               (reachedLines reached)
@@ -527,6 +739,13 @@
               settled
               docs
       pure ((merged, foldMap (snd . snd) found), blindOver ranges merged)
+    firstParsed ((r, t) :| rest) =
+      formatAllConfigs formatter (readingOf r t) `catchE` \case
+        ConfigurationNotParsed answers _
+          | isNothing (implied answers),
+            next : more <- rest ->
+              firstParsed (next :| more)
+        e -> refuse e
     blindOver ranges d = case d of
       DCppChoice [] bs _
         | fmap fst bs == fmap guardText (cfgGuards c),
@@ -549,7 +768,8 @@
 -- | The document of a configuration whose varied lines hold nothing but an
 -- @#error@: a sibling's, with what it printed from those lines taken out.
 errorBranch :: Varied -> Text -> Doc -> Maybe Doc
-errorBranch (Varied ranges) source reference = foldl step (Just reference) ranges
+errorBranch (Varied ranges) source reference =
+  foldl step (Just reference) ranges
   where
     sourceLines' = zip [1 ..] (T.lines source)
     errors = unconditionalErrors source
@@ -588,13 +808,53 @@
     (formatterParser formatter)
     (formatterPath formatter)
     (reachedLines reached)
+    (reachedLines reached)
     text of
     Left e -> Left (ConfigurationNotParsed (reachedAnswers reached) e)
     Right parsed ->
-      let (document, loose) =
-            renderConfiguration (formatterRender formatter) parsed
-       in Right (document, summarizeComments loose (comments (pmSource parsed)))
+      let render =
+            (formatterRender formatter)
+              { rcExtensions = pmExtensions parsed
+              }
+          (document, loose) = renderConfiguration render parsed
+       in Right
+            ( apartAtDirectives
+                (`directivePresentOnLine` reachedLines reached)
+                document,
+              summarizeComments
+                (fmap startPoint (haddockSpans (pmGathered parsed)))
+                loose
+                (comments (pmSource parsed))
+            )
 
+-- | Leave an empty line between two items of a run with a directive
+-- written between them, which sets a conditional apart from what is
+-- around it.
+apartAtDirectives ::
+  -- | Is a directive written on the line?
+  (Int -> Bool) ->
+  -- | The document.
+  Doc ->
+  Doc
+apartAtDirectives directiveOn d =
+  mconcat (zipWith3 apart xs (scanl ending Nothing xs) beginnings)
+  where
+    xs = spine d
+    beginnings = drop 1 (scanr beginning Nothing xs)
+    ending previous x = maybe previous (Just . maximum . fmap snd) (lines' x)
+    beginning x next = maybe next (Just . minimum . fmap fst) (lines' x)
+    lines' = nonEmpty . printedFrom
+    apart x above below = case x of
+      DDeclDelimiter style
+        | style /= DeclSeparate,
+          Just a <- above,
+          Just b <- below,
+          any directiveOn [a + 1 .. b - 1] ->
+            DDeclDelimiter DeclSeparate
+      DLocated s _
+        | not (any directiveOn [spanStartLine s .. spanEndLine s]) -> x
+      _ -> mapChildren (apartAtDirectives directiveOn) x
+
 -- | How a configuration was reached, and what to call it.
 data Reached = Reached
   { -- | Which branch each question was answered with, outermost first.
@@ -630,52 +890,73 @@
 without gone reached =
   reached{reachedLines = dropping gone (reachedLines reached)}
 
--- | Take, in every conditional the answers to one question settle, the
--- branch they settle it on, as the preprocessor would, where an answer
--- leaving it open prints its other branches.
+-- | The conditionals each answer settles or rules branches out of, and its
+-- configurations with what they rule out left out.
 settling ::
-  -- | Each answer, and the configuration it gives.
   [(Reached, Text)] ->
-  -- | Each answer's settled conditionals and its configuration with them
-  -- taken.
-  [([(GroupSpec, Int)], (Reached, Text))]
+  -- | The branches each answer can take, and its configurations.
+  [([(GroupSpec, [Int])], NonEmpty (Reached, Text))]
 settling given =
-  [ (settled, (reached', blanking (concatMap (uncurry blankingFor) settled) t))
-  | ((reached, t), (candidates, _)) <- zip given found,
-    let settled = [s | s@(gs, _) <- candidates, Set.member (gsWhole gs) open],
-    let reached' =
-          reached
-            { reachedAnswers =
-                reachedAnswers reached
-                  <> [(gsGuards gs, k) | (gs, k) <- settled],
-              reachedLines =
-                dropping
-                  (concatMap (uncurry droppedFor) settled)
-                  (reachedLines reached)
-            }
+  [ (more, fmap taking (settled :| [more | length more > length settled]))
+  | ((reached, t), candidates) <- zip given found,
+    let among ws =
+          [ s
+          | s@(gs, ks) <- candidates,
+            case ks of
+              [_] -> Set.member (gsWhole gs) ws
+              _ -> length ks < gsCount gs && Set.member (gsWhole gs) whole
+          ]
+        settled = among open
+        more = among (open <> covered)
+        taking ss =
+          ( reached
+              { reachedAnswers =
+                  reachedAnswers reached
+                    <> [(gsGuards gs, k) | (gs, [k]) <- ss],
+                reachedLines =
+                  dropping (concatMap ruledOut ss) (reachedLines reached)
+              },
+            blanking
+              ( concatMap ruledOut ss
+                  <> [r | (gs, [_]) <- ss, r <- gsOwnRanges gs]
+              )
+              t
+          )
   ]
   where
     found =
       [ if null (unconditionalErrors t)
           then walk (implied (reachedAnswers r)) (scanConditionals t)
-          else ([], [])
+          else []
       | (r, t) <- given
       ]
-    open = Set.fromList (concatMap snd found)
-    walk (Just known) (Just forest) = foldMap (visit known) forest
-    walk _ _ = ([], [])
-    visit known gs = case settledBranch known gs of
-      Just k -> ([(gs, k)], []) <> foldMap (visit known) (nestedIn gs k)
-      Nothing ->
-        ([], [gsWhole gs]) <> foldMap (foldMap (visit known)) (gsNested gs)
+    open = Set.fromList [gsWhole gs | (gs, _ : _ : _) <- concat found]
+    whole =
+      Set.fromList
+        [gsWhole gs | (gs, ks) <- concat found, length ks == gsCount gs]
+    covered =
+      Set.fromList
+        [ gsWhole gs
+        | (gs, [_]) <- concat found,
+          all (\k -> Set.member (gsWhole gs, k) taken) [0 .. gsCount gs - 1]
+        ]
+    taken = Set.fromList [(gsWhole gs, k) | (gs, [k]) <- concat found]
+    ruledOut (gs, ks) =
+      [r | (i, r) <- zip [0 ..] (gsBranches gs), i `notElem` ks]
+    walk (Just known) (Just forest) = concatMap (visit known) forest
+    walk _ _ = []
+    visit known gs =
+      let ks = possibleBranches known gs
+       in (gs, ks) : concatMap (concatMap (visit known) . nestedIn gs) ks
 
--- | The conditionals some answer settles, given what each answer settles.
-settledAcross :: [[(GroupSpec, Int)]] -> [Settled]
+-- | The conditionals some answer settles or rules branches of out, given
+-- the branches each answer can take of them.
+settledAcross :: [[(GroupSpec, [Int])]] -> [Settled]
 settledAcross perAnswer =
   [ Settled
       { settledConditional = gsConditional gs,
         settledBranches =
-          [ lookup (gsWhole gs) [(gsWhole g, k) | (g, k) <- ss]
+          [ lookup (gsWhole gs) [(gsWhole g, ks) | (g, ks) <- ss]
           | ss <- perAnswer
           ]
       }
@@ -686,12 +967,51 @@
 configurationBudget :: Int
 configurationBudget = 64
 
--- | Merge the documents one group's configurations printed to.
-mergeOf :: Lines -> Configurations -> [Doc] -> Doc
-mergeOf written c =
-  merge
-    written
-    (cfgConditionals c)
-    (cfgGuards c)
-    (cfgWholes c)
-    []
+-- | Merge the documents one group's configurations printed to, with the
+-- lines its answer can change.
+mergeOf ::
+  -- | What the configurations were parsed and printed with.
+  Formatter ->
+  -- | The module as written.
+  Lines ->
+  -- | The configurations.
+  Configurations ->
+  -- | What each of them printed to.
+  [Doc] ->
+  (Varied, Doc)
+mergeOf formatter written c docs =
+  ( varied,
+    merge
+      written
+      (cfgConditionals c)
+      (cfgGuards c)
+      varied
+      []
+      docs
+  )
+  where
+    varied = variedBy (formatterParser formatter) c
+
+-- | Are a group's configurations read with different extensions?
+differentlyRead ::
+  -- | What they are parsed with.
+  ParserConfig ->
+  -- | The configurations.
+  Configurations ->
+  Bool
+differentlyRead parser c =
+  or (zipWith (\a b -> not (readAlike parser a b)) texts (drop 1 texts))
+  where
+    texts = cfgTexts c
+
+-- | The lines a group's answer can change: every line where its
+-- configurations are read differently.
+variedBy ::
+  -- | What they are parsed with.
+  ParserConfig ->
+  -- | The configurations.
+  Configurations ->
+  Varied
+variedBy parser c
+  | differentlyRead parser c = Varied [(1, maxBound)]
+  | otherwise = cfgWholes c
diff --git a/src/Tilia/Cpp/Directives.hs b/src/Tilia/Cpp/Directives.hs
--- a/src/Tilia/Cpp/Directives.hs
+++ b/src/Tilia/Cpp/Directives.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE DataKinds #-}
 {-# LANGUAGE LambdaCase #-}
 {-# LANGUAGE OverloadedStrings #-}
 
@@ -6,6 +7,8 @@
   ( -- * Reading a module
     usesCpp,
     blankCpp,
+    withIncluded,
+    includes,
     withoutRuledOut,
     withoutOpaque,
     CppError (..),
@@ -14,24 +17,31 @@
 
     -- * Splitting
     Guard (..),
+    guardOf,
     Configurations (..),
     configurationsOn,
+    sameGuard,
     Varied (..),
     untouched,
     branchLeaves,
+    coveringLeaves,
     implied,
-    settledBranch,
+    possibleBranches,
     correspondingBranches,
     ruledOutBranch,
     unconditionalErrors,
     Assignment,
+    configurations,
+    countLeaves,
+    answeredLeaves,
+    answeredLinearLeaves,
 
     -- * The directives themselves
     Directive (..),
     dSpan,
+    directives,
     readConditionals,
     scanConditionals,
-    isDirective,
     GroupSpec (..),
     gsOwnLines,
     gsCount,
@@ -41,28 +51,43 @@
     blankingFor,
     droppedFor,
     opaqueDirectives,
+    definedMacros,
     macroLines,
+    macroArguments,
   )
 where
 
-import Data.List (sortOn, tails)
+import Data.Choice (Choice, fromBool, isTrue)
+import Data.List (isSuffixOf, sortOn, tails)
 import Data.Map.Strict (Map)
 import Data.Map.Strict qualified as Map
 import Data.Maybe (fromMaybe, isJust, listToMaybe, maybeToList)
+import Data.Set (Set)
 import Data.Set qualified as Set
 import Data.Text (Text)
 import Data.Text qualified as T
 import GHC.LanguageExtensions.Type (Extension (..))
-import Tilia.Cpp.Macros (Macros, guardHolds, impliedBy, isNameChar)
-import Tilia.Doc.Internal (Conditional (..))
+
+import Tilia.Cpp.Expansion
+  ( Macro (..),
+    argumentLists,
+    cppExpansion,
+    definition,
+    joinedTo,
+  )
+import Tilia.Cpp.Macros (Macros, guardHolds, impliedBy, isNameChar, questionOf)
+import Tilia.Doc (Conditional (..))
 import Tilia.Parser (ParseError, describeParseError)
 import Tilia.Source.Lines
   ( Written (..),
     blankAcross,
+    columnOf,
     conditionalKeywords,
     contentColumn,
     continuesGroup,
     directiveOnLine,
+    endsInBackslash,
+    isDirective,
     linesOf,
     opaqueKeywords,
     opensGroup,
@@ -73,20 +98,78 @@
     spanEndLine,
     spanStartLine,
   )
-import Tilia.Utils (tshow)
+import Tilia.Utils (opensLineComment, tshow)
 
 ----------------------------------------------------------------------------
 -- Reading a module
 
 -- | Is CPP enabled and there is at least one CPP directive present?
-usesCpp :: [Extension] -> Text -> Bool
+usesCpp ::
+  -- | The extensions in force.
+  Set Extension ->
+  -- | The module.
+  Text ->
+  Choice "cppUsed"
 usesCpp extensions source =
-  Cpp `elem` extensions && any isDirective (T.lines source)
+  fromBool (Set.member Cpp extensions && any isDirective (T.lines source))
 
--- | Blank out the directive lines, keeping every branch.
+-- | Blank out the directive lines and the macro lines, keeping every
+-- branch.
 blankCpp :: Text -> Text
-blankCpp = withoutDirectives directives
+blankCpp source =
+  withoutDirectives (directives source) (macroLines source) source
 
+-- | A module with each @#include@ of a Haskell file that cpp finds next to
+-- the file including it replaced by what that file holds, and whether it
+-- leaves any other @#include@ as it is written.
+--
+-- Only a name ending in @.hs@ is taken for Haskell: a header may hold C
+-- comments, which cpp takes out and the parser does not.
+withIncluded ::
+  Monad m =>
+  -- | The file a name stands for next to the file given, as a path that is
+  -- one for each file, and what it holds, where there is one.
+  (FilePath -> FilePath -> m (Maybe (FilePath, Text))) ->
+  -- | Where the module is, as the first argument takes it.
+  FilePath ->
+  -- | The module.
+  Text ->
+  m (Text, Choice "includesUnread")
+withIncluded nextTo = go []
+  where
+    go above path text =
+      case includes text of
+        [] -> pure (text, fromBool False)
+        ds -> do
+          found <- traverse (included (path : above) path) ds
+          pure
+            ( case [(d, t) | (d, Just (t, _)) <- zip ds found] of
+                [] -> text
+                files -> T.unlines (foldr place (T.lines text) files),
+              fromBool (any (maybe True (isTrue . snd)) found)
+            )
+    included above path d = case quotedName d of
+      Just name
+        | ".hs" `isSuffixOf` name ->
+            nextTo path name >>= \case
+              Just (file, t)
+                | file `notElem` above -> Just <$> go above file t
+              _ -> pure Nothing
+      _ -> pure Nothing
+    quotedName d = do
+      rest <-
+        T.stripPrefix "\"" . T.stripStart
+          =<< T.stripPrefix "include" (dText d)
+      case T.breakOn "\"" rest of
+        (name, closing) | not (T.null closing) -> Just (T.unpack name)
+        _ -> Nothing
+    place (d, t) ls =
+      take (dLine d - 1) ls <> T.lines t <> drop (dLastLine d) ls
+
+-- | Every @#include@ in a module.
+includes :: Text -> [Directive]
+includes text = [d | d <- directives text, dKeyword d == "include"]
+
 -- | Blank out every branch the macros rule out, and the conditionals that
 -- ask about them.
 withoutRuledOut :: Macros -> Text -> Text
@@ -117,20 +200,29 @@
         Just False -> go (i + 1) rest
         Nothing -> Nothing
 
--- | A module with the opaque directives and the lines using its macros
--- blanked out.
-withoutOpaque :: Text -> Text
-withoutOpaque = withoutDirectives opaqueDirectives
+-- | A configuration of a module with its opaque directives and the
+-- module's macro lines blanked out.
+withoutOpaque ::
+  -- | The module's macro lines, as 'macroLines' reads them from the whole
+  -- module.
+  [(Int, Text)] ->
+  -- | The configuration.
+  Text ->
+  Text
+withoutOpaque macros source =
+  withoutDirectives (opaqueDirectives source) macros source
 
--- | A module with the directives a scan finds and the lines using its
--- macros blanked out.
-withoutDirectives :: (Text -> [Directive]) -> Text -> Text
-withoutDirectives scan source =
-  blanking
-    ( [(dLine d, dLastLine d) | d <- scan source]
-        <> [(n, n) | (n, _) <- macroLines source]
-    )
-    source
+-- | A text with these directives and macro lines blanked out.
+withoutDirectives ::
+  -- | The directives.
+  [Directive] ->
+  -- | The macro lines.
+  [(Int, Text)] ->
+  -- | The text.
+  Text ->
+  Text
+withoutDirectives ds macros =
+  blanking ([(dLine d, dLastLine d) | d <- ds] <> [(n, n) | (n, _) <- macros])
 
 -- | Why a module using the preprocessor could not be formatted.
 data CppError
@@ -157,6 +249,9 @@
   | -- | An alternative that aborts with @#error@ that cannot be formatted
     -- without parsing it, and the line of the @#error@.
     AbortingAlternative Int
+  | -- | A Haddock that some configurations read and others ignore, and the
+    -- line it begins on.
+    HaddockReadDifferently Int
 
 -- | What is wrong with a conditional directive.
 data Malformation
@@ -178,14 +273,21 @@
   TooManyConfigurations -> "too many configurations to format"
   ConfigurationNotParsed c e -> describeParseError e <> inConfiguration c
   DirectiveInQuotedText n k ->
-    "the #" <> k <> " at line " <> tshow n <> " is inside a quasi-quote or a multi-line string"
+    "the #"
+      <> k
+      <> " at line "
+      <> tshow n
+      <> " is inside a quasi-quote or a multi-line string"
   MacroInQuotedText n t ->
-    t <> " at line " <> tshow n <> " is inside a quasi-quote or a multi-line string"
+    t
+      <> " at line "
+      <> tshow n
+      <> " is inside a quasi-quote or a multi-line string"
   BeforeLeadingComma n t ->
     t
       <> " at line "
       <> tshow n
-      <> " comes before a leading comma, which formatting moves above it"
+      <> " comes before a leading comma, where it cannot be put back"
   RuledOutBranch n ->
     "the branch at line "
       <> tshow n
@@ -194,12 +296,17 @@
     "the alternative that the #error at line "
       <> tshow n
       <> " aborts cannot be formatted without parsing it"
+  HaddockReadDifferently n ->
+    "the Haddock at line "
+      <> tshow n
+      <> " is read by some configurations and ignored by others"
 
 -- | Which configuration, in words. Empty where there is only one.
 inConfiguration :: [([Guard], Int)] -> Text
 inConfiguration [] = ""
 inConfiguration answers =
-  ", in the configuration taking " <> T.intercalate ", then " (fmap said answers)
+  ", in the configuration taking "
+    <> T.intercalate ", then " (fmap said answers)
   where
     said (guards, i) = case (drop i guards, guards) of
       (g : _, _) -> "#" <> guardText g
@@ -209,10 +316,24 @@
 ----------------------------------------------------------------------------
 -- Splitting
 
--- | One conditional directive, as written after its hash.
-newtype Guard = Guard{guardText :: Text}
-  deriving (Eq, Ord, Show)
+-- | One conditional directive, as written after its hash, equal to another
+-- that asks the same question.
+data Guard = Guard
+  { guardText :: Text,
+    guardQuestion :: Either Text Text
+  }
+  deriving (Show)
 
+instance Eq Guard where
+  a == b = guardQuestion a == guardQuestion b
+
+instance Ord Guard where
+  compare a b = compare (guardQuestion a) (guardQuestion b)
+
+-- | The guard a conditional directive is written with.
+guardOf :: Text -> Guard
+guardOf written = Guard written (questionOf written)
+
 -- | What one conditional splits a module into.
 data Configurations = Configurations
   { -- | The directives: the @#if@ of the group, and then one per @#elif@.
@@ -269,19 +390,72 @@
     reaches (from, to) = spanStartLine s <= to && from <= spanEndLine s
 
 -- | One configuration for every branch of every conditional, and no more.
-branchLeaves :: Text -> Either CppError [Text]
-branchLeaves source = do
+branchLeaves ::
+  -- | What to make of a configuration for the parser.
+  (Text -> Text) ->
+  -- | The module.
+  Text ->
+  Either CppError [Text]
+branchLeaves readable source = do
   forest <- readConditionals source
+  pure (leavesOf readable forest (branchAssignments forest) source)
+
+-- | Configurations enough for every branch of every conditional to be taken
+-- in one of them: the @k@-th takes the @k@-th branch of each, or its last
+-- where it has fewer, and a branch none of those takes is taken as in
+-- 'branchLeaves'.
+coveringLeaves ::
+  -- | What to make of a configuration for the parser.
+  (Text -> Text) ->
+  -- | The module.
+  Text ->
+  Either CppError [Text]
+coveringLeaves readable source = do
+  forest <- readConditionals source
+  let groups = allGroups forest
+      broad =
+        [ (a, leaf)
+        | k <- [0 .. maximum (1 : fmap gsCount groups) - 1],
+          let a =
+                Map.fromList
+                  [(gsGuards gs, min k (gsCount gs - 1)) | gs <- groups],
+          possible forest a,
+          let leaf = configurationOf forest a source,
+          null (unconditionalErrors leaf)
+        ]
+      taken = Set.fromList (concatMap (reachedBy forest . fst) broad)
+      rest =
+        [ a
+        | a <- branchAssignments forest,
+          any (`Set.notMember` taken) (reachedBy forest (completed forest a))
+        ]
   pure
-    [ withoutOpaque leaf
-    | leaf <-
-        distinct
-          [ configurationOf forest a source
-          | a <- branchAssignments forest,
-            possible forest (completed forest a)
-          ],
-      null (unconditionalErrors leaf)
-    ]
+    ( fmap (readable . snd) broad
+        <> leavesOf readable forest rest source
+    )
+
+-- | The distinct configurations of a module that the assignments select and
+-- the preprocessor could produce, leaving out those that end in @#error@.
+leavesOf ::
+  -- | What to make of a configuration for the parser.
+  (Text -> Text) ->
+  -- | The module's conditionals.
+  [GroupSpec] ->
+  -- | The assignments.
+  [Assignment] ->
+  -- | The module.
+  Text ->
+  [Text]
+leavesOf readable forest assignments source =
+  [ readable leaf
+  | leaf <-
+      distinct
+        [ configurationOf forest a source
+        | a <- assignments,
+          possible forest (completed forest a)
+        ],
+    null (unconditionalErrors leaf)
+  ]
   where
     distinct = Map.elems . Map.fromList . fmap (\t -> (t, t))
 
@@ -326,8 +500,9 @@
   where
     visit asked gs =
       let i = fromMaybe settled (Map.lookup (gsGuards gs) asked)
-          settled =
-            fromMaybe 0 (implied (Map.toList asked) >>= (`settledBranch` gs))
+          settled = case implied (Map.toList asked) of
+            Just known | [k] <- possibleBranches known gs -> k
+            _ -> 0
        in foldl' visit (Map.insert (gsGuards gs) i asked) (nestedIn gs i)
 
 -- | The answers an assignment gives the conditionals a configuration
@@ -354,18 +529,30 @@
     said = concat [zip gs (replicate i False <> [True]) | (gs, i) <- answers]
     known = foldMap (\(g, h) -> impliedBy h (guardText g)) said
 
--- | Which branch of a conditional what is known about the macros settles it
--- on, where the conditional does not settle itself.
+-- | The branches of a conditional that what is known about the macros does
+-- not rule out, one where it settles the conditional.
 --
 -- An @#if 0@ is how code is put aside, and is formatted as though it asked
 -- something.
-settledBranch :: Macros -> GroupSpec -> Maybe Int
-settledBranch known = branchFor (settledGuard known)
+possibleBranches :: Macros -> GroupSpec -> [Int]
+possibleBranches known = go 0 . gsGuards
+  where
+    go i = \case
+      [] -> [i]
+      g : rest -> case settledGuard known g of
+        Just True -> [i]
+        Just False -> go (i + 1) rest
+        Nothing -> i : go (i + 1) rest
 
 -- | Does a guard hold, where what is known settles it and the guard does
 -- not settle itself?
-settledGuard :: Macros -> Guard -> Maybe Bool
-settledGuard known (Guard written) = case guardHolds mempty written of
+settledGuard ::
+  -- | What is known about the macros.
+  Macros ->
+  -- | The guard.
+  Guard ->
+  Maybe Bool
+settledGuard known (Guard written _) = case guardHolds mempty written of
   Just _ -> Nothing
   Nothing -> guardHolds known written
 
@@ -381,7 +568,8 @@
       concat
         [ [ opening
           | Just j <- [Map.lookup (gsGuards gs) asked],
-            (i, opening, r) <- zip3 [0 :: Int ..] (gsOwnLines gs) (gsBranches gs),
+            (i, opening, r) <-
+              zip3 [0 :: Int ..] (gsOwnLines gs) (gsBranches gs),
             i /= j,
             not (blankAcross r written)
           ]
@@ -392,8 +580,8 @@
         | gs <- forest
         ]
 
--- | Each configuration either module has, as the one and the other read in
--- it, with 'Nothing' where an @#error@ rules it out.
+-- | Each configuration either module has, as cpp hands the one and the
+-- other to GHC in it, with 'Nothing' where an @#error@ rules it out.
 correspondingBranches ::
   -- | Before.
   Text ->
@@ -416,7 +604,7 @@
     reading source forest assignment =
       let selected = configurationOf forest assignment source
        in if null (unconditionalErrors selected)
-            then Just (withoutOpaque selected)
+            then Just (cppExpansion selected)
             else Nothing
 
 -- | An unconditional @#error@ means this configuration has no Haskell
@@ -430,12 +618,122 @@
     not (any (encloses (dLine d)) groups)
   ]
   where
-    groups = [gsWhole g | forest <- maybeToList (scanConditionals source), g <- allGroups forest]
+    groups =
+      [ gsWhole g
+      | forest <- maybeToList (scanConditionals source),
+        g <- allGroups forest
+      ]
     encloses n (from, to) = from < n && n < to
 
 -- | Which branch every question was answered with to reach a configuration.
 type Assignment = Map [Guard] Int
 
+-- | Split a module on its first outermost conditional, and on every other
+-- one written behind the same directives, wherever in the module it sits.
+configurations :: Text -> Maybe Configurations
+configurations source = do
+  forest <- scanConditionals source
+  gs <- listToMaybe forest
+  pure (configurationsOn gs forest source)
+
+-- | How many configurations a module has, without building any of them,
+-- and so counting those no definition of the macros gives.
+countLeaves :: Text -> Either CppError Integer
+countLeaves source = do
+  forest <- readConditionals source
+  pure (sum [across answers forest | answers <- combinations (afforded forest)])
+  where
+    across answers = product . fmap (one answers)
+    one answers gs = case lookup (gsGuards gs) answers of
+      Just i -> across answers (nestedIn gs i)
+      Nothing ->
+        sum [across answers (nestedIn gs i) | i <- [0 .. gsCount gs - 1]]
+    combinations = traverse (\(g, k) -> [(g, i) | i <- [0 .. k - 1]])
+    afforded forest = go 1 (repeated forest)
+      where
+        go _ [] = []
+        go n ((g, k) : rest)
+          | n * toInteger k <= guardsToTie = (g, k) : go (n * toInteger k) rest
+          | otherwise = []
+
+-- | The guards a module asks more than once, and how many answers each has.
+repeated :: [GroupSpec] -> [([Guard], Int)]
+repeated forest = distinct Map.empty [q | q@(g, _) <- asked forest, twice g]
+  where
+    asked gss =
+      concat
+        [(gsGuards gs, gsCount gs) : asked (concat (gsNested gs)) | gs <- gss]
+    times = Map.fromListWith (+) [(g, 1 :: Int) | (g, _) <- asked forest]
+    twice g = Map.findWithDefault 0 g times >= 2
+
+    distinct _ [] = []
+    distinct seen (q@(g, _) : rest)
+      | Map.member g seen = distinct seen rest
+      | otherwise = q : distinct (Map.insert g () seen) rest
+
+-- | How many combinations of answers 'countLeaves' will enumerate.
+guardsToTie :: Integer
+guardsToTie = 4096
+
+-- | Every configuration some definition of the macros gives, as cpp hands
+-- it to GHC, and the answers that reach it.
+answeredLeaves :: Text -> Either CppError [(Assignment, Text)]
+answeredLeaves =
+  fmap (filter (isJust . implied . Map.toList . fst)) . go Map.empty
+  where
+    go answers source = case configurations source of
+      Nothing -> answeredLeaf answers source
+      Just c ->
+        concat
+          <$> traverse
+            (\(i, t) -> go (Map.insert (cfgGuards c) i answers) t)
+            (zip [0 ..] (cfgTexts c))
+
+-- | The same, labelled by the answers that reach each one, and for the same
+-- reason as 'answeredLeaves'.
+answeredLinearLeaves :: Text -> Either CppError [(Assignment, Text)]
+answeredLinearLeaves =
+  fmap (filter (isJust . implied . Map.toList . fst)) . go Map.empty
+  where
+    go answers source = case configurations source of
+      Nothing -> answeredLeaf answers source
+      Just c -> case zip [0 ..] (cfgTexts c) of
+        [] -> Right []
+        (i, first) : rest ->
+          (<>)
+            <$> go (Map.insert (cfgGuards c) i answers) first
+            <*> (concat <$> traverse (held answers (cfgGuards c)) rest)
+      where
+        held before gs (i, t) = answeredBaseline (Map.insert gs i before) t
+
+-- | The configuration in which every question still to be asked takes its
+-- first branch, and the answers that give it, unless it aborts with
+-- @#error@.
+answeredBaseline ::
+  -- | The answers given so far.
+  Assignment ->
+  -- | What they leave of the module.
+  Text ->
+  Either CppError [(Assignment, Text)]
+answeredBaseline answers source = case configurations source of
+  Nothing -> answeredLeaf answers source
+  Just c -> case cfgTexts c of
+    [] -> Right [(answers, source)]
+    t : _ -> answeredBaseline (Map.insert (cfgGuards c) 0 answers) t
+
+-- | A module with every conditional answered, as cpp hands it to GHC, and
+-- the answers that reach it, unless it aborts with @#error@.
+answeredLeaf ::
+  -- | The answers that reach it.
+  Assignment ->
+  -- | The module, with every conditional answered.
+  Text ->
+  Either CppError [(Assignment, Text)]
+answeredLeaf answers source
+  | null (unconditionalErrors source) =
+      [(answers, cppExpansion source)] <$ readConditionals source
+  | otherwise = Right []
+
 ----------------------------------------------------------------------------
 -- The directives themselves
 
@@ -457,46 +755,63 @@
 
 -- | Every directive in a module, in the order they are written.
 directives :: Text -> [Directive]
-directives = go . zip [1 ..] . T.lines
+directives = go 1 "" . T.lines
   where
-    go = \case
+    go !n above = \case
       [] -> []
-      (n, l) : ls
-        | Just (keyword, body) <- directiveOnLine l ->
-            let (continued, rest) = continuation l ls
-             in Directive
-                  { dLine = n,
-                    dLastLine = n + length continued,
-                    dKeyword = keyword,
-                    dText = T.intercalate "\n" (fmap T.stripEnd (body : continued))
-                  }
-                  : go rest
-        | otherwise -> go ls
-    continuation l ls
-      | T.isSuffixOf "\\" (T.stripEnd l),
-        (_, next) : rest <- ls =
-          let (more, rest') = continuation next rest in (next : more, rest')
-      | otherwise = ([], ls)
+      l : ls
+        | Just (keyword, body) <- directiveOnLine l,
+          not (endsInBackslash above) ->
+            case joinedTo l ls of
+              (continued, rest) ->
+                let next = n + 1 + length continued
+                 in Directive
+                      { dLine = n,
+                        dLastLine = next - 1,
+                        dKeyword = keyword,
+                        dText =
+                          T.intercalate
+                            "\n"
+                            (fmap T.stripEnd (body : continued))
+                      }
+                      : go next "" rest
+        | otherwise -> go (n + 1) l ls
 
 -- | A module's conditionals, each with the ones inside its branches, or why
 -- they do not make sense.
 readConditionals :: Text -> Either CppError [GroupSpec]
-readConditionals = go [] [] . filter ((`elem` conditionalKeywords) . dKeyword) . directives
+readConditionals =
+  go [] [] . filter ((`elem` conditionalKeywords) . dKeyword) . directives
   where
     -- The groups finished where the reading is, last first, and the
     -- conditionals open around it, innermost first.
     go done open = \case
       [] -> case open of
         [] -> Right (reverse done)
-        o : _ -> Left (MalformedConditional (dLine (oOpener o)) (dKeyword (oOpener o)) NeverClosed)
+        o : _ ->
+          Left
+            ( MalformedConditional
+                (dLine (oOpener o))
+                (dKeyword (oOpener o))
+                NeverClosed
+            )
       d : ds
         | dKeyword d `elem` opensGroup -> go [] (Open d [] [] done : open) ds
         | dKeyword d `elem` continuesGroup -> case open of
             [] -> malformed NothingOpen
             o : rest
-              | any ((== "else") . dKeyword) (take 1 (oLater o)) -> malformed AfterElse
+              | any ((== "else") . dKeyword) (take 1 (oLater o)) ->
+                  malformed AfterElse
               | otherwise ->
-                  go [] (o{oLater = d : oLater o, oEarlier = reverse done : oEarlier o} : rest) ds
+                  go
+                    []
+                    ( o
+                        { oLater = d : oLater o,
+                          oEarlier = reverse done : oEarlier o
+                        }
+                        : rest
+                    )
+                    ds
         | otherwise -> case open of
             [] -> malformed NothingOpen
             o : rest ->
@@ -526,10 +841,6 @@
 scanConditionals :: Text -> Maybe [GroupSpec]
 scanConditionals = either (const Nothing) Just . readConditionals
 
--- | Does this line begin with a preprocessor directive?
-isDirective :: Text -> Bool
-isDirective = isJust . directiveOnLine
-
 -- | One conditional group, read off the directives that make it up.
 data GroupSpec = GroupSpec
   { gsGuards :: [Guard],
@@ -555,21 +866,25 @@
   GroupSpec
 groupSpec opener later end nested =
   GroupSpec
-    { gsGuards = [Guard (dText d) | d <- opener : later, dKeyword d /= "else"],
+    { gsGuards = guards,
       gsHasElse = any ((== "else") . dKeyword) later,
       gsConditional =
         Conditional
           { conditionalLines = fmap dLine group,
-            conditionalElse = foldMap afterKeyword (filter ((== "else") . dKeyword) later),
+            conditionalGuards = fmap guardText guards,
+            conditionalElse =
+              foldMap afterKeyword (filter ((== "else") . dKeyword) later),
             conditionalEndif = afterKeyword end
           },
       gsOwnRanges = [(dLine d, dLastLine d) | d <- group],
-      gsBranches = [(dLastLine a + 1, dLine b - 1) | (a, b) <- zip group (drop 1 group)],
+      gsBranches =
+        [(dLastLine a + 1, dLine b - 1) | (a, b) <- zip group (drop 1 group)],
       gsWhole = (dLine opener, dLastLine end),
       gsNested = nested
     }
   where
     group = opener : later <> [end]
+    guards = [guardOf (dText d) | d <- opener : later, dKeyword d /= "else"]
     afterKeyword d = T.drop (T.length (dKeyword d)) (dText d)
 
 -- | The lines of a group's directives, the @#if@ first and the @#endif@ last.
@@ -587,7 +902,8 @@
 
 -- | Every conditional in a module, outermost first.
 allGroups :: [GroupSpec] -> [GroupSpec]
-allGroups = concat . takeWhile (not . null) . iterate (concatMap (concat . gsNested))
+allGroups =
+  concat . takeWhile (not . null) . iterate (concatMap (concat . gsNested))
 
 -- | Replace the given line ranges with empty lines, keeping every other line
 -- where it was.
@@ -619,6 +935,42 @@
 opaqueDirectives :: Text -> [Directive]
 opaqueDirectives = filter ((`elem` opaqueKeywords) . dKeyword) . directives
 
+-- | The macros a module defines, in whichever configuration, each with its
+-- name.
+definedMacros :: Text -> [(Text, Macro)]
+definedMacros source =
+  [ macro
+  | d <- directives source,
+    dKeyword d == "define",
+    Just macro <- [definition (dText d)]
+  ]
+
+-- | Where the argument list of each use of a function-like macro the module
+-- defines was written, where it was written on one line and holds no
+-- comment: cpp pastes the arguments into the macro's body as they were
+-- written.
+macroArguments ::
+  -- | The macros the module defines, as 'definedMacros' reads them.
+  [(Text, Macro)] ->
+  -- | The module.
+  Text ->
+  [Span]
+macroArguments defined source
+  | Set.null names = []
+  | otherwise =
+      [ mkSpan (n + 1, columnOf l from) (n + 1, columnOf l to)
+      | (n, from, to) <- argumentLists names undirected,
+        Just l <- [Map.lookup n numbered],
+        let list = T.take (to - from) (T.drop from l),
+        not ("--" `T.isInfixOf` list || "{-" `T.isInfixOf` list)
+      ]
+  where
+    undirected =
+      T.lines
+        (blanking [(dLine d, dLastLine d) | d <- directives source] source)
+    numbered = Map.fromDistinctAscList (zip [0 ..] undirected)
+    names = Set.fromList [name | (name, Macro (Just _) _) <- defined]
+
 -- | The lines that hold nothing but a use of a function-like macro the
 -- module defines, each with what is written on it.
 --
@@ -643,9 +995,13 @@
     numbered = zip [1 ..] (T.lines source)
     written = directives source
     inDirective n = any (\d -> dLine d <= n && n <= dLastLine d) written
-    code (n, l) = not (T.null (T.strip l) || inDirective n || uses l)
+    code (n, l) =
+      not (T.null t || opensLineComment t || inDirective n || uses l)
+      where
+        t = T.strip l
     indentation l = contentColumn l - 1
-    closing = maybe False ((`elem` ("})]" :: String)) . fst) . T.uncons . T.stripStart
+    closing =
+      maybe False ((`elem` ("})]" :: String)) . fst) . T.uncons . T.stripStart
     uses l = Set.member name defined && enclosed arguments
       where
         (name, arguments) = T.span isNameChar (T.strip l)
@@ -654,8 +1010,7 @@
         [ name
         | d <- written,
           dKeyword d == "define",
-          let (name, rest) = T.span isNameChar (T.stripStart (T.drop (T.length "define") (dText d))),
-          T.isPrefixOf "(" rest
+          Just (name, Macro (Just _) _) <- [definition (dText d)]
         ]
     -- One parenthesized list of arguments, and nothing after it.
     enclosed arguments =
diff --git a/src/Tilia/Cpp/Expansion.hs b/src/Tilia/Cpp/Expansion.hs
new file mode 100644
--- /dev/null
+++ b/src/Tilia/Cpp/Expansion.hs
@@ -0,0 +1,325 @@
+{-# LANGUAGE LambdaCase #-}
+{-# LANGUAGE OverloadedStrings #-}
+
+-- | Reading a module as cpp, in the traditional mode GHC runs it in, hands
+-- it to GHC.
+module Tilia.Cpp.Expansion
+  ( cppExpansion,
+    hashLines,
+    changedByCpp,
+    joinedTo,
+    Macro (..),
+    definition,
+    argumentLists,
+  )
+where
+
+import Data.Char (isAsciiLower, isDigit, isSpace)
+import Data.Map.Strict (Map)
+import Data.Map.Strict qualified as Map
+import Data.Maybe (fromMaybe, mapMaybe)
+import Data.Set (Set)
+import Data.Set qualified as Set
+import Data.Text (Text)
+import Data.Text qualified as T
+
+import Tilia.Cpp.Macros (isNameChar, isNameStart)
+import Tilia.Source.Lines
+  ( conditionalKeywords,
+    directiveOnLine,
+    endsInBackslash,
+    isDirective,
+  )
+
+-- | A configuration as cpp hands it to GHC: lines ending in a backslash
+-- joined to the next, directives blanked, and the macros it defines
+-- expanded, each line keeping its number.
+--
+-- cpp reads a quote as running to the next one or to the end of the line
+-- and expands nothing inside it, so a macro after a primed name on its line
+-- is not expanded.
+cppExpansion :: Text -> Text
+cppExpansion = T.unlines . go Map.empty . spliced . T.lines
+  where
+    go macros = \case
+      [] -> []
+      l : ls
+        | Just (keyword, body) <- directiveOnLine l ->
+            "" : go (defining keyword body macros) ls
+        | Map.null macros -> l : go macros ls
+        | otherwise ->
+            let (pieces, taken, rest) = scan macros Set.empty l ls
+             in T.concat pieces : replicate taken "" <> go macros rest
+
+-- | The lines cpp acts on but for the directives of conditionals, and the
+-- lines GHC reads past, such as line markers, with lines joined as cpp
+-- joins them and spaces after the hash and at the end left out.
+--
+-- cpp passes any other line beginning with a hash on to GHC as it is.
+hashLines :: Text -> [Text]
+hashLines = mapMaybe hashed . spliced . T.lines
+  where
+    hashed l = do
+      rest <- T.stripStart <$> T.stripPrefix "#" l
+      case directiveOnLine l of
+        Just (keyword, _) | keyword `notElem` conditionalKeywords -> pure ()
+        Nothing | Just (c, _) <- T.uncons rest, c == '!' || isDigit c -> pure ()
+        _ -> Nothing
+      pure ("#" <> T.stripEnd rest)
+
+-- | Does cpp change a module before GHC reads it: is a line a directive,
+-- or one it joins to the next?
+changedByCpp :: Text -> Bool
+changedByCpp = any (\l -> isDirective l || endsInBackslash l) . T.lines
+
+-- | Lines with the backslash ending each joined to the next, as cpp joins
+-- them, and an empty line in place of each line joined on.
+spliced :: [Text] -> [Text]
+spliced = \case
+  [] -> []
+  l : ls -> case joinedTo l ls of
+    (continued, rest) ->
+      T.concat (cut l continued) : ("" <$ continued) <> spliced rest
+  where
+    cut l = \case
+      [] -> [l]
+      n : ns -> T.dropEnd 1 (T.stripEnd l) : cut n ns
+
+-- | The lines cpp joins to a line, each because the line before it ends in
+-- a backslash, and the lines after them.
+joinedTo ::
+  -- | The line.
+  Text ->
+  -- | The lines after it.
+  [Text] ->
+  ([Text], [Text])
+joinedTo l = \case
+  n : ls | endsInBackslash l -> case joinedTo n ls of
+    (more, rest) -> (n : more, rest)
+  ls -> ([], ls)
+
+-- | A macro: its parameters, unless it is object-like, and its body.
+data Macro = Macro (Maybe [Text]) Text
+
+-- | The macros once a directive is read.
+defining ::
+  -- | The directive's keyword.
+  Text ->
+  -- | What follows its hash.
+  Text ->
+  -- | The macros before it is read.
+  Map Text Macro ->
+  Map Text Macro
+defining keyword body macros = case keyword of
+  "define"
+    | Just (name, macro) <- definition body -> Map.insert name macro macros
+  "undef" -> Map.delete (fst (named body)) macros
+  _ -> macros
+
+-- | The name a @#define@ gives a macro, and the macro.
+definition :: Text -> Maybe (Text, Macro)
+definition body = case named body of
+  (name, rest)
+    | T.null name -> Nothing
+    | otherwise -> Just (name, macroOf rest)
+  where
+    macroOf rest = case T.stripPrefix "(" rest of
+      Just inside
+        | (written, after) <- T.breakOn ")" inside,
+          not (T.null after) ->
+            Macro
+              (Just [p | p <- fmap T.strip (T.splitOn "," written), p /= ""])
+              (bodyOf (T.drop 1 after))
+      _ -> Macro Nothing (bodyOf rest)
+    bodyOf = T.strip . uncommented
+    uncommented t = case T.breakOn "/*" t of
+      (before, after)
+        | T.null after -> t
+        | otherwise ->
+            before <> uncommented (T.drop 2 (snd (T.breakOn "*/" after)))
+
+-- | The name a directive is about, and what follows it.
+named :: Text -> (Text, Text)
+named = T.span isNameChar . T.stripStart . T.dropWhile isAsciiLower
+
+-- | Expand the macros used on a line, taking the lines after it that the
+-- arguments of a use go on to: the pieces of the line, how many lines it
+-- took, and the lines left.
+scan ::
+  -- | The macros defined where the line is.
+  Map Text Macro ->
+  -- | The macros not to expand again, being expanded already.
+  Set Text ->
+  -- | The line.
+  Text ->
+  -- | The lines after it.
+  [Text] ->
+  ([Text], Int, [Text])
+scan macros off t ls = case T.uncons t of
+  Nothing -> ([], 0, ls)
+  Just (c, _)
+    | isQuote c ->
+        let (q, after) = quoted t in q `before` scan macros off after ls
+    | isNameStart c,
+      (name, after) <- T.span isNameChar t ->
+        case Map.lookup name macros of
+          Just (Macro params body)
+            | Set.notMember name off,
+              Just (bound, after', taken, ls') <- usedWith params after ls ->
+                let expanded =
+                      rescanned (Set.insert name off) (substituted bound body)
+                    (pieces, more, ls'') = scan macros off after' ls'
+                 in (expanded : pieces, taken + more, ls'')
+          _ -> name `before` scan macros off after ls
+    | otherwise ->
+        let (plain, after) = T.break special t
+         in plain `before` scan macros off after ls
+  where
+    before x (xs, n, rest) = (x : xs, n, rest)
+    special ch = isQuote ch || isNameStart ch
+    rescanned off' text =
+      let (pieces, _, _) = scan macros off' text [] in T.concat pieces
+
+-- | Where the argument list of each use of these function-like macros
+-- begins and ends, brackets included, as the index of its line and offsets
+-- into it, where that line holds all of it.
+argumentLists ::
+  -- | The macros' names.
+  Set Text ->
+  -- | The lines, with no directive among them.
+  [Text] ->
+  [(Int, Int, Int)]
+argumentLists names = \case
+  [] -> []
+  l : ls -> go 0 0 l ls
+  where
+    go n at t ls = case T.uncons t of
+      Nothing -> case ls of
+        l : more -> go (n + 1) 0 l more
+        [] -> []
+      Just (c, _)
+        | isQuote c ->
+            let (q, after) = quoted t in go n (at + T.length q) after ls
+        | isNameStart c,
+          (name, after) <- T.span isNameChar t ->
+            case opening n (at + T.length name) after ls of
+              Just (n', from, inside, ls')
+                | Set.member name names,
+                  Just (_, after', _, _) <- arguments inside [],
+                  to <- from + 1 + T.length inside - T.length after' ->
+                    (n', from, to) : go n' to after' ls'
+              _ -> go n (at + T.length name) after ls
+        | otherwise ->
+            let (plain, after) = T.break special t
+             in go n (at + T.length plain) after ls
+    special ch = isQuote ch || isNameStart ch
+    opening n at t ls = case T.span isSpace t of
+      (gap, rest)
+        | Just inside <- T.stripPrefix "(" rest ->
+            Just (n, at + T.length gap, inside, ls)
+        | T.null rest, l : more <- ls -> opening (n + 1) 0 l more
+      _ -> Nothing
+
+-- | The parameters of a use bound to its arguments, what follows the use,
+-- how many lines after it the use took, and the lines left; 'Nothing' where
+-- a function-like macro is named without arguments.
+usedWith ::
+  -- | The parameters, unless the macro is object-like.
+  Maybe [Text] ->
+  -- | What follows the name.
+  Text ->
+  -- | The lines after it.
+  [Text] ->
+  Maybe ([(Text, Text)], Text, Int, [Text])
+usedWith Nothing after ls = Just ([], after, 0, ls)
+usedWith (Just params) after ls = do
+  (opened, skipped, ls') <- opening (T.stripStart after) 0 ls
+  (args, after', taken, ls'') <- arguments opened ls'
+  case (params, args) of
+    ([], [a]) | T.all isSpace a -> Just ([], after', skipped + taken, ls'')
+    _
+      | length params == length args ->
+          Just (zip params args, after', skipped + taken, ls'')
+      | otherwise -> Nothing
+  where
+    opening t n rest = case T.uncons t of
+      Just ('(', inside) -> Just (inside, n, rest)
+      Nothing | l : more <- rest -> opening (T.stripStart l) (n + 1) more
+      _ -> Nothing
+
+-- | The arguments of a use from after its opening bracket, split at the
+-- commas outside brackets, what follows its closing bracket, how many lines
+-- after it they took, and the lines left.
+arguments ::
+  -- | The rest of the line after the opening bracket.
+  Text ->
+  -- | The lines after it.
+  [Text] ->
+  Maybe ([Text], Text, Int, [Text])
+arguments = go (0 :: Int) [] [] 0
+  where
+    go depth done current taken t ls =
+      let (plain, rest) = T.break (`elem` ("(),\"'" :: String)) t
+          current' = plain : current
+          arg = T.concat (reverse current')
+       in case T.uncons rest of
+            Nothing -> case ls of
+              l : more -> go depth done (" " : current') (taken + 1) l more
+              [] -> Nothing
+            Just (c, after)
+              | isQuote c ->
+                  let (q, after') = quoted rest
+                   in go depth done (q : current') taken after' ls
+              | c == ')',
+                depth == 0 ->
+                  Just (reverse (arg : done), after, taken, ls)
+              | c == ',', depth == 0 -> go depth (arg : done) [] taken after ls
+              | otherwise ->
+                  go
+                    (depth + if c == '(' then 1 else if c == ')' then -1 else 0)
+                    done
+                    (T.singleton c : current')
+                    taken
+                    after
+                    ls
+
+-- | A body with its parameters replaced by the arguments bound to them,
+-- inside quotes too.
+substituted ::
+  -- | Each parameter with its argument.
+  [(Text, Text)] ->
+  -- | The body.
+  Text ->
+  Text
+substituted [] = id
+substituted bound = T.concat . go
+  where
+    go t = case T.uncons t of
+      Nothing -> []
+      Just (c, _)
+        | isNameStart c,
+          (name, rest) <- T.span isNameChar t ->
+            fromMaybe name (lookup name bound) : go rest
+        | otherwise ->
+            let (plain, rest) = T.break isNameStart t in plain : go rest
+
+-- | Does a quote, as cpp reads quotes, begin with this character?
+isQuote :: Char -> Bool
+isQuote c = c == '"' || c == '\''
+
+-- | The quote a text begins with, up to its closing quote or the end of the
+-- line, and what follows it.
+quoted :: Text -> (Text, Text)
+quoted t = case T.uncons t of
+  Just (q, inside) -> T.splitAt (1 + closing q inside) t
+  Nothing -> (t, t)
+  where
+    closing q s = case T.break (\c -> c == q || c == '\\') s of
+      (plain, rest) -> case T.uncons rest of
+        Just ('\\', escaped) ->
+          T.length plain
+            + 1
+            + T.length (T.take 1 escaped)
+            + closing q (T.drop 1 escaped)
+        Just _ -> T.length plain + 1
+        Nothing -> T.length plain
diff --git a/src/Tilia/Cpp/Fragment.hs b/src/Tilia/Cpp/Fragment.hs
--- a/src/Tilia/Cpp/Fragment.hs
+++ b/src/Tilia/Cpp/Fragment.hs
@@ -8,17 +8,19 @@
     Fragment,
     fragmentsOf,
     fragmentText,
+    fragmentLines,
     reassembled,
     linesHeld,
   )
 where
 
 import Control.Monad (guard)
-import Data.List (sortOn)
-import Data.Maybe (listToMaybe, mapMaybe)
-import Data.Monoid (Any (..))
+import Data.Char (isSpace)
+import Data.List (sort, sortOn)
+import Data.Maybe (isJust, listToMaybe, mapMaybe)
 import Data.Text (Text)
 import Data.Text qualified as T
+
 import Tilia.Cpp.Directives
   ( GroupSpec (..),
     allGroups,
@@ -26,21 +28,27 @@
     blankingFor,
     droppedFor,
   )
-import Tilia.Doc.Combinators (declarationsStart)
-import Tilia.Doc.Internal
-  ( Doc (..),
+import Tilia.Doc
+  ( DeclDelimiterStyle (..),
+    Doc (..),
     Layout (..),
-    foldChildren,
+    foldRegions,
     printedFrom,
+    regionOf,
     spineAt,
   )
+import Tilia.Doc.Combinators (declarationsStart)
+import Tilia.Source (isDirective, offsetOf)
+import Tilia.Span (Span (..), endPoint, mkSpan, startPoint)
 
 -- | A module's document, taken apart where its declarations begin.
 data Body = Body
   { -- | The last line before the first run of declarations.
     bodyHeadEnd :: !Int,
-    -- | Whether anything above the declarations is a choice.
-    bodyHeadVaries :: !Bool,
+    -- | The stretch from the first region above the declarations that holds
+    -- others, the export list or an import, to the declarations, less the
+    -- regions that hold none, such as the @where@.
+    bodySpare :: [Span],
     -- | The declarations and the breaks between them.
     bodyItems :: [Doc],
     -- | The runs of declarations the printer keeps together, in order.
@@ -66,26 +74,34 @@
 bodyOf :: Doc -> Maybe Body
 bodyOf doc = do
   (head', _ : items) <- Just (break (== declarationsStart) (spineAt Broken doc))
-  guard (case items of [DGroup Flat _] -> False; _ -> True)
   let with = (mconcat (head' <> [declarationsStart]) <>)
-  runs <- runsOf items
+      runs = runsOf items
+      headEnd = case runs of
+        r : _ -> runFrom r - 1
+        [] -> maximum (0 : fmap snd (printedFrom doc))
+      regions =
+        foldRegions (\s d _ -> [(s, isJust (regionOf d))]) (mconcat head')
   pure
     Body
-      { bodyHeadEnd = case runs of
-          r : _ -> runFrom r - 1
-          [] -> maximum (0 : fmap snd (printedFrom doc)),
-        bodyHeadVaries = choosing (with mempty),
+      { bodyHeadEnd = headEnd,
+        bodySpare = case sort [s | (s, True) <- regions] of
+          [] -> []
+          s : _ ->
+            let kept = sort [t | (t, False) <- regions, s < t]
+             in zipWith
+                  mkSpan
+                  (startPoint s : fmap endPoint kept)
+                  (fmap startPoint kept <> [(headEnd + 1, 1)]),
         bodyItems = items,
         bodyRuns = runs,
         bodyWith = with
       }
 
 -- | Cut the elements of a body into runs at the empty lines between them.
-runsOf :: [Doc] -> Maybe [Run]
-runsOf items =
-  ordered (mapMaybe asRun (pieces (zip [0 ..] items)))
+runsOf :: [Doc] -> [Run]
+runsOf items = mapMaybe asRun (pieces (zip [0 ..] items))
   where
-    pieces xs = case break ((== DBreak) . snd) xs of
+    pieces xs = case break ((== DDeclDelimiter DeclSeparate) . snd) xs of
       (piece, []) -> [piece]
       (piece, _ : rest) -> piece : pieces rest
     asRun piece = case [(i, e) | (i, d) <- piece, Just e <- [extent d]] of
@@ -98,9 +114,6 @@
               runFrom = minimum (fmap (fst . snd) located),
               runTo = maximum (fmap (snd . snd) located)
             }
-    ordered runs
-      | and (zipWith (\a b -> runTo a < runFrom b) runs (drop 1 runs)) = Just runs
-      | otherwise = Nothing
 
 -- | The conditionals that reach one fragment of a module.
 data Fragment = Fragment
@@ -153,23 +166,31 @@
 -- It keeps what is above the declarations, the fragment, and a run either
 -- side of it, and takes the first branch of every other conditional. What
 -- it leaves out above the fragment is blanked, so that every line stays
--- where it was written, and what it leaves out below is cut off. The text
+-- where it was written, and what it leaves out below is cut off. Unless it
+-- takes in what is above the declarations, it blanks the 'bodySpare' too,
+-- but for the directives, whose macros the declarations may use. The text
 -- is 'Nothing' where that leaves out nothing.
 fragmentText ::
+  -- | The module's document, taken apart where its declarations begin.
   Body ->
   -- | The module's outermost conditionals.
   [GroupSpec] ->
   -- | The module.
   Text ->
+  -- | The fragment.
   Fragment ->
   Maybe (Text, [(Int, Int)])
 fragmentText body forest source f
-  | linesHeld text < linesHeld source = Just (text, outside <> concatMap (`droppedFor` 0) others)
+  | linesHeld text < linesHeld source =
+      Just (text, outside <> concatMap (`droppedFor` 0) others)
   | otherwise = Nothing
   where
     text =
-      T.unlines . take to . T.lines $
+      T.unlines . take to . zipWith spared [1 ..] . T.lines $
         blanking (outside <> concatMap (`blankingFor` 0) others) source
+    spared n l
+      | fragmentAbove f || isDirective l = l
+      | otherwise = foldr (blankOut n) l (bodySpare body)
     lineCount = length (T.lines source)
     headEnd = bodyHeadEnd body
     from = maybe (headEnd + 1) runFrom (fragmentBefore f)
@@ -188,6 +209,7 @@
 -- body holds there, or 'Nothing' where one of them came out other than a
 -- fragment of declarations.
 reassembled ::
+  -- | The module's document, taken apart where its declarations begin.
   Body ->
   -- | Each fragment, with what it was formatted to.
   [(Fragment, Doc)] ->
@@ -198,7 +220,11 @@
     [] -> Just (bodyWith body)
     [b] -> Just (bodyWith b)
     _ -> Nothing
-  let items = foldr put (bodyItems body) (sortOn (\(i, _, _) -> i) [p | (_, _, p) <- placed])
+  let items =
+        foldr
+          put
+          (bodyItems body)
+          (sortOn (\(i, _, _) -> i) [p | (_, _, p) <- placed])
   pure (with (mconcat items))
   where
     put (from, to, new) items = take from items <> new <> drop to items
@@ -207,9 +233,9 @@
     -- elements to put in place of the module's, with where they go.
     place (f, d) = do
       b <- bodyOf d
-      guard (fragmentAbove f || not (bodyHeadVaries b))
       let indexed = zip [0 :: Int ..] (bodyItems b)
-          within r x = maybe False (\(s, e) -> runFrom r <= s && e <= runTo r) (extent x)
+          within r x =
+            maybe False (\(s, e) -> runFrom r <= s && e <= runTo r) (extent x)
       start <- case fragmentBefore f of
         Nothing -> Just (-1)
         Just r -> listToMaybe (reverse [i | (i, x) <- indexed, within r x])
@@ -217,10 +243,7 @@
         Nothing -> Just (length indexed)
         Just r -> listToMaybe [i | (i, x) <- indexed, within r x]
       let new = [x | (i, x) <- indexed, start < i, i < end]
-          low
-            | fragmentAbove f = 0
-            | otherwise = maybe (bodyHeadEnd body) runTo (fragmentBefore f)
-          high = maybe maxBound runFrom (fragmentAfter f)
+          (low, high) = fragmentLines body f
       guard (start < end)
       guard (all (maybe True (\(s, e) -> low < s && e < high) . extent) new)
       pure
@@ -232,6 +255,44 @@
           )
         )
 
+-- | The lines a fragment puts in place, as the last line before them and
+-- the first line after them.
+fragmentLines ::
+  -- | The module's body.
+  Body ->
+  -- | The fragment.
+  Fragment ->
+  (Int, Int)
+fragmentLines body f =
+  ( if fragmentAbove f
+      then 0
+      else maybe (bodyHeadEnd body) runTo (fragmentBefore f),
+    maybe maxBound runFrom (fragmentAfter f)
+  )
+
+-- | Blank what a line holds of a span, keeping the columns of the rest.
+blankOut ::
+  -- | The line's number.
+  Int ->
+  -- | The span.
+  Span ->
+  -- | The line.
+  Text ->
+  Text
+blankOut n s l
+  | spanStartLine s <= n && n <= spanEndLine s =
+      before <> T.map (\c -> if isSpace c then c else ' ') within <> after
+  | otherwise = l
+  where
+    (before, rest) = T.splitAt from l
+    (within, after) = T.splitAt (to - from) rest
+    from
+      | n == spanStartLine s = offsetOf l (spanStartColumn s)
+      | otherwise = 0
+    to
+      | n == spanEndLine s = offsetOf l (spanEndColumn s)
+      | otherwise = T.length l
+
 -- | How many lines of a text hold anything, which is what formatting it
 -- costs.
 linesHeld :: Text -> Int
@@ -242,11 +303,3 @@
 extent d = case printedFrom d of
   [] -> Nothing
   ls -> Just (minimum (fmap fst ls), maximum (fmap snd ls))
-
--- | Is there a choice anywhere in this document?
-choosing :: Doc -> Bool
-choosing = getAny . go
-  where
-    go = \case
-      DCppChoice{} -> Any True
-      d -> foldChildren go d
diff --git a/src/Tilia/Cpp/Macros.hs b/src/Tilia/Cpp/Macros.hs
--- a/src/Tilia/Cpp/Macros.hs
+++ b/src/Tilia/Cpp/Macros.hs
@@ -2,18 +2,20 @@
 {-# LANGUAGE OverloadedStrings #-}
 
 -- | Inferences regarding CPP macros that we can make based on the build
--- plan and on the answers a configuration gives.
+-- plan, a component's @cpp-options@ and the answers a configuration gives.
 module Tilia.Cpp.Macros
   ( Macros (..),
     guardHolds,
     impliedBy,
+    questionOf,
+    isNameStart,
     isNameChar,
   )
 where
 
 import Control.Applicative ((<|>))
 import Data.Char (isAsciiLower, isAsciiUpper, isDigit)
-import Data.List (dropWhileEnd)
+import Data.List (dropWhileEnd, find)
 import Data.Map.Strict (Map)
 import Data.Map.Strict qualified as Map
 import Data.Maybe (fromMaybe)
@@ -32,12 +34,14 @@
     -- | The numbers that @__GLASGOW_HASKELL__@ and its patch levels expand
     -- to, from the build plan.
     macroExactNumbers :: Map Text Integer,
-    -- | The macros known to be defined as implied by the answers that reach
-    -- a configuration.
+    -- | The macros known to be defined, by a component's @cpp-options@ or
+    -- as implied by the answers that reach a configuration.
     macroDefined :: Set Text,
     -- | The macros known not to be defined: from the build plan, those of
-    -- the compilers other than the one it is for, like @__MHS__@, and
-    -- otherwise implied by the answers that reach a configuration.
+    -- the compilers other than the one it is for, like @__MHS__@, from a
+    -- component's @cpp-options@, those its package defines only where the
+    -- build does not take them, and otherwise implied by the answers that
+    -- reach a configuration.
     macroUndefined :: Set Text,
     -- | Every package the build plan holds, at however many versions, as
     -- their version macros spell them: the @VERSION_@ and @MIN_VERSION_@
@@ -103,8 +107,20 @@
       _ -> mempty
 
 -- | Whether a macro is defined, where that is known.
-isDefined :: Macros -> Text -> Maybe Bool
+--
+-- A macro is not defined where another of its 'family' is, which makes two
+-- of them defined a contradiction.
+isDefined ::
+  -- | What is known about the macros.
+  Macros ->
+  -- | The macro.
+  Text ->
+  Maybe Bool
 isDefined macros n
+  | not (Set.null (macroDefined macros)),
+    Just f <- family n,
+    any (\m -> m /= n && family m == Just f) (macroDefined macros) =
+      Just False
   | Map.member n (macroExactVersions macros)
       || Map.member n (macroExactNumbers macros)
       || Set.member n (macroDefined macros) =
@@ -116,6 +132,14 @@
       Just False
   | otherwise = Nothing
 
+-- | The family of macros a macro belongs to, of which the compiler defines
+-- one: the @_HOST_OS@ macro of the operating system it compiles for, and the
+-- @_HOST_ARCH@ one of its architecture.
+family :: Text -> Maybe Text
+family n = find named ["_HOST_OS", "_HOST_ARCH"]
+  where
+    named suffix = maybe False (not . T.null) (T.stripSuffix suffix n)
+
 -- | The number a macro stands for, where that is known.
 numberOf :: Macros -> Text -> Maybe Integer
 numberOf macros n = case isDefined macros n of
@@ -156,6 +180,29 @@
       Just [Name n] -> Just n
       _ -> Nothing
 
+-- | What a guard asks: its tokens apart by single spaces, with every test
+-- of whether a macro is defined spelled alike, or else what is written.
+questionOf :: Text -> Either Text Text
+questionOf written =
+  maybe (Left written) (Right . T.unwords . fmap spelled) $
+    case T.span isNameChar (T.stripStart written) of
+      (keyword, rest)
+        | keyword `elem` ["ifdef", "elifdef"] ->
+            (Name "defined" :) <$> tokensOf rest
+        | keyword `elem` ["ifndef", "elifndef"] ->
+            ([Punct "!", Name "defined"] <>) <$> tokensOf rest
+        | otherwise -> alike <$> tokensOf rest
+  where
+    alike = \case
+      Name "defined" : Punct "(" : Name n : Punct ")" : ts ->
+        Name "defined" : Name n : alike ts
+      t : ts -> t : alike ts
+      [] -> []
+    spelled = \case
+      Name n -> n
+      Number n -> T.pack (show n)
+      Punct p -> p
+
 -- | The expression of a guard.
 data Expr
   = Or Expr Expr
@@ -225,7 +272,8 @@
       | otherwise = Nothing
     next = go . T.stripStart
     firstThat f = foldr (\x acc -> maybe acc Just (f x)) Nothing
-    readDigits = T.foldl' (\n c -> n * 10 + toInteger (fromEnum c - fromEnum '0')) 0
+    readDigits =
+      T.foldl' (\n c -> n * 10 + toInteger (fromEnum c - fromEnum '0')) 0
 
 orExpr :: [Token] -> Maybe (Expr, [Token])
 orExpr ts = do
@@ -327,6 +375,7 @@
 punctuation :: [Text]
 punctuation = ["&&", "||", "==", "!=", "<=", ">=", "(", ")", ",", "!", "<", ">"]
 
+-- | Can a preprocessor name begin with a character?
 isNameStart :: Char -> Bool
 isNameStart c = isAsciiLower c || isAsciiUpper c || c == '_'
 
diff --git a/src/Tilia/Cpp/Merge.hs b/src/Tilia/Cpp/Merge.hs
--- a/src/Tilia/Cpp/Merge.hs
+++ b/src/Tilia/Cpp/Merge.hs
@@ -1,5 +1,6 @@
 {-# LANGUAGE LambdaCase #-}
 {-# LANGUAGE OverloadedStrings #-}
+{-# LANGUAGE PatternSynonyms #-}
 
 -- | Merging the documents the configurations of a module printed to.
 module Tilia.Cpp.Merge
@@ -13,47 +14,76 @@
 import Control.Monad (guard)
 import Data.Char (isSpace)
 import Data.Function (on)
-import Data.List (groupBy, maximumBy, minimumBy, sortOn, stripPrefix, transpose, unsnoc)
-import Data.Maybe (fromMaybe, isJust, listToMaybe, mapMaybe, maybeToList)
+import Data.List
+  ( find,
+    groupBy,
+    isPrefixOf,
+    maximumBy,
+    minimumBy,
+    nub,
+    sortOn,
+    transpose,
+    uncons,
+    unsnoc,
+  )
+import Data.Maybe
+  ( catMaybes,
+    fromMaybe,
+    isJust,
+    isNothing,
+    listToMaybe,
+    mapMaybe,
+    maybeToList,
+  )
 import Data.Monoid (All (..), Any (..))
 import Data.Ord (comparing)
 import Data.Set (Set)
 import Data.Set qualified as Set
 import Data.Text (Text)
 import Data.Text qualified as T
-import Tilia.Cpp.Directives (Guard (..), Varied (..), untouched)
-import Tilia.Cpp.Place (foldRegions, regionOf)
-import Tilia.Doc (printDoc)
-import Tilia.Doc.Combinators qualified as Doc
-import Tilia.Doc.Internal
+
+import Tilia.Cpp.Directives (Guard, Varied (..), guardText, untouched)
+import Tilia.Doc
   ( Conditional (..),
+    DeclDelimiterStyle (..),
     Doc (..),
     Layout (..),
+    SeparatorSide (..),
     Wrapper (..),
+    choosing,
     conditionalRange,
     foldChildren,
+    foldRegions,
     layoutInside,
     mapChildren,
+    namesOnly,
     onlyBreaks,
     onlySpacing,
     printedFrom,
     printsNothing,
+    printsOnOneLine,
+    referentIn,
+    regionOf,
+    separatorSide,
     spine,
     spineAt,
     unwrap,
     wrap,
+    pattern Cat,
   )
+import Tilia.Doc.Combinators qualified as Doc
 import Tilia.Source (Lines, lineAt, offsetOf)
-import Tilia.Span (Span (..), covers, endOf, meets, startOf, zeroWidth)
+import Tilia.Span (Span (..), covers, endOf, meets, startOf)
 
 -- | A conditional other than the one asked about that answering a question
--- settles, for some answers at least.
+-- settles, or rules branches of out, for some answers at least.
 data Settled = Settled
   { -- | The conditional, as written.
     settledConditional :: Conditional,
-    -- | The branch each answer settles it on, or 'Nothing' where it is
-    -- left open.
-    settledBranches :: [Maybe Int]
+    -- | The branches each answer can take, one where it settles it, though
+    -- it may print the conditional whole, or 'Nothing' where it can take
+    -- any.
+    settledBranches :: [Maybe [Int]]
   }
 
 -- | Merge the documents one conditional's branches printed to.
@@ -69,7 +99,7 @@
   [Guard] ->
   -- | The lines its answer can change.
   Varied ->
-  -- | The other conditionals its answers settle.
+  -- | The other conditionals its answers settle or rule branches of out.
   [Settled] ->
   -- | One document per answer.
   [Doc] ->
@@ -80,74 +110,143 @@
     go layout ds@(d : _)
       | s : others <- spines,
         all (agreeAll varied layout s) others =
-          d
+          foldl aliased d (drop 1 ds)
+      | any (isJust . ungrouped) spines,
+        not (all grouped spines) =
+          go layout [fromMaybe (mconcat s) (ungrouped s) | s <- spines]
       | Just xs <- traverse sole spines = alongside layout xs
       | otherwise = factored middle layout spines
       where
         spines = fmap (spineAt layout) ds
+        ungrouped = \case
+          [DGroup Broken x] | layout == Broken || layoutFree x -> Just x
+          _ -> Nothing
+        grouped = \case
+          [DGroup{}] -> True
+          _ -> False
 
     alongside _ [] = mempty
     alongside layout xs
       | Just wds <- traverse unwrap xs,
-        Just w <- joint wds =
+        Just w <- joint (fmap fst wds) =
           case (w, go (layoutInside layout w) (fmap snd wds)) of
-            (WLocated _, merged)
-              | onlyChoice merged,
-                spans <- [s | (WLocated s, _) <- wds],
-                Just opened <- unwrapping layout spans xs ->
+            (WLocated _, _)
+              | spans <- [s | (WLocated s, _) <- wds],
+                Just opened <- unwrapping layout spans xs True ->
                   opened
-            (WGroup l, DCppChoice{})
-              | not (all (== l) (layoutsOf wds)),
-                d : rest <- fmap snd wds,
-                not (all (agree varied l d) rest) ->
-                  choice xs
-            (WGroup Flat, merged)
-              | not (beginsWithChoice merged) -> choice xs
+            (WGroup l, merged)
+              | l /= Broken,
+                not (beginsWithChoice merged),
+                not (any printsLeftAlone xs) ->
+                  choice layout $ case fmap regionOf xs of
+                    r : rs | all (== r) rs -> xs
+                    _ -> fmap Doc.infrangible xs
+            (WGroup _, merged)
+              | ls@(l : more) <- [l | (WGroup l, _) <- wds],
+                any (/= l) more ->
+                  wrap w (laidOutAsTheirs ls merged)
             (_, merged) -> wrap w merged
     alongside layout xs@(x : _) = case x of
       DCppChoice ws bs _
         | Just alternatives <-
             every $ \case
-              DCppChoice ws' cs e | ws' == ws, fmap fst cs == fmap fst bs -> Just (fmap snd cs <> [e])
+              DCppChoice ws' cs e
+                | ws' == ws,
+                  fmap fst cs == fmap fst bs ->
+                    Just (fmap snd cs <> [e])
               _ -> Nothing,
-          Just (merged, fallback) <- unsnoc (fmap (go layout) (transpose alternatives)) ->
+          Just (merged, fallback) <-
+            unsnoc . fmap (go layout) $
+              zipWith (asTaken ws) [0 ..] (transpose alternatives) ->
             Doc.cppChoice ws (zip (fmap fst bs) merged) fallback
       _
         | Just spans <- traverse regionOf xs,
-          Just opened <- unwrapping layout spans xs ->
+          Just opened <- unwrapping layout spans xs False ->
             opened
-        | otherwise -> choice xs
+        | otherwise -> choice layout xs
       where
         every f = traverse f xs
 
-    unwrapping layout spans xs = do
-      inside <- sole [i | (i, s) <- zip [0 :: Int ..] spans, all (covers s) spans]
+    -- Does this document print anything from lines the conditional left
+    -- alone?
+    printsLeftAlone =
+      getAny
+        . foldRegions
+          ( \s d inside ->
+              inside
+                <> Any
+                  ( not (printsNothing d)
+                      && untouched varied (spanWithHaddock s d)
+                  )
+          )
+
+    -- A choice among the configurations whose groups these layouts are,
+    -- each alternative laid out as its configuration lays the group out.
+    laidOutAsTheirs ls = \case
+      DCppChoice cs bs e
+        | fmap fst bs `isPrefixOf` fmap guardText guards,
+          Just (front, l) <- unsnoc ls,
+          length front == length bs ->
+            DCppChoice cs (zipWith (fmap . DGroup) front bs) (DGroup l e)
+      d@DCppChoice{} -> d
+      d@DGroup{} -> d
+      d -> mapChildren (laidOutAsTheirs ls) d
+
+    unwrapping layout spans xs strict = do
+      inside <-
+        sole [i | (i, s) <- zip [0 :: Int ..] spans, all (covers s) spans]
       openedAgainst inside layout =<< listToMaybe (drop inside xs)
       where
         openedAgainst inside l d = case unwrap d of
-          Just (w, x) -> wrap w <$> openedAgainst inside (layoutInside l w) x
+          Just (w, x)
+            | indenting w -> Nothing
+            | otherwise -> wrap w <$> openedAgainst inside (layoutInside l w) x
           Nothing -> case spineAt l d of
-            parts@(_ : _ : _) ->
-              Just . factored middle l $
-                [ if k == inside then tucked inside l parts else [e]
-                | (k, e) <- zip [0 ..] xs
-                ]
+            parts@(_ : _ : _)
+              | let opened = tucked inside l parts
+                    known =
+                      maybe False (`elem` mapMaybe regionOf opened) . regionOf
+                    others =
+                      [ if k == inside then Just opened else sharing known l e
+                      | (k, e) <- zip [0 ..] xs
+                      ],
+                not strict
+                  || all isJust others
+                    && or [known e | (k, e) <- zip [0 ..] xs, k /= inside] ->
+                  Just . factored middle l $
+                    [fromMaybe [e] o | (o, e) <- zip others xs]
             _ -> Nothing
 
+        sharing known l e
+          | known e = Just [e]
+          | otherwise = case unwrap e of
+              Just (w, x)
+                | indenting w -> Nothing
+                | otherwise -> sharing known (layoutInside l w) x
+              Nothing -> case spineAt l e of
+                parts@(_ : _ : _) | any known parts -> Just parts
+                _ -> Nothing
+
         tucked inside l parts = case unsnoc parts of
-          Just (front, DNest _ y)
-            | e : _ <-
-                [ e
-                | e <- xs,
-                  regionOf e == regionOf y,
-                  fmap spanStartColumn (regionOf e) == column,
-                  printDoc (DGroup l y)
-                    == printDoc e
-                ] ->
-                front <> [e]
+          Just (front, x) | Just tucked' <- under l x -> front <> tucked'
           _ -> parts
           where
             column = spanStartColumn <$> listToMaybe (drop inside spans)
+            under l' x = do
+              (w, y) <- unwrap x
+              guard (indenting w)
+              let l'' = layoutInside l' w
+                  (spacing, code) = span onlySpacing (spineAt l'' y)
+              case [ e
+                   | e <- xs,
+                     regionOf e == regionOf y,
+                     fmap spanStartColumn (regionOf e) == column,
+                     untouchedRegion varied e
+                   ] of
+                e : _ -> Just (spacing <> [e])
+                [] -> do
+                  (front, z) <- unsnoc code
+                  (wrap w (mconcat (spacing <> front)) :) <$> under l'' z
 
     factored within layout ss =
       let same (x, _) (y, _) = agree varied layout x y
@@ -162,25 +261,42 @@
           anchors = transpose (fmap snd cut)
        in mconcat (woven within layout stretches (fmap (go layout) anchors))
 
+    -- The stretches between the parts every spine shares, merged, each
+    -- taking in the part after it where it ends with differing separators
+    -- leading that, and the trailing separator the part begins with.
     woven within layout (s : ss) (c : cs)
-      | all (maybe False ((== DSpace) . snd) . unsnoc) s,
-        Just r <- regionOf c,
-        spanStartLine r == spanEndLine r,
-        Just (opening, ws, bs, e, gap) <- choiceAt written Last stretch,
-        not (any printsNothing (e : fmap snd bs)) =
-          opening
-            <> Doc.cppChoice
-              ws
-              [(g, b <> gap <> c) | (g, b) <- bs]
-              (e <> gap <> c)
+      | Just leads <- traverse ledInto s,
+        (l : ls) <- leads,
+        any (/= l) ls,
+        s' : ss' <- ss =
+          woven within layout (zipWith (<>) (fmap (<> [c]) s) s' : ss') cs
+      | any (not . null) s,
+        Just (t, c') <- separatorFirst c =
+          woven within layout (fmap (<> [t]) s : ss) (c' : cs)
+      | otherwise =
+          foldMap (varying within layout) (cutAtConditionals s)
+            : c
             : woven within layout ss cs
-      | otherwise = stretch : c : woven within layout ss cs
-      where
-        stretch = foldMap (varying within layout) (cutAtConditionals s)
     woven within layout ss [] =
       fmap (foldMap (varying within layout) . cutAtConditionals) ss
     woven _ _ [] _ = []
 
+    -- The trailing separator a part begins with, in the indentation it was
+    -- written in or as the referent the part is indented from, and the rest.
+    separatorFirst = \case
+      DIndented n a d
+        | separatorSide a == Just TrailingSeparator ->
+            Just (a, DIndented n (Doc.ptr a) d)
+        | t : rest <- spine d,
+          separatorSide t == Just TrailingSeparator ->
+            Just (DIndented n a t, DIndented n a (mconcat rest))
+      _ -> Nothing
+
+    -- The leading separator a stretch ends with, spacing aside.
+    ledInto s = case dropWhile onlySpacing (reverse s) of
+      x : _ | separatorSide x == Just LeadingSeparator -> Just x
+      _ -> Nothing
+
     -- A stretch the configurations disagree over, cut where one conditional
     -- asking the question ends and the next begins, so that each comes out
     -- as a choice of its own rather than one choice printing both. Only
@@ -189,7 +305,8 @@
     cutAtConditionals ss
       | _ : _ : _ <- ranges,
         Just owners <- traverse (traverse ownerOf) ss,
-        present@(first' : _ : _) <- foldr insertOrdered [] [o | Just o <- concat owners],
+        present@(first' : _ : _) <-
+          foldr insertOrdered [] [o | Just o <- concat owners],
         let assigned = fmap (settled first') owners,
         all ascending assigned =
           [ [[x | (x, o) <- zip xs os, o == i] | (xs, os) <- zip ss assigned]
@@ -203,7 +320,12 @@
             (conditionals <> fmap settledConditional settledOthers)
         ownerOf x = case printedFrom x of
           [] -> Just Nothing
-          lines' -> case sortOn fst [r | r@(from, to) <- ranges, all (\(a, b) -> from <= a && b <= to) lines'] of
+          lines' -> case sortOn
+            fst
+            [ r
+            | r@(from, to) <- ranges,
+              all (\(a, b) -> from <= a && b <= to) lines'
+            ] of
             outermost : _ -> Just (Just outermost)
             [] -> Nothing
         settled first' os = case [o | Just o <- os] of
@@ -217,40 +339,131 @@
     varying within layout ss =
       let (opening, ss1) = sharedStart layout ss
           (ss2, closing) = sharedEnd layout ss1
-          (lead, ss3, trail) = hoisted layout ss2
-       in mconcat opening
-            <> mconcat lead
-            <> within layout ss3
-            <> mconcat trail
+       in fromMaybe
+            (mconcat opening <> disagreement ss2)
+            (separatorAhead opening ss2)
             <> mconcat closing
+      where
+        disagreement ss2 =
+          let (lead, ss3, trail) = hoisted layout ss2
+           in mconcat lead
+                <> within layout ss3
+                <> mconcat trail
 
-    sharedStart layout ss
+        -- The separator every configuration leads what they disagree over
+        -- with, in the indentation it begins, after the break they share, on
+        -- its other side at the end of the line before them where one of
+        -- them has nothing there, which none does where all print first
+        -- what was written at the same point.
+        separatorAhead opening ss2 = do
+          heads <- traverse ledBySeparator ss2
+          (a, _) : others <- Just heads
+          guard (all ((== a) . fst) others)
+          r : rs <- Just (fmap (printedFirstAt . mconcat . snd) heads)
+          guard (isNothing r || any (/= r) rs)
+          (front, b) <- unsnoc opening
+          guard (onlyBreaks b)
+          let d = disagreement (fmap snd heads)
+          guard (maybe False (any printsNothing) (leadingAlternatives d))
+          Just (mconcat front <> otherSide a <> b <> d)
+
+        ledBySeparator s = case dropWhile emptyRegion s of
+          a : more | separatorSide a == Just LeadingSeparator -> Just (a, more)
+          x : more
+            | Just (w, y) <- unwrap x,
+              indenting w -> do
+                (a, inner) <- ledBySeparator (spine y)
+                Just (a, wrap w (mconcat inner) : more)
+          _ -> Nothing
+
+    sharedStart = sharedAlong LeadingSeparator
+
+    -- What every spine begins with, a separator only together with the
+    -- part it goes with where that lies ahead, a part never apart from the
+    -- differing separators it goes with, and seen past a choice where only
+    -- that makes them agree.
+    sharedAlong ahead layout ss
       | Just (h : hs) <- traverse listToMaybe ss,
+        all (agree varied layout h) hs,
+        not ledApart,
+        (c, ss') <- sharedAlong ahead layout (fmap (drop 1) ss),
+        separatorSide h /= Just ahead || not (null c) =
+          (h : c, ss')
+      | moved <- fmap (separatorPast ahead layout) ss,
+        any isJust moved,
+        let ss' = zipWith fromMaybe ss moved,
+        Just (h : hs) <- traverse listToMaybe ss',
         all (agree varied layout h) hs =
-          let (c, ss') = sharedStart layout (fmap (drop 1) ss) in (h : c, ss')
+          sharedAlong ahead layout ss'
       | otherwise = ([], ss)
+      where
+        ledApart =
+          case traverse (listToMaybe . dropWhile onlySpacing . drop 1) ss of
+            Just (x : xs) ->
+              all ((== Just behind) . separatorSide) (x : xs) && any (/= x) xs
+            _ -> False
+        behind = case ahead of
+          LeadingSeparator -> TrailingSeparator
+          TrailingSeparator -> LeadingSeparator
 
+    -- A spine seen with the separator by the choice it begins with, before
+    -- it or at the far end of every alternative, or of every alternative of
+    -- the choice an alternative is, past the choice instead.
+    separatorPast ahead layout = \case
+      s : rest
+        | isJust (separatorSide s),
+          (spacing, c : rest') <- span onlySpacing rest,
+          Just (_, c') <- through (Just s) layout c ->
+            Just (c' : s : spacing <> dropWhile onlySpacing rest')
+      c : rest
+        | Just (t, c') <- through Nothing layout c -> Just (c' : t : rest)
+      _ -> Nothing
+      where
+        through near l = \case
+          DCppChoice ws bs e -> do
+            (t, e') <- past near l e
+            bs' <- traverse (traverse (past near l)) bs
+            first' : more <- Just (catMaybes (t : fmap (fst . snd) bs'))
+            guard (all (same first') more)
+            Just (first', alignedOut ws (fmap (fmap snd) bs') e')
+          d -> do
+            (w, x) <- unwrap d
+            fmap (wrap w) <$> through near (layoutInside l w) x
+        past near l a
+          | printsNothing a = (Nothing, a) <$ near
+          | Just (t, a') <- through near l a = Just (Just t, a')
+          | otherwise = do
+              (t, inner) <- farEnd (spineAt l a)
+              guard (isJust (separatorSide t) && all (same t) near)
+              Just
+                ( Just t,
+                  mconcat (nearEnd (onSide ahead <$> maybeToList near) inner)
+                )
+        farEnd xs = case ahead of
+          LeadingSeparator -> (\(front, t) -> (t, front)) <$> unsnoc xs
+          TrailingSeparator -> uncons xs
+        nearEnd n inner = case ahead of
+          LeadingSeparator -> n <> inner
+          TrailingSeparator -> inner <> n
+        same x y = onSide LeadingSeparator x == onSide LeadingSeparator y
+
     sharedEnd layout ss =
-      let (c, ss') = sharedStart layout (fmap reverse ss)
-          ends = fmap reverse ss'
-       in case reverse c of
-            x : closing
-              | x == Doc.comma,
-                all (maybe False (not . onlySpacing . snd) . unsnoc) ends ->
-                  (fmap (<> [x]) ends, closing)
-            closing -> (ends, closing)
+      let (c, ss') = sharedAlong TrailingSeparator layout (fmap reverse ss)
+       in (fmap reverse ss', reverse c)
 
     middle _ [] = mempty
-    middle layout ss@(s : rest)
-      | all (alike layout s) rest = mconcat s
+    middle layout ss
       | Just xs <- traverse sole ss = go layout xs
-      | Just (c, tails) <- commaLed layout ss = c <> middle layout tails
+      | Just (c, rests) <- separated LeadingSeparator ss =
+          onEdge First c (middle layout rests)
+      | Just (c, rests) <- separated TrailingSeparator ss =
+          onEdge Last c (middle layout rests)
       | otherwise =
           minimumBy
             (comparing (weigh layout))
             (apart : maybeToList (alongsideHeads layout ss) <> byLines)
       where
-        apart = choice (fmap (mconcat . commaFirst) ss)
+        apart = choice layout (fmap mconcat ss)
         byLines
           | not (any continuing ss),
             not (null (foldr1 Set.intersection (foldMap writtenAt <$> ss))),
@@ -261,104 +474,150 @@
         continuing = \case
           x : xs
             | printsNothing x -> continuing xs
+            | separatorSide x == Just TrailingSeparator -> False
             | Just (_, y) <- unwrap x -> continuing (spine y <> xs)
             | otherwise -> x == DSpace
           [] -> False
 
+    -- The separator every stretch begins or ends with, on the side it is
+    -- written on, and what each holds besides.
+    separated side ss = do
+      views@((c, _) : more) <- traverse edgeOf ss
+      guard (all ((== c) . fst) more)
+      let rests = fmap snd views
+      guard (not (any (all onlySpacing) rests))
+      Just (c, rests)
+      where
+        edgeOf s = case side of
+          LeadingSeparator
+            | c : r <- s,
+              separatorSide c == Just LeadingSeparator ->
+                Just (c, r)
+          TrailingSeparator
+            | Just (r, c) <- unsnoc s,
+              separatorSide c == Just TrailingSeparator ->
+                Just (c, r)
+          _ -> Nothing
+
     whole _ [] = mempty
     whole layout ss@(s : rest)
       | all (alike layout s) rest = mconcat s
       | Just splits <- traverse firstPart ss,
-        not (any (\(_, x, _) -> onOneLine layout x) splits) =
-          go layout [mconcat (spacing <> [x]) | (spacing, x, _) <- splits]
-            <> whole layout [more | (_, _, more) <- splits]
-      | otherwise = choice (fmap mconcat ss)
+        not (any (\(_, x, _) -> printsOnOneLine layout x) splits),
+        let inside =
+              go layout [mconcat (spacing <> [x]) | (spacing, x, _) <- splits]
+                <> whole layout [more | (_, _, more) <- splits],
+        weigh layout inside < weigh layout apart =
+          inside
+      | otherwise = apart
+      where
+        apart = choice layout (fmap mconcat ss)
 
     firstPart parts = case break (not . blank) parts of
       (spacing, x : more) -> Just (spacing, x, more)
       _ -> Nothing
 
-    commaFirst = \case
-      x : DBreak : rest | x == Doc.comma -> x : Doc.space : rest
-      xs -> xs
-
-    commaLed layout ss = do
-      views <- traverse (ledBy layout) ss
-      let unmoved = [v | v@(_, _, False) <- views]
-      (c, _, _) : _ <- Just (if null unmoved then views else unmoved)
-      if length unmoved < length views && all (\(d, _, _) -> agree varied layout c d) views
-        then Just (c, [r | (_, r, _) <- views])
-        else Nothing
+    -- An alternative with the trailing separator it begins with, inside
+    -- whatever wraps its start, written leading the line it ends, past the
+    -- choices that line begins with, or with the leading separator it ends
+    -- with put at the end of the line before.
+    separatorGlued layout xs = fromMaybe (gluedEnd xs) (gluedStart layout xs)
 
-    ledBy layout = \case
-      c@DCppChoice{} : r
-        | everyAlternative (\xs -> take 1 xs == [Doc.comma]) c -> Just (c, r, False)
-      x : DBreak : DCppChoice ws bs e : r
-        | x == Doc.comma,
-          following@(_ : _) <- dropWhile onlySpacing r,
-          everyAlternative (\xs -> fmap snd (unsnoc xs) == Just Doc.comma) (DCppChoice ws bs e) ->
-            Just (Doc.cppChoice ws [(g, led b) | (g, b) <- bs] (led e), x : DBreak : following, True)
+    gluedStart layout = \case
+      x : DBreak : rest
+        | separatorSide x == Just TrailingSeparator ->
+            Just (pastChoices layout (otherSide x : rest))
+      x : DIndented n a d : rest
+        | separatorSide x == Just TrailingSeparator,
+          DBreak : more <- spine d ->
+            Just (otherSide x : DIndented n a (mconcat more) : rest)
+      x : rest
+        | onlySpacing x -> (x :) <$> gluedStart layout rest
+        | separatorSide x /= Just TrailingSeparator,
+          Just (w, y) <- unwrap x ->
+            (: rest) . wrap w . mconcat
+              <$> gluedStart (layoutInside layout w) (spine y)
       _ -> Nothing
-      where
-        everyAlternative p = \case
-          DCppChoice _ bs e -> all (\a -> printsNothing a || p (spineAt layout a)) (e : fmap snd bs)
-          _ -> False
-        led a
-          | printsNothing a = a
-          | otherwise = mconcat (Doc.comma : Doc.space : maybe [] fst (unsnoc (spineAt layout a)))
 
+    pastChoices layout xs = case separatorPast LeadingSeparator layout xs of
+      Just (c : rest) -> c : pastChoices layout rest
+      _ -> xs
+
+    gluedEnd xs = case reverse xs of
+      x : rest
+        | separatorSide x == Just LeadingSeparator,
+          (_ : _, rest') <- span blank rest ->
+            reverse (gluedTo [otherSide x] rest')
+      _ -> xs
+
+    gluedTo glue = \case
+      d : DNewline : rest -> d : DNewline : glue <> rest
+      rest -> glue <> rest
+
     alongsideHeads layout ss = do
       heads <- traverse listToMaybe ss
-      let rest = fmap (drop 1) ss
-          (glued, tails) = case traverse (stripPrefix [Doc.comma]) rest of
-            Just rest' -> (endingWith Doc.comma, rest')
-            Nothing -> (id, rest)
+      let tails = fmap (drop 1) ss
       case heads of
         (h : hs)
           | all (sameKind h) hs,
-            all (breaksFirst (lineEnding h hs)) tails ->
+            all (breaksFirst lineEnding) tails ->
               Just
                 ( joined
-                    (glued (go layout heads))
+                    merged
                     (middle layout tails)
                     (varying middle layout tails)
                 )
+          where
+            merged = go layout heads
+            lineEnding = if choosing merged then Flat else layout
         _ -> Nothing
       where
         breaksFirst l t = case dropWhile (quiet l) t of
           [] -> True
           (d : _) -> opensWithBreak layout d
         quiet l d = weigh layout d == 0 && not (opensWithBreak l d)
-        lineEnding h hs
-          | all ((== printed h) . printed) hs = layout
-          | otherwise = Flat
-        printed = printDoc
 
-    endingWith t d = fromMaybe (d <> t) (inAlternatives d)
+    onEdge edge t d = fromMaybe (beside d) (inAlternatives id d)
       where
-        inAlternatives = \case
+        beside = case edge of
+          First -> (t <>)
+          Last -> (<> t)
+        inAlternatives aligned = \case
           DCppChoice ws bs e
             | not (any printsNothing (e : fmap snd bs)) ->
-                Just (DCppChoice ws [(g, endingWith t b) | (g, b) <- bs] (endingWith t e))
-          DCat a b
-            | printsNothing b -> (<> b) <$> inAlternatives a
-            | otherwise -> (a <>) <$> inAlternatives b
+                Just
+                  ( DCppChoice
+                      ws
+                      [(g, onEdge edge t (aligned b)) | (g, b) <- bs]
+                      (onEdge edge t (aligned e))
+                  )
+          Cat a b -> case edge of
+            First
+              | printsNothing a -> (a <>) <$> inAlternatives aligned b
+              | otherwise -> (<> b) <$> inAlternatives aligned a
+            Last
+              | printsNothing b -> (<> b) <$> inAlternatives aligned a
+              | otherwise -> (a <>) <$> inAlternatives aligned b
           y -> do
             (w, x) <- unwrap y
-            wrap w <$> inAlternatives x
+            case edge of
+              First | aligning w -> do
+                guard (onlyChoice x)
+                inAlternatives (aligned . wrap w) x
+              _ -> wrap w <$> inAlternatives aligned x
 
     joined before after apart =
       case (choiceAt written Last before, choiceAt written First after) of
         (Just (opening, ws, bs, e, gap), Just (gap', ws', cs, e', closing))
           | fmap fst bs == fmap fst cs,
-            ws == ws' || null ws || null ws',
+            ws == ws',
             (g, x) : rest <- bs,
             (_, y) : rest' <- cs,
             (lead, first') <- span breaking (spine (x <> between <> y)) ->
               opening
                 <> mconcat lead
                 <> Doc.cppChoice
-                  (if null ws then ws' else ws)
+                  ws
                   ( (g, mconcat first')
                       : [ (h, z <> between <> z')
                         | ((h, z), (_, z')) <- zip rest rest'
@@ -370,7 +629,7 @@
             between = gap <> gap'
         _ -> before <> apart
 
-    sameKind x y = case (unwrap x, unwrap y) of
+    sameKind x y = case (unwrap (unreferred x), unwrap (unreferred y)) of
       (Just (w, t), Just (v, u)) -> kin w v && t /= DEmpty && u /= DEmpty
       _ -> False
 
@@ -390,7 +649,8 @@
         middleOf (_, m, _) = m
         widest = \case
           [] -> []
-          runs -> maximumBy (comparing (spaceOf layout)) runs
+          runs -> maximumBy (comparing width) runs
+        width r = (spaceOf layout r, DDeclarationsStart `elem` r)
 
     peel ds =
       let (l, rest) = span breaking ds
@@ -399,14 +659,20 @@
 
     breaking = \case
       DDeclarationsStart -> True
-      DCat a b -> breaking a && breaking b
-      DNest _ d -> not (printsNothing d) && breaking d
+      Cat a b -> breaking a && breaking b
       DGroup _ d -> not (printsNothing d) && breaking d
-      d -> onlyBreaks d
+      d
+        | Just (w, x) <- unwrap d,
+          indenting w ->
+            not (printsNothing x) && breaking x
+        | otherwise -> onlyBreaks d
 
-    choice ds
-      | (d : _) <- mapMaybe (settledChoice ds) settledOthers = d
-    choice ds = case unsnoc ds of
+    choice layout ds
+      | (d : _) <- mapMaybe (settledChoice layout ds) settledOthers = d
+    choice _ ds
+      | all blank ds = fromMaybe mempty (find (not . printsNothing) ds)
+    choice layout ds = case unsnoc
+      (fmap (mconcat . separatorGlued layout . spine) ds) of
       Just (branches, fallback) ->
         Doc.cppChoice
           (filter (evidenced ds) conditionals)
@@ -414,20 +680,40 @@
           fallback
       Nothing -> mempty
 
-    settledChoice ds s = do
-      open' <- listToMaybe [d | (d, Nothing) <- zip ds (settledBranches s)]
-      (bs, e) <- case filter (not . onlySpacing) (spine open') of
-        [DCppChoice cs bs e] | settledConditional s `elem` cs -> Just (bs, e)
-        _ -> Nothing
-      let printed = maybe open' (\k -> maybe e snd (listToMaybe (drop k bs)))
-          printsAlike a b =
-            agree varied Broken a b || (printsNothing a && printsNothing b)
-      if and (zipWith (printsAlike . printed) (settledBranches s) ds)
-        then Just open'
-        else Nothing
+    settledChoice layout ds s =
+      listToMaybe
+        [ open'
+        | open' <- ds,
+          holds open',
+          and (zipWith (fits open') (settledBranches s) ds)
+        ]
+      where
+        fits open' ks d =
+          and
+            [ alike layout (inLines k open') (inLines k d)
+            | k <- maybe [Nothing] (fmap Just) ks
+            ]
+          where
+            inLines k =
+              fst . printedLines layout . spineAt layout . maybe id taking k
+        holds = \case
+          DCppChoice cs _ _ | settled cs -> True
+          d -> getAny (foldChildren (Any . holds) d)
+        taking k = \case
+          DCppChoice cs bs e
+            | settled cs -> maybe e snd (listToMaybe (drop k bs))
+          d -> mapChildren (taking k) d
+        settled = elem (settledConditional s)
 
+    asTaken ws k alternatives = fromMaybe alternatives $ do
+      s <- find ((`elem` ws) . settledConditional) settledOthers
+      let taking = fmap (maybe True (elem k)) (settledBranches s)
+      taken <- listToMaybe [a | (a, True) <- zip alternatives taking]
+      Just [if t then a else taken | (a, t) <- zip alternatives taking]
+
     evidenced ds c = case conditionalRange c of
-      Just (from, to) -> any (\(a, b) -> from < a && b < to) (concatMap printedFrom ds)
+      Just (from, to) ->
+        any (\(a, b) -> from < a && b < to) (concatMap printedFrom ds)
       Nothing -> False
 
 -- | The one element of a list that has one.
@@ -438,12 +724,14 @@
 
 -- | Would these two documents print the same, laid out like this?
 agree :: Varied -> Layout -> Doc -> Doc -> Bool
-agree varied layout a b
+agree varied layout a0 b0
   | lone a, lone b = agreeOn varied layout a b
   | otherwise = agreeAll varied layout (spineAt layout a) (spineAt layout b)
   where
+    a = unreferred a0
+    b = unreferred b0
     lone = \case
-      DCat{} -> False
+      Cat _ _ -> False
       DVariant{} -> False
       d -> not (onlySpacing d)
 
@@ -460,13 +748,21 @@
     (space', rest') = span onlySpacing ys
 
 -- | Would these two elements of spines print the same, laid out like this?
-agreeOn :: Varied -> Layout -> Doc -> Doc -> Bool
-agreeOn varied layout x y = case (x, y) of
+agreeOn ::
+  -- | The lines the answer can change.
+  Varied ->
+  -- | The layout of the group they are printed in.
+  Layout ->
+  -- | The first.
+  Doc ->
+  -- | The second.
+  Doc ->
+  Bool
+agreeOn varied layout x0 y0 = case (x, y) of
   (DLocated s x', DLocated t y') ->
     s == t
-      && ( untouched varied (spanWithHaddock s x')
-             && untouched varied (spanWithHaddock t y')
-             && not (zeroWidth s)
+      && ( untouchedRegion varied x
+             && untouchedRegion varied y
              || inside x' y'
          )
   (DCppChoice ws bs x', DCppChoice ws' cs y') ->
@@ -474,13 +770,72 @@
       && length bs == length cs
       && and [g == h && inside p q | ((g, p), (h, q)) <- zip bs cs]
       && inside x' y'
+  (DFence s x', DFence t y') -> meets s t && inside x' y'
   _ -> case (unwrap x, unwrap y) of
     (Just (w, x'), Just (v, y')) ->
-      w == v && agree varied (layoutInside layout w) x' y'
+      samePlacing w v && agree varied (layoutInside layout w) x' y'
     _ -> x == y
   where
     inside = agree varied layout
+    x = unreferred x0
+    y = unreferred y0
 
+-- | A part two configurations agree on, as the first prints it, also
+-- named as the second names it and each relation around it also naming
+-- the referents the second's names.
+aliased ::
+  -- | The first.
+  Doc ->
+  -- | The second.
+  Doc ->
+  Doc
+aliased x y = case (unwrap x, unwrap y) of
+  (Just (w@WIndented{}, x'), Just (v, y'))
+    | Just j <- joint [w, v] -> wrap j (aliased x' y')
+  (_, Just (WReferent k, y'))
+    | referentIn x /= Just k -> DReferent k (aliased x y')
+  _ -> x
+
+-- | A document less the marks that make it a referent, which print it as
+-- it is.
+unreferred :: Doc -> Doc
+unreferred = \case
+  DReferent _ d -> unreferred d
+  d -> d
+
+-- | Is this a region, or a choice another conditional makes, printed from
+-- lines the conditional left alone?
+untouchedRegion ::
+  -- | The lines the answer can change.
+  Varied ->
+  -- | The document.
+  Doc ->
+  Bool
+untouchedRegion varied = \case
+  DLocated s x -> untouched varied (spanWithHaddock s x)
+  d@DCppChoice{} -> maybe False (untouched varied) (regionOf d)
+  _ -> False
+
+-- | A choice, lined up as each of its alternatives is lined up where they
+-- all are alike.
+alignedOut ::
+  -- | The conditionals the alternatives were printed from.
+  [Conditional] ->
+  -- | The alternatives.
+  [(Text, Doc)] ->
+  -- | The else clause.
+  Doc ->
+  Doc
+alignedOut ws bs e = case traverse aligned (e : fmap snd bs) of
+  Just ((n, e') : rest)
+    | all ((== n) . fst) rest ->
+        DAligned n (Doc.cppChoice ws (zip (fmap fst bs) (fmap snd rest)) e')
+  _ -> Doc.cppChoice ws bs e
+  where
+    aligned = \case
+      DAligned n x -> Just (n, x)
+      _ -> Nothing
+
 -- | Is this document one choice, in nothing but wrappers?
 onlyChoice :: Doc -> Bool
 onlyChoice = \case
@@ -489,11 +844,29 @@
 
 -- | Does this document, laid out flat, print a choice before anything else?
 beginsWithChoice :: Doc -> Bool
-beginsWithChoice d = case filter (not . onlySpacing) (spineAt Flat d) of
-  DCppChoice{} : _ -> True
-  x : _ | Just (_, y) <- unwrap x -> beginsWithChoice y
-  _ -> False
+beginsWithChoice = isJust . leadingAlternatives
 
+-- | The alternatives of the choice this document, laid out flat, prints
+-- before anything else.
+leadingAlternatives :: Doc -> Maybe [Doc]
+leadingAlternatives d = case filter (not . onlySpacing) (spineAt Flat d) of
+  DCppChoice _ bs e : _ -> Just (e : fmap snd bs)
+  x : _ | Just (_, y) <- unwrap x -> leadingAlternatives y
+  _ -> Nothing
+
+-- | Where the innermost region holding the text this document, laid out
+-- flat, prints before anything else begins.
+printedFirstAt :: Doc -> Maybe Span
+printedFirstAt = go Nothing
+  where
+    go within d = case filter (not . onlySpacing) (spineAt Flat d) of
+      DText _ : _ -> startOf <$> within
+      x : _ | Just (w, y) <- unwrap x -> go (located w <|> within) y
+      _ -> Nothing
+    located = \case
+      WLocated s -> Just s
+      _ -> Nothing
+
 -- | A region's span, stretched over the span it prints first, which the
 -- Haddock of a constructor, a field or an argument is, written above or
 -- below it.
@@ -509,32 +882,43 @@
 data Space = Space !Int !Bool
   deriving (Eq, Ord)
 
--- | Read a run of space, the way 'Tilia.Doc.Internal.breakLine' does.
-spaceOf :: Layout -> [Doc] -> Space
-spaceOf layout = go 0 False False
+-- | Read a run of space, in the wrappers it is printed in, the way the
+-- engine prints it: line breaks in a row come to one, and a delimiter that
+-- keeps two declarations apart is one more, leaving an empty line after
+-- one.
+spaceOf ::
+  -- | The layout of the group it is printed in.
+  Layout ->
+  -- | The run.
+  [Doc] ->
+  Space
+spaceOf layout = go 0 False
   where
-    go ended closed apart = \case
-      [] -> Space (min 2 ended) (apart && ended == 0)
+    go ended apart = \case
+      [] -> Space ended (apart && ended == 0)
       d : ds -> case d of
-        DSpace -> go ended closed True ds
-        DCloseLine
-          | closed -> go ended closed apart ds
-          | otherwise -> go (ended + 1) True apart ds
-        DCloseLineUnlessAfterOpener _
-          | closed -> go ended closed apart ds
-          | otherwise -> go (ended + 1) True apart ds
-        DHardBreak -> broke ds
+        DSpace -> go ended True ds
+        DNewline -> go (max 1 ended) apart ds
         DBreak
-          | layout == Broken -> broke ds
-          | otherwise -> go ended closed True ds
-        DSoftBreak
-          | layout == Broken -> broke ds
-          | otherwise -> go ended closed apart ds
-        _ -> go ended closed apart ds
-        where
-          broke rest
-            | closed = go ended False apart rest
-            | otherwise = go (ended + 1) False apart rest
+          | layout == Broken -> go (max 1 ended) apart ds
+          | otherwise -> go ended True ds
+        DBreak'
+          | layout == Broken -> go (max 1 ended) apart ds
+          | otherwise -> go ended apart ds
+        DDeclDelimiter DeclSeparate
+          | layout == Broken -> go (min 2 (ended + 1)) apart ds
+          | otherwise -> go ended True ds
+        _
+          | Just wrapped <- unwrap d ->
+              go ended apart (resolved layout wrapped <> ds)
+          | otherwise -> go ended apart ds
+    resolved l (w, x) = concatMap printed (spineAt inside x)
+      where
+        inside = layoutInside l w
+        printed = \case
+          DBreak -> [if inside == Broken then DNewline else DSpace]
+          DBreak' -> [DNewline | inside == Broken]
+          d -> maybe [d] (resolved inside) (unwrap d)
 
 -- | Put several documents' differences from a baseline into one document.
 --
@@ -548,13 +932,14 @@
   [] -> Just base
   [(_, only)] -> Just only
   many -> case (spineAt layout base, [(v, spineAt layout d) | (v, d) <- many]) of
-    ([b], ss) | Just xs <- traverse (\(v, s) -> (,) v <$> sole s) ss -> descend b xs
+    ([b], ss)
+      | Just xs <- traverse (\(v, s) -> (,) v <$> sole s) ss -> descend b xs
     (bs, ss) -> spliced bs ss
   where
     descend b xs = do
-      own@(_, i) <- unwrap b
+      (own, i) <- unwrap b
       others <- traverse (traverse unwrap) xs
-      w <- joint (own : fmap snd others)
+      w <- joint (own : fmap (fst . snd) others)
       wrap w <$> combine (layoutInside layout w) i (fmap (fmap snd) others)
 
     spliced bs ss = do
@@ -625,15 +1010,19 @@
       [] -> Nothing
       ls -> Just (minimum (fmap fst ls))
 
--- | The wrapper standing for those of several documents, if each is of a
--- kind with the first: the smallest span covering theirs for a region, and
--- for a group broken if any that holds something is.
-joint :: [(Wrapper, Doc)] -> Maybe Wrapper
-joint wds = case fmap fst wds of
+-- | The wrapper standing for several, if each is of a kind with the first:
+-- the smallest span covering theirs for a region, for a group broken if any
+-- is, and for a relation one to the referents of all of them.
+joint :: [Wrapper] -> Maybe Wrapper
+joint = \case
   w : ws | all (kin w) ws -> Just $ case w of
     WLocated s -> WLocated (foldr (<>) s [t | WLocated t <- ws])
     WFence s -> WFence (foldr (<>) s [t | WFence t <- ws])
-    WGroup _ -> WGroup (if Broken `elem` layoutsOf wds then Broken else Flat)
+    WGroup _
+      | WGroup Broken `elem` (w : ws) -> WGroup Broken
+      | WGroup Frangible `elem` (w : ws) -> WGroup Frangible
+      | otherwise -> WGroup Flat
+    WIndented n _ -> WIndented n (mconcat (nub [s | WIndented _ s <- w : ws]))
     _ -> w
   _ -> Nothing
 
@@ -643,11 +1032,21 @@
   (WLocated s, WLocated t) -> meets s t
   (WFence s, WFence t) -> meets s t
   (WGroup _, WGroup _) -> True
-  _ -> a == b
+  _ -> samePlacing a b
 
--- | The layouts of the groups that hold something.
-layoutsOf :: [(Wrapper, Doc)] -> [Layout]
-layoutsOf wds = [l | (WGroup l, d) <- wds, not (printsNothing d)]
+-- | Do two wrappers place what they hold alike, the referents they name
+-- aside, which each configuration names by where it wrote them?
+samePlacing ::
+  -- | The first.
+  Wrapper ->
+  -- | The second.
+  Wrapper ->
+  Bool
+samePlacing a b = case (a, b) of
+  (WReferent _, WReferent _) -> True
+  (WIndented n _, WIndented m _) -> n == m
+  (WBracket x _, WBracket y _) -> x == y
+  _ -> a == b
 
 -- | A stretch of the baseline, and what one document put there instead.
 data Change = Change
@@ -666,10 +1065,13 @@
 -- | What one document changed about the baseline, as the stretches it
 -- replaced and what it put in each of their places.
 changesAgainst ::
+  -- | The lines the answer can change.
   Varied ->
   -- | Whether two elements print the same.
   (Doc -> Doc -> Bool) ->
+  -- | The baseline's elements.
   [Doc] ->
+  -- | The document's elements.
   [Doc] ->
   [Change]
 changesAgainst varied same bs xs =
@@ -751,7 +1153,11 @@
               DCppChoice ws bs e -> Just (before, ws, bs, e, after)
               _ -> do
                 (w, y) <- unwrap x
-                guard (w /= WAlign || begins && firstOnItsLine y)
+                guard
+                  ( not (aligning w)
+                      || beginsWithChoice y
+                      || begins && firstOnItsLine y
+                  )
                 around (wrap w) (alternatives w)
                   <$> go (layoutInside layout w) begins y
       _ -> Nothing
@@ -778,21 +1184,6 @@
   where
     (ps, _, cut) = partsOf layout Within xs
 
--- | Does this document print on one line, holding neither a line break nor
--- a choice?
-onOneLine :: Layout -> Doc -> Bool
-onOneLine layout = all single . spineAt layout
-  where
-    single x = case unwrap x of
-      Just (w, y) -> onOneLine (layoutInside layout w) y
-      Nothing -> case x of
-        DHardBreak -> False
-        DBreak -> layout == Flat
-        DSoftBreak -> layout == Flat
-        DVerbatimBreak{} -> False
-        DCppChoice{} -> False
-        _ -> True
-
 -- | A line less the wrappers that make no difference to it: a group around
 -- what does not depend on the layout, and a region around regions and
 -- nothing else, which say where the line was written already.
@@ -803,21 +1194,24 @@
   DFence _ d | onlyRegions d -> plain d
   d -> mapChildren plain d
   where
-    layoutFree = \case
-      DBreak -> False
-      DSoftBreak -> False
-      DVariant{} -> False
-      DCppChoice{} -> False
-      DGroup{} -> True
-      d -> getAll (foldChildren (All . layoutFree) d)
     onlyRegions d = isJust (regionOf d) && not (bare d)
     bare = \case
       DLocated{} -> False
       DFence{} -> False
       DText t -> not (T.null t)
-      DHoldBack{} -> True
       d -> getAny (foldChildren (Any . bare) d)
 
+-- | Does nothing this document prints depend on the layout of the group it
+-- is printed in?
+layoutFree :: Doc -> Bool
+layoutFree = \case
+  DBreak -> False
+  DBreak' -> False
+  DVariant{} -> False
+  DCppChoice{} -> False
+  DGroup{} -> True
+  d -> getAll (foldChildren (All . layoutFree) d)
+
 -- | Where a part of a run of documents begins.
 data PartStart
   = -- | On a line, after what the line already holds.
@@ -847,16 +1241,20 @@
       [] -> (reverse ls, place, cut)
       x : xs
         | Just (w, y) <- unwrap x,
-          w /= WCppMarginNote,
-          w /= WAlign || place == Between,
+          not (aligning w) || place == Between,
           let inside = layoutInside layout w,
           (ps, place', cut') <- partsOf inside place (spineAt inside y),
           length (filter (not . null) ps) > 1 ->
             walk
-              (onto (if w == WAlign then ps else wrapped w ps) ls)
+              (onto (if aligning w then ps else wrapped w ps) ls)
               (cut || cut' || length (filter (not . all blank) ps) > 1)
               place'
               xs
+        | place == Between,
+          a : more <- xs,
+          separatorSide a == Just LeadingSeparator,
+          emptyRegion x ->
+            walk ([x, a] : ls) cut Within more
         | printsNothing x || x == DSpace -> walk (onto [[x]] ls) cut place xs
         | opensWithBreak layout x,
           place == Between ->
@@ -890,6 +1288,33 @@
 writtenAt :: Doc -> Set Span
 writtenAt = foldRegions (\s _ -> Set.insert s)
 
+-- | A separator as it is written on the other side of the part it goes
+-- with.
+otherSide :: Doc -> Doc
+otherSide = \case
+  DSeparator LeadingSeparator l t -> DSeparator TrailingSeparator l t
+  DSeparator TrailingSeparator l t -> DSeparator LeadingSeparator l t
+  DIndented n a d -> DIndented n a (otherSide d)
+  DReferent k d -> DReferent k (otherSide d)
+  d -> d
+
+-- | A separator as it is written on this side of the part it goes with.
+onSide ::
+  -- | The side.
+  SeparatorSide ->
+  -- | The separator.
+  Doc ->
+  Doc
+onSide side d
+  | separatorSide d == Just side = d
+  | otherwise = otherSide d
+
+-- | Is this a region with nothing in it?
+emptyRegion :: Doc -> Bool
+emptyRegion = \case
+  DLocated _ x -> printsNothing x
+  _ -> False
+
 -- | Does this document print nothing but space and what ends a line?
 blank :: Doc -> Bool
 blank = all spacing . spine
@@ -902,29 +1327,39 @@
   x : _
     | Just (w, y) <- unwrap x -> opensWithBreak (layoutInside layout w) y
     | otherwise -> case x of
-        DHardBreak -> True
-        DCloseLine -> True
-        DCloseLineUnlessAfterOpener _ -> True
+        DNewline -> True
+        DDeclDelimiter DeclSeparate -> layout == Broken
         DBreak -> layout == Broken
-        DSoftBreak -> layout == Broken
+        DBreak' -> layout == Broken
         DCppDirective _ _ -> True
         DCppChoice{} -> True
         _ -> False
   [] -> False
 
+-- | Does a wrapper indent what it holds?
+indenting :: Wrapper -> Bool
+indenting = \case
+  WIndented{} -> True
+  _ -> False
+
+-- | Does a wrapper line what it holds up with the column it begins at?
+aligning :: Wrapper -> Bool
+aligning = \case
+  WAligned{} -> True
+  _ -> False
+
 -- | How much text this document holds, counting what a choice repeats once
 -- for each alternative that repeats it.
 weigh :: Layout -> Doc -> Int
 weigh layout = go
   where
     go = \case
-      DCat a b -> go a + go b
+      Cat a b -> go a + go b
       DVariant flatD brokenD ->
-        go (case layout of Flat -> flatD; Broken -> brokenD)
+        go (case layout of Broken -> brokenD; _ -> flatD)
       DCppChoice _ bs e -> sum (fmap (go . snd) bs) + go e
       DText t -> T.length t
       DCppDirective _ t -> T.length t
-      DHoldBack _ t -> T.length t
       d
         | Just (w, x) <- unwrap d -> weigh (layoutInside layout w) x
         | otherwise -> 0
@@ -966,20 +1401,22 @@
 -- | Could this element hold two spines together, if it turned up in both?
 anchoring :: Doc -> Bool
 anchoring = \case
-  DVerbatimBreak _ _ -> False
-  DText "," -> False
+  DSeparator{} -> False
+  DText "|" -> False
   DDeclarationsStart -> False
-  DNest _ d -> located d || not (blank d)
-  DAlign d -> located d || not (printsNothing d)
+  DIndented _ a d | namesOnly a -> located d || not (blank d)
+  DAligned _ d -> located d || not (blank d)
+  DReferent _ d -> located d || not (blank d)
   DGroup _ d -> located d || not (blank d)
   d -> not (onlySpacing d)
   where
     located = \case
       DLocated{} -> True
       DFence{} -> True
-      DCat a b -> located a || located b
-      DNest _ d -> located d
-      DAlign d -> located d
+      Cat a b -> located a || located b
+      DIndented _ _ d -> located d
+      DAligned _ d -> located d
+      DReferent _ d -> located d
       DGroup _ d -> located d
       _ -> False
 
diff --git a/src/Tilia/Cpp/Place.hs b/src/Tilia/Cpp/Place.hs
--- a/src/Tilia/Cpp/Place.hs
+++ b/src/Tilia/Cpp/Place.hs
@@ -1,39 +1,36 @@
 {-# LANGUAGE LambdaCase #-}
 {-# LANGUAGE OverloadedStrings #-}
+{-# LANGUAGE PatternSynonyms #-}
 
 -- | Placing elements that the configurations of a module do not print (CPP
 -- conditionals, directives, and comments).
 module Tilia.Cpp.Place
   ( CommentSummary,
     summarizeComments,
+    carriedBetween,
+    readDifferently,
     restoreUnprinted,
-    regionOf,
-    regionsIn,
-    foldRegions,
   )
 where
 
 import Control.Applicative ((<|>))
 import Control.Monad (foldM)
 import Data.Char (isSpace)
-import Data.List (sortOn, unsnoc)
+import Data.Foldable (traverse_)
+import Data.List (find, sortOn, unsnoc)
 import Data.Map.Strict (Map)
 import Data.Map.Strict qualified as Map
-import Data.Maybe (isNothing, listToMaybe, mapMaybe)
+import Data.Maybe (fromMaybe, isJust, isNothing, listToMaybe, mapMaybe)
 import Data.Monoid (Any (..))
 import Data.Ord (Down (..))
 import Data.Set (Set)
 import Data.Set qualified as Set
 import Data.Text (Text)
 import Data.Text qualified as T
+
 import Tilia.Comments
   ( Comment (..),
-    bracketed,
     commentPragma,
-    continuesHaddock,
-    holdsOff,
-    opensHaddock,
-    opensSectionHeading,
     transcendentComment,
   )
 import Tilia.Comments.Attach (Margin (..), attachScopedComments)
@@ -44,26 +41,44 @@
     Guard (..),
     allGroups,
     dSpan,
-    isDirective,
-    macroLines,
+    directives,
     opaqueDirectives,
     readConditionals,
   )
-import Tilia.Doc.Combinators (blankLine, hardBreak, includeWhen, indent)
-import Tilia.Doc.Internal
+import Tilia.Doc
   ( Conditional (..),
     Doc (..),
+    SeparatorSide (..),
     conditionalRange,
     foldChildren,
+    foldRegions,
     mapChildren,
     onlySpacing,
-    printsNothing,
+    referentIn,
+    regionOf,
+    separatorSide,
     spine,
     unwrap,
     wrap,
+    pattern Cat,
   )
-import Tilia.Source (Lines, Written (..), blankAt, lineAt, lineTexts, linesOf)
-import Tilia.Span (Span (..), mkSpan, startPoint)
+import Tilia.Doc.Combinators
+  ( DeclDelimiterStyle (..),
+    declDelimiter,
+    includeWhen,
+    newline,
+  )
+import Tilia.Source
+  ( Lines,
+    Written (..),
+    blankAt,
+    directiveWrittenOnLine,
+    isDirective,
+    lineAt,
+    lineTextsFrom,
+    linesOf,
+  )
+import Tilia.Span (Span (..), farRight, mkSpan, startPoint)
 
 -- | What the configurations of a module had besides their code.
 data CommentSummary = CommentSummary
@@ -71,8 +86,8 @@
     summaryLoose :: Map Span Comment,
     -- | Where every comment was written, whether a tree carries it or not.
     summaryComments :: Set Span,
-    -- | Where every Haddock that holds off a comment was written.
-    summaryHaddocks :: Set Span
+    -- | Where every Haddock a tree carries begins.
+    summaryCarried :: Set (Int, Int)
   }
 
 -- | What two sets of configurations found between them.
@@ -86,7 +101,7 @@
     CommentSummary
       { summaryLoose = Map.unionWith either' (summaryLoose a) (summaryLoose b),
         summaryComments = Set.union (summaryComments a) (summaryComments b),
-        summaryHaddocks = Set.union (summaryHaddocks a) (summaryHaddocks b)
+        summaryCarried = Set.union (summaryCarried a) (summaryCarried b)
       }
     where
       either' x y =
@@ -100,32 +115,62 @@
 
 -- | What one configuration found.
 summarizeComments ::
+  -- | Where the Haddocks its syntax tree carries begin.
+  [(Int, Int)] ->
   -- | The comments its syntax tree does not carry.
   [Comment] ->
   -- | Every comment in it.
   [Comment] ->
   CommentSummary
-summarizeComments loose every =
+summarizeComments carried loose every =
   CommentSummary
     { summaryLoose = Map.fromList [(commentSpan c, c) | c <- loose],
       summaryComments = Set.fromList (fmap commentSpan every),
-      summaryHaddocks = Set.fromList [commentSpan c | c <- every, holdsOff c]
+      summaryCarried = Set.fromList carried
     }
 
+-- | What was found, with the Haddocks a tree carries kept only between the
+-- lines given.
+carriedBetween ::
+  -- | The last line before them and the first line after them.
+  (Int, Int) ->
+  -- | What was found.
+  CommentSummary ->
+  CommentSummary
+carriedBetween (low, high) found =
+  found
+    { summaryCarried =
+        Set.filter (\(l, _) -> low < l && l < high) (summaryCarried found)
+    }
+
+-- | The line of the first Haddock that some configurations read and others
+-- ignore.
+readDifferently :: CommentSummary -> Maybe Int
+readDifferently found =
+  fst
+    <$> Set.lookupMin
+      ( Set.intersection
+          (summaryCarried found)
+          (Set.map startPoint (Map.keysSet (summaryLoose found)))
+      )
+
 -- | Put the conditionals, comments, opaque directives and macro lines back
 -- into the document the configurations were merged into.
 restoreUnprinted ::
   -- | The module as written.
   Text ->
+  -- | Its macro lines, which its configurations left out.
+  [(Int, Text)] ->
   -- | What its configurations found.
   CommentSummary ->
   -- | The document its configurations were merged into.
   Doc ->
   Either CppError Doc
-restoreUnprinted source found doc = do
+restoreUnprinted source macros found doc = do
   forest <- readConditionals source
+  traverse_ (Left . quotedDirective) . find (quoted . dLine) $
+    filter (not . inComment . dLine) (directives source)
   let groups = [gs | gs <- allGroups forest, not (inComment (fst (gsWhole gs)))]
-      scope = scopeIn (fmap gsConditional groups)
       notes =
         [ if any directiveAt [spanStartLine s + 1 .. spanEndLine s - 1]
             then transcendentComment written c
@@ -135,16 +180,15 @@
         ]
   let shelled = foldl (restoreConditional written) (widened doc) groups
       marked = spacedApart written (realized (widened shelled))
-      printed = Set.fromList (Nothing : fmap (scope . fst) (regionsIn marked))
-      noted =
-        attachScopedComments
-          margin
-          scope
-          (filter ((`Set.member` printed) . scope . commentSpan) notes)
-          marked
+      partial = partiallyPrinted writtenIn marked
+      writtenIn = scopeIn (fmap gsConditional groups)
+      scope s
+        | Set.member s partial = Nothing
+        | otherwise = Just (writtenIn s)
+      noted = attachScopedComments margin scope notes marked
       margin =
         Margin
-          { marginLine = isDirective,
+          { marginLine = (`directiveWrittenOnLine` written),
             marginComment = isNothing . commentPragma
           }
   directed <-
@@ -154,73 +198,23 @@
       (filter (not . inComment . dLine) (opaqueDirectives source))
   placed <-
     foldM
-      (putMacroLine written)
+      (putMacroLine written quoted)
       directed
       (filter (not . inComment . fst) macros)
-  pure $
-    keptApart
-      (summaryHaddocks found)
-      (Map.fromList [(commentSpan c, c) | c <- notes, not (bracketed c)])
-      placed
+  pure placed
   where
     written = linesOf (Written source)
-    macros = macroLines source
     directiveAt n =
       maybe False isDirective (lineAt n written) || any ((== n) . fst) macros
     inComment n =
       any
         (\s -> spanStartLine s < n && n < spanEndLine s)
         (summaryComments found)
-
--- | What was printed last, as far as two comments running into each other
--- goes.
-data Printed
-  = -- | Something that keeps them apart.
-    Apart
-  | -- | A Haddock written as @--@ lines.
-    AHaddock
-  | -- | A comment written as @--@ lines.
-    ANote
-  deriving (Eq)
-
--- | Put an empty line between a comment written as @--@ lines and a Haddock
--- written the same way wherever one comes out right under the other: under
--- a Haddock a comment would be read as more of it, and above one it is kept
--- apart from it.
-keptApart ::
-  -- | Where the Haddocks written as @--@ lines are.
-  Set Span ->
-  -- | The comments written as @--@ lines, by where they are.
-  Map Span Comment ->
-  Doc ->
-  Doc
-keptApart haddocks notes = snd . go Apart
-  where
-    go before = \case
-      DLocated s x
-        | Just c <- Map.lookup s notes ->
-            let under = before == AHaddock && continuesHaddock c
-             in (ANote, DLocated s (includeWhen under blankLine <> x))
-        | Set.member s haddocks ->
-            (AHaddock, DLocated s (includeWhen (before == ANote) blankLine <> snd (go Apart x)))
-      DText t
-        | "--" `T.isPrefixOf` t,
-          opensHaddock t,
-          not (opensSectionHeading t),
-          before == ANote ->
-            (Apart, blankLine <> DText t)
-      DCat a b ->
-        let (between, a') = go before a
-            (after, b') = go between b
-         in (after, DCat a' b')
-      DVariant a b -> DVariant (snd (go before a)) <$> go before b
-      d@DCppChoice{} -> (Apart, mapChildren (snd . go Apart) d)
-      d
-        | Just (w, x) <- unwrap d -> wrap w <$> go before x
-        | onlySpacing d || printsNothing d -> (before, d)
-        | otherwise -> (Apart, d)
+    quoted = quotedIn doc
+    quotedDirective d = DirectiveInQuotedText (dLine d) (dKeyword d)
 
--- | Widen every region to take in the conditionals printed inside it.
+-- | Widen every region to take in the choices printed inside it, each past
+-- the end of the last line it prints, after which comes its @#endif@.
 widened :: Doc -> Doc
 widened = fst . go
   where
@@ -230,10 +224,15 @@
       DCppChoice cs bs e ->
         let bs' = [(g, go d) | (g, d) <- bs]
             (e', c) = go e
-         in ( DCppChoice cs [(g, d) | (g, (d, _)) <- bs'] e',
-              foldMap conditionalSpan cs <> foldMap (snd . snd) bs' <> c
+            choice = DCppChoice cs [(g, x) | (g, (x, _)) <- bs'] e'
+         in ( choice,
+              pastTheEnd
+                <$> foldMap conditionalSpan cs
+                  <> foldMap (snd . snd) bs'
+                  <> c
+                  <> regionOf choice
             )
-      DCat a b ->
+      Cat a b ->
         let (a', ca) = go a
             (b', cb) = go b
          in (DCat a' b', ca <> cb)
@@ -242,9 +241,44 @@
         | Just (w, x) <- unwrap d -> let (x', c) = go x in (wrap w x', c)
         | otherwise -> (d, Nothing)
 
--- | The lines a conditional was written on, from its @#if@ to its @#endif@.
+-- | The regions a choice prints in some of its alternatives but not in
+-- all, written in a part of the module that holds one of its conditionals.
+--
+-- Such a region is printed in fewer configurations than the part of the
+-- module it was written in holds, so no comment goes next to it: whichever
+-- alternatives it is missing from would lose the comment.
+partiallyPrinted ::
+  -- | The part of the module a region was written in.
+  (Span -> Maybe (Int, Int)) ->
+  -- | The document.
+  Doc ->
+  Set Span
+partiallyPrinted writtenIn = go
+  where
+    go = \case
+      DCppChoice cs bs e ->
+        let alternatives = fmap snd bs <> [e]
+            held = fmap (foldRegions outside) alternatives
+            outside s _ inside
+              | holdsOne (writtenIn s) = Set.insert s inside
+              | otherwise = Set.empty
+            holdsOne = \case
+              Nothing -> True
+              Just (from, to) ->
+                any
+                  (\(a, b) -> from < a && b < to)
+                  (mapMaybe conditionalRange cs)
+         in Set.unions held
+              `Set.difference` foldl' Set.intersection (Set.unions held) held
+              <> foldMap go alternatives
+      d -> foldChildren go d
+
+-- | The lines a conditional was written on, from its @#if@ to its @#endif@,
+-- beginning left of the first column: a directive stays at the margin
+-- whatever the code's indentation, so nothing lines up with it.
 conditionalSpan :: Conditional -> Maybe Span
-conditionalSpan c = (\(from, to) -> mkSpan (from, 1) (to, 1)) <$> conditionalRange c
+conditionalSpan c =
+  (\(from, to) -> mkSpan (from, 0) (to, 1)) <$> conditionalRange c
 
 -- | The part of the module a region was written in: the innermost branch of
 -- a conditional holding all of it, or 'Nothing' for the module itself.
@@ -252,18 +286,27 @@
 -- A region is printed in exactly the configurations that take its branch,
 -- so this is also which configurations it is in, and a comment written in
 -- one branch goes only next to what that branch holds.
-scopeIn :: [Conditional] -> Span -> Maybe (Int, Int)
-scopeIn conditionals s =
+scopeIn ::
+  -- | The conditionals.
+  [Conditional] ->
+  -- | Where the region was written.
+  Span ->
+  Maybe (Int, Int)
+scopeIn conditionals = \s ->
   listToMaybe
-    ( sortOn
+    [ b
+    | b@(from, to) <- branches,
+      from < spanStartLine s,
+      spanEndLine s < to
+    ]
+  where
+    branches =
+      sortOn
         (Down . fst)
         [ (from, to)
         | ls <- fmap conditionalLines conditionals,
-          (from, to) <- zip ls (drop 1 ls),
-          from < spanStartLine s,
-          spanEndLine s < to
+          (from, to) <- zip ls (drop 1 ls)
         ]
-    )
 
 -- | Mark out every choice the merge made as the region of the input it was
 -- printed from, and give every branch of it something to hold on to.
@@ -278,7 +321,7 @@
 realized :: Doc -> Doc
 realized = \case
   DCppChoice cs bs e ->
-    let alternatives = unified (fmap realized (fmap snd bs <> [e]))
+    let alternatives = fmap realized (fmap snd bs <> [e])
         bs' =
           [ (g, anchoredIn cs k d)
           | (k, (g, d)) <- zip [0 ..] (zip (fmap fst bs) alternatives)
@@ -296,19 +339,33 @@
 pastTheEnd s = s{spanEndColumn = farRight}
 
 -- | Space two conditionals that come one right after the other as the
--- author spaced them.
-spacedApart :: Lines -> Doc -> Doc
+-- author spaced them, where a newline rather than a group's break keeps
+-- them apart.
+spacedApart ::
+  -- | The module as written.
+  Lines ->
+  -- | The document.
+  Doc ->
+  Doc
 spacedApart written = go
   where
     go = \case
-      d@(DCat _ _) -> mconcat (apart (fmap go (spine d)))
+      d@(Cat _ _) -> mconcat (apart (fmap go (spine d)))
       d -> mapChildren go d
     apart = \case
       x : rest
         | Just (_, to) <- ownLines x,
-          (_ : _, y : rest') <- span onlySpacing rest,
+          (spacing@(_ : _), y : rest') <- span onlySpacing rest,
           Just _ <- ownLines y ->
-            x : (if blankAt (to + 1) written then blankLine else hardBreak) : apart (y : rest')
+            x
+              : ( if blankAt (to + 1) written
+                    && any
+                      (`elem` [DNewline, DDeclDelimiter DeclSeparate])
+                      spacing
+                    then newline <> declDelimiter DeclSeparate
+                    else newline
+                )
+              : apart (y : rest')
       x : rest -> x : apart rest
       [] -> []
     ownLines = \case
@@ -319,48 +376,21 @@
             Just (spanStartLine s, spanEndLine s)
       _ -> Nothing
 
--- | Give the alternatives of a choice one span for every construct that
--- begins at the same place in more than one of them.
---
--- A choice that prints code written outside its conditionals prints it in
--- every alternative, and a construct with a conditional inside it can end
--- in a different place in each. It is one construct all the same, and a
--- comment written against it has to find it in every one of them.
-unified :: [Doc] -> [Doc]
-unified ds = fmap (rewrite Set.empty) ds
-  where
-    hulls =
-      Map.filter
-        ((> 1) . length)
-        (Map.fromListWith (<>) [(startPoint s, [s]) | d <- ds, s <- outermost d])
-    rewrite seen = \case
-      DLocated s x
-        | Set.notMember (startPoint s) seen,
-          Just ss <- Map.lookup (startPoint s) hulls ->
-            DLocated (foldr (<>) s ss) (rewrite (Set.insert (startPoint s) seen) x)
-        | otherwise -> DLocated s (rewrite (Set.insert (startPoint s) seen) x)
-      d@DCppChoice{} -> d
-      d -> mapChildren (rewrite seen) d
-    outermost = go Set.empty
-      where
-        go seen = \case
-          DLocated s x
-            | Set.member (startPoint s) seen -> go seen x
-            | otherwise -> s : go (Set.insert (startPoint s) seen) x
-          DCppChoice{} -> []
-          d -> foldChildren (go seen) d
-
 -- | Give one alternative of a choice its anchors.
 anchoredIn ::
   -- | The conditionals the choice was printed from.
   [Conditional] ->
   -- | Which alternative this is.
   Int ->
+  -- | The alternative.
   Doc ->
   Doc
 anchoredIn cs k d = foldl' anchor d (filter (here . fst) (concatMap anchors cs))
   where
-    anchor x (n, s) = placeAt (const False) Nothing n (DLocated s mempty) id x
+    anchor x (n, s) =
+      fromMaybe
+        (placeAt (const False) Nothing n (DLocated s mempty) (const id) x)
+        (beforeWrittenAfter (startPoint s) (DLocated s mempty) x)
     here n = case alternativeAt n cs of
       Everywhere -> True
       Only i -> i == k
@@ -374,38 +404,32 @@
             ]
       [] -> []
 
--- | A column past the end of any line, for an anchor that has to come after
--- everything written on its line.
-farRight :: Int
-farRight = maxBound `div` 2
-
--- | Every region a document records, and what it holds.
-regionsIn :: Doc -> [(Span, Doc)]
-regionsIn = foldRegions (\s d inside -> (s, d) : inside)
-
--- | Fold the regions a document records, giving each its span, what it
--- holds, and what the fold made of the regions inside it.
-foldRegions :: (Monoid m) => (Span -> Doc -> m -> m) -> Doc -> m
-foldRegions f = go
+-- | Put a document right before the first region another prints that was
+-- written after a point, inside whatever holds that region, if it prints
+-- one, as a comment above that region would be.
+beforeWrittenAfter ::
+  -- | The point.
+  (Int, Int) ->
+  -- | What to put there.
+  Doc ->
+  -- | The document to put it in.
+  Doc ->
+  Maybe Doc
+beforeWrittenAfter point body = go
   where
     go = \case
-      DLocated s d -> f s d (go d)
-      DFence s d -> f s d (go d)
-      d -> foldChildren go d
-{-# INLINE foldRegions #-}
-
--- | The smallest span covering the outermost regions a document records.
-regionOf :: Doc -> Maybe Span
-regionOf = \case
-  DLocated s _ -> Just s
-  DFence s _ -> Just s
-  d -> foldChildren regionOf d
+      d@(DLocated s x)
+        | startPoint s > point -> Just (body <> d)
+        | otherwise -> DLocated s <$> go x
+      Cat a b -> (`DCat` b) <$> go a <|> DCat a <$> go b
+      DVariant a b -> DVariant (fromMaybe (a <> body) (go a)) <$> go b
+      d -> unwrap d >>= \(w, x) -> wrap w <$> go x
 
 -- | Make sure a conditional is in the document, putting it where it was
 -- written if the merge left it out.
 restoreConditional :: Lines -> Doc -> GroupSpec -> Doc
 restoreConditional written doc gs =
-  placeAt realized' (Just written) opening shell id doc
+  placeAt realized' (Just written) opening shell (const id) doc
   where
     realized' ctx = any (all (`elem` ctx)) (realizations c doc)
     c = gsConditional gs
@@ -413,49 +437,83 @@
     guards = fmap guardText (gsGuards gs)
     shell =
       DCppChoice [c] [(g, mempty) | g <- guards] mempty
-        <> includeWhen (blankAt (closing + 1) written) blankLine
+        <> includeWhen
+          (blankAt (closing + 1) written)
+          (newline <> declDelimiter DeclSeparate)
 
 -- | Put a directive back where it was written.
 putDirective :: Lines -> Doc -> Directive -> Either CppError Doc
 putDirective written doc d
-  | quotedAt doc (dLine d) = Left (DirectiveInQuotedText (dLine d) (dKeyword d))
   | dKeyword d == "include",
     commaUnder written (dLastLine d) =
       Left (BeforeLeadingComma (dLine d) ("#" <> dText d))
-  | otherwise = Right (placeAt (const False) (Just written) (dLine d) body id doc)
+  | otherwise =
+      Right (placeAt (const False) (Just written) (dLine d) body (const id) doc)
   where
     body =
       DCppDirective (dSpan d) (dText d)
-        <> includeWhen (any (`blankAt` written) [dLastLine d, dLastLine d + 1]) blankLine
+        <> includeWhen
+          (any (`blankAt` written) [dLastLine d, dLastLine d + 1])
+          (newline <> declDelimiter DeclSeparate)
 
 -- | Put a line using a macro back where it was written, at the indentation
 -- of the code around it, since what it stands for is code.
-putMacroLine :: Lines -> Doc -> (Int, Text) -> Either CppError Doc
-putMacroLine written doc (n, t)
-  | quotedAt doc n = Left (MacroInQuotedText n t)
+putMacroLine ::
+  -- | The module as written.
+  Lines ->
+  -- | Is a line inside something the document reproduces verbatim?
+  (Int -> Bool) ->
+  -- | The document.
+  Doc ->
+  -- | The line, and what is written on it.
+  (Int, Text) ->
+  Either CppError Doc
+putMacroLine written quoted doc (n, t)
+  | quoted n = Left (MacroInQuotedText n t)
   | commaUnder written n = Left (BeforeLeadingComma n t)
-  | otherwise = Right (placeAt (const False) (Just written) n body indent doc)
+  | otherwise =
+      Right (placeAt (const False) (Just written) n (line id) nested doc)
   where
-    body =
-      DLocated (mkSpan (n, 1) (n, 1)) (DCloseLine <> DText t <> DCloseLine)
-        <> includeWhen (blankAt (n + 1) written) blankLine
+    nested following _ = line (nestedLike following)
+    line relations =
+      DLocated
+        (mkSpan (n, 1) (n, 1))
+        (DNewline <> relations (DText t) <> DNewline)
+        <> includeWhen
+          (blankAt (n + 1) written)
+          (newline <> declDelimiter DeclSeparate)
 
--- | Does the code under a line open with a comma, which the printer puts at
--- the end of the item above the line instead?
-commaUnder :: Lines -> Int -> Bool
-commaUnder written n = case dropWhile passed (drop n (lineTexts written)) of
+-- | Does the code under a line open with a comma, before which the line
+-- cannot be put back?
+commaUnder ::
+  -- | The module as written.
+  Lines ->
+  -- | The line.
+  Int ->
+  Bool
+commaUnder written n = case dropWhile passed (lineTextsFrom (n + 1) written) of
   l : _ -> T.isPrefixOf "," (T.stripStart l)
   [] -> False
   where
     passed l =
       T.all isSpace l || isDirective l || T.isPrefixOf "--" (T.stripStart l)
 
--- | Is this line inside something the document reproduces verbatim, such
--- as a quasi-quotation, where a line cannot be put back?
-quotedAt :: Doc -> Int -> Bool
-quotedAt doc n = any inside (regionsIn doc)
+-- | Is a line inside something the document reproduces verbatim, such as
+-- a quasi-quotation, where a line cannot be put back?
+quotedIn ::
+  -- | The document.
+  Doc ->
+  -- | The line.
+  Int ->
+  Bool
+quotedIn doc = \n -> any (\(from, to) -> from < n && n <= to) ranges
   where
-    inside (s, x) = spanStartLine s < n && n <= spanEndLine s && reproduced x
+    ranges =
+      foldRegions
+        ( \s x inner ->
+            [(spanStartLine s, spanEndLine s) | reproduced x] <> inner
+        )
+        doc
 
     reproduced = \case
       DVerbatimBreak _ _ -> True
@@ -477,22 +535,19 @@
   Int ->
   -- | What to put there.
   Doc ->
-  -- | How to put it before code printed further in, which carries on a line
-  -- above.
-  (Doc -> Doc) ->
+  -- | How to put it before the given code printed further in, which
+  -- carries on a line above.
+  (Doc -> Doc -> Doc) ->
+  -- | The document to put it in.
   Doc ->
   Doc
 placeAt present written n body continuing = among []
   where
     within ctx d = case d of
-      DNest k x -> DNest k (within ctx x)
-      DAlign x -> DAlign (within ctx x)
-      DGroup l x -> DGroup l (within ctx x)
       DVariant x y -> DVariant (within ctx x) (within ctx y)
       DLocated s x
         | spanStartLine s > n -> among ctx d
         | otherwise -> DLocated s (within ctx x)
-      DFence s x -> DFence s (within ctx x)
       DCppChoice cs bs e
         | present ctx -> d
         | otherwise -> case alternativeAt n cs of
@@ -505,27 +560,56 @@
               | k < length bs ->
                   DCppChoice
                     cs
-                    (replaced k (among (ctx <> [(cs, k)]) (maybe mempty snd (listToMaybe (drop k bs)))) bs)
+                    ( replaced
+                        k
+                        ( among
+                            (ctx <> [(cs, k)])
+                            (maybe mempty snd (listToMaybe (drop k bs)))
+                        )
+                        bs
+                    )
                     e
               | otherwise -> DCppChoice cs bs (among (ctx <> [(cs, k)]) e)
             Nowhere -> d
-      _ -> among ctx d
+      _
+        | Just (w, x) <- unwrap d -> wrap w (within ctx x)
+        | otherwise -> among ctx d
 
     among ctx d
       | present ctx = d
       | otherwise = case break startsAfter (spine d) of
           (before, after)
-            | Just (earlier, holder, spacing) <- lastBounded before,
+            | (front, holder : back) <- splitAt (writtenLast before) before,
               maybe False (>= n) (endOf holder) ->
-                mconcat (earlier <> [within ctx holder] <> spacing <> after)
+                mconcat (front <> [within ctx holder] <> back <> after)
             | (later, holder : rest) <- break holds after ->
                 mconcat (before <> later <> [within ctx holder] <> rest)
             | Just (printed, anchor, spacing) <- lastBounded before,
               Just from <- endOf anchor,
               Just ls <- written ->
-                if any (`blankAt` ls) [from .. n - 1] || not (all onlySpacing spacing)
-                  then mconcat (before <> [includeWhen (blankAt (n - 1) ls) blankLine, putBefore after] <> after)
-                  else mconcat (printed <> [anchor, putBefore (spacing <> after)] <> spacing <> after)
+                if any (`blankAt` ls) [from .. n - 1]
+                  || not (all onlySpacing spacing)
+                  then
+                    let (ahead, led) = break leads spacing
+                     in mconcat
+                          ( printed
+                              <> [anchor]
+                              <> ahead
+                              <> [ includeWhen
+                                     (blankAt (n - 1) ls)
+                                     (newline <> declDelimiter DeclSeparate),
+                                   putBefore (led <> after)
+                                 ]
+                              <> led
+                              <> after
+                          )
+                  else
+                    mconcat
+                      ( printed
+                          <> [anchor, putBefore (spacing <> after)]
+                          <> spacing
+                          <> after
+                      )
             | next : rest <- after,
               any (not . onlySpacing) (takeWhile unbounded (reverse before)) ->
                 mconcat (before <> [within ctx next] <> rest)
@@ -533,9 +617,14 @@
 
     putBefore following =
       if maybe False (> 0) (firstNesting (mconcat following))
-        then continuing body
+        then continuing (mconcat following) body
         else body
 
+    writtenLast ds =
+      case [(from, i) | (i, Just from) <- zip [0 ..] (fmap startOf ds)] of
+        [] -> length ds
+        starts -> snd (maximum starts)
+
     holds = \case
       DLocated s _ -> spanStartLine s < n && n <= spanEndLine s
       _ -> False
@@ -544,12 +633,17 @@
       DLocated s _ | spanStartColumn s == farRight -> spanStartLine s >= n
       x -> maybe False (> n) (startOf x)
 
-    lastBounded ds = case break (maybe False (const True) . boundsOf) (reverse ds) of
+    lastBounded ds = case break
+      (maybe False (const True) . boundsOf)
+      (reverse ds) of
       (spacing, x : earlier) -> Just (reverse earlier, x, reverse spacing)
       _ -> Nothing
 
-    replaced k x bs = [if i == k then (g, x) else (g, y) | (i, (g, y)) <- zip [0 :: Int ..] bs]
+    replaced k x bs =
+      [if i == k then (g, x) else (g, y) | (i, (g, y)) <- zip [0 :: Int ..] bs]
 
+    leads = (== Just LeadingSeparator) . separatorSide
+
     unbounded = isNothing . boundsOf
     startOf = fmap fst . boundsOf
     endOf = fmap snd . boundsOf
@@ -566,7 +660,10 @@
     go ctx = \case
       DCppChoice cs bs e ->
         [ctx | c `elem` cs]
-          <> concat [go (ctx <> [(cs, k)]) d | (k, d) <- zip [0 ..] (fmap snd bs <> [e])]
+          <> concat
+            [ go (ctx <> [(cs, k)]) d
+            | (k, d) <- zip [0 ..] (fmap snd bs <> [e])
+            ]
       d -> foldChildren (go ctx) d
 
 -- | Which alternatives of a choice a line of the input is printed in.
@@ -595,17 +692,36 @@
         n < to
       ]
 
--- | How many steps further in than itself a document prints its first
--- text, if it prints any.
+-- | How many columns further in than itself a document prints its first
+-- text, if it prints any, counting a step as two.
 firstNesting :: Doc -> Maybe Int
 firstNesting = \case
   DText _ -> Just 0
-  DCat a b -> firstNesting a <|> firstNesting b
-  DNest k x -> (+ k) <$> firstNesting x
+  Cat a b -> firstNesting a <|> firstNesting b
+  DIndented n a x | isJust (referentIn a) -> (+ 2 * n) <$> firstNesting x
+  DAligned n x -> (+ n) <$> firstNesting x
   DVariant _ x -> firstNesting x
   DCppChoice _ bs e -> foldr ((<|>) . firstNesting . snd) (firstNesting e) bs
   d -> firstNesting . snd =<< unwrap d
 
+-- | A document in the relations the first text of another is printed in.
+nestedLike ::
+  -- | The other document.
+  Doc ->
+  -- | The document.
+  Doc ->
+  Doc
+nestedLike = \case
+  Cat a b
+    | isJust (firstNesting a) -> nestedLike a
+    | otherwise -> nestedLike b
+  DIndented n a x | isJust (referentIn a) -> DIndented n a . nestedLike x
+  DAligned n x -> DAligned n . nestedLike x
+  DVariant _ x -> nestedLike x
+  DCppChoice _ bs e ->
+    nestedLike (fromMaybe e (find (isJust . firstNesting) (fmap snd bs)))
+  d -> maybe id (nestedLike . snd) (unwrap d)
+
 -- | The lines a document was printed from, first and last.
 boundsOf :: Doc -> Maybe (Int, Int)
 boundsOf = \case
@@ -617,7 +733,7 @@
       ( mapMaybe conditionalRange cs
           <> [b | Just b <- boundsOf e : fmap (boundsOf . snd) bs]
       )
-  DCat a b -> case (boundsOf a, boundsOf b) of
+  Cat a b -> case (boundsOf a, boundsOf b) of
     (Just (from, _), Just (_, to)) -> Just (from, to)
     (found, Nothing) -> found
     (Nothing, found) -> found
diff --git a/src/Tilia/Diff.hs b/src/Tilia/Diff.hs
--- a/src/Tilia/Diff.hs
+++ b/src/Tilia/Diff.hs
@@ -18,6 +18,7 @@
 import Data.Map.Strict qualified as Map
 import Data.Text (Text)
 import Data.Text qualified as T
+
 import Tilia.Palette (Color (..), Palette, paint)
 import Tilia.Utils (tshow)
 
@@ -27,6 +28,7 @@
 
 -- | A unified diff of two texts.
 diff ::
+  -- | Whether to color it.
   Palette ->
   -- | What to call the two sides.
   (Text, Text) ->
@@ -40,6 +42,7 @@
 -- | The whole of a unified diff of one file against its formatted self,
 -- headed the way @git diff@ heads one.
 diffInFull ::
+  -- | Whether to color it.
   Palette ->
   -- | The file, named as it was given on the command line.
   FilePath ->
@@ -63,6 +66,7 @@
 
 -- | A unified diff, with whatever heading the caller wants.
 unified ::
+  -- | Whether to color it.
   Palette ->
   -- | Whatever goes above the two file names.
   [Text] ->
@@ -107,16 +111,18 @@
           Removed -> paint palette Gone . ("-" <>)
           Added -> paint palette New . ("+" <>)
 
-    slice (from, to) = take (to - from + 1) (drop from lines')
+    slice (from, to) = fmap (numbered !) [from .. to]
 
     countingBefore = length . filter (\(Line m _ _ _) -> m /= Added)
     countingAfter = length . filter (\(Line m _ _ _) -> m /= Removed)
     beforeOf (Line _ b _ _) = b
     afterOf (Line _ _ a _) = a
 
-    hunks = merge [(max 0 (i - margin), min (total - 1) (i + margin)) | i <- changed]
+    hunks =
+      merge [(max 0 (i - margin), min (total - 1) (i + margin)) | i <- changed]
     changed = [i | (i, Line m _ _ _) <- zip [0 ..] lines', m /= Context]
     total = length lines'
+    numbered = listArray (0, total - 1) lines' :: Array Int Line
     lines' = tag (split before) (split after)
     split = unfoldr $ \t ->
       if T.null t
@@ -176,7 +182,8 @@
         (x, y) /= (aLo, bLo),
         (x, y) /= (aHi, bHi) =
           go aLo x bLo y (go x aHi y bHi rest)
-      | otherwise = replicate (aHi - aLo) Removed <> replicate (bHi - bLo) Added <> rest
+      | otherwise =
+          replicate (aHi - aLo) Removed <> replicate (bHi - bLo) Added <> rest
 
 -- | Put the removals of every run of changes before its additions.
 removalsFirst :: [Mark] -> [Mark]
@@ -185,7 +192,9 @@
   Context : rest -> Context : removalsFirst rest
   marks ->
     let (changes, rest) = break (== Context) marks
-     in filter (== Removed) changes <> filter (== Added) changes <> removalsFirst rest
+     in filter (== Removed) changes
+          <> filter (== Added) changes
+          <> removalsFirst rest
 
 -- | Both sequences of lines as numbers, equal where the lines are.
 interned :: [Text] -> [Text] -> (UArray Int Int, UArray Int Int)
@@ -243,7 +252,11 @@
         | k > d - bEnd = pure (Right (bStart, bEnd))
         | otherwise = do
             x0 <- furthest back d k
-            let x = slide (\i j -> as ! (aHi - 1 - i) == bs ! (bHi - 1 - j)) x0 (x0 - k)
+            let x =
+                  slide
+                    (\i j -> as ! (aHi - 1 - i) == bs ! (bHi - 1 - j))
+                    x0
+                    (x0 - k)
                 y = x - k
             writeArray back (offset + k) x
             if
@@ -251,7 +264,8 @@
               | y > m -> backwards d (k + 2) (bStart + 2) bEnd
               | even delta -> do
                   let o = offset + delta - k
-                  other <- if o >= 0 && o < size then readArray forth o else pure (-1)
+                  other <-
+                    if o >= 0 && o < size then readArray forth o else pure (-1)
                   if other /= -1 && other >= n - x
                     then pure (Left (aLo + other, bLo + other - (delta - k)))
                     else backwards d (k + 2) bStart bEnd
diff --git a/src/Tilia/Doc.hs b/src/Tilia/Doc.hs
--- a/src/Tilia/Doc.hs
+++ b/src/Tilia/Doc.hs
@@ -1,11 +1,276 @@
--- | Turning a printed document into source text.
+{-# LANGUAGE LambdaCase #-}
+{-# LANGUAGE OverloadedStrings #-}
+{-# LANGUAGE PatternSynonyms #-}
+{-# LANGUAGE ViewPatterns #-}
+
+-- | Documents: what they hold, and turning them into source text.
 module Tilia.Doc
-  ( Doc,
+  ( Doc (..),
+    LineStart (..),
+    TrailingWhitespace (..),
+    Layout (..),
+    SeparatorSide (..),
+    BracketSide (..),
+    DeclDelimiterStyle (..),
+    CommentPlacement (..),
+    Spill (..),
+    Conditional (..),
+    conditionalRange,
     printDoc,
+    separatorSide,
+    printsNothing,
+    namesOnly,
+    referentIn,
+    pattern Cat,
+    printsOnOneLine,
+    choosing,
+    foldChildren,
+    foldlChildren',
+    mapChildren,
+    regionsIn,
+    foldRegions,
+    regionOf,
+    spine,
+    spineAt,
+    printedFrom,
+    onlySpacing,
+    onlyBreaks,
+    edgeTexts,
+    Wrapper (..),
+    unwrap,
+    wrap,
+    layoutInside,
   )
 where
 
+import Data.Maybe (mapMaybe)
+import Data.Monoid (Any (..))
+import Data.Text (Text)
+import Data.Text qualified as T
+
 import Tilia.Doc.Internal
-  ( Doc,
+  ( BracketSide (..),
+    CommentPlacement (..),
+    Conditional (..),
+    DeclDelimiterStyle (..),
+    Doc (..),
+    Layout (..),
+    LineStart (..),
+    SeparatorSide (..),
+    Spill (..),
+    TrailingWhitespace (..),
+    Wrapper (..),
+    conditionalRange,
+    layoutInside,
+    namesOnly,
     printDoc,
+    printsNothing,
+    referentIn,
+    unwrap,
+    wrap,
   )
+import Tilia.Span (Span, spanEndLine, spanStartLine)
+
+-- | The side a separator, in the indentation it was written in or named as
+-- a referent, is written on.
+separatorSide :: Doc -> Maybe SeparatorSide
+separatorSide = \case
+  DSeparator s _ _ -> Just s
+  DIndented _ _ d -> separatorSide d
+  DReferent _ d -> separatorSide d
+  _ -> Nothing
+
+-- | Does this document print on one line, holding neither a line break nor
+-- a choice?
+printsOnOneLine ::
+  -- | The layout of the group it is printed in.
+  Layout ->
+  -- | The document.
+  Doc ->
+  Bool
+printsOnOneLine layout = \case
+  DCat a b -> printsOnOneLine layout a && printsOnOneLine layout b
+  DIndented _ a b -> printsOnOneLine layout a && printsOnOneLine layout b
+  DVariant flatD brokenD ->
+    printsOnOneLine layout (case layout of Broken -> brokenD; _ -> flatD)
+  DNewline -> False
+  DBreak -> layout /= Broken
+  DBreak' -> layout /= Broken
+  DVerbatimBreak{} -> False
+  DCppChoice{} -> False
+  x ->
+    maybe True (\(w, y) -> printsOnOneLine (layoutInside layout w) y) (unwrap x)
+
+-- | Is there a choice anywhere in this document?
+choosing :: Doc -> Bool
+choosing = getAny . go
+  where
+    go = \case
+      DCppChoice{} -> Any True
+      d -> foldChildren go d
+
+-- | Combine what a function makes of each document directly inside this
+-- one, a variant's broken layout standing for the variant.
+foldChildren ::
+  Monoid m =>
+  -- | What to make of each document inside.
+  (Doc -> m) ->
+  -- | The document.
+  Doc ->
+  m
+foldChildren f = \case
+  DCat a b -> f a <> f b
+  DIndented _ a b | not (namesOnly a) -> f a <> f b
+  DVariant _ d -> f d
+  DCppChoice _ bs e -> foldr ((<>) . f . snd) (f e) bs
+  d -> maybe mempty (f . snd) (unwrap d)
+{-# INLINE foldChildren #-}
+
+-- | 'foldChildren' as a strict left fold, which threads what it makes
+-- through the documents inside in the order they are printed.
+foldlChildren' ::
+  -- | What to make of a document inside, given what was made before it.
+  (a -> Doc -> a) ->
+  -- | What there is before the first document inside.
+  a ->
+  -- | The document.
+  Doc ->
+  a
+foldlChildren' f z = \case
+  DCat a b -> let !z' = f z a in f z' b
+  DIndented _ a b | not (namesOnly a) -> let !z' = f z a in f z' b
+  DVariant _ d -> f z d
+  DCppChoice _ bs e -> let !z' = foldl' (\acc -> f acc . snd) z bs in f z' e
+  d -> maybe z (f z . snd) (unwrap d)
+{-# INLINE foldlChildren' #-}
+
+-- | Rewrite the documents directly inside this one, both layouts of a
+-- variant included.
+mapChildren ::
+  -- | How to rewrite each document inside.
+  (Doc -> Doc) ->
+  -- | The document.
+  Doc ->
+  Doc
+mapChildren f = \case
+  DCat a b -> f a <> f b
+  DIndented n a b | not (namesOnly a) -> DIndented n (f a) (f b)
+  DVariant a b -> DVariant (f a) (f b)
+  DCppChoice cs bs e -> DCppChoice cs [(g, f d) | (g, d) <- bs] (f e)
+  d -> maybe d (\(w, x) -> wrap w (f x)) (unwrap d)
+{-# INLINE mapChildren #-}
+
+-- | Every region a document records, and what it holds.
+regionsIn :: Doc -> [(Span, Doc)]
+regionsIn = foldRegions (\s d inside -> (s, d) : inside)
+
+-- | Fold the regions a document records, giving each its span, what it
+-- holds, and what the fold made of the regions inside it.
+foldRegions ::
+  Monoid m =>
+  -- | What to make of a region, given what was made of those inside it.
+  (Span -> Doc -> m -> m) ->
+  -- | The document.
+  Doc ->
+  m
+foldRegions f = go
+  where
+    go = \case
+      DLocated s d -> f s d (go d)
+      DFence s d -> f s d (go d)
+      d -> foldChildren go d
+{-# INLINE foldRegions #-}
+
+-- | The smallest span covering the outermost regions a document records.
+regionOf :: Doc -> Maybe Span
+regionOf = \case
+  DLocated s _ -> Just s
+  DFence s _ -> Just s
+  d -> foldChildren regionOf d
+
+-- | A document that prints one document and then another: a
+-- concatenation, or a relation printing the part it measures from, as that
+-- part and the relation left with only the name of its referent.
+pattern Cat :: Doc -> Doc -> Doc
+pattern Cat a b <- (halves -> Just (a, b))
+
+-- | The two documents a document prints one after the other, if it does.
+halves :: Doc -> Maybe (Doc, Doc)
+halves = \case
+  DCat a b -> Just (a, b)
+  DIndented n a b
+    | not (namesOnly a) ->
+        Just
+          (a, DIndented n (maybe mempty (`DReferent` mempty) (referentIn a)) b)
+  _ -> Nothing
+
+-- | A document as the sequence of things it concatenates.
+spine :: Doc -> [Doc]
+spine = \case
+  DEmpty -> []
+  Cat a b -> spine a <> spine b
+  d -> [d]
+
+-- | 'spine', with the variants resolved the way this layout will print them.
+spineAt ::
+  -- | The layout of the group it is printed in.
+  Layout ->
+  -- | The document.
+  Doc ->
+  [Doc]
+spineAt layout = \case
+  DEmpty -> []
+  Cat a b -> spineAt layout a <> spineAt layout b
+  DVariant flatD brokenD ->
+    spineAt layout (case layout of Broken -> brokenD; _ -> flatD)
+  d -> [d]
+
+-- | The lines of the input a document holds something printed from, as far
+-- down as there is anything.
+printedFrom :: Doc -> [(Int, Int)]
+printedFrom = \case
+  DLocated s x -> (spanStartLine s, spanEndLine s) : printedFrom x
+  DFence s x -> (spanStartLine s, spanEndLine s) : printedFrom x
+  d@(DCppChoice cs _ _) ->
+    mapMaybe conditionalRange cs <> foldChildren printedFrom d
+  d -> foldChildren printedFrom d
+
+-- | Nothing but the whitespace that separates one thing from the next.
+onlySpacing :: Doc -> Bool
+onlySpacing d = d == DSpace || onlyBreaks d
+
+-- | The texts a document may print first, or last, counting each layout of
+-- a variant and each branch of a choice, with a space or a break as @\" \"@
+-- and an empty text for printing nothing.
+edgeTexts ::
+  -- | The edge: the opening one for the first text, the closing one for the
+  -- last.
+  BracketSide ->
+  -- | The document.
+  Doc ->
+  [Text]
+edgeTexts side = \case
+  DText t -> [t]
+  DSpace -> [" "]
+  DBreak -> [" "]
+  DCat a b -> inOrder a b
+  DIndented _ a b | not (namesOnly a) -> inOrder a b
+  DVariant flatD brokenD -> go flatD <> go brokenD
+  DCppChoice _ bs e -> foldMap (go . snd) bs <> go e
+  d -> maybe [""] (go . snd) (unwrap d)
+  where
+    go = edgeTexts side
+    inOrder a b = case side of
+      OpeningBracket -> past (go a) (go b)
+      ClosingBracket -> past (go b) (go a)
+    past xs ys = filter (not . T.null) xs <> if any T.null xs then ys else []
+
+-- | Nothing but what ends a line, in a broken group at least.
+onlyBreaks :: Doc -> Bool
+onlyBreaks = \case
+  DEmpty -> True
+  DBreak -> True
+  DBreak' -> True
+  DNewline -> True
+  DDeclDelimiter _ -> True
+  _ -> False
diff --git a/src/Tilia/Doc/Body.hs b/src/Tilia/Doc/Body.hs
deleted file mode 100644
--- a/src/Tilia/Doc/Body.hs
+++ /dev/null
@@ -1,21 +0,0 @@
--- | The bodies of enclosing constructs, and how each joins what comes
--- before it.
-module Tilia.Doc.Body
-  ( Body (..),
-    attachBody,
-  )
-where
-
-import Tilia.Doc.Combinators
-
--- | Something that can appear as the body of an enclosing construct.
-class Body a where
-  -- | Print it.
-  printBody :: a -> Doc
-
-  -- | Whether it absorbs its own line break.
-  bodyPlacement :: a -> Placement
-
--- | Print a body and join it to whatever precedes it.
-attachBody :: (Body a) => a -> Doc
-attachBody x = attach (bodyPlacement x) (printBody x)
diff --git a/src/Tilia/Doc/Combinators.hs b/src/Tilia/Doc/Combinators.hs
--- a/src/Tilia/Doc/Combinators.hs
+++ b/src/Tilia/Doc/Combinators.hs
@@ -9,13 +9,13 @@
     -- * Atoms
     txt,
     space,
-    breakOrSpace,
-    breakOrNothing,
-    hardBreak,
-    blankLine,
+    break,
+    break',
+    newline,
+    DeclDelimiterStyle (..),
+    declDelimiter,
     LineStart (..),
     TrailingWhitespace (..),
-    verbatimBreak,
     verbatimLines,
     verbatim,
     emptyAnchor,
@@ -26,7 +26,10 @@
     Layout (..),
     flat,
     broken,
+    frangible,
+    infrangible,
     variant,
+    commentEndingTheLine,
     located,
     unclaimed,
     fence,
@@ -37,35 +40,42 @@
     attach,
 
     -- * Indentation
-    nest,
+    ref,
+    refAt,
     indent,
+    (>+>),
+    ptr,
     align,
-    cppMarginNote,
 
     -- * Combining
-    hsep,
-    vsep,
     sepBy,
     joinedBy,
 
     -- * Wrapping
-    ClosingIndent (..),
     parens,
-    parensWith,
-    brackets,
-    bracketsWith,
-    braces,
-    bananaWith,
-    unboxed,
-    unboxedWith,
+    openingAt,
+    closingAt,
+    bracketWith,
+    commaBracketWith,
+    spacedBracket,
     backticks,
 
     -- * Punctuation
+    CommaStyle (..),
     comma,
+    trailing,
+    leading,
+    leadingBar,
+    leadingDot,
+    leadingOperator,
+    separatingComma,
+    separatingSemicolon,
     commaSep,
-    semi,
+    commaWidth,
+    commaSepUnderFirst,
+    commaSepAfter,
 
-    -- * Conditionals
+    -- * Inclusion
     includeWhen,
     includeUnless,
   )
@@ -74,23 +84,31 @@
 import Data.List (intersperse)
 import Data.Text (Text)
 import Data.Text qualified as T
-import Tilia.Doc.Internal
-  ( Conditional (..),
+import Prelude hiding (break)
+
+import Tilia.Doc
+  ( BracketSide (..),
+    CommentPlacement (..),
+    Conditional (..),
+    DeclDelimiterStyle (..),
     Doc (..),
     Layout (..),
     LineStart (..),
+    SeparatorSide (..),
     TrailingWhitespace (..),
     mapChildren,
     printsNothing,
+    regionOf,
   )
-import Tilia.Span (Span, endOf)
+import Tilia.Settings (CommaStyle (..))
+import Tilia.Span (Span, endOf, startOf)
 
 ----------------------------------------------------------------------------
 -- Atoms
 
 -- | A literal fragment of output.
 --
--- The argument must not contain a line break; use 'hardBreak'. This is for
+-- The argument must not contain a line break; use 'newline'. This is for
 -- keywords, punctuation and names—anything whose spelling is fixed.
 txt :: Text -> Doc
 txt = DText
@@ -103,33 +121,37 @@
 -- | A place the line may break. It becomes a line break if the enclosing
 -- group is broken, and a space if it is flat. This is the workhorse: it
 -- is what lets one printer serve both layouts.
-breakOrSpace :: Doc
-breakOrSpace = DBreak
+break :: Doc
+break = DBreak
 
 -- | A place the line may break, leaving nothing behind if it does not. For
 -- the positions where the two layouts differ by a break rather than by a
 -- space, such as immediately inside a bracket.
-breakOrNothing :: Doc
-breakOrNothing = DSoftBreak
-
--- | A line break, whatever the enclosing group decided.
-hardBreak :: Doc
-hardBreak = DHardBreak
+break' :: Doc
+break' = DBreak'
 
--- | An empty line.
-blankLine :: Doc
-blankLine = hardBreak <> hardBreak
+-- | The start of a new line, whatever the enclosing group decided; no
+-- number of them in a row leaves an empty line.
+newline :: Doc
+newline = DNewline
 
--- | A line break between two lines of text that is being reproduced.
---
--- Only for text that is being reproduced rather than laid out: the lines of
--- a block comment, of a multi-line string literal, of a quasi-quotation.
-verbatimBreak :: LineStart -> TrailingWhitespace -> Doc
-verbatimBreak = DVerbatimBreak
+-- | The boundary between two declarations, which leaves an empty line
+-- between them where it keeps them apart.
+declDelimiter :: DeclDelimiterStyle -> Doc
+declDelimiter = DDeclDelimiter
 
--- | Lines of text reproduced, each break between them a 'verbatimBreak'.
-verbatimLines :: LineStart -> TrailingWhitespace -> [Text] -> Doc
-verbatimLines start trailing = sepBy (verbatimBreak start trailing) . fmap txt
+-- | Lines of text reproduced rather than laid out: the lines of a block
+-- comment, of a multi-line string literal, of a quasi-quotation.
+verbatimLines ::
+  -- | Where each line after the first begins.
+  LineStart ->
+  -- | What to do with the whitespace each line ends in.
+  TrailingWhitespace ->
+  -- | The lines.
+  [Text] ->
+  Doc
+verbatimLines start whitespace =
+  sepBy (DVerbatimBreak start whitespace) . fmap txt
 
 -- | Text reproduced exactly, line breaks and all.
 verbatim :: Text -> Doc
@@ -160,6 +182,18 @@
 broken :: Doc -> Doc
 broken = DGroup Broken
 
+-- | Lay a document out flat where it fits within the column limit, and
+-- broken where it does not.
+frangible :: Doc -> Doc
+frangible = DGroup Frangible
+
+-- | Lay every 'Frangible' group of a document out flat, as it was written,
+-- wherever it would run past the column limit.
+infrangible :: Doc -> Doc
+infrangible = \case
+  DGroup Frangible d -> DGroup Flat (infrangible d)
+  d -> mapChildren infrangible d
+
 -- | Choose according to the layout the enclosing group settled on.
 --
 -- Reach for this only when the two layouts differ by more than where the
@@ -172,6 +206,15 @@
   Doc
 variant = DVariant
 
+-- | A comment that ends its line, as a Haddock written as a @--@ line does.
+commentEndingTheLine ::
+  -- | Where it was written.
+  Span ->
+  -- | The comment.
+  Doc ->
+  Doc
+commentEndingTheLine = DComment EndsTheLine
+
 -- | Record where the output is coming from in the input.
 --
 -- This has no effect on layout. It is provenance, kept so that later
@@ -186,10 +229,15 @@
   DLocated _ d -> unclaimed d
   d -> mapChildren unclaimed d
 
--- | Fence prevents comments inside from floating out and attaching to
--- elements they are not supposed to attach to.
-fence :: Span -> Doc -> Doc
-fence = DFence
+-- | Keep the comments inside a region from floating out of it and
+-- attaching to anything outside.
+fence ::
+  -- | The region, if there is one.
+  Maybe Span ->
+  -- | The document printed from it.
+  Doc ->
+  Doc
+fence = maybe id DFence
 
 -- | Alternatives the preprocessor chooses between.
 cppChoice ::
@@ -214,50 +262,85 @@
 
 -- | Whether a construct absorbs its own line break.
 data Placement
-  = -- | The preceding construct breaks and indents.
+  = -- | The construct begins a line of its own where the layout breaks.
     Normal
   | -- | The construct is handed the rest of the line and breaks itself.
     Hanging
   deriving (Eq, Show)
 
--- | Join a body to whatever precedes it, according to its 'Placement'.
-attach :: Placement -> Doc -> Doc
+-- | A body after the part it is placed relative to, joined to it according
+-- to its 'Placement'.
+attach ::
+  -- | How the body is joined.
+  Placement ->
+  -- | The body.
+  Doc ->
+  Doc
 attach Hanging body = space <> body
-attach Normal body = breakOrSpace <> indent body
+attach Normal body = break <> body
 
 ----------------------------------------------------------------------------
 -- Indentation
 
--- | Indent by the given number of steps, relative to the current level.
-nest :: Int -> Doc -> Doc
-nest = DNest
+-- | A referent that 'indent' measures from, identified by the regions it
+-- holds.
+ref :: Doc -> Doc
+ref = \case
+  a@DReferent{} -> a
+  a -> DReferent (referentOf a) a
 
--- | Indent by one step.
-indent :: Doc -> Doc
-indent = DNest 1
+-- | 'ref' for a part holding no region, such as a keyword the comments
+-- around it do not attach to, identified by where it was written.
+refAt :: Maybe Span -> Doc -> Doc
+refAt = DReferent
 
+-- | A referent that prints nothing but shares an identity with a part that
+-- is printed elsewhere.
+ptr :: Doc -> Doc
+ptr a = DReferent (referentOf a) mempty
+
+-- | What a part is named by as a 'ref': the regions it holds.
+referentOf :: Doc -> Maybe Span
+referentOf = \case
+  DReferent k _ -> k
+  a -> regionOf a
+
+-- | Print the first part, then the second indented by this many steps in
+-- relation to the referent in the first part.
+indent ::
+  -- | The steps.
+  Int ->
+  -- | The first part.
+  Doc ->
+  -- | The second part.
+  Doc ->
+  Doc
+indent n a = \case
+  DEmpty
+    | printsNothing a -> DEmpty
+    | otherwise -> ref a
+  b -> DIndented n (ref a) b
+
+infixr 5 >+>
+
+-- | 'indent' by one step.
+(>+>) ::
+  -- | The first part.
+  Doc ->
+  -- | The second part.
+  Doc ->
+  Doc
+(>+>) = indent 1
+
 -- | Indent to the column the line has already reached, so that a broken
 -- construct lines up under its own beginning rather than under the start of
 -- the line.
 align :: Doc -> Doc
-align = DAlign
-
--- | Start the enclosed document's lines at the margin if they come out
--- right above a preprocessor directive.
-cppMarginNote :: Doc -> Doc
-cppMarginNote = DCppMarginNote
+align = DAligned 0
 
 ----------------------------------------------------------------------------
 -- Combining
 
--- | Concatenate, separated by 'space'.
-hsep :: [Doc] -> Doc
-hsep = sepBy space
-
--- | Concatenate, separated by 'hardBreak'.
-vsep :: [Doc] -> Doc
-vsep = sepBy hardBreak
-
 -- | Concatenate, separated by the given document.
 sepBy :: Doc -> [Doc] -> Doc
 sepBy s = mconcat . intersperse s
@@ -265,21 +348,17 @@
 -- | The token that joins two parts of a construct: a space, the token, and
 -- then the place the line may break.
 joinedBy :: Text -> Doc
-joinedBy t = space <> txt t <> breakOrSpace
+joinedBy t = trailing (txt t) <> break
 
 ----------------------------------------------------------------------------
 -- Wrapping
 
--- | Where the closing bracket of a broken bracket pair goes.
-data ClosingIndent
-  = -- | Back out to the level the opening bracket is on.
-    Outdented
-  | -- | Kept one step in.
-    Indented
-  deriving (Eq, Show)
-
 -- | Surround with a bracket pair that opens up when broken.
-bracket ::
+bracketWith ::
+  -- | How many steps in from the opening bracket the closing one goes.
+  Int ->
+  -- | Where the brackets were written.
+  (Maybe Span, Maybe Span) ->
   -- | Opening bracket.
   Text ->
   -- | Closing bracket.
@@ -287,24 +366,36 @@
   -- | Body.
   Doc ->
   Doc
-bracket = bracketWith Outdented
+bracketWith = commaBracketWith TrailingCommas
 
--- | 'bracket', with a say in where the closing bracket goes.
-bracketWith ::
-  -- | Where the closing bracket goes.
-  ClosingIndent ->
+-- | A bracket pair around items separated by 'commaSep' in the given style,
+-- lined up after the opening bracket, or with leading commas under the first
+-- item where the closing bracket goes a step in, since there no line may
+-- begin at the bracket's column.
+commaBracketWith ::
+  -- | Where the commas go.
+  CommaStyle ->
+  -- | How many steps in from the opening bracket the closing one goes.
+  Int ->
+  -- | Where the brackets were written.
+  (Maybe Span, Maybe Span) ->
   -- | Opening bracket.
   Text ->
   -- | Closing bracket.
   Text ->
-  -- | Body.
+  -- | The items, separated.
   Doc ->
   Doc
-bracketWith closing open close body =
+commaBracketWith commas closing (o, c) open close body =
   align $
-    txt open
-      <> variant body (space <> align body <> hardBreak)
-      <> nest (closingSteps closing) (txt close)
+    opener
+      <> variant body (space <> linedUp body <> newline)
+      <> indent closing (ptr opener) (closingAt c close)
+  where
+    opener = openerOf body (openingAt o open)
+    linedUp = DAligned $ case commas of
+      LeadingCommas | closing > 0 -> commaWidth commas
+      _ -> 0
 
 -- | Surround with a bracket pair whose brackets are held off the body.
 --
@@ -313,8 +404,13 @@
 -- an operator beginning with @#@ would lex as part of the bracket. Broken,
 -- the body goes on its own indented lines.
 spacedBracket ::
-  -- | Where the closing bracket goes.
-  ClosingIndent ->
+  -- | How many columns past a step a broken body goes, for the commas
+  -- leading its lines.
+  Int ->
+  -- | How many steps in from the opening bracket the closing one goes.
+  Int ->
+  -- | Where the brackets were written.
+  (Maybe Span, Maybe Span) ->
   -- | Opening bracket.
   Text ->
   -- | Closing bracket.
@@ -322,69 +418,54 @@
   -- | Body.
   Doc ->
   Doc
-spacedBracket closing open close body =
+spacedBracket columns closing (o, c) open close body =
   align $
-    txt open
-      <> variant (space <> body <> space) (hardBreak <> indent body <> hardBreak)
-      <> nest (closingSteps closing) (txt close)
-
-closingSteps :: ClosingIndent -> Int
-closingSteps = \case
-  Outdented -> 0
-  Indented -> 1
-
--- | @(@ and @)@.
-parens :: Doc -> Doc
-parens = bracket "(" ")"
+    opener
+      <> variant
+        (space <> body <> space)
+        ( newline
+            <> indent 1 (ptr opener) (DAligned columns body)
+            <> newline
+        )
+      <> indent closing (ptr opener) (closingAt c close)
+  where
+    opener = openerOf body (openingAt o open)
 
--- | @(@ and @)@, with a say in where the closing bracket goes.
-parensWith ::
-  -- | Where the closing parenthesis goes.
-  ClosingIndent ->
-  -- | Body.
+-- | An opening bracket, a 'ref' named by the start of what it holds.
+openerOf ::
+  -- | What it holds.
   Doc ->
-  Doc
-parensWith closing = bracketWith closing "(" ")"
-
--- | @[@ and @]@.
-brackets :: Doc -> Doc
-brackets = bracket "[" "]"
-
--- | @[@ and @]@, with a say in where the closing bracket goes.
-bracketsWith ::
-  -- | Where the closing bracket goes.
-  ClosingIndent ->
-  -- | Body.
+  -- | The bracket.
   Doc ->
   Doc
-bracketsWith closing = bracketWith closing "[" "]"
-
--- | @{@ and @}@.
-braces :: Doc -> Doc
-braces = bracket "{" "}"
+openerOf body = refAt (startOf <$> regionOf body)
 
--- | @(|@ and @|)@, from arrow notation, with a say in where the closing
--- bracket goes.
-bananaWith ::
-  -- | Where the closing banana goes.
-  ClosingIndent ->
-  -- | Body.
-  Doc ->
+-- | An opening bracket, marked with where it was written.
+openingAt ::
+  -- | Where it was written.
+  Maybe Span ->
+  -- | The bracket.
+  Text ->
   Doc
-bananaWith closing = spacedBracket closing "(|" "|)"
+openingAt s = DBracket OpeningBracket s . txt
 
--- | @(#@ and @#)@, for unboxed tuples and sums.
-unboxed :: Doc -> Doc
-unboxed = unboxedWith Outdented
+-- | A closing bracket, marked with where it was written.
+closingAt ::
+  -- | Where it was written.
+  Maybe Span ->
+  -- | The bracket.
+  Text ->
+  Doc
+closingAt s = DBracket ClosingBracket s . txt
 
--- | @(#@ and @#)@, with a say in where the closing bracket goes.
-unboxedWith ::
-  -- | Where the closing bracket goes.
-  ClosingIndent ->
+-- | @(@ and @)@.
+parens ::
+  -- | Where they were written.
+  (Maybe Span, Maybe Span) ->
   -- | Body.
   Doc ->
   Doc
-unboxedWith closing = spacedBracket closing "(#" "#)"
+parens at = bracketWith 0 at "(" ")"
 
 -- | Surround with backticks.
 backticks :: Doc -> Doc
@@ -395,19 +476,106 @@
 
 -- | @,@.
 comma :: Doc
-comma = txt ","
+comma = DSeparator TrailingSeparator (txt "," <> space) (txt ",")
 
--- | @;@.
-semi :: Doc
-semi = txt ";"
+-- | A leading separator which is in the common case followed by a space,
+-- but if it is rearranged by the merge the space is put in front of it.
+leading :: Doc -> Doc
+leading d = DSeparator LeadingSeparator (d <> space) (space <> d)
 
--- | Separate by a comma and a 'breakOrSpace', so that a broken list puts
--- each element on its own line with the comma left behind on the one above.
-commaSep :: [Doc] -> Doc
-commaSep = sepBy (comma <> breakOrSpace)
+-- | A trailing separator which is in the common case preceded by a space,
+-- but if it is rearranged by the merge the space is put after it.
+trailing :: Doc -> Doc
+trailing d = DSeparator TrailingSeparator (d <> space) (space <> d)
 
+-- | An operator leading its operand, which trailing the part before it is
+-- written after a space.
+leadingOperator :: Doc -> Doc
+leadingOperator d = DSeparator LeadingSeparator d (space <> d)
+
+-- | @|@ leading the part after it.
+leadingBar :: Doc
+leadingBar = leading (txt "|")
+
+-- | The dot of a @forall@ leading the part after it, a column right of the
+-- indentation where it begins a line.
+leadingDot :: Doc
+leadingDot =
+  DSeparator LeadingSeparator (DAligned 1 (txt ".") <> space) (txt ".")
+
+-- | A comma between two items, with the place the line may break: after
+-- it, or, with 'LeadingCommas', before it, hung left of the indentation by
+-- its width.
+separatingComma :: CommaStyle -> Doc
+separatingComma = \case
+  TrailingCommas -> comma <> break
+  LeadingCommas -> break' <> hung ","
+
+-- | A semicolon leading the item after it, with the place the line may
+-- break before it, hung left of the indentation by its width.
+separatingSemicolon :: Doc
+separatingSemicolon = break' <> hung ";"
+
+-- | A separator and a space leading the item after it, hung left of the
+-- column they begin at by their width.
+hung :: Text -> Doc
+hung t =
+  DSeparator
+    LeadingSeparator
+    (DAligned (negate (T.length t + 1)) (txt t <> space))
+    (txt t)
+
+-- | How many columns a comma takes where it leads the item after it.
+commaWidth :: CommaStyle -> Int
+commaWidth = \case
+  TrailingCommas -> 0
+  LeadingCommas -> 2
+
+-- | Separate by 'separatingComma', with the leading commas of the items
+-- after the first so many steps in from it and those items past them.
+commaSepUnderFirst ::
+  -- | Where the commas go.
+  CommaStyle ->
+  -- | How many steps in from the first item the others go.
+  Int ->
+  -- | The items.
+  [Doc] ->
+  Doc
+commaSepUnderFirst commas steps = \case
+  [] -> mempty
+  [x] -> x
+  x : xs -> ref x <> indent steps (ptr x) rest
+    where
+      rest = case commas of
+        TrailingCommas -> separatingComma commas <> commaSep commas xs
+        LeadingCommas ->
+          break'
+            <> DAligned (commaWidth commas) (hung "," <> commaSep commas xs)
+
+-- | Separate by 'separatingComma'.
+commaSep ::
+  -- | Where the commas go.
+  CommaStyle ->
+  -- | The items.
+  [Doc] ->
+  Doc
+commaSep = sepBy . separatingComma
+
+-- | Items after a lead-in such as a bar, separated by commas and lined up
+-- under the first.
+commaSepAfter ::
+  -- | Where the commas go.
+  CommaStyle ->
+  -- | The lead-in.
+  Text ->
+  -- | The items.
+  [Doc] ->
+  Doc
+commaSepAfter commas leadIn items =
+  leading (txt leadIn) <> align (commaSep commas items)
+
 ----------------------------------------------------------------------------
--- Conditionals
+-- Inclusion
 
 -- | The document if the condition holds, nothing otherwise.
 includeWhen :: Bool -> Doc -> Doc
diff --git a/src/Tilia/Doc/Internal.hs b/src/Tilia/Doc/Internal.hs
--- a/src/Tilia/Doc/Internal.hs
+++ b/src/Tilia/Doc/Internal.hs
@@ -5,730 +5,1372 @@
 module Tilia.Doc.Internal
   ( -- * Documents
     Doc (..),
-    Spill (..),
-    printsNothing,
-    foldChildren,
-    mapChildren,
-    spine,
-    spineAt,
-    printedFrom,
-    onlySpacing,
-    onlyBreaks,
-    Wrapper (..),
-    unwrap,
-    wrap,
-    layoutInside,
-    Conditional (..),
-    conditionalRange,
-    Layout (..),
-    LineStart (..),
-    TrailingWhitespace (..),
-
-    -- * Rendering
-    printDoc,
-  )
-where
-
-import Data.Char (isSpace)
-import Data.List (unsnoc)
-import Data.Maybe (listToMaybe, mapMaybe)
-import Data.Text (Text)
-import Data.Text qualified as T
-import Tilia.Span (Span, spanEndLine, spanStartLine)
-
-----------------------------------------------------------------------------
--- Documents
-
--- | A description of what to print.
-data Doc
-  = -- | Print nothing.
-    DEmpty
-  | -- | A literal fragment. Must not contain a line break: the engine
-    -- tracks columns by counting characters, and an embedded newline would
-    -- make that count wrong. Use 'DHardBreak'.
-    DText !Text
-  | -- | A space. Repeats collapse, and one at the end of a line is dropped,
-    -- so printing code may emit them freely rather than working out whether
-    -- one is already there.
-    DSpace
-  | -- | A space when the enclosing group is flat, a line break when it is
-    -- broken.
-    DBreak
-  | -- | Nothing when the enclosing group is flat, a line break when it is
-    -- broken.
-    DSoftBreak
-  | -- | A line break regardless of the enclosing group.
-    DHardBreak
-  | -- | Text to be put at the end of the line this position falls on,
-    -- however much of the line is still to be written.
-    DHoldBack !Spill !Text
-  | -- | Close the line, and let a break that immediately follows know that
-    -- it has nothing left to do.
-    DCloseLine
-  | -- | Close the line, and leave an empty line under it if told to, unless
-    -- it ends with an opening bracket, a bar or an equals sign, which what
-    -- follows then shares.
-    DCloseLineUnlessAfterOpener !Bool
-  | -- | A line break between two lines of text that is being reproduced
-    -- rather than laid out.
-    DVerbatimBreak !LineStart !TrailingWhitespace
-  | -- | Concatenation. See the 'Semigroup' instance.
-    DCat !Doc !Doc
-  | -- | Indent the enclosed document by the given number of steps, relative
-    -- to the current indentation.
-    DNest !Int !Doc
-  | -- | Indent the enclosed document to whatever column the line has
-    -- reached, so that it lines up under itself when broken.
-    DAlign !Doc
-  | -- | Start the enclosed document's lines at the margin if they come out
-    -- right above a preprocessor directive.
-    DCppMarginNote !Doc
-  | -- | Lay the enclosed document out flat or broken.
-    DGroup !Layout !Doc
-  | -- | Choose between two documents according to the enclosing group: the
-    -- first when it is flat, the second when it is broken. For the
-    -- constructs whose two layouts differ by more than where the breaks
-    -- fall.
-    --
-    -- Both fields are lazy, and that is not an oversight. The engine walks
-    -- one of them and never looks at the other, so the branch not taken
-    -- should cost nothing. Were they strict, building a variant would build
-    -- both layouts of everything inside it; a construct nested @n@ deep
-    -- would be built @2^n@ times.
-    DVariant Doc Doc
-  | -- | Record that the enclosed document was produced from the given
-    -- region of the input.
-    --
-    -- This carries no layout meaning and the engine ignores it. Keeping
-    -- provenance separate from grouping is deliberate: the two coincide
-    -- often, but a construct can need one without the other, and fusing
-    -- them is what forces a printer to grow an escape hatch for each case
-    -- where they come apart.
-    DLocated !Span !Doc
-  | -- | Fence prevents comments inside from floating out and attaching to
-    -- elements they are not supposed to attach to.
-    DFence !Span !Doc
-  | -- | Alternatives the preprocessor chooses between, the condition it
-    -- chooses on, and the conditionals of the input they were printed from.
-    DCppChoice ![Conditional] ![(Text, Doc)] !Doc
-  | -- | A preprocessor line that is not a conditional, reproduced, and the
-    -- region of the input it was written in. The span is included so that
-    -- two directives can be told apart.
-    DCppDirective !Span !Text
-  | -- | Print nothing, marking where a module's declarations begin.
-    DDeclarationsStart
-  deriving (Eq, Show)
-
--- | Does this document put nothing at all on the page?
-printsNothing :: Doc -> Bool
-printsNothing = \case
-  DEmpty -> True
-  DDeclarationsStart -> True
-  DCat a b -> printsNothing a && printsNothing b
-  DNest _ d -> printsNothing d
-  DAlign d -> printsNothing d
-  DCppMarginNote d -> printsNothing d
-  DGroup _ d -> printsNothing d
-  DLocated _ d -> printsNothing d
-  DFence _ d -> printsNothing d
-  DVariant flatD brokenD -> printsNothing flatD && printsNothing brokenD
-  _ -> False
-
--- | Combine what a function makes of each document directly inside this
--- one, a variant's broken layout standing for the variant.
-foldChildren :: (Monoid m) => (Doc -> m) -> Doc -> m
-foldChildren f = \case
-  DCat a b -> f a <> f b
-  DNest _ d -> f d
-  DAlign d -> f d
-  DCppMarginNote d -> f d
-  DGroup _ d -> f d
-  DVariant _ d -> f d
-  DLocated _ d -> f d
-  DFence _ d -> f d
-  DCppChoice _ bs e -> foldr ((<>) . f . snd) (f e) bs
-  _ -> mempty
-
--- | Rewrite the documents directly inside this one, both layouts of a
--- variant included.
-mapChildren :: (Doc -> Doc) -> Doc -> Doc
-mapChildren f = \case
-  DCat a b -> f a <> f b
-  DNest n d -> DNest n (f d)
-  DAlign d -> DAlign (f d)
-  DCppMarginNote d -> DCppMarginNote (f d)
-  DGroup l d -> DGroup l (f d)
-  DVariant a b -> DVariant (f a) (f b)
-  DLocated s d -> DLocated s (f d)
-  DFence s d -> DFence s (f d)
-  DCppChoice cs bs e -> DCppChoice cs [(g, f d) | (g, d) <- bs] (f e)
-  d -> d
-
--- | A document as the sequence of things it concatenates.
-spine :: Doc -> [Doc]
-spine = \case
-  DEmpty -> []
-  DCat a b -> spine a <> spine b
-  d -> [d]
-
--- | 'spine', with the variants resolved the way this layout will print them.
-spineAt :: Layout -> Doc -> [Doc]
-spineAt layout = \case
-  DEmpty -> []
-  DCat a b -> spineAt layout a <> spineAt layout b
-  DVariant flatD brokenD ->
-    spineAt layout (case layout of Flat -> flatD; Broken -> brokenD)
-  d -> [d]
-
--- | The lines of the input a document holds something printed from, as far
--- down as there is anything.
-printedFrom :: Doc -> [(Int, Int)]
-printedFrom = \case
-  DLocated s x -> (spanStartLine s, spanEndLine s) : printedFrom x
-  DFence s x -> (spanStartLine s, spanEndLine s) : printedFrom x
-  d@(DCppChoice cs _ _) -> mapMaybe conditionalRange cs <> foldChildren printedFrom d
-  d -> foldChildren printedFrom d
-
--- | Nothing but the whitespace that separates one thing from the next.
-onlySpacing :: Doc -> Bool
-onlySpacing d = d == DSpace || onlyBreaks d
-
--- | Nothing but what ends a line, in a broken group at least.
-onlyBreaks :: Doc -> Bool
-onlyBreaks = \case
-  DEmpty -> True
-  DBreak -> True
-  DSoftBreak -> True
-  DHardBreak -> True
-  DCloseLine -> True
-  DCloseLineUnlessAfterOpener _ -> True
-  _ -> False
-
-instance Semigroup Doc where
-  DEmpty <> b = b
-  a <> DEmpty = a
-  a <> b = DCat a b
-
-instance Monoid Doc where
-  mempty = DEmpty
-
--- | A node holding exactly one document, less the document.
-data Wrapper
-  = WLocated !Span
-  | WFence !Span
-  | WNest !Int
-  | WAlign
-  | WCppMarginNote
-  | WGroup !Layout
-  deriving (Eq, Show)
-
--- | A document as the wrapper it is and the document it holds.
-unwrap :: Doc -> Maybe (Wrapper, Doc)
-unwrap = \case
-  DLocated s d -> Just (WLocated s, d)
-  DFence s d -> Just (WFence s, d)
-  DNest n d -> Just (WNest n, d)
-  DAlign d -> Just (WAlign, d)
-  DCppMarginNote d -> Just (WCppMarginNote, d)
-  DGroup l d -> Just (WGroup l, d)
-  _ -> Nothing
-{-# INLINE unwrap #-}
-
--- | Put a document in a wrapper.
-wrap :: Wrapper -> Doc -> Doc
-wrap = \case
-  WLocated s -> DLocated s
-  WFence s -> DFence s
-  WNest n -> DNest n
-  WAlign -> DAlign
-  WCppMarginNote -> DCppMarginNote
-  WGroup l -> DGroup l
-
--- | The layout inside a wrapper laid out like this.
-layoutInside :: Layout -> Wrapper -> Layout
-layoutInside layout = \case
-  WGroup l -> l
-  _ -> layout
-
--- | A conditional as its author wrote it.
-data Conditional = Conditional
-  { -- | The lines of its directives, the @#if@ first and the @#endif@ last.
-    conditionalLines :: [Int],
-    -- | What follows the keyword of its @#else@.
-    conditionalElse :: Text,
-    -- | What follows the keyword of its @#endif@.
-    conditionalEndif :: Text
-  }
-  deriving (Eq, Ord, Show)
-
--- | The lines of a conditional's @#if@ and @#endif@.
-conditionalRange :: Conditional -> Maybe (Int, Int)
-conditionalRange c =
-  (,) <$> listToMaybe ls <*> fmap snd (unsnoc ls)
-  where
-    ls = conditionalLines c
-
--- | Whether a group is laid out on one line or across several.
-data Layout
-  = Flat
-  | Broken
-  deriving (Eq, Show)
-
--- | Where the line after a 'DVerbatimBreak' begins.
-data LineStart
-  = -- | At the indentation in force, as any other break would.
-    AtIndent
-  | -- | At column zero, whatever the indentation.
-    AtMargin
-  deriving (Eq, Show)
-
--- | What do to with the whitespace a finished line ends in.
-data TrailingWhitespace
-  = -- | Trim it.
-    TrimWhitespace
-  | -- | Keep it.
-    KeepWhitespace
-  deriving (Eq, Show)
-
-----------------------------------------------------------------------------
--- Rendering
-
--- | Columns per indentation step.
-indentStep :: Int
-indentStep = 2
-
--- | What the engine carries while walking a document.
-data Env = Env
-  { -- | The column a new line starts at.
-    envIndent :: !Int,
-    -- | The layout of the innermost group.
-    envLayout :: !Layout,
-    -- | Whether what is written now is a note, which goes to the margin
-    -- right above a preprocessor directive.
-    envNote :: !Bool
-  }
-
--- | Output built so far.
---
--- Lines are finished one at a time and never revisited while the document
--- is walked. Whatever about a line depends on the lines around it is
--- settled only once they are all there, in 'finish'.
-data Out = Out
-  { -- | Completed lines, most recent first.
-    outLines :: [Line],
-    -- | The line being built, but for its body, which is put together from
-    -- 'outCurrent' and 'outHeldBack' once it is finished.
-    outLine :: !Line,
-    -- | What has been written to the line being built after its
-    -- indentation, most recent first.
-    outCurrent :: [Text],
-    -- | Column the current line has reached.
-    outColumn :: !Int,
-    -- | Fragments held back until the line ends, in the order they were
-    -- given. The first goes at the end of the line; any after it get lines
-    -- of their own under it.
-    outHeldBack :: ![(Spill, Text)],
-    -- | Whether the line was closed by something that already knew it was
-    -- ending it, so that a break arriving now would add an empty line
-    -- rather than end anything.
-    outClosed :: !Bool
-  }
-
--- | Where text held back for the end of a line goes when something was held
--- back for it first.
-data Spill
-  = -- | On a line of its own, at the indentation of the line it was held
-    -- back for.
-    SpillAtIndentation
-  | -- | On a line of its own, lined up with what was held back before it.
-    SpillUnderPrevious
-  deriving (Eq, Show)
-
--- | A line, and what the engine knew about it as it wrote it.
-data Line = Line
-  { -- | The indentation it was started at.
-    lineIndent :: !Int,
-    -- | What it holds after its indentation.
-    lineBody :: !Text,
-    -- | Whether what it reproduces started it at the margin, whatever the
-    -- indentation, and so keeps it there.
-    linePinned :: !Bool,
-    -- | Whether a note is all it holds.
-    lineNote :: !Bool,
-    -- | Whether it continues the line before it, as a space asked for before
-    -- anything was on it says.
-    lineContinues :: !Bool,
-    -- | Its type if it is a preprocessor directive.
-    lineDirective :: !(Maybe CppDirectiveType)
-  }
-
--- | The type of a preprocessor directive.
-data CppDirectiveType
-  = -- | It opens a conditional.
-    CppDirectiveOpens
-  | -- | It begins another alternative of the conditional it is in.
-    CppDirectiveContinues
-  | -- | It closes a conditional.
-    CppDirectiveCloses
-  | -- | It is not a conditional at all.
-    CppDirectiveOpaque
-
--- | A line with nothing on it and nothing known about it.
-newLine :: Line
-newLine =
-  Line
-    { lineIndent = 0,
-      lineBody = "",
-      linePinned = False,
-      lineNote = False,
-      lineContinues = False,
-      lineDirective = Nothing
-    }
-
--- | A line as it is printed.
-lineText :: Line -> Text
-lineText l
-  | T.null (lineBody l) = ""
-  | otherwise = T.replicate (lineIndent l) " " <> lineBody l
-
-emptyOut :: Out
-emptyOut =
-  Out
-    { outLines = [],
-      outLine = newLine,
-      outCurrent = [],
-      outColumn = 0,
-      outHeldBack = [],
-      outClosed = False
-    }
-
--- | Turn a document into text.
-printDoc :: Doc -> Text
-printDoc doc = finish (go env doc emptyOut)
-  where
-    env =
-      Env
-        { envIndent = 0,
-          envLayout = Broken,
-          envNote = False
-        }
-
--- | Walk a document, accumulating output.
-go :: Env -> Doc -> Out -> Out
-go env = \case
-  DEmpty -> id
-  DText t
-    | T.null t -> id
-    | otherwise -> putText (envIndent env) t . noting (envNote env)
-  DSpace -> putSpace
-  DBreak -> case envLayout env of
-    Flat -> putSpace
-    Broken -> breakLine (envIndent env)
-  DSoftBreak -> case envLayout env of
-    Flat -> id
-    Broken -> breakLine (envIndent env)
-  DHoldBack spill t -> putHeldBack (envIndent env) spill t . noting False
-  DCloseLine -> closeLine (envIndent env)
-  DCloseLineUnlessAfterOpener gap -> \out ->
-    if endsWithOpener out
-      then putSpace out
-      else go env (gapped <> DCloseLine) out
-    where
-      gapped = if gap then DCloseLine <> DHardBreak <> DHardBreak else DEmpty
-  DHardBreak -> breakLine (envIndent env)
-  DVerbatimBreak lineStart trailing -> verbatimBreakLine (envNote env) lineStart trailing
-  DCat a b -> go env b . go env a
-  DNest n d -> go env{envIndent = envIndent env + n * indentStep} d
-  DAlign d -> \out ->
-    go env{envIndent = max (envIndent env) (outColumn out)} d out
-  DCppMarginNote d -> \out ->
-    go env{envNote = not (hasContent out)} d out
-  DGroup l d -> go env{envLayout = l} d
-  DVariant flatD brokenD -> case envLayout env of
-    Flat -> go env flatD
-    Broken -> go env brokenD
-  DLocated _ d -> go env d
-  DFence _ d -> go env d
-  DCppChoice cs branches fallback ->
-    let afterElse = foldMap conditionalElse (listToMaybe cs)
-        afterEndif = foldMap conditionalEndif (listToMaybe cs)
-     in foldr (flip (.)) id . concat $
-          [ [directive type' ("#" <> guard'), go env taken]
-          | (type', (guard', taken)) <- zip (CppDirectiveOpens : repeat CppDirectiveContinues) branches
-          ]
-            <> [ [directive CppDirectiveContinues ("#else" <> afterElse), go env fallback]
-               | not (printsNothing fallback && T.null afterElse)
-               ]
-            <> [[directive CppDirectiveCloses ("#endif" <> afterEndif)]]
-  DCppDirective _ t -> directive CppDirectiveOpaque ("#" <> t)
-  DDeclarationsStart -> id
-
--- | Record whether the line holds nothing but a note, given whether what is
--- about to be written to it is one.
-noting :: Bool -> Out -> Out
-noting note out
-  | note' == lineNote l = out
-  | otherwise = out{outLine = l{lineNote = note'}}
-  where
-    l = outLine out
-    note' = note && (not (started out) || lineNote l)
-
--- | Put a directive at the margin, on a line of its own, with no empty line
--- above one that ends a branch.
-directive :: CppDirectiveType -> Text -> Out -> Out
-directive type' t =
-  closeLine 0 . typed . putText 0 t . endingBranch . closeLine 0
-  where
-    typed out =
-      out{outLine = (outLine out){lineNote = False, lineDirective = Just type'}}
-    endingBranch out = case type' of
-      CppDirectiveContinues -> unspaced out
-      CppDirectiveCloses -> unspaced out
-      _ -> out
-    unspaced out = out{outLines = dropWhile (T.null . lineBody) (outLines out)}
-
--- | Append a fragment, starting the line at the indentation if this is the
--- first thing on it.
-putText :: Int -> Text -> Out -> Out
-putText indent t out0
-  | T.null t = out0
-  | started out =
-      out
-        { outCurrent = t : outCurrent out,
-          outColumn = outColumn out + T.length t
-        }
-  | otherwise =
-      out
-        { outCurrent = [t],
-          outColumn = indent + T.length t,
-          outLine = (outLine out){lineIndent = indent}
-        }
-  where
-    out = out0{outClosed = False}
-
--- | Hold a fragment back until the line ends.
-putHeldBack :: Int -> Spill -> Text -> Out -> Out
-putHeldBack indent spill t out
-  | started out || not (null (outHeldBack out)) =
-      out{outHeldBack = outHeldBack out <> [(spill, t)], outClosed = False}
-  | otherwise = closeLine indent (putText indent t out)
-
--- | Append a space, unless the line has not started or already ends in one.
-putSpace :: Out -> Out
-putSpace out
-  | not (started out) =
-      if lineContinues (outLine out)
-        then out
-        else out{outLine = (outLine out){lineContinues = True}}
-  | endsWithSpace out = out
-  | otherwise =
-      out
-        { outCurrent = " " : outCurrent out,
-          outColumn = outColumn out + 1
-        }
-
--- | Does the current line already end in a space?
-endsWithSpace :: Out -> Bool
-endsWithSpace out = case outCurrent out of
-  (t : _) -> maybe False ((== ' ') . snd) (T.unsnoc t)
-  [] -> False
-
--- | Finish the current line.
-breakLine ::
-  -- | Where the line after this one begins.
-  Int ->
-  Out ->
-  Out
-breakLine indent out
-  | outClosed out = discontinued out{outClosed = False}
-  | atStart out = discontinued out
-  | not (hasContent out), repeatsBlank out || opensABlock indent out = fresh out
-  | otherwise = completing TrimWhitespace indent out
-
--- | Close the current line, if there is anything on it.
---
--- Unlike 'breakLine' this leaves a mark: the next break sees that the line
--- was already ended on purpose and does nothing, so a comment that ends its
--- own line and a construct that would have ended it anyway do not between
--- them leave an empty one.
-closeLine ::
-  -- | Where the line after this one begins.
-  Int ->
-  Out ->
-  Out
-closeLine indent out
-  | hasContent out = (breakLine indent out){outClosed = True}
-  | otherwise = discontinued out
-
--- | Say that the current line does not continue the line before it.
-discontinued :: Out -> Out
-discontinued out
-  | lineContinues (outLine out) = out{outLine = (outLine out){lineContinues = False}}
-  | otherwise = out
-
--- | Begin a new line, leaving the one being built unfinished.
-fresh :: Out -> Out
-fresh out =
-  out
-    { outLine = newLine,
-      outCurrent = [],
-      outColumn = 0,
-      outHeldBack = []
-    }
-
--- | Finish the current line, with the held-back fragments that spill under
--- it, and begin a new one.
-completing ::
-  -- | What to do with whitespace the lines end in.
-  TrailingWhitespace ->
-  -- | Where the line after these would begin, used only if there is no line
-  -- to take the indentation from.
-  Int ->
-  Out ->
-  Out
-completing trailing indent out =
-  fresh out{outLines = reverse (finished : spilledLines) <> outLines out}
-  where
-    finished = (outLine out){lineBody = currentLine trailing out}
-    spilled = drop 1 (outHeldBack out)
-    spilledLines = zipWith below columns spilled
-    columns = drop 1 (scanl columnFor firstColumn (fmap fst spilled))
-    firstColumn =
-      lineIndent finished
-        + T.length (lineBody finished)
-        - T.length (heldBackFirst trailing out)
-    below column (_, t) =
-      newLine
-        { lineIndent = column,
-          lineBody = adjustTrailingWhitespace trailing t
-        }
-    columnFor previous = \case
-      SpillAtIndentation
-        | T.null (lineBody finished) -> indent
-        | otherwise -> lineIndent finished
-      SpillUnderPrevious -> previous
-
--- | Would an empty line here be the first thing inside a block?
-opensABlock :: Int -> Out -> Bool
-opensABlock indent out = case outLines out of
-  (l : _) -> T.length (lineText l) <= indent
-  [] -> False
-
--- | Finish the current line between two lines of reproduced text.
-verbatimBreakLine ::
-  -- | Whether the next line is part of a note.
-  Bool ->
-  LineStart ->
-  TrailingWhitespace ->
-  Out ->
-  Out
-verbatimBreakLine note lineStart trailing out =
-  (completing trailing 0 out)
-    { outLine = newLine{linePinned = lineStart == AtMargin, lineNote = note},
-      outClosed = False
-    }
-
--- | Would this empty line be a second one in a row?
-repeatsBlank :: Out -> Bool
-repeatsBlank out = case outLines out of
-  (l : _) -> T.null (lineBody l)
-  _ -> False
-
--- | Is the output still empty?
-atStart :: Out -> Bool
-atStart out = null (outLines out) && not (hasContent out)
-
--- | Has the current line begun, with something written to it or with what
--- it reproduces starting it at the margin?
-started :: Out -> Bool
-started out = not (null (outCurrent out)) || linePinned (outLine out)
-
--- | Does the current line end with an opening bracket, a bar or an equals
--- sign, with nothing held back for its end?
-endsWithOpener :: Out -> Bool
-endsWithOpener out =
-  null (outHeldBack out)
-    && case dropWhile (T.all isSpace) (outCurrent out) of
-      t : _ -> T.strip t `elem` ["(", "(#", "=", "[", "{", "|"]
-      [] -> False
-
--- | Is there anything on the current line, written or held back?
-hasContent :: Out -> Bool
-hasContent out = started out || not (null (outHeldBack out))
-
--- | What the current line holds: what was written to it, then whatever was
--- held back for its end, with one space between them.
-currentLine :: TrailingWhitespace -> Out -> Text
-currentLine trailingWhitespace out
-  | T.null written = heldBack
-  | T.null heldBack = written
-  | otherwise = written <> " " <> heldBack
-  where
-    written =
-      adjustTrailingWhitespace
-        trailingWhitespace
-        (T.concat (reverse (outCurrent out)))
-    heldBack = heldBackFirst trailingWhitespace out
-
--- | What was held back first for the end of the current line.
-heldBackFirst :: TrailingWhitespace -> Out -> Text
-heldBackFirst trailingWhitespace out =
-  maybe
-    ""
-    (adjustTrailingWhitespace trailingWhitespace . snd)
-    (listToMaybe (outHeldBack out))
-
--- | Handle the given line according to the 'TrailingWhitespace' style.
-adjustTrailingWhitespace :: TrailingWhitespace -> Text -> Text
-adjustTrailingWhitespace = \case
-  TrimWhitespace -> T.stripEnd
-  KeepWhitespace -> id
-
--- | Assemble the final text: one trailing newline, no blank lines at the
--- end, and trailing whitespace only where a verbatim line keeps it.
-finish :: Out -> Text
-finish out =
-  case dropWhile (T.null . lineBody) (outLines (breakLine 0 out)) of
-    [] -> ""
-    ls -> T.unlines (lineText <$> notesToMargin (continued (reverse ls)))
-
--- | Indent each alternative of a conditional that continues the line before
--- the conditional further than that line.
-continued :: [Line] -> [Line]
-continued = walk [] 0 False
-  where
-    walk frames previous pending = \case
-      [] -> []
-      l : ls -> case lineDirective l of
-        Just CppDirectiveOpens -> l : walk ((previous, 0) : frames) 0 True ls
-        Just CppDirectiveContinues -> l : walk (restarted frames) 0 True ls
-        Just CppDirectiveCloses -> l : walk (drop 1 frames) 0 False ls
-        Just CppDirectiveOpaque -> l : walk frames 0 False ls
-        Nothing ->
-          let frames' = if pending then settled frames l else frames
-              l' = moved (sum (fmap snd frames')) l
-           in l' : walk frames' (lineIndent l') False ls
-    restarted = \case
-      (before, _) : rest -> (before, 0) : rest
-      [] -> []
-    settled frames l = case frames of
-      (before, _) : rest
-        | lineContinues l,
-          not (linePinned l),
-          at <= before ->
-            (before, before - at + indentStep) : rest
-        where
-          at = lineIndent l + sum (fmap snd rest)
-      _ -> frames
-    moved n l
-      | n == 0 || linePinned l || T.null (lineBody l) = l
-      | otherwise = l{lineIndent = lineIndent l + n}
-
--- | Move every note right above a directive to the margin.
-notesToMargin :: [Line] -> [Line]
-notesToMargin = fst . foldr place ([], False)
-  where
-    place l (ls, above)
-      | Just _ <- lineDirective l = (l : ls, True)
+    LineStart (..),
+    TrailingWhitespace (..),
+    Layout (..),
+    SeparatorSide (..),
+    BracketSide (..),
+    DeclDelimiterStyle (..),
+    CommentPlacement (..),
+    Spill (..),
+    Conditional (..),
+    conditionalRange,
+    printsNothing,
+    namesOnly,
+    referentIn,
+    Wrapper (..),
+    unwrap,
+    wrap,
+    layoutInside,
+
+    -- * Rendering
+    printDoc,
+  )
+where
+
+import Control.Applicative ((<|>))
+import Data.Foldable (asum)
+import Data.HashMap.Strict (HashMap)
+import Data.HashMap.Strict qualified as HashMap
+import Data.List (unsnoc)
+import Data.Maybe (fromMaybe, isJust, isNothing, listToMaybe)
+import Data.Text (Text)
+import Data.Text qualified as T
+
+import Tilia.Comments (continuesHaddock, holdsOff, isDivider, opensHaddock)
+import Tilia.Settings (Settings (..), indentationColumns)
+import Tilia.Source.Lines (endsInBackslash)
+import Tilia.Span (Span)
+import Tilia.Utils (commentsOnly, opensLineComment)
+
+----------------------------------------------------------------------------
+-- Documents
+
+-- | A description of what to print.
+data Doc
+  = -- | Print nothing.
+    DEmpty
+  | -- | Concatenation.
+    DCat !Doc !Doc
+  | -- | A literal fragment. Must not contain a line break, use 'DNewline'
+    -- instead.
+    DText !Text
+  | -- | A space. Repeats collapse, and one at the end of a line is dropped.
+    DSpace
+  | -- | A space when the enclosing group is flat, a line break when it is
+    -- broken.
+    DBreak
+  | -- | Nothing when the enclosing group is flat, a line break when it is
+    -- broken.
+    DBreak'
+  | -- | The start of a new line, whatever the enclosing group: it ends the
+    -- line if anything is on it and does nothing otherwise, so that no
+    -- number of them leaves an empty line.
+    DNewline
+  | -- | A line break between two lines of text that is being reproduced
+    -- rather than laid out.
+    DVerbatimBreak !LineStart !TrailingWhitespace
+  | -- | Lay the enclosed document out flat or broken.
+    DGroup !Layout !Doc
+  | -- | Choose between two documents according to the enclosing group: the
+    -- first when it is flat, the second when it is broken. For the
+    -- constructs whose two layouts differ by more than where the breaks
+    -- fall.
+    --
+    -- Both fields are lazy, and that is not an oversight. The engine walks
+    -- one of them and never looks at the other, so the branch not taken
+    -- should cost nothing. Were they strict, building a variant would build
+    -- both layouts of everything inside it; a construct nested @n@ deep
+    -- would be built @2^n@ times.
+    DVariant Doc Doc
+  | -- | A referent identifies an element which provides the reference
+    -- indentation level for relative indentation encoded by 'DIndented'.
+    DReferent !(Maybe Span) !Doc
+  | -- | Print the left 'Doc', then the right one indented by so many steps
+    -- relative to the first referent found in the left 'Doc'. Steps entered
+    -- on one line with no line begun between them count once: the same
+    -- principle as with consecutive newlines and spaces.
+    DIndented !Int !Doc !Doc
+  | -- | Print the 'Doc' with its lines so many columns right of the column
+    -- it begins at. This interrupts collapsing of consecutive indentation
+    -- steps.
+    DAligned !Int !Doc
+  | -- | Start the enclosed document's lines at the margin if they come out
+    -- right above a preprocessor directive.
+    DCppMarginNote !Doc
+  | -- | Record that the enclosed document was produced from the given
+    -- region of the input.
+    --
+    -- This carries no layout meaning and the engine ignores it. Keeping
+    -- provenance separate from grouping is deliberate: the two coincide
+    -- often, but a construct can need one without the other.
+    DLocated !Span !Doc
+  | -- | Fence prevents comments inside from floating out and attaching to
+    -- elements they are not supposed to attach to.
+    DFence !Span !Doc
+  | -- | A separator between two parts, such as a comma: its current side,
+    -- how it is written leading the part after it, and how it is written
+    -- trailing the part before it. The engine prints the form for the side
+    -- identified by the first argument; the other form is for the merge,
+    -- which may move it and switch sides.
+    DSeparator !SeparatorSide !Doc !Doc
+  | -- | A bracket, which of its pair it is, and where it was written.
+    DBracket !BracketSide !(Maybe Span) !Doc
+  | -- | The boundary between two declarations, which leaves an empty line
+    -- where it keeps them apart and a line has just ended.
+    DDeclDelimiter !DeclDelimiterStyle
+  | -- | A comment, put among the lines around it as its placement says, and
+    -- where it was written.
+    DComment !CommentPlacement !Span !Doc
+  | -- | A choice the preprocessor makes: the conditionals of the input it
+    -- was printed from, each alternative with the directive above it, and
+    -- the alternative under @#else@.
+    DCppChoice ![Conditional] ![(Text, Doc)] !Doc
+  | -- | A preprocessor line that is not a conditional, reproduced, and the
+    -- region of the input it was written in. The span is included so that
+    -- two directives can be told apart.
+    DCppDirective !Span !Text
+  | -- | Print nothing, marking where a module's declarations begin.
+    DDeclarationsStart
+  deriving (Eq, Show)
+
+instance Semigroup Doc where
+  DEmpty <> b = b
+  a <> DEmpty = a
+  a <> b = DCat a b
+
+instance Monoid Doc where
+  mempty = DEmpty
+
+-- | Where the line after a 'DVerbatimBreak' begins.
+data LineStart
+  = -- | At the indentation in force, as any other break would.
+    AtIndent
+  | -- | At column zero, whatever the indentation.
+    AtMargin
+  deriving (Eq, Show)
+
+-- | What to do with the whitespace a finished line ends in.
+data TrailingWhitespace
+  = -- | Trim it.
+    TrimWhitespace
+  | -- | Keep it.
+    KeepWhitespace
+  deriving (Eq, Show)
+
+-- | Whether a group is laid out on one line or across several.
+data Layout
+  = -- | On one line, every break printed as a space or as nothing.
+    Flat
+  | -- | Across lines, every break printed as a line break.
+    Broken
+  | -- | Flat where it fits within the column limit, broken where it does
+    -- not.
+    Frangible
+  deriving (Eq, Show)
+
+-- | Which side of the part it goes with a 'DSeparator' is written on.
+data SeparatorSide
+  = -- | Before it: the separator leads the part after it.
+    LeadingSeparator
+  | -- | After it: the separator trails the part before it.
+    TrailingSeparator
+  deriving (Eq, Show)
+
+-- | Which of its pair a 'DBracket' is.
+data BracketSide
+  = -- | The one that opens what the pair holds.
+    OpeningBracket
+  | -- | The one that closes it.
+    ClosingBracket
+  deriving (Eq, Show)
+
+-- | What a boundary between two declarations does.
+data DeclDelimiterStyle
+  = -- | Keeps them together, with no empty line between them, and holds
+    -- the declarations on either side on their lines: every 'Frangible'
+    -- group in them stays flat.
+    DeclJoined
+  | -- | Keeps them together, with no empty line between them, holding
+    -- neither.
+    DeclAdjacent
+  | -- | Keeps them apart, with an empty line between them.
+    DeclSeparate
+  deriving (Eq, Show)
+
+-- | How a comment is printed among the lines of the code around it.
+data CommentPlacement
+  = -- | Spliced into its line, with code able to follow it there.
+    InPlace
+  | -- | After what comes before it on its line, closing the line.
+    EndsTheLine
+  | -- | Held back to the end of whatever line of output it lands on,
+    -- however much of that line is still to be written.
+    HeldBack !Spill
+  | -- | On lines of its own, under an empty line where told to, but on the
+    -- line of an opener it follows, with nothing held back for that line.
+    OnItsOwnLines !Bool
+  deriving (Eq, Show)
+
+-- | Where text held back for the end of a line goes when something was held
+-- back for it first.
+data Spill
+  = -- | On a line of its own, at the indentation of the line it was held
+    -- back for.
+    SpillAtIndentation
+  | -- | On a line of its own, lined up with what was held back before it.
+    SpillUnderPrevious
+  | -- | On a line of its own at the margin, leaving what is held back after
+    -- it to line up as if it were not there.
+    SpillAtMargin
+  deriving (Eq, Show)
+
+-- | A conditional as its author wrote it.
+data Conditional = Conditional
+  { -- | The lines of its directives, the @#if@ first and the @#endif@ last.
+    conditionalLines :: [Int],
+    -- | What follows the hash of its @#if@ and of each @#elif@.
+    conditionalGuards :: [Text],
+    -- | What follows the keyword of its @#else@.
+    conditionalElse :: Text,
+    -- | What follows the keyword of its @#endif@.
+    conditionalEndif :: Text
+  }
+  deriving (Eq, Ord, Show)
+
+-- | The lines of a conditional's @#if@ and @#endif@.
+conditionalRange :: Conditional -> Maybe (Int, Int)
+conditionalRange c =
+  (,) <$> listToMaybe ls <*> fmap snd (unsnoc ls)
+  where
+    ls = conditionalLines c
+
+-- | Does this document put nothing at all on the page?
+printsNothing :: Doc -> Bool
+printsNothing = \case
+  DEmpty -> True
+  DDeclarationsStart -> True
+  DCat a b -> printsNothing a && printsNothing b
+  DIndented _ a b -> printsNothing a && printsNothing b
+  DVariant flatD brokenD -> printsNothing flatD && printsNothing brokenD
+  DDeclDelimiter style -> style /= DeclSeparate
+  d -> maybe False (printsNothing . snd) (unwrap d)
+
+-- | Is this document nothing but pointers to parts printed elsewhere?
+namesOnly :: Doc -> Bool
+namesOnly = \case
+  DEmpty -> True
+  DReferent _ DEmpty -> True
+  DCat a b -> namesOnly a && namesOnly b
+  _ -> False
+
+-- | The name of the first referent a document holds, if it holds one.
+referentIn :: Doc -> Maybe (Maybe Span)
+referentIn = \case
+  DReferent k _ -> Just k
+  DCat a b -> referentIn a <|> referentIn b
+  DIndented _ a b -> referentIn a <|> referentIn b
+  DVariant flatD brokenD -> referentIn flatD <|> referentIn brokenD
+  DCppChoice _ bs e -> asum (fmap (referentIn . snd) bs) <|> referentIn e
+  d -> referentIn . snd =<< unwrap d
+
+-- | The names of the referents a document holds side by side.
+referentsIn :: Doc -> [Maybe Span]
+referentsIn = \case
+  DReferent k _ -> [k]
+  DCat a b -> referentsIn a <> referentsIn b
+  _ -> []
+
+-- | A node holding exactly one document, less the document.
+data Wrapper
+  = WLocated !Span
+  | WFence !Span
+  | -- | A 'DSeparator' less the form for its side, holding the other.
+    WSeparator !SeparatorSide !Doc
+  | WBracket !BracketSide !(Maybe Span)
+  | WComment !CommentPlacement !Span
+  | WReferent !(Maybe Span)
+  | WIndented !Int !Doc
+  | WAligned !Int
+  | WCppMarginNote
+  | WGroup !Layout
+  deriving (Eq, Show)
+
+-- | A document as the wrapper it is and the document it holds.
+unwrap :: Doc -> Maybe (Wrapper, Doc)
+unwrap = \case
+  DLocated s d -> Just (WLocated s, d)
+  DFence s d -> Just (WFence s, d)
+  DSeparator LeadingSeparator l t -> Just (WSeparator LeadingSeparator t, l)
+  DSeparator TrailingSeparator l t -> Just (WSeparator TrailingSeparator l, t)
+  DBracket b s d -> Just (WBracket b s, d)
+  DComment s c d -> Just (WComment s c, d)
+  DReferent k d -> Just (WReferent k, d)
+  DIndented n a d | namesOnly a -> Just (WIndented n a, d)
+  DAligned n d -> Just (WAligned n, d)
+  DCppMarginNote d -> Just (WCppMarginNote, d)
+  DGroup l d -> Just (WGroup l, d)
+  _ -> Nothing
+{-# INLINE unwrap #-}
+
+-- | Put a document in a wrapper.
+wrap ::
+  -- | The wrapper.
+  Wrapper ->
+  -- | The document to put in it.
+  Doc ->
+  Doc
+wrap = \case
+  WLocated s -> DLocated s
+  WFence s -> DFence s
+  WSeparator LeadingSeparator t -> \l -> DSeparator LeadingSeparator l t
+  WSeparator TrailingSeparator l -> DSeparator TrailingSeparator l
+  WBracket b s -> DBracket b s
+  WComment s c -> DComment s c
+  WReferent k -> DReferent k
+  WIndented n a -> DIndented n a
+  WAligned n -> DAligned n
+  WCppMarginNote -> DCppMarginNote
+  WGroup l -> DGroup l
+
+-- | The layout inside a wrapper laid out like this.
+layoutInside ::
+  -- | The layout of the group the wrapper is printed in.
+  Layout ->
+  -- | The wrapper.
+  Wrapper ->
+  Layout
+layoutInside layout = \case
+  WGroup l -> l
+  _ -> layout
+
+----------------------------------------------------------------------------
+-- Rendering
+
+-- | Columns per indentation step.
+step :: Settings -> Int
+step = indentationColumns . settingsIndentation
+
+-- | The indentation so many steps in from another, where a step wider than
+-- two columns is taken from the nearest multiple of itself at or left of
+-- it, as Fourmolu does.
+nestedBy ::
+  -- | Columns per indentation step.
+  Int ->
+  -- | The steps.
+  Int ->
+  -- | The indentation to step in from.
+  Int ->
+  Int
+nestedBy columns steps indent
+  | columns > 2, steps > 0 = indent `div` columns * columns + steps * columns
+  | otherwise = indent + steps * columns
+
+-- | What the engine carries while walking a document.
+data Env = Env
+  { -- | The column a new line starts at.
+    envIndent :: !Int,
+    -- | The indentation without the steps of the innermost 'DIndented'.
+    envBase :: !Int,
+    -- | The line, counted by 'outBegun', the innermost 'DIndented' was
+    -- entered on, unless a 'DAligned' was entered inside it.
+    envWithin :: !Int,
+    -- | The layout of the innermost group as it settled, 'Frangible' where
+    -- a frangible group settled flat.
+    envLayout :: !Layout,
+    -- | Whether what is written now is a note, which goes to the margin
+    -- right above a preprocessor directive.
+    envNote :: !Bool,
+    -- | Whether a group laid out flat holds what is written now, with no
+    -- broken group in between, which keeps every 'Frangible' group in it
+    -- flat.
+    envHeldFlat :: !Bool,
+    -- | Whether what is written now is in an item of a run that runs into
+    -- a neighbour, which keeps every 'Frangible' group in it flat.
+    envHolding :: !Bool,
+    -- | What the document is printed with.
+    envSettings :: !Settings
+  }
+
+-- | Output built so far.
+--
+-- Lines are finished one at a time and never revisited while the document
+-- is walked, but for the empty lines a directive drops right above itself.
+-- Whatever about a line depends on the lines around it is settled only
+-- once they are all there, in 'finish'.
+data Out = Out
+  { -- | Completed lines, most recent first.
+    outLines :: [Line],
+    -- | The line being built, but for its body, which is put together from
+    -- 'outCurrent' and 'outHeldBack' once it is finished.
+    outLine :: !Line,
+    -- | What has been written to the line being built after its
+    -- indentation, most recent first.
+    outCurrent :: [Text],
+    -- | Column the current line has reached.
+    outColumn :: !Int,
+    -- | Fragments held back until the line ends, in the order they were
+    -- given. The first goes at the end of the line; any after it get lines
+    -- of their own under it.
+    outHeldBack :: ![(Spill, Text)],
+    -- | The first remark held back for the line, and the column the line
+    -- had reached when it was.
+    outRemark :: !(Maybe (Span, Int)),
+    -- | The remarks held back for a line that another comment was written
+    -- on after code, which end their lines where they stand when the
+    -- document is printed again.
+    outCrowded :: ![Span],
+    -- | What the line being built ends with, so far as what is written
+    -- next depends on it.
+    outEnding :: !Ending,
+    -- | The base of each referent written so far, by its region: its
+    -- indentation without the steps entered on the line it begins on,
+    -- which steps from it count from.
+    outReferents :: !(HashMap (Maybe Span) Int),
+    -- | The referents being written that no text was written in yet, each
+    -- with the line, counted by 'outBegun', it was entered on, if that had
+    -- begun, and the indentation it was entered at.
+    outUnwritten :: [(Maybe Span, Int, Int)],
+    -- | The referents left with no text written in them, which a later part
+    -- of theirs places again.
+    outVacant :: [Maybe Span],
+    -- | How many lines were begun.
+    outBegun :: !Int,
+    -- | The region of the comment written last, which a comment of the
+    -- same region carries on, as the merge cuts one into lines.
+    outComment :: !(Maybe Span)
+  }
+
+-- | What the line being built ends with, so far as what is written next
+-- depends on it.
+data Ending
+  = -- | Whatever was written to it last, or nothing yet.
+    Written
+  | -- | An opener, spaces aside: an opening bracket, or a leading separator
+    -- that keeps what it leads on its line.
+    Opened
+  deriving (Eq)
+
+-- | A line, and what the engine knew about it as it wrote it.
+data Line = Line
+  { -- | The indentation it was started at.
+    lineIndent :: !Int,
+    -- | What it holds after its indentation.
+    lineBody :: !Text,
+    -- | Whether what it reproduces started it at the margin, whatever the
+    -- indentation, and so keeps it there.
+    linePinned :: !Bool,
+    -- | Whether a note is all it holds.
+    lineNote :: !Bool,
+    -- | Whether it is a preprocessor directive.
+    lineDirective :: !Bool,
+    -- | Where in its body a line comment held back for its end begins, where
+    -- one was and nothing went under it.
+    lineRemark :: !(Maybe Int),
+    -- | Whether a Haddock written as @--@ lines runs to its end, so that
+    -- the lexer reads a line under it that 'continuesHaddock' as more of it.
+    lineHaddock :: !Bool,
+    -- | Whether a comment that 'holdsOffHaddock' ends it, other than a
+    -- remark held back for its end.
+    lineComment :: !Bool
+  }
+
+-- | A line with nothing on it and nothing known about it.
+newLine :: Line
+newLine =
+  Line
+    { lineIndent = 0,
+      lineBody = "",
+      linePinned = False,
+      lineNote = False,
+      lineDirective = False,
+      lineRemark = Nothing,
+      lineHaddock = False,
+      lineComment = False
+    }
+
+-- | A line as it is printed.
+lineText :: Line -> Text
+lineText l
+  | T.null (lineBody l) = ""
+  | otherwise = T.replicate (lineIndent l) " " <> lineBody l
+
+emptyOut :: Out
+emptyOut =
+  Out
+    { outLines = [],
+      outLine = newLine,
+      outCurrent = [],
+      outColumn = 0,
+      outHeldBack = [],
+      outRemark = Nothing,
+      outCrowded = [],
+      outEnding = Written,
+      outReferents = HashMap.empty,
+      outUnwritten = [],
+      outVacant = [],
+      outBegun = 0,
+      outComment = Nothing
+    }
+
+-- | Turn a document into text.
+printDoc ::
+  -- | What to print it with.
+  Settings ->
+  -- | The document.
+  Doc ->
+  Text
+printDoc settings = finish . settled
+  where
+    settled doc = case outCrowded out of
+      [] -> out
+      crowded -> settled (endingTheirLines crowded doc)
+      where
+        out = go env doc emptyOut
+    env =
+      Env
+        { envIndent = 0,
+          envBase = 0,
+          envWithin = -1,
+          envLayout = Broken,
+          envNote = False,
+          envHeldFlat = False,
+          envHolding = False,
+          envSettings = settings
+        }
+
+-- | Does a gap among the things a document concatenates leave no empty
+-- line, holding the items of a run on either side of it?
+runsInto :: Doc -> Bool
+runsInto = \case
+  DCat a b -> runsInto a || runsInto b
+  DDeclDelimiter style -> style == DeclJoined
+  _ -> False
+
+-- | For each of the things a run concatenates, whether the nearest gap
+-- above it, on its side of where the declarations begin, leaves no empty
+-- line.
+gluedAbove :: [Doc] -> [Bool]
+gluedAbove = scanl nearest False
+  where
+    nearest glued = \case
+      DDeclDelimiter style -> style == DeclJoined
+      DDeclarationsStart -> False
+      _ -> glued
+
+-- | The things a document concatenates.
+concatenated :: Doc -> [Doc]
+concatenated = \case
+  DCat a b -> concatenated a <> concatenated b
+  DEmpty -> []
+  d -> [d]
+
+-- | Walk a document, accumulating output.
+go ::
+  -- | What is in force where the document is.
+  Env ->
+  -- | The document.
+  Doc ->
+  -- | The output so far.
+  Out ->
+  Out
+go env = \case
+  DEmpty -> id
+  DText t
+    | T.null t -> id
+    | otherwise ->
+        placed
+          . putText (envIndent env) t
+          . noting (envNote env)
+          . heldOffComment t
+  DSpace -> putSpace
+  DBreak -> case envLayout env of
+    Broken -> endLine
+    _ -> putSpace
+  DBreak' -> case envLayout env of
+    Broken -> endLine
+    _ -> id
+  DNewline -> endLine
+  DVerbatimBreak lineStart trailing ->
+    verbatimBreakLine (envNote env) lineStart trailing . crowding True
+  d@(DCat a b)
+    | runsInto d -> \out ->
+        foldl
+          (\o (held, x) -> go env{envHolding = envHolding env || held} x o)
+          out
+          (zip (zipWith (||) (gluedAbove xs) below) xs)
+    | otherwise -> along b . along a
+    where
+      xs = concatenated d
+      below = drop 1 (reverse (gluedAbove (reverse xs)))
+      along = \case
+        DCat x y -> along y . along x
+        x -> go env x
+  DReferent k d -> \out ->
+    let naming = isJust k || printsNothing d
+        recorded =
+          HashMap.member k (outReferents out) && k `notElem` outVacant out
+     in if naming && recorded
+          then go env d out
+          else
+            unplaced k $
+              go
+                env
+                d
+                out
+                  { outReferents =
+                      HashMap.insert k (baseAt env out) (outReferents out),
+                    outUnwritten =
+                      (k, current out, envIndent env) : outUnwritten out,
+                    outVacant = filter (/= k) (outVacant out)
+                  }
+  DIndented n a d -> \out ->
+    let names = referentsIn a
+        pointer = namesOnly a && not (null names)
+        printed = if pointer then out else go env (unnamed a) out
+        base
+          | pointer =
+              fromMaybe (error "Tilia: dangling pointer") . asum $
+                fmap (`HashMap.lookup` outReferents out) names
+          | otherwise = baseAt env out
+        aliased = case names of
+          _ : _ : _ ->
+            printed
+              { outReferents =
+                  foldr (`HashMap.insert` base) (outReferents printed) names
+              }
+          _ -> printed
+        column = nestedBy (step (envSettings env)) n base
+     in go
+          env{envIndent = column, envBase = base, envWithin = current printed}
+          d
+          aliased
+  DAligned n d -> \out ->
+    let column = columnAt env out + n
+     in go env{envIndent = column, envBase = column, envWithin = -1} d out
+  DCppMarginNote d -> \out ->
+    go env{envNote = not (hasContent out)} d out
+  DGroup l d -> \out ->
+    let settled = case l of
+          Frangible
+            | not (envHeldFlat env),
+              not (envHolding env),
+              fracturesFrom
+                (settingsColumnLimit (envSettings env))
+                out
+                (envIndent env)
+                d ->
+                Broken
+          _ | l /= Broken, opensUp d -> Broken
+          _ -> l
+     in go env{envLayout = settled, envHeldFlat = settled /= Broken} d out
+  DVariant flatD brokenD -> case envLayout env of
+    Broken -> go env brokenD
+    _ -> go env flatD
+  DLocated _ d -> go env d
+  DFence _ d -> go env d
+  DDeclDelimiter DeclSeparate -> emptyLine
+  DDeclDelimiter _ -> id
+  DSeparator LeadingSeparator l@(DCat _ DSpace) _ -> opened . go env l
+  DSeparator LeadingSeparator l _ -> go env l
+  DSeparator TrailingSeparator _ t -> go env t
+  DBracket OpeningBracket _ d -> opened . go env d
+  DBracket ClosingBracket _ d -> go env d
+  DComment placement c d ->
+    (\out -> out{outComment = Just c}) . case placement of
+      InPlace -> go env d . crowding False
+      EndsTheLine ->
+        endLine
+          . go env d
+          . putSpace
+          . crowding True
+          . endedByComment c d
+          . heldOffHaddock c d
+      HeldBack spill -> \out ->
+        let begun = heldOffHaddock c d out
+            held =
+              foldl
+                ( \o (s, t) ->
+                    placed (putHeldBack (envIndent env) s t (noting False o))
+                )
+                ( crowding False $
+                    if hasContent begun then begun else endedByComment c d begun
+                )
+                (heldBackLines spill d)
+         in if isNothing (outRemark out) && not (null (outHeldBack held))
+              then held{outRemark = Just (c, outColumn out)}
+              else held
+      OnItsOwnLines gap -> \out ->
+        let begun
+              | outEnding out == Opened && null (outHeldBack out) = putSpace out
+              | gap = emptyLine (endLine out)
+              | otherwise = endLine out
+         in endLine (go env d (endedByComment c d (heldOffHaddock c d begun)))
+  DCppChoice cs branches fallback -> \out ->
+    let afterElse = foldMap conditionalElse (listToMaybe cs)
+        afterEndif = foldMap conditionalEndif (listToMaybe cs)
+        guards = maybe (fmap fst branches) conditionalGuards (listToMaybe cs)
+        alternative d o =
+          let o' =
+                go
+                  env{envHeldFlat = False}
+                  ( case envLayout env of
+                      Frangible -> DGroup Frangible d
+                      _ -> d
+                  )
+                  o
+                    { outReferents = outReferents out,
+                      outUnwritten = outUnwritten out,
+                      outVacant = outVacant out
+                    }
+              placedIn x =
+                HashMap.differenceWith
+                  (\new old -> if new == old then Nothing else Just new)
+                  (outReferents x)
+                  (outReferents out)
+           in o'
+                { outReferents =
+                    HashMap.unions [placedIn o, placedIn o', outReferents out],
+                  outUnwritten =
+                    filter (`elem` outUnwritten o') (outUnwritten o),
+                  outVacant = filter (`elem` outVacant o') (outVacant o)
+                }
+        steps =
+          [ [directive ends ("#" <> guard'), alternative taken]
+          | (ends, guard', (_, taken)) <-
+              zip3 (False : repeat True) guards branches
+          ]
+            <> [ [ directive True ("#else" <> afterElse),
+                   alternative fallback
+                 ]
+               | not (printsNothing fallback && T.null afterElse)
+               ]
+            <> [[directive True ("#endif" <> afterEndif)]]
+     in foldr (flip (.)) id (concat steps) out
+  DCppDirective _ t -> directive False ("#" <> t)
+  DDeclarationsStart -> id
+
+-- | Leave an empty line where a comment is about to begin a line right
+-- under the end of a Haddock written as @--@ lines, which the lexer would
+-- read it as more of.
+heldOffHaddock ::
+  -- | Where the comment was written.
+  Span ->
+  -- | The comment.
+  Doc ->
+  -- | The output so far.
+  Out ->
+  Out
+heldOffHaddock c d out
+  | not (hasContent out),
+    outComment out /= Just c,
+    l : _ <- outLines out,
+    lineHaddock l,
+    maybe False continuesHaddock (firstText d) =
+      completing TrimWhitespace out
+  | otherwise = out
+
+-- | Note that a comment that 'holdsOffHaddock' ends the line being built,
+-- where nothing but an opener is on it yet.
+endedByComment ::
+  -- | Where the comment was written.
+  Span ->
+  -- | The comment.
+  Doc ->
+  -- | The output so far.
+  Out ->
+  Out
+endedByComment c d out
+  | not (hasContent out) || outEnding out == Opened,
+    outComment out /= Just c,
+    maybe False holdsOffHaddock (firstText d) =
+      out{outLine = (outLine out){lineComment = True}}
+  | otherwise = out
+
+-- | Does this text begin a comment written as @--@ lines, other than a
+-- divider or a Haddock, which a Haddock under it is held off?
+holdsOffHaddock :: Text -> Bool
+holdsOffHaddock t =
+  "--" `T.isPrefixOf` t && not (isDivider t) && not (opensHaddock t)
+
+-- | Leave an empty line where a Haddock is about to begin a line right
+-- under one that a comment ends.
+heldOffComment ::
+  -- | The text about to be written.
+  Text ->
+  -- | The output so far.
+  Out ->
+  Out
+heldOffComment t out
+  | not (hasContent out),
+    l : _ <- outLines out,
+    lineComment l,
+    opensHaddock t =
+      completing TrimWhitespace out
+  | otherwise = out
+
+-- | The first text a document prints, if it prints any.
+firstText :: Doc -> Maybe Text
+firstText = \case
+  DText t | not (T.null t) -> Just t
+  DCat a b -> firstText a <|> firstText b
+  d -> firstText . snd =<< unwrap d
+
+-- | Where a step from a part entered here counts from: 'envBase' on the
+-- line the innermost relation was entered on, the indentation elsewhere.
+baseAt ::
+  -- | What is in force.
+  Env ->
+  -- | The output so far.
+  Out ->
+  Int
+baseAt env out
+  | started out, outBegun out == envWithin env = envBase env
+  | otherwise = envIndent env
+
+-- | A part with the mark that makes it a referent taken off it.
+unnamed :: Doc -> Doc
+unnamed = \case
+  DReferent _ d -> d
+  d -> d
+
+-- | Leave the referent with this region begun where it was entered if
+-- nothing was written in it, until a later part of it is.
+unplaced ::
+  -- | The region.
+  Maybe Span ->
+  -- | The output so far.
+  Out ->
+  Out
+unplaced k out
+  | any (\(k', _, _) -> k' == k) (outUnwritten out) =
+      out
+        { outUnwritten = filter (\(k', _, _) -> k' /= k) (outUnwritten out),
+          outVacant = k : outVacant out
+        }
+  | otherwise = out
+
+-- | Note that text was written in each referent being written, the base
+-- of one that begins a later line than it was entered on becoming the
+-- indentation it was entered at.
+placed :: Out -> Out
+placed out = case outUnwritten out of
+  [] -> out
+  ks ->
+    out
+      { outReferents = foldr place (outReferents out) ks,
+        outUnwritten = []
+      }
+  where
+    place (k, entered, indent)
+      | entered == outBegun out = id
+      | otherwise = HashMap.adjust (const indent) k
+
+-- | The column what is written next begins at.
+columnAt ::
+  -- | What is in force.
+  Env ->
+  -- | The output so far.
+  Out ->
+  Int
+columnAt env out
+  | started out = outColumn out
+  | otherwise = envIndent env
+
+-- | The line being written, counted by 'outBegun', if it has begun.
+current :: Out -> Int
+current out = if started out then outBegun out else -1
+
+-- | Does a frangible document break where it is about to be printed?
+fracturesFrom ::
+  -- | The column limit.
+  Int ->
+  -- | The output so far.
+  Out ->
+  -- | The indentation in force.
+  Int ->
+  -- | The document.
+  Doc ->
+  Bool
+fracturesFrom limit out indent =
+  isJust
+    . fracture
+      limit
+      (if started out then outColumn out else indent)
+      (started out && not (endsWithSpace out))
+
+-- | Where the first line of a frangible document laid out broken stops, if
+-- it breaks from this column: if it runs past the column limit flat and
+-- stops sooner broken.
+fracture ::
+  -- | The column limit.
+  Int ->
+  -- | The column it starts at.
+  Int ->
+  -- | Whether a space asked for first is printed.
+  Bool ->
+  -- | The document.
+  Doc ->
+  Maybe (Int, Bool, Bool)
+fracture limit column spaceFirst d
+  | flat limit > limit, flat end > end = Just broken
+  | otherwise = Nothing
+  where
+    flat bound =
+      let (c, _, _) =
+            columnReached limit bound column spaceFirst [(Flat, True, d)]
+       in c
+    broken@(end, _, _) =
+      columnReached limit maxBound column spaceFirst [(Broken, False, d)]
+
+-- | The column a line reaches, or the first one past the bound, whether a
+-- space asked for next is printed there, and whether the line ends there
+-- rather than what is laid out on it.
+columnReached ::
+  -- | The column limit.
+  Int ->
+  -- | The column past which it stops.
+  Int ->
+  -- | The column it starts at.
+  Int ->
+  -- | Whether a space asked for first is printed.
+  Bool ->
+  -- | What is left to lay out, each with the layout in force and whether a
+  -- flat group around it holds it, even past a broken one.
+  [(Layout, Bool, Doc)] ->
+  (Int, Bool, Bool)
+columnReached limit bound = walk
+  where
+    walk column spaceDue items
+      | column > bound = (column, spaceDue, True)
+      | otherwise = case items of
+          [] -> (column, spaceDue, False)
+          (layout, held, x) : rest -> item column spaceDue layout held x rest
+    item column spaceDue layout held x rest = case x of
+      DText t
+        | T.null t -> walk column spaceDue rest
+        | otherwise -> walk (column + T.length t) True rest
+      DSpace -> space column spaceDue rest
+      DBreak -> case layout of
+        Broken -> (column, spaceDue, True)
+        _ -> space column spaceDue rest
+      DBreak' -> case layout of
+        Broken -> (column, spaceDue, True)
+        _ -> walk column spaceDue rest
+      DCat a b -> item column spaceDue layout held a ((layout, held, b) : rest)
+      DIndented _ a b ->
+        item column spaceDue layout held a ((layout, held, b) : rest)
+      DGroup Frangible y
+        | not held -> case fracture limit column spaceDue y of
+            Just (c, s, True) -> (c, s, True)
+            Just (c, s, False) -> walk c s rest
+            Nothing
+              | opensUp y -> item column spaceDue Broken held y rest
+              | otherwise -> item column spaceDue Flat True y rest
+      DGroup l y
+        | l /= Broken,
+          opensUp y ->
+            item column spaceDue Broken held y rest
+      DGroup l y ->
+        let settled = if l == Broken then Broken else Flat
+         in item column spaceDue settled (held || settled == Flat) y rest
+      DVariant flatD brokenD -> case layout of
+        Broken -> item column spaceDue layout held brokenD rest
+        _ -> item column spaceDue layout held flatD rest
+      DNewline -> (column, spaceDue, True)
+      DDeclDelimiter _ -> walk column spaceDue rest
+      DComment placement _ y -> case placement of
+        InPlace -> item column spaceDue layout held y rest
+        EndsTheLine ->
+          space
+            column
+            spaceDue
+            ((layout, held, y) : (layout, held, DNewline) : rest)
+        HeldBack _ -> walk column spaceDue rest
+        OnItsOwnLines _ -> (column, spaceDue, True)
+      DVerbatimBreak{} -> (column, spaceDue, True)
+      DCppChoice{} -> (column, spaceDue, True)
+      DCppDirective{} -> (column, spaceDue, True)
+      DEmpty -> walk column spaceDue rest
+      DDeclarationsStart -> walk column spaceDue rest
+      _
+        | Just (_, y) <- unwrap x -> item column spaceDue layout held y rest
+        | otherwise -> (column, spaceDue, True)
+    space column spaceDue rest
+      | spaceDue = walk (column + 1) False rest
+      | otherwise = walk column spaceDue rest
+
+-- | Record whether the line holds nothing but a note, given whether what is
+-- about to be written to it is one.
+noting :: Bool -> Out -> Out
+noting note out
+  | note' == lineNote l = out
+  | otherwise = out{outLine = l{lineNote = note'}}
+  where
+    l = outLine out
+    note' = note && (not (started out) || lineNote l)
+
+-- | Put a directive at the margin, on a line of its own, with no empty line
+-- above one that ends a branch but the one cpp joins to a line ending in a
+-- backslash.
+directive ::
+  -- | Does it end a branch?
+  Bool ->
+  -- | The directive.
+  Text ->
+  -- | The output so far.
+  Out ->
+  Out
+directive ends t =
+  endLine . typed . putText 0 t . (if ends then unspaced else id) . endLine
+  where
+    typed out =
+      out{outLine = (outLine out){lineNote = False, lineDirective = True}}
+    unspaced out = out{outLines = unspacedLines (outLines out)}
+    unspacedLines ls = case span (T.null . lineBody) ls of
+      (blank : _, l : rest) | endsInBackslash (lineBody l) -> blank : l : rest
+      (_, rest) -> rest
+
+-- | Append a fragment, starting the line at the indentation if this is the
+-- first thing on it, and noting a Haddock it opens that 'holdsOff'.
+putText ::
+  -- | The indentation in force.
+  Int ->
+  -- | The fragment.
+  Text ->
+  -- | The output so far.
+  Out ->
+  Out
+putText indent t out0
+  | T.null t = out0
+  | started out =
+      out
+        { outCurrent = t : outCurrent out,
+          outColumn = outColumn out + T.length t
+        }
+  | otherwise =
+      out
+        { outCurrent = [t],
+          outColumn = indent + T.length t,
+          outLine = (outLine out){lineIndent = indent}
+        }
+  where
+    out
+      | holdsOff t =
+          out0
+            { outEnding = Written,
+              outLine = (outLine out0){lineHaddock = True}
+            }
+      | otherwise = out0{outEnding = Written}
+
+-- | Hold a fragment back until the line ends.
+putHeldBack :: Int -> Spill -> Text -> Out -> Out
+putHeldBack indent spill t out
+  | started out || not (null (outHeldBack out)) =
+      out{outHeldBack = outHeldBack out <> [(spill, t)], outEnding = Written}
+  | otherwise = endLine (putText indent t out)
+
+-- | Append a space, unless the line has not started or already ends in one.
+putSpace :: Out -> Out
+putSpace out
+  | not (started out) = out
+  | endsWithSpace out = out
+  | otherwise =
+      out
+        { outCurrent = " " : outCurrent out,
+          outColumn = outColumn out + 1
+        }
+
+-- | Does the current line already end in a space?
+endsWithSpace :: Out -> Bool
+endsWithSpace out = case outCurrent out of
+  (t : _) -> maybe False ((== ' ') . snd) (T.unsnoc t)
+  [] -> False
+
+-- | End the current line if anything is on it, and do nothing otherwise.
+endLine :: Out -> Out
+endLine out
+  | hasContent out = completing TrimWhitespace out
+  | otherwise = out
+
+-- | Leave an empty line where a line has just ended, unless that would
+-- repeat an empty line, and do nothing on a line with something on it.
+emptyLine :: Out -> Out
+emptyLine out
+  | hasContent out || repeatsBlank out = out
+  | otherwise = completing TrimWhitespace out
+
+-- | Begin a new line, leaving the one being built unfinished.
+fresh :: Out -> Out
+fresh out =
+  out
+    { outBegun = outBegun out + 1,
+      outLine = newLine,
+      outCurrent = [],
+      outColumn = 0,
+      outHeldBack = [],
+      outRemark = Nothing,
+      outEnding = Written
+    }
+
+-- | Finish the current line, with the held-back fragments that spill under
+-- it, and begin a new one.
+completing ::
+  -- | What to do with whitespace the lines end in.
+  TrailingWhitespace ->
+  -- | The output so far.
+  Out ->
+  Out
+completing trailing out =
+  fresh out{outLines = reverse (finished : spilledLines) <> outLines out}
+  where
+    finished =
+      (outLine out)
+        { lineBody = body,
+          lineRemark = remark,
+          lineHaddock = lineHaddock (outLine out) || carriedOn
+        }
+    carriedOn = case outLines out of
+      l : _ -> lineHaddock l && continuesHaddock body
+      [] -> False
+    body
+      | T.null written = heldBack
+      | T.null heldBack = written
+      | otherwise = written <> " " <> heldBack
+    written =
+      adjustTrailingWhitespace trailing (T.concat (reverse (outCurrent out)))
+    heldBack =
+      maybe
+        ""
+        (adjustTrailingWhitespace trailing . snd)
+        (listToMaybe (outHeldBack out))
+    heldAt = T.length body - T.length heldBack
+    remark
+      | [_] <- outHeldBack out,
+        heldAt > 0,
+        "--" `T.isPrefixOf` heldBack =
+          Just heldAt
+      | otherwise = Nothing
+    spilled = drop 1 (outHeldBack out)
+    spilledLines = zipWith below columns spilled
+    columns =
+      drop 1 (scanl columnFor (lineIndent finished + heldAt) (fmap fst spilled))
+    below column (spill, t) =
+      newLine
+        { lineIndent = if spill == SpillAtMargin then 0 else column,
+          lineBody = adjustTrailingWhitespace trailing t,
+          lineComment = spill /= SpillUnderPrevious && holdsOffHaddock t
+        }
+    columnFor previous = \case
+      SpillAtIndentation -> lineIndent finished + commaLed body
+      SpillUnderPrevious -> previous
+      SpillAtMargin -> previous
+
+-- | The width of the leading comma a line begins with, if it begins with
+-- one, which what lines up with the line lines up past.
+commaLed :: Text -> Int
+commaLed body = if ", " `T.isPrefixOf` body then 2 else 0
+
+-- | Finish the current line between two lines of reproduced text.
+verbatimBreakLine ::
+  -- | Whether the next line is part of a note.
+  Bool ->
+  -- | Where the next line begins.
+  LineStart ->
+  -- | What to do with the whitespace the line ends in.
+  TrailingWhitespace ->
+  -- | The output so far.
+  Out ->
+  Out
+verbatimBreakLine note lineStart trailing out =
+  (completing trailing out)
+    { outLine = newLine{linePinned = lineStart == AtMargin, lineNote = note}
+    }
+
+-- | Would this empty line be the first line or a second empty one in a
+-- row?
+repeatsBlank :: Out -> Bool
+repeatsBlank out = case outLines out of
+  (l : _) -> T.null (lineBody l)
+  [] -> True
+
+-- | Has the current line begun, with something written to it or with what
+-- it reproduces starting it at the margin?
+started :: Out -> Bool
+started out = not (null (outCurrent out)) || linePinned (outLine out)
+
+-- | Does a comment end a line inside a bracket that a document opens, with
+-- more of the document to follow, where it is laid out flat?
+--
+-- Only the document's own level counts: a group inside it settles that
+-- for itself.
+opensUp :: Doc -> Bool
+opensUp d = case go' (Bracketing 0 False False) d of
+  Bracketing _ _ opens -> opens
+  where
+    go' b@(Bracketing open ended opens) = \case
+      DText t
+        | T.null t -> b
+        | otherwise -> printed
+      DBracket side _ _ ->
+        Bracketing
+          (if side == OpeningBracket then open + 1 else open - 1)
+          ended
+          (opens || ended)
+      DComment placement _ _ -> case placement of
+        EndsTheLine -> ending
+        OnItsOwnLines _ -> ending
+        InPlace -> printed
+        HeldBack _ -> b
+      DGroup _ _ -> printed
+      DCat x y -> after x y
+      DIndented _ x y -> after x y
+      DVariant flatD _ -> go' b flatD
+      DNewline -> lineEnded
+      DVerbatimBreak{} -> lineEnded
+      DCppChoice{} -> lineEnded
+      DCppDirective{} -> lineEnded
+      x -> maybe b (go' b . snd) (unwrap x)
+      where
+        printed = Bracketing open ended (opens || ended)
+        ending = Bracketing open (ended || open > 0) opens
+        lineEnded = Bracketing open False opens
+        after x y = case go' b x of
+          b'@(Bracketing _ _ True) -> b'
+          b' -> go' b' y
+
+-- | What 'opensUp' has found so far of the level of a document it walks.
+data Bracketing
+  = Bracketing
+      -- | How many brackets were opened and not closed.
+      !Int
+      -- | Whether a comment ended a line inside one of them since a line
+      -- last ended.
+      !Bool
+      -- | Whether more of the document followed such a comment.
+      !Bool
+
+-- | Record the remark held back for the line as crowded where what comes
+-- next would come before it: a comment after code written after it, or a
+-- comment or a verbatim break that ends the line.
+crowding ::
+  -- | Does what comes next end the line?
+  Bool ->
+  -- | The output so far.
+  Out ->
+  Out
+crowding ends out = case outRemark out of
+  Just (r, column)
+    | ends || outColumn out > column ->
+        out{outCrowded = r : outCrowded out, outRemark = Nothing}
+  _ -> out
+
+-- | The document with each of these remarks ending its line where it
+-- stands rather than held back to the end of it.
+endingTheirLines ::
+  -- | Where the remarks were written.
+  [Span] ->
+  -- | The document.
+  Doc ->
+  Doc
+endingTheirLines crowded = go'
+  where
+    go' = \case
+      DComment (HeldBack _) c d | c `elem` crowded -> DComment EndsTheLine c d
+      DCat a b -> DCat (go' a) (go' b)
+      DIndented n a b -> DIndented n (go' a) (go' b)
+      DVariant a b -> DVariant (go' a) (go' b)
+      DCppChoice cs bs e -> DCppChoice cs [(t, go' d) | (t, d) <- bs] (go' e)
+      d
+        | Just (w, x) <- unwrap d -> wrap w (go' x)
+        | otherwise -> d
+
+-- | Note that the line ends with an opener.
+opened :: Out -> Out
+opened out = out{outEnding = Opened}
+
+-- | The lines of a comment to hold back for the end of a line, each with
+-- where it goes once it spills under that line: at the margin where a break
+-- to the margin begins it, and as told otherwise.
+heldBackLines ::
+  -- | Where a line that spills goes.
+  Spill ->
+  -- | The comment.
+  Doc ->
+  [(Spill, Text)]
+heldBackLines spill d = reverse (collect d [(spill, "")])
+  where
+    collect = \case
+      DText t -> \case
+        (s, l) : ls -> (s, l <> t) : ls
+        [] -> [(spill, t)]
+      DVerbatimBreak AtMargin _ -> ((SpillAtMargin, "") :)
+      DVerbatimBreak AtIndent _ -> ((spill, "") :)
+      DCat a b -> collect b . collect a
+      x -> maybe id (collect . snd) (unwrap x)
+
+-- | Is there anything on the current line, written or held back?
+hasContent :: Out -> Bool
+hasContent out = started out || not (null (outHeldBack out))
+
+-- | Handle the given line according to the 'TrailingWhitespace' style.
+adjustTrailingWhitespace :: TrailingWhitespace -> Text -> Text
+adjustTrailingWhitespace = \case
+  TrimWhitespace -> T.stripEnd
+  KeepWhitespace -> id
+
+-- | Assemble the final text: one trailing newline, no blank lines at the
+-- end, and trailing whitespace only where a verbatim line keeps it.
+finish :: Out -> Text
+finish out =
+  case dropWhile (T.null . lineBody) (outLines (endLine out)) of
+    [] -> ""
+    ls ->
+      T.unlines . fmap lineText $
+        remarksCarriedOn (notesToMargin (reverse ls))
+
+-- | Put the lines of nothing but comments right under a line that ends
+-- with a remark at the remark's column where they would begin right of it,
+-- which is where a comment carrying the remark on goes and how they are
+-- read again.
+remarksCarriedOn :: [Line] -> [Line]
+remarksCarriedOn = \case
+  l : ls
+    | Just at <- lineRemark l,
+      not (linePinned l) ->
+        let column = lineIndent l + at
+            (under, rest) = span (rightOf column) ls
+         in l
+              : fmap (\c -> c{lineIndent = column}) under
+                <> remarksCarriedOn rest
+  l : ls -> l : remarksCarriedOn ls
+  [] -> []
+  where
+    rightOf column c =
+      not (linePinned c)
+        && lineIndent c > column
+        && maybe False plain (commentOpening (lineBody c))
+        && isJust (commentsOnly 0 (lineBody c))
+    plain =
+      maybe True ((`notElem` ['|', '^', '*', '$']) . fst)
+        . T.uncons
+        . T.stripStart
+
+-- | What follows the opening of a comment that text begins with, rather
+-- than an operator made of dashes or a pragma, if it begins with one.
+commentOpening :: Text -> Maybe Text
+commentOpening t
+  | opensLineComment t = Just (T.dropWhile (== '-') t)
+  | Just inside <- T.stripPrefix "{-" t,
+    not ("#" `T.isPrefixOf` inside) =
+      Just inside
+  | otherwise = Nothing
+
+-- | Move every note right above a directive to the margin.
+notesToMargin :: [Line] -> [Line]
+notesToMargin = fst . foldr place ([], False)
+  where
+    place l (ls, above)
+      | lineDirective l = (l : ls, True)
       | above, lineNote l = (l{lineIndent = 0} : ls, True)
       | otherwise = (l : ls, False)
diff --git a/src/Tilia/Editor.hs b/src/Tilia/Editor.hs
--- a/src/Tilia/Editor.hs
+++ b/src/Tilia/Editor.hs
@@ -13,6 +13,7 @@
 import Data.Choice (Choice)
 import Data.Either (fromRight)
 import Data.Text (Text)
+
 import Tilia.Cabal.Project (ProjectRoot (..), findProjectRoot)
 import Tilia.Cabal.Target
   ( Target (Everything),
@@ -61,7 +62,9 @@
       Nothing -> pure (Left (NoProject file))
       Just root -> do
         planSource <-
-          planSourceFor givenPlan (fromRight [] <$> componentsOfTarget root Everything)
+          planSourceFor
+            givenPlan
+            (fromRight [] <$> componentsOfTarget root Everything)
         newSession
           root
           planSource
@@ -72,7 +75,8 @@
           debugFixity
 
 -- | Format given text on the assumption it comes from the specified
--- 'FilePath'.
+-- 'FilePath', or leave it 'Unchanged' where the project's @.tiliaignore@
+-- files exclude that file.
 formatBuffer ::
   -- | The session.
   Session ->
diff --git a/src/Tilia/Equivalence.hs b/src/Tilia/Equivalence.hs
--- a/src/Tilia/Equivalence.hs
+++ b/src/Tilia/Equivalence.hs
@@ -14,9 +14,11 @@
 import Control.Applicative ((<|>))
 import Data.ByteString (ByteString)
 import Data.ByteString qualified as BS
+import Data.Char (isSpace)
 import Data.Choice (pattern Is)
 import Data.Data
 import Data.IORef (IORef, atomicModifyIORef', newIORef, readIORef)
+import Data.IntMap.Strict qualified as IntMap
 import Data.List (sortOn, unsnoc)
 import Data.List.NonEmpty (NonEmpty (..))
 import Data.List.NonEmpty qualified as NE
@@ -27,8 +29,9 @@
 import Data.Set qualified as Set
 import Data.Text (Text)
 import Data.Text qualified as T
+import Data.Text.Encoding qualified as T
 import GHC.Data.FastString (FastString)
-import GHC.Hs (HsModule (..), XModulePs (..))
+import GHC.Hs (HsModule (..))
 import GHC.Hs.Decls (DerivClauseTys (..), DocDecl (..), HsDecl (..), LHsDecl)
 import GHC.Hs.Doc (LHsDoc, WithHsDocIdentifiers (..))
 import GHC.Hs.DocString
@@ -52,23 +55,26 @@
 import GHC.Unit.Types (Unit)
 import Language.Haskell.Syntax.Extension (XRec)
 import Language.Haskell.Syntax.Module.Name (ModuleName)
-import System.IO.Unsafe (unsafePerformIO)
+import System.IO.Unsafe (unsafeDupablePerformIO, unsafePerformIO)
+
 import Tilia.Comments
   ( Comment (..),
-    Pragma (..),
+    CommentStyle (..),
     asOrdinary,
+    bracketed,
     carriedOnFrom,
     carriesOn,
     commentPragma,
     commentTrailing,
+    splitTrigger,
     triggerEscaped,
   )
-import Tilia.Imports (normalizeImports)
-import Tilia.Parser (ParsedModule (..), writtenInHeader)
-import Tilia.Pragma (languageNames, pragmaFlags)
+import Tilia.Imports (normalizeImports, travellingComments)
+import Tilia.Parser (ParsedModule (..), moduleHeaderSpan, writtenInHeader)
+import Tilia.Pragma (Pragma (..), languageNames, pragmaFlags)
 import Tilia.Pragma.Ghc (InForce (..), inForceAfter)
 import Tilia.Source (comments, sourceLines)
-import Tilia.Span (Span (..), covers)
+import Tilia.Span (Span (..), covers, startPoint)
 import Tilia.Span.Ghc (spanOf, spansOf)
 import Tilia.Utils (tshow)
 
@@ -76,14 +82,14 @@
 -- Syntax
 
 -- | Where two ASTs start to differ.
-syntaxDifference :: (Data a) => a -> a -> Maybe Text
+syntaxDifference :: Data a => a -> a -> Maybe Text
 syntaxDifference = differ []
 
 -- | The constructors on the way down to where the walk has got to,
 -- innermost first.
 type Path = [Constr]
 
-differ :: forall a. (Data a) => Path -> a -> a -> Maybe Text
+differ :: forall a. Data a => Path -> a -> a -> Maybe Text
 differ path x y = case classify (typeOf x) of
   Incidental -> Nothing
   Special
@@ -100,7 +106,11 @@
   where
     structurally = case dataTypeRep (dataTypeOf x) of
       AlgRep _
-        | toConstr x /= toConstr y -> Just disagreement
+        | toConstr x /= toConstr y ->
+            maybe
+              (Just disagreement)
+              (uncurry (differ path))
+              (withoutSilentDocs x y)
         | settledByConstructor (toConstr x) -> Nothing
         | otherwise ->
             firstOf
@@ -130,7 +140,7 @@
 
 -- | Which of the three a type is, worked out once.
 classify :: TypeRep -> Verdict
-classify rep = unsafePerformIO $ do
+classify rep = unsafeDupablePerformIO $ do
   known <- readIORef classified
   case Map.lookup rep known of
     Just verdict -> pure verdict
@@ -184,7 +194,7 @@
 firstOf = listToMaybe . catMaybes
 
 -- | One field of a value, with its type hidden.
-data Cell = forall d. (Data d) => Cell d
+data Cell = forall d. Data d => Cell d
 
 cellDiffer :: Path -> Cell -> Cell -> Maybe Text
 cellDiffer path (Cell a) (Cell b) = case cast b of
@@ -196,7 +206,7 @@
 -- Handed back to 'differ' whole they would arrive at the same @as…@ function
 -- again and never stop, which is why the lengths are settled here and only
 -- the elements go back round.
-elementwise :: (Data b) => Path -> Text -> [b] -> [b] -> Maybe Text
+elementwise :: Data b => Path -> Text -> [b] -> [b] -> Maybe Text
 elementwise path what before after
   | length before /= length after = Just (describe path what)
   | otherwise = firstOf (zipWith (differ path) before after)
@@ -210,7 +220,7 @@
 -- 'Nothing' where the two are not a @Maybe (LHsDoc GhcPs)@, which sends
 -- 'differ' on to the next @as…@ function. Otherwise the answer, itself
 -- 'Nothing' where the two say the same thing.
-asStandaloneDoc :: (Data a) => Path -> a -> a -> Maybe (Maybe Text)
+asStandaloneDoc :: Data a => Path -> a -> a -> Maybe (Maybe Text)
 asStandaloneDoc path x y = case (cast x, cast y) of
   (Just before, Just after) -> Just (compared (kept before) (kept after))
   _ -> Nothing
@@ -227,11 +237,42 @@
               (named (toConstr before) <> " became " <> named (toConstr after))
           )
 
+-- | Two types without the Haddock that says nothing around either, where
+-- one of them has one.
+--
+-- Asked only where the two differ in their constructors, which is the one
+-- way such a Haddock shows.
+withoutSilentDocs ::
+  Data a =>
+  -- | What was written.
+  a ->
+  -- | What was printed.
+  a ->
+  Maybe (HsType GhcPs, HsType GhcPs)
+withoutSilentDocs x y = case (cast x, cast y) of
+  (Just before, Just after)
+    | silent before || silent after -> Just (bare before, bare after)
+  _ -> Nothing
+  where
+    silent :: HsType GhcPs -> Bool
+    silent = \case
+      HsDocTy _ _ doc -> saysNothing (hsDocString (unLoc doc))
+      _ -> False
+    bare t = case t of
+      HsDocTy _ inner _ | silent t -> bare (unLoc inner)
+      _ -> t
+
 -- | An export list, minus the documentation that says nothing.
-asExportItems :: (Data a) => Path -> a -> a -> Maybe (Maybe Text)
+asExportItems :: Data a => Path -> a -> a -> Maybe (Maybe Text)
 asExportItems path x y = case (cast x, cast y) of
   (Just before, Just after) ->
-    Just (elementwise path "the module exports a different list" (kept before) (kept after))
+    Just
+      ( elementwise
+          path
+          "the module exports a different list"
+          (kept before)
+          (kept after)
+      )
   _ -> Nothing
   where
     kept :: [LIE GhcPs] -> [LIE GhcPs]
@@ -241,10 +282,16 @@
       _ -> False
 
 -- | A block of declarations, minus the documentation that says nothing.
-asDeclarations :: (Data a) => Path -> a -> a -> Maybe (Maybe Text)
+asDeclarations :: Data a => Path -> a -> a -> Maybe (Maybe Text)
 asDeclarations path x y = case (cast x, cast y) of
   (Just before, Just after) ->
-    Just (elementwise path "a different number of declarations" (kept before) (kept after))
+    Just
+      ( elementwise
+          path
+          "a different number of declarations"
+          (kept before)
+          (kept after)
+      )
   _ -> Nothing
   where
     kept :: [LHsDecl GhcPs] -> [LHsDecl GhcPs]
@@ -303,18 +350,19 @@
     `elem` ["Maybe", "List", "NonEmpty", "Tuple2", "Tuple3", "Tuple4", "Tuple5"]
 
 -- | Which side of the module name @qualified@ was written on.
-asQualifiedStyle :: (Data a) => Path -> a -> a -> Maybe (Maybe Text)
+asQualifiedStyle :: Data a => Path -> a -> a -> Maybe (Maybe Text)
 asQualifiedStyle path x y = case (cast x, cast y) of
   (Just before, Just after) -> Just (compared before after)
   _ -> Nothing
   where
-    compared :: ImportDeclQualifiedStyle -> ImportDeclQualifiedStyle -> Maybe Text
+    compared ::
+      ImportDeclQualifiedStyle -> ImportDeclQualifiedStyle -> Maybe Text
     compared before after
       | isImportDeclQualified before == isImportDeclQualified after = Nothing
       | otherwise = Just (describe path "the import stopped being qualified")
 
 -- | A @deriving@ clause, however it was punctuated.
-asDerivingClause :: (Data a) => Path -> a -> a -> Maybe (Maybe Text)
+asDerivingClause :: Data a => Path -> a -> a -> Maybe (Maybe Text)
 asDerivingClause path x y = case (cast x, cast y) of
   (Just before, Just after) ->
     Just (differ path (derived before) (derived after))
@@ -325,26 +373,41 @@
       DctSingle _ t -> [t]
       DctMulti _ ts -> ts
 
--- | A module's imports, compared as the set they are.
-asImports :: (Data a) => Path -> a -> a -> Maybe (Maybe Text)
+-- | A module's imports, compared as the set they are, or 'Nothing' where
+-- the two are not imports.
+asImports ::
+  Data a =>
+  -- | The constructors above the two, which a difference is described by.
+  Path ->
+  -- | One of them.
+  a ->
+  -- | The other.
+  a ->
+  Maybe (Maybe Text)
 asImports path x y = case (cast x, cast y) of
-  (Just before, Just after) -> Just (alongside (normalised before) (normalised after))
+  (Just before, Just after) ->
+    Just (alongside (normalised before) (normalised after))
   _ -> Nothing
   where
     normalised :: [LImportDecl GhcPs] -> [LImportDecl GhcPs]
-    normalised = normalizeImports (Is #implicitPrelude) [] [] []
+    normalised =
+      fmap fst
+        . concat
+        . normalizeImports (Is #implicitPrelude) Map.empty [] [] []
     alongside before after
       | length before /= length after =
           Just (describe path "the module imports a different set of modules")
       | otherwise = firstOf (zipWith (differ path) before after)
 
 -- | A context, compared for the constraints it holds.
-asContext :: (Data a) => Path -> a -> a -> Maybe (Maybe Text)
+asContext :: Data a => Path -> a -> a -> Maybe (Maybe Text)
 asContext path x y = compared optional <|> compared written <|> compared quoted
   where
-    compared :: forall b c. (Typeable b, Data c) => (b -> c) -> Maybe (Maybe Text)
+    compared ::
+      forall b c. (Typeable b, Data c) => (b -> c) -> Maybe (Maybe Text)
     compared strip = case (cast x, cast y) of
-      (Just before, Just after) -> Just (differ path (strip before) (strip after))
+      (Just before, Just after) ->
+        Just (differ path (strip before) (strip after))
       _ -> Nothing
     optional :: Maybe (LHsContext GhcPs) -> [HsType GhcPs]
     optional = maybe [] written
@@ -360,7 +423,7 @@
       e -> e
 
 -- | A Haddock, compared for what it documents.
-asDocString :: (Data a) => Path -> a -> a -> Maybe (Maybe Text)
+asDocString :: Data a => Path -> a -> a -> Maybe (Maybe Text)
 asDocString path x y = case (cast x, cast y) of
   (Just before, Just after)
     | summarised before == summarised after -> Just Nothing
@@ -380,7 +443,8 @@
       HsDocStringNamed n -> "named " <> T.pack n
       HsDocStringGroup n -> "group " <> tshow n
 
--- | What a doc string says, with the whitespace thrown away.
+-- | What a doc string says, with the whitespace thrown away: what
+-- 'Data.Char.isSpace' takes for it, as Haddock and the printer do.
 docWords :: HsDocString -> [ByteString]
 docWords =
   concatMap chunkWords . \case
@@ -388,9 +452,11 @@
     NestedDocString _ c -> [unLoc c]
     GeneratedDocString c -> [c]
   where
-    chunkWords (HsDocStringChunk bytes) =
-      filter (not . BS.null) (BS.splitWith isAsciiSpace bytes)
-    isAsciiSpace w = w == 32 || w == 9 || w == 10 || w == 13
+    chunkWords (HsDocStringChunk bytes)
+      | BS.all (< 0x80) bytes =
+          filter (not . BS.null) (BS.splitWith isAsciiSpace bytes)
+      | otherwise = fmap T.encodeUtf8 (T.words (T.decodeUtf8 bytes))
+    isAsciiSpace w = w == 32 || (9 <= w && w <= 13)
 
 -- | Compare two values of a type that will not be taken apart.
 opaque :: forall a b. (Data a, Data b) => a -> b -> Bool
@@ -415,7 +481,7 @@
       (Just p, Just q) -> p == (q :: t)
       _ -> False
 
-typeNameOf :: (Data a) => a -> String
+typeNameOf :: Data a => a -> String
 typeNameOf = dataTypeName . dataTypeOf
 
 ----------------------------------------------------------------------------
@@ -469,7 +535,8 @@
             <> flagList haddockAfter
         )
   | flagsBefore /= flagsAfter,
-    Just why <- inForceDifference (inForceAfter flagsBefore) (inForceAfter flagsAfter) =
+    Just why <-
+      inForceDifference (inForceAfter flagsBefore) (inForceAfter flagsAfter) =
       Just why
   | docsBefore /= docsAfter =
       Just $
@@ -478,7 +545,7 @@
           <> " documentation comments became "
           <> tshow docsAfter
   | otherwise =
-      diverge (belowHeader moduleBefore before) (belowHeader moduleAfter after)
+      diverge belowHeaderBefore belowHeaderAfter
         <|> diverge (settled headerCommentsBefore) (settled headerCommentsAfter)
         <|> diverge
           (exported moduleBefore headerCommentsBefore)
@@ -486,17 +553,19 @@
   where
     moduleBefore = pmModule parsedBefore
     moduleAfter = pmModule parsedAfter
-    before = asRead parsedBefore
-    after = asRead parsedAfter
-    headerCommentsBefore = withinHeader parsedBefore before
-    headerCommentsAfter = withinHeader parsedAfter after
-    asRead m =
-      concatMap (asOrdinary (sourceLines (pmSource m))) (comments (pmSource m))
+    before = commentsAsRead parsedBefore
+    after = commentsAsRead parsedAfter
+    (headerCommentsBefore, belowHeaderBefore) = byHeader parsedBefore before
+    (headerCommentsAfter, belowHeaderAfter) = byHeader parsedAfter after
 
-    belowHeader m cs = filter (not . inHeader m cs) (ordinary cs)
-    withinHeader m cs =
-      filter (inHeader (pmModule m) cs) (ordinary cs)
-        <> filter commented (takeWhile (pragmaWritten m . commentSpan) cs)
+    byHeader m cs =
+      ( filter inside common
+          <> filter commented (takeWhile (pragmaWritten m . commentSpan) cs),
+        filter (not . inside) common
+      )
+      where
+        common = ordinary cs
+        inside = inHeader m cs
     pragmaWritten = writtenInHeader . pmHeaderEnd
     exported m =
       filter (\c -> any (`covers` commentSpan c) (spanOf =<< hsmodExports m))
@@ -504,7 +573,11 @@
 
     inHeader m cs = case lastRearrangedLine m cs of
       Nothing -> const False
-      Just lastLine -> (<= lastLine) . spanStartLine . commentSpan
+      Just lastLine -> \c ->
+        spanStartLine (commentSpan c) <= lastLine
+          && all
+            ((startPoint (commentSpan c) <) . startPoint)
+            (spanOf =<< listToMaybe (hsmodDecls (pmModule m)))
 
     lost = pragmasOf before `Set.difference` pragmasOf after
     headerBefore = headerPragmas parsedBefore
@@ -514,15 +587,17 @@
     flagsOf p = pragmaFlags (pragmaName p) (pragmaBody p)
     optionsBefore = filter (not . T.isPrefixOf "-X") flagsBefore
     optionsAfter = filter (not . T.isPrefixOf "-X") flagsAfter
-    haddockBefore = [pragmaBody p | p <- headerBefore, pragmaName p == "OPTIONS_HADDOCK"]
-    haddockAfter = [pragmaBody p | p <- headerAfter, pragmaName p == "OPTIONS_HADDOCK"]
+    haddockBefore =
+      [pragmaBody p | p <- headerBefore, pragmaName p == "OPTIONS_HADDOCK"]
+    haddockAfter =
+      [pragmaBody p | p <- headerAfter, pragmaName p == "OPTIONS_HADDOCK"]
     flagList flags = "`" <> T.unwords flags <> "`"
     gained = pragmasOf after `Set.difference` pragmasOf before
     docsBefore = length (documentation before)
     docsAfter = length (documentation after)
 
     documentation = filter isDocumentation
-    isDocumentation = triggerEscaped
+    isDocumentation c = commentStyle c == DocComment || triggerEscaped c
 
     ordinary =
       filter (\c -> not (isDocumentation c) && isNothing (commentPragma c))
@@ -544,7 +619,8 @@
           let shared = length (takeWhile id (zipWith alike printed lifted)),
           k <- [shared, shared - 1 .. 1],
           all (not . commentTrailing) (take k lifted),
-          fmap bodyKey (take j (drop k printed)) == fmap bodyKey (take j written)
+          fmap bodyKey (take j (drop k printed))
+            == fmap bodyKey (take j written)
         ]
 
     alike x y = bodyKey x == bodyKey y
@@ -555,6 +631,27 @@
         . fmap (\(n, b) -> "{-# " <> n <> " " <> b <> " #-}")
         . Set.toList
 
+-- | A module's comments as they are compared, read as the printer reads
+-- them: a Haddock in the tree whole, wherever it moves, and every other
+-- comment as 'asOrdinary' reads it.
+--
+-- A Haddock written as @--@ lines that hold only spaces is printed as the
+-- comments the next pass reads, so it is read as them as well.
+commentsAsRead :: ParsedModule -> [Comment]
+commentsAsRead m = concatMap readIn (comments (pmSource m))
+  where
+    readIn c
+      | commentStyle c == DocComment,
+        Set.notMember (startPoint (commentSpan c)) (pmLooseHaddocks m),
+        not (onlySpaces c) =
+          [c]
+      | otherwise = asOrdinary (sourceLines (pmSource m)) c
+    onlySpaces c = case commentBody c of
+      first :| rest ->
+        not (bracketed c)
+          && maybe False (T.all isSpace . snd) (splitTrigger first)
+          && all (T.all isSpace . T.drop 2 . T.stripStart) rest
+
 -- | The pragmas of a module's header, which are all the pragmas GHC reads,
 -- in the order they are written.
 headerPragmas :: ParsedModule -> [Pragma]
@@ -590,7 +687,8 @@
     switched =
       [ e
       | e <- Map.keys (inForceSwitches before <> inForceSwitches after),
-        Map.lookup e (inForceSwitches before) /= Map.lookup e (inForceSwitches after)
+        Map.lookup e (inForceSwitches before)
+          /= Map.lookup e (inForceSwitches after)
       ]
     edition = maybe "the default" tshow . inForceEdition
 
@@ -606,17 +704,34 @@
 
 -- | The last line the formatter may reorder: the end of the last import, or
 -- of the module header where there are no imports, and of the comments
--- under it that carry on a remark at its end and travel with it.
+-- under it that travel with it, either carrying on a remark at its end or
+-- written right under the last import with an empty line or nothing under
+-- them.
 --
 -- 'Nothing' where the module has neither header nor imports.
-lastRearrangedLine :: HsModule GhcPs -> [Comment] -> Maybe Int
-lastRearrangedLine m cs =
-  carriedPast . spanEndLine <$> (spansOf (hsmodImports m) <> header)
+lastRearrangedLine ::
+  -- | The module, whose comments as lexed tell which travel with its last
+  -- import.
+  ParsedModule ->
+  -- | Its comments as they are compared.
+  [Comment] ->
+  Maybe Int
+lastRearrangedLine parsed cs =
+  rearranged . spanEndLine
+    <$> (spansOf (hsmodImports m) <> moduleHeaderSpan m)
   where
-    header =
-      foldMap spanOf (hsmodName m)
-        <> foldMap spanOf (hsmodDeprecMessage (hsmodExt m))
-        <> foldMap spanOf (hsmodExports m)
+    m = pmModule parsed
+    rearranged lastLine =
+      maximum (carriedPast lastLine : fmap (spanEndLine . commentSpan) under)
+    under = foldMap NE.toList $ do
+      (_, final) <- unsnoc (hsmodImports m)
+      s <- spanOf final
+      IntMap.lookup (spanStartLine s) travelling
+    travelling =
+      travellingComments
+        (sourceLines (pmSource parsed))
+        (comments (pmSource parsed))
+        m
     carriedPast lastLine =
       maybe lastLine (spanEndLine . commentSpan . snd) . unsnoc $
         takeWhile (\c -> any (carries c) (carriedOn c)) run
diff --git a/src/Tilia/Fixity.hs b/src/Tilia/Fixity.hs
--- a/src/Tilia/Fixity.hs
+++ b/src/Tilia/Fixity.hs
@@ -27,9 +27,11 @@
     Import (..),
     ImportItem (..),
     moduleImports,
+    importedFrom,
     maySupply,
     certainlyBrings,
     decides,
+    certainlyExports,
     Namespace (..),
     typeOperatorNamespace,
     Fixities,
@@ -71,26 +73,30 @@
 
 import Control.DeepSeq (NFData)
 import Data.Bifunctor (first)
-import Data.Char (isUpper)
-import Data.Choice (Choice, isTrue)
+import Data.Choice (Choice, fromBool, isTrue)
+import Data.Containers.ListUtils (nubOrd)
 import Data.Foldable (toList)
 import Data.List (nub, sortOn, tails)
 import Data.List.NonEmpty (NonEmpty ((:|)), nonEmpty)
 import Data.List.NonEmpty qualified as NE
 import Data.Map.Strict (Map)
 import Data.Map.Strict qualified as Map
-import Data.Maybe (listToMaybe, mapMaybe)
+import Data.Maybe (fromMaybe, isNothing, listToMaybe, mapMaybe)
 import Data.Set (Set)
 import Data.Set qualified as Set
 import Data.Text (Text)
 import Data.Text qualified as T
 import Data.Text.Read qualified as T
+import GHC.Data.FastString (unpackFS)
 import GHC.Generics (Generic)
 import GHC.Hs hiding (Fixity, OpName)
 import GHC.Types.Fixity qualified as GHC
 import GHC.Types.Name.Occurrence (isDataOcc, occNameString)
 import GHC.Types.Name.Reader (RdrName (..), rdrNameOcc)
+import GHC.Types.PkgQual (RawPkgQual (..))
+import GHC.Types.SourceText (StringLiteral (..))
 import GHC.Types.SrcLoc (GenLocated (..), unLoc)
+
 import Tilia.Gathered (Gathered (..))
 import Tilia.Palette (Color (Place), Palette, paint)
 import Tilia.Span (Span, covers)
@@ -148,19 +154,26 @@
 
 -- | The fixities a module declares for its own operators.
 declaredFixities :: HsModule GhcPs -> Fixities
-declaredFixities hsModule =
-  Map.fromList
-    [ ((namespace, op), fixity)
-    | (specifier, op, fixity) <- concatMap (fromDecl . unLoc) (hsmodDecls hsModule),
-      namespace <- namespacesOf specifier op
-    ]
+declaredFixities = Map.fromList . fixityDeclarations
+
+-- | Every fixity declaration of a module, more than one for an operator
+-- where its CPP branches, parsed together, each declare one.
+fixityDeclarations :: HsModule GhcPs -> [((Namespace, OpName), Fixity)]
+fixityDeclarations hsModule =
+  [ ((namespace, op), fixity)
+  | (specifier, op, fixity) <-
+      concatMap (fromDecl . unLoc) (hsmodDecls hsModule),
+    namespace <- namespacesOf specifier op
+  ]
   where
     (types, terms) = declaredNamespaces hsModule
     namespacesOf specifier op = case specifier of
       TypeNamespaceSpecifier _ -> [InTypes]
       DataNamespaceSpecifier _ -> [InTerms]
       NoNamespaceSpecifier ->
-        case ([InTypes | Set.member op types] <> [InTerms | Set.member op terms]) of
+        case ( [InTypes | Set.member op types]
+                 <> [InTerms | Set.member op terms]
+             ) of
           [] -> [InTypes, InTerms]
           found -> found
 
@@ -192,6 +205,9 @@
             : [opName (unLoc (fdLName (unLoc f))) | f <- tcdATs]
       _ -> []
     terms = \case
+      ValD _ b@(PatSynBind _ PSB{psb_args = RecCon fields}) ->
+        fmap opName (collectHsBindBinders CollNoDictBinders b)
+          <> [opName (unLoc (foLabel (recordPatSynField f))) | f <- fields]
       ValD _ b -> fmap opName (collectHsBindBinders CollNoDictBinders b)
       SigD _ sig -> signedNames sig
       ForD _ f -> [opName (unLoc (fd_name f))]
@@ -235,18 +251,21 @@
 
     fromCon :: ConDecl GhcPs -> [OpName]
     fromCon = \case
-      ConDeclGADT{con_names} -> fmap (opName . unLoc) (toList con_names)
+      ConDeclGADT{con_names, con_g_args} ->
+        fmap (opName . unLoc) (toList con_names) <> case con_g_args of
+          RecConGADT _ fields -> fieldNames fields
+          _ -> []
       ConDeclH98{con_name, con_args} ->
-        opName (unLoc con_name) : fieldNames con_args
+        opName (unLoc con_name) : case con_args of
+          RecCon fields -> fieldNames fields
+          _ -> []
 
-    fieldNames :: HsConDeclH98Details GhcPs -> [OpName]
-    fieldNames = \case
-      RecCon fields ->
-        [ opName (unLoc (foLabel (unLoc n)))
-        | f <- unLoc fields,
-          n <- cdrf_names (unLoc f)
-        ]
-      _ -> []
+    fieldNames :: LocatedL [LHsConDeclRecField GhcPs] -> [OpName]
+    fieldNames fields =
+      [ opName (unLoc (foLabel (unLoc n)))
+      | f <- unLoc fields,
+        n <- cdrf_names (unLoc f)
+      ]
 
 -- | The names a signature is about, leaving fixity declarations aside.
 signedNames :: Sig GhcPs -> [OpName]
@@ -319,7 +338,8 @@
       IEThingWith _ n wildcard ns _ ->
         [as ExportAll n | IEWildcard _ <- [wildcard]]
           <> [as ExportSome n (fmap (opName . ieWrappedName . unLoc) ns)]
-      IEModuleContents _ m -> [ExportModule (T.pack (moduleNameString (unLoc m)))]
+      IEModuleContents _ m ->
+        [ExportModule (T.pack (moduleNameString (unLoc m)))]
       _ -> []
     as item n =
       let rdr = ieWrappedName (unLoc n)
@@ -331,36 +351,42 @@
   Qual m _ -> Just (T.pack (moduleNameString m))
   _ -> Nothing
 
--- | The members of each type or class a module declares, and of each data
--- family it gives instances of.
+-- | The members of each type or class a module declares but a data family,
+-- and of each data family it gives instances of.
 declaredMembers :: HsModule GhcPs -> Map OpName (Set (Namespace, OpName))
 declaredMembers =
   Map.fromListWith Set.union . concatMap (fromDecl . unLoc) . hsmodDecls
   where
     fromDecl = \case
-      TyClD _ d@DataDecl{tcdLName} -> [entry tcdLName d]
-      TyClD _ d@ClassDecl{tcdLName} -> [entry tcdLName d]
+      TyClD _ (FamDecl _ FamilyDecl{fdInfo = DataFamily}) -> []
+      TyClD _ d ->
+        [(opName (unLoc (tyClDeclLName d)), Set.fromList (membersOf d))]
       d ->
         [ (family, Set.fromList (fmap (InTerms,) (constructorsOf defn)))
         | (family, defn) <- dataInstances d
         ]
-    entry name d = (opName (unLoc name), Set.fromList (membersOf d))
 
--- | The members a module's export list offers with each name.
-listedMembers :: HsModule GhcPs -> Map OpName (Set OpName)
+-- | The members a module's export list offers with each name, in both
+-- namespaces where the list names one the module does not declare.
+listedMembers :: HsModule GhcPs -> Map OpName (Set (Namespace, OpName))
 listedMembers hsModule = case hsmodExports hsModule of
   Nothing -> declared
-  Just items -> Map.fromListWith Set.union (concatMap (fromIE . unLoc) (unLoc items))
+  Just items ->
+    Map.fromListWith Set.union (concatMap (fromIE . unLoc) (unLoc items))
   where
-    declared = Map.map (Set.map snd) (declaredMembers hsModule)
+    declared = declaredMembers hsModule
     fromIE = \case
       IEThingAbs _ n _ -> [(nameOf n, Set.empty)]
       IEThingAll _ n _ -> whole n
       IEThingWith _ n wildcard ns _ ->
-        (nameOf n, Set.fromList (fmap nameOf ns))
+        (nameOf n, Set.fromList (concatMap (listed (nameOf n) . nameOf) ns))
           : concat [whole n | IEWildcard _ <- [wildcard]]
       _ -> []
     whole n = [(nameOf n, kids) | Just kids <- [Map.lookup (nameOf n) declared]]
+    listed parent kid =
+      case filter ((== kid) . snd) (foldMap toList (Map.lookup parent declared)) of
+        [] -> [(InTypes, kid), (InTerms, kid)]
+        found -> found
     nameOf = opName . ieWrappedName . unLoc
 
 ----------------------------------------------------------------------------
@@ -370,6 +396,9 @@
 data Import = Import
   { -- | The module being imported.
     importModule :: Text,
+    -- | The package the import names, as in @import \"base\" Data.List@,
+    -- if it names one.
+    importPackage :: Maybe Text,
     -- | Whether it is @qualified@, bringing no unqualified names in.
     importQualified :: Bool,
     -- | The name qualified uses go through: the alias if there is one,
@@ -382,19 +411,19 @@
     -- what it brings in only once the module it comes from has been asked.
     importNames :: Maybe (Bool, [ImportItem])
   }
-  deriving (Eq, Show, Generic)
+  deriving (Eq, Ord, Show, Generic)
 
 instance NFData Import
 
 -- | One entry of an import list.
 data ImportItem
-  = -- | A plain name.
-    ImportedName OpName
+  = -- | A plain name, in the namespace the list writes it in.
+    ImportedName Namespace OpName
   | -- | @T(..)@: the name, and every member the module offers with it.
     ImportedAll OpName
   | -- | @T(a, b)@: the name and the members written out beside it.
     ImportedSome OpName [OpName]
-  deriving (Eq, Show, Generic)
+  deriving (Eq, Ord, Show, Generic)
 
 instance NFData ImportItem
 
@@ -408,13 +437,18 @@
 moduleImports implicitPrelude configurations = prelude <> written
   where
     written =
-      nub (fmap (fromDecl . unLoc) (sortOn spanOf (concatMap hsmodImports configurations)))
+      nubOrd
+        ( fmap
+            (fromDecl . unLoc)
+            (sortOn spanOf (concatMap hsmodImports configurations))
+        )
     prelude
       | not (isTrue implicitPrelude) = []
       | any ((== "Prelude") . importModule) written = []
       | otherwise =
           [ Import
               { importModule = "Prelude",
+                importPackage = Nothing,
                 importQualified = False,
                 importAlias = "Prelude",
                 importNames = Nothing
@@ -423,8 +457,12 @@
     fromDecl d =
       Import
         { importModule = modName (unLoc (ideclName d)),
+          importPackage = case ideclPkgQual d of
+            RawPkgQual literal -> Just (T.pack (unpackFS (sl_fs literal)))
+            NoRawPkgQual -> Nothing,
           importQualified = ideclQualified d /= NotQualified,
-          importAlias = maybe (modName (unLoc (ideclName d))) (modName . unLoc) (ideclAs d),
+          importAlias =
+            maybe (modName (unLoc (ideclName d))) (modName . unLoc) (ideclAs d),
           importNames = fromList <$> ideclImportList d
         }
     fromList (interpretation, names) =
@@ -433,17 +471,26 @@
       )
     modName = T.pack . moduleNameString
 
+-- | The module an import names: the package it names, if it names one,
+-- and the module's name.
+importedFrom :: Import -> (Maybe Text, Text)
+importedFrom i = (importPackage i, importModule i)
+
 -- | One entry of an import list, as written.
 importedItem :: IE GhcPs -> Maybe ImportItem
 importedItem = \case
-  IEVar _ n _ -> Just (ImportedName (nameOf n))
-  IEThingAbs _ n _ -> Just (ImportedName (nameOf n))
+  IEVar _ n _ -> Just (ImportedName InTerms (nameOf n))
+  IEThingAbs _ n _ -> Just (ImportedName (namespaceOf n) (nameOf n))
   IEThingAll _ n _ -> Just (ImportedAll (nameOf n))
   IEThingWith _ n _ ns _ -> Just (ImportedSome (nameOf n) (fmap nameOf ns))
   _ -> Nothing
   where
     nameOf :: LIEWrappedName GhcPs -> OpName
     nameOf = opName . ieWrappedName . unLoc
+    namespaceOf :: LIEWrappedName GhcPs -> Namespace
+    namespaceOf n = case unLoc n of
+      IEData{} -> InTerms
+      _ -> InTypes
 
 -- | Could this import bring the operator in, as far as its list says?
 --
@@ -451,75 +498,77 @@
 -- to hide nothing but @T@ itself.
 mayBring ::
   -- | The members of each name in the list, where they are known.
-  Map OpName (Set OpName) ->
-  -- | The operator being looked for.
-  OpName ->
+  Map OpName (Set (Namespace, OpName)) ->
+  -- | The operator being looked for, and the namespace it is in.
+  (Namespace, OpName) ->
+  -- | The import.
   Import ->
   Bool
-mayBring members op i = case importNames i of
+mayBring members name i = case importNames i of
   Nothing -> True
-  Just (True, hidden) -> not (any (namedBy members False op) hidden)
-  Just (False, shown) -> any (namedBy members True op) shown
+  Just (True, hidden) -> not (any (namedBy members False name) hidden)
+  Just (False, shown) -> any (namedBy members True name) shown
 
 -- | Does an item of an import list name the operator, taking a @T(..)@ whose
 -- members are not known to name it or not as told?
 namedBy ::
   -- | The members of each name in the list, where they are known.
-  Map OpName (Set OpName) ->
+  Map OpName (Set (Namespace, OpName)) ->
   -- | What a @T(..)@ whose members are not known is taken to say.
   Bool ->
-  -- | The operator being looked for.
-  OpName ->
+  -- | The operator being looked for, and the namespace it is in.
+  (Namespace, OpName) ->
+  -- | The item.
   ImportItem ->
   Bool
-namedBy members unknown op = \case
-  ImportedName n -> n == op
+namedBy members unknown name@(_, op) = \case
+  ImportedName _ n -> n == op
   ImportedSome parent ns -> parent == op || op `elem` ns
   ImportedAll parent ->
-    parent == op || maybe unknown (Set.member op) (Map.lookup parent members)
+    parent == op || maybe unknown (Set.member name) (Map.lookup parent members)
 
 -- | Could this import supply the operator to a use written under this
 -- qualifier?
 maySupply ::
   -- | The members of each name in the import's list, where they are
   -- known.
-  Map OpName (Set OpName) ->
+  Map OpName (Set (Namespace, OpName)) ->
   -- | The qualifier written at the use site, if any.
   Maybe Text ->
-  -- | The operator being looked for.
-  OpName ->
+  -- | The operator being looked for, and the namespace it is in.
+  (Namespace, OpName) ->
+  -- | The import.
   Import ->
   Bool
-maySupply members qualifier op i =
+maySupply members qualifier name i =
   maybe (not (importQualified i)) (== importAlias i) qualifier
-    && mayBring members op i
+    && mayBring members name i
 
 -- | Does this import bring the name in for certain, as far as its list says?
 --
 -- Where the list could leave the name out, it is taken to: a @T(..)@ whose
 -- members are not known hides anything, and of what a list shows, only a
--- variable written on its own, a member written under its type, and a member
--- of a @T(..)@ whose members are known count.
+-- name written on its own in its namespace, a member written under its
+-- type, and a member of a @T(..)@ whose members are known count.
 certainlyBrings ::
   -- | The members of each name in the import's list, where they are
   -- known.
-  Map OpName (Set OpName) ->
+  Map OpName (Set (Namespace, OpName)) ->
   -- | The name, and the namespace it is in.
   (Namespace, OpName) ->
+  -- | The import.
   Import ->
   Bool
-certainlyBrings members (namespace, op) i = case importNames i of
+certainlyBrings members name@(namespace, op) i = case importNames i of
   Nothing -> True
-  Just (True, hidden) -> not (any (namedBy members True op) hidden)
-  Just (False, shown) -> namespace == InTerms && any listed shown
+  Just (True, hidden) -> not (any (namedBy members True name) hidden)
+  Just (False, shown) -> any listed shown
   where
     listed = \case
-      ImportedName n -> n == op && isVariable op
-      ImportedSome _ ns -> op `elem` ns
-      ImportedAll parent -> maybe False (Set.member op) (Map.lookup parent members)
-    isVariable (OpName t) = case T.uncons t of
-      Just (c, _) -> not (isUpper c) && c /= ':'
-      Nothing -> False
+      ImportedName written n -> (written, n) == name
+      ImportedSome _ ns -> namespace == InTerms && op `elem` ns
+      ImportedAll parent ->
+        maybe False (Set.member name) (Map.lookup parent members)
 
 -- | Does this import decide the name's fixity, by certainly bringing it
 -- in from a module that settles it?
@@ -531,13 +580,38 @@
   Established ->
   -- | The name, and the namespace it is in.
   (Namespace, OpName) ->
+  -- | The import.
   Import ->
   Bool
 decides established name i =
-  Set.member name (certainNames (establishedCertain established))
+  certainlyExports established name i
     && certainlyBrings (establishedMembers established) name i
     && null (unsettledThrough established name)
 
+-- | Does the module an import names certainly export the name, as far as
+-- reading it and the import's list tell?
+--
+-- A name the list shows on its own is exported, or the import would not
+-- compile.
+certainlyExports ::
+  -- | What reading the module established.
+  Established ->
+  -- | The name, and the namespace it is in.
+  (Namespace, OpName) ->
+  -- | The import.
+  Import ->
+  Bool
+certainlyExports established name i =
+  Set.member name (certainNames (establishedCertain established))
+    || name `elem` shownAlone i
+
+-- | The names an import list shows on their own, in the namespaces it
+-- writes them in.
+shownAlone :: Import -> [(Namespace, OpName)]
+shownAlone i = case importNames i of
+  Just (False, shown) -> [(namespace, n) | ImportedName namespace n <- shown]
+  _ -> []
+
 -- | Which of Haskell's two namespaces an operator is written in.
 data Namespace = InTypes | InTerms
   deriving (Eq, Ord, Show, Generic)
@@ -625,8 +699,9 @@
 resolveScope ::
   -- | Whether @ImplicitPrelude@ is on.
   Choice "implicitPrelude" ->
-  -- | What reading each module this one imports established.
-  (Text -> Established) ->
+  -- | What reading each module this one imports established, by what
+  -- 'importedFrom' says of its import.
+  ((Maybe Text, Text) -> Established) ->
   -- | The module's configurations, parsed.
   NonEmpty (HsModule GhcPs) ->
   Scope
@@ -636,23 +711,40 @@
       scopeInTerms = reachAmong InTerms,
       scopeUnsettled =
         [ (i, established)
-        | i <- imports,
-          let established = known (importModule i),
+        | (i, established) <- answered,
           not (settlesEverything established)
         ]
     }
   where
-    imports = moduleImports implicitPrelude configurations
-    declared = Map.unions (fmap declaredFixities configurations)
+    answered =
+      [ (i, known (importedFrom i))
+      | i <- moduleImports implicitPrelude configurations
+      ]
+    declaredEach =
+      Map.fromListWith
+        (flip (<>))
+        [ (name, pure fixity)
+        | c <- toList configurations,
+          (name, fixity) <- fixityDeclarations c
+        ]
+    declared = Map.map NE.last declaredEach
 
     reachAmong namespace =
       Reach
         { reachUnqualified = Map.union own (Map.map settled unqualified),
           reachQualified = qualified,
           reachAmbiguous =
-            Map.union
-              (Map.mapKeys (Nothing,) (Map.mapMaybe disagreeing unqualified))
-              (Map.mapKeys (first Just) (Map.mapMaybe disagreeing qualifiedFrom)),
+            Map.unions
+              [ Map.fromList
+                  [ ((qualifier, op), offers)
+                  | (op, offers) <- Map.toList ownDisagreeing,
+                    qualifier <- Nothing : fmap Just ownNames
+                  ],
+                Map.mapKeys (Nothing,) (Map.mapMaybe disagreeing unqualified),
+                Map.mapKeys
+                  (first Just)
+                  (Map.mapMaybe disagreeing qualifiedFrom)
+              ],
           reachDecided =
             Set.fromList $
               [ (qualifier, op)
@@ -661,12 +753,16 @@
                 qualifier <- Nothing : fmap Just ownNames
               ]
                 <> [ (qualifier, op)
-                   | i <- imports,
-                     let established = known (importModule i),
-                     name@(n, op) <- Set.toList (certainNames (establishedCertain established)),
+                   | (i, established) <- answered,
+                     name@(n, op) <-
+                       Set.toList
+                         (certainNames (establishedCertain established))
+                         <> shownAlone i,
                      n == namespace,
                      decides established name i,
-                     qualifier <- [Nothing | not (importQualified i)] <> [Just (importAlias i)]
+                     qualifier <-
+                       [Nothing | not (importQualified i)]
+                         <> [Just (importAlias i)]
                    ]
         }
       where
@@ -675,14 +771,14 @@
           InTerms -> snd
         ownNames = concatMap (toList . moduleName) configurations
         own = Map.map (,DeclaredHere) (fixitiesIn namespace declared)
-        offered m = fixitiesIn namespace (establishedFixities (known m))
+        ownDisagreeing =
+          Map.mapMaybe
+            (disagreeing . fmap (fromMaybe "Main" (listToMaybe ownNames),))
+            (fixitiesIn namespace declaredEach)
         unqualified =
           Map.unionsWith
             (<>)
-            [ visible offered i
-            | i <- imports,
-              not (importQualified i)
-            ]
+            [offers | (i, offers) <- visible, not (importQualified i)]
         qualified = Map.union ownQualified (Map.map settled qualifiedFrom)
         ownQualified =
           Map.fromList
@@ -693,9 +789,27 @@
         qualifiedFrom =
           Map.unionsWith
             (<>)
-            [ Map.mapKeys (importAlias i,) (visible offered i)
-            | i <- imports
-            ]
+            [Map.mapKeys (importAlias i,) offers | (i, offers) <- visible]
+        visible =
+          [ ( i,
+              Map.map
+                (\fixity -> (importModule i, fixity) :| [])
+                ( fixitiesIn
+                    namespace
+                    ( Map.filterWithKey
+                        ( \name@(n, _) _ ->
+                            n == namespace
+                              && mayBring
+                                (establishedMembers established)
+                                name
+                                i
+                        )
+                        (establishedFixities established)
+                    )
+                )
+            )
+          | (i, established) <- answered
+          ]
 
     settled ((m, fixity) :| _) = (fixity, DeclaredIn m)
 
@@ -703,13 +817,8 @@
       | all ((== fixity) . snd) offers = Nothing
       | otherwise = Just (NE.nub offers)
 
-    visible offered i =
-      Map.filterWithKey
-        (\op _ -> mayBring (establishedMembers (known (importModule i))) op i)
-        (Map.map (\fixity -> (importModule i, fixity) :| []) (offered (importModule i)))
-
 -- | The fixities in one namespace, by the operator alone.
-fixitiesIn :: Namespace -> Fixities -> Map OpName Fixity
+fixitiesIn :: Namespace -> Map (Namespace, OpName) a -> Map OpName a
 fixitiesIn namespace declared =
   Map.fromList
     [ (op, fixity)
@@ -730,7 +839,8 @@
     DeclaredHere
   | -- | An @infix@ declaration in the named imported module.
     DeclaredIn Text
-  | -- | The language itself, as for @:@, whatever is in scope.
+  | -- | The language itself: for @:@, whatever is in scope, and for @~@
+    -- among types where nothing in scope declares it.
     BuiltIn
   | -- | No declaration exists anywhere in scope, and every module in scope
     -- was successfully consulted, so the Report's @infixl 9@ applies.
@@ -760,8 +870,12 @@
 lookupFixity scope namespace qualifier op =
   case fixityInScope scope namespace qualifier op of
     Just (_, (fixity, provenance)) -> Resolved fixity provenance
-    Nothing -> case nonEmpty (unreadThatMightDeclare scope namespace qualifier op) of
-      Nothing -> Resolved defaultFixity ReportDefault
+    Nothing -> case nonEmpty
+      (unreadThatMightDeclare scope namespace qualifier op) of
+      Nothing
+        | namespace == InTypes && isNothing qualifier && op == OpName "~" ->
+            Resolved (Fixity NoAssoc 4) BuiltIn
+        | otherwise -> Resolved defaultFixity ReportDefault
       Just missing -> Unresolved missing
 
 -- | What the scope itself has for a use, and the namespace it came from.
@@ -796,7 +910,11 @@
         && null
           [ ()
           | (i, established) <- scopeUnsettled scope,
-            maySupply (establishedMembers established) qualifier op i,
+            maySupply
+              (establishedMembers established)
+              qualifier
+              (namespace, op)
+              i,
             _ <- unsettledThrough established (namespace, op)
           ]
 
@@ -839,8 +957,8 @@
     blamed =
       [ ModuleChain (importModule i :| chain)
       | (i, established) <- scopeUnsettled scope,
-        maySupply (establishedMembers established) qualifier op i,
         n <- namespace : promotedFrom namespace,
+        maySupply (establishedMembers established) qualifier (n, op) i,
         chain <- unsettledThrough established (n, op)
       ]
 
@@ -859,15 +977,16 @@
     Ambiguous (NonEmpty (Text, Fixity))
   deriving (Eq, Show)
 
--- | Every operator the module uses where its fixity decides the layout and
--- the scope has to settle it, which is all of them but the uses
--- 'capturedUses' settles.
+-- | Every operator of a chain in an expression or a type, whose fixity the
+-- scope has to settle, which is all of them but the uses 'capturedUses'
+-- settles.
 --
--- Only these positions. An operator chain in an expression and one in a type
--- are regrouped by precedence, so getting the precedence wrong changes what
--- the code means. Everywhere else—a section, the left-hand side of a
--- definition, an @infix@ declaration—the operator stands on its own and
--- nothing is regrouped around it.
+-- Only these positions. Such a chain is regrouped by precedence, so getting
+-- the precedence wrong changes what the code means. A chain of commands is
+-- regrouped too but left out here, so an operator in one whose fixity is
+-- not known is guessed rather than declined. Everywhere else—a section, the
+-- left-hand side of a definition, an @infix@ declaration—the operator
+-- stands on its own and nothing is regrouped around it.
 operatorsUsed :: Gathered -> [(Namespace, (Maybe Text, OpName))]
 operatorsUsed found =
   fmap (named InTerms) inExpressions
@@ -899,7 +1018,13 @@
   Map.fromList
     [ (s, fixity)
     | (s, name) <- uses,
-      [fixity] <- [nub [f | (f, region) <- Map.findWithDefault [] name binders, covers region s]]
+      [fixity] <-
+        [ nub
+            [ f
+            | (f, region) <- Map.findWithDefault [] name binders,
+              covers region s
+            ]
+        ]
     ]
   where
     uses =
@@ -912,7 +1037,9 @@
       Map.fromListWith
         (<>)
         [ (name, [(f, region)])
-        | (name, f, regions) <- concatMap fromMatch (gatheredMatches found) <> concatMap fromExpression (gatheredExpressions found),
+        | (name, f, regions) <-
+            concatMap fromMatch (gatheredMatches found)
+              <> concatMap fromExpression (gatheredExpressions found),
           Set.member name used,
           Just region <- regions
         ]
@@ -925,7 +1052,9 @@
         <> concatMap guarded rhss
     fromExpression = \case
       HsLet _ binds body ->
-        [(name, f, bindingSpans binds <> [spanOf body]) | (name, f) <- localBinders binds]
+        [ (name, f, bindingSpans binds <> [spanOf body])
+        | (name, f) <- localBinders binds
+        ]
       HsDo _ _ (L _ stmts) -> inSequence stmts []
       HsMultiIf _ rhss -> concatMap guarded rhss
       _ -> []
@@ -935,15 +1064,21 @@
       concat
         [ case unLoc stmt of
             BindStmt _ pat _ ->
-              [(name, f, fmap spanOf later <> after) | (name, f) <- patternBinders [pat]]
+              [ (name, f, fmap spanOf later <> after)
+              | (name, f) <- patternBinders [pat]
+              ]
             LetStmt _ binds ->
-              [(name, f, fmap spanOf (stmt : later) <> after) | (name, f) <- localBinders binds]
+              [ (name, f, fmap spanOf (stmt : later) <> after)
+              | (name, f) <- localBinders binds
+              ]
             _ -> []
         | stmt : later <- tails stmts
         ]
 
     patternBinders pats =
-      [(opName n, defaultFixity) | n <- collectPatsBinders CollNoDictBinders pats]
+      [ (opName n, defaultFixity)
+      | n <- collectPatsBinders CollNoDictBinders pats
+      ]
     localBinders binds =
       [ (opName n, Map.findWithDefault defaultFixity (opName n) declared)
       | let declared = localFixities binds,
@@ -965,15 +1100,29 @@
 -- module writes them.
 --
 -- Empty is the only acceptable answer: an operator whose fixity is not
--- known cannot be laid out, only guessed at.
-unknownOperators :: Scope -> NonEmpty Gathered -> [((Maybe Text, OpName), Unknown)]
-unknownOperators scope found =
+-- known cannot be laid out, only guessed at. One that only imports the
+-- build does not take leave unsettled is not counted, as they are in none
+-- of the configurations the build compiles.
+unknownOperators ::
+  -- | The configurations the build takes, whose imports alone can leave an
+  -- operator unknown, or 'Nothing' for every import.
+  Maybe (NonEmpty (HsModule GhcPs)) ->
+  -- | The scope.
+  Scope ->
+  -- | What the module's configurations use.
+  NonEmpty Gathered ->
+  [((Maybe Text, OpName), Unknown)]
+unknownOperators taken scope found =
   Map.toList (Map.fromList (mapMaybe unsettled (concatMap operatorsUsed found)))
   where
     unsettled (namespace, use@(qualifier, op)) =
       (use,) <$> case lookupFixity scope namespace qualifier op of
         Resolved _ _ -> Ambiguous <$> disagreement scope namespace qualifier op
-        Unresolved missing -> Just (NotRead missing)
+        Unresolved missing -> NotRead <$> NE.nonEmpty (NE.filter counts missing)
+    counts (ModuleChain (m :| _)) = maybe True (Set.member m) takenImports
+    takenImports =
+      Set.fromList . fmap importModule . moduleImports (fromBool True)
+        <$> taken
 
 -- | What the imports in scope bring a use in with, where they disagree, in
 -- the namespace that answers for it.
@@ -1049,7 +1198,10 @@
     -- | The members of each type or class it declares.
     summaryDeclaredMembers :: Map OpName (Set (Namespace, OpName)),
     -- | The members its export list offers with each name.
-    summaryListedMembers :: Map OpName (Set OpName)
+    summaryListedMembers :: Map OpName (Set (Namespace, OpName)),
+    -- | Whether a declaration splice at its top level, or a file it
+    -- includes that was not read, may declare more.
+    summarySpliced :: Bool
   }
   deriving (Eq, Show, Generic)
 
@@ -1071,7 +1223,9 @@
       summaryFixities = declaredFixities hsModule,
       summaryNames = declaredNames hsModule,
       summaryDeclaredMembers = declaredMembers hsModule,
-      summaryListedMembers = listedMembers hsModule
+      summaryListedMembers = listedMembers hsModule,
+      summarySpliced =
+        any (\case L _ SpliceD{} -> True; _ -> False) (hsmodDecls hsModule)
     }
 
 ----------------------------------------------------------------------------
@@ -1095,7 +1249,7 @@
     -- | The members of each of its names, so that a @T(..)@ in an import
     -- list can be told what it brings in. Every type 'establishedCertain'
     -- gives members of is among them.
-    establishedMembers :: Map OpName (Set OpName)
+    establishedMembers :: Map OpName (Set (Namespace, OpName))
   }
   deriving (Eq, Show, Generic)
 
@@ -1104,10 +1258,15 @@
 instance Semigroup Established where
   a <> b =
     Established
-      { establishedFixities = Map.union (establishedFixities a) (establishedFixities b),
+      { establishedFixities =
+          Map.union (establishedFixities a) (establishedFixities b),
         establishedUnsettled =
-          Map.unionWith Set.union (establishedUnsettled a) (establishedUnsettled b),
-        establishedUntold = Set.union (establishedUntold a) (establishedUntold b),
+          Map.unionWith
+            Set.union
+            (establishedUnsettled a)
+            (establishedUnsettled b),
+        establishedUntold =
+          Set.union (establishedUntold a) (establishedUntold b),
         establishedCertain = establishedCertain a <> establishedCertain b,
         establishedMembers =
           Map.unionWith Set.union (establishedMembers a) (establishedMembers b)
@@ -1123,13 +1282,17 @@
 -- | Does reading a module settle the fixity of every name it exports?
 settlesEverything :: Established -> Bool
 settlesEverything established =
-  Map.null (establishedUnsettled established) && Set.null (establishedUntold established)
+  Map.null (establishedUnsettled established)
+    && Set.null (establishedUntold established)
 
 -- | The ways down to a module that could not be read that leave the fixity
 -- of a name unsettled.
 unsettledThrough :: Established -> (Namespace, OpName) -> [[Text]]
 unsettledThrough established name =
-  [chain | (chain, names) <- Map.toList (establishedUnsettled established), Set.member name names]
+  [ chain
+  | (chain, names) <- Map.toList (establishedUnsettled established),
+    Set.member name names
+  ]
     <> [ chain
        | Set.notMember name (certainNames (establishedCertain established)),
          chain <- Set.toList (establishedUntold established)
diff --git a/src/Tilia/Fixity/Archive.hs b/src/Tilia/Fixity/Archive.hs
--- a/src/Tilia/Fixity/Archive.hs
+++ b/src/Tilia/Fixity/Archive.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE DataKinds #-}
 {-# LANGUAGE LambdaCase #-}
 {-# LANGUAGE OverloadedStrings #-}
 
@@ -11,6 +12,7 @@
     pathOfModule,
     moduleEndings,
     writtenForHsc,
+    haskellIn,
   )
 where
 
@@ -20,6 +22,8 @@
 import Control.Exception (evaluate)
 import Data.ByteString qualified as BS
 import Data.ByteString.Lazy qualified as BL
+import Data.Choice (Choice)
+import Data.Functor.Identity (Identity (..))
 import Data.List (isSuffixOf)
 import Data.Maybe (listToMaybe, mapMaybe)
 import Data.Text (Text)
@@ -28,7 +32,9 @@
 import Distribution.PackageDescription (GenericPackageDescription)
 import GHC.Generics (Generic)
 import System.FilePath.Posix qualified as Posix
+
 import Tilia.Cabal.Package (packageSourceDirs)
+import Tilia.Cpp.Directives (withIncluded)
 import Tilia.Fixity.Cabal (entryPosixPath, ownCabalFile)
 import Tilia.Utils (quietly)
 
@@ -49,7 +55,8 @@
 readArchive :: FilePath -> IO (Maybe Archive)
 readArchive tarball = quietly Nothing $ do
   bytes <- BL.readFile tarball
-  Just <$> evaluate (force (sweep Nothing [] (Tar.read (GZip.decompress bytes))))
+  Just
+    <$> evaluate (force (sweep Nothing [] (Tar.read (GZip.decompress bytes))))
   where
     sweep cabal found = \case
       Tar.Next entry rest
@@ -58,7 +65,10 @@
             sweep (Just own) found rest
         | Tar.NormalFile content _ <- Tar.entryContent entry,
           any (`isSuffixOf` entryPosixPath entry) moduleEndings ->
-            sweep cabal ((entryPosixPath entry, BL.toStrict content) : found) rest
+            sweep
+              cabal
+              ((entryPosixPath entry, BL.toStrict content) : found)
+              rest
         | otherwise -> sweep cabal found rest
       _ -> Archive cabal (reverse found)
 
@@ -68,16 +78,36 @@
   where
     dirs = maybe [] packageSourceDirs (archiveCabal archive)
     pick ending =
-      inArchive ending . T.decodeUtf8Lenient
-        <$> listToMaybe
-          [ content
-          | d <- dirs,
-            let file =
-                  Posix.normalise (d <> "/" <> pathOfModule modName <> ending),
-            (path, content) <- archiveFiles archive,
-            drop 1 (dropWhile (/= '/') path) == file
-          ]
+      listToMaybe
+        [ inArchive ending file (T.decodeUtf8Lenient content)
+        | d <- dirs,
+          let file =
+                Posix.normalise (d <> "/" <> pathOfModule modName <> ending),
+          Just content <- [held file]
+        ]
+    inArchive ending file text
+      | writtenForHsc ending = ForHsc
+      | otherwise =
+          uncurry Haskell . runIdentity $
+            withIncluded nextTo file (haskellIn ending text)
+    nextTo including name =
+      let file = collapsed (Posix.takeDirectory including Posix.</> name)
+       in Identity ((file,) . T.decodeUtf8Lenient <$> held file)
+    held file =
+      listToMaybe
+        [ content
+        | (path, content) <- archiveFiles archive,
+          drop 1 (dropWhile (/= '/') path) == file
+        ]
 
+-- | A path with each @..@ in it taking off the directory before it.
+collapsed :: FilePath -> FilePath
+collapsed = Posix.joinPath . reverse . foldl' up [] . Posix.splitDirectories
+  where
+    up (d : ds) ".." | d /= ".." = ds
+    up ds "." = ds
+    up ds d = d : ds
+
 -- | Where a module's file is under the directory that holds it, without an
 -- extension.
 pathOfModule :: Text -> FilePath
@@ -86,22 +116,42 @@
 -- | The endings a package may write a module under, in the order they are
 -- tried.
 moduleEndings :: [String]
-moduleEndings = [".hs", ".hsc"]
+moduleEndings = [".hs", ".lhs", ".hsc"]
 
 -- | What an archive holds for a module.
 data InArchive
-  = -- | Haskell, as the package wrote it.
-    Haskell Text
+  = -- | Haskell, as the package wrote it, with what each Haskell file it
+    -- includes that the tarball holds in place, and whether it includes
+    -- another file.
+    Haskell Text (Choice "includesUnread")
   | -- | A module written for @hsc2hs@. Its text is not kept: there is
     -- nothing to be done with it, and it is taken to declare nothing.
     ForHsc
 
--- | What was found under one ending amounts to.
-inArchive :: String -> Text -> InArchive
-inArchive ending text
-  | writtenForHsc ending = ForHsc
-  | otherwise = Haskell text
-
 -- | Is this a module @hsc2hs@ writes rather than one anybody compiles?
 writtenForHsc :: FilePath -> Bool
 writtenForHsc = isSuffixOf ".hsc"
+
+-- | The Haskell that a module's file holds, which is the code of a literate
+-- one, each line where it was written.
+haskellIn ::
+  -- | The file, or the ending of its name.
+  FilePath ->
+  -- | What it holds.
+  Text ->
+  Text
+haskellIn path
+  | ".lhs" `isSuffixOf` path = T.unlines . unlit False . T.lines
+  | otherwise = id
+  where
+    unlit inCode = \case
+      [] -> []
+      l : ls
+        | inCode, written "\\end{code}" -> "" : unlit False ls
+        | inCode -> l : unlit True ls
+        | written "\\begin{code}" -> "" : unlit True ls
+        | Just code <- T.stripPrefix ">" l -> (" " <> code) : unlit False ls
+        | "#" `T.isPrefixOf` l -> l : unlit False ls
+        | otherwise -> "" : unlit False ls
+        where
+          written = (`T.isPrefixOf` T.stripStart l)
diff --git a/src/Tilia/Fixity/Cabal.hs b/src/Tilia/Fixity/Cabal.hs
--- a/src/Tilia/Fixity/Cabal.hs
+++ b/src/Tilia/Fixity/Cabal.hs
@@ -21,9 +21,9 @@
 import Data.List (isSuffixOf)
 import Data.Text (Text)
 import Distribution.PackageDescription (GenericPackageDescription)
+
 import Tilia.Cabal.Package
-  ( declaredModules,
-    packageBranches,
+  ( declaredModuleNames,
     parsePackageDescription,
   )
 import Tilia.Utils (quietly)
@@ -35,9 +35,8 @@
 packageModules :: FilePath -> IO (Maybe [Text])
 packageModules tarball = quietly Nothing $ do
   bytes <- BL.readFile tarball
-  evaluate . force $
-    fmap fst . concatMap snd . declaredModules . packageBranches
-      <$> cabalFileInArchive (Tar.read (GZip.decompress bytes))
+  evaluate . force . fmap declaredModuleNames $
+    cabalFileInArchive (Tar.read (GZip.decompress bytes))
 
 -- | The first @.cabal@ file at the top level of an archive.
 --
diff --git a/src/Tilia/Fixity/Cache.hs b/src/Tilia/Fixity/Cache.hs
--- a/src/Tilia/Fixity/Cache.hs
+++ b/src/Tilia/Fixity/Cache.hs
@@ -56,6 +56,7 @@
   )
 import System.FilePath (takeDirectory, takeFileName, (</>))
 import System.IO (hClose, openBinaryTempFile)
+
 import Tilia.Fixity
 import Tilia.Fixity.PackageDb (Installed (..), InstalledPackage (..))
 import Tilia.Utils (quietly, readUtf8File, sha256Of, tshow)
@@ -79,7 +80,7 @@
 
 -- | Bumped whenever cache format changes.
 formatVersion :: FilePath
-formatVersion = "v3"
+formatVersion = "v4"
 
 -- | Open, creating the directory if need be.
 --
@@ -143,8 +144,7 @@
       untold <- traverse untoldEntry (fieldsOf "untold")
       names <- concat <$> traverse parseByNamespace (fieldsOf "names")
       certain <- traverse (memberEntry parseByNamespace) (fieldsOf "member")
-      members <-
-        traverse (memberEntry (Just . fmap OpName)) (fieldsOf "members")
+      members <- traverse (memberEntry parseNamespaced) (fieldsOf "members")
       let byParent = Map.fromListWith Set.union certain
       pure
         Established
@@ -153,9 +153,7 @@
             establishedUntold = Set.fromList untold,
             establishedCertain = Certain (Set.fromList names) byParent,
             establishedMembers =
-              Map.union
-                (Map.fromListWith Set.union members)
-                (Map.map (Set.map snd) byParent)
+              Map.union (Map.fromListWith Set.union members) byParent
           }
     unsettledEntry = \case
       token : fields
@@ -199,14 +197,13 @@
          ]
       -- The members of a name are mostly its certain members, which the
       -- lines above already say.
-      <> [ "members" : parent : [kid | OpName kid <- Set.toAscList kids]
+      <> [ "members" : parent : renderNamespaced kids
          | (OpName parent, kids) <- Map.toList (establishedMembers established),
-           Just kids /= Map.lookup (OpName parent) written
+           Just kids /= Map.lookup (OpName parent) (certainMembers certain)
          ]
   where
     fixities = establishedFixities established
     certain = establishedCertain established
-    written = Map.map (Set.map snd) (certainMembers certain)
 
 -- | What each configuration of one of the project's own modules says, if it
 -- was last read from what the stamp stands for.
@@ -268,9 +265,9 @@
            ]
         <> fmap declares (Map.toList (summaryDeclaredMembers s))
         <> fmap offers (Map.toList (summaryListedMembers s))
+        <> [["spliced"] | summarySpliced s]
     declares (OpName parent, kids) = "declares" : parent : renderNamespaced kids
-    offers (OpName parent, kids) =
-      "offers" : parent : [kid | OpName kid <- Set.toAscList kids]
+    offers (OpName parent, kids) = "offers" : parent : renderNamespaced kids
     renderExport = \case
       ExportName namespace qualifier op ->
         ["export", "name", renderNamespace namespace] <> under qualifier [op]
@@ -280,7 +277,9 @@
       ExportModule m -> ["export", "module", m]
     under qualifier ops = fromMaybe "-" qualifier : [op | OpName op <- ops]
     renderImport i =
-      ["import", importModule i, qualification i, importAlias i]
+      ( ["import", importModule i, qualification i, importAlias i]
+          <> toList (importPackage i)
+      )
         : case importNames i of
           Nothing -> []
           Just (hiding, items) ->
@@ -288,7 +287,8 @@
               : fmap renderItem items
     qualification i = if importQualified i then "qualified" else "open"
     renderItem = \case
-      ImportedName (OpName op) -> ["item", "name", op]
+      ImportedName namespace (OpName op) ->
+        ["item", "name", renderNamespace namespace, op]
       ImportedAll (OpName op) -> ["item", "all", op]
       ImportedSome op kids -> "item" : "some" : [k | OpName k <- op : kids]
 
@@ -306,7 +306,16 @@
       _ -> Nothing
     parseSummary = go empty . fmap T.words
       where
-        empty = ModuleSummary Nothing Nothing [] Map.empty Set.empty Map.empty Map.empty
+        empty =
+          ModuleSummary
+            Nothing
+            Nothing
+            []
+            Map.empty
+            Set.empty
+            Map.empty
+            Map.empty
+            False
     go s = \case
       [] ->
         Just
@@ -320,14 +329,23 @@
         item <- exportItem fields
         items <- summaryExports s
         go s{summaryExports = Just (item : items)} rest
-      ["import", m, how, alias] : rest -> do
+      ("import" : m : how : alias : named) : rest -> do
         qualified <- case how of
           "qualified" -> Just True
           "open" -> Just False
           _ -> Nothing
+        package <- case named of
+          [] -> Just Nothing
+          [p] -> Just (Just p)
+          _ -> Nothing
         let (listed, rest') = span isListed rest
         list <- importList listed
-        go s{summaryImports = Import m qualified alias list : summaryImports s} rest'
+        go
+          s
+            { summaryImports =
+                Import m package qualified alias list : summaryImports s
+            }
+          rest'
       ("fixity" : fields) : rest -> do
         (key, fixity) <- parseFixity fields
         go s{summaryFixities = Map.insert key fixity (summaryFixities s)} rest
@@ -336,17 +354,36 @@
         go s{summaryNames = Set.insert (n, OpName op) (summaryNames s)} rest
       ("declares" : parent : kids) : rest -> do
         namespaced <- parseNamespaced kids
-        go s{summaryDeclaredMembers = Map.insert (OpName parent) (Set.fromList namespaced) (summaryDeclaredMembers s)} rest
-      ("offers" : parent : kids) : rest ->
-        go s{summaryListedMembers = Map.insert (OpName parent) (names kids) (summaryListedMembers s)} rest
+        go
+          s
+            { summaryDeclaredMembers =
+                Map.insert
+                  (OpName parent)
+                  (Set.fromList namespaced)
+                  (summaryDeclaredMembers s)
+            }
+          rest
+      ("offers" : parent : kids) : rest -> do
+        namespaced <- parseNamespaced kids
+        go
+          s
+            { summaryListedMembers =
+                Map.insert
+                  (OpName parent)
+                  (Set.fromList namespaced)
+                  (summaryListedMembers s)
+            }
+          rest
+      ["spliced"] : rest -> go s{summarySpliced = True} rest
       _ -> Nothing
-    names = Set.fromList . fmap OpName
     qualifier q = if q == "-" then Nothing else Just q
     exportItem = \case
       ["name", namespace, q, op] ->
-        (\n -> ExportName n (qualifier q) (OpName op)) <$> parseNamespace namespace
+        (\n -> ExportName n (qualifier q) (OpName op))
+          <$> parseNamespace namespace
       ["all", q, op] -> Just (ExportAll (qualifier q) (OpName op))
-      "some" : q : op : kids -> Just (ExportSome (qualifier q) (OpName op) (fmap OpName kids))
+      "some" : q : op : kids ->
+        Just (ExportSome (qualifier q) (OpName op) (fmap OpName kids))
       ["module", m] -> Just (ExportModule m)
       _ -> Nothing
     isListed = \case
@@ -363,16 +400,23 @@
         Just . (,) hiding <$> traverse importItem items
       _ -> Nothing
     importItem = \case
-      ["item", "name", op] -> Just (ImportedName (OpName op))
+      ["item", "name", namespace, op] ->
+        (\n -> ImportedName n (OpName op)) <$> parseNamespace namespace
       ["item", "all", op] -> Just (ImportedAll (OpName op))
-      "item" : "some" : op : kids -> Just (ImportedSome (OpName op) (fmap OpName kids))
+      "item" : "some" : op : kids ->
+        Just (ImportedSome (OpName op) (fmap OpName kids))
       _ -> Nothing
 
 -- | What packages the compiler could see when last asked, if it can still
 -- see it.
-cachedInstalled :: Cache -> IO (Maybe [InstalledPackage])
-cachedInstalled cache = quietly Nothing $ do
-  readIfPresent (at cache (installedFile cache)) T.lines >>= \case
+cachedInstalled ::
+  -- | The cache.
+  Cache ->
+  -- | The compiler, by its identity.
+  Text ->
+  IO (Maybe [InstalledPackage])
+cachedInstalled cache compiler = quietly Nothing $ do
+  readIfPresent (at cache (installedFile compiler)) T.lines >>= \case
     Nothing -> pure Nothing
     Just ls -> do
       let (databases, packages) = span (T.isPrefixOf "db ") ls
@@ -391,8 +435,8 @@
     installedFrom = \case
       [] -> Just []
       l : rest -> case T.words l of
-        "package" : name : version : modules ->
-          let (owned, more) = break (T.isPrefixOf "package ") rest
+        "installed" : name : version : modules ->
+          let (owned, more) = break (T.isPrefixOf "installed ") rest
               reexports = [(v, o) | ["reexport", v, o] <- fmap T.words owned]
               dirs = [T.unpack d | Just d <- fmap (T.stripPrefix "dir ") owned]
            in (InstalledPackage name version modules reexports dirs :)
@@ -401,18 +445,25 @@
 
 -- | Remember a package the compiler can see, stamped so that a later run
 -- can tell whether it still does.
-storeInstalled :: Cache -> Installed -> IO ()
-storeInstalled cache found
+storeInstalled ::
+  -- | The cache.
+  Cache ->
+  -- | The compiler, by its identity.
+  Text ->
+  -- | What it can see.
+  Installed ->
+  IO ()
+storeInstalled cache compiler found
   | null databases = pure ()
   | otherwise = quietly () $ do
       stamps <- traverse stampOf databases
-      writeAtomically (at cache (installedFile cache)) . renderLines $
+      writeAtomically (at cache (installedFile compiler)) . renderLines $
         [["db", stamp, T.pack path] | (path, stamp) <- zip databases stamps]
           <> concatMap packageLines (installedPackages found)
   where
     databases = installedDatabases found
     packageLines p =
-      ("package" : ipName p : ipVersion p : ipModules p)
+      ("installed" : ipName p : ipVersion p : ipModules p)
         : [["reexport", v, o] | (v, o) <- ipReexports p]
           <> [["dir", T.pack dir] | dir <- ipImportDirs p]
 
@@ -427,7 +478,7 @@
 cachedFutileSolve cache =
   isJust <$> readIfPresent (at cache (solvesFile cache)) (const ())
 
--- | Remember that solving again did not widen the plan.
+-- | Remember that solving again did not mend the plan.
 storeFutileSolve :: Cache -> IO ()
 storeFutileSolve cache =
   writeAtomically (at cache (solvesFile cache)) ""
@@ -534,7 +585,10 @@
 -- name.
 renderNamespaced :: Set (Namespace, OpName) -> [Text]
 renderNamespaced names =
-  concat [[renderNamespace namespace, op] | (namespace, OpName op) <- Set.toAscList names]
+  concat
+    [ [renderNamespace namespace, op]
+    | (namespace, OpName op) <- Set.toAscList names
+    ]
 
 -- | Render names as one list of fields for each namespace they are in, the
 -- namespace first.
@@ -550,7 +604,8 @@
 parseByNamespace :: [Text] -> Maybe [(Namespace, OpName)]
 parseByNamespace = \case
   [] -> Just []
-  namespace : ops -> (\n -> fmap ((n,) . OpName) ops) <$> parseNamespace namespace
+  namespace : ops ->
+    (\n -> fmap ((n,) . OpName) ops) <$> parseNamespace namespace
 
 -- | Parse what 'renderNamespaced' rendered.
 parseNamespaced :: [Text] -> Maybe [(Namespace, OpName)]
@@ -579,9 +634,9 @@
 summariesFile :: Text -> [Text]
 summariesFile key = ["summaries", key]
 
--- | The path of the packages the compiler can see.
-installedFile :: Cache -> [Text]
-installedFile cache = ["installed", tokenOf cache]
+-- | The path of the packages a compiler, given by its identity, can see.
+installedFile :: Text -> [Text]
+installedFile compiler = ["installed", T.take 16 (sha256Of compiler)]
 
 -- | The path of the mark that solving again did not widen the plan.
 solvesFile :: Cache -> [Text]
diff --git a/src/Tilia/Fixity/Debug.hs b/src/Tilia/Fixity/Debug.hs
--- a/src/Tilia/Fixity/Debug.hs
+++ b/src/Tilia/Fixity/Debug.hs
@@ -12,12 +12,14 @@
 
 import Data.Choice (Choice)
 import Data.List.NonEmpty (NonEmpty, nonEmpty)
+import Data.List.NonEmpty qualified as NE
 import Data.Map.Strict (Map)
 import Data.Map.Strict qualified as Map
 import Data.Maybe (mapMaybe)
 import Data.Set qualified as Set
 import Data.Text (Text)
 import Data.Text qualified as T
+
 import Tilia.Fixity
   ( Certain (..),
     Established (..),
@@ -31,6 +33,7 @@
     Scope (..),
     disagreement,
     fixityInScope,
+    importedFrom,
     lookupFixity,
     moduleImports,
     operatorSpelling,
@@ -44,7 +47,7 @@
   )
 import Tilia.Palette (Color (Operator, Place), Palette, paint)
 import Tilia.Parser (ParsedModule (..))
-import Tilia.Utils (indent, tshow, wrappedUnder)
+import Tilia.Utils (indent, spellList, tshow, wrappedUnder)
 
 -- | Everything that decided one module's fixities.
 data FixityNotes = FixityNotes
@@ -98,15 +101,18 @@
   -- the imports exactly when the module actually has it.
   Choice "implicitPrelude" ->
   -- | What reading each module in scope established, as the resolver
-  -- answers it.
-  (Text -> IO Established) ->
+  -- answers it for what 'importedFrom' says of an import.
+  ((Maybe Text, Text) -> IO Established) ->
   -- | The scope the module was formatted under.
   Scope ->
   -- | The module's configurations.
   NonEmpty ParsedModule ->
   IO FixityNotes
 fixityNotes implicitPrelude resolve scope configurations = do
-  importNotes <- traverse alongside (moduleImports implicitPrelude (fmap pmModule configurations))
+  importNotes <-
+    traverse
+      alongside
+      (moduleImports implicitPrelude (fmap pmModule configurations))
   pure
     FixityNotes
       { notedImports = importNotes,
@@ -115,7 +121,7 @@
       }
   where
     alongside i = do
-      answer <- resolve (importModule i)
+      answer <- resolve (importedFrom i)
       let fixities = establishedFixities answer
           readNothing =
             Map.null fixities
@@ -134,7 +140,10 @@
                 then Nothing
                 else Just (Set.size (Set.map snd (Map.keysSet fixities))),
             noteUnsettled =
-              Set.toList (Map.keysSet (establishedUnsettled answer) <> establishedUntold answer)
+              Set.toList
+                ( Map.keysSet (establishedUnsettled answer)
+                    <> establishedUntold answer
+                )
           }
 
     used =
@@ -142,7 +151,9 @@
         Map.fromList
           [ ((noteSpelling note, answering), (One answering, note))
           | (answering, note) <-
-              fmap aboutOperator (concatMap (operatorsUsed . pmGathered) configurations)
+              fmap
+                aboutOperator
+                (concatMap (operatorsUsed . pmGathered) configurations)
           ]
 
     here =
@@ -164,7 +175,7 @@
       )
 
 -- | Join adjacent entries that differ only in their namespaces.
-joined :: (Eq a) => [(Namespaces, a)] -> [(Namespaces, a)]
+joined :: Eq a => [(Namespaces, a)] -> [(Namespaces, a)]
 joined = \case
   (_, a) : (_, b) : rest | a == b -> (Both, a) : joined rest
   entry : rest -> entry : joined rest
@@ -200,18 +211,21 @@
         <> qualification i
         <> ": "
         <> case noteOperatorCount i of
-          Nothing -> "could not be read" <> through (noteUnsettled i)
+          Nothing -> "could not be read" <> stops ", stopped at " i
           Just n
             | null (noteUnsettled i) -> operators n
-            | otherwise -> operators n <> ", not settling every name" <> through (noteUnsettled i)
+            | otherwise -> operators n <> ", incomplete" <> stops " at " i
 
-    through ways = case mapMaybe nonEmpty ways of
+    stops lead i = case mapMaybe nonEmpty (noteUnsettled i) of
       [] -> ""
-      below ->
-        ", through "
-          <> T.intercalate
-            " or "
-            (fmap (spellModuleChain palette . ModuleChain) below)
+      below -> lead <> spellList (fmap stop below)
+    stop way =
+      named (NE.last way)
+        <> foldMap
+          ( \path ->
+              " (via " <> spellModuleChain palette (ModuleChain path) <> ")"
+          )
+          (nonEmpty (NE.init way))
 
     qualification i = case (noteQualified i, noteAlias i) of
       (True, Just alias) -> " qualified as " <> named alias
@@ -220,7 +234,11 @@
       (False, Nothing) -> ""
 
     fromOwn (namespaces, (op, fixity)) =
-      operator op <> " " <> spellFixity fixity <> " " <> spellNamespaces namespaces
+      operator op
+        <> " "
+        <> spellFixity fixity
+        <> " "
+        <> spellNamespaces namespaces
 
     fromOperator (namespaces, o) =
       operator (noteSpelling o)
@@ -253,7 +271,8 @@
     ambiguously o = case noteDisagreement o of
       Nothing -> ""
       Just offers ->
-        ", and the imports disagree about it: " <> spellDisagreement palette offers
+        ", and the imports disagree about it: "
+          <> spellDisagreement palette offers
 
     named = paint palette Place
     operator = paint palette Operator
diff --git a/src/Tilia/Fixity/HiFile.hs b/src/Tilia/Fixity/HiFile.hs
--- a/src/Tilia/Fixity/HiFile.hs
+++ b/src/Tilia/Fixity/HiFile.hs
@@ -25,6 +25,7 @@
 import Data.Text qualified as T
 import Data.Text.Encoding qualified as T
 import Data.Word (Word32, Word8)
+
 import Tilia.Fixity
   ( Direction (..),
     Fixities,
@@ -89,7 +90,9 @@
 hiFile :: Get HiFile
 hiFile = do
   magic <- word32be
-  unless (magic == 0x1face64) (failure ("not a 64-bit interface file: " <> tshow magic))
+  unless
+    (magic == 0x1face64)
+    (failure ("not a 64-bit interface file: " <> tshow magic))
   version <- string
   series <- case take 3 version of
     "910" -> pure Series910
@@ -237,8 +240,14 @@
   where
     keyed entries =
       Map.fromList
-        [ ( 0x80000000 .|. (fromIntegral (ord tag) `shiftL` 22) .|. fromIntegral index,
-            maybe (BuiltInSyntax namespace) (`HiName` namespace) printedWith (OpName n)
+        [ ( 0x80000000
+              .|. (fromIntegral (ord tag) `shiftL` 22)
+              .|. fromIntegral index,
+            maybe
+              (BuiltInSyntax namespace)
+              (`HiName` namespace)
+              printedWith
+              (OpName n)
           )
         | (tag, index, namespace, printedWith, n) <- entries
         ]
@@ -367,7 +376,12 @@
   b <- byte
   c <- byte
   d <- byte
-  pure (fromIntegral a `shiftL` 24 .|. fromIntegral b `shiftL` 16 .|. fromIntegral c `shiftL` 8 .|. fromIntegral d)
+  pure
+    ( fromIntegral a `shiftL` 24
+        .|. fromIntegral b `shiftL` 16
+        .|. fromIntegral c `shiftL` 8
+        .|. fromIntegral d
+    )
 
 -- | An unsigned LEB128 number.
 uleb :: Get Int
diff --git a/src/Tilia/Fixity/Interface.hs b/src/Tilia/Fixity/Interface.hs
--- a/src/Tilia/Fixity/Interface.hs
+++ b/src/Tilia/Fixity/Interface.hs
@@ -22,8 +22,14 @@
 import Data.Text (Text)
 import Data.Text qualified as T
 import GHC.Generics (Generic)
+
 import Tilia.Fixity
-import Tilia.Fixity.HiFile (HiExport (..), HiFile (..), HiName (..), decodeHiFile)
+import Tilia.Fixity.HiFile
+  ( HiExport (..),
+    HiFile (..),
+    HiName (..),
+    decodeHiFile,
+  )
 import Tilia.Process (readProgramOutput)
 import Tilia.Utils (blocksOf, indented, quietly)
 
@@ -37,7 +43,7 @@
     interfaceReexports :: [(Text, Namespace, OpName)],
     -- | The members it exports with each name, which is what @T(..)@ in an
     -- import list stands for.
-    interfaceMembers :: Map OpName (Set OpName),
+    interfaceMembers :: Map OpName (Set (Namespace, OpName)),
     -- | What it certainly brings into scope, where the interface was decoded
     -- rather than read off what @ghc --show-iface@ prints.
     interfaceExports :: Maybe Certain
@@ -73,17 +79,15 @@
       Right
         Interface
           { interfaceDeclares =
-              Map.fromList
-                [ ((namespace, op), fixity)
-                | (namespace, op, fixity) <- hiFixities,
-                  Set.member (namespace, op) exportedHere
+              foldl'
+                (flip Map.delete)
+                fixities
+                [ (namespace, op)
+                | not (Map.null fixities),
+                  (_, namespace, op) <- reexports
                 ],
-            interfaceReexports =
-              [ (m, namespace, op)
-              | HiName m namespace op <- concatMap exportedNames hiExports,
-                m /= hiModule
-              ],
-            interfaceMembers = Map.map (Set.map snd) members,
+            interfaceReexports = reexports,
+            interfaceMembers = members,
             interfaceExports =
               Just
                 Certain
@@ -95,6 +99,17 @@
     exported = mapMaybe known (concatMap exportedNames hiExports)
     exportedHere =
       Set.fromList [(namespace, op) | (_, namespace, op) <- exported]
+    fixities =
+      Map.fromList
+        [ ((namespace, op), fixity)
+        | (namespace, op, fixity) <- hiFixities,
+          Set.member (namespace, op) exportedHere
+        ]
+    reexports =
+      [ (m, namespace, op)
+      | HiName m namespace op <- concatMap exportedNames hiExports,
+        m /= hiModule
+      ]
     members =
       Map.fromListWith
         Set.union
@@ -112,6 +127,9 @@
       Unneeded -> Nothing
 
 -- | Read what @ghc --show-iface@ printed, if it is this module's interface.
+--
+-- What it prints does not say which namespace a member is in, so each is
+-- taken to be in both.
 parseInterface :: Text -> Text -> Maybe Interface
 parseInterface modName out
   | not (any holdsModule (T.lines out)) = Nothing
@@ -131,14 +149,17 @@
                 namespace <- [InTypes, InTerms]
               ],
             interfaceMembers =
-              Map.unionsWith Set.union (fmap membersIn (sectionsNamed "exports:")),
+              Map.unionsWith
+                Set.union
+                (fmap membersIn (sectionsNamed "exports:")),
             interfaceExports = Nothing
           }
   where
     holdsModule l = case T.words l of
       ("interface" : m : _) -> m == modName
       _ -> False
-    sectionsNamed name = [body | (heading, body) <- sections out, heading == name]
+    sectionsNamed name =
+      [body | (heading, body) <- sections out, heading == name]
     fixities =
       Map.fromListWith
         (flip (<>))
@@ -162,7 +183,13 @@
     membersIn section =
       Map.fromListWith
         Set.union
-        [ (nameOnly parent, Set.fromList (fmap nameOnly kids))
+        [ ( nameOnly parent,
+            Set.fromList
+              [ (namespace, nameOnly kid)
+              | kid <- kids,
+                namespace <- [InTypes, InTerms]
+              ]
+          )
         | (parent, _, kids@(_ : _)) <- exportEntries section
         ]
 
@@ -175,7 +202,10 @@
       indented l,
       (keyword : rest) <- [T.words l],
       keyword `elem` (["data", "type", "newtype", "class"] :: [Text]),
-      name <- take 1 (dropWhile (`elem` (["family", "role", "instance"] :: [Text])) rest)
+      name <-
+        take
+          1
+          (dropWhile (`elem` (["family", "role", "instance"] :: [Text])) rest)
     ]
 
 -- | Sort declared fixities into the namespaces they govern: of two for one
diff --git a/src/Tilia/Fixity/KnownKeys/Ghc910.hs b/src/Tilia/Fixity/KnownKeys/Ghc910.hs
--- a/src/Tilia/Fixity/KnownKeys/Ghc910.hs
+++ b/src/Tilia/Fixity/KnownKeys/Ghc910.hs
@@ -12,6 +12,7 @@
 where
 
 import Data.Text (Text)
+
 import Tilia.Fixity (Direction (..), Fixity (..), Namespace (..))
 
 -- | Every name a key stands for: the tag and index of its key, its
diff --git a/src/Tilia/Fixity/KnownKeys/Ghc912.hs b/src/Tilia/Fixity/KnownKeys/Ghc912.hs
--- a/src/Tilia/Fixity/KnownKeys/Ghc912.hs
+++ b/src/Tilia/Fixity/KnownKeys/Ghc912.hs
@@ -12,6 +12,7 @@
 where
 
 import Data.Text (Text)
+
 import Tilia.Fixity (Direction (..), Fixity (..), Namespace (..))
 
 -- | Every name a key stands for: the tag and index of its key, its
diff --git a/src/Tilia/Fixity/KnownKeys/Ghc914.hs b/src/Tilia/Fixity/KnownKeys/Ghc914.hs
--- a/src/Tilia/Fixity/KnownKeys/Ghc914.hs
+++ b/src/Tilia/Fixity/KnownKeys/Ghc914.hs
@@ -12,6 +12,7 @@
 where
 
 import Data.Text (Text)
+
 import Tilia.Fixity (Direction (..), Fixity (..), Namespace (..))
 
 -- | Every name a key stands for: the tag and index of its key, its
diff --git a/src/Tilia/Fixity/PackageDb.hs b/src/Tilia/Fixity/PackageDb.hs
--- a/src/Tilia/Fixity/PackageDb.hs
+++ b/src/Tilia/Fixity/PackageDb.hs
@@ -23,6 +23,7 @@
 import Distribution.Parsec (Parsec, simpleParsec)
 import System.Directory (doesDirectoryExist, findExecutable)
 import System.FilePath ((</>))
+
 import Tilia.Process (readProgramOutput)
 import Tilia.Utils (blocksOf, fieldWords, looksLikeModule, quietly)
 
@@ -92,7 +93,7 @@
 
 -- | A record's field, read as Cabal-syntax reads it, which is how
 -- @ghc-pkg@ writes it.
-parsedField :: (Parsec a) => Text -> Map.Map Text Text -> Maybe a
+parsedField :: Parsec a => Text -> Map.Map Text Text -> Maybe a
 parsedField key fields =
   simpleParsec . T.unpack . T.strip =<< Map.lookup key fields
 
@@ -111,7 +112,7 @@
   version <- Map.lookup "version" fields
   pure
     InstalledPackage
-      { ipName = T.strip name,
+      { ipName = T.strip (fromMaybe name (Map.lookup "package-name" fields)),
         ipVersion = T.strip version,
         ipModules =
           concatMap
diff --git a/src/Tilia/Fixity/Plan.hs b/src/Tilia/Fixity/Plan.hs
--- a/src/Tilia/Fixity/Plan.hs
+++ b/src/Tilia/Fixity/Plan.hs
@@ -24,15 +24,15 @@
 import Control.Concurrent.QSem (newQSem, signalQSem, waitQSem)
 import Control.DeepSeq (force)
 import Control.Exception (bracket_, evaluate)
-import Control.Monad (filterM, join)
-import Data.Choice (Choice, fromBool, pattern Do)
+import Control.Monad (filterM, guard, join, mfilter)
+import Data.Choice (Choice, fromBool, isTrue, pattern Do)
 import Data.Containers.ListUtils (nubOrd)
 import Data.Foldable (asum, toList)
 import Data.List.NonEmpty (NonEmpty ((:|)))
 import Data.List.NonEmpty qualified as NE
 import Data.Map.Strict (Map)
 import Data.Map.Strict qualified as Map
-import Data.Maybe (catMaybes, fromMaybe, isNothing, mapMaybe)
+import Data.Maybe (catMaybes, fromMaybe, isNothing, listToMaybe, mapMaybe)
 import Data.Set (Set)
 import Data.Set qualified as Set
 import Data.Text (Text)
@@ -40,24 +40,48 @@
 import Data.Traversable (for)
 import GHC.Hs (HsModule)
 import GHC.Hs.Extension (GhcPs)
-import GHC.LanguageExtensions.Type (Extension (ImplicitPrelude))
+import GHC.LanguageExtensions.Type (Extension (Cpp, ImplicitPrelude))
 import System.Directory (canonicalizePath, doesFileExist)
-import System.FilePath ((</>))
+import System.FilePath (takeDirectory, (</>))
+
 import Tilia.Cabal.Package
-  ( Kind (Lib),
+  ( BranchSections (..),
+    ComponentSection (..),
+    Kind (Lib),
     PackageReader,
+    conditionValues,
     declaredModules,
+    moduleExtensions,
+    modulesOf,
     newPackageReader,
     packageComponents,
-    packageExtensions,
+    packageOf,
     readPackageDescription,
+    renamedModules,
+    sourceDirsOf,
   )
 import Tilia.Cabal.Plan
 import Tilia.Cabal.Project (cabalFilesIn)
-import Tilia.Cpp.Directives (branchLeaves, withoutRuledOut)
+import Tilia.Cpp.Directives
+  ( branchLeaves,
+    coveringLeaves,
+    includes,
+    withIncluded,
+    withoutRuledOut,
+  )
+import Tilia.Cpp.Expansion (cppExpansion)
 import Tilia.Cpp.Macros (Macros (..))
 import Tilia.Fixity
-import Tilia.Fixity.Archive (Archive (..), InArchive (..), moduleEndings, moduleIn, pathOfModule, readArchive, writtenForHsc)
+import Tilia.Fixity.Archive
+  ( Archive (..),
+    InArchive (..),
+    haskellIn,
+    moduleEndings,
+    moduleIn,
+    pathOfModule,
+    readArchive,
+    writtenForHsc,
+  )
 import Tilia.Fixity.Cabal (packageModules)
 import Tilia.Fixity.Cache
 import Tilia.Fixity.HiFile (HiFile, primopFixities)
@@ -65,7 +89,7 @@
 import Tilia.Fixity.PackageDb
 import Tilia.Memo (Flights, memoized, newFlights, newMemo)
 import Tilia.Parser
-import Tilia.Pragma (Defaults, effectiveExtensions)
+import Tilia.Pragma (Defaults (..), effectiveExtensions)
 import Tilia.Utils
   ( byteOrderMark,
     inParallel,
@@ -82,13 +106,13 @@
 
 -- | Where a module's fixities can be read from.
 data Route
-  = -- | The compiled interface the package database points at. Cheap, and
-    -- authoritative where it exists, since it is the compiler's own account
-    -- of what it settled on.
+  = -- | The compiled interface the global or user package database points
+    -- at. Cheap, and authoritative where it exists, since it is the
+    -- compiler's own account of what it settled on.
     FromInterface
   | -- | The module's source, out of the package's tarball in Cabal's
-    -- package cache. Slower, and the only route for a package that is
-    -- planned but not built.
+    -- package cache. Slower, and the only route for a package outside
+    -- those databases, such as every one Cabal builds into its store.
     FromSource
   deriving (Eq, Show)
 
@@ -96,21 +120,29 @@
 newtype Resolver = Resolver
   { -- | What reading a module established about the names it exports, as
     -- the file at the canonical path given, where it is one of the
-    -- project's own, imports it.
-    askModule :: Maybe FilePath -> Text -> IO Established
+    -- project's own, imports it with the package and module 'importedFrom'
+    -- gives.
+    askModule :: Maybe FilePath -> (Maybe Text, Text) -> IO Established
   }
 
+-- | Where the module an import names is read from.
+data Whereabouts
+  = -- | One of the project's own modules, by its name, in the file given.
+    Home Text FilePath
+  | -- | A module of a package the project depends on, of the package
+    -- given, or of the first to hold a module of its name where none is
+    -- given, by its name.
+    Elsewhere (Maybe Text) Text
+
 -- | Build a new 'Resolver' for the project in the current directory.
 --
 -- Answers are remembered on disk between runs by "Tilia.Fixity.Cache", so a
 -- package is decompressed and parsed once per machine rather than once per
 -- file.
-newResolver ::
-  -- | The build plan to use.
-  BuildPlan ->
-  IO Resolver
+newResolver :: BuildPlan -> IO Resolver
 newResolver plan = do
-  packageReader <- newPackageReader (plannedCompiler plan) []
+  packageReader <-
+    newPackageReader (plannedCompiler plan) (plannedFlags plan) []
   newResolverVia
     (Do #useCache)
     [FromInterface, FromSource]
@@ -156,7 +188,10 @@
   -- | The build plan to use.
   BuildPlan ->
   IO Resolver
-newResolverWith routes cache installed tarballs packageReader plan = do
+newResolverWith routes cache everything tarballs packageReader plan = do
+  let planned = Set.fromList [(ppName p, ppVersion p) | p <- bpPackages plan]
+      installed =
+        [i | i <- everything, Set.member (ipName i, ipVersion i) planned]
   index <- buildModuleIndex cache installed tarballs
   let interfaces = interfaceIndex installed
   importable <- localModules plan
@@ -165,102 +200,234 @@
   extensionsRead <- newMemo
   archivesRead <- newMemo
   reading <- newQSem =<< getNumCapabilities
-  interfaceOf <- interfaceMemo flights $ \modName ->
-    case Map.lookup modName interfaces of
+  interfaceOf <- interfaceMemo flights $ \(package, modName) ->
+    case heldBy package modName interfaces of
       Nothing -> pure Nothing
-      Just (_, path) ->
+      Just (_, (_, path)) ->
         bracket_ (waitQSem reading) (signalQSem reading) $
           readInterface modName path
-  let workings =
-        Workings
-          { wkRoutes = routes,
-            wkCache = cache,
-            wkImportable = importable,
-            wkIndex = index,
-            wkInterfaces = interfaces,
-            wkInterfaceOf = interfaceOf,
-            wkReach = reach,
-            wkSummariesOf = summariesOf,
-            wkModuleInArchive = moduleInArchive,
-            wkGenerated = generatedModules plan,
-            wkReexported =
-              Map.fromListWith
-                (\_ first' -> first')
-                [pair | i <- installed, pair <- ipReexports i]
-          }
+  let generated = generatedModules plan
+      holding = Map.unionWith (<>) interfaces index
+      holder modName = fst <$> heldBy Nothing modName holding
+      reexported =
+        Map.fromListWith
+          (flip (<>))
+          [ (visible, [(ipName i, original)])
+          | i <- installed,
+            (visible, original) <- ipReexports i
+          ]
       -- The stand-in is what 'withReexports' makes of a module it is in the
       -- middle of reading.
-      reach visiting local modName
+      reach visiting local target
         | key `Set.member` visiting = pure mempty
         | otherwise =
             memoized flights answersRead mempty key $
-              resolveModule workings (Set.insert key visiting) found modName
+              resolveModule (Set.insert key visiting) found
         where
-          found = local modName
-          key = maybe modName T.pack found
-      summariesOf found modName text =
+          -- The first package to hold a module is named, so that the
+          -- module is read once however it is reached.
+          found = case local target of
+            Elsewhere Nothing modName -> Elsewhere (holder modName) modName
+            whereabouts -> whereabouts
+          key = case found of
+            Home _ path -> T.pack path
+            Elsewhere package modName -> keyOf package modName
+      resolveModule visiting = \case
+        Home modName path
+          | writtenForHsc path -> pure mempty
+          | otherwise ->
+              readUtf8File path >>= \case
+                Nothing -> pure unreadable
+                Just source -> do
+                  (text, unread) <-
+                    withIncluded
+                      nextTo
+                      path
+                      (haskellIn path (snd (byteOrderMark source)))
+                  fromSummaries
+                    (reach visiting (importable (Just path)))
+                    modName
+                    =<< summariesOf (Left path) modName unread text
+        Elsewhere package modName
+          | Just (owner, original) <- heldBy package modName reexported,
+            isNothing (heldBy package modName interfaces) ->
+              reach visiting (fromDependency owner) (Nothing, original)
+          | otherwise -> answered <$> firstAnswer (fmap taking routes)
+          where
+            -- A dependency's import is of its own package's module where
+            -- it has one, and never of the project's.
+            fromDependency owner (named, imported) =
+              Elsewhere
+                ( mfilter (/= "this") named
+                    <|> (owner <$ heldBy (Just owner) imported holding)
+                )
+                imported
+
+            taking = \case
+              FromInterface -> viaInterface
+              FromSource -> viaArchive
+
+            -- A route that read some of the module is kept in case no later
+            -- one reads all of it.
+            firstAnswer = go Nothing
+              where
+                go partial [] = pure (fromMaybe unreadable partial)
+                go partial (route : rest) =
+                  route >>= \case
+                    Just established
+                      | settlesEverything established -> pure established
+                      | established /= unreadable ->
+                          go (partial <|> Just established) rest
+                    _ -> go partial rest
+
+            viaInterface = case heldBy package modName interfaces of
+              Nothing -> pure Nothing
+              Just (_, (key, _)) ->
+                throughCache key $
+                  Just <$> fromInterface interfaceOf (package, modName)
+
+            viaArchive = case heldBy package modName index of
+              Nothing -> pure Nothing
+              Just (owner, held@(key, tarball)) ->
+                throughCache key $
+                  fromSource
+                    moduleInArchive
+                    (summariesOf (Right held))
+                    (reach visiting (fromDependency owner))
+                    tarball
+                    modName
+
+            answered established
+              | settlesEverything established = established
+              | Set.member modName generated =
+                  established
+                    { establishedFixities = Map.empty,
+                      establishedUnsettled = Map.empty,
+                      establishedUntold = Set.empty
+                    }
+              | otherwise = established
+            throughCache key =
+              recalled
+                (cachedEstablished cache key modName)
+                (storeEstablished cache key modName)
+      summariesOf found modName unread text =
         extensionsOf found modName >>= \case
           Nothing -> pure Nothing
           Just extensions -> do
             let summarized =
                   evaluate . force $
-                    configurationsOf (macrosOf plan) extensions modName text
+                    configurationsOf
+                      (macrosOf plan)
+                      extensions
+                      modName
+                      unread
+                      text
                 stamp =
                   digestOf . T.intercalate "\n" $
                     [tshow extensions, macrosRead, text]
-            case digestOf . T.pack <$> found of
-              Nothing -> summarized
-              Just key ->
+            case found of
+              Right _ -> summarized
+              Left path -> do
+                let key = digestOf (T.pack path)
                 join
                   <$> recalled
                     (cachedSummaries cache key stamp)
                     (storeSummaries cache key stamp)
                     (Just <$> summarized)
       macrosRead = tshow (macrosOf plan)
-      extensionsOf found modName
-        | Just path <- found =
-            either (const Nothing) Just <$> packageReader path
-        | Just (package, tarball) <- Map.lookup modName index =
-            memoized flights extensionsRead Nothing package $
-              fmap packageExtensions . (archiveCabal =<<) <$> archiveOf tarball
-        | otherwise = pure Nothing
+      extensionsOf found modName = case found of
+        Left path -> either (const Nothing) Just <$> packageReader path
+        Right (key, tarball) ->
+          fmap ($ modName)
+            <$> memoized
+              flights
+              extensionsRead
+              Nothing
+              key
+              ( fmap moduleExtensions . (archiveCabal =<<)
+                  <$> archiveOf tarball
+              )
       archiveOf tarball =
-        memoized flights archivesRead Nothing (T.pack tarball) (readArchive tarball)
-      moduleInArchive tarball modName = (moduleIn modName =<<) <$> archiveOf tarball
+        memoized
+          flights
+          archivesRead
+          Nothing
+          (T.pack tarball)
+          (readArchive tarball)
+      moduleInArchive tarball modName =
+        (moduleIn modName =<<) <$> archiveOf tarball
   pure Resolver{askModule = reach Set.empty . importable}
 
+-- | The file a name stands for next to the file given, by its canonical
+-- path, and what it holds, where there is one.
+nextTo ::
+  -- | The file.
+  FilePath ->
+  -- | The name.
+  FilePath ->
+  IO (Maybe (FilePath, Text))
+nextTo including name =
+  readUtf8File file >>= \case
+    Nothing -> pure Nothing
+    Just text -> Just . (,text) <$> canonicalizePath file
+  where
+    file = takeDirectory including </> name
+
 -- | A module's interface, read once, with the primops' fixities standing
 -- in for that of @GHC.Prim@, which has no file.
 interfaceMemo ::
   -- | Who is working out what, across the resolver's tables.
   MVar Flights ->
-  -- | How to read a module's interface.
-  (Text -> IO (Maybe Interface)) ->
-  IO (Text -> IO (Maybe Interface))
+  -- | How to read the interface of a module, given as 'importedFrom' gives
+  -- it.
+  ((Maybe Text, Text) -> IO (Maybe Interface)) ->
+  IO ((Maybe Text, Text) -> IO (Maybe Interface))
 interfaceMemo flights read' = do
   interfacesRead <- newMemo
-  pure $ \modName ->
-    memoized flights interfacesRead Nothing modName $
+  pure $ \target@(package, modName) ->
+    memoized flights interfacesRead Nothing (keyOf package modName) $
       case Map.lookup modName primopFixities of
         Just declared -> pure (Just (asInterface declared))
-        Nothing -> read' modName
+        Nothing -> read' target
 
+-- | The key a module of a package, or of whichever package holds one of
+-- its name where none is given, is remembered under.
+keyOf ::
+  -- | The package.
+  Maybe Text ->
+  -- | The module.
+  Text ->
+  Text
+keyOf package modName = maybe modName (<> ":" <> modName) package
+
+-- | What the package given holds under a module's name, or the first
+-- package to hold one where none is given, with the package.
+heldBy ::
+  -- | The package.
+  Maybe Text ->
+  -- | The module.
+  Text ->
+  -- | What each package holds under each name, by name, the packages in
+  -- the order they are taken in.
+  Map Text [(Text, a)] ->
+  Maybe (Text, a)
+heldBy package modName held = do
+  holders <- Map.lookup modName held
+  maybe (listToMaybe holders) (\p -> (p,) <$> lookup p holders) package
+
 -- | A 'Resolver' that reads every module out of the interface given for it,
 -- for a program that has compiled the project and holds its interfaces.
-newResolverFrom ::
-  -- | The interface of a module, by name.
-  (Text -> IO (Maybe HiFile)) ->
-  IO Resolver
+newResolverFrom :: (Text -> IO (Maybe HiFile)) -> IO Resolver
 newResolverFrom given = do
   flights <- newFlights
   answersRead <- newMemo
-  interfaceOf <- interfaceMemo flights $ \modName ->
+  interfaceOf <- interfaceMemo flights $ \(_, modName) ->
     (either (const Nothing) Just . fromHiFile modName =<<) <$> given modName
   pure
     Resolver
-      { askModule = \_ modName ->
+      { askModule = \_ (_, modName) ->
           memoized flights answersRead unreadable modName $
-            fromInterface interfaceOf modName
+            fromInterface interfaceOf (Nothing, modName)
       }
 
 -- | Work out what a module can see, using a resolver to reach its imports.
@@ -290,7 +457,7 @@
   answers <-
     inParallel
       (\m -> (m,) <$> asked m)
-      (fmap importModule imports)
+      (fmap importedFrom imports)
   let table = Map.fromList answers
   pure $
     resolveScope
@@ -298,149 +465,7 @@
       (\m -> Map.findWithDefault unreadable m table)
       configurations
 
--- | Everything a resolver consults, and the way back into it.
---
--- None of it changes from one module to the next, which is why
--- 'newResolverWith' builds it once and hands it over whole. What comes back
--- out of that is the 'Resolver'; this is what is behind it.
-data Workings = Workings
-  { -- | Which readings to try, in the order given.
-    wkRoutes :: [Route],
-    -- | Where to remember answers between runs.
-    wkCache :: Cache,
-    -- | Where each module the file at the canonical path given, where it is
-    -- one of the project's own, imports from a directory rather than an
-    -- archive is. See 'localModules'.
-    wkImportable :: Maybe FilePath -> Text -> Maybe FilePath,
-    -- | Which package holds each module, and the tarball to find it in; the
-    -- package is the cache key, which carries the hash the tarball was
-    -- verified against.
-    wkIndex :: Map Text (Text, FilePath),
-    -- | What to file an answer read out of each module's interface under.
-    wkInterfaces :: Map Text (Text, FilePath),
-    -- | A module's interface, read at most once a run.
-    wkInterfaceOf :: Text -> IO (Maybe Interface),
-    -- | How to reach another module, given where each module the one
-    -- importing it imports from a directory is. Tied back on itself by
-    -- 'newResolverWith', so that the memo it keeps covers the recursive
-    -- calls too.
-    wkReach ::
-      Set Text ->
-      (Text -> Maybe FilePath) ->
-      Text ->
-      IO Established,
-    -- | What each configuration of a module says, given where it is if it
-    -- is one of the project's own, its name and its text, worked out once a
-    -- run.
-    wkSummariesOf ::
-      Maybe FilePath ->
-      Text ->
-      Text ->
-      IO (Maybe (NonEmpty ModuleSummary)),
-    -- | What a tarball holds for a module, each tarball read once a run.
-    wkModuleInArchive :: FilePath -> Text -> IO (Maybe InArchive),
-    -- | The modules @cabal@ writes itself, which are therefore in no
-    -- package's sources. See 'generatedModules'.
-    wkGenerated :: Set Text,
-    -- | The modules an installed package exposes that another one holds,
-    -- each with its name there.
-    wkReexported :: Map Text Text
-  }
-
--- | What reading a module establishes, by the cheapest route that settles
--- it.
-resolveModule ::
-  -- | Where to look, and how to get back to the resolver.
-  Workings ->
-  -- | Modules currently being resolved further up the call chain, this one
-  -- among them, each by its path if it is one of the project's own and by
-  -- its name otherwise.
-  Set Text ->
-  -- | Where the module is, if it is one of the project's own.
-  Maybe FilePath ->
-  -- | The module to resolve.
-  Text ->
-  IO Established
-resolveModule
-  Workings
-    { wkRoutes,
-      wkCache,
-      wkImportable,
-      wkIndex,
-      wkInterfaces,
-      wkInterfaceOf,
-      wkReach,
-      wkSummariesOf,
-      wkModuleInArchive,
-      wkGenerated,
-      wkReexported
-    }
-  visiting
-  found
-  modName
-    | Just path <- found,
-      writtenForHsc path =
-        pure mempty
-    | Just path <- found =
-        readUtf8File path >>= \case
-          Nothing -> pure unreadable
-          Just source ->
-            fromSummaries (wkReach visiting (wkImportable found)) modName
-              =<< wkSummariesOf found modName (snd (byteOrderMark source))
-    | Just original <- Map.lookup modName wkReexported,
-      Map.notMember modName wkInterfaces =
-        wkReach visiting fromDependency original
-    | otherwise = answered <$> firstAnswer (fmap taking wkRoutes)
-    where
-      fromDependency = wkImportable Nothing
-
-      taking = \case
-        FromInterface -> viaInterface
-        FromSource -> viaArchive
-
-      -- A route that read some of the module is kept in case no later one
-      -- reads all of it.
-      firstAnswer = go Nothing
-        where
-          go partial [] = pure (fromMaybe unreadable partial)
-          go partial (route : rest) =
-            route >>= \case
-              Just established
-                | settlesEverything established -> pure established
-                | established /= unreadable -> go (partial <|> Just established) rest
-              _ -> go partial rest
-
-      viaInterface = case Map.lookup modName wkInterfaces of
-        Nothing -> pure Nothing
-        Just (key, _) ->
-          throughCache key (Just <$> fromInterface wkInterfaceOf modName)
-
-      viaArchive = case Map.lookup modName wkIndex of
-        Nothing -> pure Nothing
-        Just (package, tarball) ->
-          throughCache package $
-            fromSource
-              wkModuleInArchive
-              (wkSummariesOf Nothing)
-              (wkReach visiting fromDependency)
-              tarball
-              modName
-
-      answered established
-        | settlesEverything established = established
-        | Set.member modName wkGenerated =
-            established
-              { establishedFixities = Map.empty,
-                establishedUnsettled = Map.empty,
-                establishedUntold = Set.empty
-              }
-        | otherwise = established
-      throughCache key =
-        recalled
-          (cachedEstablished wkCache key modName)
-          (storeEstablished wkCache key modName)
-
--- | Which package and tarball holds each module.
+-- | Which packages and tarballs hold each module.
 buildModuleIndex ::
   -- | Where to remember each package's module list.
   Cache ->
@@ -449,11 +474,12 @@
   [InstalledPackage] ->
   -- | Every package that might have a tarball, and where it would be.
   [(PlanPackage, FilePath)] ->
-  -- | For each module, the package that holds it (as a cache key) and
-  -- the tarball holding its source.
-  IO (Map Text (Text, FilePath))
+  -- | For each module, each package that holds it, in the order given, by
+  -- name, with the package as a cache key and the tarball holding its
+  -- source.
+  IO (Map Text [(Text, (Text, FilePath))])
 buildModuleIndex cache installed tarballs =
-  Map.fromListWith (\_ first' -> first') . concat <$> traverse one tarballs
+  Map.fromListWith (flip (<>)) . concat <$> traverse one tarballs
   where
     byNameVersion =
       Map.fromList [((ipName i, ipVersion i), ipModules i) | i <- installed]
@@ -461,14 +487,18 @@
       let key = cacheKey p
       let exposed = Map.lookup (ppName p, ppVersion p) byNameVersion
       held <- fromCabalFile cache tarball p
-      pure [(m, (key, tarball)) | m <- concat (catMaybes [exposed, held])]
+      pure
+        [ (m, [(ppName p, (key, tarball))])
+        | m <- concat (catMaybes [exposed, held])
+        ]
 
--- | Where each installed module's compiled interface is.
-interfaceIndex :: [InstalledPackage] -> Map Text (Text, FilePath)
+-- | Where each installed module's compiled interface is, for each package
+-- that holds one, by name, with a cache key for the directory it is in.
+interfaceIndex :: [InstalledPackage] -> Map Text [(Text, (Text, FilePath))]
 interfaceIndex installed =
   Map.fromListWith
-    (\_ first' -> first')
-    [ (m, (key, dir </> pathOfModule m <> ".hi"))
+    (flip (<>))
+    [ (m, [(ipName i, (key, dir </> pathOfModule m <> ".hi"))])
     | i <- installed,
       dir <- ipImportDirs i,
       -- Bound out here so that the directory is hashed once rather than
@@ -496,13 +526,14 @@
 -- | What a compiled interface says a module exports, with the fixities of
 -- what it passes on read from where each is declared.
 fromInterface ::
-  -- | A module's interface, if it has one.
-  (Text -> IO (Maybe Interface)) ->
-  -- | The module to read.
-  Text ->
+  -- | A module's interface, if it has one, given as 'importedFrom' gives
+  -- the module.
+  ((Maybe Text, Text) -> IO (Maybe Interface)) ->
+  -- | The module to read, as 'importedFrom' gives it.
+  (Maybe Text, Text) ->
   IO Established
-fromInterface interfaceOf modName =
-  interfaceOf modName >>= \case
+fromInterface interfaceOf target =
+  interfaceOf target >>= \case
     Nothing -> pure unreadable
     Just iface -> do
       declarers <-
@@ -533,7 +564,7 @@
           }
   where
     asked m = do
-      interface <- interfaceOf m
+      interface <- interfaceOf (Nothing, m)
       pure (m, interface)
     distinct = Map.keys . Map.fromList . fmap (,())
 
@@ -569,12 +600,17 @@
 fromSource ::
   -- | What a tarball holds for a module.
   (FilePath -> Text -> IO (Maybe InArchive)) ->
-  -- | What each configuration of a module says, given its text.
-  (Text -> Text -> IO (Maybe (NonEmpty ModuleSummary))) ->
-  -- | How to reach another module, for chasing re-exports. This is
-  -- 'resolveModule' tied back on itself, with the visiting set already
-  -- extended.
-  (Text -> IO Established) ->
+  -- | What each configuration of a module says, given its name, whether
+  -- it includes a file that was not read, and its text.
+  ( Text ->
+    Choice "includesUnread" ->
+    Text ->
+    IO (Maybe (NonEmpty ModuleSummary))
+  ) ->
+  -- | How to reach another module, given as 'importedFrom' gives it, for
+  -- chasing re-exports. This is the resolver tied back on itself, with the
+  -- visiting set already extended.
+  ((Maybe Text, Text) -> IO Established) ->
   -- | The tarball holding this module's source.
   FilePath ->
   -- | The module to read.
@@ -590,15 +626,15 @@
         moduleInArchive tarball modName >>= \case
           Nothing -> pure unreadable
           Just ForHsc -> pure mempty
-          Just (Haskell source) ->
-            fromSummaries reach modName =<< summariesOf modName source
+          Just (Haskell source unread) ->
+            fromSummaries reach modName =<< summariesOf modName unread source
 
 -- | What a module exports, out of what each of its configurations says.
 fromSummaries ::
-  -- | How to reach another module, for chasing re-exports. This is
-  -- 'resolveModule' tied back on itself, with the visiting set already
-  -- extended.
-  (Text -> IO Established) ->
+  -- | How to reach another module, given as 'importedFrom' gives it, for
+  -- chasing re-exports. This is the resolver tied back on itself, with the
+  -- visiting set already extended.
+  ((Maybe Text, Text) -> IO Established) ->
   -- | The name the module was looked up under.
   Text ->
   -- | What each configuration of it says, or 'Nothing' where none of them
@@ -622,7 +658,9 @@
 -- A configuration that leaves names unsettled is passed over where another
 -- settles every name, because almost every one of those is a branch meant
 -- for a different platform. Where none does, every configuration counts,
--- and a name any of them leaves unsettled stays unsettled.
+-- and a name any of them leaves unsettled stays unsettled. The members of a
+-- name are those any configuration gives it, passed over or not, as they
+-- bound what a @T(..)@ may bring in.
 agreeing :: NonEmpty Established -> Established
 agreeing answers =
   settledOnly
@@ -640,7 +678,7 @@
         establishedUntold = foldMap establishedUntold counted,
         establishedCertain = foldr1 inEvery (fmap establishedCertain counted),
         establishedMembers =
-          Map.unionsWith Set.union (fmap establishedMembers counted)
+          Map.unionsWith Set.union (fmap establishedMembers answers)
       }
   where
     counted =
@@ -674,20 +712,55 @@
         }
 
 -- | Where each module the file at the canonical path given, where it is one
--- of the project's own, imports from a directory rather than an archive is.
+-- of the project's own, imports is, given as 'importedFrom' gives it.
 --
 -- A module of the component with the source directory nearest above the
 -- file comes before any library's, as GHC looks in a component's own
 -- source directories before the packages it depends on. Components whose
--- directories are as near count together.
-localModules :: BuildPlan -> IO (Maybe FilePath -> Text -> Maybe FilePath)
+-- directories are as near count together, and a name their @mixins@ give
+-- a library's module stands for that module, the project's own libraries
+-- included. Each component is taken as a build on this machine configures
+-- it, unless only a build elsewhere compiles the file, which takes it with
+-- what every branch declares. An import naming a package other than the
+-- project's own leaves them all out.
+localModules ::
+  BuildPlan ->
+  IO (Maybe FilePath -> (Maybe Text, Text) -> Whereabouts)
 localModules plan = do
-  components <-
-    concat
+  (declared, built, named) <-
+    mconcat
       <$> traverse forPackage (nubOrd (concatMap directoryOf (bpPackages plan)))
-  let libraries = Map.unions [modules | (Lib, _, modules) <- components]
+  let elsewhere = Set.difference (filesOf declared) (filesOf built)
+      filesOf components =
+        Set.fromList
+          [path | (_, _, modules) <- components, (_, Home _ path) <- modules]
+      viewOf components =
+        let libraries =
+              firstOf
+                [ held
+                | (Lib, _, modules) <- components,
+                  held@(_, Home _ _) <- modules
+                ]
+            renamed = \case
+              Elsewhere (Just package) original
+                | Set.member package own,
+                  Just found <- Map.lookup original libraries ->
+                    found
+              whereabouts -> whereabouts
+         in ( [ (kind, dirs, renamed <$> firstOf modules)
+              | (kind, dirs, modules) <- components
+              ],
+              libraries
+            )
+      firstOf = Map.fromListWith (\_ first' -> first')
+      ofBuild = viewOf built
+      ofEvery = viewOf declared
+      own = Set.fromList ("this" : named)
   pure $ \importer ->
-    let covering =
+    let (components, libraries)
+          | any (`Set.member` elsewhere) importer = ofEvery
+          | otherwise = ofBuild
+        covering =
           [ (length rest, modules)
           | Just file <- [importer],
             (_, dirs, modules) <- components,
@@ -695,41 +768,83 @@
           ]
         holding =
           [modules | (n, modules) <- covering, all ((n <=) . fst) covering]
-     in \modName ->
-          asum (fmap (Map.lookup modName) holding)
-            <|> Map.lookup modName libraries
+     in \(package, modName) ->
+          case asum (fmap (Map.lookup modName) holding)
+            <|> Map.lookup modName libraries of
+            Just found | all (`Set.member` own) package -> found
+            _ -> Elsewhere (mfilter (/= "this") package) modName
   where
     directoryOf p = case ppSource p of
       LocalPackage dir -> [dir]
       CheckedOut dir -> [dir]
       _ -> []
-    forPackage dir = quietly [] $ do
+    forPackage dir = quietly mempty $ do
       cabalFilesIn dir >>= \case
-        [] -> pure []
+        [] -> pure mempty
         (cabalFile : _) ->
           readPackageDescription cabalFile >>= \case
-            Left _ -> pure []
-            Right described ->
-              traverse (component dir) (packageComponents described)
-    component dir (kind, _, branches) = do
-      placed <- for (declaredModules branches) $ \(d, modules) -> do
+            Left _ -> pure mempty
+            Right described -> do
+              valueOf <-
+                conditionValues
+                  (pure (plannedCompiler plan))
+                  ( Map.findWithDefault
+                      mempty
+                      (packageOf described)
+                      (plannedFlags plan)
+                  )
+                  described
+              let components = packageComponents described
+              (,,)
+                <$> for
+                  components
+                  ( \(kind, _, branches) ->
+                      component
+                        dir
+                        kind
+                        (declaredModules branches)
+                        ( concatMap
+                            (renamedModules . sectionInfo . ownSection)
+                            branches
+                        )
+                  )
+                <*> for
+                  [ (kind, builtSection b valueOf)
+                  | (kind, _, b : _) <- components
+                  ]
+                  ( \(kind, section) ->
+                      component
+                        dir
+                        kind
+                        [ (d, modulesOf section)
+                        | d <- sourceDirsOf (sectionInfo section)
+                        ]
+                        (renamedModules (sectionInfo section))
+                  )
+                <*> pure [packageOf described]
+    component dir kind sources renamed = do
+      placed <- for sources $ \(d, modules) -> do
         root <- canonicalizePath (dir </> d)
         (root,) . concat <$> traverse (locate root) modules
       pure
         ( kind,
           fmap fst placed,
-          Map.fromListWith (\_ first' -> first') (concatMap snd placed)
+          concatMap snd placed
+            <> [ (m, Elsewhere (Just package) original)
+               | (m, (package, original)) <- renamed
+               ]
         )
     locate root (m, unwritten) = do
       found <-
         filterM doesFileExist [root </> unwritten <> e | e <- moduleEndings]
-      pure [(m, path) | path <- take 1 found]
+      pure [(m, Home m path) | path <- take 1 found]
 
 -- | What a module exports, out of what it declares and what its imports
 -- bring in.
 withReexports ::
-  -- | How to reach another module, for names this one only passes on.
-  (Text -> IO Established) ->
+  -- | How to reach another module, given as 'importedFrom' gives it, for
+  -- names this one only passes on.
+  ((Maybe Text, Text) -> IO Established) ->
   -- | The name this module was looked up under.
   Text ->
   -- | The module.
@@ -742,24 +857,21 @@
       listed <-
         reached $ \i ->
           any (suppliedBy i) (concatMap named items)
-            || ( not (importQualified i)
-                   && importAlias i
-                     `elem` [m | ExportModule m <- items]
-               )
+            || importAlias i `elem` [m | ExportModule m <- items]
       let reexported =
             Map.fromList
               [ ((qualifier, parent), membersFrom listed qualifier parent)
               | ExportAll qualifier parent <- items,
-                Map.notMember parent declared
+                not (ownQualifier qualifier && Map.member parent declared)
               ]
           members =
             [ (qualifier, kid)
             | ((qualifier, _), Just kids) <- Map.toList reexported,
               kid <- Set.toList kids,
-              Set.notMember kid defined
+              not (local qualifier (snd kid))
             ]
       more <- reached $ \i ->
-        Map.notMember (importModule i) listed && any (suppliedBy i) members
+        Map.notMember (importedFrom i) listed && any (suppliedBy i) members
       let answers = Map.union listed more
           parts = fmap (exported answers reexported) items
       pure . together $
@@ -767,7 +879,13 @@
           { establishedFixities =
               Map.restrictKeys
                 (summaryFixities summary)
-                (foldMap (certainNames . establishedCertain) parts),
+                ( foldMap
+                    (certainNames . establishedCertain . snd)
+                    ( filter
+                        (ownQualifier . writtenUnder . fst)
+                        (zip items parts)
+                    )
+                ),
             establishedMembers = summaryListedMembers summary
           }
           : parts
@@ -777,47 +895,81 @@
     defined =
       Set.map snd (summaryNames summary)
         <> Set.map snd (Map.keysSet (summaryFixities summary))
+    ownQualifier = all (`elem` (modName : toList (summaryName summary)))
+    local qualifier op = ownQualifier qualifier && Set.member op defined
+    writtenUnder = \case
+      ExportName _ qualifier _ -> qualifier
+      ExportAll qualifier _ -> qualifier
+      ExportSome qualifier _ _ -> qualifier
+      ExportModule m -> Just m
     own =
       mempty
         { establishedFixities = summaryFixities summary,
+          establishedUntold = Set.fromList [[] | summarySpliced summary],
           establishedCertain = Certain (summaryNames summary) declared,
-          establishedMembers = Map.map (Set.map snd) declared
+          establishedMembers = declared
         }
     reached wanted =
       Map.fromList
         <$> traverse
           (\m -> (m,) <$> reach m)
-          (Set.toList (Set.fromList [importModule i | i <- imports, wanted i]))
-    suppliedBy i (qualifier, op) = maySupply Map.empty qualifier op i
+          (Set.toList (Set.fromList [importedFrom i | i <- imports, wanted i]))
+    suppliedBy i (qualifier, name) = maySupply Map.empty qualifier name i
     named = \case
-      ExportName _ qualifier op ->
-        [(qualifier, op) | Set.notMember op defined]
+      ExportName namespace qualifier op ->
+        [(qualifier, (namespace, op)) | not (local qualifier op)]
       ExportAll qualifier parent ->
-        [(qualifier, parent) | Set.notMember parent defined]
+        [(qualifier, (InTypes, parent)) | not (local qualifier parent)]
       ExportSome qualifier parent kids ->
-        [(qualifier, op) | op <- parent : kids, Set.notMember op defined]
+        [(qualifier, (InTypes, parent)) | not (local qualifier parent)]
+          <> [ (qualifier, (namespace, kid))
+             | kid <- kids,
+               not (local qualifier kid),
+               namespace <- [InTypes, InTerms]
+             ]
       ExportModule _ -> []
 
     exported answers reexported = \case
       ExportName namespace qualifier op ->
         settled answers True qualifier (namespace, op)
+          <> mempty
+            { establishedUnsettled =
+                Map.fromList
+                  [ ([], Set.singleton (namespace, op))
+                  | unseen answers qualifier (namespace, op)
+                  ]
+            }
           <> certainly (Set.singleton (namespace, op)) Map.empty
       ExportAll qualifier parent
-        | Just kids <- Map.lookup parent declared -> withMembers parent kids
+        | ownQualifier qualifier,
+          Just kids <- Map.lookup parent declared ->
+            withMembers parent kids
         | otherwise ->
             let found = settled answers True qualifier (InTypes, parent)
                 kids =
                   Map.findWithDefault Nothing (qualifier, parent) reexported
              in found
-                  <> mempty{establishedUntold = Map.keysSet (establishedUnsettled found)}
-                  <> foldMap (member answers qualifier parent) (foldMap Set.toList kids)
+                  <> mempty
+                    { establishedUntold =
+                        Map.keysSet (establishedUnsettled found)
+                    }
+                  <> untoldIf (unseen answers qualifier (InTypes, parent))
+                  <> foldMap
+                    (member answers qualifier parent)
+                    (foldMap (Set.toList . Set.map snd) kids)
                   <> case kids of
-                    Nothing -> certainly (Set.singleton (InTypes, parent)) Map.empty
+                    Nothing ->
+                      certainly (Set.singleton (InTypes, parent)) Map.empty
                     Just known ->
-                      withMembers parent (certainMembersOf answers qualifier parent)
-                        <> mempty{establishedMembers = Map.singleton parent known}
+                      withMembers
+                        parent
+                        (certainMembersOf answers qualifier parent)
+                        <> mempty
+                          { establishedMembers = Map.singleton parent known
+                          }
       ExportSome qualifier parent kids ->
         settled answers True qualifier (InTypes, parent)
+          <> untoldIf (unseen answers qualifier (InTypes, parent))
           <> foldMap (member answers qualifier parent) kids
           <> withMembers
             parent
@@ -825,32 +977,64 @@
                 ((`elem` kids) . snd)
                 ( fromMaybe
                     (certainMembersOf answers qualifier parent)
-                    (Map.lookup parent declared)
+                    ( guard (ownQualifier qualifier)
+                        *> Map.lookup parent declared
+                    )
                 )
                 <> Set.fromList
                   [ (InTerms, kid)
-                  | kid <- kids,
+                  | ownQualifier qualifier,
+                    kid <- kids,
                     Set.member (InTerms, kid) (summaryNames summary)
                   ]
             )
       ExportModule m ->
         (if Just m == summaryName summary || m == modName then own else mempty)
           <> foldMap
-            (whole answers)
-            [i | i <- imports, not (importQualified i), importAlias i == m]
+            (uncurry (whole answers m))
+            ( [ (i, Nothing)
+              | i <- imports,
+                not (importQualified i),
+                importAlias i == m
+              ]
+                <> [ (i, Just j)
+                   | j <- imports,
+                     importQualified j,
+                     importAlias j == m,
+                     i <- imports,
+                     not (importQualified i),
+                     importedFrom i == importedFrom j
+                   ]
+            )
 
+    unseen answers qualifier name@(_, op) =
+      not (local qualifier op)
+        && and
+          [ not (certainlyExports established name i)
+              && null (unsettledThrough established name)
+          | (i, established) <- candidates answers qualifier name
+          ]
+    untoldIf b = mempty{establishedUntold = Set.fromList [[] | b]}
+
     certainly names members = mempty{establishedCertain = Certain names members}
     withMembers parent kids =
       certainly (Set.insert (InTypes, parent) kids) (Map.singleton parent kids)
     member answers qualifier parent kid
-      | Set.member kid defined = mempty
+      | local qualifier kid = mempty
       | otherwise =
           case [ (i, established, certainKids)
-               | (i, established) <- candidates answers qualifier parent,
+               | (i, established) <-
+                   candidates answers qualifier (InTypes, parent),
                  decides established (InTypes, parent) i,
                  let certainKids =
                        Set.filter
-                         ((== kid) . snd)
+                         ( \name ->
+                             snd name == kid
+                               && certainlyBrings
+                                 (establishedMembers established)
+                                 name
+                                 i
+                         )
                          ( Map.findWithDefault
                              Set.empty
                              parent
@@ -867,15 +1051,15 @@
                 )
                 [InTypes, InTerms]
 
-    candidates answers qualifier op =
+    candidates answers qualifier name =
       [ (i, established)
       | i <- imports,
-        Just established <- [Map.lookup (importModule i) answers],
-        maySupply (establishedMembers established) qualifier op i
+        Just established <- [Map.lookup (importedFrom i) answers],
+        maySupply (establishedMembers established) qualifier name i
       ]
 
     settled answers certain qualifier name@(_, op)
-      | Set.member op defined = mempty
+      | local qualifier op = mempty
       | otherwise = case [ (i, established)
                          | certain,
                            (i, established) <- found,
@@ -884,7 +1068,7 @@
           decider : _ -> from [decider] name
           [] -> from found name
       where
-        found = candidates answers qualifier op
+        found = candidates answers qualifier name
 
     from imported name =
       case [ importModule i : chain
@@ -912,30 +1096,32 @@
     membersFrom answers qualifier parent =
       case mapMaybe
         (Map.lookup parent . establishedMembers . snd)
-        (candidates answers qualifier parent) of
+        (candidates answers qualifier (InTypes, parent)) of
         [] -> Nothing
         kids -> Just (Set.unions kids)
 
     certainMembersOf answers qualifier parent =
       Set.unions
-        [ Set.filter (\kid -> certainlyBrings (establishedMembers established) kid i) kids
-        | (i, established) <- candidates answers qualifier parent,
+        [ Set.filter
+            (\kid -> certainlyBrings (establishedMembers established) kid i)
+            kids
+        | (i, established) <- candidates answers qualifier (InTypes, parent),
           let certain = establishedCertain established,
           Set.member (InTypes, parent) (certainNames certain),
           Just kids <- [Map.lookup parent (certainMembers certain)]
         ]
 
-    whole answers i =
+    whole answers m i j =
       Established
         { establishedFixities =
             Map.filterWithKey
-              (\(_, op) _ -> admitted op)
+              (\name _ -> admitted name)
               (establishedFixities established),
           establishedUnsettled =
             Map.mapKeys
               (importModule i :)
               ( Map.mapMaybe
-                  (inhabited . Set.filter (admitted . snd))
+                  (inhabited . Set.filter admitted)
                   (establishedUnsettled established)
               ),
           establishedUntold =
@@ -956,10 +1142,14 @@
           establishedMembers = establishedMembers established
         }
       where
-        established = Map.findWithDefault mempty (importModule i) answers
+        established = Map.findWithDefault mempty (importedFrom i) answers
         certain = establishedCertain established
-        admitted op = maySupply (establishedMembers established) Nothing op i
-        included name = certainlyBrings (establishedMembers established) name i
+        admitted name =
+          maySupply (establishedMembers established) Nothing name i
+            && all (maySupply (establishedMembers established) (Just m) name) j
+        included name =
+          certainlyBrings (establishedMembers established) name i
+            && all (certainlyBrings (establishedMembers established) name) j
 
 -- | The parts of what a module exports, together.
 --
@@ -1003,8 +1193,14 @@
   | Set.null names = Nothing
   | otherwise = Just names
 
--- | Every configuration the preprocessor allows of a module's text that is
--- Haskell, parsed and summarized.
+-- | Configurations of a module's text that between them take every branch
+-- the preprocessor allows, parsed and summarized, as cpp hands them to GHC
+-- where CPP is on.
+--
+-- Where one of the few that 'coveringLeaves' gives is not Haskell, it is
+-- one configuration per branch instead, so that only the branch at fault
+-- goes unread. Where a branch the plan does not rule out includes a file
+-- that was not read, each may declare more than it shows.
 configurationsOf ::
   -- | What the plan settles about the questions its conditionals ask.
   Macros ->
@@ -1012,20 +1208,31 @@
   Defaults ->
   -- | The module's name, for the parser to put in its errors.
   Text ->
+  -- | Whether it includes a file that was not read, in any branch.
+  Choice "includesUnread" ->
   -- | Its text.
   Text ->
   Maybe (NonEmpty ModuleSummary)
-configurationsOf macros extensions modName text =
-  NE.nonEmpty . mapMaybe parsed
-    =<< whatParsed (branchLeaves (withoutRuledOut macros text))
+configurationsOf macros extensions modName unread text =
+  NE.nonEmpty
+    =<< (traverse parsed =<< covering) <|> (mapMaybe parsed <$> each)
   where
+    covering = whatParsed (coveringLeaves readable settled)
+    each = whatParsed (branchLeaves readable settled)
+    readable
+      | Set.member Cpp (effectiveExtensions extensions text) = cppExpansion
+      | otherwise = id
+    settled = withoutRuledOut (macros <> defaultsMacros extensions) text
     parsed leaf =
-      summarize (hasImplicitPrelude extensions leaf) . pmModule
+      including . summarize (hasImplicitPrelude extensions leaf) . pmModule
         <$> whatParsed (parseModule (ParserConfig extensions) named leaf)
+    including summary =
+      summary{summarySpliced = summarySpliced summary || unreadTaken}
+    unreadTaken = isTrue unread && not (null (includes settled))
     whatParsed = either (const Nothing) Just
     named = T.unpack modName
 
 -- | Does this module see the Prelude without importing it?
 hasImplicitPrelude :: Defaults -> Text -> Choice "implicitPrelude"
 hasImplicitPrelude extensions source =
-  fromBool (ImplicitPrelude `elem` effectiveExtensions extensions source)
+  fromBool (Set.member ImplicitPrelude (effectiveExtensions extensions source))
diff --git a/src/Tilia/Format.hs b/src/Tilia/Format.hs
--- a/src/Tilia/Format.hs
+++ b/src/Tilia/Format.hs
@@ -9,8 +9,9 @@
     describeFormatError,
     formatErrorExitCode,
     refused,
-    Session,
-    sessionRoot,
+    formattingFailed,
+    Session (..),
+    AstCheck (..),
     PlanSource (..),
     planSourceFor,
     newSession,
@@ -27,19 +28,21 @@
 import Control.Monad.IO.Class (liftIO)
 import Control.Monad.Trans.Except (ExceptT, runExceptT, throwE)
 import Data.Choice (Choice, fromBool, isTrue)
-import Data.Either (fromRight)
 import Data.Foldable (traverse_)
 import Data.IORef (IORef, atomicModifyIORef', newIORef, readIORef)
 import Data.Map.Strict (Map)
 import Data.Map.Strict qualified as Map
 import Data.Maybe (mapMaybe)
+import Data.Set (Set)
 import Data.Set qualified as Set
 import Data.Text (Text)
 import Data.Text qualified as T
 import Data.Version (Version, versionBranch)
 import GHC.Driver.Session (OnOff (..))
-import GHC.LanguageExtensions.Type (Extension (ImplicitPrelude))
+import GHC.LanguageExtensions.Type (Extension (Cpp, ImplicitPrelude))
 import System.Directory (canonicalizePath)
+import System.FilePath ((</>))
+
 import Tilia.Cabal.Package
   ( PackageProblem (..),
     PackageReader,
@@ -52,20 +55,34 @@
     loadPlan,
     macrosOf,
     plannedCompiler,
+    plannedFlags,
     readGivenPlan,
     versionMacros,
   )
 import Tilia.Cabal.Project (ProjectRoot (..), findProjectRoot)
-import Tilia.Cabal.Target (Component, componentInPlan, packageFilesOf)
+import Tilia.Cabal.Target
+  ( Component,
+    TargetProblem,
+    componentInPlan,
+    describeTargetProblem,
+    packageFilesOf,
+    projectModules,
+  )
 import Tilia.Cpp
   ( CppError (..),
+    answeredLeaves,
+    answeredLinearLeaves,
+    contextBeforeHaddock,
     correspondingBranches,
+    countLeaves,
     describeCppError,
     everyBranch,
     formatWithCpp,
+    joinedByCpp,
     usesCpp,
     withoutRuledOut,
   )
+import Tilia.Cpp.Expansion (changedByCpp, hashLines)
 import Tilia.Cpp.Macros (Macros)
 import Tilia.Doc (printDoc)
 import Tilia.Equivalence (commentDifference, syntaxDifference)
@@ -86,18 +103,37 @@
     newResolverVia,
     scopeFor,
   )
+import Tilia.MagicComments
+  ( Misplacement (..),
+    misplacedMagicComment,
+    turnedOffThroughout,
+  )
 import Tilia.Palette (Color (Operator, Place), Palette, paint)
 import Tilia.Parser
   ( ParseError,
     ParsedModule,
     ParserConfig (..),
     describeParseError,
+    parseConfiguration,
     parseModule,
     pmGathered,
     pmModule,
   )
-import Tilia.Pragma (defaultsOf, effectiveExtensions, movesPositions)
+import Tilia.Pragma
+  ( Defaults (..),
+    defaultsOf,
+    effectiveExtensions,
+    movesPositions,
+  )
 import Tilia.Render (RenderConfig (..), defaultRenderConfig, renderModule)
+import Tilia.Settings
+  ( Settings (..),
+    SettingsProblem,
+    describeSettingsProblem,
+    readSettings,
+    settingsFile,
+  )
+import Tilia.Source (Written (..), linesOf)
 import Tilia.Utils (collected, spellList, tshow)
 
 -- | Why a file could not be formatted.
@@ -106,6 +142,10 @@
     NoProject FilePath
   | -- | A project, but no build plan we could read or produce, and why.
     NoBuildPlan FilePath Text
+  | -- | A project whose own modules could not be told, and why.
+    NoOwnModules FilePath TargetProblem
+  | -- | The project's @tilia.toml@ cannot be used, and why.
+    InvalidSettings FilePath SettingsProblem
   | -- | The extensions in force in the file could not be settled, and why.
     NoPackage FilePath PackageProblem
   | -- | The file is not Haskell we can parse.
@@ -113,8 +153,17 @@
   | -- | The file carries @{-# LINE #-}@ or @{-# COLUMN #-}@ pragmas, or lines
     -- GHC's lexer reads past, such as @#line@ ones.
     PositionPragmas FilePath
+  | -- | A line holding code that cpp joins to the line before it, and its
+    -- number.
+    JoinedByCpp FilePath Int
+  | -- | A macro the file defines as a context heading a part a Haddock
+    -- documents, the macro's line, and the macro.
+    ContextBeforeHaddock FilePath Int Text
   | -- | The file uses the preprocessor in a way we cannot handle.
     CppUnsupported FilePath CppError
+  | -- | A @{- TILIA_OFF -}@ or @{- TILIA_ON -}@ at this line cannot be
+    -- honoured, and why.
+    MisplacedMagicComment FilePath Int Misplacement
   | -- | An operator the file uses has a fixity we could not establish, as
     -- the file writes it.
     UnknownFixity FilePath [((Maybe Text, OpName), Unknown)]
@@ -133,9 +182,18 @@
 describeFormatError :: Palette -> FormatError -> Text
 describeFormatError palette = \case
   NoProject path ->
-    "no project above " <> file path <> ": expected a cabal.project or a .cabal file"
+    "no project above "
+      <> file path
+      <> ": expected a cabal.project or a .cabal file"
   NoBuildPlan root reason ->
     "no build plan for " <> file root <> ": " <> reason
+  NoOwnModules root problem ->
+    "cannot tell which modules the project in "
+      <> file root
+      <> " declares: "
+      <> describeTargetProblem problem
+  InvalidSettings path problem ->
+    "cannot use " <> file path <> ": " <> describeSettingsProblem problem
   NoPackage path problem ->
     "cannot tell what "
       <> file path
@@ -147,18 +205,37 @@
       <> file path
       <> ": it uses {-# LINE #-} or {-# COLUMN #-} pragmas or #line, #pragma"
       <> " or #! lines, and no reformatting can leave those true"
+  JoinedByCpp path n ->
+    "will not format "
+      <> file path
+      <> ": CPP joins the code at line "
+      <> tshow n
+      <> " to the line above it"
+  ContextBeforeHaddock path n macro ->
+    "will not format "
+      <> file path
+      <> ": the macro "
+      <> macro
+      <> " at line "
+      <> tshow n
+      <> " stands for a context before a documented part"
   CppUnsupported path why -> case why of
     ConfigurationNotParsed{} ->
       "will not format " <> located (describeCppError why)
     _ -> "will not format " <> file path <> ": " <> describeCppError why
-  Unreadable path why -> "cannot read " <> file path <> ": " <> why
-  Unwritable path why -> "cannot write " <> file path <> ": " <> why
-  NotEquivalent path why ->
-    "formatting " <> file path <> " changed the program: " <> why
-  NotIdempotent path why ->
-    "formatting " <> file path <> " is not idempotent: " <> why
-  Threw path why ->
-    "formatting " <> file path <> " threw an exception: " <> why
+  MisplacedMagicComment path n why ->
+    "will not format "
+      <> file path
+      <> ": "
+      <> case why of
+        NotBetweenDeclarations ->
+          "the {- TILIA_OFF -} or {- TILIA_ON -} at line "
+            <> tshow n
+            <> " is not on a line of its own between top-level declarations"
+        AroundDirective ->
+          "the region that {- TILIA_OFF -} starts at line "
+            <> tshow n
+            <> " includes a CPP directive which is not supported"
   UnknownFixity path unknown ->
     "will not format "
       <> file path
@@ -175,62 +252,111 @@
         where
           single = length ops == 1
           because = case why of
-            NotRead missing -> "may be declared in " <> spellUnreadIn palette missing
+            NotRead missing ->
+              "may be declared in " <> spellUnreadIn palette missing
             Ambiguous offers ->
-              (if single then "is " else "are ") <> spellDisagreement palette offers
+              (if single then "is " else "are ")
+                <> spellDisagreement palette offers
+  Unreadable path why -> "cannot read " <> file path <> ": " <> why
+  Unwritable path why -> "cannot write " <> file path <> ": " <> why
+  NotEquivalent path why ->
+    "formatting " <> file path <> " changed the program: " <> why
+  NotIdempotent path why ->
+    "formatting " <> file path <> " is not idempotent: " <> why
+  Threw path why ->
+    "formatting " <> file path <> " threw an exception: " <> why
   where
     file = paint palette Place . T.pack
     located t = case T.breakOn ":" t of
       (where', rest) -> paint palette Place where' <> rest
 
--- | The exit status a failure should leave behind.
+-- | The exit status a failure should leave behind, distinct for each error
+-- constructor.
 formatErrorExitCode :: FormatError -> Int
 formatErrorExitCode = \case
   NoProject{} -> 2
   NoBuildPlan{} -> 3
-  NotParsed{} -> 4
-  PositionPragmas{} -> 5
+  NoOwnModules{} -> 4
+  InvalidSettings{} -> 5
   NoPackage _ problem -> case problem of
     NoPackageFile -> 6
-    PackageUnreadable{} -> 6
-    PackageMalformed{} -> 7
-    FileUnclaimed{} -> 8
-  UnknownFixity{} -> 15
-  Unreadable{} -> 16
-  NotEquivalent{} -> 17
-  NotIdempotent{} -> 18
-  Threw{} -> 19
-  Unwritable{} -> 20
+    PackageUnreadable{} -> 7
+    PackageMalformed{} -> 8
+    FileUnclaimed{} -> 9
+  NotParsed{} -> 10
+  PositionPragmas{} -> 11
+  JoinedByCpp{} -> 12
+  ContextBeforeHaddock{} -> 13
   CppUnsupported _ why -> case why of
-    MalformedConditional{} -> 9
-    TooManyConfigurations -> 10
-    ConfigurationNotParsed{} -> 11
-    DirectiveInQuotedText{} -> 12
-    MacroInQuotedText{} -> 12
-    BeforeLeadingComma{} -> 12
-    RuledOutBranch{} -> 13
-    AbortingAlternative{} -> 14
+    MalformedConditional{} -> 14
+    TooManyConfigurations -> 15
+    ConfigurationNotParsed{} -> 16
+    DirectiveInQuotedText{} -> 17
+    MacroInQuotedText{} -> 18
+    BeforeLeadingComma{} -> 19
+    RuledOutBranch{} -> 20
+    AbortingAlternative{} -> 21
+    HaddockReadDifferently{} -> 22
+  MisplacedMagicComment{} -> 23
+  UnknownFixity{} -> 24
+  Unreadable{} -> 25
+  Unwritable{} -> 26
+  NotEquivalent{} -> 27
+  NotIdempotent{} -> 28
+  Threw{} -> 29
 
 -- | Did we decline to format the file, rather than fail to?
 refused :: FormatError -> Bool
 refused = \case
+  NoProject{} -> False
+  NoBuildPlan{} -> False
+  NoOwnModules{} -> False
+  InvalidSettings{} -> False
+  NoPackage{} -> False
+  NotParsed{} -> False
   PositionPragmas{} -> True
+  JoinedByCpp{} -> True
+  ContextBeforeHaddock{} -> True
   CppUnsupported{} -> True
+  MisplacedMagicComment{} -> True
   UnknownFixity{} -> True
-  NotParsed{} -> False
-  NoPackage{} -> False
   Unreadable{} -> False
   Unwritable{} -> False
   NotEquivalent{} -> False
   NotIdempotent{} -> False
   Threw{} -> False
+
+-- | Did formatting itself fail, rather than the file or the project keep
+-- it from starting?
+formattingFailed :: FormatError -> Bool
+formattingFailed = \case
   NoProject{} -> False
   NoBuildPlan{} -> False
+  NoOwnModules{} -> False
+  InvalidSettings{} -> False
+  NoPackage{} -> False
+  NotParsed{} -> False
+  PositionPragmas{} -> False
+  JoinedByCpp{} -> False
+  ContextBeforeHaddock{} -> False
+  CppUnsupported{} -> False
+  MisplacedMagicComment{} -> False
+  UnknownFixity{} -> False
+  Unreadable{} -> False
+  Unwritable{} -> False
+  NotEquivalent{} -> True
+  NotIdempotent{} -> True
+  Threw{} -> True
 
 -- | What a run works out once and then uses for every file.
 data Session = Session
   { -- | The project.
     sessionRoot :: ProjectRoot,
+    -- | The modules the project's own packages declare, each with the names
+    -- of those that declare it.
+    sessionOwnModules :: Map Text (Set Text),
+    -- | What the project sets in its @tilia.toml@.
+    sessionSettings :: Settings,
     -- | What can be asked about the modules a file imports.
     sessionResolver :: Resolver,
     -- | What the plan settles about the questions a file's conditionals
@@ -238,8 +364,8 @@
     sessionMacros :: Macros,
     -- | What each file's package puts in force.
     sessionPackage :: PackageReader,
-    -- | Whether to check AST equivalence.
-    sessionCheckAst :: Choice "checkAst",
+    -- | Whether to check AST equivalence, and in which configurations.
+    sessionCheckAst :: AstCheck,
     -- | Whether to check idempotence.
     sessionCheckIdempotence :: Choice "checkIdempotence",
     -- | An account of how each file's fixities were determined, or 'Nothing'
@@ -247,6 +373,24 @@
     sessionFixityNotes :: Maybe (IORef (Map FilePath FixityNotes))
   }
 
+-- | Whether to check AST equivalence, and in which configurations of a
+-- module that uses the preprocessor.
+data AstCheck
+  = -- | Not at all.
+    NoAstCheck
+  | -- | In one configuration for each branch of each conditional, as a run
+    -- does.
+    EachCppBranch
+  | -- | In every configuration, up to as many as given, and past that in
+    -- the ones varying a single conditional, once both sides have as many.
+    EachCppConfiguration Int
+  deriving (Eq, Show)
+
+-- | The AST check a run makes where it is asked for one.
+astCheckFor :: Choice "checkAst" -> AstCheck
+astCheckFor checkAst =
+  if isTrue checkAst then EachCppBranch else NoAstCheck
+
 -- | Where a session's build plan comes from.
 data PlanSource
   = -- | The project's own, solved again or fetched for with Cabal.
@@ -280,36 +424,51 @@
   -- with 'fixityNotesOf'.
   Choice "debugFixity" ->
   IO (Either FormatError Session)
-newSession project planSource caching downloading checkAst checkIdempotence debugFixity = runExceptT $ do
-  let root = prPath project
-  (plan, routes) <- case planSource of
-    PlanFromCabal components -> do
-      plan <- orElse (NoBuildPlan root) =<< liftIO (loadPlan caching downloading components root)
-      pure (plan, [FromInterface, FromSource])
-    GivenPlan path -> do
-      plan <- orElse (NoBuildPlan root) =<< liftIO (readGivenPlan root path)
-      routes <-
-        if isTrue downloading
-          then [FromInterface, FromSource] <$ liftIO (fetchUninstalled caching root plan)
-          else pure [FromInterface]
-      pure (plan, routes)
-  packages <- liftIO (fromRight [] <$> packageFilesOf project)
-  packageReader <- liftIO (newPackageReader (plannedCompiler plan) packages)
-  resolver <- liftIO (newResolverVia caching routes packageReader root plan)
-  notes <-
-    if isTrue debugFixity
-      then Just <$> liftIO (newIORef Map.empty)
-      else pure Nothing
-  pure
-    Session
-      { sessionRoot = project,
-        sessionResolver = resolver,
-        sessionMacros = macrosOf plan,
-        sessionPackage = packageReader,
-        sessionCheckAst = checkAst,
-        sessionCheckIdempotence = checkIdempotence,
-        sessionFixityNotes = notes
-      }
+newSession
+  project
+  planSource
+  caching
+  downloading
+  checkAst
+  checkIdempotence
+  debugFixity = runExceptT $ do
+    let root = prPath project
+    (settings, packages, ownModules) <- fromProject project
+    (plan, routes) <- case planSource of
+      PlanFromCabal components -> do
+        plan <-
+          orElse (NoBuildPlan root)
+            =<< liftIO (loadPlan caching downloading components root)
+        pure (plan, [FromInterface, FromSource])
+      GivenPlan path -> do
+        plan <- orElse (NoBuildPlan root) =<< liftIO (readGivenPlan root path)
+        routes <-
+          if isTrue downloading
+            then
+              [FromInterface, FromSource]
+                <$ liftIO (fetchUninstalled caching root plan)
+            else pure [FromInterface]
+        pure (plan, routes)
+    packageReader <-
+      liftIO
+        (newPackageReader (plannedCompiler plan) (plannedFlags plan) packages)
+    resolver <- liftIO (newResolverVia caching routes packageReader root plan)
+    notes <-
+      if isTrue debugFixity
+        then Just <$> liftIO (newIORef Map.empty)
+        else pure Nothing
+    pure
+      Session
+        { sessionRoot = project,
+          sessionOwnModules = ownModules,
+          sessionSettings = settings,
+          sessionResolver = resolver,
+          sessionMacros = macrosOf plan,
+          sessionPackage = packageReader,
+          sessionCheckAst = astCheckFor checkAst,
+          sessionCheckIdempotence = checkIdempotence,
+          sessionFixityNotes = notes
+        }
 
 -- | What compiling a file's component establishes, which a session
 -- otherwise works out with Cabal, the package database, and the sources of
@@ -328,7 +487,8 @@
   }
 
 -- | Settle everything that does not depend on the file being formatted from
--- what compiling its component establishes.
+-- what compiling its component establishes, and from the project's @.cabal@
+-- files which of its modules are its own.
 compiledSession ::
   -- | The file.
   FilePath ->
@@ -342,18 +502,23 @@
 compiledSession file Compiled{..} checkAst checkIdempotence = runExceptT $ do
   project <-
     maybe (throwE (NoProject file)) pure =<< liftIO (findProjectRoot file)
+  (settings, _, ownModules) <- fromProject project
   resolver <- liftIO (newResolverFrom compiledInterface)
   pure
     Session
       { sessionRoot = project,
+        sessionOwnModules = ownModules,
+        sessionSettings = settings,
         sessionResolver = resolver,
         sessionMacros =
           versionMacros
             (Just (numbers compiledWith))
             (fmap numbers compiledPackages),
         sessionPackage =
-          \_ -> pure (Right (defaultsOf [] (On <$> compiledExtensions))),
-        sessionCheckAst = checkAst,
+          \_ ->
+            pure
+              (Right (defaultsOf False Set.empty (On <$> compiledExtensions))),
+        sessionCheckAst = astCheckFor checkAst,
         sessionCheckIdempotence = checkIdempotence,
         sessionFixityNotes = Nothing
       }
@@ -377,15 +542,36 @@
   Text ->
   -- | Result.
   IO (Either FormatError Text)
-formatSource session path source = runExceptT $ do
+formatSource session path source
+  | turnedOffThroughout source = pure (Right source)
+  | otherwise = formatTurnedOn session path source
+
+-- | 'formatSource' for a module no @{- TILIA_OFF -}@ turns off throughout.
+formatTurnedOn ::
+  -- | What the run has worked out already.
+  Session ->
+  -- | The file the source came from.
+  FilePath ->
+  -- | The source.
+  Text ->
+  IO (Either FormatError Text)
+formatTurnedOn session path source = runExceptT $ do
   package <- orElse (NoPackage path) =<< liftIO (sessionPackage session path)
   importer <- liftIO (canonicalizePath path)
   let resolver = sessionResolver session
       config = ParserConfig package
+      settings = sessionSettings session
+      misplaced (n, why) = throwE (MisplacedMagicComment path n why)
       extensionsAndCpp text =
         let declared = effectiveExtensions package text
-         in (Set.fromList declared, usesCpp declared text)
-      renderConfigFor extensions parsed = do
+         in (declared, usesCpp declared text)
+      renderConfigWith extensions =
+        defaultRenderConfig
+          { rcOwnModules = sessionOwnModules session,
+            rcExtensions = extensions,
+            rcSettings = settings
+          }
+      renderConfigFor extensions taken parsed = do
         let implicitPrelude =
               fromBool (Set.member ImplicitPrelude extensions)
         scope <-
@@ -404,20 +590,40 @@
                 (askModule resolver (Just importer))
                 scope
                 parsed
-            atomicModifyIORef' ref (\m -> (Map.insertWith (\_ old -> old) path told m, ()))
-        case unknownOperators scope (fmap pmGathered parsed) of
-          [] ->
-            pure
-              defaultRenderConfig
-                { rcExtensions = extensions,
-                  rcScope = Just scope
-                }
-          unknown -> throwE (UnknownFixity path unknown)
+            atomicModifyIORef'
+              ref
+              (\m -> (Map.insertWith (\_ old -> old) path told m, ()))
+        let unknownAmong configurations =
+              unknownOperators configurations scope (fmap pmGathered parsed)
+            unknown = case unknownAmong Nothing of
+              [] -> []
+              found -> maybe found (unknownAmong . Just . fmap pmModule) taken
+        case unknown of
+          [] -> pure (renderConfigWith extensions){rcScope = Just scope}
+          _ -> throwE (UnknownFixity path unknown)
       formatting (extensions, cpp) already text
-        | cpp = do
-            render <- case everyBranch config path (withoutRuledOut (sessionMacros session) text) of
-              Nothing -> pure defaultRenderConfig{rcExtensions = extensions}
-              Just branches -> renderConfigFor extensions branches
+        | isTrue cpp = do
+            render <- case everyBranch
+              config
+              path
+              (withoutRuledOut (sessionMacros session) text) of
+              Nothing -> pure (renderConfigWith extensions)
+              Just branches -> do
+                traverse_ misplaced (misplacedMagicComment text branches)
+                traverse_
+                  (throwE . uncurry (ContextBeforeHaddock path))
+                  (contextBeforeHaddock text branches)
+                renderConfigFor
+                  extensions
+                  ( everyBranch
+                      config
+                      path
+                      ( withoutRuledOut
+                          (sessionMacros session <> defaultsMacros package)
+                          text
+                      )
+                  )
+                  branches
             printed <-
               orElse
                 (CppUnsupported path)
@@ -425,25 +631,34 @@
             pure (printed, Nothing)
         | otherwise = do
             parsed <-
-              maybe (orElse NotParsed (parseModule config path text)) pure already
-            render <- renderConfigFor extensions (pure parsed)
-            pure
-              ( printDoc (renderModule render parsed),
-                Just parsed
-              )
-  let inForce@(extensions, cpp) = extensionsAndCpp source
-  when (movesPositions (Set.toList extensions) source) $
+              maybe
+                (orElse NotParsed (parseModule config path text))
+                pure
+                already
+            traverse_ misplaced (misplacedMagicComment text (pure parsed))
+            render <- renderConfigFor extensions Nothing (pure parsed)
+            pure (printDoc settings (renderModule render parsed), Just parsed)
+  let inForce@(extensions, _) = extensionsAndCpp source
+  when (movesPositions extensions source) $
     throwE (PositionPragmas path)
+  when (Set.member Cpp extensions) $
+    traverse_
+      (throwE . JoinedByCpp path)
+      (joinedByCpp config source)
   (formatted, tree) <- formatting inForce Nothing source
-  printedTree <-
-    if isTrue (sessionCheckAst session)
-      then do
-        let (changed, parsed) = rewritten config cpp path (source, tree) formatted
-        traverse_ (throwE . NotEquivalent path) changed
-        pure parsed
-      else pure Nothing
+  let (changed, printedTree) =
+        rewritten
+          config
+          astCheck
+          extensions
+          path
+          (source, tree)
+          formatted
+      astCheck = sessionCheckAst session
+  traverse_ (throwE . NotEquivalent path) changed
   when (isTrue (sessionCheckIdempotence session)) $ do
-    (settled, _) <- formatting (extensionsAndCpp formatted) printedTree formatted
+    (settled, _) <-
+      formatting (extensionsAndCpp formatted) printedTree formatted
     when (settled /= formatted) $
       throwE (NotIdempotent path (whyNotIdempotent formatted settled))
   pure formatted
@@ -471,8 +686,11 @@
 rewritten ::
   -- | How to parse both sides.
   ParserConfig ->
-  -- | Whether the file uses the preprocessor.
-  Bool ->
+  -- | Whether to compare the two, and in which configurations where the
+  -- file uses the preprocessor.
+  AstCheck ->
+  -- | The extensions in force.
+  Set Extension ->
   -- | The file, for the parser's messages.
   FilePath ->
   -- | What was read, and the tree it was printed from where it has one.
@@ -481,34 +699,123 @@
   Text ->
   -- | What formatting changed, and the tree of what was printed.
   (Maybe Text, Maybe ParsedModule)
-rewritten config cpp path (before, printedFrom') after
-  | not cpp = case parseModule config path after of
+rewritten config astCheck extensions path (before, printedFrom') after
+  | NoAstCheck <- astCheck = (Nothing, Nothing)
+  | not readByCpp = case parseModule config path after of
       Left e ->
         ( Just ("the formatted output does not parse: " <> describeParseError e),
           Nothing
         )
-      Right a' -> case printedFrom' <|> whatParsed (parseModule config path before) of
+      Right a' -> case printedFrom'
+        <|> whatParsed (parseModule config path before) of
         Nothing -> (Nothing, Just a')
         Just b' -> (comparing b' a', Just a')
-  | otherwise = (underCpp, Nothing)
+  | otherwise = (hashLinesDifference before after <|> underCpp, Nothing)
   where
+    readByCpp = Set.member Cpp extensions && any changedByCpp [before, after]
     comparing b' a' =
       syntaxDifference (pmModule b') (pmModule a')
         <|> commentDifference b' a'
     whatParsed = either (const Nothing) Just
-    underCpp = case correspondingBranches before after of
-      Left _ -> Just "the input or output could not be split into configurations"
-      Right pairs -> firstJust [compareBranch b a | (b, a) <- pairs]
+    underCpp = case astCheck of
+      NoAstCheck -> Nothing
+      EachCppBranch -> case correspondingBranches before after of
+        Left _ ->
+          Just "the input or output could not be split into configurations"
+        Right pairs -> firstJust [compareBranch b a | (b, a) <- pairs]
+      EachCppConfiguration limit ->
+        case (countLeaves before, countLeaves after) of
+          (Left why, _) -> unsplit "input" why
+          (_, Left why) -> unsplit "output" why
+          (Right went, Right came)
+            | went /= came ->
+                Just
+                  ( "formatting changed how many configurations there are,"
+                      <> " from "
+                      <> tshow went
+                      <> " to "
+                      <> tshow came
+                  )
+            | otherwise -> case (enumerate before, enumerate after) of
+                (Left why, _) -> unsplit "input" why
+                (_, Left why) -> unsplit "output" why
+                (Right b, Right a) -> alongside b a
+            where
+              enumerate
+                | went <= toInteger limit = answeredLeaves
+                | otherwise = answeredLinearLeaves
+    unsplit side why =
+      Just ("the " <> side <> "'s configurations: " <> describeCppError why)
+    alongside went came =
+      firstJust $
+        [ maybe
+            (Just "a configuration of the input the output does not have")
+            (compareBranch (Just b) . Just)
+            (Map.lookup answers output)
+        | (answers, b) <- went
+        ]
+          <> [ Just "a configuration of the output the input does not have"
+             | any ((`Map.notMember` input) . fst) came
+             ]
+      where
+        input = Map.fromList went
+        output = Map.fromList came
     compareBranch Nothing Nothing = Nothing
-    compareBranch Nothing (Just _) = Just "a configuration no longer aborts preprocessing"
-    compareBranch (Just _) Nothing = Just "a configuration now aborts preprocessing"
-    compareBranch (Just b) (Just a) = ("in one configuration, " <>) <$> difference b a
-    difference b a = case (parseModule config path b, parseModule config path a) of
-      (Left _, _) -> Nothing
+    compareBranch Nothing (Just _) =
+      Just "a configuration no longer aborts preprocessing"
+    compareBranch (Just _) Nothing =
+      Just "a configuration now aborts preprocessing"
+    compareBranch (Just b) (Just a) =
+      ("in one configuration, " <>) <$> difference b a
+    difference b a = case (configuration before b, configuration after a) of
+      (Left e, _) -> unread e
       (_, Left e) ->
         Just ("the formatted output does not parse: " <> describeParseError e)
       (Right b', Right a') -> comparing b' a'
+    configuration whole t =
+      parseConfiguration
+        config
+        path
+        (linesOf (Written whole))
+        (linesOf (Written t))
+        t
+    unread e = case astCheck of
+      EachCppConfiguration _ ->
+        Just ("the input does not parse: " <> describeParseError e)
+      _ -> Nothing
     firstJust = foldr (<|>) Nothing
+
+-- | How formatting changed the lines whose first character is a hash, which
+-- cpp acts on or GHC reads past, if it did.
+hashLinesDifference ::
+  -- | What was read.
+  Text ->
+  -- | What was printed.
+  Text ->
+  Maybe Text
+hashLinesDifference before after = go (hashLines before) (hashLines after)
+  where
+    go (b : bs) (a : as)
+      | b == a = go bs as
+      | otherwise = Just ("the line `" <> b <> "` became `" <> a <> "`")
+    go (b : _) [] = Just ("lost the line `" <> b <> "`")
+    go [] (a : _) = Just ("gained the line `" <> a <> "`")
+    go [] [] = Nothing
+
+-- | What a session takes from the project itself: its settings, the
+-- @.cabal@ files of its packages and the modules they declare.
+fromProject ::
+  ProjectRoot ->
+  ExceptT FormatError IO (Settings, [FilePath], Map Text (Set Text))
+fromProject project = do
+  settings <-
+    orElse (InvalidSettings (root </> settingsFile))
+      =<< liftIO (readSettings root)
+  packages <- orElse (NoOwnModules root) =<< liftIO (packageFilesOf project)
+  ownModules <- orElse (NoOwnModules root) =<< liftIO (projectModules packages)
+  pure (settings, packages, ownModules)
+  where
+    root = prPath project
 
 -- | Give up with the given error where there is one to give up over.
 orElse :: (e -> FormatError) -> Either e a -> ExceptT FormatError IO a
diff --git a/src/Tilia/Gathered.hs b/src/Tilia/Gathered.hs
--- a/src/Tilia/Gathered.hs
+++ b/src/Tilia/Gathered.hs
@@ -9,6 +9,7 @@
 import Data.Data (Proxy (..), gmapQr, typeOf, typeRep, typeRepTyCon)
 import Data.Generics.Aliases (GenericQ, extQ)
 import GHC.Hs
+import GHC.Types.SrcLoc (GenLocated)
 
 -- | Every node of each kind, in the order a walk from the top, left to
 -- right, meets them.
@@ -32,20 +33,28 @@
   where
     walk :: GenericQ (Gathered -> Gathered)
     walk x
-      | annotation x = id
+      | kind == epAnn = id
+      | kind == located = keepLocated x . children x
       | otherwise = keep x . descend x
+      where
+        kind = typeRepTyCon (typeOf x)
+    children :: GenericQ (Gathered -> Gathered)
+    children x g = gmapQr ($) g walk x
     descend :: GenericQ (Gathered -> Gathered)
     descend =
-      (\x g -> gmapQr ($) g walk x)
+      children
         `extQ` (\(_ :: HsDocString) -> id)
         `extQ` (\(_ :: String) -> id)
-    annotation x = typeRepTyCon (typeOf x) == epAnn
     epAnn = typeRepTyCon (typeRep (Proxy :: Proxy EpAnn))
+    located = typeRepTyCon (typeRep (Proxy :: Proxy GenLocated))
+    keepLocated :: GenericQ (Gathered -> Gathered)
+    keepLocated =
+      const id
+        `extQ` (\x g -> g{gatheredDocs = x : gatheredDocs g})
+        `extQ` (\x g -> g{gatheredEntries = x : gatheredEntries g})
     keep :: GenericQ (Gathered -> Gathered)
     keep =
       const id
         `extQ` (\x g -> g{gatheredExpressions = x : gatheredExpressions g})
         `extQ` (\x g -> g{gatheredTypes = x : gatheredTypes g})
-        `extQ` (\x g -> g{gatheredDocs = x : gatheredDocs g})
-        `extQ` (\x g -> g{gatheredEntries = x : gatheredEntries g})
         `extQ` (\x g -> g{gatheredMatches = x : gatheredMatches g})
diff --git a/src/Tilia/Ignore.hs b/src/Tilia/Ignore.hs
--- a/src/Tilia/Ignore.hs
+++ b/src/Tilia/Ignore.hs
@@ -11,7 +11,6 @@
   )
 where
 
-import Data.ByteString qualified as BS
 import Data.Char
   ( isAlpha,
     isAlphaNum,
@@ -32,11 +31,11 @@
 import Data.Set qualified as Set
 import Data.Text (Text)
 import Data.Text qualified as T
-import Data.Text.Encoding qualified as T
-import System.Directory (canonicalizePath, doesFileExist)
+import System.Directory (canonicalizePath)
 import System.FilePath (joinPath, (</>))
-import Tilia.Utils (byteOrderMark, pathUnder, quietly)
 
+import Tilia.Utils (byteOrderMark, pathUnder, quietly, readUtf8File)
+
 -- | The patterns of one ignore file, in the order they are written.
 newtype IgnoreFile = IgnoreFile [Pattern]
 
@@ -278,7 +277,8 @@
       maybe True (not . isIgnored ignoreFiles) (Map.lookup file below)
     ]
   where
-    below = Map.fromList [(file, b) | file <- files, Just b <- [pathUnder root file]]
+    below =
+      Map.fromList [(file, b) | file <- files, Just b <- [pathUnder root file]]
 
 -- | The @.tiliaignore@ files in the project root and in every directory
 -- between it and the given files, each by its directory's segments relative
@@ -289,11 +289,6 @@
   where
     directories =
       Set.fromList [take n path | path <- paths, n <- [0 .. length path - 1]]
-    read' directory = do
-      let file = joinPath (root : directory) </> ".tiliaignore"
-      exists <- doesFileExist file
-      if exists
-        then do
-          bytes <- BS.readFile file
-          pure [(directory, parseIgnoreFile (T.decodeUtf8Lenient bytes))]
-        else pure []
+    read' directory =
+      maybe [] (\text -> [(directory, parseIgnoreFile text)])
+        <$> readUtf8File (joinPath (root : directory) </> ".tiliaignore")
diff --git a/src/Tilia/Imports.hs b/src/Tilia/Imports.hs
--- a/src/Tilia/Imports.hs
+++ b/src/Tilia/Imports.hs
@@ -5,13 +5,24 @@
 -- | Putting a module's imports in order.
 module Tilia.Imports
   ( normalizeImports,
+    travellingComments,
   )
 where
 
-import Data.Char (isAlphaNum)
+import Control.Monad (guard)
+import Data.Char (isAlphaNum, isSpace)
 import Data.Choice (Choice, isTrue)
 import Data.Function (on, (&))
-import Data.List (groupBy, sortOn)
+import Data.IntMap.Strict (IntMap)
+import Data.IntMap.Strict qualified as IntMap
+import Data.List (groupBy, sortOn, unfoldr)
+import Data.List.NonEmpty (NonEmpty)
+import Data.List.NonEmpty qualified as NE
+import Data.Map.Strict (Map)
+import Data.Map.Strict qualified as Map
+import Data.Maybe (isNothing, listToMaybe, mapMaybe)
+import Data.Set (Set)
+import Data.Set qualified as Set
 import Data.Text (Text)
 import Data.Text qualified as T
 import GHC.Data.FastString (unpackFS)
@@ -21,42 +32,120 @@
 import GHC.Types.PkgQual (RawPkgQual (..))
 import GHC.Types.SourceText (StringLiteral (..))
 import GHC.Types.SrcLoc
-import Tilia.Comments (Comment (..), commentTrailing, commentsWithin)
+
+import Tilia.Comments
+  ( Comment (..),
+    CommentStyle (..),
+    commentTrailing,
+    commentsWithin,
+  )
+import Tilia.MagicComments (magicCommentOf)
+import Tilia.Source (Lines, lineAt)
 import Tilia.Span (Span (..), endPoint, isSingleLine, startPoint)
-import Tilia.Span.Ghc (bracketsSpan, spanOf, spanOfSrcSpan)
+import Tilia.Span.Ghc (bracketsSpan, spanOf)
 
--- | Sort and fold together a module's imports.
+-- | Sort and fold together a module's imports, the project's own modules
+-- after the rest.
 normalizeImports ::
   -- | Whether @ImplicitPrelude@ is on.
   Choice "implicitPrelude" ->
-  -- | Source lines the block must not be sorted across.
+  -- | The modules the project's own packages declare, each with the names
+  -- of those that declare it.
+  Map Text (Set Text) ->
+  -- | The lines the imports are not sorted across.
   [Int] ->
-  -- | Source lines the names of a list must not be sorted across.
+  -- | The lines of every conditional's directives, which the names of a
+  -- list are not sorted across.
   [Int] ->
   -- | The module's comments.
   [Comment] ->
   -- | Original imports.
   [LImportDecl GhcPs] ->
-  -- | Normalized imports.
-  [LImportDecl GhcPs]
-normalizeImports implicitPrelude barriers directives written imports =
-  concatMap stretch (cutAtBarriers barriers tidied)
+  -- | Normalized imports, each with the spans of the imports it is folded
+  -- out of, in runs that an empty line keeps apart: a run begins wherever
+  -- the imports pass between the project's own modules and those of other
+  -- packages.
+  [[(LImportDecl GhcPs, [Span])]]
+normalizeImports
+  implicitPrelude
+  ownModules
+  barriers
+  directives
+  written
+  imports =
+    fmap (fmap snd) . groupBy ((==) `on` fst) $
+      [ (ours i, x)
+      | x@(i, _) <- concatMap stretch (cutAtBarriers barriers tidied)
+      ]
+    where
+      tidied = fmap (fmap (tidyImportList directives)) imports
+      identity = importIdentity implicitPrelude ownModules
+      ours = iiOwn . identity
+      stretch is = foldRuns folded [(key i, i) | i <- is]
+      folded run =
+        ( foldl1 (foldImports directives) run,
+          mapMaybe spanOf (NE.toList run)
+        )
+      key i
+        | Set.member (lineOf i) continued =
+            (bare (identity i), Nothing, lineOf i)
+        | otherwise = (identity i, hiddenNames i, alone i)
+      continued =
+        Set.fromList
+          [ l
+          | d <- directives,
+            Just (l, True) <- [IntMap.lookupLT d begins],
+            d `notElem` barriers
+          ]
+      begins =
+        IntMap.fromList
+          ([(b, False) | b <- barriers] <> [(lineOf i, True) | i <- imports])
+      alone i
+        | any strands (spanOf i) = lineOf i
+        | otherwise = 0
+        where
+          strands s =
+            any
+              (unanchored (itemStarts i))
+              (filter loose (commentsWithin s written))
+          loose = not . commentTrailing
+      unanchored starts c = not (any (> endPoint (commentSpan c)) starts)
+
+-- | The comments that go wherever an import does, by the line it begins
+-- on: those written right under it, on lines of their own one under
+-- another at its column, with an empty line or nothing under them.
+travellingComments ::
+  -- | The module as written.
+  Lines ->
+  -- | Its comments, in order.
+  [Comment] ->
+  -- | The module.
+  HsModule GhcPs ->
+  IntMap (NonEmpty Comment)
+travellingComments ls cs m =
+  IntMap.fromList
+    [ (spanStartLine s, block)
+    | s <- mapMaybe spanOf (hsmodImports m),
+      Just block <- [NE.nonEmpty (unfoldr (next s) (spanEndLine s + 1))],
+      setApart (spanEndLine (commentSpan (NE.last block)) + 1)
+    ]
   where
-    tidied = fmap (fmap (tidyImportList directives written)) imports
-    stretch is =
-      foldRuns
-        (combineImports directives written)
-        [((importIdentity implicitPrelude i, hiddenNames i, alone i), i) | i <- is]
-    alone i
-      | any strands (spanOf i) = lineOf i
-      | otherwise = 0
-      where
-        strands s =
-          any
-            (unanchored (itemStarts i))
-            (filter loose (commentsWithin s written))
-        loose = not . commentTrailing
-    unanchored starts c = not (any (> endPoint (commentSpan c)) starts)
+    byLine =
+      IntMap.fromList
+        [(spanStartLine (commentSpan c), c) | c <- takeWhile aboveDecls cs]
+    aboveDecls c =
+      all
+        ((spanStartLine (commentSpan c) <) . spanStartLine)
+        (spanOf =<< listToMaybe (hsmodDecls m))
+    next s n = do
+      c <- IntMap.lookup n byLine
+      guard $
+        not (commentTrailing c)
+          && commentStyle c /= DocComment
+          && isNothing (magicCommentOf c)
+          && spanStartColumn (commentSpan c) == spanStartColumn s
+      pure (c, spanEndLine (commentSpan c) + 1)
+    setApart n = maybe True (T.all isSpace) (lineAt n ls)
 
 -- | The names an import hides, where it hides any, so that only imports
 -- hiding the same names are folded together.
@@ -70,8 +159,7 @@
     hidden item = (nameIdentity item, subordinates item)
     subordinates = \case
       IEThingAll{} -> Just (True, [])
-      IEThingWith _ _ NoIEWildcard subs _ -> Just (False, names subs)
-      IEThingWith _ _ (IEWildcard _) subs _ -> Just (True, names subs)
+      IEThingWith _ _ _ subs _ -> Just (False, names subs)
       _ -> Nothing
     names = fmap (wrappedNameIdentity . unLoc)
 
@@ -115,28 +203,33 @@
 -- | Sort by the keys, then replace each run of equal keys by one value
 -- folded out of it.
 foldRuns ::
-  (Ord k) =>
-  -- | How to fold two values that share a key.
-  (a -> a -> a) ->
+  Ord k =>
+  -- | How to fold the values that share a key, in the order given.
+  (NonEmpty a -> b) ->
   -- | The values, each under the key it sorts and folds by.
   [(k, a)] ->
   -- | One value per distinct key, in key order.
-  [a]
+  [b]
 foldRuns fold' =
-  fmap (foldl1 fold' . fmap snd) . groupBy ((==) `on` fst) . sortOn fst
+  fmap (fold' . fmap snd) . NE.groupBy ((==) `on` fst) . sortOn fst
 
 -- | What has to agree before two imports may be folded together.
 --
 -- The derived ordering is the whole of the policy: the fields are compared
 -- in the order they are declared, which is the order imports are printed
--- in. The two leading fields are about reading rather than about identity.
--- A @Prelude@ that only refines what the module already has goes at the
--- end, since looking for it among the @D@s would be looking for the least
--- interesting line in the block. The package goes before the module name so
--- that the imports from one package stay in one run; sorting by module
--- first would interleave them and hide who provides what.
+-- in. The three leading fields are about reading rather than about
+-- identity. The project's own modules go after the rest, in a group of
+-- their own. A @Prelude@ that only refines what the module already has goes
+-- at the end of the rest, since looking for it among the @D@s would be
+-- looking for the least interesting line in the block. The package goes
+-- before the module name so that the imports from one package stay in one
+-- run; sorting by module first would interleave them and hide who provides
+-- what.
 data ImportIdentity = ImportIdentity
-  { -- | A @Prelude@ that only refines what the module already has.
+  { -- | One of the project's own modules, from the package it names where
+    -- it names one.
+    iiOwn :: Bool,
+    -- | A @Prelude@ that only refines what the module already has.
     iiRefinesPrelude :: Bool,
     -- | The package it names, where it names one.
     iiPackage :: (Int, Text),
@@ -162,15 +255,22 @@
 importIdentity ::
   -- | Whether @ImplicitPrelude@ is on.
   Choice "implicitPrelude" ->
+  -- | The modules the project's own packages declare, each with the names
+  -- of those that declare it.
+  Map Text (Set Text) ->
   -- | The import.
   LImportDecl GhcPs ->
   ImportIdentity
-importIdentity implicitPrelude (L _ decl) =
+importIdentity implicitPrelude ownModules (L _ decl) =
   ImportIdentity
-    { iiRefinesPrelude =
-        isTrue implicitPrelude && named (ideclName decl) == T.pack "Prelude",
-      iiPackage = package (ideclPkgQual decl),
-      iiModule = named (ideclName decl),
+    { iiOwn = case qualifier of
+        (0, _) -> Map.member module' ownModules
+        (1, named') -> any (Set.member named') (Map.lookup module' ownModules)
+        _ -> True,
+      iiRefinesPrelude =
+        isTrue implicitPrelude && module' == T.pack "Prelude",
+      iiPackage = qualifier,
+      iiModule = module',
       iiBoot = ideclSource decl == IsBoot,
       iiSafe = ideclSafe decl,
       iiQualified = isImportDeclQualified (ideclQualified decl),
@@ -179,6 +279,8 @@
       iiLevel = lifted (ideclLevelSpec decl)
     }
   where
+    module' = named (ideclName decl)
+    qualifier = package (ideclPkgQual decl)
     named = T.pack . moduleNameString . unLoc
     package = \case
       NoRawPkgQual -> (0, T.empty)
@@ -198,29 +300,41 @@
       ImportDeclSplice -> False
       ImportDeclQuote -> True
 
+-- | The identity an import that a conditional continues sorts by, which is
+-- the same in every configuration: its fields as far as the module name,
+-- and the rest as an import that writes nothing after it.
+bare :: ImportIdentity -> ImportIdentity
+bare ii =
+  ii
+    { iiBoot = False,
+      iiSafe = False,
+      iiQualified = False,
+      iiAlias = Nothing,
+      iiHides = Nothing,
+      iiLevel = Nothing
+    }
+
 -- | Keep the first import and give it everything the second named.
-combineImports ::
-  -- | Source lines the names of a list must not be sorted across.
+foldImports ::
+  -- | The lines the names of a list are not sorted across.
   [Int] ->
-  -- | The module's comments, which decide how far the span may grow.
-  [Comment] ->
-  -- | The import kept, whose spelling the result takes.
+  -- | The import kept, whose spelling and span the result takes.
   LImportDecl GhcPs ->
-  -- | The import folded in, which gives up its list and its span.
+  -- | The import folded in, which gives up its list.
   LImportDecl GhcPs ->
-  -- | The first, listing what both named, across both their spans.
+  -- | The first, listing what both named.
   LImportDecl GhcPs
-combineImports directives written (L ann kept) (L other folded) =
+foldImports directives (L ann kept) (L _ folded) =
   L
-    ann{entry = EpaSpan (combineSrcSpans (locA ann) (locA other))}
+    ann
     kept{ideclImportList = both (ideclImportList kept) (ideclImportList folded)}
   where
     both (Just (interpretation, L l xs)) (Just (_, L l' ys)) =
       Just
         ( interpretation,
           L
-            (bracketsAcross (widened written l l') l')
-            (tidyImportItems directives written interpretation (xs <> ys))
+            (bracketsAcross l l')
+            (tidyImportItems directives interpretation (xs <> ys))
         )
     both _ _ = Nothing
 
@@ -236,15 +350,20 @@
 
 -- | An import with its list sorted and the entries naming one thing folded
 -- together. An import with no list is left as it is.
-tidyImportList :: [Int] -> [Comment] -> ImportDecl GhcPs -> ImportDecl GhcPs
-tidyImportList directives written decl =
+tidyImportList ::
+  -- | The lines the names of a list are not sorted across.
+  [Int] ->
+  -- | The import.
+  ImportDecl GhcPs ->
+  ImportDecl GhcPs
+tidyImportList directives decl =
   decl
     { ideclImportList = tidied <$> ideclImportList decl
     }
   where
     tidied (interpretation, items) =
       ( interpretation,
-        tidyImportItems directives written interpretation <$> items
+        tidyImportItems directives interpretation <$> items
       )
 
 -- | Sort an import list and fold together the entries naming one thing,
@@ -253,18 +372,20 @@
 -- @import M (T (A), T (B))@ names one type twice and comes out as @import M
 -- (T (A, B))@.
 tidyImportItems ::
+  -- | The lines the names of a list are not sorted across.
   [Int] ->
-  [Comment] ->
+  -- | Whether the list names what is imported or what is hidden.
   ImportListInterpretation ->
+  -- | The entries.
   [LIE GhcPs] ->
   [LIE GhcPs]
-tidyImportItems directives written interpretation items
+tidyImportItems directives interpretation items
   | any (unnameable . unLoc) items = items
   | otherwise = concatMap tidied (cutAtBarriers directives items)
   where
     tidied stretch =
       foldRuns
-        (wider written)
+        (foldl1 wider)
         [ ((nameIdentity (unLoc i), apart (unLoc i)), fmap sortSubnames i)
         | i <- stretch
         ]
@@ -281,45 +402,36 @@
       IEThingWith{} -> False
       _ -> True
 
--- | Cover both of these regions, if anything was written between them.
-widened :: [Comment] -> EpAnn ann -> EpAnn ann -> EpAnn ann
-widened written a b
-  | any holdsComment (spanOfSrcSpan combined) = a{entry = EpaSpan combined}
-  | otherwise = a
-  where
-    combined = combineSrcSpans (locA a) (locA b)
-    holdsComment s = not (null (commentsWithin s written))
-
 -- | Of two entries naming one thing, the one that brings in more of it.
-wider :: [Comment] -> LIE GhcPs -> LIE GhcPs -> LIE GhcPs
-wider written (L ann kept) (L other folded) =
-  L (widened written ann other) (combine kept folded)
+wider ::
+  -- | The entry kept, where the result is.
+  LIE GhcPs ->
+  -- | The entry folded in.
+  LIE GhcPs ->
+  LIE GhcPs
+wider (L ann kept) (L _ folded) = L ann $ case (kept, folded) of
+  (IEThingAll x n _, _) -> IEThingAll x n Nothing
+  (_, IEThingAll x n _) -> IEThingAll x n Nothing
+  (IEThingWith x n wildcard subs _, IEThingWith x' _ _ subs' _) ->
+    IEThingWith
+      (parensAcross x x')
+      n
+      wildcard
+      (dedupeSubnames (subs <> subs'))
+      Nothing
+  (IEThingWith x n wildcard subs _, _) ->
+    IEThingWith x n wildcard subs Nothing
+  (_, IEThingWith x n wildcard subs _) ->
+    IEThingWith x n wildcard subs Nothing
+  (IEVar _ n _, _) -> IEVar Nothing n Nothing
+  _ -> kept
   where
-    combine a b = case (a, b) of
-      (IEThingAll x n _, _) -> IEThingAll x n Nothing
-      (_, IEThingAll x n _) -> IEThingAll x n Nothing
-      (IEThingWith x n wildcard subs _, IEThingWith x' _ wildcard' subs' _) ->
-        IEThingWith
-          (parensAcross x x')
-          n
-          (eitherWildcard wildcard wildcard')
-          (dedupeSubnames (subs <> subs'))
-          Nothing
-      (IEThingWith x n wildcard subs _, _) ->
-        IEThingWith x n wildcard subs Nothing
-      (_, IEThingWith x n wildcard subs _) ->
-        IEThingWith x n wildcard subs Nothing
-      (IEVar _ n _, _) -> IEVar Nothing n Nothing
-      _ -> a
-
-    eitherWildcard a b = case (a, b) of
-      (NoIEWildcard, NoIEWildcard) -> NoIEWildcard
-      _ -> IEWildcard 0
-
-    parensAcross (warning, (open, dots, comma, close)) (_, (open', _, _, close'))
-      | onOneLine open close && not (onOneLine open' close') =
-          (warning, (open', dots, comma, close'))
-      | otherwise = (warning, (open, dots, comma, close))
+    parensAcross
+      (warning, (open, dots, comma, close))
+      (_, (open', _, _, close'))
+        | onOneLine open close && not (onOneLine open' close') =
+            (warning, (open', dots, comma, close'))
+        | otherwise = (warning, (open, dots, comma, close))
     onOneLine open close = all isSingleLine (spanOf open <> spanOf close)
 
 -- | An entry with the names in its own brackets sorted and deduplicated.
@@ -331,7 +443,8 @@
 
 -- | Deduplicate names in sub-lists.
 dedupeSubnames :: [LIEWrappedName GhcPs] -> [LIEWrappedName GhcPs]
-dedupeSubnames subs = foldRuns const [(wrappedNameIdentity (unLoc s), s) | s <- subs]
+dedupeSubnames subs =
+  foldRuns NE.head [(wrappedNameIdentity (unLoc s), s) | s <- subs]
 
 -- | Where a name sorts, and what makes two of them name one thing.
 --
diff --git a/src/Tilia/MagicComments.hs b/src/Tilia/MagicComments.hs
new file mode 100644
--- /dev/null
+++ b/src/Tilia/MagicComments.hs
@@ -0,0 +1,143 @@
+{-# LANGUAGE LambdaCase #-}
+{-# LANGUAGE OverloadedStrings #-}
+
+-- | The magic comments @{- TILIA_OFF -}@ and @{- TILIA_ON -}@, and the
+-- lines they leave as written.
+module Tilia.MagicComments
+  ( MagicComment (..),
+    magicCommentOf,
+    preservedLines,
+    turnedOffThroughout,
+    Misplacement (..),
+    misplacedMagicComment,
+  )
+where
+
+import Data.Foldable (asum)
+import Data.List (sortOn)
+import Data.List.NonEmpty (NonEmpty (..))
+import Data.Maybe (isJust, listToMaybe, mapMaybe, maybeToList)
+import Data.Text (Text)
+import Data.Text qualified as T
+import GHC.Hs (HsModule (..))
+
+import Tilia.Comments (Comment (..), CommentStyle (..), commentTrailing)
+import Tilia.Parser (ParsedModule (..), moduleHeaderSpan)
+import Tilia.Source (Source, comments, isDirective, lineTexts, sourceLines)
+import Tilia.Span
+import Tilia.Span.Ghc (spanOf)
+import Tilia.Utils (commentsOnly)
+
+-- | A comment that turns formatting off or back on.
+data MagicComment
+  = -- | @{- TILIA_OFF -}@.
+    TiliaOff
+  | -- | @{- TILIA_ON -}@.
+    TiliaOn
+  deriving (Eq, Show)
+
+-- | The magic comment a comment is, if it is one.
+magicCommentOf :: Comment -> Maybe MagicComment
+magicCommentOf c
+  | BlockComment <- commentStyle c,
+    body :| [] <- commentBody c =
+      magicCommentWritten body
+  | otherwise = Nothing
+
+-- | The magic comment some text spells, if it spells one.
+magicCommentWritten :: Text -> Maybe MagicComment
+magicCommentWritten written = case T.strip <$> inside (T.strip written) of
+  Just "TILIA_OFF" -> Just TiliaOff
+  Just "TILIA_ON" -> Just TiliaOn
+  _ -> Nothing
+  where
+    inside t = T.stripPrefix "{-" =<< T.stripSuffix "-}" t
+
+-- | The lines each @{- TILIA_OFF -}@ leaves as written, from its own line
+-- to that of the next @{- TILIA_ON -}@, or to the last line of the module.
+preservedLines :: Source -> [(Int, Int)]
+preservedLines source = go (mapMaybe marked (comments source))
+  where
+    marked c = (,spanStartLine (commentSpan c)) <$> magicCommentOf c
+    lastLine = length (lineTexts (sourceLines source))
+    go = \case
+      [] -> []
+      (TiliaOff, from) : rest -> case dropWhile ((/= TiliaOn) . fst) rest of
+        (_, to) : rest' -> (from, to) : go rest'
+        [] -> [(from, lastLine)]
+      (TiliaOn, _) : rest -> go rest
+
+-- | Does a @{- TILIA_OFF -}@ above all of a module's code, with no
+-- @{- TILIA_ON -}@ after it, leave the whole module as written?
+--
+-- Read from the text alone, since a module turned off may be one that
+-- cannot be parsed or formatted.
+turnedOffThroughout :: Text -> Bool
+turnedOffThroughout written
+  | not ("TILIA_OFF" `T.isInfixOf` written) = False
+  | otherwise = go 0 (T.lines written)
+  where
+    go depth = \case
+      [] -> False
+      l : below
+        | depth == 0,
+          magicCommentWritten l == Just TiliaOff ->
+            notElem (Just TiliaOn) (fmap magicCommentWritten below)
+        | depth == 0,
+          "#" `T.isPrefixOf` T.stripStart l ->
+            go depth below
+        | otherwise -> maybe False (`go` below) (commentsOnly depth l)
+
+-- | Why a magic comment is not honoured.
+data Misplacement
+  = -- | It shares its line with code, or does not stand between top-level
+    -- declarations.
+    NotBetweenDeclarations
+  | -- | The lines it leaves as written hold a directive.
+    AroundDirective
+  deriving (Eq, Show)
+
+-- | The first magic comment that is not honoured, by its line, with why,
+-- in the first configuration that has one.
+misplacedMagicComment ::
+  -- | The module as written, directives and all.
+  Text ->
+  -- | Its configurations, parsed.
+  NonEmpty ParsedModule ->
+  Maybe (Int, Misplacement)
+misplacedMagicComment written configurations
+  | not ("TILIA_O" `T.isInfixOf` written) = Nothing
+  | otherwise = asum (fmap misplacedIn configurations)
+  where
+    ls = T.lines written
+    between from to = take (to - from + 1) . drop (from - 1)
+    misplacedIn parsed = listToMaybe (sortOn fst (outside <> directives))
+      where
+        source = pmSource parsed
+        hsMod = pmModule parsed
+        outside =
+          [ (n, NotBetweenDeclarations)
+          | c <- comments source,
+            isJust (magicCommentOf c),
+            let n = spanStartLine (commentSpan c),
+            commentTrailing c
+              || commentFollowed c
+              || n <= headerEnd
+              || any
+                (\s -> spanStartLine s <= n && n <= spanEndLine s)
+                declared
+          ]
+        directives =
+          [ (from, AroundDirective)
+          | (from, to) <- preservedLines source,
+            any isDirective (between from to ls)
+          ]
+        declared = mapMaybe spanOf (hsmodDecls hsMod)
+        headerEnd =
+          maximum $
+            maybe 0 (subtract 1 . spanStartLine) (pmHeaderEnd parsed)
+              : fmap
+                spanEndLine
+                ( maybeToList (moduleHeaderSpan hsMod)
+                    <> mapMaybe spanOf (hsmodImports hsMod)
+                )
diff --git a/src/Tilia/Memo.hs b/src/Tilia/Memo.hs
--- a/src/Tilia/Memo.hs
+++ b/src/Tilia/Memo.hs
@@ -95,7 +95,10 @@
             | waitedOnBy fl me (table, key) -> pure (fl, Just standIn)
             | otherwise ->
                 pure
-                  ( fl{flightWaits = Map.insert me (table, key) (flightWaits fl)},
+                  ( fl
+                      { flightWaits =
+                          Map.insert me (table, key) (flightWaits fl)
+                      },
                     Nothing
                   )
       case settled of
diff --git a/src/Tilia/Parser.hs b/src/Tilia/Parser.hs
--- a/src/Tilia/Parser.hs
+++ b/src/Tilia/Parser.hs
@@ -6,10 +6,12 @@
 module Tilia.Parser
   ( ParsedModule (..),
     writtenInHeader,
+    moduleHeaderSpan,
     parseModule,
     parseConfiguration,
     readAlike,
     importLayout,
+    codeLines,
     ParseError (..),
     describeParseError,
     ParserConfig (..),
@@ -17,30 +19,49 @@
   )
 where
 
+import Data.Choice (fromBool)
 import Data.Foldable (toList)
 import Data.IntMap.Strict (IntMap)
 import Data.IntMap.Strict qualified as IntMap
 import Data.List (isSuffixOf, sortOn)
 import Data.Maybe (catMaybes, listToMaybe)
+import Data.Set (Set)
+import Data.Set qualified as Set
 import Data.Text (Text)
 import Data.Text qualified as T
 import Data.Text.Encoding qualified as T
 import GHC.Data.EnumSet qualified as EnumSet
 import GHC.Data.FastString (mkFastString)
 import GHC.Data.StringBuffer qualified as GHC
+import GHC.Driver.Flags qualified as GHC
 import GHC.Hs (AnnsModule (..), EpAnn (anns), HsModule (..), XModulePs (..))
 import GHC.Hs.Extension (GhcPs)
-import GHC.LanguageExtensions.Type (Extension)
+import GHC.LanguageExtensions.Type (Extension (Cpp, ForeignFunctionInterface))
 import GHC.Parser qualified as GHC
+import GHC.Parser.Errors.Types (PsMessage (..))
 import GHC.Parser.Lexer qualified as GHC
 import GHC.Types.Error qualified as GHC
 import GHC.Types.SrcLoc qualified as GHC
 import GHC.Unit.Module.Warnings (emptyWarningCategorySet)
 import GHC.Utils.Error qualified as GHC
 import GHC.Utils.Outputable qualified as GHC
+
 import Tilia.Gathered (Gathered (..), gathered)
-import Tilia.Pragma (Defaults, effectiveExtensions)
-import Tilia.Source (Lines, Source, SourceType (..), Written (..), lineTexts, linesOf, sourceOf)
+import Tilia.Pragma
+  ( Defaults,
+    effectiveExtensions,
+    headerPragmas,
+    safeImportsOn,
+  )
+import Tilia.Source
+  ( Lines,
+    Source,
+    SourceType (..),
+    Written (..),
+    lineTexts,
+    linesOf,
+    sourceOf,
+  )
 import Tilia.Span (Span (..), startPoint)
 import Tilia.Span.Ghc (spanOf)
 
@@ -66,7 +87,12 @@
     -- line that decides whether a @{-# … #-}@ is a pragma at all. One
     -- written below it has no effect on compilation, and hoisting it to the
     -- top of the module would change its meaning.
-    pmHeaderEnd :: Maybe Span
+    pmHeaderEnd :: Maybe Span,
+    -- | The extensions it was read with.
+    pmExtensions :: Set Extension,
+    -- | Where each Haddock begins that GHC leaves out of the tree, as
+    -- @-Winvalid-haddock@ says.
+    pmLooseHaddocks :: Set (Int, Int)
   }
 
 -- | Was something that begins here written in the header, before what
@@ -75,6 +101,16 @@
 writtenInHeader headerEnd s =
   maybe True ((startPoint s <) . startPoint) headerEnd
 
+-- | Where the module header was written, from its @module@ or @signature@
+-- to its @where@.
+moduleHeaderSpan :: HsModule GhcPs -> Maybe Span
+moduleHeaderSpan hsModule =
+  spanOf (am_mod moduleAnns)
+    <> spanOf (am_sig moduleAnns)
+    <> spanOf (am_where moduleAnns)
+  where
+    moduleAnns = anns (hsmodAnn (hsmodExt hsModule))
+
 -- | Parse a module.
 parseModule ::
   -- | Parser config.
@@ -85,11 +121,13 @@
   -- | The source.
   Text ->
   Either ParseError ParsedModule
-parseModule config path source =
-  parseConfiguration config path (linesOf (Written source)) source
+parseModule config path source = parseConfiguration config path ls ls source
+  where
+    ls = linesOf (Written source)
 
 -- | Parse one configuration of a module.
 parseConfiguration ::
+  -- | Parser config.
   ParserConfig ->
   -- | Path, reported back in positions, whose extension tells a signature
   -- from a module.
@@ -97,10 +135,12 @@
   -- | The lines of the module as written, except for the lines that do not
   -- belong to this configuration.
   Lines ->
+  -- | The lines a Haddock's text is read from.
+  Lines ->
   -- | The configuration of it to parse.
   Text ->
   Either ParseError ParsedModule
-parseConfiguration config path written source =
+parseConfiguration config path written haddocks source =
   case GHC.unP entryPoint start of
     GHC.PFailed pstate -> Left (whyNot pstate)
     GHC.POk pstate (GHC.L _ hsModule)
@@ -110,14 +150,19 @@
           Right
             ParsedModule
               { pmModule = hsModule,
-                pmSource = uncurry (sourceOf written) (lexed start),
+                pmSource =
+                  uncurry (sourceOf readByCpp written haddocks) (lexed start),
                 pmGathered = gathered hsModule,
                 pmSourceType = sourceType,
                 pmPrologue = prologueOf (lineTexts written),
-                pmHeaderEnd = headerEndOf hsModule
+                pmHeaderEnd = headerEndOf hsModule,
+                pmExtensions = extensions,
+                pmLooseHaddocks = looseHaddocks pstate
               }
   where
-    start = stateFor config path source
+    extensions = effectiveExtensions (pcDefaults config) source
+    readByCpp = fromBool (Set.member Cpp extensions)
+    start = stateFor config extensions path source
 
     sourceType = sourceTypeOf path
 
@@ -146,39 +191,52 @@
         . GHC.diagnosticMessage GHC.NoDiagnosticOpts
         . GHC.errMsgDiagnostic
 
--- | Return each line a token other than a comment begins on, down to the
--- first item of the top level after the imports, and whether the leftmost
--- such token on the line begins an item of the top level.
+-- | Return each line among the imports of any branch that a token other
+-- than a comment begins on, and whether the leftmost such token on the line
+-- begins an import. A declaration written inside a conditional is passed
+-- over, since another branch may hold imports after it.
 -- 'Nothing' if the module has no imports, writes its top level in explicit
 -- braces, or does not lex.
 importLayout ::
   -- | Parser config.
   ParserConfig ->
+  -- | Is a line written inside a conditional?
+  (Int -> Bool) ->
   -- | The module, with its preprocessor directives blanked.
   Text ->
   -- | The import layout.
   Maybe (IntMap Bool)
-importLayout config source =
-  case GHC.unP (lexing Nothing Nothing IntMap.empty) (stateFor config "" source) of
+importLayout config conditional source =
+  case GHC.unP (lexing Nothing Nothing False IntMap.empty) start of
     GHC.POk _ found -> found
     GHC.PFailed _ -> Nothing
   where
-    lexing topLevel previous found =
+    start =
+      stateFor config (effectiveExtensions (pcDefaults config) source) "" source
+    lexing topLevel previous passing found =
       GHC.lexer False $ \(GHC.L s t) -> case GHC.srcSpanStart s of
         _ | GHC.ITeof <- t -> pure (atTopLevel topLevel found)
         GHC.RealSrcLoc l _
           | code t ->
-              let column = GHC.srcLocCol l
-                  found' = IntMap.insertWith min (GHC.srcLocLine l) column found
+              let line = GHC.srcLocLine l
+                  column = GHC.srcLocCol l
+                  found' = IntMap.insertWith min line column found
                in case (t, previous, topLevel) of
                     (GHC.ITocurly, Just GHC.ITwhere, Nothing) -> pure Nothing
-                    (GHC.ITimport, _, Nothing) -> lexing (Just column) (Just t) found'
+                    (GHC.ITimport, _, Nothing) ->
+                      lexing (Just column) (Just t) False found'
+                    (_, _, Nothing) -> lexing topLevel (Just t) False found
                     (_, _, Just c)
                       | column <= c,
                         not (isImport t) ->
-                          pure (atTopLevel topLevel found')
-                    _ -> lexing topLevel (Just t) found'
-        _ -> lexing topLevel previous found
+                          if conditional line
+                            then lexing topLevel (Just t) True found
+                            else pure (atTopLevel topLevel found)
+                      | passing,
+                        column > c ->
+                          lexing topLevel (Just t) True found
+                    _ -> lexing topLevel (Just t) False found'
+        _ -> lexing topLevel previous passing found
     atTopLevel topLevel found = (\c -> fmap (<= c) found) <$> topLevel
     isImport = \case
       GHC.ITimport -> True
@@ -189,12 +247,38 @@
       GHC.ITsemi -> False
       t -> not (isComment t)
 
+-- | The first and the last line of each token of a module that is code:
+-- neither a comment, nor one the layout puts in, nor a quasi-quotation,
+-- whose text is reproduced as written. None where the module does not lex.
+codeLines ::
+  -- | Parser config.
+  ParserConfig ->
+  -- | The module, with its preprocessor directives blanked.
+  Text ->
+  [(Int, Int)]
+codeLines config source =
+  case tokensOf s of
+    GHC.PFailed _ -> []
+    GHC.POk _ tokens ->
+      [ (GHC.srcSpanStartLine l, GHC.srcSpanEndLine l)
+      | GHC.L (GHC.RealSrcSpan l _) t <- tokens,
+        code t
+      ]
+  where
+    s =
+      stateFor config (effectiveExtensions (pcDefaults config) source) "" source
+    code = \case
+      GHC.ITvocurly -> False
+      GHC.ITvccurly -> False
+      GHC.ITsemi -> False
+      t -> not (isComment t || isQuasiQuote t)
+
 -- | Lex every comment, in source order, and the line each quasi-quotation
 -- written over several lines ends on, by the line it begins on, from the
 -- state a parse starts in.
 lexed :: GHC.PState -> ([(GHC.RealSrcSpan, GHC.Token)], IntMap Int)
 lexed s =
-  case GHC.lexTokenStream (GHC.options s) (GHC.buffer s) loc of
+  case tokensOf s of
     GHC.PFailed _ -> error "Tilia: a module that parses cannot fail to lex"
     GHC.POk _ tokens ->
       ( [ (l, t)
@@ -209,8 +293,21 @@
             GHC.srcSpanStartLine l < GHC.srcSpanEndLine l
           ]
       )
+
+-- | Lex a module from the state a parse starts in, with relaxed layout:
+-- with no parser to close a layout block at a token that cannot continue
+-- it, a brace that opens a block left of a block left open would not lex.
+tokensOf :: GHC.PState -> GHC.ParseResult [GHC.Located GHC.Token]
+tokensOf s =
+  GHC.lexTokenStream
+    options
+      { GHC.pExtsBitmap =
+          GHC.xset GHC.RelaxedLayoutBit (GHC.pExtsBitmap options)
+      }
+    (GHC.buffer s)
+    (GHC.psRealLoc (GHC.loc s))
   where
-    loc = GHC.psRealLoc (GHC.loc s)
+    options = GHC.options s
 
 -- | Is this token a comment?
 isComment :: GHC.Token -> Bool
@@ -228,37 +325,72 @@
   _ -> False
 
 -- | The state to start reading a module in.
-stateFor :: ParserConfig -> FilePath -> Text -> GHC.PState
-stateFor config path source =
+--
+-- Safe imports only make @safe@ a keyword, which it is anyway where
+-- @ForeignFunctionInterface@ is in force, so they are asked about only
+-- where it is not.
+stateFor ::
+  -- | Parser config.
+  ParserConfig ->
+  -- | The extensions to read it with.
+  Set Extension ->
+  -- | Path, reported back in positions.
+  FilePath ->
+  -- | The module.
+  Text ->
+  GHC.PState
+stateFor config extensions path source =
   GHC.initParserState
-    (parserOpts (effectiveExtensions (pcDefaults config) source))
+    (parserOpts extensions safe)
     (GHC.stringBufferFromByteString (T.encodeUtf8 source))
     (GHC.mkRealSrcLoc (mkFastString path) 1 1)
+  where
+    safe =
+      Set.notMember ForeignFunctionInterface extensions
+        && safeImportsOn (pcDefaults config) source
 
 -- | Would the parser read these two texts with the same extensions?
-readAlike :: ParserConfig -> Text -> Text -> Bool
-readAlike config a b = bits a == bits b
+--
+-- Safe imports decide only whether @import safe@ parses, not how anything
+-- is printed, so they are left out.
+readAlike ::
+  -- | Parser config.
+  ParserConfig ->
+  -- | One text.
+  Text ->
+  -- | The other.
+  Text ->
+  Bool
+readAlike config a b =
+  headerPragmas a == headerPragmas b || bits a == bits b
   where
-    bits =
-      GHC.pExtsBitmap . parserOpts . effectiveExtensions (pcDefaults config)
+    bits t =
+      GHC.pExtsBitmap
+        (parserOpts (effectiveExtensions (pcDefaults config) t) False)
 
 -- | Options to parse with.
-parserOpts :: [Extension] -> GHC.ParserOpts
-parserOpts extensions =
+parserOpts ::
+  -- | The extensions in force.
+  Set Extension ->
+  -- | Are safe imports on?
+  Bool ->
+  GHC.ParserOpts
+parserOpts extensions safe =
   GHC.mkParserOpts
-    (EnumSet.fromList extensions)
+    (EnumSet.fromList (Set.toList extensions))
     quietDiagnostics
-    False -- safe imports
+    safe
     True -- keep Haddock tokens
     False -- keep ordinary comment tokens
     True -- let @LINE@ and @COLUMN@ pragmas move the source position
 
 -- | Diagnostics are not reported, so the settings only have to be
--- well-formed.
+-- well-formed, but for @-Winvalid-haddock@, which says where the Haddocks
+-- GHC leaves out of the tree are.
 quietDiagnostics :: GHC.DiagOpts
 quietDiagnostics =
   GHC.DiagOpts
-    { GHC.diag_warning_flags = EnumSet.empty,
+    { GHC.diag_warning_flags = EnumSet.fromList [GHC.Opt_WarnInvalidHaddock],
       GHC.diag_fatal_warning_flags = EnumSet.empty,
       GHC.diag_custom_warning_categories = emptyWarningCategorySet,
       GHC.diag_fatal_custom_warning_categories = emptyWarningCategorySet,
@@ -267,6 +399,22 @@
       GHC.diag_max_errors = Nothing,
       GHC.diag_ppr_ctx = GHC.defaultSDocContext
     }
+
+-- | Where each Haddock begins that GHC leaves out of the tree a parse
+-- produced.
+looseHaddocks :: GHC.PState -> Set (Int, Int)
+looseHaddocks pstate =
+  Set.fromList
+    [ startPoint s
+    | m <- toList (GHC.getMessages (fst (GHC.getPsMessages pstate))),
+      loose (GHC.errMsgDiagnostic m),
+      Just s <- [spanOf (GHC.errMsgSpan m)]
+    ]
+  where
+    loose = \case
+      PsWarnHaddockInvalidPos -> True
+      PsWarnHaddockIgnoreMulti -> True
+      _ -> False
 
 -- | The @#!@ lines a file begins with, and the empty line after them.
 prologueOf :: [Text] -> [Text]
diff --git a/src/Tilia/Pragma.hs b/src/Tilia/Pragma.hs
--- a/src/Tilia/Pragma.hs
+++ b/src/Tilia/Pragma.hs
@@ -3,18 +3,23 @@
 
 -- | Pragma-related helpers.
 module Tilia.Pragma
-  ( movesPositions,
-    Defaults,
+  ( Pragma (..),
+    pragmaOf,
+    movesPositions,
+    Defaults (..),
     defaultsOf,
+    editionExtensions,
     effectiveExtensions,
+    safeImportsOn,
     lookupExtension,
     lookupEdition,
     nameSwitch,
     flagSwitches,
     pragmaFlags,
     languageNames,
-    withoutSkippedComments,
-    sameInForce,
+    switchedBy,
+    commute,
+    headerPragmas,
   )
 where
 
@@ -24,6 +29,7 @@
 import Data.Map.Strict (Map)
 import Data.Map.Strict qualified as Map
 import Data.Maybe (fromMaybe, mapMaybe, maybeToList)
+import Data.Set (Set)
 import Data.Set qualified as Set
 import Data.Text (Text)
 import Data.Text qualified as T
@@ -32,8 +38,69 @@
 import GHC.LanguageExtensions.Type (Extension (..))
 import GHC.Parser.Header (toArgs)
 import GHC.Types.SrcLoc (mkRealSrcLoc, unLoc)
-import Tilia.Utils (tshow)
 
+import Tilia.Cpp.Macros (Macros)
+import Tilia.Utils (opensLineComment, tshow)
+
+-- | A compiler pragma, which is written as a block comment but is not one.
+--
+-- GHC reads pragmas only from the file header, so where a pragma sits
+-- decides whether it does anything at all. That is why recognising one is
+-- not enough on its own: see 'Tilia.Parser.pmHeaderEnd' for the boundary
+-- that says which pragmas are real.
+data Pragma = Pragma
+  { -- | The name, upper-cased as GHC expects it, e.g. @LANGUAGE@.
+    pragmaName :: Text,
+    -- | Everything between the name and the closing @#-}@, on one line
+    -- with one space between its words, as 'spacedOnce' puts it, and
+    -- without the comments GHC skips in a @LANGUAGE@ pragma.
+    pragmaBody :: Text,
+    -- | Whether it holds such a comment.
+    pragmaCommented :: Bool
+  }
+  deriving (Eq, Show)
+
+-- | The pragma written between a @{-#@ and a @#-}@, if it names one.
+pragmaOf :: Text -> Maybe Pragma
+pragmaOf inner
+  | T.null name = Nothing
+  | otherwise =
+      Just
+        Pragma
+          { pragmaName = T.toUpper name,
+            pragmaBody = spacedOnce body,
+            pragmaCommented = uncommented /= inner
+          }
+  where
+    uncommented = withoutSkippedComments inner
+    (name, body) = T.break isSpace (T.stripStart uncommented)
+
+-- | A pragma's body on one line, with one space wherever white space
+-- separates two of its words, but inside a string literal, which GHC reads
+-- as one flag of an options pragma.
+spacedOnce :: Text -> Text
+spacedOnce = T.unwords . wordsOf . T.strip
+  where
+    wordsOf t
+      | T.null t = []
+      | otherwise =
+          let (w, rest) = wordAt t
+           in w : wordsOf (T.stripStart rest)
+    wordAt t = case T.break (\c -> isSpace c || c == '"') t of
+      (plain, rest)
+        | Just ('"', after) <- T.uncons rest ->
+            let (literal, after') = literalAt after
+                (w, rest') = wordAt after'
+             in (plain <> "\"" <> literal <> w, rest')
+        | otherwise -> (plain, rest)
+    literalAt t = case T.break (\c -> c == '"' || c == '\\') t of
+      (plain, rest) -> case T.uncons rest of
+        Just ('\\', escaped) ->
+          let (more, after) = literalAt (T.drop 1 escaped)
+           in (plain <> "\\" <> T.take 1 escaped <> more, after)
+        Just (_, after) -> (plain <> "\"", after)
+        Nothing -> (plain, rest)
+
 -- | Recognize @{-# LINE #-}@ and @{-# COLUMN #-}@ pragmas in a module with
 -- these extensions in force, and the lines GHC's lexer reads past at the
 -- start of a line, but for the @#!@ lines a script begins with.
@@ -42,32 +109,52 @@
 -- positions as a @LINE@ pragma does, and @#pragma@ and @#!@ lines, which
 -- leave nothing behind for formatting to print. With CPP on, @#line@ and
 -- @#pragma@ lines are directives, which formatting keeps.
-movesPositions :: [Extension] -> Text -> Bool
+movesPositions ::
+  -- | The extensions in force.
+  Set Extension ->
+  -- | The module's source.
+  Text ->
+  Bool
 movesPositions extensions =
   or . scanPragmas positional (pastCode extensions) . T.cons '\n' . script
   where
-    positional body =
-      T.toUpper (T.takeWhile (/= ' ') body) `elem` ["LINE", "COLUMN"]
+    positional p = pragmaName p `elem` ["LINE", "COLUMN"]
     script t
       | "#!" `T.isPrefixOf` t = script (T.drop 1 (T.dropWhile (/= '\n') t))
       | otherwise = t
 
 -- | What a component puts in force before the pragmas of a module: its
--- @default-language@ and its @default-extensions@.
+-- @default-language@, its @default-extensions@ and its @cpp-options@.
 data Defaults = Defaults
   { -- | What it turns on and off on top of its edition, in order, and on top
     -- of an edition the module names in its place.
     defaultsSwitches :: [GHC.OnOff Extension],
     -- | What its edition and those switches put in force, worked out once.
-    defaultsInForce :: [Extension]
+    defaultsInForce :: Set Extension,
+    -- | Whether it names a Safe Haskell mode.
+    defaultsSafe :: Bool,
+    -- | What its @cpp-options@ settle about the macros.
+    defaultsMacros :: Macros
   }
   deriving (Eq, Show)
 
--- | What a component puts in force, given the extensions of its edition and
--- what it switches on top of them, in order.
-defaultsOf :: [Extension] -> [GHC.OnOff Extension] -> Defaults
-defaultsOf edition switches = Defaults switches (foldl' switch edition switches)
+-- | What a component puts in force.
+defaultsOf ::
+  -- | Whether it names a Safe Haskell mode.
+  Bool ->
+  -- | The extensions of its edition.
+  Set Extension ->
+  -- | What it switches on top of them, in order.
+  [GHC.OnOff Extension] ->
+  Defaults
+defaultsOf safe edition switches =
+  Defaults switches (foldl' switch edition switches) safe mempty
 
+-- | The extensions an edition of the language puts in force, the
+-- compiler's default one where none is named.
+editionExtensions :: Maybe GHC.Language -> Set Extension
+editionExtensions = Set.fromList . GHC.languageExtensions
+
 -- | The extensions actually in force in a module.
 --
 -- As with GHC, the edition the header names last takes the place of the
@@ -79,37 +166,71 @@
   -- | The module's source, read here for the @LANGUAGE@, @OPTIONS_GHC@ and
   -- @OPTIONS@ pragmas of its header alone.
   Text ->
-  [Extension]
+  Set Extension
 effectiveExtensions defaults source =
   foldl' switch inForce (concat switches)
   where
-    (editions, switches) = unzip (fmap ofPragma (headerPragmaBodies source))
-    ofPragma body =
-      let (keyword, rest) = T.break (== ' ') body
-       in editionsAndSwitches (T.toUpper keyword) rest
+    (editions, switches) =
+      unzip
+        [ editionsAndSwitches (pragmaName p) (pragmaBody p)
+        | p <- headerPragmas source
+        ]
     inForce = case concat editions of
       [] -> defaultsInForce defaults
       named ->
         foldl'
           switch
-          (GHC.languageExtensions (Just (last named)))
+          (editionExtensions (Just (last named)))
           (defaultsSwitches defaults)
 
--- | Do two orders of the same pragmas, each given by its name and body,
--- leave the same extensions on?
---
--- Where none of them turns an extension off, every order turns on the same.
-sameInForce :: [(Text, Text)] -> [(Text, Text)] -> Bool
-sameInForce a b = not (turnsOff a) || inForce a == inForce b
+-- | Are safe imports on, as GHC has them wherever a Safe Haskell mode is in
+-- force and @-fno-safe-haskell@ is not given?
+safeImportsOn ::
+  -- | What the component the module belongs to puts in force.
+  Defaults ->
+  -- | The module's source, read here for its header pragmas alone.
+  Text ->
+  Bool
+safeImportsOn defaults source =
+  (defaultsSafe defaults || any (`elem` modes) flags)
+    && notElem "-fno-safe-haskell" flags
   where
-    turnsOff = foldl' (switchWith (const id) (\_ _ -> True)) False . switches
-    inForce = foldl' (switchWith Set.insert Set.delete) Set.empty . switches
-    switches = concatMap (uncurry switchesOf)
+    flags =
+      concat
+        [pragmaFlags (pragmaName p) (pragmaBody p) | p <- headerPragmas source]
+    modes = ["-XSafe", "-XTrustworthy", "-XUnsafe"]
 
--- | What a pragma of this name and body turns on and off.
-switchesOf :: Text -> Text -> [GHC.OnOff Extension]
-switchesOf name = snd . editionsAndSwitches name
+-- | The edition a pragma of this name and body names last, if any, and
+-- whether it, with what it implies, last turns each extension it switches
+-- on or off.
+switchedBy ::
+  -- | The name.
+  Text ->
+  -- | The body.
+  Text ->
+  (Maybe GHC.Language, Map Extension Bool)
+switchedBy name body =
+  ( snd <$> unsnoc editions,
+    foldl'
+      (switchWith (`Map.insert` True) (`Map.insert` False))
+      Map.empty
+      switches
+  )
+  where
+    (editions, switches) = editionsAndSwitches name body
 
+-- | Do two pragmas, given by what they switch, put the same in force in
+-- either order?
+commute ::
+  -- | What one of them switches.
+  (Maybe GHC.Language, Map Extension Bool) ->
+  -- | What the other switches.
+  (Maybe GHC.Language, Map Extension Bool) ->
+  Bool
+commute (editionA, a) (editionB, b) =
+  and (liftA2 (==) editionA editionB)
+    && and (Map.intersectionWith (==) a b)
+
 -- | The editions a pragma of this name and body names, and what it turns on
 -- and off.
 editionsAndSwitches :: Text -> Text -> ([GHC.Language], [GHC.OnOff Extension])
@@ -154,12 +275,9 @@
   where
     oldFlag name = maybeToList (Map.lookup name extensionsByOldFlag)
 
--- | Turn an extension on or off in a list kept in the order extensions were
--- turned on in.
-switch :: [Extension] -> GHC.OnOff Extension -> [Extension]
-switch = switchWith turnOn (filter . (/=))
-  where
-    turnOn e acc = if e `elem` acc then acc else acc <> [e]
+-- | Turn an extension on or off.
+switch :: Set Extension -> GHC.OnOff Extension -> Set Extension
+switch = switchWith Set.insert Set.delete
 
 -- | Turn an extension on, and then what it implies, or turn it off alone, as
 -- GHC does.
@@ -220,7 +338,14 @@
 -- | Carry on past the code of a module with these extensions in force, over
 -- its strings, characters and quasi-quotations, up to a line that GHC's
 -- lexer reads past and formatting would lose.
-pastCode :: [Extension] -> (Text -> [Bool]) -> Text -> [Bool]
+pastCode ::
+  -- | The extensions in force.
+  Set Extension ->
+  -- | How to carry on from where a piece of code ends.
+  (Text -> [Bool]) ->
+  -- | What is left of the module.
+  Text ->
+  [Bool]
 pastCode extensions = past
   where
     past go t = case T.uncons t of
@@ -228,12 +353,12 @@
       Just ('"', after) -> go (skipString after)
       Just ('\'', after) -> go (skipCharacter after)
       _
-        | QuasiQuotes `elem` extensions,
+        | Set.member QuasiQuotes extensions,
           Just body <- quasiQuotation t ->
             go (T.drop 2 (snd (T.breakOn "|]" body)))
         | otherwise -> go (skipCode t)
 
-    withoutCpp = Cpp `notElem` extensions
+    withoutCpp = Set.notMember Cpp extensions
     readPast l = case T.uncons l of
       Just ('#', rest) ->
         (withoutCpp && any (`T.isPrefixOf` rest) ["line", "pragma"])
@@ -255,7 +380,8 @@
 
     inString t
       | T.null t = t
-      | Just after <- T.stripPrefix "\\" t = skipString (T.drop 1 after)
+      | Just after <- T.stripPrefix "\\" t =
+          skipString (T.drop 1 (T.dropWhile isSpace after))
       | Just after <- T.stripPrefix "\"" t = after
       | otherwise = skipString (T.drop 1 t)
 
@@ -267,16 +393,17 @@
     skipCode t =
       let (plain, rest) = T.break opens (T.drop 1 t)
           before = maybe (T.head t) snd (T.unsnoc plain)
-       in if "'" `T.isPrefixOf` rest && inName before then skipCode rest else rest
+       in if "'" `T.isPrefixOf` rest && inName before
+            then skipCode rest
+            else rest
     opens c =
       c == '{' || c == '-' || c == '"' || c == '\'' || c == '[' || c == '\n'
     inName c = isAlphaNum c || c == '_' || c == '\''
 
--- | What the @{-# … #-}@ of a module's header have between their braces, each
--- on one line: those above the first thing that is neither a comment, a
--- directive nor a pragma, which are all GHC reads.
-headerPragmaBodies :: Text -> [Text]
-headerPragmaBodies = scanPragmas id past
+-- | The pragmas of a module's header: those above the first thing that is
+-- neither a comment, a directive nor a pragma, which are all GHC reads.
+headerPragmas :: Text -> [Pragma]
+headerPragmas = scanPragmas id past
   where
     past go t = case T.uncons t of
       Just (c, _)
@@ -284,10 +411,17 @@
         | c == '#' -> go (T.dropWhile (/= '\n') t)
       _ -> []
 
--- | What the given function makes of the bodies of the pragmas of a module,
--- each on one line, carrying on past what is neither a comment nor a pragma
--- as the other given function does.
-scanPragmas :: (Text -> a) -> ((Text -> [a]) -> Text -> [a]) -> Text -> [a]
+-- | What the given function makes of the pragmas of a module, carrying on
+-- past what is neither a comment nor a pragma as the other given function
+-- does.
+scanPragmas ::
+  -- | What to make of a pragma.
+  (Pragma -> a) ->
+  -- | How to carry on past the rest, given how to carry on from there.
+  ((Text -> [a]) -> Text -> [a]) ->
+  -- | The module's source.
+  Text ->
+  [a]
 scanPragmas pragma past = go
   where
     go t
@@ -295,20 +429,18 @@
       | Just body <- T.stripPrefix "{-#" t = case T.breakOn "#-}" body of
           (_, after) | T.null after -> []
           (inner, after) ->
-            pragma (T.unwords (T.words (withoutSkippedComments inner)))
-              : go (T.drop 3 after)
+            maybe id ((:) . pragma) (pragmaOf inner) (go (T.drop 3 after))
       | Just after <- T.stripPrefix "{-" t = go (skipBlock (1 :: Int) after)
       | opensLineComment t = go (T.dropWhile (/= '\n') t)
       | otherwise = past go t
 
 -- | What a pragma holds between its @{-#@ and its @#-}@, without the
--- comments GHC skips in it: those of a @LANGUAGE@ pragma, which then comes
--- out on one line.
+-- comments GHC skips in it: those of a @LANGUAGE@ pragma.
 withoutSkippedComments :: Text -> Text
 withoutSkippedComments inner
   | T.any (\c -> c == '-' || c == '{') inner,
     T.toUpper keyword == "LANGUAGE" =
-      T.unwords (T.words (withoutComments inner))
+      withoutComments inner
   | otherwise = inner
   where
     keyword = T.takeWhile (not . isSpace) (T.stripStart inner)
@@ -323,15 +455,6 @@
   | otherwise =
       let (plain, rest) = T.break (\c -> c == '{' || c == '-') (T.drop 1 t)
        in T.take 1 t <> plain <> withoutComments rest
-
--- | Does a line comment begin here?
-opensLineComment :: Text -> Bool
-opensLineComment t = case T.stripPrefix "--" t of
-  Nothing -> False
-  Just rest ->
-    maybe True (not . symbolic . fst) (T.uncons (T.dropWhile (== '-') rest))
-  where
-    symbolic c = c `elem` ("!#$%&*+./<=>?@\\^|-~:" :: String)
 
 -- | What follows the end of a block comment this deep in comments.
 skipBlock :: Int -> Text -> Text
diff --git a/src/Tilia/Pragma/Ghc.hs b/src/Tilia/Pragma/Ghc.hs
--- a/src/Tilia/Pragma/Ghc.hs
+++ b/src/Tilia/Pragma/Ghc.hs
@@ -25,6 +25,7 @@
 import GHC.Types.SrcLoc (noLoc)
 import GHC.Unit.Types (stringToUnitId)
 import GHC.Utils.Fingerprint (fingerprint0)
+
 import Tilia.Pragma (flagSwitches)
 
 -- | What the flags of a header settle, whatever was in force before them.
@@ -42,7 +43,8 @@
 inForceAfter :: [Text] -> InForce
 inForceAfter flags =
   InForce
-    { inForceSwitches = Map.fromList (fmap switched (reverse (GHC.extensions dflags))),
+    { inForceSwitches =
+        Map.fromList (fmap switched (reverse (GHC.extensions dflags))),
       inForceEdition = GHC.language dflags,
       inForceSafety = GHC.safeHaskell dflags
     }
@@ -84,7 +86,8 @@
     { sGhcNameVersion = GhcNameVersion "ghc" cProjectVersion,
       sFileSettings = FileSettings{},
       sTargetPlatform = genericPlatform,
-      sToolSettings = ToolSettings{toolSettings_opt_P_fingerprint = fingerprint0},
+      sToolSettings =
+        ToolSettings{toolSettings_opt_P_fingerprint = fingerprint0},
       sPlatformMisc = PlatformMisc{},
       sUnitSettings = UnitSettings (stringToUnitId "base"),
       sRawSettings = []
diff --git a/src/Tilia/Process.hs b/src/Tilia/Process.hs
--- a/src/Tilia/Process.hs
+++ b/src/Tilia/Process.hs
@@ -24,6 +24,7 @@
     waitForProcess,
     withCreateProcess,
   )
+
 import Tilia.Newline (NewlineStyle (Lf), setNewlineStyle)
 import Tilia.Utils (quietly)
 
diff --git a/src/Tilia/Render.hs b/src/Tilia/Render.hs
--- a/src/Tilia/Render.hs
+++ b/src/Tilia/Render.hs
@@ -7,81 +7,80 @@
   )
 where
 
-import Data.Choice (fromBool)
+import Control.Applicative ((<|>))
+import Control.Monad (guard)
+import Data.Char (isSpace)
 import Data.IntMap.Strict qualified as IntMap
+import Data.IntSet (IntSet)
+import Data.IntSet qualified as IntSet
+import Data.List.NonEmpty qualified as NE
 import Data.Map.Strict (Map)
 import Data.Map.Strict qualified as Map
-import Data.Maybe (listToMaybe)
-import Data.Set (Set)
+import Data.Maybe (isNothing, listToMaybe, mapMaybe)
 import Data.Set qualified as Set
 import Data.Text (Text)
+import Data.Text qualified as T
 import GHC.Hs (HsModule (..), XModulePs (..))
 import GHC.Hs.Extension (GhcPs)
-import GHC.LanguageExtensions.Type (Extension (..))
 import GHC.Types.SrcLoc (getLoc)
+
 import Tilia.Comments
   ( Comment (..),
     asOrdinary,
     bracketed,
     carriedOnFrom,
-    closesItself,
+    commentRuns,
     commentTrailing,
-    continuesHaddock,
-    holdsOff,
+    isDivider,
     widenTrigger,
   )
 import Tilia.Comments.Attach (attachComments)
-import Tilia.Doc.Combinators
-import Tilia.Fixity (Scope, capturedUses)
+import Tilia.Doc.Combinators hiding (break)
+import Tilia.Fixity (capturedUses)
 import Tilia.Gathered (Gathered)
-import Tilia.Imports (normalizeImports)
+import Tilia.Imports (travellingComments)
+import Tilia.MagicComments (preservedLines)
 import Tilia.Parser (ParsedModule (..))
 import Tilia.Render.Context
-import Tilia.Render.Declaration (decls, declsKeepingGroups)
-import Tilia.Render.Expression (hsExprIn, untypedSplice)
+import Tilia.Render.Declaration (decls)
+import Tilia.Render.Expression (hsExpr, untypedSplice)
 import Tilia.Render.Haddock (haddockSpans)
-import Tilia.Render.Header (HeaderPragma (..), hsModule, takeHeaderPragmas, takeStackHeader)
+import Tilia.Render.Header
+  ( HeaderPragma (..),
+    ModuleCtx (..),
+    hsModule,
+    takeHeaderPragmas,
+    takeStackHeader,
+  )
 import Tilia.Render.Signature (sigDecl)
-import Tilia.Source (Lines, blankAt, comments, sourceLines)
+import Tilia.Settings (Settings (..))
+import Tilia.Source (Lines, blankAt, comments, lineAt, sourceLines)
 import Tilia.Span
 import Tilia.Span.Ghc (spanOf, spanOfSrcSpan)
 
--- | What the printer needs to know about the module beyond its text.
-data RenderConfig = RenderConfig
-  { -- | Extensions in force, from the module's own pragmas and from the
-    -- package it belongs to.
-    rcExtensions :: Set Extension,
-    -- | What the module can see, if it could be worked out.
-    rcScope :: Maybe Scope,
-    -- | Source lines the import block must not be sorted across.
-    rcImportBarriers :: [Int],
-    -- | Source lines the names of an import list must not be sorted across.
-    rcNameBarriers :: [Int]
-  }
-
--- | A configuration that asserts nothing.
-defaultRenderConfig :: RenderConfig
-defaultRenderConfig =
-  RenderConfig
-    { rcExtensions = Set.empty,
-      rcScope = Nothing,
-      rcImportBarriers = [],
-      rcNameBarriers = []
-    }
-
 -- | Render a parsed module, comments and all.
-renderModule :: RenderConfig -> ParsedModule -> Doc
-renderModule settings parsed = attachComments loose doc
+renderModule ::
+  -- | How to render it.
+  RenderConfig ->
+  -- | The module, parsed.
+  ParsedModule ->
+  Doc
+renderModule render parsed = attachComments loose doc
   where
-    (doc, loose) = renderConfiguration settings parsed
+    (doc, loose) = renderConfiguration render parsed
 
 -- | Render one configuration of a module, and return the comments the
 -- syntax tree does not carry rather than attach them.
-renderConfiguration :: RenderConfig -> ParsedModule -> (Doc, [Comment])
-renderConfiguration settings parsed =
+renderConfiguration ::
+  -- | How to render it.
+  RenderConfig ->
+  -- | The configuration, parsed.
+  ParsedModule ->
+  (Doc, [Comment])
+renderConfiguration render parsed =
   ( prologue (pmPrologue parsed)
       <> stackHeader
-      <> hsModule ctx pragmas opening (sorted hsMod),
+      <> hsModule ctx mctx pragmas hsMod,
     loose
   )
   where
@@ -91,85 +90,110 @@
         (sourceLines (pmSource parsed))
         (pmGathered parsed)
         (comments (pmSource parsed))
-    plain = heldOff haddocks loose'
-    (stackHeader, rest) = takeStackHeader (pmPrologue parsed) plain
-    (pragmas, uncovered) = takeHeaderPragmas (pmSource parsed) (pmHeaderEnd parsed) rest
+    (stackHeader, rest) = takeStackHeader (pmPrologue parsed) loose'
+    (pragmas, uncovered) =
+      takeHeaderPragmas (pmSource parsed) (pmHeaderEnd parsed) rest
     held = heldOffModuleDoc hsMod haddocks pragmas uncovered
-    opening = importsOpening (sourceLines (pmSource parsed)) held hsMod
-    loose = fmap (belowOpening opening) held
-    implicitPrelude =
-      fromBool (Set.member ImplicitPrelude (rcExtensions settings))
-    sorted m =
-      m
-        { hsmodImports =
-            normalizeImports
-              implicitPrelude
-              (rcImportBarriers settings)
-              (rcNameBarriers settings)
-              (comments (pmSource parsed))
-              (hsmodImports m)
-        }
-    carryingOn = carriedOnFrom loose
+    (mctx, kept) = moduleCtx render parsed held
+    loose = fmap (carryingOnSorted sorted carryingOn) kept
+    carryingOn = carriedOnFrom kept
+    sorted =
+      IntSet.fromList . fmap spanEndLine $
+        fmap hpSpan pragmas <> mapMaybe spanOf (hsmodImports hsMod)
     ctx =
       Ctx
-        { ctxExtensions = rcExtensions settings,
+        { ctxRender = render,
           ctxSourceType = pmSourceType parsed,
-          ctxScope = rcScope settings,
           ctxCaptured = capturedUses (pmGathered parsed),
           ctxSource = pmSource parsed,
-          ctxLineComments = indexOn (filter (not . closesItself) loose),
-          ctxCarryingOn =
-            Map.fromList
-              [ (startPoint (commentSpan c), remark)
-              | c <- loose,
-                Just (_, remark) <- [carryingOn c]
-              ],
           ctxHaddocks = indexOn haddocks,
-          ctxKnot = knot
+          ctxKnot = knot,
+          ctxIndentation = settingsIndentation (rcSettings render),
+          ctxCommaStyle = settingsCommaStyle (rcSettings render),
+          ctxArrowStyle = settingsArrowStyle (rcSettings render)
         }
 
--- | Keep a comment from running into a Haddock.
-heldOff :: [Comment] -> [Comment] -> [Comment]
-heldOff haddocks = fmap holdOff
+-- | What printing the top level of one configuration takes, and the
+-- comments it does not carry with the empty lines around them that stay.
+moduleCtx ::
+  -- | How to render it.
+  RenderConfig ->
+  -- | The configuration, parsed.
+  ParsedModule ->
+  -- | The comments neither its syntax tree nor its header carries.
+  [Comment] ->
+  (ModuleCtx, [Comment])
+moduleCtx render parsed held =
+  ( ModuleCtx
+      { mcOpening = opening,
+        mcHeadings = Set.toList (Set.fromList (mapMaybe heading held)),
+        mcUnderImports = maybe id IntMap.delete final underImports,
+        mcBelowImports = (`IntMap.lookup` underImports) =<< final,
+        mcMagicCommentRanges = magicCommentRanges
+      },
+    [ if among c && isNothing (heading c) || IntSet.member (line c) travellers
+        then withoutGaps c'
+        else c'
+    | c <- held,
+      not (leftAlone c),
+      let c' = belowOpening opening c
+    ]
+  )
   where
-    written = filter holdsOff haddocks
-    ends = Set.fromList (fmap (spanEndLine . commentSpan) written)
-    starts =
-      Set.fromList
-        [ spanStartLine (commentSpan h)
-        | h <- written,
-          not (commentTrailing h)
-        ]
-    holdOff c
-      | bracketed c = c
-      | otherwise =
-          c
-            { commentGapAbove =
-                commentGapAbove c
-                  || continuesHaddock c
-                    && Set.member (spanStartLine s - 1) ends,
-              commentGapBelow =
-                commentGapBelow c || Set.member (spanEndLine s + 1) starts
-            }
-      where
-        s = commentSpan c
+    hsMod = pmModule parsed
+    ls = sourceLines (pmSource parsed)
+    opening = importsOpening ls held (fst <$> bounds (listToMaybe starts))
+    imports = mapMaybe spanOf (hsmodImports hsMod)
+    among c = amongImports (bounds (Just (line c))) imports c
+    final = snd <$> (bounds . Just . NE.last =<< NE.nonEmpty starts)
+    bounds having = rcImportBounds render having <|> own
+    own = (\ss -> (NE.head ss, NE.last ss)) <$> NE.nonEmpty starts
+    starts = fmap spanStartLine imports
+    blocks =
+      commentRuns (filter (\c -> among c && not (commentTrailing c)) held)
+    heading c = do
+      guard (among c)
+      (top, bottom) <- IntMap.lookup (spanStartLine (commentSpan c)) blocks
+      let edges =
+            ( spanStartLine (commentSpan top) - 1,
+              spanEndLine (commentSpan bottom) + 1
+            )
+      guard $
+        headsImports
+          (rcImportBarriers render)
+          ls
+          imports
+          (spanStartColumn (commentSpan c))
+          edges
+      pure (snd edges)
+    travelling = travellingComments ls held hsMod
+    underImports = fmap ((+ 1) . spanEndLine . commentSpan . NE.last) travelling
+    travellers = IntSet.fromList (line <$> foldMap NE.toList travelling)
+    line = spanStartLine . commentSpan
+    withoutGaps c = c{commentGapAbove = False, commentGapBelow = False}
+    leftAlone c = any (holds (spanStartLine (commentSpan c))) magicCommentRanges
+    holds n (from, to) = from <= n && n <= to
+    magicCommentRanges = preservedLines (pmSource parsed)
 
 -- | Hold the comment that comes out right under the module's own Haddock
--- off it: the first one between the Haddock and the module line with no
--- pragma after it, since one with a pragma after it is placed with that
--- pragma, above the Haddock.
+-- off it unless it is a divider: the first one between the Haddock and the
+-- module line with no pragma after it, since one with a pragma after it is
+-- placed with that pragma, above the Haddock.
 heldOffModuleDoc ::
+  -- | The module.
   HsModule GhcPs ->
   -- | The Haddocks of the module, the module's own among them.
   [Comment] ->
   -- | The pragmas the header is about to hoist.
   [HeaderPragma] ->
+  -- | The comments.
   [Comment] ->
   [Comment]
 heldOffModuleDoc hsMod haddocks pragmas cs
   | Just ended <- endOfModuleDoc,
     Just began <- startOfModuleLine,
-    (before', c : after') <- break (uncoveredBetween ended began) cs =
+    (before', c : after') <- break (uncoveredBetween ended began) cs,
+    not (isDivider (NE.head (commentBody c))) =
       before' <> (c{commentGapAbove = True} : after')
   | otherwise = cs
   where
@@ -182,7 +206,8 @@
     pragmaStarts = fmap (spanStartLine . hpSpan) pragmas
     endOfModuleDoc = do
       s <- moduleDoc
-      c <- lookup (startPoint s) [(startPoint (commentSpan h), h) | h <- haddocks]
+      c <-
+        lookup (startPoint s) [(startPoint (commentSpan h), h) | h <- haddocks]
       if bracketed c then Nothing else Just (spanEndLine s)
     moduleDoc = case hsmodExt hsMod of
       XModulePs{hsmodHaddockModHeader = Just d} -> spanOfSrcSpan (getLoc d)
@@ -190,13 +215,22 @@
     startOfModuleLine = spanStartLine <$> (spanOf =<< hsmodName hsMod)
 
 -- | The empty line right above the first import, or above the comments
--- written on top of it.
-importsOpening :: Lines -> [Comment] -> HsModule GhcPs -> Maybe Int
-importsOpening ls cs hsMod =
-  climb . pred . spanStartLine =<< spanOf =<< listToMaybe (hsmodImports hsMod)
+-- written on top of it and the lines that hold only semicolons.
+importsOpening ::
+  -- | The module as written.
+  Lines ->
+  -- | Its comments.
+  [Comment] ->
+  -- | The line the first import begins on in the configurations that have
+  -- the line of this one's first import, or in any where it has none.
+  Maybe Int ->
+  Maybe Int
+importsOpening ls cs first = climb . pred =<< first
   where
     climb n
       | blankAt n ls = Just n
+      | maybe False (T.all (\ch -> ch == ';' || isSpace ch)) (lineAt n ls) =
+          climb (pred n)
       | otherwise = climb . pred =<< IntMap.lookup n onTheirOwnLines
     onTheirOwnLines =
       IntMap.fromList
@@ -216,19 +250,80 @@
       c{commentGapAbove = False}
   | otherwise = c
 
+-- | Leave the empty line under a comment that carries on the remark of a
+-- header pragma or an import to the lines sorting puts in order, which keep
+-- none of their own, rather than carry it along when sorting moves the line.
+carryingOnSorted ::
+  -- | The last line of every header pragma and every import.
+  IntSet ->
+  -- | The line whose remark a comment carries on, and the column that
+  -- remark begins at.
+  (Comment -> Maybe (Int, Int)) ->
+  -- | The comment.
+  Comment ->
+  Comment
+carryingOnSorted sorted carryingOn c
+  | Just (line, remark) <- carryingOn c,
+    IntSet.member line sorted,
+    remark <= spanStartColumn (commentSpan c) =
+      c{commentGapBelow = False}
+  | otherwise = c
+
+-- | Does a block of comments head the imports under it: is it written at
+-- their indentation, with empty lines right above and right under it, and
+-- no line they must not be sorted across between it and the first of them?
+headsImports ::
+  -- | The lines the imports are not sorted across.
+  [Int] ->
+  -- | The module as written.
+  Lines ->
+  -- | Where the imports are.
+  [Span] ->
+  -- | The column the block begins at.
+  Int ->
+  -- | The lines right above and right under the block.
+  (Int, Int) ->
+  Bool
+headsImports barriers ls imports column (above, under) =
+  blankAt above ls
+    && blankAt under ls
+    && case dropWhile ((< under) . spanStartLine) imports of
+      next : _ ->
+        spanStartColumn next == column
+          && not (any (\b -> under < b && b < spanStartLine next) barriers)
+      [] -> False
+
+-- | Is a comment written between imports rather than inside one?
+amongImports ::
+  -- | The first and the last line an import begins on in any configuration
+  -- that has the comment, where they have imports.
+  Maybe (Int, Int) ->
+  -- | Where the imports of this configuration are.
+  [Span] ->
+  -- | The comment.
+  Comment ->
+  Bool
+amongImports bounds imports c = case bounds of
+  Just (first, final) ->
+    (first < spanStartLine s || first == spanStartLine s && commentTrailing c)
+      && spanEndLine s < final
+      && not (any (`covers` s) imports)
+  Nothing -> False
+  where
+    s = commentSpan c
+
 -- | The lines above the module, put back exactly as they were written.
 prologue :: [Text] -> Doc
-prologue = foldMap (\l -> txt l <> hardBreak)
+prologue = foldMap (\l -> txt l <> newline)
 
 -- | The knot: the printers that a module below their definition needs.
 knot :: Knot
 knot =
   Knot
-    { knotExpr = hsExprIn,
+    { knotExpr = hsExpr,
       knotSplice = untypedSplice,
       knotSig = sigDecl,
-      knotDecls = decls,
-      knotDeclsGrouped = declsKeepingGroups
+      knotDecls = decls
     }
 
 -- | Separate the comments the syntax tree also knows about from the rest.
diff --git a/src/Tilia/Render/Block.hs b/src/Tilia/Render/Block.hs
new file mode 100644
--- /dev/null
+++ b/src/Tilia/Render/Block.hs
@@ -0,0 +1,115 @@
+{-# LANGUAGE DataKinds #-}
+{-# LANGUAGE LambdaCase #-}
+{-# LANGUAGE OverloadedLabels #-}
+{-# LANGUAGE OverloadedStrings #-}
+{-# LANGUAGE PatternSynonyms #-}
+
+-- | Runs of things: statements, bindings, equations, list elements.
+module Tilia.Render.Block
+  ( Bracing (..),
+    items,
+    braced,
+    itemsSepBy,
+    keepBlanks,
+    Rank (..),
+    ranked,
+  )
+where
+
+import Data.Choice (Choice, isTrue, pattern Without)
+import Prelude hiding (break)
+
+import Tilia.Doc.Combinators
+import Tilia.Span
+
+-- | May a block put braces around itself when it is laid out on one line?
+data Bracing
+  = MayBrace
+  | NoBrace
+  deriving (Eq, Show)
+
+-- | A block: one item per line when broken, semicolons when flat.
+items :: Bracing -> [Doc] -> Doc
+items = itemsSepBy (Without #semisWhenBroken)
+
+-- | 'items', with control over whether the broken form carries semicolons
+-- too.
+itemsSepBy ::
+  -- | Semicolons in the broken layout as well?
+  Choice "semisWhenBroken" ->
+  -- | Whether the block may brace itself when flat.
+  Bracing ->
+  -- | The items.
+  [Doc] ->
+  Doc
+itemsSepBy semisWhenBroken bracing xs = case (bracing, xs) of
+  (NoBrace, [x]) -> x
+  _ -> variant flatForm brokenForm
+  where
+    flatForm = case (bracing, xs) of
+      (MayBrace, []) -> opening <> closing
+      (NoBrace, []) -> mempty
+      (MayBrace, _) -> opening <> space <> joined <> space <> closing
+      (NoBrace, _) -> joined
+    opening = openingAt Nothing "{"
+    closing = closingAt Nothing "}"
+    joined = sepBy (txt ";" <> space) xs
+    brokenForm =
+      sepBy (includeWhen (isTrue semisWhenBroken) (txt ";") <> newline) xs
+
+-- | A block written between braces, which keeps them: its items separated
+-- by semicolons on one line, and across lines each after the first led by
+-- one under the opening brace.
+braced ::
+  -- | Where the braces were written.
+  (Maybe Span, Maybe Span) ->
+  -- | Was there an empty line between two items?
+  (Maybe Span -> Maybe Span -> Bool) ->
+  -- | Where each item was, and what it prints as.
+  [(Maybe Span, Doc)] ->
+  Doc
+braced (o, c) blank = \case
+  [] -> openingAt o "{" <> closing
+  x : xs ->
+    openingAt o "{"
+      <> space
+      <> align
+        ( mconcat
+            (keepBlanks blank (x : fmap led xs))
+        )
+      <> break
+      <> closing
+  where
+    closing = foldMap (emptyAnchor . endOf) c <> closingAt c "}"
+    led (here, d) = (here, separatingSemicolon <> d)
+
+-- | Put back the empty lines the author left between items.
+keepBlanks ::
+  -- | Was there an empty line between two items?
+  (Maybe Span -> Maybe Span -> Bool) ->
+  -- | Where each item was, and what it prints as.
+  [(Maybe Span, Doc)] ->
+  [Doc]
+keepBlanks blank xs = zipWith gap (Nothing : fmap fst xs) xs
+  where
+    gap previous (here, d) =
+      includeWhen (blank previous here) (newline <> declDelimiter DeclSeparate)
+        <> d
+
+-- | Where an item sits among its siblings.
+data Rank
+  = Only
+  | First
+  | Middle
+  | Last
+  deriving (Eq, Show)
+
+-- | Label each item of a list with its rank.
+ranked :: [a] -> [(Rank, a)]
+ranked [] = []
+ranked [x] = [(Only, x)]
+ranked (x : xs) = (First, x) : go xs
+  where
+    go [] = []
+    go [y] = [(Last, y)]
+    go (y : ys) = (Middle, y) : go ys
diff --git a/src/Tilia/Render/Class.hs b/src/Tilia/Render/Class.hs
--- a/src/Tilia/Render/Class.hs
+++ b/src/Tilia/Render/Class.hs
@@ -16,85 +16,132 @@
   )
 where
 
-import Data.Choice (fromBool, pattern Do)
+import Data.Choice (fromBool)
 import Data.Foldable (fold)
-import Data.Maybe (isNothing)
+import Data.Maybe (isJust, isNothing)
 import GHC.Builtin.Types (cTupleTyConName, isCTupleTyConName)
 import GHC.Core.Coercion.Axiom (Role (..))
 import GHC.Hs
 import GHC.Types.Fixity (LexicalFixity (..))
 import GHC.Types.Name.Reader (RdrName (..))
-import GHC.Types.SrcLoc (GenLocated (..), unLoc)
+import GHC.Types.SrcLoc (GenLocated (..), getLoc, unLoc)
+import Prelude hiding (break)
+
 import Tilia.Doc.Combinators
 import Tilia.Render.Context
 import Tilia.Render.Data (dataDecl)
 import Tilia.Render.Name
 import Tilia.Render.Pragma
 import Tilia.Render.Type
+import Tilia.Span (Span, endOf)
 import Tilia.Span.Ghc
 
 -- | A type class declaration.
 classDecl ::
+  -- | The context.
   Ctx ->
+  -- | Where its keywords were.
   AnnClassDecl ->
+  -- | Its superclasses.
   Maybe (LHsContext GhcPs) ->
+  -- | Its name.
   LocatedN RdrName ->
+  -- | Its type variables.
   LHsQTyVars GhcPs ->
+  -- | Was its head written infix?
   LexicalFixity ->
+  -- | Its functional dependencies.
   [LHsFunDep GhcPs] ->
+  -- | The signatures and pragmas in its body.
   [LSig GhcPs] ->
+  -- | The default definitions of its methods.
   LHsBinds GhcPs ->
+  -- | Its associated families.
   [LFamilyDecl GhcPs] ->
+  -- | The defaults of those families.
   [LTyFamDefltDecl GhcPs] ->
+  -- | The Haddocks among its members.
   [LDocDecl GhcPs] ->
   Doc
-classDecl ctx anns ctxt tyCon HsQTvs{..} fixity fdeps sigs binds families defaults docs =
-  txt "class" <> layoutFrom ctx wholeHeadSpan head' <> body
-  where
-    headSpan = spanOf tyCon <> spansOf hsq_explicit
-    whereSpan = spanOf (acd_where anns)
-    wholeHeadSpan = foldMap spanOf ctxt <> headSpan <> spansOf fdeps
+classDecl
+  ctx
+  anns
+  ctxt
+  tyCon
+  HsQTvs{..}
+  fixity
+  fdeps
+  sigs
+  binds
+  families
+  defaults
+  docs =
+    layoutFrom ctx (wholeHeadSpan <> spansOf members) $
+      keyword <> layoutFrom ctx wholeHeadSpan head' <> body
+    where
+      keyword = refAt (spanOf (acd_class anns)) (txt "class")
+      headSpan = spanOf tyCon <> spansOf hsq_explicit
+      whereSpan = spanOf (acd_where anns)
+      wholeHeadSpan = foldMap spanOf ctxt <> headSpan <> spansOf fdeps
 
-    head' =
-      breakOrSpace
-        <> indent
-          ( foldMap (leftContext ctx) ctxt
-              <> layoutFrom ctx headSpan classHead
-              <> indent (funDeps ctx fdeps)
-              <> includeUnless
-                (null members)
-                (breakOrSpace <> keywordAt ctx whereSpan "where")
-          )
+      head' =
+        break
+          <> indent
+            1
+            (ptr keyword)
+            ( foldMap (leftContext ctx headSpan) ctxt
+                <> ( if null fdeps
+                       then classHead
+                       else classHead >+> funDeps ctx fdeps
+                   )
+                <> includeWhen
+                  (isJust whereSpan)
+                  (break <> keywordAt whereSpan "where")
+            )
 
-    classHead
-      | isCTuple (unLoc tyCon) (length hsq_explicit) =
-          layoutWithin ctx (spanOf tyCon) (spansOf hsq_explicit) $
-            parens
-              ( insideBrackets
-                  (spanOf tyCon)
-                  (commaSep (fmap (align . at_ ctx (tyVarBndr ctx)) hsq_explicit))
-              )
-      | otherwise =
-          defHead
-            (fromBool (fixity == Infix))
-            (Do #indentArgs)
-            (name ctx tyCon)
-            (fmap (at_ ctx (tyVarBndr ctx)) hsq_explicit)
+      classHead
+        | isCTuple (unLoc tyCon) (length hsq_explicit) =
+            layoutFrom ctx headSpan
+              . layoutFrom ctx (spansOf hsq_explicit)
+              $ parens
+                tupleParens
+                ( insideBrackets
+                    (spanOf tyCon)
+                    ( commaSep
+                        (ctxCommaStyle ctx)
+                        (fmap (align . at_ ctx (tyVarBndr ctx)) hsq_explicit)
+                    )
+                )
+        | otherwise =
+            typeHead
+              ctx
+              0
+              (outerBracketSpans (acd_openp anns) (acd_closep anns))
+              fixity
+              tyCon
+              spanOf
+              (at_ ctx (tyVarBndr ctx))
+              hsq_explicit
 
-    body =
-      includeUnless
-        (null members)
-        (breakOrSpace <> indent (knotDeclsGrouped (ctxKnot ctx) ctx members))
+      tupleParens = case getLoc tyCon of
+        EpAnn{anns = NameAnnCommas{nann_adornment = NameParens o c}} ->
+          (spanOf o, spanOf c)
+        _ -> (Nothing, Nothing)
 
-    members =
-      inSourceOrder
-        [ fmap (fmap (SigD NoExtField)) sigs,
-          fmap (fmap (ValD NoExtField)) binds,
-          fmap (fmap (TyClD NoExtField . FamDecl NoExtField)) families,
-          fmap (fmap (InstD NoExtField . TyFamInstD NoExtField)) defaults,
-          fmap (fmap (DocD NoExtField)) docs
-        ]
+      body =
+        includeUnless (null members && isNothing whereSpan)
+          . indent 1 (ptr keyword)
+          $ break <> knotDecls (ctxKnot ctx) ctx Associated members
 
+      members =
+        inSourceOrder
+          [ fmap (fmap (SigD NoExtField)) sigs,
+            fmap (fmap (ValD NoExtField)) binds,
+            fmap (fmap (TyClD NoExtField . FamDecl NoExtField)) families,
+            fmap (fmap (InstD NoExtField . TyFamInstD NoExtField)) defaults,
+            fmap (fmap (DocD NoExtField)) docs
+          ]
+
 -- | Is this the constraint tuple of the given arity?
 isCTuple :: RdrName -> Int -> Bool
 isCTuple (Exact n) arity = isCTupleTyConName n && n == cTupleTyConName arity
@@ -104,47 +151,60 @@
 funDeps :: Ctx -> [LHsFunDep GhcPs] -> Doc
 funDeps _ [] = mempty
 funDeps ctx fdeps =
-  breakOrSpace
-    <> txt "|"
-    <> space
-    <> indent (commaSep (fmap (align . at_ ctx (funDep ctx)) fdeps))
+  break
+    <> commaSepAfter
+      (ctxCommaStyle ctx)
+      "|"
+      (fmap (align . at_ ctx (funDep ctx)) fdeps)
 
 -- | One functional dependency of a class, as in @a b -> c@.
 funDep :: Ctx -> FunDep GhcPs -> Doc
 funDep ctx (FunDep _ before after) =
-  hsep (fmap (name ctx) before)
+  sepBy space (fmap (name ctx) before)
     <> space
-    <> txt "->"
+    <> txt (reserved ctx "->")
     <> space
-    <> hsep (fmap (name ctx) after)
+    <> sepBy space (fmap (name ctx) after)
 
 -- | A class instance.
-clsInstDecl :: Ctx -> ClsInstDecl GhcPs -> Doc
+clsInstDecl ::
+  -- | The context.
+  Ctx ->
+  -- | The instance.
+  ClsInstDecl GhcPs ->
+  Doc
 clsInstDecl ctx ClsInstDecl{cid_ext = (warning, anns, _), ..} =
-  txt "instance" <> layoutFrom ctx headSpan head' <> body
+  keyword <> layoutFrom ctx headSpan head' <> body
   where
-    headSpan = foldMap spanOf warning <> spanOf cid_poly_ty
+    keyword = refAt (spanOf (acid_instance anns)) (txt "instance")
+    headSpan = foldMap spanOf warning <> typeSpan
+    typeSpan = spanOf cid_poly_ty
     whereSpan = spanOf (acid_where anns)
 
     head' =
-      foldMap (\w -> breakOrSpace <> at ctx w warningTxt) warning
-        <> breakOrSpace
+      break
         <> indent
-          ( foldMap (<> breakOrSpace) (overlapMode ctx cid_overlap_mode)
-              <> at
-                ctx
-                cid_poly_ty
-                ( \sigTy ->
-                    hsSigTypeBody ctx sigTy
-                      <> includeUnless
-                        (null members)
-                        (breakOrSpace <> keywordAt ctx whereSpan "where")
-                )
+          1
+          (ptr keyword)
+          ( foldMap
+              (\w -> at ctx w (warningTxt ctx (warningSquares w)) <> break)
+              warning
+              <> foldMap (<> break) (overlapMode ctx cid_overlap_mode)
+              <> ( maybe id located typeSpan $
+                     layoutFrom
+                       ctx
+                       typeSpan
+                       (hsSigTypeBody ctx (unLoc cid_poly_ty))
+                       <> includeWhen
+                         (isJust whereSpan)
+                         (break <> keywordAt whereSpan "where")
+                 )
           )
 
     body =
-      includeUnless (null members) . indent $
-        breakOrSpace <> knotDeclsGrouped (ctxKnot ctx) ctx members
+      includeUnless (null members && isNothing whereSpan)
+        . indent 1 (ptr keyword)
+        $ break <> knotDecls (ctxKnot ctx) ctx Associated members
 
     members =
       inSourceOrder
@@ -155,35 +215,58 @@
         ]
 
 -- | A standalone @deriving@ declaration.
-standaloneDerivDecl :: Ctx -> DerivDecl GhcPs -> Doc
-standaloneDerivDecl ctx DerivDecl{deriv_ext = (warning, _), ..} =
-  txt "deriving" <> space <> strategy
-  where
-    instanceHead indented =
-      indent $
-        txt "instance"
-          <> foldMap (\w -> breakOrSpace <> at ctx w warningTxt) warning
-          <> breakOrSpace
-          <> foldMap (<> breakOrSpace) (overlapMode ctx deriv_overlap_mode)
-          <> nest (if indented then 1 else 0) (hsSigType ctx (hswc_body deriv_type))
+standaloneDerivDecl ::
+  -- | The context.
+  Ctx ->
+  -- | The declaration.
+  DerivDecl GhcPs ->
+  Doc
+standaloneDerivDecl
+  ctx
+  DerivDecl{deriv_ext = (warning, (derivTok, instTok)), ..} =
+    keyword <> space <> strategy
+    where
+      keyword = refAt (spanOf derivTok) (txt "deriving")
+      instanceWord = keywordAt (spanOf instTok) "instance"
+      instanceHead from =
+        break
+          <> indent
+            1
+            (ptr from)
+            ( foldMap
+                (\w -> at ctx w (warningTxt ctx (warningSquares w)) <> break)
+                warning
+                <> foldMap (<> break) (overlapMode ctx deriv_overlap_mode)
+                <> hsSigType ctx (hswc_body deriv_type)
+            )
 
-    strategy = case deriv_strategy of
-      Nothing -> instanceHead False
-      Just (L _ s) -> case s of
-        StockStrategy _ -> txt "stock " <> instanceHead False
-        AnyclassStrategy _ -> txt "anyclass " <> instanceHead False
-        NewtypeStrategy _ -> txt "newtype " <> instanceHead False
-        ViaStrategy (XViaStrategyPs _ sigTy) ->
-          txt "via"
-            <> breakOrSpace
-            <> indent (hsSigType ctx sigTy)
-            <> breakOrSpace
-            <> instanceHead True
+      strategy = case deriv_strategy of
+        Nothing -> indent 1 (ptr keyword) instanceWord <> instanceHead keyword
+        Just (L _ s) -> case s of
+          StockStrategy tok -> named tok "stock"
+          AnyclassStrategy tok -> named tok "anyclass"
+          NewtypeStrategy tok -> named tok "newtype"
+          ViaStrategy (XViaStrategyPs tok sigTy) ->
+            indent 1 (ptr keyword) (keywordAt (spanOf tok) "via")
+              <> break
+              <> indent 1 (ptr keyword) (hsSigType ctx sigTy)
+              <> break
+              <> indent
+                1
+                (ptr keyword)
+                (ref instanceWord <> instanceHead instanceWord)
+        where
+          named tok kw =
+            indent
+              1
+              (ptr keyword)
+              (keywordAt (spanOf tok) kw <> space <> instanceWord)
+              <> instanceHead keyword
 
 -- | A type family instance.
 tyFamInstDecl :: Ctx -> FamilyStyle -> TyFamInstDecl GhcPs -> Doc
 tyFamInstDecl ctx style TyFamInstDecl{..} =
-  txt keyword <> breakOrSpace <> indent (tyFamInstEqn ctx tfid_eqn)
+  txt keyword >+> break <> tyFamInstEqn ctx tfid_eqn
   where
     keyword = case style of
       Associated -> "type"
@@ -200,18 +283,38 @@
     typeArgSpan
     (typeArgument ctx)
     feqn_fixity
+    (let (opens, closes, _) = feqn_ext in outerBracketSpans opens closes)
     outerBinders
     feqn_rhs
   where
     -- @data instance forall k (a :: k). D a = …@ binds its variables ahead
     -- of the head, exactly as a type family instance does.
-    outerBinders = outerBndrs ctx breakOrSpace feqn_bndrs
+    outerBinders =
+      outerBndrs
+        ctx
+        break
+        (spanOf feqn_tycon <> foldMap typeArgSpan feqn_pats)
+        feqn_bndrs
 
 -- | A @data family@ or @type family@ declaration.
-famDecl :: Ctx -> FamilyStyle -> FamilyDecl GhcPs -> Doc
+famDecl ::
+  -- | The context.
+  Ctx ->
+  -- | Does it stand on its own or in a class?
+  FamilyStyle ->
+  -- | The declaration.
+  FamilyDecl GhcPs ->
+  Doc
 famDecl ctx style FamilyDecl{fdTyVars = HsQTvs{..}, ..} =
-  txt keyword <> txt familyWord <> head' <> equations
+  keywords <> head' <> equations
   where
+    keywords =
+      refAt
+        ( spanOf (afd_type fdExt)
+            <> spanOf (afd_data fdExt)
+            <> spanOf (afd_family fdExt)
+        )
+        (txt (keyword <> familyWord))
     (keyword, closedEqns) = case fdInfo of
       DataFamily -> ("data", Nothing)
       OpenTypeFamily -> ("type", Nothing)
@@ -224,89 +327,129 @@
     headAndSigSpan = spanOf fdResultSig <> headSpan
 
     head' =
-      indent . layoutFrom ctx headAndSigSpan $
-        breakOrSpace
-          <> layoutFrom
-            ctx
-            headSpan
-            ( defHead
-                (fromBool (fdFixity == Infix))
-                (Do #indentArgs)
-                (name ctx fdLName)
-                (fmap (at_ ctx (tyVarBndr ctx)) hsq_explicit)
-            )
-          <> includeUnless
-            (isNothing resultSig && isNothing fdInjectivityAnn)
-            space
-          <> indent
-            ( fold resultSig
-                <> foldMap ((space <>) . at_ ctx (injectivityAnn ctx)) fdInjectivityAnn
-            )
+      indent 1 (ptr keywords) . layoutFrom ctx headAndSigSpan $
+        break
+          <> ( if isNothing resultSig && isNothing fdInjectivityAnn
+                 then familyHead
+                 else
+                   familyHead
+                     >+> space
+                       <> fold resultSig
+                       <> foldMap
+                         ((space <>) . at_ ctx (injectivityAnn ctx))
+                         fdInjectivityAnn
+             )
+          <> foldMap (const (break <> txt "where")) closedEqns
 
-    resultSig = familyResultSig ctx fdResultSig
+    familyHead =
+      typeHead
+        ctx
+        0
+        (outerBracketSpans (afd_openp fdExt) (afd_closep fdExt))
+        fdFixity
+        fdLName
+        spanOf
+        (at_ ctx (tyVarBndr ctx))
+        hsq_explicit
 
+    resultSig = familyResultSig ctx headSpan fdResultSig
+
     equations = case closedEqns of
       Nothing -> mempty
       Just eqs ->
-        indent (layoutFrom ctx headAndSigSpan (breakOrSpace <> txt "where"))
-          <> case eqs of
-            Nothing -> space <> txt ".."
-            Just given ->
-              includeUnless (null given) $
-                hardBreak <> indent (vsep (fmap (at_ ctx (tyFamInstEqn ctx)) given))
+        case eqs of
+          Nothing -> space <> txt ".."
+          Just given ->
+            includeUnless (null given) $
+              newline
+                <> indent
+                  1
+                  (ptr keywords)
+                  ( sepBy
+                      newline
+                      (fmap (at_ ctx (tyFamInstEqn ctx)) given)
+                  )
 
 -- | What the head of a family says of its result, a kind or a variable
 -- naming it, if anything.
-familyResultSig :: Ctx -> LFamilyResultSig GhcPs -> Maybe Doc
-familyResultSig ctx (L _ sig) = case sig of
+familyResultSig ::
+  -- | The context.
+  Ctx ->
+  -- | The head.
+  Maybe Span ->
+  -- | What it says.
+  LFamilyResultSig GhcPs ->
+  Maybe Doc
+familyResultSig ctx headSpan (L _ sig) = case sig of
   NoSig NoExtField -> Nothing
   KindSig NoExtField k ->
-    Just (txt "::" <> breakOrSpace <> hsType ctx k)
+    Just
+      ( joinedByArrow ctx break headSpan (spanOf k) (reserved ctx "::")
+          <> hsType ctx k
+      )
   TyVarSig NoExtField bndr ->
-    Just (txt "=" <> breakOrSpace <> at ctx bndr (tyVarBndr ctx))
+    Just (txt "=" <> break <> at ctx bndr (tyVarBndr ctx))
 
 -- | The injectivity annotation of a type family, as in @| r -> a@.
 injectivityAnn :: Ctx -> InjectivityAnn GhcPs -> Doc
 injectivityAnn ctx (InjectivityAnn _ from to) =
-  txt "|"
-    <> space
+  leadingBar
     <> name ctx from
     <> space
-    <> txt "->"
+    <> txt (reserved ctx "->")
     <> space
-    <> hsep (fmap (name ctx) to)
+    <> sepBy space (fmap (name ctx) to)
 
 -- | One equation of a type family.
-tyFamInstEqn :: Ctx -> TyFamInstEqn GhcPs -> Doc
+tyFamInstEqn ::
+  -- | The context.
+  Ctx ->
+  -- | The equation.
+  TyFamInstEqn GhcPs ->
+  Doc
 tyFamInstEqn ctx FamEqn{..} =
-  binders <> nest (if hasBinders then 1 else 0) (lhs <> rhs)
+  if hasBinders then binders >+> lhs >+> rhs else binders <> (lhs >+> rhs)
   where
-    binders = outerBndrs ctx breakOrSpace feqn_bndrs
+    binders = outerBndrs ctx break headSpan feqn_bndrs
+    headSpan = spanOf feqn_tycon <> foldMap typeArgSpan feqn_pats
     hasBinders = case feqn_bndrs of
       HsOuterExplicit _ (_ : _) -> True
       _ -> False
 
     lhs =
-      layoutFrom ctx (spanOf feqn_tycon <> foldMap typeArgSpan feqn_pats) $
-        defHead
-          (fromBool (feqn_fixity == Infix))
-          (Do #indentArgs)
-          (name ctx feqn_tycon)
-          (fmap (typeArgument ctx) feqn_pats)
+      typeHead
+        ctx
+        1
+        (let (opens, closes, _) = feqn_ext in outerBracketSpans opens closes)
+        feqn_fixity
+        feqn_tycon
+        typeArgSpan
+        (typeArgument ctx)
+        feqn_pats
 
     rhs =
-      indent (joinedBy "=" <> hsType ctx feqn_rhs)
+      trailing (txt "=")
+        <> layoutFrom
+          ctx
+          (fmap endOf headSpan <> spanOf feqn_rhs)
+          (break <> hsType ctx feqn_rhs)
 
 -- | A @type role@ declaration.
-roleAnnot :: Ctx -> RoleAnnotDecl GhcPs -> Doc
-roleAnnot ctx (RoleAnnotDecl _ tyCon roles) =
-  txt "type role"
-    <> breakOrSpace
-    <> indent
-      ( name ctx tyCon
-          <> breakOrSpace
-          <> indent (align (sepBy breakOrSpace (fmap (align . at_ ctx role) roles)))
-      )
+roleAnnot ::
+  -- | The context.
+  Ctx ->
+  -- | The declaration.
+  RoleAnnotDecl GhcPs ->
+  Doc
+roleAnnot ctx (RoleAnnotDecl (typeTok, roleTok) tyCon roles) =
+  keywordAt (spanOf typeTok) "type"
+    >+> space
+      <> keywordAt (spanOf roleTok) "role"
+      <> break
+      <> ( name ctx tyCon
+             >+> break
+               <> align (sepBy break (fmap (align . at_ ctx role) roles))
+         )
   where
     role = maybe (txt "_") $ \case
       Nominal -> txt "nominal"
diff --git a/src/Tilia/Render/Context.hs b/src/Tilia/Render/Context.hs
--- a/src/Tilia/Render/Context.hs
+++ b/src/Tilia/Render/Context.hs
@@ -1,59 +1,61 @@
+{-# LANGUAGE OverloadedStrings #-}
+
 -- | What the syntax walk needs to know that the syntax tree does not say.
 module Tilia.Render.Context
   ( -- * The context
+    RenderConfig (..),
+    defaultRenderConfig,
     Ctx (..),
     Knot (..),
     FamilyStyle (..),
-
-    -- * Sites
-    Site (..),
-    plainSite,
-    withBracing,
-    underSite,
-    closingFor,
+    ArrowStyle (..),
 
     -- * Extensions
     extensionOn,
     negativeLiteralGap,
+    reserved,
 
     -- * Fixities
     operatorFixity,
 
     -- * What lies between two spans
-    commentPrintedBetween,
-    lineCommentWrittenBetween,
-    commentRightUnder,
-    remarkUnder,
     separatedByBlank,
+    directiveBetween,
 
     -- * Entering the tree
     at,
     at_,
     atSpan,
     keywordAt,
-    fenceWithin,
     layoutFrom,
-    layoutWithin,
     layoutAcross,
     writtenOnOneLine,
     attachOperator,
+    joinedByArrow,
+    lineLed,
 
     -- * Haddocks
     writtenHaddock,
   )
 where
 
+import Data.Char (isSpace)
 import Data.Map.Strict (Map)
 import Data.Map.Strict qualified as Map
 import Data.Set (Set)
 import Data.Set qualified as Set
 import Data.Text (Text)
-import GHC.Hs hiding (Fixity)
-import GHC.LanguageExtensions.Type (Extension (NegativeLiterals))
+import Data.Text qualified as T
+import GHC.Hs hiding (Fixity, UnicodeSyntax)
+import GHC.LanguageExtensions.Type (Extension (NegativeLiterals, UnicodeSyntax))
 import GHC.Types.Name.Reader (RdrName (..))
 import GHC.Types.SrcLoc (GenLocated (..))
 import GHC.Types.SrcLoc qualified as GHC
-import Tilia.Comments (Comment (..), CommentStyle (..), carriesOn, commentTrailing)
+
+import Tilia.Comments
+  ( Comment (..),
+    CommentStyle (..),
+  )
 import Tilia.Doc.Combinators
 import Tilia.Fixity
   ( Fixity,
@@ -64,12 +66,14 @@
     opName,
     qualifierOf,
   )
-import Tilia.Render.Layout (Bracing (..))
+import Tilia.Settings (ArrowStyle (..), Indentation, Settings, defaultSettings)
 import Tilia.Source
   ( Source,
     SourceType,
     blankAt,
     directivePresentOnLine,
+    lineAt,
+    offsetOf,
     quoteEndingFrom,
     sourceLines,
   )
@@ -79,111 +83,136 @@
 ----------------------------------------------------------------------------
 -- The context
 
+-- | What the printer needs to know about the module beyond its text.
+data RenderConfig = RenderConfig
+  { -- | Extensions in force, from the module's own pragmas and from the
+    -- package it belongs to.
+    rcExtensions :: Set Extension,
+    -- | What the module can see, if it could be worked out.
+    rcScope :: Maybe Scope,
+    -- | The lines of every conditional's directives, which the names of an
+    -- import list are not sorted across.
+    rcDirectiveLines :: [Int],
+    -- | The lines of the directives that imports are not sorted across:
+    -- those of every conditional but one that only continues the import
+    -- above it, such as a @hiding@ clause written behind a condition.
+    rcImportBarriers :: [Int],
+    -- | The lines the first and the last import begin on in every
+    -- configuration that has the given line, or in every configuration at
+    -- all, where the module has conditionals, so that the configurations
+    -- that print a comment agree on where the imports open and on whether
+    -- it is among them.
+    rcImportBounds :: Maybe Int -> Maybe (Int, Int),
+    -- | The modules the project's own packages declare, each with the names
+    -- of those that declare it.
+    rcOwnModules :: Map Text (Set Text),
+    -- | The names the module defines macros by, in whichever configuration.
+    rcMacros :: Set Text,
+    -- | Where the argument lists of the module's uses of its function-like
+    -- macros were written, which cpp pastes into the macros as they are.
+    rcMacroArguments :: Set Span,
+    -- | What the project sets.
+    rcSettings :: Settings
+  }
+
+-- | A configuration that asserts nothing.
+defaultRenderConfig :: RenderConfig
+defaultRenderConfig =
+  RenderConfig
+    { rcExtensions = Set.empty,
+      rcScope = Nothing,
+      rcDirectiveLines = [],
+      rcImportBarriers = [],
+      rcImportBounds = const Nothing,
+      rcOwnModules = Map.empty,
+      rcMacros = Set.empty,
+      rcMacroArguments = Set.empty,
+      rcSettings = defaultSettings
+    }
+
 -- | Everything a printer may need beyond the node it is given.
 data Ctx = Ctx
-  { -- | Extensions in force.
-    ctxExtensions :: Set Extension,
+  { -- | How the module is rendered.
+    ctxRender :: RenderConfig,
     -- | The type of the source file.
     ctxSourceType :: SourceType,
-    -- | What imports the module can see, if that could be worked out.
-    ctxScope :: Maybe Scope,
     -- | The uses of an operator a local binding captures, by where the
     -- operator is written, with their fixities.
     ctxCaptured :: Map Span Fixity,
-    -- | The comments that end their line, by starting position.
-    ctxLineComments :: Map (Int, Int) Comment,
-    -- | The column of the trailing comment each comment that carries one on
-    -- begins at, by where that comment begins.
-    ctxCarryingOn :: Map (Int, Int) Int,
     -- | The module as its author wrote it.
     ctxSource :: Source,
     -- | The author's own text for each Haddock, by starting position.
     ctxHaddocks :: Map (Int, Int) Comment,
     -- | The knot.
-    ctxKnot :: Knot
+    ctxKnot :: Knot,
+    -- | How far each level of nesting is indented.
+    ctxIndentation :: Indentation,
+    -- | Where a list laid out on several lines puts its commas.
+    ctxCommaStyle :: CommaStyle,
+    -- | Where a type laid out on several lines puts its arrows.
+    ctxArrowStyle :: ArrowStyle
   }
 
 -- | The backward edges of the rendering knot.
 data Knot = Knot
   { -- | Expressions, needed by patterns.
-    knotExpr :: Ctx -> Site -> LHsExpr GhcPs -> Doc,
+    knotExpr :: Ctx -> LHsExpr GhcPs -> Doc,
     -- | Splices, needed by types and patterns, defined with expressions.
     knotSplice :: Ctx -> SpliceDecoration -> HsUntypedSplice GhcPs -> Doc,
     -- | Signature declarations, needed by @let@ and @where@ bodies.
     knotSig :: Ctx -> Sig GhcPs -> Doc,
-    -- | A run of declarations, needed by Template Haskell brackets.
-    knotDecls :: Ctx -> [LHsDecl GhcPs] -> Doc,
-    -- | A run of declarations that keeps the author's blank lines, needed
-    -- by class and instance bodies.
-    knotDeclsGrouped :: Ctx -> [LHsDecl GhcPs] -> Doc
+    -- | A run of declarations, needed by Template Haskell brackets and by
+    -- class and instance bodies.
+    knotDecls :: Ctx -> FamilyStyle -> [LHsDecl GhcPs] -> Doc
   }
 
--- | Whether a family or data declaration stands on its own or inside a
--- class.
+-- | Whether a declaration stands on its own or inside a class or an
+-- instance.
 data FamilyStyle
   = Associated
   | Free
   deriving (Eq, Show)
 
 ----------------------------------------------------------------------------
--- Sites
-
--- | What the surroundings of a node oblige it to do.
-data Site = Site
-  { -- | Is this the function of an application, as @f@ is in @f a@?
-    siteApplicand :: Bool,
-    -- | Is this an item of a layout block?
-    --
-    -- Such an item may not leave a bracket open for the block's own layout
-    -- to close, so a list comprehension standing as a statement is arranged
-    -- differently from one standing anywhere else.
-    siteInBlock :: Bool,
-    -- | May a block inside this node put braces round itself?
-    siteBracing :: Bracing
-  }
-  deriving (Eq, Show)
-
--- | A node standing on its own.
-plainSite :: Site
-plainSite =
-  Site
-    { siteApplicand = False,
-      siteInBlock = False,
-      siteBracing = NoBrace
-    }
-
--- | The same site, with a different answer about braces.
-withBracing :: Bracing -> Site -> Site
-withBracing bracing site = site{siteBracing = bracing}
-
--- | Indent a hanging body, one step further when it hangs off an applicand.
-underSite :: Site -> Doc -> Doc
-underSite site =
-  nest (if siteApplicand site then 2 else 1)
-
--- | Where a bracket opened here has to close.
-closingFor :: Site -> ClosingIndent
-closingFor site = if siteInBlock site then Indented else Outdented
-
-----------------------------------------------------------------------------
 -- Extensions
 
 -- | Is the extension on?
 extensionOn :: Ctx -> Extension -> Bool
-extensionOn ctx e = Set.member e (ctxExtensions ctx)
+extensionOn ctx e = Set.member e (rcExtensions (ctxRender ctx))
 
 -- | With @NegativeLiterals@ on, @- 1@ and @-1@ are different, so the minus
 -- in front of a literal has to keep its distance.
 negativeLiteralGap :: Ctx -> Doc
 negativeLiteralGap ctx = includeWhen (extensionOn ctx NegativeLiterals) space
 
+-- | A reserved symbol in its @UnicodeSyntax@ form, where that extension is
+-- in force and the symbol has one.
+reserved :: Ctx -> Text -> Text
+reserved ctx symbol
+  | extensionOn ctx UnicodeSyntax = case symbol of
+      "::" -> "∷"
+      "=>" -> "⇒"
+      "->" -> "→"
+      "<-" -> "←"
+      "forall" -> "∀"
+      "-<" -> "⤙"
+      ">-" -> "⤚"
+      "-<<" -> "⤛"
+      ">>-" -> "⤜"
+      "(|" -> "⦇"
+      "|)" -> "⦈"
+      "*" -> "★"
+      _ -> symbol
+  | otherwise = symbol
+{-# INLINE reserved #-}
+
 ----------------------------------------------------------------------------
 -- Fixities
 
 -- | The fixity of an operator, if one was established.
 operatorFixity :: Ctx -> Namespace -> RdrName -> Maybe Fixity
 operatorFixity ctx namespace name = do
-  scope <- ctxScope ctx
+  scope <- rcScope (ctxRender ctx)
   case lookupFixity scope namespace (qualifierOf name) (opName name) of
     Resolved fixity _ -> Just fixity
     Unresolved _ -> Nothing
@@ -191,75 +220,40 @@
 ----------------------------------------------------------------------------
 -- What lies between two spans
 
--- | Where the next thing to be printed begins. It is either the third
--- argument or a comment, if there is any between the two spans.
-nextPrinted ::
+-- | Did the author leave an empty line directly after the first of these,
+-- past directives and Haddocks?
+separatedByBlank :: Ctx -> Maybe Span -> Maybe Span -> Bool
+separatedByBlank ctx (Just a) (Just b) =
+  any (writtenBlank ctx) . takeWhile (passedOver ctx) $
+    [spanEndLine a + 1 .. spanStartLine b - 1]
+separatedByBlank _ _ _ = False
+
+-- | Is this line empty, a preprocessor directive, a Haddock's, or one this
+-- configuration does not contain?
+passedOver :: Ctx -> Int -> Bool
+passedOver ctx n = case lineAt n ls of
+  Nothing -> True
+  Just t -> T.all isSpace t || directivePresentOnLine n ls || documenting
+  where
+    ls = sourceLines (ctxSource ctx)
+    documenting =
+      maybe False ((>= n) . spanEndLine . commentSpan . snd) $
+        Map.lookupLE (n, maxBound) (ctxHaddocks ctx)
+
+-- | Is a preprocessor directive written between the two spans?
+directiveBetween ::
   -- | The context.
   Ctx ->
-  -- | What has just been printed.
+  -- | What comes first.
   Maybe Span ->
-  -- | What follows it, if nothing comes between.
+  -- | What comes next.
   Maybe Span ->
-  Maybe Span
-nextPrinted ctx (Just a) mb@(Just b) =
-  case printedBetween ctx a b of
-    (c : _) -> Just (commentSpan c)
-    [] -> mb
-nextPrinted _ _ mb = mb
-
--- | The comments printed between two spans rather than after the first.
-printedBetween :: Ctx -> Span -> Span -> [Comment]
-printedBetween ctx a b = filter (not . printedAfter) (Map.elems inTheGap)
-  where
-    inTheGap =
-      Map.takeWhileAntitone (< startPoint b) $
-        Map.dropWhileAntitone (< endPoint a) (ctxLineComments ctx)
-    printedAfter c =
-      commentTrailing c
-        || maybe
-          False
-          (\remark -> carriesOn remark (commentSpan c) (Just b))
-          (Map.lookup (startPoint (commentSpan c)) (ctxCarryingOn ctx))
-
--- | Is a comment going to be printed between the two spans?
-commentPrintedBetween :: Ctx -> Maybe Span -> Maybe Span -> Bool
-commentPrintedBetween ctx a b = nextPrinted ctx a b /= b
-
--- | Was a comment that ends its line written between the two spans, wherever
--- it is printed?
-lineCommentWrittenBetween :: Ctx -> Maybe Span -> Maybe Span -> Bool
-lineCommentWrittenBetween ctx (Just a) (Just b) =
-  holdsLineComment ctx (mkSpan (endPoint a) (startPoint b))
-lineCommentWrittenBetween _ _ _ = False
-
--- | Do the comments printed between the two spans begin right under the
--- first, with an empty line the author left under one of them and no
--- preprocessor directive anywhere between?
-remarkUnder :: Ctx -> Maybe Span -> Maybe Span -> Bool
-remarkUnder ctx ma@(Just a) mb@(Just b) =
-  not (separatedByBlank ctx ma mb)
-    && not (any directiveAt [spanEndLine a + 1 .. spanStartLine b - 1])
-    && any
-      (writtenBlank ctx . (+ 1) . spanEndLine . commentSpan)
-      (printedBetween ctx a b)
-  where
-    directiveAt n = directivePresentOnLine n (sourceLines (ctxSource ctx))
-remarkUnder _ _ _ = False
-
--- | Does the first comment printed between the two spans begin on the line
--- right under the first?
-commentRightUnder :: Ctx -> Maybe Span -> Maybe Span -> Bool
-commentRightUnder ctx (Just a) (Just b) = case printedBetween ctx a b of
-  c : _ -> spanStartLine (commentSpan c) == spanEndLine a + 1
-  [] -> False
-commentRightUnder _ _ _ = False
-
--- | Did the author leave an empty line directly after the first of these?
-separatedByBlank :: Ctx -> Maybe Span -> Maybe Span -> Bool
-separatedByBlank ctx ma@(Just a) mb = case nextPrinted ctx ma mb of
-  Just s -> any (writtenBlank ctx) [spanEndLine a + 1 .. spanStartLine s - 1]
-  Nothing -> False
-separatedByBlank _ _ _ = False
+  Bool
+directiveBetween ctx (Just a) (Just b) =
+  any
+    (`directivePresentOnLine` sourceLines (ctxSource ctx))
+    [spanEndLine a + 1 .. spanStartLine b - 1]
+directiveBetween _ _ _ = False
 
 -- | Did the author leave this line empty?
 --
@@ -276,71 +270,64 @@
 --
 -- This is the counterpart of every @L@ in the syntax tree: it records where
 -- the output came from, so that comments can be attached to it later, and
--- it settles the node's layout from the region it occupied.
-at :: (HasLoc l) => Ctx -> GenLocated l a -> (a -> Doc) -> Doc
-at ctx l f = atSpan ctx (spanOf l) (f (GHC.unLoc l))
+-- it settles the node's layout from the region it occupied. A node written
+-- as the argument list of a use of a function-like macro is printed as it
+-- was written, since cpp pastes that into the macro's body.
+at :: HasLoc l => Ctx -> GenLocated l a -> (a -> Doc) -> Doc
+at ctx l f = atSpan ctx s $ case s of
+  Just x
+    | not (Set.null pasted),
+      Set.member x pasted,
+      Just written <- writtenAt ctx x ->
+        txt written
+  _ -> f (GHC.unLoc l)
+  where
+    s = spanOf l
+    pasted = rcMacroArguments (ctxRender ctx)
 
 -- | 'at' with the arguments the other way round, for use in sections.
-at_ :: (HasLoc l) => Ctx -> (a -> Doc) -> GenLocated l a -> Doc
+at_ :: HasLoc l => Ctx -> (a -> Doc) -> GenLocated l a -> Doc
 at_ ctx f l = at ctx l f
 
--- | Lay a region out as it was written, and claim it.
---
--- Claiming is the difference between this and 'layoutFrom': a comment
--- written anywhere inside the region attaches to this document. So it is
--- for the handful of things a comment can be written against that the
--- syntax tree gives no node for—the @where@ that opens a body, the @then@
--- of an @if@—and for nothing else.
+-- | Lay a region out as 'layoutFrom' does, and claim it: a comment written
+-- anywhere inside the region attaches to this document.
 atSpan :: Ctx -> Maybe Span -> Doc -> Doc
 atSpan _ Nothing d = d
 atSpan ctx (Just s) d = located s (layoutFrom ctx (Just s) d)
 
 -- | A keyword, claiming the span it was written on.
-keywordAt :: Ctx -> Maybe Span -> Text -> Doc
-keywordAt ctx s = atSpan ctx s . txt
-
--- | Prevent comments inside the given region to float out of it and attach
--- to elements outside.
-fenceWithin :: Ctx -> Maybe Span -> Doc -> Doc
-fenceWithin _ Nothing d = d
-fenceWithin _ (Just s) d = fence s d
+keywordAt ::
+  -- | Where it was written.
+  Maybe Span ->
+  -- | The keyword.
+  Text ->
+  Doc
+keywordAt s = maybe id located s . txt
 
--- | Lay a region out as it was written, and claim nothing.
+-- | Lay a region out broken where it was written over several lines, and
+-- otherwise flat where it fits within the column limit, claiming nothing.
 --
--- The region decides one thing—whether what is printed here goes on one
--- line or several. The lines of a quasi-quotation count as one, since they
--- are reproduced rather than laid out.
+-- The lines of a quasi-quotation count as one, since they are reproduced
+-- rather than laid out.
 layoutFrom :: Ctx -> Maybe Span -> Doc -> Doc
 layoutFrom ctx s
-  | maybe True (writtenOnOneLine ctx) s = flat
+  | maybe True (writtenOnOneLine ctx) s = frangible
   | otherwise = broken
 
--- | Lay a construct out from the region its contents occupy rather than the
--- region it occupies.
-layoutWithin ::
-  -- | The context.
-  Ctx ->
-  -- | The whole construct, delimiters included. Where comments are looked
-  -- for.
-  Maybe Span ->
-  -- | What it holds, delimiters left out.
-  Maybe Span ->
-  Doc ->
-  Doc
-layoutWithin ctx whole contents d
-  | any (holdsLineComment ctx) whole = broken d
-  | otherwise = layoutFrom ctx contents d
-
 -- | 'layoutFrom' over the region several located things cover.
-layoutAcross :: (HasLoc l) => Ctx -> [GenLocated l a] -> Doc -> Doc
+layoutAcross :: HasLoc l => Ctx -> [GenLocated l a] -> Doc -> Doc
 layoutAcross ctx xs = layoutFrom ctx (spansOf xs)
 
--- | 'attach' an operator and its operand, leaving the operator's region at
--- the end of the line when it was written there, so that the comments
--- written around it stay on that line, and giving the indentation of the
--- operand's line a region, so that those above the operand come before it.
+-- | 'attach' an operator and its operand, placed on their line as told,
+-- leaving the operator's region at the end of the line when it was written
+-- there, so that the comments written around it stay on that line, and
+-- giving the indentation of the operand's line a region, so that those
+-- above the operand come before it.
 attachOperator ::
+  -- | How the operator and its operand attach to what they follow.
   Placement ->
+  -- | How their line is placed.
+  (Doc -> Doc) ->
   -- | What the operator follows.
   Maybe Span ->
   -- | The operator.
@@ -352,20 +339,62 @@
   -- | Its operand, printed.
   Doc ->
   Doc
-attachOperator placement before here after op operand = case here of
-  Just s
-    | placement == Normal,
-      sameLine before here,
-      not (sameLine here after) ->
-        indent (located s mempty)
-          <> attach
-            Normal
-            (foldMap indentation after <> unclaimed op <> space <> operand)
-  _ -> attach placement (op <> space <> operand)
-  where
-    indentation o =
-      located (mkSpan (spanStartLine o, 1) (startPoint o)) mempty
+attachOperator placement placing before here after op operand =
+  case here of
+    Just s
+      | placement == Normal,
+        sameLine before here,
+        not (sameLine here after) ->
+          located s mempty
+            <> attach
+              Normal
+              ( placing
+                  ( foldMap indentation after
+                      <> leadingOperator (unclaimed op)
+                      <> space
+                      <> operand
+                  )
+              )
+    _ -> attach placement (placing (leadingOperator op <> space <> operand))
 
+-- | The @::@, @=>@ or @->@ that joins two parts of a type, at the end of a
+-- line or at the start of the next one, as the project asks.
+joinedByArrow ::
+  -- | The context.
+  Ctx ->
+  -- | Where the line may break.
+  Doc ->
+  -- | What the arrow follows.
+  Maybe Span ->
+  -- | What it leads to.
+  Maybe Span ->
+  -- | The arrow.
+  Text ->
+  Doc
+joinedByArrow ctx separator before after arrow = case ctxArrowStyle ctx of
+  TrailingArrows -> trailing (txt arrow) <> separator
+  LeadingArrows ->
+    separator
+      <> lineLed before after
+      <> leading (txt arrow)
+
+-- | A region over the indentation of the line a part begins, where that
+-- line is below the part before it, so that the comments written above it
+-- come before what leads it.
+lineLed ::
+  -- | The part before.
+  Maybe Span ->
+  -- | The part.
+  Maybe Span ->
+  Doc
+lineLed before after = case (before, after) of
+  (Just b, Just a) | spanEndLine b < spanStartLine a -> indentation a
+  _ -> mempty
+
+-- | A region over the indentation of the line a span begins on.
+indentation :: Span -> Doc
+indentation s = located (mkSpan (spanStartLine s, 1) (startPoint s)) mempty
+
 -- | Was the region written on one line, the lines of a quasi-quotation
 -- counting as one?
 writtenOnOneLine :: Ctx -> Span -> Bool
@@ -375,12 +404,12 @@
       n >= spanEndLine s
         || maybe False from (quoteEndingFrom n (ctxSource ctx))
 
--- | Does a comment that ends its line begin inside this span?
-holdsLineComment :: Ctx -> Span -> Bool
-holdsLineComment ctx s =
-  case Map.lookupGE (startPoint s) (ctxLineComments ctx) of
-    Just (start, _) -> start < endPoint s
-    Nothing -> False
+-- | What was written at a span within one line.
+writtenAt :: Ctx -> Span -> Maybe Text
+writtenAt ctx s = do
+  l <- lineAt (spanStartLine s) (sourceLines (ctxSource ctx))
+  let from = offsetOf l (spanStartColumn s)
+  pure (T.take (offsetOf l (spanEndColumn s) - from) (T.drop from l))
 
 ----------------------------------------------------------------------------
 -- Haddocks
diff --git a/src/Tilia/Render/Data.hs b/src/Tilia/Render/Data.hs
--- a/src/Tilia/Render/Data.hs
+++ b/src/Tilia/Render/Data.hs
@@ -13,18 +13,19 @@
 where
 
 import Data.Choice (Choice, fromBool, isTrue, pattern Do, pattern Isn't)
-import Data.List.NonEmpty (NonEmpty (..))
 import Data.List.NonEmpty qualified as NE
-import Data.Maybe (isJust, isNothing, mapMaybe, maybeToList)
+import Data.Maybe (isJust, isNothing, listToMaybe, mapMaybe)
 import GHC.Hs
 import GHC.Types.Fixity (LexicalFixity (..))
 import GHC.Types.ForeignCall (CType (..), Header (..))
 import GHC.Types.Name.Reader (RdrName)
 import GHC.Types.SrcLoc (GenLocated (..), unLoc)
+import Prelude hiding (break)
+
 import Tilia.Doc.Combinators
+import Tilia.Render.Block
 import Tilia.Render.Context
 import Tilia.Render.Haddock
-import Tilia.Render.Layout
 import Tilia.Render.Name
 import Tilia.Render.Type
 import Tilia.Span
@@ -51,131 +52,182 @@
   (tyVar -> Doc) ->
   -- | Was the head written infix?
   LexicalFixity ->
+  -- | Where the parentheses around the head were written, where there are
+  -- any.
+  (Maybe Span, Maybe Span) ->
   -- | The @forall@ a family instance may bind its variables with, which an
   -- ordinary declaration does not have and passes as 'mempty'.
   Doc ->
+  -- | The rest of the declaration.
   HsDataDefn GhcPs ->
   Doc
-dataDecl ctx instanceWord tyCon tyVars tyVarSpan renderTyVar fixity outerBinders HsDataDefn{..} =
-  txt (keyword <> if isTrue instanceWord then " instance" else "")
-    <> header
-    <> constructors
-    <> derivings
-  where
-    keyword = case dd_cons of
-      NewTypeCon _ -> "newtype"
-      DataTypeCons False _ -> "data"
-      DataTypeCons True _ -> "type data"
+dataDecl
+  ctx
+  instanceWord
+  tyCon
+  tyVars
+  tyVarSpan
+  renderTyVar
+  fixity
+  headParens
+  outerBinders
+  HsDataDefn{..} =
+    keywords <> header <> constructors <> derivings
+    where
+      keywords =
+        refAt
+          ( spanOf (andd_type dd_ext)
+              <> spanOf (andd_newtype dd_ext)
+              <> spanOf (andd_data dd_ext)
+              <> spanOf (andd_instance dd_ext)
+          )
+          (txt (keyword <> if isTrue instanceWord then " instance" else ""))
+      keyword = case dd_cons of
+        NewTypeCon _ -> "newtype"
+        DataTypeCons False _ -> "data"
+        DataTypeCons True _ -> "type data"
 
-    headSpan = spanOf tyCon <> foldMap tyVarSpan tyVars
-    wholeHeadSpan =
-      headSpan
-        <> foldMap spanOf dd_kindSig
-        <> foldMap spanOf dd_ctxt
-        <> foldMap spanOf dd_cType
+      headSpan = spanOf tyCon <> foldMap tyVarSpan tyVars
+      wholeHeadSpan =
+        headSpan
+          <> foldMap spanOf dd_kindSig
+          <> foldMap spanOf dd_ctxt
+          <> foldMap spanOf dd_cType
 
-    header =
-      layoutFrom ctx wholeHeadSpan . indent $
-        foreignType
-          <> breakOrSpace
-          <> outerBinders
-          <> foldMap (leftContext ctx) dd_ctxt
-          <> layoutFrom
-            ctx
-            headSpan
-            ( defHead
-                (fromBool (fixity == Infix))
-                (Do #indentArgs)
-                (name ctx tyCon)
-                (fmap renderTyVar tyVars)
-            )
-          <> foldMap kindSignature dd_kindSig
+      header =
+        layoutFrom ctx wholeHeadSpan . indent 1 (ptr keywords) $
+          foreignType
+            <> break
+            <> outerBinders
+            <> foldMap (leftContext ctx headSpan) dd_ctxt
+            <> kinded
+              ( typeHead
+                  ctx
+                  0
+                  headParens
+                  fixity
+                  tyCon
+                  tyVarSpan
+                  renderTyVar
+                  tyVars
+              )
+            <> includeWhen
+              (isJust (spanOf (andd_where dd_ext)))
+              (break <> txt "where")
 
-    kindSignature k =
-      joinedBy "::" <> indent (hsType ctx k)
+      kinded h = case dd_kindSig of
+        Just k -> h >+> typeAscription ctx headSpan (asSigType k)
+        Nothing -> h
 
-    foreignType = case unLoc <$> dd_cType of
-      Nothing -> mempty
-      Just (CType prag header' (type_, _)) ->
-        breakOrSpace
-          <> sourceText prag
-          <> foldMap (\(Header h _) -> space <> sourceText h) header'
-          <> space
-          <> sourceText type_
-          <> txt " #-}"
+      foreignType = case unLoc <$> dd_cType of
+        Nothing -> mempty
+        Just (CType _ header' (type_, _)) ->
+          break
+            <> txt "{-# CTYPE"
+            <> foldMap (\(Header h _) -> space <> sourceText h) header'
+            <> space
+            <> sourceText type_
+            <> txt " #-}"
 
-    cons = case dd_cons of
-      NewTypeCon c -> [c]
-      DataTypeCons _ cs -> cs
+      cons = case dd_cons of
+        NewTypeCon c -> [c]
+        DataTypeCons _ cs -> cs
 
-    isGadt = isJust dd_kindSig || any (isGadtCon . unLoc) cons
+      isGadt = isJust dd_kindSig || any (isGadtCon . unLoc) cons
 
-    constructors = case cons of
-      [] -> mempty
-      (firstCon : _)
-        | isGadt ->
-            indent $
-              layoutFrom ctx wholeHeadSpan (breakOrSpace <> txt "where")
-                <> breakOrSpace
-                <> items
-                  (if null (drop 1 cons) then NoBrace else MayBrace)
-                  (fmap (at_ ctx (conDecl ctx (Isn't #singleRecCon))) cons)
-        | otherwise ->
-            layoutFrom ctx (spanOf tyCon <> spansOf cons) . indent $
-              beforeEquals
-                <> txt "="
-                <> space
-                <> fenceWithin ctx (fmap endOf equalsSpan <> spansOf cons) alternatives
-        where
-          singleRecCon = case cons of
-            [L _ ConDeclH98{con_args = RecCon{}}] -> True
-            _ -> False
-          compactAroundEquals =
-            sameLine (spanOf tyCon) (conNamesSpan (unLoc firstCon))
-          conNamesSpan = \case
-            ConDeclGADT{..} -> spansOf (NE.toList con_names)
-            ConDeclH98{..} -> spanOf con_name
+      constructors = case cons of
+        [] -> mempty
+        (firstCon : _)
+          | isGadt ->
+              indent 1 (ptr keywords) $
+                break
+                  <> items
+                    (if null (drop 1 cons) then NoBrace else MayBrace)
+                    (fmap (at_ ctx (conDecl ctx)) cons)
+          | otherwise ->
+              layoutFrom ctx (fmap endOf wholeHeadSpan <> spansOf cons)
+                . indent 1 (ptr keywords)
+                $ beforeEquals
+                  <> leading (txt "=")
+                  <> alternatives
+          where
+            singleRecCon = case cons of
+              [L _ ConDeclH98{con_args = RecCon{}}] -> True
+              _ -> False
+            compactAroundEquals =
+              sameLine
+                (fmap endOf wholeHeadSpan)
+                (fmap startOf (spanOf firstCon))
 
-          equalsSpan = spanOf (andd_equal dd_ext)
+            equalsSpan = spanOf (andd_equal dd_ext)
 
-          lineHaddocks = any (printsWholeLineDocs ctx . visibleDocs . unLoc) cons
+            lineHaddocks = any (endsALine . unLoc) cons
+            endsALine = \case
+              ConDeclH98{..} ->
+                isJust con_doc
+                  || not singleRecCon && argumentsDocumented ctx con_args
+              ConDeclGADT{} -> False
 
-          beforeEquals
-            | lineHaddocks = hardBreak
-            | singleRecCon && compactAroundEquals = space
-            | otherwise = breakOrSpace
+            beforeEquals
+              | lineHaddocks = newline
+              | singleRecCon && compactAroundEquals = space
+              | otherwise = break
 
-          separator
-            | lineHaddocks = hardBreak <> txt "|" <> space
-            | otherwise = breakOrSpace <> txt "|" <> space
+            separator
+              | lineHaddocks = newline <> leadingBar
+              | otherwise = break <> leadingBar
 
-          keepTogether
-            | lineHaddocks || not singleRecCon = align
-            | otherwise = id
+            keepTogether
+              | lineHaddocks || not singleRecCon || not compactAroundEquals =
+                  align
+              | otherwise = id
 
-          alternatives =
-            sepBy
+            alternatives =
+              fence
+                (fmap endOf equalsSpan <> spanOf firstCon)
+                (keepTogether (constructor firstCon))
+                <> mconcat (zipWith alternative cons (drop 1 cons))
+            alternative previous c =
               separator
-              ( fmap
-                  (keepTogether . at_ ctx (conDecl ctx (fromBool singleRecCon)))
-                  cons
-              )
-    derivings =
-      includeUnless (null dd_derivs) beforeDerivings
-        <> indent (vsep (fmap (at_ ctx (derivingClause ctx)) dd_derivs))
-    beforeDerivings
-      | length dd_derivs > 1 = hardBreak
-      | otherwise = breakOrSpace
+                <> keepTogether
+                  (fromItsBar (barAfter previous <> spanOf c) (constructor c))
+              where
+                fromItsBar
+                  | sameLine (spanOf previous) (barAfter previous) = fence
+                  | otherwise = maybe id located
+            constructor = at_ ctx (conDecl ctx)
+      derivings =
+        includeUnless (null dd_derivs) beforeDerivings
+          <> indent
+            1
+            (ptr keywords)
+            (sepBy newline (fmap (at_ ctx (derivingClause ctx)) dd_derivs))
+      beforeDerivings
+        | length dd_derivs > 1 = newline
+        | otherwise = break
 
--- | The documentation a constructor's own layout has to make room for.
-visibleDocs :: ConDecl GhcPs -> [LHsDoc GhcPs]
-visibleDocs = \case
-  ConDeclH98{..} ->
-    maybeToList con_doc <> case con_args of
-      PrefixCon xs -> mapMaybe cdf_doc xs
-      _ -> []
-  ConDeclGADT{} -> []
+-- | Do the Haddocks of a constructor's arguments or fields take whole
+-- lines?
+argumentsDocumented ::
+  -- | The context.
+  Ctx ->
+  -- | The arguments or the fields.
+  HsConDeclH98Details GhcPs ->
+  Bool
+argumentsDocumented ctx = \case
+  PrefixCon xs -> printsWholeLineDocs ctx (Isn't #under) (mapMaybe cdf_doc xs)
+  RecCon l ->
+    printsWholeLineDocs
+      ctx
+      (fieldsUnder ctx)
+      (mapMaybe (fieldDoc . unLoc) (unLoc l))
+  InfixCon{} -> False
 
+-- | Where the bar after a constructor was written.
+barAfter :: LConDecl GhcPs -> Maybe Span
+barAfter (L l _) =
+  listToMaybe [s | AddVbarAnn t <- lann_trailing (anns l), Just s <- [spanOf t]]
+
 -- | Is this a GADT constructor?
 isGadtCon :: ConDecl GhcPs -> Bool
 isGadtCon = \case
@@ -183,128 +235,189 @@
   ConDeclH98{} -> False
 
 -- | One constructor.
-conDecl :: Ctx -> Choice "singleRecCon" -> ConDecl GhcPs -> Doc
-conDecl ctx _ ConDeclGADT{..} =
-  foldMap (haddock ctx Pipe Closed) con_doc
-    <> layoutFrom ctx declSpan (brokenIfDocumented ctx documented body)
+conDecl ::
+  -- | The context.
+  Ctx ->
+  -- | The constructor.
+  ConDecl GhcPs ->
+  Doc
+conDecl ctx ConDeclGADT{..} =
+  foldMap ((<> newline) . haddock ctx Pipe) con_doc
+    <> layoutFrom ctx declSpan (brokenForDocs body)
   where
-    documented = (con_g_args, con_res_ty)
+    brokenForDocs = if documented then broken else id
+    documented = case con_g_args of
+      PrefixConGADT _ _ ->
+        printsWholeLineDocs ctx argumentsUnder (con_g_args, con_res_ty)
+      RecConGADT _ x ->
+        argumentsDocumented ctx (RecCon x)
+          || printsWholeLineDocs ctx argumentsUnder con_res_ty
+    argumentsUnder = fromBool (ctxArrowStyle ctx == LeadingArrows)
 
-    c :| cs = con_names
     body =
-      name ctx c
-        <> includeUnless
-          (null cs)
-          (indent (comma <> breakOrSpace <> commaSep (fmap (name ctx) cs)))
-        <> joinedBy "::"
-        <> indent (layoutFrom ctx sigSpan (brokenIfDocumented ctx documented signature))
+      ascribedNames ctx (Do #indentTail) con_names sigSpan . brokenForDocs $
+        joinedByArrow
+          ctx
+          break
+          (spansOf (NE.toList con_names))
+          sigSpan
+          (reserved ctx "::")
+          <> layoutFrom
+            ctx
+            sigSpan
+            (brokenForDocs signature)
 
     signature =
-      outerBndrs ctx breakOrSpace (unLoc con_outer_bndrs)
-        <> foldMap (\tele -> forallTelescope ctx tele <> breakOrSpace) con_inner_bndrs
-        <> foldMap
-          (\qs -> context ctx qs <> joinedBy "=>")
-          con_mb_cxt
-        <> layoutFrom ctx argResSpan (brokenIfDocumented ctx documented argsAndResult)
+      outerBndrs ctx break afterOuter (unLoc con_outer_bndrs)
+        <> foldMap (forallTelescope ctx break afterInner) con_inner_bndrs
+        <> foldMap (leftContext ctx argResSpan) con_mb_cxt
+        <> layoutFrom
+          ctx
+          argResSpan
+          (brokenForDocs argsAndResult)
+    afterInner = foldMap spanOf con_mb_cxt <> argResSpan
+    afterOuter = foldMap telescopeSpan con_inner_bndrs <> afterInner
+    telescopeSpan = \case
+      HsForAllInvis _ bndrs -> spansOf bndrs
+      HsForAllVis _ bndrs -> spansOf bndrs
 
     argsAndResult = arguments <> resultType
 
     -- GHC keeps a GADT's result type without the brackets it was written
-    -- with, and three shapes need them back: a kind signature, as
-    -- @MkT :: Int -> T :: Star@ does not parse, and a @forall@ or a context
-    -- making up the whole signature, which would be read as the
-    -- constructor's own.
-    resultType = case unLoc con_res_ty of
-      HsKindSig{} -> parens (hsType ctx con_res_ty)
-      HsForAllTy{} | standsAlone -> parens (hsType ctx con_res_ty)
-      HsQualTy{} | standsAlone -> parens (hsType ctx con_res_ty)
-      _ -> hsType ctx con_res_ty
+    -- with, under its Haddock too, and three shapes need them back: a kind
+    -- signature, as @MkT :: Int -> T :: Star@ does not parse, and a @forall@
+    -- or a context making up the whole signature, which would be read as
+    -- the constructor's own.
+    resultType = signaturePart ctx (written . bracketed) con_res_ty
+    bracketed t = case unLoc t of
+      HsKindSig{} -> parens resultBrackets (hsType ctx t)
+      HsForAllTy{} | standsAlone -> parens resultBrackets (hsType ctx t)
+      HsQualTy{} | standsAlone -> parens resultBrackets (hsType ctx t)
+      _ -> hsType ctx t
+    written = maybe id located (uncurry (<>) resultBrackets)
+    resultBrackets = case (acdg_openp con_g_ext, acdg_closep con_g_ext) of
+      (o : _, c : _)
+        | fmap endPoint argsSpan <= fmap startPoint (spanOf o) ->
+            (spanOf o, spanOf c)
+      _ -> (Nothing, Nothing)
     standsAlone = case (unLoc con_outer_bndrs, con_g_args) of
       (HsOuterImplicit{}, PrefixConGADT _ []) ->
         null con_inner_bndrs && null con_mb_cxt
       _ -> False
     arguments = case con_g_args of
-      PrefixConGADT NoExtField xs -> foldMap argument xs
+      PrefixConGADT NoExtField xs ->
+        mconcat
+          ( zipWith
+              argument
+              xs
+              (fmap (spanOf . cdf_type) (drop 1 xs) <> [spanOf con_res_ty])
+          )
       RecConGADT _ x ->
-        recordFieldsAt ctx x <> joinedBy "->"
-    argument x =
-      documentedConDeclField ctx x
-        <> space
-        <> multiplicity (hsType ctx) (cdf_multiplicity x)
-        <> joinedBy "->"
+        recordFieldsAt ctx x
+          <> joinedByArrow
+            ctx
+            break
+            (spanOf x)
+            (spanOf con_res_ty)
+            (reserved ctx "->")
+    argument x next =
+      documentedArgument x
+        <> joinedByFunctionArrow
+          ctx
+          (hsType ctx)
+          break
+          (spanOf (cdf_type x))
+          next
+          (cdf_multiplicity x)
+    documentedArgument x = case ctxArrowStyle ctx of
+      TrailingArrows -> documentedConDeclField ctx x
+      LeadingArrows ->
+        conDeclField ctx x
+          <> foldMap (\d -> newline <> haddock ctx Caret d) (cdf_doc x)
 
     declSpan = spansOf (NE.toList con_names) <> sigSpan
     sigSpan = spanOf con_outer_bndrs <> foldMap spanOf con_mb_cxt <> argResSpan
-    argResSpan =
-      spanOf con_res_ty <> case con_g_args of
-        PrefixConGADT NoExtField xs -> spansOf (fmap cdf_type xs)
-        RecConGADT _ x -> spanOf x
-conDecl ctx singleRecCon ConDeclH98{..} = case con_args of
+    argResSpan = spanOf con_res_ty <> argsSpan
+    argsSpan = case con_g_args of
+      PrefixConGADT NoExtField xs -> spansOf (fmap cdf_type xs)
+      RecConGADT _ x -> spanOf x
+conDecl ctx ConDeclH98{..} = case con_args of
   PrefixCon xs ->
     ownDoc
       <> existentials
-      <> layoutFrom
-        ctx
-        declSpan
-        ( brokenIfDocumented ctx xs $
-            name ctx con_name
-              <> includeUnless (null xs) breakOrSpace
-              <> indent (align (sepBy breakOrSpace (fmap (align . documentedConDeclField ctx) xs)))
+        ( brokenForDocs $
+            if null xs
+              then name ctx con_name
+              else
+                name ctx con_name
+                  >+> break
+                    <> align
+                      ( sepBy
+                          break
+                          (fmap (align . documentedConDeclField ctx) xs)
+                      )
         )
   RecCon l ->
     ownDoc
       <> existentials
-      <> layoutFrom
-        ctx
-        declSpan
-        ( name ctx con_name
-            <> breakOrNothing
-            <> nest (if isTrue singleRecCon then 0 else 1) (recordFieldsAt ctx l)
+        ( brokenForDocs $
+            name ctx con_name >+> break' <> recordFieldsAt ctx l
         )
   InfixCon l r ->
     includeWhen docOnTop ownDoc
       <> existentials
-      <> layoutFrom
-        ctx
-        declSpan
         ( leftArgument l
-            <> indent
-              ( includeUnless docOnTop ownDoc
-                  <> name ctx con_name
-                  <> rightDoc r
-                  <> conDeclField ctx r
-              )
+            >+> includeUnless docOnTop ownDoc
+              <> name ctx con_name
+              <> rightDoc r
+              <> conDeclField ctx r
         )
     where
       docOnTop = isNothing (cdf_doc l) && isNothing (cdf_doc r)
       leftArgument x
         | isJust con_doc =
-            foldMap (haddock ctx Pipe Closed) (cdf_doc x)
+            foldMap ((<> newline) . haddock ctx Pipe) (cdf_doc x)
               <> conDeclField ctx x
-              <> breakOrSpace
+              <> break
         | otherwise =
             conDeclField ctx x
               <> case cdf_doc x of
                 Just d -> space <> haddockInline ctx Caret d
-                Nothing -> breakOrSpace
+                Nothing -> break
       rightDoc x = case cdf_doc x of
-        Just d -> hardBreak <> haddock ctx Pipe Closed d
-        Nothing -> breakOrSpace
+        Just d -> newline <> haddock ctx Pipe d <> newline
+        Nothing -> break
   where
-    ownDoc = foldMap (haddock ctx Pipe Closed) con_doc
+    brokenForDocs = if argumentsDocumented ctx con_args then broken else id
 
-    existentials =
-      layoutFrom ctx contextSpan $
-        includeWhen
-          con_forall
-          (forallBndrs ctx Invisible (tyVarBndr ctx) con_ex_tvs <> breakOrSpace)
-          <> foldMap (leftContext ctx) con_mb_cxt
+    ownDoc = foldMap ((<> newline) . haddock ctx Pipe) con_doc
 
+    existentials body
+      | con_forall || isJust con_mb_cxt =
+          layoutFrom ctx contextSpan $
+            includeWhen
+              con_forall
+              ( quantifier
+                  ctx
+                  break
+                  Invisible
+                  (maybe (spanOf con_name) spanOf con_mb_cxt)
+                  con_ex_tvs
+              )
+              <> foldMap (leftContext ctx (spanOf con_name)) con_mb_cxt
+              <> variant laidOut (align laidOut)
+      | otherwise = laidOut
+      where
+        laidOut = layoutFrom ctx declSpan body
+
     contextSpan =
       spanOfSrcSpan (getHasLoc (acdh_forall con_ext))
         <> spansOf con_ex_tvs
         <> foldMap spanOf con_mb_cxt
-        <> spanOf con_name
+        <> fmap startOf (spanOf con_name <> leftOperand)
+    leftOperand = case con_args of
+      InfixCon l _ -> spanOf (cdf_type l)
+      _ -> Nothing
 
     declSpan = spanOf con_name <> argSpans
     argSpans = case con_args of
@@ -313,57 +426,95 @@
       InfixCon x y -> spansOf (fmap cdf_type [x, y])
 
 -- | One @deriving@ clause, with the strategy it was written with.
-derivingClause :: Ctx -> HsDerivingClause GhcPs -> Doc
+derivingClause ::
+  -- | The context.
+  Ctx ->
+  -- | The clause.
+  HsDerivingClause GhcPs ->
+  Doc
 derivingClause ctx HsDerivingClause{..} =
-  brokenIfDocumented ctx deriv_clause_tys $
-    txt "deriving" <> space <> strategy
+  brokenForDocs $ keyword <> space <> strategy
   where
+    brokenForDocs = if documented then broken else id
+    documented = printsWholeLineDocs ctx (Isn't #under) deriv_clause_tys
     what =
       at ctx deriv_clause_tys $ \tys ->
-        brokenIfDocumented ctx tys $ case tys of
-          DctSingle NoExtField sigTy -> parens (hsSigType ctx sigTy)
+        brokenForDocs $ case tys of
+          DctSingle NoExtField sigTy ->
+            parens (contextParens deriv_clause_tys) (hsSigType ctx sigTy)
           DctMulti NoExtField sigTys ->
-            parens . insideBrackets (spanOf deriv_clause_tys) $
-              commaSep (fmap (align . hsSigType ctx) sigTys)
+            parens (contextParens deriv_clause_tys)
+              . insideBrackets (spanOf deriv_clause_tys)
+              $ commaSep
+                (ctxCommaStyle ctx)
+                (fmap (align . hsSigType ctx) sigTys)
 
+    keyword = refAt (spanOf deriv_clause_ext) (txt "deriving")
     strategy = case deriv_clause_strategy of
-      Nothing -> breakOrSpace <> indent what
+      Nothing -> break <> indent 1 (ptr keyword) what
       Just (L _ s) -> case s of
-        StockStrategy _ -> named "stock"
-        AnyclassStrategy _ -> named "anyclass"
-        NewtypeStrategy _ -> named "newtype"
-        ViaStrategy (XViaStrategyPs _ sigTy) ->
-          breakOrSpace
+        StockStrategy tok -> named tok "stock"
+        AnyclassStrategy tok -> named tok "anyclass"
+        NewtypeStrategy tok -> named tok "newtype"
+        ViaStrategy (XViaStrategyPs tok sigTy) ->
+          break
             <> indent
+              1
+              (ptr keyword)
               ( what
-                  <> breakOrSpace
-                  <> txt "via"
+                  <> break
+                  <> keywordAt (spanOf tok) "via"
                   <> space
                   <> hsSigType ctx sigTy
               )
       where
-        named kw = txt kw <> breakOrSpace <> indent what
+        named tok kw =
+          indent 1 (ptr keyword) (keywordAt (spanOf tok) kw)
+            <> break
+            <> indent 1 (ptr keyword) what
 
 -- | @type T a = …@.
 synDecl ::
+  -- | The context.
   Ctx ->
+  -- | Where its keyword and the parentheses around its head were.
+  AnnSynDecl ->
+  -- | The synonym's name.
   LocatedN RdrName ->
+  -- | Was its head written infix?
   LexicalFixity ->
+  -- | Its type variables.
   LHsQTyVars GhcPs ->
+  -- | What it stands for.
   LHsType GhcPs ->
   Doc
-synDecl ctx tyCon fixity HsQTvs{..} rhs =
-  txt "type"
-    <> space
-    <> layoutFrom
-      ctx
-      (spanOf tyCon <> spansOf hsq_explicit)
-      ( defHead
-          (fromBool (fixity == Infix))
-          (Do #indentArgs)
-          (name ctx tyCon)
-          (fmap (at_ ctx (tyVarBndr ctx)) hsq_explicit)
+synDecl ctx written tyCon fixity HsQTvs{..} rhs =
+  keyword
+    <> indent
+      1
+      (ptr keyword)
+      ( space
+          <> layoutFrom
+            ctx
+            headSpan
+            ( defHead
+                0
+                (outerBracketSpans (asd_opens written) (asd_closes written))
+                (fromBool (fixity == Infix))
+                (name ctx tyCon)
+                (fmap (at_ ctx (tyVarBndr ctx)) hsq_explicit)
+            )
       )
-    <> indent (space <> txt "=" <> separator <> hsType ctx rhs)
+    <> indent
+      1
+      (ptr keyword)
+      ( trailing (txt "=")
+          <> layoutFrom
+            ctx
+            (fmap endOf headSpan <> spanOf rhs)
+            (separator <> hsType ctx rhs)
+      )
   where
+    keyword = refAt (spanOf (asd_type written)) (txt "type")
+    headSpan = spanOf tyCon <> spansOf hsq_explicit
     separator = typeBreak (typeIsDocumented (unLoc rhs))
diff --git a/src/Tilia/Render/Declaration.hs b/src/Tilia/Render/Declaration.hs
--- a/src/Tilia/Render/Declaration.hs
+++ b/src/Tilia/Render/Declaration.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE DataKinds #-}
 {-# LANGUAGE LambdaCase #-}
 {-# LANGUAGE OverloadedLabels #-}
 {-# LANGUAGE OverloadedStrings #-}
@@ -7,14 +8,17 @@
 -- | Declarations: dispatching to the right printer, and grouping.
 module Tilia.Render.Declaration
   ( decls,
-    declsKeepingGroups,
+    topLevelDecls,
   )
 where
 
 import Data.Choice (pattern Don't)
+import Data.Foldable (toList)
 import Data.List (sort)
 import Data.List.NonEmpty (NonEmpty (..), (<|))
 import Data.List.NonEmpty qualified as NE
+import Data.Maybe (listToMaybe, mapMaybe)
+import Data.Text qualified as T
 import GHC.Data.FastString (unpackFS)
 import GHC.Hs
 import GHC.Types.ForeignCall (CExportSpec (..))
@@ -22,76 +26,170 @@
 import GHC.Types.Name.Reader (RdrName, rdrNameOcc)
 import GHC.Types.SourceText
 import GHC.Types.SrcLoc (GenLocated (..), isGoodSrcSpan, unLoc)
+import Prelude hiding (break)
+
+import Tilia.Doc (printsOnOneLine)
 import Tilia.Doc.Combinators
+import Tilia.Render.Block
 import Tilia.Render.Class
 import Tilia.Render.Context
 import Tilia.Render.Data
 import Tilia.Render.Expression
 import Tilia.Render.Haddock
-import Tilia.Render.Layout
 import Tilia.Render.Literal (stringLiteral)
 import Tilia.Render.Name
 import Tilia.Render.Pragma
 import Tilia.Render.Signature
 import Tilia.Render.Type
-import Tilia.Source (SourceType (..))
+import Tilia.Source (SourceType (..), blankAt, lineAt, sourceLines)
+import Tilia.Span
 import Tilia.Span.Ghc
 
--- | A run of declarations standing on their own, with blank lines wherever
--- we think they belong.
-decls :: Ctx -> [LHsDecl GhcPs] -> Doc
-decls ctx = declRun Disregard ctx Free
+-- | The top-level declarations of a module, with the lines a
+-- @{- TILIA_OFF -}@ leaves as written printed as written.
+topLevelDecls ::
+  -- | The context.
+  Ctx ->
+  -- | The first and last line of each stretch a @{- TILIA_OFF -}@ leaves as
+  -- written.
+  [(Int, Int)] ->
+  -- | The declarations.
+  [LHsDecl GhcPs] ->
+  Doc
+topLevelDecls ctx magicCommentRanges ds = case magicCommentRanges of
+  [] -> decls ctx Free ds
+  kept -> sepBy newline (zipWith joined (Nothing : fmap Just ps) ps)
+    where
+      ps = pieces kept ds
+  where
+    ls = sourceLines (ctxSource ctx)
+    joined previous piece =
+      includeWhen gap (declDelimiter DeclSeparate) <> printed piece
+      where
+        gap = any (`blankAt` ls) (gapAbove piece <> foldMap gapBelow previous)
+    gapAbove = \case
+      Preserved from _ -> [from - 1]
+      Formatted _ -> []
+    gapBelow = \case
+      Preserved _ to -> [to + 1]
+      Formatted _ -> []
+    printed = \case
+      Formatted run -> decls ctx Free (NE.toList run)
+      Preserved from to ->
+        located
+          (mkSpan (from, 1) (to, maybe 1 ((+ 1) . T.length) (lineAt to ls)))
+          ( verbatimLines AtMargin KeepWhitespace $
+              mapMaybe (`lineAt` ls) [from .. to]
+          )
 
--- | A run of declarations in a class or an instance, which keeps the
--- author's grouping.
-declsKeepingGroups :: Ctx -> [LHsDecl GhcPs] -> Doc
-declsKeepingGroups ctx = declRun Respect ctx Associated
+-- | A part of the top-level declarations: those formatted together, or the
+-- lines a @{- TILIA_OFF -}@ leaves as written.
+data Piece
+  = -- | Declarations formatted together.
+    Formatted (NonEmpty (LHsDecl GhcPs))
+  | -- | The first and last line of a stretch left as written.
+    Preserved Int Int
 
--- | Whether the author's own blank lines are consulted.
-data Grouping
-  = Disregard
-  | Respect
-  deriving (Eq, Show)
+-- | Cut the top-level declarations at the lines left as written.
+pieces ::
+  -- | The first and last line of each stretch left as written.
+  [(Int, Int)] ->
+  -- | The declarations.
+  [LHsDecl GhcPs] ->
+  [Piece]
+pieces kept ds = case kept of
+  [] -> run ds
+  (from, to) : rest ->
+    let (before, after) = span (startsBefore from) ds
+     in run before
+          <> [Preserved from to]
+          <> pieces rest (dropWhile (startsBefore (to + 1)) after)
+  where
+    run = foldMap (pure . Formatted) . NE.nonEmpty
+    startsBefore n d = maybe False ((< n) . spanStartLine) (spanOf d)
 
--- | Render a declaration run while applying the requested 'Grouping'.
-declRun :: Grouping -> Ctx -> FamilyStyle -> [LHsDecl GhcPs] -> Doc
-declRun grouping ctx style ds =
+-- | A run of declarations, with an empty line wherever the author left one
+-- and between groups kept apart.
+--
+-- Standing on their own, the one-line declarations of one kind the author
+-- wrote together are kept together; in a class or an instance, the groups
+-- the author made are.
+decls ::
+  -- | The context.
+  Ctx ->
+  -- | Whether they stand on their own or in a class or an instance.
+  FamilyStyle ->
+  -- | The declarations.
+  [LHsDecl GhcPs] ->
+  Doc
+decls ctx style ds =
   items
     NoBrace
-    [ includeWhen gap breakOrSpace <> at_ ctx (hsDecl ctx style) d
-    | (previous, current) <- zip (Nothing : fmap Just groups) groups,
-      let gaps = any (`separate` current) previous : repeat False,
-      (gap, d) <- zip gaps (NE.toList current)
+    [ gap <> printed
+    | (current, above) <- zip groups (mempty : links),
+      (gap, (_, printed)) <- zip (above : repeat mempty) (NE.toList current)
     ]
   where
     isSignatureFile = ctxSourceType ctx == SignatureSource
-    groups = groupDecls ctx isSignatureFile ds
+    declaration d = at ctx d (hsDecl ctx style)
+    groups =
+      fmap (\d -> (d, declaration d))
+        <$> groupDecls ctx isSignatureFile ds
 
-    separate previous current =
-      not (remarkUnder ctx ended began || underHeading) && case grouping of
-        Disregard -> True
-        Respect ->
-          separatedByBlank ctx ended began
-            || isDocumented previous
-            || isDocumented current
+    -- The boundary between each two neighbouring groups: with the empty
+    -- line between them where there is one, and holding them on their
+    -- lines where they are written together and not kept apart.
+    links = zipWith link groups (drop 1 groups)
+    link previous current
+      | separatedByBlank ctx ended began = declDelimiter DeclSeparate
+      | isHeading (unLoc (fst (NE.last previous))) = together DeclAdjacent
+      | apart previous current = declDelimiter DeclSeparate
+      | otherwise = together DeclJoined
       where
-        ended = spanOf (NE.last previous)
-        began = spanOf (NE.head current)
-        underHeading =
-          isHeading (unLoc (NE.last previous))
-            && commentRightUnder ctx ended began
+        together = includeWhen (style == Free) . declDelimiter
+        ended = spanOf (fst (NE.last previous))
+        began = spanOf (fst (NE.head current))
 
-    isDocumented = any (isDocComment . unLoc)
-    isDocComment = \case
-      DocD _ (DocCommentNext _) -> True
-      DocD _ (DocCommentPrev _) -> True
-      _ -> False
     isHeading = \case
       DocD _ DocGroup{} -> True
       _ -> False
 
+    apart previous current = case style of
+      Free ->
+        kindOf previous /= kindOf current
+          || any standsApart (withoutDistantHaddock previous)
+          || any standsApart current
+      Associated -> any documented previous || any documented current
+    standsApart (d, printed) =
+      isDoc (unLoc d)
+        || not (printsOnOneLine Broken printed)
+    withoutDistantHaddock group = case NE.toList group of
+      (doc, _) : rest@((d, _) : _)
+        | DocD _ DocCommentNext{} <- unLoc doc,
+          directiveBetween ctx (spanOf doc) (spanOf d) ->
+            rest
+      xs -> xs
+    kindOf group =
+      listToMaybe
+        [ k
+        | (d, _) <- reverse (NE.toList group),
+          let k = fst (declKind (unLoc d)),
+          k /= PragmaDeclaration
+        ]
+    documented (d, _) = case unLoc d of
+      DocD _ (DocCommentNext _) -> True
+      DocD _ (DocCommentPrev _) -> True
+      _ -> False
+
 -- | Gather declarations that belong together.
-groupDecls :: Ctx -> Bool -> [LHsDecl GhcPs] -> [NonEmpty (LHsDecl GhcPs)]
+groupDecls ::
+  -- | The context.
+  Ctx ->
+  -- | Are these the declarations of a signature file?
+  Bool ->
+  -- | The declarations.
+  [LHsDecl GhcPs] ->
+  [NonEmpty (LHsDecl GhcPs)]
 groupDecls _ _ [] = []
 groupDecls ctx isSignatureFile (d : ds)
   | isDocNext (unLoc d) = case groupDecls ctx isSignatureFile ds of
@@ -100,33 +198,45 @@
         | isDoc (unLoc (NE.head g)) -> (d :| []) : g : gs
         | otherwise -> (d <| g) : gs
   | otherwise =
-      let (together, rest) = gather d ds
+      let (together, rest) = gather (d :| []) ds
        in (d :| together) : groupDecls ctx isSignatureFile rest
   where
-    gather previous = \case
+    gather gathered = \case
       current : more
-        | belongs previous current ->
-            let (together, rest) = gather current more
+        | belongs gathered current ->
+            let (together, rest) = gather (current <| gathered) more
              in (current : together, rest)
+      doc : current : more
+        | isDocNext (unLoc doc),
+          isPragma (NE.head gathered),
+          relatedDecls (NE.head gathered) current ->
+            let (together, rest) = gather (current <| doc <| gathered) more
+             in (doc : current : together, rest)
       remaining -> ([], remaining)
     isDocNext = \case
       DocD _ (DocCommentNext _) -> True
       _ -> False
-    isDoc = \case
-      DocD _ _ -> True
-      _ -> False
-    belongs previous current =
-      (not isSignatureFile && isSignatureSeries ctx previous current)
+    belongs gathered current =
+      (not isSignatureFile && isSignatureSeries previous current)
         || isSeries ctx previous current
-        || relatedDecls d current
+        || signsAcrossDirective ctx gathered current
+        || ( any (`relatedDecls` current) gathered
+               && not (separatedByBlank ctx (spanOf previous) (spanOf current))
+           )
         || relatedDecls previous current
+      where
+        previous = NE.head gathered
 
--- | A run of type signatures with nothing between them is a list, and a
--- list reads better without gaps in it.
-isSignatureSeries :: Ctx -> LHsDecl GhcPs -> LHsDecl GhcPs -> Bool
-isSignatureSeries ctx x@(L _ a) y@(L _ b) = case (a, b) of
-  (SigD _ TypeSig{}, SigD _ TypeSig{}) ->
-    not (commentPrintedBetween ctx (spanOf x) (spanOf y))
+-- | Type signatures one after another are a list, and a list reads better
+-- without gaps in it.
+isSignatureSeries ::
+  -- | The first declaration.
+  LHsDecl GhcPs ->
+  -- | The one after it.
+  LHsDecl GhcPs ->
+  Bool
+isSignatureSeries (L _ a) (L _ b) = case (a, b) of
+  (SigD _ TypeSig{}, SigD _ TypeSig{}) -> True
   _ -> False
 
 -- | Two standalone @deriving@ declarations, or two splices, the author ran
@@ -139,10 +249,30 @@
   where
     ranTogether = not (separatedByBlank ctx (spanOf x) (spanOf y))
 
+-- | A type signature and the binding under it, past any pragmas, that a
+-- directive separates with no empty line between, whatever each names.
+signsAcrossDirective ::
+  -- | The context.
+  Ctx ->
+  -- | The declarations gathered above the binding, the nearest first.
+  NonEmpty (LHsDecl GhcPs) ->
+  -- | The binding.
+  LHsDecl GhcPs ->
+  Bool
+signsAcrossDirective ctx above y =
+  case (unLoc y, NE.dropWhile isPragma above) of
+    (ValD _ FunBind{}, x@(L _ (SigD _ TypeSig{})) : _) ->
+      directiveBetween ctx (spanOf x) (spanOf y)
+        && not (separatedByBlank ctx (spanOf x) (spanOf y))
+    _ -> False
+
+-- | Is this declaration a pragma?
+isPragma :: LHsDecl GhcPs -> Bool
+isPragma = (== PragmaDeclaration) . fst . declKind . unLoc
+
 -- | The kinds of declaration that grouping distinguishes.
 data Kind
   = TypeSignature
-  | DefaultSignature
   | FunctionBody
   | PatternSignature
   | PatternDefinition
@@ -152,6 +282,15 @@
   | FamilyDeclaration
   | TypeSynonym
   | PragmaDeclaration
+  | FixityDeclaration
+  | InstanceDeclaration
+  | TypeInstance
+  | DataInstance
+  | DerivingDeclaration
+  | SpliceDeclaration
+  | ForeignDeclaration
+  | RoleAnnotation
+  | DefaultDeclaration
   | DocumentsPrevious
   | Unremarkable
   deriving (Eq, Show)
@@ -160,54 +299,82 @@
 declKind :: HsDecl GhcPs -> (Kind, [RdrName])
 declKind = \case
   SigD _ (TypeSig _ ns _) -> (TypeSignature, fmap unLoc ns)
-  SigD _ (ClassOpSig _ True ns _) -> (DefaultSignature, fmap unLoc ns)
-  SigD _ (ClassOpSig _ False ns _) -> (TypeSignature, fmap unLoc ns)
+  SigD _ (ClassOpSig _ _ ns _) -> (TypeSignature, fmap unLoc ns)
   SigD _ (PatSynSig _ ns _) -> (PatternSignature, fmap unLoc ns)
   SigD _ (InlineSig _ (L _ n) _) -> (PragmaDeclaration, [n])
   SigD _ (SCCFunSig _ (L _ n) _) -> (PragmaDeclaration, [n])
   SigD _ sig
     | Just n <- specialisedName sig -> (PragmaDeclaration, [n])
+  SigD _ CompleteMatchSig{} -> (PragmaDeclaration, [])
+  SigD _ (FixSig _ (FixitySig _ ns _)) -> (FixityDeclaration, fmap unLoc ns)
   ValD _ (FunBind _ (L _ n) _) -> (FunctionBody, [n])
-  ValD _ (PatBind _ p _ _) -> (FunctionBody, collectPatBinders CollNoDictBinders p)
+  ValD _ (PatBind _ p _ _) ->
+    (FunctionBody, collectPatBinders CollNoDictBinders p)
   ValD _ (PatSynBind _ (PSB _ (L _ n) _ _ _)) -> (PatternDefinition, [n])
-  AnnD _ (HsAnnotation _ (ValueAnnProvenance (L _ n)) _) -> (PragmaDeclaration, [n])
-  AnnD _ (HsAnnotation _ (TypeAnnProvenance (L _ n)) _) -> (PragmaDeclaration, [n])
+  AnnD _ (HsAnnotation _ (ValueAnnProvenance (L _ n)) _) ->
+    (PragmaDeclaration, [n])
+  AnnD _ (HsAnnotation _ (TypeAnnProvenance (L _ n)) _) ->
+    (PragmaDeclaration, [n])
+  AnnD _ (HsAnnotation _ ModuleAnnProvenance _) -> (PragmaDeclaration, [])
+  RuleD{} -> (PragmaDeclaration, [])
   WarningD _ (Warnings _ ws) ->
     (PragmaDeclaration, [unLoc n | L _ (Warning _ ns _) <- ws, n <- ns])
-  TyClD _ (DataDecl _ (L _ n) _ _ _) -> (DataDeclaration, [n])
-  TyClD _ (ClassDecl{tcdLName = L _ n}) -> (ClassDeclaration, [n])
+  TyClD _ d@(DataDecl _ (L _ n) _ _ _) -> (DataDeclaration, n : memberNames d)
+  TyClD _ d@ClassDecl{tcdLName = L _ n} -> (ClassDeclaration, n : memberNames d)
   TyClD _ (SynDecl _ (L _ n) _ _ _) -> (TypeSynonym, [n])
-  TyClD _ (FamDecl _ (FamilyDecl _ _ _ (L _ n) _ _ _ _)) -> (FamilyDeclaration, [n])
+  TyClD _ (FamDecl _ (FamilyDecl _ _ _ (L _ n) _ _ _ _)) ->
+    (FamilyDeclaration, [n])
   KindSigD _ (StandaloneKindSig _ (L _ n) _) -> (KindSignature, [n])
+  InstD _ (ClsInstD _ d) ->
+    ( InstanceDeclaration,
+      foldMap
+        (constructorNames . hsDataFamInstBinders . unLoc)
+        (cid_datafam_insts d)
+    )
+  InstD _ TyFamInstD{} -> (TypeInstance, [])
+  InstD _ (DataFamInstD _ d) ->
+    (DataInstance, constructorNames (hsDataFamInstBinders d))
+  DerivD{} -> (DerivingDeclaration, [])
+  SpliceD{} -> (SpliceDeclaration, [])
+  ForD _ d -> (ForeignDeclaration, unLoc <$> hsForeignDeclsBinders [noLocA d])
+  RoleAnnotD{} -> (RoleAnnotation, [])
+  DefD{} -> (DefaultDeclaration, [])
   DocD _ (DocCommentPrev _) -> (DocumentsPrevious, [])
   _ -> (Unremarkable, [])
 
+-- | Is this a Haddock?
+isDoc :: HsDecl GhcPs -> Bool
+isDoc = \case
+  DocD{} -> True
+  _ -> False
+
 -- | Should these two declarations be printed with no blank line between
 -- them?
-relatedDecls :: LHsDecl GhcPs -> LHsDecl GhcPs -> Bool
+relatedDecls ::
+  -- | The declaration above.
+  LHsDecl GhcPs ->
+  -- | The declaration under it.
+  LHsDecl GhcPs ->
+  Bool
 relatedDecls a b = case (kindA, kindB) of
-  (_, DocumentsPrevious) -> True
-  pair | pair `elem` relatedKinds -> shareAName namesA namesB
+  (_, DocumentsPrevious) -> not (isDoc (unLoc a))
+  pair
+    | pair `elem` relatedKinds
+        || PragmaDeclaration `elem` [kindA, kindB]
+          && FixityDeclaration `notElem` [kindA, kindB] ->
+        shareAName namesA namesB
   _ -> False
   where
     (kindA, namesA) = declKind (unLoc a)
     (kindB, namesB) = declKind (unLoc b)
 
 -- | The pairs of declaration kinds that group when they name something in
--- common.
+-- common, besides a pragma, which groups with whatever it names but a fixity
+-- declaration.
 relatedKinds :: [(Kind, Kind)]
 relatedKinds =
   [ (TypeSignature, FunctionBody),
-    (TypeSignature, DefaultSignature),
-    (DefaultSignature, TypeSignature),
-    (DefaultSignature, FunctionBody),
-    (TypeSignature, PragmaDeclaration),
-    (PragmaDeclaration, TypeSignature),
-    (PragmaDeclaration, FunctionBody),
-    (FunctionBody, PragmaDeclaration),
-    (PragmaDeclaration, DataDeclaration),
-    (DataDeclaration, PragmaDeclaration),
-    (PragmaDeclaration, PragmaDeclaration),
+    (TypeSignature, TypeSignature),
     (PatternSignature, PatternDefinition),
     (KindSignature, DataDeclaration),
     (KindSignature, ClassDeclaration),
@@ -215,6 +382,22 @@
     (KindSignature, TypeSynonym)
   ]
 
+-- | The names a type declaration gives its constructors, fields, methods and
+-- associated types.
+memberNames :: TyClDecl GhcPs -> [RdrName]
+memberNames d =
+  fmap (unLoc . fst) tyDeclATs
+    <> fmap unLoc tyDeclOpSigs
+    <> constructorNames tyDeclConsWithFields
+  where
+    TyDeclBinders{..} = hsLTyClDeclBinders (noLocA d)
+
+-- | The names of constructors and their fields.
+constructorNames :: LConsWithFields 'Parsed -> [RdrName]
+constructorNames LConsWithFields{..} =
+  fmap (unLoc . fst) consWithFieldIndices
+    <> fmap (unLoc . foLabel . unLoc) (toList consFields)
+
 -- | Do the two declarations name anything in common?
 shareAName :: [RdrName] -> [RdrName] -> Bool
 shareAName xs ys = overlaps (sort (fmap spelling xs)) (sort (fmap spelling ys))
@@ -245,16 +428,17 @@
   RoleAnnotD _ x -> roleAnnot ctx x
   KindSigD _ x -> standaloneKindSig ctx x
   DocD _ x -> case x of
-    DocCommentNext str -> haddock ctx Pipe Open str
-    DocCommentPrev str -> haddock ctx Caret Open str
-    DocCommentNamed n str -> haddock ctx (Chunk n) Open str
-    DocGroup n str -> haddock ctx (Section n) Open str
+    DocCommentNext str -> haddock ctx Pipe str
+    DocCommentPrev str -> haddock ctx Caret str
+    DocCommentNamed n str -> haddock ctx (Chunk n) str
+    DocGroup n str -> haddock ctx (Section n) str
 
 -- | A type, class or family declaration.
 tyClDecl :: Ctx -> FamilyStyle -> TyClDecl GhcPs -> Doc
 tyClDecl ctx style = \case
   FamDecl _ x -> famDecl ctx style x
-  SynDecl{..} -> synDecl ctx tcdLName tcdFixity tcdTyVars tcdRhs
+  SynDecl{..} ->
+    synDecl ctx tcdSExt tcdLName tcdFixity tcdTyVars tcdRhs
   DataDecl{..} ->
     dataDecl
       ctx
@@ -264,6 +448,10 @@
       spanOf
       (at_ ctx (tyVarBndr ctx))
       tcdFixity
+      ( outerBracketSpans
+          (andd_openp (dd_ext tcdDataDefn))
+          (andd_closep (dd_ext tcdDataDefn))
+      )
       mempty
       tcdDataDefn
   ClassDecl{tcdCExt = (anns, _, _), ..} ->
@@ -289,18 +477,25 @@
   DataFamInstD _ x -> dataFamInstDecl ctx style x
 
 -- | A @default@ declaration.
-defaultDecl :: Ctx -> DefaultDecl GhcPs -> Doc
-defaultDecl ctx (DefaultDecl _ className types) =
-  txt "default"
-    <> foldMap (\c -> breakOrSpace <> name ctx c) className
-    <> breakOrSpace
-    <> indent (parens (commaSep (fmap (align . hsType ctx) types)))
+defaultDecl ::
+  -- | The context.
+  Ctx ->
+  -- | The declaration.
+  DefaultDecl GhcPs ->
+  Doc
+defaultDecl ctx (DefaultDecl (keyword, open, close) className types) =
+  keywordAt (spanOf keyword) "default"
+    >+> foldMap (\c -> space <> name ctx c) className
+      <> break
+      <> parens
+        (spanOf open, spanOf close)
+        (commaSep (ctxCommaStyle ctx) (fmap (align . hsType ctx) types))
 
 -- | An @ANN@ pragma.
 annDecl :: Ctx -> AnnDecl GhcPs -> Doc
 annDecl ctx (HsAnnotation _ provenance e) =
-  pragma "ANN" . indent $
-    subject <> breakOrSpace <> hsExpr ctx e
+  pragma "ANN" $
+    subject <> break <> hsExpr ctx e
   where
     subject = case provenance of
       ValueAnnProvenance n -> name ctx n
@@ -308,38 +503,65 @@
       ModuleAnnProvenance -> txt "module"
 
 -- | A foreign import or export.
-foreignDecl :: Ctx -> ForeignDecl GhcPs -> Doc
+foreignDecl ::
+  -- | The context.
+  Ctx ->
+  -- | The declaration.
+  ForeignDecl GhcPs ->
+  Doc
 foreignDecl ctx = \case
-  fd@ForeignImport{fd_fi} -> foreignImport ctx fd_fi <> foreignSig ctx fd
-  fd@ForeignExport{fd_fe} -> foreignExport ctx fd_fe <> foreignSig ctx fd
+  fd@ForeignImport{fd_i_ext = (f, i, _), fd_fi} ->
+    keywords f "import" i (foreignImport ctx fd_fi) >+> foreignSig ctx fd
+  fd@ForeignExport{fd_e_ext = (f, e, _), fd_fe} ->
+    keywords f "export" e (foreignExport ctx fd_fe) >+> foreignSig ctx fd
+  where
+    keywords f word t rest =
+      keywordAt (spanOf f) "foreign"
+        >+> space
+          <> keywordAt (spanOf t) word
+          <> space
+          <> rest
 
 -- | The name and type that end a foreign declaration.
 foreignSig :: Ctx -> ForeignDecl GhcPs -> Doc
 foreignSig ctx fd =
-  breakOrSpace
-    <> indent
-      ( layoutFrom ctx (spanOf (fd_name fd) <> spanOf (fd_sig_ty fd)) $
-          name ctx (fd_name fd) <> typeAscription ctx (fd_sig_ty fd)
+  break
+    <> layoutFrom
+      ctx
+      (spanOf (fd_name fd) <> spanOf (fd_sig_ty fd))
+      ( name ctx (fd_name fd)
+          >+> typeAscription ctx (spanOf (fd_name fd)) (fd_sig_ty fd)
       )
 
--- | The head of a foreign import.
-foreignImport :: Ctx -> ForeignImport GhcPs -> Doc
+-- | The head of a foreign import after its keywords.
+foreignImport ::
+  -- | The context.
+  Ctx ->
+  -- | The import.
+  ForeignImport GhcPs ->
+  Doc
 foreignImport ctx (CImport src callConv safety _ _) =
-  txt "foreign import"
-    <> space
-    <> at ctx callConv outputable
-    <> includeWhen (isGoodSrcSpan (getLocA safety)) (space <> outputable safety)
-    <> indent
-      ( at ctx src $ \case
+  ( at ctx callConv outputable
+      <> includeWhen
+        (isGoodSrcSpan (getLocA safety))
+        (space <> outputable safety)
+  )
+    >+> at
+      ctx
+      src
+      ( \case
           NoSourceText -> mempty
-          SourceText lit -> breakOrSpace <> stringLiteral lit
+          SourceText lit -> break <> stringLiteral lit
       )
 
--- | The head of a foreign export.
-foreignExport :: Ctx -> ForeignExport GhcPs -> Doc
+-- | The head of a foreign export after its keywords.
+foreignExport ::
+  -- | The context.
+  Ctx ->
+  -- | The export.
+  ForeignExport GhcPs ->
+  Doc
 foreignExport ctx (CExport src (L loc (CExportStatic _ _ callConv))) =
-  txt "foreign export"
-    <> space
-    <> at ctx (L loc callConv) outputable
+  at ctx (L loc callConv) outputable
     <> space
     <> at ctx src sourceText
diff --git a/src/Tilia/Render/Expression.hs b/src/Tilia/Render/Expression.hs
--- a/src/Tilia/Render/Expression.hs
+++ b/src/Tilia/Render/Expression.hs
@@ -9,1356 +9,2015 @@
 -- | Expressions, and the equations and blocks built out of them.
 module Tilia.Render.Expression
   ( hsExpr,
-    hsExprIn,
-    valDecl,
-    untypedSplice,
-  )
-where
-
-import Control.Applicative ((<|>))
-import Data.Choice (Choice, fromBool, isTrue, pattern Is, pattern Isn't)
-import Data.Data (Data)
-import Data.Generics.Schemes (listify)
-import Data.List (unsnoc)
-import Data.List.NonEmpty (NonEmpty (..))
-import Data.List.NonEmpty qualified as NE
-import Data.Map.Strict qualified as Map
-import Data.Text (Text)
-import Data.Text qualified as T
-import GHC.Data.FastString (unpackFS)
-import GHC.Hs hiding (Fixity)
-import GHC.LanguageExtensions.Type (Extension (..))
-import GHC.Types.Basic (Boxity (..))
-import GHC.Types.Fixity (LexicalFixity (..))
-import GHC.Types.Name.Occurrence (isVarOcc, occNameString)
-import GHC.Types.Name.Reader (RdrName (..), mkVarUnqual, rdrNameOcc)
-import GHC.Types.SrcLoc
-  ( GenLocated (..),
-    isZeroWidthSpan,
-    noSrcSpan,
-    unLoc,
-  )
-import Language.Haskell.Syntax.Basic (field_label)
-import Tilia.Doc.Body
-import Tilia.Doc.Combinators
-import Tilia.Fixity
-  ( Fixity,
-    Namespace (..),
-  )
-import Tilia.Render.Context
-import Tilia.Render.Layout
-import Tilia.Render.Literal (hsLit, writtenString)
-import Tilia.Render.Name
-import Tilia.Render.Operator
-import Tilia.Render.Pattern
-import Tilia.Render.Type
-import Tilia.Span
-import Tilia.Span.Ghc
-
--- | An expression.
-hsExpr :: Ctx -> LHsExpr GhcPs -> Doc
-hsExpr ctx = hsExprIn ctx plainSite
-
--- | An expression that knows where it stands.
-hsExprIn :: Ctx -> Site -> LHsExpr GhcPs -> Doc
-hsExprIn ctx site l = at ctx l (exprBody ctx site (spanOf l))
-
--- | Every shape an expression can take.
-exprBody :: Ctx -> Site -> Maybe Span -> HsExpr GhcPs -> Doc
-exprBody ctx site here = \case
-  HsVar _ n -> name ctx n
-  HsOverLabel src _ -> txt "#" <> sourceText src
-  HsIPVar _ (HsIPName n) -> txt "?" <> outputable n
-  HsOverLit _ v -> outputable (ol_val v)
-  HsLit _ lit -> hsLit lit
-  HsLam _ variant' mg -> lambda ctx site variant' (ExprBody ctx) mg
-  HsApp _ f x -> application ctx site f x
-  HsAppType at' e a ->
-    hsExpr ctx e
-      <> breakOrSpace
-      <> indent
-        ( atSpan
-            ctx
-            (spanOf at' <> spanOf (hswc_body a))
-            (txt "@" <> hsTypeBody ctx (spanOf (hswc_body a)) (unLoc (hswc_body a)))
-        )
-  OpApp _ x op y -> exprChain ctx site x op y
-  NegApp _ e _ ->
-    txt "-"
-      <> includeWhen (isLiteral e) (negativeLiteralGap ctx)
-      <> includeWhen (startsWithSymbol e) space
-      <> hsExpr ctx e
-  HsPar _ e ->
-    layoutWithin ctx here (spanOf e) $
-      parensWith (closingFor site) (insideBrackets here (apart (hsExpr ctx e)))
-    where
-      apart d = case unLoc e of
-        SectionR _ (L _ (HsVar _ (L _ (Unqual o)))) _
-          | unboxedParens, take 1 (occNameString o) == "#" -> space <> d
-        SectionL _ _ (L _ (HsVar _ (L _ (Unqual o))))
-          | unboxedParens, occNameString o == "#" -> d <> space
-        _ -> d
-      unboxedParens =
-        extensionOn ctx UnboxedTuples || extensionOn ctx UnboxedSums
-  SectionL _ x op -> hsExpr ctx x <> breakOrSpace <> indent (hsExpr ctx op)
-  SectionR _ op x -> hsExpr ctx op <> breakOrSpace <> indent (hsExpr ctx x)
-  ExplicitTuple _ args boxity -> tuple ctx here (closingFor site) boxity args
-  ExplicitSum _ tag arity e -> unboxedSum (closingFor site) tag arity (hsExpr ctx e)
-  HsCase anns e mg -> caseOf ctx site (ExprBody ctx) anns e mg
-  HsIf anns c t e -> ifThenElse ctx (bodyIn (ExprBody ctx) (siteBracing site)) anns c t e
-  HsMultiIf _ guards ->
-    txt "if"
-      <> breakOrSpace
-      <> underSite site (sepBy breakOrSpace (fmap alternative (NE.toList guards)))
-    where
-      alternative =
-        guardedRhs ctx Normal (siteBracing site) (ExprBody ctx) RightArrow
-  HsLet tokens binds e ->
-    letIn ctx (bodyIn (ExprBody ctx) (siteBracing site)) nested tokens binds e
-    where
-      nested = case unLoc e of
-        HsLet{} -> True
-        _ -> False
-  HsDo anns flavour es -> case flavour of
-    DoExpr moduleName -> doBlock moduleName "do"
-    MDoExpr moduleName -> doBlock moduleName "mdo"
-    ListComp -> comprehension ctx site here es
-    MonadComp -> comprehension ctx site here es
-    GhciStmtCtxt -> error "Tilia: GhciStmtCtxt cannot occur in a source file"
-    where
-      doBlock moduleName word =
-        foldMap (\m -> outputable m <> txt ".") moduleName
-          <> keywordAt ctx (doKeywordSpan anns) word
-          <> statements ctx site (ExprBody ctx) es
-  ExplicitList _ xs ->
-    bracketsWith
-      (closingFor site)
-      (insideBrackets here (commaSep (fmap (align . hsExpr ctx) xs)))
-  RecordCon{..} ->
-    name ctx rcon_con
-      <> breakOrNothing
-      <> indent (braces (insideBrackets here (commaSep (fmap align (fields <> wildcard)))))
-    where
-      HsRecFields{..} = rcon_flds
-      fields = fmap (at_ ctx (fieldBind ctx (at_ ctx (name ctx . foLabel)))) rec_flds
-      wildcard = case rec_dotdot of
-        Just l -> [at ctx l (const (txt ".."))]
-        Nothing -> []
-  RecordUpd{..} ->
-    hsExpr ctx rupd_expr <> breakOrNothing <> indent (braces (insideBrackets here updates))
-    where
-      updates = case rupd_flds of
-        RegularRecUpdFields{..} ->
-          commaSep (fmap (align . at_ ctx (fieldBind ctx (at_ ctx (fieldOcc ctx)))) recUpdFields)
-        OverloadedRecUpdFields{..} ->
-          commaSep (fmap (align . at_ ctx (fieldBind ctx (at_ ctx labelChain))) olRecUpdFields)
-      labelChain (FieldLabelStrings flss) = dotFields ctx (unLoc <$> flss)
-  HsGetField{..} ->
-    hsExpr ctx gf_expr <> txt "." <> at ctx gf_field (dotField ctx)
-  HsProjection{..} -> parens (txt "." <> dotFields ctx proj_flds)
-  ExprWithTySig _ x HsWC{hswc_body} ->
-    align $
-      hsExprIn ctx (withBracing MayBrace plainSite) x
-        <> ( if endsWithBlock (unLoc x)
-               then breakOrSpace <> txt "::" <> space
-               else joinedBy "::"
-           )
-        <> indent (hsSigType ctx hswc_body)
-  ArithSeq _ _ range -> arithSeq ctx here (closingFor site) range
-  HsTypedBracket (bracketAnn, _) e -> quoted here opener "||]" e (hsExpr ctx e)
-    where
-      opener = case bracketAnn of
-        BracketNoE{} -> "[||"
-        BracketHasE{} -> "[e||"
-  HsUntypedBracket _ q -> quotation ctx here q
-  HsTypedSplice _ (HsTypedSpliceExpr _ e) -> spliceTH ctx (Is #typed) e DollarSplice
-  HsUntypedSplice _ splice -> untypedSplice ctx DollarSplice splice
-  HsProc _ p e ->
-    txt "proc"
-      <> layoutFrom ctx (spanOf p) (breakOrSpace <> indent (hsPat ctx p) <> breakOrSpace)
-      <> txt "->"
-      <> attachBody
-        (CmdTopBody ctx (withBracing (siteBracing site) plainSite) e)
-  HsStatic _ e ->
-    txt "static"
-      <> breakOrSpace
-      <> indent (hsExprIn ctx (withBracing (siteBracing site) plainSite) e)
-  HsPragE _ prag x -> case prag of
-    HsPragSCC _ n ->
-      txt "{-# SCC "
-        <> writtenString n
-        <> txt " #-}"
-        <> breakOrSpace
-        <> nest
-          (if siteInBlock site then 1 else 0)
-          (hsExprIn ctx (withBracing (siteBracing site) plainSite) x)
-  HsEmbTy _ HsWC{hswc_body} -> txt "type" <> space <> hsType ctx hswc_body
-  HsHole holeKind -> case holeKind of
-    HoleVar n -> name ctx n
-    HoleError -> error "Tilia: a nameless hole cannot come from a successful parse"
-  HsForAll _ tele e -> forallTelescope ctx tele <> breakOrSpace <> hsExpr ctx e
-  HsQual _ qs e ->
-    at ctx qs (contextOf loneVariableExpr (hsExpr ctx) . fmap unbracketed)
-      <> joinedBy "=>"
-      <> hsExpr ctx e
-  HsFunArr _ multAnn x y ->
-    hsExpr ctx x
-      <> space
-      <> multiplicity (hsExpr ctx) multAnn
-      <> joinedBy "->"
-      <> case unLoc y of
-        HsFunArr{} -> exprBody ctx plainSite (spanOf y) (unLoc y)
-        _ -> hsExpr ctx y
-
--- | The body of an equation, as the enclosing construct will hand it on.
-type BodyOf body b = Site -> LocatedA body -> b
-
--- | A body standing on its own, with the given bracing.
-bodyIn :: BodyOf body b -> Bracing -> LocatedA body -> b
-bodyIn mkBody bracing = mkBody (withBracing bracing plainSite)
-
--- | Is this expression a literal?
-isLiteral :: LHsExpr GhcPs -> Bool
-isLiteral e = case unLoc e of
-  HsLit{} -> True
-  HsOverLit{} -> True
-  _ -> False
-
--- | Does this expression begin with a symbol character, which an operator
--- written right before it would take into its name?
-startsWithSymbol :: LHsExpr GhcPs -> Bool
-startsWithSymbol e = case unLoc e of
-  HsIPVar{} -> True
-  HsOverLabel{} -> True
-  HsLam{} -> True
-  HsUntypedSplice _ HsUntypedSpliceExpr{} -> True
-  HsTypedSplice{} -> True
-  HsApp _ f _ -> startsWithSymbol f
-  HsAppType _ f _ -> startsWithSymbol f
-  RecordUpd{rupd_expr} -> startsWithSymbol rupd_expr
-  HsGetField{gf_expr} -> startsWithSymbol gf_expr
-  _ -> False
-
--- | A function applied to arguments.
-application :: Ctx -> Site -> LHsExpr GhcPs -> LHsExpr GhcPs -> Doc
-application ctx site f x =
-  case placement of
-    Normal ->
-      mayBraceWhenFlat (siteBracing site) headAndInit
-        <> indent (breakOrSpace <> lastArgDoc)
-    Hanging ->
-      layoutFrom ctx initSpan (headAndInit MayBrace)
-        <> attach Hanging lastArgDoc
-  where
-    (func, args) = gatherArgs f (x :| [])
-    initArgs = NE.init args
-    lastArg = NE.last args
-    lastArgDoc = hsExprIn ctx (withBracing (siteBracing site) plainSite) lastArg
-    initSpan = spanOf f <> (startOf <$> spanOf lastArg)
-    placement
-      | maybe False (writtenOnOneLine ctx) initSpan = exprHangs (unLoc lastArg)
-      | otherwise = Normal
-    headAndInit bracing =
-      hsExprIn ctx site{siteApplicand = True, siteBracing = bracing} func
-        <> foldMap
-          ( nest (if placement == Hanging then 0 else 1)
-              . (breakOrSpace <>)
-              . hsExprIn ctx (withBracing bracing plainSite)
-          )
-          initArgs
-
--- | The head of an application, and its arguments in the order written.
-gatherArgs ::
-  LHsExpr GhcPs ->
-  NonEmpty (LHsExpr GhcPs) ->
-  (LHsExpr GhcPs, NonEmpty (LHsExpr GhcPs))
-gatherArgs f known = case unLoc f of
-  HsApp _ l r -> gatherArgs l (NE.cons r known)
-  _ -> (f, known)
-
--- | A tuple, or a tuple section.
-tuple :: Ctx -> Maybe Span -> ClosingIndent -> Boxity -> [HsTupArg GhcPs] -> Doc
-tuple ctx here closing boxity args
-  | any isMissing args = flat (brackets' (sepBy comma (fmap arg args)))
-  | otherwise = brackets' (commaSep (fmap arg args))
-  where
-    brackets' = boxityBrackets boxity closing . insideBrackets here
-    isMissing = \case
-      Missing _ -> True
-      _ -> False
-    arg =
-      align . \case
-        Present _ e -> hsExpr ctx e
-        Missing _ -> mempty
-
--- | An arithmetic sequence, in whichever of its four forms.
-arithSeq :: Ctx -> Maybe Span -> ClosingIndent -> ArithSeqInfo GhcPs -> Doc
-arithSeq ctx here closing = \case
-  From from -> wrap (hsExpr ctx from <> breakOrSpace <> txt "..")
-  FromThen from next ->
-    wrap (commaSep (fmap (hsExpr ctx) [from, next]) <> breakOrSpace <> txt "..")
-  FromTo from to ->
-    wrap (hsExpr ctx from <> breakOrSpace <> txt ".." <> space <> hsExpr ctx to)
-  FromThenTo from next to ->
-    wrap $
-      commaSep (fmap (hsExpr ctx) [from, next])
-        <> breakOrSpace
-        <> txt ".."
-        <> space
-        <> hsExpr ctx to
-  where
-    wrap = bracketsWith closing . insideBrackets here
-
--- | One field of a record construction or update.
-fieldBind ::
-  (HasLoc l) =>
-  Ctx ->
-  (GenLocated l a -> Doc) ->
-  HsFieldBind (GenLocated l a) (LHsExpr GhcPs) ->
-  Doc
-fieldBind ctx label HsFieldBind{..} =
-  label hfbLHS
-    <> includeUnless
-      hfbPun
-      ( space
-          <> keywordAt ctx (spanOf =<< hfbAnn) "="
-          <> attach placement (hsExpr ctx hfbRHS)
-      )
-  where
-    placement
-      | sameLine (spanOf hfbLHS) (spanOf hfbRHS) = exprHangs (unLoc hfbRHS)
-      | otherwise = Normal
-
--- | One field name written after a dot.
-dotField :: Ctx -> DotFieldOcc GhcPs -> Doc
-dotField ctx = name ctx . fmap (mkVarUnqual . field_label) . dfoLabel
-
--- | A run of field names, joined by the dots between them.
-dotFields :: Ctx -> NonEmpty (DotFieldOcc GhcPs) -> Doc
-dotFields ctx = sepBy (txt ".") . fmap (dotField ctx) . NE.toList
-
--- | A chain of operators applied to expressions.
-exprChain ::
-  Ctx ->
-  Site ->
-  LHsExpr GhcPs ->
-  LHsExpr GhcPs ->
-  LHsExpr GhcPs ->
-  Doc
-exprChain ctx site x op y =
-  renderExprChain ctx site (uncurry (associate (fixityOf ctx)) chain)
-  where
-    chain = flattenAround splitOpApp x op y
-
--- | Take an operator application apart, if that is what this is.
-splitOpApp ::
-  LHsExpr GhcPs ->
-  Maybe (LHsExpr GhcPs, LHsExpr GhcPs, LHsExpr GhcPs)
-splitOpApp e = case unLoc e of
-  OpApp _ l o r -> Just (l, o, r)
-  _ -> Nothing
-
--- | The fixity of an operator used in an expression.
-fixityOf :: Ctx -> LHsExpr GhcPs -> Maybe Fixity
-fixityOf ctx o =
-  (spanOf o >>= (`Map.lookup` ctxCaptured ctx))
-    <|> (operatorName o >>= operatorFixity ctx InTerms)
-
--- | Print a chain of operators once precedence has regrouped it.
-renderExprChain :: Ctx -> Site -> OpChain (LHsExpr GhcPs) (LHsExpr GhcPs) -> Doc
-renderExprChain ctx site = \case
-  Operand e -> hsExprIn ctx site e
-  chain@(Chain operands@(firstOne :| _) operators) ->
-    layoutFrom ctx (chainSpan spanOf chain) $
-      if trailing
-        then laidOut MayBrace
-        else
-          mayBraceWhenFlat
-            (if placement == Hanging then MayBrace else NoBrace)
-            laidOut
-    where
-      placement =
-        chainPlacement exprHangs (chainSpan spanOf firstOne) (NE.last operands)
-      laidOut bracing =
-        renderExprChain ctx (withBracing bracing site) firstOne
-          <> foldr (piece bracing) mempty (links operands operators)
-      piece bracing (previous, o, operand, isLast) rest' =
-        let operandSite =
-              withBracing (if isLast then siteBracing site else bracing) plainSite
-            rendered = renderExprChain ctx operandSite operand
-         in if trailing
-              then
-                space
-                  <> hsExpr ctx o
-                  <> attach
-                    (tailPlacement isLast (chainSpan spanOf previous) o operand)
-                    (rendered <> rest')
-              else
-                attachOperator
-                  placement
-                  (chainSpan spanOf previous)
-                  (spanOf o)
-                  (chainSpan spanOf operand)
-                  (hsExpr ctx o)
-                  rendered
-                  <> rest'
-      tailPlacement isLast before o operand
-        | isLast,
-          not (maybe True isSingleLine (chainSpan spanOf operand)),
-          not (lineCommentWrittenBetween ctx before (spanOf o)) =
-            chainPlacement exprHangs (spanOf o) operand
-        | otherwise = Normal
-      commentedOperators =
-        or (zipWith commentedBefore (NE.toList operands) operators)
-      commentedBefore operand o =
-        commentPrintedBetween ctx (chainSpan spanOf operand) (spanOf o)
-      trailing =
-        (length operators == 1 || endsHanging)
-          && not commentedOperators
-          && and (zipWith couldTrail (NE.toList operands) operators)
-      endsHanging = exprHangs (unLoc (lastOperand chain)) == Hanging
-      couldTrail previous o =
-        isSeparator (fixityOf ctx o)
-          && maybe False (writtenOnOneLine ctx) (chainSpan spanOf previous)
-          && placement == Normal
-          && not (isDoBlock (lastOperand previous))
-
--- | Is this expression a @do@ or @mdo@ block?
-isDoBlock :: LHsExpr GhcPs -> Bool
-isDoBlock e = case unLoc e of
-  HsDo _ (DoExpr _) _ -> True
-  HsDo _ (MDoExpr _) _ -> True
-  _ -> False
-
--- | Whether an operand hangs, which it can only where it starts on the line
--- the given span starts on.
-chainPlacement ::
-  (HasLoc l) =>
-  (a -> Placement) ->
-  Maybe Span ->
-  OpChain (GenLocated l a) op ->
-  Placement
-chainPlacement placer leader operand = case operand of
-  Operand (L _ n) | startsTogether -> placer n
-  Chain (first :| _) _ -> chainPlacement placer leader first
-  _ -> Normal
-  where
-    startsTogether =
-      case (leader, chainSpan spanOf operand) of
-        (Just a, Just b) -> spanStartLine a == spanStartLine b
-        _ -> False
-
--- | Is this quoted constraint nothing but a variable?
-loneVariableExpr :: LHsExpr GhcPs -> Bool
-loneVariableExpr e = case unLoc e of
-  HsVar _ (L _ n) -> isVarOcc (rdrNameOcc n)
-  _ -> False
-
--- | What is inside, however many brackets were written around it.
-unbracketed :: LHsExpr GhcPs -> LHsExpr GhcPs
-unbracketed e = case unLoc e of
-  HsPar _ inner -> unbracketed inner
-  _ -> e
-
--- | A statement of a comprehension or a guard.
-hsStmt :: Ctx -> ExprLStmt GhcPs -> Doc
-hsStmt ctx = at_ ctx (stmtBody ctx plainSite (ExprBody ctx))
-
--- | One statement of a block, a comprehension or a guard.
-stmtBody ::
-  ( Body b,
-    Anno [LStmt GhcPs (XRec GhcPs body)] ~ SrcSpanAnnLW,
-    Anno (Stmt GhcPs (XRec GhcPs body)) ~ SrcSpanAnnA,
-    Anno body ~ SrcSpanAnnA
-  ) =>
-  Ctx ->
-  Site ->
-  BodyOf body b ->
-  Stmt GhcPs (XRec GhcPs body) ->
-  Doc
-stmtBody ctx site mkBody = \case
-  LastStmt _ body _ _ -> printBody (mkBody site body)
-  BodyStmt _ body _ _ -> printBody (mkBody site body)
-  BindStmt arrow p f ->
-    hsPatClosing ctx (closingFor site) p
-      <> nest 1 (space <> keywordAt ctx (spanOf arrow) "<-")
-      <> layoutFrom
-        ctx
-        (fmap endOf (spanOf p) <> spanOf f)
-        (attach placement (printBody bound))
-    where
-      bound = bodyIn mkBody (siteBracing site) f
-      placement
-        | sameLine (spanOf p) (spanOf f) = bodyPlacement bound
-        | otherwise = Normal
-  LetStmt _ binds -> txt "let" <> space <> align (bound binds)
-    where
-      bound = \case
-        EmptyLocalBinds _ -> txt "{}"
-        bs -> localBinds ctx (siteBracing site) bs
-  ParStmt{} ->
-    error "Tilia: ParStmt should have been unpacked"
-  TransStmt{..} -> case (trS_form, trS_by) of
-    (ThenForm, Nothing) ->
-      txt "then" <> breakOrSpace <> indent (hsExpr ctx trS_using)
-    (ThenForm, Just e) ->
-      txt "then"
-        <> breakOrSpace
-        <> indent (hsExpr ctx trS_using)
-        <> breakOrSpace
-        <> txt "by"
-        <> breakOrSpace
-        <> indent (hsExpr ctx e)
-    (GroupForm, Nothing) ->
-      txt "then group using" <> breakOrSpace <> indent (hsExpr ctx trS_using)
-    (GroupForm, Just e) ->
-      txt "then group by"
-        <> breakOrSpace
-        <> indent (hsExpr ctx e)
-        <> breakOrSpace
-        <> txt "using"
-        <> breakOrSpace
-        <> indent (hsExpr ctx trS_using)
-  RecStmt{..} ->
-    txt "rec" <> space <> align (stmtBlock ctx site mkBody recS_stmts)
-
--- | The statements of a block, with the break that introduces them.
-statements ::
-  ( Body b,
-    Anno [LStmt GhcPs (XRec GhcPs body)] ~ SrcSpanAnnLW,
-    Anno (Stmt GhcPs (XRec GhcPs body)) ~ SrcSpanAnnA,
-    Anno body ~ SrcSpanAnnA
-  ) =>
-  Ctx ->
-  Site ->
-  BodyOf body b ->
-  XRec GhcPs [LStmt GhcPs (XRec GhcPs body)] ->
-  Doc
-statements ctx site mkBody es =
-  breakOrSpace <> underSite site (stmtBlock ctx site mkBody es)
-
--- | The statements of a block, each laid out as an item of it.
-stmtBlock ::
-  ( Body b,
-    Anno [LStmt GhcPs (XRec GhcPs body)] ~ SrcSpanAnnLW,
-    Anno (Stmt GhcPs (XRec GhcPs body)) ~ SrcSpanAnnA,
-    Anno body ~ SrcSpanAnnA
-  ) =>
-  Ctx ->
-  Site ->
-  BodyOf body b ->
-  XRec GhcPs [LStmt GhcPs (XRec GhcPs body)] ->
-  Doc
-stmtBlock ctx site mkBody es = at ctx es block
-  where
-    block xs =
-      items (siteBracing site) $
-        keepBlanks
-          (separatedByBlank ctx)
-          [ (spanOf stmt, item position stmt)
-          | (position, stmt) <- positioned xs
-          ]
-    item position stmt =
-      blockItem position (siteBracing site) $ \bracing ->
-        at_ ctx (stmtBody ctx (blockSite bracing) mkBody) stmt
-    blockSite bracing =
-      plainSite{siteInBlock = True, siteBracing = bracing}
-
--- | A list comprehension.
-comprehension :: Ctx -> Site -> Maybe Span -> XRec GhcPs [ExprLStmt GhcPs] -> Doc
-comprehension ctx site here es = align (variant onOneLine acrossLines)
-  where
-    onOneLine = txt "[" <> body <> txt "]"
-    acrossLines = txt "[" <> space <> keepInside (body <> hardBreak <> txt "]")
-    keepInside = if siteInBlock site then align else id
-    body = insideBrackets here (at ctx es sections)
-    sections xs = case unsnoc xs of
-      Nothing -> error "Tilia: a comprehension always yields something"
-      Just (stmts, yield) ->
-        align (hsStmt ctx yield)
-          <> breakOrSpace
-          <> sepBy breakOrSpace (fmap section (comprehensionSections stmts))
-    section stmts =
-      located'
-        (spansOf stmts)
-        (txt "|" <> space <> align (commaSep (fmap (align . hsStmt ctx) stmts)))
-    located' = maybe id located
-
--- | Split the statements of a comprehension into its parallel sections.
-comprehensionSections :: [ExprLStmt GhcPs] -> [[ExprLStmt GhcPs]]
-comprehensionSections = fmap unnest . branches
-  where
-    branches = \case
-      [L _ (ParStmt _ blocks _ _)] ->
-        [run | ParStmtBlock _ run _ _ <- NE.toList blocks]
-      run -> [run]
-    unnest = concatMap $ \case
-      L _ ParStmt{} -> error "Tilia: parallel blocks do not nest"
-      stmt@(L _ TransStmt{trS_stmts}) -> unnest trS_stmts <> [stmt]
-      stmt -> [stmt]
-
--- | A @case@ expression or command.
-caseOf ::
-  ( Body b,
-    Anno (GRHS GhcPs (LocatedA body)) ~ EpAnnCO,
-    Anno (Match GhcPs (LocatedA body)) ~ SrcSpanAnnA
-  ) =>
-  Ctx ->
-  Site ->
-  BodyOf body b ->
-  EpAnnHsCase ->
-  LHsExpr GhcPs ->
-  MatchGroup GhcPs (LocatedA body) ->
-  Doc
-caseOf ctx site mkBody EpAnnHsCase{..} scrutinee mg =
-  keywordAt ctx (spanOf hsCaseAnnCase) "case"
-    <> space
-    <> hsExpr ctx scrutinee
-    <> space
-    <> indent (keywordAt ctx (spanOf hsCaseAnnOf) "of")
-    <> breakOrSpace
-    <> bracedForSite site alternatives
-  where
-    alternatives b = underSite site (matchGroup ctx b mkBody CaseStyle mg)
-
--- | A lambda, in any of its three spellings.
-lambda ::
-  ( Body b,
-    Anno (GRHS GhcPs (LocatedA body)) ~ EpAnnCO,
-    Anno (Match GhcPs (LocatedA body)) ~ SrcSpanAnnA
-  ) =>
-  Ctx ->
-  Site ->
-  HsLamVariant ->
-  BodyOf body b ->
-  MatchGroup GhcPs (LocatedA body) ->
-  Doc
-lambda ctx site variant' mkBody mg = case keyword of
-  Nothing -> matchGroup ctx (siteBracing site) mkBody LambdaStyle mg
-  Just kw -> txt kw <> breakOrSpace <> bracedForSite site alternatives
-  where
-    alternatives b = underSite site (matchGroup ctx b mkBody LambdaCaseStyle mg)
-    keyword = case variant' of
-      LamSingle -> Nothing
-      LamCase -> Just "\\case"
-      LamCases -> Just "\\cases"
-
--- | An @if@ expression or command.
-ifThenElse ::
-  (Body b) =>
-  Ctx ->
-  (LocatedA body -> b) ->
-  AnnsIf ->
-  LHsExpr GhcPs ->
-  LocatedA body ->
-  LocatedA body ->
-  Doc
-ifThenElse ctx bodyOf AnnsIf{aiThen, aiElse} condition thenBody elseBody =
-  txt "if"
-    <> space
-    <> hsExpr ctx condition
-    <> breakOrSpace
-    <> indent
-      ( branch (locA aiThen) "then" thenBody
-          <> breakOrSpace
-          <> branch (locA aiElse) "else" elseBody
-      )
-  where
-    branch written word body =
-      keywordAt ctx keywordSpan word
-        <> space
-        <> layoutFrom
-          ctx
-          (keywordSpan <> spanOf body)
-          (attach placement (printBody (bodyOf body)))
-      where
-        keywordSpan = spanOfSrcSpan written
-        placement
-          | commentPrintedBetween ctx keywordSpan (spanOf body) = Normal
-          | otherwise = bodyPlacement (bodyOf body)
-
--- | A @let@ expression or command, with @in@ ending its line where it is
--- one of a chain written that way, and the next on the line under it.
-letIn ::
-  (Body b) =>
-  Ctx ->
-  (LocatedA body -> b) ->
-  -- | Whether the body is another @let@.
-  Bool ->
-  (EpToken "let", EpToken "in") ->
-  HsLocalBinds GhcPs ->
-  LocatedA body ->
-  Doc
-letIn ctx bodyOf nested (letToken, inToken) binds body =
-  align $
-    written (spanOf letToken) (txt "let")
-      <> space
-      <> align
-        ( localBinds ctx NoBrace binds
-            <> foldMap (emptyAnchor . startOf) (spanOf inToken)
-        )
-      <> written (spanOf inToken) (separator <> txt "in")
-      <> (if chained then breakOrSpace else space)
-      <> align (printBody (bodyOf body))
-  where
-    chained = nested && not (sameLine (spanOf inToken) (spanOf body))
-    separator = if chained then space else variant space (hardBreak <> txt " ")
-    written s d = if chained then fenceWithin ctx s d else d
-
--- | The bindings of a @let@ or a @where@.
-localBinds :: Ctx -> Bracing -> HsLocalBinds GhcPs -> Doc
-localBinds ctx bracing = \case
-  HsValBinds ann (ValBinds _ binds sigs) ->
-    anchored ann . align . items bracing $
-      keepBlanks
-        (separatedByBlank ctx)
-        [ (spanOf item, rendered position item)
-        | (position, item) <- positioned sorted
-        ]
-    where
-      sorted = inSourceOrder [fmap (fmap Left) binds, fmap (fmap Right) sigs]
-      rendered position item =
-        blockItem position NoBrace $ \b ->
-          at_ ctx (either (valDecl ctx b) (knotSig (ctxKnot ctx) ctx)) item
-  HsValBinds _ _ -> error "Tilia: renamer-only local bindings"
-  HsIPBinds ann (IPBinds _ xs) ->
-    anchored ann . items bracing $
-      keepBlanks
-        (separatedByBlank ctx)
-        [(spanOf x, at ctx x implicitBind) | x <- xs]
-  EmptyLocalBinds _ -> mempty
-  where
-    implicitBind (IPBind _ (L _ n) e) =
-      outputable n
-        <> joinedBy "="
-        <> indent (hsExprIn ctx (withBracing MayBrace plainSite) e)
-    anchored ann d = case ann of
-      EpAnn{anns = AnnList{al_anchor}}
-        | not (isZeroWidthSpan (locA al_anchor)) ->
-            atSpan ctx (spanOfSrcSpan (locA al_anchor)) d
-      _ -> d
-
--- | Where a @do@ or @mdo@ was written.
-doKeywordSpan :: AnnList EpaLocation -> Maybe Span
-doKeywordSpan = spanOfSrcSpan . locA . al_rest
-
--- | Where the @where@ keyword of a group of local bindings was.
-whereKeywordSpan :: HsLocalBinds GhcPs -> Maybe Span
-whereKeywordSpan =
-  spanOfSrcSpan . \case
-    HsValBinds EpAnn{anns = AnnList{al_rest}} _ -> locA al_rest
-    HsIPBinds EpAnn{anns = AnnList{al_rest}} _ -> locA al_rest
-    EmptyLocalBinds _ -> noSrcSpan
-
--- | Does this @let@ or @where@ bind nothing at all?
-isEmptyLocalBinds :: HsLocalBinds GhcPs -> Bool
-isEmptyLocalBinds = \case
-  EmptyLocalBinds _ -> True
-  HsValBinds _ (ValBinds _ binds sigs) -> null binds && null sigs
-  _ -> False
-
--- | An arrow-notation command.
-hsCmd :: Ctx -> Site -> LHsCmd GhcPs -> Doc
-hsCmd ctx site l = at ctx l (cmdBody ctx site)
-
--- | Every shape an arrow-notation command can take.
-cmdBody :: Ctx -> Site -> HsCmd GhcPs -> Doc
-cmdBody ctx site = \case
-  HsCmdArrApp _ body input arrow rightToLeft ->
-    let writtenFirst = if rightToLeft then body else input
-        writtenSecond = if rightToLeft then input else body
-     in hsExprIn ctx site{siteApplicand = False} writtenFirst
-          <> breakOrSpace
-          <> indent
-            ( txt (arrowText arrow rightToLeft)
-                <> attachBody
-                  (bodyIn (ExprBody ctx) (siteBracing site) writtenSecond)
-            )
-  HsCmdArrForm _ form Prefix cmds ->
-    bananaWith (closingFor site) $
-      hsExpr ctx form
-        <> includeUnless
-          (null cmds)
-          ( breakOrSpace
-              <> indent
-                ( sepBy
-                    breakOrSpace
-                    (fmap (printBody . CmdTopBody ctx plainSite) cmds)
-                )
-          )
-  HsCmdArrForm _ form Infix [l, r] -> cmdChain ctx site l form r
-  HsCmdArrForm _ _ Infix _ ->
-    error "Tilia: an infix command form always has exactly two operands"
-  HsCmdApp _ cmd e ->
-    hsCmd ctx site{siteApplicand = True} cmd
-      <> breakOrSpace
-      <> indent (hsExprIn ctx (withBracing (siteBracing site) plainSite) e)
-  HsCmdLam _ variant' mg -> lambda ctx site variant' (CmdBody ctx) mg
-  HsCmdPar _ c -> parensWith (closingFor site) (hsCmd ctx plainSite c)
-  HsCmdCase anns e mg -> caseOf ctx site (CmdBody ctx) anns e mg
-  HsCmdIf anns _ c t e ->
-    ifThenElse ctx (bodyIn (CmdBody ctx) (siteBracing site)) anns c t e
-  HsCmdLet tokens binds c ->
-    letIn ctx (bodyIn (CmdBody ctx) (siteBracing site)) nested tokens binds c
-    where
-      nested = case unLoc c of
-        HsCmdLet{} -> True
-        _ -> False
-  HsCmdDo anns es ->
-    keywordAt ctx (doKeywordSpan anns) "do"
-      <> statements ctx site (CmdBody ctx) es
-
--- | How the arrow of a command application is spelled.
-arrowText :: HsArrAppType -> Bool -> Text
-arrowText arrow rightToLeft = case (arrow, rightToLeft) of
-  (HsFirstOrderApp, True) -> "-<"
-  (HsHigherOrderApp, True) -> "-<<"
-  (HsFirstOrderApp, False) -> ">-"
-  (HsHigherOrderApp, False) -> ">>-"
-
--- | A command at the top of an arrow form.
-cmdTop :: Ctx -> Site -> HsCmdTop GhcPs -> Doc
-cmdTop ctx site (HsCmdTop _ cmd) = hsCmd ctx site cmd
-
--- | A chain of operators applied to commands.
-cmdChain ::
-  Ctx ->
-  Site ->
-  LHsCmdTop GhcPs ->
-  LHsExpr GhcPs ->
-  LHsCmdTop GhcPs ->
-  Doc
-cmdChain ctx site l op r =
-  render (uncurry (associate (fixityOf ctx)) (flattenAround splitCmd l op r))
-  where
-    splitCmd c = case unLoc c of
-      HsCmdTop _ (L _ (HsCmdArrForm _ o Infix [a, b])) -> Just (a, o, b)
-      _ -> Nothing
-    render = \case
-      Operand c -> at ctx c (cmdTop ctx site)
-      chain@(Chain operands@(firstOne :| _) operators) ->
-        layoutFrom ctx (chainSpan spanOf chain) $
-          mayBraceWhenFlat (if placement == Hanging then MayBrace else NoBrace) laidOut
-        where
-          placement =
-            chainPlacement
-              cmdTopHangs
-              (chainSpan spanOf firstOne)
-              (NE.last operands)
-          laidOut bracing =
-            renderIn bracing firstOne
-              <> foldMap (piece bracing) (links operands operators)
-          piece bracing (previous, o, operand, isLast) =
-            attachOperator
-              placement
-              (chainSpan spanOf previous)
-              (spanOf o)
-              (chainSpan spanOf operand)
-              (hsExpr ctx o)
-              (renderIn (if isLast then siteBracing site else bracing) operand)
-          renderIn bracing = \case
-            Operand c -> at ctx c (cmdTop ctx (withBracing bracing site))
-            inner -> render inner
-
--- | A value binding.
-valDecl :: Ctx -> Bracing -> HsBind GhcPs -> Doc
-valDecl ctx bracing = \case
-  FunBind _ funId funMatches ->
-    matchGroup ctx bracing (ExprBody ctx) (FunctionStyle funId) funMatches
-  PatBind _ p multAnn grhss ->
-    match ctx bracing (ExprBody ctx) PatternBindStyle False multAnn NoSrcStrict [p] grhss
-  PatSynBind _ psb -> patSynBind ctx psb
-  VarBind{} -> error "Tilia: VarBind is introduced by the type checker"
-
--- | Which shape a group of equations takes.
-data MatchStyle
-  = -- | @f x = …@
-    FunctionStyle (LocatedN RdrName)
-  | -- | @(x, y) = …@
-    PatternBindStyle
-  | -- | An alternative of a @case@
-    CaseStyle
-  | -- | The body of a @\\@
-    LambdaStyle
-  | -- | An alternative of a @\\case@ or @\\cases@
-    LambdaCaseStyle
-
--- | What separates a guard from what it guards.
-data GuardStyle
-  = -- | @| p = …@
-    EqualsSign
-  | -- | @| p -> …@
-    RightArrow
-  deriving (Eq, Show)
-
--- | A group of equations.
-matchGroup ::
-  ( Body b,
-    Anno (GRHS GhcPs (LocatedA body)) ~ EpAnnCO,
-    Anno (Match GhcPs (LocatedA body)) ~ SrcSpanAnnA
-  ) =>
-  Ctx ->
-  Bracing ->
-  BodyOf body b ->
-  MatchStyle ->
-  MatchGroup GhcPs (LocatedA body) ->
-  Doc
-matchGroup ctx bracing mkBody style MG{..}
-  | isCaseStyle style, null (unLoc mg_alts) = txt "{}"
-  | otherwise = items blockBracing (fmap rendered (positioned (unLoc mg_alts)))
-  where
-    blockBracing = if isCaseStyle style then bracing else NoBrace
-    rendered (position, m) =
-      blockItem position bracing (\b -> at_ ctx (renderMatch b) m)
-    renderMatch b m@Match{..} =
-      match
-        ctx
-        b
-        mkBody
-        (adjustStyle m style)
-        (isInfixMatch m)
-        (HsUnannotated EpPatBind)
-        (bangBeforeName m)
-        (unLoc m_pats)
-        m_grhss
-
--- | Put this equation's own name into the style it is printed with. A
--- style that carries no name is left as it is.
-adjustStyle :: Match GhcPs body -> MatchStyle -> MatchStyle
-adjustStyle m = \case
-  FunctionStyle _ | FunRhs{mc_fun = f} <- m_ctxt m -> FunctionStyle f
-  style -> style
-
--- | Was a @!@ written in front of the name this equation defines?
-bangBeforeName :: Match id body -> SrcStrictness
-bangBeforeName = \case
-  Match{m_ctxt = FunRhs{mc_strictness}} -> mc_strictness
-  _ -> NoSrcStrict
-
--- | One equation: a head, a body, and possibly a @where@.
-match ::
-  (Body b, Anno (GRHS GhcPs (LocatedA body)) ~ EpAnnCO) =>
-  Ctx ->
-  Bracing ->
-  BodyOf body b ->
-  MatchStyle ->
-  -- | Written infix?
-  Bool ->
-  HsMultAnn GhcPs ->
-  SrcStrictness ->
-  [LPat GhcPs] ->
-  GRHSs GhcPs (LocatedA body) ->
-  Doc
-match ctx bracing mkBody style isInfix multAnn strict pats GRHSs{..} =
-  multiplicity (hsType ctx) multAnn
-    <> multAnnGap
-    <> strictness strict
-    <> head'
-    <> nest bodyNest rightHandSide
-    <> whereClause
-  where
-    bodyNest = if indentBody then 1 else 0
-    rightHandSide = separator <> layoutFrom ctx bodySpan (attach placement body)
-
-    multAnnGap = case multAnn of
-      HsUnannotated{} -> mempty
-      _ -> space
-
-    indentBody = case pats of
-      [] -> False
-      _ ->
-        not (maybe True isSingleLine headSpan)
-          && not (isCaseStyle style && any containsOrPat pats)
-
-    headSpan = case style of
-      FunctionStyle n -> spanOf n <> patSpans
-      _ -> patSpans
-    patSpans = spansOf pats
-
-    head' = case pats of
-      [] -> case style of
-        FunctionStyle n -> name ctx n
-        _ -> mempty
-      (headPat : tailPats) -> layoutFrom ctx headSpan $ case style of
-        FunctionStyle n -> defHead (fromBool isInfix) (fromBool indentBody) (name ctx n) rendered
-        PatternBindStyle -> sepBy breakOrSpace rendered
-        CaseStyle -> sepBy breakOrSpace rendered
-        LambdaStyle -> txt "\\" <> lambdaGap headPat <> align (sepBy breakOrSpace rendered)
-        LambdaCaseStyle ->
-          hsPat ctx headPat
-            <> includeUnless
-              (null tailPats)
-              (breakOrSpace <> indent (sepBy breakOrSpace (fmap (hsPat ctx) tailPats)))
-      where
-        rendered = fmap (hsPat ctx) pats
-
-    lambdaGap p = includeWhen (needsGap (unLoc p)) space
-    needsGap p = case p of
-      LazyPat{} -> True
-      BangPat{} -> True
-      SplicePat{} -> True
-      InvisPat{} -> True
-      NPat{} -> negative
-      LitPat{} -> negative
-      _ -> False
-      where
-        negative = T.isPrefixOf "-" (showGhc p)
-
-    endOfPats = case pats of
-      [] -> case style of
-        FunctionStyle n -> spanOf n
-        _ -> Nothing
-      _ -> spanOf (last pats)
-
-    hasGuards = any (not . null . guardsOf . unLoc) grhssGRHSs
-
-    rhsSpan = foldr1 (<>) (fmap (grhsSpan . unLoc) grhssGRHSs)
-    bodySpan = fmap endOf endOfPats <> rhsSpan
-
-    placement = case endOfPats of
-      Just spn
-        | any (longGuard . unLoc) grhssGRHSs || not (sameLine (Just spn) rhsSpan) ->
-            Normal
-      _ -> blockPlacement (bodyIn mkBody bracing) grhssGRHSs
-    longGuard grhs = case guardsOf grhs of
-      [] -> False
-      [g] -> not (maybe True isSingleLine (spanOf g))
-      _ -> True
-
-    separator
-      | hasGuards = mempty
-      | otherwise = case style of
-          FunctionStyle _ -> space <> indent (txt "=")
-          PatternBindStyle -> space <> indent (txt "=")
-          _ -> space <> txt "->"
-
-    body = sepBy breakOrSpace (fmap alternative (NE.toList grhssGRHSs))
-
-    alternative g =
-      fenceWithin ctx (spanOf g) $
-        guardedRhs ctx placement bracing mkBody groupStyle g
-
-    groupStyle
-      | isCaseStyle style && hasGuards = RightArrow
-      | otherwise = EqualsSign
-
-    whereClause = case grhssLocalBinds of
-      EmptyLocalBinds _ -> mempty
-      binds ->
-        nest bodyNest . indent $
-          breakOrSpace
-            <> keywordAt ctx (whereKeywordSpan binds) "where"
-            <> includeUnless
-              (isEmptyLocalBinds binds)
-              (breakOrSpace <> indent (localBinds ctx bracing binds))
-
--- | Is this an alternative of a @case@ or a @\\case@?
-isCaseStyle :: MatchStyle -> Bool
-isCaseStyle = \case
-  CaseStyle -> True
-  LambdaCaseStyle -> True
-  _ -> False
-
--- | Does this pattern hold an or-pattern anywhere inside it?
-containsOrPat :: LPat GhcPs -> Bool
-containsOrPat = any isOrPat . listify (const True :: Pat GhcPs -> Bool)
-  where
-    isOrPat = \case
-      OrPat{} -> True
-      _ -> False
-
--- | Where an alternative was written, guards and all.
-grhsSpan :: GRHS GhcPs (LocatedA body) -> Maybe Span
-grhsSpan (GRHS _ guards body) = spanOf body <> spansOf guards
-
--- | The guards of an alternative.
-guardsOf :: GRHS GhcPs body -> [GuardLStmt GhcPs]
-guardsOf (GRHS _ guards _) = guards
-
--- | The placement of a body that is the whole of an equation.
-blockPlacement ::
-  (Body b) =>
-  (LocatedA body -> b) ->
-  NonEmpty (LGRHS GhcPs (LocatedA body)) ->
-  Placement
-blockPlacement bodyOf = \case
-  L _ (GRHS _ _ body) :| [] -> bodyPlacement (bodyOf body)
-  _ -> Normal
-
--- | One alternative of an equation: its guards, and what they guard.
-guardedRhs ::
-  (Body b, Anno (GRHS GhcPs (LocatedA body)) ~ EpAnnCO) =>
-  Ctx ->
-  -- | How the equation as a whole is placed.
-  Placement ->
-  -- | Bracing the body inherits.
-  Bracing ->
-  BodyOf body b ->
-  GuardStyle ->
-  LGRHS GhcPs (LocatedA body) ->
-  Doc
-guardedRhs ctx parentPlacement bracing mkBody style lgrhs@(L _ grhs) = case guards of
-  [] -> atSpan ctx (grhsSpan grhs) (printBody bound)
-  _ ->
-    maybe id located (spanOf lgrhs) . layoutFrom ctx (grhsSpan grhs) $
-      fenceWithin ctx headSpan guardHead
-        <> fenceWithin
-          ctx
-          (fmap endOf separatorSpan <> spanOf body)
-          ( nest
-              (if parentPlacement == Normal then 1 else 0)
-              (attach placement (printBody bound))
-          )
-  where
-    GRHS EpAnn{anns = GrhsAnn{ga_vbar, ga_sep}} guards body = grhs
-    guardHead =
-      txt "|"
-        <> space
-        <> align (commaSep (fmap (align . hsStmt ctx) guards))
-        <> space
-        <> indent (txt separator)
-    headSpan = (<>) <$> (spanOf =<< ga_vbar) <*> separatorSpan
-    bound = bodyIn mkBody bracing body
-    separator = case style of
-      EqualsSign -> "="
-      RightArrow -> "->"
-    placement
-      | sameLine separatorSpan (spanOf body),
-        not (commentPrintedBetween ctx (spansOf guards) separatorSpan),
-        not (remarkBefore && remarkAfter) =
-          bodyPlacement bound
-      | otherwise = Normal
-    separatorSpan = either spanOf spanOf ga_sep
-    remarkBefore = lineCommentWrittenBetween ctx (spansOf guards) separatorSpan
-    remarkAfter =
-      lineCommentWrittenBetween ctx separatorSpan (nextLine <$> separatorSpan)
-    nextLine s = mkSpan (spanEndLine s + 1, 1) (spanEndLine s + 1, 1)
-
--- | A pattern synonym binding.
-patSynBind :: Ctx -> PatSynBind GhcPs GhcPs -> Doc
-patSynBind ctx PSB{..} =
-  txt "pattern" <> case psb_args of
-    PrefixCon args ->
-      space
-        <> name ctx psb_id
-        <> indent
-          ( layoutAcross ctx args (argsAfterName (fmap (name ctx) args) (null args))
-              <> definition (spansOf args)
-          )
-    RecCon args ->
-      space
-        <> name ctx psb_id
-        <> indent
-          ( layoutAcross
-              ctx
-              (vars args)
-              ( includeUnless (null args) breakOrNothing
-                  <> braces (commaSep (fmap (name ctx) (vars args)))
-              )
-              <> definition (spansOf (vars args))
-          )
-      where
-        vars = fmap recordPatSynPatVar
-    InfixCon l r ->
-      layoutFrom
-        ctx
-        (spanOf l <> spanOf r)
-        ( space
-            <> name ctx l
-            <> attachOperator
-              Normal
-              (spanOf l)
-              (spanOf psb_id)
-              (spanOf r)
-              (name ctx psb_id)
-              (name ctx r)
-        )
-        <> indent (definition (spanOf l <> spanOf r))
-  where
-    argsAfterName rendered isEmpty =
-      includeUnless isEmpty breakOrSpace <> align (sepBy breakOrSpace rendered)
-
-    definition argSpans =
-      space <> case psb_dir of
-        Unidirectional -> rhs "<-"
-        ImplicitBidirectional -> rhs "="
-        ExplicitBidirectional mg ->
-          rhs "<-"
-            <> breakOrSpace
-            <> txt "where"
-            <> breakOrSpace
-            <> indent (matchGroup ctx NoBrace (ExprBody ctx) (FunctionStyle psb_id) mg)
-      where
-        rhs arrow =
-          layoutFrom ctx (spanOf psb_id <> spanOf psb_def <> argSpans) $
-            txt arrow <> breakOrSpace <> hsPat ctx psb_def
-
--- | An untyped splice, either @$x@ or a quasi-quotation.
-untypedSplice :: Ctx -> SpliceDecoration -> HsUntypedSplice GhcPs -> Doc
-untypedSplice ctx deco = \case
-  HsUntypedSpliceExpr _ e -> spliceTH ctx (Isn't #typed) e deco
-  HsQuasiQuote _ quoter str ->
-    txt "["
-      <> name ctx quoter
-      <> txt "|"
-      <> verbatim (T.pack (unpackFS (unLoc str)))
-      <> txt "|]"
-
--- | A Template Haskell splice, typed or not.
-spliceTH :: Ctx -> Choice "typed" -> LHsExpr GhcPs -> SpliceDecoration -> Doc
-spliceTH ctx typed e = \case
-  DollarSplice -> txt (if isTrue typed then "$$" else "$") <> spliced
-  BareSplice -> spliced
-  where
-    spliced = at ctx e (align . exprBody ctx plainSite (spanOf e))
-
--- | A Template Haskell quotation.
-quotation :: Ctx -> Maybe Span -> HsQuote GhcPs -> Doc
-quotation ctx here = \case
-  ExpBr (bracketAnn, _) e -> quotedAs (flavour bracketAnn) e (hsExpr ctx e)
-    where
-      flavour = \case
-        BracketNoE{} -> ""
-        BracketHasE{} -> "e"
-  PatBr _ p -> quotedAs "p" p (hsPat ctx p)
-  DecBrL _ decls -> quotedAs "d" decls (knotDecls (ctxKnot ctx) ctx decls)
-  DecBrG _ _ -> error "Tilia: DecBrG is produced by the renamer"
-  TypBr _ ty -> quotedAs "t" ty (hsType ctx ty)
-  VarBr _ isSingle n -> txt (if isSingle then "'" else "''") <> name ctx n
-  where
-    quotedAs :: (Data a) => Text -> a -> Doc -> Doc
-    quotedAs flavour = quoted here ("[" <> flavour <> "|") "|]"
-
--- | The body of a quotation between its brackets, indented where it breaks,
--- and spaced from them where it may end with a symbol character.
-quoted ::
-  (Data a) =>
-  -- | Where the quotation is written.
-  Maybe Span ->
-  -- | The opening bracket.
-  Text ->
-  -- | The closing bracket.
-  Text ->
-  -- | What is quoted.
-  a ->
-  -- | The body.
-  Doc ->
-  Doc
-quoted here opener closer x body =
-  txt opener
-    <> gap
-    <> indent (insideBrackets here body <> gap <> txt closer)
-  where
-    gap = if risky then breakOrSpace else breakOrNothing
-    risky =
-      any isStar (listify (const True :: HsType GhcPs -> Bool) x)
-        || any isAbstract (listify (const True :: FamilyInfo GhcPs -> Bool) x)
-        || not (null (listify (const True :: FixitySig GhcPs -> Bool) x))
-    isStar = \case
-      HsStarTy{} -> True
-      _ -> False
-    isAbstract = \case
-      ClosedTypeFamily Nothing -> True
-      _ -> False
-
--- | An item of a block: the last one keeps the block's bracing, and any
--- other may brace itself when the block is flat.
-blockItem :: Position -> Bracing -> (Bracing -> Doc) -> Doc
-blockItem position bracing render = case position of
-  Last -> render bracing
-  Only -> render bracing
-  _ -> mayBraceWhenFlat bracing render
-
--- | Let a block brace itself when the surrounding layout is flat.
-mayBraceWhenFlat :: Bracing -> (Bracing -> Doc) -> Doc
-mayBraceWhenFlat whenBroken render =
-  variant (render MayBrace) (render whenBroken)
-
--- | A @case@ or lambda standing as a block item has to delimit itself when
--- the block is flat, unless it is the function of an application, where the
--- argument that follows already does so.
-bracedForSite :: Site -> (Bracing -> Doc) -> Doc
-bracedForSite site render
-  | siteInBlock site && not (siteApplicand site) =
-      mayBraceWhenFlat (siteBracing site) render
-  | otherwise = render (siteBracing site)
-
-----------------------------------------------------------------------------
--- Bodies
-
--- | An expression standing as the body of an enclosing construct.
-data ExprBody = ExprBody Ctx Site (LHsExpr GhcPs)
-
-instance Body ExprBody where
-  printBody (ExprBody ctx site e) = hsExprIn ctx site e
-  bodyPlacement (ExprBody _ _ e) = exprHangs (unLoc e)
-
--- | A command standing as the body of an enclosing construct.
-data CmdBody = CmdBody Ctx Site (LHsCmd GhcPs)
-
-instance Body CmdBody where
-  printBody (CmdBody ctx site c) = hsCmd ctx site c
-  bodyPlacement (CmdBody _ _ c) = cmdHangs (unLoc c)
-
--- | A command at the top of an arrow form.
-data CmdTopBody = CmdTopBody Ctx Site (LHsCmdTop GhcPs)
-
-instance Body CmdTopBody where
-  printBody (CmdTopBody ctx site l) = at ctx l (cmdTop ctx site)
-  bodyPlacement (CmdTopBody _ _ l) = cmdTopHangs (unLoc l)
-
--- | Does this expression absorb the line break that introduces it?
-exprHangs :: HsExpr GhcPs -> Placement
-exprHangs = \case
-  HsDo _ (DoExpr _) _ -> Hanging
-  HsDo _ (MDoExpr _) _ -> Hanging
-  HsCase{} -> Hanging
-  HsLam _ lamVariant mg -> case lamVariant of
-    LamCase -> Hanging
-    LamCases -> Hanging
-    LamSingle -> case mg of
-      MG _ (L _ [L _ (Match _ _ (L _ ps@(_ : _)) _)])
-        | maybe False isSingleLine (spansOf ps) -> Hanging
-      _ -> Normal
-  HsProc _ p _
-    | maybe False isSingleLine (spanOf p) -> Hanging
-    | otherwise -> Normal
-  HsApp _ _ y -> exprHangs (unLoc y)
-  OpApp _ x op y
-    | Just n <- operatorName op,
-      occNameString (rdrNameOcc n) == "$" ->
-        exprHangs (unLoc y)
-    | otherwise -> exprHangs (unLoc x)
-  _ -> Normal
-
--- | Does this expression end with a layout block, which takes in what is
--- printed after it on its last line?
-endsWithBlock :: HsExpr GhcPs -> Bool
-endsWithBlock = \case
-  HsDo _ (DoExpr _) _ -> True
-  HsDo _ (MDoExpr _) _ -> True
-  HsCase{} -> True
-  HsLam _ LamCase _ -> True
-  HsLam _ LamCases _ -> True
-  HsApp _ _ y -> endsWithBlock (unLoc y)
-  OpApp _ _ _ y -> endsWithBlock (unLoc y)
-  _ -> False
-
--- | Does this command absorb the line break that introduces it?
-cmdHangs :: HsCmd GhcPs -> Placement
-cmdHangs = \case
-  HsCmdDo{} -> Hanging
-  HsCmdCase{} -> Hanging
-  HsCmdLam{} -> Hanging
-  _ -> Normal
-
--- | Does this command at the top of an arrow form absorb the line break
--- that introduces it?
-cmdTopHangs :: HsCmdTop GhcPs -> Placement
-cmdTopHangs (HsCmdTop _ c) = cmdHangs (unLoc c)
-
--- | The name of an operator, when the expression standing as one is a name.
-operatorName :: LHsExpr GhcPs -> Maybe RdrName
-operatorName e = case unLoc e of
-  HsVar _ (L _ n) -> Just n
-  _ -> Nothing
+    valDecl,
+    untypedSplice,
+  )
+where
+
+import Control.Applicative ((<|>))
+import Data.Char (isSpace)
+import Data.Choice (Choice, fromBool, isTrue, pattern Is, pattern Isn't)
+import Data.Data (Data)
+import Data.Generics.Schemes (listify)
+import Data.List (unsnoc)
+import Data.List.NonEmpty (NonEmpty (..))
+import Data.List.NonEmpty qualified as NE
+import Data.Map.Strict qualified as Map
+import Data.Maybe (isJust, isNothing, listToMaybe)
+import Data.Text (Text)
+import Data.Text qualified as T
+import GHC.Data.FastString (unpackFS)
+import GHC.Hs hiding (Fixity, UnicodeSyntax)
+import GHC.LanguageExtensions.Type (Extension (..))
+import GHC.Parser.CharClass (is_symbol)
+import GHC.Types.Basic (Boxity (..), funPrec)
+import GHC.Types.Fixity (LexicalFixity (..))
+import GHC.Types.Name.Occurrence (occNameString)
+import GHC.Types.Name.Reader (RdrName (..), mkVarUnqual)
+import GHC.Types.SrcLoc
+  ( GenLocated (..),
+    getLoc,
+    isZeroWidthSpan,
+    noSrcSpan,
+    unLoc,
+  )
+import Language.Haskell.Syntax.Basic (field_label)
+import Prelude hiding (break)
+
+import Tilia.Doc (BracketSide (..), edgeTexts)
+import Tilia.Doc.Combinators
+import Tilia.Fixity
+  ( Fixity,
+    Namespace (..),
+  )
+import Tilia.Render.Block
+import Tilia.Render.Context
+import Tilia.Render.Literal (hsLit, writtenString)
+import Tilia.Render.Name
+import Tilia.Render.Operator
+import Tilia.Render.Pattern
+import Tilia.Render.Type
+import Tilia.Settings (indentationColumns)
+import Tilia.Source.Lines (contentColumn)
+import Tilia.Span
+import Tilia.Span.Ghc
+
+-- | An expression.
+hsExpr :: Ctx -> LHsExpr GhcPs -> Doc
+hsExpr ctx = hsExprIn ctx plainSite
+
+-- | An expression that knows where it stands.
+hsExprIn :: Ctx -> Site -> LHsExpr GhcPs -> Doc
+hsExprIn ctx site l = at ctx l (exprBody ctx site (spanOf l))
+
+-- | Every shape an expression can take.
+exprBody ::
+  -- | The context.
+  Ctx ->
+  -- | Where it stands.
+  Site ->
+  -- | Where it was.
+  Maybe Span ->
+  -- | The expression.
+  HsExpr GhcPs ->
+  Doc
+exprBody ctx site here = \case
+  HsVar _ n -> nameClosing ctx (closingFor site) n
+  HsOverLabel src _ -> txt "#" <> sourceText src
+  HsIPVar _ (HsIPName n) -> txt "?" <> outputable n
+  HsOverLit _ v -> outputable (ol_val v)
+  HsLit _ lit -> hsLit lit
+  HsLam ann variant' mg -> lambda ctx site ann variant' (ExprBody ctx) mg
+  HsApp _ f x -> application ctx site f x
+  HsAppType at' e a ->
+    hsExprIn ctx (leftmost site) e
+      >+> break
+        <> atSpan
+          ctx
+          (spanOf at' <> spanOf (hswc_body a))
+          (keywordAt (spanOf at') "@" <> hsType ctx (hswc_body a))
+  OpApp _ x op y -> exprChain ctx site x op y
+  NegApp minus e _ ->
+    keywordAt (spanOf minus) "-"
+      >+> includeWhen (isLiteral e) (negativeLiteralGap ctx)
+        <> includeWhen symbolFirst space
+        <> operand
+    where
+      operand = hsExprIn ctx (rightmost site) e
+      symbolFirst =
+        any
+          (maybe False (is_symbol . fst) . T.uncons)
+          (edgeTexts OpeningBracket operand)
+  HsPar tokens e ->
+    layoutFrom ctx (spanOf e) $
+      bracketWith
+        (closingFor site)
+        (pairSpans tokens)
+        "("
+        ")"
+        (insideBrackets here (hashesApart ctx (hsExpr ctx e)))
+  SectionL _ x op ->
+    hsExprIn ctx plainSite{siteFollowed = followed} x >+> break <> hsExpr ctx op
+    where
+      followed = takesIn (exprEndingBlock (unLoc x)) op
+  SectionR _ op x -> hsExpr ctx op >+> break <> hsExpr ctx x
+  ExplicitTuple brackets args boxity ->
+    tuple ctx here (closingFor site) (pairSpans brackets) boxity args
+  ExplicitSum ann tag arity e ->
+    unboxedSum
+      (closingFor site)
+      (spanOf (aesOpen ann), spanOf (aesClose ann))
+      tag
+      arity
+      (hsExpr ctx e)
+  HsCase anns e mg -> caseOf ctx site (ExprBody ctx) anns e mg
+  HsIf anns c t e ->
+    ifThenElse ctx (bodyIn (ExprBody ctx) (siteBracing site)) anns c t e
+  HsMultiIf (ifToken, _, _) guards ->
+    (if siteFollowed site then broken else id) $
+      indent
+        (underSite site)
+        (keywordAt (spanOf ifToken) "if")
+        (break <> sepBy break (fmap alternative (NE.toList guards)))
+    where
+      alternative =
+        guardedRhs ctx Normal (siteBracing site) (ExprBody ctx) RightArrow
+  HsLet tokens binds e ->
+    letIn ctx (bodyIn (ExprBody ctx) (siteBracing site)) nested tokens binds e
+    where
+      nested = case unLoc e of
+        HsLet{} -> True
+        _ -> False
+  HsDo anns flavour es -> case flavour of
+    DoExpr moduleName -> doBlock moduleName "do"
+    MDoExpr moduleName -> doBlock moduleName "mdo"
+    ListComp -> comprehension ctx site here (bracketSpans (al_brackets anns)) es
+    MonadComp ->
+      comprehension ctx site here (bracketSpans (al_brackets anns)) es
+    GhciStmtCtxt -> error "Tilia: GhciStmtCtxt cannot occur in a source file"
+    where
+      doBlock moduleName word =
+        statements
+          ctx
+          site
+          (ExprBody ctx)
+          ( foldMap (\m -> outputable m <> txt ".") moduleName
+              <> keywordAt (doKeywordSpan anns) word
+          )
+          es
+  ExplicitList ann xs ->
+    commaBracketWith
+      (ctxCommaStyle ctx)
+      (closingFor site)
+      (bracketSpans (al_brackets ann))
+      "["
+      "]"
+      ( insideBrackets
+          here
+          (commaSep (ctxCommaStyle ctx) (fmap (align . item . hsExpr ctx) xs))
+      )
+    where
+      item
+        | maybe True (writtenOnOneLine ctx) here = id
+        | otherwise = infrangible
+  RecordCon{..} ->
+    name ctx rcon_con
+      >+> break'
+        <> bracketWith
+          0
+          (pairSpans rcon_ext)
+          "{"
+          "}"
+          ( insideBrackets
+              here
+              (commaSep (ctxCommaStyle ctx) (fmap align (fields <> wildcard)))
+          )
+    where
+      HsRecFields{..} = rcon_flds
+      fields =
+        fmap
+          (at_ ctx (fieldBind ctx (at_ ctx (name ctx . foLabel))))
+          rec_flds
+      wildcard = case rec_dotdot of
+        Just l -> [at ctx l (const (txt ".."))]
+        Nothing -> []
+  RecordUpd{..} ->
+    hsExprIn ctx (leftmost site) rupd_expr
+      >+> break'
+        <> bracketWith
+          0
+          (pairSpans rupd_ext)
+          "{"
+          "}"
+          (insideBrackets here updates)
+    where
+      updates = case rupd_flds of
+        RegularRecUpdFields{..} ->
+          commaSep
+            (ctxCommaStyle ctx)
+            ( fmap
+                (align . at_ ctx (fieldBind ctx (at_ ctx (fieldOcc ctx))))
+                recUpdFields
+            )
+        OverloadedRecUpdFields{..} ->
+          commaSep
+            (ctxCommaStyle ctx)
+            ( fmap
+                (align . at_ ctx (fieldBind ctx (at_ ctx labelChain)))
+                olRecUpdFields
+            )
+      labelChain (FieldLabelStrings flss) = dotFields ctx (unLoc <$> flss)
+  HsGetField{..} ->
+    hsExprIn ctx (leftmost site) gf_expr <> at ctx gf_field (dotted ctx)
+  HsProjection{..} ->
+    parens
+      (spanOf (apOpen proj_ext), spanOf (apClose proj_ext))
+      (foldMap (dotted ctx) proj_flds)
+  ExprWithTySig _ x HsWC{hswc_body} ->
+    align $
+      if isJust (exprEndingBlock (unLoc x))
+        then
+          indent
+            (closingFor site)
+            subject
+            ( break
+                <> ( txt (reserved ctx "::")
+                       >+> space <> hsSigType ctx hswc_body
+                   )
+            )
+        else subject >+> typeAscription ctx (spanOf x) hswc_body
+    where
+      subject =
+        hsExprIn
+          ctx
+          (leftmost site)
+            { siteFollowed = siteInBlock site,
+              siteBracing = MayBrace
+            }
+          x
+  ArithSeq ann _ range ->
+    arithSeq
+      ctx
+      here
+      (closingFor site)
+      (spanOf (aas_open ann), spanOf (aas_close ann))
+      range
+  HsTypedBracket (bracketAnn, close) e ->
+    quoted here (open, spanOf close) opener "||]" e (hsExpr ctx e)
+    where
+      (open, opener) = case bracketAnn of
+        BracketNoE t -> (spanOf t, "[||")
+        BracketHasE t -> (spanOf t, "[e||")
+  HsUntypedBracket _ q -> quotation ctx here q
+  HsTypedSplice _ (HsTypedSpliceExpr tok e) ->
+    spliceTH ctx (Is #typed) (spanOf tok) e DollarSplice
+  HsUntypedSplice _ splice -> untypedSplice ctx DollarSplice splice
+  HsProc _ p e ->
+    ( txt "proc"
+        >+> layoutFrom ctx (spanOf p) (break <> infrangible (hsPat ctx p))
+          <> space
+          <> txt (reserved ctx "->")
+    )
+      >+> attachBody
+        (CmdTopBody ctx (withBracing (siteBracing site) plainSite) e)
+  HsStatic _ e ->
+    txt "static"
+      >+> break
+        <> hsExprIn ctx (withBracing (siteBracing site) plainSite) e
+  HsPragE _ prag x -> case prag of
+    HsPragSCC _ n ->
+      indent
+        (if siteInBlock site then 1 else 0)
+        (txt "{-# SCC " <> writtenString n <> txt " #-}")
+        ( break
+            <> hsExprIn ctx (withBracing (siteBracing site) plainSite) x
+        )
+  HsEmbTy _ HsWC{hswc_body} -> txt "type" <> space <> hsType ctx hswc_body
+  HsHole holeKind -> case holeKind of
+    HoleVar n -> name ctx n
+    HoleError ->
+      error "Tilia: a nameless hole cannot come from a successful parse"
+  HsForAll _ tele e ->
+    forallTelescope ctx break (spanOf e) tele <> hsExpr ctx e
+  HsQual _ qs e ->
+    at
+      ctx
+      qs
+      ( contextOf
+          ctx
+          (spanOf qs)
+          (contextParens qs)
+          bare
+          (hsExpr ctx)
+          . fmap unbracketed
+      )
+      <> joinedByArrow
+        ctx
+        break
+        (spanOf qs)
+        (spanOf e)
+        (reserved ctx "=>")
+      <> hsExpr ctx e
+    where
+      bare c = case unLoc c of
+        OpApp{} -> True
+        other -> not (hsExprNeedsParens funPrec other)
+  HsFunArr _ multAnn x y ->
+    hsExpr ctx x
+      <> joinedByFunctionArrow
+        ctx
+        (hsExpr ctx)
+        break
+        (spanOf x)
+        (spanOf y)
+        multAnn
+      <> case unLoc y of
+        HsFunArr{} -> exprBody ctx plainSite (spanOf y) (unLoc y)
+        _ -> hsExpr ctx y
+
+-- | The body of an equation, as the enclosing construct will hand it on.
+type BodyOf body b = Site -> LocatedA body -> b
+
+-- | A body standing on its own, with the given bracing.
+bodyIn :: BodyOf body b -> Bracing -> LocatedA body -> b
+bodyIn mkBody bracing = mkBody (withBracing bracing plainSite)
+
+-- | Is this expression a literal?
+isLiteral :: LHsExpr GhcPs -> Bool
+isLiteral e = case unLoc e of
+  HsLit{} -> True
+  HsOverLit{} -> True
+  _ -> False
+
+-- | A function applied to arguments.
+application ::
+  -- | The context.
+  Ctx ->
+  -- | Where it stands.
+  Site ->
+  -- | The function, applied to the arguments before the last.
+  LHsExpr GhcPs ->
+  -- | The last argument.
+  LHsExpr GhcPs ->
+  Doc
+application ctx site f x =
+  case placement of
+    Normal ->
+      mayBraceWhenFlat (siteBracing site) headAndInit
+        <> indent 1 headPtr (break <> lastArgDoc)
+    Hanging ->
+      infrangible (layoutFrom ctx initSpan (headAndInit MayBrace))
+        <> indent 1 headPtr (attach Hanging lastArgDoc)
+  where
+    (func, args) = gatherArgs f (x :| [])
+    initArgs = NE.init args
+    lastArg = NE.last args
+    lastArgDoc = hsExprIn ctx (rightmost site) lastArg
+    initSpan = spanOf f <> (startOf <$> spanOf lastArg)
+    placement
+      | maybe False (writtenOnOneLine ctx) initSpan =
+          exprHangs ctx (unLoc lastArg)
+      | otherwise = Normal
+    funcDoc bracing =
+      hsExprIn ctx site{siteFollowed = True, siteBracing = bracing} func
+    headPtr = ptr (funcDoc MayBrace)
+    headAndInit bracing =
+      ref (funcDoc bracing)
+        <> foldMap
+          ( indent (if placement == Hanging then 0 else 1) headPtr
+              . (break <>)
+              . hsExprIn ctx (withBracing bracing plainSite)
+          )
+          initArgs
+
+-- | The head of an application, and its arguments in the order written.
+gatherArgs ::
+  LHsExpr GhcPs ->
+  NonEmpty (LHsExpr GhcPs) ->
+  (LHsExpr GhcPs, NonEmpty (LHsExpr GhcPs))
+gatherArgs f known = case unLoc f of
+  HsApp _ l r -> gatherArgs l (NE.cons r known)
+  _ -> (f, known)
+
+-- | A tuple, or a tuple section.
+tuple ::
+  -- | The context.
+  Ctx ->
+  -- | Where it was written.
+  Maybe Span ->
+  -- | How many steps in from the opening bracket the closing one goes.
+  Int ->
+  -- | Where the brackets were written.
+  (Maybe Span, Maybe Span) ->
+  -- | Whether it is boxed.
+  Boxity ->
+  -- | What it holds.
+  [HsTupArg GhcPs] ->
+  Doc
+tuple ctx here closing brackets boxity args
+  | any isMissing args = flat (brackets' (sepBy comma (fmap arg args)))
+  | otherwise = brackets' (commaSep (ctxCommaStyle ctx) (fmap arg args))
+  where
+    brackets' =
+      boxityBrackets (ctxCommaStyle ctx) boxity closing brackets
+        . insideBrackets here
+        . hashesApart ctx
+    isMissing = \case
+      Missing _ -> True
+      _ -> False
+    arg =
+      align . \case
+        Present _ e -> hsExpr ctx e
+        Missing _ -> mempty
+
+-- | An arithmetic sequence, in whichever of its four forms.
+arithSeq ::
+  -- | The context.
+  Ctx ->
+  -- | Where it was written.
+  Maybe Span ->
+  -- | How many steps in from the opening bracket the closing one goes.
+  Int ->
+  -- | Where the brackets were written.
+  (Maybe Span, Maybe Span) ->
+  -- | The sequence.
+  ArithSeqInfo GhcPs ->
+  Doc
+arithSeq ctx here closing brackets = \case
+  From from -> wrap (hsExpr ctx from <> break <> txt "..")
+  FromThen from next ->
+    wrap
+      ( commaSep (ctxCommaStyle ctx) (fmap (hsExpr ctx) [from, next])
+          <> break
+          <> txt ".."
+      )
+  FromTo from to ->
+    wrap (hsExpr ctx from <> break <> txt ".." <> space <> hsExpr ctx to)
+  FromThenTo from next to ->
+    wrap $
+      commaSep (ctxCommaStyle ctx) (fmap (hsExpr ctx) [from, next])
+        <> break
+        <> txt ".."
+        <> space
+        <> hsExpr ctx to
+  where
+    wrap =
+      commaBracketWith (ctxCommaStyle ctx) closing brackets "[" "]"
+        . insideBrackets here
+
+-- | One field of a record construction or update.
+fieldBind ::
+  HasLoc l =>
+  Ctx ->
+  (GenLocated l a -> Doc) ->
+  HsFieldBind (GenLocated l a) (LHsExpr GhcPs) ->
+  Doc
+fieldBind ctx label HsFieldBind{..}
+  | hfbPun = label hfbLHS
+  | otherwise =
+      label hfbLHS
+        >+> trailing (keywordAt (spanOf =<< hfbAnn) "=")
+          <> attach placement (hsExpr ctx hfbRHS)
+  where
+    placement
+      | sameLine (spanOf hfbLHS) (spanOf hfbRHS) = exprHangs ctx (unLoc hfbRHS)
+      | otherwise = Normal
+
+-- | One field name written after a dot.
+dotField :: Ctx -> DotFieldOcc GhcPs -> Doc
+dotField ctx = name ctx . fmap (mkVarUnqual . field_label) . dfoLabel
+
+-- | A run of field names, joined by the dots between them.
+dotFields ::
+  -- | The context.
+  Ctx ->
+  -- | The field names.
+  NonEmpty (DotFieldOcc GhcPs) ->
+  Doc
+dotFields ctx (f :| fs) = dotField ctx f <> foldMap (dotted ctx) fs
+
+-- | One field name with the dot written right before it.
+dotted ::
+  -- | The context.
+  Ctx ->
+  -- | The field.
+  DotFieldOcc GhcPs ->
+  Doc
+dotted ctx f =
+  keywordAt (spanOf =<< afDot (dfoExt f)) "." <> dotField ctx f
+
+-- | A chain of operators applied to expressions.
+exprChain ::
+  Ctx ->
+  Site ->
+  LHsExpr GhcPs ->
+  LHsExpr GhcPs ->
+  LHsExpr GhcPs ->
+  Doc
+exprChain ctx site x op y =
+  operatorChain
+    ctx
+    site
+    (ExprBody ctx)
+    isDoBlock
+    (flattenAround splitOpApp x op y)
+
+-- | Take an operator application apart, if that is what this is.
+splitOpApp ::
+  LHsExpr GhcPs ->
+  Maybe (LHsExpr GhcPs, LHsExpr GhcPs, LHsExpr GhcPs)
+splitOpApp e = case unLoc e of
+  OpApp _ l o r -> Just (l, o, r)
+  _ -> Nothing
+
+-- | The fixity of an operator used in an expression.
+fixityOf :: Ctx -> LHsExpr GhcPs -> Maybe Fixity
+fixityOf ctx o =
+  (spanOf o >>= (`Map.lookup` ctxCaptured ctx))
+    <|> (operatorName o >>= operatorFixity ctx InTerms)
+
+-- | Regroup a run of operators applied to expressions or commands by
+-- precedence, and print it.
+operatorChain ::
+  (Body b, HasLoc a) =>
+  -- | The context.
+  Ctx ->
+  -- | Where the chain stands.
+  Site ->
+  -- | An operand, as a body.
+  (Site -> a -> b) ->
+  -- | Is this operand a @do@ block?
+  (a -> Bool) ->
+  -- | The operands, and the operators between them.
+  (NonEmpty a, [LHsExpr GhcPs]) ->
+  Doc
+operatorChain ctx outerSite mkBody isDo =
+  render False 1 outerSite . uncurry (associate (fixityOf ctx))
+  where
+    hangs = bodyPlacement . mkBody plainSite
+    endingBlock = bodyEndingBlock . mkBody plainSite
+    render afterOperator steps site = \case
+      Operand e -> printBody (mkBody site e)
+      chain@(Chain operands@(firstOne :| _) operators) ->
+        layoutFrom ctx (chainSpan spanOf chain) $
+          if mayTrail
+            then laidOut True MayBrace
+            else leadingForm
+        where
+          leadingForm =
+            mayBraceWhenFlat
+              (if placement == Hanging then MayBrace else NoBrace)
+              (laidOut False)
+          placement
+            | leadingDo && not (siteInBlock site) = Normal
+            | otherwise =
+                placementOf (chainSpan spanOf firstOne) (NE.last operands)
+          placementOf leader operand
+            | ledByDo operand = Normal
+            | otherwise = chainPlacement hangs leader operand
+          ledByDo = \case
+            Operand _ -> False
+            c -> doWithinAStep ctx isDo (firstOperand c)
+          firstSteps
+            | any isChain (NE.tail operands),
+              not (any (isSeparator . fixityOf ctx) operators),
+              isNothing (endingBlock (firstOperand firstOne)) =
+                steps + 1
+            | otherwise = steps
+          laidOut trails bracing =
+            let first' =
+                  heldIf
+                    (trails || leadingDo || placement == Hanging)
+                    ( render
+                        afterOperator
+                        firstSteps
+                        ( followedBy
+                            (listToMaybe operators)
+                            firstOne
+                            (withBracing (firstBracing bracing) site)
+                        )
+                        firstOne
+                    )
+                fromFirst =
+                  indent
+                    (if leadingDo && not (siteInBlock site) then 0 else steps)
+                    (ptr first')
+                pieces = links operands operators
+             in ref first'
+                  <> if trails
+                    then
+                      fromFirst
+                        (foldr (piece trails bracing fromFirst) mempty pieces)
+                    else foldr (piece trails bracing fromFirst) mempty pieces
+          heldIf held = if held then infrangible else id
+          followedBy next operand s =
+            s
+              { siteFollowed =
+                  maybe
+                    (siteFollowed site)
+                    (takesIn (endingBlock (lastOperand operand)))
+                    next
+              }
+          leadingDo = case firstOne of
+            Operand e -> not afterOperator && doWithinAStep ctx isDo e
+            Chain{} -> False
+          firstBracing bracing
+            | leadingDo && siteInBlock site = MayBrace
+            | otherwise = bracing
+          operatorLine placing previous o operand rendered
+            | leadingDo && not (siteInBlock site) =
+                break <> attachedWith Hanging
+            | otherwise = attachedWith placement
+            where
+              attachedWith p =
+                attachOperator
+                  p
+                  placing
+                  (chainSpan spanOf previous)
+                  (spanOf o)
+                  (chainSpan spanOf operand)
+                  (hsExpr ctx o)
+                  rendered
+          piece trails bracing placing (previous, o, operand, next) rest' =
+            let isLast = isNothing next
+                operandSite =
+                  followedBy next operand $
+                    withBracing
+                      (if isLast then siteBracing site else bracing)
+                      plainSite
+                rendered =
+                  heldIf
+                    ((trails || placement == Hanging) && not isLast)
+                    (render (not trails) 1 operandSite operand)
+             in if trails
+                  then
+                    trailing (hsExpr ctx o)
+                      >+> attach
+                        (tailPlacement isLast o operand)
+                        (if isLast then rendered else rendered >+> rest')
+                  else operatorLine placing previous o operand rendered <> rest'
+          tailPlacement isLast o operand
+            | isLast,
+              not (maybe True isSingleLine (chainSpan spanOf operand)) =
+                placementOf (spanOf o) operand
+            | otherwise = Normal
+          mayTrail =
+            (length operators == 1 || endsHanging)
+              && and (zipWith couldTrail (NE.toList operands) operators)
+          endsHanging = hangs (lastOperand chain) == Hanging
+          couldTrail previous o =
+            isSeparator (fixityOf ctx o)
+              && maybe False (writtenOnOneLine ctx) (chainSpan spanOf previous)
+              && placement == Normal
+              && not (isDo (lastOperand previous))
+              && endingBlock (lastOperand previous) /= Just NoSemicolons
+
+-- | Is this a @do@ or @mdo@ block written on one line, with its statements
+-- nearer to where it begins than a step?
+doWithinAStep ::
+  HasLoc a =>
+  -- | The context.
+  Ctx ->
+  -- | Is this a @do@ block?
+  (a -> Bool) ->
+  -- | The expression or command.
+  a ->
+  Bool
+doWithinAStep ctx isDo e =
+  indentationColumns (ctxIndentation ctx) > 2
+    && isDo e
+    && maybe False (writtenOnOneLine ctx) (spanOf e)
+
+-- | Is this expression a @do@ or @mdo@ block?
+isDoBlock :: LHsExpr GhcPs -> Bool
+isDoBlock e = case unLoc e of
+  HsDo _ (DoExpr _) _ -> True
+  HsDo _ (MDoExpr _) _ -> True
+  _ -> False
+
+-- | Whether an operand hangs, which it can only where it starts on the line
+-- the given span starts on.
+chainPlacement ::
+  HasLoc a =>
+  (a -> Placement) ->
+  Maybe Span ->
+  OpChain a op ->
+  Placement
+chainPlacement placer leader operand = case operand of
+  Operand x | startsTogether -> placer x
+  Chain (first :| _) _ -> chainPlacement placer leader first
+  _ -> Normal
+  where
+    startsTogether =
+      case (leader, chainSpan spanOf operand) of
+        (Just a, Just b) -> spanStartLine a == spanStartLine b
+        _ -> False
+
+-- | What is inside, however many brackets were written around it.
+unbracketed :: LHsExpr GhcPs -> LHsExpr GhcPs
+unbracketed e = case unLoc e of
+  HsPar _ inner -> unbracketed inner
+  _ -> e
+
+-- | A statement of a comprehension or a guard.
+hsStmt :: Ctx -> ExprLStmt GhcPs -> Doc
+hsStmt ctx = at_ ctx (stmtBody ctx plainSite (ExprBody ctx))
+
+-- | One statement of a block, a comprehension or a guard.
+stmtBody ::
+  ( Body b,
+    Anno [LStmt GhcPs (XRec GhcPs body)] ~ SrcSpanAnnLW,
+    Anno (Stmt GhcPs (XRec GhcPs body)) ~ SrcSpanAnnA,
+    Anno body ~ SrcSpanAnnA
+  ) =>
+  Ctx ->
+  Site ->
+  BodyOf body b ->
+  Stmt GhcPs (XRec GhcPs body) ->
+  Doc
+stmtBody ctx site mkBody = \case
+  LastStmt _ body _ _ -> printBody (mkBody site body)
+  BodyStmt _ body _ _ -> printBody (mkBody site body)
+  BindStmt arrow p f ->
+    hsPatClosing ctx (closingFor site) p
+      >+> trailing (keywordAt (spanOf arrow) (reserved ctx "<-"))
+        <> layoutFrom
+          ctx
+          (fmap endOf (spanOf p) <> spanOf f)
+          (attach placement (printBody bound))
+    where
+      bound = bodyIn mkBody (siteBracing site) f
+      placement
+        | sameLine (spanOf p) (spanOf f) = bodyPlacement bound
+        | otherwise = Normal
+  LetStmt _ binds ->
+    txt "let" <> space <> align (localBinds ctx (siteBracing site) binds)
+  ParStmt{} ->
+    error "Tilia: ParStmt should have been unpacked"
+  TransStmt{..} -> layoutFrom ctx own $ case (trS_form, trS_by) of
+    (ThenForm, Nothing) ->
+      then' >+> break <> hsExpr ctx trS_using
+    (ThenForm, Just e) ->
+      (then' >+> break <> hsExpr ctx trS_using)
+        <> break
+        <> (by >+> break <> hsExpr ctx e)
+    (GroupForm, Nothing) ->
+      (then' <> space <> group <> space <> using)
+        >+> break
+          <> hsExpr ctx trS_using
+    (GroupForm, Just e) ->
+      (then' <> space <> group <> space <> by >+> break <> hsExpr ctx e)
+        <> break
+        <> (using >+> break <> hsExpr ctx trS_using)
+    where
+      then' = keywordAt (spanOf (ats_then trS_ext)) "then"
+      group = keywordAt (spanOf =<< ats_group trS_ext) "group"
+      by = keywordAt (spanOf =<< ats_by trS_ext) "by"
+      using = keywordAt (spanOf =<< ats_using trS_ext) "using"
+      own =
+        spanOf (ats_then trS_ext) <> spanOf trS_using <> foldMap spanOf trS_by
+  RecStmt{..} ->
+    txt "rec" <> space <> align (stmtBlock ctx site mkBody recS_stmts)
+
+-- | The statements of a block after the keyword that opens it, with the
+-- break that introduces them.
+statements ::
+  ( Body b,
+    Anno [LStmt GhcPs (XRec GhcPs body)] ~ SrcSpanAnnLW,
+    Anno (Stmt GhcPs (XRec GhcPs body)) ~ SrcSpanAnnA,
+    Anno body ~ SrcSpanAnnA
+  ) =>
+  -- | The context.
+  Ctx ->
+  -- | Where the block stands.
+  Site ->
+  -- | Each body, as the block hands it on.
+  BodyOf body b ->
+  -- | The keyword.
+  Doc ->
+  -- | The statements.
+  XRec GhcPs [LStmt GhcPs (XRec GhcPs body)] ->
+  Doc
+statements ctx site mkBody keyword es =
+  indent
+    (underSite site)
+    keyword
+    (break <> stmtBlock ctx site mkBody es)
+
+-- | The statements of a block, each laid out as an item of it.
+stmtBlock ::
+  ( Body b,
+    Anno [LStmt GhcPs (XRec GhcPs body)] ~ SrcSpanAnnLW,
+    Anno (Stmt GhcPs (XRec GhcPs body)) ~ SrcSpanAnnA,
+    Anno body ~ SrcSpanAnnA
+  ) =>
+  -- | The context.
+  Ctx ->
+  -- | Where the block stands.
+  Site ->
+  -- | Each body, as the block hands it on.
+  BodyOf body b ->
+  -- | The statements.
+  XRec GhcPs [LStmt GhcPs (XRec GhcPs body)] ->
+  Doc
+stmtBlock ctx site mkBody es = maybe id located (spanOf es) (block (unLoc es))
+  where
+    block xs =
+      itemsOrBraces (getLoc es) (siteBracing site) (separatedByBlank ctx) $
+        [ (spanOf stmt, item rank stmt)
+        | (rank, stmt) <- ranked xs
+        ]
+    item rank stmt =
+      bracedByRank rank NoBrace $ \bracing ->
+        at ctx stmt (stmtBody ctx (blockSite bracing) mkBody)
+    blockSite bracing =
+      plainSite{siteInBlock = True, siteBracing = bracing}
+
+-- | A list comprehension.
+comprehension ::
+  -- | The context.
+  Ctx ->
+  -- | Where it stands.
+  Site ->
+  -- | Where it was written.
+  Maybe Span ->
+  -- | Where its brackets were written.
+  (Maybe Span, Maybe Span) ->
+  -- | What it yields, and the statements it yields it from.
+  XRec GhcPs [ExprLStmt GhcPs] ->
+  Doc
+comprehension ctx site here (o, c) es = align (variant onOneLine acrossLines)
+  where
+    onOneLine = opening <> body <> closing
+    acrossLines = opening <> space <> keepInside (body <> newline <> closing)
+    opening = openingAt o "["
+    closing = closingAt c "]"
+    keepInside = if siteInBlock site then align else id
+    body = insideBrackets here (at ctx es sections)
+    sections xs = case unsnoc xs of
+      Nothing -> error "Tilia: a comprehension always yields something"
+      Just (stmts, yield) ->
+        align (hsStmt ctx yield)
+          <> break
+          <> sepBy break (fmap section (comprehensionSections stmts))
+    section stmts =
+      located'
+        (spansOf stmts)
+        ( commaSepAfter
+            (ctxCommaStyle ctx)
+            "|"
+            (fmap (align . hsStmt ctx) stmts)
+        )
+    located' = maybe id located
+
+-- | Split the statements of a comprehension into its parallel sections.
+comprehensionSections :: [ExprLStmt GhcPs] -> [[ExprLStmt GhcPs]]
+comprehensionSections = fmap unnest . branches
+  where
+    branches = \case
+      [L _ (ParStmt _ blocks _ _)] ->
+        [run | ParStmtBlock _ run _ _ <- NE.toList blocks]
+      run -> [run]
+    unnest = concatMap $ \case
+      L _ ParStmt{} -> error "Tilia: parallel blocks do not nest"
+      stmt@(L _ TransStmt{trS_stmts}) -> unnest trS_stmts <> [stmt]
+      stmt -> [stmt]
+
+-- | A @case@ expression or command.
+caseOf ::
+  ( Body b,
+    Anno (GRHS GhcPs (LocatedA body)) ~ EpAnnCO,
+    Anno [LMatch GhcPs (LocatedA body)] ~ SrcSpanAnnLW,
+    Anno (Match GhcPs (LocatedA body)) ~ SrcSpanAnnA
+  ) =>
+  -- | The context.
+  Ctx ->
+  -- | Where it stands.
+  Site ->
+  -- | Each body, as the alternatives hand it on.
+  BodyOf body b ->
+  -- | Where its keywords were.
+  EpAnnHsCase ->
+  -- | The scrutinee.
+  LHsExpr GhcPs ->
+  -- | The alternatives.
+  MatchGroup GhcPs (LocatedA body) ->
+  Doc
+caseOf ctx site mkBody EpAnnHsCase{..} scrutinee mg =
+  ref keyword
+    <> indent
+      1
+      (ptr keyword)
+      ( space
+          <> hsExpr ctx scrutinee
+          <> trailing (keywordAt (spanOf hsCaseAnnOf) "of")
+      )
+    <> indent
+      (underSite site)
+      (ptr keyword)
+      (break <> matchGroup ctx (siteBracing site) mkBody CaseStyle mg)
+  where
+    keyword = keywordAt (spanOf hsCaseAnnCase) "case"
+
+-- | A lambda, in any of its three spellings.
+lambda ::
+  ( Body b,
+    Anno (GRHS GhcPs (LocatedA body)) ~ EpAnnCO,
+    Anno [LMatch GhcPs (LocatedA body)] ~ SrcSpanAnnLW,
+    Anno (Match GhcPs (LocatedA body)) ~ SrcSpanAnnA
+  ) =>
+  -- | The context.
+  Ctx ->
+  -- | Where it stands.
+  Site ->
+  -- | Where its keyword was written.
+  EpAnnLam ->
+  -- | Which of the three spellings.
+  HsLamVariant ->
+  -- | Each body, as the alternatives hand it on.
+  BodyOf body b ->
+  -- | The alternatives.
+  MatchGroup GhcPs (LocatedA body) ->
+  Doc
+lambda ctx site ann variant' mkBody mg = case keyword of
+  Nothing -> matchGroup ctx (siteBracing site) mkBody LambdaStyle mg
+  Just kw ->
+    indent
+      (underSite site)
+      (keywordAt (spanOf (epl_lambda ann) <> spanOf (epl_case ann)) kw)
+      ( break
+          <> matchGroup ctx (siteBracing site) mkBody LambdaCaseStyle mg
+      )
+  where
+    keyword = case variant' of
+      LamSingle -> Nothing
+      LamCase -> Just "\\case"
+      LamCases -> Just "\\cases"
+
+-- | An @if@ expression or command.
+ifThenElse ::
+  Body b =>
+  Ctx ->
+  (LocatedA body -> b) ->
+  AnnsIf ->
+  LHsExpr GhcPs ->
+  LocatedA body ->
+  LocatedA body ->
+  Doc
+ifThenElse ctx bodyOf AnnsIf{aiIf, aiThen, aiElse} condition thenBody elseBody =
+  refAt (spanOf aiIf) (txt "if")
+    >+> space
+      <> hsExpr ctx condition
+      <> break
+      <> branch (locA aiThen) "then" thenBody
+      <> break
+      <> branch (locA aiElse) "else" elseBody
+  where
+    branch written word body =
+      keywordAt keywordSpan word
+        >+> space
+          <> layoutFrom
+            ctx
+            (keywordSpan <> spanOf body)
+            (attach placement (printBody (bodyOf body)))
+      where
+        keywordSpan = spanOfSrcSpan written
+        placement = bodyPlacement (bodyOf body)
+
+-- | A @let@ expression or command, with @in@ ending its line where it is
+-- one of a chain written that way, and the next on the line under it.
+letIn ::
+  Body b =>
+  -- | The context.
+  Ctx ->
+  -- | How to print the body.
+  (LocatedA body -> b) ->
+  -- | Whether the body is another @let@.
+  Bool ->
+  -- | Where its @let@ and its @in@ were written.
+  (EpToken "let", EpToken "in") ->
+  -- | The bindings.
+  HsLocalBinds GhcPs ->
+  -- | The body.
+  LocatedA body ->
+  Doc
+letIn ctx bodyOf nested (letToken, inToken) binds body =
+  align $
+    written (spanOf letToken) (txt "let")
+      <> space
+      <> align
+        ( localBinds ctx NoBrace binds
+            <> foldMap (emptyAnchor . startOf) (spanOf inToken)
+        )
+      <> written (spanOf inToken) (separator <> txt "in")
+      <> (if chained then break else space)
+      <> align (printBody (bodyOf body))
+  where
+    chained = nested && not (sameLine (spanOf inToken) (spanOf body))
+    separator = if chained then space else variant space (newline <> txt " ")
+    written s d = if chained then fence s d else d
+
+-- | The bindings of a @let@ or a @where@.
+localBinds ::
+  -- | The context.
+  Ctx ->
+  -- | Whether the block may brace itself when flat.
+  Bracing ->
+  -- | The bindings.
+  HsLocalBinds GhcPs ->
+  Doc
+localBinds ctx bracing = \case
+  HsValBinds ann (ValBinds _ binds sigs) ->
+    anchored ann . align . itemsOrBraces ann bracing (separatedByBlank ctx) $
+      [ (spanOf item, rendered rank item)
+      | (rank, item) <- ranked sorted
+      ]
+    where
+      sorted = inSourceOrder [fmap (fmap Left) bound, fmap (fmap Right) sigs]
+      bound = case al_brackets (anns ann) of
+        ListBraces{} -> concatMap equations binds
+        _ -> binds
+      rendered rank item =
+        bracedByRank rank NoBrace $ \b ->
+          at ctx item $ \case
+            Left bind -> valDecl ctx b bind
+            Right sig -> knotSig (ctxKnot ctx) ctx sig
+  HsValBinds _ _ -> error "Tilia: renamer-only local bindings"
+  HsIPBinds ann (IPBinds _ xs) ->
+    anchored ann . itemsOrBraces ann bracing (separatedByBlank ctx) $
+      [(spanOf x, at ctx x implicitBind) | x <- xs]
+  EmptyLocalBinds _ -> mempty
+  where
+    implicitBind (IPBind _ n e) =
+      at ctx n outputable
+        >+> trailing (txt "=")
+          <> attach placement (hsExpr ctx e)
+      where
+        placement
+          | sameLine (spanOf n) (spanOf e) = exprHangs ctx (unLoc e)
+          | otherwise = Normal
+    anchored ann d = case ann of
+      EpAnn{anns = AnnList{al_anchor, al_brackets}}
+        | not (isZeroWidthSpan (locA al_anchor)) ->
+            let held = spanOfSrcSpan (locA al_anchor)
+             in maybe id located (held <> bracketsSpan al_brackets) $
+                  layoutFrom ctx held d
+      _ -> d
+
+-- | The equations of a binding, each a binding of its own.
+equations :: LHsBind GhcPs -> [LHsBind GhcPs]
+equations = \case
+  L _ (FunBind x f (MG o (L l ms))) ->
+    [L lm (FunBind x f (MG o (L l [m]))) | m@(L lm _) <- ms]
+  b -> [b]
+
+-- | Where a @do@ or @mdo@ was written.
+doKeywordSpan :: AnnList EpaLocation -> Maybe Span
+doKeywordSpan = spanOfSrcSpan . locA . al_rest
+
+-- | Where the @where@ keyword of a group of local bindings was.
+whereKeywordSpan :: HsLocalBinds GhcPs -> Maybe Span
+whereKeywordSpan =
+  spanOfSrcSpan . \case
+    HsValBinds EpAnn{anns = AnnList{al_rest}} _ -> locA al_rest
+    HsIPBinds EpAnn{anns = AnnList{al_rest}} _ -> locA al_rest
+    EmptyLocalBinds _ -> noSrcSpan
+
+-- | Is this a @where@ written with nothing under it?
+isEmptyLocalBinds :: HsLocalBinds GhcPs -> Bool
+isEmptyLocalBinds = \case
+  HsValBinds _ (ValBinds _ binds sigs) -> null binds && null sigs
+  _ -> False
+
+-- | An arrow-notation command.
+hsCmd ::
+  -- | The context.
+  Ctx ->
+  -- | Where it stands.
+  Site ->
+  -- | The command.
+  LHsCmd GhcPs ->
+  Doc
+hsCmd ctx site l = at ctx l (cmdBody ctx site (spanOf l))
+
+-- | Every shape an arrow-notation command can take.
+cmdBody ::
+  -- | The context.
+  Ctx ->
+  -- | Where it stands.
+  Site ->
+  -- | Where it was.
+  Maybe Span ->
+  -- | The command.
+  HsCmd GhcPs ->
+  Doc
+cmdBody ctx site here = \case
+  HsCmdArrApp _ body input arrow rightToLeft ->
+    let writtenFirst = if rightToLeft then body else input
+        writtenSecond = if rightToLeft then input else body
+     in hsExprIn ctx site writtenFirst
+          >+> break
+            <> ( txt (reserved ctx (arrowText arrow rightToLeft))
+                   >+> attachBody
+                     (bodyIn (ExprBody ctx) (siteBracing site) writtenSecond)
+               )
+  HsCmdArrForm ann form Prefix cmds ->
+    spacedBracket
+      0
+      (closingFor site)
+      (bracketSpans (al_brackets ann))
+      (reserved ctx "(|")
+      (reserved ctx "|)")
+      applied
+    where
+      applied
+        | null cmds = hsExpr ctx form
+        | otherwise =
+            hsExpr ctx form
+              >+> break
+                <> sepBy
+                  break
+                  (fmap (printBody . CmdTopBody ctx plainSite) cmds)
+  HsCmdArrForm _ form Infix [l, r] -> cmdChain ctx site l form r
+  HsCmdArrForm _ _ Infix _ ->
+    error "Tilia: an infix command form always has exactly two operands"
+  HsCmdApp _ cmd e ->
+    hsCmd ctx site{siteFollowed = True} cmd
+      >+> break
+        <> hsExprIn ctx (withBracing (siteBracing site) plainSite) e
+  HsCmdLam ann variant' mg -> lambda ctx site ann variant' (CmdBody ctx) mg
+  HsCmdPar tokens c ->
+    layoutFrom ctx (spanOf c) $
+      bracketWith
+        (closingFor site)
+        (pairSpans tokens)
+        "("
+        ")"
+        (insideBrackets here (hsCmd ctx plainSite c))
+  HsCmdCase anns e mg -> caseOf ctx site (CmdBody ctx) anns e mg
+  HsCmdIf anns _ c t e ->
+    ifThenElse ctx (bodyIn (CmdBody ctx) (siteBracing site)) anns c t e
+  HsCmdLet tokens binds c ->
+    letIn ctx (bodyIn (CmdBody ctx) (siteBracing site)) nested tokens binds c
+    where
+      nested = case unLoc c of
+        HsCmdLet{} -> True
+        _ -> False
+  HsCmdDo anns es ->
+    statements ctx site (CmdBody ctx) (keywordAt (doKeywordSpan anns) "do") es
+
+-- | How the arrow of a command application is spelled.
+arrowText :: HsArrAppType -> Bool -> Text
+arrowText arrow rightToLeft = case (arrow, rightToLeft) of
+  (HsFirstOrderApp, True) -> "-<"
+  (HsHigherOrderApp, True) -> "-<<"
+  (HsFirstOrderApp, False) -> ">-"
+  (HsHigherOrderApp, False) -> ">>-"
+
+-- | A command at the top of an arrow form.
+cmdTop :: Ctx -> Site -> HsCmdTop GhcPs -> Doc
+cmdTop ctx site (HsCmdTop _ cmd) = hsCmd ctx site cmd
+
+-- | A chain of operators applied to commands.
+cmdChain ::
+  Ctx ->
+  Site ->
+  LHsCmdTop GhcPs ->
+  LHsExpr GhcPs ->
+  LHsCmdTop GhcPs ->
+  Doc
+cmdChain ctx site l op r =
+  operatorChain
+    ctx
+    site
+    (CmdTopBody ctx)
+    isCmdDo
+    (flattenAround splitCmd l op r)
+  where
+    splitCmd c = case unLoc c of
+      HsCmdTop _ (L _ (HsCmdArrForm _ o Infix [a, b])) -> Just (a, o, b)
+      _ -> Nothing
+    isCmdDo c = case unLoc c of
+      HsCmdTop _ (L _ HsCmdDo{}) -> True
+      _ -> False
+
+-- | A value binding.
+valDecl :: Ctx -> Bracing -> HsBind GhcPs -> Doc
+valDecl ctx bracing = \case
+  FunBind _ funId funMatches ->
+    matchGroup ctx bracing (ExprBody ctx) (FunctionStyle funId) funMatches
+  PatBind _ p multAnn grhss ->
+    match
+      ctx
+      bracing
+      (ExprBody ctx)
+      PatternBindStyle
+      False
+      multAnn
+      mempty
+      (Nothing, Nothing)
+      [p]
+      grhss
+  PatSynBind _ psb -> patSynBind ctx psb
+  VarBind{} -> error "Tilia: VarBind is introduced by the type checker"
+
+-- | Which shape a group of equations takes.
+data MatchStyle
+  = -- | @f x = …@
+    FunctionStyle (LocatedN RdrName)
+  | -- | @(x, y) = …@
+    PatternBindStyle
+  | -- | An alternative of a @case@
+    CaseStyle
+  | -- | The body of a @\\@
+    LambdaStyle
+  | -- | An alternative of a @\\case@ or @\\cases@
+    LambdaCaseStyle
+
+-- | What separates a guard from what it guards.
+data GuardStyle
+  = -- | @| p = …@
+    EqualsSign
+  | -- | @| p -> …@
+    RightArrow
+  deriving (Eq, Show)
+
+-- | A group of equations.
+matchGroup ::
+  ( Body b,
+    Anno (GRHS GhcPs (LocatedA body)) ~ EpAnnCO,
+    Anno [LMatch GhcPs (LocatedA body)] ~ SrcSpanAnnLW,
+    Anno (Match GhcPs (LocatedA body)) ~ SrcSpanAnnA
+  ) =>
+  -- | The context.
+  Ctx ->
+  -- | Whether the block may brace itself when flat.
+  Bracing ->
+  -- | Each body, as the equations hand it on.
+  BodyOf body b ->
+  -- | Which shape the equations take.
+  MatchStyle ->
+  -- | The equations.
+  MatchGroup GhcPs (LocatedA body) ->
+  Doc
+matchGroup ctx bracing mkBody style MG{..} =
+  itemsOrBraces alternatives blockBracing (\_ _ -> False) $
+    [(spanOf m, rendered x) | x@(_, m) <- ranked (unLoc mg_alts)]
+  where
+    alternatives
+      | isCaseStyle style, null (unLoc mg_alts) = withBraces (getLoc mg_alts)
+      | otherwise = getLoc mg_alts
+    (blockBracing, lastBracing)
+      | isCaseStyle style = (bracing, NoBrace)
+      | otherwise = (NoBrace, bracing)
+    rendered (rank, m) =
+      bracedByRank
+        rank
+        lastBracing
+        (at ctx m . renderMatch)
+    renderMatch b m@Match{..} =
+      match
+        ctx
+        b
+        mkBody
+        (adjustStyle m style)
+        (isInfixMatch m)
+        (HsUnannotated EpPatBind)
+        (bangBeforeName m)
+        (headParens m)
+        (unLoc m_pats)
+        m_grhss
+
+-- | Put this equation's own name into the style it is printed with. A
+-- style that carries no name is left as it is.
+adjustStyle :: Match GhcPs body -> MatchStyle -> MatchStyle
+adjustStyle m = \case
+  FunctionStyle _ | FunRhs{mc_fun = f} <- m_ctxt m -> FunctionStyle f
+  style -> style
+
+-- | The @!@ or @~@ written in front of the name this equation defines.
+bangBeforeName :: Match GhcPs body -> Doc
+bangBeforeName = \case
+  Match{m_ctxt = FunRhs{mc_strictness, mc_an}} ->
+    strictness (spanOf (afr_strict mc_an)) mc_strictness
+  _ -> mempty
+
+-- | Where the parentheses around this equation's head were written, where
+-- it was written infix with more arguments after them.
+headParens :: Match GhcPs body -> (Maybe Span, Maybe Span)
+headParens = \case
+  Match{m_ctxt = FunRhs{mc_an}} ->
+    outerBracketSpans (afr_opens mc_an) (afr_closes mc_an)
+  _ -> (Nothing, Nothing)
+
+-- | One equation: a head, a body, and possibly a @where@.
+match ::
+  (Body b, Anno (GRHS GhcPs (LocatedA body)) ~ EpAnnCO) =>
+  -- | The context.
+  Ctx ->
+  -- | Whether its last block takes braces.
+  Bracing ->
+  -- | How to print its body.
+  BodyOf body b ->
+  -- | What kind of equation it is.
+  MatchStyle ->
+  -- | Written infix?
+  Bool ->
+  -- | The multiplicity written on it.
+  HsMultAnn GhcPs ->
+  -- | The @!@ or @~@ in front of the name it defines.
+  Doc ->
+  -- | Where the parentheses around its head were written, where there are
+  -- any.
+  (Maybe Span, Maybe Span) ->
+  -- | Its patterns.
+  [LPat GhcPs] ->
+  -- | Its right-hand side.
+  GRHSs GhcPs (LocatedA body) ->
+  Doc
+match ctx bracing mkBody style isInfix multAnn strict parensAt pats GRHSs{..} =
+  multiplicity (hsType ctx) multAnn
+    <> multAnnGap
+    <> strict
+    <> case (style, pats) of
+      (FunctionStyle n, _ : _) ->
+        head'
+          <> fromArguments
+            ( headArguments
+                (fromBool isInfix)
+                (name ctx n)
+                (fmap (hsPat ctx) pats)
+            )
+      (_, [])
+        | not (isFunction style) ->
+            ref rightHandSide <> indent 1 (ptr rightHandSide) whereClause
+      (LambdaStyle, _) -> ref head' <> fromArguments head'
+      (_, [p])
+        | not (isFunction style) ->
+            ref head' <> fromArguments (patArguments ctx p)
+      _ -> ref head' <> fromArguments head'
+  where
+    fromArguments from =
+      indent 1 (ptr from) rightHandSide <> indent 1 (ptr from) whereClause
+    isFunction = \case
+      FunctionStyle _ -> True
+      _ -> False
+    rightHandSide =
+      separator
+        <> layoutFrom
+          ctx
+          bodySpan
+          (guarded (fmap alternative (NE.toList grhssGRHSs)))
+
+    guarded = \case
+      a : as
+        | null pats && isCaseStyle style ->
+            a >+> foldMap (break <>) as
+      as -> attach placement (sepBy break as)
+
+    multAnnGap = case multAnn of
+      HsUnannotated{} -> mempty
+      _ -> space
+
+    headSpan = case style of
+      FunctionStyle n -> spanOf n <> patSpans
+      _ -> patSpans
+    patSpans = spansOf pats
+
+    head' = case pats of
+      [] -> case style of
+        FunctionStyle n -> name ctx n
+        _ -> mempty
+      (headPat : tailPats) -> held . layoutFrom ctx headSpan $ case style of
+        FunctionStyle n ->
+          defHead
+            1
+            parensAt
+            (fromBool isInfix)
+            (name ctx n)
+            ( zipWith
+                (hsPatClosing ctx)
+                ((if isInfix then 1 else 0) : repeat 0)
+                pats
+            )
+        PatternBindStyle -> sepBy break rendered
+        CaseStyle -> sepBy break rendered
+        LambdaStyle ->
+          txt "\\" <> lambdaGap headPat <> align (sepBy break rendered)
+        LambdaCaseStyle
+          | null tailPats -> hsPat ctx headPat
+          | otherwise ->
+              hsPat ctx headPat
+                >+> break
+                  <> sepBy break (fmap (hsPat ctx) tailPats)
+      where
+        rendered = fmap (hsPat ctx) pats
+        held = case style of
+          FunctionStyle _ -> id
+          _ -> infrangible
+
+    lambdaGap p = includeWhen (needsGap (unLoc p)) space
+    needsGap p = case p of
+      LazyPat{} -> True
+      BangPat{} -> True
+      SplicePat{} -> True
+      InvisPat{} -> True
+      NPat{} -> negative
+      LitPat{} -> negative
+      _ -> False
+      where
+        negative = T.isPrefixOf "-" (showGhc p)
+
+    endOfPats = case pats of
+      [] -> case style of
+        FunctionStyle n -> spanOf n
+        _ -> Nothing
+      _ -> spanOf (last pats)
+
+    hasGuards = any (not . null . guardsOf . unLoc) grhssGRHSs
+
+    rhsSpan = foldr1 (<>) (fmap (grhsSpan . unLoc) grhssGRHSs)
+    bodySpan = fmap endOf endOfPats <> rhsSpan
+
+    placement = case endOfPats of
+      Just spn
+        | any (longGuard . unLoc) grhssGRHSs
+            || not (sameLine (Just spn) rhsSpan) ->
+            Normal
+      _ -> blockPlacement (bodyIn mkBody bracing) grhssGRHSs
+    longGuard grhs = case guardsOf grhs of
+      [] -> False
+      [g] -> not (maybe True isSingleLine (spanOf g))
+      _ -> True
+
+    separator
+      | hasGuards = mempty
+      | otherwise = case style of
+          FunctionStyle _ -> trailing (txt "=")
+          PatternBindStyle -> trailing (txt "=")
+          _ -> trailing (txt (reserved ctx "->"))
+
+    alternative g =
+      fence (spanOf g) $
+        guardedRhs ctx placement bracing mkBody groupStyle g
+
+    groupStyle
+      | isCaseStyle style && hasGuards = RightArrow
+      | otherwise = EqualsSign
+
+    whereClause = case grhssLocalBinds of
+      EmptyLocalBinds _ -> mempty
+      binds
+        | isEmptyLocalBinds binds -> break <> whereKeyword
+        | otherwise ->
+            break
+              <> ( whereKeyword
+                     >+> break
+                       <> localBinds ctx bracing binds
+                 )
+        where
+          whereKeyword = keywordAt (whereKeywordSpan binds) "where"
+
+-- | Is this an alternative of a @case@ or a @\\case@?
+isCaseStyle :: MatchStyle -> Bool
+isCaseStyle = \case
+  CaseStyle -> True
+  LambdaCaseStyle -> True
+  _ -> False
+
+-- | Where an alternative was written, guards and all.
+grhsSpan :: GRHS GhcPs (LocatedA body) -> Maybe Span
+grhsSpan (GRHS _ guards body) = spanOf body <> spansOf guards
+
+-- | The guards of an alternative.
+guardsOf :: GRHS GhcPs body -> [GuardLStmt GhcPs]
+guardsOf (GRHS _ guards _) = guards
+
+-- | The placement of a body that is the whole of an equation.
+blockPlacement ::
+  Body b =>
+  (LocatedA body -> b) ->
+  NonEmpty (LGRHS GhcPs (LocatedA body)) ->
+  Placement
+blockPlacement bodyOf = \case
+  L _ (GRHS _ _ body) :| [] -> bodyPlacement (bodyOf body)
+  _ -> Normal
+
+-- | One alternative of an equation: its guards, and what they guard.
+guardedRhs ::
+  (Body b, Anno (GRHS GhcPs (LocatedA body)) ~ EpAnnCO) =>
+  -- | The context.
+  Ctx ->
+  -- | How the equation as a whole is placed.
+  Placement ->
+  -- | Bracing the body inherits.
+  Bracing ->
+  -- | How to print what the guards guard.
+  BodyOf body b ->
+  -- | What separates the guards from what they guard.
+  GuardStyle ->
+  -- | The alternative.
+  LGRHS GhcPs (LocatedA body) ->
+  Doc
+guardedRhs ctx parentPlacement bracing mkBody style lgrhs@(L _ grhs) = case guards of
+  [] -> atSpan ctx (grhsSpan grhs) (printBody bound)
+  _ ->
+    maybe id located (spanOf lgrhs) . layoutFrom ctx (grhsSpan grhs) $
+      fence
+        headSpan
+        ( heldBesideTheHead
+            ( bar
+                <> align (ref conditions)
+                <> indent 1 (ptr bar) (trailing (txt (reserved ctx separator)))
+            )
+        )
+        <> fence
+          (fmap endOf separatorSpan <> spanOf body)
+          (indent 1 (ptr base) (attach placement (printBody bound)))
+  where
+    GRHS EpAnn{anns = GrhsAnn{ga_vbar, ga_sep}} guards body = grhs
+    bar = refAt (spanOf =<< ga_vbar) (leading (txt "|"))
+    conditions =
+      commaSep
+        (ctxCommaStyle ctx)
+        (fmap (align . hsStmt ctx) (lastLetBraced guards))
+    base
+      | parentPlacement == Normal && narrowSteps = conditions
+      | otherwise = bar
+    heldBesideTheHead = if parentPlacement == Normal then id else infrangible
+    narrowSteps = indentationColumns (ctxIndentation ctx) <= 2
+    headSpan = (<>) <$> (spanOf =<< ga_vbar) <*> separatorSpan
+    bound = bodyIn mkBody bracing body
+    separator = case style of
+      EqualsSign -> "="
+      RightArrow -> "->"
+    placement
+      | sameLine separatorSpan (spanOf body) =
+          bodyPlacement bound
+      | otherwise = Normal
+    separatorSpan = either spanOf spanOf ga_sep
+
+-- | The qualifiers of a guard, a @let@ that ends them put between braces,
+-- since what follows it on its line, the guard's @=@ or @->@, ends its
+-- block only as a parse error does, and continues a signature it ends with.
+lastLetBraced :: [GuardLStmt GhcPs] -> [GuardLStmt GhcPs]
+lastLetBraced guards = case unsnoc guards of
+  Just (qualifiers, L l (LetStmt x binds)) ->
+    qualifiers <> [L l (LetStmt x (betweenBraces binds))]
+  _ -> guards
+  where
+    betweenBraces = \case
+      HsValBinds ann bs -> HsValBinds (withBraces ann) bs
+      HsIPBinds ann bs -> HsIPBinds (withBraces ann) bs
+      bs -> bs
+
+-- | A block's annotation, with braces where it was written without them.
+withBraces :: EpAnn (AnnList a) -> EpAnn (AnnList a)
+withBraces ann = case al_brackets (anns ann) of
+  ListBraces{} -> ann
+  _ -> ann{anns = (anns ann){al_brackets = ListBraces noAnn noAnn}}
+
+-- | A pattern synonym binding.
+patSynBind ::
+  -- | The context.
+  Ctx ->
+  -- | The binding.
+  PatSynBind GhcPs GhcPs ->
+  Doc
+patSynBind ctx PSB{..} =
+  keywordAt (spanOf (ap_pattern psb_ext)) "pattern" >+> case psb_args of
+    PrefixCon args ->
+      space
+        <> ( name ctx psb_id
+               >+> layoutAcross
+                 ctx
+                 args
+                 (argsAfterName (fmap (name ctx) args) (null args))
+                 <> definition (spansOf args)
+           )
+    RecCon args ->
+      space
+        <> ( name ctx psb_id
+               >+> layoutAcross
+                 ctx
+                 (vars args)
+                 ( includeUnless (null args) break'
+                     <> bracketWith
+                       0
+                       (spanOf (ap_openc psb_ext), spanOf (ap_closec psb_ext))
+                       "{"
+                       "}"
+                       ( commaSep
+                           (ctxCommaStyle ctx)
+                           (fmap (name ctx) (vars args))
+                       )
+                 )
+                 <> definition (spansOf (vars args))
+           )
+      where
+        vars = fmap recordPatSynPatVar
+    InfixCon l r ->
+      let left = name ctx l
+       in layoutFrom
+            ctx
+            (spanOf l <> spanOf r)
+            ( space
+                <> ref left
+                <> indent
+                  1
+                  (ptr left)
+                  ( attachOperator
+                      Normal
+                      id
+                      (spanOf l)
+                      (spanOf psb_id)
+                      (spanOf r)
+                      (name ctx psb_id)
+                      (name ctx r)
+                  )
+            )
+            <> indent 1 (ptr left) (definition (spanOf l <> spanOf r))
+  where
+    argsAfterName rendered isEmpty =
+      includeUnless isEmpty break <> align (sepBy break rendered)
+
+    definition argSpans =
+      case psb_dir of
+        Unidirectional -> rhs "<-"
+        ImplicitBidirectional -> rhs "="
+        ExplicitBidirectional mg ->
+          rhs "<-"
+            <> break
+            <> ( keywordAt
+                   (spanOf (al_rest (anns (getLoc (mg_alts mg)))))
+                   "where"
+                   >+> break
+                     <> matchGroup
+                       ctx
+                       NoBrace
+                       (ExprBody ctx)
+                       (FunctionStyle psb_id)
+                       mg
+               )
+      where
+        rhs arrow =
+          trailing (txt (reserved ctx arrow))
+            <> layoutFrom
+              ctx
+              (fmap endOf headSpan <> spanOf psb_def)
+              (break <> hsPat ctx psb_def)
+        headSpan =
+          spanOf psb_id <> argSpans <> foldMap spanOf (ap_closec psb_ext)
+
+-- | An untyped splice, either @$x@ or a quasi-quotation.
+untypedSplice ::
+  -- | The context.
+  Ctx ->
+  -- | How it is written.
+  SpliceDecoration ->
+  -- | The splice.
+  HsUntypedSplice GhcPs ->
+  Doc
+untypedSplice ctx deco = \case
+  HsUntypedSpliceExpr tok e -> spliceTH ctx (Isn't #typed) (spanOf tok) e deco
+  HsQuasiQuote _ quoter str ->
+    txt "["
+      <> name ctx quoter
+      <> txt "|"
+      <> verbatim (above <> indentation)
+      <> maybe id located lastLine (txt rest <> txt "|]")
+    where
+      (above, final) = T.breakOnEnd "\n" (T.pack (unpackFS (unLoc str)))
+      (indentation, rest) = T.span isSpace final
+      lastLine
+        | T.null above = Nothing
+        | otherwise =
+            (\s -> mkSpan (spanEndLine s, contentColumn final) (endPoint s))
+              <$> spanOf str
+
+-- | A Template Haskell splice, typed or not.
+spliceTH ::
+  -- | The context.
+  Ctx ->
+  -- | Is it typed?
+  Choice "typed" ->
+  -- | Where its dollar was written.
+  Maybe Span ->
+  -- | What is spliced.
+  LHsExpr GhcPs ->
+  -- | How it is written.
+  SpliceDecoration ->
+  Doc
+spliceTH ctx typed dollar e = \case
+  DollarSplice ->
+    keywordAt dollar (if isTrue typed then "$$" else "$") <> spliced
+  BareSplice -> spliced
+  where
+    spliced = at ctx e (align . exprBody ctx plainSite (spanOf e))
+
+-- | A Template Haskell quotation.
+quotation :: Ctx -> Maybe Span -> HsQuote GhcPs -> Doc
+quotation ctx here = \case
+  ExpBr (bracketAnn, close) e
+    | BracketNoE{} <- bracketAnn,
+      extensionOn ctx UnicodeSyntax ->
+        quoted here brackets "⟦" "⟧" e (hsExpr ctx e)
+    | otherwise -> quotedAs brackets flavour e (hsExpr ctx e)
+    where
+      brackets = (open, spanOf close)
+      (open, flavour) = case bracketAnn of
+        BracketNoE t -> (spanOf t, "")
+        BracketHasE t -> (spanOf t, "e")
+  PatBr brackets p -> quotedAs (pairSpans brackets) "p" p (hsPat ctx p)
+  DecBrL (open, close, _) decls ->
+    quotedAs
+      (pairSpans (open, close))
+      "d"
+      decls
+      (knotDecls (ctxKnot ctx) ctx Free decls)
+  DecBrG _ _ -> error "Tilia: DecBrG is produced by the renamer"
+  TypBr brackets ty -> quotedAs (pairSpans brackets) "t" ty (hsType ctx ty)
+  VarBr _ isSingle n -> txt (if isSingle then "'" else "''") <> name ctx n
+  where
+    quotedAs ::
+      Data a => (Maybe Span, Maybe Span) -> Text -> a -> Doc -> Doc
+    quotedAs brackets flavour =
+      quoted here brackets ("[" <> flavour <> "|") "|]"
+
+-- | The body of a quotation between its brackets, indented where it breaks,
+-- and spaced from them where it may end with a symbol character.
+quoted ::
+  Data a =>
+  -- | Where the quotation is written.
+  Maybe Span ->
+  -- | Where its brackets were written.
+  (Maybe Span, Maybe Span) ->
+  -- | The opening bracket.
+  Text ->
+  -- | The closing bracket.
+  Text ->
+  -- | What is quoted.
+  a ->
+  -- | The body.
+  Doc ->
+  Doc
+quoted here (o, c) opener closer x body =
+  openingAt o opener
+    >+> gap
+      <> insideBrackets here body
+      <> gap
+      <> closingAt c closer
+  where
+    gap = if risky then break else break'
+    risky =
+      any isStar (listify (const True :: HsType GhcPs -> Bool) x)
+        || any isAbstract (listify (const True :: FamilyInfo GhcPs -> Bool) x)
+        || not (null (listify (const True :: FixitySig GhcPs -> Bool) x))
+    isStar = \case
+      HsStarTy{} -> True
+      _ -> False
+    isAbstract = \case
+      ClosedTypeFamily Nothing -> True
+      _ -> False
+
+-- | A block 'braced' where it was written between braces, as the region
+-- they enclose, and 'items' otherwise.
+itemsOrBraces ::
+  -- | The block's annotation, which holds its braces.
+  EpAnn (AnnList a) ->
+  -- | Whether the block may brace itself when flat.
+  Bracing ->
+  -- | Was there an empty line between two items?
+  (Maybe Span -> Maybe Span -> Bool) ->
+  -- | Where each item was, and what it prints as.
+  [(Maybe Span, Doc)] ->
+  Doc
+itemsOrBraces ann bracing blank = case al_brackets (anns ann) of
+  brackets@ListBraces{} ->
+    maybe id located (bracketsSpan brackets)
+      . braced (bracketSpans brackets) blank
+  _ -> items bracing . keepBlanks blank
+
+-- | Print an item of a block braced by its rank: the last one keeps
+-- the block's bracing, and any other may brace itself when the block is
+-- flat.
+bracedByRank ::
+  -- | Where the item is in the block.
+  Rank ->
+  -- | The block's bracing.
+  Bracing ->
+  -- | How to print the item with a given bracing.
+  (Bracing -> Doc) ->
+  Doc
+bracedByRank rank bracing render = case rank of
+  Last -> render bracing
+  Only -> render bracing
+  _ -> mayBraceWhenFlat bracing render
+
+-- | Let a block brace itself when the surrounding layout is flat.
+mayBraceWhenFlat ::
+  -- | Its bracing where the surrounding layout is broken.
+  Bracing ->
+  -- | How to print the block with a given bracing.
+  (Bracing -> Doc) ->
+  Doc
+mayBraceWhenFlat whenBroken render = case whenBroken of
+  MayBrace -> render MayBrace
+  NoBrace -> variant (render MayBrace) (render NoBrace)
+
+----------------------------------------------------------------------------
+-- Sites
+
+-- | What the surroundings of a node oblige it to do.
+data Site = Site
+  { -- | Is it followed by a line a step in, as @f@ may be by one with @a@
+    -- in @f a@, and @x@ by one with @- 1@ in @x - 1@?
+    --
+    -- A layout block it ends with puts its items a further step in, so that
+    -- the layout rule ends the block before that line.
+    siteFollowed :: Bool,
+    -- | Is this an item of a layout block?
+    --
+    -- Such an item may not leave a bracket open for the block's own layout
+    -- to close, so a list comprehension standing as a statement is arranged
+    -- differently from one standing anywhere else.
+    siteInBlock :: Bool,
+    -- | May a block inside this node put braces round itself?
+    siteBracing :: Bracing
+  }
+  deriving (Eq, Show)
+
+-- | A node standing on its own.
+plainSite :: Site
+plainSite =
+  Site
+    { siteFollowed = False,
+      siteInBlock = False,
+      siteBracing = NoBrace
+    }
+
+-- | The same site, with a different answer about braces.
+withBracing :: Bracing -> Site -> Site
+withBracing bracing site = site{siteBracing = bracing}
+
+-- | The site of the part a node begins with, which begins whatever item of
+-- a layout block the node begins.
+leftmost :: Site -> Site
+leftmost site = plainSite{siteInBlock = siteInBlock site}
+
+-- | The site of the part a node ends with, which whatever follows the node
+-- follows.
+rightmost :: Site -> Site
+rightmost site = site{siteInBlock = False}
+
+-- | How far right of the keyword that opens it a block goes: a step, or two
+-- where a line a step in follows.
+underSite :: Site -> Int
+underSite site = if siteFollowed site then 2 else 1
+
+-- | How many steps in from its opening a bracket opened here closes.
+closingFor :: Site -> Int
+closingFor site = if siteInBlock site then 1 else 0
+
+----------------------------------------------------------------------------
+-- Bodies
+
+-- | Something that can appear as the body of an enclosing construct.
+class Body a where
+  -- | Print it.
+  printBody :: a -> Doc
+
+  -- | Whether it absorbs its own line break.
+  bodyPlacement :: a -> Placement
+
+  -- | The layout block it ends with, if it ends with one.
+  bodyEndingBlock :: a -> Maybe Semicolons
+
+-- | Print a body and join it to whatever precedes it.
+attachBody :: Body a => a -> Doc
+attachBody x = attach (bodyPlacement x) (printBody x)
+
+-- | An expression standing as the body of an enclosing construct.
+data ExprBody = ExprBody Ctx Site (LHsExpr GhcPs)
+
+instance Body ExprBody where
+  printBody (ExprBody ctx site e) = hsExprIn ctx site e
+  bodyPlacement (ExprBody ctx _ e) = exprHangs ctx (unLoc e)
+  bodyEndingBlock (ExprBody _ _ e) = exprEndingBlock (unLoc e)
+
+-- | A command standing as the body of an enclosing construct.
+data CmdBody = CmdBody Ctx Site (LHsCmd GhcPs)
+
+instance Body CmdBody where
+  printBody (CmdBody ctx site c) = hsCmd ctx site c
+  bodyPlacement (CmdBody _ _ c) = cmdHangs (unLoc c)
+  bodyEndingBlock (CmdBody _ _ c) = cmdEndingBlock (unLoc c)
+
+-- | A command at the top of an arrow form.
+data CmdTopBody = CmdTopBody Ctx Site (LHsCmdTop GhcPs)
+
+instance Body CmdTopBody where
+  printBody (CmdTopBody ctx site l) = at ctx l (cmdTop ctx site)
+  bodyPlacement (CmdTopBody _ _ l) = cmdTopHangs (unLoc l)
+  bodyEndingBlock (CmdTopBody _ _ (L _ (HsCmdTop _ c))) =
+    cmdEndingBlock (unLoc c)
+
+-- | Does this expression absorb the line break that introduces it?
+exprHangs ::
+  -- | The context.
+  Ctx ->
+  -- | The expression.
+  HsExpr GhcPs ->
+  Placement
+exprHangs ctx = \case
+  HsDo _ (DoExpr _) _ -> Hanging
+  HsDo _ (MDoExpr _) _ -> Hanging
+  HsCase{} -> Hanging
+  HsLam _ lamVariant mg -> case lamVariant of
+    LamCase -> Hanging
+    LamCases -> Hanging
+    LamSingle -> case mg of
+      MG _ (L _ [L _ (Match _ _ (L _ ps@(_ : _)) _)])
+        | maybe False isSingleLine (spansOf ps) -> Hanging
+      _ -> Normal
+  HsProc _ p _
+    | maybe False isSingleLine (spanOf p) -> Hanging
+    | otherwise -> Normal
+  HsApp _ _ y -> exprHangs ctx (unLoc y)
+  OpApp _ x op y
+    | isSeparator (fixityOf ctx op) -> exprHangs ctx (unLoc y)
+    | doWithinAStep ctx isDoBlock x -> Normal
+    | otherwise -> exprHangs ctx (unLoc x)
+  _ -> Normal
+
+-- | Whether a layout block puts a semicolon before a line at the column of
+-- its items.
+data Semicolons
+  = -- | It does, as @do@ and @case@ do, so that the line begins another
+    -- item or, where no item begins with what it begins with, ends the
+    -- block.
+    Semicolons
+  | -- | It does not, as a multi-way @if@ does not, so that the line goes on
+    -- with the last item.
+    NoSemicolons
+  deriving (Eq)
+
+-- | The layout block this expression ends with, which takes in what is
+-- printed after it on its last line, if it ends with one.
+exprEndingBlock :: HsExpr GhcPs -> Maybe Semicolons
+exprEndingBlock = \case
+  HsDo _ (DoExpr _) _ -> Just Semicolons
+  HsDo _ (MDoExpr _) _ -> Just Semicolons
+  HsCase{} -> Just Semicolons
+  HsLam _ LamCase _ -> Just Semicolons
+  HsLam _ LamCases _ -> Just Semicolons
+  HsMultiIf{} -> Just NoSemicolons
+  HsApp _ _ y -> exprEndingBlock (unLoc y)
+  OpApp _ _ _ y -> exprEndingBlock (unLoc y)
+  NegApp _ y _ -> exprEndingBlock (unLoc y)
+  _ -> Nothing
+
+-- | Does this command absorb the line break that introduces it?
+cmdHangs :: HsCmd GhcPs -> Placement
+cmdHangs = \case
+  HsCmdDo{} -> Hanging
+  HsCmdCase{} -> Hanging
+  HsCmdLam{} -> Hanging
+  _ -> Normal
+
+-- | The layout block this command ends with, if it ends with one.
+cmdEndingBlock :: HsCmd GhcPs -> Maybe Semicolons
+cmdEndingBlock = \case
+  HsCmdDo{} -> Just Semicolons
+  HsCmdCase{} -> Just Semicolons
+  HsCmdLam _ LamCase _ -> Just Semicolons
+  HsCmdLam _ LamCases _ -> Just Semicolons
+  _ -> Nothing
+
+-- | Does this command at the top of an arrow form absorb the line break
+-- that introduces it?
+cmdTopHangs :: HsCmdTop GhcPs -> Placement
+cmdTopHangs (HsCmdTop _ c) = cmdHangs (unLoc c)
+
+-- | The name of an operator, when the expression standing as one is a name.
+operatorName :: LHsExpr GhcPs -> Maybe RdrName
+operatorName e = case unLoc e of
+  HsVar _ (L _ n) -> Just n
+  _ -> Nothing
+
+-- | Does a layout block that ends like this take in a line a step in after
+-- it that begins with this operator, unless its items go a step further in?
+takesIn ::
+  -- | The layout block, if there is one.
+  Maybe Semicolons ->
+  -- | The operator.
+  LHsExpr GhcPs ->
+  Bool
+takesIn block o = isMinus o || block == Just NoSemicolons
+
+-- | Is this operator the minus, the one operator that can also begin an
+-- expression?
+isMinus :: LHsExpr GhcPs -> Bool
+isMinus o = case operatorName o of
+  Just (Unqual n) -> occNameString n == "-"
+  _ -> False
diff --git a/src/Tilia/Render/Haddock.hs b/src/Tilia/Render/Haddock.hs
--- a/src/Tilia/Render/Haddock.hs
+++ b/src/Tilia/Render/Haddock.hs
@@ -1,36 +1,45 @@
+{-# LANGUAGE DataKinds #-}
 {-# LANGUAGE LambdaCase #-}
 {-# LANGUAGE OverloadedStrings #-}
 
 -- | Haddocks.
 module Tilia.Render.Haddock
   ( DocStyle (..),
-    Ending (..),
     haddock,
     haddockInline,
     docSectionName,
-    brokenIfDocumented,
     printsWholeLineDocs,
     haddockSpans,
   )
 where
 
 import Data.Char (isSpace)
+import Data.Choice (Choice, isTrue)
 import Data.Data (Data)
 import Data.Generics.Schemes (listify)
 import Data.List (dropWhileEnd)
 import Data.List.NonEmpty qualified as NE
-import Data.Maybe (fromMaybe, isJust, mapMaybe)
+import Data.Maybe (fromMaybe, mapMaybe)
 import Data.Text (Text)
 import Data.Text qualified as T
 import GHC.Hs
 import GHC.LanguageExtensions.Type (Extension (Cpp))
 import GHC.Types.SrcLoc (GenLocated (..), getLoc, unLoc)
-import Tilia.Comments (Comment (..), afterOpener, bracketed, singleLine, triggerOn)
-import Tilia.Comments.Attach (Margin (..), commentText)
+import Prelude hiding (break)
+
+import Tilia.Comments
+  ( Comment (..),
+    afterOpener,
+    asOrdinary,
+    bracketed,
+    singleLine,
+    triggerOn,
+  )
+import Tilia.Comments.Attach (Margin (..), commentText, joinedLine)
 import Tilia.Doc.Combinators
 import Tilia.Gathered (Gathered (..))
 import Tilia.Render.Context
-import Tilia.Source (directiveOnLine)
+import Tilia.Source (directiveWrittenOnLine, sourceLines)
 import Tilia.Span
 import Tilia.Span.Ghc
 
@@ -46,21 +55,16 @@
     Chunk String
   deriving (Eq, Show)
 
--- | Whether the Haddock ends the line it is on.
-data Ending
-  = -- | The caller will end the line itself.
-    Open
-  | -- | End it here.
-    Closed
-  deriving (Eq, Show)
-
--- | Print a Haddock.
-haddock :: Ctx -> DocStyle -> Ending -> LHsDoc GhcPs -> Doc
-haddock ctx style ending doc = fst (docBody ctx style doc) <> close
-  where
-    close = case ending of
-      Open -> mempty
-      Closed -> hardBreak
+-- | Print a Haddock, leaving the caller to end its line.
+haddock ::
+  -- | The context.
+  Ctx ->
+  -- | The style to print it in.
+  DocStyle ->
+  -- | The Haddock.
+  LHsDoc GhcPs ->
+  Doc
+haddock ctx style = fst . docBody ctx style
 
 -- | A Haddock inside a construct that may legitimately stay on one line.
 --
@@ -68,35 +72,63 @@
 -- left as written. A @--@ Haddock owns the rest of its line and still has to
 -- end it.
 haddockInline :: Ctx -> DocStyle -> LHsDoc GhcPs -> Doc
-haddockInline ctx style doc =
-  body <> (if isSelfClosing then breakOrSpace else hardBreak)
+haddockInline ctx style doc
+  | isSelfClosing = body <> break
+  | otherwise =
+      maybe id commentEndingTheLine (spanOfSrcSpan (getLoc doc)) body <> newline
   where
     (body, isSelfClosing) = docBody ctx style doc
 
 -- | The Haddock itself, and whether the form it took delimits itself.
-docBody :: Ctx -> DocStyle -> LHsDoc GhcPs -> (Doc, Bool)
-docBody ctx style doc@(L l str) =
-  case reusableText ctx style doc of
-    Just c ->
-      ( maybe id located (spanOfSrcSpan l) (commentText margin c),
-        selfClosing c
+--
+-- One written as @--@ lines that say nothing but the spaces their ends
+-- lose is no Haddock to GHC on the next pass, so it comes out as the
+-- comment that pass reads.
+docBody ::
+  -- | The context.
+  Ctx ->
+  -- | The style to print it in.
+  DocStyle ->
+  -- | The Haddock.
+  LHsDoc GhcPs ->
+  (Doc, Bool)
+docBody ctx style doc@(L l str)
+  | all isSpace text,
+    any (/= '\n') text,
+    Just c <- writtenHaddock ctx (spanOfSrcSpan l),
+    not (bracketed c || singleLine c) =
+      ( writtenAt . sepBy newline . fmap (commentText margin) $
+          asOrdinary (sourceLines (ctxSource ctx)) c,
+        False
       )
-    Nothing
-      | null written' -> (writtenAt emptyBlock, True)
-      | blockForm -> (writtenAt rebuiltBlock, False)
-      | otherwise -> (writtenAt rebuilt, False)
+  | otherwise = case reusableText ctx style doc of
+      Just c ->
+        ( maybe id located (spanOfSrcSpan l) (commentText margin c),
+          selfClosing c
+        )
+      _
+        | null written' -> (writtenAt emptyBlock, True)
+        | blockForm -> (writtenAt rebuiltBlock, False)
+        | otherwise -> (writtenAt rebuilt, False)
   where
+    text = renderHsDocString (hsDocString str)
     margin = Margin directive (const False)
-    directive t = extensionOn ctx Cpp && isJust (directiveOnLine t)
-    writtenAt = fenceWithin ctx (spanOfSrcSpan l)
+    directive n =
+      extensionOn ctx Cpp
+        && directiveWrittenOnLine n (sourceLines (ctxSource ctx))
+    writtenAt = fence (spanOfSrcSpan l)
     emptyBlock = txt (blockOpener style) <> space <> txt "-}"
     rebuilt =
-      sepBy hardBreak (zipWith line' (True : repeat False) written')
-        <> mconcat (replicate trailingBlanks (hardBreak <> txt "--"))
-    trailingBlanks = case writtenHaddock ctx (spanOfSrcSpan l) of
+      sepBy newline (zipWith line' (True : repeat False) written')
+        <> mconcat (replicate trailingBlanks (newline <> txt "--"))
+        <> foldMap joinedLine writtenComment
+    trailingBlanks = case writtenComment of
       Nothing -> 0
-      Just c -> length (takeWhile isBlankLine (reverse (NE.toList (commentBody c))))
-    isBlankLine t = T.null (T.strip (fromMaybe t (T.stripPrefix "--" (T.strip t))))
+      Just c ->
+        length (takeWhile isBlankLine (reverse (NE.toList (commentBody c))))
+    writtenComment = writtenHaddock ctx (spanOfSrcSpan l)
+    isBlankLine t =
+      T.null (T.strip (fromMaybe t (T.stripPrefix "--" (T.strip t))))
     line' isFirst t
       | isFirst = txt (opener style) <> space <> txt t
       | "$" `T.isPrefixOf` t = txt "--" <> txt t
@@ -173,21 +205,24 @@
 selfClosing :: Comment -> Bool
 selfClosing c = bracketed c && singleLine c
 
--- | Lay the document out on several lines if printing this fragment will
--- emit a Haddock that takes whole lines.
-brokenIfDocumented :: (Data a) => Ctx -> a -> Doc -> Doc
-brokenIfDocumented ctx x d
-  | printsWholeLineDocs ctx x = broken d
-  | otherwise = d
-
--- | Will printing this fragment emit a Haddock as @--@ lines?
+-- | Will printing this fragment emit a Haddock that takes whole lines: any
+-- Haddock where the site puts them under what they document, and one
+-- printed as @--@ lines where it puts them in front?
 --
--- Every site that asks prints in 'Pipe' style, which is what decides
--- whether the author's text can be reused.
-printsWholeLineDocs :: (Data a) => Ctx -> a -> Bool
-printsWholeLineDocs ctx x = case docsIn x of
+-- Every site that puts them in front prints in 'Pipe' style, which is what
+-- decides whether the author's text can be reused.
+printsWholeLineDocs ::
+  Data a =>
+  -- | The context.
+  Ctx ->
+  -- | Does the site put its Haddocks under what they document?
+  Choice "under" ->
+  -- | The fragment.
+  a ->
+  Bool
+printsWholeLineDocs ctx under x = case docsIn x of
   [] -> not (null (docStringsIn x))
-  docs -> any takesWholeLines docs
+  docs -> isTrue under || any takesWholeLines docs
   where
     takesWholeLines doc = case reusableText ctx Pipe doc of
       Just c -> not (selfClosing c)
@@ -200,7 +235,7 @@
     <> namedSections (gatheredEntries found)
 
 -- | Every Haddock in a fragment.
-docsIn :: (Data a) => a -> [LHsDoc GhcPs]
+docsIn :: Data a => a -> [LHsDoc GhcPs]
 docsIn = listify (const True :: LHsDoc GhcPs -> Bool)
 
 -- | The spans of the @-- $name@ anchors among the entries of an export
@@ -213,13 +248,14 @@
       _ -> Nothing
 
 -- | Every doc string in a fragment, even one no 'LHsDoc' holds.
-docStringsIn :: (Data a) => a -> [HsDocString]
+docStringsIn :: Data a => a -> [HsDocString]
 docStringsIn = listify (const True :: HsDocString -> Bool)
 
 -- | The lines of a doc string, normalised the way Haddock reads them.
 docLines ::
   -- | Was it written as a block comment?
   Bool ->
+  -- | The doc string.
   WithHsDocIdentifiers HsDocString GhcPs ->
   [Text]
 docLines blockForm str
diff --git a/src/Tilia/Render/Header.hs b/src/Tilia/Render/Header.hs
--- a/src/Tilia/Render/Header.hs
+++ b/src/Tilia/Render/Header.hs
@@ -7,16 +7,21 @@
   ( HeaderPragma (..),
     takeHeaderPragmas,
     takeStackHeader,
+    ModuleCtx (..),
     hsModule,
   )
 where
 
 import Control.Applicative ((<|>))
+import Data.Choice (fromBool)
 import Data.Function (on)
-import Data.List (sortOn)
+import Data.IntMap.Strict (IntMap)
+import Data.IntMap.Strict qualified as IntMap
+import Data.List (delete, insert, minimumBy, sortOn, tails)
 import Data.List.NonEmpty (NonEmpty)
 import Data.List.NonEmpty qualified as NE
 import Data.Maybe (isJust, isNothing)
+import Data.Ord (comparing)
 import Data.Set qualified as Set
 import Data.Text (Text)
 import Data.Text qualified as T
@@ -24,18 +29,28 @@
 import GHC.LanguageExtensions.Type (Extension (..))
 import GHC.Types.PkgQual (RawPkgQual (..))
 import GHC.Types.SrcLoc (GenLocated (..), unLoc)
-import Tilia.Comments (Comment (..), Pragma (..), commentPragma)
+import Prelude hiding (break)
+
+import Tilia.Comments (Comment (..), commentPragma)
 import Tilia.Doc.Combinators
+import Tilia.Imports (normalizeImports)
 import Tilia.Parser (writtenInHeader)
-import Tilia.Pragma (languageNames, lookupEdition, sameInForce)
+import Tilia.Pragma
+  ( Pragma (..),
+    commute,
+    languageNames,
+    lookupEdition,
+    switchedBy,
+  )
+import Tilia.Render.Block
 import Tilia.Render.Context
-import Tilia.Render.Declaration (decls)
+import Tilia.Render.Declaration (topLevelDecls)
 import Tilia.Render.Haddock
-import Tilia.Render.Layout
 import Tilia.Render.Literal (writtenString)
 import Tilia.Render.Name
-import Tilia.Render.Pragma (warningTxt)
+import Tilia.Render.Pragma (warningSquares, warningTxt)
 import Tilia.Source (Source, directivePresentOnLine, sourceLines)
+import Tilia.Source qualified as Source
 import Tilia.Span
 import Tilia.Span.Ghc
 
@@ -87,7 +102,8 @@
       ]
     rightAbovePragma c =
       Set.member (below (spanEndLine (commentSpan c) + 1)) pragmaStarts
-    below n = if directivePresentOnLine n (sourceLines src) then below (n + 1) else n
+    below n =
+      if directivePresentOnLine n (sourceLines src) then below (n + 1) else n
     pragmaStarts =
       Set.fromList [spanStartLine (commentSpan c) | (c, Just _) <- recognised]
     airless c = c{commentGapAbove = False, commentGapBelow = False}
@@ -129,7 +145,9 @@
   [Comment] ->
   (Doc, [Comment])
 takeStackHeader prologue = \case
-  (c : cs) | isStackHeader c -> (reproduce c <> blankLine, cs)
+  (c : cs)
+    | isStackHeader c ->
+        (reproduce c <> newline <> declDelimiter DeclSeparate, cs)
   cs -> (mempty, cs)
   where
     isStackHeader c =
@@ -143,8 +161,9 @@
 -- one of them kept, since a flag such as @-fplugin-opt@ counts each time it
 -- is given.
 --
--- The pragmas between two directives are sorted unless that would leave other
--- extensions in force, in which case they keep the order they were written in.
+-- The pragmas between two directives are sorted, but a pragma stays ahead of
+-- a later one that sorts alike or that it does not commute with, so that the
+-- same edition and extensions are left in force.
 pragmaBlock :: [HeaderPragma] -> Doc
 pragmaBlock =
   foldMap render
@@ -153,10 +172,24 @@
     . NE.groupBy ((==) `on` hpRun)
     . concatMap split
   where
-    sorted run =
-      let candidate = sortOn order run
-       in if sameInForce (named candidate) (named run) then candidate else run
-    named = fmap (\p -> (hpName p, hpBody p))
+    sorted run
+      | and [commute a b | a : later <- tails switches, b <- later] =
+          sortOn order run
+      | otherwise = arrange (zip run switches)
+      where
+        switches = fmap switched run
+    arrange = \case
+      [] -> []
+      ps ->
+        let free =
+              [ p
+              | (i, p) <- zip [0 ..] ps,
+                not (any (`ahead` p) (take i ps))
+              ]
+            next = minimumBy (comparing (order . fst)) free
+         in fst next : arrange (delete next ps)
+    ahead (a, sa) (b, sb) = order a == order b || not (commute sa sb)
+    switched p = switchedBy (hpName p) (hpBody p)
     order p = (orderOf p, extension p)
     extension p
       | orderOf p == Just LanguageOrder = hpBody p
@@ -174,7 +207,7 @@
           ]
       | otherwise = [p]
 
-    render p = located (hpSpan p) (written p) <> hardBreak
+    render p = located (hpSpan p) (written p) <> newline
     written p = case hpWritten p of
       Nothing ->
         txt "{-# "
@@ -188,32 +221,84 @@
 namesAnEdition :: Text -> Bool
 namesAnEdition = isJust . lookupEdition
 
+-- | What printing the top level of a module takes beyond 'Ctx'.
+data ModuleCtx = ModuleCtx
+  { -- | The empty line that opens the imports, where the comments written
+    -- above it stay.
+    mcOpening :: Maybe Int,
+    -- | The empty lines under the comments that head stretches of the
+    -- imports, which they are not sorted across.
+    mcHeadings :: [Int],
+    -- | The empty line under the comments written right under an import but
+    -- the last, by the line the import begins on, so that they go wherever
+    -- it does.
+    mcUnderImports :: IntMap Int,
+    -- | The empty line under the comments written right under the last
+    -- import of any configuration, which stay at the end of the imports.
+    mcBelowImports :: Maybe Int,
+    -- | The first and last line of each stretch a @{- TILIA_OFF -}@ leaves
+    -- as written.
+    mcMagicCommentRanges :: [(Int, Int)]
+  }
+
 -- | A whole module.
 hsModule ::
   -- | The context.
   Ctx ->
+  -- | What printing its top level takes.
+  ModuleCtx ->
   -- | The pragmas the header hoists.
   [HeaderPragma] ->
-  -- | The empty line that opens the imports, where the comments written
-  -- above it stay.
-  Maybe Int ->
   -- | The module.
   HsModule GhcPs ->
   Doc
-hsModule ctx pragmas opening HsModule{hsmodExt = XModulePs{..}, ..} =
+hsModule ctx ModuleCtx{..} pragmas HsModule{hsmodExt = XModulePs{..}, ..} =
   pragmaBlock pragmas
-    <> hardBreak
+    <> newline
+    <> declDelimiter DeclSeparate
     <> moduleLine
-    <> hardBreak
-    <> foldMap (\l -> located (mkSpan (l, 1) (l, 2)) mempty) opening
-    <> foldMap (\i -> at_ ctx (importDecl ctx) i <> hardBreak) hsmodImports
+    <> newline
+    <> declDelimiter DeclSeparate
+    <> foldMap anchor mcOpening
+    <> importLines mcHeadings False imports
     <> includeUnless
-      (null hsmodDecls)
-      ( hardBreak
+      (null hsmodDecls && null mcMagicCommentRanges)
+      ( declDelimiter DeclSeparate
           <> declarationsStart
-          <> declarationLayout (decls ctx hsmodDecls)
+          <> declarationLayout
+            (topLevelDecls ctx mcMagicCommentRanges hsmodDecls)
       )
   where
+    imports =
+      normalizeImports
+        (fromBool (extensionOn ctx ImplicitPrelude))
+        (rcOwnModules (ctxRender ctx))
+        (foldr insert (rcImportBarriers (ctxRender ctx)) mcHeadings)
+        (rcDirectiveLines (ctxRender ctx))
+        (Source.comments (ctxSource ctx))
+        hsmodImports
+    importLines pending later = \case
+      [] -> mempty
+      [] : runs -> importLines pending True runs
+      ((i, written) : is) : runs ->
+        foldMap anchor above
+          <> includeWhen later (declDelimiter DeclSeparate)
+          <> at ctx i ((<> endings) . importDecl ctx)
+          <> foldMap
+            (foldMap anchor . (`IntMap.lookup` mcUnderImports) . spanStartLine)
+            written
+          <> includeWhen (null is && null runs) (foldMap anchor mcBelowImports)
+          <> newline
+          <> importLines rest False (is : runs)
+        where
+          start = maybe 0 spanStartLine (spanOf i)
+          (above, rest) = span (< start) pending
+          endings = case written of
+            _ : _ : _ -> foldMap ending written
+            _ -> mempty
+    anchor l = located (mkSpan (l, 1) (l, 2)) mempty
+    ending s =
+      emptyAnchor (mkSpan (spanEndLine s, farRight) (spanEndLine s, farRight))
     declarationLayout = case (hsmodDecls, spansOf hsmodDecls) of
       (_ : _ : _, Just s) | isSingleLine s -> flat
       _ -> id
@@ -223,53 +308,102 @@
         <> foldMap spanOf hsmodExports
     headerLayout
       | any (isDocEntry . unLoc) exports = id
-      | maybe True isSingleLine headerSpan = flat
+      | maybe True isSingleLine headerSpan = frangible
       | otherwise = id
     moduleLine = case hsmodName of
       Nothing -> mempty
       Just modName ->
         documentation
-          <> at ctx modName (moduleHeadName ctx)
+          <> ref (headName modName)
           <> headerLayout
-            ( breakOrSpace
-                <> foldMap warning hsmodDeprecMessage
-                <> foldMap exports' hsmodExports
+            ( break
+                <> foldMap (warning modName) hsmodDeprecMessage
+                <> foldMap (exports' modName) hsmodExports
             )
-          <> keywordAt ctx (spanOf (am_where (anns hsmodAnn))) "where"
-          <> hardBreak
-    documentation = foldMap (haddock ctx Pipe Closed) hsmodHaddockModHeader
-    warning w = at ctx w warningTxt <> breakOrSpace
-    exports' l =
-      at ctx l (\xs -> indent (exportList ctx (spanOf l) xs)) <> breakOrSpace
+          <> keywordAt (spanOf (am_where (anns hsmodAnn))) "where"
+          <> newline
+    documentation =
+      foldMap ((<> newline) . haddock ctx Pipe) hsmodHaddockModHeader
+    warning modName w =
+      at
+        ctx
+        w
+        (indent 1 (ptr (headName modName)) . warningTxt ctx (warningSquares w))
+        <> break
+    exports' modName l@(L ann _) =
+      at
+        ctx
+        l
+        ( indent 1 (ptr (headName modName))
+            . exportList ctx (spanOf l) (bracketSpans (al_brackets (anns ann)))
+        )
+        <> break
+    headName =
+      moduleHeadName
+        ctx
+        (spanOf (am_mod moduleAnns) <> spanOf (am_sig moduleAnns))
+    moduleAnns = anns hsmodAnn
 
 -- | The parenthesised list after a module name.
-exportList :: Ctx -> Maybe Span -> [LIE GhcPs] -> Doc
-exportList ctx enclosing xs =
-  layoutHere . parens . insideBrackets enclosing $
+exportList ::
+  -- | The context.
+  Ctx ->
+  -- | Where the list was written.
+  Maybe Span ->
+  -- | Where its parentheses were written.
+  (Maybe Span, Maybe Span) ->
+  -- | The items.
+  [LIE GhcPs] ->
+  Doc
+exportList ctx enclosing brackets xs =
+  layoutHere . parens brackets . insideBrackets enclosing $
     importExportItems ctx xs
   where
     layoutHere
       | any (isDocEntry . unLoc) xs = broken
       | otherwise = layoutFrom ctx enclosing
 
--- | The items of an import or export list.
-importExportItems :: Ctx -> [LIE GhcPs] -> Doc
-importExportItems ctx xs = variant (laidOut False) (laidOut True)
+-- | The items of an import or export list, with the documentation among
+-- them lined up with the items rather than with leading commas.
+importExportItems ::
+  -- | The context.
+  Ctx ->
+  -- | The items.
+  [LIE GhcPs] ->
+  Doc
+importExportItems ctx xs = case ctxCommaStyle ctx of
+  TrailingCommas -> variant (laidOut False) (laidOut True)
+  LeadingCommas -> mconcat (zipWith3 commaLed previous afterItem xs)
   where
+    previous = Nothing : fmap Just xs
+    afterItem = scanl (||) False (fmap (not . isDocEntry . unLoc) xs)
     laidOut broken' =
-      sepBy
-        breakOrSpace
-        (zipWith (item broken') (Nothing : fmap Just xs) (positioned xs))
-    item broken' previous (position, x) =
-      gapAbove position (unLoc <$> previous) (unLoc x)
-        <> align (at ctx (widenToDoc x) (ieItem ctx (spanOf x) withComma))
-      where
-        withComma = comma' broken' position
-    gapAbove position previous here
-      | position == First || position == Only = mempty
-      | isSection here = hardBreak
-      | isPipe here, maybe False runsOn previous = hardBreak
-      | otherwise = mempty
+      sepBy break (zipWith (item broken') previous (ranked xs))
+    item broken' before (rank, x) =
+      gapAbove before x <> entry (comma' broken' rank) x
+    commaLed before afterAnItem x = case before of
+      Nothing -> entry False x
+      Just _
+        | afterAnItem,
+          not (isDocEntry (unLoc x)) ->
+            separatingComma LeadingCommas <> entry False x
+      _ -> break <> gapAbove before x <> entry False x
+    entry withComma x@(L _ ie) =
+      align . atSpan ctx (spanOf (widenToDoc x)) $
+        ieItem ctx (spanOf x) ie
+          <> includeWhen (withComma && not (isDocEntry ie)) comma
+          <> foldMap
+            (\d -> break <> haddock ctx Caret d)
+            (itemDoc ie)
+    gapAbove before x@(L _ here) = case before of
+      Nothing -> mempty
+      Just p
+        | isSection here ->
+            declDelimiter DeclSeparate
+        | isPipe here,
+          runsOn (unLoc p) || separatedByBlank ctx (spanOf p) (spanOf x) ->
+            declDelimiter DeclSeparate
+        | otherwise -> mempty
     isSection = \case
       IEGroup{} -> True
       _ -> False
@@ -280,9 +414,9 @@
       IEDoc{} -> True
       IEDocNamed{} -> True
       _ -> False
-    comma' broken' position
+    comma' broken' rank
       | broken' = True
-      | otherwise = position == First || position == Middle
+      | otherwise = rank == First || rank == Middle
 
 -- | Widen an item's span to take in the documentation printed with it, so
 -- that a documented item is laid out as one thing.
@@ -291,61 +425,67 @@
   Nothing -> l
   Just (L docSpan _) -> L (ann <> noAnnSrcSpan docSpan) ie
 
--- | One item of an import or export list.
-ieItem :: Ctx -> Maybe Span -> Bool -> IE GhcPs -> Doc
-ieItem ctx here withComma = \case
-  IEVar warning n doc -> plain warning n doc
-  IEThingAbs warning n doc -> plain warning n doc
-  IEThingAll (warning, (_, dots, _)) n doc ->
-    exportWarning warning
-      <> at ctx n (wrappedName ctx)
-      <> space
-      <> txt "("
-      <> keywordAt ctx (spanOf dots) ".."
-      <> txt ")"
-      <> comma'
-      <> itemDocumentation doc
-  IEThingWith (warning, (open, dots, _, close)) n wildcard members doc ->
-    align
+-- | One item of an import or export list, without the comma after it and
+-- the Haddock after that, in a region of its own unless it is a name
+-- alone, which has the name's.
+ieItem ::
+  -- | The context.
+  Ctx ->
+  -- | Where the item was written.
+  Maybe Span ->
+  -- | The item.
+  IE GhcPs ->
+  Doc
+ieItem ctx here = \case
+  IEVar warning n _ -> plain warning n
+  IEThingAbs warning n _ -> plain warning n
+  IEThingAll (warning, (open, dots, close)) n _ ->
+    region $
+      exportWarning warning
+        <> at ctx n (wrappedName ctx)
+        <> space
+        <> openingAt (spanOf open) "("
+        <> keywordAt (spanOf dots) ".."
+        <> closingAt (spanOf close) ")"
+  IEThingWith (warning, (open, dots, _, close)) n wildcard members _ ->
+    region . align $
       ( exportWarning warning
-          <> at ctx n (wrappedName ctx)
-          <> layoutWithin
-            ctx
-            here
-            (spanOf open <> spanOf close <|> here)
-            ( breakOrSpace
-                <> indent (parens (insideBrackets here (commaSep (align <$> withWildcard))))
-            )
-          <> comma'
+          <> ( at ctx n (wrappedName ctx)
+                 >+> layoutFrom
+                   ctx
+                   (spanOf open <> spanOf close <|> here)
+                   ( break
+                       <> parens
+                         (spanOf open, spanOf close)
+                         (insideBrackets here listed)
+                   )
+             )
       )
-      <> itemDocumentation doc
     where
+      listed = commaSep (ctxCommaStyle ctx) (align <$> withWildcard)
       rendered = fmap (at_ ctx (wrappedName ctx)) members
       withWildcard = case wildcard of
         NoIEWildcard -> rendered
         IEWildcard n' ->
           let (before, after) = splitAt n' rendered
-           in before <> [keywordAt ctx (spanOf dots) ".."] <> after
+           in before <> [keywordAt (spanOf dots) ".."] <> after
   IEModuleContents (warning, _) m ->
-    exportWarning warning
-      <> at ctx m (\n -> txt "module" <> space <> outputable n)
-      <> comma'
-  IEGroup NoExtField n str -> haddock ctx (Section n) Open str
-  IEDoc NoExtField str -> haddock ctx Pipe Open str
+    region $
+      exportWarning warning
+        <> at ctx m (\n -> txt "module" <> space <> outputable n)
+  IEGroup NoExtField n str -> haddock ctx (Section n) str
+  IEDoc NoExtField str -> haddock ctx Pipe str
   IEDocNamed NoExtField n -> case writtenHaddock ctx here of
     Just c -> verbatimLines AtIndent TrimWhitespace (NE.toList (commentBody c))
     Nothing -> txt (docSectionName n)
   where
-    plain warning n doc =
-      exportWarning warning
-        <> at ctx n (wrappedName ctx)
-        <> comma'
-        <> itemDocumentation doc
-    comma' = includeWhen withComma comma
+    plain warning n = case warning of
+      Nothing -> at ctx n (wrappedName ctx)
+      Just _ -> region (exportWarning warning <> at ctx n (wrappedName ctx))
+    region = maybe id located here
     exportWarning =
-      foldMap (\w -> at ctx w warningTxt <> breakOrSpace)
-    itemDocumentation =
-      foldMap (\d -> breakOrSpace <> haddock ctx Caret Open d)
+      foldMap
+        (\w -> at ctx w (warningTxt ctx (warningSquares w)) <> break)
 
 -- | The documentation written with an export list item, if any.
 itemDoc :: IE GhcPs -> Maybe (ExportDoc GhcPs)
@@ -368,12 +508,16 @@
 -- and its import list, each a node of its own past the keyword's column.
 importDecl :: Ctx -> ImportDecl GhcPs -> Doc
 importDecl ctx ImportDecl{..} =
-  keywordAt ctx (spanOf (importDeclAnnImport annotation)) "import"
+  ref keyword
     <> indent
+      1
+      (ptr keyword)
       ( space
           <> includeWhen (ideclSource == IsBoot) (txt "{-# SOURCE #-}")
           <> space
-          <> includeWhen ideclSafe (keywordAt ctx (spanOf =<< importDeclAnnSafe annotation) "safe")
+          <> includeWhen
+            ideclSafe
+            (keywordAt (spanOf =<< importDeclAnnSafe annotation) "safe")
           <> space
           <> levelBefore
           <> space
@@ -389,17 +533,21 @@
     <> foldMap
       ( \a ->
           indent
+            1
+            (ptr keyword)
             ( space
-                <> keywordAt ctx (spanOf =<< importDeclAnnAs annotation) "as"
+                <> keywordAt (spanOf =<< importDeclAnnAs annotation) "as"
                 <> space
                 <> at ctx a outputable
             )
       )
       ideclAs
-    <> foldMap (indent . (space <>)) importList
+    <> foldMap (indent 1 (ptr keyword) . (space <>)) importList
   where
+    keyword = keywordAt (spanOf (importDeclAnnImport annotation)) "import"
     annotation = anns (ideclAnn ideclExt)
-    qualified = keywordAt ctx (spanOf =<< importDeclAnnQualified annotation) "qualified"
+    qualified =
+      keywordAt (spanOf =<< importDeclAnnQualified annotation) "qualified"
     qualifiedLast = extensionOn ctx ImportQualifiedPost
     isQualified = isImportDeclQualified ideclQualified
     packageQualifier = case ideclPkgQual of
@@ -414,16 +562,19 @@
     importList = flip fmap ideclImportList $ \(interpretation, L listLoc xs) ->
       let hidden = case interpretation of
             Exactly -> mempty
-            EverythingBut -> keywordAt ctx (spanOf (fst (al_rest (anns listLoc)))) "hiding"
+            EverythingBut ->
+              keywordAt (spanOf (fst (al_rest (anns listLoc)))) "hiding"
           listSpan = spanOfSrcSpan (locA listLoc)
           parensSpan = bracketsSpan (al_brackets (anns listLoc)) <|> listSpan
-       in layoutWithin ctx listSpan parensSpan $
+       in layoutFrom ctx parensSpan $
             hidden
-              <> breakOrSpace
-              <> fenceWithin
-                ctx
+              <> break
+              <> fence
                 parensSpan
-                (parens (insideBrackets listSpan (importExportItems ctx xs)))
+                ( parens
+                    (bracketSpans (al_brackets (anns listLoc)))
+                    (insideBrackets listSpan (importExportItems ctx xs))
+                )
 
 -- | The keyword an import's level is written with.
 declLevel :: ImportDeclLevel -> Doc
diff --git a/src/Tilia/Render/Layout.hs b/src/Tilia/Render/Layout.hs
deleted file mode 100644
--- a/src/Tilia/Render/Layout.hs
+++ /dev/null
@@ -1,77 +0,0 @@
-{-# LANGUAGE DataKinds #-}
-{-# LANGUAGE OverloadedLabels #-}
-{-# LANGUAGE OverloadedStrings #-}
-{-# LANGUAGE PatternSynonyms #-}
-
--- | Runs of things: statements, bindings, equations, list elements.
-module Tilia.Render.Layout
-  ( Bracing (..),
-    items,
-    itemsSepBy,
-    keepBlanks,
-    Position (..),
-    positioned,
-  )
-where
-
-import Data.Choice (Choice, isTrue, pattern Without)
-import Tilia.Doc.Combinators
-import Tilia.Span
-
--- | May a block put braces around itself when it is laid out on one line?
-data Bracing
-  = MayBrace
-  | NoBrace
-  deriving (Eq, Show)
-
--- | A block: one item per line when broken, semicolons when flat.
-items :: Bracing -> [Doc] -> Doc
-items = itemsSepBy (Without #semisWhenBroken)
-
--- | 'items', with control over whether the broken form carries semicolons
--- too.
-itemsSepBy ::
-  -- | Semicolons in the broken layout as well?
-  Choice "semisWhenBroken" ->
-  Bracing ->
-  [Doc] ->
-  Doc
-itemsSepBy semisWhenBroken bracing xs = variant flatForm brokenForm
-  where
-    flatForm = case (bracing, xs) of
-      (MayBrace, []) -> txt "{}"
-      (NoBrace, []) -> mempty
-      (MayBrace, _) -> txt "{" <> space <> joined <> space <> txt "}"
-      (NoBrace, _) -> joined
-    joined = sepBy (semi <> space) xs
-    brokenForm =
-      sepBy (includeWhen (isTrue semisWhenBroken) semi <> hardBreak) xs
-
--- | Put back the empty lines the author left between items.
-keepBlanks ::
-  -- | Was there an empty line between two items?
-  (Maybe Span -> Maybe Span -> Bool) ->
-  -- | Where each item was, and what it prints as.
-  [(Maybe Span, Doc)] ->
-  [Doc]
-keepBlanks blank xs = zipWith gap (Nothing : fmap fst xs) xs
-  where
-    gap previous (here, d) = includeWhen (blank previous here) hardBreak <> d
-
--- | Where an item sits among its siblings.
-data Position
-  = Only
-  | First
-  | Middle
-  | Last
-  deriving (Eq, Show)
-
--- | Label each item of a list with its position.
-positioned :: [a] -> [(Position, a)]
-positioned [] = []
-positioned [x] = [(Only, x)]
-positioned (x : xs) = (First, x) : go xs
-  where
-    go [] = []
-    go [y] = [(Last, y)]
-    go (y : ys) = (Middle, y) : go ys
diff --git a/src/Tilia/Render/Literal.hs b/src/Tilia/Render/Literal.hs
--- a/src/Tilia/Render/Literal.hs
+++ b/src/Tilia/Render/Literal.hs
@@ -3,7 +3,7 @@
 {-# LANGUAGE RecordWildCards #-}
 {-# LANGUAGE ViewPatterns #-}
 
--- | String literals.
+-- | Literals.
 module Tilia.Render.Literal
   ( hsLit,
     writtenString,
@@ -13,7 +13,7 @@
 
 import Control.Applicative ((<|>))
 import Control.Monad ((>=>))
-import Data.List (find)
+import Data.List (find, mapAccumL)
 import Data.Semigroup (Min (..))
 import Data.Text (Text)
 import Data.Text qualified as T
@@ -21,8 +21,10 @@
 import GHC.Hs (GhcPs, HsLit (..))
 import GHC.Parser.CharClass (is_space)
 import GHC.Types.SourceText (SourceText (..), StringLiteral (..))
+import Prelude hiding (break)
+
 import Tilia.Doc.Combinators
-import Tilia.Render.Layout (Position (..), positioned)
+import Tilia.Render.Block (Rank (..), ranked)
 import Tilia.Render.Name (outputable)
 
 -- | A literal, a string one as its author wrote it.
@@ -56,8 +58,8 @@
       Multiline -> verbatimLines AtIndent KeepWhitespace (litParts literal)
     onOneLine = txt (joinParts (litParts literal))
     acrossLines =
-      sepBy breakOrSpace (fmap continued (positioned (litParts literal)))
-    continued (position, s) = case position of
+      sepBy break (fmap continued (ranked (litParts literal)))
+    continued (rank, s) = case rank of
       Only -> txt s
       First -> txt s <> txt "\\"
       Middle -> txt "\\" <> txt s <> txt "\\"
@@ -113,11 +115,15 @@
       Nothing -> Nothing
       Just ('\\', rest) -> case afterGap rest of
         Just resumes -> Just (n, resumes)
-        Nothing -> let taken = 1 + escapedWidth rest in gapAt (n + taken) (T.drop taken t)
+        Nothing ->
+          let taken = 1 + escapedWidth rest
+           in gapAt (n + taken) (T.drop taken t)
       Just (_, rest) -> gapAt (n + 1) rest
     afterGap t = case T.span is_space t of
       (blank, rest)
-        | not (T.null blank), Just ('\\', resumes) <- T.uncons rest -> Just resumes
+        | not (T.null blank),
+          Just ('\\', resumes) <- T.uncons rest ->
+            Just resumes
       _ -> Nothing
     escapedWidth t = case T.uncons t of
       Just ('^', _) -> 2
@@ -129,7 +135,7 @@
 splitMultiline :: Text -> [Text]
 splitMultiline =
   dropCommonIndent
-    . fmap expandTabs
+    . fmap (joinParts . expandTabs . runsBetweenGaps)
     . splitLines
     . joinParts
     . runsBetweenGaps
@@ -140,16 +146,18 @@
   where
     newlineish c = c == '\n' || c == '\r' || c == '\f'
 
--- | Tabs advance to the next multiple of eight.
-expandTabs :: Text -> Text
-expandTabs = T.concat . go 0
+-- | Tabs in the runs of a line advance to the next multiple of eight, with
+-- the gap between two runs as wide as the @\\&@ GHC reads it as.
+expandTabs :: [Text] -> [Text]
+expandTabs = snd . mapAccumL run 0
   where
-    go column s = case T.breakOn "\t" s of
+    run column s = case T.breakOn "\t" s of
       (before, T.uncons -> Just (_, after)) ->
         let reached = column + T.length before
             fill = 8 - (reached `mod` 8)
-         in before : T.replicate fill " " : go (reached + fill) after
-      _ -> [s]
+            (end, rest) = run (reached + fill) after
+         in (end, before <> T.replicate fill " " <> rest)
+      _ -> (column + T.length s + 2, s)
 
 -- | Take the common indentation off every line but the first, and blank the
 -- lines that were nothing but whitespace.
@@ -162,7 +170,8 @@
       common = maybe 0 getMin (mconcat indents)
       measure l
         | T.all is_space l = (Nothing, "")
-        | otherwise = (Just (Min (T.length (T.takeWhile is_space l))), T.drop common l)
+        | otherwise =
+            (Just (Min (T.length (T.takeWhile is_space l))), T.drop common l)
 
 -- | Rejoin runs with the smallest gap that keeps them apart.
 --
diff --git a/src/Tilia/Render/Name.hs b/src/Tilia/Render/Name.hs
--- a/src/Tilia/Render/Name.hs
+++ b/src/Tilia/Render/Name.hs
@@ -1,32 +1,45 @@
 {-# LANGUAGE DataKinds #-}
 {-# LANGUAGE LambdaCase #-}
+{-# LANGUAGE MultiWayIf #-}
+{-# LANGUAGE OverloadedLabels #-}
 {-# LANGUAGE OverloadedStrings #-}
+{-# LANGUAGE PatternSynonyms #-}
 {-# LANGUAGE ViewPatterns #-}
 
--- | Names, and the decorations the author put around them.
+-- | Names, the decorations the author put around them, the heads of
+-- definitions, and function arrows.
 module Tilia.Render.Name
   ( outputable,
     showGhc,
     sourceText,
     name,
+    nameClosing,
+    hashesApart,
     moduleHeadName,
     wrappedName,
     namespaceSpec,
+    joinedByFunctionArrow,
     multiplicity,
     defHead,
+    headArguments,
+    typeHead,
   )
 where
 
-import Data.Choice (Choice, isTrue)
+import Data.Choice (Choice, fromBool, isTrue)
 import Data.Text (Text)
 import Data.Text qualified as T
-import GHC.Hs
+import GHC.Hs hiding (UnicodeSyntax)
 import GHC.LanguageExtensions.Type (Extension (..))
+import GHC.Types.Fixity (LexicalFixity (..))
 import GHC.Types.Name.Occurrence (OccName, occNameString)
 import GHC.Types.Name.Reader
 import GHC.Types.SourceText
 import GHC.Types.SrcLoc (getLoc)
 import GHC.Utils.Outputable (Outputable, ppr, showSDocUnsafe)
+import Prelude hiding (break)
+
+import Tilia.Doc (BracketSide (..), edgeTexts)
 import Tilia.Doc.Combinators
 import Tilia.Render.Context
 import Tilia.Source (SourceType (..))
@@ -38,11 +51,11 @@
 -- For the leaves that have no structure worth walking—numeric literals,
 -- occurrence names, calling conventions. Never for anything that might need
 -- a line break inside it, since the result is emitted as one fragment.
-outputable :: (Outputable a) => a -> Doc
+outputable :: Outputable a => a -> Doc
 outputable = txt . showGhc
 
 -- | The text GHC would show for something.
-showGhc :: (Outputable a) => a -> Text
+showGhc :: Outputable a => a -> Text
 showGhc = T.pack . showSDocUnsafe . ppr
 
 -- | The text the author wrote, when GHC kept it.
@@ -52,48 +65,143 @@
   SourceText s -> outputable s
 
 -- | A name, with whatever the author wrapped it in.
-name :: Ctx -> LocatedN RdrName -> Doc
-name ctx l = at ctx l $ \x -> adorn ctx (spanOf l) x (getLoc l) (bareName x)
+name ::
+  -- | The context.
+  Ctx ->
+  -- | The name.
+  LocatedN RdrName ->
+  Doc
+name ctx = nameClosing ctx 0
 
+-- | 'name', with the closing bracket of a @()@, a @(# #)@ or a @[]@ that a
+-- comment breaks this many steps in from its opening one.
+nameClosing ::
+  -- | The context.
+  Ctx ->
+  -- | The steps.
+  Int ->
+  -- | The name.
+  LocatedN RdrName ->
+  Doc
+nameClosing ctx closing l =
+  at ctx l $ \x -> adorn ctx closing (spanOf l) x (getLoc l) (bareName x)
+
 -- | The name itself, with nothing around it.
 bareName :: RdrName -> Doc
 bareName = \case
-  Unqual occName -> outputable occName
+  Unqual occName -> occurrence occName
   Qual mname occName -> qualifiedName mname occName
-  Orig _ occName -> outputable occName
+  Orig _ occName -> occurrence occName
   Exact n -> outputable n
 
 -- | Put back whatever brackets, backticks or ticks the author used.
-adorn :: Ctx -> Maybe Span -> RdrName -> EpAnn NameAnn -> Doc -> Doc
-adorn ctx here x = go
+adorn ::
+  -- | The context.
+  Ctx ->
+  -- | How many steps in from the opening bracket of a @()@, a @(# #)@ or a
+  -- @[]@ its closing one goes where a comment breaks it.
+  Int ->
+  -- | Where the name was written.
+  Maybe Span ->
+  -- | The name.
+  RdrName ->
+  -- | What was written around it.
+  EpAnn NameAnn ->
+  -- | The name, printed.
+  Doc ->
+  Doc
+adorn ctx closing here x = go
   where
     go EpAnn{anns} = case anns of
-      NameAnnQuote{nann_quoted} -> (txt "'" <>) . go nann_quoted
-      NameAnnOnly{nann_adornment = NameParensHash{}} -> const (txt "(# #)")
-      NameAnnOnly{nann_adornment = NameSquare{}} ->
-        const (txt "[" <> insideBrackets here mempty <> txt "]")
-      NameAnnRArrow{nann_mopen = Just _} -> inParens
+      NameAnnQuote{nann_quote, nann_quoted} ->
+        (keywordAt (spanOf nann_quote) "'" <>) . go nann_quoted
+      NameAnnOnly{nann_adornment = NameParensHash o c} ->
+        const (hollow o "(#" c "#)" (\d -> space <> d <> space))
+      NameAnnOnly{nann_adornment = NameParens o c} ->
+        const (hollow o "(" c ")" id)
+      NameAnnOnly{nann_adornment = NameSquare o c} ->
+        const (hollow o "[" c "]" id)
+      NameAnnCommas{nann_adornment = NameParens o c, nann_commas} ->
+        const (inParens (spanOf o) (spanOf c) (tokens "," nann_commas))
+      NameAnnCommas{nann_adornment = NameParensHash o c, nann_commas} ->
+        const (inBrackets o "(#" c "#)" (tokens "," nann_commas))
+      NameAnnBars{nann_parensh = (o, c), nann_bars} ->
+        const
+          ( inBrackets o "(#" c "#)" $
+              space
+                <> sepBy space [keywordAt (spanOf t) "|" | t <- nann_bars]
+                <> space
+          )
+      NameAnnRArrow{nann_mopen = Just o, nann_arrow, nann_mclose} ->
+        inParens (spanOf o) (spanOf nann_mclose)
+          . atSpan ctx (spanOf nann_arrow)
       NameAnn{nann_adornment, nann_name} -> case nann_adornment of
-        NameParens{} -> inParens . spaceOutHash . itsOwn nann_name
+        NameParens o c ->
+          inParens (spanOf o) (spanOf c) . spaceOutHash . itsOwn nann_name
         NameBackquotes{} -> backticks . itsOwn nann_name
         _ -> itsOwn nann_name
       _ -> id
     itsOwn = atSpan ctx . spanOf
-    inParens d = txt "(" <> d <> txt ")"
+    hollow o open c close spaced
+      | fmap endPoint (spanOf o) == fmap startPoint (spanOf c) =
+          opening <> spaced mempty <> closing'
+      | otherwise =
+          align . indent closing opening $
+            spaced (insideBrackets here mempty) <> closing'
+      where
+        opening = openingAt (spanOf o) open
+        closing' = closingAt (spanOf c) close
+    inParens o c d = openingAt o "(" >+> d <> closingAt c ")"
+    inBrackets o open c close d =
+      openingAt (spanOf o) open >+> d <> closingAt (spanOf c) close
+    tokens t = foldMap (\tok -> keywordAt (spanOf tok) t)
     spaceOutHash d
-      | extensionOn ctx UnboxedTuples || extensionOn ctx UnboxedSums,
+      | unboxedParens ctx,
         Unqual (occNameString -> '#' : _) <- x =
           space <> d <> space
       | otherwise = d
 
+-- | What a pair of parentheses holds, held off them where it begins with a
+-- @#@ or ends with the operator @#@ and 'unboxedParens' holds.
+hashesApart ::
+  -- | The context.
+  Ctx ->
+  -- | What the parentheses hold.
+  Doc ->
+  Doc
+hashesApart ctx d
+  | unboxedParens ctx =
+      gap OpeningBracket (T.isPrefixOf "#") <> d <> gap ClosingBracket (== "#")
+  | otherwise = d
+  where
+    gap side hashed = includeWhen (any hashed (edgeTexts side d)) space
+
+-- | Do @(#@ and @#)@ lex as brackets, so that a @#@ next to a parenthesis
+-- has to keep its distance, as with @UnboxedTuples@ or @UnboxedSums@ on?
+unboxedParens :: Ctx -> Bool
+unboxedParens ctx =
+  extensionOn ctx UnboxedTuples || extensionOn ctx UnboxedSums
+
 -- | A name written with its module.
 qualifiedName :: ModuleName -> OccName -> Doc
-qualifiedName mname occName = outputable mname <> txt "." <> outputable occName
+qualifiedName mname occName =
+  txt (T.pack (moduleNameString mname)) <> txt "." <> occurrence occName
 
+-- | A name as it is spelled, without a module.
+occurrence :: OccName -> Doc
+occurrence = txt . T.pack . occNameString
+
 -- | The name in a module header, with the keyword that introduces it.
-moduleHeadName :: Ctx -> ModuleName -> Doc
-moduleHeadName ctx mname =
-  txt keyword <> space <> outputable mname
+moduleHeadName ::
+  -- | The context.
+  Ctx ->
+  -- | Where the keyword was written.
+  Maybe Span ->
+  -- | The name.
+  LocatedA ModuleName ->
+  Doc
+moduleHeadName ctx keywordSpan mname =
+  keywordAt keywordSpan keyword <> space <> at ctx mname outputable
   where
     keyword = case ctxSourceType ctx of
       ModuleSource -> "module"
@@ -117,12 +225,51 @@
   TypeNamespaceSpecifier _ -> txt "type" <> space
   DataNamespaceSpecifier _ -> txt "data" <> space
 
+-- | 'joinedByArrow' with the arrow of a function type and the multiplicity
+-- written on it, which @UnicodeSyntax@ lets a linear arrow spell as one
+-- symbol.
+joinedByFunctionArrow ::
+  -- | The context.
+  Ctx ->
+  -- | How to print a multiplicity.
+  (mult -> Doc) ->
+  -- | Where the line may break.
+  Doc ->
+  -- | The argument.
+  Maybe Span ->
+  -- | What the arrow leads to.
+  Maybe Span ->
+  -- | The multiplicity.
+  HsMultAnnOf mult GhcPs ->
+  Doc
+joinedByFunctionArrow ctx render separator before after = \case
+  HsLinearAnn _ | extensionOn ctx UnicodeSyntax -> joined "⊸"
+  HsUnannotated _ -> joined arrow
+  multAnn -> case ctxArrowStyle ctx of
+    TrailingArrows ->
+      space <> multiplicity render multAnn <> joined arrow
+    LeadingArrows ->
+      separator
+        <> lineLed before after
+        <> multiplicity render multAnn
+        <> space
+        <> leading (txt arrow)
+  where
+    joined = joinedByArrow ctx separator before after
+    arrow = reserved ctx "->"
+
 -- | A multiplicity annotation on an arrow or a field.
-multiplicity :: (mult -> Doc) -> HsMultAnnOf mult GhcPs -> Doc
+multiplicity ::
+  -- | How to print the multiplicity written after a @%@.
+  (mult -> Doc) ->
+  -- | The annotation.
+  HsMultAnnOf mult GhcPs ->
+  Doc
 multiplicity render = \case
   HsUnannotated _ -> mempty
-  HsLinearAnn _ -> txt "%1"
-  HsExplicitMult _ mult -> txt "%" <> render mult
+  HsLinearAnn (EpPct1 tok _) -> keywordAt (spanOf tok) "%1"
+  HsLinearAnn EpLolly{} -> txt "%1"
+  HsExplicitMult (tok, _) mult -> keywordAt (spanOf tok) "%" <> render mult
 
 -- | The left-hand side of a definition: a name and the things it is applied
 -- to.
@@ -130,35 +277,85 @@
 -- Written infix, the first two arguments straddle the name and any further
 -- ones force the whole of that into parentheses, which is the only way the
 -- source could have been written. Written prefix, the arguments simply
--- follow. The indentation flag is for the callers whose body is going to be
--- indented anyway, so that the arguments do not end up two steps in.
+-- follow. The 'headArguments' are a 'ref' for what follows the head.
 defHead ::
+  -- | How many steps in from the opening parenthesis the closing one goes,
+  -- where there is one.
+  Int ->
+  -- | Where the parentheses were written, where there are any.
+  (Maybe Span, Maybe Span) ->
   -- | Written infix?
   Choice "writtenInfix" ->
-  -- | Indent the arguments?
-  Choice "indentArgs" ->
   -- | The name.
   Doc ->
   -- | The arguments.
   [Doc] ->
   Doc
-defHead writtenInfix indentArgs nameDoc (a0 : a1 : rest)
-  | isTrue writtenInfix =
-      wrap (a0 <> breakOrSpace <> indent (align (nameDoc <> space <> a1)))
-        <> includeUnless
-          (null rest)
-          (nest (steps indentArgs) (breakOrSpace <> spread rest))
+defHead closing parensAt writtenInfix nameDoc args = case args of
+  a0 : a1 : rest
+    | isTrue writtenInfix ->
+        let infixHead =
+              a0
+                >+> break
+                  <> align (leadingOperator nameDoc <> space <> a1)
+         in if
+              | null rest -> a0 >+> break <> arguments
+              | otherwise ->
+                  bracketWith closing parensAt "(" ")" infixHead
+                    >+> break
+                      <> arguments
+  [] -> nameDoc
+  _ -> nameDoc >+> break <> arguments
   where
-    wrap = if null rest then id else parens
-defHead _ indentArgs nameDoc args =
-  nameDoc
-    <> includeUnless
-      (null args)
-      (nest (steps indentArgs) (breakOrSpace <> spread args))
+    arguments = ref (headArguments writtenInfix nameDoc args)
 
+-- | The part of a definition's head that what follows the head is placed
+-- relative to, before it is lined up: the arguments, or, written infix,
+-- the name and the argument after it, where no more follow.
+headArguments ::
+  -- | Written infix?
+  Choice "writtenInfix" ->
+  -- | The name.
+  Doc ->
+  -- | The arguments.
+  [Doc] ->
+  Doc
+headArguments writtenInfix nameDoc = \case
+  [_, a1]
+    | isTrue writtenInfix -> align (leadingOperator nameDoc <> space <> a1)
+  _ : _ : rest | isTrue writtenInfix -> spread rest
+  args -> spread args
+
 -- | Arguments, each aligned under itself, one per line when broken.
 spread :: [Doc] -> Doc
-spread = align . sepBy breakOrSpace . fmap align
+spread = align . sepBy break . fmap align
 
-steps :: Choice "indentArgs" -> Int
-steps indentArgs = if isTrue indentArgs then 1 else 0
+-- | The head of a type-level declaration: a type constructor and what it is
+-- applied to, laid out from where they were written.
+typeHead ::
+  -- | The context.
+  Ctx ->
+  -- | How many steps in from the opening parenthesis the closing one goes,
+  -- where there is one.
+  Int ->
+  -- | Where the parentheses were written, where there are any.
+  (Maybe Span, Maybe Span) ->
+  -- | Was it written infix?
+  LexicalFixity ->
+  -- | The type constructor.
+  LocatedN RdrName ->
+  -- | Where each argument was.
+  (arg -> Maybe Span) ->
+  -- | How to print one.
+  (arg -> Doc) ->
+  -- | The arguments.
+  [arg] ->
+  Doc
+typeHead ctx closing parensAt fixity tyCon argSpan arg args =
+  layoutFrom ctx (spanOf tyCon <> foldMap argSpan args) $
+    defHead
+      closing
+      parensAt
+      (fromBool (fixity == Infix))
+      (name ctx tyCon)
+      (fmap arg args)
diff --git a/src/Tilia/Render/Operator.hs b/src/Tilia/Render/Operator.hs
--- a/src/Tilia/Render/Operator.hs
+++ b/src/Tilia/Render/Operator.hs
@@ -8,15 +8,18 @@
     associate,
     chainSpan,
     links,
+    isChain,
+    firstOperand,
     lastOperand,
     isSeparator,
   )
 where
 
-import Data.List (tails, zip4)
+import Data.List (zip4)
 import Data.List.NonEmpty (NonEmpty (..))
 import Data.List.NonEmpty qualified as NE
 import Data.Maybe (isNothing, mapMaybe)
+
 import Tilia.Fixity (Direction (..), Fixity (..))
 import Tilia.Span
 
@@ -42,14 +45,13 @@
   -- | The root of the tree.
   a ->
   (NonEmpty a, [op])
-flatten split = go
+flatten split x = go x [] []
   where
-    go x = case split x of
-      Nothing -> (x :| [], [])
+    go y operands ops = case split y of
+      Nothing -> (y :| operands, ops)
       Just (l, op, r) ->
-        let (ls, lops) = go l
-            (rs, rops) = go r
-         in (ls <> rs, lops <> [op] <> rops)
+        let (r' :| rs, rops) = go r operands ops
+         in go l (r' : rs) (op : rops)
 
 -- | 'flatten' for a node the caller has already taken apart.
 --
@@ -110,24 +112,46 @@
   (NonEmpty (NonEmpty a, [op]), [op])
 splitOn cuts (x0 :| xs) ops = go (x0 :| []) [] (zip ops xs)
   where
-    go current currentOps [] = ((NE.reverse current, reverse currentOps) :| [], [])
+    go current currentOps [] =
+      ((NE.reverse current, reverse currentOps) :| [], [])
     go current currentOps ((op, y) : rest)
       | cuts op =
           let (groups, splitters) = go (y :| []) [] rest
-           in (NE.cons (NE.reverse current, reverse currentOps) groups, op : splitters)
+           in ( NE.cons (NE.reverse current, reverse currentOps) groups,
+                op : splitters
+              )
       | otherwise = go (NE.cons y current) (op : currentOps) rest
 
 -- | Each operator of a chain level with the operands either side of it,
--- and whether the one after it is the last.
-links :: NonEmpty (OpChain a op) -> [op] -> [(OpChain a op, op, OpChain a op, Bool)]
+-- and the operator after the second of them, if there is one.
+links ::
+  NonEmpty (OpChain a op) ->
+  [op] ->
+  [(OpChain a op, op, OpChain a op, Maybe op)]
 links (firstOne :| rest) operators =
-  zip4 (firstOne : rest) operators rest (fmap null (drop 1 (tails rest)))
+  zip4
+    (firstOne : rest)
+    operators
+    rest
+    (fmap Just (drop 1 operators) <> repeat Nothing)
 
 -- | The region of the input a chain came from.
 chainSpan :: (a -> Maybe Span) -> OpChain a op -> Maybe Span
 chainSpan spanOfOperand = \case
   Operand x -> spanOfOperand x
   Chain xs _ -> foldMap (chainSpan spanOfOperand) xs
+
+-- | Is this a chain of operators rather than a lone operand?
+isChain :: OpChain a op -> Bool
+isChain = \case
+  Chain{} -> True
+  Operand _ -> False
+
+-- | The leftmost operand of a chain.
+firstOperand :: OpChain a op -> a
+firstOperand = \case
+  Operand x -> x
+  Chain xs _ -> firstOperand (NE.head xs)
 
 -- | The rightmost operand of a chain.
 lastOperand :: OpChain a op -> a
diff --git a/src/Tilia/Render/Pattern.hs b/src/Tilia/Render/Pattern.hs
--- a/src/Tilia/Render/Pattern.hs
+++ b/src/Tilia/Render/Pattern.hs
@@ -10,6 +10,7 @@
 module Tilia.Render.Pattern
   ( hsPat,
     hsPatClosing,
+    patArguments,
     fieldOcc,
     unboxedSum,
     boxityBrackets,
@@ -18,13 +19,16 @@
 
 import Data.Choice (Choice, fromBool, isTrue, pattern Is, pattern Isn't)
 import Data.List.NonEmpty qualified as NE
-import Data.Maybe (isJust)
+import Data.Maybe (fromMaybe, isJust)
 import GHC.Hs
 import GHC.Types.Basic (Arity, Boxity (..), ConTag)
 import GHC.Types.Name.Reader (RdrName)
+import GHC.Types.SrcLoc (unLoc)
+import Prelude hiding (break)
+
 import Tilia.Doc.Combinators
+import Tilia.Render.Block
 import Tilia.Render.Context
-import Tilia.Render.Layout
 import Tilia.Render.Literal (hsLit)
 import Tilia.Render.Name
 import Tilia.Render.Type
@@ -33,10 +37,10 @@
 
 -- | A pattern.
 hsPat :: Ctx -> LPat GhcPs -> Doc
-hsPat ctx = hsPatClosing ctx Indented
+hsPat ctx = hsPatClosing ctx 1
 
 -- | A pattern whose outermost bracket closes where it is told to.
-hsPatClosing :: Ctx -> ClosingIndent -> LPat GhcPs -> Doc
+hsPatClosing :: Ctx -> Int -> LPat GhcPs -> Doc
 hsPatClosing ctx = hsPatIn ctx (Isn't #inParens)
 
 -- | A pattern that knows where it stands.
@@ -45,8 +49,8 @@
   Ctx ->
   -- | Is this inside parentheses?
   Choice "inParens" ->
-  -- | Where its outermost bracket closes.
-  ClosingIndent ->
+  -- | How many steps in from its opening bracket its outermost one closes.
+  Int ->
   -- | The pattern.
   LPat GhcPs ->
   Doc
@@ -59,8 +63,8 @@
   Ctx ->
   -- | Is this inside parentheses?
   Choice "inParens" ->
-  -- | Where its outermost bracket closes.
-  ClosingIndent ->
+  -- | How many steps in from its opening bracket its outermost one closes.
+  Int ->
   -- | Where the pattern was written.
   Maybe Span ->
   -- | The pattern.
@@ -69,45 +73,64 @@
 patBody ctx inParens closing here = \case
   WildPat _ -> txt "_"
   VarPat _ n -> name ctx n
-  LazyPat _ p -> txt "~" <> recur p
-  AsPat _ n p -> name ctx n <> txt "@" <> recur p
-  ParPat _ p ->
-    parensWith
-      closing
-      (insideBrackets here (hsPatIn ctx (Is #inParens) Indented p))
-  BangPat _ p -> txt "!" <> recur p
-  ListPat _ ps ->
-    bracketsWith closing (insideBrackets here (commaSep (fmap recur ps)))
-  TuplePat _ ps boxity ->
-    boxityBrackets
-      boxity
-      closing
-      (insideBrackets here (commaSep (fmap (align . recur) ps)))
+  LazyPat tok p -> keywordAt (spanOf tok) "~" <> recur p
+  AsPat tok n p -> name ctx n <> keywordAt (spanOf tok) "@" <> recur p
+  ParPat parens' p ->
+    inside
+      (bracketWith closing (pairSpans parens') "(" ")")
+      (hashesApart ctx (hsPatIn ctx (Is #inParens) 1 p))
+  BangPat tok p -> keywordAt (spanOf tok) "!" <> recur p
+  ListPat ann ps ->
+    inside
+      ( commaBracketWith
+          (ctxCommaStyle ctx)
+          closing
+          (bracketSpans (al_brackets ann))
+          "["
+          "]"
+      )
+      (separated ps)
+  TuplePat brackets ps boxity ->
+    inside
+      ( boxityBrackets
+          (ctxCommaStyle ctx)
+          boxity
+          closing
+          (pairSpans brackets)
+      )
+      (hashesApart ctx (separated ps))
   OrPat _ ps ->
     itemsSepBy (fromBool (isTrue inParens)) NoBrace (fmap recur (NE.toList ps))
-  SumPat _ p tag arity -> unboxedSum closing tag arity (recur p)
-  ConPat _ con details -> conPattern ctx inParens here con details
+  SumPat ann p tag arity ->
+    unboxedSum closing (pairSpans (sumPatParens ann)) tag arity (ref (recur p))
+  ConPat braces con details ->
+    conPattern ctx inParens closing here (pairSpans braces) con details
   ViewPat _ e p ->
     align $
-      knotExpr (ctxKnot ctx) ctx plainSite e
-        <> joinedBy "->"
-        <> indent (recur p)
+      knotExpr (ctxKnot ctx) ctx e
+        >+> joinedBy (reserved ctx "->")
+          <> recur p
   SplicePat _ splice -> knotSplice (ctxKnot ctx) ctx DollarSplice splice
   LitPat _ lit -> hsLit lit
-  NPat _ v (isJust -> negated) _ ->
-    includeWhen negated (txt "-" <> negativeLiteralGap ctx)
+  NPat tok v (isJust -> negated) _ ->
+    includeWhen negated (keywordAt (spanOf tok) "-" <> negativeLiteralGap ctx)
       <> at ctx v (outputable . ol_val)
   NPlusKPat _ n k _ _ _ ->
     align $
       name ctx n
-        <> breakOrSpace
-        <> indent (txt "+" <> space <> at ctx k (outputable . ol_val))
+        >+> break
+          <> txt "+"
+          <> space
+          <> at ctx k (outputable . ol_val)
   SigPat _ p HsPS{..} ->
-    recur p <> typeAscription ctx (asSigType hsps_body)
+    recur p >+> typeAscription ctx (spanOf p) (asSigType hsps_body)
   EmbTyPat _ (HsTP _ ty) -> txt "type" <> space <> hsType ctx ty
-  InvisPat _ (HsTP _ ty) -> txt "@" <> hsType ctx ty
+  InvisPat (tok, _) (HsTP _ ty) ->
+    keywordAt (spanOf tok) "@" <> hsType ctx ty
   where
-    recur = hsPatIn ctx inParens Indented
+    recur = hsPatIn ctx inParens 1
+    inside brackets = brackets . insideBrackets here . ref
+    separated = commaSep (ctxCommaStyle ctx) . fmap (align . recur)
 
 -- | A constructor pattern, in whichever of its three forms.
 conPattern ::
@@ -115,42 +138,113 @@
   Ctx ->
   -- | Is this inside parentheses?
   Choice "inParens" ->
+  -- | How many steps in from its opening bracket the closing one of a
+  -- constructor written as @()@ or @[]@ goes.
+  Int ->
   -- | Where the pattern was written.
   Maybe Span ->
+  -- | Where the braces around its fields were written, if it has them.
+  (Maybe Span, Maybe Span) ->
   -- | The constructor.
   LocatedN RdrName ->
   -- | What it was applied to.
   HsConPatDetails GhcPs ->
   Doc
-conPattern ctx inParens here con = \case
-  PrefixCon args ->
-    align $
-      name ctx con
-        <> includeUnless (null args) breakOrSpace
-        <> indent (align (sepBy breakOrSpace (fmap (align . recur) args)))
-  RecCon (HsRecFields _ fields dotdot) ->
-    name ctx con
-      <> breakOrNothing
-      <> indent (braces (insideBrackets here (commaSep (fmap field (visibleFields dotdot fields)))))
+conPattern ctx inParens closing here braces con details = case details of
+  PrefixCon [] -> align (nameClosing ctx closing con)
+  PrefixCon _ ->
+    align (name ctx con >+> break <> ref (align arguments))
+  RecCon _ -> name ctx con >+> break' <> ref arguments
   InfixCon l r ->
     layoutFrom ctx (spanOf l <> spanOf r) $
-      recur l
-        <> attachOperator Normal (spanOf l) (spanOf con) (spanOf r) (name ctx con) (recur r)
+      hsPatIn ctx inParens 1 l >+> ref arguments
   where
-    recur = hsPatIn ctx inParens Indented
+    arguments = conArguments ctx inParens here braces con details
+
+-- | What a constructor of a pattern is applied to, as a part that what
+-- follows the pattern is placed relative to, before it is lined up: its
+-- arguments, its fields, or, written infix, the constructor and the
+-- operand after it.
+conArguments ::
+  -- | The context.
+  Ctx ->
+  -- | Is this inside parentheses?
+  Choice "inParens" ->
+  -- | Where the pattern was written.
+  Maybe Span ->
+  -- | Where the braces around its fields were written, if it has them.
+  (Maybe Span, Maybe Span) ->
+  -- | The constructor.
+  LocatedN RdrName ->
+  -- | What it was applied to.
+  HsConPatDetails GhcPs ->
+  Doc
+conArguments ctx inParens here braces con = \case
+  PrefixCon args -> sepBy break (fmap (align . recur) args)
+  RecCon (HsRecFields _ fields dotdot) ->
+    bracketWith
+      0
+      braces
+      "{"
+      "}"
+      ( insideBrackets
+          here
+          ( commaSep
+              (ctxCommaStyle ctx)
+              (fmap field (visibleFields dotdot fields))
+          )
+      )
+  InfixCon l r ->
+    attachOperator
+      Normal
+      id
+      (spanOf l)
+      (spanOf con)
+      (spanOf r)
+      (name ctx con)
+      (recur r)
+  where
+    recur = hsPatIn ctx inParens 1
     field = either wildcard (at_ ctx (patFieldBind ctx))
     wildcard l = at ctx l (const (txt ".."))
     visibleFields dotdot fields = case dotdot of
       Nothing -> Right <$> fields
       Just l -> (Right <$> fields) <> [Left l]
 
+-- | The part of a pattern that what follows it is placed relative to: what
+-- its constructor is applied to, marks and a name bound with \@ aside, and
+-- otherwise the whole.
+patArguments ::
+  -- | The context.
+  Ctx ->
+  -- | The pattern.
+  LPat GhcPs ->
+  Doc
+patArguments ctx p = fromMaybe (hsPat ctx p) (arguments p)
+  where
+    arguments q = case unLoc q of
+      ConPat _ _ (PrefixCon []) -> Nothing
+      ConPat braces con details ->
+        Just
+          ( conArguments
+              ctx
+              (Isn't #inParens)
+              (spanOf q)
+              (pairSpans braces)
+              con
+              details
+          )
+      AsPat _ _ q' -> arguments q'
+      BangPat _ q' -> arguments q'
+      LazyPat _ q' -> arguments q'
+      _ -> Nothing
+
 -- | One field of a record pattern.
 patFieldBind :: Ctx -> HsRecField GhcPs (LPat GhcPs) -> Doc
-patFieldBind ctx HsFieldBind{..} =
-  at ctx hfbLHS (fieldOcc ctx)
-    <> includeUnless
-      hfbPun
-      (joinedBy "=" <> indent (hsPat ctx hfbRHS))
+patFieldBind ctx HsFieldBind{..}
+  | hfbPun = at ctx hfbLHS (fieldOcc ctx)
+  | otherwise =
+      at ctx hfbLHS (fieldOcc ctx) >+> joinedBy "=" <> hsPat ctx hfbRHS
 
 -- | The name of a record field.
 fieldOcc :: Ctx -> FieldOcc GhcPs -> Doc
@@ -158,15 +252,43 @@
 
 -- | An unboxed sum: the one alternative that is present, with a bar for each
 -- one that is not.
-unboxedSum :: ClosingIndent -> ConTag -> Arity -> Doc -> Doc
-unboxedSum closing tag arity d =
-  unboxedWith closing (sepBy (txt "|") (before <> [space <> d <> space] <> after))
+unboxedSum ::
+  -- | How many steps in from the opening bracket the closing one goes.
+  Int ->
+  -- | Where the brackets were written.
+  (Maybe Span, Maybe Span) ->
+  -- | Which alternative is present.
+  ConTag ->
+  -- | How many alternatives there are.
+  Arity ->
+  -- | The alternative.
+  Doc ->
+  Doc
+unboxedSum closing brackets tag arity d =
+  spacedBracket
+    0
+    closing
+    brackets
+    "(#"
+    "#)"
+    (sepBy (txt "|") (before <> [space <> d <> space] <> after))
   where
     before = replicate (tag - 1) space
     after = replicate (arity - tag) space
 
 -- | The brackets a tuple is written with.
-boxityBrackets :: Boxity -> ClosingIndent -> Doc -> Doc
-boxityBrackets = \case
-  Boxed -> parensWith
-  Unboxed -> unboxedWith
+boxityBrackets ::
+  -- | Where the commas go.
+  CommaStyle ->
+  -- | Whether the tuple is boxed.
+  Boxity ->
+  -- | How many steps in from the opening bracket the closing one goes.
+  Int ->
+  -- | Where the brackets were written.
+  (Maybe Span, Maybe Span) ->
+  -- | The items, separated.
+  Doc ->
+  Doc
+boxityBrackets commas boxity closing brackets = case boxity of
+  Boxed -> commaBracketWith commas closing brackets "(" ")"
+  Unboxed -> spacedBracket (commaWidth commas) closing brackets "(#" "#)"
diff --git a/src/Tilia/Render/Pragma.hs b/src/Tilia/Render/Pragma.hs
--- a/src/Tilia/Render/Pragma.hs
+++ b/src/Tilia/Render/Pragma.hs
@@ -13,6 +13,7 @@
     overlapMode,
     warnDecls,
     warningTxt,
+    warningSquares,
   )
 where
 
@@ -24,22 +25,41 @@
 import GHC.Hs
 import GHC.Types.Basic hiding (overlapMode)
 import GHC.Types.SourceText
-import GHC.Types.SrcLoc (unLoc)
+import GHC.Types.SrcLoc (GenLocated (..), unLoc)
 import GHC.Unit.Module.Warnings
+import Prelude hiding (break)
+
+import Tilia.Doc (regionOf)
 import Tilia.Doc.Combinators
 import Tilia.Render.Context
 import Tilia.Render.Literal (stringLiteral, writtenString)
 import Tilia.Render.Name
+import Tilia.Span (Span)
+import Tilia.Span.Ghc (pairSpans, spanOf)
 
--- | Wrap a body in pragma braces.
+-- | Wrap a body in pragma braces, the opening one a 'ref' named by the
+-- whole region of the body.
 pragmaBrackets :: Doc -> Doc
 pragmaBrackets body =
-  align (txt "{-#" <> space <> body <> breakOrSpace <> indent (txt "#-}"))
+  align
+    ( opener
+        <> space
+        <> body
+        <> break
+        <> indent 1 (ptr opener) (txt "#-}")
+    )
+  where
+    opener = refAt (regionOf body) (txt "{-#")
 
--- | A named pragma with a body.
-pragma :: Text -> Doc -> Doc
+-- | A named pragma with a body placed relative to its name.
+pragma ::
+  -- | The name.
+  Text ->
+  -- | The body.
+  Doc ->
+  Doc
 pragma pragmaName body =
-  pragmaBrackets (txt pragmaName <> breakOrSpace <> body)
+  pragmaBrackets (txt pragmaName >+> break <> body)
 
 -- | The phase control of an @INLINE@ or @RULES@ pragma.
 activation :: Activation -> Doc
@@ -50,12 +70,13 @@
   ActiveAfter _ n -> txt "[" <> outputable n <> txt "]"
   FinalActive -> error "Tilia: FinalActive is not expected in parsed source"
 
--- | Which flavour of inlining was asked for, @INLINABLE@ spelled as written.
+-- | Which flavour of inlining was asked for, @INLINABLE@ and @NOINLINE@
+-- spelled as written.
 inlineSpec :: InlineSpec -> Doc
 inlineSpec = \case
   Inline _ -> txt "INLINE"
   Inlinable src -> txt (spelledAsWritten "INLINABLE" "INLINEABLE" src)
-  NoInline _ -> txt "NOINLINE"
+  NoInline src -> txt (spelledAsWritten "NOINLINE" "NOTINLINE" src)
   Opaque _ -> txt "OPAQUE"
   NoUserInlinePrag -> mempty
 
@@ -83,36 +104,50 @@
       _ -> Nothing
 
 -- | A @WARNING@ or @DEPRECATED@ declaration.
-warnDecls :: Ctx -> WarnDecls GhcPs -> Doc
+warnDecls ::
+  -- | The context.
+  Ctx ->
+  -- | The declaration.
+  WarnDecls GhcPs ->
+  Doc
 warnDecls ctx (Warnings (_, opening) warnings) =
   layoutAcross ctx warnings
     . pragma keyword
-    . indent
-    $ sepBy (txt ";" <> breakOrSpace) (fmap (at_ ctx (warned ctx)) warnings)
+    $ sepBy (txt ";" <> break) (fmap (at_ ctx (warned ctx)) warnings)
   where
-    keyword = case opening of
-      SourceText s
-        | "DEPRECATED" `isInfixOf` fmap toUpper (unpackFS s) -> "DEPRECATED"
-      _ -> "WARNING"
+    keyword = spelledAsWritten "WARNING" "DEPRECATED" opening
 
 -- | One of the things a warning declaration names.
 warned :: Ctx -> WarnDecl GhcPs -> Doc
-warned ctx (Warning (namespace, _) names wtxt) =
+warned ctx (Warning (namespace, squares) names wtxt) =
   category
     <> namespaceSpec namespace
-    <> commaSep (fmap (name ctx) names)
-    <> breakOrSpace
-    <> literalList literals
+    <> commaSepUnderFirst (ctxCommaStyle ctx) 0 (fmap (name ctx) names)
+    <> break
+    <> literalList (ctxCommaStyle ctx) (pairSpans squares) literals
   where
     (_, category, literals) = warningParts wtxt
 
 -- | A warning attached to a name in an export list or to an instance.
-warningTxt :: WarningTxt GhcPs -> Doc
-warningTxt wtxt =
-  indent (pragma keyword (indent (category <> literalList literals)))
+warningTxt ::
+  -- | The context.
+  Ctx ->
+  -- | Where the brackets around its messages were written.
+  (Maybe Span, Maybe Span) ->
+  -- | The warning.
+  WarningTxt GhcPs ->
+  Doc
+warningTxt ctx squares wtxt =
+  pragma
+    keyword
+    (category <> literalList (ctxCommaStyle ctx) squares literals)
   where
     (keyword, category, literals) = warningParts wtxt
 
+-- | Where the brackets around a warning's messages were written.
+warningSquares :: LWarningTxt GhcPs -> (Maybe Span, Maybe Span)
+warningSquares (L l _) = pairSpans (apr_squares (anns l))
+
 -- | Which keyword introduces a warning, which category it is filed under,
 -- and what it says.
 --
@@ -132,7 +167,18 @@
     written NoSourceText wc = txt ("\"" <> showGhc (unLoc wc) <> "\"")
 
 -- | One message is written bare; several go in a list.
-literalList :: [LocatedE StringLiteral] -> Doc
-literalList = \case
+literalList ::
+  -- | Where the commas go.
+  CommaStyle ->
+  -- | Where the brackets were written.
+  (Maybe Span, Maybe Span) ->
+  -- | The messages.
+  [LocatedE StringLiteral] ->
+  Doc
+literalList commas squares = \case
   [l] -> writtenString (unLoc l)
-  ls -> brackets (commaSep (fmap (writtenString . unLoc) ls))
+  ls ->
+    bracketWith 0 squares "[" "]" $
+      commaSep
+        commas
+        [maybe id located (spanOf l) (writtenString (unLoc l)) | l <- ls]
diff --git a/src/Tilia/Render/Signature.hs b/src/Tilia/Render/Signature.hs
--- a/src/Tilia/Render/Signature.hs
+++ b/src/Tilia/Render/Signature.hs
@@ -14,7 +14,9 @@
   )
 where
 
-import Data.Choice (Choice, isTrue, pattern Do, pattern Don't)
+import Data.Choice (Choice, pattern Do, pattern Don't)
+import Data.List.NonEmpty (NonEmpty (..))
+import Data.List.NonEmpty qualified as NE
 import Data.Maybe (maybeToList)
 import GHC.Data.BooleanFormula hiding (isTrue)
 import GHC.Hs
@@ -28,6 +30,8 @@
 import GHC.Types.Name.Reader (RdrName)
 import GHC.Types.SourceText
 import GHC.Types.SrcLoc (GenLocated (..), unLoc)
+import Prelude hiding (break)
+
 import Tilia.Doc.Combinators
 import Tilia.Render.Context
 import Tilia.Render.Expression (hsExpr)
@@ -35,16 +39,25 @@
 import Tilia.Render.Name
 import Tilia.Render.Pragma
 import Tilia.Render.Type
-import Tilia.Span (startOf)
-import Tilia.Span.Ghc (spanOf, spansOf)
+import Tilia.Span (endOf, startOf)
+import Tilia.Span.Ghc (outerBracketSpans, spanOf, spansOf)
 
 -- | A signature declaration.
-sigDecl :: Ctx -> Sig GhcPs -> Doc
+sigDecl ::
+  -- | The context.
+  Ctx ->
+  -- | The signature.
+  Sig GhcPs ->
+  Doc
 sigDecl ctx = \case
   TypeSig _ names hswc -> typeSig ctx (Do #indentTail) names (hswc_body hswc)
-  PatSynSig _ names sigType -> patSynSig ctx names sigType
-  ClassOpSig _ isDefault names sigType ->
-    includeWhen isDefault (txt "default" <> space) <> typeSig ctx (Do #indentTail) names sigType
+  PatSynSig ann names sigType -> patSynSig ctx ann names sigType
+  ClassOpSig ann isDefault names sigType
+    | isDefault ->
+        keywordAt (spanOf =<< asDefault ann) "default"
+          >+> space
+            <> typeSig ctx (Do #indentTail) names sigType
+    | otherwise -> typeSig ctx (Do #indentTail) names sigType
   FixSig ((_, written), _) sig -> fixitySig ctx written sig
   InlineSig _ n prag -> inlineSig ctx n prag
   SpecSig _ n types prag ->
@@ -53,9 +66,10 @@
   SpecInstSig (_, src) sigType ->
     pragma
       (spelledAsWritten "SPECIALIZE" "SPECIALISE" src <> " instance")
-      (indent (hsSigType ctx sigType))
+      (hsSigType ctx sigType)
   MinimalSig _ formula ->
-    at ctx formula (pragma "MINIMAL" . indent . booleanFormula ctx)
+    layoutFrom ctx (spanOf formula) . pragma "MINIMAL" $
+      at ctx formula (booleanFormula ctx)
   CompleteMatchSig _ names ty -> completeSig ctx names ty
   SCCFunSig _ n literal -> sccSig ctx n literal
 
@@ -71,39 +85,33 @@
   LHsSigType GhcPs ->
   Doc
 typeSig _ _ [] _ = error "Tilia: a signature names something"
-typeSig ctx indentTail (n : ns) sigType
-  | null ns = name ctx n <> typeAscription ctx sigType
-  | otherwise =
-      layoutAcross ctx (n : ns) $
-        variant
-          (commaSep (fmap (name ctx) (n : ns)) <> ascription)
-          ( name ctx n
-              <> nest
-                (if isTrue indentTail then 1 else 0)
-                ( comma
-                    <> breakOrSpace
-                    <> commaSep (fmap (name ctx) ns)
-                    <> ascription
-                )
-          )
+typeSig ctx indentTail (n : ns) sigType =
+  ascribedNames ctx indentTail names (spanOf sigType) $
+    typeAscription ctx (spanOf (NE.last names)) sigType
   where
-    ascription =
-      layoutFrom
-        ctx
-        (spansOf (n : ns) <> spanOf sigType)
-        (typeAscription ctx sigType)
+    names = n :| ns
 
 -- | @pattern P :: t@.
-patSynSig :: Ctx -> [LocatedN RdrName] -> LHsSigType GhcPs -> Doc
-patSynSig ctx names sigType
+patSynSig ::
+  -- | The context.
+  Ctx ->
+  -- | Where its keywords were written.
+  AnnSig ->
+  -- | The pattern synonyms it is about.
+  [LocatedN RdrName] ->
+  -- | The type they are given.
+  LHsSigType GhcPs ->
+  Doc
+patSynSig ctx ann names sigType
   | length names > 1 =
-      txt "pattern"
-        <> layoutAcross
+      keyword
+        >+> layoutAcross
           ctx
           names
-          (variant (space <> body) (breakOrSpace <> indent body))
-  | otherwise = txt "pattern" <> space <> body
+          (variant (space <> body) (break <> body))
+  | otherwise = keyword >+> space <> body
   where
+    keyword = keywordAt (spanOf =<< asPattern ann) "pattern"
     body = typeSig ctx (Don't #indentTail) names sigType
 
 -- | @infixl 5 <+>@, with the precedence only where one is written.
@@ -113,7 +121,7 @@
     <> space
     <> foldMap (const (outputable prec <> space)) written
     <> namespaceSpec namespace
-    <> align (commaSep (fmap (name ctx) names))
+    <> align (commaSepUnderFirst (ctxCommaStyle ctx) 0 (fmap (name ctx) names))
   where
     keyword = case direction of
       InfixL -> "infixl"
@@ -121,16 +129,24 @@
       InfixN -> "infix"
 
 -- | An @INLINE@ or @NOINLINE@ pragma.
-inlineSig :: Ctx -> LocatedN RdrName -> InlinePragma -> Doc
+inlineSig ::
+  -- | The context.
+  Ctx ->
+  -- | The name it is about.
+  LocatedN RdrName ->
+  -- | The pragma.
+  InlinePragma ->
+  Doc
 inlineSig ctx n InlinePragma{..} =
   pragmaBrackets $
-    inlineSpec inl_inline
-      <> space
-      <> conLike
-      <> space
-      <> includeUnless (inl_act == NeverActive) (activation inl_act)
-      <> space
-      <> name ctx n
+    ( inlineSpec inl_inline
+        <> space
+        <> conLike
+        <> space
+        <> includeUnless (inl_act == NeverActive) (activation inl_act)
+    )
+      >+> space
+        <> name ctx n
   where
     conLike = case inl_rule of
       ConLike -> txt "CONLIKE"
@@ -146,19 +162,28 @@
   Doc
 specialiseSig ctx binders target types InlinePragma{..} =
   pragmaBrackets $
-    txt (spelledAsWritten "SPECIALIZE" "SPECIALISE" inl_src)
-      <> space
-      <> inlineSpec inl_inline
-      <> space
-      <> phase
-      <> indent
-        ( space
-            <> foldMap (\bs -> ruleBinders ctx bs <> space) binders
-            <> hsExpr ctx target
-            <> includeUnless
-              (null types)
-              (joinedBy "::" <> commaSep (fmap (hsSigType ctx) types))
-        )
+    ( txt (spelledAsWritten "SPECIALIZE" "SPECIALISE" inl_src)
+        <> space
+        <> inlineSpec inl_inline
+        <> space
+        <> phase
+    )
+      >+> space
+        <> foldMap (\bs -> ruleBinders ctx bs <> space) binders
+        <> hsExpr ctx target
+        <> includeUnless
+          (null types)
+          ( joinedByArrow
+              ctx
+              break
+              (spanOf target)
+              (spansOf types)
+              (reserved ctx "::")
+              <> commaSepUnderFirst
+                (ctxCommaStyle ctx)
+                0
+                (fmap (hsSigType ctx) types)
+          )
   where
     -- A @NOINLINE@ written without a phase reads as never active, so that
     -- phase is left off rather than printed as @[~]@.
@@ -207,36 +232,68 @@
 booleanFormula :: Ctx -> BooleanFormula GhcPs -> Doc
 booleanFormula ctx = \case
   Var n -> name ctx n
-  And xs -> align (commaSep (fmap (at_ ctx (booleanFormula ctx)) xs))
+  And xs ->
+    align
+      ( commaSepUnderFirst
+          (ctxCommaStyle ctx)
+          0
+          (fmap (at_ ctx (booleanFormula ctx)) xs)
+      )
   Or xs ->
-    align (sepBy (breakOrSpace <> txt "|" <> space) (fmap (at_ ctx (booleanFormula ctx)) xs))
-  Parens l -> at ctx l (parens . booleanFormula ctx)
+    align
+      ( sepBy
+          (break <> leadingBar)
+          (fmap (at_ ctx (booleanFormula ctx)) (concatMap alternatives xs))
+      )
+  Parens l -> at ctx l (parens (Nothing, Nothing) . booleanFormula ctx)
+  where
+    alternatives = \case
+      L _ (Or ys) -> concatMap alternatives ys
+      x -> [x]
 
 -- | A @COMPLETE@ pragma.
-completeSig :: Ctx -> [LIdP GhcPs] -> Maybe (LocatedN RdrName) -> Doc
+completeSig ::
+  -- | The context.
+  Ctx ->
+  -- | The constructors and pattern synonyms it lists.
+  [LIdP GhcPs] ->
+  -- | The type constructor after its @::@, if written.
+  Maybe (LocatedN RdrName) ->
+  Doc
 completeSig ctx names ty =
-  layoutAcross ctx names . pragma "COMPLETE" . indent $
-    commaSep (fmap (name ctx) names)
-      <> foldMap
-        (\t -> joinedBy "::" <> indent (name ctx t))
-        ty
+  layoutAcross ctx names . pragma "COMPLETE" $ case ty of
+    Nothing -> listed
+    Just t ->
+      listed
+        >+> variant
+          (ascription t)
+          (layoutFrom ctx (spanOf (last names) <> spanOf t) (ascription t))
+  where
+    listed = commaSepUnderFirst (ctxCommaStyle ctx) 0 (fmap (name ctx) names)
+    ascription t =
+      joinedByArrow
+        ctx
+        break
+        (spansOf names)
+        (spanOf t)
+        (reserved ctx "::")
+        <> name ctx t
 
 -- | An @SCC@ pragma.
 sccSig :: Ctx -> LocatedN RdrName -> Maybe (XRec GhcPs StringLiteral) -> Doc
 sccSig ctx n literal =
-  pragma "SCC" . indent $
-    name ctx n <> foldMap (\l -> breakOrSpace <> writtenString (unLoc l)) literal
+  pragma "SCC" $
+    name ctx n
+      <> foldMap (\l -> break <> writtenString (unLoc l)) literal
 
 -- | @type T :: k@.
 standaloneKindSig :: Ctx -> StandaloneKindSig GhcPs -> Doc
-standaloneKindSig ctx (StandaloneKindSig _ n sigTy) =
-  txt "type"
-    <> indent
-      ( space
-          <> name ctx n
-          <> joinedBy "::"
-          <> hsSigType ctx sigTy
-      )
+standaloneKindSig ctx (StandaloneKindSig (typeToken, _) n sigTy) =
+  keyword
+    <> indent 1 (ptr keyword) (space <> name ctx n)
+    <> indent 1 (ptr keyword) (typeAscription ctx (spanOf n) sigTy)
+  where
+    keyword = refAt (spanOf typeToken) (txt "type")
 
 -- | A @RULES@ block.
 --
@@ -246,25 +303,35 @@
 -- the braces it would read as a remark on whatever follows the block.
 ruleDecls :: Ctx -> RuleDecls GhcPs -> Doc
 ruleDecls ctx (HsRules ((_, close), _) rules) =
-  pragma "RULES" $
-    sepBy breakOrSpace (fmap (align . at_ ctx (ruleDecl ctx)) rules)
+  pragmaBrackets $
+    txt "RULES"
+      <> break
+      <> sepBy
+        break
+        (fmap (align . at_ ctx (ruleDecl ctx)) rules)
       <> foldMap (emptyAnchor . startOf) (spanOf close)
 
 -- | One rule of a @RULES@ block.
-ruleDecl :: Ctx -> RuleDecl GhcPs -> Doc
+ruleDecl ::
+  -- | The context.
+  Ctx ->
+  -- | The rule.
+  RuleDecl GhcPs ->
+  Doc
 ruleDecl ctx (HsRule (_, written) ruleName phase binders lhs rhs) =
   at ctx ruleName (\n -> writtenString (StringLiteral written n Nothing))
-    <> space
-    <> activation phase
-    <> space
-    <> ruleBinders ctx binders
-    <> breakOrSpace
-    <> indent
-      ( hsExpr ctx lhs
-          <> space
-          <> txt "="
-          <> indent (breakOrSpace <> hsExpr ctx rhs)
-      )
+    >+> space
+      <> activation phase
+      <> space
+      <> ruleBinders ctx binders
+      <> break
+      <> ( hsExpr ctx lhs
+             >+> trailing (txt "=")
+               <> layoutFrom
+                 ctx
+                 (fmap endOf (spanOf lhs) <> spanOf rhs)
+                 (break <> hsExpr ctx rhs)
+         )
 
 -- | The @forall@s a rule or a @SPECIALIZE@ pragma binds.
 ruleBinders :: Ctx -> RuleBndrs GhcPs -> Doc
@@ -280,5 +347,7 @@
 ruleBinder :: Ctx -> RuleBndr GhcPs -> Doc
 ruleBinder ctx = \case
   RuleBndr _ n -> name ctx n
-  RuleBndrSig _ n HsPS{..} ->
-    parens (name ctx n <> typeAscription ctx (asSigType hsps_body))
+  RuleBndrSig ann n HsPS{..} ->
+    parens
+      (outerBracketSpans (atv_opens ann) (atv_closes ann))
+      (name ctx n >+> typeAscription ctx (spanOf n) (asSigType hsps_body))
diff --git a/src/Tilia/Render/Type.hs b/src/Tilia/Render/Type.hs
--- a/src/Tilia/Render/Type.hs
+++ b/src/Tilia/Render/Type.hs
@@ -1,47 +1,59 @@
 {-# LANGUAGE DataKinds #-}
 {-# LANGUAGE LambdaCase #-}
+{-# LANGUAGE OverloadedLabels #-}
 {-# LANGUAGE OverloadedStrings #-}
+{-# LANGUAGE PatternSynonyms #-}
 {-# LANGUAGE RecordWildCards #-}
 {-# LANGUAGE TypeFamilies #-}
 
 -- | Types.
 module Tilia.Render.Type
   ( hsType,
-    hsTypeBody,
     hsSigType,
     hsSigTypeBody,
     typeAscription,
+    ascribedNames,
     context,
     leftContext,
     contextOf,
+    contextParens,
     tyVarBndr,
     Visibility (..),
     forallBndrs,
+    quantifier,
     forallTelescope,
     outerBndrs,
     recordFieldsAt,
+    fieldsUnder,
+    fieldDoc,
     conDeclField,
     documentedConDeclField,
     strictness,
     typeArgument,
     typeArgSpan,
     typeIsDocumented,
+    signaturePart,
     typeBreak,
     asSigType,
   )
 where
 
-import Data.Choice (Choice, fromBool, isTrue)
+import Data.Choice (Choice, fromBool, isTrue, pattern Don't)
 import Data.List.NonEmpty (NonEmpty (..))
+import Data.List.NonEmpty qualified as NE
+import Data.Maybe (mapMaybe)
 import Data.Set qualified as Set
 import Data.Text qualified as T
-import GHC.Hs
-import GHC.LanguageExtensions.Type (Extension (Cpp))
-import GHC.Types.Name.Occurrence (isTvOcc, occNameString)
+import GHC.Hs hiding (UnicodeSyntax)
+import GHC.LanguageExtensions.Type (Extension (UnicodeSyntax))
+import GHC.Types.Basic (funPrec)
+import GHC.Types.Name.Occurrence (occNameString)
 import GHC.Types.Name.Reader (RdrName, isUnqual, rdrNameOcc)
 import GHC.Types.SourceText
 import GHC.Types.SrcLoc (GenLocated (..), getLoc, unLoc)
 import GHC.Types.Var (Specificity (..))
+import Prelude hiding (break)
+
 import Tilia.Doc.Combinators
 import Tilia.Fixity (typeOperatorNamespace)
 import Tilia.Render.Context
@@ -49,17 +61,13 @@
 import Tilia.Render.Literal (stringLiteral)
 import Tilia.Render.Name
 import Tilia.Render.Operator
-import Tilia.Source (definedMacros, sourceLines)
 import Tilia.Span
 import Tilia.Span.Ghc
 
 -- | A type.
 hsType :: Ctx -> LHsType GhcPs -> Doc
-hsType ctx l = at ctx l (hsTypeBody ctx (spanOf l))
-
--- | A type whose location the caller has already entered.
-hsTypeBody :: Ctx -> Maybe Span -> HsType GhcPs -> Doc
-hsTypeBody ctx here t = typeBody ctx (fromBool (typeIsDocumented t)) here t
+hsType ctx l =
+  at ctx l $ \t -> typeBody ctx (fromBool (typeIsDocumented t)) (spanOf l) t
 
 -- | The body of a type, with the decision about its arguments handed down.
 typeBody ::
@@ -74,68 +82,113 @@
   Doc
 typeBody ctx documented here = \case
   HsForAllTy _ tele t ->
-    forallTelescope ctx tele <> betweenArgs <> hsType ctx t
+    (if isTrue documented then broken else id) $
+      forallTelescope ctx betweenArgs (spanOf t) tele
+        <> signaturePart ctx (hsType ctx) t
   HsQualTy _ qs t ->
     context ctx qs
-      <> space
-      <> txt "=>"
-      <> betweenArgs
+      <> joinedByArrow
+        ctx
+        betweenArgs
+        (spanOf qs)
+        (spanOf t)
+        (reserved ctx "=>")
       <> case unLoc t of
         HsQualTy{} -> recur (unLoc t)
         HsFunTy{} -> hsType ctx t
-        _ -> at ctx t recur
-  HsTyVar _ promoted n -> promotion promoted n <> name ctx n
+        _ -> signaturePart ctx recurAt t
+  HsTyVar tok promoted n -> promotion (spanOf tok) promoted n <> name ctx n
   HsAppTy _ f x ->
     let (func, args) = gatherAppArgs f [x]
      in layoutFrom ctx (spanOf f <> spansOf args) . align $
           hsType ctx func
-            <> breakOrSpace
-            <> indent (sepBy breakOrSpace (fmap (hsType ctx) args))
-  HsAppKindTy _ ty kd ->
-    align (hsType ctx ty <> breakOrSpace <> indent (txt "@" <> hsType ctx kd))
+            >+> break
+              <> sepBy break (fmap (hsType ctx) args)
+  HsAppKindTy tok ty kd ->
+    align
+      ( hsType ctx ty
+          >+> break
+            <> keywordAt (spanOf tok) "@"
+            <> hsType ctx kd
+      )
   HsFunTy _ multAnn x y ->
-    hsType ctx x
-      <> space
-      <> multiplicity (at_ ctx recur) multAnn
-      <> space
-      <> txt "->"
-      <> betweenArgs
-      <> fenceWithin ctx (fmap endOf (arrowSpan multAnn) <> spanOf y) result
+    signaturePart ctx (hsType ctx) x
+      <> joinedByFunctionArrow
+        ctx
+        recurAt
+        betweenArgs
+        (spanOf x)
+        (spanOf y)
+        multAnn
+      <> fenced result
     where
       result = case unLoc y of
         HsFunTy{} -> recur (unLoc y)
-        _ -> at ctx y recur
-  HsListTy _ t ->
-    layoutWithin ctx here (spanOf t) $
-      brackets (insideBrackets here (hsType ctx t))
-  HsTupleTy _ sort xs ->
-    layoutWithin ctx here (spansOf xs) $
-      tupleBrackets sort (insideBrackets here (commaSep (fmap (align . hsType ctx) xs)))
-  HsSumTy _ xs ->
-    unboxed (sepBy (joinedBy "|") (fmap (align . hsType ctx) xs))
+        _ -> signaturePart ctx recurAt y
+      fenced = case ctxArrowStyle ctx of
+        TrailingArrows -> fence (fmap endOf (arrowSpan multAnn) <> spanOf y)
+        LeadingArrows -> id
+  HsListTy brackets t ->
+    layoutFrom ctx (spanOf t) $
+      bracketWith
+        0
+        (parenSpans brackets)
+        "["
+        "]"
+        (insideBrackets here (hsType ctx t))
+  HsTupleTy brackets sort xs ->
+    layoutFrom ctx (spansOf xs) $
+      tupleBrackets
+        (ctxCommaStyle ctx)
+        (parenSpans brackets)
+        sort
+        ( insideBrackets
+            here
+            (commaSep (ctxCommaStyle ctx) (fmap (align . hsType ctx) xs))
+        )
+  HsSumTy brackets xs ->
+    spacedBracket
+      0
+      0
+      (parenSpans brackets)
+      "(#"
+      "#)"
+      (sepBy (joinedBy "|") (fmap (align . hsType ctx) xs))
   HsOpTy _ _ x op y -> typeChain ctx x op y
-  HsParTy _ t ->
-    layoutWithin ctx here (spanOf t) (parens (insideBrackets here (hsType ctx t)))
+  HsParTy brackets t ->
+    layoutFrom
+      ctx
+      (spanOf t)
+      (parens (pairSpans brackets) (insideBrackets here (hsType ctx t)))
   HsIParamTy _ n t ->
-    align (at ctx n outputable <> joinedBy "::" <> indent (hsType ctx t))
-  HsStarTy _ _ -> txt "*"
+    align (at ctx n outputable >+> typeAscription ctx (spanOf n) (asSigType t))
+  HsStarTy _ _ -> txt (reserved ctx "*")
   HsKindSig _ t k ->
-    align (hsType ctx t <> joinedBy "::" <> indent (hsType ctx k))
+    align (hsType ctx t >+> typeAscription ctx (spanOf t) (asSigType k))
   HsSpliceTy _ splice -> knotSplice (ctxKnot ctx) ctx DollarSplice splice
   HsDocTy _ t str -> haddockInline ctx Pipe str <> hsType ctx t
-  HsExplicitListTy _ promoted xs ->
-    tick promoted
-      <> brackets
+  HsExplicitListTy (tok, open, close) promoted xs ->
+    ticked (spanOf tok) promoted (spanOf open <> spanOf close) $
+      bracketWith
+        0
+        (spanOf open, spanOf close)
+        "["
+        "]"
         ( insideBrackets
             here
-            (quoteGap promoted xs <> commaSep (fmap (align . hsType ctx) xs))
+            ( quoteGap promoted xs
+                <> commaSep (ctxCommaStyle ctx) (fmap (align . hsType ctx) xs)
+            )
         )
-  HsExplicitTupleTy _ promoted xs ->
-    tick promoted
-      <> parens
+  HsExplicitTupleTy (tok, open, close) promoted xs ->
+    ticked (spanOf tok) promoted (spanOf open <> spanOf close) $
+      parens
+        (spanOf open, spanOf close)
         ( insideBrackets
             here
-            (quoteGap promoted xs <> commaSep (fmap (hsType ctx) xs))
+            ( quoteGap promoted xs
+                <> commaSep (ctxCommaStyle ctx) (fmap (align . hsType ctx) xs)
+            )
         )
   HsTyLit _ t -> case t of
     HsStrTy (SourceText s) _ -> stringLiteral s
@@ -143,13 +196,34 @@
   HsWildCardTy _ -> txt "_"
   XHsType ext -> case ext of
     HsCoreTy t -> outputable t
-    HsBangTy _ (HsSrcBang _ unpacked strict) t ->
-      unpackPragma unpacked <> strictness strict <> hsType ctx t
-    HsRecTy _ fields -> recordFields ctx Nothing fields
+    HsBangTy (_, _, bang) (HsSrcBang _ unpacked strict) t ->
+      unpackPragma unpacked
+        <> strictness (spanOf bang) strict
+        <> hsType ctx t
+    HsRecTy ann fields ->
+      recordFields ctx Nothing (bracketSpans (al_brackets ann)) fields
   where
     recur = typeBody ctx documented Nothing
+    recurAt l = at ctx l (typeBody ctx documented (spanOf l))
     betweenArgs = typeBreak (isTrue documented)
 
+-- | A part of a signature's type that goes on a line of its own, with its
+-- Haddock under it where arrows lead, since above it the Haddock would come
+-- between the part and the arrow in front of it.
+signaturePart ::
+  -- | The context.
+  Ctx ->
+  -- | How to print the part, or the type under its Haddock.
+  (LHsType GhcPs -> Doc) ->
+  -- | The part.
+  LHsType GhcPs ->
+  Doc
+signaturePart ctx render l = case unLoc l of
+  HsDocTy _ t str -> case ctxArrowStyle ctx of
+    TrailingArrows -> at ctx l (const (haddockInline ctx Pipe str <> render t))
+    LeadingArrows -> render t <> newline <> haddock ctx Caret str
+  _ -> render l
+
 -- | A chain of type operators, regrouped by precedence.
 typeChain :: Ctx -> LHsType GhcPs -> LocatedN RdrName -> LHsType GhcPs -> Doc
 typeChain ctx x op y =
@@ -162,20 +236,29 @@
 
 -- | Print a chain of type operators once precedence has regrouped it.
 renderChain :: Ctx -> OpChain (LHsType GhcPs) (LocatedN RdrName) -> Doc
-renderChain ctx = \case
-  Operand t -> hsType ctx t
-  chain@(Chain operands@(firstOne :| _) operators) ->
-    layoutFrom ctx (chainSpan spanOf chain) $
-      renderChain ctx firstOne <> foldMap piece (links operands operators)
+renderChain ctx = chainAt 1
   where
-    piece (previous, op, operand, _) =
+    chainAt steps = \case
+      Operand t -> hsType ctx t
+      chain@(Chain operands@(firstOne :| _) operators) ->
+        layoutFrom ctx (chainSpan spanOf chain) $
+          let first' =
+                chainAt
+                  (if any isChain (NE.tail operands) then steps + 1 else steps)
+                  firstOne
+           in ref first'
+                <> foldMap
+                  (piece (indent steps (ptr first')))
+                  (links operands operators)
+    piece placing (previous, op, operand, _) =
       attachOperator
         Normal
+        placing
         (chainSpan spanOf previous)
         (spanOf op)
         (chainSpan spanOf operand)
         (name ctx op)
-        (renderChain ctx operand)
+        (chainAt 1 operand)
 
 -- | Gather a nest of applications into a head and its arguments.
 gatherAppArgs ::
@@ -187,23 +270,51 @@
   _ -> (f, known)
 
 -- | The brackets a tuple type is written with.
-tupleBrackets :: HsTupleSort -> Doc -> Doc
-tupleBrackets = \case
-  HsUnboxedTuple -> unboxed
-  HsBoxedOrConstraintTuple -> parens
+tupleBrackets ::
+  -- | Where the commas go.
+  CommaStyle ->
+  -- | Where the brackets were written.
+  (Maybe Span, Maybe Span) ->
+  -- | Which kind of tuple.
+  HsTupleSort ->
+  -- | The items, separated.
+  Doc ->
+  Doc
+tupleBrackets commas brackets = \case
+  HsUnboxedTuple -> spacedBracket (commaWidth commas) 0 brackets "(#" "#)"
+  HsBoxedOrConstraintTuple -> parens brackets
 
--- | The tick in front of a promoted list or tuple.
-tick :: PromotionFlag -> Doc
-tick = \case
-  IsPromoted -> txt "'"
-  NotPromoted -> mempty
+-- | A list or tuple behind the tick that promotes it, if any, its brackets
+-- then a region apart from the tick, so that a comment after the opening
+-- one stays inside them.
+ticked ::
+  -- | Where the tick was written.
+  Maybe Span ->
+  -- | Whether there is one.
+  PromotionFlag ->
+  -- | Where the brackets were written.
+  Maybe Span ->
+  -- | The brackets and what they hold.
+  Doc ->
+  Doc
+ticked here promoted brackets d = case promoted of
+  IsPromoted -> keywordAt here "'" <> maybe id located brackets d
+  NotPromoted -> d
 
 -- | The tick on a promoted name, held off it where the name's second
 -- character is a tick too, as @'B'@ would read as a character literal.
-promotion :: PromotionFlag -> LocatedN RdrName -> Doc
-promotion NotPromoted _ = mempty
-promotion IsPromoted n =
-  txt "'" <> includeWhen (beginsWithTick (showGhc (unLoc n))) space
+promotion ::
+  -- | Where the tick was written.
+  Maybe Span ->
+  -- | Whether there is one.
+  PromotionFlag ->
+  -- | The name.
+  LocatedN RdrName ->
+  Doc
+promotion _ NotPromoted _ = mempty
+promotion here IsPromoted n =
+  keywordAt here "'"
+    <> includeWhen (beginsWithTick (showGhc (unLoc n))) space
   where
     beginsWithTick shown = case T.uncons (T.drop 1 shown) of
       Just ('\'', _) -> True
@@ -219,6 +330,9 @@
 startsWithTick :: HsType GhcPs -> Bool
 startsWithTick = \case
   HsAppTy _ (L _ f) _ -> startsWithTick f
+  HsAppKindTy _ (L _ t) _ -> startsWithTick t
+  HsOpTy _ _ (L _ x) _ _ -> startsWithTick x
+  HsKindSig _ (L _ t) _ -> startsWithTick t
   HsTyVar _ IsPromoted _ -> True
   HsExplicitTupleTy{} -> True
   HsExplicitListTy{} -> True
@@ -232,17 +346,22 @@
   SrcNoUnpack -> txt "{-# NOUNPACK #-}" <> space
   NoSrcUnpack -> mempty
 
--- | The @!@ or @~@ in front of a field.
-strictness :: SrcStrictness -> Doc
-strictness = \case
-  SrcLazy -> txt "~"
-  SrcStrict -> txt "!"
+-- | The @!@ or @~@ in front of a field or a binding.
+strictness ::
+  -- | Where it was written.
+  Maybe Span ->
+  -- | Which it is, if either.
+  SrcStrictness ->
+  Doc
+strictness here = \case
+  SrcLazy -> keywordAt here "~"
+  SrcStrict -> keywordAt here "!"
   NoSrcStrict -> mempty
 
 -- | The break between the parts of a type, a hard one where the type
 -- carries documentation, which ends its line.
 typeBreak :: Bool -> Doc
-typeBreak documented = if documented then hardBreak else breakOrSpace
+typeBreak documented = if documented then newline else break
 
 -- | Does any argument of this type carry documentation?
 typeIsDocumented :: HsType GhcPs -> Bool
@@ -269,32 +388,52 @@
 
 -- | A class context, as it appears before a @=>@.
 context :: Ctx -> LHsContext GhcPs -> Doc
-context ctx = at_ ctx (contextOf bare (hsType ctx) . fmap unbracket)
+context ctx l =
+  at ctx l $
+    contextOf ctx (spanOf l) (contextParens l) bare (hsType ctx)
+      . fmap unbracket
   where
     bare t = case unLoc t of
-      HsTyVar _ _ (L _ n) | isTvOcc (rdrNameOcc n) -> True
-      _ -> headedByMacro t
+      HsOpTy{} -> True
+      other -> not (hsTypeNeedsParens funPrec other)
+    unbracket t = case unLoc t of
+      HsParTy _ inner | not (headedByMacro inner) -> unbracket inner
+      _ -> t
     headedByMacro t = case unLoc t of
-      HsTyVar _ _ (L _ n) -> macro n
+      HsTyVar _ _ (L _ n) ->
+        isUnqual n
+          && Set.member
+            (T.pack (occNameString (rdrNameOcc n)))
+            (rcMacros (ctxRender ctx))
       HsAppTy _ f _ -> headedByMacro f
       _ -> False
-    macro n =
-      extensionOn ctx Cpp
-        && isUnqual n
-        && Set.member
-          (T.pack (occNameString (rdrNameOcc n)))
-          (definedMacros (sourceLines (ctxSource ctx)))
-    unbracket t = case unLoc t of
-      HsParTy _ inner -> unbracket inner
-      _ -> t
 
 -- | A context standing to the left of a @=>@, with the arrow and the break
--- after it.
-leftContext :: Ctx -> LHsContext GhcPs -> Doc
-leftContext ctx ctxt = context ctx ctxt <> joinedBy "=>"
+-- beside it.
+leftContext ::
+  -- | The context.
+  Ctx ->
+  -- | What the arrow leads to.
+  Maybe Span ->
+  -- | The constraints.
+  LHsContext GhcPs ->
+  Doc
+leftContext ctx after ctxt =
+  context ctx ctxt
+    <> joinedByArrow ctx break (spanOf ctxt) after (reserved ctx "=>")
 
 -- | A context over anything that can stand as a constraint.
+--
+-- A lone constraint keeps the parentheses written around it where the
+-- context was written over several lines.
 contextOf ::
+  HasLoc a =>
+  -- | The context.
+  Ctx ->
+  -- | Where the context was written.
+  Maybe Span ->
+  -- | Where the parentheses around it were written, where there are any.
+  (Maybe Span, Maybe Span) ->
   -- | Can this constraint, when it is the only one, go without parentheses?
   (a -> Bool) ->
   -- | How to print one.
@@ -302,11 +441,20 @@
   -- | The constraints.
   [a] ->
   Doc
-contextOf bare render = \case
-  [] -> txt "()"
-  [x] | bare x -> render x
-  xs -> parens (commaSep (fmap (align . render) xs))
+contextOf ctx here (o, c) bare render = \case
+  [] -> openingAt o "(" <> closingAt c ")"
+  [x]
+    | bare x,
+      here == spanOf x || maybe True (writtenOnOneLine ctx) here ->
+        render x
+  xs ->
+    parens (o, c) . insideBrackets here $
+      commaSep (ctxCommaStyle ctx) (fmap (align . render) xs)
 
+-- | Where the outermost parentheses around a context were written.
+contextParens :: GenLocated (EpAnn AnnContext) a -> (Maybe Span, Maybe Span)
+contextParens (L l _) = outerBracketSpans (ac_open (anns l)) (ac_close (anns l))
+
 -- | The flags a type variable binder may carry.
 --
 -- Three kinds of binder exist with three different flag types, and each
@@ -329,23 +477,27 @@
   flagIsInferred _ = False
   flagPrefix = \case
     HsBndrRequired NoExtField -> mempty
-    HsBndrInvisible _ -> txt "@"
+    HsBndrInvisible tok -> keywordAt (spanOf tok) "@"
 
 -- | One type variable binder.
-tyVarBndr :: (TyVarBndrFlag flag) => Ctx -> HsTyVarBndr flag GhcPs -> Doc
-tyVarBndr ctx HsTvb{..} = flagPrefix tvb_flag <> enclosed (binder <> kind)
+tyVarBndr :: TyVarBndrFlag flag => Ctx -> HsTyVarBndr flag GhcPs -> Doc
+tyVarBndr ctx HsTvb{..} = flagPrefix tvb_flag <> enclosed kinded
   where
-    binder = case tvb_var of
-      HsBndrVar _ x -> name ctx x
-      HsBndrWildCard _ -> txt "_"
-    (kind, kinded) = case tvb_kind of
-      HsBndrNoKind _ -> (mempty, False)
+    (binder, binderSpan) = case tvb_var of
+      HsBndrVar _ x -> (name ctx x, spanOf x)
+      HsBndrWildCard _ -> (txt "_", Nothing)
+    kinded = case tvb_kind of
+      HsBndrNoKind _ -> binder
       HsBndrKind _ k ->
-        (joinedBy "::" <> indent (hsType ctx k), True)
+        binder >+> typeAscription ctx binderSpan (asSigType k)
+    hasKind = case tvb_kind of
+      HsBndrNoKind _ -> False
+      HsBndrKind _ _ -> True
     enclosed
-      | flagIsInferred tvb_flag = braces
-      | kinded = parens
+      | flagIsInferred tvb_flag = bracketWith 0 brackets "{" "}"
+      | hasKind = parens brackets
       | otherwise = id
+    brackets = outerBracketSpans (atv_opens tvb_ext) (atv_closes tvb_ext)
 
 -- | Whether a @forall@ binds visibly.
 data Visibility
@@ -357,7 +509,7 @@
 
 -- | The variables of a @forall@, with the punctuation that closes it.
 forallBndrs ::
-  (HasLoc l) =>
+  HasLoc l =>
   -- | The context.
   Ctx ->
   -- | Does it bind visibly?
@@ -367,17 +519,78 @@
   -- | The variables it binds.
   [GenLocated l a] ->
   Doc
-forallBndrs _ Invisible _ [] = txt "forall."
-forallBndrs _ Visible _ [] = txt "forall ->"
 forallBndrs ctx visibility render bndrs =
+  forallOver ctx render bndrs (forallClose ctx visibility bndrs)
+
+-- | @forall@ and its variables, with what follows the last of them.
+forallOver ::
+  HasLoc l =>
+  -- | The context.
+  Ctx ->
+  -- | How to print one.
+  (a -> Doc) ->
+  -- | The variables it binds.
+  [GenLocated l a] ->
+  -- | What follows them.
+  Doc ->
+  Doc
+forallOver ctx _ [] close = txt (reserved ctx "forall") <> close
+forallOver ctx render bndrs close =
   layoutAcross ctx bndrs $
-    txt "forall"
-      <> breakOrSpace
-      <> indent (align (sepBy breakOrSpace (fmap (align . at_ ctx render) bndrs)) <> close)
+    txt (reserved ctx "forall")
+      >+> break
+        <> align (sepBy break (fmap (align . at_ ctx render) bndrs))
+        <> close
+
+-- | The punctuation that closes a @forall@ on the line of its variables.
+forallClose ::
+  -- | The context.
+  Ctx ->
+  -- | Does it bind visibly?
+  Visibility ->
+  -- | The variables it binds.
+  [a] ->
+  Doc
+forallClose ctx visibility bndrs = case visibility of
+  Invisible ->
+    includeWhen (null bndrs && extensionOn ctx UnicodeSyntax) space
+      <> txt "."
+  Visible -> trailing (txt (reserved ctx "->"))
+
+-- | A @forall@ in a type, with the break between it and what it
+-- quantifies.
+quantifier ::
+  TyVarBndrFlag flag =>
+  -- | The context.
+  Ctx ->
+  -- | Where the line may break.
+  Doc ->
+  -- | Does it bind visibly?
+  Visibility ->
+  -- | What it quantifies.
+  Maybe Span ->
+  -- | The variables it binds.
+  [LHsTyVarBndr flag GhcPs] ->
+  Doc
+quantifier ctx separator visibility after bndrs =
+  case (ctxArrowStyle ctx, visibility) of
+    (TrailingArrows, _) ->
+      forallBndrs ctx visibility (tyVarBndr ctx) bndrs <> separator
+    (LeadingArrows, Invisible) ->
+      unclosed
+        <> variant
+          (forallClose ctx Invisible bndrs <> space)
+          (separator <> lineLed (spansOf bndrs) after <> leadingDot)
+    (LeadingArrows, Visible) ->
+      unclosed
+        <> joinedByArrow
+          ctx
+          separator
+          (spansOf bndrs)
+          after
+          (reserved ctx "->")
   where
-    close = case visibility of
-      Invisible -> txt "."
-      Visible -> space <> txt "->"
+    unclosed = forallOver ctx (tyVarBndr ctx) bndrs mempty
 
 -- | Where the arrow of a function type is written.
 arrowSpan :: HsMultAnnOf mult GhcPs -> Maybe Span
@@ -391,76 +604,196 @@
       EpArrow t -> spanOf t
       _ -> Nothing
 
--- | The @forall@ that opens a type.
-forallTelescope :: Ctx -> HsForAllTelescope GhcPs -> Doc
-forallTelescope ctx = \case
-  HsForAllInvis _ bndrs -> forallBndrs ctx Invisible (tyVarBndr ctx) bndrs
-  HsForAllVis _ bndrs -> forallBndrs ctx Visible (tyVarBndr ctx) bndrs
+-- | The @forall@ that opens a type, with the break between it and what it
+-- quantifies.
+forallTelescope ::
+  -- | The context.
+  Ctx ->
+  -- | Where the line may break.
+  Doc ->
+  -- | What it quantifies.
+  Maybe Span ->
+  -- | The @forall@.
+  HsForAllTelescope GhcPs ->
+  Doc
+forallTelescope ctx separator after = \case
+  HsForAllInvis _ bndrs -> quantifier ctx separator Invisible after bndrs
+  HsForAllVis _ bndrs -> quantifier ctx separator Visible after bndrs
 
 -- | The binders a signature or an equation quantifies over, where it names
--- them.
+-- them, with the break between them and what they scope over.
 outerBndrs ::
-  (TyVarBndrFlag flag) =>
+  TyVarBndrFlag flag =>
+  -- | The context.
   Ctx ->
-  -- | What separates them from what follows.
+  -- | Where the line may break.
   Doc ->
+  -- | What they scope over.
+  Maybe Span ->
+  -- | The binders.
   HsOuterTyVarBndrs flag GhcPs ->
   Doc
-outerBndrs ctx separator = \case
+outerBndrs ctx separator after = \case
   HsOuterImplicit _ -> mempty
-  HsOuterExplicit _ bndrs ->
-    forallBndrs ctx Invisible (tyVarBndr ctx) bndrs <> separator
+  HsOuterExplicit _ bndrs -> quantifier ctx separator Invisible after bndrs
 
 -- | A type together with whatever it quantifies over.
 hsSigType :: Ctx -> LHsSigType GhcPs -> Doc
-hsSigType ctx = at_ ctx (hsSigTypeBody ctx)
+hsSigType ctx l = at ctx l (hsSigTypeBody ctx)
 
 -- | A signature type whose location the caller has already entered.
 hsSigTypeBody :: Ctx -> HsSigType GhcPs -> Doc
-hsSigTypeBody ctx HsSig{..} =
-  outerBndrs ctx afterBinders sig_bndrs <> hsType ctx sig_body
+hsSigTypeBody ctx = sigTypeWith ctx (hsType ctx)
+
+-- | A signature type with its body printed by the given function.
+sigTypeWith ::
+  -- | The context.
+  Ctx ->
+  -- | How to print the body.
+  (LHsType GhcPs -> Doc) ->
+  -- | The signature type.
+  HsSigType GhcPs ->
+  Doc
+sigTypeWith ctx body HsSig{..} =
+  (if documented then broken else id) $
+    outerBndrs ctx (typeBreak documented) (spanOf sig_body) sig_bndrs
+      <> body sig_body
   where
-    afterBinders = typeBreak (typeIsDocumented (unLoc sig_body))
+    documented = typeIsDocumented (unLoc sig_body)
 
--- | The @:: t@ that follows a name.
-typeAscription :: Ctx -> LHsSigType GhcPs -> Doc
-typeAscription ctx sigType =
-  indent (space <> txt "::" <> separator <> hsSigType ctx sigType)
+-- | The @:: t@ that follows a name, to be placed relative to it.
+typeAscription ::
+  -- | The context.
+  Ctx ->
+  -- | What the type is given to.
+  Maybe Span ->
+  -- | The type.
+  LHsSigType GhcPs ->
+  Doc
+typeAscription ctx before sigType =
+  joinedByArrow ctx separator before (spanOf sigType) (reserved ctx "::")
+    <> at ctx sigType (sigTypeWith ctx (signaturePart ctx (hsType ctx)))
   where
     separator = typeBreak (typeIsDocumented (unLoc (sig_body (unLoc sigType))))
 
+-- | Names sharing an ascription, which where there are several is laid out
+-- apart from them and goes in with the names after the first where those
+-- are broken.
+ascribedNames ::
+  -- | The context.
+  Ctx ->
+  -- | Indent the names after the first?
+  Choice "indentTail" ->
+  -- | The names.
+  NonEmpty (LocatedN RdrName) ->
+  -- | Where the type was written.
+  Maybe Span ->
+  -- | The ascription.
+  Doc ->
+  Doc
+ascribedNames ctx indentTail names@(n :| ns) typeSpan ascription
+  | null ns = name ctx n >+> ascription
+  | otherwise =
+      layoutAcross ctx (n : ns) $
+        variant
+          (commaSep commas (fmap (name ctx) (n : ns)) >+> laidOut)
+          ( commaSepUnderFirst commas tailSteps (fmap (name ctx) (n : ns))
+              <> indent (tailSteps + 1) (ptr (name ctx n)) laidOut
+          )
+  where
+    commas = ctxCommaStyle ctx
+    laidOut = layoutFrom ctx (spanOf (NE.last names) <> typeSpan) ascription
+    tailSteps = if isTrue indentTail then 1 else 0
+
 -- | Give a plain type the shape of a signature type.
 asSigType :: LHsType GhcPs -> LHsSigType GhcPs
 asSigType ty = L (getLoc ty) (HsSig NoExtField (HsOuterImplicit NoExtField) ty)
 
 -- | The braces of a record, and the fields inside them.
 recordFieldsAt :: Ctx -> XRec GhcPs [LHsConDeclRecField GhcPs] -> Doc
-recordFieldsAt ctx l = at ctx l (recordFields ctx (spanOf l))
+recordFieldsAt ctx l@(L ann _) =
+  at ctx l (recordFields ctx (spanOf l) (bracketSpans (al_brackets (anns ann))))
 
--- | The fields of a record.
-recordFields :: Ctx -> Maybe Span -> [LHsConDeclRecField GhcPs] -> Doc
-recordFields ctx enclosing xs =
-  brokenIfDocumented ctx xs . braces . insideBrackets enclosing $
-    commaSep (fmap (align . at_ ctx (recordField ctx)) xs)
+-- | The fields of a record, each documented above it or, with leading
+-- commas, below it.
+recordFields ::
+  -- | The context.
+  Ctx ->
+  -- | The braces and what they hold.
+  Maybe Span ->
+  -- | Where the braces were written.
+  (Maybe Span, Maybe Span) ->
+  -- | The fields.
+  [LHsConDeclRecField GhcPs] ->
+  Doc
+recordFields ctx enclosing braces xs =
+  brokenForDocs
+    . bracketWith 0 braces "{" "}"
+    . insideBrackets enclosing
+    $ commaSep commas (fmap field xs)
+  where
+    brokenForDocs = if documented then broken else id
+    documented =
+      printsWholeLineDocs ctx (fieldsUnder ctx) (mapMaybe (fieldDoc . unLoc) xs)
+    commas = ctxCommaStyle ctx
+    field = case commas of
+      TrailingCommas -> \l ->
+        align . maybe id located (spanOf l) $
+          flat (foldMap (haddockInline ctx Pipe) (fieldDoc (unLoc l)))
+            <> layoutFrom ctx (spanOf l) (recordField ctx (unLoc l))
+      LeadingCommas -> \l ->
+        align (at_ ctx (recordField ctx) l)
+          <> foldMap
+            (\d -> newline <> haddock ctx Caret d)
+            (fieldDoc (unLoc l))
 
--- | One field of a record, documentation and multiplicity included.
+-- | Do the fields of a record have their Haddocks put under them, as with
+-- leading commas?
+fieldsUnder :: Ctx -> Choice "under"
+fieldsUnder ctx = fromBool (ctxCommaStyle ctx == LeadingCommas)
+
+-- | The Haddock of a field of a record.
+fieldDoc :: HsConDeclRecField GhcPs -> Maybe (LHsDoc GhcPs)
+fieldDoc HsConDeclRecField{cdrf_spec} = cdf_doc cdrf_spec
+
+-- | One field of a record, multiplicity included, without its
+-- documentation.
 recordField :: Ctx -> HsConDeclRecField GhcPs -> Doc
-recordField ctx HsConDeclRecField{..} =
-  foldMap (haddockInline ctx Pipe) (cdf_doc cdrf_spec)
-    <> align (commaSep (fmap (at_ ctx (name ctx . foLabel)) cdrf_names))
-    <> space
-    <> multiplicity (hsType ctx) (cdf_multiplicity cdrf_spec)
-    <> joinedBy "::"
-    <> align (indent (conDeclField ctx cdrf_spec))
+recordField ctx HsConDeclRecField{..} = case cdrf_names of
+  [] -> error "Tilia: a record field names something"
+  n : ns ->
+    ascribedNames
+      ctx
+      (Don't #indentTail)
+      (fmap (foLabel . unLoc) (n :| ns))
+      typeSpan
+      ( space
+          <> multiplicity (hsType ctx) (cdf_multiplicity cdrf_spec)
+          <> joinedByArrow
+            ctx
+            break
+            (spansOf cdrf_names)
+            typeSpan
+            (reserved ctx "::")
+          <> conDeclField ctx cdrf_spec
+      )
+  where
+    typeSpan = spanOf (cdf_type cdrf_spec)
 
 -- | A constructor field, without its documentation or its multiplicity.
-conDeclField :: Ctx -> HsConDeclField GhcPs -> Doc
+conDeclField ::
+  -- | The context.
+  Ctx ->
+  -- | The field.
+  HsConDeclField GhcPs ->
+  Doc
 conDeclField ctx CDF{..} =
-  unpackPragma cdf_unpack
-    <> at
-      ctx
-      cdf_type
-      (\ty -> strictness cdf_bang <> hsTypeBody ctx (spanOf cdf_type) ty)
+  maybe id located (spanOf pragma <> spanOf bang <> spanOf cdf_type) $
+    unpackPragma cdf_unpack
+      <> strictness (spanOf bang) cdf_bang
+      <> hsType ctx cdf_type
+  where
+    ((pragma, _, bang), _) = cdf_ext
 
 -- | A constructor field with its documentation in front of it.
 documentedConDeclField :: Ctx -> HsConDeclField GhcPs -> Doc
@@ -468,10 +801,15 @@
   foldMap (haddockInline ctx Pipe) (cdf_doc cdf) <> conDeclField ctx cdf
 
 -- | One argument on the left of a family or data instance.
-typeArgument :: Ctx -> LHsTypeArg GhcPs -> Doc
+typeArgument ::
+  -- | The context.
+  Ctx ->
+  -- | The argument.
+  LHsTypeArg GhcPs ->
+  Doc
 typeArgument ctx = \case
   HsValArg NoExtField ty -> hsType ctx ty
-  HsTypeArg _ ty -> txt "@" <> hsType ctx ty
+  HsTypeArg tok ty -> keywordAt (spanOf tok) "@" <> hsType ctx ty
   HsArgPar _ -> error "Tilia: HsArgPar is not expected in parsed source"
 
 -- | Where an argument was.
diff --git a/src/Tilia/Run.hs b/src/Tilia/Run.hs
--- a/src/Tilia/Run.hs
+++ b/src/Tilia/Run.hs
@@ -31,6 +31,7 @@
 import Data.Text (Text)
 import Data.Text qualified as T
 import System.FilePath (takeExtension)
+
 import Tilia.Diff (diffInFull)
 import Tilia.Format
   ( FormatError (Threw, Unreadable, Unwritable),
@@ -38,10 +39,16 @@
     describeFormatError,
     formatErrorExitCode,
     formatSource,
+    formattingFailed,
     refused,
   )
 import Tilia.Newline (NewlineStyle (Lf), getNewlineStyle, setNewlineStyle)
-import Tilia.Palette (Color (Bad, Good, Middling, Place), Palette, marker, paint)
+import Tilia.Palette
+  ( Color (Bad, Good, Middling, Place),
+    Palette,
+    marker,
+    paint,
+  )
 import Tilia.Utils
   ( asUtf8,
     attempted,
@@ -92,13 +99,19 @@
   Declined e -> Failed e
   outcome -> outcome
 
--- | Determine the exit code based on the set of outcomes. 'Nothing' means
+-- | Determine the exit code based on the set of outcomes: the lowest code
+-- among the failures of formatting itself, else among all. 'Nothing' means
 -- success.
 exitCodeOf :: [(FilePath, Outcome)] -> Maybe Int
 exitCodeOf outcomes =
-  case [formatErrorExitCode e | (_, Failed e) <- outcomes] of
+  case ranked of
     [] -> Nothing
-    codes -> Just (minimum codes)
+    _ -> Just (snd (minimum ranked))
+  where
+    ranked =
+      [ (not (formattingFailed e), formatErrorExitCode e)
+      | (_, Failed e) <- outcomes
+      ]
 
 ----------------------------------------------------------------------------
 -- Execution
@@ -218,6 +231,7 @@
   Palette ->
   -- | The module as it was read.
   Text ->
+  -- | Every file of the run, and what became of it.
   [(FilePath, Outcome)] ->
   Report
 stdinReport palette input outcomes =
@@ -261,6 +275,7 @@
 
 -- | One line per extension, for the files a test picks out.
 tally ::
+  -- | How to color the line.
   Palette ->
   -- | The mark to set the line under, and the color to set it in.
   (Text, Color) ->
@@ -304,13 +319,16 @@
 
 -- | One case among several, opened by a bullet and wrapped underneath it.
 bulleted :: Palette -> FormatError -> [Text]
-bulleted palette e = wrappedUnder 3 (indent 2 <> "· ") (describeFormatError palette e)
+bulleted palette e =
+  wrappedUnder 3 (indent 2 <> "· ") (describeFormatError palette e)
 
 -- | Something to say under a mark of its own, wrapped to fit beneath it.
 noted ::
+  -- | How to color it.
   Palette ->
   -- | The mark to set it under, and the color to set that in.
   (Text, Color) ->
+  -- | What to say.
   Text ->
   [Text]
 noted palette (mark, color) =
diff --git a/src/Tilia/Settings.hs b/src/Tilia/Settings.hs
new file mode 100644
--- /dev/null
+++ b/src/Tilia/Settings.hs
@@ -0,0 +1,195 @@
+{-# LANGUAGE LambdaCase #-}
+{-# LANGUAGE OverloadedStrings #-}
+
+-- | The settings a project writes in its @tilia.toml@.
+module Tilia.Settings
+  ( Settings (..),
+    Indentation (..),
+    indentationColumns,
+    CommaStyle (..),
+    ArrowStyle (..),
+    defaultSettings,
+    alternativeSettings,
+    settingsFile,
+    readSettings,
+    parseSettings,
+    SettingsProblem (..),
+    describeSettingsProblem,
+  )
+where
+
+import Control.Monad (foldM)
+import Data.Char (isAsciiLower, isAsciiUpper, isDigit)
+import Data.Map.Strict qualified as Map
+import Data.Maybe (catMaybes)
+import Data.Text (Text)
+import Data.Text qualified as T
+import Data.Text.Encoding qualified as T
+import Data.Text.Read qualified as T
+import System.Directory (doesFileExist)
+import System.FilePath ((</>))
+
+import Tilia.Utils (byteOrderMark, readBytes, tshow)
+
+-- | What a project can set.
+data Settings = Settings
+  { -- | The column past which what can break is broken.
+    settingsColumnLimit :: !Int,
+    -- | How far each level of nesting is indented.
+    settingsIndentation :: !Indentation,
+    -- | Where a list laid out on several lines puts its commas.
+    settingsCommaStyle :: !CommaStyle,
+    -- | Where a type laid out on several lines puts its arrows.
+    settingsArrowStyle :: !ArrowStyle
+  }
+  deriving (Eq, Show)
+
+-- | How far each level of nesting is indented.
+data Indentation
+  = -- | Two columns.
+    TwoColumns
+  | -- | Four columns.
+    FourColumns
+  deriving (Eq, Show, Bounded, Enum)
+
+-- | The columns a level of nesting is indented by.
+indentationColumns :: Indentation -> Int
+indentationColumns = \case
+  TwoColumns -> 2
+  FourColumns -> 4
+
+-- | Where a list laid out on several lines puts its commas.
+data CommaStyle
+  = -- | At the end of each line but the last.
+    TrailingCommas
+  | -- | At the start of each line but the first, two columns left of the
+    -- items.
+    LeadingCommas
+  deriving (Eq, Show, Bounded, Enum)
+
+-- | Where a type laid out on several lines puts its @::@, @=>@ and @->@,
+-- and the @.@ of a @forall@.
+data ArrowStyle
+  = -- | At the end of each line but the last.
+    TrailingArrows
+  | -- | At the start of each line but the first.
+    LeadingArrows
+  deriving (Eq, Show, Bounded, Enum)
+
+-- | What a project that sets nothing gets.
+defaultSettings :: Settings
+defaultSettings =
+  Settings
+    { settingsColumnLimit = 80,
+      settingsIndentation = TwoColumns,
+      settingsCommaStyle = TrailingCommas,
+      settingsArrowStyle = TrailingArrows
+    }
+
+-- | Settings that differ from 'defaultSettings' in every one but the column
+-- limit, which the corpora are formatted with as well.
+alternativeSettings :: Settings
+alternativeSettings =
+  defaultSettings
+    { settingsIndentation = FourColumns,
+      settingsCommaStyle = LeadingCommas,
+      settingsArrowStyle = LeadingArrows
+    }
+
+-- | The file a project's settings are in, relative to its root.
+settingsFile :: FilePath
+settingsFile = "tilia.toml"
+
+-- | Why a project's settings cannot be used.
+data SettingsProblem
+  = -- | The file cannot be read, and why.
+    SettingsUnreadable Text
+  | -- | A line of it, by its number, says something it cannot, and why.
+    SettingsMalformed Int Text
+  deriving (Eq, Show)
+
+-- | Say what is wrong with a project's settings.
+describeSettingsProblem :: SettingsProblem -> Text
+describeSettingsProblem = \case
+  SettingsUnreadable why -> why
+  SettingsMalformed n why -> "line " <> tshow n <> ": " <> why
+
+-- | Read the settings of a project, or the defaults where it has no
+-- 'settingsFile'.
+readSettings :: FilePath -> IO (Either SettingsProblem Settings)
+readSettings root = do
+  let path = root </> settingsFile
+  there <- doesFileExist path
+  if not there
+    then pure (Right defaultSettings)
+    else
+      either (Left . SettingsUnreadable) (parseSettings . decoded)
+        <$> readBytes path
+  where
+    decoded = snd . byteOrderMark . T.decodeUtf8Lenient
+
+-- | Read the settings a file holds: TOML, but only lines of @key = value@
+-- where a value is @true@, @false@ or a whole number.
+parseSettings :: Text -> Either SettingsProblem Settings
+parseSettings written = do
+  entries <- catMaybes <$> traverse entry (zip [1 ..] (T.lines written))
+  fst <$> foldM set (defaultSettings, Map.empty) entries
+  where
+    entry (n, l) = case T.strip (T.takeWhile (/= '#') l) of
+      "" -> Right Nothing
+      t
+        | (key, rest) <- T.breakOn "=" t,
+          Just v <- T.stripPrefix "=" rest,
+          bare (T.strip key) ->
+            Just . (n,T.strip key,) <$> value n (T.strip v)
+        | otherwise -> malformed n "expected a line of key = value"
+    bare key = not (T.null key) && T.all keyChar key
+    keyChar c =
+      isAsciiLower c || isAsciiUpper c || isDigit c || c == '-' || c == '_'
+    value n = \case
+      "true" -> Right (Flag True)
+      "false" -> Right (Flag False)
+      v
+        | Right (i, "") <- T.signed T.decimal v,
+          not (leadingZero v) ->
+            Right (Number i)
+        | otherwise -> malformed n "a value is true, false or a whole number"
+    leadingZero v = case T.unpack (T.dropWhile (`elem` ['+', '-']) v) of
+      '0' : _ : _ -> True
+      _ -> False
+    set (settings, seen) (n, key, v) = case Map.lookup key seen of
+      Just earlier ->
+        malformed n (key <> " is already set on line " <> tshow earlier)
+      Nothing -> (,Map.insert key n seen) <$> setting settings n key v
+    setting settings n key v = case (key, v) of
+      ("column-limit", Number i)
+        | 0 < i && i <= toInteger (maxBound :: Int) ->
+            Right settings{settingsColumnLimit = fromInteger i}
+      ("column-limit", _) ->
+        malformed n "column-limit is a whole number greater than 0"
+      ("indentation", Number 2) ->
+        Right settings{settingsIndentation = TwoColumns}
+      ("indentation", Number 4) ->
+        Right settings{settingsIndentation = FourColumns}
+      ("indentation", _) -> malformed n "indentation is 2 or 4"
+      ("leading-commas", Flag b) ->
+        Right
+          settings
+            { settingsCommaStyle = if b then LeadingCommas else TrailingCommas
+            }
+      ("leading-commas", _) -> malformed n "leading-commas is true or false"
+      ("leading-arrows", Flag b) ->
+        Right
+          settings
+            { settingsArrowStyle = if b then LeadingArrows else TrailingArrows
+            }
+      ("leading-arrows", _) -> malformed n "leading-arrows is true or false"
+      _ -> malformed n ("there is no setting " <> key)
+    malformed n = Left . SettingsMalformed n
+
+-- | A value a setting can take.
+data Value
+  = -- | @true@ or @false@.
+    Flag Bool
+  | -- | A whole number.
+    Number Integer
diff --git a/src/Tilia/Source.hs b/src/Tilia/Source.hs
--- a/src/Tilia/Source.hs
+++ b/src/Tilia/Source.hs
@@ -1,3 +1,5 @@
+{-# LANGUAGE DataKinds #-}
+
 -- | The module as its author wrote it.
 module Tilia.Source
   ( -- * The source
@@ -11,14 +13,17 @@
     linesOf,
     dropping,
     lineTexts,
+    lineTextsFrom,
     sourceLines,
     lineAt,
     blankAt,
     blankAcross,
     offsetOf,
     directivePresentOnLine,
+    directiveWrittenOnLine,
     directiveOnLine,
-    definedMacros,
+    isDirective,
+    endsInBackslash,
 
     -- * Its comments
     comments,
@@ -28,10 +33,12 @@
   )
 where
 
+import Data.Choice (Choice)
 import Data.IntMap.Strict (IntMap)
 import Data.IntMap.Strict qualified as IntMap
 import GHC.Parser.Lexer qualified as GHC
 import GHC.Types.SrcLoc qualified as GHC
+
 import Tilia.Comments (Comment, commentsOf)
 import Tilia.Source.Lines
 
@@ -58,8 +65,12 @@
 
 -- | Read a module's source.
 sourceOf ::
+  -- | Does cpp read the module?
+  Choice "readByCpp" ->
   -- | The lines of the module, as this configuration has them.
   Lines ->
+  -- | The lines a Haddock's text is read from.
+  Lines ->
   -- | Every comment token of the module, in source order, each where the
   -- lexer found it.
   [(GHC.RealSrcSpan, GHC.Token)] ->
@@ -67,10 +78,10 @@
   -- the line it begins on.
   IntMap Int ->
   Source
-sourceOf ls cs qs =
+sourceOf cpp ls haddocks cs qs =
   Source
     { srcLines = ls,
-      srcComments = commentsOf ls cs,
+      srcComments = commentsOf cpp ls haddocks cs,
       srcQuotes = qs
     }
 
diff --git a/src/Tilia/Source/Lines.hs b/src/Tilia/Source/Lines.hs
--- a/src/Tilia/Source/Lines.hs
+++ b/src/Tilia/Source/Lines.hs
@@ -9,6 +9,7 @@
     linesOf,
     dropping,
     lineTexts,
+    lineTextsFrom,
     lineAt,
     blankAt,
     blankAcross,
@@ -16,8 +17,10 @@
     columnOf,
     contentColumn,
     directivePresentOnLine,
+    directiveWrittenOnLine,
     directiveOnLine,
-    definedMacros,
+    isDirective,
+    endsInBackslash,
     conditionalKeywords,
     opensGroup,
     continuesGroup,
@@ -31,11 +34,8 @@
 import Data.IntSet (IntSet)
 import Data.IntSet qualified as IntSet
 import Data.Maybe (isJust)
-import Data.Set (Set)
-import Data.Set qualified as Set
 import Data.Text (Text)
 import Data.Text qualified as T
-import Tilia.Cpp.Macros (isNameChar)
 
 -- | The text of a module as its author wrote it.
 --
@@ -50,24 +50,15 @@
   { -- | Every line of the module as written.
     lnWritten :: !(IntMap Text),
     -- | The ones this configuration does not contain.
-    lnDropped :: !IntSet,
-    -- | The names the module defines with @#define@, in whichever
-    -- configuration.
-    lnMacros :: Set Text
+    lnDropped :: !IntSet
   }
 
 -- | Read the lines of a module, every one of which it has.
 linesOf :: Written -> Lines
 linesOf (Written text) =
   Lines
-    { lnWritten = IntMap.fromList (zip [1 ..] (T.lines text)),
-      lnDropped = IntSet.empty,
-      lnMacros =
-        Set.fromList
-          [ T.takeWhile isNameChar (T.stripStart rest)
-          | Just ("define", body) <- fmap directiveOnLine (T.lines text),
-            Just rest <- [T.stripPrefix "define" body]
-          ]
+    { lnWritten = IntMap.fromDistinctAscList (zip [1 ..] (T.lines text)),
+      lnDropped = IntSet.empty
     }
 
 -- | Drop the given ranges from the 'Lines'.
@@ -85,6 +76,15 @@
 lineTexts :: Lines -> [Text]
 lineTexts = IntMap.elems . lnWritten
 
+-- | The text of the lines from the given one on.
+lineTextsFrom ::
+  -- | The first line to give.
+  Int ->
+  -- | The lines.
+  Lines ->
+  [Text]
+lineTextsFrom n = IntMap.elems . snd . IntMap.split (n - 1) . lnWritten
+
 -- | The text of a line, if this configuration of the module has one.
 lineAt :: Int -> Lines -> Maybe Text
 lineAt n ls
@@ -128,12 +128,23 @@
   | otherwise = c + 1
 
 -- | Does this line hold a preprocessor directive?
-directivePresentOnLine :: Int -> Lines -> Bool
-directivePresentOnLine n ls = isJust (directiveOnLine =<< lineAt n ls)
+directivePresentOnLine ::
+  -- | The line's number.
+  Int ->
+  -- | The lines.
+  Lines ->
+  Bool
+directivePresentOnLine n ls = any isDirective (lineAt n ls)
 
--- | The names the module defines with @#define@, in whichever configuration.
-definedMacros :: Lines -> Set Text
-definedMacros = lnMacros
+-- | Was this line written as a preprocessor directive, whether or not this
+-- configuration has it?
+directiveWrittenOnLine ::
+  -- | The line's number.
+  Int ->
+  -- | The lines.
+  Lines ->
+  Bool
+directiveWrittenOnLine n = any isDirective . IntMap.lookup n . lnWritten
 
 -- | The keyword a directive line opens with, and everything after its @#@.
 --
@@ -148,6 +159,18 @@
       body = T.stripStart rest
       keyword = T.takeWhile isAsciiLower body
   _ -> Nothing
+
+-- | Does this line begin with a preprocessor directive?
+isDirective :: Text -> Bool
+isDirective = isJust . directiveOnLine
+
+-- | Does cpp join the line after this one to it?
+endsInBackslash :: Text -> Bool
+endsInBackslash l
+  | T.null l = False
+  | otherwise = case T.last l of
+      '\\' -> True
+      c -> isSpace c && endsInBackslash (T.init l)
 
 -- | Every directive the C preprocessor takes, whether or not this module
 -- can do anything with the ones it names.
diff --git a/src/Tilia/Span.hs b/src/Tilia/Span.hs
--- a/src/Tilia/Span.hs
+++ b/src/Tilia/Span.hs
@@ -11,9 +11,12 @@
     endOf,
     startPoint,
     endPoint,
+    farRight,
   )
 where
 
+import Data.Hashable (Hashable (..))
+
 -- | A region of the input.
 data Span = Span
   { spanStartLine :: !Int,
@@ -23,6 +26,10 @@
   }
   deriving (Eq, Ord, Show)
 
+instance Hashable Span where
+  hashWithSalt salt (Span a b c d) =
+    salt `hashWithSalt` a `hashWithSalt` b `hashWithSalt` c `hashWithSalt` d
+
 -- | Build a 'Span' from start and end positions, each a line and a column.
 mkSpan :: (Int, Int) -> (Int, Int) -> Span
 mkSpan (sl, sc) (el, ec) = Span sl sc el ec
@@ -87,3 +94,8 @@
 -- | Where a span ends.
 endPoint :: Span -> (Int, Int)
 endPoint s = (spanEndLine s, spanEndColumn s)
+
+-- | A column past the end of any line, for an anchor that has to come after
+-- everything written on its line.
+farRight :: Int
+farRight = maxBound `div` 2
diff --git a/src/Tilia/Span/Ghc.hs b/src/Tilia/Span/Ghc.hs
--- a/src/Tilia/Span/Ghc.hs
+++ b/src/Tilia/Span/Ghc.hs
@@ -7,16 +7,26 @@
     spanOf,
     spansOf,
     bracketsSpan,
+    bracketSpans,
+    outerBracketSpans,
+    parenSpans,
+    pairSpans,
     inSourceOrder,
   )
 where
 
 import Data.Function (on)
 import Data.List (sortBy)
-import Data.Maybe (mapMaybe)
-import GHC.Parser.Annotation (AnnListBrackets (..), HasLoc, getHasLoc)
+import Data.Maybe (listToMaybe, mapMaybe)
+import GHC.Parser.Annotation
+  ( AnnListBrackets (..),
+    AnnParen (..),
+    HasLoc,
+    getHasLoc,
+  )
 import GHC.Types.SrcLoc (GenLocated, getLoc, leftmost_smallest)
 import GHC.Types.SrcLoc qualified as GHC
+
 import Tilia.Span (Span, mkSpan)
 
 -- | Convert a span the compiler knows to be real.
@@ -32,25 +42,55 @@
 
 -- | Where something the compiler located was written: a node, a token or
 -- an annotation.
-spanOf :: (HasLoc l) => l -> Maybe Span
+spanOf :: HasLoc l => l -> Maybe Span
 spanOf = spanOfSrcSpan . getHasLoc
 
 -- | Where a list's brackets were written, from the opening one to the
 -- closing one.
 bracketsSpan :: AnnListBrackets -> Maybe Span
-bracketsSpan = \case
-  ListParens open close -> spanOf open <> spanOf close
-  ListBraces open close -> spanOf open <> spanOf close
-  ListSquare open close -> spanOf open <> spanOf close
-  _ -> Nothing
+bracketsSpan = uncurry (<>) . bracketSpans
 
+-- | Where each of a list's brackets was written.
+bracketSpans :: AnnListBrackets -> (Maybe Span, Maybe Span)
+bracketSpans = \case
+  ListParens open close -> (spanOf open, spanOf close)
+  ListBraces open close -> (spanOf open, spanOf close)
+  ListSquare open close -> (spanOf open, spanOf close)
+  ListBanana open close -> (spanOf open, spanOf close)
+  ListNone -> (Nothing, Nothing)
+
+-- | Where each of a pair of parentheses or square brackets was written.
+parenSpans :: AnnParen -> (Maybe Span, Maybe Span)
+parenSpans = \case
+  AnnParens open close -> (spanOf open, spanOf close)
+  AnnParensHash open close -> (spanOf open, spanOf close)
+  AnnParensSquare open close -> (spanOf open, spanOf close)
+
+-- | Where each of a pair of brackets written as two tokens was.
+pairSpans ::
+  (HasLoc open, HasLoc close) =>
+  (open, close) ->
+  (Maybe Span, Maybe Span)
+pairSpans (open, close) = (spanOf open, spanOf close)
+
+-- | Where the outermost of brackets written one pair inside another were.
+outerBracketSpans ::
+  (HasLoc open, HasLoc close) =>
+  -- | The opening brackets, in the order they were written.
+  [open] ->
+  -- | The closing brackets, in the order they were written.
+  [close] ->
+  (Maybe Span, Maybe Span)
+outerBracketSpans opens closes =
+  (spanOf (listToMaybe opens), spanOf (listToMaybe (reverse closes)))
+
 -- | Merge several lists of located things back into the order they were
 -- written in.
-inSourceOrder :: (HasLoc l) => [[GenLocated l a]] -> [GenLocated l a]
+inSourceOrder :: HasLoc l => [[GenLocated l a]] -> [GenLocated l a]
 inSourceOrder = sortBy (leftmost_smallest `on` (getHasLoc . getLoc)) . concat
 
 -- | The span covering every located thing in the list.
-spansOf :: (HasLoc l) => [GenLocated l a] -> Maybe Span
+spansOf :: HasLoc l => [GenLocated l a] -> Maybe Span
 spansOf xs = case mapMaybe spanOf xs of
   [] -> Nothing
   (s : ss) -> Just (foldr (<>) s ss)
diff --git a/src/Tilia/Utils.hs b/src/Tilia/Utils.hs
--- a/src/Tilia/Utils.hs
+++ b/src/Tilia/Utils.hs
@@ -22,6 +22,8 @@
     wrapTo,
     wrappedUnder,
     visibleLength,
+    opensLineComment,
+    commentsOnly,
     spellList,
     collected,
     tshow,
@@ -57,12 +59,13 @@
 import Data.Text (Text)
 import Data.Text qualified as T
 import Data.Text.Encoding qualified as T
+import GHC.Lexeme (okSymChar)
 import System.Directory (doesFileExist)
 import System.FilePath (equalFilePath, normalise, splitDirectories)
 import System.IO.Error (ioeGetErrorString)
 
 -- | 'show' a value and take the result as 'Text'.
-tshow :: (Show a) => a -> Text
+tshow :: Show a => a -> Text
 tshow = T.pack . show
 
 -- | Run an action, falling back on the given value if it throws, but for
@@ -179,16 +182,26 @@
   [] -> []
   first : rest -> (opening <> first) : fmap (indent level <>) rest
 
--- | Break text into lines that fit the room given, at spaces.
-wrapTo :: Int -> Text -> [Text]
-wrapTo room = concatMap (go . T.words) . T.lines
+-- | Break text into lines that fit the room given, at spaces, each line of
+-- the text into lines indented as far as it is.
+wrapTo ::
+  -- | The room.
+  Int ->
+  -- | The text.
+  Text ->
+  [Text]
+wrapTo room = concatMap wrapped . T.lines
   where
-    go [] = []
-    go (w : ws) = let (line, rest) = fill w ws in line : go rest
-    fill line (w : ws)
-      | visibleLength line + 1 + visibleLength w <= room =
-          fill (line <> " " <> w) ws
-    fill line ws = (line, ws)
+    wrapped l =
+      let (leading, rest) = T.span isSpace l
+       in (leading <>) <$> go (room - T.length leading) (T.words rest)
+    go _ [] = []
+    go width (w : ws) =
+      let (line, rest) = fill width w ws in line : go width rest
+    fill width line (w : ws)
+      | visibleLength line + 1 + visibleLength w <= width =
+          fill width (line <> " " <> w) ws
+    fill _ line ws = (line, ws)
 
 -- | How wide a piece of text is once printed.
 visibleLength :: Text -> Int
@@ -201,6 +214,32 @@
             go n (T.drop 1 (T.dropWhile (/= 'm') after))
       Just (_, rest) -> go (n + 1) rest
 
+-- | Does a line comment begin here, rather than an operator made of dashes?
+opensLineComment :: Text -> Bool
+opensLineComment t = case T.stripPrefix "--" t of
+  Nothing -> False
+  Just rest ->
+    maybe True (not . okSymChar . fst) (T.uncons (T.dropWhile (== '-') rest))
+
+-- | How deep in block comments a line leaves a module, given how deep it
+-- begins, if the line holds nothing but comments and white space.
+commentsOnly ::
+  -- | How many block comments are open where the line begins.
+  Int ->
+  -- | The line.
+  Text ->
+  Maybe Int
+commentsOnly depth t = case T.uncons t of
+  Nothing -> Just depth
+  Just (c, rest)
+    | Just inner <- T.stripPrefix "{-" t -> commentsOnly (depth + 1) inner
+    | depth > 0,
+      Just after <- T.stripPrefix "-}" t ->
+        commentsOnly (depth - 1) after
+    | depth > 0 || isSpace c -> commentsOnly depth rest
+    | opensLineComment t -> Just depth
+    | otherwise -> Nothing
+
 -- | Join items the way a sentence lists them: @a and b@, @a, b, and c@.
 spellList :: [Text] -> Text
 spellList items = case reverse items of
@@ -211,7 +250,7 @@
 
 -- | Collect the values filed under equal keys, keys in the order they first
 -- appear.
-collected :: (Eq k) => [(k, v)] -> [(k, [v])]
+collected :: Eq k => [(k, v)] -> [(k, [v])]
 collected = foldl put []
   where
     put seen (k, v) = case break ((== k) . fst) seen of
diff --git a/tests/Main.hs b/tests/Main.hs
--- a/tests/Main.hs
+++ b/tests/Main.hs
@@ -12,10 +12,11 @@
 module Main (main) where
 
 import Data.List (intercalate, isPrefixOf)
-import Spec qualified
 import System.Environment (lookupEnv)
 import Test.Hspec.Runner (Config (..), Path, defaultConfig, hspecWith)
 import Text.Read (readMaybe)
+
+import Spec qualified
 import Tilia.TestUtils (fingerprint)
 
 main :: IO ()
@@ -23,7 +24,9 @@
   shardFrom <$> lookupEnv "TILIA_SHARD" >>= \case
     Everything -> Spec.main
     Share i n ->
-      hspecWith defaultConfig{configFilterPredicate = Just (taking i n)} Spec.spec
+      hspecWith
+        defaultConfig{configFilterPredicate = Just (taking i n)}
+        Spec.spec
 
 -- | Which share of the suite a run is for.
 data Shard
diff --git a/tests/Tilia/BootFixities.hs b/tests/Tilia/BootFixities.hs
--- a/tests/Tilia/BootFixities.hs
+++ b/tests/Tilia/BootFixities.hs
@@ -13,6 +13,7 @@
 import Data.Map.Strict (Map)
 import Data.Map.Strict qualified as Map
 import Data.Text (Text)
+
 import Tilia.Fixity
 
 -- | Every module the boot packages expose, with the operators it exports.
diff --git a/tests/Tilia/Cabal/PackageSpec.hs b/tests/Tilia/Cabal/PackageSpec.hs
--- a/tests/Tilia/Cabal/PackageSpec.hs
+++ b/tests/Tilia/Cabal/PackageSpec.hs
@@ -7,13 +7,17 @@
 import Data.Either (isRight)
 import Data.Foldable (for_)
 import Data.List (isSuffixOf, sort)
+import Data.Map.Strict qualified as Map
+import Data.Set qualified as Set
 import Data.Text (Text)
 import Data.Text qualified as T
+import Distribution.PackageDescription (mkFlagAssignment)
 import GHC.LanguageExtensions.Type (Extension (..))
 import System.Directory (createDirectoryIfMissing, removeFile)
 import System.FilePath ((</>))
 import System.IO.Temp (withSystemTempDirectory)
 import Test.Hspec
+
 import Tilia.Cabal.Package
   ( PackageProblem (..),
     newPackageReader,
@@ -77,7 +81,8 @@
       inPackage sharedTests ["tests"] $ \root -> do
         unit <- asked (root </> "tests" </> "Unit.hs")
         driver <- asked (root </> "tests" </> "Doctests.hs")
-        (has BangPatterns unit, has BangPatterns driver) `shouldBe` (True, False)
+        (has BangPatterns unit, has BangPatterns driver)
+          `shouldBe` (True, False)
 
     it "is a foreign library where its source directory holds the file" $
       inPackage withForeignLibrary ["src", "flib"] $ \root -> do
@@ -110,7 +115,7 @@
     it "are the language edition's" $
       inPackage twoComponents ["src"] $ \root -> do
         library <- asked (root </> "src" </> "M.hs")
-        (length . (`effectiveExtensions` "") <$> library)
+        (Set.size . (`effectiveExtensions` "") <$> library)
           `shouldSatisfy` either (const False) (> 40)
 
     it "are Haskell98's where it names no edition, as cabal builds it" $
@@ -143,11 +148,23 @@
 
     it "take the compiler's version from the plan where it names one" $
       inPackage conditionalExtensions ["src"] $ \root -> do
-        ask <- newPackageReader (plannedCompiler (BuildPlan "ghc-8.4.4" [])) []
+        ask <-
+          newPackageReader
+            (plannedCompiler (BuildPlan "ghc-8.4.4" []))
+            Map.empty
+            []
         library <- ask (root </> "src" </> "M.hs")
         (has StarIsType library, has BangPatterns library)
           `shouldBe` (True, True)
 
+    it "take the flags from the plan where it sets them" $
+      inPackage conditionalExtensions ["src"] $ \root -> do
+        let flags = mkFlagAssignment [("fast", False), ("strict", True)]
+        ask <- newPackageReader Nothing (Map.singleton "demo" flags) []
+        library <- ask (root </> "src" </> "M.hs")
+        (has MagicHash library, has Strict library)
+          `shouldBe` (False, True)
+
     it "take in their own branch's too, for a module only it declares" $
       inPackage conditionalExtensions ["src", "old"] $ \root -> do
         old <- asked (root </> "old" </> "Old.hs")
@@ -165,7 +182,8 @@
           Left (PackageMalformed file complaints) -> do
             file `shouldSatisfy` (("demo.cabal" `isSuffixOf`))
             complaints `shouldSatisfy` not . null
-          other -> expectationFailure ("expected a parse failure, got " <> show other)
+          other ->
+            expectationFailure ("expected a parse failure, got " <> show other)
 
   describe "a module no package above it claims" $ do
     it "is claimed by a package of the project that names it"
@@ -174,7 +192,8 @@
           ("common/Common.hs", "module Common where\n")
         ]
       $ \root -> do
-        ask <- newPackageReader Nothing [root </> "one" </> "one.cabal"]
+        ask <-
+          newPackageReader Nothing Map.empty [root </> "one" </> "one.cabal"]
         (has LambdaCase <$> ask (root </> "common" </> "Common.hs"))
           `shouldReturn` True
 
@@ -188,6 +207,7 @@
         ask <-
           newPackageReader
             Nothing
+            Map.empty
             [root </> "one" </> "one.cabal", root </> "two" </> "two.cabal"]
         (has LambdaCase <$> ask (root </> "two" </> "shared" </> "Common.hs"))
           `shouldReturn` True
@@ -198,27 +218,55 @@
           ("other/Other.hs", "module Other where\n")
         ]
       $ \root -> do
-        ask <- newPackageReader Nothing [root </> "one" </> "one.cabal"]
+        ask <-
+          newPackageReader Nothing Map.empty [root </> "one" </> "one.cabal"]
         ask (root </> "other" </> "Other.hs") `shouldReturn` Left NoPackageFile
 
+    it "is claimed so where the .cabal file above it does not parse"
+      $ withFiles
+        [ ("one/one.cabal", reachingOut "../common"),
+          ("common/broken.cabal", "this is not a cabal file {\n"),
+          ("common/Common.hs", "module Common where\n")
+        ]
+      $ \root -> do
+        ask <-
+          newPackageReader Nothing Map.empty [root </> "one" </> "one.cabal"]
+        (has LambdaCase <$> ask (root </> "common" </> "Common.hs"))
+          `shouldReturn` True
+
+    it "is said to be under one that does not parse where none names it"
+      $ withFiles
+        [ ("one/one.cabal", reachingOut "../common"),
+          ("other/broken.cabal", "this is not a cabal file {\n"),
+          ("other/Other.hs", "module Other where\n")
+        ]
+      $ \root -> do
+        ask <-
+          newPackageReader Nothing Map.empty [root </> "one" </> "one.cabal"]
+        ask (root </> "other" </> "Other.hs") >>= \case
+          Left (PackageMalformed file _) ->
+            file `shouldBe` root </> "other" </> "broken.cabal"
+          other ->
+            expectationFailure ("expected a parse failure, got " <> show other)
+
   describe "a reader kept between files" $ do
     it "answers as a fresh one would" $
       inPackage twoComponents ["src", "test"] $ \root -> do
-        ask <- newPackageReader Nothing []
+        ask <- newPackageReader Nothing Map.empty []
         kept <- traverse ask (modules root)
         fresh <- traverse asked (modules root)
         kept `shouldBe` fresh
 
     it "reads a package once, not once per file" $
       inPackage twoComponents ["src"] $ \root -> do
-        ask <- newPackageReader Nothing []
+        ask <- newPackageReader Nothing Map.empty []
         first <- ask (root </> "src" </> "A.hs")
         removeFile (root </> "demo.cabal")
         ask (root </> "src" </> "B.hs") `shouldReturn` first
 
     it "remembers every directory the walk went through" $
       inPackage twoComponents ["src" </> "deep"] $ \root -> do
-        ask <- newPackageReader Nothing []
+        ask <- newPackageReader Nothing Map.empty []
         deep <- ask (root </> "src" </> "deep" </> "A.hs")
         removeFile (root </> "demo.cabal")
         ask (root </> "src" </> "B.hs") `shouldReturn` deep
@@ -467,7 +515,7 @@
 -- is not about caching wants.
 asked :: FilePath -> IO (Either PackageProblem Defaults)
 asked path = do
-  ask <- newPackageReader Nothing []
+  ask <- newPackageReader Nothing Map.empty []
   ask path
 
 -- | One module in each of the two components.
@@ -478,7 +526,7 @@
 unreadableOrMissing = either (const True) (const False)
 
 has :: Extension -> Either PackageProblem Defaults -> Bool
-has e = either (const False) ((e `elem`) . (`effectiveExtensions` ""))
+has e = either (const False) (Set.member e . (`effectiveExtensions` ""))
 
 unclaimed :: Either PackageProblem Defaults -> Bool
 unclaimed = either isFileUnclaimed (const False)
diff --git a/tests/Tilia/Cabal/ProjectSpec.hs b/tests/Tilia/Cabal/ProjectSpec.hs
--- a/tests/Tilia/Cabal/ProjectSpec.hs
+++ b/tests/Tilia/Cabal/ProjectSpec.hs
@@ -5,6 +5,7 @@
 
 import System.FilePath ((</>))
 import Test.Hspec
+
 import Tilia.Cabal.Project
 import Tilia.TestUtils (withFiles)
 
diff --git a/tests/Tilia/Cabal/TargetSpec.hs b/tests/Tilia/Cabal/TargetSpec.hs
--- a/tests/Tilia/Cabal/TargetSpec.hs
+++ b/tests/Tilia/Cabal/TargetSpec.hs
@@ -5,10 +5,15 @@
 module Tilia.Cabal.TargetSpec (spec) where
 
 import Data.List (isSuffixOf, sort)
+import Data.Map.Strict qualified as Map
+import Data.Set qualified as Set
 import Data.Text (Text)
 import Data.Text qualified as T
+import Data.Time.Clock (addUTCTime)
+import System.Directory (getModificationTime, setModificationTime)
 import System.FilePath (isPathSeparator, takeFileName, (</>))
 import Test.Hspec
+
 import Tilia.Cabal.Plan (PlanComponent (..))
 import Tilia.Cabal.Project (Marker (..), ProjectRoot (..), findProjectRoot)
 import Tilia.Cabal.Target
@@ -29,22 +34,30 @@
       parseTarget "flib:tilia" `shouldBe` Right (Qualified Nothing FLib "tilia")
       parseTarget "exe:tilia" `shouldBe` Right (Qualified Nothing Exe "tilia")
       parseTarget "test:tests" `shouldBe` Right (Qualified Nothing Test "tests")
-      parseTarget "bench:speed" `shouldBe` Right (Qualified Nothing Bench "speed")
+      parseTarget "bench:speed"
+        `shouldBe` Right (Qualified Nothing Bench "speed")
 
     it "takes every spelling of a kind cabal takes, in any case" $ do
-      parseTarget "library:tilia" `shouldBe` Right (Qualified Nothing Lib "tilia")
-      parseTarget "foreign-library:tilia" `shouldBe` Right (Qualified Nothing FLib "tilia")
-      parseTarget "executable:tilia" `shouldBe` Right (Qualified Nothing Exe "tilia")
+      parseTarget "library:tilia"
+        `shouldBe` Right (Qualified Nothing Lib "tilia")
+      parseTarget "foreign-library:tilia"
+        `shouldBe` Right (Qualified Nothing FLib "tilia")
+      parseTarget "executable:tilia"
+        `shouldBe` Right (Qualified Nothing Exe "tilia")
       parseTarget "tst:tests" `shouldBe` Right (Qualified Nothing Test "tests")
-      parseTarget "test-suite:tests" `shouldBe` Right (Qualified Nothing Test "tests")
-      parseTarget "benchmark:speed" `shouldBe` Right (Qualified Nothing Bench "speed")
+      parseTarget "test-suite:tests"
+        `shouldBe` Right (Qualified Nothing Test "tests")
+      parseTarget "benchmark:speed"
+        `shouldBe` Right (Qualified Nothing Bench "speed")
       parseTarget "LIB:tilia" `shouldBe` Right (Qualified Nothing Lib "tilia")
 
     it "takes a package in front of the kind" $
-      parseTarget "tilia:lib:tilia" `shouldBe` Right (Qualified (Just "tilia") Lib "tilia")
+      parseTarget "tilia:lib:tilia"
+        `shouldBe` Right (Qualified (Just "tilia") Lib "tilia")
 
     it "ignores space around it" $
-      parseTarget "  lib:tilia  " `shouldBe` Right (Qualified Nothing Lib "tilia")
+      parseTarget "  lib:tilia  "
+        `shouldBe` Right (Qualified Nothing Lib "tilia")
 
     it "refuses an empty target" $
       parseTarget "" `shouldSatisfy` failed
@@ -63,14 +76,17 @@
   describe "against this very project" $ do
     root <- runIO (findProjectRoot ".")
     case root of
-      Nothing -> it "needs a project" $ expectationFailure "no project above the working directory"
+      Nothing ->
+        it "needs a project" $
+          expectationFailure "no project above the working directory"
       Just here -> do
         it "is rooted at the cabal.project, not the .cabal file" $
           prMarker here `shouldBe` ProjectFile
 
         it "finds the four components this package declares" $
           componentsOfTarget here Everything >>= \case
-            Left problem -> expectationFailure (T.unpack (describeTargetProblem problem))
+            Left problem ->
+              expectationFailure (T.unpack (describeTargetProblem problem))
             Right cs ->
               sort (fmap (\c -> (componentKind c, componentName c)) cs)
                 `shouldBe` sort
@@ -82,19 +98,24 @@
 
         it "narrows to one component when asked for one" $
           componentsOfTarget here (Qualified Nothing Lib "tilia") >>= \case
-            Left problem -> expectationFailure (T.unpack (describeTargetProblem problem))
+            Left problem ->
+              expectationFailure (T.unpack (describeTargetProblem problem))
             Right cs -> do
               files <- filesOfComponents here cs
-              files `shouldSatisfy` any ("src/Tilia/Cabal/Target.hs" `isSuffixOf`)
+              files
+                `shouldSatisfy` any ("src/Tilia/Cabal/Target.hs" `isSuffixOf`)
 
         it "takes the package name as all of its components" $
           componentsOfTarget here (Called "tilia") >>= \case
-            Left problem -> expectationFailure (T.unpack (describeTargetProblem problem))
+            Left problem ->
+              expectationFailure (T.unpack (describeTargetProblem problem))
             Right cs -> length cs `shouldBe` 4
 
         it "refuses a target the project does not hold, and says what it does" $
           componentsOfTarget here (Called "nothing-like-this") >>= \case
-            Right cs -> expectationFailure ("matched " <> show (length cs) <> " components")
+            Right cs ->
+              expectationFailure
+                ("matched " <> show (length cs) <> " components")
             Left problem -> do
               let said = describeTargetProblem problem
               said `shouldSatisfy` T.isInfixOf "tilia:lib:tilia"
@@ -103,21 +124,24 @@
 
         it "finds this module among the test component's files" $
           componentsOfTarget here (Qualified Nothing Test "tests") >>= \case
-            Left problem -> expectationFailure (T.unpack (describeTargetProblem problem))
+            Left problem ->
+              expectationFailure (T.unpack (describeTargetProblem problem))
             Right cs -> do
               files <- filesOfComponents here cs
               fmap takeFileName files `shouldSatisfy` elem "TargetSpec.hs"
 
         it "finds only Haskell in it" $
           componentsOfTarget here Everything >>= \case
-            Left problem -> expectationFailure (T.unpack (describeTargetProblem problem))
+            Left problem ->
+              expectationFailure (T.unpack (describeTargetProblem problem))
             Right cs -> do
               files <- filesOfComponents here cs
               filter (not . haskell) files `shouldBe` []
 
         it "does not wander into the build directory" $
           componentsOfTarget here Everything >>= \case
-            Left problem -> expectationFailure (T.unpack (describeTargetProblem problem))
+            Left problem ->
+              expectationFailure (T.unpack (describeTargetProblem problem))
             Right cs -> do
               files <- filesOfComponents here cs
               filter (T.isInfixOf "dist-newstyle" . T.pack) files `shouldBe` []
@@ -133,7 +157,8 @@
         ]
       $ \root ->
         componentsOfTarget root Everything >>= \case
-          Left problem -> expectationFailure (T.unpack (describeTargetProblem problem))
+          Left problem ->
+            expectationFailure (T.unpack (describeTargetProblem problem))
           Right cs -> sort (fmap componentPackage cs) `shouldBe` ["one", "two"]
 
     it "reads a package an entry goes up to"
@@ -145,7 +170,8 @@
       $ \root -> do
         let project = ProjectRoot (prPath root </> "proj") ProjectFile
         componentsOfTarget project Everything >>= \case
-          Left problem -> expectationFailure (T.unpack (describeTargetProblem problem))
+          Left problem ->
+            expectationFailure (T.unpack (describeTargetProblem problem))
           Right cs -> do
             files <- filesOfComponents project cs
             fmap takeFileName files `shouldBe` ["L.hs"]
@@ -160,9 +186,12 @@
         writeUtf8File
           (prPath root </> "proj" </> "cabal.project")
           ("packages: " <> entry <> "\n")
-        componentsOfTarget (ProjectRoot (prPath root </> "proj") ProjectFile) Everything
+        componentsOfTarget
+          (ProjectRoot (prPath root </> "proj") ProjectFile)
+          Everything
           >>= \case
-            Left problem -> expectationFailure (T.unpack (describeTargetProblem problem))
+            Left problem ->
+              expectationFailure (T.unpack (describeTargetProblem problem))
             Right cs -> fmap componentPackage cs `shouldBe` ["lib"]
 
     it "reads a package in a directory whose name begins with a dot"
@@ -172,7 +201,8 @@
         ]
       $ \root ->
         componentsOfTarget root Everything >>= \case
-          Left problem -> expectationFailure (T.unpack (describeTargetProblem problem))
+          Left problem ->
+            expectationFailure (T.unpack (describeTargetProblem problem))
           Right cs -> fmap componentPackage cs `shouldBe` ["hidden"]
 
     it "expands a glob in the packages field"
@@ -183,7 +213,8 @@
         ]
       $ \root ->
         componentsOfTarget root Everything >>= \case
-          Left problem -> expectationFailure (T.unpack (describeTargetProblem problem))
+          Left problem ->
+            expectationFailure (T.unpack (describeTargetProblem problem))
           Right cs -> sort (fmap componentPackage cs) `shouldBe` ["one", "two"]
 
     it "expands a component with more than one star in it"
@@ -195,9 +226,29 @@
         ]
       $ \root ->
         componentsOfTarget root Everything >>= \case
-          Left problem -> expectationFailure (T.unpack (describeTargetProblem problem))
+          Left problem ->
+            expectationFailure (T.unpack (describeTargetProblem problem))
           Right cs -> sort (fmap componentPackage cs) `shouldBe` ["one", "two"]
 
+    it "reads a quoted entry as a Haskell string, as cabal does"
+      $ withProject
+        [ ( "cabal.project",
+            "packages: \"one\", \"my two\", 'four', \"p\\x6Bgs/t*\"\n"
+          ),
+          ("one/one.cabal", package "one" "src"),
+          ("my two/two.cabal", package "two" "src"),
+          ("pkgs/three/three.cabal", package "three" "src"),
+          ("'four'/four.cabal", package "four" "src"),
+          ("pkgs/five/five.cabal", package "five" "src")
+        ]
+      $ \root ->
+        componentsOfTarget root Everything >>= \case
+          Left problem ->
+            expectationFailure (T.unpack (describeTargetProblem problem))
+          Right cs ->
+            sort (fmap componentPackage cs)
+              `shouldBe` ["four", "one", "three", "two"]
+
     it "expands a double star to any depth, none included"
       $ withProject
         [ ("cabal.project", "packages: pkgs/**/*.cabal\n"),
@@ -208,7 +259,8 @@
         ]
       $ \root ->
         componentsOfTarget root Everything >>= \case
-          Left problem -> expectationFailure (T.unpack (describeTargetProblem problem))
+          Left problem ->
+            expectationFailure (T.unpack (describeTargetProblem problem))
           Right cs ->
             sort (fmap componentPackage cs) `shouldBe` ["one", "three", "two"]
 
@@ -220,7 +272,8 @@
         ]
       $ \root ->
         componentsOfTarget root Everything >>= \case
-          Left problem -> expectationFailure (T.unpack (describeTargetProblem problem))
+          Left problem ->
+            expectationFailure (T.unpack (describeTargetProblem problem))
           Right cs -> fmap componentPackage cs `shouldBe` ["one"]
 
     it "reads a packages field continued onto later lines"
@@ -231,7 +284,8 @@
         ]
       $ \root ->
         componentsOfTarget root Everything >>= \case
-          Left problem -> expectationFailure (T.unpack (describeTargetProblem problem))
+          Left problem ->
+            expectationFailure (T.unpack (describeTargetProblem problem))
           Right cs -> sort (fmap componentPackage cs) `shouldBe` ["one", "two"]
 
     it "reads one continued with tabs, as cabal itself does"
@@ -242,7 +296,8 @@
         ]
       $ \root ->
         componentsOfTarget root Everything >>= \case
-          Left problem -> expectationFailure (T.unpack (describeTargetProblem problem))
+          Left problem ->
+            expectationFailure (T.unpack (describeTargetProblem problem))
           Right cs -> sort (fmap componentPackage cs) `shouldBe` ["one", "two"]
 
     it "finds one a conditional has put inside a section"
@@ -252,7 +307,8 @@
         ]
       $ \root ->
         componentsOfTarget root Everything >>= \case
-          Left problem -> expectationFailure (T.unpack (describeTargetProblem problem))
+          Left problem ->
+            expectationFailure (T.unpack (describeTargetProblem problem))
           Right cs -> fmap componentPackage cs `shouldBe` ["one"]
 
     it "reads the packages the files it imports name, as cabal does"
@@ -266,10 +322,36 @@
         ]
       $ \root ->
         componentsOfTarget root Everything >>= \case
-          Left problem -> expectationFailure (T.unpack (describeTargetProblem problem))
+          Left problem ->
+            expectationFailure (T.unpack (describeTargetProblem problem))
           Right cs ->
             sort (fmap componentPackage cs) `shouldBe` ["one", "three", "two"]
 
+    it "reads the packages a cabal.project.local adds, as cabal does"
+      $ withProject
+        [ ("cabal.project", "packages: one\n"),
+          ("cabal.project.local", "packages: two\n"),
+          ("one/one.cabal", package "one" "src"),
+          ("two/two.cabal", package "two" "src")
+        ]
+      $ \root ->
+        componentsOfTarget root Everything >>= \case
+          Left problem ->
+            expectationFailure (T.unpack (describeTargetProblem problem))
+          Right cs -> sort (fmap componentPackage cs) `shouldBe` ["one", "two"]
+
+    it "reads a cabal.project.local beside a package with no cabal.project"
+      $ withProject
+        [ ("one.cabal", package "one" "src"),
+          ("cabal.project.local", "packages: two\n"),
+          ("two/two.cabal", package "two" "src")
+        ]
+      $ \root ->
+        componentsOfTarget root Everything >>= \case
+          Left problem ->
+            expectationFailure (T.unpack (describeTargetProblem problem))
+          Right cs -> sort (fmap componentPackage cs) `shouldBe` ["one", "two"]
+
     it "reads a file imported in a cycle once"
       $ withProject
         [ ("cabal.project", "packages: one\nimport: more.config\n"),
@@ -278,7 +360,8 @@
         ]
       $ \root ->
         componentsOfTarget root Everything >>= \case
-          Left problem -> expectationFailure (T.unpack (describeTargetProblem problem))
+          Left problem ->
+            expectationFailure (T.unpack (describeTargetProblem problem))
           Right cs -> fmap componentPackage cs `shouldBe` ["one"]
 
     it "looks in every source directory a component names"
@@ -289,7 +372,8 @@
         ]
       $ \root ->
         componentsOfTarget root Everything >>= \case
-          Left problem -> expectationFailure (T.unpack (describeTargetProblem problem))
+          Left problem ->
+            expectationFailure (T.unpack (describeTargetProblem problem))
           Right cs -> do
             files <- filesOfComponents root cs
             sort (fmap takeFileName files) `shouldBe` ["A.hs", "B.hs"]
@@ -302,7 +386,8 @@
         ]
       $ \root ->
         componentsOfTarget root Everything >>= \case
-          Left problem -> expectationFailure (T.unpack (describeTargetProblem problem))
+          Left problem ->
+            expectationFailure (T.unpack (describeTargetProblem problem))
           Right cs -> do
             files <- filesOfComponents root cs
             filter (T.isInfixOf "/./" . T.pack) files `shouldBe` []
@@ -314,7 +399,8 @@
         ]
       $ \root ->
         componentsOfTarget root Everything >>= \case
-          Left problem -> expectationFailure (T.unpack (describeTargetProblem problem))
+          Left problem ->
+            expectationFailure (T.unpack (describeTargetProblem problem))
           Right cs -> do
             files <- filesOfComponents root cs
             files `shouldBe` [prPath root </> "A.hs"]
@@ -328,7 +414,8 @@
         ]
       $ \root ->
         componentsOfTarget root Everything >>= \case
-          Left problem -> expectationFailure (T.unpack (describeTargetProblem problem))
+          Left problem ->
+            expectationFailure (T.unpack (describeTargetProblem problem))
           Right cs -> do
             files <- filesOfComponents root cs
             length cs `shouldBe` 2
@@ -345,7 +432,8 @@
         ]
       $ \root ->
         componentsOfTarget root Everything >>= \case
-          Left problem -> expectationFailure (T.unpack (describeTargetProblem problem))
+          Left problem ->
+            expectationFailure (T.unpack (describeTargetProblem problem))
           Right cs -> do
             files <- filesOfComponents root cs
             files
@@ -362,7 +450,8 @@
         ]
       $ \root ->
         componentsOfTarget root Everything >>= \case
-          Left problem -> expectationFailure (T.unpack (describeTargetProblem problem))
+          Left problem ->
+            expectationFailure (T.unpack (describeTargetProblem problem))
           Right cs -> do
             files <- filesOfComponents root cs
             fmap takeFileName files `shouldBe` ["A.hs"]
@@ -376,7 +465,8 @@
         ]
       $ \root ->
         componentsOfTarget root Everything >>= \case
-          Left problem -> expectationFailure (T.unpack (describeTargetProblem problem))
+          Left problem ->
+            expectationFailure (T.unpack (describeTargetProblem problem))
           Right cs -> do
             files <- filesOfComponents root cs
             fmap takeFileName files `shouldBe` ["A.hs", "A.hs-boot", "B.hsig"]
@@ -390,7 +480,8 @@
         ]
       $ \root ->
         componentsOfTarget root Everything >>= \case
-          Left problem -> expectationFailure (T.unpack (describeTargetProblem problem))
+          Left problem ->
+            expectationFailure (T.unpack (describeTargetProblem problem))
           Right cs -> do
             files <- filesOfComponents root cs
             fmap takeFileName files `shouldBe` ["A.hs", "B.hs", "C.hs"]
@@ -404,11 +495,14 @@
         ]
       $ \root ->
         componentsOfTarget root Everything >>= \case
-          Left problem -> expectationFailure (T.unpack (describeTargetProblem problem))
+          Left problem ->
+            expectationFailure (T.unpack (describeTargetProblem problem))
           Right cs -> do
             files <- filesOfComponents root cs
             files
-              `shouldBe` fmap (prPath root </>) ["src/A.hs", "unix/B.hs", "windows/B.hs"]
+              `shouldBe` fmap
+                (prPath root </>)
+                ["src/A.hs", "unix/B.hs", "windows/B.hs"]
 
     it "passes over a declared module with no source, such as a generated one"
       $ withProject
@@ -417,7 +511,8 @@
         ]
       $ \root ->
         componentsOfTarget root Everything >>= \case
-          Left problem -> expectationFailure (T.unpack (describeTargetProblem problem))
+          Left problem ->
+            expectationFailure (T.unpack (describeTargetProblem problem))
           Right cs -> do
             files <- filesOfComponents root cs
             fmap takeFileName files `shouldBe` ["A.hs"]
@@ -439,12 +534,14 @@
         ]
       $ \root ->
         componentsOfTarget root Everything >>= \case
-          Left problem -> expectationFailure (T.unpack (describeTargetProblem problem))
+          Left problem ->
+            expectationFailure (T.unpack (describeTargetProblem problem))
           Right cs -> do
             files <- filesOfComponents root cs
             sort (map takeFileName files) `shouldBe` ["Keep.hs", "Runner.hs"]
 
-    it "uses the project ignore file for packages and explicit fixture source directories"
+    it
+      "uses the project ignore file for packages and explicit fixture source directories"
       $ withProject
         [ ("cabal.project", "packages: one two\n"),
           (".tiliaignore", "one/fixtures\n"),
@@ -456,7 +553,8 @@
         ]
       $ \root ->
         componentsOfTarget root Everything >>= \case
-          Left problem -> expectationFailure (T.unpack (describeTargetProblem problem))
+          Left problem ->
+            expectationFailure (T.unpack (describeTargetProblem problem))
           Right cs -> do
             files <- filesOfComponents root cs
             sort (map takeFileName files) `shouldBe` ["A.hs", "B.hs"]
@@ -474,7 +572,8 @@
         ]
       $ \root ->
         componentsOfTarget root Everything >>= \case
-          Left problem -> expectationFailure (T.unpack (describeTargetProblem problem))
+          Left problem ->
+            expectationFailure (T.unpack (describeTargetProblem problem))
           Right cs -> do
             files <- filesOfComponents root cs
             sort (map takeFileName files) `shouldBe` ["A.hs", "KeepSpec.hs"]
@@ -487,10 +586,12 @@
         ]
       $ \root ->
         componentsOfTarget root (Called "only") >>= \case
-          Left problem -> expectationFailure (T.unpack (describeTargetProblem problem))
+          Left problem ->
+            expectationFailure (T.unpack (describeTargetProblem problem))
           Right cs -> filesOfComponents root cs `shouldReturn` []
 
-    it "takes the setup script under all and the package name, not under a component"
+    it
+      "takes the setup script under all and the package name, not under a component"
       $ withProject
         [ ("only.cabal", packageWith "only" ["src"] ["A"]),
           ("Setup.hs", "import Distribution.Simple\nmain = defaultMain\n"),
@@ -513,16 +614,19 @@
         ]
       $ \root ->
         componentsOfTarget root (Qualified Nothing FLib "foreign") >>= \case
-          Left problem -> expectationFailure (T.unpack (describeTargetProblem problem))
+          Left problem ->
+            expectationFailure (T.unpack (describeTargetProblem problem))
           Right cs -> do
             files <- filesOfComponents root cs
             fmap takeFileName files `shouldBe` ["F.hs"]
-            fmap (fmap pcName . componentInPlan) cs `shouldBe` [Just "flib:foreign"]
+            fmap (fmap pcName . componentInPlan) cs
+              `shouldBe` [Just "flib:foreign"]
 
     it "names each library the way a plan does" $
       withProject [("both.cabal", withSubLibrary)] $ \root ->
         componentsOfTarget root Everything >>= \case
-          Left problem -> expectationFailure (T.unpack (describeTargetProblem problem))
+          Left problem ->
+            expectationFailure (T.unpack (describeTargetProblem problem))
           Right cs ->
             fmap (fmap pcName . componentInPlan) cs
               `shouldBe` [Just "lib", Just "lib:inner"]
@@ -534,19 +638,26 @@
         ]
       $ \root ->
         componentsOfTarget root (Called "setup") >>= \case
-          Right cs -> expectationFailure ("matched " <> show (length cs) <> " components")
-          Left problem -> describeTargetProblem problem `shouldNotSatisfy` T.isInfixOf ":setup"
+          Right cs ->
+            expectationFailure ("matched " <> show (length cs) <> " components")
+          Left problem ->
+            describeTargetProblem problem
+              `shouldNotSatisfy` T.isInfixOf ":setup"
 
     it "says so when a cabal.project names nothing that exists" $
       withProject [("cabal.project", "packages: nowhere\n")] $ \root ->
         componentsOfTarget root Everything >>= \case
-          Right cs -> expectationFailure ("found " <> show (length cs) <> " components")
-          Left problem -> describeTargetProblem problem `shouldSatisfy` T.isInfixOf "no packages"
+          Right cs ->
+            expectationFailure ("found " <> show (length cs) <> " components")
+          Left problem ->
+            describeTargetProblem problem
+              `shouldSatisfy` T.isInfixOf "no packages"
 
     it "says what the parser said of a cabal.project that will not parse" $
       withProject [("cabal.project", "packages: one\nfoo bar: baz\n")] $ \root ->
         componentsOfTarget root Everything >>= \case
-          Right cs -> expectationFailure ("found " <> show (length cs) <> " components")
+          Right cs ->
+            expectationFailure ("found " <> show (length cs) <> " components")
           Left problem -> do
             let said = describeTargetProblem problem
             said `shouldSatisfy` T.isInfixOf "cabal.project does not parse:"
@@ -560,7 +671,8 @@
         ]
       $ \root ->
         componentsOfTarget root Everything >>= \case
-          Right cs -> expectationFailure ("found " <> show (length cs) <> " components")
+          Right cs ->
+            expectationFailure ("found " <> show (length cs) <> " components")
           Left problem ->
             describeTargetProblem problem
               `shouldSatisfy` T.isInfixOf "more.config does not parse:"
@@ -573,8 +685,10 @@
         ]
       $ \root ->
         componentsOfTarget root Everything >>= \case
-          Left problem -> expectationFailure (T.unpack (describeTargetProblem problem))
-          Right cs -> sort (map componentPackage cs) `shouldBe` ["main", "optional"]
+          Left problem ->
+            expectationFailure (T.unpack (describeTargetProblem problem))
+          Right cs ->
+            sort (map componentPackage cs) `shouldBe` ["main", "optional"]
 
     it "says so when a .cabal file will not parse"
       $ withProject
@@ -583,9 +697,69 @@
         ]
       $ \root ->
         componentsOfTarget root Everything >>= \case
-          Right cs -> expectationFailure ("found " <> show (length cs) <> " components")
-          Left problem -> describeTargetProblem problem `shouldSatisfy` T.isInfixOf "does not parse"
+          Right cs ->
+            expectationFailure ("found " <> show (length cs) <> " components")
+          Left problem ->
+            describeTargetProblem problem
+              `shouldSatisfy` T.isInfixOf "does not parse"
 
+  describe "the modules a project declares" $ do
+    it "takes those of every package the project names"
+      $ withProject
+        [ ("cabal.project", "packages: one two\n"),
+          ("one/one.cabal", packageWith "one" ["src"] ["A"]),
+          ("two/two.cabal", packageWith "two" ["src"] ["B", "C"])
+        ]
+      $ \root ->
+        projectModulesOf root
+          `shouldReturn` Right
+            (Map.fromList [("A", one), ("B", two), ("C", two)])
+
+    it "takes those every conditional branch declares" $
+      withProject [("only.cabal", conditional)] $ \root ->
+        projectModulesOf root
+          `shouldReturn` Right
+            (Map.fromList [("A", only), ("B", only), ("C", only)])
+
+    it "takes those of optional packages that exist, ignoring absent ones"
+      $ withProject
+        [ ("cabal.project", "packages: one\noptional-packages: two absent\n"),
+          ("one/one.cabal", packageWith "one" ["src"] ["A"]),
+          ("two/two.cabal", packageWith "two" ["src"] ["B"])
+        ]
+      $ \root ->
+        projectModulesOf root
+          `shouldReturn` Right (Map.fromList [("A", one), ("B", two)])
+
+    it "says so when a .cabal file will not parse"
+      $ withProject
+        [ ("cabal.project", "packages: one two\n"),
+          ("one/one.cabal", packageWith "one" ["src"] ["A"]),
+          ("two/two.cabal", "library\n  exposed-modules: {\n")
+        ]
+      $ \root ->
+        projectModulesOf root >>= \case
+          Right modules -> expectationFailure ("found " <> show modules)
+          Left problem ->
+            describeTargetProblem problem
+              `shouldSatisfy` T.isInfixOf "does not parse"
+
+    it "reads a .cabal file again once it has been modified" $
+      withProject [("one.cabal", packageWith "one" ["src"] ["A"])] $ \root -> do
+        let file = prPath root </> "one.cabal"
+        projectModulesOf root `shouldReturn` Right (Map.fromList [("A", one)])
+        modified <- getModificationTime file
+        writeUtf8File file (packageWith "one" ["src"] ["A", "B"])
+        setModificationTime file (addUTCTime 1 modified)
+        projectModulesOf root
+          `shouldReturn` Right (Map.fromList [("A", one), ("B", one)])
+  where
+    one = Set.singleton "one"
+    two = Set.singleton "two"
+    only = Set.singleton "only"
+    projectModulesOf root =
+      packageFilesOf root >>= either (pure . Left) projectModules
+
 ----------------------------------------------------------------------------
 -- Helpers
 
@@ -634,7 +808,8 @@
   where
     marker fs
       | any ((== "cabal.project") . fst) fs = ProjectFile
-      | (named : _) <- [p | (p, _) <- fs, ".cabal" `isSuffixOf` p] = PackageFile named
+      | (named : _) <- [p | (p, _) <- fs, ".cabal" `isSuffixOf` p] =
+          PackageFile named
       | otherwise = ProjectFile
 
 -- | A package with two executables that share a module.
diff --git a/tests/Tilia/ColumnLimitSpec.hs b/tests/Tilia/ColumnLimitSpec.hs
new file mode 100644
--- /dev/null
+++ b/tests/Tilia/ColumnLimitSpec.hs
@@ -0,0 +1,109 @@
+{-# LANGUAGE LambdaCase #-}
+{-# LANGUAGE OverloadedLabels #-}
+{-# LANGUAGE OverloadedStrings #-}
+{-# LANGUAGE PatternSynonyms #-}
+
+-- | Formatting at column limits other than the default one.
+module Tilia.ColumnLimitSpec (spec) where
+
+import Control.Monad (guard, when)
+import Data.Choice (pattern Do)
+import Data.Foldable (for_)
+import Data.Functor ((<&>))
+import Data.Map.Strict qualified as Map
+import Data.Maybe (fromMaybe, mapMaybe)
+import Data.Set qualified as Set
+import Data.Text (Text)
+import Data.Text qualified as T
+import System.FilePath (dropExtension, takeFileName, (</>))
+import Test.Hspec
+import Test.Hspec.QuickCheck (modifyMaxSuccess)
+import Test.QuickCheck
+import Text.Read (readMaybe)
+
+import Tilia.Corpus (Example (..), answerFile, obtain, vendoredExamples)
+import Tilia.Format (describeFormatError, formattingFailed)
+import Tilia.Palette (Palette (Plain))
+import Tilia.Settings (Settings (..), alternativeSettings, defaultSettings)
+import Tilia.TestConfig (formatExample)
+import Tilia.TestUtils (haskellFilesIn, switchedOn, withEachSettings)
+import Tilia.Utils (readUtf8File, writeUtf8File)
+
+spec :: Spec
+spec = do
+  files <- runIO (haskellFilesIn ("corpora" </> "column-limit"))
+  accepting <- runIO (switchedOn "TILIA_VENDORED_ACCEPT")
+  let limits = Set.toList (Set.fromList (mapMaybe limitOf files))
+      inputs = [f | f <- files, Nothing <- [limitOf f]]
+  describe "a module formatted at a column limit" $
+    for_ inputs $ \input ->
+      for_ limits $ \limit ->
+        for_ answers $ \(mark, named, settings) ->
+          it (takeFileName input <> " at " <> show limit <> named) $ do
+            let reference = answerFile (mark <> show limit) input
+            Just source <- readUtf8File input
+            formatExample
+              (Do #check)
+              settings{settingsColumnLimit = limit}
+              Nothing
+              Map.empty
+              (takeFileName input)
+              source
+              >>= \case
+                Left e ->
+                  expectationFailure (T.unpack (describeFormatError Plain e))
+                Right formatted -> do
+                  when accepting (writeUtf8File reference formatted)
+                  readUtf8File reference >>= \case
+                    Nothing ->
+                      expectationFailure $
+                        reference
+                          <> " is missing; TILIA_VENDORED_ACCEPT=1 cabal test"
+                          <> " writes it"
+                    Just expected -> formatted `shouldBe` expected
+  vendored <- runIO (either (fail . T.unpack) pure =<< obtain vendoredExamples)
+  modules <-
+    runIO $
+      traverse
+        (\f -> (f,) . fromMaybe "" <$> readUtf8File f)
+        (fmap exampleInput vendored <> inputs)
+  parallel . modifyMaxSuccess (const 5) . withEachSettings $ \settings ->
+    describe "formats at any column limit in one pass, as the same program" $
+      for_ modules $ \(path, source) ->
+        it path . forAll (choose (1, widest source)) $ \limit ->
+          ioProperty $
+            formatExample
+              (Do #check)
+              settings{settingsColumnLimit = limit}
+              Nothing
+              Map.empty
+              (takeFileName path)
+              source
+              <&> \case
+                Left e
+                  | formattingFailed e ->
+                      counterexample
+                        (T.unpack (describeFormatError Plain e))
+                        False
+                _ -> property True
+
+-- | The width of the widest line of a module.
+widest :: Text -> Int
+widest = maximum . (1 :) . fmap T.length . T.lines
+
+-- | Each mark of the files that hold what a module formats to, as @-out-@
+-- in @name-out-N.hs@, with what its tests are named with and the settings
+-- it is formatted with.
+answers :: [(String, String, Settings)]
+answers =
+  [ ("-out-", "", defaultSettings),
+    ("-out'-", " with the alternative settings", alternativeSettings)
+  ]
+
+-- | The column limit a file of the collection says what a module formats
+-- to at, as @name-out-N.hs@ and @name-out'-N.hs@ do, if it is one of those.
+limitOf :: FilePath -> Maybe Int
+limitOf f = do
+  let (front, n) = T.breakOnEnd "-" (T.pack (dropExtension f))
+  guard (any (\(mark, _, _) -> T.pack mark `T.isSuffixOf` front) answers)
+  readMaybe (T.unpack n)
diff --git a/tests/Tilia/Comments/PlaceSpec.hs b/tests/Tilia/Comments/PlaceSpec.hs
--- a/tests/Tilia/Comments/PlaceSpec.hs
+++ b/tests/Tilia/Comments/PlaceSpec.hs
@@ -5,9 +5,10 @@
 
 import Data.Text (Text)
 import Test.Hspec
+
 import Tilia.Comments (Comment (..), renderComment)
 import Tilia.Comments.Place
-import Tilia.Doc.Internal (Spill (..))
+import Tilia.Doc (Spill (..))
 import Tilia.Span
 import Tilia.TestUtils (commentsIn)
 
@@ -34,10 +35,6 @@
                    ]
 
   describe "choosing between the regions on a line" $ do
-    it "takes the one ending latest" $
-      placedIn [foo, theOne] [] "foo = 1 -- note\n"
-        `shouldBe` [("-- note", Just (After SpillAtIndentation, theOne))]
-
     it "takes the outermost of those ending together" $
       placedIn [theOne, wholeOfLineOne] [] "foo = 1 -- note\n"
         `shouldBe` [ ( "-- note",
@@ -135,7 +132,10 @@
                    ]
 
     it "goes before what follows where that comment does" $
-      placedIn [foo, oneOnLineTwo] [mkSpan (1, 6) (2, 4)] "foo = {- a -} -- b\n  1\n"
+      placedIn
+        [foo, oneOnLineTwo]
+        [mkSpan (1, 6) (2, 4)]
+        "foo = {- a -} -- b\n  1\n"
         `shouldBe` [ ("{- a -}", Just (Before, oneOnLineTwo)),
                      ("-- b", Just (Before, oneOnLineTwo))
                    ]
@@ -153,26 +153,33 @@
       placedIn [foo] [] "foo = 1\n-- note\n"
         `shouldBe` [("-- note", Nothing)]
 
-  describe "what a comment will look like" $ do
+  describe "how a comment is placed" $ do
     it "sits in the line before a region when code was written after it" $
-      shapeOf Before (firstComment "foo = {- note -} 1\n") `shouldBe` InPlace
+      commentPlacement Before (firstComment "foo = {- note -} 1\n")
+        `shouldBe` InPlace
 
     it "ends the line before a region when it trailed something" $
-      shapeOf Before (firstComment "foo = 1 -- note\n") `shouldBe` EndsTheLine
+      commentPlacement Before (firstComment "foo = 1 -- note\n")
+        `shouldBe` EndsTheLine
 
     it "takes lines of its own before a region otherwise" $
-      shapeOf Before (firstComment "-- note\nfoo = 1\n") `shouldBe` OnItsOwnLines
+      commentPlacement Before (firstComment "-- note\nfoo = 1\n")
+        `shouldBe` OnItsOwnLines False
 
     it "sits in the line after a region when it closes itself" $
-      shapeOf (After SpillAtIndentation) (firstComment "foo = 1 {- note -}\n")
+      commentPlacement
+        (After SpillAtIndentation)
+        (firstComment "foo = 1 {- note -}\n")
         `shouldBe` InPlace
 
     it "is held back after a region when it is one line of dashes" $
-      shapeOf (After SpillAtIndentation) (firstComment "foo = 1 -- note\n")
+      commentPlacement
+        (After SpillAtIndentation)
+        (firstComment "foo = 1 -- note\n")
         `shouldBe` HeldBack SpillAtIndentation
 
     it "ends the line after a region when it runs over several" $
-      shapeOf
+      commentPlacement
         (After SpillAtIndentation)
         (firstComment "foo = 1 {- one\ntwo -}\n")
         `shouldBe` EndsTheLine
@@ -321,9 +328,16 @@
   [(renderComment c, lookup (commentSpan c) gathered) | c <- cs]
   where
     cs = commentsIn src
-    gathered = fst (foldl collect ([], placeComments regions mempty fences cs) regions)
+    gathered =
+      fst
+        ( foldl
+            collect
+            ([], placeComments regions mempty mempty mempty mempty fences cs)
+            regions
+        )
     collect (found, placements) r = case claimPlaced r placements of
-      (mine, rest) -> (found <> [(commentSpan c, (p, r)) | (p, c) <- mine], rest)
+      (mine, rest) ->
+        (found <> [(commentSpan c, (p, r)) | (p, c) <- mine], rest)
 
 firstComment :: Text -> Comment
 firstComment src = case commentsIn src of
diff --git a/tests/Tilia/Comments/PropertiesSpec.hs b/tests/Tilia/Comments/PropertiesSpec.hs
new file mode 100644
--- /dev/null
+++ b/tests/Tilia/Comments/PropertiesSpec.hs
@@ -0,0 +1,174 @@
+{-# LANGUAGE LambdaCase #-}
+{-# LANGUAGE OverloadedLabels #-}
+{-# LANGUAGE OverloadedStrings #-}
+{-# LANGUAGE PatternSynonyms #-}
+
+-- | Properties that should hold of every module, wherever comments are
+-- written in it.
+module Tilia.Comments.PropertiesSpec (spec) where
+
+import Data.Choice (pattern Do)
+import Data.Foldable (for_)
+import Data.Functor ((<&>))
+import Data.Generics.Schemes (listify)
+import Data.List (nub, sortOn)
+import Data.Map.Strict qualified as Map
+import Data.Maybe (fromMaybe)
+import Data.Ord (Down (..))
+import Data.Set qualified as Set
+import Data.Text (Text)
+import Data.Text qualified as T
+import GHC.Types.SrcLoc qualified as GHC
+import System.FilePath (takeFileName)
+import Test.Hspec hiding (Example, before, example)
+import Test.Hspec.QuickCheck (modifyMaxSuccess)
+import Test.QuickCheck
+
+import Tilia.Corpus
+  ( Corpus (..),
+    Example (..),
+    Expectations (..),
+    Lists (..),
+    obtain,
+    vendoredExamples,
+  )
+import Tilia.Format (describeFormatError, formattingFailed)
+import Tilia.Palette (Palette (Plain))
+import Tilia.Parser (parseModule, pmModule)
+import Tilia.TestConfig (formatExample)
+import Tilia.TestUtils (defaultParserConfig, withEachSettings)
+import Tilia.Utils (readUtf8File, tshow)
+
+spec :: Spec
+spec = do
+  vendored <- runIO (either (fail . T.unpack) pure =<< obtain vendoredExamples)
+  modules <-
+    runIO (traverse withPlaces (exampleInput <$> filter formats vendored))
+  parallel . modifyMaxSuccess (const 5) . withEachSettings $ \settings ->
+    describe "formats commented anywhere in one pass, as the same program" $
+      for_ [m | m@(_, _, _ : _) <- modules] $ \(path, source, places) ->
+        it path . forAllShrink (placesAmong places) shrinkPlaces $ \chosen ->
+          let written = commented chosen source
+           in ioProperty $
+                formatExample
+                  (Do #check)
+                  settings
+                  Nothing
+                  Map.empty
+                  (takeFileName path)
+                  written
+                  <&> \case
+                    Left e
+                      | formattingFailed e ->
+                          counterexample
+                            ( T.unpack
+                                (written <> "\n" <> describeFormatError Plain e)
+                            )
+                            False
+                      | otherwise -> property Discard
+                    Right _ -> property True
+
+-- | Does an example format as written, as the corpus says all but those it
+-- lists as declined do, so that what writing comments in it does can be
+-- told?
+formats :: Example -> Bool
+formats example = case corpusExpectations vendoredExamples of
+  Listed lists -> exampleName example `notElem` fmap fst (expectDeclined lists)
+  Recorded _ -> True
+
+-- | Where a comment can be written: after a token, ending its line there,
+-- or on a line of its own above a line that a token begins.
+data Place
+  = -- | After the token that ends at this line and column.
+    AfterToken !Int !Int
+  | -- | Above this line.
+    AboveLine !Int
+  deriving (Eq, Ord, Show)
+
+-- | A module read from a file, with the places a comment can be written
+-- in it.
+withPlaces :: FilePath -> IO (FilePath, Text, [Place])
+withPlaces path = do
+  source <- fromMaybe "" <$> readUtf8File path
+  pure (path, source, placesIn path source)
+
+-- | The places a comment can be written in a module: after every token and
+-- above every line a token begins, except on a line holding a tab or a
+-- preprocessor directive.
+placesIn ::
+  -- | Its path.
+  FilePath ->
+  -- | The module.
+  Text ->
+  [Place]
+placesIn path source =
+  case parseModule defaultParserConfig (takeFileName path) source of
+    Left _ -> []
+    Right m ->
+      Set.toList . Set.fromList $
+        concatMap placesOf (listify (const True) (pmModule m))
+  where
+    ls = T.lines source
+    placesOf s =
+      [ AfterToken (GHC.srcSpanEndLine s) (GHC.srcSpanEndCol s)
+      | plain (GHC.srcSpanEndLine s)
+      ]
+        <> [ AboveLine (GHC.srcSpanStartLine s)
+           | plain (GHC.srcSpanStartLine s),
+             beginsLine s
+           ]
+    beginsLine s = case drop (GHC.srcSpanStartLine s - 1) ls of
+      t : _ -> T.length (T.takeWhile (== ' ') t) == GHC.srcSpanStartCol s - 1
+      [] -> False
+    plain n = case drop (n - 1) ls of
+      t : _ ->
+        not (T.any (== '\t') t) && not ("#" `T.isPrefixOf` T.stripStart t)
+      [] -> False
+
+-- | One to three of the places.
+placesAmong :: [Place] -> Gen [Place]
+placesAmong places = do
+  n <- choose (1, 3)
+  nub <$> vectorOf n (elements places)
+
+-- | Fewer of the places.
+shrinkPlaces :: [Place] -> [[Place]]
+shrinkPlaces = shrinkList (const [])
+
+-- | A module with a numbered comment written at each place, the places
+-- taken from the last to the first so that each is still where it was.
+--
+-- What follows a comment written after a token goes on the next line at
+-- the column it was at, so that the module stays the same program.
+commented ::
+  -- | The places.
+  [Place] ->
+  -- | The module.
+  Text ->
+  Text
+commented places source =
+  T.unlines . foldl write (T.lines source) $
+    sortOn (Down . key . snd) (zip [1 :: Int ..] places)
+  where
+    key = \case
+      AfterToken l c -> (l, c)
+      AboveLine l -> (l, 0)
+    write ls (n, place) = case place of
+      AfterToken l c -> case splitAt (l - 1) ls of
+        (above, t : below) ->
+          let before = T.take (c - 1) t
+              rest = T.drop (c - 1) t
+              column = T.length before + T.length (T.takeWhile (== ' ') rest)
+              moved = T.replicate column " " <> T.stripStart rest
+           in above
+                <> [T.stripEnd before <> " " <> comment n]
+                <> [moved | not (T.null (T.strip rest))]
+                <> below
+        _ -> ls
+      AboveLine l -> case splitAt (l - 1) ls of
+        (above, t : below) ->
+          above
+            <> [T.takeWhile (== ' ') t <> comment n, t]
+            <> below
+        _ -> ls
+    comment n = "-- c" <> tshow n
diff --git a/tests/Tilia/CommentsSpec.hs b/tests/Tilia/CommentsSpec.hs
--- a/tests/Tilia/CommentsSpec.hs
+++ b/tests/Tilia/CommentsSpec.hs
@@ -8,13 +8,15 @@
 import Data.Text (Text)
 import Data.Text qualified as T
 import Test.Hspec
+
 import Tilia.Comments
 import Tilia.Comments.Attach
 import Tilia.Doc
 import Tilia.Doc.Combinators
 import Tilia.Parser
+import Tilia.Pragma (Pragma (..))
 import Tilia.Span
-import Tilia.TestUtils (commentsIn, parsed)
+import Tilia.TestUtils (commentsIn, indentedBy, parsed, withEachSettings)
 
 spec :: Spec
 spec = do
@@ -61,7 +63,8 @@
       followeds "module M where\n\tx = f 1 {- here -}\n" `shouldBe` [False]
 
     it "takes the comment's text and no more" $
-      bodies "module M where\n\tx = f {- here -} 1\n" `shouldBe` [["{- here -}"]]
+      bodies "module M where\n\tx = f {- here -} 1\n"
+        `shouldBe` [["{- here -}"]]
 
     it "dedents a block comment by what precedes it" $
       bodies "module M where\n\t{- one\n\t   two -}\nx = 1\n"
@@ -106,36 +109,62 @@
     it "widens a section trigger, keeping its stars" $
       widened "module M where\n-- **Foo\nx = 1\n" `shouldBe` [["-- ** Foo"]]
     it "leaves a named anchor alone" $
-      widened "module M where\n-- $section\nx = 1\n" `shouldBe` [["-- $section"]]
+      widened "module M where\n-- $section\nx = 1\n"
+        `shouldBe` [["-- $section"]]
     it "leaves a trigger with nothing after it alone" $
       widened "module M where\n-- |\nx = 1\n" `shouldBe` [["-- |"]]
-    it "shifts continuation lines to match" $
+    it "leaves continuation lines alone" $
       widened "module M where\n{-|Foo\n  bar\n-}\nx = 1\n"
-        `shouldBe` [["{-| Foo", "   bar", " -}"]]
+        `shouldBe` [["{-| Foo", "  bar", "-}"]]
     it "does not widen an ordinary line comment" $
       widened "module M where\n-- x|y\nz = 1\n" `shouldBe` [["-- x|y"]]
 
   describe "pragmas" $ do
     it "recognises one" $
-      (commentPragma <$> commentsIn "{-# LANGUAGE CPP #-}\nmodule M where\nx = 1\n")
+      ( commentPragma
+          <$> commentsIn "{-# LANGUAGE CPP #-}\nmodule M where\nx = 1\n"
+      )
         `shouldBe` [Just (Pragma "LANGUAGE" "CPP" False)]
     it "reads a language pragma past the comments in it, as GHC does" $
-      (commentPragma <$> commentsIn "{-# LANGUAGE\n    CPP -- for the version\n  , {- c -} LambdaCase\n  #-}\nmodule M where\n")
+      ( commentPragma
+          <$> commentsIn
+            "{-# LANGUAGE\n    CPP -- for the version\n  , {- c -} LambdaCase\n  #-}\nmodule M where\n"
+      )
         `shouldBe` [Just (Pragma "LANGUAGE" "CPP , LambdaCase" True)]
     it "leaves a comment's dashes in an options pragma, which GHC reads" $
-      (fmap pragmaBody . commentPragma <$> commentsIn "{-# OPTIONS_GHC -Wall -- no #-}\nmodule M where\n")
+      ( fmap pragmaBody . commentPragma
+          <$> commentsIn "{-# OPTIONS_GHC -Wall -- no #-}\nmodule M where\n"
+      )
         `shouldBe` [Just "-Wall -- no"]
+    it "puts one space between the words of its body" $
+      ( fmap pragmaBody . commentPragma
+          <$> commentsIn
+            "{-# OPTIONS_GHC  -Wall   -Wno-orphans\n    -Werror #-}\nmodule M where\n"
+      )
+        `shouldBe` [Just "-Wall -Wno-orphans -Werror"]
+    it "keeps the spaces in a string literal among the flags" $
+      ( fmap pragmaBody . commentPragma
+          <$> commentsIn
+            "{-# OPTIONS_GHC \"-DX=\\\"a  b\\\"\"  -Wall #-}\nmodule M where\n"
+      )
+        `shouldBe` [Just "\"-DX=\\\"a  b\\\"\" -Wall"]
     it "upper-cases the name" $
-      (fmap pragmaName . commentPragma <$> commentsIn "{-# language CPP #-}\nmodule M where\nx = 1\n")
+      ( fmap pragmaName . commentPragma
+          <$> commentsIn "{-# language CPP #-}\nmodule M where\nx = 1\n"
+      )
         `shouldBe` [Just "LANGUAGE"]
     it "is not fooled by an ordinary block comment" $
-      (commentPragma <$> commentsIn "module M where\n{- not a pragma -}\nx = 1\n")
+      ( commentPragma
+          <$> commentsIn "module M where\n{- not a pragma -}\nx = 1\n"
+      )
         `shouldBe` [Nothing]
     it "reports the header boundary at the module line" $
-      headerLine "{-# LANGUAGE CPP #-}\nmodule M where\nimport Data.List\nx = 1\n"
+      headerLine
+        "{-# LANGUAGE CPP #-}\nmodule M where\nimport Data.List\nx = 1\n"
         `shouldBe` Just 2
     it "reports it where a module without a module line begins" $
-      headerLine "{-# LANGUAGE CPP #-}\nimport Data.List\nx = 1\n" `shouldBe` Just 2
+      headerLine "{-# LANGUAGE CPP #-}\nimport Data.List\nx = 1\n"
+        `shouldBe` Just 2
     it "reports no boundary for a module of pragmas alone" $
       headerLine "{-# LANGUAGE CPP #-}\n" `shouldBe` Nothing
 
@@ -152,7 +181,9 @@
     $ renderComment <$> commentsIn "module M where\n{- one\n   two -}\nx = 1\n"
       `shouldBe` ["{- one\n   two -}"]
 
-  describe "attachment" $ do
+  withEachSettings $ \settings -> describe "attachment" $ do
+    let render = printDoc settings
+        step = indentedBy settings
     it "puts a comment before the node it precedes" $
       let c = one "module M where\n-- note\nx = 1\n"
           d = located (mkSpan (3, 1) (3, 5)) (txt "x = 1")
@@ -166,16 +197,17 @@
     it "descends into the node that contains the comment" $
       let c = one "module M where\nx =\n  -- note\n  1\n"
           inner = located (mkSpan (4, 3) (4, 4)) (txt "1")
-          d = located (mkSpan (2, 1) (4, 4)) (txt "x =" <> indent (hardBreak <> inner))
-       in render (attachComments [c] d) `shouldBe` "x =\n  -- note\n  1\n"
+          d =
+            located
+              (mkSpan (2, 1) (4, 4))
+              (txt "x =" >+> newline <> inner)
+       in render (attachComments [c] d)
+            `shouldBe` "x =\n" <> step 1 <> "-- note\n" <> step 1 <> "1\n"
 
     it "appends a comment that follows every node rather than dropping it" $
       let c = one "module M where\nx = 1\n-- after\n"
           d = located (mkSpan (2, 1) (2, 6)) (txt "x = 1")
-       in
-          -- The blank line is added: a comment after everything is about the
-          -- file rather than about the line it happens to follow.
-          render (attachComments [c] d) `shouldBe` "x = 1\n\n-- after\n"
+       in render (attachComments [c] d) `shouldBe` "x = 1\n-- after\n"
 
     it "reaches inside a variant, whichever branch renders" $
       let c = one "module M where\nx = 1 -- note\n"
@@ -197,14 +229,15 @@
       let cs = commentsIn "module M where\n-- a\nx = 1 -- b\n-- c\ny = 2\n"
           d = located (mkSpan (3, 1) (5, 6)) (txt "code")
           out = render (attachComments cs d)
-       in (length cs, countOf "-- a" out, countOf "-- b" out, countOf "-- c" out)
+       in ( length cs,
+            countOf "-- a" out,
+            countOf "-- b" out,
+            countOf "-- c" out
+          )
             `shouldBe` (3, 1, 1, 1)
 
 ----------------------------------------------------------------------------
 -- Helpers
-
-render :: Doc -> Text
-render = printDoc
 
 one :: Text -> Comment
 one src = case commentsIn src of
diff --git a/tests/Tilia/Corpus.hs b/tests/Tilia/Corpus.hs
--- a/tests/Tilia/Corpus.hs
+++ b/tests/Tilia/Corpus.hs
@@ -11,12 +11,12 @@
     Expectations (..),
     Lists (..),
     vendoredExamples,
-    ormoluExamples,
     ghcTestSuite,
     hackagePackages,
 
     -- * Obtaining one
     Example (..),
+    answerFile,
     obtain,
     corpusCache,
   )
@@ -24,11 +24,16 @@
 
 import Codec.Archive.Tar qualified as Tar
 import Codec.Compression.GZip qualified as GZip
+import Control.Applicative ((<|>))
 import Control.Exception (try)
-import Control.Monad (forM)
+import Control.Monad (forM, guard)
 import Data.ByteString.Lazy qualified as BL
+import Data.IORef (atomicModifyIORef', newIORef, readIORef)
 import Data.List (isPrefixOf, isSuffixOf, sort, stripPrefix)
-import Data.Maybe (fromMaybe, listToMaybe, mapMaybe, maybeToList)
+import Data.Map.Strict (Map)
+import Data.Map.Strict qualified as Map
+import Data.Maybe (fromMaybe, listToMaybe, mapMaybe)
+import Data.Set (Set)
 import Data.Set qualified as Set
 import Data.Text (Text)
 import Data.Text qualified as T
@@ -46,7 +51,14 @@
   )
 import System.Environment (lookupEnv)
 import System.FilePath (splitDirectories, takeDirectory, (</>))
+
 import Tilia.Cabal.Package (newPackageReader, sourceExtensions)
+import Tilia.Cabal.Project (ProjectRoot (..), findProjectRoot)
+import Tilia.Cabal.Target
+  ( describeTargetProblem,
+    packageFilesOf,
+    projectModules,
+  )
 import Tilia.Pragma (Defaults)
 import Tilia.TestUtils (haskellFilesIn)
 import Tilia.Utils (quietly)
@@ -60,7 +72,9 @@
     -- checked.
     NoReference
   | -- | It does, in a file whose name is the input's with the given mark
-    -- put before the extension.
+    -- put before the extension, for 'alternativeSettings' as well, in that
+    -- file unless they give something else, which is in a file with a
+    -- prime after the mark.
     ReferenceMarked String
   deriving (Eq, Show)
 
@@ -84,15 +98,12 @@
 
 -- | The exceptions a 'Listed' corpus makes, named in full.
 data Lists = Lists
-  { -- | Examples to leave alone, named relative to the root of the corpus.
-    -- A name with no extension stands for a directory and takes everything
-    -- under it.
-    expectSkip :: [FilePath],
-    -- | Examples GHC's own parser cannot read, run all the same to check
+  { -- | Examples GHC's own parser cannot read, run all the same to check
     -- that it still cannot.
     expectUnreadable :: [FilePath],
-    -- | Examples the formatter is supposed to refuse.
-    expectDeclined :: [FilePath]
+    -- | Examples the formatter is supposed to refuse, each with the exit
+    -- code it refuses with.
+    expectDeclined :: [(FilePath, Int)]
   }
 
 -- | Where a corpus comes from and what is in it.
@@ -108,7 +119,8 @@
     -- | Are these modules of the package around them?
     --
     -- True for a corpus of releases, where a module is compiled with its
-    -- package's @default-extensions@ and does not parse without them.
+    -- package's @default-extensions@, which it may not parse without, and
+    -- the imports of its project's modules come after the rest.
     corpusInPackages :: Bool
   }
 
@@ -122,47 +134,33 @@
       corpusExpectations =
         Listed
           Lists
-            { expectSkip = [],
-              expectUnreadable = [],
+            { expectUnreadable = [],
               expectDeclined =
-                [ "other" </> "position-pragmas.hs",
-                  "other" </> "line-markers.hs",
-                  "other" </> "cpp" </> "unbalanced.hs",
-                  "other" </> "cpp" </> "define-in-a-quasiquote.hs",
-                  "other" </> "cpp" </> "macro-standing-for-a-bracket.hs",
-                  "other" </> "cpp" </> "macro-before-a-leading-comma.hs",
-                  "other" </> "cpp" </> "branch-opening-a-bracket-it-does-not-close.hs",
-                  "other" </> "cpp" </> "line-marker-passed-on-by-cpp.hs"
+                [ ("pragma" </> "position" </> "position-pragmas.hs", 11),
+                  ("pragma" </> "position" </> "line-markers.hs", 11),
+                  ("pragma" </> "position" </> "position-pragma-after-a-string-gap.hs", 11),
+                  ("cpp" </> "directive" </> "unbalanced.hs", 14),
+                  ("cpp" </> "directive" </> "include-in-a-quasi-quotation.hs", 17),
+                  ("cpp" </> "directive" </> "conditional-in-a-quasi-quotation.hs", 17),
+                  ("cpp" </> "macro" </> "macro-standing-for-a-bracket.hs", 16),
+                  ("cpp" </> "macro" </> "macro-before-a-leading-comma.hs", 19),
+                  ("cpp" </> "expression" </> "branch-opening-a-bracket-it-does-not-close.hs", 16),
+                  ("cpp" </> "expression" </> "string-lines-joined-by-cpp.hs", 12),
+                  ("cpp" </> "comment" </> "code-joined-to-a-comment.hs", 12),
+                  ("cpp" </> "macro" </> "macro-for-a-context-before-a-haddock.hs", 13),
+                  ("cpp" </> "directive" </> "line-marker-passed-on-by-cpp.hs", 11),
+                  ("magic-comment" </> "magic-comment-inside-a-declaration.hs", 23),
+                  ("magic-comment" </> "magic-comment-above-the-where-of-the-header.hs", 23),
+                  ("cpp" </> "directive" </> "directive-left-as-written.hs", 23),
+                  ("cpp" </> "settled" </> "complementary-conditionals-inside-an-expression.hs", 16),
+                  ("cpp" </> "haddock" </> "haddock-above-a-branch-opening-with-an-import.hs", 22),
+                  ("cpp" </> "haddock" </> "haddock-above-a-field-only-some-configurations-have.hs", 22),
+                  ("cpp" </> "haddock" </> "haddock-after-a-record-whose-last-field-is-optional.hs", 22)
                 ]
             },
       corpusInPackages = False
     }
 
--- | Ormolu's examples.
-ormoluExamples :: Corpus
-ormoluExamples =
-  Corpus
-    { corpusName = "ormolu-0.9.0.0",
-      corpusSource =
-        Fetched
-          ( https "hackage.haskell.org"
-              /: "package"
-              /: "ormolu-0.9.0.0"
-              /: "ormolu-0.9.0.0.tar.gz",
-            mempty
-          )
-          ("data" </> "examples"),
-      corpusReference = ReferenceMarked "-out",
-      corpusExpectations =
-        Listed
-          Lists
-            { expectSkip = ormoluSkip,
-              expectUnreadable = ormoluUnreadable,
-              expectDeclined = []
-            },
-      corpusInPackages = False
-    }
-
 -- | GHC's test suite.
 ghcTestSuite :: Corpus
 ghcTestSuite =
@@ -184,29 +182,25 @@
       corpusExpectations =
         Listed
           Lists
-            { expectSkip =
-                [ "numeric" </> "should_run" </> "quotRem2Large.hs",
-                  "perf" </> "compiler" </> "parsing001.hs"
-                ],
-              expectUnreadable = ghcUnreadable,
+            { expectUnreadable = ghcUnreadable,
               expectDeclined = ghcDeclined
             },
       corpusInPackages = False
     }
 
 -- | GHC test suite files the formatter is right to refuse.
-ghcDeclined :: [FilePath]
+ghcDeclined :: [(FilePath, Int)]
 ghcDeclined =
-  [ "driver" </> "T17786.hs",
-    "ghci.debugger" </> "HappyTest.hs",
-    "overloadedrecflds" </> "should_run" </> "overloadedlabelsrun04.hs",
-    "parser" </> "should_compile" </> "ColumnPragma.hs",
-    "parser" </> "should_compile" </> "T7118.hs",
-    "perf" </> "compiler" </> "T20261.hs",
-    "perf" </> "compiler" </> "T5631.hs",
-    "programs" </> "joao-circular" </> "Funcs_Parser_Lazy.hs",
-    "quasiquotation" </> "T4150.hs",
-    "th" </> "T23378A.hs"
+  [ ("driver" </> "T17786.hs", 14),
+    ("ghci.debugger" </> "HappyTest.hs", 11),
+    ("overloadedrecflds" </> "should_run" </> "overloadedlabelsrun04.hs", 11),
+    ("parser" </> "should_compile" </> "ColumnPragma.hs", 11),
+    ("parser" </> "should_compile" </> "T7118.hs", 11),
+    ("perf" </> "compiler" </> "T20261.hs", 11),
+    ("perf" </> "compiler" </> "T5631.hs", 11),
+    ("programs" </> "joao-circular" </> "Funcs_Parser_Lazy.hs", 11),
+    ("quasiquotation" </> "T4150.hs", 17),
+    ("th" </> "T23378A.hs", 16)
   ]
 
 -- | Packages from Hackage.
@@ -216,7 +210,8 @@
     { corpusName = "hackage",
       corpusSource = HackageReleases hackageReleases,
       corpusReference = NoReference,
-      corpusExpectations = Recorded ("corpora" </> "hackage" </> "hackage.manifest"),
+      corpusExpectations =
+        Recorded ("corpora" </> "hackage" </> "hackage.manifest"),
       corpusInPackages = True
     }
 
@@ -245,6 +240,7 @@
     "contravariant-1.5.6",
     "criterion-1.6.5.0",
     "cryptonite-0.30",
+    "dhall-1.42.3",
     "diagrams-core-1.5.1.2",
     "distributed-process-0.7.8",
     "dlist-1.0",
@@ -320,132 +316,6 @@
     "yesod-core-1.7.0.0"
   ]
 
--- | Ormolu examples we do not format the way Ormolu does.
-ormoluSkip :: [FilePath]
-ormoluSkip =
-  [ "other" </> "disabling",
-    "declaration" </> "value" </> "function" </> "required-type-arguments-2.hs",
-    "declaration" </> "data" </> "comment-in-empty-record.hs",
-    "import" </> "comment-inside-empty-import-list.hs",
-    "other" </> "comment-two-blocks.hs",
-    "other" </> "comment-glued-together.hs",
-    "other" </> "multiple-blank-line-comment.hs",
-    "declaration" </> "type" </> "parens-comments.hs",
-    "declaration" </> "value" </> "function" </> "parens-comments.hs",
-    "import" </> "comments-inside-imports.hs",
-    "import" </> "comment-between-merged-imports.hs",
-    "import" </> "comment-before-merged-imports.hs",
-    "import" </> "data.hs",
-    "import" </> "explicit-imports.hs",
-    "import" </> "explicit-level-imports.hs",
-    "import" </> "merging-0.hs",
-    "import" </> "merging-1.hs",
-    "import" </> "merging-2.hs",
-    "import" </> "simple.hs",
-    "declaration" </> "data" </> "with-comment.hs",
-    "declaration" </> "data" </> "record-empty-haddock.hs",
-    "other" </> "empty-haddock.hs",
-    "declaration" </> "value" </> "function" </> "arrow" </> "proc-do-complex.hs",
-    "declaration" </> "value" </> "function" </> "comprehension" </> "transform-multi-line2.hs",
-    "declaration" </> "value" </> "function" </> "if-with-comment-next-to-keyword.hs",
-    "declaration" </> "value" </> "function" </> "operator-comments-2.hs",
-    "declaration" </> "value" </> "function" </> "record" </> "wildcard-comments-0.hs",
-    "declaration" </> "value" </> "function" </> "record" </> "wildcard-comments-1.hs",
-    "other" </> "pragma-comments-after.hs",
-    "other" </> "pragma.hs",
-    "declaration" </> "value" </> "function" </> "infix" </> "esqueleto-0.hs",
-    "declaration" </> "value" </> "function" </> "infix" </> "esqueleto-1.hs",
-    "declaration" </> "class" </> "default-signatures.hs",
-    "declaration" </> "class" </> "super-classes.hs",
-    "declaration" </> "type-families" </> "closed-type-family" </> "with-comments.hs",
-    "declaration" </> "deriving" </> "singleline.hs",
-    "declaration" </> "deriving" </> "multiline.hs",
-    "declaration" </> "deriving" </> "overlapping.hs",
-    "declaration" </> "warning" </> "warning-single-line.hs",
-    "declaration" </> "value" </> "function" </> "parallel-comprehensions-complex.hs",
-    "other" </> "comment-opening-a-list.hs",
-    "declaration" </> "class" </> "newlines-between-methods.hs",
-    "declaration" </> "instance" </> "newlines-between-methods.hs",
-    "other" </> "comment-in-empty-list.hs",
-    "declaration" </> "class" </> "associated-type-defaults.hs",
-    "declaration" </> "class" </> "default-implementations-comments.hs",
-    "other" </> "invalid-haddock-1.hs",
-    "declaration" </> "value" </> "function" </> "infix" </> "do.hs",
-    "declaration" </> "data" </> "multiline-arg-parens.hs",
-    "module-header" </> "multiline-with-comments.hs",
-    "declaration" </> "value" </> "function" </> "awkward-comment-1.hs",
-    "declaration" </> "signature" </> "pattern" </> "multiline.hs",
-    "declaration" </> "splice" </> "quasiquote.hs",
-    "declaration" </> "value" </> "function" </> "quasi-quotes.hs",
-    "declaration" </> "value" </> "function" </> "operator-comments-0.hs",
-    "declaration" </> "signature" </> "fixity" </> "infix.hs",
-    "declaration" </> "class" </> "associated-data2.hs",
-    "declaration" </> "class" </> "associated-types2.hs",
-    "declaration" </> "class" </> "dependency-super-classes.hs",
-    "declaration" </> "class" </> "functional-dependencies.hs",
-    "declaration" </> "class" </> "multi-parameters2.hs",
-    "declaration" </> "data" </> "gadt" </> "multiline.hs",
-    "declaration" </> "data" </> "gadt" </> "simple.hs",
-    "import" </> "no-implicit-prelude-package.hs",
-    "other" </> "pragma-sorting.hs",
-    "declaration" </> "splice" </> "bracket.hs",
-    "declaration" </> "class" </> "type-operators3.hs",
-    "other" </> "cpp" </> "lonely-hash.hs",
-    "other" </> "cpp" </> "separation-0a.hs",
-    "other" </> "cpp" </> "separation-0b.hs",
-    "other" </> "cpp" </> "separation-1a.hs",
-    "other" </> "cpp" </> "separation-1b.hs",
-    "other" </> "cpp" </> "separation-2a.hs",
-    "other" </> "cpp" </> "separation-2b.hs",
-    "other" </> "cpp" </> "shifted.hs",
-    "other" </> "cpp" </> "simple-import.hs",
-    "declaration" </> "signature" </> "specialize" </> "specialize-2.hs"
-  ]
-    <> ormoluRecordBraces
-
--- | Ormolu examples with a space between a record and its braces.
-ormoluRecordBraces :: [FilePath]
-ormoluRecordBraces =
-  [ "declaration" </> "data" </> "linear.hs",
-    "declaration" </> "data" </> "record-singleline.hs",
-    "declaration" </> "data" </> "simple-broken.hs",
-    "declaration" </> "data" </> "strictness.hs",
-    "declaration" </> "value" </> "function" </> "lambda-case.hs",
-    "declaration" </> "value" </> "function" </> "operator-comments-3.hs",
-    "declaration" </> "value" </> "function" </> "pattern" </> "record-patterns.hs",
-    "declaration" </> "value" </> "function" </> "record" </> "constructors.hs",
-    "declaration" </> "value" </> "function" </> "record" </> "record-dot.hs",
-    "declaration" </> "value" </> "function" </> "record" </> "updaters.hs",
-    "declaration" </> "value" </> "function" </> "record" </> "wildcards.hs",
-    "declaration" </> "value" </> "pattern-synonyms" </> "bidirectional.hs",
-    "declaration" </> "value" </> "pattern-synonyms" </> "unidirectional.hs",
-    "declaration" </> "value" </> "function" </> "pragmas.hs"
-  ]
-
--- | Ormolu examples GHC's own parser cannot read.
-ormoluUnreadable :: [FilePath]
-ormoluUnreadable =
-  [ "declaration" </> "data" </> "datatype-contexts.hs",
-    "declaration" </> "foreign" </> "foreign-import-multiline.hs",
-    "declaration" </> "value" </> "function" </> "application-1.hs",
-    "declaration" </> "value" </> "function" </> "application-2.hs",
-    "declaration" </> "value" </> "function" </> "arrow" </> "proc-cases.hs",
-    "declaration" </> "value" </> "function" </> "arrow" </> "proc-do-simple1.hs",
-    "declaration" </> "value" </> "function" </> "block-arguments.hs",
-    "declaration" </> "value" </> "function" </> "case-empty.hs",
-    "declaration" </> "value" </> "function" </> "do-single-line-lambda-case.hs",
-    "declaration" </> "value" </> "function" </> "if-multi-line.hs",
-    "declaration" </> "value" </> "function" </> "infix" </> "hanging.hs",
-    "declaration" </> "value" </> "function" </> "let-multi-line.hs",
-    "declaration" </> "value" </> "function" </> "let-single-line.hs",
-    "declaration" </> "value" </> "function" </> "negation.hs",
-    "declaration" </> "value" </> "function" </> "negative-literals.hs",
-    "declaration" </> "value" </> "function" </> "pattern" </> "or-patterns.hs",
-    "declaration" </> "value" </> "function" </> "type-applications.hs",
-    "other" </> "comment-before-hanging.hs",
-    "other" </> "necessary-brackets.hs"
-  ]
-
 -- | GHC test suite files GHC's own parser cannot read.
 ghcUnreadable :: [FilePath]
 ghcUnreadable =
@@ -798,15 +668,23 @@
     exampleName :: FilePath,
     -- | The file to format, as an absolute path on this machine.
     exampleInput :: FilePath,
-    -- | The file holding what the corpus says formatting should produce, if
-    -- it says. 'Nothing' for a corpus that ships no expected outputs, and
-    -- for an example within one that happens to have none.
+    -- | The file holding what the corpus says formatting should produce,
+    -- written or not, or 'Nothing' for a corpus that ships no expected
+    -- outputs.
     exampleReference :: Maybe FilePath,
+    -- | The file holding what formatting should produce with
+    -- 'alternativeSettings', if the corpus says: one of their own where
+    -- they give something else, the one above where they do not.
+    exampleAlternativeReference :: Maybe FilePath,
     -- | What the package around it puts in force, already resolved from its
     -- @.cabal@ file. 'Nothing' for a corpus whose examples are not modules
     -- of a package, see 'corpusInPackages', and for one whose package could
     -- not be read.
-    exampleExtensions :: Maybe Defaults
+    exampleExtensions :: Maybe Defaults,
+    -- | The modules the project around it declares, each with the names of
+    -- the packages that declare it, and none for a corpus whose examples
+    -- are not modules of a package.
+    exampleOwnModules :: Map Text (Set Text)
   }
   deriving (Eq, Show)
 
@@ -851,7 +729,8 @@
 --
 -- Fetching happens once and unpacking happens once, and either step already
 -- done is skipped.
-fetch :: (Url 'Https, Option 'Https) -> FilePath -> FilePath -> IO (Either Text ())
+fetch ::
+  (Url 'Https, Option 'Https) -> FilePath -> FilePath -> IO (Either Text ())
 fetch url archive unpacked =
   doesDirectoryExist unpacked >>= \case
     True -> pure (Right ())
@@ -908,9 +787,10 @@
       runReq defaultHttpConfig $
         responseBody <$> req GET url NoReqBody lbsResponse query
     explain = \case
-      VanillaHttpException (HTTP.HttpExceptionRequest _ reason) -> flatten reason
+      VanillaHttpException (HTTP.HttpExceptionRequest _ reason) ->
+        flatten reason
       other -> flatten other
-    flatten :: (Show a) => a -> Text
+    flatten :: Show a => a -> Text
     flatten = T.take 200 . T.unwords . T.words . T.pack . show
 
 -- | Unpack the Haskell files of an archive, dropping its top-level
@@ -920,7 +800,11 @@
   removePathForcibly staging
   outcome <- quietly (Left "could not unpack") $ do
     bytes <- BL.readFile archive
-    Tar.foldEntries write (pure ()) (const (pure ())) (Tar.read (GZip.decompress bytes))
+    Tar.foldEntries
+      write
+      (pure ())
+      (const (pure ()))
+      (Tar.read (GZip.decompress bytes))
     pure (Right ())
   case outcome of
     Left problem -> do
@@ -953,52 +837,94 @@
 
 -- | Every example in these directories of an unpacked corpus, named from
 -- its root, in a settled order.
-examplesIn :: Corpus -> FilePath -> [FilePath] -> IO [Example]
+examplesIn ::
+  -- | The corpus.
+  Corpus ->
+  -- | Where it is unpacked, which the examples are named from.
+  FilePath ->
+  -- | The directories to look in.
+  [FilePath] ->
+  IO [Example]
 examplesIn corpus root dirs = do
   found <- sort . concat <$> traverse haskellFilesIn dirs
   reader <- packageReaderFor corpus
+  own <- ownModulesReaderFor corpus
   let present = Set.fromList found
-      files = filter (not . skipped) found
-      example f reference = Example (nameOf f) f reference <$> reader f
+      example f reference alternative =
+        Example (nameOf f) f reference alternative <$> reader f <*> own f
   case corpusReference corpus of
-    NoReference -> traverse (`example` Nothing) files
+    NoReference -> traverse (\f -> example f Nothing Nothing) found
     ReferenceMarked mark ->
-      forM (filter (not . answerTo mark present) files) $ \f ->
-        if mark `isSuffixOf` stemOf f
-          then example f (Just f)
-          else do
-            let reference = stemOf f <> mark <> extensionOf f
-            there <- doesFileExist reference
-            example f (if there then Just reference else Nothing)
+      forM (filter (not . answerTo mark present) found) $ \f -> do
+        let reference = answerFile mark f
+        primed <- existing (answerFile (mark <> "'") f)
+        example f (Just reference) (primed <|> Just reference)
   where
     nameOf f = fromMaybe f (stripPrefix (root <> "/") f)
-    answerTo mark present f = case withoutSuffix mark (stemOf f) of
-      Just stem -> Set.member (stem <> extensionOf f) present
-      Nothing -> False
-    skipped f = any listed (nameOf f : maybeToList (inputFor (nameOf f)))
-    listed name = any covers skips
-      where
-        covers entry = entry == name || (entry <> "/") `isPrefixOf` name
-    skips = case corpusExpectations corpus of
-      Listed lists -> expectSkip lists
-      Recorded _ -> []
-    inputFor name = case corpusReference corpus of
-      ReferenceMarked mark
-        | Just stem <- withoutSuffix mark (stemOf name) ->
-            Just (stem <> extensionOf name)
-      _ -> Nothing
-    withoutSuffix suffix name
-      | suffix `isSuffixOf` name = Just (take (length name - length suffix) name)
-      | otherwise = Nothing
-    stemOf f =
-      fromMaybe f (listToMaybe (mapMaybe (`withoutSuffix` f) sourceExtensions))
-    extensionOf f =
-      fromMaybe "" (listToMaybe (filter (`isSuffixOf` f) sourceExtensions))
+    existing f = (\there -> f <$ guard there) <$> doesFileExist f
+    answerTo mark present f =
+      any
+        (\stem -> Set.member (stem <> extensionOf f) present)
+        (mapMaybe (`withoutSuffix` stemOf f) (marks mark))
+    marks mark = [mark <> "'", mark]
 
+-- | Where a corpus with answers keeps one for an example: the example's
+-- file with the mark put before its extension, as in @name-out.hs@.
+answerFile ::
+  -- | The mark.
+  String ->
+  -- | The example's file.
+  FilePath ->
+  FilePath
+answerFile mark f = stemOf f <> mark <> extensionOf f
+
+-- | A file's name less the extension of a Haskell source file it has.
+stemOf :: FilePath -> FilePath
+stemOf f =
+  fromMaybe f (listToMaybe (mapMaybe (`withoutSuffix` f) sourceExtensions))
+
+-- | The extension of a Haskell source file a file has, if any.
+extensionOf :: FilePath -> String
+extensionOf f =
+  fromMaybe "" (listToMaybe (filter (`isSuffixOf` f) sourceExtensions))
+
+-- | A name less a suffix, if it ends with that suffix.
+withoutSuffix ::
+  -- | The suffix.
+  String ->
+  -- | The name.
+  String ->
+  Maybe String
+withoutSuffix suffix name
+  | suffix `isSuffixOf` name = Just (take (length name - length suffix) name)
+  | otherwise = Nothing
+
+-- | The modules the project around each of a corpus's examples declares,
+-- read once for every project.
+ownModulesReaderFor :: Corpus -> IO (FilePath -> IO (Map Text (Set Text)))
+ownModulesReaderFor corpus
+  | not (corpusInPackages corpus) = pure (const (pure Map.empty))
+  | otherwise = do
+      known <- newIORef Map.empty
+      pure $ \f ->
+        findProjectRoot f >>= \case
+          Nothing -> pure Map.empty
+          Just root ->
+            Map.lookup (prPath root) <$> readIORef known >>= \case
+              Just modules -> pure modules
+              Nothing -> do
+                modules <-
+                  either (fail . T.unpack . describeTargetProblem) pure
+                    =<< either (pure . Left) projectModules
+                    =<< packageFilesOf root
+                atomicModifyIORef' known $
+                  (,()) . Map.insert (prPath root) modules
+                pure modules
+
 -- | What each of a corpus's examples has in force before its own pragmas.
 packageReaderFor :: Corpus -> IO (FilePath -> IO (Maybe Defaults))
 packageReaderFor corpus
   | not (corpusInPackages corpus) = pure (const (pure Nothing))
   | otherwise = do
-      reader <- newPackageReader Nothing []
+      reader <- newPackageReader Nothing Map.empty []
       pure (fmap (either (const Nothing) Just) . reader)
diff --git a/tests/Tilia/Corpus/Manifest.hs b/tests/Tilia/Corpus/Manifest.hs
--- a/tests/Tilia/Corpus/Manifest.hs
+++ b/tests/Tilia/Corpus/Manifest.hs
@@ -32,6 +32,7 @@
 import Data.Text.Encoding qualified as T
 import System.Directory (createDirectoryIfMissing)
 import System.FilePath (takeDirectory)
+
 import Tilia.Utils (readUtf8File, writeUtf8File)
 
 ----------------------------------------------------------------------------
@@ -44,7 +45,7 @@
     Formatted
   | -- | Nothing was found wrong with it, and one of the things worth asking
     -- went unasked because it could not be afforded. See
-    -- 'Tilia.CorpusSpec.checkCpp'.
+    -- 'Tilia.TestConfig.configurationsToCheck'.
     PartlyChecked
   | -- | The input is Haskell, and the formatter refuses to rewrite it.
     Declined
@@ -126,7 +127,7 @@
   where
     header =
       [ "# What each example of this corpus does today, one line each.",
-        "# Generated: run the test suite with TILIA_CORPUS_ACCEPT=1.",
+        "# Generated: run the test suite with TILIA_HACKAGE_ACCEPT=1.",
         "# See Tilia.Corpus.Manifest for what the outcomes mean, and the",
         "# matching .report for why each example that is not `formatted` is",
         "# not.",
@@ -137,7 +138,13 @@
         <> T.justifyLeft 14 ' ' (entryDigest entry)
         <> T.pack name
     width =
-      2 + maximum (1 : fmap (T.length . outcomeName . entryOutcome) (Map.elems manifest))
+      2
+        + maximum
+          ( 1
+              : fmap
+                (T.length . outcomeName . entryOutcome)
+                (Map.elems manifest)
+          )
 
 -- | The reasons a report gives, by example: the outcome it is filed under,
 -- and the lines that say why.
@@ -163,7 +170,10 @@
           not (T.null name),
           not (" " `T.isPrefixOf` name) ->
             let (reason, rest') = span ("    " `T.isPrefixOf`) rest
-             in go section (Map.insert (T.unpack name) (outcome, reason) report) rest'
+             in go
+                  section
+                  (Map.insert (T.unpack name) (outcome, reason) report)
+                  rest'
       _ : rest -> go section report rest
     ruled line = not (T.null line) && T.all (== '=') line
 
@@ -176,7 +186,12 @@
   where
     interesting = [e | e@(_, outcome, _) <- entries, outcome /= Formatted]
     grouped =
-      [ (outcome, [(name, why) | (name, o, why) <- sortOn first interesting, o == outcome])
+      [ ( outcome,
+          [ (name, why)
+          | (name, o, why) <- sortOn first interesting,
+            o == outcome
+          ]
+        )
       | outcome <- sections
       ]
     first (name, _, _) = name
diff --git a/tests/Tilia/CorpusSpec.hs b/tests/Tilia/CorpusSpec.hs
--- a/tests/Tilia/CorpusSpec.hs
+++ b/tests/Tilia/CorpusSpec.hs
@@ -1,113 +1,181 @@
 {-# LANGUAGE LambdaCase #-}
+{-# LANGUAGE OverloadedLabels #-}
 {-# LANGUAGE OverloadedStrings #-}
+{-# LANGUAGE PatternSynonyms #-}
 
 -- | Formatting other people's Haskell.
 module Tilia.CorpusSpec (spec) where
 
 import Control.Exception (SomeException, evaluate, try)
-import Control.Monad (join, unless)
+import Control.Monad (foldM, join, unless, (<=<))
 import Data.ByteString qualified as BS
+import Data.Choice (isTrue, pattern Do, pattern Don't)
 import Data.Foldable (for_)
+import Data.Functor ((<&>))
 import Data.IORef (IORef, atomicModifyIORef', newIORef, readIORef)
 import Data.Map.Strict qualified as Map
+import Data.Maybe (isJust)
 import Data.Set qualified as Set
 import Data.Text (Text)
 import Data.Text qualified as T
 import Data.Text.Encoding (decodeUtf8')
-import System.Directory (createDirectoryIfMissing)
-import System.FilePath (replaceExtension, (</>))
+import System.Directory
+  ( copyFile,
+    createDirectoryIfMissing,
+    doesFileExist,
+    removePathForcibly,
+  )
+import System.Environment (lookupEnv)
+import System.FilePath (replaceExtension, takeDirectory, (</>))
 import System.IO (stdout)
 import System.IO.Temp (withSystemTempDirectory)
 import Test.Hspec hiding (Example, after, before, example)
+
 import Tilia.Corpus
 import Tilia.Corpus.Manifest
-import Tilia.Cpp (describeCppError, usesCpp)
+import Tilia.Cpp (countLeaves, describeCppError, usesCpp)
 import Tilia.Diff qualified as Diff
-import Tilia.Equivalence (commentDifference, syntaxDifference)
-import Tilia.Palette (Color (Meta), Palette (Plain), paint, paletteFor)
-import Tilia.Parser
-  ( ParseError (..),
-    ParsedModule (..),
-    parseModule,
+import Tilia.Format
+  ( FormatError (..),
+    describeFormatError,
+    formatErrorExitCode,
+    refused,
   )
-import Tilia.Pragma (Defaults, movesPositions)
+import Tilia.Palette (Color (Meta), Palette (Plain), paint, paletteFor)
+import Tilia.Parser (ParseError (..))
+import Tilia.Pragma (Defaults)
+import Tilia.Settings (Settings, alternativeSettings, defaultSettings)
 import Tilia.Span (spanStartColumn, spanStartLine)
 import Tilia.Span.Ghc (spanOfSrcSpan)
-import Tilia.TestConfig (formatCppExample, printExample)
-import Tilia.TestUtils
-  ( answeredLeaves,
-    answeredLinearLeaves,
-    countLeaves,
+import Tilia.TestConfig
+  ( configurationsToCheck,
     effectiveExtensionsFor,
-    parserConfigFor,
+    formatExample,
+  )
+import Tilia.TestUtils
+  ( settingsToTest,
     switchedOn,
     withEnvironment,
   )
+import Tilia.Utils (tshow, writeUtf8File)
 
 spec :: Spec
 spec = do
+  testedSettings <-
+    runIO (filter ((/= defaultSettings) . snd) <$> settingsToTest)
   describe "obtaining Hackage releases" $
     it "takes in only the releases listed, whatever else is in the cache" $
       withSystemTempDirectory "tilia-corpus" $ \cache -> do
         for_ ["listed-1.0", "unlisted-1.0"] $ \release -> do
           createDirectoryIfMissing True (cache </> "hackage" </> release)
-          writeFile (cache </> "hackage" </> release </> "M.hs") "module M where\n"
+          writeFile
+            (cache </> "hackage" </> release </> "M.hs")
+            "module M where\n"
         obtained <-
           withEnvironment [("TILIA_CORPUS_DIR", cache)] . obtain $
             hackagePackages{corpusSource = HackageReleases ["listed-1.0"]}
         fmap (fmap exampleName) obtained `shouldBe` Right ["listed-1.0/M.hs"]
-  corpusSpec vendoredExamples
-  corpusSpec ormoluExamples
-  corpusSpec ghcTestSuite
-  corpusSpec hackagePackages
+  corpusSpec testedSettings vendoredExamples
+  corpusSpec testedSettings ghcTestSuite
+  corpusSpec testedSettings hackagePackages
 
 -- | Every example of one corpus.
-corpusSpec :: Corpus -> Spec
-corpusSpec corpus =
+corpusSpec ::
+  -- | The settings other than the defaults to check it with, each with its
+  -- name.
+  [(String, Settings)] ->
+  -- | The corpus.
+  Corpus ->
+  Spec
+corpusSpec testedSettings corpus =
   describe (corpusName corpus) $
     runIO (obtain corpus) >>= \case
       Left problem ->
         it "is available" . expectationFailure $
-          "corpus not on this machine and could not be fetched: " <> T.unpack problem
+          "corpus not on this machine and could not be fetched: "
+            <> T.unpack problem
       Right examples -> do
         palette <- runIO (paletteFor stdout)
+        dumpExample <- runIO (dumpExampleForCorpus (corpusName corpus))
+        accepting <- runIO (switchedOn "TILIA_VENDORED_ACCEPT")
+        let answered = case corpusReference corpus of
+              ReferenceMarked mark | accepting -> answersWritten mark
+              _ -> pure
         case corpusExpectations corpus of
-          Listed lists -> againstLists lists (check palette) examples
+          Listed lists ->
+            againstLists
+              lists
+              (check palette dumpExample defaults testedSettings <=< answered)
+              examples
           -- Plain, so that what a record says does not depend on whether the
           -- run that wrote it printed to a terminal.
-          Recorded path -> againstRecord path (check Plain) examples
+          Recorded path -> do
+            let report = replaceExtension path ".report"
+            describe (fst defaults) $
+              againstRecord
+                (path, report)
+                (check Plain dumpExample defaults unrecorded)
+                examples
+            describe (fst alternative) $
+              againstRecord
+                (path <> "'", report <> "'")
+                (check Plain dumpExample alternative [])
+                examples
+  where
+    defaults = ("the default settings", defaultSettings)
+    alternative = ("the alternative settings", alternativeSettings)
+    unrecorded = filter ((/= alternativeSettings) . snd) testedSettings
 
 -- | A corpus small enough to name its exceptions in "Tilia.Corpus".
 againstLists :: Lists -> (Example -> IO Result) -> [Example] -> Spec
-againstLists listed run examples =
+againstLists listed run examples = do
   parallel $ for_ examples $ \example ->
     it (exampleName example) $ do
       result <- run example
-      let holds = Set.member (exampleName example)
-      case verdict (holds unreadable) (holds declines) result of
+      let name = exampleName example
+      case verdict
+        (Set.member name unreadable)
+        (Map.lookup name declines)
+        result of
         Passes -> pure ()
         Fails why -> expectationFailure (T.unpack why)
         Reserved why -> pendingWith (T.unpack why)
+  it "lists nothing it does not have" $ do
+    let gone = filter (`Set.notMember` had) listedNames
+    unless (null gone) . expectationFailure $
+      "the corpus lists examples it does not have: " <> unwords gone
   where
     unreadable = Set.fromList (expectUnreadable listed)
-    declines = Set.fromList (expectDeclined listed)
+    declines = Map.fromList (expectDeclined listed)
+    listedNames = expectUnreadable listed <> Map.keys declines
+    had = Set.fromList (fmap exampleName examples)
 
 -- | A corpus checked against a generated record of what it does.
-againstRecord :: FilePath -> (Example -> IO Result) -> [Example] -> Spec
-againstRecord path run examples = do
-  accept <- runIO (switchedOn "TILIA_CORPUS_ACCEPT")
+againstRecord ::
+  -- | The manifest of the record and its report.
+  (FilePath, FilePath) ->
+  -- | How to check an example.
+  (Example -> IO Result) ->
+  -- | The examples.
+  [Example] ->
+  Spec
+againstRecord (path, reportPath) run examples = do
+  accept <- runIO (switchedOn "TILIA_HACKAGE_ACCEPT")
   if accept then accepted else checked
   where
-    reportPath = replaceExtension path ".report"
-
     accepted = do
       seen <- runIO (newIORef [])
       afterAll_ (record seen) $
         parallel $
           for_ examples $ \example ->
             it (exampleName example) $ do
-              Result outcome why digest <- run example
-              note seen (exampleName example, Entry outcome digest, T.take reasonLength why)
+              Result outcome why digest _ <- run example
+              note
+                seen
+                ( exampleName example,
+                  Entry outcome digest,
+                  T.take reasonLength why
+                )
 
     record seen = do
       noted <- readIORef seen
@@ -134,14 +202,16 @@
       report <- runIO (readReport reportPath)
       parallel $ for_ examples $ \example ->
         it (exampleName example) $ do
-          Result outcome why digest <- run example
+          Result outcome why digest _ <- run example
           case Map.lookup (exampleName example) manifest of
             Nothing -> expectationFailure (T.unpack (unrecorded outcome))
             Just expected
               | entryOutcome expected /= outcome ->
-                  expectationFailure (T.unpack (moved (entryOutcome expected) outcome why))
+                  expectationFailure
+                    (T.unpack (moved (entryOutcome expected) outcome why))
               | entryDigest expected /= digest ->
-                  expectationFailure (T.unpack (rewritten (entryDigest expected) digest))
+                  expectationFailure
+                    (T.unpack (rewritten (entryDigest expected) digest))
               | Just problem <-
                   misreported
                     (Map.lookup (exampleName example) report)
@@ -177,7 +247,11 @@
     misreported filed outcome reason = case (outcome, filed) of
       (Formatted, Nothing) -> Nothing
       (Formatted, Just _) ->
-        Just (T.pack reportPath <> " gives a reason why this is not formatted, and it is" <> T.pack regenerate)
+        Just
+          ( T.pack reportPath
+              <> " gives a reason why this is not formatted, and it is"
+              <> T.pack regenerate
+          )
       (_, Just (filedUnder, given))
         | filedUnder == outcome && given == reason -> Nothing
       _ ->
@@ -215,7 +289,7 @@
 
     regenerate =
       "\n\nIf that is the intended change, regenerate the record:"
-        <> "\n    TILIA_CORPUS_ACCEPT=1 cabal test"
+        <> "\n    TILIA_HACKAGE_ACCEPT=1 cabal test"
 
 -- | How much of an example's reason a record keeps.
 reasonLength :: Int
@@ -232,7 +306,9 @@
     resultWhy :: Text,
     -- | A digest of what the formatter wrote, or
     -- 'Tilia.Corpus.Manifest.noDigest' where it wrote nothing.
-    resultDigest :: Text
+    resultDigest :: Text,
+    -- | The exit code formatting gave up with, where it gave up.
+    resultExitCode :: Maybe Int
   }
 
 -- | What the runner should do about what one example produced.
@@ -251,25 +327,38 @@
 verdict ::
   -- | Does the corpus say this one cannot be read?
   Bool ->
-  -- | Does the corpus say this one should be declined?
-  Bool ->
+  -- | The exit code the corpus says this one is declined with, if it says.
+  Maybe Int ->
+  -- | What the example produced.
   Result ->
   Verdict
-verdict True _ (Result outcome _ _)
+verdict True _ (Result outcome _ _ _)
   | outcome `elem` [DoesNotParse, NotUtf8] = Passes
   | otherwise = Fails "the corpus says this cannot be read, and it was read"
-verdict False declines (Result outcome why _) = case outcome of
+verdict False declines result@(Result outcome why _ _) = case outcome of
   Broken -> Fails why
   NotUtf8 -> Fails (unlisted "is not UTF-8")
   DoesNotParse -> Fails (unlisted ("does not parse, at " <> why))
   Declined
-    | declines -> Passes
-    | otherwise -> Fails "the formatter declined this, and the corpus does not say it should"
+    | Just expected <- declines,
+      resultExitCode result /= Just expected ->
+        Fails
+          ( "the corpus says this is declined with exit code "
+              <> tshow expected
+              <> ", and it is declined with "
+              <> maybe "none" tshow (resultExitCode result)
+              <> ": "
+              <> why
+          )
+    | Just _ <- declines -> Passes
+    | otherwise ->
+        Fails
+          "the formatter declined this, and the corpus does not say it should"
   PartlyChecked
-    | declines -> Fails wasNotDeclined
+    | Just _ <- declines -> Fails wasNotDeclined
     | otherwise -> Reserved why
   Formatted
-    | declines -> Fails wasNotDeclined
+    | Just _ <- declines -> Fails wasNotDeclined
     | otherwise -> Passes
   where
     wasNotDeclined = "the corpus says this should be declined, and it was not"
@@ -278,24 +367,187 @@
         <> what
         <> ", and the corpus does not list it under expectUnreadable"
 
-check :: Palette -> Example -> IO Result
-check palette example = do
+-- | What formatting one example, with every check, establishes, with some
+-- settings and then, where it formats with them, with each of the others.
+check ::
+  -- | How to color the diffs it reports.
+  Palette ->
+  -- | What to do with the output, given the name of the settings.
+  Dump ->
+  -- | The settings to check it with first, with their name.
+  (String, Settings) ->
+  -- | The other settings to check it with, each with its name.
+  [(String, Settings)] ->
+  -- | The example.
+  Example ->
+  IO Result
+check palette dumpExample (primaryName, primary) others example = do
   source <- readUtf8 (exampleInput example)
-  expected <- traverse readUtf8 (exampleReference example)
-  case source of
-    Nothing -> pure (Result NotUtf8 "" noDigest)
-    Just text ->
-      guarded (checkPure palette (exampleName example) (exampleExtensions example) text (join expected))
+  expected <- join <$> traverse readAnswer (exampleReference example)
+  expectedAlternatively <-
+    join <$> traverse readAnswer (exampleAlternativeReference example)
+  let referenceFor settings
+        | settings == defaultSettings = expected
+        | settings == alternativeSettings = expectedAlternatively
+        | otherwise = Nothing
+  answering (exampleReference example) (isJust expected) <$> case source of
+    Nothing -> pure (Result NotUtf8 "" noDigest Nothing)
+    Just text -> guarded $ do
+      let package = exampleExtensions example
+          format checking settings =
+            formatExample
+              checking
+              settings
+              package
+              (exampleOwnModules example)
+              (exampleName example)
+          unchecked = do
+            printed <- format (Don't #check) primary text
+            (printed,)
+              <$> either
+                (pure . Left)
+                (format (Don't #check) primary)
+                printed
+          alternatively result (name, settings)
+            | resultOutcome result `elem` [Formatted, PartlyChecked] =
+                format (Do #check) settings text >>= dumpExample name example <&> \case
+                  Right formatted
+                    | Just reference <- referenceFor settings,
+                      reference /= formatted ->
+                        broken
+                          ( "does not match the corpus's expected output\n"
+                              <> diff
+                                palette
+                                ("expected", "ours")
+                                reference
+                                formatted
+                          )
+                    | otherwise -> result
+                  Left e -> broken (describeFormatError Plain e)
+            | otherwise = pure result
+            where
+              broken why =
+                result
+                  { resultOutcome = Broken,
+                    resultWhy = "with " <> T.pack name <> ": " <> why
+                  }
+      checked <-
+        format (Do #check) primary text >>= dumpExample primaryName example
+      passes <- case checked of
+        Left NotEquivalent{} -> Just <$> unchecked
+        Left NotIdempotent{} -> Just <$> unchecked
+        _ -> pure Nothing
+      foldM
+        alternatively
+        (checkPure palette package text (referenceFor primary) checked passes)
+        others
 
+-- | A result that also fails an example whose answer is missing, or
+-- whose answer is left from when it formatted.
+answering ::
+  -- | Where the corpus keeps the example's answer, if it keeps one.
+  Maybe FilePath ->
+  -- | Is the answer there?
+  Bool ->
+  -- | The result.
+  Result ->
+  Result
+answering kept there result = case kept of
+  Just path
+    | not there,
+      resultOutcome result `elem` [Formatted, PartlyChecked] ->
+        broken
+          ( T.pack path
+              <> " is missing; TILIA_VENDORED_ACCEPT=1 cabal test writes it"
+          )
+    | there,
+      resultOutcome result `elem` [Declined, DoesNotParse, NotUtf8] ->
+        broken
+          ( T.pack path
+              <> " says what this formats to, and it does not format: "
+              <> resultWhy result
+          )
+  _ -> result
+  where
+    broken why = result{resultOutcome = Broken, resultWhy = why}
+
+-- | What to do with the output, given the name of the settings.
+type Dump =
+  String -> Example -> Either FormatError Text -> IO (Either FormatError Text)
+
+-- | Write what each example of a corpus comes out as, or why it does not,
+-- into the directory @TILIA_CORPUS_DUMP@ names, by the settings, the
+-- corpus and the example, and the example itself under @input@.
+dumpExampleForCorpus :: String -> IO Dump
+dumpExampleForCorpus corpus =
+  lookupEnv "TILIA_CORPUS_DUMP" <&> \case
+    Just dir@(_ : _) -> \settings example result -> do
+      let path = dir </> settings </> corpus </> exampleName example
+          input = dir </> "input" </> corpus </> exampleName example
+      for_ [path, input] (createDirectoryIfMissing True . takeDirectory)
+      copyFile (exampleInput example) input
+      case result of
+        Right formatted -> writeUtf8File path formatted
+        Left e -> writeUtf8File (path <> ".err") (describeFormatError Plain e)
+      pure result
+    _ -> \_ _ -> pure
+
+-- | Write what an example comes out as with the default and the
+-- alternative settings where the corpus keeps its answers, where it comes
+-- out with both and passes every check, and point it at them.
+answersWritten ::
+  -- | What the corpus marks its answers with.
+  String ->
+  -- | The example.
+  Example ->
+  IO Example
+answersWritten mark example =
+  readUtf8 (exampleInput example) >>= \case
+    Nothing -> pure example
+    Just source -> do
+      let format settings =
+            formatExample
+              (Do #check)
+              settings
+              (exampleExtensions example)
+              (exampleOwnModules example)
+              (exampleName example)
+              source
+      outputs <- (,) <$> format defaultSettings <*> format alternativeSettings
+      case outputs of
+        (Right formatted, Right alternatively) -> do
+          writeUtf8File plain formatted
+          primed' <-
+            if alternatively == formatted
+              then plain <$ removePathForcibly primed
+              else primed <$ writeUtf8File primed alternatively
+          pure
+            example
+              { exampleReference = Just plain,
+                exampleAlternativeReference = Just primed'
+              }
+        _ -> pure example
+  where
+    plain = answerFile mark (exampleInput example)
+    primed = answerFile (mark <> "'") (exampleInput example)
+
 -- | Read a file that is supposed to be a Haskell module.
 readUtf8 :: FilePath -> IO (Maybe Text)
 readUtf8 path = either (const Nothing) Just . decodeUtf8' <$> BS.readFile path
 
+-- | Read what an example is answered with, where it has been written.
+readAnswer :: FilePath -> IO (Maybe Text)
+readAnswer path =
+  doesFileExist path >>= \case
+    True -> readUtf8 path
+    False -> pure Nothing
+
 -- | A unified diff, cut short after 60 lines, past which it stops being
 -- read.
 diff :: Palette -> (Text, Text) -> Text -> Text -> Text
 diff palette names before after
-  | length body > room = T.intercalate "\n" (heading <> take room body <> [omitted])
+  | length body > room =
+      T.intercalate "\n" (heading <> take room body <> [omitted])
   | otherwise = whole
   where
     whole = Diff.diff palette names before after
@@ -307,11 +559,17 @@
 
 -- | Run a check, turning a crash into a failure rather than into a dead test
 -- run.
-guarded :: Result -> IO Result
-guarded result =
-  try (evaluate (forced result)) >>= \case
+guarded :: IO Result -> IO Result
+guarded run =
+  try (run >>= evaluate . forced) >>= \case
     Left (e :: SomeException) ->
-      pure (Result Broken ("the formatter raised an error: " <> firstLine (T.pack (show e))) noDigest)
+      pure
+        ( Result
+            Broken
+            ("the formatter raised an error: " <> firstLine (T.pack (show e)))
+            noDigest
+            Nothing
+        )
     Right settled -> pure settled
   where
     forced r =
@@ -321,176 +579,85 @@
         `seq` r
     firstLine = T.strip . T.takeWhile (/= '\n')
 
--- | Everything that can be established about one example without doing any
--- more input or output.
-checkPure :: Palette -> FilePath -> Maybe Defaults -> Text -> Maybe Text -> Result
-checkPure palette path package source expected
-  | movesPositions inForce source =
-      Result Declined "a pragma that moves positions, which we do not rewrite" noDigest
-  | usesCpp inForce source = checkCpp palette path package source expected
-  | otherwise = case parseModule config path source of
-      Left problem -> Result DoesNotParse (parseProblem problem) noDigest
-      Right before ->
-        let formatted = render before
-            against name = diff palette ("input", name) source formatted
-         in case parse formatted of
-              Nothing ->
-                told
-                  formatted
-                  Broken
-                  ( "the formatted output does not parse\n"
-                      <> against "output (does not parse)"
-                  )
-              Just after
-                | Just difference <- syntaxDifference (pmModule before) (pmModule after) ->
-                    told
-                      formatted
-                      Broken
-                      ( "a different program: "
-                          <> difference
-                          <> "\n"
-                          <> against "output"
-                      )
-                | Just difference <- commentDifference before after ->
-                    told
-                      formatted
-                      Broken
-                      ( "comments: "
-                          <> difference
-                          <> "\n"
-                          <> against "output"
-                      )
-                | settled <- render after,
-                  settled /= formatted ->
-                    told
-                      formatted
-                      Broken
-                      ( "formatting is non-idempotent\n"
-                          <> diff palette ("first pass", "second pass") formatted settled
-                      )
-                | Just reference <- expected,
-                  reference /= formatted ->
-                    told
-                      formatted
-                      Broken
-                      ( "does not match the corpus's expected output\n"
-                          <> diff palette ("expected", "ours") reference formatted
-                      )
-                | otherwise -> told formatted Formatted ""
+-- | What a refusal or a failure to format an example comes to.
+gaveUp :: FormatError -> Result
+gaveUp e = case e of
+  NotParsed problem -> given DoesNotParse (parseProblem problem)
+  CppUnsupported _ why -> given Declined (describeCppError why)
+  _
+    | refused e -> given Declined (describeFormatError Plain e)
+    | otherwise -> given Broken (describeFormatError Plain e)
   where
-    told formatted outcome why = Result outcome why (digestOf formatted)
-    config = parserConfigFor package
-    inForce = effectiveExtensionsFor package source
-    parse = either (const Nothing) Just . parseModule config path
-    render = printExample package source
-
-----------------------------------------------------------------------------
--- Checking an example that involved the preprocessor
+    given outcome why =
+      Result outcome why noDigest (Just (formatErrorExitCode e))
 
--- | Everything that can be established about an example with conditionals in
--- it.
-checkCpp :: Palette -> FilePath -> Maybe Defaults -> Text -> Maybe Text -> Result
-checkCpp palette path package source expected = case formatCppExample package path source of
-  Left why -> Result Declined (describeCppError why) noDigest
-  Right formatted -> case (countLeaves source, countLeaves formatted) of
-    (Left why, _) ->
-      told formatted Broken ("the input's configurations: " <> describeCppError why)
-    (_, Left why) ->
-      told formatted Broken ("the output's configurations: " <> describeCppError why <> "\n" <> against formatted)
-    (Right went, Right came)
-      | went /= came ->
+-- | Everything that can be established about one example from formatting
+-- it with every check.
+checkPure ::
+  -- | How to color the diffs it reports.
+  Palette ->
+  -- | What the package around it puts in force, if it is a module of one.
+  Maybe Defaults ->
+  -- | The example.
+  Text ->
+  -- | The expected output, if the corpus has one.
+  Maybe Text ->
+  -- | Formatting the example, checked.
+  Either FormatError Text ->
+  -- | Where a check failed, formatting the example and then what that
+  -- printed, unchecked.
+  Maybe (Either FormatError Text, Either FormatError Text) ->
+  Result
+checkPure palette package source expected checked unchecked =
+  case (checked, unchecked) of
+    (Right formatted, _)
+      | Just reference <- expected,
+        reference /= formatted ->
           told
             formatted
             Broken
-            ( "formatting changed how many configurations there are, from "
-                <> count went
-                <> " to "
-                <> count came
-                <> "\n"
-                <> against formatted
-            )
-      | went <= configurationsToCheck -> quantified answeredLeaves Nothing formatted
-      | otherwise ->
-          quantified
-            answeredLinearLeaves
-            ( Just
-                ( count went
-                    <> " configurations is more than the "
-                    <> count configurationsToCheck
-                    <> " this checks, so only the ones varying a single"
-                    <> " conditional were compared"
-                )
+            ( "does not match the corpus's expected output\n"
+                <> diff palette ("expected", "ours") reference formatted
             )
+      | Just went <- beyond ->
+          told
             formatted
+            PartlyChecked
+            ( count went
+                <> " configurations is more than the "
+                <> count (toInteger configurationsToCheck)
+                <> " this checks, so only the ones varying a single"
+                <> " conditional were compared"
+            )
+      | otherwise -> told formatted Formatted ""
+    (Left e@NotEquivalent{}, Just (Right printed, _)) ->
+      told
+        printed
+        Broken
+        ( describeFormatError Plain e
+            <> "\n"
+            <> diff palette ("input", "output") source printed
+        )
+    (Left e@NotIdempotent{}, Just (Right printed, Right settled)) ->
+      told
+        printed
+        Broken
+        ( describeFormatError Plain e
+            <> "\n"
+            <> diff palette ("first pass", "second pass") printed settled
+        )
+    (Left e, _) -> gaveUp e
   where
-    told formatted outcome why = Result outcome why (digestOf formatted)
+    told formatted outcome why =
+      Result outcome why (digestOf formatted) Nothing
     count :: Integer -> Text
     count = T.pack . show
-    against formatted = diff palette ("input", "output") source formatted
-    quantified enumerate reservation formatted =
-      case (enumerate source, enumerate formatted) of
-        (Left why, _) ->
-          told formatted Broken ("the input's configurations: " <> describeCppError why)
-        (_, Left why) ->
-          told formatted Broken ("the output's configurations: " <> describeCppError why <> "\n" <> against formatted)
-        (Right went, Right came)
-          | (why : _) <- alongside went came ->
-              told formatted Broken (why <> "\n" <> against formatted)
-          | otherwise -> case formatCppExample package path formatted of
-              Left why ->
-                told formatted Broken ("the output cannot be formatted again: " <> describeCppError why)
-              Right settled
-                | settled /= formatted ->
-                    told
-                      formatted
-                      Broken
-                      ( "formatting is non-idempotent\n"
-                          <> diff palette ("first pass", "second pass") formatted settled
-                      )
-                | Just reference <- expected,
-                  reference /= formatted ->
-                    told
-                      formatted
-                      Broken
-                      ( "does not match the corpus's expected output\n"
-                          <> diff palette ("expected", "ours") reference formatted
-                      )
-                | otherwise ->
-                    maybe (told formatted Formatted "") (told formatted PartlyChecked) reservation
-    alongside went came =
-      [ why
-      | (answers, before) <- went,
-        why <- case Map.lookup answers output of
-          Nothing -> ["a configuration of the input the output does not have"]
-          Just after -> maybe [] pure (sameProgram before after)
-      ]
-        <> [ "a configuration of the output the input does not have"
-           | any (\(answers, _) -> not (Map.member answers input)) came
-           ]
-      where
-        output = Map.fromList came
-        input = Map.fromList went
-
-    sameProgram went came = case (parse went, parse came) of
-      (Left problem, _) ->
-        Just ("a configuration of the input does not parse: " <> parseProblem problem)
-      (_, Left problem) ->
-        Just
-          ( "a configuration of the output does not parse: "
-              <> parseProblem problem
-              <> "\n"
-              <> linesAround came problem
-          )
-      (Right before, Right after)
-        | Just difference <- syntaxDifference (pmModule before) (pmModule after) ->
-            Just ("a different program, in one configuration: " <> difference)
-        | Just difference <- commentDifference before after ->
-            Just ("comments, in one configuration: " <> difference)
-        | otherwise -> Nothing
-
-    parse = parseModule parser path
-
-    parser = parserConfigFor package
+    beyond = case countLeaves source of
+      Right went
+        | isTrue (usesCpp (effectiveExtensionsFor package source) source),
+          went > toInteger configurationsToCheck ->
+            Just went
+      _ -> Nothing
 
 -- | Why a parse failed, and where in the file, but not which file.
 --
@@ -506,18 +673,3 @@
           <> ":"
           <> T.pack (show (spanStartColumn s))
           <> ": "
-
--- | The lines of a configuration around the one a parse error names.
-linesAround :: Text -> ParseError -> Text
-linesAround text problem = case spanStartLine <$> spanOfSrcSpan (peSpan problem) of
-  Nothing -> T.empty
-  Just line ->
-    T.unlines
-      [ (if n == line then "> " else "  ") <> T.pack (show n) <> "  " <> l
-      | (n, l) <- zip [1 :: Int ..] (T.lines text),
-        abs (n - line) <= 4
-      ]
-
--- | How many configurations one example gets compared over.
-configurationsToCheck :: Integer
-configurationsToCheck = 64
diff --git a/tests/Tilia/Cpp/MacrosSpec.hs b/tests/Tilia/Cpp/MacrosSpec.hs
--- a/tests/Tilia/Cpp/MacrosSpec.hs
+++ b/tests/Tilia/Cpp/MacrosSpec.hs
@@ -8,6 +8,7 @@
 import Data.Text (Text)
 import Data.Text qualified as T
 import Test.Hspec
+
 import Tilia.Cpp.Directives (withoutRuledOut)
 import Tilia.Cpp.Macros
 
@@ -68,7 +69,9 @@
 
   describe "a guard about the compiler" $ do
     it "reads its version as the compiler spells it" $
-      fmap answer ["if __GLASGOW_HASKELL__ >= 902", "if __GLASGOW_HASKELL__ >= 912"]
+      fmap
+        answer
+        ["if __GLASGOW_HASKELL__ >= 902", "if __GLASGOW_HASKELL__ >= 912"]
         `shouldBe` [Just True, Just False]
 
     it "takes the four-part macro apart the same way" $
@@ -105,7 +108,11 @@
         `shouldBe` [Just True, Just True]
 
     it "says nothing where a flag it does not know decides" $
-      fmap answer ["if defined(__MHS__) || defined(FOO)", "if !defined(__MHS__) && defined(FOO)"]
+      fmap
+        answer
+        [ "if defined(__MHS__) || defined(FOO)",
+          "if !defined(__MHS__) && defined(FOO)"
+        ]
         `shouldBe` [Nothing, Nothing]
 
   describe "an answer that needs more than one question settled" $ do
@@ -134,7 +141,8 @@
         `shouldBe` [Just True, Nothing]
 
     it "reads brackets" $
-      answer "if (MIN_VERSION_thing(1,0,0) || defined(X)) && !MIN_VERSION_thing(9,0,0)"
+      answer
+        "if (MIN_VERSION_thing(1,0,0) || defined(X)) && !MIN_VERSION_thing(9,0,0)"
         `shouldBe` Just True
 
   describe "a guard that is not about a version at all" $ do
@@ -157,7 +165,11 @@
         `shouldBe` [Nothing, Nothing, Nothing]
 
   describe "a guard about a macro known to be defined or not" $ do
-    let known = mempty{macroDefined = Set.fromList ["ON"], macroUndefined = Set.fromList ["OFF"]}
+    let known =
+          mempty
+            { macroDefined = Set.fromList ["ON"],
+              macroUndefined = Set.fromList ["OFF"]
+            }
         knownAnswer = guardHolds known
 
     it "takes one that is not defined for 0" $
@@ -171,6 +183,17 @@
     it "says nothing about the value of one that is defined" $
       knownAnswer "if ON" `shouldBe` Nothing
 
+  describe "the question a guard asks" $ do
+    it "is one however a test of whether a macro is defined is spelled" $
+      fmap questionOf ["ifdef X", "if defined(X)", "if  defined ( X )"]
+        `shouldBe` replicate 3 (questionOf "if defined X")
+
+    it "is one for an #ifndef and a negated defined" $
+      questionOf "ifndef X" `shouldBe` questionOf "if !defined(X)"
+
+    it "tells a test of a macro's value from one of whether it is defined" $
+      questionOf "if X" `shouldNotBe` questionOf "ifdef X"
+
   describe "what a guard implies about which macros are defined" $ do
     let defined n = mempty{macroDefined = Set.singleton n}
         notDefined n = mempty{macroUndefined = Set.singleton n}
@@ -178,7 +201,12 @@
     it "reads it off a guard asking whether one is" $
       fmap
         (impliedBy True)
-        ["ifdef A", "ifndef A", "if defined(A)", "if defined A", "if !defined(A)"]
+        [ "ifdef A",
+          "ifndef A",
+          "if defined(A)",
+          "if defined A",
+          "if !defined(A)"
+        ]
         `shouldBe` [ defined "A",
                      notDefined "A",
                      defined "A",
@@ -191,19 +219,25 @@
         `shouldBe` [notDefined "A", defined "A"]
 
     it "takes a macro that is not 0 for one that is defined" $
-      fmap (impliedBy True) ["if A", "elif A"] `shouldBe` [defined "A", defined "A"]
+      fmap (impliedBy True) ["if A", "elif A"]
+        `shouldBe` [defined "A", defined "A"]
 
     it "learns nothing from a macro that is 0, which it may be by not being defined" $
-      (impliedBy False "if A", impliedBy True "if !A") `shouldBe` (mempty, mempty)
+      (impliedBy False "if A", impliedBy True "if !A")
+        `shouldBe` (mempty, mempty)
 
     it "reads both sides of a conjunction that holds and of a disjunction that fails" $
       ( impliedBy True "if defined(A) && !defined(B)",
         impliedBy False "if defined(A) || defined(B)"
       )
-        `shouldBe` (defined "A" <> notDefined "B", notDefined "A" <> notDefined "B")
+        `shouldBe` ( defined "A" <> notDefined "B",
+                     notDefined "A" <> notDefined "B"
+                   )
 
     it "learns nothing from a conjunction that fails or a disjunction that holds" $
-      (impliedBy False "if defined(A) && defined(B)", impliedBy True "if defined(A) || defined(B)")
+      ( impliedBy False "if defined(A) && defined(B)",
+        impliedBy True "if defined(A) || defined(B)"
+      )
         `shouldBe` (mempty, mempty)
 
     it "learns nothing from a call of a macro other than a version test" $
@@ -213,7 +247,9 @@
   describe "a guard under what other guards imply about versions" $ do
     let knownAnswer =
           guardHolds
-            ( impliedBy True "if MIN_VERSION_base(4,10,0) && !(MIN_VERSION_base(4,12,0))"
+            ( impliedBy
+                True
+                "if MIN_VERSION_base(4,10,0) && !(MIN_VERSION_base(4,12,0))"
                 <> impliedBy True "if MIN_VERSION_base(4,9)"
             )
 
@@ -232,7 +268,9 @@
       fmap
         ( \op ->
             fmap
-              (guardHolds (impliedBy True ("if __GLASGOW_HASKELL__ " <> op <> " 908")))
+              ( guardHolds
+                  (impliedBy True ("if __GLASGOW_HASKELL__ " <> op <> " 908"))
+              )
               ["if __GLASGOW_HASKELL__ >= 908", "if __GLASGOW_HASKELL__ >= 909"]
         )
         [">=", ">", "<", "<=", "==", "!="]
@@ -309,7 +347,12 @@
           "import Two",
           "#endif"
         ]
-        `shouldBe` ["#if defined(FOO)", "import One", "#elif MIN_VERSION_thing(1,0,0)", "import Two", "#endif"]
+        `shouldBe` [ "#if defined(FOO)",
+                     "import One",
+                     "#elif MIN_VERSION_thing(1,0,0)",
+                     "import Two",
+                     "#endif"
+                   ]
 
     it "leaves the branches before a question it cannot answer as well" $
       ruledOut
@@ -355,7 +398,13 @@
         `shouldBe` ["", "", "", "", "import New", "", ""]
 
     it "keeps every line where it was written" $
-      let source = T.unlines ["module M where", "#if MIN_VERSION_thing(2,0,0)", "x = 1", "#endif"]
+      let source =
+            T.unlines
+              [ "module M where",
+                "#if MIN_VERSION_thing(2,0,0)",
+                "x = 1",
+                "#endif"
+              ]
        in length (T.lines (withoutRuledOut macros source))
             `shouldBe` length (T.lines source)
 
diff --git a/tests/Tilia/Cpp/PropertiesSpec.hs b/tests/Tilia/Cpp/PropertiesSpec.hs
--- a/tests/Tilia/Cpp/PropertiesSpec.hs
+++ b/tests/Tilia/Cpp/PropertiesSpec.hs
@@ -12,44 +12,70 @@
 import Test.Hspec hiding (after, before)
 import Test.Hspec.QuickCheck (modifyMaxSuccess)
 import Test.QuickCheck
+
 import Tilia.Cpp (formatWithCpp, withoutRuledOut)
+import Tilia.Cpp.Directives (answeredLeaves)
 import Tilia.Cpp.Macros (Macros (..))
 import Tilia.Equivalence (syntaxDifference)
 import Tilia.Parser (parseModule, pmModule)
-import Tilia.Render (defaultRenderConfig)
-import Tilia.TestUtils (answeredLeaves, defaultParserConfig, parses)
+import Tilia.Render (RenderConfig (..), defaultRenderConfig)
+import Tilia.Settings (CommaStyle (..), Settings)
+import Tilia.TestUtils (defaultParserConfig, parses, withEachSettings)
 import Tilia.Utils (tshow)
 
 spec :: Spec
-spec = modifyMaxSuccess (const 5000) $
-  describe "a module the preprocessor runs over" $ do
-    it "reaches its answer in one pass" $
-      property $ \m -> formatted m $ \out ->
-        case format out of
-          Left why -> counterexample (T.unpack ("re-formatting refused: " <> why)) False
-          Right settled ->
-            counterexample (T.unpack (diffed out settled)) (settled == out)
+spec = modifyMaxSuccess (const 5000) . parallel $ do
+  withEachSettings $ \settings ->
+    describe "a module the preprocessor runs over" $ do
+      it "reaches its answer in one pass" $
+        property $ \m -> formatted settings m $ \out ->
+          case format settings out of
+            Left why ->
+              counterexample (T.unpack ("re-formatting refused: " <> why)) False
+            Right settled ->
+              counterexample (T.unpack (diffed out settled)) (settled == out)
 
-    it "comes out parseable in every configuration" $
-      property $ \m -> formatted m $ \out ->
-        case answeredLeaves out of
-          Left _ -> property Discard
-          Right configurations ->
-            conjoin
-              [ counterexample (T.unpack ("this configuration does not parse:\n" <> t)) (parses t)
-              | (_, t) <- configurations
-              ]
+      it "comes out parseable in every configuration" $
+        property $ \m -> formatted settings m $ \out ->
+          case answeredLeaves out of
+            Left _ -> property Discard
+            Right configurations ->
+              conjoin
+                [ counterexample
+                    (T.unpack ("this configuration does not parse:\n" <> t))
+                    (parses t)
+                | (_, t) <- configurations
+                ]
 
-    it "keeps what its directives say after their keyword" $
-      property $ \m -> formatted m $ \out ->
-        let remarked = Set.fromList . filter ("/*" `T.isInfixOf`) . T.lines
-            lost = Set.difference (remarked (sourceOf m)) (remarked out)
-         in counterexample (T.unpack (T.unlines ("lost:" : Set.toList lost))) (Set.null lost)
+      it "keeps what its directives say after their keyword" $
+        property $ \m -> formatted settings m $ \out ->
+          let remarked = Set.fromList . filter ("/*" `T.isInfixOf`) . T.lines
+              lost = Set.difference (remarked (sourceOf m)) (remarked out)
+           in counterexample
+                (T.unpack (T.unlines ("lost:" : Set.toList lost)))
+                (Set.null lost)
 
+      it "is the same program in every configuration it went in as" $
+        property $ \m -> formatted settings m $ \out ->
+          case (answeredLeaves (sourceOf m), answeredLeaves out) of
+            (Right went, Right came) ->
+              conjoin
+                [ counterexample
+                    (T.unpack (T.unlines [before, "became", after, why]))
+                    False
+                | (answers, before) <- went,
+                  Just after <- [lookup answers came],
+                  Just why <- [difference before after]
+                ]
+            _ -> property Discard
+
+  describe "a module the preprocessor runs over" $
     it "is read as configurations it already had, once a plan rules some out" $
       property $ \m ->
         let source = sourceOf m
-         in case (answeredLeaves source, answeredLeaves (withoutRuledOut macros source)) of
+         in case ( answeredLeaves source,
+                   answeredLeaves (withoutRuledOut macros source)
+                 ) of
               (Right went, Right came) ->
                 let had = Set.fromList (fmap snd went)
                  in conjoin $
@@ -59,24 +85,14 @@
                         "nothing was left to read"
                         (not (null came) || "#error" `T.isInfixOf` source)
                         : [ counterexample
-                              (T.unpack ("not a configuration the module had:\n" <> t))
+                              ( T.unpack
+                                  ("not a configuration the module had:\n" <> t)
+                              )
                               (Set.member t had)
                           | (_, t) <- came
                           ]
               _ -> property Discard
 
-    it "is the same program in every configuration it went in as" $
-      property $ \m -> formatted m $ \out ->
-        case (answeredLeaves (sourceOf m), answeredLeaves out) of
-          (Right went, Right came) ->
-            conjoin
-              [ counterexample (T.unpack (T.unlines [before, "became", after, why])) False
-              | (answers, before) <- went,
-                Just after <- [lookup answers came],
-                Just why <- [difference before after]
-              ]
-          _ -> property Discard
-
 ----------------------------------------------------------------------------
 -- Running the formatter
 
@@ -87,10 +103,23 @@
 macros =
   mempty{macroExactVersions = Map.fromList [("MIN_VERSION_thing", [1, 2, 3])]}
 
-format :: Text -> Either Text Text
-format source = case formatWithCpp defaultParserConfig defaultRenderConfig "M.hs" source of
+-- | A module formatted with some settings, or why it was not.
+format ::
+  -- | The settings.
+  Settings ->
+  -- | The module.
+  Text ->
+  Either Text Text
+format settings source = case result of
   Left _ -> Left "declined"
   Right out -> Right out
+  where
+    result =
+      formatWithCpp
+        defaultParserConfig
+        defaultRenderConfig{rcSettings = settings}
+        "M.hs"
+        source
 
 -- | Whatever holds of a module the formatter did not decline.
 --
@@ -98,15 +127,25 @@
 -- cannot expand, a module with more configurations than its budget—and says
 -- nothing about the properties below, so those runs are thrown away rather
 -- than counted as passes.
-formatted :: (Testable p) => CppModule -> (Text -> p) -> Property
-formatted m k = case format (sourceOf m) of
+formatted ::
+  Testable p =>
+  -- | The settings.
+  Settings ->
+  -- | The module.
+  CppModule ->
+  -- | What holds of what it formats to.
+  (Text -> p) ->
+  Property
+formatted settings m k = case format settings (sourceOf m) of
   Left _ -> property Discard
   Right out -> property (k out)
 
 difference :: Text -> Text -> Maybe Text
 difference before after = do
-  b <- either (const Nothing) Just (parseModule defaultParserConfig "M.hs" before)
-  a <- either (const Nothing) Just (parseModule defaultParserConfig "M.hs" after)
+  b <-
+    either (const Nothing) Just (parseModule defaultParserConfig "M.hs" before)
+  a <-
+    either (const Nothing) Just (parseModule defaultParserConfig "M.hs" after)
   syntaxDifference (pmModule b) (pmModule a)
 
 diffed :: Text -> Text -> Text
@@ -129,14 +168,26 @@
     Opaque Text
   | -- | A conditional, and what it holds either side of the @#else@.
     Cond Text [Item] [Item]
+  | -- | A list bound to the name of the number, written with these commas.
+    List Int CommaStyle [Element]
   deriving (Eq, Show)
 
--- | A module that uses the preprocessor.
+-- | An item of a list.
+data Element
+  = -- | One named after the number.
+    Named Int
+  | -- | Ones named after the numbers, behind a conditional asking this.
+    Optional Text [Int]
+  deriving (Eq, Show)
+
+-- | A module that uses the preprocessor, with its export list and the
+-- commas it is written with, if it has one.
 --
--- Conditionals wrap whole items and nothing smaller, which is what keeps
--- every configuration of the module a module: a branch that took half a
--- declaration away would leave the other half behind.
-newtype CppModule = CppModule [Item]
+-- Conditionals wrap whole items, or items of a list with their commas, and
+-- nothing smaller, which is what keeps every configuration of the module a
+-- module: a branch that took half a declaration away would leave the other
+-- half behind.
+data CppModule = CppModule (Maybe (CommaStyle, [Element])) [Item]
   deriving (Eq)
 
 -- | Shown as the source, since that is what a counterexample is read as.
@@ -144,8 +195,17 @@
   show m = T.unpack ("\n" <> sourceOf m)
 
 instance Arbitrary CppModule where
-  arbitrary = CppModule <$> sized (items 2)
-  shrink (CppModule xs) = CppModule <$> smaller xs
+  arbitrary =
+    CppModule
+      <$> frequency [(3, pure Nothing), (1, Just <$> listed)]
+      <*> sized (items 2)
+  shrink (CppModule exports xs) =
+    [CppModule Nothing xs | Just _ <- [exports]]
+      <> [ CppModule (Just (c, es')) xs
+         | Just (c, es) <- [exports],
+           es' <- fewer es
+         ]
+      <> (CppModule exports <$> smaller xs)
 
 -- | The items of a module, given how deep a conditional may still nest.
 items :: Int -> Int -> Gen [Item]
@@ -159,7 +219,8 @@
     [ (4, Decl <$> choose (1, 9)),
       (3, Note <$> elements ["-- a remark", "-- | documentation", "{- a block -}", "-- * a heading"]),
       (3, pure Blank),
-      (1, Opaque <$> elements ["define WIDE 1", "error \"no\"", "undef WIDE"])
+      (1, Opaque <$> elements ["define WIDE 1", "error \"no\"", "undef WIDE"]),
+      (1, uncurry . List <$> choose (1, 9) <*> listed)
     ]
       <> [(3, conditional depth) | depth > 0]
 
@@ -177,24 +238,68 @@
   no <- frequency [(1, pure []), (1, items (depth - 1) 2)]
   pure (Cond guard' yes no)
 
--- | Every way of making a module smaller: drop an item, or replace a
--- conditional by one of the branches it was holding.
+-- | The items of a list and the commas it is written with, the first and
+-- the last item outside conditionals, so that every configuration has a
+-- list of items with a comma between each two.
+listed :: Gen (CommaStyle, [Element])
+listed = do
+  commas <- elements [TrailingCommas, LeadingCommas]
+  first <- choose (1, 9)
+  middle <-
+    resize 3 . listOf $
+      oneof
+        [ Named <$> choose (1, 9),
+          Optional
+            <$> elements ["if FLAG", "ifdef OTHER"]
+            <*> resize 2 (listOf1 (choose (1, 9)))
+        ]
+  final <- choose (1, 9)
+  pure (commas, [Named first] <> middle <> [Named final])
+
+-- | Every way of making the items of a list fewer: drop one between the
+-- first and the last, or take the ones behind a conditional out of it.
+fewer :: [Element] -> [[Element]]
+fewer es =
+  [take i es <> drop (i + 1) es | i <- [1 .. length es - 2]]
+    <> [ take i es <> fmap Named ns <> drop (i + 1) es
+       | (i, Optional _ ns) <- zip [0 ..] es
+       ]
+
+-- | Every way of making a module smaller: drop an item, replace a
+-- conditional by one of the branches it was holding, or make the items of
+-- a list fewer.
 smaller :: [Item] -> [[Item]]
 smaller xs =
   [take i xs <> drop (i + 1) xs | i <- positions]
-    <> [take i xs <> branch <> drop (i + 1) xs | (i, Cond _ a b) <- indexed, branch <- [a, b]]
-    <> [take i xs <> [x'] <> drop (i + 1) xs | (i, x) <- indexed, x' <- inside x]
+    <> [ take i xs <> branch <> drop (i + 1) xs
+       | (i, Cond _ a b) <- indexed,
+         branch <- [a, b]
+       ]
+    <> [ take i xs <> [x'] <> drop (i + 1) xs
+       | (i, x) <- indexed,
+         x' <- inside x
+       ]
   where
     positions = [0 .. length xs - 1]
     indexed = zip positions xs
     inside = \case
-      Cond g a b -> [Cond g a' b | a' <- smaller a] <> [Cond g a b' | b' <- smaller b]
+      Cond g a b ->
+        [Cond g a' b | a' <- smaller a] <> [Cond g a b' | b' <- smaller b]
+      List n c es -> List n c <$> fewer es
       _ -> []
 
 -- | The module as it is written out.
 sourceOf :: CppModule -> Text
-sourceOf (CppModule xs) =
-  T.unlines (["{-# LANGUAGE CPP #-}", "", "module M where", ""] <> concatMap written xs)
+sourceOf (CppModule exports xs) =
+  T.unlines
+    (["{-# LANGUAGE CPP #-}", ""] <> header <> [""] <> concatMap written xs)
+  where
+    header = case exports of
+      Nothing -> ["module M where"]
+      Just (c, es) ->
+        ["module M"]
+          <> bracketed ("(", ")") c (("f" <>) . tshow) es
+          <> ["where"]
 
 written :: Item -> [Text]
 written = \case
@@ -205,8 +310,44 @@
   Cond g yes no ->
     ["#" <> g]
       <> concatMap written yes
-      <> (if null no && T.null (remark g) then [] else ("#else" <> remark g) : concatMap written no)
+      <> ( if null no && T.null (remark g)
+             then []
+             else ("#else" <> remark g) : concatMap written no
+         )
       <> ["#endif" <> remark g]
+  List n c es -> ("xs" <> tshow n <> " =") : bracketed ("[", "]") c tshow es
+
+-- | The lines of the items of a list between brackets, written with some
+-- commas.
+bracketed ::
+  -- | The brackets.
+  (Text, Text) ->
+  -- | The commas.
+  CommaStyle ->
+  -- | How an item is named after its number.
+  (Int -> Text) ->
+  -- | The items.
+  [Element] ->
+  [Text]
+bracketed (open, close) commas named es =
+  zipWith line [0 :: Int ..] spelled <> ["  " <> close]
+  where
+    spelled = concatMap spell es
+    spell = \case
+      Named n -> [Right n]
+      Optional g ns -> [Left ("#" <> g)] <> fmap Right ns <> [Left "#endif"]
+    count = length [() | Right _ <- spelled]
+    line i = \case
+      Left directive -> directive
+      Right n ->
+        let k = length [() | Right _ <- take i spelled]
+         in case commas of
+              TrailingCommas ->
+                (if k == 0 then "  " <> open <> " " else "    ")
+                  <> named n
+                  <> (if k == count - 1 then "" else ",")
+              LeadingCommas ->
+                (if k == 0 then "  " <> open <> " " else "  , ") <> named n
 
 -- | What a conditional asking this writes after its @#else@ and @#endif@,
 -- the same for every one of them, since the merge can print several as one.
diff --git a/tests/Tilia/CppSpec.hs b/tests/Tilia/CppSpec.hs
--- a/tests/Tilia/CppSpec.hs
+++ b/tests/Tilia/CppSpec.hs
@@ -4,77 +4,129 @@
 -- | Whether documents printed from different configurations line up.
 module Tilia.CppSpec (spec) where
 
+import Data.Bifunctor (second)
+import Data.Choice (isTrue)
 import Data.Either (isLeft, isRight)
+import Data.Functor.Identity (Identity (..))
+import Data.List (sort)
 import Data.Map.Strict (Map)
 import Data.Map.Strict qualified as Map
 import Data.Maybe (isJust, maybeToList)
+import Data.Set qualified as Set
 import Data.Text (Text)
 import Data.Text qualified as T
+import GHC.LanguageExtensions.Type (Extension (Cpp))
+import System.FilePath (takeDirectory, (</>))
 import Test.Hspec
+
 import Tilia.Cpp
-import Tilia.Cpp.Directives (implied)
-import Tilia.Cpp.Place (regionsIn)
-import Tilia.Doc.Internal (Doc)
+import Tilia.Cpp.Directives
+  ( configurations,
+    coveringLeaves,
+    guardOf,
+    implied,
+    withIncluded,
+  )
+import Tilia.Doc (Doc, regionsIn)
 import Tilia.Equivalence (syntaxDifference)
+import Tilia.Format (AstCheck (..), rewritten)
 import Tilia.Parser (parseModule, pmModule)
-import Tilia.Render (defaultRenderConfig, renderModule)
+import Tilia.Render (RenderConfig (..), defaultRenderConfig, renderModule)
+import Tilia.Settings (Settings, defaultSettings)
 import Tilia.Source (directiveOnLine)
 import Tilia.Span (Span)
 import Tilia.TestUtils
-  ( answeredLeaves,
-    answeredLinearLeaves,
-    configurations,
-    countLeaves,
-    defaultParserConfig,
+  ( defaultParserConfig,
     leaves,
     linearLeaves,
     parses,
+    withEachSettings,
   )
 
--- | Format a module which uses the C preprocessor, configured with nothing.
-formatCpp :: Text -> Either Text Text
-formatCpp = said . formatWithCpp defaultParserConfig defaultRenderConfig "example.hs"
+-- | Format a module which uses the C preprocessor, configured with nothing
+-- but the settings.
+formatCpp :: Settings -> Text -> Either Text Text
+formatCpp settings =
+  said
+    . formatWithCpp
+      defaultParserConfig
+      defaultRenderConfig{rcSettings = settings}
+      "example.hs"
 
 spec :: Spec
 spec = do
   describe "matching configurations before and after formatting" $ do
     it "does not mistake different whitespace for another configuration" $ do
       let input = "module M where\n#if FLAG\nf=1\n#else\nf = 1\n#endif\n"
-      (said (correspondingBranches input "module M where\nf = 1\n") >>= mapM_ sameBranch)
+      ( said (correspondingBranches input "module M where\nf = 1\n")
+          >>= mapM_ sameBranch
+        )
         `shouldBe` Right ()
     it "keeps branch identity when sorting the source text would swap it" $ do
       let input = "module M where\n#if FLAG\nf=1\n#else\nf = 2\n#endif\n"
           output = "module M where\n#if FLAG\nf = 1\n#else\nf = 2\n#endif\n"
-      (said (correspondingBranches input output) >>= mapM_ sameBranch) `shouldBe` Right ()
+      (said (correspondingBranches input output) >>= mapM_ sameBranch)
+        `shouldBe` Right ()
     it "detects moving an error to a different branch" $ do
       let input = "module M where\n#if FLAG\n#error no\n#else\nf = 1\n#endif\n"
           output = "module M where\n#if FLAG\nf = 1\n#else\n#error no\n#endif\n"
-      (said (correspondingBranches input output) >>= mapM_ sameBranch) `shouldSatisfy` isLeft
+      (said (correspondingBranches input output) >>= mapM_ sameBranch)
+        `shouldSatisfy` isLeft
+  describe "reading what was printed as cpp does" $ do
+    it "notices a directive taken into a #define above it" $
+      changedBy limitDefined limitTakesInclude `shouldSatisfy` isJust
+
+    it "notices a line marker gone" $
+      changedBy markedLine markerLost `shouldSatisfy` isJust
+
+    it "notices a comment's lines become directives" $
+      changedBy commentedOut commentedOutAtMargin `shouldSatisfy` isJust
+
+    it "notices a macro standing for a constraint closed in brackets" $
+      changedBy callStackMacro callStackBracketed `shouldSatisfy` isJust
+
+    it "notices a macro line that leaves a comma short after expansion" $
+      changedBy alsoHup alsoHupTrailing `shouldSatisfy` isJust
+
+    it "notices that when a block comment sits under the macro line" $
+      changedBy alsoHupNoted alsoHupNotedTrailing `shouldSatisfy` isJust
+
+    it "sees past a use given its arguments after a space" $
+      changedBy callStackMacro callStackSpaced `shouldBe` Nothing
+
+    it "notices a string's joined lines moved where nothing is a directive" $
+      changedBy joinedString joinedStringMoved `shouldSatisfy` isJust
+
   describe "splitting a module on its conditional" $ do
     it "keeps the directive as written, keyword and all" $
-      cfgGuards <$> configurations atDeclarations
-        `shouldBe` Just (fmap Guard ["ifdef FOO"])
+      fmap guardText . cfgGuards <$> configurations atDeclarations
+        `shouldBe` Just ["ifdef FOO"]
 
     it "keeps every line where it was" $
-      let sameLength c = all ((== length (T.lines atDeclarations)) . length . T.lines) (cfgTexts c)
+      let sameLength c =
+            all
+              ((== length (T.lines atDeclarations)) . length . T.lines)
+              (cfgTexts c)
        in (sameLength <$> configurations atDeclarations) `shouldBe` Just True
 
     it "has one more configuration than it has directives" $
       let balanced c = length (cfgTexts c) == length (cfgGuards c) + 1
-       in fmap (fmap balanced . configurations) [atDeclarations, withoutElse, withElif]
+       in fmap
+            (fmap balanced . configurations)
+            [atDeclarations, withoutElse, withElif]
             `shouldBe` [Just True, Just True, Just True]
 
     it "finds every directive of an #elif chain, in order" $
-      cfgGuards <$> configurations withElif
-        `shouldBe` Just (fmap Guard ["if A", "elif B"])
+      fmap guardText . cfgGuards <$> configurations withElif
+        `shouldBe` Just ["if A", "elif B"]
 
     it "takes only the outermost conditional, leaving the nested one alone" $
-      cfgGuards <$> configurations nested
-        `shouldBe` Just (fmap Guard ["if OUTER"])
+      fmap guardText . cfgGuards <$> configurations nested
+        `shouldBe` Just ["if OUTER"]
 
     it "takes only the first of two conditionals side by side" $
-      cfgGuards <$> configurations twoConditionals
-        `shouldBe` Just (fmap Guard ["if FIRST"])
+      fmap guardText . cfgGuards <$> configurations twoConditionals
+        `shouldBe` Just ["if FIRST"]
 
     it "declines a module with no conditional at all" $
       configurations "module M where\nf = 1\n" `shouldBe` Nothing
@@ -112,18 +164,26 @@
     it "multiply, as configurations" $
       said (length <$> leaves twoConditionals) `shouldBe` Right 4
 
-    it "add, as formattings: twenty of them are twenty-one, not a million" $
-      formatCpp (sideBySide 20) `shouldSatisfy` isRight
+    withEachSettings $ \settings -> do
+      it "add, as formattings: twenty of them are twenty-one, not a million" $
+        formatCpp settings (sideBySide 20) `shouldSatisfy` isRight
 
-    it "cost only the declarations each of them reaches" $
-      formatCpp (apart 400) `shouldSatisfy` isRight
+      it "cost only the declarations each of them reaches" $
+        formatCpp settings (apart 400) `shouldSatisfy` isRight
 
-    it "are refused once even the sum is more than the budget allows" $
-      formatCpp (oneDeclaration 100 1000) `shouldSatisfy` isLeft
+      it "format however many names they add to one export list" $
+        formatCpp settings (exportedOneByOne 200) `shouldSatisfy` isRight
 
+      it "format a list they end, though its commas make them multiply" $
+        formatCpp settings (oneDeclaration 7 0) `shouldSatisfy` isRight
+
+      it "are refused once even the sum is more than the budget allows" $
+        formatCpp settings (oneDeclaration 100 1000) `shouldSatisfy` isLeft
+
   describe "counting the configurations" $ do
     it "agrees with enumerating them, where enumerating them is possible" $
-      let counted m = (said (countLeaves m), said (toInteger . length <$> leaves m))
+      let counted m =
+            (said (countLeaves m), said (toInteger . length <$> leaves m))
        in fmap
             counted
             [ atDeclarations,
@@ -147,7 +207,9 @@
       said (countLeaves guardAtTwoDepths) `shouldBe` Right 4
 
     it "counts what enumerating them produces" $
-      (said (countLeaves guardAtTwoDepths), said (toInteger . length <$> leaves guardAtTwoDepths))
+      ( said (countLeaves guardAtTwoDepths),
+        said (toInteger . length <$> leaves guardAtTwoDepths)
+      )
         `shouldSatisfy` uncurry (==)
 
     it "is never answered one way at the top and the other way inside" $
@@ -158,49 +220,52 @@
 
   describe "what answers imply about the macros" $ do
     it "rules out an #if X holding where #ifdef X fails" $
-      implied [([Guard "ifdef X"], 1), ([Guard "if X"], 0)] `shouldBe` Nothing
+      implied [([guardOf "ifdef X"], 1), ([guardOf "if X"], 0)]
+        `shouldBe` Nothing
 
     it "allows an #if X failing where #ifdef X holds, as X defined as 0" $
-      implied [([Guard "ifdef X"], 0), ([Guard "if X"], 1)] `shouldSatisfy` isJust
+      implied [([guardOf "ifdef X"], 0), ([guardOf "if X"], 1)]
+        `shouldSatisfy` isJust
 
     it "rules out #ifdef X and #ifndef X both holding" $
-      implied [([Guard "ifdef X"], 0), ([Guard "ifndef X"], 0)] `shouldBe` Nothing
+      implied [([guardOf "ifdef X"], 0), ([guardOf "ifndef X"], 0)]
+        `shouldBe` Nothing
 
     it "takes an #if 0 to ask something, as code is put aside with it" $
-      implied [([Guard "if 0"], 0)] `shouldSatisfy` isJust
+      implied [([guardOf "if 0"], 0)] `shouldSatisfy` isJust
 
     it "rules out a version below one and at least a later one" $
       implied
-        [ ([Guard "if MIN_VERSION_base(4,10,0)"], 1),
-          ([Guard "if MIN_VERSION_base(4,11,0)"], 0)
+        [ ([guardOf "if MIN_VERSION_base(4,10,0)"], 1),
+          ([guardOf "if MIN_VERSION_base(4,11,0)"], 0)
         ]
         `shouldBe` Nothing
 
     it "allows a version at least one and below a later one" $
       implied
-        [ ([Guard "if MIN_VERSION_base(4,10,0)"], 0),
-          ([Guard "if MIN_VERSION_base(4,11,0)"], 1)
+        [ ([guardOf "if MIN_VERSION_base(4,10,0)"], 0),
+          ([guardOf "if MIN_VERSION_base(4,11,0)"], 1)
         ]
         `shouldSatisfy` isJust
 
     it "takes a version with zeros at its end for the same version" $
       implied
-        [ ([Guard "if MIN_VERSION_base(4,10)"], 0),
-          ([Guard "if MIN_VERSION_base(4,10,0)"], 1)
+        [ ([guardOf "if MIN_VERSION_base(4,10)"], 0),
+          ([guardOf "if MIN_VERSION_base(4,10,0)"], 1)
         ]
         `shouldBe` Nothing
 
     it "rules out a range whose bound another answer contradicts" $
       implied
-        [ ([Guard "if MIN_VERSION_base(4,10,0)"], 1),
-          ([Guard "if MIN_VERSION_base(4,10,0) && !(MIN_VERSION_base(4,12,0))"], 0)
+        [ ([guardOf "if MIN_VERSION_base(4,10,0)"], 1),
+          ([guardOf "if MIN_VERSION_base(4,10,0) && !(MIN_VERSION_base(4,12,0))"], 0)
         ]
         `shouldBe` Nothing
 
     it "rules out a compiler below one version and at least a later one" $
       implied
-        [ ([Guard "if __GLASGOW_HASKELL__ >= 908", Guard "elif __GLASGOW_HASKELL__ >= 906"], 2),
-          ([Guard "if __GLASGOW_HASKELL__ > 906"], 0)
+        [ ([guardOf "if __GLASGOW_HASKELL__ >= 908", guardOf "elif __GLASGOW_HASKELL__ >= 906"], 2),
+          ([guardOf "if __GLASGOW_HASKELL__ > 906"], 0)
         ]
         `shouldBe` Nothing
 
@@ -209,33 +274,65 @@
       said (length <$> leaves askedTwoWays) `shouldBe` Right 3
 
     it "are left out of what is compared before and after formatting" $
-      (all parses . concatMap (maybeToList . fst) <$> said (correspondingBranches askedTwoWays askedTwoWays))
+      ( all parses . concatMap (maybeToList . fst)
+          <$> said (correspondingBranches askedTwoWays askedTwoWays)
+      )
         `shouldBe` Right True
 
     it "are not taken to cover a branch" $
-      (all parses <$> said (branchLeaves askedTwoWays)) `shouldBe` Right True
+      (all parses <$> said (branchLeaves id askedTwoWays)) `shouldBe` Right True
 
   describe "covering every branch" $ do
     it "gives a module with no conditionals one configuration, its own" $
-      said (length <$> branchLeaves "module M where\nx = 1\n") `shouldBe` Right 1
+      said (length <$> branchLeaves id "module M where\nx = 1\n")
+        `shouldBe` Right 1
 
     it "gives one per branch of a conditional" $ do
-      said (length <$> branchLeaves "module M where\n#if A\nx = 1\n#endif\n") `shouldBe` Right 2
-      said (length <$> branchLeaves "module M where\n#if A\nx = 1\n#else\nx = 2\n#endif\n")
+      said (length <$> branchLeaves id "module M where\n#if A\nx = 1\n#endif\n")
         `shouldBe` Right 2
+      said
+        ( length
+            <$> branchLeaves
+              id
+              "module M where\n#if A\nx = 1\n#else\nx = 2\n#endif\n"
+        )
+        `shouldBe` Right 2
 
     -- A module written on Windows ends every line with a carriage return,
     -- @#endif@ included, and one that closes no group leaves the whole
     -- module unsplittable. Every module of @crypton-pem@ is written this
     -- way, and refusing them refused everything that reads a certificate.
     it "gives one per branch when the lines end in a carriage return" $
-      said (length <$> branchLeaves "module M where\r\n#if A\r\nx = 1\r\n#else\r\nx = 2\r\n#endif\r\n")
+      said
+        ( length
+            <$> branchLeaves
+              id
+              "module M where\r\n#if A\r\nx = 1\r\n#else\r\nx = 2\r\n#endif\r\n"
+        )
         `shouldBe` Right 2
 
     it "is their sum where enumerating them would be their product" $
-      (said (length <$> branchLeaves (sideBySide 20)), said (countLeaves (sideBySide 20)))
+      ( said (length <$> branchLeaves id (sideBySide 20)),
+        said (countLeaves (sideBySide 20))
+      )
         `shouldBe` (Right 21, Right (2 ^ (20 :: Int)))
 
+  describe "covering every branch in few configurations" $ do
+    it "takes as many as the widest conditional has branches" $
+      said (length <$> coveringLeaves id (sideBySide 20)) `shouldBe` Right 2
+
+    it "takes a nested branch the others pass by on its own" $
+      declarationsIn (coveringLeaves id) nested
+        `shouldBe` Right
+          [ ["a = 1", "after = 4"],
+            ["a = 1", "b = 2", "after = 4"],
+            ["a = 3", "after = 4"]
+          ]
+
+    it "takes the branches of one aborting with #error on their own" $
+      declarationsIn (coveringLeaves id) behindAnError
+        `shouldBe` Right [["x = 1"], ["x = 2"]]
+
   describe "parsing every branch" $ do
     it "parses branches that parse together as one module" $
       branchesParsed atDeclarations `shouldBe` Just 1
@@ -266,36 +363,63 @@
         `shouldBe` Right True
 
   describe "directives it cannot read" $ do
-    it "refuses a module whose conditionals do not balance" $
-      formatCpp unbalanced `shouldBe` Left "the #ifdef at line 3 is never closed"
-
     it "refuses an #endif with no conditional to close" $
-      formatCpp strayEndif `shouldBe` Left "the #endif at line 4 has no conditional to belong to"
+      formatCpp defaultSettings strayEndif
+        `shouldBe` Left "the #endif at line 4 has no conditional to belong to"
 
     it "refuses an #else that comes before an #elif" $
-      formatCpp elseBeforeElif
-        `shouldBe` Left "the #elif at line 7 comes after the #else of its conditional"
-
-    it "refuses a directive inside a quasiquote" $
-      formatCpp includeInQuasiquote
-        `shouldBe` Left "the #include at line 7 is inside a quasi-quote or a multi-line string"
+      formatCpp defaultSettings elseBeforeElif
+        `shouldBe` Left
+          "the #elif at line 7 comes after the #else of its conditional"
 
     it "refuses an #include before a leading comma" $
-      formatCpp includeBeforeLeadingComma
-        `shouldBe` Left "#include \"colors.h\" at line 5 comes before a leading comma, which formatting moves above it"
+      formatCpp defaultSettings includeBeforeLeadingComma
+        `shouldBe` Left
+          "#include \"colors.h\" at line 5 comes before a leading comma, where it cannot be put back"
 
     it "refuses an alternative aborting with #error that it cannot format" $
-      formatCpp abortingAlternative
-        `shouldBe` Left "the alternative that the #error at line 7 aborts cannot be formatted without parsing it"
+      formatCpp defaultSettings abortingAlternative
+        `shouldBe` Left
+          "the alternative that the #error at line 7 aborts cannot be formatted without parsing it"
 
     it "names the line of an #error that settling a conditional leaves unguarded" $
-      formatCpp abortingWhereSettled
-        `shouldBe` Left "the alternative that the #error at line 10 aborts cannot be formatted without parsing it"
+      formatCpp defaultSettings abortingWhereSettled
+        `shouldBe` Left
+          "the alternative that the #error at line 10 aborts cannot be formatted without parsing it"
 
     it "refuses a branch that a conditional around it asking the same question rules out" $
-      formatCpp ruledOut
-        `shouldBe` Left "the branch at line 6 is ruled out by a conditional around it that asks the same question"
+      formatCpp defaultSettings ruledOut
+        `shouldBe` Left
+          "the branch at line 6 is ruled out by a conditional around it that asks the same question"
 
+  describe "putting in place what a module includes" $ do
+    it "puts in a Haskell file named in quotes next to the file" $
+      includedIn
+        [("src/Body.hs", "f = 1\n")]
+        "src/M.hs"
+        "x\n#include \"Body.hs\"\ny\n"
+        `shouldBe` ("x\nf = 1\ny\n", False)
+
+    it "looks for what a file it puts in includes next to that file" $
+      includedIn
+        [("src/sub/A.hs", "#include \"B.hs\"\n"), ("src/sub/B.hs", "f = 1\n")]
+        "src/M.hs"
+        "#include \"sub/A.hs\"\n"
+        `shouldBe` ("f = 1\n", False)
+
+    it "leaves a file it cannot find, a header, and one in angle brackets" $
+      fmap
+        (snd . includedIn [("src/B.h", "f = 1\n"), ("src/B.hs", "")] "src/M.hs")
+        ["#include \"C.hs\"\n", "#include \"B.h\"\n", "#include <B.hs>\n"]
+        `shouldBe` [True, True, True]
+
+    it "leaves a file that includes itself where it does" $
+      includedIn
+        [("src/A.hs", "f = 1\n#include \"A.hs\"\n")]
+        "src/M.hs"
+        "#include \"A.hs\"\n"
+        `shouldBe` ("f = 1\n#include \"A.hs\"\n", True)
+
   describe "telling a directive line from code" $ do
     it "reads the keyword and everything after the hash" $
       directiveOnLine "# if FOO" `shouldBe` Just ("if", "if FOO")
@@ -306,7 +430,248 @@
     it "does not take an indented line for one, as cpp does not" $
       directiveOnLine "    #if FOO" `shouldBe` Nothing
 
+    it "does not take a line cpp joins to the one above for one" $ do
+      let input = "-- Built on C:\\\n#include \"paths.h\"\nf = 1\n"
+      blankCpp input `shouldBe` input
+
 ----------------------------------------------------------------------------
+-- What was read and printed, as the AST check compares them
+
+-- | What the AST check finds formatting changed, in every configuration.
+changedBy ::
+  -- | What was read.
+  Text ->
+  -- | What was printed.
+  Text ->
+  Maybe Text
+changedBy input output =
+  fst
+    ( rewritten
+        defaultParserConfig
+        (EachCppConfiguration 64)
+        (Set.singleton Cpp)
+        "example.hs"
+        (input, Nothing)
+        output
+    )
+
+-- | A @#define@ ended by an empty line, and a directive under it.
+limitDefined :: Text
+limitDefined =
+  T.unlines
+    [ "{-# LANGUAGE CPP #-}",
+      "module Terminal.Limits where",
+      "#define LIMIT \\",
+      "  80 \\",
+      "",
+      "#include \"terminal.h\"",
+      "width :: Int",
+      "width = LIMIT"
+    ]
+
+-- | 'limitDefined' with the empty line gone, so that the @#define@ takes
+-- the @#include@.
+limitTakesInclude :: Text
+limitTakesInclude =
+  T.unlines
+    [ "{-# LANGUAGE CPP #-}",
+      "module Terminal.Limits where",
+      "#define LIMIT \\",
+      "  80 \\",
+      "#include \"terminal.h\"",
+      "width :: Int",
+      "width = LIMIT"
+    ]
+
+-- | A line marker in a module using cpp.
+markedLine :: Text
+markedLine =
+  T.unlines
+    [ "{-# LANGUAGE CPP #-}",
+      "module Steps where",
+      "#ifdef DEBUG",
+      "import Debug.Trace (trace)",
+      "#endif",
+      "# 40 \"Steps.hs\"",
+      "step :: Int -> Int",
+      "step = succ"
+    ]
+
+-- | 'markedLine' without its line marker.
+markerLost :: Text
+markerLost =
+  T.unlines
+    [ "{-# LANGUAGE CPP #-}",
+      "module Steps where",
+      "#ifdef DEBUG",
+      "import Debug.Trace (trace)",
+      "#endif",
+      "step :: Int -> Int",
+      "step = succ"
+    ]
+
+-- | A block comment holding lines that would be directives at the margin.
+commentedOut :: Text
+commentedOut =
+  T.unlines
+    [ "{-# LANGUAGE CPP #-}",
+      "module A where",
+      "  {- Not yet:",
+      "  #ifdef WITH_LOCKS",
+      "  lock :: s -> IO ()",
+      "  #endif",
+      "  -}",
+      "foo :: Int",
+      "foo = 1"
+    ]
+
+-- | 'commentedOut' at the margin.
+commentedOutAtMargin :: Text
+commentedOutAtMargin =
+  T.unlines
+    [ "{-# LANGUAGE CPP #-}",
+      "module A where",
+      "{- Not yet:",
+      "#ifdef WITH_LOCKS",
+      "lock :: s -> IO ()",
+      "#endif",
+      "-}",
+      "foo :: Int",
+      "foo = 1"
+    ]
+
+-- | A context headed by a macro standing for a constraint and its arrow.
+callStackMacro :: Text
+callStackMacro =
+  T.unlines
+    [ "{-# LANGUAGE CPP #-}",
+      "module M where",
+      "import GHC.Stack (HasCallStack)",
+      "#define CALLSTACK HasCallStack =>",
+      "#define EQUAL(a, b) (a == b)",
+      "assertEqual :: CALLSTACK (Eq a, Show a) => a -> a -> IO ()",
+      "assertEqual expected actual = print EQUAL(expected,actual)"
+    ]
+
+-- | 'callStackMacro' with the context in brackets.
+callStackBracketed :: Text
+callStackBracketed =
+  T.unlines
+    [ "{-# LANGUAGE CPP #-}",
+      "module M where",
+      "import GHC.Stack (HasCallStack)",
+      "#define CALLSTACK HasCallStack =>",
+      "#define EQUAL(a, b) (a == b)",
+      "assertEqual :: (CALLSTACK (Eq a, Show a)) => a -> a -> IO ()",
+      "assertEqual expected actual = print EQUAL(expected,actual)"
+    ]
+
+-- | 'callStackMacro' with a space before the arguments of a use.
+callStackSpaced :: Text
+callStackSpaced =
+  T.unlines
+    [ "{-# LANGUAGE CPP #-}",
+      "module M where",
+      "import GHC.Stack (HasCallStack)",
+      "#define CALLSTACK HasCallStack =>",
+      "#define EQUAL(a, b) (a == b)",
+      "assertEqual :: CALLSTACK (Eq a, Show a) => a -> a -> IO ()",
+      "assertEqual expected actual = print EQUAL (expected, actual)"
+    ]
+
+-- | A macro line standing for an item and the comma before it.
+alsoHup :: Text
+alsoHup =
+  T.unlines
+    [ "{-# LANGUAGE CPP #-}",
+      "module Signals (handled) where",
+      "#define ALSO(name) , name",
+      "handled :: [String]",
+      "handled =",
+      "  [ \"INT\"",
+      "  , \"TERM\"",
+      "  ALSO(\"HUP\")",
+      "  , \"QUIT\"",
+      "  ]"
+    ]
+
+-- | 'alsoHup' with trailing commas.
+alsoHupTrailing :: Text
+alsoHupTrailing =
+  T.unlines
+    [ "{-# LANGUAGE CPP #-}",
+      "module Signals (handled) where",
+      "#define ALSO(name) , name",
+      "handled :: [String]",
+      "handled =",
+      "  [ \"INT\",",
+      "    \"TERM\",",
+      "    ALSO(\"HUP\")",
+      "    \"QUIT\"",
+      "  ]"
+    ]
+
+-- | 'alsoHup' with a block comment under the macro line.
+alsoHupNoted :: Text
+alsoHupNoted =
+  T.unlines
+    [ "{-# LANGUAGE CPP #-}",
+      "module Signals (handled) where",
+      "#define ALSO(name) , name",
+      "handled :: [String]",
+      "handled =",
+      "  [ \"INT\"",
+      "  , \"TERM\"",
+      "  ALSO(\"HUP\")",
+      "  {- hang up -}",
+      "  , \"QUIT\"",
+      "  ]"
+    ]
+
+-- | 'alsoHupNoted' with trailing commas.
+alsoHupNotedTrailing :: Text
+alsoHupNotedTrailing =
+  T.unlines
+    [ "{-# LANGUAGE CPP #-}",
+      "module Signals (handled) where",
+      "#define ALSO(name) , name",
+      "handled :: [String]",
+      "handled =",
+      "  [ \"INT\",",
+      "    \"TERM\",",
+      "    ALSO(\"HUP\")",
+      "    {- hang up -}",
+      "    \"QUIT\"",
+      "  ]"
+    ]
+
+-- | A string whose lines cpp joins, in a module with no directive.
+joinedString :: Text
+joinedString =
+  T.unlines
+    [ "{-# LANGUAGE CPP #-}",
+      "module Table (table) where",
+      "table :: String",
+      "table = id",
+      "      \"abc\\",
+      "      \\\\x41\""
+    ]
+
+-- | 'joinedString' with the joined lines moved, which changes the string
+-- cpp gives.
+joinedStringMoved :: Text
+joinedStringMoved =
+  T.unlines
+    [ "{-# LANGUAGE CPP #-}",
+      "module Table (table) where",
+      "table :: String",
+      "table =",
+      "  id",
+      "    \"abc\\",
+      "    \\\\x41\""
+    ]
+
+----------------------------------------------------------------------------
 -- The modules the question is asked of
 
 -- | A conditional between two whole declarations, which is the case the
@@ -516,6 +881,28 @@
         | i <- [1 .. n]
         ]
 
+-- | A conditional whose first branch aborts with @#error@, before another.
+behindAnError :: Text
+behindAnError =
+  T.unlines
+    [ "module M where",
+      "#if A",
+      "#error \"no\"",
+      "#endif",
+      "#if B",
+      "x = 1",
+      "#else",
+      "x = 2",
+      "#endif"
+    ]
+
+-- | The declarations of each configuration some leaves give, in order.
+declarationsIn ::
+  (Text -> Either CppError [Text]) -> Text -> Either Text [[Text]]
+declarationsIn leavesOf source =
+  sort . fmap (filter (" = " `T.isInfixOf`) . T.lines)
+    <$> said (leavesOf source)
+
 -- | A module with @n@ conditionals, each around a declaration of its own
 -- and kept apart from the next by one that is not.
 apart :: Int -> Text
@@ -548,6 +935,18 @@
       <> replicate m "  , 0"
       <> ["  ]"]
 
+-- | A module exporting @n@ names, each behind a conditional of its own
+-- asking the same question.
+exportedOneByOne :: Int -> Text
+exportedOneByOne n =
+  T.unlines $
+    ["module M", "  ( a0"]
+      <> concat
+        [ ["#if A", "  , a" <> T.pack (show i), "#endif"]
+        | i <- [1 .. n]
+        ]
+      <> ["  ) where", "", "a0 = 0"]
+
 -- | A module with @n@ conditionals in a row, all asking the same question.
 --
 -- Which makes them one question, however many times it is written down. The
@@ -627,36 +1026,19 @@
 -- | Two alternatives, only one of which parses.
 oneAlternativeParses :: Text
 oneAlternativeParses =
-  T.unlines ["module M where", "", "#ifdef FOO", "f = 1", "#else", "f = (", "#endif"]
+  T.unlines
+    ["module M where", "", "#ifdef FOO", "f = 1", "#else", "f = (", "#endif"]
 
 -- | Two alternatives, neither of which parses.
 noAlternativeParses :: Text
 noAlternativeParses =
-  T.unlines ["module M where", "", "#ifdef FOO", "f = (", "#else", "f = [", "#endif"]
-
--- | An @#if@ with nothing to close it.
-unbalanced :: Text
-unbalanced = T.unlines ["module M where", "", "#ifdef FOO", "f = 1"]
+  T.unlines
+    ["module M where", "", "#ifdef FOO", "f = (", "#else", "f = [", "#endif"]
 
 -- | An @#endif@ with nothing to close.
 strayEndif :: Text
 strayEndif = T.unlines ["module M where", "", "f = 1", "#endif"]
 
--- | A directive that the preprocessor acts on although it is written inside
--- a quasiquote, which is reproduced verbatim.
-includeInQuasiquote :: Text
-includeInQuasiquote =
-  T.unlines
-    [ "{-# LANGUAGE QuasiQuotes #-}",
-      "",
-      "module M where",
-      "",
-      "banner =",
-      "  [template|",
-      "#include \"banner.txt\"",
-      "|]"
-    ]
-
 -- | An @#include@ standing for items of a list, written above the comma
 -- that separates them from the next.
 includeBeforeLeadingComma :: Text
@@ -781,6 +1163,17 @@
       Left _ -> Left ("did not parse:\n" <> text)
       Right parsed -> Right (pmModule parsed)
 sameBranch _ = Left "preprocessing changed between succeeding and failing"
+
+-- | A module with what it includes in place, where it is at the path
+-- given and the files given are all there are, and whether it includes
+-- another file.
+includedIn :: [(FilePath, Text)] -> FilePath -> Text -> (Text, Bool)
+includedIn files path =
+  second isTrue . runIdentity . withIncluded nextTo path
+  where
+    nextTo including name =
+      let file = takeDirectory including </> name
+       in Identity ((file,) <$> lookup file files)
 
 -- | How many modules parsing every branch of a module comes to.
 branchesParsed :: Text -> Maybe Int
diff --git a/tests/Tilia/DiffSpec.hs b/tests/Tilia/DiffSpec.hs
--- a/tests/Tilia/DiffSpec.hs
+++ b/tests/Tilia/DiffSpec.hs
@@ -8,6 +8,7 @@
 import Data.Text qualified as T
 import Test.Hspec
 import Test.QuickCheck
+
 import Tilia.Diff
 import Tilia.Palette (Palette (..))
 
@@ -31,14 +32,19 @@
         `shouldBe` [Removed, Added, Added, Added, Context, Removed]
 
     it "keeps everything when nothing changed" $
-      editScript ["a", "b", "c"] ["a", "b", "c"] `shouldBe` [Context, Context, Context]
+      editScript ["a", "b", "c"] ["a", "b", "c"]
+        `shouldBe` [Context, Context, Context]
 
     it "takes everything out and puts everything in when nothing is shared" $
       editScript ["a", "b"] ["c"] `shouldBe` [Removed, Removed, Added]
 
   describe "a unified diff" $ do
     it "shows a changed line with the lines around it" $
-      diffInFull Plain "A.hs" "a\nb\nc\nd\ne\nf\ng\nh\n" "a\nb\nc\nd\nE\nf\ng\nh\n"
+      diffInFull
+        Plain
+        "A.hs"
+        "a\nb\nc\nd\ne\nf\ng\nh\n"
+        "a\nb\nc\nd\nE\nf\ng\nh\n"
         `shouldBe` T.intercalate
           "\n"
           [ "diff --git a/A.hs b/A.hs",
@@ -82,10 +88,23 @@
 
     it "starts a side with no lines at 0, as git does" $
       diff Plain ("x", "y") "\n\n" ""
-        `shouldBe` T.intercalate "\n" ["--- x", "+++ y", "@@ -1,2 +0,0 @@", "-", "-"]
+        `shouldBe` T.intercalate
+          "\n"
+          ["--- x", "+++ y", "@@ -1,2 +0,0 @@", "-", "-"]
 
     it "keeps changes far apart in hunks of their own" $
-      length (filter (T.isPrefixOf "@@") (T.lines (diff Plain ("x", "y") far (T.replace "k" "K" (T.replace "b" "B" far)))))
+      length
+        ( filter
+            (T.isPrefixOf "@@")
+            ( T.lines
+                ( diff
+                    Plain
+                    ("x", "y")
+                    far
+                    (T.replace "k" "K" (T.replace "b" "B" far))
+                )
+            )
+        )
         `shouldBe` 2
   where
     far = T.unlines ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l"]
diff --git a/tests/Tilia/Doc/BodySpec.hs b/tests/Tilia/Doc/BodySpec.hs
deleted file mode 100644
--- a/tests/Tilia/Doc/BodySpec.hs
+++ /dev/null
@@ -1,61 +0,0 @@
-{-# LANGUAGE LambdaCase #-}
-{-# LANGUAGE OverloadedStrings #-}
-
--- | Placement, attachment, and the 'Body' class.
-module Tilia.Doc.BodySpec (spec) where
-
-import Data.Text (Text)
-import Test.Hspec
-import Tilia.Doc
-import Tilia.Doc.Body
-import Tilia.Doc.Combinators
-
--- | A stand-in for a real body type, enough to exercise the class: one
--- construct that hangs, one that does not, and one that takes its answer
--- from another.
-data Toy
-  = Call Text Text
-  | Block [Text]
-  | Apply Toy Toy
-
-instance Body Toy where
-  printBody = \case
-    Call f x -> txt f <> space <> txt x
-    Block ss -> txt "do" <> indent (hardBreak <> sepBy hardBreak (fmap txt ss))
-    Apply f x -> printBody f <> space <> printBody x
-
-  bodyPlacement = \case
-    Call _ _ -> Normal
-    Block _ -> Hanging
-    Apply _ x -> bodyPlacement x
-
-spec :: Spec
-spec = do
-  describe "attach" $ do
-    it "hands over the line when hanging" $
-      out (broken (txt "=" <> attach Hanging (txt "do" <> indent (hardBreak <> txt "s"))))
-        `shouldBe` "= do\n  s\n"
-    it "breaks and indents when normal" $
-      out (broken (txt "=" <> attach Normal (txt "f" <> space <> txt "x")))
-        `shouldBe` "=\n  f x\n"
-    it "stays on one line when flat, either way" $ do
-      out (flat (txt "=" <> attach Normal (txt "x"))) `shouldBe` "= x\n"
-      out (flat (txt "=" <> attach Hanging (txt "x"))) `shouldBe` "= x\n"
-
-  describe "Body" $ do
-    it "attaches a hanging body" $
-      out (broken (txt "=" <> attachBody (Block ["a", "b"])))
-        `shouldBe` "= do\n  a\n  b\n"
-    it "attaches a normal body" $
-      out (broken (txt "=" <> attachBody (Call "f" "x")))
-        `shouldBe` "=\n  f x\n"
-    it "propagates placement through an application" $
-      bodyPlacement (Apply (Call "f" "x") (Block ["a"])) `shouldBe` Hanging
-    it "stops propagating at a non-hanging tail" $
-      bodyPlacement (Apply (Block ["a"]) (Call "f" "x")) `shouldBe` Normal
-    it "propagates through nesting" $
-      bodyPlacement (Apply (Call "f" "x") (Apply (Call "g" "y") (Block ["a"])))
-        `shouldBe` Hanging
-
-out :: Doc -> Text
-out = printDoc
diff --git a/tests/Tilia/Doc/CombinatorsSpec.hs b/tests/Tilia/Doc/CombinatorsSpec.hs
--- a/tests/Tilia/Doc/CombinatorsSpec.hs
+++ b/tests/Tilia/Doc/CombinatorsSpec.hs
@@ -3,28 +3,32 @@
 -- | The vocabulary printing code is written in.
 module Tilia.Doc.CombinatorsSpec (spec) where
 
-import Data.Text (Text)
 import Test.Hspec
+import Prelude hiding (break)
+
 import Tilia.Doc
 import Tilia.Doc.Combinators
 import Tilia.Span
+import Tilia.TestUtils (indentedBy, withEachSettings)
 
 spec :: Spec
-spec = do
+spec = withEachSettings $ \settings -> do
+  let out = printDoc settings
+      step = indentedBy settings
   describe "groups" $ do
     it "becomes a space when flat" $
-      out (flat (txt "a" <> breakOrSpace <> txt "b")) `shouldBe` "a b\n"
+      out (flat (txt "a" <> break <> txt "b")) `shouldBe` "a b\n"
     it "becomes a break when broken" $
-      out (broken (txt "a" <> breakOrSpace <> txt "b")) `shouldBe` "a\nb\n"
+      out (broken (txt "a" <> break <> txt "b")) `shouldBe` "a\nb\n"
     it "leaves nothing when flat" $
-      out (flat (txt "a" <> breakOrNothing <> txt "b")) `shouldBe` "ab\n"
+      out (flat (txt "a" <> break' <> txt "b")) `shouldBe` "ab\n"
     it "becomes a break when broken, leaving nothing behind" $
-      out (broken (txt "a" <> breakOrNothing <> txt "b")) `shouldBe` "a\nb\n"
+      out (broken (txt "a" <> break' <> txt "b")) `shouldBe` "a\nb\n"
     it "lets an inner group override the enclosing layout" $
-      out (flat (txt "a" <> broken (breakOrSpace <> txt "b")))
+      out (flat (txt "a" <> broken (break <> txt "b")))
         `shouldBe` "a\nb\n"
-    it "ignores a hard line's enclosing layout" $
-      out (flat (txt "a" <> hardBreak <> txt "b")) `shouldBe` "a\nb\n"
+    it "starts a new line whatever the enclosing layout" $
+      out (flat (txt "a" <> newline <> txt "b")) `shouldBe` "a\nb\n"
 
   describe "variant" $ do
     it "takes the first branch when flat" $
@@ -32,53 +36,153 @@
     it "takes the second branch when broken" $
       out (broken (variant (txt "one") (txt "many"))) `shouldBe` "many\n"
 
-  describe "provenance" $
-    it "does not affect layout" $ do
-      let d = txt "a" <> breakOrSpace <> txt "b"
-          s = mkSpan (1, 1) (1, 9)
-      out (flat (located s d)) `shouldBe` out (flat d)
-
   describe "combining" $ do
-    it "separates with commaSep when flat" $
-      out (flat (commaSep [txt "a", txt "b", txt "c"]))
+    it "separates with commaSep when flat" $ do
+      out (flat (commaSep TrailingCommas [txt "a", txt "b", txt "c"]))
         `shouldBe` "a, b, c\n"
-    it "keeps commas on the line above when broken" $
-      out (broken (commaSep [txt "a", txt "b"]))
+      out (flat (commaSep LeadingCommas [txt "a", txt "b", txt "c"]))
+        `shouldBe` "a, b, c\n"
+    it "keeps trailing commas on the line above when broken" $
+      out (broken (commaSep TrailingCommas [txt "a", txt "b"]))
         `shouldBe` "a,\nb\n"
+    it "starts the line below with a leading comma when broken" $
+      out (broken (commaSep LeadingCommas [txt "a", txt "b"]))
+        `shouldBe` "a\n, b\n"
     it "handles an empty list" $
-      out (flat (commaSep [])) `shouldBe` ""
+      out (flat (commaSep TrailingCommas [])) `shouldBe` ""
     it "handles a single element" $
-      out (broken (commaSep [txt "a"])) `shouldBe` "a\n"
-    it "joins with hsep" $
-      out (flat (hsep [txt "a", txt "b"])) `shouldBe` "a b\n"
-    it "joins with vsep" $
-      out (flat (vsep [txt "a", txt "b"])) `shouldBe` "a\nb\n"
+      out (broken (commaSep LeadingCommas [txt "a"])) `shouldBe` "a\n"
+    it "puts a separating comma before what follows" $
+      out
+        ( broken
+            ( txt "  "
+                <> align (txt "a" <> separatingComma LeadingCommas <> txt "b")
+            )
+        )
+        `shouldBe` "  a\n, b\n"
+    it "lines items up after a lead-in" $ do
+      let items = [txt "a", txt "b"]
+      out (broken (commaSepAfter TrailingCommas "|" items))
+        `shouldBe` "| a,\n  b\n"
+      out (broken (commaSepAfter LeadingCommas "|" items))
+        `shouldBe` "| a\n, b\n"
+    it "joins with a separator" $
+      out (flat (sepBy newline [txt "a", txt "b"])) `shouldBe` "a\nb\n"
 
   describe "brackets" $ do
     it "adds nothing when flat" $
-      out (flat (parens (commaSep [txt "a", txt "b"])))
+      out
+        ( flat
+            ( parens
+                (Nothing, Nothing)
+                (commaSep TrailingCommas [txt "a", txt "b"])
+            )
+        )
         `shouldBe` "(a, b)\n"
     it "keeps the opening bracket company when broken" $
-      out (broken (parens (commaSep [txt "a", txt "b"])))
+      out
+        ( broken
+            ( parens
+                (Nothing, Nothing)
+                (commaSep TrailingCommas [txt "a", txt "b"])
+            )
+        )
         `shouldBe` "( a,\n  b\n)\n"
-    it "lines the body up under itself" $
-      out (broken (brackets (commaSep [txt "a", txt "b", txt "c"])))
+    it "lines the body up under itself" $ do
+      let items = [txt "a", txt "b", txt "c"]
+      out
+        ( broken
+            ( bracketWith
+                0
+                (Nothing, Nothing)
+                "["
+                "]"
+                (commaSep TrailingCommas items)
+            )
+        )
         `shouldBe` "[ a,\n  b,\n  c\n]\n"
-    it "keeps the closing bracket in when asked" $
-      out (broken (parensWith Indented (commaSep [txt "a", txt "b"])))
-        `shouldBe` "( a,\n  b\n  )\n"
+    it "keeps the closing bracket in when asked" $ do
+      let items = [txt "a", txt "b"]
+      out
+        ( broken
+            ( bracketWith
+                1
+                (Nothing, Nothing)
+                "("
+                ")"
+                (commaSep TrailingCommas items)
+            )
+        )
+        `shouldBe` "( a,\n  b\n" <> step 1 <> ")\n"
+    it "puts leading commas under the opening bracket" $
+      out (broken (ledByCommas 0 [txt "a", txt "b", txt "c"]))
+        `shouldBe` "[ a\n, b\n, c\n]\n"
+    it "puts leading commas under the first item where the closing bracket goes a step in" $
+      out (broken (ledByCommas 1 [txt "a", txt "b"]))
+        `shouldBe` "[ a\n  , b\n" <> step 1 <> "]\n"
+    it "adds nothing to leading commas when flat" $
+      out (flat (ledByCommas 0 [txt "a", txt "b"]))
+        `shouldBe` "[a, b]\n"
     it "renders an empty bracket pair flat" $
-      out (flat (brackets mempty)) `shouldBe` "[]\n"
+      out (flat (bracketWith 0 (Nothing, Nothing) "[" "]" mempty))
+        `shouldBe` "[]\n"
     it "spaces the unboxed pair" $
-      out (flat (unboxed (commaSep [txt "a", txt "b"])))
+      out
+        ( flat
+            ( spacedBracket
+                0
+                0
+                (Nothing, Nothing)
+                "(#"
+                "#)"
+                (commaSep TrailingCommas [txt "a", txt "b"])
+            )
+        )
         `shouldBe` "(# a, b #)\n"
     it "gives a spaced pair its own lines when broken" $
-      out (broken (unboxed (commaSep [txt "a", txt "b"])))
-        `shouldBe` "(#\n  a,\n  b\n#)\n"
+      out
+        ( broken
+            ( spacedBracket
+                0
+                0
+                (Nothing, Nothing)
+                "(#"
+                "#)"
+                (commaSep TrailingCommas [txt "a", txt "b"])
+            )
+        )
+        `shouldBe` "(#\n" <> step 1 <> "a,\n" <> step 1 <> "b\n#)\n"
     it "wraps in backticks" $
       out (flat (backticks (txt "div"))) `shouldBe` "`div`\n"
 
-  describe "conditionals" $ do
+  describe "attach" $ do
+    it "hands over the line when hanging" $
+      out (broken (txt "=" <> attach Hanging (txt "do" >+> newline <> txt "s")))
+        `shouldBe` "= do\n" <> step 1 <> "s\n"
+    it "breaks when normal" $
+      out (broken (txt "=" >+> attach Normal (txt "f" <> space <> txt "x")))
+        `shouldBe` "=\n" <> step 1 <> "f x\n"
+    it "stays on one line when flat, either way" $ do
+      out (flat (txt "=" <> attach Normal (txt "x"))) `shouldBe` "= x\n"
+      out (flat (txt "=" <> attach Hanging (txt "x"))) `shouldBe` "= x\n"
+
+  describe "relations" $ do
+    it "begins a line a step right of the line the part before begins on" $
+      out (broken (txt "f" <> space <> (txt "g" >+> newline <> txt "x")))
+        `shouldBe` "f g\n" <> step 1 <> "x\n"
+    it "takes a step from the line the part before begins" $
+      out (broken (txt "f" >+> newline <> (txt "g" >+> newline <> txt "x")))
+        `shouldBe` "f\n" <> step 1 <> "g\n" <> step 2 <> "x\n"
+    it "lines up what takes no step there" $
+      out
+        ( broken
+            ( txt "|"
+                <> DAligned 3 (txt "   " <> (txt "g" >+> newline <> txt "x"))
+            )
+        )
+        `shouldBe` "|   g\n    " <> step 1 <> "x\n"
+
+  describe "inclusion" $ do
     it "includes when the condition holds" $
       out (flat (txt "a" <> includeWhen True (space <> txt "b")))
         `shouldBe` "a b\n"
@@ -88,5 +192,15 @@
     it "inverts with includeUnless" $
       out (flat (includeUnless True (txt "a"))) `shouldBe` ""
 
-out :: Doc -> Text
-out = printDoc
+-- | Items in square brackets, with leading commas, each written on a line
+-- of its own.
+ledByCommas ::
+  -- | Where the closing bracket goes.
+  Int ->
+  -- | The items.
+  [Doc] ->
+  Doc
+ledByCommas closing =
+  commaBracketWith LeadingCommas closing (Nothing, Nothing) "[" "]"
+    . commaSep LeadingCommas
+    . zipWith (\l -> located (mkSpan (l, 3) (l, 4))) [1 ..]
diff --git a/tests/Tilia/Doc/InternalSpec.hs b/tests/Tilia/Doc/InternalSpec.hs
--- a/tests/Tilia/Doc/InternalSpec.hs
+++ b/tests/Tilia/Doc/InternalSpec.hs
@@ -5,16 +5,18 @@
 
 import Data.Text (Text)
 import Test.Hspec
+import Prelude hiding (break)
+
 import Tilia.Doc
 import Tilia.Doc.Combinators
-import Tilia.Doc.Internal
-  ( Doc (DCppDirective, DHoldBack),
-    Spill (..),
-  )
 import Tilia.Span
+import Tilia.TestUtils (indentedBy, withEachSettings)
 
 spec :: Spec
-spec = do
+spec = withEachSettings $ \settings -> do
+  let out = printDoc settings
+      step = indentedBy settings
+      apart = newline <> declDelimiter DeclSeparate
   describe "atoms" $ do
     it "renders nothing for an empty document" $
       out mempty `shouldBe` ""
@@ -23,7 +25,7 @@
     it "collapses repeated spaces" $
       out (txt "a" <> space <> space <> txt "b") `shouldBe` "a b\n"
     it "drops a space before a line break" $
-      out (txt "a" <> space <> hardBreak <> txt "b") `shouldBe` "a\nb\n"
+      out (txt "a" <> space <> newline <> txt "b") `shouldBe` "a\nb\n"
     it "drops a leading space" $
       out (space <> txt "a") `shouldBe` "a\n"
     it "ignores an empty fragment" $
@@ -31,79 +33,139 @@
 
   describe "blank lines" $ do
     it "collapses runs" $
-      out (txt "a" <> blankLine <> blankLine <> txt "b")
+      out (txt "a" <> apart <> apart <> txt "b")
         `shouldBe` "a\n\nb\n"
     it "drops a leading blank line" $
-      out (blankLine <> txt "a") `shouldBe` "a\n"
+      out (apart <> txt "a") `shouldBe` "a\n"
     it "drops a trailing blank line" $
-      out (txt "a" <> blankLine) `shouldBe` "a\n"
+      out (txt "a" <> apart) `shouldBe` "a\n"
     it "separates when there is content on both sides" $
-      out (txt "a" <> blankLine <> txt "b") `shouldBe` "a\n\nb\n"
-    it "caps a run of hard breaks at one blank line" $ do
-      out (txt "a" <> hardBreak <> hardBreak <> txt "b")
-        `shouldBe` "a\n\nb\n"
-      out (txt "a" <> hardBreak <> hardBreak <> hardBreak <> txt "b")
-        `shouldBe` "a\n\nb\n"
-      out (txt "a" <> mconcat (replicate 8 hardBreak) <> txt "b")
-        `shouldBe` "a\n\nb\n"
-    it "caps a mixture of hard breaks and blank lines" $
-      out (txt "a" <> hardBreak <> blankLine <> hardBreak <> blankLine <> txt "b")
+      out (txt "a" <> apart <> txt "b") `shouldBe` "a\n\nb\n"
+    it "leaves none for any number of newlines" $ do
+      out (txt "a" <> newline <> newline <> txt "b")
+        `shouldBe` "a\nb\n"
+      out (txt "a" <> mconcat (replicate 8 newline) <> txt "b")
+        `shouldBe` "a\nb\n"
+    it "leaves one for newlines and delimiters that keep things apart" $
+      out (txt "a" <> newline <> apart <> newline <> apart <> txt "b")
         `shouldBe` "a\n\nb\n"
-    it "still breaks once for a single hard break" $
-      out (txt "a" <> hardBreak <> txt "b") `shouldBe` "a\nb\n"
+    it "leaves none for a delimiter that keeps things together" $
+      out (txt "a" <> newline <> declDelimiter DeclJoined <> txt "b")
+        `shouldBe` "a\nb\n"
+    it "leaves none for a delimiter in the middle of a line" $
+      out (txt "a;" <> space <> declDelimiter DeclSeparate <> txt "b")
+        `shouldBe` "a; b\n"
+    it "still breaks once for a single newline" $
+      out (txt "a" <> newline <> txt "b") `shouldBe` "a\nb\n"
 
   describe "indentation" $ do
     it "indents by one step" $
-      out (broken (txt "a" <> indent (breakOrSpace <> txt "b")))
-        `shouldBe` "a\n  b\n"
+      out (broken (txt "a" >+> break <> txt "b"))
+        `shouldBe` "a\n" <> step 1 <> "b\n"
     it "nests relative to the enclosing level" $
-      out (broken (txt "a" <> indent (breakOrSpace <> txt "b" <> indent (breakOrSpace <> txt "c"))))
-        `shouldBe` "a\n  b\n    c\n"
+      out (broken (txt "a" >+> break <> (txt "b" >+> break <> txt "c")))
+        `shouldBe` "a\n" <> step 1 <> "b\n" <> step 2 <> "c\n"
     it "aligns to the current column" $
-      out (broken (txt "ab" <> space <> align (txt "c" <> breakOrSpace <> txt "d")))
+      out (broken (txt "ab" <> space <> align (txt "c" <> break <> txt "d")))
         `shouldBe` "ab c\n   d\n"
     it "leaves no trailing whitespace on an empty line" $
-      out (broken (indent (txt "a" <> hardBreak <> hardBreak <> txt "b")))
-        `shouldBe` "  a\n\n  b\n"
+      out (broken (stepIn (txt "a" <> apart <> txt "b")))
+        `shouldBe` step 1 <> "a\n\n" <> step 1 <> "b\n"
     it "does not indent a line with nothing on it" $
-      out (broken (indent (txt "a" <> hardBreak)))
-        `shouldBe` "  a\n"
+      out (broken (stepIn (txt "a" <> newline)))
+        `shouldBe` step 1 <> "a\n"
     it "puts held-back text that spills onto lines of its own at the line's indentation" $
-      out (indent (txt "  a" <> held "-- x" <> held "-- y" <> hardBreak))
-        `shouldBe` "    a -- x\n  -- y\n"
+      out (stepIn (txt "  a" <> held "-- x" <> held "-- y" <> newline))
+        `shouldBe` step 1 <> "  a -- x\n" <> step 1 <> "-- y\n"
     it "lines spilled held-back text up with what was held back before it" $
-      out (indent (txt "  a" <> held "-- x" <> underPrevious "-- y" <> hardBreak))
-        `shouldBe` "    a -- x\n      -- y\n"
+      out (stepIn (txt "  a" <> held "-- x" <> underPrevious "-- y" <> newline))
+        `shouldBe` step 1 <> "  a -- x\n" <> step 1 <> "    -- y\n"
     it "lines it up with what was held back before it where that spilled too" $
-      out (indent (txt "  a" <> held "-- x" <> held "-- y" <> underPrevious "-- z" <> hardBreak))
-        `shouldBe` "    a -- x\n  -- y\n  -- z\n"
+      out
+        ( stepIn
+            ( txt "  a"
+                <> held "-- x"
+                <> held "-- y"
+                <> underPrevious "-- z"
+                <> newline
+            )
+        )
+        `shouldBe` step 1
+          <> "  a -- x\n"
+          <> step 1
+          <> "-- y\n"
+          <> step 1
+          <> "-- z\n"
 
+  describe "alignments" $ do
+    it "begin their lines at the column they begin at" $
+      out (txt "ab" <> space <> DAligned 0 (txt "c" <> newline <> txt "d"))
+        `shouldBe` "ab c\n   d\n"
+    it "begin their lines so many columns right of that" $
+      out (txt "ab" <> space <> DAligned 1 (txt "c" <> newline <> txt "d"))
+        `shouldBe` "ab c\n    d\n"
+
   describe "margin notes" $ do
     it "go to the margin right above a directive" $
-      out (indent (txt "a" <> hardBreak <> cppMarginNote (txt "-- x") <> hardBreak <> directive))
-        `shouldBe` "  a\n-- x\n#if X\n"
+      out
+        ( stepIn
+            ( txt "a"
+                <> newline
+                <> DCppMarginNote (txt "-- x")
+                <> newline
+                <> directive
+            )
+        )
+        `shouldBe` step 1 <> "a\n-- x\n#if X\n"
     it "go to the margin together when several are right above a directive" $
-      out (indent (cppMarginNote (txt "-- x") <> hardBreak <> cppMarginNote (txt "-- y") <> hardBreak <> directive))
+      out
+        ( stepIn
+            ( DCppMarginNote (txt "-- x")
+                <> newline
+                <> DCppMarginNote (txt "-- y")
+                <> newline
+                <> directive
+            )
+        )
         `shouldBe` "-- x\n-- y\n#if X\n"
     it "stay indented when a blank line is between them and a directive" $
-      out (indent (cppMarginNote (txt "-- x") <> blankLine <> directive))
-        `shouldBe` "  -- x\n\n#if X\n"
+      out (stepIn (DCppMarginNote (txt "-- x") <> apart <> directive))
+        `shouldBe` step 1 <> "-- x\n\n#if X\n"
     it "stay indented with no directive under them" $
-      out (indent (cppMarginNote (txt "-- x") <> hardBreak <> txt "a"))
-        `shouldBe` "  -- x\n  a\n"
+      out (stepIn (DCppMarginNote (txt "-- x") <> newline <> txt "a"))
+        `shouldBe` step 1 <> "-- x\n" <> step 1 <> "a\n"
     it "stay where they are on a line something else began" $
-      out (indent (txt "a" <> space <> cppMarginNote (txt "-- x") <> hardBreak <> directive))
-        `shouldBe` "  a -- x\n#if X\n"
+      out
+        ( stepIn
+            ( txt "a"
+                <> space
+                <> DCppMarginNote (txt "-- x")
+                <> newline
+                <> directive
+            )
+        )
+        `shouldBe` step 1 <> "a -- x\n#if X\n"
     it "stay indented when something else follows them on their line" $
-      out (indent (cppMarginNote (txt "{- x -}") <> space <> txt "a" <> hardBreak <> directive))
-        `shouldBe` "  {- x -} a\n#if X\n"
+      out
+        ( stepIn
+            ( DCppMarginNote (txt "{- x -}")
+                <> space
+                <> txt "a"
+                <> newline
+                <> directive
+            )
+        )
+        `shouldBe` step 1 <> "{- x -} a\n#if X\n"
 
-held, underPrevious :: Text -> Doc
-held = DHoldBack SpillAtIndentation
-underPrevious = DHoldBack SpillUnderPrevious
+-- | A step in from an empty part placed right before it, so from the
+-- indentation in force.
+stepIn :: Doc -> Doc
+stepIn d = ref mempty <> indent 1 (ptr mempty) d
 
-out :: Doc -> Text
-out = printDoc
+held, underPrevious :: Text -> Doc
+held = DComment (HeldBack SpillAtIndentation) (mkSpan (1, 1) (1, 1)) . DText
+underPrevious =
+  DComment (HeldBack SpillUnderPrevious) (mkSpan (1, 1) (1, 1)) . DText
 
 directive :: Doc
 directive = DCppDirective (mkSpan (9, 1) (9, 6)) "if X"
diff --git a/tests/Tilia/Doc/PropertiesSpec.hs b/tests/Tilia/Doc/PropertiesSpec.hs
--- a/tests/Tilia/Doc/PropertiesSpec.hs
+++ b/tests/Tilia/Doc/PropertiesSpec.hs
@@ -8,12 +8,15 @@
 import Data.Text qualified as T
 import Test.Hspec
 import Test.QuickCheck
+
 import Tilia.Doc
 import Tilia.Doc.Combinators
 import Tilia.Gen
+import Tilia.TestUtils (withEachSettings)
 
 spec :: Spec
-spec = do
+spec = withEachSettings $ \settings -> do
+  let out = printDoc settings
   describe "output shape" $ do
     it "never leaves trailing whitespace on a line" $
       property $ \(AnyDoc d) ->
@@ -34,7 +37,9 @@
       property $ \(AnyDoc d) ->
         let ls = T.lines (out d)
             pairs = zip ls (drop 1 ls)
-         in counterexample (show ls) (not (any (\(a, b) -> T.null a && T.null b) pairs))
+         in counterexample
+              (show ls)
+              (not (any (\(a, b) -> T.null a && T.null b) pairs))
 
   describe "content" $
     it "emits exactly the text it was given, and nothing else" $
@@ -70,6 +75,3 @@
 -- remove; what remains is what it must not touch.
 squash :: Text -> Text
 squash = T.filter (not . isSpace)
-
-out :: Doc -> Text
-out = printDoc
diff --git a/tests/Tilia/EditorSpec.hs b/tests/Tilia/EditorSpec.hs
--- a/tests/Tilia/EditorSpec.hs
+++ b/tests/Tilia/EditorSpec.hs
@@ -16,6 +16,7 @@
 import System.FilePath ((</>))
 import System.IO.Temp (withSystemTempDirectory)
 import Test.Hspec
+
 import Tilia.Editor
   ( Compiled (..),
     compiledSession,
@@ -27,6 +28,7 @@
 import Tilia.Format (FormatError, formatErrorExitCode)
 import Tilia.Run (Outcome (..))
 import Tilia.TestUtils (withOpsProject)
+import Tilia.Utils (writeUtf8File)
 
 spec :: Spec
 spec = describe "formatting what an editor holds" $ do
@@ -60,16 +62,35 @@
       buffer ("src" </> "Uses.hs") "module Uses where\nimport Ops\nx=a <+> b\n"
         `shouldReturn` CameTo "module Uses where\n\nimport Ops\n\nx = a <+> b\n"
 
+  it "puts the imports of the project's own modules after the rest" $
+    withProject $ \buffer ->
+      buffer ("src" </> "Uses.hs") importsOfBoth
+        `shouldReturn` CameTo importsOfBothGrouped
+
+  it "takes an import naming another package for one of that package's" $
+    withProject $ \buffer ->
+      buffer ("src" </> "Uses.hs") importsByPackage
+        `shouldReturn` CameTo importsByPackageGrouped
+
   it "takes fixities from a module that begins with a byte order mark" $
     withProject $ \buffer ->
-      buffer ("src" </> "Uses.hs") "module Uses where\nimport Marked\nx=a <-> b\n"
-        `shouldReturn` CameTo "module Uses where\n\nimport Marked\n\nx = a <-> b\n"
+      buffer
+        ("src" </> "Uses.hs")
+        "module Uses where\nimport Marked\nx=a <-> b\n"
+        `shouldReturn` CameTo
+          "module Uses where\n\nimport Marked\n\nx = a <-> b\n"
 
   it "declines an operator from a module it cannot read" $
     withProject $ \buffer ->
-      buffer ("src" </> "Uses.hs") "module Uses where\nimport Nowhere\nx=a <?> b\n"
-        `shouldReturn` CameDeclined 15
+      buffer
+        ("src" </> "Uses.hs")
+        "module Uses where\nimport Nowhere\nx=a <?> b\n"
+        `shouldReturn` CameDeclined 24
 
+  it "does not decline an operator a branch its flags rule out cannot read" $
+    withProjectHolding [("fake.cabal", flagged)] $ \buffer ->
+      buffer ("src" </> "Uses.hs") flaggedOff `shouldReturn` CameOut
+
   it "takes fixities for a buffer whose branches do not parse together" $
     withProject $ \buffer ->
       buffer ("src" </> "Checks.hs") alternatives `shouldReturn` CameOut
@@ -77,7 +98,7 @@
   it "declines an operator it cannot settle where the branches do not parse together" $
     withProject $ \buffer ->
       buffer ("src" </> "Uses.hs") alternativesUsingUnknown
-        `shouldReturn` CameDeclined 15
+        `shouldReturn` CameDeclined 24
 
   it "leaves alone a file the project's .tiliaignore excludes" $
     withProject $ \buffer ->
@@ -87,7 +108,7 @@
   it "fails on a buffer that does not parse" $
     withProject $ \buffer ->
       buffer ("src" </> "Ops.hs") "module Ops where\nx = (\n"
-        `shouldReturn` CameFailed 4
+        `shouldReturn` CameFailed 10
 
   it "fails where no project is above the file" $
     withSystemTempDirectory "tilia-editor" $ \dir ->
@@ -102,31 +123,207 @@
           (Don't #debugFixity)
         `shouldReturn` Just 2
 
+  it "fails where a .cabal file of the project does not parse" $
+    inProject [] $ \project planFile -> do
+      writeUtf8File (project </> "fake.cabal") "library\n  exposed-modules: {\n"
+      either (Just . failure) (const Nothing)
+        <$> editorSession
+          (project </> "src" </> "Ops.hs")
+          (Just planFile)
+          (Don't #useCache)
+          (Don't #download)
+          (Don't #checkAst)
+          (Don't #checkIdempotence)
+          (Don't #debugFixity)
+        `shouldReturn` Just 4
+
+  it "fails before solving where the project names no packages" $
+    withSystemTempDirectory "tilia-editor" $ \dir -> do
+      writeUtf8File (dir </> "cabal.project") "packages: missing\n"
+      either (Just . failure) (const Nothing)
+        <$> editorSession
+          (dir </> "A.hs")
+          Nothing
+          (Don't #useCache)
+          (Don't #download)
+          (Don't #checkAst)
+          (Don't #checkIdempotence)
+          (Don't #debugFixity)
+        `shouldReturn` Just 4
+
+  describe "given the project's tilia.toml" $ do
+    it "breaks what runs past the column limit it sets" $
+      withProjectHolding [("tilia.toml", "column-limit = 20\n")] $ \buffer ->
+        buffer ("src" </> "Ops.hs") breakable
+          `shouldReturn` CameTo brokenAtTwenty
+
+    it "breaks at the column limit it sets under the preprocessor" $
+      withProjectHolding [("tilia.toml", "column-limit = 20\n")] $ \buffer ->
+        buffer ("src" </> "Ops.hs") conditionallyBreakable
+          `shouldReturn` CameTo conditionallyBrokenAtTwenty
+
+    it "breaks at the column limit it sets given what compiling establishes" $
+      withCompiledHolding [("tilia.toml", "column-limit = 20\n")] $ \buffer ->
+        buffer ("src" </> "Ops.hs") breakable
+          `shouldReturn` CameTo brokenAtTwenty
+
+    it "fails where it cannot be used" $
+      withProjectHolding [("tilia.toml", "column-limit = 0\n")] $ \buffer ->
+        buffer ("src" </> "Ops.hs") "module Ops where\nx=1\n"
+          `shouldReturn` CameFailed 5
+
   describe "given what compiling the project establishes" $ do
+    it "puts the imports of the project's own modules after the rest" $
+      withCompiled $ \buffer ->
+        buffer ("src" </> "Uses.hs") importsOfBoth
+          `shouldReturn` CameTo importsOfBothGrouped
+
     it "takes fixities from the interfaces it is given" $
       withCompiled $ \buffer ->
-        buffer ("src" </> "Uses.hs") "module Uses where\nimport Ops\nx=a <+> b\n"
-          `shouldReturn` CameTo "module Uses where\n\nimport Ops\n\nx = a <+> b\n"
+        buffer
+          ("src" </> "Uses.hs")
+          "module Uses where\nimport Ops\nx=a <+> b\n"
+          `shouldReturn` CameTo
+            "module Uses where\n\nimport Ops\n\nx = a <+> b\n"
 
     it "declines an operator from a module it is given no interface of" $
       withCompiled $ \buffer ->
-        buffer ("src" </> "Uses.hs") "module Uses where\nimport Nowhere\nx=a <?> b\n"
-          `shouldReturn` CameDeclined 15
+        buffer
+          ("src" </> "Uses.hs")
+          "module Uses where\nimport Nowhere\nx=a <?> b\n"
+          `shouldReturn` CameDeclined 24
 
     it "parses with the extensions it is given rather than the package's" $
       withCompiled $ \buffer ->
-        buffer ("src" </> "Uses.hs") "module Uses where\nf = \\case\n    _ -> 1\n"
+        buffer
+          ("src" </> "Uses.hs")
+          "module Uses where\nf = \\case\n    _ -> 1\n"
           `shouldReturn` CameTo "module Uses where\n\nf = \\case\n  _ -> 1\n"
 
     it "fails a module whose formatting throws rather than throwing itself" $
       withCompiled $ \buffer ->
-        buffer ("src" </> "Uses.hs") "module Uses where\nimport Boom\nx=a <?> b\n"
-          `shouldReturn` CameFailed 19
+        buffer
+          ("src" </> "Uses.hs")
+          "module Uses where\nimport Boom\nx=a <?> b\n"
+          `shouldReturn` CameFailed 29
 
     it "leaves out the branches the versions it is given rule out" $
       withCompiled $ \buffer ->
         buffer ("src" </> "Uses.hs") versioned `shouldReturn` CameOut
 
+-- | A module importing one of the project's own modules among others, with
+-- a comment between them.
+importsOfBoth :: Text
+importsOfBoth =
+  T.unlines
+    [ "module Uses where",
+      "import Ops",
+      "",
+      "-- Sorting.",
+      "import Data.List (sort)",
+      "import Data.Char",
+      "x = sort"
+    ]
+
+-- | 'importsOfBoth', with the project's own modules after the rest and no
+-- empty line in either group.
+importsOfBothGrouped :: Text
+importsOfBothGrouped =
+  T.unlines
+    [ "module Uses where",
+      "",
+      "import Data.Char",
+      "-- Sorting.",
+      "import Data.List (sort)",
+      "",
+      "import Ops",
+      "",
+      "x = sort"
+    ]
+
+-- | A module importing the project's own module and a module of the same
+-- name from another package, each by the name of its package.
+importsByPackage :: Text
+importsByPackage =
+  T.unlines
+    [ "{-# LANGUAGE PackageImports #-}",
+      "module Uses where",
+      "import \"fake\" Ops",
+      "import qualified \"other\" Ops as Other",
+      "import Data.List (sort)",
+      "x = sort"
+    ]
+
+-- | 'importsByPackage', with the import naming the project's package after
+-- the rest.
+importsByPackageGrouped :: Text
+importsByPackageGrouped =
+  T.unlines
+    [ "{-# LANGUAGE PackageImports #-}",
+      "",
+      "module Uses where",
+      "",
+      "import Data.List (sort)",
+      "import qualified \"other\" Ops as Other",
+      "",
+      "import \"fake\" Ops",
+      "",
+      "x = sort"
+    ]
+
+-- | A module with a binding that runs past column 20.
+breakable :: Text
+breakable = T.unlines ["module Ops where", "xs = [alpha, beta, gamma]"]
+
+-- | 'breakable', broken where it runs past column 20.
+brokenAtTwenty :: Text
+brokenAtTwenty =
+  T.unlines
+    [ "module Ops where",
+      "",
+      "xs =",
+      "  [ alpha,",
+      "    beta,",
+      "    gamma",
+      "  ]"
+    ]
+
+-- | 'breakable', in each branch of a conditional.
+conditionallyBreakable :: Text
+conditionallyBreakable =
+  T.unlines
+    [ "{-# LANGUAGE CPP #-}",
+      "module Ops where",
+      "#ifdef FLAG",
+      "xs = [alpha, beta, gamma]",
+      "#else",
+      "xs = [alpha, beta, delta]",
+      "#endif"
+    ]
+
+-- | 'conditionallyBreakable', broken where it runs past column 20.
+conditionallyBrokenAtTwenty :: Text
+conditionallyBrokenAtTwenty =
+  T.unlines
+    [ "{-# LANGUAGE CPP #-}",
+      "",
+      "module Ops where",
+      "",
+      "#ifdef FLAG",
+      "xs =",
+      "  [ alpha,",
+      "    beta,",
+      "    gamma",
+      "  ]",
+      "#else",
+      "xs =",
+      "  [ alpha,",
+      "    beta,",
+      "    delta",
+      "  ]",
+      "#endif"
+    ]
+
 -- | A formatted module with a conditional around two alternatives, which do
 -- not parse one after the other.
 alternatives :: Text
@@ -191,6 +388,44 @@
       "#endif"
     ]
 
+-- | The package of 'withProject', with @FAST@ defined under a flag that is
+-- off.
+flagged :: Text
+flagged =
+  T.unlines
+    [ "cabal-version: 2.4",
+      "name: fake",
+      "version: 0.1.0.0",
+      "flag fast",
+      "  default: False",
+      "library",
+      "  exposed-modules: Ops, Marked, Uses",
+      "  hs-source-dirs: src",
+      "  default-language: Haskell2010",
+      "  if flag(fast)",
+      "    cpp-options: -DFAST"
+    ]
+
+-- | A module with a branch behind @FAST@, which uses an operator from a
+-- module that cannot be read.
+flaggedOff :: Text
+flaggedOff =
+  T.unlines
+    [ "{-# LANGUAGE CPP #-}",
+      "",
+      "module Uses where",
+      "",
+      "#ifdef FAST",
+      "import Nowhere",
+      "",
+      "x = a <?> b",
+      "#else",
+      "import Ops",
+      "",
+      "x = a <+> b",
+      "#endif"
+    ]
+
 -- | What formatting a buffer came to, with errors told apart by the status
 -- they exit with.
 data Came
@@ -221,8 +456,17 @@
 -- excluding @src/Generated.hs@, and a plan for it trusted as up to date,
 -- handed to the test as a way to format a buffer as one of its files.
 withProject :: ((FilePath -> Text -> IO Came) -> Expectation) -> Expectation
-withProject act =
-  inProject $ \project planFile ->
+withProject = withProjectHolding []
+
+-- | 'withProject', with further files in the project.
+withProjectHolding ::
+  -- | The files, by their paths in the project.
+  [(FilePath, Text)] ->
+  -- | The test, given a way to format a buffer as one of the files.
+  ((FilePath -> Text -> IO Came) -> Expectation) ->
+  Expectation
+withProjectHolding files act =
+  inProject files $ \project planFile ->
     act $ \file text -> do
       let path = project </> file
       editorSession
@@ -242,8 +486,17 @@
 -- package, and the interfaces of @Ops@ and of an empty @Prelude@; asking for
 -- that of @Boom@ throws.
 withCompiled :: ((FilePath -> Text -> IO Came) -> Expectation) -> Expectation
-withCompiled act =
-  inProject $ \project _ ->
+withCompiled = withCompiledHolding []
+
+-- | 'withCompiled', with further files in the project.
+withCompiledHolding ::
+  -- | The files, by their paths in the project.
+  [(FilePath, Text)] ->
+  -- | The test, given a way to format a buffer as one of the files.
+  ((FilePath -> Text -> IO Came) -> Expectation) ->
+  Expectation
+withCompiledHolding files act =
+  inProject files $ \project _ ->
     act $ \file text -> do
       let path = project </> file
       compiledSession path compiled (Don't #checkAst) (Don't #checkIdempotence)
@@ -275,17 +528,24 @@
 -- | A project with a module declaring @infixl 6 <+>@, one beginning with a
 -- byte order mark declaring @infixr 0 <->@, and a @.tiliaignore@ excluding
 -- @src/Generated.hs@, given to the test with a plan for it.
-inProject :: (FilePath -> FilePath -> Expectation) -> Expectation
-inProject =
+inProject ::
+  -- | Further files of the project, by their paths in it.
+  [(FilePath, Text)] ->
+  -- | The test, given the project's directory and the plan's path.
+  (FilePath -> FilePath -> Expectation) ->
+  Expectation
+inProject files =
   withOpsProject
-    [ ( "src" </> "Marked.hs",
-        T.unlines
-          [ "\xFEFFmodule Marked ((<->)) where",
-            "infixr 0 <->",
-            "(<->) :: a -> a -> a",
-            "(<->) = const"
-          ]
-      ),
-      (".tiliaignore", "src/Generated.hs\n")
-    ]
+    ( [ ( "src" </> "Marked.hs",
+          T.unlines
+            [ "\xFEFFmodule Marked ((<->)) where",
+              "infixr 0 <->",
+              "(<->) :: a -> a -> a",
+              "(<->) = const"
+            ]
+        ),
+        (".tiliaignore", "src/Generated.hs\n")
+      ]
+        <> files
+    )
     []
diff --git a/tests/Tilia/EquivalenceSpec.hs b/tests/Tilia/EquivalenceSpec.hs
--- a/tests/Tilia/EquivalenceSpec.hs
+++ b/tests/Tilia/EquivalenceSpec.hs
@@ -9,6 +9,7 @@
 import GHC.Hs (HsModule)
 import GHC.Hs.Extension (GhcPs)
 import Test.Hspec
+
 import Tilia.Equivalence
 import Tilia.Parser (pmModule)
 import Tilia.TestUtils (parsed)
@@ -17,7 +18,8 @@
 spec = do
   describe "what a formatter is allowed to do" $ do
     it "sees past layout" $
-      "module M where\nf x   =    x\n" `saysTheSameAs` "module M where\n\nf x = x\n"
+      "module M where\nf x   =    x\n"
+        `saysTheSameAs` "module M where\n\nf x = x\n"
 
     it "sees past a line broken in a different place" $
       "module M where\nf x = x + 1\n"
@@ -51,23 +53,30 @@
       "module M where\n\n-- |\nf :: Int\nf = 1\n"
         `saysTheSameAs` "module M where\n\nf :: Int\nf = 1\n"
 
+    it "sees past an argument's documentation comment that says nothing" $
+      "module M where\n\nf ::\n  -- | \n  Int ->\n  Int\nf = id\n"
+        `saysTheSameAs` "module M where\n\nf ::\n  Int ->\n  Int\nf = id\n"
+
     it "sees past comments, which are not the tree's business" $
       "module M where\n\n-- a remark\nf :: Int\nf = 1\n"
         `saysTheSameAs` "module M where\n\nf :: Int\nf = 1\n"
 
   describe "what it must not let through" $ do
     it "catches a changed literal" $
-      "module M where\nf = 1\n" `saysSomethingElseThan` "module M where\nf = 2\n"
+      "module M where\nf = 1\n"
+        `saysSomethingElseThan` "module M where\nf = 2\n"
 
     it "catches a changed name" $
-      "module M where\nf x = x\n" `saysSomethingElseThan` "module M where\nf x = y\n"
+      "module M where\nf x = x\n"
+        `saysSomethingElseThan` "module M where\nf x = y\n"
 
     it "catches an operator regrouped" $
       "module M where\nf = a + b * c\n"
         `saysSomethingElseThan` "module M where\nf = (a + b) * c\n"
 
     it "catches a declaration dropped" $
-      "module M where\nf = 1\ng = 2\n" `saysSomethingElseThan` "module M where\nf = 1\n"
+      "module M where\nf = 1\ng = 2\n"
+        `saysSomethingElseThan` "module M where\nf = 1\n"
 
     it "catches an import dropped" $
       "module M where\nimport Data.Map\nimport Data.Set\n"
@@ -85,12 +94,18 @@
       "module M (f, g) where\nf = 1\ng = 2\n"
         `saysSomethingElseThan` "module M (f) where\nf = 1\ng = 2\n"
 
+    it "catches an argument's documentation comment going missing" $
+      "module M where\n\nf ::\n  -- | The input.\n  Int ->\n  Int\nf = id\n"
+        `saysSomethingElseThan` "module M where\n\nf ::\n  Int ->\n  Int\nf = id\n"
+
     it "catches a documentation comment losing a word" $
       "module M where\n\n-- | Says something.\nf :: Int\nf = 1\n"
         `saysSomethingElseThan` "module M where\n\n-- | Says.\nf :: Int\nf = 1\n"
 
     it "says where the difference is, not merely that there is one" $
-      case syntaxDifference (treeOf "module M where\nf = 1\n") (treeOf "module M where\nf = 2\n") of
+      case syntaxDifference
+        (treeOf "module M where\nf = 1\n")
+        (treeOf "module M where\nf = 2\n") of
         Nothing -> expectationFailure "found no difference"
         Just why -> do
           why `shouldSatisfy` T.isInfixOf "HsOverLit"
@@ -110,14 +125,18 @@
         `losesTheCommentsOf` "module M where\n\n-- a remark\nf = 1\n"
 
     it "notices a pragma that went missing, and names it" $
-      case difference "{-# LANGUAGE LambdaCase #-}\nmodule M where\nf = 1\n" "module M where\nf = 1\n" of
+      case difference
+        "{-# LANGUAGE LambdaCase #-}\nmodule M where\nf = 1\n"
+        "module M where\nf = 1\n" of
         Nothing -> expectationFailure "let the pragma go"
         Just why -> do
           why `shouldSatisfy` T.isInfixOf "lost the pragma"
           why `shouldSatisfy` T.isInfixOf "LambdaCase"
 
     it "notices a pragma that was invented" $
-      case difference "module M where\nf = 1\n" "{-# LANGUAGE LambdaCase #-}\nmodule M where\nf = 1\n" of
+      case difference
+        "module M where\nf = 1\n"
+        "{-# LANGUAGE LambdaCase #-}\nmodule M where\nf = 1\n" of
         Nothing -> expectationFailure "let the pragma through"
         Just why -> why `shouldSatisfy` T.isInfixOf "invented the pragma"
 
diff --git a/tests/Tilia/Fixity/CabalSpec.hs b/tests/Tilia/Fixity/CabalSpec.hs
--- a/tests/Tilia/Fixity/CabalSpec.hs
+++ b/tests/Tilia/Fixity/CabalSpec.hs
@@ -9,6 +9,8 @@
 import Codec.Compression.GZip qualified as GZip
 import Data.ByteString qualified as BS
 import Data.ByteString.Lazy qualified as BL
+import Data.Set (Set)
+import Data.Set qualified as Set
 import Data.Text (Text)
 import Data.Text qualified as T
 import Data.Text.Encoding qualified as T
@@ -17,11 +19,11 @@
 import System.FilePath ((</>))
 import System.IO.Temp (withSystemTempDirectory)
 import Test.Hspec
+
 import Tilia.Cabal.Package
-  ( declaredModules,
+  ( declaredModuleNames,
     describePackageProblem,
-    packageBranches,
-    packageExtensions,
+    moduleExtensions,
     packageSourceDirs,
     parsePackageDescription,
   )
@@ -64,7 +66,9 @@
               )
             ]
         )
-        `shouldSatisfy` maybe False (elem "Test.Hspec.Runner" . modulesOf)
+        `shouldSatisfy` maybe
+          False
+          (elem "Test.Hspec.Runner" . declaredModuleNames)
 
   describe "a tarball that cannot be read" $ do
     it "leaves its package unread when it is not gzip" $
@@ -212,43 +216,76 @@
       textOf "src" "Parser" [("t-0/vendor/src/Parser.hs", "vendored")]
         `shouldBe` Nothing
 
+    it "is the code of a literate module written with bird tracks" $
+      textOf
+        "."
+        "Parser"
+        [ ( "t-0/Parser.lhs",
+            "A parser.\n\n> module Parser where\n>\n#if A\n> f = 1\n#endif\n"
+          )
+        ]
+        `shouldBe` Just "\n\n  module Parser where\n \n#if A\n  f = 1\n#endif\n"
+
+    it "is the code of a literate module written in code blocks" $
+      textOf
+        "."
+        "Parser"
+        [ ( "t-0/Parser.lhs",
+            "A parser.\n\\begin{code}\nmodule Parser where\n\\end{code}\n\
+            \> code too\n\\begin{spec}\nf = 1\n\\end{spec}\n"
+          )
+        ]
+        `shouldBe` Just "\n\nmodule Parser where\n\n  code too\n\n\n\n"
+
+    it "holds what a Haskell file it includes holds, in the tarball's paths" $
+      textOf
+        "src"
+        "Parser.Posix"
+        [ ("t-0/src/Parser/Posix.hs", "#define OS Posix\n#include \"../A.hs\"\n"),
+          ("t-0/src/A.hs", "module Parser.OS where\n")
+        ]
+        `shouldBe` Just "#define OS Posix\nmodule Parser.OS where\n"
+
   describe "what the package puts in force" $ do
     it "reads an extension the .cabal turns on" $
       extensions "library\n  default-extensions: LambdaCase\n"
-        `shouldSatisfy` elem LambdaCase
+        `shouldSatisfy` Set.member LambdaCase
 
     it "reads several, however they are written" $ do
-      let found = extensions "library\n  default-extensions:\n    LambdaCase\n    MultiWayIf, BlockArguments\n"
-      found `shouldSatisfy` elem LambdaCase
-      found `shouldSatisfy` elem MultiWayIf
-      found `shouldSatisfy` elem BlockArguments
+      let found =
+            extensions
+              "library\n  default-extensions:\n    LambdaCase\n    MultiWayIf, BlockArguments\n"
+      found `shouldSatisfy` Set.member LambdaCase
+      found `shouldSatisfy` Set.member MultiWayIf
+      found `shouldSatisfy` Set.member BlockArguments
 
     it "reads the extensions field older packages use" $
       extensions "library\n  extensions: BangPatterns\n"
-        `shouldSatisfy` elem BangPatterns
+        `shouldSatisfy` Set.member BangPatterns
 
     it "lets default-extensions take back what that field turns on" $
       extensions
         "library\n\
         \  extensions: LambdaCase\n\
         \  default-extensions: NoLambdaCase\n"
-        `shouldSatisfy` notElem LambdaCase
+        `shouldSatisfy` Set.notMember LambdaCase
 
     it "takes one back that the .cabal turns off" $
-      extensions "library\n  default-extensions: ImplicitPrelude, NoImplicitPrelude\n"
-        `shouldSatisfy` notElem ImplicitPrelude
+      extensions
+        "library\n  default-extensions: ImplicitPrelude, NoImplicitPrelude\n"
+        `shouldSatisfy` Set.notMember ImplicitPrelude
 
     it "starts from what the language edition puts in force" $ do
       extensions "library\n  default-language: GHC2021\n"
-        `shouldSatisfy` elem TypeOperators
+        `shouldSatisfy` Set.member TypeOperators
       extensions "library\n  default-language: Haskell2010\n"
-        `shouldSatisfy` notElem TypeOperators
+        `shouldSatisfy` Set.notMember TypeOperators
 
     it "starts from Haskell98 where it names no edition, as cabal builds it" $ do
       extensions "library\n  build-depends: base\n"
-        `shouldSatisfy` elem NondecreasingIndentation
+        `shouldSatisfy` Set.member NondecreasingIndentation
       extensions "library\n  build-depends: base\n"
-        `shouldSatisfy` notElem ImportQualifiedPost
+        `shouldSatisfy` Set.notMember ImportQualifiedPost
 
     it "takes what every edition in the file puts in force" $
       extensions
@@ -258,7 +295,7 @@
         \  type: exitcode-stdio-1.0\n\
         \  main-is: T.hs\n\
         \  default-language: GHC2021\n"
-        `shouldSatisfy` elem TypeOperators
+        `shouldSatisfy` Set.member TypeOperators
 
     it "still has the earlier edition's own extensions" $
       extensions
@@ -268,23 +305,39 @@
         \  type: exitcode-stdio-1.0\n\
         \  main-is: T.hs\n\
         \  default-language: GHC2021\n"
-        `shouldSatisfy` elem ImplicitPrelude
+        `shouldSatisfy` Set.member ImplicitPrelude
 
     it "passes over a name no compiler knows" $
       extensions "library\n  default-extensions: LambdaCase, NotAnExtension\n"
-        `shouldSatisfy` elem LambdaCase
+        `shouldSatisfy` Set.member LambdaCase
 
-    it "takes every component's, since it does not know which one asks" $ do
+    it "takes only the components that list the module" $ do
       let found =
             extensions
               "library\n\
+              \  exposed-modules: M\n\
               \  default-extensions: LambdaCase\n\
+              \  if impl(ghc >= 9)\n\
+              \    default-extensions: MultiWayIf\n\
               \test-suite t\n\
               \  type: exitcode-stdio-1.0\n\
               \  main-is: T.hs\n\
+              \  default-extensions: NoImplicitPrelude\n"
+      found `shouldSatisfy` Set.member LambdaCase
+      found `shouldSatisfy` Set.member MultiWayIf
+      found `shouldSatisfy` Set.member ImplicitPrelude
+
+    it "takes every component's where none lists the module" $ do
+      let found =
+            extensions
+              "library\n\
+              \  default-extensions: LambdaCase\n\
+              \test-suite t\n\
+              \  type: exitcode-stdio-1.0\n\
+              \  main-is: T.hs\n\
               \  default-extensions: MultiWayIf\n"
-      found `shouldSatisfy` elem LambdaCase
-      found `shouldSatisfy` elem MultiWayIf
+      found `shouldSatisfy` Set.member LambdaCase
+      found `shouldSatisfy` Set.member MultiWayIf
 
   describe "the union is deliberate" $
     it "does not need to know which branch a build would take" $ do
@@ -299,22 +352,22 @@
 
 -- | The modules a @.cabal@ of this shape holds.
 exposed :: Text -> [Text]
-exposed = modulesOf . described
+exposed = declaredModuleNames . described
 
 -- | The directories a @.cabal@ of this shape offers modules under.
 sourceDirs :: Text -> [FilePath]
 sourceDirs = packageSourceDirs . described
 
 -- | What a @.cabal@ of this shape puts in force.
-extensions :: Text -> [Extension]
-extensions = (`effectiveExtensions` "") . packageExtensions . described
+extensions :: Text -> Set Extension
+extensions = (`effectiveExtensions` "") . (`moduleExtensions` "M") . described
 
 -- | The text an archive of these files gives for a module, where its
 -- @.cabal@ file names this source directory.
 textOf :: FilePath -> Text -> [(FilePath, BS.ByteString)] -> Maybe Text
 textOf dir modName files =
   case moduleIn modName (Archive (Just cabal) files) of
-    Just (Haskell text) -> Just text
+    Just (Haskell text _) -> Just text
     _ -> Nothing
   where
     cabal =
@@ -329,10 +382,6 @@
 -- | The fields a @.cabal@ file needs before its components.
 header :: Text
 header = "cabal-version: 2.4\nname: t\nversion: 0\n"
-
--- | The names of the modules a package declares.
-modulesOf :: GenericPackageDescription -> [Text]
-modulesOf = fmap fst . concatMap snd . declaredModules . packageBranches
 
 -- | A tar entry at the given path, holding the given text.
 entryFor :: FilePath -> Text -> Tar.Entry
diff --git a/tests/Tilia/Fixity/CacheSpec.hs b/tests/Tilia/Fixity/CacheSpec.hs
--- a/tests/Tilia/Fixity/CacheSpec.hs
+++ b/tests/Tilia/Fixity/CacheSpec.hs
@@ -13,10 +13,15 @@
 import Data.Set qualified as Set
 import Data.Text (Text)
 import Data.Text qualified as T
-import System.Directory (getModificationTime, listDirectory, setModificationTime)
+import System.Directory
+  ( getModificationTime,
+    listDirectory,
+    setModificationTime,
+  )
 import System.FilePath ((</>))
 import System.IO.Temp (withSystemTempDirectory)
 import Test.Hspec
+
 import Tilia.Fixity
 import Tilia.Fixity.Cache
 import Tilia.Fixity.PackageDb (Installed (..), InstalledPackage (..))
@@ -58,7 +63,8 @@
                   ((InTerms, OpName "==="), Fixity NoAssoc 4)
                 ]
         storeEstablished cache "thing-1.0" "A.B" established
-        cachedEstablished cache "thing-1.0" "A.B" `shouldReturn` Just established
+        cachedEstablished cache "thing-1.0" "A.B"
+          `shouldReturn` Just established
 
       it "round-trips the extremes of precedence" $ \cache -> do
         let established =
@@ -68,7 +74,8 @@
                   ((InTerms, OpName "->"), Fixity RightAssoc (-1))
                 ]
         storeEstablished cache "thing-1.0" "Edges" established
-        cachedEstablished cache "thing-1.0" "Edges" `shouldReturn` Just established
+        cachedEstablished cache "thing-1.0" "Edges"
+          `shouldReturn` Just established
 
       it "round-trips a name that is not ASCII under any locale" $ \cache -> do
         let established =
@@ -84,10 +91,15 @@
 
       it "remembers that a module could not be read" $ \cache -> do
         storeEstablished cache "thing-1.0" "Opaque" unreadable
-        cachedEstablished cache "thing-1.0" "Opaque" `shouldReturn` Just unreadable
+        cachedEstablished cache "thing-1.0" "Opaque"
+          `shouldReturn` Just unreadable
 
       it "remembers the way down to where reading gave up" $ \cache -> do
-        storeEstablished cache "thing-1.0" "Opaque" (stoppedAt ["Middle", "Deep.Down"])
+        storeEstablished
+          cache
+          "thing-1.0"
+          "Opaque"
+          (stoppedAt ["Middle", "Deep.Down"])
         cachedEstablished cache "thing-1.0" "Opaque"
           `shouldReturn` Just (stoppedAt ["Middle", "Deep.Down"])
 
@@ -96,7 +108,8 @@
         storeEstablished cache "thing-1.0" "Itself" unreadable
         blamed <- cachedEstablished cache "thing-1.0" "Blamed"
         itself <- cachedEstablished cache "thing-1.0" "Itself"
-        (blamed, itself) `shouldBe` (Just (stoppedAt ["Deep.Down"]), Just unreadable)
+        (blamed, itself)
+          `shouldBe` (Just (stoppedAt ["Deep.Down"]), Just unreadable)
 
       it "round-trips the names it leaves unsettled, by namespace and way down" $ \cache -> do
         let established =
@@ -125,9 +138,14 @@
 
       it "replaces an unread answer once the module can be read" $ \cache -> do
         storeEstablished cache "thing-1.0" "M" unreadable
-        storeEstablished cache "thing-1.0" "M" (declaring [((InTerms, OpName "!"), Fixity LeftAssoc 9)])
+        storeEstablished
+          cache
+          "thing-1.0"
+          "M"
+          (declaring [((InTerms, OpName "!"), Fixity LeftAssoc 9)])
         cachedEstablished cache "thing-1.0" "M"
-          `shouldReturn` Just (declaring [((InTerms, OpName "!"), Fixity LeftAssoc 9)])
+          `shouldReturn` Just
+            (declaring [((InTerms, OpName "!"), Fixity LeftAssoc 9)])
 
       it "knows nothing about a module it was never told about" $ \cache ->
         cachedEstablished cache "thing-1.0" "Absent" `shouldReturn` Nothing
@@ -141,14 +159,27 @@
         (a, b) `shouldBe` (Just ops, Just mempty)
 
       it "treats a different hash in the key as a different package" $ \cache -> do
-        storeEstablished cache "thing-1.0-aaaa" "M" (declaring [((InTerms, OpName "!"), Fixity LeftAssoc 9)])
+        storeEstablished
+          cache
+          "thing-1.0-aaaa"
+          "M"
+          (declaring [((InTerms, OpName "!"), Fixity LeftAssoc 9)])
         cachedEstablished cache "thing-1.0-bbbb" "M" `shouldReturn` Nothing
 
       it "overwrites a previous answer for the same key" $ \cache -> do
-        storeEstablished cache "thing-1.0" "M" (declaring [((InTerms, OpName "!"), Fixity LeftAssoc 9)])
-        storeEstablished cache "thing-1.0" "M" (declaring [((InTerms, OpName "!"), Fixity RightAssoc 3)])
+        storeEstablished
+          cache
+          "thing-1.0"
+          "M"
+          (declaring [((InTerms, OpName "!"), Fixity LeftAssoc 9)])
+        storeEstablished
+          cache
+          "thing-1.0"
+          "M"
+          (declaring [((InTerms, OpName "!"), Fixity RightAssoc 3)])
         cachedEstablished cache "thing-1.0" "M"
-          `shouldReturn` Just (declaring [((InTerms, OpName "!"), Fixity RightAssoc 3)])
+          `shouldReturn` Just
+            (declaring [((InTerms, OpName "!"), Fixity RightAssoc 3)])
 
       it "gives back no half of an answer two writers store at once" $ \cache -> do
         let answers =
@@ -173,8 +204,11 @@
                 { establishedMembers =
                     Map.fromList
                       [ (OpName "Empty", Set.empty),
-                        (OpName "NonEmpty", Set.fromList [OpName ":|"]),
-                        (OpName "Seq", Set.fromList [OpName ":<|", OpName ":|>"])
+                        (OpName "NonEmpty", Set.fromList [(InTerms, OpName ":|")]),
+                        ( OpName "Seq",
+                          Set.fromList [(InTerms, OpName ":<|"), (InTerms, OpName ":|>")]
+                        ),
+                        (OpName "Tensor", Set.fromList [(InTypes, OpName "**")])
                       ]
                 }
         storeEstablished cache "thing-1.0" "M" established
@@ -199,7 +233,7 @@
                       ),
                   establishedMembers =
                     Map.fromList
-                      [ (OpName "T", Set.fromList [OpName "T", OpName "F"]),
+                      [ (OpName "T", Set.fromList [(InTerms, OpName "T"), (InTypes, OpName "F")]),
                         (OpName "Empty", Set.empty)
                       ]
                 }
@@ -211,11 +245,16 @@
               mempty
                 { establishedCertain =
                     Certain
-                      (Set.fromList [(InTypes, OpName "T"), (InTerms, OpName "A")])
-                      (Map.singleton (OpName "T") (Set.singleton (InTerms, OpName "A"))),
+                      ( Set.fromList
+                          [(InTypes, OpName "T"), (InTerms, OpName "A")]
+                      )
+                      ( Map.singleton
+                          (OpName "T")
+                          (Set.singleton (InTerms, OpName "A"))
+                      ),
                   establishedMembers =
                     Map.fromList
-                      [ (OpName "T", Set.fromList [OpName "A", OpName "B"]),
+                      [ (OpName "T", Set.fromList [(InTerms, OpName "A"), (InTerms, OpName "B")]),
                         (OpName "U", Set.empty)
                       ]
                 }
@@ -225,14 +264,24 @@
       it "round-trips all of it at once" $ \cache -> do
         let established =
               Established
-                { establishedFixities = Map.singleton (InTerms, OpName "<+>") (Fixity LeftAssoc 6),
-                  establishedUnsettled = Map.singleton ["Below"] (Set.singleton (InTerms, OpName "==>")),
-                  establishedUntold = Set.fromList [["Below"], ["Other", "Further"]],
+                { establishedFixities =
+                    Map.singleton (InTerms, OpName "<+>") (Fixity LeftAssoc 6),
+                  establishedUnsettled =
+                    Map.singleton
+                      ["Below"]
+                      (Set.singleton (InTerms, OpName "==>")),
+                  establishedUntold =
+                    Set.fromList [["Below"], ["Other", "Further"]],
                   establishedCertain =
                     Certain
-                      (Set.fromList [(InTerms, OpName "<+>"), (InTerms, OpName "==>")])
+                      ( Set.fromList
+                          [(InTerms, OpName "<+>"), (InTerms, OpName "==>")]
+                      )
                       Map.empty,
-                  establishedMembers = Map.singleton (OpName "T") (Set.singleton (OpName "A"))
+                  establishedMembers =
+                    Map.singleton
+                      (OpName "T")
+                      (Set.singleton (InTerms, OpName "A"))
                 }
         storeEstablished cache "thing-1.0" "M" established
         cachedEstablished cache "thing-1.0" "M" `shouldReturn` Just established
@@ -255,7 +304,8 @@
         storeSummaries cache "m" "before" (Just (crowded :| []))
         storeSummaries cache "m" "after" (Just (bare :| []))
         cachedSummaries cache "m" "before" `shouldReturn` Nothing
-        cachedSummaries cache "m" "after" `shouldReturn` Just (Just (bare :| []))
+        cachedSummaries cache "m" "after"
+          `shouldReturn` Just (Just (bare :| []))
 
       it "keeps modules apart" $ \cache -> do
         storeSummaries cache "m" "stamp" (Just (crowded :| []))
@@ -269,9 +319,14 @@
 
     describe "module names with dots" $
       it "files a deeply qualified module without confusion" $ \cache -> do
-        storeEstablished cache "thing-1.0" "A.B.C.D" (declaring [((InTerms, OpName "%"), Fixity NoAssoc 5)])
+        storeEstablished
+          cache
+          "thing-1.0"
+          "A.B.C.D"
+          (declaring [((InTerms, OpName "%"), Fixity NoAssoc 5)])
         cachedEstablished cache "thing-1.0" "A.B.C.D"
-          `shouldReturn` Just (declaring [((InTerms, OpName "%"), Fixity NoAssoc 5)])
+          `shouldReturn` Just
+            (declaring [((InTerms, OpName "%"), Fixity NoAssoc 5)])
 
 -- | A summary with something of every kind in it.
 crowded :: ModuleSummary
@@ -291,22 +346,34 @@
             ExportModule "Data.List"
           ],
       summaryImports =
-        [ Import "Prelude" False "Prelude" Nothing,
-          Import "Data.List" True "Q" Nothing,
+        [ Import "Prelude" Nothing False "Prelude" Nothing,
+          Import "Data.List" (Just "base") True "Q" Nothing,
           Import
             "Data.Map"
+            Nothing
             False
             "Data.Map"
             ( Just
                 ( False,
-                  [ ImportedName (OpName "!"),
+                  [ ImportedName InTerms (OpName "!"),
                     ImportedAll (OpName "Map"),
                     ImportedSome (OpName "NonEmpty") [OpName ":|", OpName "toList"]
                   ]
                 )
             ),
-          Import "Data.Set" False "S" (Just (True, [ImportedName (OpName "\\\\")])),
-          Import "Data.Void" False "Data.Void" (Just (False, []))
+          Import
+            "Data.Set"
+            (Just "this")
+            False
+            "S"
+            ( Just
+                ( True,
+                  [ ImportedName InTerms (OpName "\\\\"),
+                    ImportedName InTypes (OpName "Set")
+                  ]
+                )
+            ),
+          Import "Data.Void" Nothing False "Data.Void" (Just (False, []))
         ],
       summaryFixities =
         Map.fromList
@@ -327,12 +394,18 @@
             (OpName "C", Set.fromList [(InTerms, OpName "method"), (InTypes, OpName "F")]),
             (OpName "Empty", Set.empty)
           ],
-      summaryListedMembers = Map.fromList [(OpName "T", Set.singleton (OpName "A"))]
+      summaryListedMembers =
+        Map.fromList
+          [ (OpName "T", Set.singleton (InTerms, OpName "A")),
+            (OpName "C", Set.fromList [(InTypes, OpName "**"), (InTerms, OpName "**")])
+          ],
+      summarySpliced = True
     }
 
 -- | A summary with nothing in it, not even a name.
 bare :: ModuleSummary
-bare = ModuleSummary Nothing Nothing [] Map.empty Set.empty Map.empty Map.empty
+bare =
+  ModuleSummary Nothing Nothing [] Map.empty Set.empty Map.empty Map.empty False
 
 -- | One whose export list lists nothing, which is not the same as having
 -- no export list.
@@ -347,66 +420,60 @@
 database = around withIsolatedCache $ do
   it "gives back what it was told, while the database sits still" $ \cache ->
     withDatabase $ \db -> do
-      storeInstalled cache (Installed [containers] [db])
-      cachedInstalled cache `shouldReturn` Just [containers]
+      storeInstalled cache "ghc" (Installed [containers] [db])
+      cachedInstalled cache "ghc" `shouldReturn` Just [containers]
 
   it "gives back nothing once a package has been registered" $ \cache ->
     withDatabase $ \db -> do
-      storeInstalled cache (Installed [containers] [db])
+      storeInstalled cache "ghc" (Installed [containers] [db])
       writeFile (db </> "new-1.0.conf") ""
-      cachedInstalled cache `shouldReturn` Nothing
+      cachedInstalled cache "ghc" `shouldReturn` Nothing
 
   it "gives back nothing once the database is gone" $ \cache -> do
     db <- withDatabase pure
-    storeInstalled cache (Installed [containers] [db])
-    cachedInstalled cache `shouldReturn` Nothing
+    storeInstalled cache "ghc" (Installed [containers] [db])
+    cachedInstalled cache "ghc" `shouldReturn` Nothing
 
   it "remembers nothing it has no way to stop believing" $ \cache -> do
-    storeInstalled cache (Installed [containers] [])
-    cachedInstalled cache `shouldReturn` Nothing
+    storeInstalled cache "ghc" (Installed [containers] [])
+    cachedInstalled cache "ghc" `shouldReturn` Nothing
 
-  it "gives back nothing to a token it was not written under" $ \_ ->
-    withSystemTempDirectory "tilia-cache" $ \dir ->
-      withDatabase $ \db -> do
-        before' <- open dir (PlanToken "one")
-        storeInstalled before' (Installed [containers] [db])
-        after' <- open dir (PlanToken "two")
-        cachedInstalled after' `shouldReturn` Nothing
+  it "gives back nothing for a compiler it was not written for" $ \cache ->
+    withDatabase $ \db -> do
+      storeInstalled cache "one" (Installed [containers] [db])
+      cachedInstalled cache "two" `shouldReturn` Nothing
 
-  it "gives it back under the token it was written under" $ \_ ->
+  it "gives it back under another plan's token" $ \_ ->
     withSystemTempDirectory "tilia-cache" $ \dir ->
       withDatabase $ \db -> do
         before' <- open dir (PlanToken "one")
-        storeInstalled before' (Installed [containers] [db])
-        again <- open dir (PlanToken "one")
-        cachedInstalled again `shouldReturn` Just [containers]
+        storeInstalled before' "ghc" (Installed [containers] [db])
+        after' <- open dir (PlanToken "two")
+        cachedInstalled after' "ghc" `shouldReturn` Just [containers]
 
-  it "keeps one token's answer when another writes its own" $ \_ ->
-    withSystemTempDirectory "tilia-cache" $ \dir ->
-      withDatabase $ \db -> do
-        one <- open dir (PlanToken "one")
-        storeInstalled one (Installed [containers] [db])
-        two <- open dir (PlanToken "two")
-        storeInstalled two (Installed [quiet] [db])
-        cachedInstalled one `shouldReturn` Just [containers]
-        cachedInstalled two `shouldReturn` Just [quiet]
+  it "keeps one compiler's answer when another writes its own" $ \cache ->
+    withDatabase $ \db -> do
+      storeInstalled cache "one" (Installed [containers] [db])
+      storeInstalled cache "two" (Installed [quiet] [db])
+      cachedInstalled cache "one" `shouldReturn` Just [containers]
+      cachedInstalled cache "two" `shouldReturn` Just [quiet]
 
   it "carries a package that exposes nothing" $ \cache ->
     withDatabase $ \db -> do
-      storeInstalled cache (Installed [containers, quiet] [db])
-      cachedInstalled cache `shouldReturn` Just [containers, quiet]
+      storeInstalled cache "ghc" (Installed [containers, quiet] [db])
+      cachedInstalled cache "ghc" `shouldReturn` Just [containers, quiet]
 
   it "carries what a package exposes that another one holds" $ \cache ->
     withDatabase $ \db -> do
-      storeInstalled cache (Installed [prim] [db])
-      cachedInstalled cache `shouldReturn` Just [prim]
+      storeInstalled cache "ghc" (Installed [prim] [db])
+      cachedInstalled cache "ghc" `shouldReturn` Just [prim]
 
   it "keeps the spaces in a path" $ \cache ->
     withSystemTempDirectory "tilia  db" $ \db -> do
       setModificationTime db =<< getModificationTime "/"
       let spaced = containers{ipImportDirs = ["/no where/containers  0.7"]}
-      storeInstalled cache (Installed [spaced] [db])
-      cachedInstalled cache `shouldReturn` Just [spaced]
+      storeInstalled cache "ghc" (Installed [spaced] [db])
+      cachedInstalled cache "ghc" `shouldReturn` Just [spaced]
   where
     containers =
       InstalledPackage
@@ -462,7 +529,10 @@
       before'
       "thing-1.0"
       "M"
-      mempty{establishedUnsettled = Map.singleton ["Below"] (Set.singleton (InTerms, OpName "==>"))}
+      mempty
+        { establishedUnsettled =
+            Map.singleton ["Below"] (Set.singleton (InTerms, OpName "==>"))
+        }
     after' <- open dir (PlanToken "two")
     cachedEstablished after' "thing-1.0" "M" `shouldReturn` Nothing
 
@@ -492,7 +562,9 @@
 -- or into the developer's real cache.
 withIsolatedCache :: (Cache -> IO ()) -> IO ()
 withIsolatedCache action =
-  withSystemTempDirectory "tilia-cache" (\dir -> open dir (PlanToken "plan") >>= action)
+  withSystemTempDirectory
+    "tilia-cache"
+    (\dir -> open dir (PlanToken "plan") >>= action)
 
 -- | Open a cache in a given directory, under a given token.
 open :: FilePath -> PlanToken -> IO Cache
diff --git a/tests/Tilia/Fixity/DebugSpec.hs b/tests/Tilia/Fixity/DebugSpec.hs
--- a/tests/Tilia/Fixity/DebugSpec.hs
+++ b/tests/Tilia/Fixity/DebugSpec.hs
@@ -12,6 +12,7 @@
 import Data.Text (Text)
 import Data.Text qualified as T
 import Test.Hspec
+
 import Tilia.Fixity
   ( Direction (..),
     Established (..),
@@ -30,7 +31,9 @@
 spec = do
   describe "what each import brought" $ do
     it "counts the operators a module was read for" $
-      notesFor [("Prelude", Just []), ("Data.Map", Just [("!", infixl' 9)])] "import Data.Map\n"
+      notesFor
+        [("Prelude", Just []), ("Data.Map", Just [("!", infixl' 9)])]
+        "import Data.Map\n"
         >>= (`shouldContain'` "· Data.Map: 1 operator")
 
     it "says so when a module could not be read" $
@@ -38,7 +41,9 @@
         >>= (`shouldContain'` "· Criterion.Main: could not be read")
 
     it "keeps the alias a qualified import goes under" $
-      notesFor [("Prelude", Just []), ("Data.Map", Just [])] "import qualified Data.Map as M\n"
+      notesFor
+        [("Prelude", Just []), ("Data.Map", Just [])]
+        "import qualified Data.Map as M\n"
         >>= (`shouldContain'` "· Data.Map qualified as M: 0 operators")
 
     it "names the Prelude, which nobody wrote but everybody imports" $
@@ -88,7 +93,9 @@
           ("Right", Just [("<+>", Fixity RightAssoc 5)])
         ]
         "import Left\nimport Right\nf a b = a <+> b\n"
-        >>= (`mentions` "the imports disagree about it: infixl 6 in Left but infixr 5 in Right")
+        >>= ( `mentions`
+                "the imports disagree about it: infixl 6 in Left but infixr 5 in Right"
+            )
 
     it "says when they disagree about a constructor written among types" $ do
       let offers = [("Left", infixl' 6), ("Right", Fixity RightAssoc 5)]
@@ -132,7 +139,8 @@
                   Map.fromList
                     [((InTerms, OpName ":>"), Fixity RightAssoc 5) | m == "Ops"]
               }
-      told <- notesAgainst answerOf "import Ops\ntype T = Int :> Int\nx = 1 :> 2\n"
+      told <-
+        notesAgainst answerOf "import Ops\ntype T = Int :> Int\nx = 1 :> 2\n"
       filter (T.isInfixOf ":>") (fmap T.stripStart told)
         `shouldBe` ["· :> infixr 5 (term), declared in Ops"]
 
@@ -144,13 +152,21 @@
                 \→ Test.QuickCheck.Property, which this run could not read"
             )
 
-    it "says what an import that could not be read was reached through" $
+    it "says where reading an import that could not be read stopped" $
       throughHspec
         >>= ( `mentions`
-                "Test.Hspec: could not be read, through Test.Hspec.Core.Spec \
-                \→ Test.QuickCheck.Property"
+                "Test.Hspec: could not be read, stopped at \
+                \Test.QuickCheck.Property (via Test.Hspec.Core.Spec)"
             )
 
+    it "says where reading an import read in part stopped" $
+      notesAgainst readInPart "import Servant.Foreign\nf a b = a :> b\n"
+        >>= ( `mentions`
+                "Servant.Foreign: 1 operator, incomplete at Data.Vault.Lazy \
+                \(via Servant.API → Servant.API.Vault) and \
+                \Servant.Foreign.Internal"
+            )
+
     it "adds nothing for an import unread on its own account" $
       notesFor [("Prelude", Just [])] "import Criterion.Main\nf a b = a <?> b\n"
         >>= (`shouldContain'` "· Criterion.Main: could not be read")
@@ -164,7 +180,7 @@
       told <- throughHspec
       let indentOf = T.length . T.takeWhile (== ' ')
           opens l = "·" `T.isPrefixOf` T.stripStart l
-      case break (T.isInfixOf "Test.QuickCheck.Property") told of
+      case break (T.isInfixOf "Test.Hspec.Core.Spec") told of
         (above, broken : _)
           | not (opens broken),
             (entry : _) <- filter opens (reverse above) ->
@@ -226,17 +242,24 @@
 notesThrough ::
   -- | What lies below an import, ending at the module that stopped it.
   [(Text, [Text])] ->
+  -- | The world of imports, as 'notesFor' takes it.
   [(Text, Maybe [(Text, Fixity)])] ->
+  -- | The module's source.
   Text ->
   IO [Text]
 notesThrough chains world = notesAgainst answerOf
   where
     answerOf m = case exportsOf m of
       Just fixities -> mempty{establishedFixities = fixities}
-      Nothing -> mempty{establishedUntold = Set.singleton (fromMaybe [] (lookup m chains))}
+      Nothing ->
+        mempty
+          { establishedUntold = Set.singleton (fromMaybe [] (lookup m chains))
+          }
     exportsOf m = do
       declared <- lookup m world
-      inBothNamespaces . Map.fromList . fmap (\(op, fixity) -> (OpName op, fixity))
+      inBothNamespaces
+        . Map.fromList
+        . fmap (\(op, fixity) -> (OpName op, fixity))
         <$> declared
 
 -- | The account given of a module, against what reading each module it
@@ -244,9 +267,13 @@
 notesAgainst :: (Text -> Established) -> Text -> IO [Text]
 notesAgainst answerOf source =
   renderFixityNotes Plain . Map.singleton "M.hs"
-    <$> fixityNotes (Is #implicitPrelude) (pure . answerOf) scope (pure module')
+    <$> fixityNotes
+      (Is #implicitPrelude)
+      (pure . answerOf . snd)
+      scope
+      (pure module')
   where
-    scope = resolveScope (Is #implicitPrelude) answerOf (pure hsModule)
+    scope = resolveScope (Is #implicitPrelude) (answerOf . snd) (pure hsModule)
     hsModule = pmModule module'
     module' = parsed ("module M where\n" <> source)
 
@@ -262,6 +289,21 @@
     [("Test.Hspec", ["Test.Hspec.Core.Spec", "Test.QuickCheck.Property"])]
     [("Prelude", Just [])]
     "import Test.Hspec\nf a b = a <?> b\n"
+
+-- | An import read in part: it settles one operator, but reading stopped at
+-- a module two re-exports down and at one it re-exports directly.
+readInPart :: Text -> Established
+readInPart "Servant.Foreign" =
+  mempty
+    { establishedFixities =
+        inBothNamespaces (Map.singleton (OpName ":>") (Fixity RightAssoc 4)),
+      establishedUntold =
+        Set.fromList
+          [ ["Servant.API", "Servant.API.Vault", "Data.Vault.Lazy"],
+            ["Servant.Foreign.Internal"]
+          ]
+    }
+readInPart _ = mempty
 
 -- | Is this line among them, whatever it was indented by?
 shouldContain' :: [Text] -> Text -> Expectation
diff --git a/tests/Tilia/Fixity/DependenciesSpec.hs b/tests/Tilia/Fixity/DependenciesSpec.hs
--- a/tests/Tilia/Fixity/DependenciesSpec.hs
+++ b/tests/Tilia/Fixity/DependenciesSpec.hs
@@ -27,6 +27,7 @@
 import GHC.Hs.Extension (GhcPs)
 import System.Directory (canonicalizePath, doesFileExist)
 import Test.Hspec
+
 import Tilia.BootFixities (bootFixities)
 import Tilia.Cabal.Plan
 import Tilia.Cpp (blankCpp)
@@ -53,7 +54,8 @@
 withPlan plan = do
   installed <- runIO readInstalledPackages
   fromSource <- runIO (fixitiesThrough <$> routedResolver [FromSource] plan)
-  fromInterface <- runIO (fixitiesThrough <$> routedResolver [FromInterface] plan)
+  fromInterface <-
+    runIO (fixitiesThrough <$> routedResolver [FromInterface] plan)
   resolver <- runIO (newResolver plan)
   let resolve = fixitiesThrough resolver
   own <- runIO ownModules
@@ -138,7 +140,8 @@
 
     it "finds the operators that are in it" $ do
       answers <- traverse (fromSource . fst) modules
-      sum [Map.size fixities | Just fixities <- answers] `shouldSatisfy` (>= 300)
+      sum [Map.size fixities | Just fixities <- answers]
+        `shouldSatisfy` (>= 300)
 
   describe "this project's own modules" $ do
     it "parses every one of them" $
@@ -147,13 +150,14 @@
     it "resolves every module they import" $ do
       answers <-
         traverse
-          (\(path, m) -> (m,) <$> askModule resolver (Just path) m)
+          (\(path, m) -> (m,) <$> askModule resolver (Just path) (Nothing, m))
           (importedByOwn own)
       [m | (m, answer) <- answers, not (settlesEverything answer)]
         `shouldBe` []
 
     it "settles every operator they use" $ do
-      unsettled <- traverse (unsettledIn resolver) [(path, m) | (path, Just m) <- own]
+      unsettled <-
+        traverse (unsettledIn resolver) [(path, m) | (path, Just m) <- own]
       concat unsettled `shouldBe` []
 
 ----------------------------------------------------------------------------
@@ -234,6 +238,7 @@
   (Text -> IO (Maybe (Fixities))) ->
   -- | The answer read out of the compiler's interfaces.
   (Text -> IO (Maybe (Fixities))) ->
+  -- | The module, by name.
   Text ->
   IO [String]
 conflicting fromSource fromInterface modName = do
@@ -282,7 +287,7 @@
 -- | What a module exports, where reading it settles every name.
 fixitiesThrough :: Resolver -> Text -> IO (Maybe Fixities)
 fixitiesThrough resolver modName =
-  settled <$> askModule resolver Nothing modName
+  settled <$> askModule resolver Nothing (Nothing, modName)
   where
     settled established
       | settlesEverything established = Just (establishedFixities established)
@@ -313,6 +318,11 @@
 unsettledIn resolver (path, hsModule) = do
   scope <- scopeFor resolver (Just path) (Is #implicitPrelude) (pure hsModule)
   pure
-    [ path <> ": " <> T.unpack (operatorSpelling qualifier op) <> " " <> show why
-    | ((qualifier, op), why) <- unknownOperators scope (pure (gathered hsModule))
+    [ path
+        <> ": "
+        <> T.unpack (operatorSpelling qualifier op)
+        <> " "
+        <> show why
+    | ((qualifier, op), why) <-
+        unknownOperators Nothing scope (pure (gathered hsModule))
     ]
diff --git a/tests/Tilia/Fixity/HiFileSpec.hs b/tests/Tilia/Fixity/HiFileSpec.hs
--- a/tests/Tilia/Fixity/HiFileSpec.hs
+++ b/tests/Tilia/Fixity/HiFileSpec.hs
@@ -19,6 +19,7 @@
 import Data.Text (Text)
 import Data.Text qualified as T
 import Test.Hspec
+
 import Tilia.Cabal.Plan (BuildPlan)
 import Tilia.Fixity (Fixities, Namespace (..), OpName (..))
 import Tilia.Fixity.HiFile
@@ -66,7 +67,12 @@
     declarations (m, path) = do
       bytes <- BS.readFile path
       pure
-        [ (m, Map.fromList [((namespace, op), fixity) | (namespace, op, fixity) <- hiFixities hi])
+        [ ( m,
+            Map.fromList
+              [ ((namespace, op), fixity)
+              | (namespace, op, fixity) <- hiFixities hi
+              ]
+          )
         | Right hi <- [decodeHiFile bytes]
         ]
     undecodable (m, path) = do
@@ -115,22 +121,33 @@
 disagreements ::
   -- | The fixities each module declares, where they can be read.
   (Text -> Maybe Fixities) ->
+  -- | The module, by name.
   Text ->
+  -- | What reading the interface directly gives.
   Interface ->
+  -- | What @ghc --show-iface@ gives.
   Interface ->
   [Text]
 disagreements declared m direct shown =
   [ "fixities"
-  | not (inTypes (interfaceDeclares shown) `Map.isSubmapOf` interfaceDeclares direct)
-      || byOperator (interfaceDeclares direct) /= byOperator (interfaceDeclares shown)
+  | not
+      ( inTypes (interfaceDeclares shown)
+          `Map.isSubmapOf` interfaceDeclares direct
+      )
+      || byOperator (interfaceDeclares direct)
+        /= byOperator (interfaceDeclares shown)
   ]
-    <> ["offered fixities" | offered declared m direct /= offered declared m shown]
+    <> [ "offered fixities"
+       | offered declared m direct /= offered declared m shown
+       ]
     <> ["members" | members direct /= members shown]
   where
     inTypes = Map.filterWithKey (\(namespace, _) _ -> namespace == InTypes)
     members i =
       Map.filter (not . Set.null) $
-        Map.map (Set.filter (`Set.member` withFixities)) (interfaceMembers i)
+        Map.map
+          (Set.filter (`Set.member` withFixities) . Set.map snd)
+          (interfaceMembers i)
     withFixities = Set.map (OpName . fst) (offered declared m direct)
 
 -- | Every fixity a module offers, its own and those of what it reexports,
@@ -147,4 +164,7 @@
 
 -- | Fixities by the operator alone, namespace aside.
 byOperator :: Fixities -> Set (Text, String)
-byOperator = Set.fromList . fmap (\((_, OpName op), fixity) -> (op, show fixity)) . Map.toList
+byOperator =
+  Set.fromList
+    . fmap (\((_, OpName op), fixity) -> (op, show fixity))
+    . Map.toList
diff --git a/tests/Tilia/Fixity/InterfaceSpec.hs b/tests/Tilia/Fixity/InterfaceSpec.hs
--- a/tests/Tilia/Fixity/InterfaceSpec.hs
+++ b/tests/Tilia/Fixity/InterfaceSpec.hs
@@ -12,6 +12,7 @@
 import Data.Set qualified as Set
 import Data.Text (Text)
 import Test.Hspec
+
 import Tilia.Fixity
 import Tilia.Fixity.HiFile (HiExport (..), HiFile (..), HiName (..))
 import Tilia.Fixity.Interface
@@ -20,7 +21,8 @@
 spec = do
   describe "what a module declares" $ do
     it "reads a fixity line" $
-      declares "exports:\n  !\n  !?\n  \\\\\nfixities infixl 9 !, infixl 9 !?, infixl 9 \\\\\n"
+      declares
+        "exports:\n  !\n  !?\n  \\\\\nfixities infixl 9 !, infixl 9 !?, infixl 9 \\\\\n"
         `shouldBe` [ (OpName "!", Fixity LeftAssoc 9),
                      (OpName "!?", Fixity LeftAssoc 9),
                      (OpName "\\\\", Fixity LeftAssoc 9)
@@ -41,7 +43,8 @@
                    ]
 
     it "reads every direction, and a name used in backticks" $
-      declares "exports:\n  div\n  ===\n  .&&.\nfixities infixl 7 div, infix 4 ===, infixr 1 .&&.\n"
+      declares
+        "exports:\n  div\n  ===\n  .&&.\nfixities infixl 7 div, infix 4 ===, infixr 1 .&&.\n"
         `shouldBe` [ (OpName ".&&.", Fixity RightAssoc 1),
                      (OpName "===", Fixity NoAssoc 4),
                      (OpName "div", Fixity LeftAssoc 7)
@@ -53,10 +56,13 @@
 
     it "reads it alongside ordinary ones" $
       declares "exports:\n  ->\n  !\nfixities infixr -1 ->, infixl 9 !\n"
-        `shouldBe` [(OpName "!", Fixity LeftAssoc 9), (OpName "->", Fixity RightAssoc (-1))]
+        `shouldBe` [ (OpName "!", Fixity LeftAssoc 9),
+                     (OpName "->", Fixity RightAssoc (-1))
+                   ]
 
     it "passes over an entry it cannot read, and keeps the rest" $
-      declares "exports:\n  ?\n  !\nfixities infixl notadigit ?, infixl 9 !, infixl\n"
+      declares
+        "exports:\n  ?\n  !\nfixities infixl notadigit ?, infixl 9 !, infixl\n"
         `shouldBe` [(OpName "!", Fixity LeftAssoc 9)]
 
     it "says nothing for a module that declares nothing" $
@@ -79,7 +85,8 @@
                    ]
 
     it "takes a record field written after a bar, and not its type" $
-      passesOn "exports:\n  Data.Aeson.Encoding.Internal.Encoding'|{Data.Aeson.Encoding.Internal.fromEncoding}\n"
+      passesOn
+        "exports:\n  Data.Aeson.Encoding.Internal.Encoding'|{Data.Aeson.Encoding.Internal.fromEncoding}\n"
         `shouldBe` [("Data.Aeson.Encoding.Internal", OpName "fromEncoding")]
 
     it "keeps a type apart from the module holding it" $
@@ -101,43 +108,52 @@
         `shouldBe` [("GHC.Internal.Data.Type.Bool", OpName "||")]
 
     it "reads them among the members of a type exported without itself" $
-      passesOn "exports:\n  GHC.Internal.Bits.Bits|{GHC.Internal.Bits..&. GHC.Internal.Bits..|. GHC.Internal.Bits.complement}\n"
+      passesOn
+        "exports:\n  GHC.Internal.Bits.Bits|{GHC.Internal.Bits..&. GHC.Internal.Bits..|. GHC.Internal.Bits.complement}\n"
         `shouldBe` [ ("GHC.Internal.Bits", OpName ".&."),
                      ("GHC.Internal.Bits", OpName ".|."),
                      ("GHC.Internal.Bits", OpName "complement")
                    ]
 
     it "takes them as the members of such a type" $
-      members "exports:\n  GHC.Internal.Base.Alternative|{GHC.Internal.Base.<|> GHC.Internal.Base.empty}\n"
+      members
+        "exports:\n  GHC.Internal.Base.Alternative|{GHC.Internal.Base.<|> GHC.Internal.Base.empty}\n"
         `shouldBe` [(OpName "Alternative", [OpName "<|>", OpName "empty"])]
 
   describe "which namespace a fixity governs" $ do
     it "gives one to types where the module declares a type of that name" $
-      declaresIn "exports:\n  :~:\nfixities infix 4 :~:\nab12\n  data (:~:) a b where\n"
+      declaresIn
+        "exports:\n  :~:\nfixities infix 4 :~:\nab12\n  data (:~:) a b where\n"
         `shouldBe` [((InTypes, OpName ":~:"), Fixity NoAssoc 4)]
 
     it "gives one to terms where nothing declares a type of that name" $
-      declaresIn "exports:\n  !\nfixities infixl 9 !\nab12\n  (!) :: Int -> Int -> Int\n"
+      declaresIn
+        "exports:\n  !\nfixities infixl 9 !\nab12\n  (!) :: Int -> Int -> Int\n"
         `shouldBe` [((InTerms, OpName "!"), Fixity LeftAssoc 9)]
 
     it "reads a type synonym as a type" $
-      declaresIn "exports:\n  :+\nfixities infixr 5 :+\nab12\n  type (:+) :: * -> * -> *\n"
+      declaresIn
+        "exports:\n  :+\nfixities infixr 5 :+\nab12\n  type (:+) :: * -> * -> *\n"
         `shouldBe` [((InTypes, OpName ":+"), Fixity RightAssoc 5)]
 
     it "reads a type family as a type" $
-      declaresIn "exports:\n  ==\nfixities infixl 6 ==\nab12\n  type family (==) a b where\n"
+      declaresIn
+        "exports:\n  ==\nfixities infixl 6 ==\nab12\n  type family (==) a b where\n"
         `shouldBe` [((InTypes, OpName "=="), Fixity LeftAssoc 6)]
 
     it "reads a class as a type" $
-      declaresIn "exports:\n  <%>\nfixities infixl 4 <%>\nab12\n  class (<%>) a where\n"
+      declaresIn
+        "exports:\n  <%>\nfixities infixl 4 <%>\nab12\n  class (<%>) a where\n"
         `shouldBe` [((InTypes, OpName "<%>"), Fixity LeftAssoc 4)]
 
     it "takes a role declaration as saying the name is a type" $
-      declaresIn "exports:\n  !\nfixities infixl 9 !\nab12\n  type role (!) nominal\n"
+      declaresIn
+        "exports:\n  !\nfixities infixl 9 !\nab12\n  type role (!) nominal\n"
         `shouldBe` [((InTypes, OpName "!"), Fixity LeftAssoc 9)]
 
     it "is not misled by declarations of other names" $
-      declaresIn "exports:\n  !\nfixities infixl 9 !\nab12\n  data Other a b where\n  (!) :: Int\n"
+      declaresIn
+        "exports:\n  !\nfixities infixl 9 !\nab12\n  data Other a b where\n  (!) :: Int\n"
         `shouldBe` [((InTerms, OpName "!"), Fixity LeftAssoc 9)]
 
     it "gives a type and a constructor of one name each its own" $
@@ -167,7 +183,10 @@
       members
         "exports:\n\
         \  GHC.Internal.Base.Applicative{GHC.Internal.Base.*> GHC.Internal.Base.<*> GHC.Internal.Base.pure}\n"
-        `shouldBe` [(OpName "Applicative", [OpName "*>", OpName "<*>", OpName "pure"])]
+        `shouldBe` [ ( OpName "Applicative",
+                       [OpName "*>", OpName "<*>", OpName "pure"]
+                     )
+                   ]
 
     it "takes them from a partial export, which still says what it has" $
       members "exports:\n  GHC.Internal.Base.Functor|{GHC.Internal.Base.<$}\n"
@@ -175,38 +194,64 @@
 
     it "takes a name this module declared, written without a module" $
       members "exports:\n  WrappedArrow{WrapArrow unwrapArrow}\n"
-        `shouldBe` [(OpName "WrappedArrow", [OpName "WrapArrow", OpName "unwrapArrow"])]
+        `shouldBe` [ ( OpName "WrappedArrow",
+                       [OpName "WrapArrow", OpName "unwrapArrow"]
+                     )
+                   ]
 
     it "keeps entries apart where several sit on one line" $
       members "exports:\n  A{B} C{D}\n"
         `shouldBe` [(OpName "A", [OpName "B"]), (OpName "C", [OpName "D"])]
 
     it "has nothing to say about a name without members" $
-      members "exports:\n  decode'\n  Data.Aeson.Types.FromJSON..:\n" `shouldBe` []
+      members "exports:\n  decode'\n  Data.Aeson.Types.FromJSON..:\n"
+        `shouldBe` []
 
   describe "what a decoded interface brings in" $ do
     it "is every name it exports, by namespace, and the members of each type" $
       fmap
         interfaceExports
-        (fromHiFile "M" (HiFile "M" [AvailTC (inM InTypes "T") [inM InTypes "T", inM InTerms "C"], Avail (inM InTerms "f")] []))
+        ( fromHiFile
+            "M"
+            ( HiFile
+                "M"
+                [ AvailTC (inM InTypes "T") [inM InTypes "T", inM InTerms "C"],
+                  Avail (inM InTerms "f")
+                ]
+                []
+            )
+        )
         `shouldBe` Right
           ( Just
               ( Certain
-                  (Set.fromList [(InTypes, OpName "T"), (InTerms, OpName "C"), (InTerms, OpName "f")])
-                  (Map.fromList [(OpName "T", Set.fromList [(InTerms, OpName "C")])])
+                  ( Set.fromList
+                      [ (InTypes, OpName "T"),
+                        (InTerms, OpName "C"),
+                        (InTerms, OpName "f")
+                      ]
+                  )
+                  ( Map.fromList
+                      [(OpName "T", Set.fromList [(InTerms, OpName "C")])]
+                  )
               )
           )
 
     it "gives a type exported without its members none" $
       fmap
         interfaceMembers
-        (fromHiFile "M" (HiFile "M" [AvailTC (inM InTypes "T") [inM InTypes "T"]] []))
+        ( fromHiFile
+            "M"
+            (HiFile "M" [AvailTC (inM InTypes "T") [inM InTypes "T"]] [])
+        )
         `shouldBe` Right (Map.fromList [(OpName "T", Set.empty)])
 
     it "does not take a type for exported where only its field is" $
       fmap
         (fmap certainNames . interfaceExports)
-        (fromHiFile "M" (HiFile "M" [AvailTC (inM InTypes "T") [inM InTerms "field"]] []))
+        ( fromHiFile
+            "M"
+            (HiFile "M" [AvailTC (inM InTypes "T") [inM InTerms "field"]] [])
+        )
         `shouldBe` Right (Just (Set.fromList [(InTerms, OpName "field")]))
 
     it "passes on the members of a type exported without itself" $
@@ -234,8 +279,22 @@
         )
         `shouldBe` Right [((InTerms, OpName "<+>"), Fixity LeftAssoc 3)]
 
+    it "is left out of a decoded interface that passes on another spelled the same" $
+      fmap
+        (Map.toList . interfaceDeclares)
+        ( fromHiFile
+            "M"
+            ( HiFile
+                "M"
+                [Avail (inN InTerms "<+>")]
+                [(InTerms, OpName "<+>", Fixity LeftAssoc 1)]
+            )
+        )
+        `shouldBe` Right []
+
     it "is left out of what ghc --show-iface prints" $
-      declares "exports:\n  <+>\n  parser\nfixities infixl 3 <+>, infixr 2 <~>\n"
+      declares
+        "exports:\n  <+>\n  parser\nfixities infixl 3 <+>, infixr 2 <~>\n"
         `shouldBe` [(OpName "<+>", Fixity LeftAssoc 3)]
 
     it "is left out for a type a bar says is exported without itself" $
@@ -273,11 +332,14 @@
         `shouldBe` Nothing
 
     it "refuses an interface for a different module" $
-      parseInterface "Data.Map.Strict" (header "Data.Map.Lazy" <> "fixities infixl 9 !\n")
+      parseInterface
+        "Data.Map.Strict"
+        (header "Data.Map.Lazy" <> "fixities infixl 9 !\n")
         `shouldBe` Nothing
 
     it "reads one that names the module asked for" $
-      declares "exports:\n  !\nfixities infixl 9 !\n" `shouldBe` [(OpName "!", Fixity LeftAssoc 9)]
+      declares "exports:\n  !\nfixities infixl 9 !\n"
+        `shouldBe` [(OpName "!", Fixity LeftAssoc 9)]
 
 header :: Text -> Text
 header modName = "interface " <> modName <> " 9103\n"
@@ -293,7 +355,9 @@
 -- | The same, keeping the namespace each governs.
 declaresIn :: Text -> [((Namespace, OpName), Fixity)]
 declaresIn =
-  maybe [] (Map.toList . interfaceDeclares) . parseInterface "M" . (header "M" <>)
+  maybe [] (Map.toList . interfaceDeclares)
+    . parseInterface "M"
+    . (header "M" <>)
 
 -- | What a module of this shape passes on, namespace aside.
 passesOn :: Text -> [(Text, OpName)]
@@ -307,7 +371,9 @@
 -- | The members of each exported name, in a settled order.
 members :: Text -> [(OpName, [OpName])]
 members =
-  maybe [] (fmap (fmap Set.toList) . Map.toList . interfaceMembers)
+  maybe
+    []
+    (fmap (fmap (Set.toList . Set.map snd)) . Map.toList . interfaceMembers)
     . parseInterface "M"
     . (header "M" <>)
 
diff --git a/tests/Tilia/Fixity/PackageDbSpec.hs b/tests/Tilia/Fixity/PackageDbSpec.hs
--- a/tests/Tilia/Fixity/PackageDbSpec.hs
+++ b/tests/Tilia/Fixity/PackageDbSpec.hs
@@ -7,6 +7,7 @@
 import Data.Map.Strict qualified as Map
 import Data.Text (Text)
 import Test.Hspec
+
 import Tilia.Fixity.PackageDb
 
 spec :: Spec
diff --git a/tests/Tilia/Fixity/PlanSpec.hs b/tests/Tilia/Fixity/PlanSpec.hs
--- a/tests/Tilia/Fixity/PlanSpec.hs
+++ b/tests/Tilia/Fixity/PlanSpec.hs
@@ -33,2476 +33,3431 @@
 import Data.Text qualified as T
 import Data.Text.Encoding qualified as T
 import Data.Time (addUTCTime, getCurrentTime)
-import System.Directory
-  ( canonicalizePath,
-    createDirectoryIfMissing,
-    doesFileExist,
-    getPermissions,
-    setModificationTime,
-    setOwnerExecutable,
-    setPermissions,
-  )
-import System.Environment (lookupEnv, setEnv, unsetEnv)
-import System.FilePath (dropExtension, searchPathSeparator, takeBaseName, takeDirectory, (</>))
-import System.IO.Temp (withSystemTempDirectory)
-import System.Info qualified
-import System.Timeout (timeout)
-import Test.Hspec
-import Tilia.Cabal.Plan hiding (checkReadiness, prepareWith)
-import Tilia.Cabal.Plan qualified as Plan
-import Tilia.Cpp.Macros (Macros (..))
-import Tilia.Fixity
-import Tilia.Fixity.Cache
-  ( PlanToken (..),
-    openCache,
-    storePackageCache,
-  )
-import Tilia.Fixity.HiFile (HiExport (..), HiFile (..), HiName (..))
-import Tilia.Fixity.PackageDb
-  ( Installed (..),
-    InstalledPackage (..),
-    compilerIdentity,
-    readInstalledPackages,
-  )
-import Tilia.Fixity.Plan
-import Tilia.Parser
-import Tilia.Process (readProgramOutput)
-import Tilia.TestUtils
-  ( parsed,
-    routedResolver,
-    unreadOnly,
-    withEnvironment,
-    withOpsProject,
-  )
-import Tilia.Utils (inParallel, writeUtf8File)
-import Tilia.WithProjectPlan (withProjectPlan)
-
-spec :: Spec
-spec = do
-  preparation
-  tokens
-  plannedMacros
-  reexports
-  hscModules
-  generatedModuleSpec
-  askedAtOnce
-  givenInterfaces
-  readBefore
-  namedAlike
-  gitDependencies
-  repositories
-  packageCache
-  givenPlans
-  withProjectPlan withPlan
-
--- | What a cached failure is filed under.
---
--- A failure to read a module leans on the plan and on the compiler this run
--- can ask, so both have to be in the token. Were the environment left out,
--- a shell that cannot see a package would hand its "could not be read" to
--- one that can.
-tokens :: Spec
-tokens = describe "the token a plan is cached under" $ do
-  it "differs between environments over the same plan" $
-    tokenForEnvAndBuildPlan "/one/bin/ghc-pkg" onePackage
-      `shouldNotBe` tokenForEnvAndBuildPlan "/another/bin/ghc-pkg" onePackage
-
-  it "differs between plans in the same environment" $
-    tokenForEnvAndBuildPlan here onePackage
-      `shouldNotBe` tokenForEnvAndBuildPlan here noPackages
-
-  it "is the same twice over for the same plan and environment" $
-    tokenForEnvAndBuildPlan here onePackage
-      `shouldBe` tokenForEnvAndBuildPlan here onePackage
-
-  it "asks the environment it is actually going to read in" $ do
-    asked <- tokenForBuildPlan onePackage
-    environment <- compilerIdentity
-    asked `shouldBe` tokenForEnvAndBuildPlan environment onePackage
-  where
-    here = "/somewhere/bin/ghc-pkg"
-    noPackages = BuildPlan{bpCompiler = "ghc-9.10.3", bpPackages = []}
-    onePackage =
-      BuildPlan
-        { bpCompiler = "ghc-9.10.3",
-          bpPackages =
-            [ PlanPackage
-                { ppName = "containers",
-                  ppVersion = "0.7",
-                  ppSource = PreExisting,
-                  ppComponents = []
-                }
-            ]
-        }
-
--- | What a plan says about macros.
-plannedMacros :: Spec
-plannedMacros = describe "the macros a plan settles" $ do
-  it "has those of other compilers undefined under a plan for GHC" $
-    macroUndefined (macrosOf (planFor "ghc-9.10.3"))
-      `shouldBe` Set.fromList ["__MHS__", "__HUGS__"]
-
-  it "has nothing undefined under a plan for another compiler" $
-    macroUndefined (macrosOf (planFor "mhs-0.15.4.0")) `shouldBe` Set.empty
-
-  it "holds every package of the plan, as its version macros spell it" $
-    macroPlannedPackages (macrosOf twoPackages)
-      `shouldBe` Just (Set.fromList ["base", "data_default"])
-  where
-    planFor compiler = BuildPlan{bpCompiler = compiler, bpPackages = []}
-    twoPackages =
-      BuildPlan
-        { bpCompiler = "ghc-9.10.3",
-          bpPackages =
-            [ PlanPackage
-                { ppName = name,
-                  ppVersion = "1.0",
-                  ppSource = PreExisting,
-                  ppComponents = []
-                }
-            | name <- ["base", "data-default"]
-            ]
-        }
-
--- | 'Plan.checkReadiness', with the cache in use as it is by default.
-checkReadiness :: [PlanComponent] -> FilePath -> IO Readiness
-checkReadiness = Plan.checkReadiness (Do #useCache)
-
--- | 'Plan.prepareWith', with the cache in use as it is by default.
-prepareWith ::
-  ([String] -> IO (Either CabalFailure ())) ->
-  Futility ->
-  [PlanComponent] ->
-  FilePath ->
-  Readiness ->
-  IO (Either Text ())
-prepareWith = Plan.prepareWith (Do #useCache) (Do #download)
-
--- | What a run does before it trusts the plan.
---
--- These need no plan of their own and no @cabal@: the point is the order of
--- the steps, so the steps are recorded rather than taken.
-preparation :: Spec
-preparation = describe "preparing a project" $ do
-  it "solves and then fetches, in the one run" $
-    withTempProject Nothing $ \dir -> do
-      steps <- newIORef []
-      let cabal args = do
-            record steps args
-            when (args == solving) (writePlan dir wantingATarball)
-            pure (Right ())
-      checkReadiness [] dir `shouldReturn` PlanMissing
-      prepareWith cabal undiscoveredFutility [] dir PlanMissing `shouldReturn` Right ()
-      readIORef steps
-        `shouldReturn` [solving, fetching]
-
-  it "fetches without solving when the plan is already good" $
-    withTempProject (Just wantingATarball) $ \dir -> do
-      steps <- newIORef []
-      readiness <- checkReadiness [] dir
-      readiness `shouldBe` SourcesMissing ["tilia-phantom"]
-      prepareWith (obliging steps) undiscoveredFutility [] dir readiness `shouldReturn` Right ()
-      readIORef steps `shouldReturn` [fetching]
-
-  it "fetches nothing when told not to download" $
-    withTempProject (Just wantingATarball) $ \dir -> do
-      steps <- newIORef []
-      readiness <- checkReadiness [] dir
-      readiness `shouldBe` SourcesMissing ["tilia-phantom"]
-      Plan.prepareWith (Do #useCache) (Don't #download) (obliging steps) undiscoveredFutility [] dir readiness
-        `shouldReturn` Right ()
-      readIORef steps `shouldReturn` []
-
-  it "does not fetch again what fetching did not bring in" $
-    withTempProject (Just wantingATarball) $ \dir -> do
-      steps <- newIORef []
-      refused <- newIORef []
-      let futility =
-            undiscoveredFutility
-              { fetchWasFutileFor = readIORef refused,
-                rememberFutileFetch = writeIORef refused
-              }
-          missing = SourcesMissing ["tilia-phantom"]
-          again = prepareWith (obliging steps) futility [] dir missing
-      again `shouldReturn` Right ()
-      readIORef refused `shouldReturn` ["tilia-phantom"]
-      again `shouldReturn` Right ()
-      readIORef steps `shouldReturn` [fetching]
-
-  it "does not fetch after a solve what fetching did not bring in" $
-    withTempProject Nothing $ \dir -> do
-      steps <- newIORef []
-      let cabal args = do
-            record steps args
-            when (args == solving) (writePlan dir wantingATarball)
-            pure (Right ())
-          futility =
-            undiscoveredFutility{fetchWasFutileFor = pure ["tilia-phantom"]}
-      prepareWith cabal futility [] dir PlanMissing `shouldReturn` Right ()
-      readIORef steps `shouldReturn` [solving]
-
-  it "takes nothing for futile when told not to download" $
-    withTempProject (Just narrowAndWanting) $ \dir -> do
-      refused <- newIORef []
-      let futility =
-            undiscoveredFutility
-              { solveWasFutile = pure True,
-                rememberFutileFetch = writeIORef refused
-              }
-          narrow = PlanNarrow ["thing:test:tests"]
-          offline = Plan.prepareWith (Do #useCache) (Don't #download)
-      steps <- newIORef []
-      offline (obliging steps) futility [component "test:tests"] dir narrow
-        `shouldReturn` Right ()
-      readIORef refused `shouldReturn` []
-
-  it "runs nothing at all when nothing is missing" $ do
-    steps <- newIORef []
-    prepareWith (obliging steps) undiscoveredFutility [] "." Ready `shouldReturn` Right ()
-    readIORef steps `shouldReturn` []
-
-  it "does not go on to fetch when the solve fails" $
-    withTempProject Nothing $ \dir -> do
-      steps <- newIORef []
-      let cabal args = Left (Unsolvable "cabal said no") <$ record steps args
-      prepareWith cabal undiscoveredFutility [] dir PlanMissing `shouldReturn` Left "cabal said no"
-      readIORef steps `shouldReturn` [solving, narrowSolve]
-
-  it "asks about less only where the whole project will not solve" $
-    withTempProject Nothing $ \dir -> do
-      steps <- newIORef []
-      let cabal args = Left (CabalFailed "cabal said no") <$ record steps args
-      prepareWith cabal undiscoveredFutility [] dir PlanMissing
-        `shouldReturn` Left "cabal said no"
-      readIORef steps `shouldReturn` [solving]
-
-  it "hears from cabal that the whole project will not solve" $
-    withTempProject Nothing $ \dir -> do
-      let unsolvable = complaining "Could not resolve dependencies:"
-      fst <$> runsCabalWith unsolvable (loading dir)
-        `shouldReturn` ["build", "build"]
-
-  it "hears from cabal that it failed otherwise" $
-    withTempProject Nothing $ \dir -> do
-      let unparsed = complaining "Error parsing project file"
-      fst <$> runsCabalWith unparsed (loading dir) `shouldReturn` ["build"]
-
-  it "asks about the test suites and the benchmarks, not the library alone" $
-    withTempProject Nothing $ \dir -> do
-      steps <- newIORef []
-      let cabal args = do
-            record steps args
-            when (args == solving) (writePlan dir wantingATarball)
-            pure (Right ())
-      _ <- prepareWith cabal undiscoveredFutility [] dir PlanMissing
-      asked <- readIORef steps
-      asked `shouldSatisfy` all (\args -> wholeProject `Data.List.isSuffixOf` args)
-
-  it "settles for what will solve when the whole project will not" $
-    withTempProject Nothing $ \dir -> do
-      steps <- newIORef []
-      let cabal args = do
-            record steps args
-            if wholeProject `Data.List.isSuffixOf` args
-              then pure (Left (Unsolvable "a test suite will not solve"))
-              else do
-                when (args == narrowSolve) (writePlan dir wantingATarball)
-                pure (Right ())
-      prepareWith cabal undiscoveredFutility [] dir PlanMissing `shouldReturn` Right ()
-      readIORef steps
-        `shouldReturn` [solving, narrowSolve, fetching, narrowFetch]
-
-  it "does not solve again where solving left the plan as it was" $
-    withChangedPackage $ \dir -> do
-      stale <- checkReadiness [] dir
-      stale `shouldBe` PlanStale [dir </> "thing.cabal"]
-      steps <- newIORef []
-      prepareWith (obliging steps) (futilityFor (Do #useCache) dir) [] dir stale
-        `shouldReturn` Right ()
-      readIORef steps `shouldReturn` [solving]
-      checkReadiness [] dir `shouldReturn` Ready
-
-  it "solves again where a file changed after the last solve" $
-    withChangedPackage $ \dir -> do
-      stale <- checkReadiness [] dir
-      steps <- newIORef []
-      _ <- prepareWith (obliging steps) (futilityFor (Do #useCache) dir) [] dir stale
-      later <- addUTCTime 60 <$> getCurrentTime
-      setModificationTime (dir </> "thing.cabal") later
-      checkReadiness [] dir `shouldReturn` PlanStale [dir </> "thing.cabal"]
-
-  it "takes a change to a file the project imports as making the plan stale" $
-    withOwnPlan $ \dir -> do
-      writeUtf8File (dir </> "cabal.project") "import: config/more.config\n"
-      createDirectoryIfMissing True (dir </> "config")
-      writeUtf8File (dir </> "config" </> "more.config") ""
-      earlier <- addUTCTime (-90) <$> getCurrentTime
-      setModificationTime (dir </> "cabal.project") earlier
-      imported <- canonicalizePath (dir </> "config" </> "more.config")
-      checkReadiness [] dir `shouldReturn` PlanStale [imported]
-
-  describe "a plan narrower than the run" $ do
-    it "notices a component the plan says nothing about" $
-      withTempProject (Just twoComponents) $ \dir ->
-        checkReadiness [component "test:tests"] dir
-          `shouldReturn` PlanNarrow ["thing:test:tests"]
-
-    it "names every one it is missing" $
-      withTempProject (Just twoComponents) $ \dir ->
-        checkReadiness [component "test:tests", component "bench:speed"] dir
-          `shouldReturn` PlanNarrow ["thing:test:tests", "thing:bench:speed"]
-
-    it "is content with the components the plan does cover" $
-      withTempProject (Just twoComponents) $ \dir ->
-        checkReadiness [component "lib", component "exe:thing"] dir
-          `shouldReturn` Ready
-
-    it "asks for nothing when the run asks about nothing" $
-      withTempProject (Just twoComponents) $ \dir ->
-        checkReadiness [] dir `shouldReturn` Ready
-
-    it "solves again rather than trusting it" $
-      withTempProject (Just twoComponents) $ \dir -> do
-        steps <- newIORef []
-        let cabal args = do
-              record steps args
-              when (args == solving) (writePlan dir twoComponents)
-              pure (Right ())
-        prepareWith cabal undiscoveredFutility [component "test:tests"] dir (PlanNarrow ["thing:test:tests"])
-          `shouldReturn` Right ()
-        readIORef steps `shouldReturn` [solving]
-
-    it "counts the components of this very project as covered" $ do
-      plan' <- readBuildPlan (planPathFor ".")
-      case plan' of
-        Left _ -> expectationFailure "no build plan; run cabal build first"
-        Right p ->
-          checkReadiness (plannedComponents p) "."
-            `shouldNotReturn` PlanNarrow []
-
-    it "solves only the once when solving does not widen it" $
-      withTempProject (Just twoComponents) $ \dir -> do
-        steps <- newIORef []
-        futile <- newIORef False
-        let cabal args = do
-              record steps args
-              when (args == solving) (writePlan dir twoComponents)
-              pure (Right ())
-            futility =
-              undiscoveredFutility
-                { solveWasFutile = readIORef futile,
-                  rememberFutileSolve = writeIORef futile True
-                }
-            narrow = PlanNarrow ["thing:test:tests"]
-            once = prepareWith cabal futility [component "test:tests"] dir narrow
-        once `shouldReturn` Right ()
-        readIORef futile `shouldReturn` True
-        once `shouldReturn` Right ()
-        readIORef steps `shouldReturn` [solving]
-
-    it "fetches what a plan it cannot widen is short of" $
-      withTempProject (Just narrowAndWanting) $ \dir -> do
-        steps <- newIORef []
-        let cabal args = do
-              record steps args
-              when (args == solving) (writePlan dir narrowAndWanting)
-              pure (Right ())
-            narrow = PlanNarrow ["thing:test:tests"]
-        prepareWith cabal undiscoveredFutility [component "test:tests"] dir narrow
-          `shouldReturn` Right ()
-        readIORef steps
-          `shouldReturn` [solving, fetching]
-
-    it "fetches it even once solving again has been given up on" $
-      withTempProject (Just narrowAndWanting) $ \dir -> do
-        steps <- newIORef []
-        futile <- newIORef True
-        let futility =
-              undiscoveredFutility
-                { solveWasFutile = readIORef futile,
-                  rememberFutileSolve = writeIORef futile True
-                }
-            narrow = PlanNarrow ["thing:test:tests"]
-        prepareWith (obliging steps) futility [component "test:tests"] dir narrow
-          `shouldReturn` Right ()
-        readIORef steps `shouldReturn` [fetching]
-
-    it "does not ask again for what fetching did not bring in" $
-      withTempProject (Just narrowAndWanting) $ \dir -> do
-        steps <- newIORef []
-        refused <- newIORef []
-        let futility =
-              undiscoveredFutility
-                { solveWasFutile = pure True,
-                  fetchWasFutileFor = readIORef refused,
-                  rememberFutileFetch = writeIORef refused
-                }
-            narrow = PlanNarrow ["thing:test:tests"]
-            again = prepareWith (obliging steps) futility [component "test:tests"] dir narrow
-        again `shouldReturn` Right ()
-        readIORef refused `shouldReturn` ["tilia-phantom"]
-        again `shouldReturn` Right ()
-        readIORef steps `shouldReturn` [fetching]
-
-    it "goes on solving while solving still widens it" $
-      withTempProject (Just twoComponents) $ \dir -> do
-        steps <- newIORef []
-        futile <- newIORef False
-        let cabal args = do
-              record steps args
-              when (args == solving) (writePlan dir threeComponents)
-              pure (Right ())
-            futility =
-              undiscoveredFutility
-                { solveWasFutile = readIORef futile,
-                  rememberFutileSolve = writeIORef futile True
-                }
-        prepareWith cabal futility [component "test:tests"] dir (PlanNarrow ["thing:test:tests"])
-          `shouldReturn` Right ()
-        readIORef futile `shouldReturn` False
-        readIORef steps `shouldReturn` [solving]
-
-  describe "a package the plan could not take apart" $ do
-    it "counts the components it lists under one entry" $
-      withTempProject (Just plannedWhole) $ \dir ->
-        checkReadiness [component "lib", component "test:spec"] dir
-          `shouldReturn` Ready
-
-    it "still misses one that entry does not list" $
-      withTempProject (Just plannedWhole) $ \dir ->
-        checkReadiness [component "bench:speed"] dir
-          `shouldReturn` PlanNarrow ["thing:bench:speed"]
-
-    it "does not offer the Setup program as a component" $ do
-      plan' <- withTempProject (Just plannedWhole) (readBuildPlan . planPathFor)
-      fmap plannedComponents plan'
-        `shouldBe` Right [component "lib", component "test:spec"]
-
--- | Chasing an operator a module passes on rather than declares.
---
--- No plan and no network here: the modules a name could have come from
--- answer out of a table written below, which is what makes it possible to
--- ask not merely whether an answer came back but which module it came from.
-reexports :: Spec
-reexports = describe "an operator a module passes on" $ do
-  it "comes from the module the qualifier names" $
-    chased "module M ((Disp.<+>)) where\nimport Control.Arrow (first)\nimport qualified Text.PrettyPrint as Disp\n"
-      `shouldReturn` Just (Fixity LeftAssoc 6)
-
-  it "comes from an import that brings it in, not one that hides it" $
-    chased "module M ((<+>)) where\nimport Control.Arrow hiding ((<+>))\nimport Text.PrettyPrint\n"
-      `shouldReturn` Just (Fixity LeftAssoc 6)
-
-  it "comes from an import that brings it in, not one that never names it" $
-    chased "module M ((<+>)) where\nimport Control.Arrow (first)\nimport Text.PrettyPrint\n"
-      `shouldReturn` Just (Fixity LeftAssoc 6)
-
-  it "does not come from a qualified import when it is written plainly" $
-    chased "module M ((<+>)) where\nimport Control.Arrow\nimport qualified Text.PrettyPrint as Disp\n"
-      `shouldReturn` Just (Fixity RightAssoc 5)
-
-  it "is the module's own where the module declares it" $
-    chased "module M ((<+>)) where\nimport Control.Arrow\ninfixr 3 <+>\n(<+>) :: Int -> Int -> Int\na <+> b = a + b\n"
-      `shouldReturn` Just (Fixity RightAssoc 3)
-
-  it "is not the module's own where the module does not export it" $
-    chased "module M (parser) where\ninfixr 3 <+>\n(<+>) :: Int -> Int -> Int\na <+> b = a + b\nparser :: Int\nparser = 1 <+> 2\n"
-      `shouldReturn` Nothing
-
-  it "is the module's own for a constructor handed on with its type" $ do
-    answer <- chasedModule "module M (T (..)) where\ndata T = Int :+ Int\ninfixl 6 :+\n"
-    Map.lookup (InTerms, OpName ":+") (establishedFixities answer)
-      `shouldBe` Just (Fixity LeftAssoc 6)
-
-  it "is not the module's own for a constructor its type is handed on without" $ do
-    answer <- chasedModule "module M (T) where\ndata T = Int :+ Int\ninfixl 6 :+\n"
-    Map.lookup (InTerms, OpName ":+") (establishedFixities answer) `shouldBe` Nothing
-
-  it "is not answered at all when the module it came from cannot be read" $
-    chased "module M ((<+>)) where\nimport No.Such.Module\n"
-      `shouldReturn` Nothing
-
-  it "is not held up by an unread import under another qualifier" $
-    chased "module M ((Disp.<+>)) where\nimport qualified No.Such.Module as Q\nimport qualified Text.PrettyPrint as Disp\n"
-      `shouldReturn` Just (Fixity LeftAssoc 6)
-
-  it "is not held up by an unread import that is qualified when it is written plainly" $
-    chased "module M ((<+>)) where\nimport qualified No.Such.Module\nimport Text.PrettyPrint\n"
-      `shouldReturn` Just (Fixity LeftAssoc 6)
-
-  it "is not held up by an unread import whose list does not name it" $
-    chased "module M ((<+>)) where\nimport No.Such.Module (first)\nimport Text.PrettyPrint\n"
-      `shouldReturn` Just (Fixity LeftAssoc 6)
-
-  it "is answered by an import that certainly brings it in, though an unread one could have supplied it" $
-    chased "module M ((Disp.<+>)) where\nimport qualified No.Such.Module as Disp\nimport qualified Text.PrettyPrint as Disp\n"
-      `shouldReturn` Just (Fixity LeftAssoc 6)
-
-  it "comes from a T(..) that certainly brings it in, though an unread import could have supplied it" $
-    chased "module M ((Disp.<+>)) where\nimport qualified No.Such.Module as Disp\nimport qualified Text.PrettyPrint as Disp (Doc (..))\n"
-      `shouldReturn` Just (Fixity LeftAssoc 6)
-
-  it "is still not answered when an unread import could have supplied it and none brings it in for certain" $
-    chased "module M ((Disp.<+>)) where\nimport qualified No.Such.Module as Disp\nimport qualified Text.PrettyPrint as Disp (Doc)\n"
-      `shouldReturn` Nothing
-
-  it "comes from the import that decides its type, though an unread one could have supplied the name" $
-    chased "module M (Doc (..)) where\nimport No.Such.Module (T (..))\nimport Text.PrettyPrint\n"
-      `shouldReturn` Just (Fixity LeftAssoc 6)
-
-  it "is still not answered when the import its type comes from does not certainly bring it in" $
-    chased "module M (Doc (..)) where\nimport No.Such.Module (T (..))\nimport Text.PrettyPrint (Doc)\n"
-      `shouldReturn` Nothing
-
-  it "leaves unsettled only what the unread import could have supplied" $ do
-    answer <- chasedModule "module M ((<+>), (<?>)) where\nimport No.Such.Module ((<?>))\nimport Text.PrettyPrint\n"
-    unsettledThrough answer (InTerms, OpName "<?>") `shouldBe` [["No.Such.Module"]]
-    unsettledThrough answer (InTerms, OpName "<+>") `shouldBe` []
-
-  it "leaves the members of a type from an unread module unsettled, but not what it hands on besides" $ do
-    answer <- chasedModule "module M (T (..), (<+>)) where\nimport No.Such.Module\nimport Text.PrettyPrint\n"
-    unsettledThrough answer (InTerms, OpName "anything") `shouldBe` [["No.Such.Module"]]
-    unsettledThrough answer (InTerms, OpName "<+>") `shouldBe` []
-    Map.lookup (InTerms, OpName "<+>") (establishedFixities answer) `shouldBe` Just (Fixity LeftAssoc 6)
-
-  it "comes from a type handed on whole, of which it is a member" $
-    chased "module M (Doc (..)) where\nimport Text.PrettyPrint\n"
-      `shouldReturn` Just (Fixity LeftAssoc 6)
-
-  it "does not come from a type handed on by an import that hides it" $
-    chased "module M (Doc (..)) where\nimport Text.PrettyPrint hiding (Doc (..))\nimport Control.Arrow\n"
-      `shouldReturn` Nothing
-
-  it "comes from a module handed on whole" $
-    chased "module M (module Text.PrettyPrint) where\nimport Text.PrettyPrint\n"
-      `shouldReturn` Just (Fixity LeftAssoc 6)
-
-  it "does not come from a module handed on whole by an import that hides it" $
-    chased "module M (module Text.PrettyPrint) where\nimport Text.PrettyPrint hiding ((<+>))\n"
-      `shouldReturn` Nothing
-
-  it "does not come from a module handed on whole by an import that never names it" $
-    chased "module M (module Text.PrettyPrint) where\nimport Text.PrettyPrint (Doc)\n"
-      `shouldReturn` Nothing
-
-  it "does not come from a module handed on whole by an import that hides a type it is a member of" $
-    chased "module M (module Text.PrettyPrint) where\nimport Text.PrettyPrint hiding (Doc (..))\n"
-      `shouldReturn` Nothing
-
-  it "does not come from a module handed on whole that is imported qualified" $
-    chased "module M (module P) where\nimport qualified Text.PrettyPrint as P\n"
-      `shouldReturn` Nothing
-
-  it "comes from the import under the name handed on that brings it in" $
-    chased "module M (module X) where\nimport Text.PrettyPrint as X hiding ((<+>))\nimport Control.Arrow as X\n"
-      `shouldReturn` Just (Fixity RightAssoc 5)
-
-  it "is not taken from a module handed on whole that hides it, further along"
-    $ withFakeProject
-      [ ("src/Persist.hs", "module Persist ((||.)) where\ninfixl 3 ||.\n(||.) :: Bool -> Bool -> Bool\na ||. b = a || b\n"),
-        ("src/Facade.hs", "module Facade (module Persist) where\nimport Persist hiding ((||.))\n"),
-        ("src/Internal.hs", "module Internal ((||.)) where\ninfixr 2 ||.\n(||.) :: Bool -> Bool -> Bool\na ||. b = a || b\n"),
-        ("src/Top.hs", "module Top ((||.), module Facade) where\nimport Facade\nimport Internal\n")
-      ]
-    $ \rs -> do
-      let orOf m = (Map.lookup (InTerms, OpName "||.") =<<) <$> fixitiesOf rs m
-      orOf "Facade" `shouldReturn` Nothing
-      orOf "Top" `shouldReturn` Just (Fixity RightAssoc 2)
-
--- | What a module written for @hsc2hs@ amounts to, by either route to one.
---
--- The fixture is what @hsc2hs@ takes and no compiler does, and it writes a
--- fixity that the answer is expected to ignore: a module nothing can read
--- declares nothing, and an answer arrived at by reading the file would
--- hold the fixity.
-hscModules :: Spec
-hscModules = describe "a module written for hsc2hs" $ do
-  it "declares nothing, where it is one of the project's own" $
-    withFakeProject [("src/Cursed.hsc", cursed)] $
-      \rs -> do
-        askModule rs Nothing "Cursed" `shouldReturn` mempty
-
-  it "declares nothing, where it comes out of a tarball" $
-    withFakeArchive [("Cursed.hsc", cursed)] $
-      \rs -> fixitiesOf rs "Cursed" `shouldReturn` Just Map.empty
-
--- | Where a package fetched from a repository is looked for.
-repositories :: Spec
-repositories = describe "a package fetched from a repository" $ do
-  it "finds one Hackage downloaded"
-    $ withCache
-      [("hackage.haskell.org", "thing", "1.0")]
-      (fromRepository "{\"type\":\"secure-repo\",\"uri\":\"http://hackage.haskell.org/\"}")
-    $ \found -> found `shouldSatisfy` isUnder "hackage.haskell.org"
-
-  it "finds one a private repository downloaded, named after its host"
-    $ withCache
-      [("packages.example.com", "thing", "1.0")]
-      (fromRepository "{\"type\":\"secure-repo\",\"uri\":\"https://packages.example.com/\"}")
-    $ \found -> found `shouldSatisfy` isUnder "packages.example.com"
-
-  it "finds one whose directory is not named after its host"
-    $ withCache
-      [("my-company", "thing", "1.0")]
-      (fromRepository "{\"type\":\"secure-repo\",\"uri\":\"https://packages.example.com/\"}")
-    $ \found -> found `shouldSatisfy` isUnder "my-company"
-
-  it "leaves a file+noindex repository's tarballs where they are" $
-    withSystemTempDirectory "tilia-noindex" $ \repo -> do
-      writeUtf8File (repo </> "thing-1.0.tar.gz") "not really a tarball"
-      withCache
-        []
-        (fromRepository ("{\"type\":\"local-repo-no-index\",\"path\":\"" <> T.pack repo <> "\"}"))
-        $ \found -> found `shouldBe` (repo </> "thing-1.0.tar.gz")
-
-  it "says where its own repository would put one nothing has downloaded" $
-    withCache [] (fromRepository "{\"type\":\"secure-repo\",\"uri\":\"https://packages.example.com/\"}") $
-      \found -> found `shouldSatisfy` isUnder "packages.example.com"
-
-  it "falls back on Hackage for a plan that names no repository at all" $
-    withCache [("hackage.haskell.org", "thing", "1.0")] planWithoutARepository $
-      \found -> found `shouldSatisfy` isUnder "hackage.haskell.org"
-
--- | Is the tarball under this repository's directory of the cache?
-isUnder :: FilePath -> FilePath -> Bool
-isUnder repo path = ("/" <> repo <> "/") `Data.List.isInfixOf` path
-
--- | Where the package cache is looked for.
---
--- @cabal@ answers this differently on each platform and has answered it two
--- ways on this one, so the rule is to look everywhere it could be and take
--- whichever place holds an index. These drive the search by moving the
--- directories it derives from, which on Unix are these two variables.
-packageCache :: Spec
-packageCache = describe "where the package cache is looked for" $ do
-  -- Whatever cabal says it is. Checked against cabal rather than against a
-  -- path spelled out here, because the whole point of asking is that this
-  -- suite cannot know what the answer should be on somebody else's
-  -- machine—and did not, on Windows.
-  it "is the directory cabal reports" $ do
-    said <- readProgramOutput "cabal" ["path", "--remote-repo-cache"]
-    case said of
-      Nothing -> expectationFailure "no cabal on the path to ask"
-      Just reported ->
-        packageCacheRoot "." `shouldReturn` T.unpack (T.strip reported)
-
-  it "is the one the project's own configuration names" $
-    withSystemTempDirectory "tilia-own-cache" $ \dir -> do
-      writeUtf8File (dir </> "cabal.project") . T.pack $
-        "packages: .\nremote-repo-cache: " <> (dir </> "packages") <> "\n"
-      writeUtf8File (dir </> "thing.cabal") $
-        "cabal-version: 3.0\nname: thing\nversion: 1.0\n\nlibrary\n"
-      packageCacheRoot dir `shouldReturn` (dir </> "packages")
-
-  describe "and where it is guessed, for a cabal too old to ask" $ do
-    it "is what CABAL_DIR says, above all else" $
-      withSystemTempDirectory "tilia-cabal-dir" $ \dir ->
-        withEnvironment [("CABAL_DIR", dir)] $
-          guessedPackageCacheRoot `shouldReturn` (dir </> "packages")
-
-    it "is the XDG cache where the index is there" $
-      withLayouts $ \xdg _ -> do
-        withIndexIn xdg
-        guessedPackageCacheRoot `shouldReturn` xdg
-
-    it "is still the old directory where the index is there instead" $
-      withLayouts $ \_ legacy -> do
-        withIndexIn legacy
-        guessedPackageCacheRoot `shouldReturn` legacy
-
-    it "is the platform's own default where there is no index anywhere" $
-      withLayouts $
-        \xdg _ -> guessedPackageCacheRoot `shouldReturn` xdg
-
-  describe "and where it was remembered" $ do
-    it "is not asked again where the plan's tarballs are there" $
-      withRemembered True $ \root asked found -> do
-        asked `shouldBe` []
-        found `shouldBe` [root </> "hackage.haskell.org/thing/1.0/thing-1.0.tar.gz"]
-
-    it "is not asked again where a tarball of the plan is not there" $
-      withRemembered False $ \_ asked _ ->
-        asked `shouldBe` []
-
-    it "is asked again where a fetch leaves a tarball of the plan missing" $
-      afterFetching (\_ -> pure ()) `shouldReturn` ["path"]
-
-    it "is not asked again where a fetch brings the plan's tarballs in" $
-      afterFetching
-        ( \root -> do
-            let at = root </> "hackage.haskell.org/tilia-phantom/9.9.9"
-            createDirectoryIfMissing True at
-            writeUtf8File (at </> "tilia-phantom-9.9.9.tar.gz") "not really"
-        )
-        `shouldReturn` []
-
--- | Find the tarballs of a plan wanting one package from Hackage, where the
--- package cache was remembered to be a directory of its own, holding the
--- tarball or not, and hand over the directory, the commands the stand-in
--- for @cabal@ was given, and where each tarball was found.
-withRemembered ::
-  Bool ->
-  (FilePath -> [String] -> [FilePath] -> Expectation) ->
-  Expectation
-withRemembered holding act =
-  withSystemTempDirectory "tilia-remembered" $ \root -> do
-    let at = root </> "hackage.haskell.org" </> "thing" </> "1.0"
-    when holding $ do
-      createDirectoryIfMissing True at
-      writeUtf8File (at </> "thing-1.0.tar.gz") "not really a tarball"
-    cache <- openCache (Do #useCache) (PlanToken (T.pack (takeBaseName root)))
-    withTempProject (Just (fromRepository hackage)) $ \dir -> do
-      storePackageCache cache dir root
-      readBuildPlan (planPathFor dir) >>= \case
-        Left why -> expectationFailure (T.unpack why)
-        Right plan -> do
-          (asked, found) <- runsCabal (plannedTarballs cache dir plan)
-          act root asked (fmap snd found)
-  where
-    hackage = "{\"type\":\"secure-repo\",\"uri\":\"https://hackage.haskell.org/\"}"
-
--- | The commands the stand-in for @cabal@ is given while a project short of
--- a tarball fetches it, the package cache remembered to be a directory of
--- its own, which the fetch does what is given to.
-afterFetching :: (FilePath -> IO ()) -> IO [String]
-afterFetching fetched =
-  withSystemTempDirectory "tilia-remembered" $ \root ->
-    withEnvironment [("XDG_CACHE_HOME", root </> "cache")] $
-      withTempProject (Just wantingATarball) $ \dir -> do
-        Right plan <- readBuildPlan (planPathFor dir)
-        cache <- openCache (Do #useCache) =<< tokenForBuildPlan plan
-        storePackageCache cache dir root
-        let cabal args = Right () <$ when (args == fetching) (fetched root)
-            short = SourcesMissing ["tilia-phantom"]
-        fst <$> runsCabal (prepareWith cabal undiscoveredFutility [] dir short)
-
--- | A plan handed over to be taken as it is.
-givenPlans :: Spec
-givenPlans = describe "a plan trusted as up to date" $ do
-  it "says which plan is not there, once" $
-    withGivenPlan [] $ \project _ ->
-      readGivenPlan project "nowhere.json"
-        `shouldReturn` Left "nowhere.json does not exist"
-
-  it "says which plan does not parse" $
-    withGivenPlan [] $ \project _ -> do
-      let planFile = project </> "bad.json"
-          unparsed = T.pack planFile <> " does not parse: "
-      writeUtf8File planFile "{\"compiler-id\": 3}"
-      readGivenPlan project planFile >>= \case
-        Left why -> why `shouldSatisfy` T.isPrefixOf unparsed
-        Right _ -> expectationFailure "a plan that does not parse was read"
-
-  it "finds a local package it names relatively under the project" $
-    withGivenPlan [] $ \project planFile ->
-      readGivenPlan project planFile >>= \case
-        Left why -> expectationFailure (T.unpack why)
-        Right plan -> do
-          resolver <- routedResolver [FromInterface] plan
-          fixities <- fixitiesOf resolver "Ops"
-          (Map.lookup (InTerms, OpName "<+>") =<< fixities)
-            `shouldBe` Just (Fixity LeftAssoc 6)
-
-  it "fetches nothing where every dependency is installed" $ do
-    installed <- installedPackages <$> readInstalledPackages
-    case installed of
-      [] -> expectationFailure "nothing installed where this runs"
-      p : _ ->
-        withGivenPlan [dependency (ipName p) (ipVersion p)] $ \project planFile ->
-          filter (== "fetch") . fst <$> runsCabal (fetchingFor project planFile)
-            `shouldReturn` []
-
-  it "fetches what is not installed, all in one go" $
-    withGivenPlan [unavailable, dependency "tilia-nowhere-either" "1.0"] $ \project planFile ->
-      filter (== "fetch") . fst <$> runsCabal (fetchingFor project planFile)
-        `shouldReturn` ["fetch"]
-
-  it "does not fetch again what fetching did not bring in" $
-    withGivenPlan [unavailable] $ \project planFile -> do
-      let succeeding = fmap fst . runsCabalWith "exit 0" . fetchingFor project
-      succeeding planFile `shouldReturn` ["path", "fetch", "path"]
-      succeeding planFile `shouldReturn` []
-
-  it "runs no cabal where it reads interfaces alone, whatever it is asked" $
-    withGivenPlan [unavailable] $ \project planFile ->
-      fst
-        <$> runsCabal
-          ( readGivenPlan project planFile >>= \case
-              Left why -> expectationFailure (T.unpack why)
-              Right plan -> do
-                resolver <- routedResolver [FromInterface] plan
-                traverse_ (fixitiesOf resolver) ["Ops", "Nowhere.At.All"]
-          )
-        `shouldReturn` []
-  where
-    fetchingFor project planFile =
-      readGivenPlan project planFile
-        >>= traverse_ (fetchUninstalled (Do #useCache) project)
-    unavailable = dependency "tilia-nowhere-installed" "1.0"
-    dependency name version =
-      "{\"type\":\"configured\",\"pkg-name\":\""
-        <> name
-        <> "\",\"pkg-version\":\""
-        <> version
-        <> "\",\"pkg-src\":{\"type\":\"repo-tar\",\"repo\":\
-           \{\"type\":\"secure-repo\",\"uri\":\"http://hackage.haskell.org/\"}}}"
-
--- | 'withOpsProject' with the other entries of the plan given, and a cache
--- of its own.
-withGivenPlan :: [Text] -> (FilePath -> FilePath -> Expectation) -> Expectation
-withGivenPlan others act =
-  withOpsProject [] others $ \project planFile ->
-    withEnvironment
-      [("XDG_CACHE_HOME", takeDirectory project </> "cache")]
-      (act project planFile)
-
--- | The @cabal@ commands something runs, as told by a stand-in put first
--- on the path that fails, and what it came to.
-runsCabal :: IO a -> IO ([String], a)
-runsCabal = runsCabalWith "exit 1"
-
--- | 'runsCabal', with the stand-in going on to run the shell commands
--- given.
-runsCabalWith :: String -> IO a -> IO ([String], a)
-runsCabalWith script act
-  | System.Info.os == "mingw32" =
-      expectationFailure "the stand-in for cabal is a shell script, which does not run on Windows"
-        >> (,) [] <$> act
-  | otherwise =
-      withSystemTempDirectory "tilia-cabal" $ \bin -> do
-        let stand = bin </> "cabal"
-            commandLog = bin </> "commands"
-        writeFile stand $
-          "#!/bin/sh\necho \"$1\" >> '"
-            <> commandLog
-            <> "'\n"
-            <> script
-            <> "\n"
-        setPermissions stand . setOwnerExecutable True =<< getPermissions stand
-        path <- maybe "" (searchPathSeparator :) <$> lookupEnv "PATH"
-        answer <- withEnvironment [("PATH", bin <> path)] act
-        ran <- doesFileExist commandLog
-        commands <- if ran then lines <$> readFile commandLog else pure []
-        pure (commands, answer)
-
--- | Run something against a home and an XDG cache directory of its own,
--- handing it both of the places a cache could then be in.
-withLayouts :: (FilePath -> FilePath -> Expectation) -> Expectation
-withLayouts act =
-  withSystemTempDirectory "tilia-home" $ \home ->
-    withSystemTempDirectory "tilia-xdg" $ \cache ->
-      withEnvironment [("HOME", home), ("XDG_CACHE_HOME", cache)] $
-        bracket
-          (lookupEnv "CABAL_DIR" <* unsetEnv "CABAL_DIR")
-          (traverse_ (setEnv "CABAL_DIR"))
-          (const (act (cache </> "cabal" </> "packages") (home </> ".cabal" </> "packages")))
-
--- | Put a Hackage index where a cache directory would have one.
-withIndexIn :: FilePath -> IO ()
-withIndexIn root = do
-  createDirectoryIfMissing True (root </> "hackage.haskell.org")
-  writeUtf8File (root </> "hackage.haskell.org" </> "01-index.tar") ""
-
--- | Run something on where @plannedTarballs@ looked, against a package
--- cache holding the entries given.
-withCache ::
-  -- | Repository directory, package, version — one per cached tarball.
-  [(FilePath, Text, Text)] ->
-  -- | The plan to read it against.
-  Text ->
-  (FilePath -> Expectation) ->
-  Expectation
-withCache cached planText act =
-  withSystemTempDirectory "tilia-cabal" $ \cabalDir -> do
-    traverse_ (put cabalDir) cached
-    createDirectoryIfMissing True (cabalDir </> "packages")
-    withEnvironment [("CABAL_DIR", cabalDir)] $
-      withSystemTempDirectory "tilia-repo-plan" $ \dir -> do
-        createDirectoryIfMissing True (takeDirectory (planPathFor dir))
-        writeUtf8File (planPathFor dir) planText
-        readBuildPlan (planPathFor dir) >>= \case
-          Left why -> expectationFailure (T.unpack why)
-          Right plan -> do
-            cache <- openCache (Don't #useCache) (PlanToken "")
-            plannedTarballs cache dir plan >>= \case
-              [(_, found)] -> act found
-              other -> expectationFailure (show (fmap snd other))
-  where
-    put cabalDir (repo, held, version) = do
-      let at =
-            cabalDir
-              </> "packages"
-              </> repo
-              </> T.unpack held
-              </> T.unpack version
-      createDirectoryIfMissing True at
-      writeUtf8File
-        (at </> T.unpack (held <> "-" <> version <> ".tar.gz"))
-        "not really a tarball"
-
--- | A plan naming one package fetched from the repository described.
-fromRepository :: Text -> Text
-fromRepository repo =
-  "{\"compiler-id\":\"ghc-0.0\",\"install-plan\":\
-  \[{\"pkg-name\":\"thing\",\"pkg-version\":\"1.0\",\
-  \\"pkg-src\":{\"type\":\"repo-tar\",\"repo\":"
-    <> repo
-    <> "}}]}"
-
--- | The same, as an older @cabal@ wrote it: a tarball and no more.
-planWithoutARepository :: Text
-planWithoutARepository =
-  "{\"compiler-id\":\"ghc-0.0\",\"install-plan\":\
-  \[{\"pkg-name\":\"thing\",\"pkg-version\":\"1.0\",\
-  \\"pkg-src\":{\"type\":\"repo-tar\"}}]}"
-
--- | A dependency that arrived as a @source-repository-package@.
---
--- @cabal@ clones one into the project's own @dist-newstyle@ and says
--- nothing in the plan about where, so the whole question is whether the
--- clone is found. Once it is, it is a directory of sources like any other
--- and nothing below here is new.
-gitDependencies :: Spec
-gitDependencies = describe "a dependency that arrived as a git checkout" $ do
-  it "finds where cabal unpacked it" $
-    withFakeCheckout [("thing-2a9f", "1.0")] $ \dir ->
-      sourcesOf dir
-        `shouldReturn` [CheckedOut (dir </> "dist-newstyle" </> "src" </> "thing-2a9f")]
-
-  it "leaves one alone that cabal has not unpacked yet" $
-    withFakeCheckout [] $
-      \dir -> sourcesOf dir `shouldReturn` [SourceRepo]
-
-  it "passes over the clone of a revision that has been moved on from" $
-    withFakeCheckout [("thing-0000", "0.9"), ("thing-ffff", "1.0")] $ \dir ->
-      sourcesOf dir
-        `shouldReturn` [CheckedOut (dir </> "dist-newstyle" </> "src" </> "thing-ffff")]
-
-  it "passes over a directory named for another package" $
-    withFakeCheckout [("other-2a9f", "1.0")] $ \dir ->
-      sourcesOf dir `shouldReturn` [SourceRepo]
-
-  it "reads a module out of it, fixity and all" $
-    withFakeCheckout [("thing-2a9f", "1.0")] $ \dir -> do
-      plan <- readBuildPlan (planPathFor dir)
-      case plan of
-        Left why -> expectationFailure (T.unpack why)
-        Right p -> do
-          rs <- newResolver p
-          fixitiesOf rs "Private.Ops"
-            >>= (`shouldBe` Just (Map.singleton (InTerms, OpName "<+>") (Fixity RightAssoc 3)))
-
--- | What the plan says each of its packages came from.
-sourcesOf :: FilePath -> IO [PackageSource]
-sourcesOf dir =
-  readBuildPlan (planPathFor dir) >>= \case
-    Left why -> error (T.unpack why)
-    Right plan -> pure (fmap ppSource (bpPackages plan))
-
--- | A project whose one dependency is a @source-repository-package@, with
--- the clones given unpacked where @cabal@ unpacks them.
---
--- Each clone is a directory name and the version its @.cabal@ file claims,
--- because telling one clone from another is the whole of the work.
-withFakeCheckout :: [(FilePath, Text)] -> (FilePath -> IO a) -> IO a
-withFakeCheckout clones act =
-  withSystemTempDirectory "tilia-checkout" $ \dir -> do
-    createDirectoryIfMissing True (takeDirectory (planPathFor dir))
-    writeUtf8File (planPathFor dir) fromAGitRepository
-    traverse_ (unpack dir) clones
-    withEnvironment [("XDG_CACHE_HOME", dir </> "cache")] (act dir)
-  where
-    unpack dir (named, version) = do
-      let at = dir </> "dist-newstyle" </> "src" </> named
-          belongsTo = takeWhile (/= '-') named
-      createDirectoryIfMissing True (at </> "src" </> "Private")
-      writeUtf8File
-        (at </> belongsTo <> ".cabal")
-        (describing (T.pack belongsTo) version)
-      writeUtf8File (at </> "src" </> "Private" </> "Ops.hs") privateOps
-    describing named' version =
-      T.unlines
-        [ "cabal-version: 2.4",
-          "name: " <> named',
-          "version: " <> version,
-          "library",
-          "  exposed-modules: Private.Ops",
-          "  hs-source-dirs: src",
-          "  default-language: Haskell2010"
-        ]
-
--- | A plan naming one package that came out of a git repository.
-fromAGitRepository :: Text
-fromAGitRepository =
-  "{\"compiler-id\":\"ghc-0.0\",\"install-plan\":\
-  \[{\"pkg-name\":\"thing\",\"pkg-version\":\"1.0\",\
-  \\"pkg-src\":{\"type\":\"source-repo\",\
-  \\"source-repo\":{\"type\":\"git\",\"location\":\"git://example/thing\"}}}]}"
-
--- | A module of that package, declaring something worth resolving.
-privateOps :: Text
-privateOps =
-  T.unlines
-    [ "module Private.Ops ((<+>)) where",
-      "infixr 3 <+>",
-      "(<+>) :: Int -> Int -> Int",
-      "a <+> b = a + b"
-    ]
-
--- | The modules @cabal@ writes, which no package carries a file for.
-generatedModuleSpec :: Spec
-generatedModuleSpec = describe "a module cabal generates" $ do
-  it "declares nothing, rather than being one we could not read" $
-    withFakeProject [("src/M.hs", "module M where\nimport Paths_fake\n")] $
-      \rs -> fixitiesOf rs "Paths_fake" `shouldReturn` Just Map.empty
-
-  it "answers for the newer one cabal writes beside it" $
-    withFakeProject [("src/M.hs", "module M where\n")] $
-      \rs -> fixitiesOf rs "PackageInfo_fake" `shouldReturn` Just Map.empty
-
-  it "says nothing about a package the plan does not hold" $
-    withFakeProject [("src/M.hs", "module M where\n")] $
-      \rs -> fixitiesOf rs "Paths_not_a_package" `shouldReturn` Nothing
-
-  it "lets a module that imports one be read"
-    $ withFakeProject
-      [ ( "src/Facade.hs",
-          "module Facade ((<+>)) where\nimport Paths_fake\nimport Inner\n"
-        ),
-        ("src/Inner.hs", "module Inner ((<+>)) where\ninfixr 5 <+>\na <+> b = a\n")
-      ]
-    $ \rs ->
-      fixitiesOf rs "Facade"
-        >>= (`shouldBe` Just (Map.singleton (InTerms, OpName "<+>") (Fixity RightAssoc 5)))
-
-  it "reads one somebody wrote by hand rather than assuming"
-    $ withFakeProject
-      [ ( "src/Paths_fake.hs",
-          "module Paths_fake ((<+>)) where\ninfixr 5 <+>\na <+> b = a\n"
-        )
-      ]
-    $ \rs ->
-      fixitiesOf rs "Paths_fake"
-        >>= (`shouldBe` Just (Map.singleton (InTerms, OpName "<+>") (Fixity RightAssoc 5)))
-
--- | Modules asked about from several threads at once.
-askedAtOnce :: Spec
-askedAtOnce = describe "modules asked about from several threads at once" $
-  it "answers for every module of a ring that hands itself on" $
-    withFakePlan [("src/" <> T.unpack (ringModule i) <> ".hs", ringSource i) | i <- [0 .. ringSize - 1]] $ \plan ->
-      forM_ [1 :: Int .. 50] $ \_ -> do
-        resolver <- routedResolver [FromInterface] plan
-        answers <-
-          timeout 30000000 $
-            inParallel (fixitiesOf resolver . ringModule) [0 .. ringSize - 1]
-        case answers of
-          Nothing -> expectationFailure "the threads waited for one another"
-          Just found ->
-            forM_ (zip [0 ..] found) $ \(i, fixities) ->
-              (Map.lookup (InTerms, ringOperator i) =<< fixities)
-                `shouldBe` Just (Fixity RightAssoc (i `mod` 10))
-
--- | A resolver over interfaces handed to it, as an editor that has compiled
--- the project holds them.
-givenInterfaces :: Spec
-givenInterfaces = describe "a resolver over the interfaces it is given" $ do
-  it "reads a module's own fixities" $ do
-    resolver <- newResolverFrom given
-    fixitiesOf resolver "Ops" `shouldReturn` Just plus
-
-  it "reads a fixity a module passes on where it is declared" $ do
-    resolver <- newResolverFrom given
-    fixitiesOf resolver "Facade" `shouldReturn` Just plus
-
-  it "says nothing about a module it is not given" $ do
-    resolver <- newResolverFrom given
-    fixitiesOf resolver "Nowhere" `shouldReturn` Nothing
-
-  it "says nothing about a module given an interface of another" $ do
-    resolver <- newResolverFrom (\_ -> given "Ops")
-    fixitiesOf resolver "Facade" `shouldReturn` Nothing
-
-  it "gives no fixity of a class to a module passing on its methods" $ do
-    resolver <- newResolverFrom given
-    fixitiesOf resolver "Methods" `shouldReturn` Just Map.empty
-
-  it "copies a fixity passed on in the namespace it is passed on in" $ do
-    resolver <- newResolverFrom given
-    fixitiesOf resolver "Terms"
-      `shouldReturn` Just
-        (Map.singleton (InTerms, OpName "+++") (Fixity RightAssoc 5))
-  where
-    plus = Map.singleton (InTerms, OpName "<+>") (Fixity RightAssoc 5)
-    given m = pure (Map.lookup m interfaces)
-    interfaces =
-      Map.fromList
-        [ ( "Ops",
-            HiFile
-              { hiModule = "Ops",
-                hiExports = [Avail (HiName "Ops" InTerms (OpName "<+>"))],
-                hiFixities = [(InTerms, OpName "<+>", Fixity RightAssoc 5)]
-              }
-          ),
-          ( "Facade",
-            HiFile
-              { hiModule = "Facade",
-                hiExports = [Avail (HiName "Ops" InTerms (OpName "<+>"))],
-                hiFixities = []
-              }
-          ),
-          ( "Classes",
-            HiFile
-              { hiModule = "Classes",
-                hiExports =
-                  [ AvailTC
-                      (inClasses InTypes ":<:")
-                      [inClasses InTypes ":<:", inClasses InTerms "inj"]
-                  ],
-                hiFixities = [(InTypes, OpName ":<:", Fixity RightAssoc 4)]
-              }
-          ),
-          ( "Methods",
-            HiFile
-              { hiModule = "Methods",
-                hiExports =
-                  [AvailTC (inClasses InTypes ":<:") [inClasses InTerms "inj"]],
-                hiFixities = []
-              }
-          ),
-          ( "Both",
-            HiFile
-              { hiModule = "Both",
-                hiExports =
-                  [ Avail (inBoth InTerms "+++"),
-                    AvailTC (inBoth InTypes "+++") [inBoth InTypes "+++"]
-                  ],
-                hiFixities =
-                  [ (InTerms, OpName "+++", Fixity RightAssoc 5),
-                    (InTypes, OpName "+++", Fixity LeftAssoc 6)
-                  ]
-              }
-          ),
-          ( "Terms",
-            HiFile
-              { hiModule = "Terms",
-                hiExports = [Avail (inBoth InTerms "+++")],
-                hiFixities = []
-              }
-          )
-        ]
-    inClasses namespace = HiName "Classes" namespace . OpName
-    inBoth namespace = HiName "Both" namespace . OpName
-
--- | A module of the project's own, which an earlier run has read.
-readBefore :: Spec
-readBefore = describe "a module of the project's own, read by an earlier run" $ do
-  it "is answered for as before while its text stays the same" $
-    withFakePlan [("src/Ops.hs", declaring "infixl 6")] $ \plan -> do
-      _ <- newResolver plan >>= (`fixitiesOf` "Ops")
-      newResolver plan
-        >>= (`fixitiesOf` "Ops")
-        >>= (`shouldBe` Just (Map.singleton (InTerms, OpName "<+>") (Fixity LeftAssoc 6)))
-
-  it "is read again once its text has changed" $
-    withFakePlan [("src/Ops.hs", declaring "infixl 6")] $ \plan -> do
-      _ <- newResolver plan >>= (`fixitiesOf` "Ops")
-      for_ (localDirsOf plan) $ \dir ->
-        writeUtf8File (dir </> "src" </> "Ops.hs") (declaring "infixr 2")
-      newResolver plan
-        >>= (`fixitiesOf` "Ops")
-        >>= (`shouldBe` Just (Map.singleton (InTerms, OpName "<+>") (Fixity RightAssoc 2)))
-  where
-    declaring fixity =
-      T.unlines
-        [ "module Ops ((<+>)) where",
-          fixity <> " <+>",
-          "(<+>) :: Int -> Int -> Int",
-          "a <+> b = a + b"
-        ]
-    localDirsOf plan = [dir | LocalPackage dir <- fmap ppSource (bpPackages plan)]
-
--- | A module another component of the package names alike, as GHC finds it
--- for each of them.
-namedAlike :: Spec
-namedAlike = describe "a module another component names alike" $ do
-  it "is the one of the component importing it" $
-    withFakePlan components $ \plan -> do
-      fixityFrom plan ("tests" </> "Main.hs") "Utils" "<+>"
-        `shouldReturn` Just (Fixity RightAssoc 5)
-      fixityFrom plan "Lib.hs" "Utils" "<+>"
-        `shouldReturn` Just (Fixity LeftAssoc 6)
-
-  it "is a dependency's for a component that does not hold it" $
-    withFakePlan components $ \plan ->
-      fixityFrom plan "Lib.hs" "Data.Function" "&"
-        `shouldReturn` Just (Fixity LeftAssoc 1)
-
-  it "is the one of a component sharing the importer's directory" $
-    withFakePlan components $ \plan ->
-      fixityFrom plan ("app" </> "Other.hs") "Data.Function" "&"
-        `shouldReturn` Just (Fixity RightAssoc 0)
-  where
-    fixityFrom plan file modName op = do
-      rs <- newResolver plan
-      importer <-
-        traverse
-          canonicalizePath
-          [dir </> file | LocalPackage dir <- fmap ppSource (bpPackages plan)]
-      Map.lookup (InTerms, OpName op) . establishedFixities
-        <$> askModule rs (listToMaybe importer) modName
-    components =
-      [ ( "fake.cabal",
-          T.unlines
-            [ "cabal-version: 2.4",
-              "name: fake",
-              "version: 0.1.0.0",
-              "library",
-              "  exposed-modules: Lib, Utils",
-              "  default-language: Haskell2010",
-              "test-suite tests",
-              "  type: exitcode-stdio-1.0",
-              "  main-is: Main.hs",
-              "  other-modules: Utils",
-              "  hs-source-dirs: tests",
-              "  default-language: Haskell2010",
-              "executable other",
-              "  main-is: Other.hs",
-              "  hs-source-dirs: app",
-              "  default-language: Haskell2010",
-              "executable app",
-              "  main-is: Main.hs",
-              "  other-modules: Data.Function",
-              "  hs-source-dirs: app",
-              "  default-language: Haskell2010"
-            ]
-        ),
-        ("Lib.hs", "module Lib () where\nimport Utils ()\n"),
-        ("Utils.hs", utils "infixl 6"),
-        ("tests/Main.hs", "module Main (main) where\nimport Utils ()\n"),
-        ("tests/Utils.hs", utils "infixr 5"),
-        ( "app/Data/Function.hs",
-          "module Data.Function ((&)) where\ninfixr 0 &\n\
-          \(&) :: a -> (a -> b) -> b\nx & f = f x\n"
-        )
-      ]
-    utils fixity =
-      T.unlines
-        [ "module Utils ((<+>)) where",
-          fixity <> " <+>",
-          "(<+>) :: Int -> Int -> Int",
-          "a <+> b = a + b"
-        ]
-
--- | How many modules the ring has.
-ringSize :: Int
-ringSize = 8
-
--- | The name of a module of the ring.
-ringModule :: Int -> Text
-ringModule i = "Ring" <> T.pack (show i)
-
--- | The operator a module of the ring declares.
-ringOperator :: Int -> OpName
-ringOperator i = OpName ("%" <> T.replicate (i + 1) "|")
-
--- | A module of the ring, which declares an operator and hands on the next
--- module, the last handing on the first.
-ringSource :: Int -> Text
-ringSource i =
-  T.unlines
-    [ "module " <> ringModule i <> " ((" <> op <> "), module " <> next <> ") where",
-      "import " <> next,
-      "infixr " <> T.pack (show (i `mod` 10)) <> " " <> op,
-      "(" <> op <> ") :: Int -> Int -> Int",
-      "a " <> op <> " _ = a"
-    ]
-  where
-    OpName op = ringOperator i
-    next = ringModule ((i + 1) `mod` ringSize)
-
--- | What a module exports, where reading it settles every name.
-fixitiesOf :: Resolver -> Text -> IO (Maybe Fixities)
-fixitiesOf resolver modName =
-  settled <$> askModule resolver Nothing modName
-  where
-    settled established
-      | settlesEverything established = Just (establishedFixities established)
-      | otherwise = Nothing
-
--- | The members of each of a module's names.
-membersIn :: Resolver -> Text -> IO (Map.Map OpName (Set.Set OpName))
-membersIn resolver modName =
-  establishedMembers <$> askModule resolver Nothing modName
-
--- | Every name a module certainly brings in.
-certainNamesOf :: Resolver -> Text -> IO (Set.Set (Namespace, OpName))
-certainNamesOf resolver modName =
-  certainNames . establishedCertain <$> askModule resolver Nothing modName
-
--- | A module of the kind @hsc2hs@ takes, declaring an operator nothing can
--- get at.
-cursed :: Text
-cursed =
-  T.unlines
-    [ "#include <signal.h>",
-      "module Cursed (interrupt, (<+>)) where",
-      "infixr 5 <+>",
-      "(<+>) :: Int -> Int -> Int",
-      "a <+> b = a + b",
-      "interrupt :: Int",
-      "interrupt = #const SIGINT"
-    ]
-
--- | What the chase makes of one module's @<+>@, against a world of modules
--- that disagree about it, where it settles it.
-chased :: Text -> IO (Maybe Fixity)
-chased source = do
-  answer <- chasedModule source
-  pure $
-    if null (unsettledThrough answer plus)
-      then Map.lookup plus (establishedFixities answer)
-      else Nothing
-  where
-    plus = (InTerms, OpName "<+>")
-
--- | What the chase makes of one module against that world.
-chasedModule :: Text -> IO Established
-chasedModule source =
-  withReexports reach "M" (summarize (Is #implicitPrelude) (pmModule (parsed source)))
-  where
-    reach m =
-      pure $ case m of
-        "Control.Arrow" -> bringing (Fixity RightAssoc 5)
-        "Text.PrettyPrint" ->
-          (bringing (Fixity LeftAssoc 6))
-            { establishedCertain =
-                Certain
-                  (Set.fromList [plus, doc])
-                  (Map.singleton (OpName "Doc") (Set.singleton plus)),
-              establishedMembers = Map.singleton (OpName "Doc") (Set.singleton (OpName "<+>"))
-            }
-        "Prelude" -> mempty
-        _ -> unreadable
-    bringing fixity =
-      mempty
-        { establishedFixities = Map.singleton plus fixity,
-          establishedCertain = Certain (Set.singleton plus) Map.empty
-        }
-    plus = (InTerms, OpName "<+>")
-    doc = (InTypes, OpName "Doc")
-
-withPlan :: BuildPlan -> Spec
-withPlan plan = do
-  resolver <- runIO (newResolver plan)
-  let resolve = fixitiesOf resolver
-
-  describe "the plan itself" $ do
-    it "names the compiler" $
-      T.unpack (bpCompiler plan) `shouldSatisfy` isInfixOf "ghc-"
-
-    it "has the dependencies a real project has" $
-      length (bpPackages plan) `shouldSatisfy` (> 20)
-
-    it "gives every fetchable package a source hash to check against" $ do
-      let fetchable = filter isFetchable (bpPackages plan)
-      filter (null . sourceHashOf) fetchable `shouldBe` []
-
-    it "does not mark the project itself as fetchable" $ do
-      let locals = filter (\p -> ppName p == "tilia") (bpPackages plan)
-      filter isFetchable locals `shouldBe` []
-
-    it "records the project as a local directory, with its path" $ do
-      let locals = [s' | p <- bpPackages plan, ppName p == "tilia", let s' = ppSource p]
-      locals `shouldSatisfy` all (\s' -> case s' of LocalPackage path -> not (null path); _ -> False)
-
-    it "puts every package in exactly one of the three kinds" $ do
-      let kinds p = length (filter id [isPreExisting p, isFetchable p, isLocal p])
-          isPreExisting p = ppSource p == PreExisting
-          isLocal p = case ppSource p of LocalPackage _ -> True; _ -> False
-      filter ((/= 1) . kinds) (bpPackages plan) `shouldBe` []
-
-  describe "resolving a module that declares its own operators" $ do
-    it "finds <+> in prettyprinter, with the right fixity" $
-      needs resolve "Prettyprinter.Internal" $ \fixities ->
-        Map.lookup (InTerms, OpName "<+>") fixities `shouldBe` Just (Fixity RightAssoc 6)
-
-    it "resolves the same module twice to the same answer" $
-      needs resolve "Prettyprinter.Internal" $ \first' -> do
-        again <- resolve "Prettyprinter.Internal"
-        again `shouldBe` Just first'
-
-  describe "re-exports" $
-    it "finds an operator a module exports but does not declare" $
-      needs resolve "Prettyprinter" $ \fixities ->
-        Map.lookup (InTerms, OpName "<+>") fixities `shouldBe` Just (Fixity RightAssoc 6)
-
-  describe "boot packages" $ do
-    it "answers for Prelude from its interface" $
-      needs resolve "Prelude" $ \fixities -> do
-        Map.lookup (InTerms, OpName "$") fixities `shouldBe` Just (Fixity RightAssoc 0)
-        Map.lookup (InTerms, OpName ">>=") fixities `shouldBe` Just (Fixity LeftAssoc 1)
-        Map.lookup (InTerms, OpName ".") fixities `shouldBe` Just (Fixity RightAssoc 9)
-
-    it "answers for the primitive operations, which have no interface" $
-      needs resolve "GHC.Exts" $ \fixities -> do
-        Map.lookup (InTerms, OpName "+#") fixities
-          `shouldBe` Just (Fixity LeftAssoc 6)
-        Map.lookup (InTerms, OpName "seq") fixities
-          `shouldBe` Just (Fixity RightAssoc 0)
-
-    it "answers for a module a package exposes but another one holds" $
-      needs resolve "GHC.Num.Integer" (\_ -> pure ())
-
-    it "answers for Control.Applicative" $
-      needs resolve "Control.Applicative" $ \fixities ->
-        Map.lookup (InTerms, OpName "<|>") fixities `shouldBe` Just (Fixity LeftAssoc 3)
-
-    it "covers the containers and text modules a project actually imports" $ do
-      let expected =
-            [ ("Data.Map", "!", Fixity LeftAssoc 9),
-              ("Data.Map", "\\\\", Fixity LeftAssoc 9),
-              ("Data.Set", "\\\\", Fixity LeftAssoc 9),
-              ("Data.Sequence", "|>", Fixity LeftAssoc 5),
-              ("Data.Sequence", "<|", Fixity RightAssoc 5),
-              ("Data.Bits", ".&.", Fixity LeftAssoc 7),
-              ("Data.Ratio", "%", Fixity LeftAssoc 7),
-              ("Data.Functor", "<&>", Fixity LeftAssoc 1),
-              ("Control.Monad", ">=>", Fixity RightAssoc 1),
-              ("Data.Semigroup", "<>", Fixity RightAssoc 6)
-            ]
-      wrong <- traverse (check resolve) expected
-      concat wrong `shouldBe` []
-
-    it "carries re-exports already resolved" $ do
-      p <- resolve "Prelude"
-      m <- resolve "Data.Map"
-      ( Map.lookup (InTerms, OpName "$") =<< p,
-        Map.lookup (InTerms, OpName "!") =<< m
-        )
-        `shouldBe` (Just (Fixity RightAssoc 0), Just (Fixity LeftAssoc 9))
-
-    it "gives the same operator different fixities in different modules" $ do
-      inList <- resolve "Data.List"
-      inMap <- resolve "Data.Map"
-      ( Map.lookup (InTerms, OpName "\\\\") =<< inList,
-        Map.lookup (InTerms, OpName "\\\\") =<< inMap
-        )
-        `shouldBe` (Just (Fixity NoAssoc 5), Just (Fixity LeftAssoc 9))
-
-  describe "modules it cannot answer for" $ do
-    it "says so rather than claiming no operators" $
-      resolve "Not.A.Real.Module.At.All" `shouldReturn` Nothing
-
-    it "says so for a module no package exposes" $
-      resolve "Some.Package.That.Does.Not.Exist" `shouldReturn` Nothing
-
-    it "distinguishes a boot module with no operators from an unknown one" $ do
-      quiet <- resolve "Data.Char"
-      quiet `shouldBe` Just Map.empty
-
-  describe "a module that leans on its package's extensions" $ do
-    it "reads it, given what the .cabal puts in force" $
-      withFakeProject [("fake.cabal", package ["LambdaCase"]), ("src/Fancy.hs", fancy)] $
-        \rs ->
-          fixitiesOf rs "Fancy"
-            >>= (`shouldBe` Just (Map.singleton (InTerms, OpName "<+>") (Fixity RightAssoc 5)))
-
-    it "cannot read it when the .cabal puts nothing in force" $
-      withFakeProject [("fake.cabal", package []), ("src/Fancy.hs", fancy)] $
-        \rs -> fixitiesOf rs "Fancy" `shouldReturn` Nothing
-
-    it "takes an extension the .cabal turns off into account"
-      $ withFakeProject
-        [ ("fake.cabal", package ["LambdaCase", "NoLambdaCase"]),
-          ("src/Fancy.hs", fancy)
-        ]
-      $ \rs -> fixitiesOf rs "Fancy" `shouldReturn` Nothing
-
-  describe "modules whose source defeats us" $ do
-    it "answers for Test.QuickCheck.Property, which cannot be parsed" $
-      needs resolve "Test.QuickCheck.Property" $ \fixities -> do
-        Map.lookup (InTerms, OpName "===") fixities `shouldBe` Just (Fixity NoAssoc 4)
-        Map.lookup (InTerms, OpName ".&&.") fixities `shouldBe` Just (Fixity RightAssoc 1)
-        Map.lookup (InTerms, OpName "==>") fixities `shouldBe` Just (Fixity RightAssoc 0)
-
-    it "carries that through the re-export chain to Test.QuickCheck" $
-      needs resolve "Test.QuickCheck" $ \fixities ->
-        Map.lookup (InTerms, OpName "===") fixities `shouldBe` Just (Fixity NoAssoc 4)
-
-  describe "a module with more than one configuration" $ do
-    -- Built in a temporary directory with a build plan written by hand, so
-    -- that the shapes below can be exactly the shapes worth testing. These
-    -- are the ones criterion's dependencies turned out to be written in.
-    it "answers from the configurations it can read"
-      $ withFakeProject
-        [ ( "src/Platform.hs",
-            T.unlines
-              [ "{-# LANGUAGE CPP #-}",
-                "module Platform (sort, (<+>)) where",
-                "#ifdef WINDOWS",
-                "import No.Such.Module.At.All",
-                "#endif",
-                "import Data.List (sort)",
-                "infixl 6 <+>",
-                "(<+>) :: Int -> Int -> Int",
-                "a <+> b = a + b"
-              ]
-          )
-        ]
-      $ \rs ->
-        -- The WINDOWS branch imports a module nothing has, which is what
-        -- System.IO.CodePage does with System.Win32.CodePage. That branch
-        -- is passed over rather than taken as a reason to say nothing.
-        fixitiesOf rs "Platform"
-          >>= (`shouldBe` Just (Map.singleton (InTerms, OpName "<+>") (Fixity LeftAssoc 6)))
-
-    it "answers from the configurations that are Haskell at all"
-      $ withFakeProject
-        [ ( "src/Guarded.hs",
-            T.unlines
-              [ "{-# LANGUAGE CPP #-}",
-                "module Guarded ((<+>)) where",
-                "infixl 6 <+>",
-                "(<+>) :: Int -> Int -> Int",
-                "a <+> b = a + b",
-                "#ifdef ANCIENT",
-                "f x = case",
-                "#endif"
-              ]
-          )
-        ]
-      $ \rs ->
-        fixitiesOf rs "Guarded"
-          >>= (`shouldBe` Just (Map.singleton (InTerms, OpName "<+>") (Fixity LeftAssoc 6)))
-
-    it "leaves what the configurations it can read disagree about unsettled"
-      $ withFakeProject
-        [ ( "src/Disagree.hs",
-            T.unlines
-              [ "{-# LANGUAGE CPP #-}",
-                "module Disagree (sort, (<+>)) where",
-                "import Data.List (sort)",
-                "#ifdef FAST",
-                "infixl 6 <+>",
-                "#else",
-                "infixr 7 <+>",
-                "#endif",
-                "(<+>) :: Int -> Int -> Int",
-                "a <+> b = a + b"
-              ]
-          )
-        ]
-      $ \rs -> do
-        answer <- askModule rs Nothing "Disagree"
-        unsettledThrough answer (InTerms, OpName "<+>") `shouldBe` [[]]
-        unsettledThrough answer (InTerms, OpName "sort") `shouldBe` []
-
-    it "leaves unsettled what one configuration declares and another does not"
-      $ withFakeProject
-        [ ( "src/Partly.hs",
-            T.unlines
-              [ "{-# LANGUAGE CPP #-}",
-                "module Partly ((<+>)) where",
-                "#ifdef FAST",
-                "infixr 5 <+>",
-                "#endif",
-                "(<+>) :: Int -> Int -> Int",
-                "a <+> b = a + b"
-              ]
-          )
-        ]
-      $ \rs -> do
-        answer <- askModule rs Nothing "Partly"
-        unsettledThrough answer (InTerms, OpName "<+>") `shouldBe` [[]]
-
-    it "keeps the fixity of a name only one configuration exports"
-      $ withFakeProject
-        [ ( "src/Partly.hs",
-            T.unlines
-              [ "{-# LANGUAGE CPP #-}",
-                "#ifdef FAST",
-                "module Partly ((<+>), f) where",
-                "#else",
-                "module Partly (f) where",
-                "#endif",
-                "infixr 5 <+>",
-                "(<+>) :: Int -> Int -> Int",
-                "a <+> b = a + b",
-                "f :: Int",
-                "f = 1"
-              ]
-          )
-        ]
-      $ \rs ->
-        fixitiesOf rs "Partly"
-          `shouldReturn` Just
-            (Map.singleton (InTerms, OpName "<+>") (Fixity RightAssoc 5))
-
-    it "settles what an import it can read decides, though no configuration reads every import"
-      $ withFakeProject
-        [ ( "src/Bothbad.hs",
-            T.unlines
-              [ "{-# LANGUAGE CPP #-}",
-                "module Bothbad (sort) where",
-                "#ifdef WINDOWS",
-                "import No.Such.One",
-                "#else",
-                "import No.Such.Two",
-                "#endif",
-                "import Data.List (sort)"
-              ]
-          )
-        ]
-      $ \rs ->
-        -- Not a guess: @sort@ is the one Data.List brings in, whatever the
-        -- other import is.
-        fixitiesOf rs "Bothbad" `shouldReturn` Just Map.empty
-
-  describe "modules that re-export one another" $
-    it "answers for one whose re-exports are mutually entangled" $ do
-      answer <- resolve "GHC.Hs"
-      answer `shouldSatisfy` (/= Nothing)
-
-  describe "what a package module brings in" $
-    it "names what it hands on" $ do
-      answer <- askModule resolver Nothing "Prettyprinter"
-      certainNames (establishedCertain answer) `shouldSatisfy` Set.member (InTerms, OpName "<+>")
-
-  describe "the members of each of a module's names" $ do
-    it "reads them out of a package's interface" $ do
-      members <- membersIn resolver "Data.List.NonEmpty"
-      Map.lookup (OpName "NonEmpty") members
-        `shouldSatisfy` maybe False (Set.member (OpName ":|"))
-
-    it "has nothing to say about a module it cannot find" $
-      membersIn resolver "No.Such.Module" `shouldReturn` Map.empty
-
-    it "reads them out of a local module's source"
-      $ withFakeProject
-        [("src/Members.hs", "module Members (T (..)) where\ndata T = A | Int :| Int\n")]
-      $ \rs -> do
-        members <- membersIn rs "Members"
-        Map.lookup (OpName "T") members
-          `shouldBe` Just (Set.fromList [OpName "A", OpName ":|"])
-
-    it "reads none for a type a local module exports without them"
-      $ withFakeProject
-        [("src/Members.hs", "module Members (T) where\ndata T = A | Int :| Int\n")]
-      $ \rs -> do
-        members <- membersIn rs "Members"
-        Map.lookup (OpName "T") members `shouldBe` Just Set.empty
-
-    it "follows a type to the module that declares it"
-      $ withFakeProject
-        [ ("src/Facade.hs", "module Facade (T (..)) where\nimport Inner\n"),
-          ("src/Inner.hs", "module Inner (T (..)) where\ninfixr 5 :|\ndata T = A | Int :| Int\n")
-        ]
-      $ \rs -> do
-        members <- membersIn rs "Facade"
-        Map.lookup (OpName "T") members
-          `shouldBe` Just (Set.fromList [OpName "A", OpName ":|"])
-
-    it "carries the fixity along with it, so the name can be looked up"
-      $ withFakeProject
-        [ ("src/Facade.hs", "module Facade (T (..)) where\nimport Inner\n"),
-          ("src/Inner.hs", "module Inner (T (..)) where\ninfixr 5 :|\ndata T = A | Int :| Int\n")
-        ]
-      $ \rs -> do
-        fixities <- fixitiesOf rs "Facade"
-        (Map.lookup (InTerms, OpName ":|") =<< fixities)
-          `shouldBe` Just (Fixity RightAssoc 5)
-
-    it "settles an operator that arrives through a façade"
-      $ withFakeProject
-        [ ("src/Facade.hs", "module Facade (T (..)) where\nimport Inner\n"),
-          ("src/Inner.hs", "module Inner (T (..)) where\ninfixr 5 :|\ndata T = A | Int :| Int\n")
-        ]
-      $ \rs -> do
-        let m = parsed "module M where\nimport Facade (T (..))\n"
-        scope <- scopeFor rs Nothing (Is #implicitPrelude) (pure (pmModule m))
-        lookupFixity scope InTerms Nothing (OpName ":|")
-          `shouldBe` Resolved (Fixity RightAssoc 5) (DeclaredIn "Facade")
-
-    it "follows a whole module handed on"
-      $ withFakeProject
-        [ ("src/Facade.hs", "module Facade (module Inner) where\nimport Inner\n"),
-          ("src/Inner.hs", "module Inner (T (..)) where\ninfixr 5 :|\ndata T = A | Int :| Int\n")
-        ]
-      $ \rs -> do
-        members <- membersIn rs "Facade"
-        Map.lookup (OpName "T") members
-          `shouldBe` Just (Set.fromList [OpName "A", OpName ":|"])
-
-    it "comes back from two modules that hand each other on"
-      $ withFakeProject
-        [ ("src/Ping.hs", "module Ping (T (..)) where\nimport Pong\n"),
-          ("src/Pong.hs", "module Pong (T (..)) where\nimport Ping\n")
-        ]
-      $ \rs -> membersIn rs "Ping" `shouldReturn` Map.empty
-
-    it "keeps to what a local module's export list hands on"
-      $ withFakeProject
-        [("src/Members.hs", "module Members (T (A)) where\ndata T = A | Int :| Int\n")]
-      $ \rs -> do
-        members <- membersIn rs "Members"
-        Map.lookup (OpName "T") members `shouldBe` Just (Set.singleton (OpName "A"))
-
-  describe "what a module leaves unsettled" $ do
-    it "is what it hands on from where reading gave up" $
-      withFakeProject [("src/Opaque.hs", opaqueSource)] $
-        \rs -> do
-          answer <- askModule rs Nothing "Opaque"
-          establishedUnsettled answer
-            `shouldBe` Map.singleton ["No.Such.Module"] (Set.singleton (InTerms, OpName "<+>"))
-          establishedUntold answer `shouldBe` Set.empty
-
-    it "is nothing for a module that hands on a whole module it can read, whatever else it imports"
-      $ withFakeProject
-        [ ( "src/Wide.hs",
-            T.unlines
-              [ "module Wide (module Data.List) where",
-                "import Data.List",
-                "import No.Such.Module"
-              ]
-          )
-        ]
-      $ \rs ->
-        settlesEverything <$> askModule rs Nothing "Wide" `shouldReturn` True
-
-    it "is everything for a module it cannot find at all" $
-      withFakeProject [("src/Opaque.hs", opaqueSource)] $
-        \rs -> askModule rs Nothing "No.Such.Module" `shouldReturn` unreadable
-
-    it "is everything it does not certainly bring in, when what it hands on whole cannot be read"
-      $ withFakeProject
-        [("src/Facade.hs", "module Facade (module No.Such.Module) where\nimport No.Such.Module\n")]
-      $ \rs -> do
-        answer <- askModule rs Nothing "Facade"
-        establishedUntold answer `shouldBe` Set.singleton ["No.Such.Module"]
-
-    it "is the type and its members, when a type it hands on is beyond us"
-      $ withFakeProject
-        [("src/Facade.hs", "module Facade (T (..)) where\nimport No.Such.Module\n")]
-      $ \rs -> do
-        answer <- askModule rs Nothing "Facade"
-        unsettledThrough answer (InTypes, OpName "T") `shouldBe` [["No.Such.Module"]]
-        unsettledThrough answer (InTerms, OpName ":|") `shouldBe` [["No.Such.Module"]]
-
-    it "comes back from two modules that hand each other on"
-      $ withFakeProject
-        [ ("src/Ping.hs", "module Ping (module Pong) where\nimport Pong\n"),
-          ("src/Pong.hs", "module Pong (module Ping) where\nimport Ping\n")
-        ]
-      $ \rs -> askModule rs Nothing "Ping" `shouldReturn` mempty
-
-    it "is everything for a module whose source will not parse" $
-      withFakeProject [("src/Bad.hs", "module Bad ((<+>)) where\nf = (((\n")] $
-        \rs -> askModule rs Nothing "Bad" `shouldReturn` unreadable
-
-    it "is what any configuration leaves unsettled, where none settles every name"
-      $ withFakeProject
-        [ ( "src/Both.hs",
-            T.unlines
-              [ "{-# LANGUAGE CPP #-}",
-                "#ifdef WINDOWS",
-                "module Both ((<+>)) where",
-                "#else",
-                "module Both ((<?>)) where",
-                "#endif",
-                "import No.Such.Module"
-              ]
-          )
-        ]
-      $ \rs -> do
-        answer <- askModule rs Nothing "Both"
-        establishedUnsettled answer
-          `shouldBe` Map.singleton ["No.Such.Module"] (Set.fromList [(InTerms, OpName "<+>"), (InTerms, OpName "<?>")])
-
-    it "settles an operator no unread module in scope could have declared" $
-      withFakeProject [("src/Opaque.hs", opaqueSource)] $
-        \rs -> do
-          let m = parsed "module M where\nimport Opaque\n"
-          scope <- scopeFor rs Nothing (Is #implicitPrelude) (pure (pmModule m))
-          lookupFixity scope InTerms Nothing (OpName "<??>")
-            `shouldBe` Resolved defaultFixity ReportDefault
-
-    it "leaves one alone that the unread module's list does name" $
-      withFakeProject [("src/Opaque.hs", opaqueSource)] $
-        \rs -> do
-          let m = parsed "module M where\nimport Opaque\n"
-          scope <- scopeFor rs Nothing (Is #implicitPrelude) (pure (pmModule m))
-          lookupFixity scope InTerms Nothing (OpName "<+>")
-            `shouldBe` Unresolved (ModuleChain ("Opaque" :| ["No.Such.Module"]) :| [])
-
-    it "names the module that stopped it rather than the import above it" $
-      withFakeProject [("src/Opaque.hs", opaqueSource)] $
-        \rs ->
-          Map.keys . establishedUnsettled <$> askModule rs Nothing "Opaque"
-            `shouldReturn` [["No.Such.Module"]]
-
-    it "follows the reasons down more than one module"
-      $ withFakeProject
-        [ ("src/Near.hs", "module Near ((<+>)) where\nimport Middle\n"),
-          ("src/Middle.hs", "module Middle ((<+>)) where\nimport No.Such.Module\n")
-        ]
-      $ \rs ->
-        Map.keys . establishedUnsettled <$> askModule rs Nothing "Near"
-          `shouldReturn` [["Middle", "No.Such.Module"]]
-
-    it "has nothing to say about a module that could be read" $
-      withFakeProject [("src/Opaque.hs", opaqueSource)] $
-        \rs ->
-          settlesEverything <$> askModule rs Nothing "Prelude"
-            `shouldReturn` True
-
-  describe "what a module brings in" $ do
-    it "is every name its interface exports" $ do
-      certain <- certainNamesOf resolver "Data.List"
-      Set.member (InTerms, OpName "isPrefixOf") certain `shouldBe` True
-
-    it "is what one of the project's own modules exports, read from its source" $
-      withFakeProject [("src/Opaque.hs", opaqueSource)] $
-        \rs ->
-          certainNamesOf rs "Opaque"
-            `shouldReturn` (Set.fromList [(InTerms, OpName "<+>"), (InTerms, OpName "f")])
-
-    it "is what a module in a tarball exports, read from its source" $
-      withFakeArchive [("Lib.hs", "module Lib (T (..), f) where\ndata T = C\nf :: Int\nf = 1\n")] $
-        \rs ->
-          certainNamesOf rs "Lib"
-            `shouldReturn` (Set.fromList [(InTypes, OpName "T"), (InTerms, OpName "C"), (InTerms, OpName "f")])
-
-    it "is everything a module with no export list defines, in its namespaces"
-      $ withFakeProject
-        [ ( "src/Own.hs",
-            T.unlines
-              [ "module Own where",
-                "data T = C | Int :+ Int",
-                "class K a where",
-                "  type F a",
-                "  method :: a",
-                "f :: Int",
-                "f = 1"
-              ]
-          )
-        ]
-      $ \rs ->
-        certainNamesOf rs "Own"
-          `shouldReturn` ( Set.fromList
-                             [ (InTypes, OpName "T"),
-                               (InTerms, OpName "C"),
-                               (InTerms, OpName ":+"),
-                               (InTypes, OpName "K"),
-                               (InTypes, OpName "F"),
-                               (InTerms, OpName "method"),
-                               (InTerms, OpName "f")
-                             ]
-                         )
-
-    it "takes the members of a type it exports from the type's declaration" $
-      withFakeProject [("src/Own.hs", "module Own (T (..)) where\ndata T = C | D\n")] $
-        \rs ->
-          certainNamesOf rs "Own"
-            `shouldReturn` (Set.fromList [(InTypes, OpName "T"), (InTerms, OpName "C"), (InTerms, OpName "D")])
-
-    it "keeps to the members its export list writes out beside a type" $
-      withFakeProject [("src/Own.hs", "module Own (T (C)) where\ndata T = C | D\n")] $
-        \rs ->
-          certainNamesOf rs "Own"
-            `shouldReturn` (Set.fromList [(InTypes, OpName "T"), (InTerms, OpName "C")])
-
-    it "keeps the fixity of a data instance's constructor, with its family"
-      $ withFakeProject
-        [ ( "src/Own.hs",
-            T.unlines
-              [ "{-# LANGUAGE TypeFamilies #-}",
-                "module Own (F (..)) where",
-                "data family F a",
-                "infixr 5 :+",
-                "data instance F Int = Int :+ Int"
-              ]
-          )
-        ]
-      $ \rs ->
-        fixitiesOf rs "Own"
-          `shouldReturn` Just
-            (Map.singleton (InTerms, OpName ":+") (Fixity RightAssoc 5))
-
-    it "keeps the fixity of a pattern synonym it bundles with a type" $
-      withFakeProject [("src/Own.hs", bundling "T (E, (:<))")] $
-        \rs ->
-          fixitiesOf rs "Own"
-            `shouldReturn` Just
-              (Map.singleton (InTerms, OpName ":<") (Fixity RightAssoc 5))
-
-    it "keeps the constructors of a type exported as T (.., P)" $
-      withFakeProject [("src/Own.hs", bundling "T (.., (:<))")] $
-        \rs ->
-          fixitiesOf rs "Own"
-            `shouldReturn` Just
-              ( Map.fromList
-                  [ ((InTerms, OpName ":+"), Fixity RightAssoc 4),
-                    ((InTerms, OpName ":<"), Fixity RightAssoc 5)
-                  ]
-              )
-
-    it "takes the members of a type it hands on from the module the type came from"
-      $ withFakeProject
-        [ ("src/Inner.hs", "module Inner where\ndata T = C | D\n"),
-          ("src/Outer.hs", "module Outer (T (..)) where\nimport Inner\n")
-        ]
-      $ \rs ->
-        certainNamesOf rs "Outer"
-          `shouldReturn` (Set.fromList [(InTypes, OpName "T"), (InTerms, OpName "C"), (InTerms, OpName "D")])
-
-    it "takes what a whole module it hands on brings in"
-      $ withFakeProject
-        [ ("src/Inner.hs", "module Inner where\ndata T = C\nf :: Int\nf = 1\n"),
-          ("src/Outer.hs", "module Outer (module Inner) where\nimport Inner\n")
-        ]
-      $ \rs ->
-        certainNamesOf rs "Outer"
-          `shouldReturn` (Set.fromList [(InTypes, OpName "T"), (InTerms, OpName "C"), (InTerms, OpName "f")])
-
-    it "keeps to what the import list of a whole module it hands on certainly brings in"
-      $ withFakeProject
-        [ ("src/Inner.hs", "module Inner where\ndata T = C\nf :: Int\nf = 1\n"),
-          ("src/Outer.hs", "module Outer (module Inner) where\nimport Inner (f)\n")
-        ]
-      $ \rs -> certainNamesOf rs "Outer" `shouldReturn` (Set.fromList [(InTerms, OpName "f")])
-
-    it "keeps to what every configuration of a module brings in"
-      $ withFakeProject
-        [ ( "src/Own.hs",
-            T.unlines
-              [ "{-# LANGUAGE CPP #-}",
-                "module Own",
-                "  ( g,",
-                "#ifdef A",
-                "    f,",
-                "#endif",
-                "  )",
-                "where",
-                "f :: Int",
-                "f = 1",
-                "g :: Int",
-                "g = 2"
-              ]
-          )
-        ]
-      $ \rs -> certainNamesOf rs "Own" `shouldReturn` (Set.fromList [(InTerms, OpName "g")])
-
-    it "settles a name one of the project's own modules brings in, despite an unreadable import"
-      $ withFakeProject
-        [ ("src/A.hs", "module A where\ny = = 1\n"),
-          ("src/B.hs", "module B (clampTo) where\nclampTo :: Int -> Int -> Int\nclampTo = min\n")
-        ]
-      $ \rs -> do
-        let m = parsed "module C (w) where\nimport A\nimport B\nw :: Int\nw = 1 `clampTo` 2\n"
-        scope <- scopeFor rs Nothing (Is #implicitPrelude) (pure (pmModule m))
-        lookupFixity scope InTerms Nothing (OpName "clampTo")
-          `shouldBe` Resolved defaultFixity ReportDefault
-
-    it "does not take a type it brings in for a constructor spelled the same way"
-      $ withFakeProject
-        [ ("src/A.hs", "module A where\ny = = 1\n"),
-          ("src/B.hs", "{-# LANGUAGE TypeOperators #-}\nmodule B ((:+:)) where\ndata a :+: b = a :+: b\n")
-        ]
-      $ \rs -> do
-        let m = parsed "module C (w) where\nimport A\nimport B\nw = 1 :+: 2\n"
-        scope <- scopeFor rs Nothing (Is #implicitPrelude) (pure (pmModule m))
-        lookupFixity scope InTerms Nothing (OpName ":+:")
-          `shouldBe` Unresolved (unreadOnly "A")
-
-    it "settles a constructor a T(..) brings in, despite an unreadable module another re-exports"
-      $ withFakeProject
-        [ ("src/A.hs", "module A where\ny = = 1\n"),
-          ("src/Core.hs", "module Core (module A) where\nimport A\n"),
-          ("src/Tree.hs", "module Tree (Tree (..)) where\ndata Tree = Leaf | Node Tree Tree\n")
-        ]
-      $ \rs -> do
-        let m = parsed "module C (w) where\nimport Core\nimport Tree (Tree (..))\nw = Leaf `Node` Leaf `Node` Leaf\n"
-        scope <- scopeFor rs Nothing (Is #implicitPrelude) (pure (pmModule m))
-        lookupFixity scope InTerms Nothing (OpName "Node")
-          `shouldBe` Resolved defaultFixity ReportDefault
-
-    it "leaves a constructor of a type imported on its own to that unreadable module"
-      $ withFakeProject
-        [ ("src/A.hs", "module A where\ny = = 1\n"),
-          ("src/Core.hs", "module Core (module A) where\nimport A\n"),
-          ("src/Tree.hs", "module Tree (Tree (..)) where\ndata Tree = Leaf | Node Tree Tree\n")
-        ]
-      $ \rs -> do
-        let m = parsed "module C (w) where\nimport Core\nimport Tree (Tree)\nw = Leaf `Node` Leaf `Node` Leaf\n"
-        scope <- scopeFor rs Nothing (Is #implicitPrelude) (pure (pmModule m))
-        lookupFixity scope InTerms Nothing (OpName "Node")
-          `shouldBe` Unresolved (ModuleChain ("Core" :| ["A"]) :| [])
-
-    it "brings in no operator with a type exported without its members"
-      $ withFakeProject
-        [ ("src/Ops.hs", "module Ops (T, (<+>)) where\ninfixr 1 <+>\ndata T = T\n(<+>) :: Int -> Int -> Int\na <+> b = a + b\n"),
-          ("src/Other.hs", "module Other ((<+>)) where\ninfixl 6 <+>\n(<+>) :: Int -> Int -> Int\na <+> b = a - b\n")
-        ]
-      $ \rs -> do
-        let m = parsed "module C (w) where\nimport Ops (T (..))\nimport Other\nw = 1 <+> 2\n"
-        scope <- scopeFor rs Nothing (Is #implicitPrelude) (pure (pmModule m))
-        lookupFixity scope InTerms Nothing (OpName "<+>")
-          `shouldBe` Resolved (Fixity LeftAssoc 6) (DeclaredIn "Other")
-
-  describe "the whole pipeline, from source text to a fixity" $ do
-    it "resolves an operator through a real import" $
-      endToEnd resolver "module M where\nimport Prettyprinter\n" $ \scope ->
-        lookupFixity scope InTerms Nothing (OpName "<+>")
-          `shouldBe` Resolved (Fixity RightAssoc 6) (DeclaredIn "Prettyprinter")
-
-    it "prefers the module's own declaration to an imported one" $
-      endToEnd resolver "module M where\nimport Prettyprinter\ninfixl 2 <+>\n" $ \scope ->
-        lookupFixity scope InTerms Nothing (OpName "<+>")
-          `shouldBe` Resolved (Fixity LeftAssoc 2) DeclaredHere
-
-    it "honours a qualified import" $
-      endToEnd resolver "module M where\nimport qualified Prettyprinter as P\n" $ \scope -> do
-        lookupFixity scope InTerms (Just "P") (OpName "<+>")
-          `shouldBe` Resolved (Fixity RightAssoc 6) (DeclaredIn "Prettyprinter")
-        -- Qualified-only, so nothing arrives unqualified.
-        lookupFixity scope InTerms Nothing (OpName "<+>")
-          `shouldBe` Resolved defaultFixity ReportDefault
-
-    it "honours an explicit import list" $
-      endToEnd resolver "module M where\nimport Prettyprinter ((<+>))\n" $ \scope ->
-        lookupFixity scope InTerms Nothing (OpName "<+>")
-          `shouldBe` Resolved (Fixity RightAssoc 6) (DeclaredIn "Prettyprinter")
-
-    it "brings in only the methods of a class an import list names with (..)" $
-      endToEnd resolver "module M where\nimport Text.ParserCombinators.ReadP\nimport Text.Read (Read (..))\n" $ \scope -> do
-        lookupFixity scope InTerms Nothing (OpName "+++")
-          `shouldBe` Resolved (Fixity RightAssoc 5) (DeclaredIn "Text.ParserCombinators.ReadP")
-        Map.keys (reachAmbiguous (reachIn InTerms scope)) `shouldBe` []
-
-    it "honours a hiding list" $
-      endToEnd resolver "module M where\nimport Prettyprinter hiding ((<+>))\n" $ \scope ->
-        lookupFixity scope InTerms Nothing (OpName "<+>")
-          `shouldBe` Resolved defaultFixity ReportDefault
-
-    it "concludes the Report default when everything in scope was read" $
-      endToEnd resolver "module M where\nimport Prettyprinter\n" $ \scope ->
-        lookupFixity scope InTerms Nothing (OpName "<!@#>")
-          `shouldBe` Resolved defaultFixity ReportDefault
-
-    it "refuses to conclude anything when an import could not be read" $
-      endToEnd resolver "module M where\nimport No.Such.Module\n" $ \scope ->
-        lookupFixity scope InTerms Nothing (OpName "<!@#>")
-          `shouldBe` Unresolved (unreadOnly "No.Such.Module")
-
-    it "settles a name a boot import brings in, despite an unreadable import" $
-      endToEnd resolver "module M where\nimport Data.List\nimport No.Such.Module\n" $ \scope -> do
-        lookupFixity scope InTerms Nothing (OpName "min")
-          `shouldBe` Resolved defaultFixity ReportDefault
-        lookupFixity scope InTerms Nothing (OpName "isPrefixOf")
-          `shouldBe` Resolved defaultFixity ReportDefault
-
-    it "settles a constructor a T(..) brings in, despite an unreadable import"
-      $ endToEnd
-        resolver
-        "module M where\nimport Data.Ord (Down (..))\nimport No.Such.Module\n"
-      $ \scope ->
-        lookupFixity scope InTerms Nothing (OpName "Down")
-          `shouldBe` Resolved defaultFixity ReportDefault
-
-    it "settles one written out beside its type, despite an unreadable import"
-      $ endToEnd
-        resolver
-        "module M where\nimport Data.Ord (Down (Down))\nimport No.Such.Module\n"
-      $ \scope ->
-        lookupFixity scope InTerms Nothing (OpName "Down")
-          `shouldBe` Resolved defaultFixity ReportDefault
-
-    it "leaves a constructor of a type imported on its own to the unreadable import"
-      $ endToEnd
-        resolver
-        "module M where\nimport Data.Ord (Down)\nimport No.Such.Module\n"
-      $ \scope ->
-        lookupFixity scope InTerms Nothing (OpName "Down")
-          `shouldBe` Unresolved (unreadOnly "No.Such.Module")
-
-    it "still answers for what it did find, despite an unreadable import" $
-      endToEnd resolver "module M where\nimport Prettyprinter\nimport No.Such.Module\n" $ \scope ->
-        lookupFixity scope InTerms Nothing (OpName "<+>")
-          `shouldBe` Resolved (Fixity RightAssoc 6) (DeclaredIn "Prettyprinter")
-
-    it "concludes the default through a boot import that exports no operators" $
-      endToEnd resolver "module M where\nimport Data.Char\n" $ \scope ->
-        lookupFixity scope InTerms Nothing (OpName "<!@#>")
-          `shouldBe` Resolved defaultFixity ReportDefault
-
-    it "resolves an operator imported from a boot package" $
-      endToEnd resolver "module M where\nimport Data.Map\n" $ \scope ->
-        lookupFixity scope InTerms Nothing (OpName "!")
-          `shouldBe` Resolved (Fixity LeftAssoc 9) (DeclaredIn "Data.Map")
-
-    it "resolves an operator that arrives under a type's own name" $
-      endToEnd resolver "module M where\nimport Data.List.NonEmpty (NonEmpty (..))\n" $ \scope ->
-        lookupFixity scope InTerms Nothing (OpName ":|")
-          `shouldBe` Resolved (Fixity RightAssoc 5) (DeclaredIn "Data.List.NonEmpty")
-
-    it "resolves one written out beside its type" $
-      endToEnd resolver "module M where\nimport Data.List.NonEmpty (NonEmpty ((:|)))\n" $ \scope ->
-        lookupFixity scope InTerms Nothing (OpName ":|")
-          `shouldBe` Resolved (Fixity RightAssoc 5) (DeclaredIn "Data.List.NonEmpty")
-
-    it "leaves out an operator no item of the list brings in" $
-      endToEnd resolver "module M where\nimport Data.List.NonEmpty (toList)\n" $ \scope ->
-        lookupFixity scope InTerms Nothing (OpName ":|")
-          `shouldBe` Resolved defaultFixity ReportDefault
-
-    it "hides one hidden along with its type" $
-      endToEnd resolver "module M where\nimport Data.List.NonEmpty hiding (NonEmpty (..))\n" $ \scope ->
-        lookupFixity scope InTerms Nothing (OpName ":|")
-          `shouldBe` Resolved defaultFixity ReportDefault
-
-    it "brings one in under the qualifier it was imported with" $
-      endToEnd resolver "module M where\nimport qualified Data.List.NonEmpty as NE (NonEmpty (..))\n" $ \scope ->
-        lookupFixity scope InTerms (Just "NE") (OpName ":|")
-          `shouldBe` Resolved (Fixity RightAssoc 5) (DeclaredIn "Data.List.NonEmpty")
-
-    it "reports no ambiguity for a module that compiles" $
-      endToEnd resolver "module M where\nimport Prettyprinter\n" $ \scope ->
-        reachAmbiguous (scopeInTerms scope) `shouldBe` Map.empty
-
-  describe "readiness" $ do
-    it "reports something other than a missing plan for this project" $ do
-      readiness <- checkReadiness [] "."
-      readiness `shouldNotBe` PlanMissing
-
-    it "reports a missing plan for a directory that has none" $
-      checkReadiness [] "/" `shouldReturn` PlanMissing
-
-----------------------------------------------------------------------------
--- Helpers
-
--- | An empty project directory, holding a plan where @cabal@ writes one if
--- it is to hold a plan at all.
-withTempProject :: Maybe Text -> (FilePath -> IO a) -> IO a
-withTempProject plan act =
-  withSystemTempDirectory "tilia-prepare" $ \dir -> do
-    createDirectoryIfMissing True (takeDirectory (planPathFor dir))
-    traverse_ (writePlan dir) plan
-    act dir
-
-writePlan :: FilePath -> Text -> IO ()
-writePlan dir = writeUtf8File (planPathFor dir)
-
--- | A project whose @.cabal@ file changed after its plan was written.
-withChangedPackage :: (FilePath -> IO a) -> IO a
-withChangedPackage act =
-  withOwnPlan $ \dir -> do
-    now <- getCurrentTime
-    writeUtf8File (dir </> "thing.cabal") ""
-    setModificationTime (dir </> "thing.cabal") (addUTCTime (-30) now)
-    act dir
-
--- | An empty project under a plan of its own, written a minute ago, so
--- that what it leaves in the cache is its own.
-withOwnPlan :: (FilePath -> IO a) -> IO a
-withOwnPlan act =
-  withTempProject Nothing $ \dir -> do
-    writePlan dir $
-      "{\"compiler-id\":\"ghc-0.0\",\"install-plan\":\
-      \[{\"pkg-name\":\""
-        <> T.pack (takeBaseName dir)
-        <> "\",\"pkg-version\":\"1.0\",\"component-name\":\"lib\",\
-           \\"pkg-src\":{\"type\":\"local\",\"path\":\"/nowhere\"}}]}"
-    now <- getCurrentTime
-    setModificationTime (planPathFor dir) (addUTCTime (-60) now)
-    act dir
-
--- | A plan naming one package that no package cache can have a tarball
--- for, so that reading it leaves something to fetch.
-wantingATarball :: Text
-wantingATarball =
-  "{\"compiler-id\":\"ghc-0.0\",\"install-plan\":\
-  \[{\"pkg-name\":\"tilia-phantom\",\"pkg-version\":\"9.9.9\",\
-  \\"pkg-src\":{\"type\":\"repo-tar\"}}]}"
-
--- | A plan holding a local package with a library and an executable, and
--- no test suite.
-twoComponents :: Text
-twoComponents =
-  "{\"compiler-id\":\"ghc-0.0\",\"install-plan\":\
-  \[{\"pkg-name\":\"thing\",\"pkg-version\":\"1.0\",\"component-name\":\"lib\",\
-  \\"pkg-src\":{\"type\":\"local\",\"path\":\"/nowhere\"}},\
-  \{\"pkg-name\":\"thing\",\"pkg-version\":\"1.0\",\"component-name\":\"exe:thing\",\
-  \\"pkg-src\":{\"type\":\"local\",\"path\":\"/nowhere\"}}]}"
-
--- | The same, with a component a solve could go on to add.
-threeComponents :: Text
-threeComponents =
-  "{\"compiler-id\":\"ghc-0.0\",\"install-plan\":\
-  \[{\"pkg-name\":\"thing\",\"pkg-version\":\"1.0\",\"component-name\":\"lib\",\
-  \\"pkg-src\":{\"type\":\"local\",\"path\":\"/nowhere\"}},\
-  \{\"pkg-name\":\"thing\",\"pkg-version\":\"1.0\",\"component-name\":\"exe:thing\",\
-  \\"pkg-src\":{\"type\":\"local\",\"path\":\"/nowhere\"}},\
-  \{\"pkg-name\":\"thing\",\"pkg-version\":\"1.0\",\"component-name\":\"test:tests\",\
-  \\"pkg-src\":{\"type\":\"local\",\"path\":\"/nowhere\"}}]}"
-
--- | Narrow and short at once: two components, neither of them the one a
--- run wants, and a dependency whose tarball is nowhere.
---
--- The shape @servant@ has, where two cookbook executables are named by the
--- project and left out of every plan @cabal@ writes.
-narrowAndWanting :: Text
-narrowAndWanting =
-  "{\"compiler-id\":\"ghc-0.0\",\"install-plan\":\
-  \[{\"pkg-name\":\"thing\",\"pkg-version\":\"1.0\",\"component-name\":\"lib\",\
-  \\"pkg-src\":{\"type\":\"local\",\"path\":\"/nowhere\"}},\
-  \{\"pkg-name\":\"tilia-phantom\",\"pkg-version\":\"9.9.9\",\
-  \\"pkg-src\":{\"type\":\"repo-tar\"}}]}"
-
--- | A package planned whole, as @cabal@ plans one with a @Custom@ build
--- type: no @component-name@, and a @components@ object instead.
-plannedWhole :: Text
-plannedWhole =
-  "{\"compiler-id\":\"ghc-0.0\",\"install-plan\":\
-  \[{\"pkg-name\":\"thing\",\"pkg-version\":\"1.0\",\"type\":\"configured\",\
-  \\"pkg-src\":{\"type\":\"local\",\"path\":\"/nowhere\"},\
-  \\"components\":{\"lib\":{},\"test:spec\":{},\"setup\":{}}}]}"
-
--- | A component of that package, by the name a plan gives it.
-component :: Text -> PlanComponent
-component = PlanComponent "thing"
-
--- | Note that @cabal@ was asked for something.
--- | What a solve and a fetch are asked for.
---
--- Both name the test suites and the benchmarks, because both are things a
--- run formats and so things the plan has to reach.
-solving, fetching :: [String]
-solving = narrowSolve <> wholeProject
-fetching = narrowFetch <> wholeProject
-
--- | The same two, asked only about what @cabal@ builds by default. What is
--- fallen back on where the whole project will not solve.
-narrowSolve, narrowFetch :: [String]
-narrowSolve = ["build", ":all", "--dry-run"]
-narrowFetch = ["build", ":all", "--only-download"]
-
-wholeProject :: [String]
-wholeProject = ["--enable-tests", "--enable-benchmarks"]
-
-record :: IORef [[String]] -> [String] -> IO ()
-record steps args = modifyIORef' steps (<> [args])
-
--- | A @cabal@ that does nothing and says it went well.
-obliging :: IORef [[String]] -> [String] -> IO (Either CabalFailure ())
-obliging steps args = record steps args >> pure (Right ())
-
--- | Load the plan of a project as a run does, with the real way of running
--- @cabal@.
-loading :: FilePath -> IO (Either Text BuildPlan)
-loading = loadPlan (Do #useCache) (Do #download) []
-
--- | What a stand-in for @cabal@ runs to fail, saying what is given on its
--- standard error.
-complaining :: String -> String
-complaining complaint = "echo '" <> complaint <> "' >&2; exit 1"
-
--- | Run an assertion on a module's fixities, failing where the module could
--- not be resolved at all.
-needs ::
-  (Text -> IO (Maybe (Fixities))) ->
-  Text ->
-  (Fixities -> Expectation) ->
-  Expectation
-needs resolve modName assertion =
-  resolve modName >>= \case
-    Nothing -> expectationFailure ("could not resolve " <> T.unpack modName)
-    Just fixities -> assertion fixities
-
--- | Parse a module, resolve its imports for real, and hand over the scope.
-endToEnd ::
-  Resolver ->
-  Text ->
-  (Scope -> Expectation) ->
-  Expectation
-endToEnd resolver source assertion =
-  scopeFor
-    resolver
-    Nothing
-    (Is #implicitPrelude)
-    (pure (pmModule (parsed source)))
-    >>= assertion
-
--- | Check one expected fixity, returning a description of any mismatch.
-check ::
-  (Text -> IO (Maybe (Fixities))) ->
-  (Text, Text, Fixity) ->
-  IO [String]
-check resolve (modName, op, expected) = do
-  got <- resolve modName
-  let actual = Map.lookup (InTerms, OpName op) =<< got
-  pure
-    [ T.unpack modName
-        <> "."
-        <> T.unpack op
-        <> ": expected "
-        <> show expected
-        <> " but got "
-        <> show actual
-    | actual /= Just expected
-    ]
-
--- | A module that needs @LambdaCase@ to parse, and declares a fixity worth
--- finding once it does.
-fancy :: Text
-fancy =
-  T.unlines
-    [ "module Fancy where",
-      "infixr 5 <+>",
-      "(<+>) :: Int -> Int -> Int",
-      "a <+> b = a + b",
-      "describe :: Int -> Int",
-      "describe = \\case",
-      "  0 -> 1",
-      "  _ -> 2"
-    ]
-
--- | A @.cabal@ for the fake project, putting the named extensions in force.
-package :: [Text] -> Text
-package extensions =
-  T.unlines $
-    [ "cabal-version: 2.4",
-      "name: fake",
-      "version: 0.1.0.0",
-      "library",
-      "  exposed-modules: Fancy",
-      "  hs-source-dirs: src",
-      "  default-language: Haskell2010"
-    ]
-      <> ["  default-extensions: " <> T.intercalate ", " extensions | not (null extensions)]
-
--- | A module that is perfectly readable and still cannot be resolved: the
--- operator it exports comes from somewhere nothing can be read from.
-opaqueSource :: Text
-opaqueSource =
-  T.unlines
-    [ "module Opaque ((<+>), f) where",
-      "import No.Such.Module",
-      "f :: Int",
-      "f = 1"
-    ]
-
--- | A module bundling the pattern synonym @:<@ with its type @T@, which has
--- the constructor @:+@, in the export given.
-bundling :: Text -> Text
-bundling export =
-  T.unlines
-    [ "{-# LANGUAGE PatternSynonyms #-}",
-      "module Own (" <> export <> ") where",
-      "infixr 4 :+",
-      "data T = E | Int :+ T",
-      "infixr 5 :<",
-      "pattern (:<) :: Int -> T -> T",
-      "pattern x :< xs = x :+ xs"
-    ]
-
--- | A project of made-up modules, with a build plan written by hand.
---
--- The plan names one local package and nothing else, which is enough for a
--- resolver: local modules are read straight off disk, and everything they
--- import here is either a boot module or does not exist.
-withFakeProject :: [(FilePath, Text)] -> (Resolver -> IO a) -> IO a
-withFakeProject sources act =
-  withFakePlan sources (\plan -> newResolver plan >>= act)
-
-withFakePlan :: [(FilePath, Text)] -> (BuildPlan -> IO a) -> IO a
-withFakePlan sources act =
-  withSystemTempDirectory "tilia-plan" $ \dir -> do
-    createDirectoryIfMissing True (dir </> "src")
-    if any ((".cabal" `Data.List.isSuffixOf`) . fst) sources
-      then pure ()
-      else
-        writeUtf8File (dir </> "fake.cabal") $
-          T.unlines
-            [ "cabal-version: 2.4",
-              "name: fake",
-              "version: 0.1.0.0",
-              "library",
-              "  exposed-modules: " <> T.intercalate ", " (fmap named (haskellIn sources)),
-              "  hs-source-dirs: src",
-              "  default-language: Haskell2010"
-            ]
-    for_ sources $ \(path, text) -> do
-      createDirectoryIfMissing True (takeDirectory (dir </> path))
-      writeUtf8File (dir </> path) text
-    writeUtf8File (dir </> "plan.json") $
-      "{\"compiler-id\":\"ghc-0.0\",\"install-plan\":\
-      \[{\"pkg-name\":\"fake\",\"pkg-version\":\"0.1.0.0\",\
-      \\"pkg-src\":{\"type\":\"local\",\"path\":\""
-        <> T.pack dir
-        <> "\"}}]}"
-    readBuildPlan (dir </> "plan.json") >>= \case
-      Left why -> error (T.unpack why)
-      Right plan -> withEnvironment [("XDG_CACHE_HOME", dir </> "cache")] (act plan)
-  where
-    haskellIn = filter (isModule . fst)
-    isModule path = any (`Data.List.isSuffixOf` path) [".hs", ".hsc"]
-    named (path, _) = T.pack (takeBaseName path)
-
--- | A project whose one dependency is a package off Hackage, with the
--- tarball @cabal@ would have fetched written where it would have put it.
---
--- Nothing here is local: this is the other route to a module, the one that
--- opens an archive. @CABAL_DIR@ says where the package cache is and
--- @XDG_CACHE_HOME@ where what is read gets remembered, so the run reaches
--- the tarball below and no further, and leaves nothing behind.
-withFakeArchive :: [(FilePath, Text)] -> (Resolver -> IO a) -> IO a
-withFakeArchive sources act =
-  withSystemTempDirectory "tilia-archive" $ \dir -> do
-    let held = T.unpack (name <> "-" <> version)
-        tarball =
-          dir
-            </> "packages"
-            </> "hackage.haskell.org"
-            </> T.unpack name
-            </> T.unpack version
-            </> held
-              <> ".tar.gz"
-    createDirectoryIfMissing True (takeDirectory tarball)
-    writeTarball tarball $
-      (held </> T.unpack name <> ".cabal", cabal)
-        : [(held </> path, text) | (path, text) <- sources]
-    writeUtf8File (dir </> "plan.json") plan
-    withEnvironment [("CABAL_DIR", dir), ("XDG_CACHE_HOME", dir </> "cache")] $
-      readBuildPlan (dir </> "plan.json") >>= \case
-        Left why -> error (T.unpack why)
-        Right p -> newResolver p >>= act
-  where
-    name = "tilia-hsc-fixture"
-    version = "1.0"
-    cabal =
-      T.unlines
-        [ "cabal-version: 2.4",
-          "name: " <> name,
-          "version: " <> version,
-          "library",
-          "  exposed-modules: " <> T.intercalate ", " (fmap moduleIn sources),
-          "  hs-source-dirs: .",
-          "  default-language: Haskell2010"
-        ]
-    moduleIn (path, _) = T.replace "/" "." (T.pack (dropExtension path))
-    plan =
-      "{\"compiler-id\":\"ghc-0.0\",\"install-plan\":\
-      \[{\"pkg-name\":\""
-        <> name
-        <> "\",\"pkg-version\":\""
-        <> version
-        <> "\",\"pkg-src\":{\"type\":\"repo-tar\"}}]}"
-
--- | Write the named files as a gzipped tarball.
-writeTarball :: FilePath -> [(FilePath, Text)] -> IO ()
-writeTarball path entries =
-  BL.writeFile path . GZip.compress . Tar.write =<< traverse entry entries
-  where
-    entry (inside, text) = case Tar.toTarPath False inside of
-      Left why -> error why
-      Right tarPath -> pure (Tar.fileEntry tarPath (BL.fromStrict (T.encodeUtf8 text)))
+import Distribution.PackageDescription (mkFlagAssignment)
+import System.Directory
+  ( canonicalizePath,
+    createDirectoryIfMissing,
+    doesFileExist,
+    getPermissions,
+    removeFile,
+    setModificationTime,
+    setOwnerExecutable,
+    setPermissions,
+  )
+import System.Environment (lookupEnv, setEnv, unsetEnv)
+import System.FilePath
+  ( dropExtension,
+    searchPathSeparator,
+    takeBaseName,
+    takeDirectory,
+    (</>),
+  )
+import System.IO.Temp (withSystemTempDirectory)
+import System.Info qualified
+import System.Timeout (timeout)
+import Test.Hspec
+
+import Tilia.Cabal.Package (newPackageReader)
+import Tilia.Cabal.Plan hiding (checkReadiness, prepareWith)
+import Tilia.Cabal.Plan qualified as Plan
+import Tilia.Cpp.Macros (Macros (..))
+import Tilia.Fixity
+import Tilia.Fixity.Cache
+  ( PlanToken (..),
+    openCache,
+    storePackageCache,
+  )
+import Tilia.Fixity.HiFile (HiExport (..), HiFile (..), HiName (..))
+import Tilia.Fixity.PackageDb
+  ( Installed (..),
+    InstalledPackage (..),
+    compilerIdentity,
+    readInstalledPackages,
+  )
+import Tilia.Fixity.Plan
+import Tilia.Parser
+import Tilia.Process (readProgramOutput)
+import Tilia.TestUtils
+  ( installedEntries,
+    parsed,
+    routedResolver,
+    unreadOnly,
+    withEnvironment,
+    withOpsProject,
+  )
+import Tilia.Utils (inParallel, writeUtf8File)
+import Tilia.WithProjectPlan (withProjectPlan)
+
+spec :: Spec
+spec = do
+  preparation
+  tokens
+  plannedMacros
+  reexports
+  hscModules
+  literateModules
+  includingModules
+  generatedModuleSpec
+  askedAtOnce
+  givenInterfaces
+  readBefore
+  namedAlike
+  heldByThePlan
+  gitDependencies
+  repositories
+  packageCache
+  givenPlans
+  withProjectPlan withPlan
+
+-- | What a cached failure is filed under.
+--
+-- A failure to read a module leans on the plan and on the compiler this run
+-- can ask, so both have to be in the token. Were the environment left out,
+-- a shell that cannot see a package would hand its "could not be read" to
+-- one that can.
+tokens :: Spec
+tokens = describe "the token a plan is cached under" $ do
+  it "differs between environments over the same plan" $
+    tokenForEnvAndBuildPlan "/one/bin/ghc-pkg" onePackage
+      `shouldNotBe` tokenForEnvAndBuildPlan "/another/bin/ghc-pkg" onePackage
+
+  it "differs between plans in the same environment" $
+    tokenForEnvAndBuildPlan here onePackage
+      `shouldNotBe` tokenForEnvAndBuildPlan here noPackages
+
+  it "is the same twice over for the same plan and environment" $
+    tokenForEnvAndBuildPlan here onePackage
+      `shouldBe` tokenForEnvAndBuildPlan here onePackage
+
+  it "asks the environment it is actually going to read in" $ do
+    asked <- tokenForBuildPlan onePackage
+    environment <- compilerIdentity
+    asked `shouldBe` tokenForEnvAndBuildPlan environment onePackage
+  where
+    here = "/somewhere/bin/ghc-pkg"
+    noPackages = BuildPlan{bpCompiler = "ghc-9.10.3", bpPackages = []}
+    onePackage =
+      BuildPlan
+        { bpCompiler = "ghc-9.10.3",
+          bpPackages =
+            [ PlanPackage
+                { ppName = "containers",
+                  ppVersion = "0.7",
+                  ppSource = PreExisting,
+                  ppComponents = [],
+                  ppFlags = mempty
+                }
+            ]
+        }
+
+-- | What a plan says about macros.
+plannedMacros :: Spec
+plannedMacros = describe "the macros a plan settles" $ do
+  it "has those of other compilers undefined under a plan for GHC" $
+    macroUndefined (macrosOf (planFor "ghc-9.10.3"))
+      `shouldBe` Set.fromList ["__MHS__", "__HUGS__"]
+
+  it "has nothing undefined under a plan for another compiler" $
+    macroUndefined (macrosOf (planFor "mhs-0.15.4.0")) `shouldBe` Set.empty
+
+  it "holds every package of the plan, as its version macros spell it" $
+    macroPlannedPackages (macrosOf twoPackages)
+      `shouldBe` Just (Set.fromList ["base", "data_default"])
+  where
+    planFor compiler = BuildPlan{bpCompiler = compiler, bpPackages = []}
+    twoPackages =
+      BuildPlan
+        { bpCompiler = "ghc-9.10.3",
+          bpPackages =
+            [ PlanPackage
+                { ppName = name,
+                  ppVersion = "1.0",
+                  ppSource = PreExisting,
+                  ppComponents = [],
+                  ppFlags = mempty
+                }
+            | name <- ["base", "data-default"]
+            ]
+        }
+
+-- | 'Plan.checkReadiness', with the cache in use as it is by default.
+checkReadiness :: [PlanComponent] -> FilePath -> IO Readiness
+checkReadiness = Plan.checkReadiness (Do #useCache)
+
+-- | 'Plan.prepareWith', with the cache in use as it is by default.
+prepareWith ::
+  ([String] -> IO (Either CabalFailure ())) ->
+  Futility ->
+  [PlanComponent] ->
+  FilePath ->
+  Readiness ->
+  IO (Either Text ())
+prepareWith = Plan.prepareWith (Do #useCache) (Do #download)
+
+-- | What a run does before it trusts the plan.
+--
+-- These need no plan of their own and no @cabal@: the point is the order of
+-- the steps, so the steps are recorded rather than taken.
+preparation :: Spec
+preparation = describe "preparing a project" $ do
+  it "solves and then fetches, in the one run" $
+    withTempProject Nothing $ \dir -> do
+      steps <- newIORef []
+      let cabal args = do
+            record steps args
+            when (args == solving) (writePlan dir wantingATarball)
+            pure (Right ())
+      checkReadiness [] dir `shouldReturn` PlanMissing
+      prepareWith cabal undiscoveredFutility [] dir PlanMissing
+        `shouldReturn` Right ()
+      readIORef steps
+        `shouldReturn` [solving, fetching]
+
+  it "fetches without solving when the plan is already good" $
+    withTempProject (Just wantingATarball) $ \dir -> do
+      steps <- newIORef []
+      readiness <- checkReadiness [] dir
+      readiness `shouldBe` SourcesMissing ["tilia-phantom"]
+      prepareWith (obliging steps) undiscoveredFutility [] dir readiness
+        `shouldReturn` Right ()
+      readIORef steps `shouldReturn` [fetching]
+
+  it "fetches nothing when told not to download" $
+    withTempProject (Just wantingATarball) $ \dir -> do
+      steps <- newIORef []
+      readiness <- checkReadiness [] dir
+      readiness `shouldBe` SourcesMissing ["tilia-phantom"]
+      Plan.prepareWith
+        (Do #useCache)
+        (Don't #download)
+        (obliging steps)
+        undiscoveredFutility
+        []
+        dir
+        readiness
+        `shouldReturn` Right ()
+      readIORef steps `shouldReturn` []
+
+  it "does not fetch again what fetching did not bring in" $
+    withTempProject (Just wantingATarball) $ \dir -> do
+      steps <- newIORef []
+      refused <- newIORef []
+      let futility =
+            undiscoveredFutility
+              { fetchWasFutileFor = readIORef refused,
+                rememberFutileFetch = writeIORef refused
+              }
+          missing = SourcesMissing ["tilia-phantom"]
+          again = prepareWith (obliging steps) futility [] dir missing
+      again `shouldReturn` Right ()
+      readIORef refused `shouldReturn` ["tilia-phantom"]
+      again `shouldReturn` Right ()
+      readIORef steps `shouldReturn` [fetching]
+
+  it "does not fetch after a solve what fetching did not bring in" $
+    withTempProject Nothing $ \dir -> do
+      steps <- newIORef []
+      let cabal args = do
+            record steps args
+            when (args == solving) (writePlan dir wantingATarball)
+            pure (Right ())
+          futility =
+            undiscoveredFutility{fetchWasFutileFor = pure ["tilia-phantom"]}
+      prepareWith cabal futility [] dir PlanMissing `shouldReturn` Right ()
+      readIORef steps `shouldReturn` [solving]
+
+  it "takes nothing for futile when told not to download" $
+    withTempProject (Just narrowAndWanting) $ \dir -> do
+      refused <- newIORef []
+      let futility =
+            undiscoveredFutility
+              { solveWasFutile = pure True,
+                rememberFutileFetch = writeIORef refused
+              }
+          narrow = PlanNarrow ["thing:test:tests"]
+          offline = Plan.prepareWith (Do #useCache) (Don't #download)
+      steps <- newIORef []
+      offline (obliging steps) futility [component "test:tests"] dir narrow
+        `shouldReturn` Right ()
+      readIORef refused `shouldReturn` []
+
+  it "runs nothing at all when nothing is missing" $ do
+    steps <- newIORef []
+    prepareWith (obliging steps) undiscoveredFutility [] "." Ready
+      `shouldReturn` Right ()
+    readIORef steps `shouldReturn` []
+
+  it "does not go on to fetch when the solve fails" $
+    withTempProject Nothing $ \dir -> do
+      steps <- newIORef []
+      let cabal args = Left (Unsolvable "cabal said no") <$ record steps args
+      prepareWith cabal undiscoveredFutility [] dir PlanMissing
+        `shouldReturn` Left "cabal said no"
+      readIORef steps `shouldReturn` [solving, narrowSolve]
+
+  it "asks about less only where the whole project will not solve" $
+    withTempProject Nothing $ \dir -> do
+      steps <- newIORef []
+      let cabal args = Left (CabalFailed "cabal said no") <$ record steps args
+      prepareWith cabal undiscoveredFutility [] dir PlanMissing
+        `shouldReturn` Left "cabal said no"
+      readIORef steps `shouldReturn` [solving]
+
+  it "hears from cabal that the whole project will not solve" $
+    withTempProject Nothing $ \dir -> do
+      let unsolvable = complaining "Could not resolve dependencies:"
+      fst <$> runsCabalWith unsolvable (loading dir)
+        `shouldReturn` ["build", "build"]
+
+  it "hears from cabal that it failed otherwise" $
+    withTempProject Nothing $ \dir -> do
+      let unparsed = complaining "Error parsing project file"
+      fst <$> runsCabalWith unparsed (loading dir) `shouldReturn` ["build"]
+
+  it "asks about the test suites and the benchmarks, not the library alone" $
+    withTempProject Nothing $ \dir -> do
+      steps <- newIORef []
+      let cabal args = do
+            record steps args
+            when (args == solving) (writePlan dir wantingATarball)
+            pure (Right ())
+      _ <- prepareWith cabal undiscoveredFutility [] dir PlanMissing
+      asked <- readIORef steps
+      asked
+        `shouldSatisfy` all (\args -> wholeProject `Data.List.isSuffixOf` args)
+
+  it "settles for what will solve when the whole project will not" $
+    withTempProject Nothing $ \dir -> do
+      steps <- newIORef []
+      let cabal args = do
+            record steps args
+            if wholeProject `Data.List.isSuffixOf` args
+              then pure (Left (Unsolvable "a test suite will not solve"))
+              else do
+                when (args == narrowSolve) (writePlan dir wantingATarball)
+                pure (Right ())
+      prepareWith cabal undiscoveredFutility [] dir PlanMissing
+        `shouldReturn` Right ()
+      readIORef steps
+        `shouldReturn` [solving, narrowSolve, fetching, narrowFetch]
+
+  it "does not solve again where solving left the plan as it was" $
+    withChangedPackage $ \dir -> do
+      stale <- checkReadiness [] dir
+      stale `shouldBe` PlanStale [dir </> "thing.cabal"]
+      steps <- newIORef []
+      prepareWith (obliging steps) (futilityFor (Do #useCache) dir) [] dir stale
+        `shouldReturn` Right ()
+      readIORef steps `shouldReturn` [solving]
+      checkReadiness [] dir `shouldReturn` Ready
+
+  it "solves again where a file changed after the last solve" $
+    withChangedPackage $ \dir -> do
+      stale <- checkReadiness [] dir
+      steps <- newIORef []
+      _ <-
+        prepareWith
+          (obliging steps)
+          (futilityFor (Do #useCache) dir)
+          []
+          dir
+          stale
+      later <- addUTCTime 60 <$> getCurrentTime
+      setModificationTime (dir </> "thing.cabal") later
+      checkReadiness [] dir `shouldReturn` PlanStale [dir </> "thing.cabal"]
+
+  it "takes a change to a file the project imports as making the plan stale" $
+    withOwnPlan $ \dir -> do
+      writeUtf8File (dir </> "cabal.project") "import: config/more.config\n"
+      createDirectoryIfMissing True (dir </> "config")
+      writeUtf8File (dir </> "config" </> "more.config") ""
+      earlier <- addUTCTime (-90) <$> getCurrentTime
+      setModificationTime (dir </> "cabal.project") earlier
+      imported <- canonicalizePath (dir </> "config" </> "more.config")
+      checkReadiness [] dir `shouldReturn` PlanStale [imported]
+
+  it "takes a change to cabal.project.local as making the plan stale" $
+    withOwnPlan $ \dir -> do
+      writeUtf8File (dir </> "cabal.project.local") ""
+      local <- canonicalizePath (dir </> "cabal.project.local")
+      checkReadiness [] dir `shouldReturn` PlanStale [local]
+
+  it "takes a package moved away from where the plan has it as making it stale" $
+    withOwnPlan $ \dir -> do
+      removeFile (dir </> "package" </> "package.cabal")
+      checkReadiness [] dir `shouldReturn` PlanStale [dir </> "package"]
+
+  describe "a plan solved for another compiler" $ do
+    it "notices that the compiler at hand has a base of another version" $
+      withTempProject (Just foreignPlan) $ \dir ->
+        checkReadiness [] dir `shouldReturn` PlanForeign "ghc-0.0"
+
+    it "is not what this very project has" $ do
+      plan' <- readBuildPlan (planPathFor ".")
+      case plan' of
+        Left _ -> expectationFailure "no build plan; run cabal build first"
+        Right p ->
+          checkReadiness [] "." `shouldNotReturn` PlanForeign (bpCompiler p)
+
+    it "solves only the once when solving leaves it so" $
+      withTempProject (Just foreignPlan) $ \dir -> do
+        steps <- newIORef []
+        futile <- newIORef False
+        let cabal args = do
+              record steps args
+              when (args == solving) (writePlan dir foreignPlan)
+              pure (Right ())
+            futility =
+              undiscoveredFutility
+                { solveWasFutile = readIORef futile,
+                  rememberFutileSolve = writeIORef futile True
+                }
+            once = prepareWith cabal futility [] dir (PlanForeign "ghc-0.0")
+        once `shouldReturn` Right ()
+        readIORef futile `shouldReturn` True
+        once `shouldReturn` Right ()
+        readIORef steps `shouldReturn` [solving]
+
+  describe "a plan narrower than the run" $ do
+    it "notices a component the plan says nothing about" $
+      withTempProject (Just twoComponents) $ \dir ->
+        checkReadiness [component "test:tests"] dir
+          `shouldReturn` PlanNarrow ["thing:test:tests"]
+
+    it "names every one it is missing" $
+      withTempProject (Just twoComponents) $ \dir ->
+        checkReadiness [component "test:tests", component "bench:speed"] dir
+          `shouldReturn` PlanNarrow ["thing:test:tests", "thing:bench:speed"]
+
+    it "is content with the components the plan does cover" $
+      withTempProject (Just twoComponents) $ \dir ->
+        checkReadiness [component "lib", component "exe:thing"] dir
+          `shouldReturn` Ready
+
+    it "asks for nothing when the run asks about nothing" $
+      withTempProject (Just twoComponents) $ \dir ->
+        checkReadiness [] dir `shouldReturn` Ready
+
+    it "solves again rather than trusting it" $
+      withTempProject (Just twoComponents) $ \dir -> do
+        steps <- newIORef []
+        let cabal args = do
+              record steps args
+              when (args == solving) (writePlan dir twoComponents)
+              pure (Right ())
+        prepareWith
+          cabal
+          undiscoveredFutility
+          [component "test:tests"]
+          dir
+          (PlanNarrow ["thing:test:tests"])
+          `shouldReturn` Right ()
+        readIORef steps `shouldReturn` [solving]
+
+    it "counts the components of this very project as covered" $ do
+      plan' <- readBuildPlan (planPathFor ".")
+      case plan' of
+        Left _ -> expectationFailure "no build plan; run cabal build first"
+        Right p ->
+          checkReadiness (plannedComponents p) "."
+            `shouldNotReturn` PlanNarrow []
+
+    it "solves only the once when solving does not widen it" $
+      withTempProject (Just twoComponents) $ \dir -> do
+        steps <- newIORef []
+        futile <- newIORef False
+        let cabal args = do
+              record steps args
+              when (args == solving) (writePlan dir twoComponents)
+              pure (Right ())
+            futility =
+              undiscoveredFutility
+                { solveWasFutile = readIORef futile,
+                  rememberFutileSolve = writeIORef futile True
+                }
+            narrow = PlanNarrow ["thing:test:tests"]
+            once =
+              prepareWith cabal futility [component "test:tests"] dir narrow
+        once `shouldReturn` Right ()
+        readIORef futile `shouldReturn` True
+        once `shouldReturn` Right ()
+        readIORef steps `shouldReturn` [solving]
+
+    it "fetches what a plan it cannot widen is short of" $
+      withTempProject (Just narrowAndWanting) $ \dir -> do
+        steps <- newIORef []
+        let cabal args = do
+              record steps args
+              when (args == solving) (writePlan dir narrowAndWanting)
+              pure (Right ())
+            narrow = PlanNarrow ["thing:test:tests"]
+        prepareWith
+          cabal
+          undiscoveredFutility
+          [component "test:tests"]
+          dir
+          narrow
+          `shouldReturn` Right ()
+        readIORef steps
+          `shouldReturn` [solving, fetching]
+
+    it "fetches it even once solving again has been given up on" $
+      withTempProject (Just narrowAndWanting) $ \dir -> do
+        steps <- newIORef []
+        futile <- newIORef True
+        let futility =
+              undiscoveredFutility
+                { solveWasFutile = readIORef futile,
+                  rememberFutileSolve = writeIORef futile True
+                }
+            narrow = PlanNarrow ["thing:test:tests"]
+        prepareWith
+          (obliging steps)
+          futility
+          [component "test:tests"]
+          dir
+          narrow
+          `shouldReturn` Right ()
+        readIORef steps `shouldReturn` [fetching]
+
+    it "does not ask again for what fetching did not bring in" $
+      withTempProject (Just narrowAndWanting) $ \dir -> do
+        steps <- newIORef []
+        refused <- newIORef []
+        let futility =
+              undiscoveredFutility
+                { solveWasFutile = pure True,
+                  fetchWasFutileFor = readIORef refused,
+                  rememberFutileFetch = writeIORef refused
+                }
+            narrow = PlanNarrow ["thing:test:tests"]
+            again =
+              prepareWith
+                (obliging steps)
+                futility
+                [component "test:tests"]
+                dir
+                narrow
+        again `shouldReturn` Right ()
+        readIORef refused `shouldReturn` ["tilia-phantom"]
+        again `shouldReturn` Right ()
+        readIORef steps `shouldReturn` [fetching]
+
+    it "goes on solving while solving still widens it" $
+      withTempProject (Just twoComponents) $ \dir -> do
+        steps <- newIORef []
+        futile <- newIORef False
+        let cabal args = do
+              record steps args
+              when (args == solving) (writePlan dir threeComponents)
+              pure (Right ())
+            futility =
+              undiscoveredFutility
+                { solveWasFutile = readIORef futile,
+                  rememberFutileSolve = writeIORef futile True
+                }
+        prepareWith
+          cabal
+          futility
+          [component "test:tests"]
+          dir
+          (PlanNarrow ["thing:test:tests"])
+          `shouldReturn` Right ()
+        readIORef futile `shouldReturn` False
+        readIORef steps `shouldReturn` [solving]
+
+  describe "a package the plan could not take apart" $ do
+    it "counts the components it lists under one entry" $
+      withTempProject (Just plannedWhole) $ \dir ->
+        checkReadiness [component "lib", component "test:spec"] dir
+          `shouldReturn` Ready
+
+    it "still misses one that entry does not list" $
+      withTempProject (Just plannedWhole) $ \dir ->
+        checkReadiness [component "bench:speed"] dir
+          `shouldReturn` PlanNarrow ["thing:bench:speed"]
+
+    it "does not offer the Setup program as a component" $ do
+      plan' <- withTempProject (Just plannedWhole) (readBuildPlan . planPathFor)
+      fmap plannedComponents plan'
+        `shouldBe` Right [component "lib", component "test:spec"]
+
+-- | Chasing an operator a module passes on rather than declares.
+--
+-- No plan and no network here: the modules a name could have come from
+-- answer out of a table written below, which is what makes it possible to
+-- ask not merely whether an answer came back but which module it came from.
+reexports :: Spec
+reexports = describe "an operator a module passes on" $ do
+  it "comes from the module the qualifier names" $
+    chased
+      "module M ((Disp.<+>)) where\nimport Control.Arrow (first)\nimport qualified Text.PrettyPrint as Disp\n"
+      `shouldReturn` Just (Fixity LeftAssoc 6)
+
+  it "comes from an import that brings it in, not one that hides it" $
+    chased
+      "module M ((<+>)) where\nimport Control.Arrow hiding ((<+>))\nimport Text.PrettyPrint\n"
+      `shouldReturn` Just (Fixity LeftAssoc 6)
+
+  it "comes from an import that brings it in, not one that never names it" $
+    chased
+      "module M ((<+>)) where\nimport Control.Arrow (first)\nimport Text.PrettyPrint\n"
+      `shouldReturn` Just (Fixity LeftAssoc 6)
+
+  it "does not come from a qualified import when it is written plainly" $
+    chased
+      "module M ((<+>)) where\nimport Control.Arrow\nimport qualified Text.PrettyPrint as Disp\n"
+      `shouldReturn` Just (Fixity RightAssoc 5)
+
+  it "is the module's own where the module declares it" $
+    chased
+      "module M ((<+>)) where\nimport Control.Arrow\ninfixr 3 <+>\n(<+>) :: Int -> Int -> Int\na <+> b = a + b\n"
+      `shouldReturn` Just (Fixity RightAssoc 3)
+
+  it "comes from the import its qualifier names, though the module declares one too" $
+    chased
+      "module M ((Disp.<+>)) where\nimport qualified Text.PrettyPrint as Disp\ninfixl 1 <+>\n(<+>) :: Int -> Int -> Int\na <+> b = a + b\n"
+      `shouldReturn` Just (Fixity LeftAssoc 6)
+
+  it "is the module's own where its qualifier is the module's name" $
+    chased
+      "module M ((M.<+>)) where\nimport qualified Text.PrettyPrint as Disp\ninfixl 1 <+>\n(<+>) :: Int -> Int -> Int\na <+> b = a + b\n"
+      `shouldReturn` Just (Fixity LeftAssoc 1)
+
+  it "is not the module's own where the module does not export it" $
+    chased
+      "module M (parser) where\ninfixr 3 <+>\n(<+>) :: Int -> Int -> Int\na <+> b = a + b\nparser :: Int\nparser = 1 <+> 2\n"
+      `shouldReturn` Nothing
+
+  it "is the module's own for a constructor handed on with its type" $ do
+    answer <-
+      chasedModule "module M (T (..)) where\ndata T = Int :+ Int\ninfixl 6 :+\n"
+    Map.lookup (InTerms, OpName ":+") (establishedFixities answer)
+      `shouldBe` Just (Fixity LeftAssoc 6)
+
+  it "is not the module's own for a constructor its type is handed on without" $ do
+    answer <-
+      chasedModule "module M (T) where\ndata T = Int :+ Int\ninfixl 6 :+\n"
+    Map.lookup (InTerms, OpName ":+") (establishedFixities answer)
+      `shouldBe` Nothing
+
+  it "is not answered at all when the module it came from cannot be read" $
+    chased "module M ((<+>)) where\nimport No.Such.Module\n"
+      `shouldReturn` Nothing
+
+  it "is not held up by an unread import under another qualifier" $
+    chased
+      "module M ((Disp.<+>)) where\nimport qualified No.Such.Module as Q\nimport qualified Text.PrettyPrint as Disp\n"
+      `shouldReturn` Just (Fixity LeftAssoc 6)
+
+  it "is not held up by an unread import that is qualified when it is written plainly" $
+    chased
+      "module M ((<+>)) where\nimport qualified No.Such.Module\nimport Text.PrettyPrint\n"
+      `shouldReturn` Just (Fixity LeftAssoc 6)
+
+  it "is not held up by an unread import whose list does not name it" $
+    chased
+      "module M ((<+>)) where\nimport No.Such.Module (first)\nimport Text.PrettyPrint\n"
+      `shouldReturn` Just (Fixity LeftAssoc 6)
+
+  it "is answered by an import that certainly brings it in, though an unread one could have supplied it" $
+    chased
+      "module M ((Disp.<+>)) where\nimport qualified No.Such.Module as Disp\nimport qualified Text.PrettyPrint as Disp\n"
+      `shouldReturn` Just (Fixity LeftAssoc 6)
+
+  it "comes from a T(..) that certainly brings it in, though an unread import could have supplied it" $
+    chased
+      "module M ((Disp.<+>)) where\nimport qualified No.Such.Module as Disp\nimport qualified Text.PrettyPrint as Disp (Doc (..))\n"
+      `shouldReturn` Just (Fixity LeftAssoc 6)
+
+  it "is still not answered when an unread import could have supplied it and none brings it in for certain" $
+    chased
+      "module M ((Disp.<+>)) where\nimport qualified No.Such.Module as Disp\nimport qualified Text.PrettyPrint as Disp (Doc)\n"
+      `shouldReturn` Nothing
+
+  it "comes from the import that decides its type, though an unread one could have supplied the name" $
+    chased
+      "module M (Doc (..)) where\nimport No.Such.Module (T (..))\nimport Text.PrettyPrint\n"
+      `shouldReturn` Just (Fixity LeftAssoc 6)
+
+  it "is still not answered when the import its type comes from does not certainly bring it in" $
+    chased
+      "module M (Doc (..)) where\nimport No.Such.Module (T (..))\nimport Text.PrettyPrint (Doc)\n"
+      `shouldReturn` Nothing
+
+  it "is still not answered when the import its type comes from hides it" $
+    chased
+      "module M (Doc (..)) where\nimport No.Such.Module (T (..))\nimport Text.PrettyPrint hiding ((<+>))\n"
+      `shouldReturn` Nothing
+
+  it "leaves unsettled only what the unread import could have supplied" $ do
+    answer <-
+      chasedModule
+        "module M ((<+>), (<?>)) where\nimport No.Such.Module ((<?>))\nimport Text.PrettyPrint\n"
+    unsettledThrough answer (InTerms, OpName "<?>")
+      `shouldBe` [["No.Such.Module"]]
+    unsettledThrough answer (InTerms, OpName "<+>") `shouldBe` []
+
+  it "leaves the members of a type from an unread module unsettled, but not what it hands on besides" $ do
+    answer <-
+      chasedModule
+        "module M (T (..), (<+>)) where\nimport No.Such.Module\nimport Text.PrettyPrint\n"
+    unsettledThrough answer (InTerms, OpName "anything")
+      `shouldBe` [["No.Such.Module"]]
+    unsettledThrough answer (InTerms, OpName "<+>") `shouldBe` []
+    Map.lookup (InTerms, OpName "<+>") (establishedFixities answer)
+      `shouldBe` Just (Fixity LeftAssoc 6)
+
+  it "is unsettled where nothing but a splice could have declared it" $ do
+    answer <-
+      chasedModule
+        "{-# LANGUAGE TemplateHaskell #-}\nmodule M ((<+>)) where\n$(pure [])\n"
+    unsettledThrough answer (InTerms, OpName "<+>") `shouldBe` [[]]
+
+  it "is unsettled where it may be a member of a type only a splice declares" $ do
+    answer <-
+      chasedModule
+        "{-# LANGUAGE TemplateHaskell #-}\nmodule M (C (..)) where\n$(pure [])\n"
+    unsettledThrough answer (InTerms, OpName "<+>") `shouldBe` [[]]
+
+  it "is unsettled where a module with no export list holds a splice" $ do
+    answer <-
+      chasedModule
+        "{-# LANGUAGE TemplateHaskell #-}\nmodule M where\n$(pure [])\n"
+    unsettledThrough answer (InTerms, OpName "<+>") `shouldBe` [[]]
+
+  it "leaves no record field of a GADT or a pattern synonym unsettled" $ do
+    answer <-
+      chasedModule
+        "{-# LANGUAGE PatternSynonyms #-}\nmodule M (T (..), size, pattern P, px) where\ndata T where\n  T :: {size :: Int} -> T\npattern P {px} = Just px\n"
+    settlesEverything answer `shouldBe` True
+
+  it "comes from a type handed on whole, of which it is a member" $
+    chased "module M (Doc (..)) where\nimport Text.PrettyPrint\n"
+      `shouldReturn` Just (Fixity LeftAssoc 6)
+
+  it "does not come from a type handed on by an import that hides it" $
+    chased
+      "module M (Doc (..)) where\nimport Text.PrettyPrint hiding (Doc (..))\nimport Control.Arrow\n"
+      `shouldReturn` Nothing
+
+  it "comes from a module handed on whole" $
+    chased "module M (module Text.PrettyPrint) where\nimport Text.PrettyPrint\n"
+      `shouldReturn` Just (Fixity LeftAssoc 6)
+
+  it "does not come from a module handed on whole by an import that hides it" $
+    chased
+      "module M (module Text.PrettyPrint) where\nimport Text.PrettyPrint hiding ((<+>))\n"
+      `shouldReturn` Nothing
+
+  it "does not come from a module handed on whole by an import that never names it" $
+    chased
+      "module M (module Text.PrettyPrint) where\nimport Text.PrettyPrint (Doc)\n"
+      `shouldReturn` Nothing
+
+  it "does not come from a module handed on whole by an import that hides a type it is a member of" $
+    chased
+      "module M (module Text.PrettyPrint) where\nimport Text.PrettyPrint hiding (Doc (..))\n"
+      `shouldReturn` Nothing
+
+  it "does not come from a module handed on whole that is imported qualified" $
+    chased "module M (module P) where\nimport qualified Text.PrettyPrint as P\n"
+      `shouldReturn` Nothing
+
+  it "comes from a module handed on whole that is imported qualified and also unqualified" $
+    chased
+      "module M (module P) where\nimport Text.PrettyPrint\nimport qualified Text.PrettyPrint as P\n"
+      `shouldReturn` Just (Fixity LeftAssoc 6)
+
+  it "does not come from a module handed on whole that is imported qualified, where the unqualified import hides it" $
+    chased
+      "module M (module P) where\nimport Text.PrettyPrint hiding ((<+>))\nimport qualified Text.PrettyPrint as P\n"
+      `shouldReturn` Nothing
+
+  it "does not come from a module handed on whole whose qualified import never names it" $
+    chased
+      "module M (module P) where\nimport Text.PrettyPrint\nimport qualified Text.PrettyPrint as P (Doc)\n"
+      `shouldReturn` Nothing
+
+  it "comes from the import under the name handed on that brings it in" $
+    chased
+      "module M (module X) where\nimport Text.PrettyPrint as X hiding ((<+>))\nimport Control.Arrow as X\n"
+      `shouldReturn` Just (Fixity RightAssoc 5)
+
+  it "is not taken from a module handed on whole that hides it, further along"
+    $ withFakeProject
+      [ ("src/Persist.hs", "module Persist ((||.)) where\ninfixl 3 ||.\n(||.) :: Bool -> Bool -> Bool\na ||. b = a || b\n"),
+        ("src/Facade.hs", "module Facade (module Persist) where\nimport Persist hiding ((||.))\n"),
+        ("src/Internal.hs", "module Internal ((||.)) where\ninfixr 2 ||.\n(||.) :: Bool -> Bool -> Bool\na ||. b = a || b\n"),
+        ("src/Top.hs", "module Top ((||.), module Facade) where\nimport Facade\nimport Internal\n")
+      ]
+    $ \rs -> do
+      let orOf m = (Map.lookup (InTerms, OpName "||.") =<<) <$> fixitiesOf rs m
+      orOf "Facade" `shouldReturn` Nothing
+      orOf "Top" `shouldReturn` Just (Fixity RightAssoc 2)
+
+  it
+    "is settled where it is a type an import list names, handed on whole and then by name"
+    $ withFakeProject
+      [ ("src/List.hs", "{-# LANGUAGE TypeFamilies, TypeOperators #-}\nmodule List (type (.++)) where\ntype family a .++ b\n"),
+        ("src/Context.hs", "{-# LANGUAGE TypeFamilies #-}\nmodule Context (module List) where\nimport List (type (.++))\n"),
+        ("src/Server.hs", "{-# LANGUAGE TypeFamilies #-}\nmodule Server (type (.++)) where\nimport Context\n")
+      ]
+    $ \rs -> do
+      server <- askModule rs Nothing (Nothing, "Server")
+      unsettledThrough server (InTypes, OpName ".++") `shouldBe` []
+
+  it
+    "is settled where an import list names it from a module that does not tell it exports it"
+    $ withFakeProject
+      [ ("src/Cursed.hsc", cursed),
+        ("src/Signals.hs", "module Signals (interrupt) where\nimport Cursed (interrupt)\n")
+      ]
+    $ \rs -> do
+      signals <- askModule rs Nothing (Nothing, "Signals")
+      settlesEverything signals `shouldBe` True
+
+-- | What a module written for @hsc2hs@ amounts to, by either route to one.
+--
+-- The fixture is what @hsc2hs@ takes and no compiler does, and it writes a
+-- fixity that the answer is expected to ignore: a module nothing can read
+-- declares nothing, and an answer arrived at by reading the file would
+-- hold the fixity.
+hscModules :: Spec
+hscModules = describe "a module written for hsc2hs" $ do
+  it "declares nothing, where it is one of the project's own" $
+    withFakeProject [("src/Cursed.hsc", cursed)] $
+      \rs -> do
+        askModule rs Nothing (Nothing, "Cursed") `shouldReturn` mempty
+
+  it "declares nothing, where it comes out of a tarball" $
+    withFakeArchive [("Cursed.hsc", cursed)] $
+      \rs -> fixitiesOf rs "Cursed" `shouldReturn` Just Map.empty
+
+literateModules :: Spec
+literateModules = describe "a literate module" $ do
+  it "declares what its code does, where it is one of the project's own" $
+    withFakeProject [("src/Ops.lhs", literate)] $
+      \rs -> fixitiesOf rs "Ops" `shouldReturn` Just plusPlus
+
+  it "declares what its code does, where it comes out of a tarball" $
+    withFakeArchive [("Ops.lhs", literate)] $
+      \rs -> fixitiesOf rs "Ops" `shouldReturn` Just plusPlus
+  where
+    literate =
+      T.unlines
+        [ "Operators.",
+          "",
+          "> module Ops ((|+|)) where",
+          "> infixl 6 |+|",
+          "> (|+|) :: Int -> Int -> Int",
+          "> (|+|) = (+)"
+        ]
+    plusPlus = Map.singleton (InTerms, OpName "|+|") (Fixity LeftAssoc 6)
+
+includingModules :: Spec
+includingModules = describe "a module that includes a file" $ do
+  it "declares what the file does, where it is one of the project's own" $
+    withFakeProject [("src/Ops.hs", including), ("src/Body.hs", body)] $
+      \rs -> fixitiesOf rs "Ops" `shouldReturn` Just plusPlus
+
+  it "declares what the file does, where it comes out of a tarball" $
+    withFakeArchive [("Ops.hs", including), ("Body.hs", body)] $
+      \rs -> fixitiesOf rs "Ops" `shouldReturn` Just plusPlus
+
+  it "may declare anything, where it is one of the project's own" $
+    withFakeProject [("src/Ops.hs", including)] $
+      \rs -> unsettledIn rs "Ops" `shouldReturn` [[]]
+
+  it "may declare anything, where it comes out of a tarball" $
+    withFakeArchive [("Ops.hs", including)] $
+      \rs -> unsettledIn rs "Ops" `shouldReturn` [[]]
+
+  it "may declare anything, where the file is not Haskell"
+    $ withFakeProject
+      [ ("src/Ops.hs", "{-# LANGUAGE CPP #-}\n#include \"Body.inc\"\n"),
+        ("src/Body.inc", body)
+      ]
+    $ \rs -> unsettledIn rs "Ops" `shouldReturn` [[]]
+
+  it
+    "declares what it shows, where the plan rules out the branch that includes it"
+    $ withFakeProject
+      [ ( "src/Ops.hs",
+          "{-# LANGUAGE CPP #-}\nmodule Ops where\n#if 0\n#include \"Body.h\"\n#endif\n"
+        )
+      ]
+    $ \rs -> unsettledIn rs "Ops" `shouldReturn` []
+  where
+    including = "{-# LANGUAGE CPP #-}\n#include \"Body.hs\"\n"
+    body =
+      T.unlines
+        [ "module Ops ((|+|)) where",
+          "infixr 5 |+|",
+          "(|+|) :: Int -> Int -> Int",
+          "(|+|) = (+)"
+        ]
+    plusPlus = Map.singleton (InTerms, OpName "|+|") (Fixity RightAssoc 5)
+    unsettledIn rs modName =
+      (`unsettledThrough` (InTerms, OpName "|+|"))
+        <$> askModule rs Nothing (Nothing, modName)
+
+-- | Where a package fetched from a repository is looked for.
+repositories :: Spec
+repositories = describe "a package fetched from a repository" $ do
+  it "finds one Hackage downloaded"
+    $ withCache
+      [("hackage.haskell.org", "thing", "1.0")]
+      ( fromRepository
+          "{\"type\":\"secure-repo\",\"uri\":\"http://hackage.haskell.org/\"}"
+      )
+    $ \found -> found `shouldSatisfy` isUnder "hackage.haskell.org"
+
+  it "finds one a private repository downloaded, named after its host"
+    $ withCache
+      [("packages.example.com", "thing", "1.0")]
+      ( fromRepository
+          "{\"type\":\"secure-repo\",\"uri\":\"https://packages.example.com/\"}"
+      )
+    $ \found -> found `shouldSatisfy` isUnder "packages.example.com"
+
+  it "finds one whose directory is not named after its host"
+    $ withCache
+      [("my-company", "thing", "1.0")]
+      ( fromRepository
+          "{\"type\":\"secure-repo\",\"uri\":\"https://packages.example.com/\"}"
+      )
+    $ \found -> found `shouldSatisfy` isUnder "my-company"
+
+  it "leaves a file+noindex repository's tarballs where they are" $
+    withSystemTempDirectory "tilia-noindex" $ \repo -> do
+      writeUtf8File (repo </> "thing-1.0.tar.gz") "not really a tarball"
+      withCache
+        []
+        ( fromRepository
+            ( "{\"type\":\"local-repo-no-index\",\"path\":\""
+                <> T.pack repo
+                <> "\"}"
+            )
+        )
+        $ \found -> found `shouldBe` (repo </> "thing-1.0.tar.gz")
+
+  it "says where its own repository would put one nothing has downloaded" $
+    withCache [] (fromRepository "{\"type\":\"secure-repo\",\"uri\":\"https://packages.example.com/\"}") $
+      \found -> found `shouldSatisfy` isUnder "packages.example.com"
+
+  it "falls back on Hackage for a plan that names no repository at all" $
+    withCache [("hackage.haskell.org", "thing", "1.0")] planWithoutARepository $
+      \found -> found `shouldSatisfy` isUnder "hackage.haskell.org"
+
+-- | Is the tarball under this repository's directory of the cache?
+isUnder :: FilePath -> FilePath -> Bool
+isUnder repo path = ("/" <> repo <> "/") `Data.List.isInfixOf` path
+
+-- | Where the package cache is looked for.
+--
+-- @cabal@ answers this differently on each platform and has answered it two
+-- ways on this one, so the rule is to look everywhere it could be and take
+-- whichever place holds an index. These drive the search by moving the
+-- directories it derives from, which on Unix are these two variables.
+packageCache :: Spec
+packageCache = describe "where the package cache is looked for" $ do
+  -- Whatever cabal says it is. Checked against cabal rather than against a
+  -- path spelled out here, because the whole point of asking is that this
+  -- suite cannot know what the answer should be on somebody else's
+  -- machine—and did not, on Windows.
+  it "is the directory cabal reports" $ do
+    said <- readProgramOutput "cabal" ["path", "--remote-repo-cache"]
+    case said of
+      Nothing -> expectationFailure "no cabal on the path to ask"
+      Just reported ->
+        packageCacheRoot "." `shouldReturn` T.unpack (T.strip reported)
+
+  it "is the one the project's own configuration names" $
+    withSystemTempDirectory "tilia-own-cache" $ \dir -> do
+      writeUtf8File (dir </> "cabal.project") . T.pack $
+        "packages: .\nremote-repo-cache: " <> (dir </> "packages") <> "\n"
+      writeUtf8File (dir </> "thing.cabal") $
+        "cabal-version: 3.0\nname: thing\nversion: 1.0\n\nlibrary\n"
+      packageCacheRoot dir `shouldReturn` (dir </> "packages")
+
+  describe "and where it is guessed, for a cabal too old to ask" $ do
+    it "is what CABAL_DIR says, above all else" $
+      withSystemTempDirectory "tilia-cabal-dir" $ \dir ->
+        withEnvironment [("CABAL_DIR", dir)] $
+          guessedPackageCacheRoot `shouldReturn` (dir </> "packages")
+
+    it "is the XDG cache where the index is there" $
+      withLayouts $ \xdg _ -> do
+        withIndexIn xdg
+        guessedPackageCacheRoot `shouldReturn` xdg
+
+    it "is still the old directory where the index is there instead" $
+      withLayouts $ \_ legacy -> do
+        withIndexIn legacy
+        guessedPackageCacheRoot `shouldReturn` legacy
+
+    it "is the platform's own default where there is no index anywhere" $
+      withLayouts $
+        \xdg _ -> guessedPackageCacheRoot `shouldReturn` xdg
+
+  describe "and where it was remembered" $ do
+    it "is not asked again where the plan's tarballs are there" $
+      withRemembered True $ \root asked found -> do
+        asked `shouldBe` []
+        found
+          `shouldBe` [root </> "hackage.haskell.org/thing/1.0/thing-1.0.tar.gz"]
+
+    it "is not asked again where a tarball of the plan is not there" $
+      withRemembered False $ \_ asked _ ->
+        asked `shouldBe` []
+
+    it "is asked again where a fetch leaves a tarball of the plan missing" $
+      afterFetching (\_ -> pure ()) `shouldReturn` ["path"]
+
+    it "is not asked again where a fetch brings the plan's tarballs in" $
+      afterFetching
+        ( \root -> do
+            let at = root </> "hackage.haskell.org/tilia-phantom/9.9.9"
+            createDirectoryIfMissing True at
+            writeUtf8File (at </> "tilia-phantom-9.9.9.tar.gz") "not really"
+        )
+        `shouldReturn` []
+
+-- | Find the tarballs of a plan wanting one package from Hackage, where the
+-- package cache was remembered to be a directory of its own, holding the
+-- tarball or not, and hand over the directory, the commands the stand-in
+-- for @cabal@ was given, and where each tarball was found.
+withRemembered ::
+  Bool ->
+  (FilePath -> [String] -> [FilePath] -> Expectation) ->
+  Expectation
+withRemembered holding act =
+  withSystemTempDirectory "tilia-remembered" $ \root -> do
+    let at = root </> "hackage.haskell.org" </> "thing" </> "1.0"
+    when holding $ do
+      createDirectoryIfMissing True at
+      writeUtf8File (at </> "thing-1.0.tar.gz") "not really a tarball"
+    cache <- openCache (Do #useCache) (PlanToken (T.pack (takeBaseName root)))
+    withTempProject (Just (fromRepository hackage)) $ \dir -> do
+      storePackageCache cache dir root
+      readBuildPlan (planPathFor dir) >>= \case
+        Left why -> expectationFailure (T.unpack why)
+        Right plan -> do
+          (asked, found) <- runsCabal (plannedTarballs cache dir plan)
+          act root asked (fmap snd found)
+  where
+    hackage =
+      "{\"type\":\"secure-repo\",\"uri\":\"https://hackage.haskell.org/\"}"
+
+-- | The commands the stand-in for @cabal@ is given while a project short of
+-- a tarball fetches it, the package cache remembered to be a directory of
+-- its own, which the fetch does what is given to.
+afterFetching :: (FilePath -> IO ()) -> IO [String]
+afterFetching fetched =
+  withSystemTempDirectory "tilia-remembered" $ \root ->
+    withEnvironment [("XDG_CACHE_HOME", root </> "cache")] $
+      withTempProject (Just wantingATarball) $ \dir -> do
+        Right plan <- readBuildPlan (planPathFor dir)
+        cache <- openCache (Do #useCache) =<< tokenForBuildPlan plan
+        storePackageCache cache dir root
+        let cabal args = Right () <$ when (args == fetching) (fetched root)
+            short = SourcesMissing ["tilia-phantom"]
+        fst <$> runsCabal (prepareWith cabal undiscoveredFutility [] dir short)
+
+-- | A plan handed over to be taken as it is.
+givenPlans :: Spec
+givenPlans = describe "a plan trusted as up to date" $ do
+  it "says which plan is not there, once" $
+    withGivenPlan [] $ \project _ ->
+      readGivenPlan project "nowhere.json"
+        `shouldReturn` Left "nowhere.json does not exist"
+
+  it "says which plan does not parse" $
+    withGivenPlan [] $ \project _ -> do
+      let planFile = project </> "bad.json"
+          unparsed = T.pack planFile <> " does not parse: "
+      writeUtf8File planFile "{\"compiler-id\": 3}"
+      readGivenPlan project planFile >>= \case
+        Left why -> why `shouldSatisfy` T.isPrefixOf unparsed
+        Right _ -> expectationFailure "a plan that does not parse was read"
+
+  it "finds a local package it names relatively under the project" $
+    withGivenPlan [] $ \project planFile ->
+      readGivenPlan project planFile >>= \case
+        Left why -> expectationFailure (T.unpack why)
+        Right plan -> do
+          resolver <- routedResolver [FromInterface] plan
+          fixities <- fixitiesOf resolver "Ops"
+          (Map.lookup (InTerms, OpName "<+>") =<< fixities)
+            `shouldBe` Just (Fixity LeftAssoc 6)
+
+  it "fetches nothing where every dependency is installed" $ do
+    installed <- installedPackages <$> readInstalledPackages
+    case installed of
+      [] -> expectationFailure "nothing installed where this runs"
+      p : _ ->
+        withGivenPlan [dependency (ipName p) (ipVersion p)] $ \project planFile ->
+          filter (== "fetch") . fst <$> runsCabal (fetchingFor project planFile)
+            `shouldReturn` []
+
+  it "fetches what is not installed, all in one go" $
+    withGivenPlan [unavailable, dependency "tilia-nowhere-either" "1.0"] $ \project planFile ->
+      filter (== "fetch") . fst <$> runsCabal (fetchingFor project planFile)
+        `shouldReturn` ["fetch"]
+
+  it "does not fetch again what fetching did not bring in" $
+    withGivenPlan [unavailable] $ \project planFile -> do
+      let succeeding = fmap fst . runsCabalWith "exit 0" . fetchingFor project
+      succeeding planFile `shouldReturn` ["path", "fetch", "path"]
+      succeeding planFile `shouldReturn` []
+
+  it "runs no cabal where it reads interfaces alone, whatever it is asked" $
+    withGivenPlan [unavailable] $ \project planFile ->
+      fst
+        <$> runsCabal
+          ( readGivenPlan project planFile >>= \case
+              Left why -> expectationFailure (T.unpack why)
+              Right plan -> do
+                resolver <- routedResolver [FromInterface] plan
+                traverse_ (fixitiesOf resolver) ["Ops", "Nowhere.At.All"]
+          )
+        `shouldReturn` []
+  where
+    fetchingFor project planFile =
+      readGivenPlan project planFile
+        >>= traverse_ (fetchUninstalled (Do #useCache) project)
+    unavailable = dependency "tilia-nowhere-installed" "1.0"
+    dependency name version =
+      "{\"type\":\"configured\",\"pkg-name\":\""
+        <> name
+        <> "\",\"pkg-version\":\""
+        <> version
+        <> "\",\"pkg-src\":{\"type\":\"repo-tar\",\"repo\":\
+           \{\"type\":\"secure-repo\",\"uri\":\"http://hackage.haskell.org/\"}}}"
+
+-- | 'withOpsProject' with the other entries of the plan given, and a cache
+-- of its own.
+withGivenPlan :: [Text] -> (FilePath -> FilePath -> Expectation) -> Expectation
+withGivenPlan others act =
+  withOpsProject [] others $ \project planFile ->
+    withEnvironment
+      [("XDG_CACHE_HOME", takeDirectory project </> "cache")]
+      (act project planFile)
+
+-- | The @cabal@ commands something runs, as told by a stand-in put first
+-- on the path that fails, and what it came to.
+runsCabal :: IO a -> IO ([String], a)
+runsCabal = runsCabalWith "exit 1"
+
+-- | 'runsCabal', with the stand-in going on to run the shell commands
+-- given.
+runsCabalWith :: String -> IO a -> IO ([String], a)
+runsCabalWith script act
+  | System.Info.os == "mingw32" =
+      expectationFailure
+        "the stand-in for cabal is a shell script, which does not run on Windows"
+        >> (,) [] <$> act
+  | otherwise =
+      withSystemTempDirectory "tilia-cabal" $ \bin -> do
+        let stand = bin </> "cabal"
+            commandLog = bin </> "commands"
+        writeFile stand $
+          "#!/bin/sh\necho \"$1\" >> '"
+            <> commandLog
+            <> "'\n"
+            <> script
+            <> "\n"
+        setPermissions stand . setOwnerExecutable True =<< getPermissions stand
+        path <- maybe "" (searchPathSeparator :) <$> lookupEnv "PATH"
+        answer <- withEnvironment [("PATH", bin <> path)] act
+        ran <- doesFileExist commandLog
+        commands <- if ran then lines <$> readFile commandLog else pure []
+        pure (commands, answer)
+
+-- | Run something against a home and an XDG cache directory of its own,
+-- handing it both of the places a cache could then be in.
+withLayouts :: (FilePath -> FilePath -> Expectation) -> Expectation
+withLayouts act =
+  withSystemTempDirectory "tilia-home" $ \home ->
+    withSystemTempDirectory "tilia-xdg" $ \cache ->
+      withEnvironment [("HOME", home), ("XDG_CACHE_HOME", cache)] $
+        bracket
+          (lookupEnv "CABAL_DIR" <* unsetEnv "CABAL_DIR")
+          (traverse_ (setEnv "CABAL_DIR"))
+          ( const
+              ( act
+                  (cache </> "cabal" </> "packages")
+                  (home </> ".cabal" </> "packages")
+              )
+          )
+
+-- | Put a Hackage index where a cache directory would have one.
+withIndexIn :: FilePath -> IO ()
+withIndexIn root = do
+  createDirectoryIfMissing True (root </> "hackage.haskell.org")
+  writeUtf8File (root </> "hackage.haskell.org" </> "01-index.tar") ""
+
+-- | Run something on where @plannedTarballs@ looked, against a package
+-- cache holding the entries given.
+withCache ::
+  -- | Repository directory, package, version — one per cached tarball.
+  [(FilePath, Text, Text)] ->
+  -- | The plan to read it against.
+  Text ->
+  -- | What to run on where it looked.
+  (FilePath -> Expectation) ->
+  Expectation
+withCache cached planText act =
+  withSystemTempDirectory "tilia-cabal" $ \cabalDir -> do
+    traverse_ (put cabalDir) cached
+    createDirectoryIfMissing True (cabalDir </> "packages")
+    withEnvironment [("CABAL_DIR", cabalDir)] $
+      withSystemTempDirectory "tilia-repo-plan" $ \dir -> do
+        createDirectoryIfMissing True (takeDirectory (planPathFor dir))
+        writeUtf8File (planPathFor dir) planText
+        readBuildPlan (planPathFor dir) >>= \case
+          Left why -> expectationFailure (T.unpack why)
+          Right plan -> do
+            cache <- openCache (Don't #useCache) (PlanToken "")
+            plannedTarballs cache dir plan >>= \case
+              [(_, found)] -> act found
+              other -> expectationFailure (show (fmap snd other))
+  where
+    put cabalDir (repo, held, version) = do
+      let at =
+            cabalDir
+              </> "packages"
+              </> repo
+              </> T.unpack held
+              </> T.unpack version
+      createDirectoryIfMissing True at
+      writeUtf8File
+        (at </> T.unpack (held <> "-" <> version <> ".tar.gz"))
+        "not really a tarball"
+
+-- | A plan naming one package fetched from the repository described.
+fromRepository :: Text -> Text
+fromRepository repo =
+  "{\"compiler-id\":\"ghc-0.0\",\"install-plan\":\
+  \[{\"pkg-name\":\"thing\",\"pkg-version\":\"1.0\",\
+  \\"pkg-src\":{\"type\":\"repo-tar\",\"repo\":"
+    <> repo
+    <> "}}]}"
+
+-- | The same, as an older @cabal@ wrote it: a tarball and no more.
+planWithoutARepository :: Text
+planWithoutARepository =
+  "{\"compiler-id\":\"ghc-0.0\",\"install-plan\":\
+  \[{\"pkg-name\":\"thing\",\"pkg-version\":\"1.0\",\
+  \\"pkg-src\":{\"type\":\"repo-tar\"}}]}"
+
+-- | A dependency that arrived as a @source-repository-package@.
+--
+-- @cabal@ clones one into the project's own @dist-newstyle@ and says
+-- nothing in the plan about where, so the whole question is whether the
+-- clone is found. Once it is, it is a directory of sources like any other
+-- and nothing below here is new.
+gitDependencies :: Spec
+gitDependencies = describe "a dependency that arrived as a git checkout" $ do
+  it "finds where cabal unpacked it" $
+    withFakeCheckout [("thing-2a9f", "1.0")] $ \dir ->
+      sourcesOf dir
+        `shouldReturn` [ CheckedOut
+                           (dir </> "dist-newstyle" </> "src" </> "thing-2a9f")
+                       ]
+
+  it "leaves one alone that cabal has not unpacked yet" $
+    withFakeCheckout [] $
+      \dir -> sourcesOf dir `shouldReturn` [SourceRepo]
+
+  it "passes over the clone of a revision that has been moved on from" $
+    withFakeCheckout [("thing-0000", "0.9"), ("thing-ffff", "1.0")] $ \dir ->
+      sourcesOf dir
+        `shouldReturn` [ CheckedOut
+                           (dir </> "dist-newstyle" </> "src" </> "thing-ffff")
+                       ]
+
+  it "passes over a directory named for another package" $
+    withFakeCheckout [("other-2a9f", "1.0")] $ \dir ->
+      sourcesOf dir `shouldReturn` [SourceRepo]
+
+  it "reads a module out of it, fixity and all" $
+    withFakeCheckout [("thing-2a9f", "1.0")] $ \dir -> do
+      plan <- readBuildPlan (planPathFor dir)
+      case plan of
+        Left why -> expectationFailure (T.unpack why)
+        Right p -> do
+          rs <- newResolver p
+          fixitiesOf rs "Private.Ops"
+            >>= ( `shouldBe`
+                    Just
+                      ( Map.singleton
+                          (InTerms, OpName "<+>")
+                          (Fixity RightAssoc 3)
+                      )
+                )
+
+-- | What the plan says each of its packages came from.
+sourcesOf :: FilePath -> IO [PackageSource]
+sourcesOf dir =
+  readBuildPlan (planPathFor dir) >>= \case
+    Left why -> error (T.unpack why)
+    Right plan -> pure (fmap ppSource (bpPackages plan))
+
+-- | A project whose one dependency is a @source-repository-package@, with
+-- the clones given unpacked where @cabal@ unpacks them.
+--
+-- Each clone is a directory name and the version its @.cabal@ file claims,
+-- because telling one clone from another is the whole of the work.
+withFakeCheckout :: [(FilePath, Text)] -> (FilePath -> IO a) -> IO a
+withFakeCheckout clones act =
+  withSystemTempDirectory "tilia-checkout" $ \dir -> do
+    createDirectoryIfMissing True (takeDirectory (planPathFor dir))
+    writeUtf8File (planPathFor dir) fromAGitRepository
+    traverse_ (unpack dir) clones
+    withEnvironment [("XDG_CACHE_HOME", dir </> "cache")] (act dir)
+  where
+    unpack dir (named, version) = do
+      let at = dir </> "dist-newstyle" </> "src" </> named
+          belongsTo = takeWhile (/= '-') named
+      createDirectoryIfMissing True (at </> "src" </> "Private")
+      writeUtf8File
+        (at </> belongsTo <> ".cabal")
+        (describing (T.pack belongsTo) version)
+      writeUtf8File (at </> "src" </> "Private" </> "Ops.hs") privateOps
+    describing named' version =
+      T.unlines
+        [ "cabal-version: 2.4",
+          "name: " <> named',
+          "version: " <> version,
+          "library",
+          "  exposed-modules: Private.Ops",
+          "  hs-source-dirs: src",
+          "  default-language: Haskell2010"
+        ]
+
+-- | A plan naming one package that came out of a git repository.
+fromAGitRepository :: Text
+fromAGitRepository =
+  "{\"compiler-id\":\"ghc-0.0\",\"install-plan\":\
+  \[{\"pkg-name\":\"thing\",\"pkg-version\":\"1.0\",\
+  \\"pkg-src\":{\"type\":\"source-repo\",\
+  \\"source-repo\":{\"type\":\"git\",\"location\":\"git://example/thing\"}}}]}"
+
+-- | A module of that package, declaring something worth resolving.
+privateOps :: Text
+privateOps =
+  T.unlines
+    [ "module Private.Ops ((<+>)) where",
+      "infixr 3 <+>",
+      "(<+>) :: Int -> Int -> Int",
+      "a <+> b = a + b"
+    ]
+
+-- | The modules @cabal@ writes, which no package carries a file for.
+generatedModuleSpec :: Spec
+generatedModuleSpec = describe "a module cabal generates" $ do
+  it "declares nothing, rather than being one we could not read" $
+    withFakeProject [("src/M.hs", "module M where\nimport Paths_fake\n")] $
+      \rs -> fixitiesOf rs "Paths_fake" `shouldReturn` Just Map.empty
+
+  it "answers for the newer one cabal writes beside it" $
+    withFakeProject [("src/M.hs", "module M where\n")] $
+      \rs -> fixitiesOf rs "PackageInfo_fake" `shouldReturn` Just Map.empty
+
+  it "says nothing about a package the plan does not hold" $
+    withFakeProject [("src/M.hs", "module M where\n")] $
+      \rs -> fixitiesOf rs "Paths_not_a_package" `shouldReturn` Nothing
+
+  it "lets a module that imports one be read"
+    $ withFakeProject
+      [ ( "src/Facade.hs",
+          "module Facade ((<+>)) where\nimport Paths_fake\nimport Inner\n"
+        ),
+        ("src/Inner.hs", "module Inner ((<+>)) where\ninfixr 5 <+>\na <+> b = a\n")
+      ]
+    $ \rs ->
+      fixitiesOf rs "Facade"
+        >>= ( `shouldBe`
+                Just
+                  (Map.singleton (InTerms, OpName "<+>") (Fixity RightAssoc 5))
+            )
+
+  it "reads one somebody wrote by hand rather than assuming"
+    $ withFakeProject
+      [ ( "src/Paths_fake.hs",
+          "module Paths_fake ((<+>)) where\ninfixr 5 <+>\na <+> b = a\n"
+        )
+      ]
+    $ \rs ->
+      fixitiesOf rs "Paths_fake"
+        >>= ( `shouldBe`
+                Just
+                  (Map.singleton (InTerms, OpName "<+>") (Fixity RightAssoc 5))
+            )
+
+-- | Modules asked about from several threads at once.
+askedAtOnce :: Spec
+askedAtOnce = describe "modules asked about from several threads at once" $
+  it "answers for every module of a ring that hands itself on" $
+    withFakePlan [("src/" <> T.unpack (ringModule i) <> ".hs", ringSource i) | i <- [0 .. ringSize - 1]] $ \plan ->
+      forM_ [1 :: Int .. 50] $ \_ -> do
+        resolver <- routedResolver [FromInterface] plan
+        answers <-
+          timeout 30000000 $
+            inParallel (fixitiesOf resolver . ringModule) [0 .. ringSize - 1]
+        case answers of
+          Nothing -> expectationFailure "the threads waited for one another"
+          Just found ->
+            forM_ (zip [0 ..] found) $ \(i, fixities) ->
+              (Map.lookup (InTerms, ringOperator i) =<< fixities)
+                `shouldBe` Just (Fixity RightAssoc (i `mod` 10))
+
+-- | A resolver over interfaces handed to it, as an editor that has compiled
+-- the project holds them.
+givenInterfaces :: Spec
+givenInterfaces = describe "a resolver over the interfaces it is given" $ do
+  it "reads a module's own fixities" $ do
+    resolver <- newResolverFrom given
+    fixitiesOf resolver "Ops" `shouldReturn` Just plus
+
+  it "reads a fixity a module passes on where it is declared" $ do
+    resolver <- newResolverFrom given
+    fixitiesOf resolver "Facade" `shouldReturn` Just plus
+
+  it "says nothing about a module it is not given" $ do
+    resolver <- newResolverFrom given
+    fixitiesOf resolver "Nowhere" `shouldReturn` Nothing
+
+  it "says nothing about a module given an interface of another" $ do
+    resolver <- newResolverFrom (\_ -> given "Ops")
+    fixitiesOf resolver "Facade" `shouldReturn` Nothing
+
+  it "gives no fixity of a class to a module passing on its methods" $ do
+    resolver <- newResolverFrom given
+    fixitiesOf resolver "Methods" `shouldReturn` Just Map.empty
+
+  it "copies a fixity passed on in the namespace it is passed on in" $ do
+    resolver <- newResolverFrom given
+    fixitiesOf resolver "Terms"
+      `shouldReturn` Just
+        (Map.singleton (InTerms, OpName "+++") (Fixity RightAssoc 5))
+  where
+    plus = Map.singleton (InTerms, OpName "<+>") (Fixity RightAssoc 5)
+    given m = pure (Map.lookup m interfaces)
+    interfaces =
+      Map.fromList
+        [ ( "Ops",
+            HiFile
+              { hiModule = "Ops",
+                hiExports = [Avail (HiName "Ops" InTerms (OpName "<+>"))],
+                hiFixities = [(InTerms, OpName "<+>", Fixity RightAssoc 5)]
+              }
+          ),
+          ( "Facade",
+            HiFile
+              { hiModule = "Facade",
+                hiExports = [Avail (HiName "Ops" InTerms (OpName "<+>"))],
+                hiFixities = []
+              }
+          ),
+          ( "Classes",
+            HiFile
+              { hiModule = "Classes",
+                hiExports =
+                  [ AvailTC
+                      (inClasses InTypes ":<:")
+                      [inClasses InTypes ":<:", inClasses InTerms "inj"]
+                  ],
+                hiFixities = [(InTypes, OpName ":<:", Fixity RightAssoc 4)]
+              }
+          ),
+          ( "Methods",
+            HiFile
+              { hiModule = "Methods",
+                hiExports =
+                  [AvailTC (inClasses InTypes ":<:") [inClasses InTerms "inj"]],
+                hiFixities = []
+              }
+          ),
+          ( "Both",
+            HiFile
+              { hiModule = "Both",
+                hiExports =
+                  [ Avail (inBoth InTerms "+++"),
+                    AvailTC (inBoth InTypes "+++") [inBoth InTypes "+++"]
+                  ],
+                hiFixities =
+                  [ (InTerms, OpName "+++", Fixity RightAssoc 5),
+                    (InTypes, OpName "+++", Fixity LeftAssoc 6)
+                  ]
+              }
+          ),
+          ( "Terms",
+            HiFile
+              { hiModule = "Terms",
+                hiExports = [Avail (inBoth InTerms "+++")],
+                hiFixities = []
+              }
+          )
+        ]
+    inClasses namespace = HiName "Classes" namespace . OpName
+    inBoth namespace = HiName "Both" namespace . OpName
+
+-- | A module of the project's own, which an earlier run has read.
+readBefore :: Spec
+readBefore = describe "a module of the project's own, read by an earlier run" $ do
+  it "is answered for as before while its text stays the same" $
+    withFakePlan [("src/Ops.hs", declaring "infixl 6")] $ \plan -> do
+      _ <- newResolver plan >>= (`fixitiesOf` "Ops")
+      newResolver plan
+        >>= (`fixitiesOf` "Ops")
+        >>= ( `shouldBe`
+                Just
+                  (Map.singleton (InTerms, OpName "<+>") (Fixity LeftAssoc 6))
+            )
+
+  it "is read again once its text has changed" $
+    withFakePlan [("src/Ops.hs", declaring "infixl 6")] $ \plan -> do
+      _ <- newResolver plan >>= (`fixitiesOf` "Ops")
+      for_ (localDirsOf plan) $ \dir ->
+        writeUtf8File (dir </> "src" </> "Ops.hs") (declaring "infixr 2")
+      newResolver plan
+        >>= (`fixitiesOf` "Ops")
+        >>= ( `shouldBe`
+                Just
+                  (Map.singleton (InTerms, OpName "<+>") (Fixity RightAssoc 2))
+            )
+  where
+    declaring fixity =
+      T.unlines
+        [ "module Ops ((<+>)) where",
+          fixity <> " <+>",
+          "(<+>) :: Int -> Int -> Int",
+          "a <+> b = a + b"
+        ]
+    localDirsOf plan =
+      [dir | LocalPackage dir <- fmap ppSource (bpPackages plan)]
+
+-- | A module another component of the package names alike, as GHC finds it
+-- for each of them.
+namedAlike :: Spec
+namedAlike = describe "a module another component names alike" $ do
+  it "is the one of the component importing it" $
+    withFakePlan components $ \plan -> do
+      fixityFrom plan ("tests" </> "Main.hs") "Utils" "<+>"
+        `shouldReturn` Just (Fixity RightAssoc 5)
+      fixityFrom plan "Lib.hs" "Utils" "<+>"
+        `shouldReturn` Just (Fixity LeftAssoc 6)
+
+  it "is a dependency's for a component that does not hold it" $
+    withFakePlan components $ \plan ->
+      fixityFrom plan "Lib.hs" "Data.Function" "&"
+        `shouldReturn` Just (Fixity LeftAssoc 1)
+
+  it "is the one of a component sharing the importer's directory" $
+    withFakePlan components $ \plan ->
+      fixityFrom plan ("app" </> "Other.hs") "Data.Function" "&"
+        `shouldReturn` Just (Fixity RightAssoc 0)
+
+  it "is the named package's, where the project holds one of its name" $
+    withFakePlan wrapping $ \plan ->
+      fixityFrom plan "Lib.hs" "Data.Function" "&"
+        `shouldReturn` Just (Fixity LeftAssoc 1)
+
+  it "is the one a name the component's mixins give stands for" $
+    withFakePlan renaming $ \plan ->
+      fixityFrom plan "Lib.hs" "Fn" "&"
+        `shouldReturn` Just (Fixity LeftAssoc 1)
+
+  it "is the project's own, where the mixins give its module a name" $
+    withFakePlan renamingOwn $ \plan -> do
+      fixityFrom plan "Lib.hs" "Prelude" "&"
+        `shouldReturn` Just (Fixity RightAssoc 0)
+      fixityFrom plan ("tests" </> "Main.hs") "Fn" "&"
+        `shouldReturn` Just (Fixity RightAssoc 0)
+
+  it "is not one only a branch the build leaves out declares" $
+    withFakePlan branched $ \plan ->
+      fixityFrom plan "Lib.hs" "Data.Function" "&"
+        `shouldReturn` Just (Fixity LeftAssoc 1)
+
+  it "is one a branch the build leaves out declares, for a file of it" $
+    withFakePlan branched $ \plan ->
+      fixityFrom plan ("old" </> "Compat.hs") "Data.Function" "&"
+        `shouldReturn` Just (Fixity RightAssoc 0)
+  where
+    fixityFrom plan file modName op = do
+      rs <- newResolver plan
+      importer <-
+        traverse
+          canonicalizePath
+          [dir </> file | LocalPackage dir <- fmap ppSource (bpPackages plan)]
+      Map.lookup (InTerms, OpName op) . establishedFixities
+        <$> askModule rs (listToMaybe importer) (Nothing, modName)
+    components =
+      [ ( "fake.cabal",
+          T.unlines
+            [ "cabal-version: 2.4",
+              "name: fake",
+              "version: 0.1.0.0",
+              "library",
+              "  exposed-modules: Lib, Utils",
+              "  default-language: Haskell2010",
+              "test-suite tests",
+              "  type: exitcode-stdio-1.0",
+              "  main-is: Main.hs",
+              "  other-modules: Utils",
+              "  hs-source-dirs: tests",
+              "  default-language: Haskell2010",
+              "executable other",
+              "  main-is: Other.hs",
+              "  hs-source-dirs: app",
+              "  default-language: Haskell2010",
+              "executable app",
+              "  main-is: Main.hs",
+              "  other-modules: Data.Function",
+              "  hs-source-dirs: app",
+              "  default-language: Haskell2010"
+            ]
+        ),
+        ("Lib.hs", "module Lib () where\nimport Utils ()\n"),
+        ("Utils.hs", utils "infixl 6"),
+        ("tests/Main.hs", "module Main (main) where\nimport Utils ()\n"),
+        ("tests/Utils.hs", utils "infixr 5"),
+        ( "app/Data/Function.hs",
+          "module Data.Function ((&)) where\ninfixr 0 &\n\
+          \(&) :: a -> (a -> b) -> b\nx & f = f x\n"
+        )
+      ]
+    wrapping =
+      [ ( "fake.cabal",
+          T.unlines
+            [ "cabal-version: 2.4",
+              "name: fake",
+              "version: 0.1.0.0",
+              "library",
+              "  exposed-modules: Lib, Data.Function",
+              "  default-language: Haskell2010"
+            ]
+        ),
+        ("Lib.hs", "module Lib () where\nimport Data.Function ()\n"),
+        ( "Data/Function.hs",
+          "{-# LANGUAGE PackageImports #-}\n\
+          \module Data.Function (module F) where\n\
+          \import \"base\" Data.Function as F\n"
+        )
+      ]
+    renaming =
+      [ ( "fake.cabal",
+          T.unlines
+            [ "cabal-version: 2.4",
+              "name: fake",
+              "version: 0.1.0.0",
+              "library",
+              "  exposed-modules: Lib",
+              "  build-depends: base",
+              "  mixins: base (Data.Function as Fn), base",
+              "  default-language: Haskell2010"
+            ]
+        ),
+        ("Lib.hs", "module Lib () where\nimport Fn ()\n")
+      ]
+    renamingOwn =
+      [ ( "fake.cabal",
+          T.unlines
+            [ "cabal-version: 3.4",
+              "name: fake",
+              "version: 0.1.0.0",
+              "library pre",
+              "  exposed-modules: Pre",
+              "  hs-source-dirs: pre",
+              "  default-language: Haskell2010",
+              "library",
+              "  exposed-modules: Lib",
+              "  build-depends: base, fake:pre",
+              "  mixins: base hiding (Prelude), fake:pre (Pre as Prelude)",
+              "  default-language: Haskell2010",
+              "test-suite tests",
+              "  type: exitcode-stdio-1.0",
+              "  main-is: Main.hs",
+              "  build-depends: base, fake",
+              "  mixins: base, fake (Lib as Fn)",
+              "  hs-source-dirs: tests",
+              "  default-language: Haskell2010"
+            ]
+        ),
+        ("Lib.hs", "module Lib ((&)) where\nimport Prelude ((&))\n"),
+        ( "pre/Pre.hs",
+          "module Pre ((&)) where\ninfixr 0 &\n\
+          \(&) :: a -> (a -> b) -> b\nx & f = f x\n"
+        ),
+        ("tests/Main.hs", "module Main (main) where\nimport Fn ()\n")
+      ]
+    branched =
+      [ ( "fake.cabal",
+          T.unlines
+            [ "cabal-version: 2.4",
+              "name: fake",
+              "version: 0.1.0.0",
+              "flag old",
+              "  default: False",
+              "  manual: True",
+              "library",
+              "  exposed-modules: Lib",
+              "  default-language: Haskell2010",
+              "  if flag(old)",
+              "    hs-source-dirs: old",
+              "    other-modules: Compat, Data.Function"
+            ]
+        ),
+        ("Lib.hs", "module Lib () where\nimport Data.Function ()\n"),
+        ("old/Compat.hs", "module Compat () where\nimport Data.Function ()\n"),
+        ( "old/Data/Function.hs",
+          "module Data.Function ((&)) where\ninfixr 0 &\n\
+          \(&) :: a -> (a -> b) -> b\nx & f = f x\n"
+        )
+      ]
+    utils fixity =
+      T.unlines
+        [ "module Utils ((<+>)) where",
+          fixity <> " <+>",
+          "(<+>) :: Int -> Int -> Int",
+          "a <+> b = a + b"
+        ]
+
+-- | Modules an import finds among the packages of the plan.
+heldByThePlan :: Spec
+heldByThePlan = describe "a module of a package of the plan" $ do
+  it "is base's Prelude for a dependency, where the project has its own"
+    $ withPackages
+      [ ("fake.cabal", library "fake" "0.1.0.0" ["M"] ["Prelude"]),
+        ("M.hs", "module M where\nimport Dep ((<$>))\n"),
+        ( "Prelude.hs",
+          "{-# LANGUAGE PackageImports #-}\n\
+          \module Prelude (module P) where\n\
+          \import \"base\" Prelude as P hiding ((<$>))\n"
+        )
+      ]
+      [ ( "dep",
+          "1.0",
+          [ ("dep.cabal", library "dep" "1.0" ["Dep"] []),
+            ("Dep.hs", "module Dep ((<$>)) where\n")
+          ]
+        )
+      ]
+    $ \rs project ->
+      fixityIn rs (project </> "M.hs") "Dep" "<$>"
+        `shouldReturn` Just (Fixity LeftAssoc 4)
+
+  it "is the plan's version of a package, where another is installed"
+    $ withPackages
+      [ ("fake.cabal", library "fake" "0.1.0.0" ["M"] []),
+        ("M.hs", "module M where\nimport Data.Map ((!))\n")
+      ]
+      [ ( "containers",
+          "1.0",
+          [ ("containers.cabal", library "containers" "1.0" ["Data.Map"] []),
+            ( "Data/Map.hs",
+              "module Data.Map ((!)) where\ninfixr 0 !\n\
+              \(!) :: Int -> Int -> Int\na ! _ = a\n"
+            )
+          ]
+        )
+      ]
+    $ \rs project ->
+      fixityIn rs (project </> "M.hs") "Data.Map" "!"
+        `shouldReturn` Just (Fixity RightAssoc 0)
+
+  it "is not one of a package the plan does not have" $ do
+    installed <- installedPackages <$> readInstalledPackages
+    withSystemTempDirectory "tilia-decoy" $ \dir -> do
+      let decoy =
+            InstalledPackage
+              { ipName = "decoy",
+                ipVersion = "1.0",
+                ipModules = ["Data.Function"],
+                ipReexports = [],
+                ipImportDirs = [dir]
+              }
+          plan =
+            BuildPlan
+              { bpCompiler = "ghc-0.0",
+                bpPackages =
+                  [ PlanPackage (ipName i) (ipVersion i) PreExisting [] mempty
+                  | i <- installed
+                  ]
+              }
+      packageReader <- newPackageReader Nothing Map.empty []
+      cache <- openCache (Don't #useCache) (PlanToken "")
+      rs <-
+        newResolverWith
+          [FromInterface]
+          cache
+          (decoy : installed)
+          []
+          packageReader
+          plan
+      Map.lookup (InTerms, OpName "&") . establishedFixities
+        <$> askModule rs Nothing (Nothing, "Data.Function")
+        `shouldReturn` Just (Fixity LeftAssoc 1)
+  where
+    fixityIn rs file modName op =
+      Map.lookup (InTerms, OpName op) . establishedFixities
+        <$> askModule rs (Just file) (Nothing, modName)
+    library name version exposed hidden =
+      T.unlines $
+        [ "cabal-version: 2.4",
+          "name: " <> name,
+          "version: " <> version,
+          "library",
+          "  exposed-modules: " <> T.intercalate ", " exposed,
+          "  default-language: Haskell2010"
+        ]
+          <> [ "  other-modules: " <> T.intercalate ", " hidden
+             | not (null hidden)
+             ]
+
+-- | A project of one package, @fake@, whose files are given, and of
+-- packages from Hackage, each with its tarball where @cabal@ would have put
+-- it, with a plan of them and of every other package the compiler can see.
+withPackages ::
+  -- | The files of @fake@, by their paths in it.
+  [(FilePath, Text)] ->
+  -- | The packages from Hackage, each by its name and version, with its
+  -- files.
+  [(Text, Text, [(FilePath, Text)])] ->
+  -- | Given a resolver for the plan and the project's directory.
+  (Resolver -> FilePath -> IO a) ->
+  IO a
+withPackages files fetched act =
+  withSystemTempDirectory "tilia-packages" $ \dir -> do
+    root <- canonicalizePath dir
+    let project = root </> "project"
+    for_ files $ \(path, text) -> do
+      createDirectoryIfMissing True (takeDirectory (project </> path))
+      writeUtf8File (project </> path) text
+    for_ fetched $ \(name, version, inside) -> do
+      let held = T.unpack (name <> "-" <> version)
+          tarball =
+            root
+              </> "packages"
+              </> "hackage.haskell.org"
+              </> T.unpack name
+              </> T.unpack version
+              </> held
+                <> ".tar.gz"
+      createDirectoryIfMissing True (takeDirectory tarball)
+      writeTarball tarball [(held </> path, text) | (path, text) <- inside]
+    installed <- installedEntries [name | (name, _, _) <- fetched]
+    writeUtf8File (root </> "plan.json") $
+      "{\"compiler-id\":\"ghc-0.0\",\"install-plan\":["
+        <> T.intercalate
+          ","
+          ( ( "{\"pkg-name\":\"fake\",\"pkg-version\":\"0.1.0.0\",\
+              \\"pkg-src\":{\"type\":\"local\",\"path\":\""
+                <> T.pack project
+                <> "\"}}"
+            )
+              : [ "{\"pkg-name\":\""
+                    <> name
+                    <> "\",\"pkg-version\":\""
+                    <> version
+                    <> "\",\"pkg-src\":{\"type\":\"repo-tar\"}}"
+                | (name, version, _) <- fetched
+                ]
+                <> installed
+          )
+        <> "]}"
+    withEnvironment
+      [("CABAL_DIR", root), ("XDG_CACHE_HOME", root </> "cache")]
+      $ readBuildPlan (root </> "plan.json") >>= \case
+        Left why -> error (T.unpack why)
+        Right plan -> newResolver plan >>= (`act` project)
+
+-- | How many modules the ring has.
+ringSize :: Int
+ringSize = 8
+
+-- | The name of a module of the ring.
+ringModule :: Int -> Text
+ringModule i = "Ring" <> T.pack (show i)
+
+-- | The operator a module of the ring declares.
+ringOperator :: Int -> OpName
+ringOperator i = OpName ("%" <> T.replicate (i + 1) "|")
+
+-- | A module of the ring, which declares an operator and hands on the next
+-- module, the last handing on the first.
+ringSource :: Int -> Text
+ringSource i =
+  T.unlines
+    [ "module " <> ringModule i <> " ((" <> op <> "), module " <> next <> ") where",
+      "import " <> next,
+      "infixr " <> T.pack (show (i `mod` 10)) <> " " <> op,
+      "(" <> op <> ") :: Int -> Int -> Int",
+      "a " <> op <> " _ = a"
+    ]
+  where
+    OpName op = ringOperator i
+    next = ringModule ((i + 1) `mod` ringSize)
+
+-- | What a module exports, where reading it settles every name.
+fixitiesOf :: Resolver -> Text -> IO (Maybe Fixities)
+fixitiesOf resolver modName =
+  settled <$> askModule resolver Nothing (Nothing, modName)
+  where
+    settled established
+      | settlesEverything established = Just (establishedFixities established)
+      | otherwise = Nothing
+
+-- | The members of each of a module's names, whatever their namespaces.
+membersIn :: Resolver -> Text -> IO (Map.Map OpName (Set.Set OpName))
+membersIn resolver modName =
+  Map.map (Set.map snd) . establishedMembers
+    <$> askModule resolver Nothing (Nothing, modName)
+
+-- | Every name a module certainly brings in.
+certainNamesOf :: Resolver -> Text -> IO (Set.Set (Namespace, OpName))
+certainNamesOf resolver modName =
+  certainNames . establishedCertain
+    <$> askModule resolver Nothing (Nothing, modName)
+
+-- | A module of the kind @hsc2hs@ takes, declaring an operator nothing can
+-- get at.
+cursed :: Text
+cursed =
+  T.unlines
+    [ "#include <signal.h>",
+      "module Cursed (interrupt, (<+>)) where",
+      "infixr 5 <+>",
+      "(<+>) :: Int -> Int -> Int",
+      "a <+> b = a + b",
+      "interrupt :: Int",
+      "interrupt = #const SIGINT"
+    ]
+
+-- | What the chase makes of one module's @<+>@, against a world of modules
+-- that disagree about it, where it settles it.
+chased :: Text -> IO (Maybe Fixity)
+chased source = do
+  answer <- chasedModule source
+  pure $
+    if null (unsettledThrough answer plus)
+      then Map.lookup plus (establishedFixities answer)
+      else Nothing
+  where
+    plus = (InTerms, OpName "<+>")
+
+-- | What the chase makes of one module against that world.
+chasedModule :: Text -> IO Established
+chasedModule source =
+  withReexports
+    reach
+    "M"
+    (summarize (Is #implicitPrelude) (pmModule (parsed source)))
+  where
+    reach (_, m) =
+      pure $ case m of
+        "Control.Arrow" -> bringing (Fixity RightAssoc 5)
+        "Text.PrettyPrint" ->
+          (bringing (Fixity LeftAssoc 6))
+            { establishedCertain =
+                Certain
+                  (Set.fromList [plus, doc])
+                  (Map.singleton (OpName "Doc") (Set.singleton plus)),
+              establishedMembers =
+                Map.singleton (OpName "Doc") (Set.singleton plus)
+            }
+        "Prelude" -> mempty
+        _ -> unreadable
+    bringing fixity =
+      mempty
+        { establishedFixities = Map.singleton plus fixity,
+          establishedCertain = Certain (Set.singleton plus) Map.empty
+        }
+    plus = (InTerms, OpName "<+>")
+    doc = (InTypes, OpName "Doc")
+
+withPlan :: BuildPlan -> Spec
+withPlan plan = do
+  resolver <- runIO (newResolver plan)
+  let resolve = fixitiesOf resolver
+
+  describe "the plan itself" $ do
+    it "names the compiler" $
+      T.unpack (bpCompiler plan) `shouldSatisfy` isInfixOf "ghc-"
+
+    it "has the dependencies a real project has" $
+      length (bpPackages plan) `shouldSatisfy` (> 20)
+
+    it "gives every fetchable package a source hash to check against" $ do
+      let fetchable = filter isFetchable (bpPackages plan)
+      filter (null . sourceHashOf) fetchable `shouldBe` []
+
+    it "gives the project the flags its cabal.project sets, and no more" $
+      plannedFlags plan
+        `shouldBe` Map.singleton "tilia" (mkFlagAssignment [("dev", True)])
+
+    it "does not mark the project itself as fetchable" $ do
+      let locals = filter (\p -> ppName p == "tilia") (bpPackages plan)
+      filter isFetchable locals `shouldBe` []
+
+    it "records the project as a local directory, with its path" $ do
+      let locals =
+            [ s'
+            | p <- bpPackages plan,
+              ppName p == "tilia",
+              let s' = ppSource p
+            ]
+      locals
+        `shouldSatisfy` all
+          (\s' -> case s' of LocalPackage path -> not (null path); _ -> False)
+
+    it "puts every package in exactly one of the three kinds" $ do
+      let kinds p =
+            length (filter id [isPreExisting p, isFetchable p, isLocal p])
+          isPreExisting p = ppSource p == PreExisting
+          isLocal p = case ppSource p of LocalPackage _ -> True; _ -> False
+      filter ((/= 1) . kinds) (bpPackages plan) `shouldBe` []
+
+  describe "resolving a module that declares its own operators" $ do
+    it "finds <+> in prettyprinter, with the right fixity" $
+      needs resolve "Prettyprinter.Internal" $ \fixities ->
+        Map.lookup (InTerms, OpName "<+>") fixities
+          `shouldBe` Just (Fixity RightAssoc 6)
+
+    it "resolves the same module twice to the same answer" $
+      needs resolve "Prettyprinter.Internal" $ \first' -> do
+        again <- resolve "Prettyprinter.Internal"
+        again `shouldBe` Just first'
+
+  describe "re-exports" $
+    it "finds an operator a module exports but does not declare" $
+      needs resolve "Prettyprinter" $ \fixities ->
+        Map.lookup (InTerms, OpName "<+>") fixities
+          `shouldBe` Just (Fixity RightAssoc 6)
+
+  describe "boot packages" $ do
+    it "answers for Prelude from its interface" $
+      needs resolve "Prelude" $ \fixities -> do
+        Map.lookup (InTerms, OpName "$") fixities
+          `shouldBe` Just (Fixity RightAssoc 0)
+        Map.lookup (InTerms, OpName ">>=") fixities
+          `shouldBe` Just (Fixity LeftAssoc 1)
+        Map.lookup (InTerms, OpName ".") fixities
+          `shouldBe` Just (Fixity RightAssoc 9)
+
+    it "answers for the primitive operations, which have no interface" $
+      needs resolve "GHC.Exts" $ \fixities -> do
+        Map.lookup (InTerms, OpName "+#") fixities
+          `shouldBe` Just (Fixity LeftAssoc 6)
+        Map.lookup (InTerms, OpName "seq") fixities
+          `shouldBe` Just (Fixity RightAssoc 0)
+
+    it "answers for a module a package exposes but another one holds" $
+      needs resolve "GHC.Num.Integer" (\_ -> pure ())
+
+    it "answers for Control.Applicative" $
+      needs resolve "Control.Applicative" $ \fixities ->
+        Map.lookup (InTerms, OpName "<|>") fixities
+          `shouldBe` Just (Fixity LeftAssoc 3)
+
+    it "covers the containers and text modules a project actually imports" $ do
+      let expected =
+            [ ("Data.Map", "!", Fixity LeftAssoc 9),
+              ("Data.Map", "\\\\", Fixity LeftAssoc 9),
+              ("Data.Set", "\\\\", Fixity LeftAssoc 9),
+              ("Data.Sequence", "|>", Fixity LeftAssoc 5),
+              ("Data.Sequence", "<|", Fixity RightAssoc 5),
+              ("Data.Bits", ".&.", Fixity LeftAssoc 7),
+              ("Data.Ratio", "%", Fixity LeftAssoc 7),
+              ("Data.Functor", "<&>", Fixity LeftAssoc 1),
+              ("Control.Monad", ">=>", Fixity RightAssoc 1),
+              ("Data.Semigroup", "<>", Fixity RightAssoc 6)
+            ]
+      wrong <- traverse (check resolve) expected
+      concat wrong `shouldBe` []
+
+    it "carries re-exports already resolved" $ do
+      p <- resolve "Prelude"
+      m <- resolve "Data.Map"
+      ( Map.lookup (InTerms, OpName "$") =<< p,
+        Map.lookup (InTerms, OpName "!") =<< m
+        )
+        `shouldBe` (Just (Fixity RightAssoc 0), Just (Fixity LeftAssoc 9))
+
+    it "gives the same operator different fixities in different modules" $ do
+      inList <- resolve "Data.List"
+      inMap <- resolve "Data.Map"
+      ( Map.lookup (InTerms, OpName "\\\\") =<< inList,
+        Map.lookup (InTerms, OpName "\\\\") =<< inMap
+        )
+        `shouldBe` (Just (Fixity NoAssoc 5), Just (Fixity LeftAssoc 9))
+
+  describe "modules it cannot answer for" $ do
+    it "says so rather than claiming no operators" $
+      resolve "Not.A.Real.Module.At.All" `shouldReturn` Nothing
+
+    it "says so for a module no package exposes" $
+      resolve "Some.Package.That.Does.Not.Exist" `shouldReturn` Nothing
+
+    it "distinguishes a boot module with no operators from an unknown one" $ do
+      quiet <- resolve "Data.Char"
+      quiet `shouldBe` Just Map.empty
+
+  describe "a module that leans on its package's extensions" $ do
+    it "reads it, given what the .cabal puts in force" $
+      withFakeProject [("fake.cabal", package ["LambdaCase"]), ("src/Fancy.hs", fancy)] $
+        \rs ->
+          fixitiesOf rs "Fancy"
+            >>= ( `shouldBe`
+                    Just
+                      ( Map.singleton
+                          (InTerms, OpName "<+>")
+                          (Fixity RightAssoc 5)
+                      )
+                )
+
+    it "cannot read it when the .cabal puts nothing in force" $
+      withFakeProject [("fake.cabal", package []), ("src/Fancy.hs", fancy)] $
+        \rs -> fixitiesOf rs "Fancy" `shouldReturn` Nothing
+
+    it "takes an extension the .cabal turns off into account"
+      $ withFakeProject
+        [ ("fake.cabal", package ["LambdaCase", "NoLambdaCase"]),
+          ("src/Fancy.hs", fancy)
+        ]
+      $ \rs -> fixitiesOf rs "Fancy" `shouldReturn` Nothing
+
+  describe "modules whose source defeats us" $ do
+    it "answers for Test.QuickCheck.Property, which cannot be parsed" $
+      needs resolve "Test.QuickCheck.Property" $ \fixities -> do
+        Map.lookup (InTerms, OpName "===") fixities
+          `shouldBe` Just (Fixity NoAssoc 4)
+        Map.lookup (InTerms, OpName ".&&.") fixities
+          `shouldBe` Just (Fixity RightAssoc 1)
+        Map.lookup (InTerms, OpName "==>") fixities
+          `shouldBe` Just (Fixity RightAssoc 0)
+
+    it "carries that through the re-export chain to Test.QuickCheck" $
+      needs resolve "Test.QuickCheck" $ \fixities ->
+        Map.lookup (InTerms, OpName "===") fixities
+          `shouldBe` Just (Fixity NoAssoc 4)
+
+  describe "a module with more than one configuration" $ do
+    -- Built in a temporary directory with a build plan written by hand, so
+    -- that the shapes below can be exactly the shapes worth testing. These
+    -- are the ones criterion's dependencies turned out to be written in.
+    it "answers from the configurations it can read"
+      $ withFakeProject
+        [ ( "src/Platform.hs",
+            T.unlines
+              [ "{-# LANGUAGE CPP #-}",
+                "module Platform (sort, (<+>)) where",
+                "#ifdef WINDOWS",
+                "import No.Such.Module.At.All",
+                "#endif",
+                "import Data.List (sort)",
+                "infixl 6 <+>",
+                "(<+>) :: Int -> Int -> Int",
+                "a <+> b = a + b"
+              ]
+          )
+        ]
+      $ \rs ->
+        -- The WINDOWS branch imports a module nothing has, which is what
+        -- System.IO.CodePage does with System.Win32.CodePage. That branch
+        -- is passed over rather than taken as a reason to say nothing.
+        fixitiesOf rs "Platform"
+          >>= ( `shouldBe`
+                  Just
+                    (Map.singleton (InTerms, OpName "<+>") (Fixity LeftAssoc 6))
+              )
+
+    it "answers from the configurations that are Haskell at all"
+      $ withFakeProject
+        [ ( "src/Guarded.hs",
+            T.unlines
+              [ "{-# LANGUAGE CPP #-}",
+                "module Guarded ((<+>)) where",
+                "infixl 6 <+>",
+                "(<+>) :: Int -> Int -> Int",
+                "a <+> b = a + b",
+                "#ifdef ANCIENT",
+                "f x = case",
+                "#endif"
+              ]
+          )
+        ]
+      $ \rs ->
+        fixitiesOf rs "Guarded"
+          >>= ( `shouldBe`
+                  Just
+                    (Map.singleton (InTerms, OpName "<+>") (Fixity LeftAssoc 6))
+              )
+
+    it "leaves what the configurations it can read disagree about unsettled"
+      $ withFakeProject
+        [ ( "src/Disagree.hs",
+            T.unlines
+              [ "{-# LANGUAGE CPP #-}",
+                "module Disagree (sort, (<+>)) where",
+                "import Data.List (sort)",
+                "#ifdef FAST",
+                "infixl 6 <+>",
+                "#else",
+                "infixr 7 <+>",
+                "#endif",
+                "(<+>) :: Int -> Int -> Int",
+                "a <+> b = a + b"
+              ]
+          )
+        ]
+      $ \rs -> do
+        answer <- askModule rs Nothing (Nothing, "Disagree")
+        unsettledThrough answer (InTerms, OpName "<+>") `shouldBe` [[]]
+        unsettledThrough answer (InTerms, OpName "sort") `shouldBe` []
+
+    it "reads it as cpp expands the macros it defines"
+      $ withFakeProject
+        [ ( "src/Expanded.hs",
+            T.unlines
+              [ "{-# LANGUAGE CPP #-}",
+                "module Expanded ((<+>)) where",
+                "#define PRECEDENCE 6",
+                "infixl PRECEDENCE <+>",
+                "(<+>) :: Int -> Int -> Int",
+                "a <+> b = a + b"
+              ]
+          )
+        ]
+      $ \rs ->
+        fixitiesOf rs "Expanded"
+          `shouldReturn` Just
+            (Map.singleton (InTerms, OpName "<+>") (Fixity LeftAssoc 6))
+
+    it "reads one without CPP as it is written, string gaps and all"
+      $ withFakeProject
+        [ ( "src/Gapped.hs",
+            T.unlines
+              [ "module Gapped ((<+>)) where",
+                "infixl 6 <+>",
+                "(<+>) :: String -> String -> String",
+                "a <+> b = a ++ \"\\",
+                "  \\\" ++ b"
+              ]
+          )
+        ]
+      $ \rs ->
+        fixitiesOf rs "Gapped"
+          `shouldReturn` Just
+            (Map.singleton (InTerms, OpName "<+>") (Fixity LeftAssoc 6))
+
+    it "takes the branches the cpp-options of the build settle"
+      $ withFakeProject
+        [ ( "fake.cabal",
+            T.unlines
+              [ "cabal-version: 2.4",
+                "name: fake",
+                "version: 0.1.0.0",
+                "flag fast",
+                "  default: True",
+                "flag slow",
+                "  default: False",
+                "library",
+                "  exposed-modules: Settled",
+                "  hs-source-dirs: src",
+                "  default-language: Haskell2010",
+                "  if flag(fast)",
+                "    cpp-options: -DFAST",
+                "  if flag(slow)",
+                "    cpp-options: -DSLOW"
+              ]
+          ),
+          ( "src/Settled.hs",
+            T.unlines
+              [ "{-# LANGUAGE CPP #-}",
+                "module Settled ((<+>), (<->)) where",
+                "#ifdef FAST",
+                "infixl 6 <+>",
+                "#else",
+                "infixr 7 <+>",
+                "#endif",
+                "#ifdef SLOW",
+                "infixr 7 <->",
+                "#else",
+                "infixl 6 <->",
+                "#endif",
+                "(<+>), (<->) :: Int -> Int -> Int",
+                "a <+> b = a + b",
+                "a <-> b = a - b"
+              ]
+          )
+        ]
+      $ \rs ->
+        fixitiesOf rs "Settled"
+          `shouldReturn` Just
+            ( Map.fromList
+                [ ((InTerms, OpName "<+>"), Fixity LeftAssoc 6),
+                  ((InTerms, OpName "<->"), Fixity LeftAssoc 6)
+                ]
+            )
+
+    it "leaves unsettled what one configuration declares and another does not"
+      $ withFakeProject
+        [ ( "src/Partly.hs",
+            T.unlines
+              [ "{-# LANGUAGE CPP #-}",
+                "module Partly ((<+>)) where",
+                "#ifdef FAST",
+                "infixr 5 <+>",
+                "#endif",
+                "(<+>) :: Int -> Int -> Int",
+                "a <+> b = a + b"
+              ]
+          )
+        ]
+      $ \rs -> do
+        answer <- askModule rs Nothing (Nothing, "Partly")
+        unsettledThrough answer (InTerms, OpName "<+>") `shouldBe` [[]]
+
+    it "reads a branch at a time where the first ones do not parse together"
+      $ withFakeProject
+        [ ( "src/Apart.hs",
+            T.unlines
+              [ "{-# LANGUAGE CPP #-}",
+                "module Apart ((<+>)) where",
+                "(<+>) :: Int -> Int -> Int",
+                "a <+> b = c",
+                "#ifdef FAST",
+                "  where c = a + b",
+                "#endif",
+                "#ifdef SLOW",
+                "  where c = b + a",
+                "#else",
+                "infixr 5 <+>",
+                "#endif"
+              ]
+          )
+        ]
+      $ \rs -> do
+        answer <- askModule rs Nothing (Nothing, "Apart")
+        unsettledThrough answer (InTerms, OpName "<+>") `shouldBe` [[]]
+
+    it "keeps the fixity of a name only one configuration exports"
+      $ withFakeProject
+        [ ( "src/Partly.hs",
+            T.unlines
+              [ "{-# LANGUAGE CPP #-}",
+                "#ifdef FAST",
+                "module Partly ((<+>), f) where",
+                "#else",
+                "module Partly (f) where",
+                "#endif",
+                "infixr 5 <+>",
+                "(<+>) :: Int -> Int -> Int",
+                "a <+> b = a + b",
+                "f :: Int",
+                "f = 1"
+              ]
+          )
+        ]
+      $ \rs ->
+        fixitiesOf rs "Partly"
+          `shouldReturn` Just
+            (Map.singleton (InTerms, OpName "<+>") (Fixity RightAssoc 5))
+
+    it
+      "settles what an import it can read decides, though no configuration reads every import"
+      $ withFakeProject
+        [ ( "src/Bothbad.hs",
+            T.unlines
+              [ "{-# LANGUAGE CPP #-}",
+                "module Bothbad (sort) where",
+                "#ifdef WINDOWS",
+                "import No.Such.One",
+                "#else",
+                "import No.Such.Two",
+                "#endif",
+                "import Data.List (sort)"
+              ]
+          )
+        ]
+      $ \rs ->
+        -- Not a guess: @sort@ is the one Data.List brings in, whatever the
+        -- other import is.
+        fixitiesOf rs "Bothbad" `shouldReturn` Just Map.empty
+
+  describe "modules that re-export one another" $
+    it "answers for one whose re-exports are mutually entangled" $ do
+      answer <- resolve "GHC.Hs"
+      answer `shouldSatisfy` (/= Nothing)
+
+  describe "what a package module brings in" $
+    it "names what it hands on" $ do
+      answer <- askModule resolver Nothing (Nothing, "Prettyprinter")
+      certainNames (establishedCertain answer)
+        `shouldSatisfy` Set.member (InTerms, OpName "<+>")
+
+  describe "the members of each of a module's names" $ do
+    it "reads them out of a package's interface" $ do
+      members <- membersIn resolver "Data.List.NonEmpty"
+      Map.lookup (OpName "NonEmpty") members
+        `shouldSatisfy` maybe False (Set.member (OpName ":|"))
+
+    it "has nothing to say about a module it cannot find" $
+      membersIn resolver "No.Such.Module" `shouldReturn` Map.empty
+
+    it "reads them out of a local module's source"
+      $ withFakeProject
+        [ ( "src/Members.hs",
+            "module Members (T (..)) where\ndata T = A | Int :| Int\n"
+          )
+        ]
+      $ \rs -> do
+        members <- membersIn rs "Members"
+        Map.lookup (OpName "T") members
+          `shouldBe` Just (Set.fromList [OpName "A", OpName ":|"])
+
+    it "reads none for a type a local module exports without them"
+      $ withFakeProject
+        [ ( "src/Members.hs",
+            "module Members (T) where\ndata T = A | Int :| Int\n"
+          )
+        ]
+      $ \rs -> do
+        members <- membersIn rs "Members"
+        Map.lookup (OpName "T") members `shouldBe` Just Set.empty
+
+    it "follows a type to the module that declares it"
+      $ withFakeProject
+        [ ("src/Facade.hs", "module Facade (T (..)) where\nimport Inner\n"),
+          ("src/Inner.hs", "module Inner (T (..)) where\ninfixr 5 :|\ndata T = A | Int :| Int\n")
+        ]
+      $ \rs -> do
+        members <- membersIn rs "Facade"
+        Map.lookup (OpName "T") members
+          `shouldBe` Just (Set.fromList [OpName "A", OpName ":|"])
+
+    it "carries the fixity along with it, so the name can be looked up"
+      $ withFakeProject
+        [ ("src/Facade.hs", "module Facade (T (..)) where\nimport Inner\n"),
+          ("src/Inner.hs", "module Inner (T (..)) where\ninfixr 5 :|\ndata T = A | Int :| Int\n")
+        ]
+      $ \rs -> do
+        fixities <- fixitiesOf rs "Facade"
+        (Map.lookup (InTerms, OpName ":|") =<< fixities)
+          `shouldBe` Just (Fixity RightAssoc 5)
+
+    it "settles an operator that arrives through a façade"
+      $ withFakeProject
+        [ ("src/Facade.hs", "module Facade (T (..)) where\nimport Inner\n"),
+          ("src/Inner.hs", "module Inner (T (..)) where\ninfixr 5 :|\ndata T = A | Int :| Int\n")
+        ]
+      $ \rs -> do
+        let m = parsed "module M where\nimport Facade (T (..))\n"
+        scope <- scopeFor rs Nothing (Is #implicitPrelude) (pure (pmModule m))
+        lookupFixity scope InTerms Nothing (OpName ":|")
+          `shouldBe` Resolved (Fixity RightAssoc 5) (DeclaredIn "Facade")
+
+    it "follows a whole module handed on"
+      $ withFakeProject
+        [ ("src/Facade.hs", "module Facade (module Inner) where\nimport Inner\n"),
+          ("src/Inner.hs", "module Inner (T (..)) where\ninfixr 5 :|\ndata T = A | Int :| Int\n")
+        ]
+      $ \rs -> do
+        members <- membersIn rs "Facade"
+        Map.lookup (OpName "T") members
+          `shouldBe` Just (Set.fromList [OpName "A", OpName ":|"])
+
+    it "comes back from two modules that hand each other on"
+      $ withFakeProject
+        [ ("src/Ping.hs", "module Ping (T (..)) where\nimport Pong\n"),
+          ("src/Pong.hs", "module Pong (T (..)) where\nimport Ping\n")
+        ]
+      $ \rs -> membersIn rs "Ping" `shouldReturn` Map.empty
+
+    it "brings in an associated type with its class, not a term of its name"
+      $ withFakeProject
+        [ ( "src/A.hs",
+            T.unlines
+              [ "{-# LANGUAGE TypeFamilies #-}",
+                "module A where",
+                "import Data.Kind (Type)",
+                "infixl 8 **",
+                "class Tensor k where",
+                "  type (a :: k) ** (b :: k) :: k",
+                "class Pair (p :: Type -> Type) where",
+                "  (**) :: p a -> p b -> p (a, b)"
+              ]
+          ),
+          ("src/B.hs", "module B where\ninfixl 7 **\n(**) :: Int -> Int -> Int\n(**) = (+)\n")
+        ]
+      $ \rs -> do
+        let m =
+              parsed
+                "module M where\nimport A (Tensor (..))\nimport B ((**))\n\
+                \import Prelude hiding ((**))\n"
+        scope <- scopeFor rs Nothing (Is #implicitPrelude) (pure (pmModule m))
+        lookupFixity scope InTerms Nothing (OpName "**")
+          `shouldBe` Resolved (Fixity LeftAssoc 7) (DeclaredIn "B")
+        disagreement scope InTerms Nothing (OpName "**") `shouldBe` Nothing
+        lookupFixity scope InTypes Nothing (OpName "**")
+          `shouldBe` Resolved (Fixity LeftAssoc 8) (DeclaredIn "A")
+
+    it "keeps those of a configuration passed over for leaving a name unsettled"
+      $ withFakeProject
+        [ ( "src/Facade.hs",
+            T.unlines
+              [ "{-# LANGUAGE CPP #-}",
+                "module Facade",
+                "  ( (.&.),",
+                "#ifndef NO_CLASS",
+                "    C (..),",
+                "    unseen,",
+                "#endif",
+                "  )",
+                "where",
+                "import Inner",
+                "#ifndef NO_CLASS",
+                "import No.Such.Module",
+                "#endif"
+              ]
+          ),
+          ( "src/Inner.hs",
+            T.unlines
+              [ "module Inner where",
+                "infixr 1 .&.",
+                "(.&.) :: Bool -> Bool -> Bool",
+                "(.&.) = (&&)",
+                "class C a where",
+                "  m :: a -> a"
+              ]
+          )
+        ]
+      $ \rs -> do
+        let m =
+              parsed
+                "module M where\nimport Data.Bits ((.&.))\nimport Facade (C (..))\n"
+        scope <- scopeFor rs Nothing (Is #implicitPrelude) (pure (pmModule m))
+        lookupFixity scope InTerms Nothing (OpName ".&.")
+          `shouldBe` Resolved (Fixity LeftAssoc 7) (DeclaredIn "Data.Bits")
+        disagreement scope InTerms Nothing (OpName ".&.") `shouldBe` Nothing
+
+    it "keeps to what a local module's export list hands on"
+      $ withFakeProject
+        [ ( "src/Members.hs",
+            "module Members (T (A)) where\ndata T = A | Int :| Int\n"
+          )
+        ]
+      $ \rs -> do
+        members <- membersIn rs "Members"
+        Map.lookup (OpName "T") members
+          `shouldBe` Just (Set.singleton (OpName "A"))
+
+  describe "what a module leaves unsettled" $ do
+    it "is what it hands on from where reading gave up" $
+      withFakeProject [("src/Opaque.hs", opaqueSource)] $
+        \rs -> do
+          answer <- askModule rs Nothing (Nothing, "Opaque")
+          establishedUnsettled answer
+            `shouldBe` Map.singleton
+              ["No.Such.Module"]
+              (Set.singleton (InTerms, OpName "<+>"))
+          establishedUntold answer `shouldBe` Set.empty
+
+    it
+      "is nothing for a module that hands on a whole module it can read, whatever else it imports"
+      $ withFakeProject
+        [ ( "src/Wide.hs",
+            T.unlines
+              [ "module Wide (module Data.List) where",
+                "import Data.List",
+                "import No.Such.Module"
+              ]
+          )
+        ]
+      $ \rs ->
+        settlesEverything <$> askModule rs Nothing (Nothing, "Wide")
+          `shouldReturn` True
+
+    it "is everything for a module it cannot find at all" $
+      withFakeProject [("src/Opaque.hs", opaqueSource)] $
+        \rs ->
+          askModule rs Nothing (Nothing, "No.Such.Module")
+            `shouldReturn` unreadable
+
+    it
+      "is everything it does not certainly bring in, when what it hands on whole cannot be read"
+      $ withFakeProject
+        [ ( "src/Facade.hs",
+            "module Facade (module No.Such.Module) where\nimport No.Such.Module\n"
+          )
+        ]
+      $ \rs -> do
+        answer <- askModule rs Nothing (Nothing, "Facade")
+        establishedUntold answer `shouldBe` Set.singleton ["No.Such.Module"]
+
+    it "is the type and its members, when a type it hands on is beyond us"
+      $ withFakeProject
+        [ ( "src/Facade.hs",
+            "module Facade (T (..)) where\nimport No.Such.Module\n"
+          )
+        ]
+      $ \rs -> do
+        answer <- askModule rs Nothing (Nothing, "Facade")
+        unsettledThrough answer (InTypes, OpName "T")
+          `shouldBe` [["No.Such.Module"]]
+        unsettledThrough answer (InTerms, OpName ":|")
+          `shouldBe` [["No.Such.Module"]]
+
+    it "comes back from two modules that hand each other on"
+      $ withFakeProject
+        [ ("src/Ping.hs", "module Ping (module Pong) where\nimport Pong\n"),
+          ("src/Pong.hs", "module Pong (module Ping) where\nimport Ping\n")
+        ]
+      $ \rs -> askModule rs Nothing (Nothing, "Ping") `shouldReturn` mempty
+
+    it "is everything for a module whose source will not parse" $
+      withFakeProject [("src/Bad.hs", "module Bad ((<+>)) where\nf = (((\n")] $
+        \rs -> askModule rs Nothing (Nothing, "Bad") `shouldReturn` unreadable
+
+    it
+      "is what any configuration leaves unsettled, where none settles every name"
+      $ withFakeProject
+        [ ( "src/Both.hs",
+            T.unlines
+              [ "{-# LANGUAGE CPP #-}",
+                "#ifdef WINDOWS",
+                "module Both ((<+>)) where",
+                "#else",
+                "module Both ((<?>)) where",
+                "#endif",
+                "import No.Such.Module"
+              ]
+          )
+        ]
+      $ \rs -> do
+        answer <- askModule rs Nothing (Nothing, "Both")
+        establishedUnsettled answer
+          `shouldBe` Map.singleton
+            ["No.Such.Module"]
+            (Set.fromList [(InTerms, OpName "<+>"), (InTerms, OpName "<?>")])
+
+    it "settles an operator no unread module in scope could have declared" $
+      withFakeProject [("src/Opaque.hs", opaqueSource)] $
+        \rs -> do
+          let m = parsed "module M where\nimport Opaque\n"
+          scope <- scopeFor rs Nothing (Is #implicitPrelude) (pure (pmModule m))
+          lookupFixity scope InTerms Nothing (OpName "<??>")
+            `shouldBe` Resolved defaultFixity ReportDefault
+
+    it "leaves one alone that the unread module's list does name" $
+      withFakeProject [("src/Opaque.hs", opaqueSource)] $
+        \rs -> do
+          let m = parsed "module M where\nimport Opaque\n"
+          scope <- scopeFor rs Nothing (Is #implicitPrelude) (pure (pmModule m))
+          lookupFixity scope InTerms Nothing (OpName "<+>")
+            `shouldBe` Unresolved
+              (ModuleChain ("Opaque" :| ["No.Such.Module"]) :| [])
+
+    it "names the module that stopped it rather than the import above it" $
+      withFakeProject [("src/Opaque.hs", opaqueSource)] $
+        \rs ->
+          Map.keys . establishedUnsettled
+            <$> askModule rs Nothing (Nothing, "Opaque")
+            `shouldReturn` [["No.Such.Module"]]
+
+    it "follows the reasons down more than one module"
+      $ withFakeProject
+        [ ("src/Near.hs", "module Near ((<+>)) where\nimport Middle\n"),
+          ("src/Middle.hs", "module Middle ((<+>)) where\nimport No.Such.Module\n")
+        ]
+      $ \rs ->
+        Map.keys . establishedUnsettled
+          <$> askModule rs Nothing (Nothing, "Near")
+          `shouldReturn` [["Middle", "No.Such.Module"]]
+
+    it "has nothing to say about a module that could be read" $
+      withFakeProject [("src/Opaque.hs", opaqueSource)] $
+        \rs ->
+          settlesEverything <$> askModule rs Nothing (Nothing, "Prelude")
+            `shouldReturn` True
+
+  describe "what a module brings in" $ do
+    it "is every name its interface exports" $ do
+      certain <- certainNamesOf resolver "Data.List"
+      Set.member (InTerms, OpName "isPrefixOf") certain `shouldBe` True
+
+    it "is what one of the project's own modules exports, read from its source" $
+      withFakeProject [("src/Opaque.hs", opaqueSource)] $
+        \rs ->
+          certainNamesOf rs "Opaque"
+            `shouldReturn` ( Set.fromList
+                               [(InTerms, OpName "<+>"), (InTerms, OpName "f")]
+                           )
+
+    it "is what a module in a tarball exports, read from its source" $
+      withFakeArchive [("Lib.hs", "module Lib (T (..), f) where\ndata T = C\nf :: Int\nf = 1\n")] $
+        \rs ->
+          certainNamesOf rs "Lib"
+            `shouldReturn` ( Set.fromList
+                               [ (InTypes, OpName "T"),
+                                 (InTerms, OpName "C"),
+                                 (InTerms, OpName "f")
+                               ]
+                           )
+
+    it "is everything a module with no export list defines, in its namespaces"
+      $ withFakeProject
+        [ ( "src/Own.hs",
+            T.unlines
+              [ "module Own where",
+                "data T = C | Int :+ Int",
+                "class K a where",
+                "  type F a",
+                "  method :: a",
+                "f :: Int",
+                "f = 1"
+              ]
+          )
+        ]
+      $ \rs ->
+        certainNamesOf rs "Own"
+          `shouldReturn` ( Set.fromList
+                             [ (InTypes, OpName "T"),
+                               (InTerms, OpName "C"),
+                               (InTerms, OpName ":+"),
+                               (InTypes, OpName "K"),
+                               (InTypes, OpName "F"),
+                               (InTerms, OpName "method"),
+                               (InTerms, OpName "f")
+                             ]
+                         )
+
+    it "takes the members of a type it exports from the type's declaration" $
+      withFakeProject [("src/Own.hs", "module Own (T (..)) where\ndata T = C | D\n")] $
+        \rs ->
+          certainNamesOf rs "Own"
+            `shouldReturn` ( Set.fromList
+                               [ (InTypes, OpName "T"),
+                                 (InTerms, OpName "C"),
+                                 (InTerms, OpName "D")
+                               ]
+                           )
+
+    it "keeps to the members its export list writes out beside a type" $
+      withFakeProject [("src/Own.hs", "module Own (T (C)) where\ndata T = C | D\n")] $
+        \rs ->
+          certainNamesOf rs "Own"
+            `shouldReturn` ( Set.fromList
+                               [(InTypes, OpName "T"), (InTerms, OpName "C")]
+                           )
+
+    it "keeps the fixity of a data instance's constructor, with its family"
+      $ withFakeProject
+        [ ( "src/Own.hs",
+            T.unlines
+              [ "{-# LANGUAGE TypeFamilies #-}",
+                "module Own (F (..)) where",
+                "data family F a",
+                "infixr 5 :+",
+                "data instance F Int = Int :+ Int"
+              ]
+          )
+        ]
+      $ \rs ->
+        fixitiesOf rs "Own"
+          `shouldReturn` Just
+            (Map.singleton (InTerms, OpName ":+") (Fixity RightAssoc 5))
+
+    it "keeps the fixity of a pattern synonym it bundles with a type" $
+      withFakeProject [("src/Own.hs", bundling "T (E, (:<))")] $
+        \rs ->
+          fixitiesOf rs "Own"
+            `shouldReturn` Just
+              (Map.singleton (InTerms, OpName ":<") (Fixity RightAssoc 5))
+
+    it "keeps the constructors of a type exported as T (.., P)" $
+      withFakeProject [("src/Own.hs", bundling "T (.., (:<))")] $
+        \rs ->
+          fixitiesOf rs "Own"
+            `shouldReturn` Just
+              ( Map.fromList
+                  [ ((InTerms, OpName ":+"), Fixity RightAssoc 4),
+                    ((InTerms, OpName ":<"), Fixity RightAssoc 5)
+                  ]
+              )
+
+    it
+      "takes the members of a type it hands on from the module the type came from"
+      $ withFakeProject
+        [ ("src/Inner.hs", "module Inner where\ndata T = C | D\n"),
+          ("src/Outer.hs", "module Outer (T (..)) where\nimport Inner\n")
+        ]
+      $ \rs ->
+        certainNamesOf rs "Outer"
+          `shouldReturn` ( Set.fromList
+                             [ (InTypes, OpName "T"),
+                               (InTerms, OpName "C"),
+                               (InTerms, OpName "D")
+                             ]
+                         )
+
+    it "takes what a whole module it hands on brings in"
+      $ withFakeProject
+        [ ("src/Inner.hs", "module Inner where\ndata T = C\nf :: Int\nf = 1\n"),
+          ("src/Outer.hs", "module Outer (module Inner) where\nimport Inner\n")
+        ]
+      $ \rs ->
+        certainNamesOf rs "Outer"
+          `shouldReturn` ( Set.fromList
+                             [ (InTypes, OpName "T"),
+                               (InTerms, OpName "C"),
+                               (InTerms, OpName "f")
+                             ]
+                         )
+
+    it
+      "keeps to what the import list of a whole module it hands on certainly brings in"
+      $ withFakeProject
+        [ ("src/Inner.hs", "module Inner where\ndata T = C\nf :: Int\nf = 1\n"),
+          ("src/Outer.hs", "module Outer (module Inner) where\nimport Inner (f)\n")
+        ]
+      $ \rs ->
+        certainNamesOf rs "Outer"
+          `shouldReturn` (Set.fromList [(InTerms, OpName "f")])
+
+    it "keeps to what every configuration of a module brings in"
+      $ withFakeProject
+        [ ( "src/Own.hs",
+            T.unlines
+              [ "{-# LANGUAGE CPP #-}",
+                "module Own",
+                "  ( g,",
+                "#ifdef A",
+                "    f,",
+                "#endif",
+                "  )",
+                "where",
+                "f :: Int",
+                "f = 1",
+                "g :: Int",
+                "g = 2"
+              ]
+          )
+        ]
+      $ \rs ->
+        certainNamesOf rs "Own"
+          `shouldReturn` (Set.fromList [(InTerms, OpName "g")])
+
+    it
+      "settles a name one of the project's own modules brings in, despite an unreadable import"
+      $ withFakeProject
+        [ ("src/A.hs", "module A where\ny = = 1\n"),
+          ("src/B.hs", "module B (clampTo) where\nclampTo :: Int -> Int -> Int\nclampTo = min\n")
+        ]
+      $ \rs -> do
+        let m =
+              parsed
+                "module C (w) where\nimport A\nimport B\nw :: Int\nw = 1 `clampTo` 2\n"
+        scope <- scopeFor rs Nothing (Is #implicitPrelude) (pure (pmModule m))
+        lookupFixity scope InTerms Nothing (OpName "clampTo")
+          `shouldBe` Resolved defaultFixity ReportDefault
+
+    it
+      "settles a name an import list shows, though reading its module does not tell that it exports it"
+      $ withFakeProject
+        [ ("src/A.hs", "module A where\ny = = 1\n"),
+          ("src/Cursed.hsc", cursed),
+          ( "src/B.hs",
+            T.unlines
+              [ "{-# LANGUAGE CPP #-}",
+                "module B",
+                "  ( g,",
+                "#ifdef A",
+                "    clampTo,",
+                "#endif",
+                "  )",
+                "where",
+                "clampTo :: Int -> Int -> Int",
+                "clampTo = min",
+                "g :: Int",
+                "g = 2"
+              ]
+          )
+        ]
+      $ \rs -> do
+        let m =
+              parsed
+                "module C (w) where\nimport A\nimport B (clampTo)\n\
+                \import Cursed (interrupt)\nw = 1 `clampTo` 2 `interrupt` 3\n"
+        scope <- scopeFor rs Nothing (Is #implicitPrelude) (pure (pmModule m))
+        lookupFixity scope InTerms Nothing (OpName "clampTo")
+          `shouldBe` Resolved defaultFixity ReportDefault
+        lookupFixity scope InTerms Nothing (OpName "interrupt")
+          `shouldBe` Resolved defaultFixity ReportDefault
+
+    it
+      "settles a name an import brings in that hides a type synonym with (..), despite an unreadable import"
+      $ withFakeProject
+        [ ("src/A.hs", "module A where\ny = = 1\n"),
+          ( "src/Output.hs",
+            "module Output where\ntype Type = Int\n(\\/) :: Bool -> Bool -> Bool\n(\\/) = (||)\n"
+          )
+        ]
+      $ \rs -> do
+        let m =
+              parsed
+                "module C (w) where\nimport A\nimport Output hiding (Type (..))\n\
+                \w = True \\/ False\n"
+        scope <- scopeFor rs Nothing (Is #implicitPrelude) (pure (pmModule m))
+        lookupFixity scope InTerms Nothing (OpName "\\/")
+          `shouldBe` Resolved defaultFixity ReportDefault
+
+    it
+      "does not take a type it brings in for a constructor spelled the same way"
+      $ withFakeProject
+        [ ("src/A.hs", "module A where\ny = = 1\n"),
+          ("src/B.hs", "{-# LANGUAGE TypeOperators #-}\nmodule B ((:+:)) where\ndata a :+: b = a :+: b\n")
+        ]
+      $ \rs -> do
+        let m = parsed "module C (w) where\nimport A\nimport B\nw = 1 :+: 2\n"
+        scope <- scopeFor rs Nothing (Is #implicitPrelude) (pure (pmModule m))
+        lookupFixity scope InTerms Nothing (OpName ":+:")
+          `shouldBe` Unresolved (unreadOnly "A")
+
+    it
+      "settles a constructor a T(..) brings in, despite an unreadable module another re-exports"
+      $ withFakeProject
+        [ ("src/A.hs", "module A where\ny = = 1\n"),
+          ("src/Core.hs", "module Core (module A) where\nimport A\n"),
+          ("src/Tree.hs", "module Tree (Tree (..)) where\ndata Tree = Leaf | Node Tree Tree\n")
+        ]
+      $ \rs -> do
+        let m =
+              parsed
+                "module C (w) where\nimport Core\nimport Tree (Tree (..))\nw = Leaf `Node` Leaf `Node` Leaf\n"
+        scope <- scopeFor rs Nothing (Is #implicitPrelude) (pure (pmModule m))
+        lookupFixity scope InTerms Nothing (OpName "Node")
+          `shouldBe` Resolved defaultFixity ReportDefault
+
+    it
+      "leaves a constructor of a type imported on its own to that unreadable module"
+      $ withFakeProject
+        [ ("src/A.hs", "module A where\ny = = 1\n"),
+          ("src/Core.hs", "module Core (module A) where\nimport A\n"),
+          ("src/Tree.hs", "module Tree (Tree (..)) where\ndata Tree = Leaf | Node Tree Tree\n")
+        ]
+      $ \rs -> do
+        let m =
+              parsed
+                "module C (w) where\nimport Core\nimport Tree (Tree)\nw = Leaf `Node` Leaf `Node` Leaf\n"
+        scope <- scopeFor rs Nothing (Is #implicitPrelude) (pure (pmModule m))
+        lookupFixity scope InTerms Nothing (OpName "Node")
+          `shouldBe` Unresolved (ModuleChain ("Core" :| ["A"]) :| [])
+
+    it "brings in no operator with a type exported without its members"
+      $ withFakeProject
+        [ ("src/Ops.hs", "module Ops (T, (<+>)) where\ninfixr 1 <+>\ndata T = T\n(<+>) :: Int -> Int -> Int\na <+> b = a + b\n"),
+          ("src/Other.hs", "module Other ((<+>)) where\ninfixl 6 <+>\n(<+>) :: Int -> Int -> Int\na <+> b = a - b\n")
+        ]
+      $ \rs -> do
+        let m =
+              parsed
+                "module C (w) where\nimport Ops (T (..))\nimport Other\nw = 1 <+> 2\n"
+        scope <- scopeFor rs Nothing (Is #implicitPrelude) (pure (pmModule m))
+        lookupFixity scope InTerms Nothing (OpName "<+>")
+          `shouldBe` Resolved (Fixity LeftAssoc 6) (DeclaredIn "Other")
+
+  describe "the whole pipeline, from source text to a fixity" $ do
+    it "resolves an operator through a real import" $
+      endToEnd resolver "module M where\nimport Prettyprinter\n" $ \scope ->
+        lookupFixity scope InTerms Nothing (OpName "<+>")
+          `shouldBe` Resolved (Fixity RightAssoc 6) (DeclaredIn "Prettyprinter")
+
+    it "prefers the module's own declaration to an imported one" $
+      endToEnd resolver "module M where\nimport Prettyprinter\ninfixl 2 <+>\n" $ \scope ->
+        lookupFixity scope InTerms Nothing (OpName "<+>")
+          `shouldBe` Resolved (Fixity LeftAssoc 2) DeclaredHere
+
+    it "honours a qualified import" $
+      endToEnd resolver "module M where\nimport qualified Prettyprinter as P\n" $ \scope -> do
+        lookupFixity scope InTerms (Just "P") (OpName "<+>")
+          `shouldBe` Resolved (Fixity RightAssoc 6) (DeclaredIn "Prettyprinter")
+        -- Qualified-only, so nothing arrives unqualified.
+        lookupFixity scope InTerms Nothing (OpName "<+>")
+          `shouldBe` Resolved defaultFixity ReportDefault
+
+    it "honours an explicit import list" $
+      endToEnd resolver "module M where\nimport Prettyprinter ((<+>))\n" $ \scope ->
+        lookupFixity scope InTerms Nothing (OpName "<+>")
+          `shouldBe` Resolved (Fixity RightAssoc 6) (DeclaredIn "Prettyprinter")
+
+    it "brings in only the methods of a class an import list names with (..)" $
+      endToEnd resolver "module M where\nimport Text.ParserCombinators.ReadP\nimport Text.Read (Read (..))\n" $ \scope -> do
+        lookupFixity scope InTerms Nothing (OpName "+++")
+          `shouldBe` Resolved
+            (Fixity RightAssoc 5)
+            (DeclaredIn "Text.ParserCombinators.ReadP")
+        Map.keys (reachAmbiguous (reachIn InTerms scope)) `shouldBe` []
+
+    it "honours a hiding list" $
+      endToEnd resolver "module M where\nimport Prettyprinter hiding ((<+>))\n" $ \scope ->
+        lookupFixity scope InTerms Nothing (OpName "<+>")
+          `shouldBe` Resolved defaultFixity ReportDefault
+
+    it "concludes the Report default when everything in scope was read" $
+      endToEnd resolver "module M where\nimport Prettyprinter\n" $ \scope ->
+        lookupFixity scope InTerms Nothing (OpName "<!@#>")
+          `shouldBe` Resolved defaultFixity ReportDefault
+
+    it "refuses to conclude anything when an import could not be read" $
+      endToEnd resolver "module M where\nimport No.Such.Module\n" $ \scope ->
+        lookupFixity scope InTerms Nothing (OpName "<!@#>")
+          `shouldBe` Unresolved (unreadOnly "No.Such.Module")
+
+    it "settles a name a boot import brings in, despite an unreadable import" $
+      endToEnd resolver "module M where\nimport Data.List\nimport No.Such.Module\n" $ \scope -> do
+        lookupFixity scope InTerms Nothing (OpName "min")
+          `shouldBe` Resolved defaultFixity ReportDefault
+        lookupFixity scope InTerms Nothing (OpName "isPrefixOf")
+          `shouldBe` Resolved defaultFixity ReportDefault
+
+    it "settles a constructor a T(..) brings in, despite an unreadable import"
+      $ endToEnd
+        resolver
+        "module M where\nimport Data.Ord (Down (..))\nimport No.Such.Module\n"
+      $ \scope ->
+        lookupFixity scope InTerms Nothing (OpName "Down")
+          `shouldBe` Resolved defaultFixity ReportDefault
+
+    it "settles one written out beside its type, despite an unreadable import"
+      $ endToEnd
+        resolver
+        "module M where\nimport Data.Ord (Down (Down))\nimport No.Such.Module\n"
+      $ \scope ->
+        lookupFixity scope InTerms Nothing (OpName "Down")
+          `shouldBe` Resolved defaultFixity ReportDefault
+
+    it
+      "leaves a constructor of a type imported on its own to the unreadable import"
+      $ endToEnd
+        resolver
+        "module M where\nimport Data.Ord (Down)\nimport No.Such.Module\n"
+      $ \scope ->
+        lookupFixity scope InTerms Nothing (OpName "Down")
+          `shouldBe` Unresolved (unreadOnly "No.Such.Module")
+
+    it "still answers for what it did find, despite an unreadable import" $
+      endToEnd resolver "module M where\nimport Prettyprinter\nimport No.Such.Module\n" $ \scope ->
+        lookupFixity scope InTerms Nothing (OpName "<+>")
+          `shouldBe` Resolved (Fixity RightAssoc 6) (DeclaredIn "Prettyprinter")
+
+    it "concludes the default through a boot import that exports no operators" $
+      endToEnd resolver "module M where\nimport Data.Char\n" $ \scope ->
+        lookupFixity scope InTerms Nothing (OpName "<!@#>")
+          `shouldBe` Resolved defaultFixity ReportDefault
+
+    it "resolves an operator imported from a boot package" $
+      endToEnd resolver "module M where\nimport Data.Map\n" $ \scope ->
+        lookupFixity scope InTerms Nothing (OpName "!")
+          `shouldBe` Resolved (Fixity LeftAssoc 9) (DeclaredIn "Data.Map")
+
+    it "resolves an operator that arrives under a type's own name" $
+      endToEnd resolver "module M where\nimport Data.List.NonEmpty (NonEmpty (..))\n" $ \scope ->
+        lookupFixity scope InTerms Nothing (OpName ":|")
+          `shouldBe` Resolved
+            (Fixity RightAssoc 5)
+            (DeclaredIn "Data.List.NonEmpty")
+
+    it "resolves one written out beside its type" $
+      endToEnd resolver "module M where\nimport Data.List.NonEmpty (NonEmpty ((:|)))\n" $ \scope ->
+        lookupFixity scope InTerms Nothing (OpName ":|")
+          `shouldBe` Resolved
+            (Fixity RightAssoc 5)
+            (DeclaredIn "Data.List.NonEmpty")
+
+    it "leaves out an operator no item of the list brings in" $
+      endToEnd resolver "module M where\nimport Data.List.NonEmpty (toList)\n" $ \scope ->
+        lookupFixity scope InTerms Nothing (OpName ":|")
+          `shouldBe` Resolved defaultFixity ReportDefault
+
+    it "hides one hidden along with its type" $
+      endToEnd resolver "module M where\nimport Data.List.NonEmpty hiding (NonEmpty (..))\n" $ \scope ->
+        lookupFixity scope InTerms Nothing (OpName ":|")
+          `shouldBe` Resolved defaultFixity ReportDefault
+
+    it "brings one in under the qualifier it was imported with" $
+      endToEnd resolver "module M where\nimport qualified Data.List.NonEmpty as NE (NonEmpty (..))\n" $ \scope ->
+        lookupFixity scope InTerms (Just "NE") (OpName ":|")
+          `shouldBe` Resolved
+            (Fixity RightAssoc 5)
+            (DeclaredIn "Data.List.NonEmpty")
+
+    it "reports no ambiguity for a module that compiles" $
+      endToEnd resolver "module M where\nimport Prettyprinter\n" $ \scope ->
+        reachAmbiguous (scopeInTerms scope) `shouldBe` Map.empty
+
+  describe "readiness" $ do
+    it "reports something other than a missing plan for this project" $ do
+      readiness <- checkReadiness [] "."
+      readiness `shouldNotBe` PlanMissing
+
+    it "reports a missing plan for a directory that has none" $
+      checkReadiness [] "/" `shouldReturn` PlanMissing
+
+----------------------------------------------------------------------------
+-- Helpers
+
+-- | An empty project directory, holding a plan where @cabal@ writes one if
+-- it is to hold a plan at all.
+withTempProject :: Maybe Text -> (FilePath -> IO a) -> IO a
+withTempProject plan act =
+  withSystemTempDirectory "tilia-prepare" $ \dir -> do
+    createDirectoryIfMissing True (takeDirectory (planPathFor dir))
+    createDirectoryIfMissing True (dir </> "package")
+    writeUtf8File (dir </> "package" </> "package.cabal") ""
+    earlier <- addUTCTime (-120) <$> getCurrentTime
+    setModificationTime (dir </> "package" </> "package.cabal") earlier
+    traverse_ (writePlan dir) plan
+    act dir
+
+-- | Write a project's plan, its local packages in its @package@ directory.
+writePlan :: FilePath -> Text -> IO ()
+writePlan dir =
+  writeUtf8File (planPathFor dir)
+    . T.replace "@package" (T.pack (dir </> "package"))
+
+-- | A project whose @.cabal@ file changed after its plan was written.
+withChangedPackage :: (FilePath -> IO a) -> IO a
+withChangedPackage act =
+  withOwnPlan $ \dir -> do
+    now <- getCurrentTime
+    writeUtf8File (dir </> "thing.cabal") ""
+    setModificationTime (dir </> "thing.cabal") (addUTCTime (-30) now)
+    act dir
+
+-- | An empty project under a plan of its own, written a minute ago, so
+-- that what it leaves in the cache is its own.
+withOwnPlan :: (FilePath -> IO a) -> IO a
+withOwnPlan act =
+  withTempProject Nothing $ \dir -> do
+    writePlan dir $
+      "{\"compiler-id\":\"ghc-0.0\",\"install-plan\":\
+      \[{\"pkg-name\":\""
+        <> T.pack (takeBaseName dir)
+        <> "\",\"pkg-version\":\"1.0\",\"component-name\":\"lib\",\
+           \\"pkg-src\":{\"type\":\"local\",\"path\":\"@package\"}}]}"
+    now <- getCurrentTime
+    setModificationTime (planPathFor dir) (addUTCTime (-60) now)
+    act dir
+
+-- | A plan naming one package that no package cache can have a tarball
+-- for, so that reading it leaves something to fetch.
+wantingATarball :: Text
+wantingATarball =
+  "{\"compiler-id\":\"ghc-0.0\",\"install-plan\":\
+  \[{\"pkg-name\":\"tilia-phantom\",\"pkg-version\":\"9.9.9\",\
+  \\"pkg-src\":{\"type\":\"repo-tar\"}}]}"
+
+-- | A plan solved for a compiler whose @base@ no compiler has.
+foreignPlan :: Text
+foreignPlan =
+  "{\"compiler-id\":\"ghc-0.0\",\"install-plan\":\
+  \[{\"type\":\"pre-existing\",\"pkg-name\":\"base\",\"pkg-version\":\"0.0\"}]}"
+
+-- | A plan holding a local package with a library and an executable, and
+-- no test suite.
+twoComponents :: Text
+twoComponents =
+  "{\"compiler-id\":\"ghc-0.0\",\"install-plan\":\
+  \[{\"pkg-name\":\"thing\",\"pkg-version\":\"1.0\",\"component-name\":\"lib\",\
+  \\"pkg-src\":{\"type\":\"local\",\"path\":\"@package\"}},\
+  \{\"pkg-name\":\"thing\",\"pkg-version\":\"1.0\",\"component-name\":\"exe:thing\",\
+  \\"pkg-src\":{\"type\":\"local\",\"path\":\"@package\"}}]}"
+
+-- | The same, with a component a solve could go on to add.
+threeComponents :: Text
+threeComponents =
+  "{\"compiler-id\":\"ghc-0.0\",\"install-plan\":\
+  \[{\"pkg-name\":\"thing\",\"pkg-version\":\"1.0\",\"component-name\":\"lib\",\
+  \\"pkg-src\":{\"type\":\"local\",\"path\":\"@package\"}},\
+  \{\"pkg-name\":\"thing\",\"pkg-version\":\"1.0\",\"component-name\":\"exe:thing\",\
+  \\"pkg-src\":{\"type\":\"local\",\"path\":\"@package\"}},\
+  \{\"pkg-name\":\"thing\",\"pkg-version\":\"1.0\",\"component-name\":\"test:tests\",\
+  \\"pkg-src\":{\"type\":\"local\",\"path\":\"@package\"}}]}"
+
+-- | Narrow and short at once: two components, neither of them the one a
+-- run wants, and a dependency whose tarball is nowhere.
+--
+-- The shape @servant@ has, where two cookbook executables are named by the
+-- project and left out of every plan @cabal@ writes.
+narrowAndWanting :: Text
+narrowAndWanting =
+  "{\"compiler-id\":\"ghc-0.0\",\"install-plan\":\
+  \[{\"pkg-name\":\"thing\",\"pkg-version\":\"1.0\",\"component-name\":\"lib\",\
+  \\"pkg-src\":{\"type\":\"local\",\"path\":\"@package\"}},\
+  \{\"pkg-name\":\"tilia-phantom\",\"pkg-version\":\"9.9.9\",\
+  \\"pkg-src\":{\"type\":\"repo-tar\"}}]}"
+
+-- | A package planned whole, as @cabal@ plans one with a @Custom@ build
+-- type: no @component-name@, and a @components@ object instead.
+plannedWhole :: Text
+plannedWhole =
+  "{\"compiler-id\":\"ghc-0.0\",\"install-plan\":\
+  \[{\"pkg-name\":\"thing\",\"pkg-version\":\"1.0\",\"type\":\"configured\",\
+  \\"pkg-src\":{\"type\":\"local\",\"path\":\"@package\"},\
+  \\"components\":{\"lib\":{},\"test:spec\":{},\"setup\":{}}}]}"
+
+-- | A component of that package, by the name a plan gives it.
+component :: Text -> PlanComponent
+component = PlanComponent "thing"
+
+-- | Note that @cabal@ was asked for something.
+-- | What a solve and a fetch are asked for.
+--
+-- Both name the test suites and the benchmarks, because both are things a
+-- run formats and so things the plan has to reach.
+solving, fetching :: [String]
+solving = narrowSolve <> wholeProject
+fetching = narrowFetch <> wholeProject
+
+-- | The same two, asked only about what @cabal@ builds by default. What is
+-- fallen back on where the whole project will not solve.
+narrowSolve, narrowFetch :: [String]
+narrowSolve = ["build", ":all", "--dry-run"]
+narrowFetch = ["build", ":all", "--only-download"]
+
+wholeProject :: [String]
+wholeProject = ["--enable-tests", "--enable-benchmarks"]
+
+record :: IORef [[String]] -> [String] -> IO ()
+record steps args = modifyIORef' steps (<> [args])
+
+-- | A @cabal@ that does nothing and says it went well.
+obliging :: IORef [[String]] -> [String] -> IO (Either CabalFailure ())
+obliging steps args = record steps args >> pure (Right ())
+
+-- | Load the plan of a project as a run does, with the real way of running
+-- @cabal@.
+loading :: FilePath -> IO (Either Text BuildPlan)
+loading = loadPlan (Do #useCache) (Do #download) []
+
+-- | What a stand-in for @cabal@ runs to fail, saying what is given on its
+-- standard error.
+complaining :: String -> String
+complaining complaint = "echo '" <> complaint <> "' >&2; exit 1"
+
+-- | Run an assertion on a module's fixities, failing where the module could
+-- not be resolved at all.
+needs ::
+  (Text -> IO (Maybe (Fixities))) ->
+  Text ->
+  (Fixities -> Expectation) ->
+  Expectation
+needs resolve modName assertion =
+  resolve modName >>= \case
+    Nothing -> expectationFailure ("could not resolve " <> T.unpack modName)
+    Just fixities -> assertion fixities
+
+-- | Parse a module, resolve its imports for real, and hand over the scope.
+endToEnd ::
+  Resolver ->
+  Text ->
+  (Scope -> Expectation) ->
+  Expectation
+endToEnd resolver source assertion =
+  scopeFor
+    resolver
+    Nothing
+    (Is #implicitPrelude)
+    (pure (pmModule (parsed source)))
+    >>= assertion
+
+-- | Check one expected fixity, returning a description of any mismatch.
+check ::
+  (Text -> IO (Maybe (Fixities))) ->
+  (Text, Text, Fixity) ->
+  IO [String]
+check resolve (modName, op, expected) = do
+  got <- resolve modName
+  let actual = Map.lookup (InTerms, OpName op) =<< got
+  pure
+    [ T.unpack modName
+        <> "."
+        <> T.unpack op
+        <> ": expected "
+        <> show expected
+        <> " but got "
+        <> show actual
+    | actual /= Just expected
+    ]
+
+-- | A module that needs @LambdaCase@ to parse, and declares a fixity worth
+-- finding once it does.
+fancy :: Text
+fancy =
+  T.unlines
+    [ "module Fancy where",
+      "infixr 5 <+>",
+      "(<+>) :: Int -> Int -> Int",
+      "a <+> b = a + b",
+      "describe :: Int -> Int",
+      "describe = \\case",
+      "  0 -> 1",
+      "  _ -> 2"
+    ]
+
+-- | A @.cabal@ for the fake project, putting the named extensions in force.
+package :: [Text] -> Text
+package extensions =
+  T.unlines $
+    [ "cabal-version: 2.4",
+      "name: fake",
+      "version: 0.1.0.0",
+      "library",
+      "  exposed-modules: Fancy",
+      "  hs-source-dirs: src",
+      "  default-language: Haskell2010"
+    ]
+      <> [ "  default-extensions: " <> T.intercalate ", " extensions
+         | not (null extensions)
+         ]
+
+-- | A module that is perfectly readable and still cannot be resolved: the
+-- operator it exports comes from somewhere nothing can be read from.
+opaqueSource :: Text
+opaqueSource =
+  T.unlines
+    [ "module Opaque ((<+>), f) where",
+      "import No.Such.Module",
+      "f :: Int",
+      "f = 1"
+    ]
+
+-- | A module bundling the pattern synonym @:<@ with its type @T@, which has
+-- the constructor @:+@, in the export given.
+bundling :: Text -> Text
+bundling export =
+  T.unlines
+    [ "{-# LANGUAGE PatternSynonyms #-}",
+      "module Own (" <> export <> ") where",
+      "infixr 4 :+",
+      "data T = E | Int :+ T",
+      "infixr 5 :<",
+      "pattern (:<) :: Int -> T -> T",
+      "pattern x :< xs = x :+ xs"
+    ]
+
+-- | A project of made-up modules, with a build plan written by hand.
+--
+-- The plan names one local package and nothing else, which is enough for a
+-- resolver: local modules are read straight off disk, and everything they
+-- import here is either a boot module or does not exist.
+withFakeProject :: [(FilePath, Text)] -> (Resolver -> IO a) -> IO a
+withFakeProject sources act =
+  withFakePlan sources (\plan -> newResolver plan >>= act)
+
+withFakePlan :: [(FilePath, Text)] -> (BuildPlan -> IO a) -> IO a
+withFakePlan sources act =
+  withSystemTempDirectory "tilia-plan" $ \dir -> do
+    createDirectoryIfMissing True (dir </> "src")
+    if any ((".cabal" `Data.List.isSuffixOf`) . fst) sources
+      then pure ()
+      else
+        writeUtf8File (dir </> "fake.cabal") $
+          T.unlines
+            [ "cabal-version: 2.4",
+              "name: fake",
+              "version: 0.1.0.0",
+              "library",
+              "  exposed-modules: " <> T.intercalate ", " (fmap named (haskellIn sources)),
+              "  hs-source-dirs: src",
+              "  default-language: Haskell2010"
+            ]
+    for_ sources $ \(path, text) -> do
+      createDirectoryIfMissing True (takeDirectory (dir </> path))
+      writeUtf8File (dir </> path) text
+    installed <- installedEntries []
+    writeUtf8File (dir </> "plan.json") $
+      "{\"compiler-id\":\"ghc-0.0\",\"install-plan\":\
+      \[{\"pkg-name\":\"fake\",\"pkg-version\":\"0.1.0.0\",\
+      \\"pkg-src\":{\"type\":\"local\",\"path\":\""
+        <> T.pack dir
+        <> "\"}}"
+        <> foldMap ("," <>) installed
+        <> "]}"
+    readBuildPlan (dir </> "plan.json") >>= \case
+      Left why -> error (T.unpack why)
+      Right plan ->
+        withEnvironment [("XDG_CACHE_HOME", dir </> "cache")] (act plan)
+  where
+    haskellIn = filter (isModule . fst)
+    isModule path = any (`Data.List.isSuffixOf` path) [".hs", ".lhs", ".hsc"]
+    named (path, _) = T.pack (takeBaseName path)
+
+-- | A project whose one dependency is a package off Hackage, with the
+-- tarball @cabal@ would have fetched written where it would have put it.
+--
+-- Nothing here is local: this is the other route to a module, the one that
+-- opens an archive. @CABAL_DIR@ says where the package cache is and
+-- @XDG_CACHE_HOME@ where what is read gets remembered, so the run reaches
+-- the tarball below and no further, and leaves nothing behind.
+withFakeArchive :: [(FilePath, Text)] -> (Resolver -> IO a) -> IO a
+withFakeArchive sources act =
+  withSystemTempDirectory "tilia-archive" $ \dir -> do
+    let held = T.unpack (name <> "-" <> version)
+        tarball =
+          dir
+            </> "packages"
+            </> "hackage.haskell.org"
+            </> T.unpack name
+            </> T.unpack version
+            </> held
+              <> ".tar.gz"
+    createDirectoryIfMissing True (takeDirectory tarball)
+    writeTarball tarball $
+      (held </> T.unpack name <> ".cabal", cabal)
+        : [(held </> path, text) | (path, text) <- sources]
+    installed <- installedEntries []
+    writeUtf8File (dir </> "plan.json") (plan installed)
+    withEnvironment [("CABAL_DIR", dir), ("XDG_CACHE_HOME", dir </> "cache")] $
+      readBuildPlan (dir </> "plan.json") >>= \case
+        Left why -> error (T.unpack why)
+        Right p -> newResolver p >>= act
+  where
+    name = "tilia-hsc-fixture"
+    version = "1.0"
+    cabal =
+      T.unlines
+        [ "cabal-version: 2.4",
+          "name: " <> name,
+          "version: " <> version,
+          "library",
+          "  exposed-modules: " <> T.intercalate ", " (fmap moduleIn sources),
+          "  hs-source-dirs: .",
+          "  default-language: Haskell2010"
+        ]
+    moduleIn (path, _) = T.replace "/" "." (T.pack (dropExtension path))
+    plan installed =
+      "{\"compiler-id\":\"ghc-0.0\",\"install-plan\":\
+      \[{\"pkg-name\":\""
+        <> name
+        <> "\",\"pkg-version\":\""
+        <> version
+        <> "\",\"pkg-src\":{\"type\":\"repo-tar\"}}"
+        <> foldMap ("," <>) installed
+        <> "]}"
+
+-- | Write the named files as a gzipped tarball.
+writeTarball :: FilePath -> [(FilePath, Text)] -> IO ()
+writeTarball path entries =
+  BL.writeFile path . GZip.compress . Tar.write =<< traverse entry entries
+  where
+    entry (inside, text) = case Tar.toTarPath False inside of
+      Left why -> error why
+      Right tarPath ->
+        pure (Tar.fileEntry tarPath (BL.fromStrict (T.encodeUtf8 text)))
diff --git a/tests/Tilia/FixitySpec.hs b/tests/Tilia/FixitySpec.hs
--- a/tests/Tilia/FixitySpec.hs
+++ b/tests/Tilia/FixitySpec.hs
@@ -16,6 +16,7 @@
 import GHC.Hs (HsModule)
 import GHC.Hs.Extension (GhcPs)
 import Test.Hspec
+
 import Tilia.Cpp (blankCpp, branchLeaves)
 import Tilia.Fixity
 import Tilia.Parser
@@ -39,7 +40,9 @@
 
     it "reads several operators from one declaration" $
       declaredIn "module M where\ninfixl 7 <.>, <:>\n"
-        `shouldBe` [(OpName "<.>", Fixity LeftAssoc 7), (OpName "<:>", Fixity LeftAssoc 7)]
+        `shouldBe` [ (OpName "<.>", Fixity LeftAssoc 7),
+                     (OpName "<:>", Fixity LeftAssoc 7)
+                   ]
 
     it "reads a backticked function name" $
       declaredIn "module M where\ninfixl 7 `quot`\n"
@@ -53,12 +56,16 @@
         `shouldBe` [(OpName "<+>", Fixity LeftAssoc 6)]
 
     it "reads one a class makes about its own method" $
-      declaredIn "module M where\nclass C a where\n  infixr 8 .=\n  (.=) :: a -> a -> Int\n"
+      declaredIn
+        "module M where\nclass C a where\n  infixr 8 .=\n  (.=) :: a -> a -> Int\n"
         `shouldBe` [(OpName ".=", Fixity RightAssoc 8)]
 
     it "reads those at the margin and in a class together" $
-      declaredIn "module M where\ninfixl 1 <+>\nclass C a where\n  infixr 8 .=\n  (.=) :: a -> a -> Int\n"
-        `shouldBe` [(OpName ".=", Fixity RightAssoc 8), (OpName "<+>", Fixity LeftAssoc 1)]
+      declaredIn
+        "module M where\ninfixl 1 <+>\nclass C a where\n  infixr 8 .=\n  (.=) :: a -> a -> Int\n"
+        `shouldBe` [ (OpName ".=", Fixity RightAssoc 8),
+                     (OpName "<+>", Fixity LeftAssoc 1)
+                   ]
 
     it "leaves a declaration local to a binding where it is" $
       declaredIn "module M where\nf = g\n  where\n    infixr 3 ###\n    g = 1\n"
@@ -66,7 +73,8 @@
 
   describe "which namespace a declaration governs" $ do
     it "gives a type operator's fixity to types" $
-      declaredWithNamespaces "module M where\ninfixr 4 :>\ndata a :> b = Sub a b\n"
+      declaredWithNamespaces
+        "module M where\ninfixr 4 :>\ndata a :> b = Sub a b\n"
         `shouldBe` [((InTypes, OpName ":>"), Fixity RightAssoc 4)]
 
     it "gives a value operator's fixity to terms" $
@@ -99,7 +107,8 @@
                    ]
 
     it "gives both to a name the module declares in both" $
-      declaredWithNamespaces "module M where\ninfixr 4 :>\ndata a :> b = a :> b\n"
+      declaredWithNamespaces
+        "module M where\ninfixr 4 :>\ndata a :> b = a :> b\n"
         `shouldBe` [ ((InTypes, OpName ":>"), Fixity RightAssoc 4),
                      ((InTerms, OpName ":>"), Fixity RightAssoc 4)
                    ]
@@ -113,11 +122,19 @@
 
   describe "one spelling in two namespaces" $ do
     it "settles a type use against the type declaration" $
-      lookupFixity (scopeOfBoth "import Types\nimport Terms\n") InTypes Nothing (OpName ":>")
+      lookupFixity
+        (scopeOfBoth "import Types\nimport Terms\n")
+        InTypes
+        Nothing
+        (OpName ":>")
         `shouldBe` Resolved (Fixity RightAssoc 4) (DeclaredIn "Types")
 
     it "settles a term use against the term declaration" $
-      lookupFixity (scopeOfBoth "import Types\nimport Terms\n") InTerms Nothing (OpName ":>")
+      lookupFixity
+        (scopeOfBoth "import Types\nimport Terms\n")
+        InTerms
+        Nothing
+        (OpName ":>")
         `shouldBe` Resolved (Fixity LeftAssoc 5) (DeclaredIn "Terms")
 
     it "reports no ambiguity between them" $ do
@@ -126,7 +143,8 @@
       reachAmbiguous (scopeInTerms scope) `shouldBe` Map.empty
 
     it "still reports one where both are in the same namespace" $
-      reachAmbiguous (scopeInTerms (scopeOfBoth "import Terms\nimport Other.Terms\n"))
+      reachAmbiguous
+        (scopeInTerms (scopeOfBoth "import Terms\nimport Other.Terms\n"))
         `shouldBe` Map.fromList [((Nothing, OpName ":>"), termsDisagreeing)]
 
     it "takes a promoted constructor's fixity from the terms" $
@@ -164,20 +182,61 @@
       lookupFixity (scopeOfBoth "import Types\n") InTerms Nothing (OpName ":>")
         `shouldBe` Resolved defaultFixity ReportDefault
 
-    it "prefers the type it finds to the term it could fall back on" $
-      lookupFixity (scopeOfBoth "import Types\nimport Terms\n") InTypes Nothing (OpName ":>")
-        `shouldBe` Resolved (Fixity RightAssoc 4) (DeclaredIn "Types")
+  describe "an operator the module declares differently in its branches" $ do
+    it "is ambiguous where the branches parse together" $
+      disagreement
+        ( scopeOfBoth
+            "infixl 6 <+>\ninfixr 5 <+>\n(<+>) :: Int -> Int -> Int\na <+> b = a + b\n"
+        )
+        InTerms
+        Nothing
+        (OpName "<+>")
+        `shouldBe` Just
+          (("M", Fixity LeftAssoc 6) :| [("M", Fixity RightAssoc 5)])
 
+    it "is ambiguous where each branch is a configuration of its own" $ do
+      let configuration fixity =
+            pmModule . parsed $
+              "module M where\ninfix"
+                <> fixity
+                <> " <+>\n(<+>) :: Int -> Int -> Int\na <+> b = a + b\n"
+          scope =
+            resolveScope
+              (Is #implicitPrelude)
+              (knowingExports . snd)
+              (configuration "l 6" :| [configuration "r 5"])
+      disagreement scope InTerms Nothing (OpName "<+>")
+        `shouldBe` Just
+          (("M", Fixity LeftAssoc 6) :| [("M", Fixity RightAssoc 5)])
+
+  describe "an equality nothing in scope declares" $ do
+    it "is infix 4 among types, as GHC takes it" $
+      lookupFixity (scopeOfBoth "import Terms\n") InTypes Nothing (OpName "~")
+        `shouldBe` Resolved (Fixity NoAssoc 4) BuiltIn
+
+    it "is not an equality among terms" $
+      lookupFixity (scopeOfBoth "import Terms\n") InTerms Nothing (OpName "~")
+        `shouldBe` Resolved defaultFixity ReportDefault
+
     it "lets a module that writes the type be formatted" $
-      unsettledIn "module M where\nimport Types\nimport Terms\ntype T = Int :> Int\n"
+      unsettledIn
+        "module M where\nimport Types\nimport Terms\ntype T = Int :> Int\n"
         `shouldBe` []
 
     it "declines one that writes an operator both agree to disagree about" $
-      fmap snd (unsettledIn "module M where\nimport Terms\nimport Other.Terms\nf a b = a :> b\n")
+      fmap
+        snd
+        ( unsettledIn
+            "module M where\nimport Terms\nimport Other.Terms\nf a b = a :> b\n"
+        )
         `shouldBe` [Ambiguous termsDisagreeing]
 
     it "declines a type that writes a constructor they disagree about" $
-      fmap snd (unsettledIn "module M where\nimport Terms\nimport Other.Terms\ntype T = Int :> Int\n")
+      fmap
+        snd
+        ( unsettledIn
+            "module M where\nimport Terms\nimport Other.Terms\ntype T = Int :> Int\n"
+        )
         `shouldBe` [Ambiguous termsDisagreeing]
 
     it "settles a constructor written with its tick among the terms alone" $
@@ -215,11 +274,19 @@
 
   describe "which unread module an unsettled operator is blamed on" $ do
     it "passes over one whose export list has no such operator" $
-      lookupFixity (scopeKnowing [("Opaque", ["<+>"])] usesUnknown) InTerms Nothing (OpName "<??>")
+      lookupFixity
+        (scopeKnowing [("Opaque", ["<+>"])] usesUnknown)
+        InTerms
+        Nothing
+        (OpName "<??>")
         `shouldBe` Resolved defaultFixity ReportDefault
 
     it "blames one whose export list names it" $
-      lookupFixity (scopeKnowing [("Opaque", ["<??>"])] usesUnknown) InTerms Nothing (OpName "<??>")
+      lookupFixity
+        (scopeKnowing [("Opaque", ["<??>"])] usesUnknown)
+        InTerms
+        Nothing
+        (OpName "<??>")
         `shouldBe` Unresolved (unreadOnly "Opaque")
 
     it "blames one that will not say what it exports" $
@@ -228,7 +295,10 @@
 
     it "still passes over an import list that does not name it" $
       lookupFixity
-        (scopeKnowing [("Opaque", ["<??>"])] "module M where\nimport Opaque ((<+>))\n")
+        ( scopeKnowing
+            [("Opaque", ["<??>"])]
+            "module M where\nimport Opaque ((<+>))\n"
+        )
         InTerms
         Nothing
         (OpName "<??>")
@@ -236,7 +306,10 @@
 
     it "blames only the ones that could supply it, of several unread" $
       lookupFixity
-        (scopeKnowing [("Opaque", ["<+>"]), ("Other.Opaque", ["<??>"])] twoUnread)
+        ( scopeKnowing
+            [("Opaque", ["<+>"]), ("Other.Opaque", ["<??>"])]
+            twoUnread
+        )
         InTerms
         Nothing
         (OpName "<??>")
@@ -256,7 +329,10 @@
 
     it "passes over one whose import list names no such operator" $
       lookupFixity
-        (scopeSuspecting [("Opaque", [("T", ["<+>"])])] "import Opaque (T (..))\n")
+        ( scopeSuspecting
+            [("Opaque", [("T", ["<+>"])])]
+            "import Opaque (T (..))\n"
+        )
         InTerms
         Nothing
         (OpName "<??>")
@@ -264,7 +340,10 @@
 
     it "blames one whose import list names it" $
       lookupFixity
-        (scopeSuspecting [("Opaque", [("T", ["<??>"])])] "import Opaque (T (..))\n")
+        ( scopeSuspecting
+            [("Opaque", [("T", ["<??>"])])]
+            "import Opaque (T (..))\n"
+        )
         InTerms
         Nothing
         (OpName "<??>")
@@ -280,7 +359,10 @@
 
     it "passes over one that hides the operator along with its type" $
       lookupFixity
-        (scopeSuspecting [("Opaque", [("T", ["<??>"])])] "import Opaque hiding (T (..))\n")
+        ( scopeSuspecting
+            [("Opaque", [("T", ["<??>"])])]
+            "import Opaque hiding (T (..))\n"
+        )
         InTerms
         Nothing
         (OpName "<??>")
@@ -288,6 +370,7 @@
 
     it "lets a file be formatted when no unread module could have declared it" $
       unknownOperators
+        Nothing
         (scopeKnowing [("Opaque", ["<+>"])] usesUnknown)
         (pure (pmGathered (parsed usesUnknown)))
         `shouldBe` []
@@ -306,7 +389,9 @@
 
     it "still blames one for a name bound inside the function of a view pattern" $
       lookupFixity
-        (fullScope "{-# LANGUAGE ViewPatterns #-}\nmodule M where\nimport Opaque\n((\\clamp -> clamp) -> n) = 1\n")
+        ( fullScope
+            "{-# LANGUAGE ViewPatterns #-}\nmodule M where\nimport Opaque\n((\\clamp -> clamp) -> n) = 1\n"
+        )
         InTerms
         Nothing
         (OpName "clamp")
@@ -318,7 +403,9 @@
 
     it "still blames one for a use under the qualifier it is imported as" $
       lookupFixity
-        (fullScope "module M where\nimport qualified Opaque as O\nclamp = max\n")
+        ( fullScope
+            "module M where\nimport qualified Opaque as O\nclamp = max\n"
+        )
         InTerms
         (Just "O")
         (OpName "clamp")
@@ -333,16 +420,26 @@
         `shouldBe` Unresolved (unreadOnly "Opaque")
 
     it "lets a file be formatted that uses what it defines itself" $
-      unknownOperators (fullScope definesItsOwn) (pure (pmGathered (parsed definesItsOwn)))
+      unknownOperators
+        Nothing
+        (fullScope definesItsOwn)
+        (pure (pmGathered (parsed definesItsOwn)))
         `shouldBe` []
 
     it "passes over every one for a name an import it could read brings in" $
-      lookupFixity (scopeBringing preludeBringsMin "import Opaque\n") InTerms Nothing (OpName "min")
+      lookupFixity
+        (scopeBringing preludeBringsMin "import Opaque\n")
+        InTerms
+        Nothing
+        (OpName "min")
         `shouldBe` Resolved defaultFixity ReportDefault
 
     it "passes over every one for a name brought in under the qualifier used" $
       lookupFixity
-        (scopeBringing [("Data.List", [(InTerms, "isPrefixOf")])] "import qualified Data.List as L\nimport qualified Opaque as L\n")
+        ( scopeBringing
+            [("Data.List", [(InTerms, "isPrefixOf")])]
+            "import qualified Data.List as L\nimport qualified Opaque as L\n"
+        )
         InTerms
         (Just "L")
         (OpName "isPrefixOf")
@@ -350,7 +447,10 @@
 
     it "still blames one for a name brought in only under another qualifier" $
       lookupFixity
-        (scopeBringing [("Data.List", [(InTerms, "isPrefixOf")])] "import qualified Data.List as L\nimport Opaque\n")
+        ( scopeBringing
+            [("Data.List", [(InTerms, "isPrefixOf")])]
+            "import qualified Data.List as L\nimport Opaque\n"
+        )
         InTerms
         Nothing
         (OpName "isPrefixOf")
@@ -358,7 +458,10 @@
 
     it "passes over every one for a variable an import list names" $
       lookupFixity
-        (scopeBringing [("Data.List", [(InTerms, "isPrefixOf")])] "import Data.List (isPrefixOf)\nimport Opaque\n")
+        ( scopeBringing
+            [("Data.List", [(InTerms, "isPrefixOf")])]
+            "import Data.List (isPrefixOf)\nimport Opaque\n"
+        )
         InTerms
         Nothing
         (OpName "isPrefixOf")
@@ -366,7 +469,10 @@
 
     it "still blames one for a name an import list leaves out" $
       lookupFixity
-        (scopeBringing [("Data.List", [(InTerms, "isPrefixOf")])] "import Data.List (nub)\nimport Opaque\n")
+        ( scopeBringing
+            [("Data.List", [(InTerms, "isPrefixOf")])]
+            "import Data.List (nub)\nimport Opaque\n"
+        )
         InTerms
         Nothing
         (OpName "isPrefixOf")
@@ -374,7 +480,10 @@
 
     it "still blames one for a name a hiding list may hide along with a type" $
       lookupFixity
-        (scopeBringing [("Readable", [(InTerms, ":|")])] "import Readable hiding (T (..))\nimport Opaque\n")
+        ( scopeBringing
+            [("Readable", [(InTerms, ":|")])]
+            "import Readable hiding (T (..))\nimport Opaque\n"
+        )
         InTerms
         Nothing
         (OpName ":|")
@@ -382,7 +491,10 @@
 
     it "still blames one for a constructor brought in only as a type" $
       lookupFixity
-        (scopeBringing [("Readable", [(InTypes, ":+:")])] "import Readable\nimport Opaque\n")
+        ( scopeBringing
+            [("Readable", [(InTypes, ":+:")])]
+            "import Readable\nimport Opaque\n"
+        )
         InTerms
         Nothing
         (OpName ":+:")
@@ -392,12 +504,19 @@
       let leavingMin = \case
             "Opaque" ->
               mempty
-                { establishedCertain = Certain (Set.singleton (InTerms, OpName "min")) Map.empty,
-                  establishedUnsettled = Map.singleton [] (Set.singleton (InTerms, OpName "min"))
+                { establishedCertain =
+                    Certain (Set.singleton (InTerms, OpName "min")) Map.empty,
+                  establishedUnsettled =
+                    Map.singleton [] (Set.singleton (InTerms, OpName "min"))
                 }
             m -> knowingExports m
-          scope = resolveScope (Is #implicitPrelude) leavingMin (pure (pmModule (parsed "module M where\nimport Opaque\n")))
-       in lookupFixity scope InTerms Nothing (OpName "min") `shouldBe` Unresolved (unreadOnly "Opaque")
+          scope =
+            resolveScope
+              (Is #implicitPrelude)
+              (leavingMin . snd)
+              (pure (pmModule (parsed "module M where\nimport Opaque\n")))
+       in lookupFixity scope InTerms Nothing (OpName "min")
+            `shouldBe` Unresolved (unreadOnly "Opaque")
 
     it "lets a file be formatted whose every unsettled name is accounted for" $
       let source =
@@ -415,19 +534,32 @@
           scope =
             resolveScope
               (Is #implicitPrelude)
-              ( \case
+              ( \(_, imported) -> case imported of
                   "A" -> unreadable
                   "Prelude" ->
                     mempty
                       { establishedFixities =
-                          inBothNamespaces (Map.fromList [(OpName "+", Fixity LeftAssoc 6), (OpName "*", Fixity LeftAssoc 7)]),
+                          inBothNamespaces
+                            ( Map.fromList
+                                [ (OpName "+", Fixity LeftAssoc 6),
+                                  (OpName "*", Fixity LeftAssoc 7)
+                                ]
+                            ),
                         establishedCertain =
-                          Certain (Set.fromList [(InTerms, OpName "min"), (InTerms, OpName "+"), (InTerms, OpName "*")]) Map.empty
+                          Certain
+                            ( Set.fromList
+                                [ (InTerms, OpName "min"),
+                                  (InTerms, OpName "+"),
+                                  (InTerms, OpName "*")
+                                ]
+                            )
+                            Map.empty
                       }
                   m -> knowingExports m
               )
               (pure (pmModule (parsed source)))
-       in unknownOperators scope (pure (pmGathered (parsed source))) `shouldBe` []
+       in unknownOperators Nothing scope (pure (pmGathered (parsed source)))
+            `shouldBe` []
 
   describe "a use a local binding captures" $ do
     it "is captured by a function its equation binds under where" $
@@ -435,8 +567,11 @@
         `shouldBe` [((1, 7), defaultFixity)]
 
     it "takes the fixity the binding's group declares" $
-      capturedIn "f = 1 <+> 2 <+> 3\n  where\n    infixr 5 <+>\n    a <+> b = a * b\n"
-        `shouldBe` [((1, 7), Fixity RightAssoc 5), ((1, 13), Fixity RightAssoc 5)]
+      capturedIn
+        "f = 1 <+> 2 <+> 3\n  where\n    infixr 5 <+>\n    a <+> b = a * b\n"
+        `shouldBe` [ ((1, 7), Fixity RightAssoc 5),
+                     ((1, 13), Fixity RightAssoc 5)
+                   ]
 
     it "is captured by what a let binds" $
       capturedIn "f = let a <+> b = a * b in 1 <+> 2\n"
@@ -483,33 +618,54 @@
         `shouldBe` []
 
     it "is not captured where bindings of different fixities could each capture it" $
-      capturedIn "f op = let infixr 5 `op`\n           a `op` b = a in 1 `op` 2\n"
+      capturedIn
+        "f op = let infixr 5 `op`\n           a `op` b = a in 1 `op` 2\n"
         `shouldBe` []
 
     it "lets a file be formatted that uses it alongside an unread import" $
-      unsettledIn "module M where\nimport Opaque\nf = 1 `roundTo` 2\n  where\n    a `roundTo` b = a\n"
+      unsettledIn
+        "module M where\nimport Opaque\nf = 1 `roundTo` 2\n  where\n    a `roundTo` b = a\n"
         `shouldBe` []
 
     it "is still held against the unread import where nothing binds it" $
-      fmap fst (unsettledIn "module M where\nimport Opaque\nf = 1 `roundTo` 2\n")
+      fmap
+        fst
+        (unsettledIn "module M where\nimport Opaque\nf = 1 `roundTo` 2\n")
         `shouldBe` [(Nothing, OpName "roundTo")]
 
   describe "the members of a name" $ do
     it "takes a type's constructors, among terms" $
       declaredMembersIn "module M where\ndata T = A | Int :| Int\n"
-        `shouldBe` [(OpName "T", [(InTerms, OpName ":|"), (InTerms, OpName "A")])]
+        `shouldBe` [ ( OpName "T",
+                       [(InTerms, OpName ":|"), (InTerms, OpName "A")]
+                     )
+                   ]
 
     it "takes a record's fields, which may be operators, among terms" $
       declaredMembersIn "module M where\ndata T = T {(#) :: Int, name :: Int}\n"
-        `shouldBe` [(OpName "T", [(InTerms, OpName "#"), (InTerms, OpName "T"), (InTerms, OpName "name")])]
+        `shouldBe` [ ( OpName "T",
+                       [ (InTerms, OpName "#"),
+                         (InTerms, OpName "T"),
+                         (InTerms, OpName "name")
+                       ]
+                     )
+                   ]
 
     it "takes a GADT's constructors, among terms" $
-      declaredMembersIn "module M where\ndata T where\n  A :: T\n  (:|) :: T -> T\n"
-        `shouldBe` [(OpName "T", [(InTerms, OpName ":|"), (InTerms, OpName "A")])]
+      declaredMembersIn
+        "module M where\ndata T where\n  A :: T\n  (:|) :: T -> T\n"
+        `shouldBe` [ ( OpName "T",
+                       [(InTerms, OpName ":|"), (InTerms, OpName "A")]
+                     )
+                   ]
 
     it "takes a class's methods, among terms" $
-      declaredMembersIn "module M where\nclass C a where\n  (.=) :: a -> a -> Int\n  named :: a\n"
-        `shouldBe` [(OpName "C", [(InTerms, OpName ".="), (InTerms, OpName "named")])]
+      declaredMembersIn
+        "module M where\nclass C a where\n  (.=) :: a -> a -> Int\n  named :: a\n"
+        `shouldBe` [ ( OpName "C",
+                       [(InTerms, OpName ".="), (InTerms, OpName "named")]
+                     )
+                   ]
 
     it "takes a class's associated families, among types" $
       declaredMembersIn "module M where\nclass C a where\n  type F a\n"
@@ -533,46 +689,84 @@
                      )
                    ]
 
-    it "has nothing to say about a type synonym" $
-      declaredMembersIn "module M where\ntype T = Int\n" `shouldBe` []
+    it "takes a type synonym to have none" $
+      declaredMembersIn "module M where\ntype T = Int\n"
+        `shouldBe` [(OpName "T", [])]
 
+    it "takes a type family to have none" $
+      declaredMembersIn
+        "{-# LANGUAGE TypeFamilies #-}\nmodule M where\ntype family F a\n"
+        `shouldBe` [(OpName "F", [])]
+
+    it "has nothing to say about a data family without its instances" $
+      declaredMembersIn
+        "{-# LANGUAGE TypeFamilies #-}\nmodule M where\ndata family F a\n"
+        `shouldBe` []
+
     it "keeps to what an export list hands on" $
       listedMembersIn "module M (T (A)) where\ndata T = A | Int :| Int\n"
-        `shouldBe` [(OpName "T", [OpName "A"])]
+        `shouldBe` [(OpName "T", [(InTerms, OpName "A")])]
 
     it "hands on every member of a name exported with (..)" $
       listedMembersIn "module M (T (..)) where\ndata T = A | Int :| Int\n"
-        `shouldBe` [(OpName "T", [OpName ":|", OpName "A"])]
+        `shouldBe` [ ( OpName "T",
+                       [(InTerms, OpName ":|"), (InTerms, OpName "A")]
+                     )
+                   ]
 
     it "hands on every member of a name exported with (..) and the rest" $
       listedMembersIn
         "{-# LANGUAGE PatternSynonyms #-}\n\
         \module M (T (.., P)) where\ndata T = A | Int :| Int\npattern P = A\n"
-        `shouldBe` [(OpName "T", [OpName ":|", OpName "A", OpName "P"])]
+        `shouldBe` [ ( OpName "T",
+                       [ (InTypes, OpName "P"),
+                         (InTerms, OpName ":|"),
+                         (InTerms, OpName "A"),
+                         (InTerms, OpName "P")
+                       ]
+                     )
+                   ]
 
     it "says nothing of the members of a type it does not declare" $
       listedMembersIn "module M (T (..)) where\nimport Elsewhere\n"
         `shouldBe` []
 
     it "hands on no members of a name exported without them" $
-      listedMembersIn "module M (T, U) where\nimport Elsewhere\ndata T = A | Int :| Int\n"
+      listedMembersIn
+        "module M (T, U) where\nimport Elsewhere\ndata T = A | Int :| Int\n"
         `shouldBe` [(OpName "T", []), (OpName "U", [])]
 
   describe "layer 2: imports" $ do
     it "brings in an operator among the members of a type" $
-      lookupFixity (scopeWithMembers "import Members (T (..))\n") InTerms Nothing (OpName ":|")
+      lookupFixity
+        (scopeWithMembers "import Members (T (..))\n")
+        InTerms
+        Nothing
+        (OpName ":|")
         `shouldBe` Resolved (Fixity RightAssoc 5) (DeclaredIn "Members")
 
     it "leaves out an operator not among the members of the type" $
-      lookupFixity (scopeWithMembers "import Members (T (..))\n") InTerms Nothing (OpName "<+>")
+      lookupFixity
+        (scopeWithMembers "import Members (T (..))\n")
+        InTerms
+        Nothing
+        (OpName "<+>")
         `shouldBe` Resolved defaultFixity ReportDefault
 
     it "hides an operator hidden along with its type" $
-      lookupFixity (scopeWithMembers "import Members hiding (T (..))\n") InTerms Nothing (OpName ":|")
+      lookupFixity
+        (scopeWithMembers "import Members hiding (T (..))\n")
+        InTerms
+        Nothing
+        (OpName ":|")
         `shouldBe` Resolved defaultFixity ReportDefault
 
     it "keeps what a hiding list leaves alone" $
-      lookupFixity (scopeWithMembers "import Members hiding (T (..))\n") InTerms Nothing (OpName "<+>")
+      lookupFixity
+        (scopeWithMembers "import Members hiding (T (..))\n")
+        InTerms
+        Nothing
+        (OpName "<+>")
         `shouldBe` Resolved (Fixity LeftAssoc 6) (DeclaredIn "Members")
 
     it "brings in one a T(..) may stand for, where its members are not known" $
@@ -648,10 +842,53 @@
        in unq `shouldBe` [(OpName "!", Fixity RightAssoc 3)]
 
   describe "what an import list certainly brings in" $ do
+    it "is in the namespace the list writes it in" $
+      fmap
+        importNames
+        ( moduleImports
+            (Isn't #implicitPrelude)
+            ( pure
+                ( pmModule
+                    ( parsed
+                        "{-# LANGUAGE ExplicitNamespaces, PatternSynonyms #-}\nmodule M where\nimport N (f, (<+>), T, (:+:), type (.++), pattern P, data (:|))\n"
+                    )
+                )
+            )
+        )
+        `shouldBe` [ Just
+                       ( False,
+                         [ ImportedName InTerms (OpName "f"),
+                           ImportedName InTerms (OpName "<+>"),
+                           ImportedName InTypes (OpName "T"),
+                           ImportedName InTypes (OpName ":+:"),
+                           ImportedName InTypes (OpName ".++"),
+                           ImportedName InTerms (OpName "P"),
+                           ImportedName InTerms (OpName ":|")
+                         ]
+                       )
+                   ]
+
     it "is a variable written on its own" $
-      certainlyBrings Map.empty (InTerms, OpName "f") (listing [ImportedName (OpName "f")])
+      certainlyBrings
+        Map.empty
+        (InTerms, OpName "f")
+        (listing [ImportedName InTerms (OpName "f")])
         `shouldBe` True
 
+    it "is a type written on its own" $
+      certainlyBrings
+        Map.empty
+        (InTypes, OpName ".++")
+        (listing [ImportedName InTypes (OpName ".++")])
+        `shouldBe` True
+
+    it "is not a type the list writes among terms" $
+      certainlyBrings
+        Map.empty
+        (InTypes, OpName ".++")
+        (listing [ImportedName InTerms (OpName ".++")])
+        `shouldBe` False
+
     it "is a member written out beside its type" $
       certainlyBrings
         Map.empty
@@ -660,28 +897,42 @@
         `shouldBe` True
 
     it "is a member of a T(..) whose members are known" $
-      certainlyBrings nonEmptyMembers (InTerms, OpName ":|") (listing [ImportedAll (OpName "NonEmpty")])
+      certainlyBrings
+        nonEmptyMembers
+        (InTerms, OpName ":|")
+        (listing [ImportedAll (OpName "NonEmpty")])
         `shouldBe` True
 
     it "is not a member of a T(..) whose members are not known" $
-      certainlyBrings Map.empty (InTerms, OpName ":|") (listing [ImportedAll (OpName "NonEmpty")])
+      certainlyBrings
+        Map.empty
+        (InTerms, OpName ":|")
+        (listing [ImportedAll (OpName "NonEmpty")])
         `shouldBe` False
 
     it "is not a member of a type written on its own" $
-      certainlyBrings nonEmptyMembers (InTerms, OpName ":|") (listing [ImportedName (OpName "NonEmpty")])
+      certainlyBrings
+        nonEmptyMembers
+        (InTerms, OpName ":|")
+        (listing [ImportedName InTypes (OpName "NonEmpty")])
         `shouldBe` False
 
     it "is not what a T(..) has under it in the type namespace" $
-      certainlyBrings nonEmptyMembers (InTypes, OpName ":|") (listing [ImportedAll (OpName "NonEmpty")])
+      certainlyBrings
+        nonEmptyMembers
+        (InTypes, OpName ":|")
+        (listing [ImportedAll (OpName "NonEmpty")])
         `shouldBe` False
 
   describe "ambiguity" $ do
     it "reports an operator imported with two different fixities" $
-      let (_, _, amb) = scopeOf "module M where\nimport Data.Map\nimport Other\n"
+      let (_, _, amb) =
+            scopeOf "module M where\nimport Data.Map\nimport Other\n"
        in amb `shouldBe` [(Nothing, OpName "!")]
 
     it "reports nothing when two imports agree" $
-      let (_, _, amb) = scopeOf "module M where\nimport Data.Map\nimport Agreeing\n"
+      let (_, _, amb) =
+            scopeOf "module M where\nimport Data.Map\nimport Agreeing\n"
        in amb `shouldBe` []
 
     it "reports nothing when the two go under different names" $
@@ -812,7 +1063,9 @@
             `shouldBe` Resolved (Fixity LeftAssoc 9) (DeclaredIn "Data.Map")
 
     it "weighs only the unread imports the qualifier reaches" $
-      let s = fullScope "module M where\nimport qualified Data.Map as M\nimport Opaque\n"
+      let s =
+            fullScope
+              "module M where\nimport qualified Data.Map as M\nimport Opaque\n"
        in lookupFixity s InTerms (Just "M") (OpName "<??>")
             `shouldBe` Resolved defaultFixity ReportDefault
 
@@ -823,7 +1076,8 @@
 
   describe "what could not be settled" $ do
     it "says which qualifier the unsettled use was written under" $
-      unsettledIn "module M where\nimport qualified Opaque as O\nf a b = a O.<+> b\n"
+      unsettledIn
+        "module M where\nimport qualified Opaque as O\nf a b = a O.<+> b\n"
         `shouldBe` [((Just "O", OpName "<+>"), NotRead (unreadOnly "Opaque"))]
 
     it "keeps a qualified use apart from an unqualified one" $
@@ -834,7 +1088,8 @@
                    ]
 
     it "leaves a settled qualified use out, unread imports notwithstanding" $
-      unsettledIn "module M where\nimport qualified Data.Map as M\nimport Opaque\nf m = m M.! 1\n"
+      unsettledIn
+        "module M where\nimport qualified Data.Map as M\nimport Opaque\nf m = m M.! 1\n"
         `shouldBe` []
 
     it "holds an ambiguous operator against its unqualified use only" $
@@ -853,18 +1108,24 @@
         `shouldBe` [((Just "M", OpName "!"), Ambiguous bangDisagreeing)]
 
     it "names a module imported twice once" $
-      unsettledIn "module M where\nimport Data.Map\nimport Data.Map ((!))\nimport Other\nf a b = a ! b\n"
+      unsettledIn
+        "module M where\nimport Data.Map\nimport Data.Map ((!))\nimport Other\nf a b = a ! b\n"
         `shouldBe` [((Nothing, OpName "!"), Ambiguous bangDisagreeing)]
 
     it "names every import that brings the operator in, agreeing or not" $
-      unsettledIn "module M where\nimport Data.Map\nimport Other\nimport Agreeing\nf a b = a ! b\n"
+      unsettledIn
+        "module M where\nimport Data.Map\nimport Other\nimport Agreeing\nf a b = a ! b\n"
         `shouldBe` [ ( (Nothing, OpName "!"),
                        Ambiguous (bangDisagreeing <> (("Agreeing", Fixity LeftAssoc 9) :| []))
                      )
                    ]
 
     it "spells a use the way the module wrote it" $
-      fmap (uncurry operatorSpelling . fst) (unsettledIn "module M where\nimport qualified Opaque as O\nf a b = a O.<+> b\n")
+      fmap
+        (uncurry operatorSpelling . fst)
+        ( unsettledIn
+            "module M where\nimport qualified Opaque as O\nf a b = a O.<+> b\n"
+        )
         `shouldBe` ["O.<+>"]
 
   describe "a module's configurations" $ do
@@ -873,7 +1134,9 @@
         `shouldBe` fullScope (blankCpp conditionalImports)
 
     it "do not take the Prelude implicitly where one of them imports it" $
-      fmap importModule (moduleImports (Is #implicitPrelude) (leavesOf conditionalImports))
+      fmap
+        importModule
+        (moduleImports (Is #implicitPrelude) (leavesOf conditionalImports))
         `shouldBe` ["Data.Map", "Data.Sequence", "Prelude", "Opaque"]
 
   describe "parsing with the module's own pragmas"
@@ -915,7 +1178,8 @@
   -- Spell @:>@ in different namespaces, as servant and text do.
   "Types" -> Just (Map.fromList [((InTypes, OpName ":>"), Fixity RightAssoc 4)])
   "Terms" -> Just (Map.fromList [((InTerms, OpName ":>"), Fixity LeftAssoc 5)])
-  "Other.Terms" -> Just (Map.fromList [((InTerms, OpName ":>"), Fixity RightAssoc 9)])
+  "Other.Terms" ->
+    Just (Map.fromList [((InTerms, OpName ":>"), Fixity RightAssoc 9)])
   "Opaque" -> Nothing
   "Other.Opaque" -> Nothing
   _ -> Just Map.empty
@@ -928,7 +1192,10 @@
 -- declaration, however many places it lands in.
 declaredIn :: Text -> [(OpName, Fixity)]
 declaredIn =
-  Map.toList . Map.fromList . fmap (\((_, op), fixity) -> (op, fixity)) . declaredWithNamespaces
+  Map.toList
+    . Map.fromList
+    . fmap (\((_, op), fixity) -> (op, fixity))
+    . declaredWithNamespaces
 
 -- | The same, keeping the namespace each governs.
 declaredWithNamespaces :: Text -> [((Namespace, OpName), Fixity)]
@@ -941,16 +1208,20 @@
 -- about the ones it cannot.
 fullScope :: Text -> Scope
 fullScope =
-  resolveScope (Is #implicitPrelude) knowingExports . pure . pmModule . parsed
+  resolveScope (Is #implicitPrelude) (knowingExports . snd)
+    . pure
+    . pmModule
+    . parsed
 
 -- | A scope over a module's branch leaves, each parsed on its own.
 scopeOverLeaves :: Text -> Scope
 scopeOverLeaves =
-  resolveScope (Is #implicitPrelude) knowingExports . leavesOf
+  resolveScope (Is #implicitPrelude) (knowingExports . snd) . leavesOf
 
 -- | A module's branch leaves, parsed.
 leavesOf :: Text -> NonEmpty (HsModule GhcPs)
-leavesOf source = case nonEmpty =<< either (const Nothing) Just (branchLeaves source) of
+leavesOf source = case nonEmpty
+  =<< either (const Nothing) Just (branchLeaves id source) of
   Nothing -> error "the test input has no branch leaves"
   Just texts -> fmap (pmModule . parsed) texts
 
@@ -975,7 +1246,9 @@
 
 -- | What is known in a world made of 'exportsOf' alone.
 knowingExports :: Text -> Established
-knowingExports = maybe unreadable (\fixities -> mempty{establishedFixities = fixities}) . exportsOf
+knowingExports =
+  maybe unreadable (\fixities -> mempty{establishedFixities = fixities})
+    . exportsOf
 
 -- | A module that uses an operator nothing in scope declares, alongside an
 -- import that could not be read.
@@ -998,15 +1271,20 @@
 scopeBringing said source =
   resolveScope
     (Is #implicitPrelude)
-    (\m -> (knowingExports m){establishedCertain = certain m})
+    (\(_, m) -> (knowingExports m){establishedCertain = certain m})
     (pure (pmModule (parsed ("module M where\n" <> source))))
   where
     certain m =
-      Certain (Set.fromList [(namespace, OpName op) | (namespace, op) <- concat (lookup m said)]) Map.empty
+      Certain
+        ( Set.fromList
+            [(namespace, OpName op) | (namespace, op) <- concat (lookup m said)]
+        )
+        Map.empty
 
 -- | The same, with a second unread import to tell apart from the first.
 twoUnread :: Text
-twoUnread = "module M where\nimport Opaque\nimport Other.Opaque\nf a b = a <??> b\n"
+twoUnread =
+  "module M where\nimport Opaque\nimport Other.Opaque\nf a b = a <??> b\n"
 
 -- | A scope in which the unread modules listed say which names they leave
 -- unsettled.
@@ -1017,7 +1295,7 @@
 scopeKnowing said =
   resolveScope
     (Is #implicitPrelude)
-    (\m -> maybe (knowingExports m) leaving (lookup m said))
+    (\(_, m) -> maybe (knowingExports m) leaving (lookup m said))
     . pure
     . pmModule
     . parsed
@@ -1025,7 +1303,14 @@
     leaving ops =
       mempty
         { establishedUnsettled =
-            Map.singleton [] (Set.fromList [(namespace, OpName op) | op <- ops, namespace <- [InTypes, InTerms]])
+            Map.singleton
+              []
+              ( Set.fromList
+                  [ (namespace, OpName op)
+                  | op <- ops,
+                    namespace <- [InTypes, InTerms]
+                  ]
+              )
         }
 
 -- | The uses of an operator a local binding captures in a module made of
@@ -1033,20 +1318,21 @@
 capturedIn :: Text -> [((Int, Int), Fixity)]
 capturedIn decls =
   [ ((spanStartLine s - 1, spanStartColumn s), fixity)
-  | (s, fixity) <- Map.toList (capturedUses (pmGathered (parsed ("module M where\n" <> decls))))
+  | (s, fixity) <-
+      Map.toList
+        (capturedUses (pmGathered (parsed ("module M where\n" <> decls))))
   ]
 
 -- | The members of each name a module declares, by namespace, in a
 -- settled order.
 declaredMembersIn :: Text -> [(OpName, [(Namespace, OpName)])]
-declaredMembersIn = fmap (fmap Set.toList) . Map.toList . declaredMembers . pmModule . parsed
+declaredMembersIn =
+  fmap (fmap Set.toList) . Map.toList . declaredMembers . pmModule . parsed
 
 -- | The same, as the module's export list hands them on.
-listedMembersIn :: Text -> [(OpName, [OpName])]
-listedMembersIn = settled . listedMembers . pmModule . parsed
-
-settled :: Map.Map OpName (Set.Set OpName) -> [(OpName, [OpName])]
-settled = fmap (fmap Set.toList) . Map.toList
+listedMembersIn :: Text -> [(OpName, [(Namespace, OpName)])]
+listedMembersIn =
+  fmap (fmap Set.toList) . Map.toList . listedMembers . pmModule . parsed
 
 -- | A scope over a world where Members exports @T@ with the member @:|@.
 --
@@ -1056,11 +1342,12 @@
 scopeWithMembers source =
   resolveScope
     (Is #implicitPrelude)
-    (\m -> (knowingExports m){establishedMembers = membersIn m})
+    (\(_, m) -> (knowingExports m){establishedMembers = membersIn m})
     (pure (pmModule (parsed ("module M where\n" <> source))))
   where
     membersIn = \case
-      "Members" -> Map.fromList [(OpName "T", Set.fromList [OpName ":|"])]
+      "Members" ->
+        Map.fromList [(OpName "T", Set.fromList [(InTerms, OpName ":|")])]
       _ -> Map.empty
 
 -- | An unqualified import of M with this list.
@@ -1068,21 +1355,23 @@
 listing items =
   Import
     { importModule = "M",
+      importPackage = Nothing,
       importQualified = False,
       importAlias = "M",
       importNames = Just (False, items)
     }
 
 -- | What @NonEmpty@ has under it, as an interface tells it.
-nonEmptyMembers :: Map.Map OpName (Set.Set OpName)
-nonEmptyMembers = Map.singleton (OpName "NonEmpty") (Set.singleton (OpName ":|"))
+nonEmptyMembers :: Map.Map OpName (Set.Set (Namespace, OpName))
+nonEmptyMembers =
+  Map.singleton (OpName "NonEmpty") (Set.singleton (InTerms, OpName ":|"))
 
 -- | A scope over the two modules that spell @:>@ in different namespaces.
 scopeOfBoth :: Text -> Scope
 scopeOfBoth source =
   resolveScope
     (Is #implicitPrelude)
-    knowingExports
+    (knowingExports . snd)
     (pure (pmModule (parsed ("module M where\n" <> source))))
 
 -- | A scope over an unread module, told the members of its names.
@@ -1093,12 +1382,16 @@
 scopeSuspecting members source =
   resolveScope
     (Is #implicitPrelude)
-    (\m -> (knowingExports m){establishedMembers = membersIn m})
-    (pure (pmModule (parsed ("module M where\n" <> source <> "f a b = a <??> b\n"))))
+    (\(_, m) -> (knowingExports m){establishedMembers = membersIn m})
+    ( pure
+        ( pmModule
+            (parsed ("module M where\n" <> source <> "f a b = a <??> b\n"))
+        )
+    )
   where
     membersIn m =
       Map.fromList
-        [ (OpName parent, Set.fromList (fmap OpName kids))
+        [ (OpName parent, Set.fromList (fmap ((InTerms,) . OpName) kids))
         | (parent, kids) <- Map.findWithDefault [] m (Map.fromList members)
         ]
 
@@ -1107,7 +1400,12 @@
 unsettledIn src =
   let p = parsed src
    in unknownOperators
-        (resolveScope (Is #implicitPrelude) knowingExports (pure (pmModule p)))
+        Nothing
+        ( resolveScope
+            (Is #implicitPrelude)
+            (knowingExports . snd)
+            (pure (pmModule p))
+        )
         (pure (pmGathered p))
 
 -- | A module that takes its Prelude from elsewhere and hides an operator
@@ -1127,7 +1425,8 @@
 -- Kept out of 'exportsOf' so that a Prelude which declares something does
 -- not have to be reckoned with by every other test in the file.
 disagreeingAboutPrelude :: Text -> Established
-disagreeingAboutPrelude = maybe unreadable (\fixities -> mempty{establishedFixities = fixities}) . said
+disagreeingAboutPrelude =
+  maybe unreadable (\fixities -> mempty{establishedFixities = fixities}) . said
   where
     said = \case
       "Prelude" -> whichever [(OpName "<%>", Fixity RightAssoc 6)]
@@ -1138,7 +1437,10 @@
 -- | That world's scope for a module, told whether it has the Prelude.
 scopeAboutPrelude :: Choice "implicitPrelude" -> Text -> Scope
 scopeAboutPrelude implicitPrelude =
-  resolveScope implicitPrelude disagreeingAboutPrelude . pure . pmModule . parsed
+  resolveScope implicitPrelude (disagreeingAboutPrelude . snd)
+    . pure
+    . pmModule
+    . parsed
 
 -- | What that world leaves unsettled in a module.
 unsettledAboutPrelude ::
@@ -1148,7 +1450,12 @@
 unsettledAboutPrelude implicitPrelude src =
   let p = parsed src
    in unknownOperators
-        (resolveScope implicitPrelude disagreeingAboutPrelude (pure (pmModule p)))
+        Nothing
+        ( resolveScope
+            implicitPrelude
+            (disagreeingAboutPrelude . snd)
+            (pure (pmModule p))
+        )
         (pure (pmGathered p))
 
 scopeOf ::
diff --git a/tests/Tilia/Gen.hs b/tests/Tilia/Gen.hs
--- a/tests/Tilia/Gen.hs
+++ b/tests/Tilia/Gen.hs
@@ -11,10 +11,12 @@
   )
 where
 
+import Data.Maybe (isJust)
 import Data.Text (Text)
 import Data.Text qualified as T
 import Test.QuickCheck
-import Tilia.Doc.Internal
+
+import Tilia.Doc
 import Tilia.Span
 
 ----------------------------------------------------------------------------
@@ -38,7 +40,9 @@
 
 shrinkSpan :: Span -> [Span]
 shrinkSpan s =
-  [ mkSpan (spanStartLine s, spanStartColumn s) (spanStartLine s, spanEndColumn s)
+  [ mkSpan
+      (spanStartLine s, spanStartColumn s)
+      (spanStartLine s, spanEndColumn s)
   | spanStartLine s /= spanEndLine s
   ]
 
@@ -57,7 +61,8 @@
   arbitrary = AnyDoc <$> sized (genDoc True True)
   shrink (AnyDoc d) = AnyDoc <$> shrinkDoc d
 
--- | A document with no 'DVariant'.
+-- | A document with no 'DVariant' and no comment held back, whose text
+-- comes out in the order it is written in.
 newtype PlainDoc = PlainDoc Doc
   deriving (Eq, Show)
 
@@ -75,7 +80,7 @@
 
 -- | Build a document.
 genDoc ::
-  -- | Whether 'DVariant' may appear.
+  -- | Whether 'DVariant' and comments held back may appear.
   Bool ->
   -- | Whether things that force a break may appear.
   Bool ->
@@ -91,15 +96,36 @@
         half = n `div` 2
         branches =
           [ DCat <$> go half <*> go half,
-            DNest <$> choose (0, 2) <*> go (n - 1),
-            DAlign <$> go (n - 1),
+            DAligned 0 <$> go (n - 1),
+            ( \s steps a b ->
+                DIndented steps (DReferent s a) b
+            )
+              <$> liftArbitrary genSpan
+              <*> choose (0, 2)
+              <*> go half `suchThat` (/= DEmpty)
+              <*> go half,
             DCppMarginNote <$> go (n - 1),
             DLocated <$> genSpan <*> go (n - 1),
-            DFence <$> genSpan <*> go (n - 1)
+            DFence <$> genSpan <*> go (n - 1),
+            DSeparator
+              <$> elements [LeadingSeparator, TrailingSeparator]
+              <*> go half
+              <*> go half,
+            DBracket
+              <$> elements [OpeningBracket, ClosingBracket]
+              <*> liftArbitrary genSpan
+              <*> go (n - 1)
           ]
-            <> [ DGroup <$> elements [Flat, Broken] <*> go (n - 1)
+            <> [ DGroup <$> elements [Flat, Broken, Frangible] <*> go (n - 1)
                | withBreaks
                ]
+            <> [ DCppChoice []
+                   <$> ( zip ("if A" : repeat "elif B")
+                           <$> resize 2 (listOf1 (go half))
+                       )
+                   <*> go half
+               | withBreaks
+               ]
             <> [ DVariant <$> go half <*> go half
                | withVariant
                ]
@@ -109,59 +135,114 @@
           DText <$> genText,
           pure DSpace,
           pure DBreak,
-          pure DSoftBreak
+          pure DBreak',
+          pure DDeclarationsStart,
+          DComment InPlace <$> genSpan <*> pure (DText "{- a -}")
         ]
-          <> (if withBreaks then [pure DHardBreak] else [])
+          <> ( if withBreaks
+                 then
+                   [ pure DNewline,
+                     verbatim,
+                     DDeclDelimiter
+                       <$> elements [DeclJoined, DeclAdjacent, DeclSeparate],
+                     DCppDirective <$> genSpan <*> elements ["define A", "undef A"],
+                     DComment
+                       <$> elements
+                         ( [EndsTheLine, OnItsOwnLines False, OnItsOwnLines True]
+                             <> [ HeldBack spill
+                                | withVariant,
+                                  spill <-
+                                    [ SpillAtIndentation,
+                                      SpillUnderPrevious,
+                                      SpillAtMargin
+                                    ]
+                                ]
+                         )
+                       <*> genSpan
+                       <*> oneof
+                         [ DText <$> elements ["-- b", "-- | c", "{- d -}"],
+                           verbatim
+                         ]
+                   ]
+                 else []
+             )
+    verbatim =
+      (\a start b -> DText a <> DVerbatimBreak start TrimWhitespace <> DText b)
+        <$> genText
+        <*> elements [AtIndent, AtMargin]
+        <*> genText
 
+-- | Smaller documents, none with a relation measuring from a pointer.
 shrinkDoc :: Doc -> [Doc]
 shrinkDoc = \case
   DEmpty -> []
   DText t -> DText <$> filter (not . T.null) (T.inits t)
   DSpace -> [DEmpty]
   DBreak -> [DEmpty, DSpace]
-  DSoftBreak -> [DEmpty]
-  DHardBreak -> [DEmpty]
+  DBreak' -> [DEmpty]
+  DNewline -> [DEmpty]
   DVerbatimBreak _ _ -> [DEmpty]
-  DCloseLine -> [DEmpty]
-  DCloseLineUnlessAfterOpener _ -> [DEmpty, DCloseLine]
-  DHoldBack s t -> DHoldBack s <$> filter (not . T.null) (T.inits t)
-  DCat a b -> [DEmpty, a, b] <> [DCat a' b | a' <- shrinkDoc a] <> [DCat a b' | b' <- shrinkDoc b]
-  DNest n d -> [DEmpty, d] <> [DNest n d' | d' <- shrinkDoc d]
-  DAlign d -> [DEmpty, d] <> [DAlign d' | d' <- shrinkDoc d]
+  DCat a b ->
+    [DEmpty, a, b]
+      <> [DCat a' b | a' <- shrinkDoc a]
+      <> [DCat a b' | b' <- shrinkDoc b]
+  DReferent k d -> [DEmpty, d] <> [DReferent k d' | d' <- shrinkDoc d]
+  DIndented n a d ->
+    [DEmpty, a, d]
+      <> [DIndented n a' d | a' <- shrinkDoc a, not (pointer a')]
+      <> [DIndented n a d' | d' <- shrinkDoc d]
+  DAligned n d -> [DEmpty, d] <> [DAligned n d' | d' <- shrinkDoc d]
   DCppMarginNote d -> [DEmpty, d] <> [DCppMarginNote d' | d' <- shrinkDoc d]
   DGroup l d -> [DEmpty, d] <> [DGroup l d' | d' <- shrinkDoc d]
   DVariant a b -> [DEmpty, a, b]
   DLocated s d -> [DEmpty, d] <> [DLocated s d' | d' <- shrinkDoc d]
   DFence s d -> [DEmpty, d] <> [DFence s d' | d' <- shrinkDoc d]
+  DDeclDelimiter _ -> [DEmpty]
+  DSeparator e l t ->
+    [DEmpty, l, t]
+      <> [DSeparator e l' t | l' <- shrinkDoc l]
+      <> [DSeparator e l t' | t' <- shrinkDoc t]
+  DBracket b s d -> [DEmpty, d] <> [DBracket b s d' | d' <- shrinkDoc d]
+  DComment s c d -> [DEmpty, d] <> [DComment s c d' | d' <- shrinkDoc d]
   DCppChoice _ bs e -> [DEmpty, e] <> fmap snd bs
   DCppDirective _ _ -> [DEmpty]
   DDeclarationsStart -> [DEmpty]
+  where
+    pointer a = namesOnly a && isJust (referentIn a)
 
--- | Every fragment of literal text the document contains, in order.
+-- | Every fragment of literal text the document prints, in order.
 --
 -- Undefined in the presence of 'DVariant', which contributes one of two
--- possible sequences depending on a layout this function cannot see; that
--- is what 'PlainDoc' exists to exclude.
+-- possible sequences depending on a layout this function cannot see, and
+-- of a comment held back past text after it; that is what 'PlainDoc'
+-- exists to exclude.
 docTexts :: Doc -> [Text]
 docTexts = \case
   DEmpty -> []
   DText t -> [t]
   DSpace -> []
   DBreak -> []
-  DSoftBreak -> []
-  DHardBreak -> []
+  DBreak' -> []
+  DNewline -> []
   DVerbatimBreak _ _ -> []
-  DCloseLine -> []
-  DCloseLineUnlessAfterOpener _ -> []
-  DHoldBack _ t -> [t]
   DCat a b -> docTexts a <> docTexts b
-  DNest _ d -> docTexts d
-  DAlign d -> docTexts d
+  DReferent _ d -> docTexts d
+  DIndented _ a d -> docTexts a <> docTexts d
+  DAligned _ d -> docTexts d
   DCppMarginNote d -> docTexts d
   DGroup _ d -> docTexts d
   DVariant a _ -> docTexts a
   DLocated _ d -> docTexts d
   DFence _ d -> docTexts d
-  DCppChoice _ bs e -> concat [c : docTexts d | (c, d) <- bs] <> docTexts e
-  DCppDirective _ t -> [t]
+  DDeclDelimiter _ -> []
+  DSeparator LeadingSeparator l _ -> docTexts l
+  DSeparator TrailingSeparator _ t -> docTexts t
+  DBracket _ _ d -> docTexts d
+  DComment _ _ d -> docTexts d
+  DCppChoice _ bs e ->
+    concat [("#" <> c) : docTexts d | (c, d) <- bs]
+      <> ["#else" | not (printsNothing e)]
+      <> docTexts e
+      <> ["#endif"]
+  DCppDirective _ t -> ["#" <> t]
   DDeclarationsStart -> []
diff --git a/tests/Tilia/IgnoreSpec.hs b/tests/Tilia/IgnoreSpec.hs
--- a/tests/Tilia/IgnoreSpec.hs
+++ b/tests/Tilia/IgnoreSpec.hs
@@ -5,8 +5,10 @@
 
 import Data.Map.Strict qualified as Map
 import Data.Text (Text)
+import System.Directory (emptyPermissions, setPermissions)
 import System.FilePath (splitDirectories, takeDirectory, (</>))
 import Test.Hspec
+
 import Tilia.Ignore
 import Tilia.TestUtils (underAsciiLocale, withFiles)
 import Tilia.Utils (writeUtf8File)
@@ -66,7 +68,9 @@
       "!keep.hs\n*.hs\n" `ignores` ["a.hs", "keep.hs"] `butNot` []
 
     it "cannot re-include a file whose directory it excluded" $ do
-      "lib/\n!lib/keep.hs\n" `ignores` ["lib/keep.hs", "lib/drop.hs"] `butNot` []
+      "lib/\n!lib/keep.hs\n"
+        `ignores` ["lib/keep.hs", "lib/drop.hs"]
+        `butNot` []
       "lib/*\n!lib/keep.hs\n" `ignores` ["lib/drop.hs"] `butNot` ["lib/keep.hs"]
 
     it "reads lines ended with a carriage return" $
@@ -77,10 +81,16 @@
 
   describe "ignore files in several directories" $ do
     it "match from their own directories" $
-      nested [([], ""), (["src"], "/x/\n")] ["src/x/B.hs"] ["x/B.hs", "src/A.hs"]
+      nested
+        [([], ""), (["src"], "/x/\n")]
+        ["src/x/B.hs"]
+        ["x/B.hs", "src/A.hs"]
 
     it "let the deeper file win" $
-      nested [([], "*.hs\n"), (["src"], "!A.hs\n")] ["B.hs", "src/x/B.hs"] ["src/A.hs"]
+      nested
+        [([], "*.hs\n"), (["src"], "!A.hs\n")]
+        ["B.hs", "src/x/B.hs"]
+        ["src/A.hs"]
 
     it "cannot re-include what a file above excluded the directory of" $
       nested [([], "q/\n"), (["q"], "!gen/\n")] ["q/gen/G.hs"] []
@@ -88,10 +98,16 @@
   describe "a file of a project" $ do
     it "is ignored by the .tiliaignore files above it, whether it exists or not" $
       withProject $ \root -> do
-        isIgnoredInProject root (root </> "src" </> "Generated.hs") `shouldReturn` True
-        isIgnoredInProject root (root </> "src" </> "inner" </> "A.hs-boot") `shouldReturn` True
-        isIgnoredInProject root (root </> "src" </> "inner" </> ".." </> "Generated.hs") `shouldReturn` True
-        isIgnoredInProject root (root </> "src" </> "New.hs") `shouldReturn` False
+        isIgnoredInProject root (root </> "src" </> "Generated.hs")
+          `shouldReturn` True
+        isIgnoredInProject root (root </> "src" </> "inner" </> "A.hs-boot")
+          `shouldReturn` True
+        isIgnoredInProject
+          root
+          (root </> "src" </> "inner" </> ".." </> "Generated.hs")
+          `shouldReturn` True
+        isIgnoredInProject root (root </> "src" </> "New.hs")
+          `shouldReturn` False
 
     it "is ignored by a .tiliaignore that is not ASCII under any locale" $
       withProject $ \root -> do
@@ -101,9 +117,16 @@
         underAsciiLocale (isIgnoredInProject root generated)
           `shouldReturn` True
 
+    it "is not ignored by a .tiliaignore that cannot be read" $
+      withProject $ \root -> do
+        setPermissions (root </> ".tiliaignore") emptyPermissions
+        let generated = root </> "src" </> "Generated.hs"
+        withoutIgnored root [generated] `shouldReturn` [generated]
+
     it "is not ignored when it is outside of the project" $
       withProject $ \root ->
-        isIgnoredInProject root (takeDirectory root </> "Generated.hs") `shouldReturn` False
+        isIgnoredInProject root (takeDirectory root </> "Generated.hs")
+          `shouldReturn` False
 
 -- | A project with @src/Generated.hs@, which its root's @.tiliaignore@
 -- ignores, and a @.tiliaignore@ in @src/inner@ ignoring boot files.
@@ -129,4 +152,5 @@
   fmap (isIgnored rules . splitDirectories) (ignored <> kept)
     `shouldBe` fmap (const True) ignored <> fmap (const False) kept
   where
-    rules = Map.fromList [(directory, parseIgnoreFile t) | (directory, t) <- files]
+    rules =
+      Map.fromList [(directory, parseIgnoreFile t) | (directory, t) <- files]
diff --git a/tests/Tilia/NewlineSpec.hs b/tests/Tilia/NewlineSpec.hs
--- a/tests/Tilia/NewlineSpec.hs
+++ b/tests/Tilia/NewlineSpec.hs
@@ -4,6 +4,7 @@
 module Tilia.NewlineSpec (spec) where
 
 import Test.Hspec
+
 import Tilia.Newline
 
 spec :: Spec
@@ -25,7 +26,9 @@
       setNewlineStyle Lf "a\r\nb\r\n" `shouldBe` "a\nb\n"
 
     it "can be told to set the style already there, and change nothing" $
-      fmap (\(style, t) -> setNewlineStyle style t) [(CrLf, "a\r\nb\r\n"), (Lf, "a\nb\n")]
+      fmap
+        (\(style, t) -> setNewlineStyle style t)
+        [(CrLf, "a\r\nb\r\n"), (Lf, "a\nb\n")]
         `shouldBe` ["a\r\nb\r\n", "a\nb\n"]
 
     it "brings a text whose endings disagree to one of them" $ do
@@ -41,7 +44,9 @@
         `shouldBe` ["module A where", "module A where"]
 
     it "takes a text out and back unchanged, whichever style it began in" $
-      [setNewlineStyle style (setNewlineStyle Lf t) | (style, t) <- [(CrLf, crlf), (Lf, lf)]]
+      [ setNewlineStyle style (setNewlineStyle Lf t)
+      | (style, t) <- [(CrLf, crlf), (Lf, lf)]
+      ]
         `shouldBe` [crlf, lf]
   where
     crlf = "module A where\r\n\r\nf :: Int\r\n"
diff --git a/tests/Tilia/PragmaSpec.hs b/tests/Tilia/PragmaSpec.hs
--- a/tests/Tilia/PragmaSpec.hs
+++ b/tests/Tilia/PragmaSpec.hs
@@ -4,6 +4,7 @@
 module Tilia.PragmaSpec (spec) where
 
 import Data.Map.Strict (Map)
+import Data.Set (Set)
 import Data.Set qualified as Set
 import Data.Text (Text)
 import Data.Text qualified as T
@@ -22,6 +23,7 @@
 import Test.Hspec
 import Test.Hspec.QuickCheck (modifyMaxSuccess)
 import Test.QuickCheck
+
 import Tilia.Pragma
 import Tilia.Pragma.Ghc (InForce (..), inForceAfter, readFlags)
 
@@ -53,20 +55,22 @@
           ("a #! line below the top", "module M where\n#!/bin/sh\n"),
           ("a #! line after a space", " #!/bin/sh\nmodule M where\n")
         ]
-        (\source -> movesPositions [QuasiQuotes] source `shouldBe` True)
+        ( \source ->
+            movesPositions (Set.singleton QuasiQuotes) source `shouldBe` True
+        )
 
       it "one after a list comprehension, where quasi-quotes are off" $
         movesPositions
-          []
+          Set.empty
           "module M where\nxs = [x|x<-[1]]\n{-# LINE 9 \"O.hs\" #-}\n"
           `shouldBe` True
 
       it "a line marker written with a number where CPP is on, which cpp passes on" $
-        movesPositions [Cpp] "module M where\n# 9 \"O.hs\"\n"
+        movesPositions (Set.singleton Cpp) "module M where\n# 9 \"O.hs\"\n"
           `shouldBe` True
 
       it "a #! line below the top where CPP is on, which cpp passes on" $
-        movesPositions [Cpp] "module M where\n#!/bin/sh\n"
+        movesPositions (Set.singleton Cpp) "module M where\n#!/bin/sh\n"
           `shouldBe` True
 
     describe "says nothing of" $ do
@@ -100,64 +104,66 @@
           ("a hash and a number in a block comment", "{-\n#15888 says\n-}\n"),
           ("a label opening an indented line", "module M where\nf = g\n  #line\n")
         ]
-        (\source -> movesPositions [QuasiQuotes] source `shouldBe` False)
+        ( \source ->
+            movesPositions (Set.singleton QuasiQuotes) source `shouldBe` False
+        )
 
       it "a line marker where CPP is on, which cpp reads" $
-        movesPositions [Cpp] "module M where\n#line 9 \"O.hs\"\n"
+        movesPositions (Set.singleton Cpp) "module M where\n#line 9 \"O.hs\"\n"
           `shouldBe` False
 
       it "a #pragma line where CPP is on, which cpp reads" $
-        movesPositions [Cpp] "module M where\n#pragma once\n"
+        movesPositions (Set.singleton Cpp) "module M where\n#pragma once\n"
           `shouldBe` False
   describe "the extensions in force" $ do
     it "keeps what the package puts in force" $
       inForceUnder [ImplicitPrelude, GADTs] "module M where\n"
-        `shouldBe` [ImplicitPrelude, GADTs]
+        `shouldBe` Set.fromList [ImplicitPrelude, GADTs]
     it "reads one extension" $
       inForceUnder [] "{-# LANGUAGE BangPatterns #-}\nmodule M where\n"
-        `shouldBe` [BangPatterns]
+        `shouldBe` Set.fromList [BangPatterns]
     it "reads several from one pragma" $
       inForceUnder
         []
         "{-# LANGUAGE LambdaCase, MagicHash #-}\nmodule M where\n"
-        `shouldBe` [LambdaCase, MagicHash]
+        `shouldBe` Set.fromList [LambdaCase, MagicHash]
     it "reads several pragmas" $
       inForceUnder
         []
         "{-# LANGUAGE LambdaCase #-}\n{-# LANGUAGE MagicHash #-}\n"
-        `shouldBe` [LambdaCase, MagicHash]
+        `shouldBe` Set.fromList [LambdaCase, MagicHash]
     it "ignores flags that turn on no extension" $
       inForceUnder
         []
         "{-# OPTIONS_GHC -Wall #-}\n{-# LANGUAGE LambdaCase #-}\n"
-        `shouldBe` [LambdaCase]
+        `shouldBe` Set.fromList [LambdaCase]
     it "reads the -X flags of OPTIONS_GHC" $
       inForceUnder
         [GADTs]
         "{-# OPTIONS_GHC -Wall -XLambdaCase -XNoGADTs #-}\nmodule M where\n"
-        `shouldBe` [LambdaCase]
+        `shouldBe` Set.fromList [LambdaCase]
     it "reads the flags of OPTIONS" $
       inForceUnder [] "{-# OPTIONS -XLambdaCase #-}\n"
-        `shouldBe` [LambdaCase]
+        `shouldBe` Set.fromList [LambdaCase]
     it "reads the flags of an options pragma as GHC splits them" $
       inForceUnder [] "{-# OPTIONS_GHC \"-XLambdaCase\" #-}\n"
-        `shouldBe` [LambdaCase]
+        `shouldBe` Set.fromList [LambdaCase]
     it "reads -cpp as turning on CPP" $
       inForceUnder [] "{-# OPTIONS_GHC -cpp #-}\n"
-        `shouldBe` [Cpp]
+        `shouldBe` Set.fromList [Cpp]
     it "reads the old -f spellings of extensions" $
       inForceUnder
         [ImplicitPrelude]
         "{-# OPTIONS_GHC -fbang-patterns -fno-implicit-prelude #-}\n"
-        `shouldBe` [BangPatterns]
+        `shouldBe` Set.fromList [BangPatterns]
     it "reads -fglasgow-exts as turning on what it stands for" $
       inForceUnder [] "{-# OPTIONS_GHC -fglasgow-exts #-}\n"
-        `shouldSatisfy` \es -> all (`elem` es) glasgowExtsFlags
+        `shouldSatisfy` \es -> all (`Set.member` es) glasgowExtsFlags
     it "reads -fno-glasgow-exts as turning that off again" $
       inForceUnder
         []
         "{-# OPTIONS_GHC -fglasgow-exts -fno-glasgow-exts #-}\n"
-        `shouldSatisfy` not . any (`elem` glasgowExtsFlags)
+        `shouldSatisfy` \es -> not (any (`Set.member` es) glasgowExtsFlags)
     it "reads the pragmas in the order they are written" $
       inForceUnder
         []
@@ -165,97 +171,103 @@
             <> "{-# OPTIONS_GHC -XNoLambdaCase -XMagicHash #-}\n"
             <> "{-# LANGUAGE NoMagicHash #-}\n"
         )
-        `shouldBe` []
+        `shouldBe` Set.empty
     it "reads the names of a language pragma past the comments in it" $
       inForceUnder
         []
         "{-# LANGUAGE\n    LambdaCase -- for f\n  , {- c -} MagicHash\n  #-}\nmodule M where\n"
-        `shouldBe` [LambdaCase, MagicHash]
+        `shouldBe` Set.fromList [LambdaCase, MagicHash]
     it "ignores a pragma below the module line, which GHC does not read" $
       inForceUnder [] "module M where\n{-# LANGUAGE LambdaCase #-}\n"
-        `shouldBe` []
+        `shouldBe` Set.empty
     it "reads the pragmas between the directives of a header" $
       inForceUnder
         []
         "{-# LANGUAGE CPP #-}\n#if 1\n{-# LANGUAGE LambdaCase #-}\n#endif\nmodule M where\n"
-        `shouldBe` [Cpp, LambdaCase]
+        `shouldBe` Set.fromList [Cpp, LambdaCase]
     it "takes an edition the module names in place of the component's" $
       inForceUnder
         (languageExtensions (Just Haskell2010))
         "{-# LANGUAGE GHC2024 #-}\nmodule M where\n"
-        `shouldBe` languageExtensions (Just GHC2024)
+        `shouldBe` editionExtensions (Just GHC2024)
     it "keeps what the component switches on top of the module's edition" $
       effectiveExtensions
-        (defaultsOf (languageExtensions (Just Haskell2010)) [On OverloadedStrings])
+        ( defaultsOf
+            False
+            (editionExtensions (Just Haskell2010))
+            [On OverloadedStrings]
+        )
         "{-# LANGUAGE GHC2021 #-}\nmodule M where\n"
-        `shouldSatisfy` \es -> all (`elem` es) [OverloadedStrings, ImportQualifiedPost]
+        `shouldSatisfy` \es ->
+          all (`Set.member` es) [OverloadedStrings, ImportQualifiedPost]
     it "switches what the module switches on top of its edition, wherever named" $
       inForceUnder
         []
         "{-# LANGUAGE NoLambdaCase #-}\n{-# LANGUAGE GHC2024 #-}\nmodule M where\n"
-        `shouldSatisfy` notElem LambdaCase
+        `shouldSatisfy` Set.notMember LambdaCase
     it "takes the edition named last" $
       inForceUnder
         []
         "{-# LANGUAGE GHC2024 #-}\n{-# LANGUAGE Haskell2010 #-}\nmodule M where\n"
-        `shouldBe` languageExtensions (Just Haskell2010)
+        `shouldBe` editionExtensions (Just Haskell2010)
     it "reads an edition from a -X flag" $
       inForceUnder [] "{-# OPTIONS_GHC -XGHC2024 #-}\nmodule M where\n"
-        `shouldBe` languageExtensions (Just GHC2024)
+        `shouldBe` editionExtensions (Just GHC2024)
     it "ignores the options of other compilers" $
       inForceUnder [] "{-# OPTIONS_JHC -fffi -cpp #-}\n"
-        `shouldBe` []
+        `shouldBe` Set.empty
     it "ignores an unknown extension rather than failing" $
       inForceUnder [] "{-# LANGUAGE LambdaCase, NotARealExtension #-}\n"
-        `shouldBe` [LambdaCase]
+        `shouldBe` Set.fromList [LambdaCase]
     it "treats a No-prefix as turning one off" $
       inForceUnder
         [ImplicitPrelude]
         "{-# LANGUAGE NoImplicitPrelude #-}\n"
-        `shouldBe` []
+        `shouldBe` Set.empty
     it "lets a module refuse what its package put in force" $
       inForceUnder [ImplicitPrelude, GADTs] "{-# LANGUAGE NoGADTs #-}\n"
-        `shouldBe` [ImplicitPrelude]
+        `shouldBe` Set.fromList [ImplicitPrelude]
     it "lets a module take back a Prelude its package turned off" $
       inForceUnder [GADTs] "{-# LANGUAGE ImplicitPrelude #-}\n"
-        `shouldBe` [GADTs, ImplicitPrelude]
+        `shouldBe` Set.fromList [GADTs, ImplicitPrelude]
     it "does not repeat an extension named twice" $
       inForceUnder
         []
         "{-# LANGUAGE LambdaCase #-}\n{-# LANGUAGE LambdaCase #-}\n"
-        `shouldBe` [LambdaCase]
+        `shouldBe` Set.fromList [LambdaCase]
     it "turns on what an extension implies, as GHC does" $
       inForceUnder [] "{-# LANGUAGE RankNTypes #-}\n"
-        `shouldBe` [RankNTypes, ExplicitForAll]
+        `shouldBe` Set.fromList [RankNTypes, ExplicitForAll]
     it "turns off what an extension implies is off" $
       inForceUnder
         [ImplicitPrelude]
         "{-# LANGUAGE RebindableSyntax #-}\n"
-        `shouldBe` [RebindableSyntax]
+        `shouldBe` Set.fromList [RebindableSyntax]
     it "leaves on what an extension turned off had implied" $
       inForceUnder [] "{-# LANGUAGE RankNTypes, NoRankNTypes #-}\n"
-        `shouldBe` [ExplicitForAll]
+        `shouldBe` Set.fromList [ExplicitForAll]
     it "lets a later name turn off what an earlier one implied" $
       inForceUnder [] "{-# LANGUAGE RankNTypes, NoExplicitForAll #-}\n"
-        `shouldBe` [RankNTypes]
+        `shouldBe` Set.fromList [RankNTypes]
 
   modifyMaxSuccess (const 5000) . describe "against GHC's own flag reader" $ do
     it "leaves on what GHC leaves on" $
-      forAll (listOf1 (pragmaOf headerNames)) $ \pragmas ->
+      forAll (listOf1 (pragmaNaming headerNames)) $ \pragmas ->
         let ours =
               effectiveExtensions
-                (defaultsOf (languageExtensions Nothing) [])
+                (defaultsOf False (editionExtensions Nothing) [])
                 (headerOf pragmas)
             theirs =
-              EnumSet.toList (extensionFlags (readFlags (concatMap flagsOf pragmas)))
+              EnumSet.toList
+                (extensionFlags (readFlags (concatMap flagsOf pragmas)))
          in counterexample (T.unpack (headerOf pragmas)) $
-              Set.fromList ours === Set.fromList theirs
-    it "takes two orders to be alike where GHC switches alike" $
-      forAll (listOf1 (pragmaOf extensionNames)) $ \pragmas ->
-        forAll (shuffle pragmas) $ \shuffled ->
-          counterexample (T.unpack (headerOf pragmas <> headerOf shuffled)) $
-            sameInForce (fmap namedBody pragmas) (fmap namedBody shuffled)
-              === (ghcSwitches pragmas == ghcSwitches shuffled)
+              ours === Set.fromList theirs
+    it "takes two pragmas to commute where GHC puts alike in force either way" $
+      forAll naming $ \a ->
+        forAll naming $ \b ->
+          counterexample (T.unpack (headerOf [a, b])) $
+            commute (switched a) (switched b)
+              === (ghcInForce [a, b] == ghcInForce [b, a])
 
   describe "lookupExtension" $ do
     it "knows an extension by the name one writes" $
@@ -265,29 +277,35 @@
     it "does not accept the No-prefixed spelling as a name" $
       lookupExtension "NoImplicitPrelude" `shouldBe` Nothing
   where
-    for_' cases expect = mapM_ (\(what, source) -> it what (expect source)) cases
+    for_' cases expect =
+      mapM_ (\(what, source) -> it what (expect source)) cases
 
     langThenLine :: Text
-    langThenLine = "{-# LANGUAGE LambdaCase #-}\nmodule M where\n{-# LINE 3 \"O.hs\" #-}\n"
+    langThenLine =
+      "{-# LANGUAGE LambdaCase #-}\nmodule M where\n{-# LINE 3 \"O.hs\" #-}\n"
 
+    naming = oneof [pragmaNaming extensionNames, pragmaNaming editionNames]
+
 -- | The extensions in force in a module of a component whose edition puts
 -- these in force and which switches nothing itself.
-inForceUnder :: [Extension] -> Text -> [Extension]
-inForceUnder edition = effectiveExtensions (defaultsOf edition [])
+inForceUnder :: [Extension] -> Text -> Set Extension
+inForceUnder edition =
+  effectiveExtensions (defaultsOf False (Set.fromList edition) [])
 
 -- | A pragma of a header, as its name and its body, with the flags it hands
 -- GHC.
 type HeaderPragma = (Text, Text, [Text])
 
--- | A pragma that names one of these, or spells an extension as an old flag.
-pragmaOf :: [Text] -> Gen HeaderPragma
-pragmaOf names = oneof [language, options]
+-- | A pragma that names one of these, in a @LANGUAGE@ pragma or after @-X@
+-- in an options pragma, or spells an extension as an old flag.
+pragmaNaming :: [Text] -> Gen HeaderPragma
+pragmaNaming names = oneof [language, options]
   where
     language = do
       name <- elements names
       pure ("LANGUAGE", name, ["-X" <> name])
     options = do
-      flag <- elements oldFlags
+      flag <- elements (fmap ("-X" <>) names <> oldFlags)
       pure ("OPTIONS_GHC", flag, [flag])
     oldFlags =
       ["-cpp", "-fglasgow-exts", "-fno-glasgow-exts"]
@@ -302,10 +320,13 @@
   where
     names = T.pack . flagSpecName <$> xFlags
 
+-- | Every name of an edition.
+editionNames :: [Text]
+editionNames = [T.pack (show l) | l <- [minBound .. maxBound :: Language]]
+
 -- | Every name a @LANGUAGE@ pragma can hold: the extensions and the editions.
 headerNames :: [Text]
-headerNames =
-  extensionNames <> [T.pack (show l) | l <- [minBound .. maxBound :: Language]]
+headerNames = extensionNames <> editionNames
 
 -- | A module of nothing but a header of these pragmas.
 headerOf :: [HeaderPragma] -> Text
@@ -316,9 +337,12 @@
 flagsOf :: HeaderPragma -> [Text]
 flagsOf (_, _, flags) = flags
 
-namedBody :: HeaderPragma -> (Text, Text)
-namedBody (n, b, _) = (n, b)
+switched :: HeaderPragma -> (Maybe Language, Map Extension Bool)
+switched (n, b, _) = switchedBy n b
 
--- | How GHC takes these pragmas to switch each extension.
-ghcSwitches :: [HeaderPragma] -> Map Extension Bool
-ghcSwitches = inForceSwitches . inForceAfter . concatMap flagsOf
+-- | The edition GHC takes these pragmas to name last, and how it takes them
+-- to switch each extension.
+ghcInForce :: [HeaderPragma] -> (Maybe Language, Map Extension Bool)
+ghcInForce pragmas = (inForceEdition inForce, inForceSwitches inForce)
+  where
+    inForce = inForceAfter (concatMap flagsOf pragmas)
diff --git a/tests/Tilia/ProcessSpec.hs b/tests/Tilia/ProcessSpec.hs
--- a/tests/Tilia/ProcessSpec.hs
+++ b/tests/Tilia/ProcessSpec.hs
@@ -6,6 +6,7 @@
 import Data.Text qualified as T
 import System.Timeout (timeout)
 import Test.Hspec
+
 import Tilia.Process (readProgramOutput)
 
 spec :: Spec
diff --git a/tests/Tilia/Render/OperatorSpec.hs b/tests/Tilia/Render/OperatorSpec.hs
--- a/tests/Tilia/Render/OperatorSpec.hs
+++ b/tests/Tilia/Render/OperatorSpec.hs
@@ -5,6 +5,7 @@
 
 import Data.List.NonEmpty (NonEmpty (..))
 import Test.Hspec
+
 import Tilia.Fixity (Direction (..), Fixity (..))
 import Tilia.Render.Operator
 
@@ -17,13 +18,19 @@
       flatten split (Apply (Apply (Leaf 'a') '+' (Leaf 'b')) '*' (Leaf 'c'))
         `shouldBe` (Leaf 'a' :| [Leaf 'b', Leaf 'c'], ['+', '*'])
     it "does not go inside a leaf" $
-      flatten split (Apply (Leaf 'a') '+' (Opaque (Apply (Leaf 'b') '*' (Leaf 'c'))))
-        `shouldBe` (Leaf 'a' :| [Opaque (Apply (Leaf 'b') '*' (Leaf 'c'))], ['+'])
+      flatten
+        split
+        (Apply (Leaf 'a') '+' (Opaque (Apply (Leaf 'b') '*' (Leaf 'c'))))
+        `shouldBe` ( Leaf 'a' :| [Opaque (Apply (Leaf 'b') '*' (Leaf 'c'))],
+                     ['+']
+                   )
 
   describe "associate" $ do
     it "makes one level of a chain that binds equally" $
       associate known (leaves "abc") ['+', '+']
-        `shouldBe` Chain (Operand (Leaf 'a') :| [Operand (Leaf 'b'), Operand (Leaf 'c')]) ['+', '+']
+        `shouldBe` Chain
+          (Operand (Leaf 'a') :| [Operand (Leaf 'b'), Operand (Leaf 'c')])
+          ['+', '+']
 
     it "splits at the loosest operator" $
       associate known (leaves "abc") ['*', '+']
@@ -49,7 +56,9 @@
     -- cannot be established, so it is what the layout follows.
     it "leaves the chain flat when one fixity is unknown" $
       associate known (leaves "abc") ['*', '?']
-        `shouldBe` Chain (Operand (Leaf 'a') :| [Operand (Leaf 'b'), Operand (Leaf 'c')]) ['*', '?']
+        `shouldBe` Chain
+          (Operand (Leaf 'a') :| [Operand (Leaf 'b'), Operand (Leaf 'c')])
+          ['*', '?']
 
   describe "separators" $ do
     it "recognises an operator that introduces its operand" $
diff --git a/tests/Tilia/RenderSpec.hs b/tests/Tilia/RenderSpec.hs
--- a/tests/Tilia/RenderSpec.hs
+++ b/tests/Tilia/RenderSpec.hs
@@ -6,38 +6,42 @@
 import Data.Text (Text)
 import Data.Text qualified as T
 import Test.Hspec
+
 import Tilia.Doc (printDoc)
 import Tilia.Render
-import Tilia.TestUtils (parsed)
+import Tilia.Settings (Settings)
+import Tilia.TestUtils (indentedBy, parsed, withEachSettings)
 
 spec :: Spec
 spec =
   -- Without fixities nothing is asserted about how a chain associates, so
   -- nothing is rearranged and every operator is treated alike.
-  describe "operator chains"
-    $ it "leaves a chain alone when the fixities are unknown"
-    $ format
-      [ "module M where",
-        "",
-        "f =",
-        "  a * b",
-        "    + c * d"
-      ]
-      `shouldBe` [ "module M where",
-                   "",
-                   "f =",
-                   "  a",
-                   "    * b",
-                   "    + c",
-                   "    * d"
-                 ]
+  withEachSettings $ \settings ->
+    describe "operator chains"
+      $ it "leaves a chain alone when the fixities are unknown"
+      $ format
+        settings
+        [ "module M where",
+          "",
+          "f =",
+          "  a * b",
+          "    + c * d"
+        ]
+        `shouldBe` [ "module M where",
+                     "",
+                     "f =",
+                     indentedBy settings 1 <> "a",
+                     indentedBy settings 2 <> "* b",
+                     indentedBy settings 2 <> "+ c",
+                     indentedBy settings 2 <> "* d"
+                   ]
 
 -- | Format the given lines with no fixities known and give the result back
 -- as lines.
-format :: [Text] -> [Text]
-format =
+format :: Settings -> [Text] -> [Text]
+format settings =
   T.lines
-    . printDoc
-    . renderModule defaultRenderConfig
+    . printDoc settings
+    . renderModule defaultRenderConfig{rcSettings = settings}
     . parsed
     . T.unlines
diff --git a/tests/Tilia/RunSpec.hs b/tests/Tilia/RunSpec.hs
--- a/tests/Tilia/RunSpec.hs
+++ b/tests/Tilia/RunSpec.hs
@@ -18,6 +18,7 @@
 import System.IO (Handle, IOMode (ReadWriteMode), withFile)
 import System.IO.Temp (withSystemTempDirectory, withSystemTempFile)
 import Test.Hspec
+
 import Tilia.Cabal.Package (PackageProblem (..))
 import Tilia.Cpp (CppError (..))
 import Tilia.Fixity
@@ -66,7 +67,8 @@
 
   describe "the status a run leaves behind" $ do
     it "has none to give when nothing failed" $
-      exitCodeOf [("A.hs", Unchanged), ("B.hs", decline), ("C.hs", Changed "a" "b")]
+      exitCodeOf
+        [("A.hs", Unchanged), ("B.hs", decline), ("C.hs", Changed "a" "b")]
         `shouldBe` Nothing
 
     it "gives the code of the failure when there is one" $
@@ -75,8 +77,14 @@
 
     it "gives the lowest code when there are several" $
       exitCodeOf [("A.hs", failure), ("B.hs", otherFailure)]
-        `shouldBe` Just (min (formatErrorExitCode unreadable) (formatErrorExitCode unclaimed))
+        `shouldBe` Just
+          (min (formatErrorExitCode unreadable) (formatErrorExitCode unclaimed))
 
+    it "puts a failure of formatting itself before the lower code of another" $
+      exitCodeOf
+        [("A.hs", failure), ("B.hs", Failed (NotEquivalent "B.hs" "x"))]
+        `shouldBe` Just (formatErrorExitCode (NotEquivalent "B.hs" "x"))
+
     it "does not depend on the order the failures came back in" $
       exitCodeOf [("A.hs", failure), ("B.hs", otherFailure)]
         `shouldBe` exitCodeOf [("B.hs", otherFailure), ("A.hs", failure)]
@@ -85,12 +93,18 @@
       exitCodeOf [("A.hs", decline), ("B.hs", decline)] `shouldBe` Nothing
 
     it "gives the code of a refusal once refusing is not allowed" $
-      exitCodeOf [("A.hs", failIfDeclined decline), ("B.hs", failIfDeclined Unchanged)]
+      exitCodeOf
+        [("A.hs", failIfDeclined decline), ("B.hs", failIfDeclined Unchanged)]
         `shouldBe` Just (formatErrorExitCode (PositionPragmas "A.hs"))
 
   describe "the summary an inplace run prints" $ do
     it "counts the files it formatted, indented, by extension" $
-      reportOut (inplaceReport Plain Plain [("A.hs", Unchanged), ("B.hs", Changed "a" "b")])
+      reportOut
+        ( inplaceReport
+            Plain
+            Plain
+            [("A.hs", Unchanged), ("B.hs", Changed "a" "b")]
+        )
         `shouldBe` "  [✓] Formatted 2 .hs files\n"
 
     it "counts each extension on its own line, in a settled order" $
@@ -98,7 +112,10 @@
         ( inplaceReport
             Plain
             Plain
-            [("C.hsig", Unchanged), ("A.hs", Unchanged), ("B.hs-boot", Unchanged)]
+            [ ("C.hsig", Unchanged),
+              ("A.hs", Unchanged),
+              ("B.hs-boot", Unchanged)
+            ]
         )
         `shouldBe` T.unlines
           [ "  [✓] Formatted 1 .hs file",
@@ -111,7 +128,12 @@
         `shouldBe` "  [✓] Formatted 1 .hs file\n"
 
     it "counts neither a refusal nor a failure among the formatted" $
-      reportOut (inplaceReport Plain Plain [("A.hs", Unchanged), ("B.hs", decline), ("C.hs", failure)])
+      reportOut
+        ( inplaceReport
+            Plain
+            Plain
+            [("A.hs", Unchanged), ("B.hs", decline), ("C.hs", failure)]
+        )
         `shouldBe` "  [✓] Formatted 1 .hs file\n"
 
     it "says nothing at all about a run with no files" $
@@ -137,8 +159,13 @@
 
     it "says what a file that would not settle did" $
       reportErr
-        (inplaceReport Plain Plain [("A.hs", Failed (NotIdempotent "A.hs" "line 12 differs"))])
-        `shouldSatisfy` any (T.isInfixOf "A.hs is not idempotent: line 12 differs")
+        ( inplaceReport
+            Plain
+            Plain
+            [("A.hs", Failed (NotIdempotent "A.hs" "line 12 differs"))]
+        )
+        `shouldSatisfy` any
+          (T.isInfixOf "A.hs is not idempotent: line 12 differs")
 
     it "names the file in the reason, once" $
       reportErr (inplaceReport Plain Plain mixed)
@@ -148,7 +175,8 @@
       case parseModule defaultParserConfig "A.hs" "x = (" of
         Right _ -> expectationFailure "x = ( parsed"
         Left e -> do
-          let said = flattened (inplaceReport Plain Plain [("A.hs", Declined why)])
+          let said =
+                flattened (inplaceReport Plain Plain [("A.hs", Declined why)])
               why = CppUnsupported "A.hs" (ConfigurationNotParsed [] e)
           said `shouldSatisfy` T.isInfixOf "will not format A.hs:"
           T.count "A.hs" said `shouldBe` 1
@@ -162,7 +190,15 @@
         `shouldSatisfy` all (T.isPrefixOf "    · ")
 
     it "lines a wrapped case up with the text of its bullet" $
-      reportErr (inplaceReport Plain Plain [("A.hs", Failed (Unreadable "A.hs" (T.replicate 20 "and more words ")))])
+      reportErr
+        ( inplaceReport
+            Plain
+            Plain
+            [ ( "A.hs",
+                Failed (Unreadable "A.hs" (T.replicate 20 "and more words "))
+              )
+            ]
+        )
         `shouldSatisfy` \case
           (_tallyLine : opening : continuation : _) ->
             T.isPrefixOf "    · " opening
@@ -175,28 +211,54 @@
           "the fixity of <|> may be declared in Criterion.Main, which this run could not read"
 
     it "counts the modules when the answer could be in more than one" $
-      flattened (inplaceReport Plain Plain [("A.hs", missingIn ["Criterion.Main", "Test.Tasty"])])
+      flattened
+        ( inplaceReport
+            Plain
+            Plain
+            [("A.hs", missingIn ["Criterion.Main", "Test.Tasty"])]
+        )
         `shouldSatisfy` T.isInfixOf
           "may be declared in Criterion.Main or Test.Tasty, neither of which this run could read"
 
     it "names the module reading stopped at, not only the import above it" $
       flattened
-        (inplaceReport Plain Plain [("A.hs", missingThrough [ModuleChain ("Test.Hspec" :| ["Test.QuickCheck.Property"])])])
+        ( inplaceReport
+            Plain
+            Plain
+            [ ( "A.hs",
+                missingThrough
+                  [ModuleChain ("Test.Hspec" :| ["Test.QuickCheck.Property"])]
+              )
+            ]
+        )
         `shouldSatisfy` T.isInfixOf
           "may be declared in Test.Hspec → Test.QuickCheck.Property, which this run could not read"
 
     it "gives one answer once however many operators share it" $
-      flattened (inplaceReport Plain Plain [("A.hs", missingTwice "Criterion.Main")])
+      flattened
+        (inplaceReport Plain Plain [("A.hs", missingTwice "Criterion.Main")])
         `shouldSatisfy` T.isInfixOf
           "the fixities of <|> and <+> may be declared in Criterion.Main, which this run could not read"
 
     it "puts a comma before the and once there are three of them" $
-      flattened (inplaceReport Plain Plain [("A.hs", missingAll ["<|>", "<+>", "<*>"] "Criterion.Main")])
-        `shouldSatisfy` T.isInfixOf "the fixities of <|>, <+>, and <*> may be declared in"
+      flattened
+        ( inplaceReport
+            Plain
+            Plain
+            [("A.hs", missingAll ["<|>", "<+>", "<*>"] "Criterion.Main")]
+        )
+        `shouldSatisfy` T.isInfixOf
+          "the fixities of <|>, <+>, and <*> may be declared in"
 
     it "leaves a pair without one" $
-      flattened (inplaceReport Plain Plain [("A.hs", missingAll ["<|>", "<+>"] "Criterion.Main")])
-        `shouldSatisfy` T.isInfixOf "the fixities of <|> and <+> may be declared in"
+      flattened
+        ( inplaceReport
+            Plain
+            Plain
+            [("A.hs", missingAll ["<|>", "<+>"] "Criterion.Main")]
+        )
+        `shouldSatisfy` T.isInfixOf
+          "the fixities of <|> and <+> may be declared in"
 
     it "counts each answer's operators rather than the file's" $
       flattened (inplaceReport Plain Plain [("A.hs", twoAnswers)])
@@ -207,15 +269,36 @@
 
     it "names the imports that disagree and what each brings" $
       flattened (inplaceReport Plain Plain [("A.hs", about "<+>")])
-        `shouldSatisfy` T.isInfixOf "the fixity of <+> is infixl 6 in Left but infixr 5 in Right"
+        `shouldSatisfy` T.isInfixOf
+          "the fixity of <+> is infixl 6 in Left but infixr 5 in Right"
 
     it "gathers the imports that agree with one another" $
-      flattened (inplaceReport Plain Plain [("A.hs", disagreeing (leftSix :| [rightFive, ("Middle", Fixity LeftAssoc 6)]))])
-        `shouldSatisfy` T.isInfixOf "is infixl 6 in Left and Middle but infixr 5 in Right"
+      flattened
+        ( inplaceReport
+            Plain
+            Plain
+            [ ( "A.hs",
+                disagreeing
+                  (leftSix :| [rightFive, ("Middle", Fixity LeftAssoc 6)])
+              )
+            ]
+        )
+        `shouldSatisfy` T.isInfixOf
+          "is infixl 6 in Left and Middle but infixr 5 in Right"
 
     it "lists three fixities the way it lists three of anything" $
-      flattened (inplaceReport Plain Plain [("A.hs", disagreeing (leftSix :| [rightFive, ("Third", Fixity NoAssoc 4)]))])
-        `shouldSatisfy` T.isInfixOf "is infixl 6 in Left, infixr 5 in Right, and infix 4 in Third"
+      flattened
+        ( inplaceReport
+            Plain
+            Plain
+            [ ( "A.hs",
+                disagreeing
+                  (leftSix :| [rightFive, ("Third", Fixity NoAssoc 4)])
+              )
+            ]
+        )
+        `shouldSatisfy` T.isInfixOf
+          "is infixl 6 in Left, infixr 5 in Right, and infix 4 in Third"
 
     it "gives one disagreement once however many operators share it" $
       flattened
@@ -233,13 +316,15 @@
               )
             ]
         )
-        `shouldSatisfy` T.isInfixOf "the fixities of <|> and <+> are infixl 6 in Left but infixr 5 in Right"
+        `shouldSatisfy` T.isInfixOf
+          "the fixities of <|> and <+> are infixl 6 in Left but infixr 5 in Right"
 
     it "keeps all of it off the stream the summary goes to" $
       reportOut (inplaceReport Plain Plain mixed) `shouldBe` ""
 
     it "says the same about them in either command" $
-      reportErr (checkReport Plain Plain mixed) `shouldBe` reportErr (inplaceReport Plain Plain mixed)
+      reportErr (checkReport Plain Plain mixed)
+        `shouldBe` reportErr (inplaceReport Plain Plain mixed)
 
   describe "what a check run prints" $ do
     it "shows a diff for a file that would change" $
@@ -251,12 +336,19 @@
         `shouldSatisfy` T.isInfixOf "diff --git a/A.hs b/A.hs"
 
     it "shows the removal and the addition" $ do
-      let shown = reportOut (checkReport Plain Plain [("A.hs", Changed "one\n" "two\n")])
+      let shown =
+            reportOut
+              (checkReport Plain Plain [("A.hs", Changed "one\n" "two\n")])
       shown `shouldSatisfy` T.isInfixOf "-one"
       shown `shouldSatisfy` T.isInfixOf "+two"
 
     it "says nothing on standard output about a file it did not format" $
-      reportOut (checkReport Plain Plain [("A.hs", Unchanged), ("B.hs", decline), ("C.hs", failure)])
+      reportOut
+        ( checkReport
+            Plain
+            Plain
+            [("A.hs", Unchanged), ("B.hs", decline), ("C.hs", failure)]
+        )
         `shouldBe` ""
 
   describe "what a for-editor run prints" $ do
@@ -297,11 +389,13 @@
         `shouldSatisfy` T.isInfixOf "\ESC[1m.hs\ESC[0m"
 
     it "sets the file a case is about in bold, and nothing around it" $
-      reportErr (inplaceReport Colors Colors [("src/A.hs", failureAbout "src/A.hs")])
+      reportErr
+        (inplaceReport Colors Colors [("src/A.hs", failureAbout "src/A.hs")])
         `shouldSatisfy` any (T.isInfixOf "\ESC[1msrc/A.hs\ESC[0m")
 
     it "leaves the file bare when there is nobody to see it" $
-      reportErr (inplaceReport Plain Plain [("src/A.hs", failureAbout "src/A.hs")])
+      reportErr
+        (inplaceReport Plain Plain [("src/A.hs", failureAbout "src/A.hs")])
         `shouldSatisfy` all (not . T.isInfixOf "\ESC")
 
     it "sets an operator a message names in cyan" $
@@ -309,7 +403,9 @@
         `shouldSatisfy` any (T.isInfixOf "\ESC[36m<|>\ESC[0m")
 
     it "matches an operator as a whole word and not as a fragment" $ do
-      let shown = T.unlines (reportErr (inplaceReport Colors Colors [("A.hs", about ".")]))
+      let shown =
+            T.unlines
+              (reportErr (inplaceReport Colors Colors [("A.hs", about ".")]))
       T.count "\ESC[36m" shown `shouldBe` 1
       shown `shouldSatisfy` T.isInfixOf "\ESC[1mA.hs\ESC[0m"
 
@@ -318,11 +414,13 @@
         `shouldSatisfy` all (not . T.isInfixOf "\ESC")
 
     it "sets a module a message names in bold" $
-      reportErr (inplaceReport Colors Colors [("A.hs", missing "Criterion.Main")])
+      reportErr
+        (inplaceReport Colors Colors [("A.hs", missing "Criterion.Main")])
         `shouldSatisfy` any (T.isInfixOf "\ESC[1mCriterion.Main\ESC[0m")
 
     it "colors a module even where a comma follows it" $
-      reportErr (inplaceReport Colors Colors [("A.hs", missing "Criterion.Main")])
+      reportErr
+        (inplaceReport Colors Colors [("A.hs", missing "Criterion.Main")])
         `shouldSatisfy` any (T.isInfixOf "\ESC[1mCriterion.Main\ESC[0m,")
 
     it "colors the cross red" $
@@ -330,8 +428,13 @@
         `shouldSatisfy` any (T.isInfixOf "[\ESC[31m✗\ESC[0m]")
 
     it "colors each stream with a palette of its own" $ do
-      let summary = inplaceReport Colors Plain [("A.hs", Unchanged), ("B.hs", decline)]
-          diffs = checkReport Plain Colors [("A.hs", Changed "a\n" "b\n"), ("B.hs", decline)]
+      let summary =
+            inplaceReport Colors Plain [("A.hs", Unchanged), ("B.hs", decline)]
+          diffs =
+            checkReport
+              Plain
+              Colors
+              [("A.hs", Changed "a\n" "b\n"), ("B.hs", decline)]
       reportOut summary `shouldSatisfy` T.isInfixOf "\ESC"
       reportErr summary `shouldSatisfy` all (not . T.isInfixOf "\ESC")
       reportOut diffs `shouldSatisfy` (not . T.isInfixOf "\ESC")
@@ -352,7 +455,8 @@
 
   describe "breaking text to fit" $ do
     it "keeps every line within the room given" $
-      fmap T.length (wrapTo 20 (T.replicate 40 "word ")) `shouldSatisfy` all (<= 20)
+      fmap T.length (wrapTo 20 (T.replicate 40 "word "))
+        `shouldSatisfy` all (<= 20)
 
     it "breaks at spaces and nowhere else" $
       wrapTo 12 "one two three four" `shouldBe` ["one two", "three four"]
@@ -365,6 +469,10 @@
       wrapTo 40 "first thing\nsecond thing"
         `shouldBe` ["first thing", "second thing"]
 
+    it "keeps a line indented as far as it is, and what it breaks into" $
+      wrapTo 12 "targets:\n  one two three"
+        `shouldBe` ["targets:", "  one two", "  three"]
+
     it "has nothing to say about nothing" $
       wrapTo 20 "" `shouldBe` []
 
@@ -376,7 +484,8 @@
     it "breaks a colored line exactly where it breaks the bare one" $ do
       let bare = "alpha beta gamma delta epsilon zeta eta theta"
           lit = T.replace "gamma" "\ESC[36mgamma\ESC[0m" bare
-      fmap visibleLength (wrapTo 20 lit) `shouldBe` fmap T.length (wrapTo 20 bare)
+      fmap visibleLength (wrapTo 20 lit)
+        `shouldBe` fmap T.length (wrapTo 20 bare)
 
   describe "how wide anything gets" $ do
     let sprawling =
@@ -388,7 +497,19 @@
         `shouldSatisfy` all (<= lineWidth)
 
     it "does the same when the reason is enormous" $
-      fmap T.length (reportErr (inplaceReport Plain Plain [("A.hs", Failed (Unreadable "A.hs" (T.replicate 40 "and more words ")))]))
+      fmap
+        T.length
+        ( reportErr
+            ( inplaceReport
+                Plain
+                Plain
+                [ ( "A.hs",
+                    Failed
+                      (Unreadable "A.hs" (T.replicate 40 "and more words "))
+                  )
+                ]
+            )
+        )
         `shouldSatisfy` all (<= lineWidth)
 
     it "wraps what it says when it gives up, too" $
@@ -434,21 +555,18 @@
       written (formattingOutcome "module A where\n" "module B where\n")
         `shouldBe` Just "module B where\n"
 
-    it "takes the endings from the first line, over a file of many" $
-      written (formattingOutcome "a\r\nb\r\nc\r\n" "a\nb\nd\n")
-        `shouldBe` Just "a\r\nb\r\nd\r\n"
-
     it "counts a file whose endings disagree as one that would change" $
       differs (formattingOutcome "a\r\nb\nc\r\n" "a\nb\nc\n") `shouldBe` True
 
     it "shows the line whose ending would change in the diff" $
-      reportOut (checkReport Plain Plain [("A.hs", formattingOutcome "a\r\nb\nc\r\n" "a\nb\nc\n")])
+      reportOut
+        ( checkReport
+            Plain
+            Plain
+            [("A.hs", formattingOutcome "a\r\nb\nc\r\n" "a\nb\nc\n")]
+        )
         `shouldSatisfy` T.isInfixOf "\n-b\n+b\r\n"
 
-    it "leaves a carriage return that is not a line ending where it is" $
-      written (formattingOutcome "x = \"a\\\r b\"\r\n" "y = \"a\\\r b\"\n")
-        `shouldBe` Just "y = \"a\\\r b\"\r\n"
-
   describe "putting a file back" $ do
     it "writes one that changed" $
       withSource "module A where\n" $ \path -> do
@@ -464,7 +582,8 @@
       withBytes (T.encodeUtf8 "-- ü\r\nmodule A where\r\n") $ \path -> do
         Right asItIs <- readAsUtf8 path
         _ <- writeBack (path, formattingOutcome asItIs "-- ü\nmodule B where\n")
-        BS.readFile path `shouldReturn` T.encodeUtf8 "-- ü\r\nmodule B where\r\n"
+        BS.readFile path
+          `shouldReturn` T.encodeUtf8 "-- ü\r\nmodule B where\r\n"
 
     it "leaves one that did not alone, down to its modification time" $
       untouched Unchanged
@@ -484,12 +603,18 @@
 
   describe "running over many files at once" $ do
     it "answers in the order it was asked, not the order it finished" $ do
-      answers <- inParallel (\n -> threadDelay (1000 * (40 - n)) >> pure n) [1 .. 20 :: Int]
+      answers <-
+        inParallel
+          (\n -> threadDelay (1000 * (40 - n)) >> pure n)
+          [1 .. 20 :: Int]
       answers `shouldBe` [1 .. 20]
 
     it "runs every one of them exactly once" $ do
       seen <- newIORef (0 :: Int)
-      _ <- inParallel (\_ -> atomicModifyIORef' seen (\n -> (n + 1, ()))) [1 .. 500 :: Int]
+      _ <-
+        inParallel
+          (\_ -> atomicModifyIORef' seen (\n -> (n + 1, ())))
+          [1 .. 500 :: Int]
       readIORef seen `shouldReturn` 500
 
     it "copes with having nothing to do" $
@@ -563,11 +688,17 @@
 
 -- | A case about one operator whose fixity could not be settled.
 about :: Text -> Outcome
-about op = Declined (UnknownFixity "A.hs" [((Nothing, OpName op), Ambiguous (leftSix :| [rightFive]))])
+about op =
+  Declined
+    ( UnknownFixity
+        "A.hs"
+        [((Nothing, OpName op), Ambiguous (leftSix :| [rightFive]))]
+    )
 
 -- | A case about @<+>@, which the imports bring in as given.
 disagreeing :: NonEmpty (Text, Fixity) -> Outcome
-disagreeing offers = Declined (UnknownFixity "A.hs" [((Nothing, OpName "<+>"), Ambiguous offers)])
+disagreeing offers =
+  Declined (UnknownFixity "A.hs" [((Nothing, OpName "<+>"), Ambiguous offers)])
 
 -- | What two disagreeing imports bring.
 leftSix, rightFive :: (Text, Fixity)
diff --git a/tests/Tilia/SettingsSpec.hs b/tests/Tilia/SettingsSpec.hs
new file mode 100644
--- /dev/null
+++ b/tests/Tilia/SettingsSpec.hs
@@ -0,0 +1,147 @@
+{-# LANGUAGE OverloadedStrings #-}
+
+-- | The settings a project writes in its @tilia.toml@.
+module Tilia.SettingsSpec (spec) where
+
+import Data.Text (Text)
+import System.Directory (emptyPermissions, setPermissions)
+import System.FilePath ((</>))
+import Test.Hspec
+
+import Tilia.Settings
+import Tilia.TestUtils (withFiles)
+
+spec :: Spec
+spec = do
+  describe "a settings file" $ do
+    it "that is empty sets nothing" $
+      parseSettings "" `shouldBe` Right defaultSettings
+
+    it "that holds only comments and empty lines sets nothing" $
+      parseSettings "# Nothing here.\n\n   # Nor here.\n"
+        `shouldBe` Right defaultSettings
+
+    it "sets the column limit" $
+      "column-limit = 100\n" `limitsAt` 100
+
+    it "reads a key and a value however they are spaced" $ do
+      "column-limit=100" `limitsAt` 100
+      "   column-limit   =   90   " `limitsAt` 90
+
+    it "reads a comment after a value" $
+      "column-limit = 100 # a hundred columns" `limitsAt` 100
+
+    it "reads a value with a sign" $
+      "column-limit = +100" `limitsAt` 100
+
+    it "sets the indentation" $ do
+      parseSettings "indentation = 4\n"
+        `shouldBe` Right defaultSettings{settingsIndentation = FourColumns}
+      parseSettings "indentation = 2\n"
+        `shouldBe` Right defaultSettings{settingsIndentation = TwoColumns}
+
+    it "sets leading commas" $ do
+      parseSettings "leading-commas = true\n"
+        `shouldBe` Right defaultSettings{settingsCommaStyle = LeadingCommas}
+      parseSettings "leading-commas = false\n"
+        `shouldBe` Right defaultSettings{settingsCommaStyle = TrailingCommas}
+
+    it "sets leading arrows" $ do
+      parseSettings "leading-arrows = true\n"
+        `shouldBe` Right defaultSettings{settingsArrowStyle = LeadingArrows}
+      parseSettings "leading-arrows = false\n"
+        `shouldBe` Right defaultSettings{settingsArrowStyle = TrailingArrows}
+
+    it "sets several settings" $
+      parseSettings
+        "column-limit = 100\nindentation = 4\nleading-commas = true\n\
+        \leading-arrows = true\n"
+        `shouldBe` Right
+          Settings
+            { settingsColumnLimit = 100,
+              settingsIndentation = FourColumns,
+              settingsCommaStyle = LeadingCommas,
+              settingsArrowStyle = LeadingArrows
+            }
+
+  describe "a settings file is refused where" $ do
+    it "the column limit is not a whole number greater than 0" $ do
+      let why = "column-limit is a whole number greater than 0"
+      "column-limit = 0" `fails` (1, why)
+      "column-limit = -80" `fails` (1, why)
+      "column-limit = true" `fails` (1, why)
+      "column-limit = 99999999999999999999" `fails` (1, why)
+
+    it "the indentation is neither 2 nor 4" $ do
+      let why = "indentation is 2 or 4"
+      "indentation = 3" `fails` (1, why)
+      "indentation = 8" `fails` (1, why)
+      "indentation = true" `fails` (1, why)
+
+    it "leading commas are neither true nor false" $
+      "leading-commas = 1" `fails` (1, "leading-commas is true or false")
+
+    it "leading arrows are neither true nor false" $
+      "leading-arrows = 1" `fails` (1, "leading-arrows is true or false")
+
+    it "a value is a string" $
+      "column-limit = \"100\""
+        `fails` (1, "a value is true, false or a whole number")
+
+    it "a number begins with a zero" $
+      "column-limit = 0100"
+        `fails` (1, "a value is true, false or a whole number")
+
+    it "a setting is given twice" $
+      "column-limit = 100\n\ncolumn-limit = 90\n"
+        `fails` (3, "column-limit is already set on line 1")
+
+    it "a setting is unknown" $
+      "# A comment.\nwidth = 80\n" `fails` (2, "there is no setting width")
+
+    it "a line is not key = value" $ do
+      "[tilia]" `fails` (1, "expected a line of key = value")
+      "column-limit" `fails` (1, "expected a line of key = value")
+      "\"column-limit\" = 100" `fails` (1, "expected a line of key = value")
+
+  describe "reading a project's settings" $ do
+    it "gives the defaults where the project has no settings file" $
+      withFiles [] $ \root ->
+        readSettings root `shouldReturn` Right defaultSettings
+
+    it "reads the project's settings file" $
+      withFiles [(settingsFile, "column-limit = 100\n")] $ \root ->
+        readSettings root
+          `shouldReturn` Right defaultSettings{settingsColumnLimit = 100}
+
+    it "reads a settings file past a byte order mark" $
+      withFiles [(settingsFile, "\xFEFF\&column-limit = 100\n")] $ \root ->
+        readSettings root
+          `shouldReturn` Right defaultSettings{settingsColumnLimit = 100}
+
+    it "says why it cannot read a settings file without naming it" $
+      withFiles [(settingsFile, "column-limit = 100\n")] $ \root -> do
+        setPermissions (root </> settingsFile) emptyPermissions
+        readSettings root
+          `shouldReturn` Left (SettingsUnreadable "permission denied")
+
+-- | Check that a settings file sets the column limit.
+limitsAt ::
+  -- | The file's text.
+  Text ->
+  -- | The column limit.
+  Int ->
+  Expectation
+limitsAt written limit =
+  parseSettings written
+    `shouldBe` Right defaultSettings{settingsColumnLimit = limit}
+
+-- | Check that a settings file is refused at a line, for a reason.
+fails ::
+  -- | The file's text.
+  Text ->
+  -- | The number of the line, and why.
+  (Int, Text) ->
+  Expectation
+fails written (n, why) =
+  parseSettings written `shouldBe` Left (SettingsMalformed n why)
diff --git a/tests/Tilia/SpanSpec.hs b/tests/Tilia/SpanSpec.hs
--- a/tests/Tilia/SpanSpec.hs
+++ b/tests/Tilia/SpanSpec.hs
@@ -3,6 +3,7 @@
 
 import Test.Hspec
 import Test.QuickCheck
+
 import Tilia.Gen (AnySpan (..))
 import Tilia.Span
 
diff --git a/tests/Tilia/TestConfig.hs b/tests/Tilia/TestConfig.hs
--- a/tests/Tilia/TestConfig.hs
+++ b/tests/Tilia/TestConfig.hs
@@ -1,23 +1,29 @@
-{-# LANGUAGE OverloadedLabels #-}
+{-# LANGUAGE DataKinds #-}
 {-# LANGUAGE OverloadedStrings #-}
-{-# LANGUAGE PatternSynonyms #-}
 
 -- | How every corpus example is formatted.
 module Tilia.TestConfig
-  ( printExample,
-    formatCppExample,
+  ( formatExample,
+    configurationsToCheck,
+    defaultsFor,
+    effectiveExtensionsFor,
   )
 where
 
-import Data.Choice (pattern Is)
-import Data.List.NonEmpty (NonEmpty)
+import Data.Choice (Choice, fromBool, isTrue)
+import Data.List (maximumBy, nub)
 import Data.Map.Strict (Map)
 import Data.Map.Strict qualified as Map
+import Data.Maybe (fromMaybe)
+import Data.Ord (comparing)
+import Data.Set (Set)
 import Data.Set qualified as Set
 import Data.Text (Text)
+import GHC.Driver.Session qualified as GHC
+import GHC.LanguageExtensions.Type (Extension (ImportQualifiedPost))
+
 import Tilia.BootFixities (bootFixities)
-import Tilia.Cpp (CppError, everyBranch, formatWithCpp)
-import Tilia.Doc (printDoc)
+import Tilia.Cabal.Project (Marker (ProjectFile), ProjectRoot (..))
 import Tilia.Fixity
   ( Direction (..),
     Established (..),
@@ -25,137 +31,145 @@
     Fixity (..),
     Namespace (..),
     OpName (..),
-    Provenance (..),
-    Reach (..),
-    Scope (..),
-    operatorsUsed,
-    resolveScope,
-    unreadable,
   )
-import Tilia.Parser (ParsedModule (..))
-import Tilia.Pragma (Defaults)
-import Tilia.Render (RenderConfig (..), defaultRenderConfig, renderModule)
-import Tilia.TestUtils (effectiveExtensionsFor, inBothNamespaces, parserConfigFor)
+import Tilia.Fixity.Plan (Resolver (..))
+import Tilia.Format (AstCheck (..), FormatError, Session (..), formatSource)
+import Tilia.Pragma
+  ( Defaults,
+    defaultsOf,
+    editionExtensions,
+    effectiveExtensions,
+  )
+import Tilia.Settings (Settings)
+import Tilia.TestUtils (inBothNamespaces)
 
--- | How to format one corpus example.
-exampleRenderConfig ::
+-- | Format a corpus example with 'formatSource', in a project where only
+-- the boot packages can be read.
+formatExample ::
+  -- | Whether to check idempotence and the AST, in every configuration.
+  Choice "check" ->
+  -- | What the project sets.
+  Settings ->
   -- | What the package around it puts in force, if it is a module of one.
   Maybe Defaults ->
+  -- | The modules the package around it declares, each with the package's
+  -- name.
+  Map Text (Set Text) ->
+  -- | Its name in the corpus.
+  FilePath ->
+  -- | The example.
   Text ->
-  -- | Its configurations, parsed.
-  NonEmpty ParsedModule ->
-  RenderConfig
-exampleRenderConfig package source parsed =
-  defaultRenderConfig
-    { rcExtensions =
-        Set.fromList (effectiveExtensionsFor package source),
-      rcScope =
-        Just
-          ( underEveryQualifier
-              (resolveScope (Is #implicitPrelude) known (fmap pmModule parsed))
-          )
-    }
+  IO (Either FormatError Text)
+formatExample checking settings package ownModules =
+  formatSource
+    Session
+      { sessionRoot = ProjectRoot "." ProjectFile,
+        sessionOwnModules = ownModules,
+        sessionSettings = settings,
+        sessionResolver =
+          Resolver $ \_ (_, name) ->
+            pure mempty{establishedFixities = exportsOf name},
+        sessionMacros = mempty,
+        sessionPackage = \_ -> pure (Right (defaultsFor package)),
+        sessionCheckAst =
+          if isTrue checking
+            then EachCppConfiguration configurationsToCheck
+            else NoAstCheck,
+        sessionCheckIdempotence = fromBool (isTrue checking),
+        sessionFixityNotes = Nothing
+      }
+
+-- | How many configurations one example gets compared over.
+configurationsToCheck :: Int
+configurationsToCheck = 64
+
+-- | What a corpus example's package puts in force, or 'Nothing' for an
+-- example of no package.
+--
+-- An example of no package is read as GHC2021 without
+-- @ImportQualifiedPost@, so that @import qualified@ is printed the same
+-- under every edition.
+defaultsFor :: Maybe Defaults -> Defaults
+defaultsFor = fromMaybe (defaultsOf False edition [])
   where
-    known = maybe unreadable (\fixities -> mempty{establishedFixities = fixities}) . exportsOf
-    underEveryQualifier scope =
-      scope
-        { scopeInTypes = alsoQualified (scopeInTypes scope),
-          scopeInTerms = alsoQualified (scopeInTerms scope)
-        }
-    alsoQualified reach =
-      reach
-        { reachQualified =
-            Map.union
-              (reachQualified reach)
-              ( Map.fromList
-                  [ ((qualifier, op), (fixity, DeclaredIn qualifier))
-                  | (_, (Just qualifier, op)) <- concatMap (operatorsUsed . pmGathered) parsed,
-                    Just exported <- [exportsOf qualifier],
-                    Just fixity <- [Map.lookup (InTerms, op) exported]
-                  ]
-              )
-        }
+    edition =
+      Set.delete ImportQualifiedPost (editionExtensions (Just GHC.GHC2021))
 
--- | Print a corpus example that does not use the preprocessor.
-printExample ::
+-- | The extensions in force in a corpus example, given what its package
+-- puts in force.
+effectiveExtensionsFor ::
   -- | What the package around it puts in force, if it is a module of one.
   Maybe Defaults ->
+  -- | The example.
   Text ->
-  -- | It, parsed.
-  ParsedModule ->
-  Text
-printExample package source parsed =
-  printDoc
-    (renderModule (exampleRenderConfig package source (pure parsed)) parsed)
+  Set Extension
+effectiveExtensionsFor = effectiveExtensions . defaultsFor
 
--- | Format a corpus example that uses the preprocessor.
-formatCppExample ::
-  -- | What the package around it puts in force, if it is a module of one.
-  Maybe Defaults ->
-  FilePath ->
-  Text ->
-  Either CppError Text
-formatCppExample package path source =
-  formatWithCpp parser configured path source
+-- | What a module in scope exports, as far as the corpus is concerned: a
+-- boot module its own operators, any other every operator, standing for
+-- what it may re-export, and every module the ones from 'elsewhere'.
+exportsOf :: Text -> Fixities
+exportsOf name = case Map.lookup name bootFixities of
+  Just exact ->
+    Map.restrictKeys agreed (Map.keysSet exact <> Map.keysSet outside)
+  Nothing -> agreed
   where
-    parser = parserConfigFor package
-    configured =
-      maybe
-        defaultRenderConfig
-        (exampleRenderConfig package source)
-        (everyBranch parser path source)
+    outside = inBothNamespaces elsewhere
 
--- | What a module in scope exports, as far as the corpus is concerned.
-exportsOf :: Text -> Maybe Fixities
-exportsOf name = Just (Map.union ours (inBothNamespaces elsewhere))
+-- | One fixity for every operator, so that no two imports of an example
+-- disagree on one.
+--
+-- Where the boot packages give an operator different fixities, the one
+-- most of the modules exporting it give is taken, unless 'preferred' names
+-- another, and a boot package's is taken over one from 'elsewhere'.
+agreed :: Fixities
+agreed =
+  Map.unions [preferred, Map.map mostCommon offered, inBothNamespaces elsewhere]
   where
-    ours = case Map.lookup name bootFixities of
-      Just exact -> exact
-      Nothing -> everythingKnown
+    offered = Map.unionsWith (<>) (fmap (fmap pure) (Map.elems bootFixities))
+    mostCommon fixities =
+      snd . maximumBy (comparing fst) $
+        [(length (filter (== f) fixities), f) | f <- nub fixities]
 
--- | Every operator any boot module exports.
-everythingKnown :: Fixities
-everythingKnown = Map.unions (Map.elems bootFixities)
+-- | The fixities the examples mean where most of the boot modules
+-- exporting an operator give another.
+preferred :: Fixities
+preferred =
+  Map.fromList
+    [ ((InTerms, OpName op), fixity)
+    | (op, fixity) <-
+        [ -- base's, over parsec's
+          ("<|>", Fixity LeftAssoc 3),
+          -- base's, over pretty's and template-haskell's
+          ("<>", Fixity RightAssoc 6),
+          -- Data.List's, over containers', which is mostly written
+          -- qualified
+          ("\\\\", Fixity NoAssoc 5),
+          -- ReadP's, over ReadPrec's, which declares none
+          ("+++", Fixity RightAssoc 5),
+          ("<++", Fixity RightAssoc 5)
+        ]
+    ]
 
 -- | Operators the examples use that no boot package exports.
 --
--- The same list Ormolu's test suite carries, for the same reason: these
--- turn up in the examples, their fixities are not discoverable from
--- anything to hand, and without them those examples are laid out as though
--- every one of these were @infixl 9@.
+-- Their fixities are not discoverable from anything to hand, and without
+-- them the examples that use them are laid out as though every one of
+-- these were @infixl 9@.
 elsewhere :: Map OpName Fixity
 elsewhere =
   Map.fromList $
     concat
-      [ ormoluOverrides,
-        lens,
+      [ lens,
         esqueleto,
         servant,
-        hspec,
-        preludeInfix,
-        outsideBoot
+        hspec
       ]
   where
     infixL p ops = [(OpName o, Fixity LeftAssoc p) | o <- ops]
     infixR p ops = [(OpName o, Fixity RightAssoc p) | o <- ops]
     infixN p ops = [(OpName o, Fixity NoAssoc p) | o <- ops]
 
-    -- Five operators the corpus uses that belong to no package we can
-    -- consult, and whose fixities are therefore whatever the corpus was laid
-    -- out with. Two disagree with the library the spelling comes from—@.=@
-    -- is @infix 4@ in lens and @#@ is @infixr 8@ there—but the expected
-    -- outputs settle it, since matching them is the only thing these are
-    -- for.
-    ormoluOverrides =
-      infixR 8 [".="]
-        <> infixR 5 ["#"]
-        -- Ormolu gives these 3, 3.3 and 3.7, which it can because its
-        -- precedences are fractional and ours are whole numbers. Only their
-        -- order relative to one another is ever exercised, and that is kept.
-        <> infixR 3 [">~<"]
-        <> infixR 4 ["|~|"]
-        <> infixR 5 ["<~>"]
-
     -- @lens@, and the packages that copy its spelling.
     lens =
       infixL 8 ["^.", "^..", "^?", "^?!", "^@.", "^@..", "^@?"]
@@ -211,13 +225,3 @@
           "shouldStartWith",
           "shouldEndWith"
         ]
-
-    -- Functions written infix often enough to be worth knowing the fixity
-    -- of, and which the list of module exports does not carry.
-    preludeInfix = infixR 0 ["seq"] <> infixL 0 ["on"]
-
-    -- Loosest-binding operators from packages outside the boot libraries.
-    -- These decide layout rather than grouping: an @infixr 0@ is written at
-    -- the end of the line it breaks, the way @$@ is, and without the fixity
-    -- the examples come out with the operator at the start of the next one.
-    outsideBoot = infixR 0 ["deepseq", "?:"]
diff --git a/tests/Tilia/TestUtils.hs b/tests/Tilia/TestUtils.hs
--- a/tests/Tilia/TestUtils.hs
+++ b/tests/Tilia/TestUtils.hs
@@ -7,11 +7,13 @@
   ( withEnvironment,
     withFiles,
     withOpsProject,
+    installedEntries,
     switchedOn,
     underAsciiLocale,
-    parserConfigFor,
+    settingsToTest,
+    withEachSettings,
+    indentedBy,
     defaultParserConfig,
-    effectiveExtensionsFor,
     parsed,
     parses,
     commentsIn,
@@ -22,12 +24,8 @@
     routedResolver,
 
     -- * Configurations, enumerated
-    configurations,
     leaves,
     linearLeaves,
-    countLeaves,
-    answeredLeaves,
-    answeredLinearLeaves,
   )
 where
 
@@ -41,13 +39,11 @@
 import Data.List.NonEmpty (NonEmpty (..))
 import Data.Map.Strict (Map)
 import Data.Map.Strict qualified as Map
-import Data.Maybe (fromMaybe, isJust, listToMaybe)
 import Data.Text (Text)
 import Data.Text qualified as T
 import Data.Word (Word64)
 import GHC.Driver.Session qualified as GHC
 import GHC.IO.Encoding (getLocaleEncoding, setLocaleEncoding)
-import GHC.LanguageExtensions.Type (Extension (..))
 import System.Directory
   ( canonicalizePath,
     createDirectoryIfMissing,
@@ -59,25 +55,18 @@
 import System.FilePath (takeBaseName, takeDirectory, takeExtension, (</>))
 import System.IO (mkTextEncoding)
 import System.IO.Temp (withSystemTempDirectory)
+import Test.Hspec (Spec, describe, runIO)
+
 import Tilia.Cabal.Package (newPackageReader, sourceExtensions)
-import Tilia.Cabal.Plan (BuildPlan, plannedCompiler)
+import Tilia.Cabal.Plan (BuildPlan, plannedCompiler, plannedFlags)
 import Tilia.Comments (Comment)
-import Tilia.Cpp.Directives
-  ( Assignment,
-    Configurations (..),
-    CppError,
-    GroupSpec (..),
-    Guard,
-    configurationsOn,
-    gsCount,
-    implied,
-    nestedIn,
-    readConditionals,
-    scanConditionals,
-    unconditionalErrors,
-    withoutOpaque,
-  )
+import Tilia.Cpp.Directives (CppError, answeredLeaves, answeredLinearLeaves)
 import Tilia.Fixity (Fixities, Fixity, ModuleChain (..), Namespace (..), OpName)
+import Tilia.Fixity.PackageDb
+  ( Installed (..),
+    InstalledPackage (..),
+    readInstalledPackages,
+  )
 import Tilia.Fixity.Plan (Resolver, Route, newResolverVia)
 import Tilia.Parser
   ( ParsedModule (..),
@@ -85,7 +74,13 @@
     describeParseError,
     parseModule,
   )
-import Tilia.Pragma (Defaults, defaultsOf, effectiveExtensions)
+import Tilia.Pragma (defaultsOf, editionExtensions)
+import Tilia.Settings
+  ( Settings (..),
+    alternativeSettings,
+    defaultSettings,
+    indentationColumns,
+  )
 import Tilia.Source (comments)
 import Tilia.Utils (quietly, writeUtf8File)
 
@@ -115,7 +110,8 @@
 
 -- | Run something on a project of one package, @fake@, whose module @Ops@
 -- declares @infixl 6 <+>@, and on a plan for it kept outside it that names
--- the project relatively, as @haskell.nix@ writes it.
+-- the project relatively, as @haskell.nix@ writes it, and every package the
+-- compiler can see.
 withOpsProject ::
   -- | Further files of the project, by their paths in it, each @.hs@ file
   -- one more module of the package.
@@ -125,7 +121,18 @@
   -- | Given the project's directory and the plan's path.
   (FilePath -> FilePath -> IO a) ->
   IO a
-withOpsProject files others act =
+withOpsProject files others act = do
+  installed <- installedEntries []
+  let plan =
+        "{\"compiler-id\":\"ghc-0.0\",\"install-plan\":["
+          <> T.intercalate
+            ","
+            ( "{\"pkg-name\":\"fake\",\"pkg-version\":\"0.1.0.0\",\
+              \\"pkg-src\":{\"type\":\"local\",\"path\":\"./.\"}}"
+                : others
+                  <> installed
+            )
+          <> "]}"
   withFiles
     ( [ ("project" </> "fake.cabal", cabal),
         ("project" </> "src" </> "Ops.hs", ops),
@@ -157,16 +164,22 @@
           "(<+>) :: a -> a -> a",
           "(<+>) = const"
         ]
-    plan =
-      "{\"compiler-id\":\"ghc-0.0\",\"install-plan\":["
-        <> T.intercalate
-          ","
-          ( "{\"pkg-name\":\"fake\",\"pkg-version\":\"0.1.0.0\",\
-            \\"pkg-src\":{\"type\":\"local\",\"path\":\"./.\"}}"
-              : others
-          )
-        <> "]}"
 
+-- | Every package the compiler can see, as an entry of a plan that names
+-- it installed already.
+installedEntries :: [Text] -> IO [Text]
+installedEntries others = do
+  installed <- installedPackages <$> readInstalledPackages
+  pure
+    [ "{\"type\":\"pre-existing\",\"pkg-name\":\""
+        <> ipName i
+        <> "\",\"pkg-version\":\""
+        <> ipVersion i
+        <> "\"}"
+    | i <- installed,
+      ipName i `notElem` others
+    ]
+
 -- | Is an environment variable set to anything but empty, @0@, @no@ or
 -- @false@?
 switchedOn :: String -> IO Bool
@@ -181,26 +194,57 @@
   bracket getLocaleEncoding setLocaleEncoding $ \_ ->
     setLocaleEncoding ascii >> act
 
--- | What to parse a module with, given what its package puts in force, or
--- 'Nothing' for a module of no package, which is read as GHC2021.
-parserConfigFor :: Maybe Defaults -> ParserConfig
-parserConfigFor =
-  ParserConfig . fromMaybe (defaultsOf (GHC.languageExtensions (Just GHC.GHC2021)) [])
+-- | Is the suite to try every combination of the settings, as
+-- @TILIA_ORTHOGONALITY@ asks?
+orthogonalityMode :: IO Bool
+orthogonalityMode = switchedOn "TILIA_ORTHOGONALITY"
 
--- | What to parse a module of no package with.
-defaultParserConfig :: ParserConfig
-defaultParserConfig = parserConfigFor Nothing
+-- | The settings the suite formats with, each with its name:
+-- 'defaultSettings' and 'alternativeSettings', or every combination of the
+-- settings but the column limit in the 'orthogonalityMode'.
+settingsToTest :: IO [(String, Settings)]
+settingsToTest = do
+  orthogonality <- orthogonalityMode
+  pure $
+    if orthogonality
+      then
+        [ ( show indentation <> ", " <> show commas <> ", " <> show arrows,
+            defaultSettings
+              { settingsIndentation = indentation,
+                settingsCommaStyle = commas,
+                settingsArrowStyle = arrows
+              }
+          )
+        | indentation <- [minBound .. maxBound],
+          commas <- [minBound .. maxBound],
+          arrows <- [minBound .. maxBound]
+        ]
+      else
+        [ ("the default settings", defaultSettings),
+          ("the alternative settings", alternativeSettings)
+        ]
 
--- | The extensions in force in a module, given what its package puts in
--- force, or 'Nothing' for a module of no package, which starts from
--- @ImplicitPrelude@ alone.
---
--- That is less than 'parserConfigFor' reads such a module with, so that
--- what is printed, @import qualified@ for one, reads the same under every
--- edition.
-effectiveExtensionsFor :: Maybe Defaults -> Text -> [Extension]
-effectiveExtensionsFor = effectiveExtensions . fromMaybe (defaultsOf [ImplicitPrelude] [])
+-- | Run specs once with each of the 'settingsToTest'.
+withEachSettings :: (Settings -> Spec) -> Spec
+withEachSettings specs = do
+  tested <- runIO settingsToTest
+  for_ tested $ \(name, settings) -> describe ("with " <> name) (specs settings)
 
+-- | The indentation so many steps make under some settings.
+indentedBy ::
+  -- | The settings.
+  Settings ->
+  -- | How many steps.
+  Int ->
+  Text
+indentedBy settings n =
+  T.replicate (n * indentationColumns (settingsIndentation settings)) " "
+
+-- | What to parse a module of no package with: GHC2021.
+defaultParserConfig :: ParserConfig
+defaultParserConfig =
+  ParserConfig (defaultsOf False (editionExtensions (Just GHC.GHC2021)) [])
+
 -- | Parse a module, or stop the test saying why it does not parse.
 parsed :: Text -> ParsedModule
 parsed source = case parseModule defaultParserConfig "M.hs" source of
@@ -250,17 +294,10 @@
 -- it reads.
 routedResolver :: [Route] -> BuildPlan -> IO Resolver
 routedResolver routes plan = do
-  packageReader <- newPackageReader (plannedCompiler plan) []
+  packageReader <-
+    newPackageReader (plannedCompiler plan) (plannedFlags plan) []
   newResolverVia (Do #useCache) routes packageReader "." plan
 
--- | Split a module on its first outermost conditional, and on every other
--- one written behind the same directives, wherever in the module it sits.
-configurations :: Text -> Maybe Configurations
-configurations source = do
-  forest <- scanConditionals source
-  gs <- listToMaybe forest
-  pure (configurationsOn gs forest source)
-
 -- | Every configuration of a module, with every conditional resolved.
 leaves :: Text -> Either CppError [Text]
 leaves = fmap (fmap snd) . answeredLeaves
@@ -268,88 +305,3 @@
 -- | The configurations reached by varying one conditional at a time.
 linearLeaves :: Text -> Either CppError [Text]
 linearLeaves = fmap (fmap snd) . answeredLinearLeaves
-
--- | How many configurations a module has, without building any of them,
--- and so counting those no definition of the macros gives.
-countLeaves :: Text -> Either CppError Integer
-countLeaves source = do
-  forest <- readConditionals source
-  pure (sum [across answers forest | answers <- combinations (afforded forest)])
-  where
-    across answers = product . fmap (one answers)
-    one answers gs = case lookup (gsGuards gs) answers of
-      Just i -> across answers (nestedIn gs i)
-      Nothing -> sum [across answers (nestedIn gs i) | i <- [0 .. gsCount gs - 1]]
-    combinations = traverse (\(g, k) -> [(g, i) | i <- [0 .. k - 1]])
-    afforded forest = go 1 (repeated forest)
-      where
-        go _ [] = []
-        go n ((g, k) : rest)
-          | n * toInteger k <= guardsToTie = (g, k) : go (n * toInteger k) rest
-          | otherwise = []
-
--- | The guards a module asks more than once, and how many answers each has.
-repeated :: [GroupSpec] -> [([Guard], Int)]
-repeated forest = distinct Map.empty [q | q@(g, _) <- asked forest, twice g]
-  where
-    asked gss = concat [(gsGuards gs, gsCount gs) : asked (concat (gsNested gs)) | gs <- gss]
-    times = Map.fromListWith (+) [(g, 1 :: Int) | (g, _) <- asked forest]
-    twice g = Map.findWithDefault 0 g times >= 2
-
-    distinct _ [] = []
-    distinct seen (q@(g, _) : rest)
-      | Map.member g seen = distinct seen rest
-      | otherwise = q : distinct (Map.insert g () seen) rest
-
--- | How many combinations of answers 'countLeaves' will enumerate.
-guardsToTie :: Integer
-guardsToTie = 4096
-
--- | Every configuration some definition of the macros gives, and the
--- answers that reach it.
-answeredLeaves :: Text -> Either CppError [(Assignment, Text)]
-answeredLeaves =
-  fmap (filter (isJust . implied . Map.toList . fst)) . go Map.empty
-  where
-    go answers source = case configurations source of
-      Nothing -> answeredLeaf answers source
-      Just c ->
-        concat
-          <$> traverse
-            (\(i, t) -> go (Map.insert (cfgGuards c) i answers) t)
-            (zip [0 ..] (cfgTexts c))
-
--- | The same, labelled by the answers that reach each one, and for the same
--- reason as 'answeredLeaves'.
-answeredLinearLeaves :: Text -> Either CppError [(Assignment, Text)]
-answeredLinearLeaves =
-  fmap (filter (isJust . implied . Map.toList . fst)) . go Map.empty
-  where
-    go answers source = case configurations source of
-      Nothing -> answeredLeaf answers source
-      Just c -> case zip [0 ..] (cfgTexts c) of
-        [] -> Right []
-        (i, first) : rest ->
-          (<>)
-            <$> go (Map.insert (cfgGuards c) i answers) first
-            <*> (concat <$> traverse (held answers (cfgGuards c)) rest)
-      where
-        held before gs (i, t) = answeredBaseline (Map.insert gs i before) t
-
--- | The configuration in which every question still to be asked takes its
--- first branch, and the answers that give it, unless it aborts with
--- @#error@.
-answeredBaseline :: Assignment -> Text -> Either CppError [(Assignment, Text)]
-answeredBaseline answers source = case configurations source of
-  Nothing -> answeredLeaf answers source
-  Just c -> case cfgTexts c of
-    [] -> Right [(answers, source)]
-    t : _ -> answeredBaseline (Map.insert (cfgGuards c) 0 answers) t
-
--- | A module with every conditional answered, and the answers that reach
--- it, unless it aborts with @#error@.
-answeredLeaf :: Assignment -> Text -> Either CppError [(Assignment, Text)]
-answeredLeaf answers source
-  | null (unconditionalErrors source) =
-      [(answers, withoutOpaque source)] <$ readConditionals source
-  | otherwise = Right []
diff --git a/tests/Tilia/WithProjectPlan.hs b/tests/Tilia/WithProjectPlan.hs
--- a/tests/Tilia/WithProjectPlan.hs
+++ b/tests/Tilia/WithProjectPlan.hs
@@ -24,6 +24,7 @@
 import System.FilePath (takeDirectory, (</>))
 import System.IO.Unsafe (unsafePerformIO)
 import Test.Hspec (Spec)
+
 import Tilia.Cabal.Plan
   ( BuildPlan (..),
     PackageSource (..),
@@ -63,7 +64,8 @@
 prepare :: IO (Either Text BuildPlan)
 prepare =
   findProjectRoot "." >>= \case
-    Nothing -> pure (Left "no cabal.project or .cabal file above this directory")
+    Nothing ->
+      pure (Left "no cabal.project or .cabal file above this directory")
     Just root ->
       componentsOfTarget root Everything >>= \case
         Left problem -> pure (Left (describeTargetProblem problem))
@@ -84,10 +86,12 @@
       . filter (not . (`Set.member` unread) . ppName . fst)
       =<< plannedTarballs noCache "." plan
   unless (null absent) $ do
-    putStrLn ("fetching the source of " <> show (length absent) <> " package(s)")
+    putStrLn
+      ("fetching the source of " <> show (length absent) <> " package(s)")
     refused <- filterM (fmap isNothing . fetch . fst) absent
     unless (null refused) $
-      putStrLn ("no source on Hackage for " <> unwords (fmap (named . fst) refused))
+      putStrLn
+        ("no source on Hackage for " <> unwords (fmap (named . fst) refused))
   where
     fetch p = readProgramOutput "cabal" ["fetch", "--no-dependencies", named p]
     named p = T.unpack (ppName p <> "-" <> ppVersion p)
@@ -102,17 +106,29 @@
 shippedIn installed = case compilerDir of
   Nothing -> Set.empty
   Just dir ->
-    Set.fromList [ipName p | p <- installedPackages installed, beside p == Just dir]
+    Set.fromList
+      [ipName p | p <- installedPackages installed, beside p == Just dir]
   where
     beside p = takeDirectory <$> listToMaybe (ipImportDirs p)
     compilerDir =
       listToMaybe
-        [dir | p <- installedPackages installed, ipName p == "ghc", Just dir <- [beside p]]
+        [ dir
+        | p <- installedPackages installed,
+          ipName p == "ghc",
+          Just dir <- [beside p]
+        ]
 
--- | Packages holding no modules at all, such as the runtime system.
+-- | Packages none of whose libraries holds a module, such as the runtime
+-- system.
+--
+-- A library holding none can be one whose modules are all in another
+-- library of its package, as tar's are in tar-internal.
 modulelessIn :: Installed -> Set Text
 modulelessIn installed =
-  Set.fromList [ipName p | p <- installedPackages installed, null (ipModules p)]
+  Set.difference (named (const True)) (named (not . null . ipModules))
+  where
+    named wanted =
+      Set.fromList [ipName p | p <- installedPackages installed, wanted p]
 
 -- | A package this project is built against, as the compiler holds it.
 data Dependency = Dependency
@@ -124,7 +140,7 @@
   }
 
 -- | The modules of every package in the plan that the compiler can also
--- see, keeping the ones the predicate wants.
+-- see at the version the plan has, keeping the ones the predicate wants.
 dependenciesOf :: (Text -> Bool) -> BuildPlan -> Installed -> IO [Dependency]
 dependenciesOf wanted plan installed =
   filter (not . null . depModules) <$> traverse ofPackage candidates
@@ -132,7 +148,7 @@
     candidates =
       [ (package, dir)
       | package <- installedPackages installed,
-        Set.member (ipName package) planned,
+        Set.member (ipName package, ipVersion package) planned,
         dir <- take 1 (ipImportDirs package)
       ]
     ofPackage (package, dir) =
@@ -143,7 +159,9 @@
           | m <- ipModules package,
             wanted m
           ]
-    planned = Set.fromList [ppName p | p <- bpPackages plan, not (isLocal p)]
+    planned =
+      Set.fromList
+        [(ppName p, ppVersion p) | p <- bpPackages plan, not (isLocal p)]
     isLocal p = case ppSource p of
       LocalPackage _ -> True
       _ -> False
diff --git a/tilia.cabal b/tilia.cabal
--- a/tilia.cabal
+++ b/tilia.cabal
@@ -1,6 +1,6 @@
 cabal-version: 2.4
 name: tilia
-version: 0.1.4.0
+version: 0.2.0.0
 license: BSD-3-Clause
 license-file: LICENSE.md
 author: Mark Karpov <markkarpov92@gmail.com>
@@ -18,12 +18,16 @@
 build-type: Simple
 extra-source-files:
   bench/bench.record
+  corpora/column-limit/*.hs
   corpora/hackage/hackage.manifest
+  corpora/hackage/hackage.manifest'
   corpora/hackage/hackage.report
+  corpora/hackage/hackage.report'
   corpora/vendored/**/*.hs
   corpora/vendored/**/*.hsig
 
 extra-doc-files:
+  AGENTS.md
   CHANGELOG.md
   HACKING.md
   README.md
@@ -69,13 +73,13 @@
     Tilia.Comments.Place
     Tilia.Cpp
     Tilia.Cpp.Directives
+    Tilia.Cpp.Expansion
     Tilia.Cpp.Fragment
     Tilia.Cpp.Macros
     Tilia.Cpp.Merge
     Tilia.Cpp.Place
     Tilia.Diff
     Tilia.Doc
-    Tilia.Doc.Body
     Tilia.Doc.Combinators
     Tilia.Doc.Internal
     Tilia.Editor
@@ -96,6 +100,7 @@
     Tilia.Gathered
     Tilia.Ignore
     Tilia.Imports
+    Tilia.MagicComments
     Tilia.Memo
     Tilia.Newline
     Tilia.Palette
@@ -104,6 +109,7 @@
     Tilia.Pragma.Ghc
     Tilia.Process
     Tilia.Render
+    Tilia.Render.Block
     Tilia.Render.Class
     Tilia.Render.Context
     Tilia.Render.Data
@@ -111,7 +117,6 @@
     Tilia.Render.Expression
     Tilia.Render.Haddock
     Tilia.Render.Header
-    Tilia.Render.Layout
     Tilia.Render.Literal
     Tilia.Render.Name
     Tilia.Render.Operator
@@ -120,6 +125,7 @@
     Tilia.Render.Signature
     Tilia.Render.Type
     Tilia.Run
+    Tilia.Settings
     Tilia.Source
     Tilia.Source.Lines
     Tilia.Span
@@ -139,12 +145,14 @@
     deepseq >=1.4 && <1.6,
     directory ^>=1.3,
     filepath >=1.4 && <1.6,
+    hashable >=1.4 && <1.6,
     process >=1.6 && <1.7,
     syb >=0.7 && <0.8,
     tar >=0.6 && <0.8,
     text >=2.1 && <3,
     time >=1.9 && <1.16,
     transformers >=0.5 && <0.7,
+    unordered-containers >=0.2.19 && <0.3,
     zlib >=0.6 && <0.8,
 
 executable tilia
@@ -164,11 +172,12 @@
   -- Twelve capabilities rather than -N, because formatting a project stops
   -- getting faster well before a machine runs out of cores and every
   -- capability past that point costs about 35 MiB and 0.2s of CPU while
-  -- formatting nothing. Over this project's 109 files: 2.42s at -N1, 690ms
-  -- at -N8, 560ms at -N12, 590ms at -N16, and 600ms at -N24. Asking for -N
-  -- here instead is the same wall time as -N12 give or take noise, for 50%
-  -- more CPU and 1100 MiB against 680 MiB. Twelve is no worse on a smaller
-  -- machine either: pinned to four cores it is 4% faster than -N4.
+  -- formatting nothing. Over this project, when it had 109 files: 2.42s at
+  -- -N1, 690ms at -N8, 560ms at -N12, 590ms at -N16, and 600ms at -N24.
+  -- Asking for -N here instead is the same wall time as -N12 give or take
+  -- noise, for 50% more CPU and 1100 MiB against 680 MiB. Twelve is no
+  -- worse on a smaller machine either: pinned to four cores it is 4% faster
+  -- than -N4.
   --
   -- The nursery is the flag that pays for itself. At the default size the
   -- same run takes 810ms rather than 560ms, which is what the extra 270 MiB
@@ -191,7 +200,9 @@
     Tilia.Cabal.PackageSpec
     Tilia.Cabal.ProjectSpec
     Tilia.Cabal.TargetSpec
+    Tilia.ColumnLimitSpec
     Tilia.Comments.PlaceSpec
+    Tilia.Comments.PropertiesSpec
     Tilia.CommentsSpec
     Tilia.Corpus
     Tilia.Corpus.Manifest
@@ -200,7 +211,6 @@
     Tilia.Cpp.PropertiesSpec
     Tilia.CppSpec
     Tilia.DiffSpec
-    Tilia.Doc.BodySpec
     Tilia.Doc.CombinatorsSpec
     Tilia.Doc.InternalSpec
     Tilia.Doc.PropertiesSpec
@@ -223,6 +233,7 @@
     Tilia.Render.OperatorSpec
     Tilia.RenderSpec
     Tilia.RunSpec
+    Tilia.SettingsSpec
     Tilia.SpanSpec
     Tilia.TestConfig
     Tilia.TestUtils
@@ -242,6 +253,7 @@
     hspec >=2 && <3,
     http-client >=0.7 && <0.8,
     req >=3.13 && <4,
+    syb >=0.7 && <0.8,
     tar >=0.6 && <0.8,
     temporary ^>=1.3,
     text >=2.1 && <3,
@@ -283,6 +295,7 @@
     deepseq >=1.4 && <1.6,
     directory ^>=1.3,
     filepath >=1.4 && <1.6,
+    hspec >=2 && <3,
     http-client >=0.7 && <0.8,
     optparse-applicative >=0.14 && <0.20,
     process >=1.6.12 && <1.7,
