@@ -139,6 +139,7 @@ elab ist info pattern tcgen fn tm
139-- ++ "\nholes " ++ show hs
139-- ++ "\nholes " ++ show hs
140-- ++ "\nproblems " ++ show ps
140-- ++ "\nproblems " ++ show ps
141-- ++ "\n-----------\n") $
141-- ++ "\n-----------\n") $
142+-- trace ("ELAB " ++ show t') $
142 elab' ina t'
143 elab' ina t'
144 local f = do e <- get_env
145 local f = do e <- get_env
@@ -208,6 +209,7 @@ elab ist info pattern tcgen fn tm
208-- as -> lift $ tfail $ CantResolveAlts (map showHd as)
209-- as -> lift $ tfail $ CantResolveAlts (map showHd as)
209-- trace ("Original " ++ show (length as, as) ++ "\n" ++
210-- trace ("Original " ++ show (length as, as) ++ "\n" ++
210-- "New " ++ show (length as', as)) $
211-- "New " ++ show (length as', as)) $
212+-- traceWhen (length as' > 1) (show as') $
211 tryAll (zip (map (elab' ina) as') (map showHd as'))
213 tryAll (zip (map (elab' ina) as') (map showHd as'))
212 where showHd (PApp _ h _) = show h
214 where showHd (PApp _ h _) = show h
213 showHd x = show x
215 showHd x = show x