@@ -1346,7 +1346,7 @@ modDocName = sMN 0 "ModuleDocs"
1347-- Defined in builtins.idr
1347-- Defined in builtins.idr
1348sigmaTy = sNS (sUN "Sigma") ["Builtins"]
1348sigmaTy = sNS (sUN "Sigma") ["Builtins"]
1349−existsCon = sNS (sUN "MkSigma") ["Builtins"]
1349+sigmaCon = sNS (sUN "MkSigma") ["Builtins"]
1351piBind :: [(Name, PTerm)] -> PTerm -> PTerm
1351piBind :: [(Name, PTerm)] -> PTerm -> PTerm
1352piBind = piBindp expl
1352piBind = piBindp expl
@@ -1597,10 +1597,10 @@ pprintPTerm ppo bnd docArgs infixes = prettySe startPrec bnd
1597 annotated rparen
1597 annotated rparen
1598 where annotated = case pun of
1598 where annotated = case pun of
1599 IsType -> annName sigmaTy
1599 IsType -> annName sigmaTy
1600− IsTerm -> annName existsCon
1600+ IsTerm -> annName sigmaCon
1601 TypeOrTerm -> id
1601 TypeOrTerm -> id
1602 (left, addBinding) = case (l, pun) of
1602 (left, addBinding) = case (l, pun) of
1603− (PRef _ n, IsType) -> (bindingOf n False, ((n, False) :))
1603+ (PRef _ n, IsType) -> (bindingOf n False <+> text ":" <+> prettySe startPrec bnd t, ((n, False) :))
1604 _ -> (prettySe startPrec bnd l, id )
1604 _ -> (prettySe startPrec bnd l, id )
1605 prettySe p bnd (PAlternative a as) =
1605 prettySe p bnd (PAlternative a as) =
1606 lparen <> text "|" <> prettyAs <> text "|" <> rparen
1606 lparen <> text "|" <> prettyAs <> text "|" <> rparen