fix args #16
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
navicore/seqlings!16
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "args"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
All four drivers verified. Outputs match the documented expectations
exactly:
Exercise: 01 user-arg-count
Output matches docs: 0 / 1 / 3 ✓
────────────────────────────────────────
Exercise: 02 arg-empty?
Output matches docs: missing/empty / present / missing-or-empty ✓
────────────────────────────────────────
Exercise: 03 arg-or
Output matches docs: (default) / arg / explicit-empty ✓ (verified earlier)
────────────────────────────────────────
Exercise: 04 summary
Output matches docs: three branches ✓ (verified earlier)
What changed in this pass:
line section with:
the student's own work-in-progress is what runs)
The auto-tests still gate completion in seqlings watch (so the chapter
doesn't lose its automated coverage), and the prose makes the multi-arg
branches reachable for the student. I did NOT swap any exercise to mode =
"compile" — kept all four as mode = "test" since the existing assertions
still pull real weight.
One note: the include mechanism only works when the build is run from the
project root (the path exercises/21-args/... is relative to cwd). The prose
says "in the project root" but doesn't make a big deal of it — open to
making that more explicit if you'd rather.
All four drivers verified. Outputs match the documented expectations exactly: Exercise: 01 user-arg-count Output matches docs: 0 / 1 / 3 ✓ ──────────────────────────────────────── Exercise: 02 arg-empty? Output matches docs: missing/empty / present / missing-or-empty ✓ ──────────────────────────────────────── Exercise: 03 arg-or Output matches docs: (default) / arg / explicit-empty ✓ (verified earlier) ──────────────────────────────────────── Exercise: 04 summary Output matches docs: three branches ✓ (verified earlier) What changed in this pass: - Each chapter-21 exercise header gained a ## To see it on a real command line section with: - A copy-pasteable try-*.seq driver that includes the exercise file (so the student's own work-in-progress is what runs) - The seqc build invocation - Three or four sample invocations with expected outputs The auto-tests still gate completion in seqlings watch (so the chapter doesn't lose its automated coverage), and the prose makes the multi-arg branches reachable for the student. I did NOT swap any exercise to mode = "compile" — kept all four as mode = "test" since the existing assertions still pull real weight. One note: the include mechanism only works when the build is run from the project root (the path exercises/21-args/... is relative to cwd). The prose says "in the project root" but doesn't make a big deal of it — open to making that more explicit if you'd rather.