cKanren

1 program Added 2026-03-05T08:52:47Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled Evidence Report issue View issues
Aliases: ckanren, constraint Kanren
Provenance: commit bbc5eedea9 · authored 2026-03-05T09:53:13+01:00 · agent claude-code · model claude-sonnet-4-6

Sources mentioning this language

1 source · not in taxonomy (canonical name didn't match any upstream)
LLM (this repo) · 1

Related languages

Kanren (0.34)CHR (0.26)Constraint Handling Rules (0.26)CHIP (0.23)OCL (0.23)

LLM-contributed programs

Disequality Constraint Example

Provenance: commit bbc5eedea9 · authored 2026-03-05T09:53:13+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
code.rkt · license: MIT · added: 2026-03-05T08:52:47Z
#lang racket
(require cKanren)

;; Find all pairs (x y) from {1 2 3} where x != y
;; demonstrating cKanren's disequality constraint =/=

(define pairs
  (run* (q)
    (fresh (x y)
      (membero x '(1 2 3))
      (membero y '(1 2 3))
      (=/= x y)
      (== q `(,x ,y)))))

(for-each displayln pairs)

Contribute — propose a file extension

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