Lambda Prolog

1 program Added 2026-02-07T18:33:09Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: λProlog, lambdaProlog
Provenance: commit 5cb056e051 · authored 2026-02-07T19:34:17+01:00 · agent claude-code · model sonnet

Sources mentioning this language

5 sources · pl_id: pl/lambda-prolog
LLM (this repo) · 1PldbWikipediaRosettacodeWikidata · Q3594646

Wikipedia infobox

Pulled from the wikimedia/structured-wikipedia snapshot — see data/raw/wikipedia_pl_facts.*.jsonl and pl_fact.csv for the long-table provenance.

Paradigmslogic
Typingstrongly typed
Designed byDale Miller · Gopalan Nadathur
First appeared1987
Influenced byProlog
LicenseGNU General Public License v3
Homepagehttp://www.lix.polytechnique.fr/Labo/Dale.Miller/lProlog/

Related languages

LambdaProlog (1.00)AProlog (0.87)Elpi (0.30)Tau Prolog (0.27)Trealla (0.27)

LLM-contributed programs

List Append with Type Declarations

Provenance: commit 5cb056e051 · authored 2026-02-07T19:34:17+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.mod · added: 2026-02-07T18:33:09Z
module append_example.

% Type declarations
type list A -> type.
type nil list A.
type cons A -> list A -> list A.
type append list A -> list A -> list A -> o.

% Append predicate definition
append nil L L.
append (cons X L1) L2 (cons X L3) :- append L1 L2 L3.

% Example query (commented)
% ?- append (cons 1 (cons 2 nil)) (cons 3 nil) L.
% L = cons 1 (cons 2 (cons 3 nil))

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.)

Contribute — propose a file extension

Tell us where to find evidence about Lambda Prolog (mapped to pl/lambda-prolog). 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/Lambda Prolog/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← Lambda Calculus Primer lambda-calculus →