effect
A functional effect system for PHP inspired by Cats Effect
What XERJ indexed
Snapshot
Only docs, src/Concurrent, src/Functions, src/IO, src/Ops/IO, tests/Unit/Concurrent, tests/Unit/Functions, tests/Unit/IO at commit eb338925fc (2026-10-15). main is 2 commits ahead.
Selected work

“Add Resource, bracketCase, bracketE, sequence, traverse, productR, de…”. 14 files, 885 lines in tests, src/IO, src/Ops.
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-17. 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
Example questions
- What does src/IO do in effect?
Inside the indexed corpus
- 76 files, 198.3 KB in total, about 2.6 KB per file.
- The selected commit changed 14 of those files (18.4%).
- Languages by size: PHP 97.7%, Shell 2.3%.
- On GitHub since 2025-05-27, last push 2026-10-15, 89 commits on main.
- The pin is 2 commits behind main; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported MIT for phunkie/effect on 2026-10-31, and the LICENSE file at commit eb338925fc was reviewed as MIT. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
Marcello Duarte (@MarcelloDuarte) has 1 selected repository on the hub.
Using XERJ with effect
- Audit a PHP codebase with an index, not grep PHP is 97.7% of the code by size.
- Search an OpenAPI spec so an agent can find endpoints The hub files it under API design and specification.
- ripgrep vs a code index for coding agents: 30 tasks
- Best MCP servers for local code search in 2026, compared
The prompt
Paste it into your AI agent. It clones phunkie/effect at the pinned commit and indexes it on your machine.
Search the GitHub repository phunkie/effect with XERJ (https://hub.xerj.org/corpus/phunkie--effect). 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/phunkie/effect effect && git -C effect checkout eb338925fcb60e170a74fa783931fdc2808ea8ea 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./effect --url http://127.0.0.1:9200 --prefix effect --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
Marcello DuarteAPI design and specification corpora
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.