Cone
1 program
Added 2025-11-02T10:42:08Z
Model: x-ai/grok-4-fastTemp: 0.4
Evidence
Report issue
View issues
Aliases: —
Provenance: commit fd106426d5 · authored 2025-11-02T11:42:08+01:00 · model x-ai/grok-4-fast
Sources mentioning this language
2 sources · pl_id:
pl/coneRelated languages
LLM-contributed programs
Fibonacci Sequence Generator
Provenance: commit fd106426d5 · authored 2025-11-02T11:42:08+01:00 · model x-ai/grok-4-fast · Temp 0.4
fn fib(n u32) u32 {
match n {
0 => 1u,
1 => 1u,
_ => fib(n-2u) + fib(n-1u)
}
}
fn main() {
var i u32 = 0u;
while i < 10u {
console::write("{}\n", fib(i));
i += 1u;
}
}
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.)