[Haskell-cafe] Ghci :ctags or hasktags print to standard out instead of file

Steffen Schuldenzucker sschuldenzucker at uni-bonn.de
Sat Oct 10 10:03:30 EDT 2009


> The TagList plugin for Vim reads the ctags info from the command line
> instead of from the file. I could not figure out how to make ghci :ctags or
> hasktasks to print the ctags info to the command line. Is there a way to
> do that? Any hints?

Hmm...

some shell magic:

mkfifo foo
cat foo & echo ":ctags foo" | ghci your_file.hs &> /dev/null

Not the nice way, of course.

Steffen



More information about the Haskell-Cafe mailing list