Shill
1 program
Added 2026-03-17T10:00:00Z
Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled
Evidence
Report issue
View issues
Aliases: —
Provenance: commit 0e51c9866b · authored 2026-03-17T03:33:18+01:00 · agent claude-code · model claude-sonnet-4-6
Sources mentioning this language
2 sources · pl_id:
pl/shillRelated languages
LLM-contributed programs
Count Lines in Directory Files
Provenance: commit 0e51c9866b · authored 2026-03-17T03:33:18+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
#! /usr/bin/env shill
;; count-lines: a Shill script demonstrating capability contracts
;; Counts lines in each file found in a directory.
(script count-lines (dir :: Dir/r)
(let ([files (ls dir)])
(for ([f files])
(when (file? f)
(let ([lines (length (string-split (read-file f) "\n"))])
(display (string-append (path->string f) ": "))
(display lines)
(newline))))))
;; Run with current directory
(count-lines (make-dir "."))
Real programs from Software Heritage
No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)