[Haskell-cafe] What is the best way to understand large programs?

Arthur van Leeuwen arthurvl at cs.uu.nl
Wed Jan 31 07:06:21 EST 2007


On 30-jan-2007, at 23:52, Bulat Ziganshin wrote:

> Hello Neil,
>
> Monday, January 29, 2007, 2:26:03 AM, you wrote:
>
>> Having a Hoogle database for a large
>> program is also handy for figuring out where things are and what they
>> do - especially when the program has introduced new custom data  
>> types.
>
> vim+hasktags can just show definition of every identifier in separate
> window. i'm not 100% sure but afair vim can also show all usages of
> given identifier

Unfortunately the current incarnations of hasktags do not generate
tags files that vim likes much. Workarounds are to use ghci 6.6's :tags
command, or to sort the generated tags files afterwards. Another
gotcha: hasktags generates the files 'tags' and 'TAGS' by default. This
*will* break on case-insensitive file systems such as e.g. default  
installations
of HFS+ on Macs.

Doei, Arthur.

-- 

   /\    / |       arthurvl at cs.uu.nl       | Work like you don't need  
the money
/__\  /  | A friend is someone with whom | Love like you have never  
been hurt
/    \/__ | you can dare to be yourself   | Dance like there's nobody  
watching





More information about the Haskell-Cafe mailing list