Qyri
1 program
Added 2026-03-13T10:00:00Z
Agent: claude-codeModel: claude-sonnet-4-6WebSearch: enabled
Evidence
Report issue
View issues
Aliases: —
Provenance: commit d3332551a4 · authored 2026-03-13T01:18:50+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 d3332551a4 · authored 2026-03-13T01:18:50+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch enabled
// fizzbuzz.qi
using std.io.print;
using mod, PI from math;
fn fizzbuzz = (n: int) $ str {
if n `mod` 15 == 0 {
return "FizzBuzz";
} else if n `mod` 3 == 0 {
return "Fizz";
} else if n `mod` 5 == 0 {
return "Buzz";
} else {
return n;
}
}
fn main = () {
for (var i = 0; i < 128; i++) {
print(fizzbuzz(i));
}
except fizzbuzz(PI) {
print("Pi is a constant of type float and will raise an exception.");
}
}