Toccata
1 program
Added 2026-03-16T23:06:02Z
Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled
Evidence
Report issue
View issues
Aliases: —
Provenance: commit a41dd3b3e9 · authored 2026-03-17T00:06:41+01:00 · agent claude-code · model claude-sonnet-4-6
Sources mentioning this language
1 source · not in taxonomy (canonical name didn't match any upstream)
Related languages
LLM-contributed programs
List map and flat-map operations
Provenance: commit a41dd3b3e9 · authored 2026-03-17T00:06:41+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
(main [_]
(println (map (list 15 99 24)
(fn [x]
(list (inc x)))))
(println "flat-map list" (flat-map (list 15 99 24)
(fn [x]
(list (inc x)))))
(println "flat-map empty list" (flat-map (list)
(fn [x]
(list (inc x)))))
(println "flat-map empty lists" (flat-map (list 1 2 3)
(fn [x]
(list))))
(println "for" (for [x (list 15 99 24)]
(inc x))))