Twelf

1 program Added 2025-11-07T10:39:04Z Model: x-ai/grok-4-fastTemp: 0.4 Evidence Report issue View issues
Aliases: —
Provenance: commit 9e77ac46f7 · authored 2025-11-07T11:39:04+01:00 · model x-ai/grok-4-fast

Sources mentioning this language

5 sources · pl_id: pl/twelf
LLM (this repo) · 1PldbWikipediaRosettacodeWikidata · Q7666857

Related languages

Self (0.30)Elf (0.27)Twee (0.19)Twig (0.18)Twine (0.17)

LLM-contributed programs

Append relation definition

Provenance: commit 9e77ac46f7 · authored 2025-11-07T11:39:04+01:00 · model x-ai/grok-4-fast · Temp 0.4
code.elf · added: 2025-11-07T10:39:04Z
dcon append : term -> term -> term -> type.

%mode append +D +D -D.

append nil Y Y.

append (cons X N) (cons X M) : append N M M.

%worlds (term term term) (append).

%total D (append).

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 Twelf (mapped to pl/twelf). 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/Twelf/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← Tweet TWFUNSETDCMFIU →