@@ -52,10 +52,10 @@ instance Apropos Def where
5252 isApropos str (CaseOp _ ty ty' _ _ _) = isApropos str ty
5353
5454instance Apropos (Binder (TT Name)) where
55− isApropos str (Lam ty) = isApropos str ty
56− isApropos str (Pi ty) = isApropos str ty
57− isApropos str (Let ty val) = isApropos str ty || isApropos str val
58− isApropos str (NLet ty val) = isApropos str ty || isApropos str val
55+ isApropos str (Lam ty) = str == T.pack "\\" || isApropos str ty
56+ isApropos str (Pi ty) = str == T.pack "->" || isApropos str ty
57+ isApropos str (Let ty val) = str == T.pack "let" || isApropos str ty || isApropos str val
58+ isApropos str (NLet ty val) = str == T.pack "let" || isApropos str ty || isApropos str val
5959 isApropos str _ = False -- these shouldn't occur in defined libraries
6060
6161instance Apropos (TT Name) where