Idris2/tests/idris2/operators/operators001/Test.idr

7 lines
95 B
Idris
Raw Normal View History

2023-10-18 14:06:36 +03:00
autobind infixr 0 =@
2023-10-18 15:04:42 +03:00
0 (=@) : (a : Type) -> (a -> Type) -> Type
2023-10-18 14:06:36 +03:00
(=@) a f = (1 x : a) -> f x