• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

sovrin / unitas
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: sovrin/offset-errors
DEFAULT BRANCH: master
Repo Added 22 Mar 2026 10:54AM UTC
Files 131
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH sovrin/readme-npm-layout
branch: sovrin/readme-npm-layout
CHANGE BRANCH
x
Reset
  • sovrin/readme-npm-layout
  • master
  • refs/tags/v0.1.0
  • refs/tags/v0.1.1
  • refs/tags/v0.2.0
  • refs/tags/v0.2.1
  • refs/tags/v0.2.2
  • refs/tags/v0.2.3
  • refs/tags/v0.2.4
  • refs/tags/v0.2.5
  • sovrin/offset-errors

06 Sep 2026 10:47AM UTC coverage: 100.0%. Remained the same
34028735585

Pull #1

github

sovrin
refactor(combinators): drop attempt, document that backtracking is free

attempt claimed to "wrap a parser to handle backtracking on failure",
but it cannot: a Failure is { ok: false; error?: string }, with no field
to record a position, and combinators hand every alternative the same
input string they started with. sequence discards its local remaining
and returns a bare failure(). Since create is itself the identity
function, attempt(p) was one extra closure around p and nothing else.

It was not accidentally a no-op — it is un-implementable in this design
without changing the Failure type. Its own test, "should backtrack on
failure", only asserted that a failing parser fails, which holds for any
parser at all.

Keeping it as a documented no-op would be the worse option: someone
arriving from Parsec writes attempt(p) expecting it to change behaviour
and silently gets nothing. Remove it and explain the actual guarantee in
the README's core concepts, which is where they will look for try.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Pull Request #1: Split API reference out of README, fix npm listing, drop two no-op exports

202 of 202 branches covered (100.0%)

Branch coverage included in aggregate %.

7 of 7 new or added lines in 7 files covered. (100.0%)

636 of 636 relevant lines covered (100.0%)

32.67 hits per line

Relevant lines Covered
Build:
Build:
636 RELEVANT LINES 636 COVERED LINES
32.67 HITS PER LINE
Source Files on sovrin/readme-npm-layout
  • Tree
  • List 126
  • Changed 7
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
34028735585 sovrin/readme-npm-layout refactor(combinators): drop attempt, document that backtracking is free attempt claimed to "wrap a parser to handle backtracking on failure", but it cannot: a Failure is { ok: false; error?: string }, with no field to record a position, and combi... Pull #1 06 Sep 2026 10:55AM UTC sovrin github
100.0
See All Builds (58)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc