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

2009-10-10 Thread Johannes
Hi,

I want to use Vim with Haskell. Therefore ctags generation is really useful.
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?

Kind regards
Johannes
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


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

2009-10-10 Thread Steffen Schuldenzucker
 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

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe