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

Related languages

Miller (0.33)Milawa (0.23)Wvlet (0.23)Hamlet (0.21)Pikelet (0.21)

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
code.sml · added: 2026-02-16T10:30:00Z
(* 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

Contribute — propose a file extension

Tell us where to find evidence about Millet (mapped to pl/millet). 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/Millet/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← Miller mime →