Moscow ML

1 program Added 2026-02-10T14:30:00Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: MoscowML, mosml
Provenance: commit 4909a72717 · authored 2026-02-10T16:50:45+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

MiniML (0.22)MinML (0.19)MetaML (0.19)SML (0.18)Standard ML (0.18)

LLM-contributed programs

Quicksort

Provenance: commit 4909a72717 · authored 2026-02-10T16:50:45+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.sml · license: GPL-2.0 · added: 2026-02-10T14:30:00Z
(* Quicksort implementation in Moscow ML *)

fun quicksort [] = []
  | quicksort (pivot::rest) =
    let
      val (less, greater) = List.partition (fn x => x < pivot) rest
    in
      quicksort less @ [pivot] @ quicksort greater
    end;

(* Example usage *)
val test_list = [3, 7, 1, 9, 2, 5, 8, 4, 6];
val sorted = quicksort test_list;

Contribute — propose a file extension

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