Galileo
1 program
Added 2026-03-11T10:00:00Z
Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled
Evidence
Report issue
View issues
Aliases: —
Provenance: commit ef3f61941a · authored 2026-03-11T21:52:53+01:00 · agent claude-code · model claude-sonnet-4-6
Sources mentioning this language
2 sources · pl_id:
pl/galileoRelated languages
LLM-contributed programs
Geometric Distance
Provenance: commit ef3f61941a · authored 2026-03-11T21:52:53+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
(* Galileo program: basic geometric operations *)
is type Point = {x: real, y: real};
is fun square : real -> real =
fun n => n * n;
is fun distance : Point -> Point -> real =
fun p q =>
let dx = p.x - q.x in
let dy = p.y - q.y in
sqrt (square dx + square dy);
is val origin : Point = {x = 0.0, y = 0.0};
is val p : Point = {x = 3.0, y = 4.0};
is val result : real = distance origin p;
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.)