Lavender
1 program
Added 2026-02-28T14:31:09Z
Agent: claude-codeModel: claude-sonnet-4-6WebSearch: enabled
Evidence
Report issue
View issues
Aliases: —
Provenance: commit 655a8ab8dc · authored 2026-02-28T15:31:35+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
FizzBuzz
Provenance: commit 655a8ab8dc · authored 2026-02-28T15:31:35+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch enabled
' A FizzBuzz program. For each number in 1..N, it prints
' "FizzBuzz" if it is divisible by both 3 and 5
' "Fizz" if it is divisible by 3
' "Buzz" if it is divisible by 5
' The number otherwise
@import stream using Indices, take
(def main(args)
let n(int(args(0)) else 20)
=> Indices map (def(a)
=> (a % 5 = 0) ?: ("FizzBuzz", "Fizz") ; a % 3 = 0
=> (a % 5 = 0) ?: ("Buzz", str(a)) ; otherwise
) take n reduce (def(ac, el) => ac ++ "\n" ++ el)
)