The :names command can also accept one or more pattern strings, limiting the list of names that will be printed to those matching one or more of the given pattern strings:
Prelude> :n fold* foldl foldl' foldl1 foldr foldr1 (5 names listed) Prelude>Each pattern string consists of a string of characters and may use standard wildcard syntax: * (matches anything), ? (matches any single character), \c (matches exactly the character c) and ranges of characters of the form [a-zA-Z], etc. For example:
Prelude> :n *map* *[Ff]ile ? $ % * + - . / : < > appendFile map mapM mapM_ readFile writeFile ^ (17 names listed) Prelude>