@@ -92,21 +92,24 @@ process (Eval t) = do (tm, ty) <- elabVal toplevel False t
92 let tm' = normaliseC ctxt [] tm
92 let tm' = normaliseC ctxt [] tm
93 let ty' = normaliseC ctxt [] ty
93 let ty' = normaliseC ctxt [] ty
94 logLvl 3 $ "Raw: " ++ show (tm', ty')
94 logLvl 3 $ "Raw: " ++ show (tm', ty')
95− iputStrLn (show (delab ist tm') ++ " : " ++
96+ iputStrLn (showImp imp (delab ist tm') ++ " : " ++
96− show (delab ist ty'))
97+ showImp imp (delab ist ty'))
97process (Check (PRef _ n))
98process (Check (PRef _ n))
98 = do ctxt <- getContext
99 = do ctxt <- getContext
99 ist <- get
100 ist <- get
100 case lookupTy n ctxt of
102 case lookupTy n ctxt of
101 Just t -> iputStrLn $ show n ++ " : " ++
103 Just t -> iputStrLn $ show n ++ " : " ++
102− show (delab ist t)
104+ showImp imp (delab ist t)
103 _ -> iputStrLn $ "No such variable " ++ show n
105 _ -> iputStrLn $ "No such variable " ++ show n
104process (Check t) = do (tm, ty) <- elabVal toplevel False t
106process (Check t) = do (tm, ty) <- elabVal toplevel False t
105 ctxt <- getContext
107 ctxt <- getContext
106 ist <- get
108 ist <- get
107 let ty' = normaliseC ctxt [] ty
110 let ty' = normaliseC ctxt [] ty
108− iputStrLn (show (delab ist tm) ++ " : " ++
111+ iputStrLn (showImp imp (delab ist tm) ++ " : " ++
109− show (delab ist ty))
112+ showImp imp (delab ist ty))
110process (Defn n) = do ctxt <- getContext
113process (Defn n) = do ctxt <- getContext
111 lift $ print (lookupDef n ctxt)
114 lift $ print (lookupDef n ctxt)
112process (Spec t) = do (tm, ty) <- elabVal toplevel False t
115process (Spec t) = do (tm, ty) <- elabVal toplevel False t