@@ -407,15 +407,12 @@ data Plicity = Imp { pargopts :: [ArgOpt],
407407 pscript :: PTerm }
408408 deriving (Show, Eq)
409409
410−plazy :: Plicity -> Bool
411−plazy tm = Lazy `elem` pargopts tm
412−
413410{-!
414411deriving instance Binary Plicity
415412deriving instance NFData Plicity
416413!-}
417414
418−impl = Imp [Lazy] Dynamic False
415+impl = Imp [] Dynamic False
419416expl = Exp [] Dynamic False
420417expl_param = Exp [] Dynamic True
421418constraint = Constraint [] Dynamic
@@ -793,12 +790,9 @@ data PArg' t = PImp { priority :: Int,
793790 getTm :: t }
794791 deriving (Show, Eq, Functor)
795792
796−data ArgOpt = Lazy | HideDisplay | InaccessibleArg
793+data ArgOpt = HideDisplay | InaccessibleArg
797794 deriving (Show, Eq)
798795
799−lazyarg :: PArg' t -> Bool
800−lazyarg tm = Lazy `elem` argopts tm
801−
802796instance Sized a => Sized (PArg' a) where
803797 size (PImp p _ l nm trm) = 1 + size nm + size trm
804798 size (PExp p l nm trm) = 1 + size nm + size trm
@@ -810,10 +804,10 @@ deriving instance Binary PArg'
810804deriving instance NFData PArg'
811805!-}
812806
813−pimp n t mach = PImp 1 mach [Lazy] n t
807+pimp n t mach = PImp 1 mach [] n t
814808pexp t = PExp 1 [] (sMN 0 "arg") t
815809pconst t = PConstraint 1 [] (sMN 0 "carg") t
816−ptacimp n s t = PTacImplicit 2 [Lazy] n s t
810+ptacimp n s t = PTacImplicit 2 [] n s t
817811
818812type PArg = PArg' PTerm
819813
@@ -1126,10 +1120,9 @@ pprintPTerm impl bnd docArgs = prettySe 10 bnd
11261120 prettySe 10 ((n, False):bnd) sc
11271121 prettySe p bnd (PPi (Exp l s _) n ty sc)
11281122 | n `elem` allNamesIn sc || impl || n `elem` docArgs =
1129− let open = if Lazy `elem` l then text "|" <> lparen else lparen in
1130− bracket p 2 . group $
1131− enclose open rparen (group . align $ bindingOf n False <+> colon <+> prettySe 10 bnd ty) <+>
1132− st <> text "->" <$> prettySe 10 ((n, False):bnd) sc
1123+ bracket p 2 . group $
1124+ enclose lparen rparen (group . align $ bindingOf n False <+> colon <+> prettySe 10 bnd ty) <+>
1125+ st <> text "->" <$> prettySe 10 ((n, False):bnd) sc
11331126 | otherwise =
11341127 bracket p 2 . group $
11351128 group (prettySe 0 bnd ty <+> st) <> text "->" <$> group (prettySe 10 ((n, False):bnd) sc)
@@ -1140,10 +1133,9 @@ pprintPTerm impl bnd docArgs = prettySe 10 bnd
11401133 _ -> empty
11411134 prettySe p bnd (PPi (Imp l s _) n ty sc)
11421135 | impl =
1143− let open = if Lazy `elem` l then text "|" <> lbrace else lbrace in
1144− bracket p 2 $
1145− open <> bindingOf n True <+> colon <+> prettySe 10 bnd ty <> rbrace <+>
1146− st <> text "->" </> prettySe 10 ((n, True):bnd) sc
1136+ bracket p 2 $
1137+ lparen <> bindingOf n True <+> colon <+> prettySe 10 bnd ty <> rbrace <+>
1138+ st <> text "->" </> prettySe 10 ((n, True):bnd) sc
11471139 | otherwise = prettySe 10 ((n, True):bnd) sc
11481140 where
11491141 st =