Kind

1 program Added 2026-02-08T16:38:43Z Agent: claude-codeModel: opusWebSearch: disabled Evidence Report issue View issues
Aliases: Kind2
Provenance: commit 6fb1c6b239 · authored 2026-02-08T17:39:26+01:00 · agent claude-code · model opus

Sources mentioning this language

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

Related languages

Kind2 (0.67)Kinx (0.25)Kite (0.15)KickC (0.14)Kipper (0.13)

LLM-contributed programs

Fibonacci with Natural Numbers

Provenance: commit 6fb1c6b239 · authored 2026-02-08T17:39:26+01:00 · agent claude-code · model opus · WebSearch disabled
code.kind2 · license: MIT · added: 2026-02-08T16:38:43Z
// Natural numbers
Nat : * =
  | zero
  | succ (pred: Nat)

// Addition of natural numbers
add (a: Nat) (b: Nat) : Nat =
  match a {
    zero => b
    succ => succ (add a.pred b)
  }

// Multiplication of natural numbers
mul (a: Nat) (b: Nat) : Nat =
  match a {
    zero => zero
    succ => add b (mul a.pred b)
  }

// Fibonacci
fib (n: Nat) : Nat =
  match n {
    zero => zero
    succ => match n.pred {
      zero => succ zero
      succ => add (fib n.pred) (fib n.pred.pred)
    }
  }

// Main: compute fib(5)
Main : Nat =
  fib (succ (succ (succ (succ (succ zero)))))

Contribute — propose a file extension

Tell us where to find evidence about Kind (mapped to pl/kind). 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/Kind/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← KimL Kind n' Single →