@@ -92,21 +92,24 @@ process (Eval t) = do (tm, ty) <- elabVal toplevel False t
9292 let tm' = normaliseC ctxt [] tm
9393 let ty' = normaliseC ctxt [] ty
9494 logLvl 3 $ "Raw: " ++ show (tm', ty')
95− iputStrLn (show (delab ist tm') ++ " : " ++
96− show (delab ist ty'))
95+ imp <- impShow
96+ iputStrLn (showImp imp (delab ist tm') ++ " : " ++
97+ showImp imp (delab ist ty'))
9798process (Check (PRef _ n))
9899 = do ctxt <- getContext
99100 ist <- get
101+ imp <- impShow
100102 case lookupTy n ctxt of
101103 Just t -> iputStrLn $ show n ++ " : " ++
102− show (delab ist t)
104+ showImp imp (delab ist t)
103105 _ -> iputStrLn $ "No such variable " ++ show n
104106process (Check t) = do (tm, ty) <- elabVal toplevel False t
105107 ctxt <- getContext
106108 ist <- get
109+ imp <- impShow
107110 let ty' = normaliseC ctxt [] ty
108− iputStrLn (show (delab ist tm) ++ " : " ++
109− show (delab ist ty))
111+ iputStrLn (showImp imp (delab ist tm) ++ " : " ++
112+ showImp imp (delab ist ty))
110113process (Defn n) = do ctxt <- getContext
111114 lift $ print (lookupDef n ctxt)
112115process (Spec t) = do (tm, ty) <- elabVal toplevel False t