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)
Related languages
LLM-contributed programs
List Operations
Provenance: commit 20302da58a · authored 2026-02-13T10:26:30+01:00 · agent claude-code · model sonnet · WebSearch disabled
(* 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.