@@ -87,9 +87,10 @@ iPrintFunTypes bnd n overloads = do ist <- getIState
8787 let infixes = idris_infixes ist
8888 let output = vsep (map (uncurry (ppOverload ppo infixes)) overloads)
8989 iRenderResult output
90− where fullName n = prettyName True True bnd n
90+ where fullName ppo n | length overloads > 1 = prettyName True True bnd n
91+ | otherwise = prettyName True (ppopt_impl ppo) bnd n
9192 ppOverload ppo infixes n tm =
92− fullName n <+> colon <+> align tm
93+ fullName ppo n <+> colon <+> align tm
9394
9495iRenderOutput :: Doc OutputAnnotation -> Idris ()
9596iRenderOutput doc =