@@ -941,7 +941,8 @@ table fixes
941941 = [[prefix "-" (\fc x -> PApp fc (PRef fc (UN "-"))
942942 [pexp (PApp fc (PRef fc (UN "fromInteger")) [pexp (PConstant (I 0))]), pexp x])]]
943943 ++ toTable (reverse fixes) ++
944− [[binary "=" (\fc x y -> PEq fc x y) AssocLeft],
944+ [[backtick],
945+ [binary "=" (\fc x y -> PEq fc x y) AssocLeft],
945946 [binary "->" (\fc x y -> PPi expl (MN 42 "__pi_arg") x y) AssocRight]]
946947
947948toTable fs = map (map toBin)
@@ -954,10 +955,13 @@ toTable fs = map (map toBin)
954955 assoc (Infixr _) = AssocRight
955956 assoc (InfixN _) = AssocNone
956957
957−binary name f assoc = Infix (do { reservedOp name; fc <- pfc;
958− return (f fc) }) assoc
959−prefix name f = Prefix (do { reservedOp name; fc <- pfc;
960− return (f fc) })
958+binary name f assoc = Infix (do reservedOp name; fc <- pfc;
959+ return (f fc)) assoc
960+prefix name f = Prefix (do reservedOp name; fc <- pfc;
961+ return (f fc))
962+backtick = Infix (do lchar '`'; n <- pfName; lchar '`'
963+ fc <- pfc
964+ return (\x y -> PApp fc (PRef fc n) [pexp x, pexp y])) AssocNone
961965
962966--------- Data declarations ---------
963967