Millet
1 program
Added 2026-02-16T10:30:00Z
Agent: claude-codeModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: —
Provenance: commit 2bdbb701fb · authored 2026-02-16T15:45:20+01:00 · agent claude-code · model sonnet
Sources mentioning this language
1 source · not in taxonomy (canonical name didn't match any upstream)
Related languages
LLM-contributed programs
Factorial and List Operations
Provenance: commit 2bdbb701fb · authored 2026-02-16T15:45:20+01:00 · agent claude-code · model sonnet · WebSearch disabled
(* Factorial function using pattern matching *)
fun factorial 0 = 1
| factorial n = n * factorial (n - 1)
(* List operations *)
fun length [] = 0
| length (_::xs) = 1 + length xs
fun map f [] = []
| map f (x::xs) = f x :: map f xs
(* Main computation *)
val result = factorial 5
val nums = [1, 2, 3, 4, 5]
val doubled = map (fn x => x * 2) nums