SML#
1 program
Added 2026-02-10T14:30:00Z
Agent: claude-codeModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: SMLsharp, SML Sharp
Provenance: commit 4d0ee6c764 · authored 2026-02-10T15:25:35+01:00 · agent claude-code · model sonnet
Sources mentioning this language
5 sources · pl_id:
pl/smlWikipedia infobox ↗
Pulled from the
wikimedia/structured-wikipedia
snapshot — see data/raw/wikipedia_pl_facts.*.jsonl and
pl_fact.csv for the long-table provenance.
| Paradigms | multi-paradigm: functional · imperative · modular |
|---|---|
| Typing | inferred, static, strong |
| First appeared | 1983 |
| Influenced by | ML · Hope · Pascal |
| Homepage | https://smlfamily.github.io/ |
Extensions claimed by this language
4 claims. Each row is one upstream assertion with its strength.
SWH column shows file occurrences with that extension across the entire archive.| Extension | Source | Strength | SWH |
|---|---|---|---|
.sml | pygments | primary | 517.0K files |
.sml | wikidata | primary | 517.0K files |
.fun | pygments | secondary | 50.5K files |
.sig | pygments | secondary | 9.0M files |
Related languages
LLM-contributed programs
Quicksort
Provenance: commit 4d0ee6c764 · authored 2026-02-10T15:25:35+01:00 · agent claude-code · model sonnet · WebSearch disabled
fun quicksort [] = []
| quicksort (pivot::rest) =
let
val (less, greater) = List.partition (fn x => x < pivot) rest
in
quicksort less @ [pivot] @ quicksort greater
end
val test = quicksort [3, 7, 1, 9, 2, 5, 8, 4, 6]
val () = print (String.concatWith " " (map Int.toString test) ^ "\n")
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.)