@@ -818,7 +818,6 @@ data PTerm = PQuote Raw -- ^ Inclusion of a core term into the high-level langua
818 | PIfThenElse FC PTerm PTerm PTerm -- ^ Conditional expressions - elaborated to an overloading of ifThenElse
818 | PIfThenElse FC PTerm PTerm PTerm -- ^ Conditional expressions - elaborated to an overloading of ifThenElse
819 | PCase FC PTerm [(PTerm, PTerm)] -- ^ A case expression. Args are source location, scrutinee, and a list of pattern/RHS pairs
819 | PCase FC PTerm [(PTerm, PTerm)] -- ^ A case expression. Args are source location, scrutinee, and a list of pattern/RHS pairs
820 | PTrue FC PunInfo -- ^ Unit type..?
820 | PTrue FC PunInfo -- ^ Unit type..?
821− | PRefl FC PTerm -- ^ The canonical proof of the equality type
822 | PResolveTC FC -- ^ Solve this dictionary by type class resolution
821 | PResolveTC FC -- ^ Solve this dictionary by type class resolution
823 | PEq FC PTerm PTerm PTerm PTerm -- ^ Heterogeneous equality type: A = B
822 | PEq FC PTerm PTerm PTerm PTerm -- ^ Heterogeneous equality type: A = B
824 | PRewrite FC PTerm PTerm (Maybe PTerm) -- ^ "rewrite" syntax, with optional result type
823 | PRewrite FC PTerm PTerm (Maybe PTerm) -- ^ "rewrite" syntax, with optional result type
@@ -1027,7 +1026,6 @@ highestFC (PMatchApp fc _) = Just fc
1027highestFC (PCase fc _ _) = Just fc
1026highestFC (PCase fc _ _) = Just fc
1028highestFC (PIfThenElse fc _ _ _) = Just fc
1027highestFC (PIfThenElse fc _ _ _) = Just fc
1029highestFC (PTrue fc _) = Just fc
1028highestFC (PTrue fc _) = Just fc
1030−highestFC (PRefl fc _) = Just fc
1031highestFC (PResolveTC fc) = Just fc
1029highestFC (PResolveTC fc) = Just fc
1032highestFC (PEq fc _ _ _ _) = Just fc
1030highestFC (PEq fc _ _ _ _) = Just fc
1033highestFC (PRewrite fc _ _ _) = Just fc
1031highestFC (PRewrite fc _ _ _) = Just fc
@@ -1556,7 +1554,6 @@ pprintPTerm ppo bnd docArgs infixes = prettySe startPrec bnd
1556 , kwd "else" <+> prettySe startPrec bnd f
1554 , kwd "else" <+> prettySe startPrec bnd f
1558 prettySe p bnd (PHidden tm) = text "." <> prettySe funcAppPrec bnd tm
1556 prettySe p bnd (PHidden tm) = text "." <> prettySe funcAppPrec bnd tm
1559− prettySe p bnd (PRefl _ _) = annName eqCon $ text "Refl"
1560 prettySe p bnd (PResolveTC _) = kwd "%instance"
1557 prettySe p bnd (PResolveTC _) = kwd "%instance"
1561 prettySe p bnd (PTrue _ IsType) = annName unitTy $ text "()"
1558 prettySe p bnd (PTrue _ IsType) = annName unitTy $ text "()"
1562 prettySe p bnd (PTrue _ IsTerm) = annName unitCon $ text "()"
1559 prettySe p bnd (PTrue _ IsTerm) = annName unitCon $ text "()"
@@ -1872,7 +1869,6 @@ instance Sized PTerm where
1872 size (PCase fc trm bdy) = 1 + size trm + size bdy
1869 size (PCase fc trm bdy) = 1 + size trm + size bdy
1873 size (PIfThenElse fc c t f) = 1 + sum (map size [c, t, f])
1870 size (PIfThenElse fc c t f) = 1 + sum (map size [c, t, f])
1874 size (PTrue fc _) = 1
1871 size (PTrue fc _) = 1
1875− size (PRefl fc _) = 1
1876 size (PResolveTC fc) = 1
1872 size (PResolveTC fc) = 1
1877 size (PEq fc _ _ left right) = 1 + size left + size right
1873 size (PEq fc _ _ left right) = 1 + size left + size right
1878 size (PRewrite fc left right _) = 1 + size left + size right
1874 size (PRewrite fc left right _) = 1 + size left + size right