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)
LLM (this repo) · 1

Related languages

Mata (0.25)Toka (0.25)Theta (0.23)Catala (0.21)JSONata (0.20)

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
code.toc · license: MPL-2.0 · added: 2026-03-16T23:06:02Z
(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))))

Contribute — propose a file extension

Tell us where to find evidence about Toccata (mapped to pl/toccata). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/Toccata/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← TobiLang Tock →