[Agda] Priority of infix and prefix constructors

Andreas Abel andreas.abel at ifi.lmu.de
Mon Mar 28 23:30:45 CEST 2016


Use fixity declarations, like

   infix preop_ 5
   infix _inop_ 10

On 25.03.2016 10:53,   wrote:
> Hi
> I want some infix constructor has a bigger priority than some prefix
> one. How can I do it?
>
> For example, I want
> \lambda x x # y
> instead of
> \lambda x (x # y)
>
> (I know that I can't use \lambda, but for example)
>
>
> _______________________________________________
> Agda mailing list
> Agda at lists.chalmers.se
> https://lists.chalmers.se/mailman/listinfo/agda
>


-- 
Andreas Abel  <><      Du bist der geliebte Mensch.

Department of Computer Science and Engineering
Chalmers and Gothenburg University, Sweden

andreas.abel at gu.se
http://www2.tcs.ifi.lmu.de/~abel/


More information about the Agda mailing list