packages feed

Agda-2.3.2.2: test/fail/PatternShadowsConstructor.agda

module PatternShadowsConstructor where

module A where

  data B : Set where
    x : B

  data C : Set where
    c : B → C

open A using (C; c)

f : C → C
f (c x) = x