Makam

1 program Added 2026-02-13T09:26:09.512827Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: —
Provenance: commit 20302da58a · authored 2026-02-13T10:26:30+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

Make (0.30)CJam (0.18)Mare (0.18)Maru (0.18)Mary (0.18)

LLM-contributed programs

List Operations

Provenance: commit 20302da58a · authored 2026-02-13T10:26:30+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.makam · license: GPL-3.0 · added: 2026-02-13T09:26:05.010458Z
(* Simple list operations in Makam *)

append : list A -> list A -> list A -> prop.
append [] L L.
append (HD :: TL) L (HD :: Result) :- append TL L Result.

reverse : list A -> list A -> prop.
reverse [] [].
reverse (HD :: TL) Result :-
  reverse TL TLReversed,
  append TLReversed [HD] Result.

length : list A -> int -> prop.
length [] 0.
length (HD :: TL) N :-
  length TL N',
  plus N' 1 N.

Contribute — propose a file extension

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