dart_either
[ ACTIVE] Type-safe, lightweight Either monad for Dart and Flutter with railway-oriented error handling, sync/async monad comprehensions, and async map/flatMap
What XERJ indexed
Snapshot
The whole repository at commit f7d9a4127a (2026-09-29). master is 2 commits ahead.
Selected work

“add selective error capture with `ErrorMappers.only<E, …”. 3 files, 250 lines in test, lib/src, example.
Licence
The repository
LICENSE file checked at the pinned commit; the author agreed to inclusion.
The XERJ corpus
The author agreed by email on 2026-10-14. Same terms as the repository. Answers name the repo, the commit and the file:line.
selected for the XERJ Corpus Hublicence clearedsuggested use: adapt with attribution
darteither-monadeitherdart-eitherfunctional-programmingfunctionaldart-functionaleither-dart
Example questions
- How does dart_either implement dart?
- What does lib/src do in dart_either?
- Show the either-monad code in dart_either.
Inside the indexed corpus
- 87 files, 440.0 KB in total, about 5.1 KB per file.
- The selected commit changed 3 of those files (3.4%).
- On GitHub since 2021-04-09, last push 2026-10-26, 262 commits on master.
- The pin is 2 commits behind master; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported MIT for hoc081098/dart_either on 2026-10-31, and the LICENSE file at commit f7d9a4127a was reviewed as MIT. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
Petrus Nguyễn Thái Học (@hoc081098) has 1 selected repository on the hub.
Using XERJ with dart_either
- Index a reference library for a coding agent
- ripgrep vs a code index for coding agents: 30 tasks
- Best MCP servers for local code search in 2026, compared
- Best grep alternative for AI coding agents (2026)
The prompt
Paste it into your AI agent. It clones hoc081098/dart_either at the pinned commit and indexes it on your machine.
Search the GitHub repository hoc081098/dart_either with XERJ (https://hub.xerj.org/corpus/hoc081098--dart-either). Run these in a shell, in order, and check each result before the next: 1. xerj --help (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh 2. git clone https://github.com/hoc081098/dart_either dart_either && git -C dart_either checkout f7d9a4127aa20575edff6138b5ac4edec558322d 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./dart_either --url http://127.0.0.1:9200 --prefix dart-either --progress plain 5. xerj autoindex map --url http://127.0.0.1:9200 Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt Licence: MIT. Keep the copyright notice and credit the authors.
Related
Petrus Nguyễn Thái HọcWeb and frontend platform corporathriftbebopturkananation/swissarmyknifescidart/scidartselfrefactor/rambda
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.