packages feed

rzk-0.8.0: test/typecheck/cases/ill-rec-or-overlap-incoherent.rzk

#lang rzk-1

-- Overlapping branch guards: `checkCoherence` runs under `t ≡ 0₂ ∧ t ≡ 0₂` and
-- requires the two branch payloads to unify (`checkCoherence` on overlapping guards).

#define u : U := Unit -> Unit

#define overlapIncoherent (t : 2 | t === 0_2) : U
  := recOR( t === 0_2 |-> Unit, t === 0_2 |-> u )