snap@1.4.0.0 relies on unsafe/foreign
0x8e26a6f8c31689519e618374376ee3dd
snap: run programs from Bend 2 with argv as a list of strings, no shell.
snap@1.4.0.0 by noah-emp; snap@1.5.0.0 by noah-emp
Other versions (5)
- snap@1.6.0.0 2026-11-16 latest
- snap@1.3.0.0 2026-10-23
- snap@1.2.0.0 2026-09-30
- snap@1.1.0.0 2026-09-25
- 0x103d0af0 2026-09-25
- Published
- 2026-10-25
- Size
- 36,273 bytes, 13 files
- License
- MIT (LICENSE)
- Declarations
- 0 laws (0 proved), 49 defs, 1 types
Import
import snap@1.4.0.0/main.bend as Main import snap@1.5.0.0/main.bend as Main import 0x8e26a6f8c31689519e618374376ee3dd/main.bend as Main import snap@1.4.0.0/src/answer.bend as Answer import snap@1.5.0.0/src/answer.bend as Answer import 0x8e26a6f8c31689519e618374376ee3dd/src/answer.bend as Answer import snap@1.4.0.0/src/argv.bend as Argv import snap@1.5.0.0/src/argv.bend as Argv import 0x8e26a6f8c31689519e618374376ee3dd/src/argv.bend as Argv import snap@1.4.0.0/src/effect.bend as Effect import snap@1.5.0.0/src/effect.bend as Effect import 0x8e26a6f8c31689519e618374376ee3dd/src/effect.bend as Effect import snap@1.4.0.0/src/file.bend as MFile import snap@1.5.0.0/src/file.bend as MFile import 0x8e26a6f8c31689519e618374376ee3dd/src/file.bend as MFile import snap@1.4.0.0/src/par.bend as Par import snap@1.5.0.0/src/par.bend as Par import 0x8e26a6f8c31689519e618374376ee3dd/src/par.bend as Par
Modules
- main.bend 9 declarations — snap: run programs from Bend 2 with argv as a list of strings, no shell.
- src/answer.bend 5 declarations — src/answer: reading an answer, which is the exit status on its own first
- src/argv.bend 13 declarations — src/argv: what `run`, `exec` and `start` do with an argv. `run.plan` decides
- src/effect.bend 3 declarations — src/effect: the three foreign effects snap runs programs through. Each is
- src/file.bend 13 declarations — src/file: a file's text, read whole, or None when it cannot be opened.
- src/par.bend 9 declarations — src/par: what `par` sends its effect and how it reads the answers back.
Other files
- LICENSE 1,074 bytes
- src/exec.c 2,346 bytes
- src/exec.js 1,488 bytes
- src/par.c 9,679 bytes
- src/par.js 2,482 bytes
- src/start.c 2,899 bytes
- src/start.js 621 bytes
Dependencies
No imports from other hub packages.
Dependents
- ezx@1.17.0.0 via
src/add/run.bend: import snap@1.4.0.0/main.bend as R - ezx@1.16.0.0 via
src/add/run.bend: import snap@1.4.0.0/main.bend as R - ezx@1.15.0.0 via
src/add/run.bend: import snap@1.4.0.0/main.bend as R - ezx@1.14.0.0 via
src/add/run.bend: import 0x8e26a6f8c31689519e618374376ee3dd/main.bend as R - ezx@1.11.0.0 via
src/add/run.bend: import 0x8e26a6f8c31689519e618374376ee3dd/main.bend as R
Status on bend 2.0.40
| File | Status | Checker says | Time |
|---|---|---|---|
| main.bend | relies on unsafe/foreign | 7 defs rely on unsafe or foreign codeoutputSOME PROOFS FAIL Error: 7 defs rely on unsafe or foreign code: defs that depend on foreign effects: 0x8e26a6f8c31689519e618374376ee3dd/src/effect.snaprun.exec, 0x8e26a6f8c31689519e618374376ee3dd/src/effect.snaprun.start, 0x8e26a6f8c31689519e618374376ee3dd/src/effect.snaprun.par, run, exec, start, par | 0.6 s |
| src/answer.bend | checks | ALL PROOFS CHECK | 0.5 s |
| src/argv.bend | checks | ALL PROOFS CHECK | 0.5 s |
| src/effect.bend | relies on unsafe/foreign | 3 defs rely on unsafe or foreign codeoutputSOME PROOFS FAIL Error: 3 defs rely on unsafe or foreign code: defs that depend on foreign effects: snaprun.exec, snaprun.start, snaprun.par | 0.5 s |
| src/file.bend | checks | ALL PROOFS CHECK | 0.5 s |
| src/par.bend | checks | ALL PROOFS CHECK | 0.6 s |