packages feed

rzk-0.11.0: test/typecheck/cases/ill-match-branch-arity.rzk

#lang rzk-1

#data nat := zero | suc (n : nat)

-- the suc branch must also bind the induction hypothesis
#define bad (n : nat) : nat
  := match n (zero ⇒ n | suc k ⇒ k)