Idris2/tests/idris2/operators/operators002/Errors3.idr
2024-02-24 12:28:10 +00:00

9 lines
142 B
Idris

typebind infixr 0 =@
0 (=@) : (a : Type) -> (a -> Type) -> Type
(=@) a f = (1 x : a) -> f x
wrongId : {0 a : Type} -> a =@ a
wrongId x = x